Thursday, June 2, 2011

Java ME(J2ME)

Java ME in the past referred to as J2ME (Java Platform, Micro Edition), is to set-top boxes, mobile phones and PDA embedded consumer electronics devices like the Java language platform to provide, including virtual machines and a standardized set of Java API. It and the Java SE, Java EE technology together constitute the three major versions of Java, and also through the JCP (Java Community Process) developed. Introduction Java ME (Java 2 Micro Edition) is an integral part of Java 2, it is with J2SE, J2EE saying. According to the definition of Sun: Java ME is a highly optimized Java runtime environment, mainly for consumer electronics devices such as cellular phones and video phones, digital set-top boxes, car navigation systems and so on. JAVA ME in the JavaOne Developer Conference 1999 Conference was officially launched, it will be platform-independent Java language features and migrate to small electronic devices that allow mobile wireless devices to share applications. Design specifications J2ME specifications in the design of its time, follow the "For a variety of devices and create a single development system is not meaningful to do," this basic principle. So first of all the embedded JAVA ME devices generally classified into two types: one is the limited computing capabilities, the power supply is also limited embedded devices (for example, PDA, cell phone); another kind of computing power is relatively better and in the power supply is relatively abundant on the embedded device (for example, air conditioners, refrigerators, television set-top boxes (set-top box)). Because these two types of embedded devices, Java has introduced a concept called Configuration, and then the computing function is limited, the definition of embedded devices with limited power in the Connected Limited Device Configuration (CLDC) specification being; and another types of device are standardized for the Connected Device Configuration (CDC) specification. In other words, JAVA ME first of all the concept of embedded devices using Configuration separated into two abstract patterns. In fact, we can put here as a JAVA ME Configuration for the specifications of two types of embedded devices, which defines the specifications of these devices into at least meet the computing power, power supply capacity, memory size and other specifications, but also given a set of running on these devices can use Java class libraries program, the definition of these norms into the Java standard class library for the subset of the core class libraries, and with the type of device characteristics consistent with the expansion of types of libraries. For example, on the CLDC specification, it can support the core class libraries for the java.lang .*, java io .*, java.util .*, and support the expansion of types of libraries as javamicroeditionio .*. Distinguish two main Configuration after, JAVA ME Then define the Profile concept. Profile is a framework on top of the specifications in the Configuration. The reason why the concept of a Profile, in order to more clearly distinguish Java program for embedded devices as well as the how to develop what features they should have. Therefore, the definition of the Profile into embedded devices is associated with a specific expansion of class libraries, and Java programs on a variety of embedded devices to render the user interface is defined in the Profile inside. Profile extend into the defined categories within the library is defined based on the underlying Configuration core class libraries are established. Architecture Description Compared with the J2SE and J2EE, JAVA ME the overall operating environment and target a more diverse, but each of which has more single-use product, and resource constraints are more stringent. In order to achieve the standardization and compatibility at the same time try to meet different needs, JAVA ME framework is divided into Configuration, Profile and Optional Packages (optional package). They choose to form a specific combination of operating environment.
 
Configuration is mainly vertical classification of the device, classification based on including the storage and processing capacity, which defines the characteristics of the virtual machine and basic class libraries. Configuration has been standardized - Connected Limited Device Configuration (CLDC) and Connected Device Configuration (CDC). Built on the basis of Profile Configuration, together constitute a complete operating environment. Horizontal classification of its equipment, for specific areas of market segments, including mainly a particular purpose library and API. Profile on the CLDC has been standardized Mobile Information Device Profile (MIDP) and the Information Module Profile (IMP), and the CDC on the standardized Profile with Foundation Profile (FP), Personal Basis Profile (PBP) and Personal Profile (PP).
 
Optional packages provide additional independent of the previous two, modular and more diverse functions. The optional package includes the current standard database access, multimedia, Bluetooth and so on.

Information Filtering

Information filtering is another large-scale content deal with typical applications. It is arriving in filtering the information, will meet the user needs information retention, will not meet the information needs of users to filter out. Usually divided into non-performing information filtering and personalized information filtering: bad information filtering generally refers to filter out pornography and other information reactionary violence; personalized information filtering is similar to information retrieval, to help users return to something of interest.

BMI (Body Mass Index)

BMI (body mass index, referred to as body mass index, also known as body mass index, English as a Body Mass Index, referred to as BMI), is the weight in kilograms divided by height with the number of squares that the number of meters, is commonly used to measure the international body fat thin and whether the extent of a health standard. Mainly used for statistical purposes, when we need to compare and analyze a person's body weight for different heights of people about the health effects, BMI value is a neutral and reliable indicators. Definition The concept of body mass index, mid-19th century by the Belgian liberal Kettler first proposed. It is defined as follows:
 
Body mass index (BMI) = weight (kg) / height m2 (m) EX: 70kg/1.75/1.75 = 22.86 BMI value BMI value of the original design for public health research is a statistical tool. When we need to know whether obesity causes a disease, we can convert the patient's height and weight into BMI values, and then find out its value and whether the incidence rates in a linear association. However, as technology advances, there is only a reference value of BMI values. To really measure whether the patient is obese, but also patients using micro electrical impedance measurements to infer the thickness of the patient's fat. Therefore, BMI's role has slowly changed, from the medical use of slimming indicators into the general public.
 
BMI values ​​for adults BMI, men, women Underweight, less than 20, less than 19 Moderate, 20-25, 19-24 Overweight, 25-30, 24-29
 
Obesity, 30-35, 29-34
 
Very obese, above 35, higher than 34 Experts point out that the ideal BMI is 22 Because of the error, so the BMI only as a personal weight and health status assessment of a number of criteria. National Institute of Health (NIH) recommended doctors refer to the following three factors assess whether patients are overweight. BMI Waist - measurement of abdominal fat and obesity-related disease risk factors, such as high blood pressure, LDL ("vicious") cholesterol, HDL ("good") cholesterol is too low, high blood sugar and smoking. Because a person's BMI did not count fat percentage, so a BMI index of overweight people may actually not obese. For example, a practicing fitness, the heavy proportion of muscle weight, and his BMI index of more than 30. If their body fat percentage is low, it does not need to lose weight. Indicators Asian standards The traditional standard of adult obesity is less than 30, but was changed in recent Asian adult index of 27.5. A BMI of 23 Asian adults are now considered overweight, while the ideal index is 18.5 and 22.9. BMI values ​​for children BMI values ​​for children is not only suitable for adults. For growing children, we can use to calculate their BMI, whether they are overweight. BMI above formula also applies to 2-20 years of age, but they are too heavy and too light indicators, not by a fixed BMI value of the decision. This is because children in different regions have different growth rates, the use of a fixed value, easy to make wrong judgments. Many countries and regions every year for the local children for height and weight statistics. These statistics, can be transformed into a BMI value, thereby the statistics of the local children's BMI value of the distribution. According to this distribution, the local government can figure out the health of local children, overweight and underweight targets. In general, the average will be figured out using BMI value and its standard deviation, and then calculate the distribution of its normal maximum of 5% and the lowest 5% of overweight and underweight targets. On the other hand, the BMI value of 85% in the normal distribution segment -95% of children, they have overweight crisis.

4 cups of honey water every day by 6 pounds 3 days

Frequent social life of the people, by the exercise weight-loss diet, neither too much spare time, but also disrupt the rhythm of daily life, so the effectiveness of the multi-poor; but the implementation of two or three days off a month taking the time to eat diet, drink a drink a day while the net drink solid food, because method is simple, many people are willing to try.
Breakfast: honey green tea cup
Bitter cold green tea, containing tannins, chlorophyll, etc., can heat and detoxifying, anti-bacterial anti-inflammatory; honey sweet nature, sugar, amino acids, enzymes, vitamins and a small amount of minerals, with sterilization detoxification, Bu Zhong Yi Qi, relax laxative effect. Compatibility between the two complement each other, both bactericidal anti-inflammatory, but also improve the body resistance.
Lunch: honey, a cup of mint tea, a tablespoon of honey
Cool spicy mint of, mainly containing volatile oil, the main components of oil menthol, menthol, menthone, mint butter, Mainz-ene, limonene, etc., with a wind-dispersing heat, the provision of foul detoxification. Mint tea can stimulate the movement of food in the digestive tract, aids digestion, especially for the gastrointestinal discomfort or eat too much greasy food after drinking. But the mint can reduce the amount of maternal milk, with some irritation, not to breast-feeding, pregnant women and children.
Afternoon tea: a cup of honey water
Honey contains about 35% glucose, 40% fructose, two sugars can directly without digestion and absorption by the body. Honey also contains a variety of human serum concentrations similar to inorganic salts, also contains a certain amount of vitamin b1, b2, b6 and iron, calcium, copper, manganese, phosphorus, potassium and so on. Fasting can be for people to lose weight in the body the nutrients and trace elements.
Dinner: Honey tea cup, a tablespoon of honey
Honey black tea Yangfeihuoxue Nuanwei, laxative, for constipation, stomach does not, and embolism. The caffeine in black tea honey on the vascular system and heart with a stimulant, thus speeding up the metabolism and blood circulation to facilitate the same time to promote sweating and urination, thus two-pronged approach to accelerate excretion of lactic acid (the substance of the muscles feel tired), and other body of old waste material, to eliminate the effects of fatigue and detoxification.

Wednesday, June 1, 2011

Infrared Transmission

The infrared transmission is the way, infrared transfer data can be easily in the office environment wireless connection, transmission speed way, notebook with new models of infrared ChuanShuKou that transmission speed has quickened to 4Mbps.
When using, the first laptop computer infrared transmission port and other with an infrared transmission function peripherals six-port relative, start laptop TRANX software pre-installed within its, can easily transfer data communication.
But there the transmission distance is short, the linear transmission only shortcoming. 

RDP: reliable data protocol

RDP: reliable data protocol
Reliable data protocol RDP is a connection-oriented transfer protocol, the main design to host monitoring applications such as download/upload and remote debugging of large quantities of data transmission effectively. RDP attempt only provide the necessary service, to operate effectively and scale small effect. Its main functions are as follows:
For each RDP transport layer connections to provide a full-duplex communication channel;
RDP try sending all user information, reliable, will send to failure if users have reported that mistake. RDP expand IP data submitted to send reliable service;
RDP try to detect and remove all the damaged and repetitive data section, it in data section head use check code and serial number realize this process;
RDP optionally provide data segment sequence to establish connections, must send in when the specified data section sequence of messages;
Respond to confirm RDP data segment, outside the sequence would release the resources to send.
Compared with TCP, RDP which support function more simple. The RDP flow control, buffer and connection management mode is is quite simple. The goal is to simply RDP effective implementation and fit for a series of application.
RDP function sets may also is to further reduce special execution subset of size.
For example, a request to other hosts download target processor possible execution a only supports the default open function and single RDP modules connected. This module may also choose not to execute the order response confirmation.
Understand in remote desktop protocol (RDP)
Remote desktop protocol based on and is T - 120 series agreement standard expansion. Many track can agreement to allow separate virtual channel for the demonstration in carrying the manuscripts data, serial communication, authorized equipment information, high encrypted data (keyboard, mouse activities) and etc. Because the core is the RDP T.S hare agreement, multiple other function expansion will be retained in RDP such as architecture support multi-drop (multilateral conversation) part of the functionality needed. More data transfer is allowed from transfers "real-time" to multiple party and not make the same data sent to each session (for example, virtual whiteboard alone) the application's data.
In Windows terminal server this the first version of but, we focus on providing reliable and fast peer-to-peer (single conversation) communications. Only a data channels will use in the initial version of the terminal server 4.0 but RDP flexibility of the function of providing adequate space, in the future products.
Microsoft decided to realize RDP connection to Windows NT terminal server of one reason is that it provides very extensible generate a lot more from the basic function. This is because RDP provide 64,000 separate channels the data transmission. But, the transmission activities using a single channel (only for keyboard, mouse and presentation manuscripts data).
Moreover, RDP designed to support many different types of network topology (such as ISDN, plants and many LAN protocols (like the IPX, NetBIOS, TCP/IP, etc.). The current version of the RDP will only run through TCP/IP, but other agreements with customer feedback in the future support may add the version.
In sending and receiving through the RDP stack the activities involved data is essentially common LAN network today seven layers of the OSI model standards are the same. From an application or services to the data is transmitted via the sectioned protocol stack downward, directional to a channel (through the MCS), encryption, packaging, plus graphic box, packing to network protocols and finally addressing and through the network sent to the client. The data the same way back only applies to reverse, and packet was removed its address, then open the decryption, informative until the data presented to applications. In the first four and seventh layer, the data is encrypted, automatic newlines and add graphic frame, directional to a channel and determine priority level between a key part of the modified protocol stack.
An application developer point is RDP, Microsoft has used in the protocol stack abstracts processing complexity. This makes them just write a clean, design perfect good behaviour 32 - a applications, then the terminal server and $its client connection realize the rest of the RDP stack responsible.
Relevant application in terminal Server on the style and content of interaction to a Windows terminal Server attention of the base structure for developing applications of detailed information, see "optimal application Windows NT Server 4.0, terminal Server edition" white paper. In multi-point communications services (MCSMUX), general meeting control (GCC), Wdtshare sys and Tdtcp. J sys is worth discussing the four components RDP stack examples. MCSmux and $GCC is the international telecommunications union (ITU) t. part of 120 series. MCS consists of two standard: t. 122, defines the multi-point services and t. 125, specified data transmission agreement. MCSMux control channels (through the predefined within the agreement of virtual channel multiplexing data) work allocation, priority level and send data section. It is essentially to extract from the perspective of the GCC multiple a single entity RDP brand fold. GCC is responsible for the management of these multiple channels. In the GCC to delete the conversation allowing creating and connected and $through the control resources provided by MCS. Each terminal server protocol (currently, support only RDP and Citrix ICA) will have the example of a protocol stack loading (wait for connection to request a protected reliably against detective program stack). Terminal server device driver coordination and management RDP agreement by activity, is composed of smaller components of the UI transmission, compression, encryption, frame and wait Wdtshare. RDP driver (sys) and transmission driver (Tdtcp sys) will be packaged together to j based protocol network protocol, TCP/IP.
The development of RDP was totally independent of this case TCP/IP stack based transmission in its. RDP, are completely independent of the transmission stack, we can will other network protocol of other transmission drivers for customer need to add their method little or no about basic agreement with major change part of growth. These are RDP performance and the main elements extendibility on the network. 

7 movement method reducing weight of calories

Tell yourself that you might not know the facts: in your 25 or so, your metabolism every can help you cost 200 calories, spent this age, your body metabolism is relatively is abate, the number of calories also will be less. If last year's jeans wear rise a bit tight, don't panic, start now desperately cut calories words (for example in order to lose weight fast and excessive dieting or crazy movement) will only make the situation worse. Instead, try some clever ways to lose weight, but can let you health to achieve the result that reduce weight. There are seven motion to reduce weight method, will help your metabolism (even when you in bed), let your calorie consumption more quickly, thin body also more fast!
1, to outdoor sports
Study found that the outdoor walk or run in a treadmill than you more calories burned out of ten percent. Outdoors, relatively rough pavement will generate more friction; The influence of natural wind, movement by the body can be affected by greater resistance; In addition, up-slope, the transformation also makes downhill outdoor sports can keep trying to change the rhythm. So whether running, biking or roller skating, practitioners in outdoor games will be more resistance, the body itself need to consume more calories. The treadmill than forging chains, outdoor running can burn a 3% to 5% calories. In addition, fresh air and transform scenery can let fitness more interesting, can also help practitioners insist on longer.
2, paying attention to the warm-up exercises
Many people are beginning to do exercise all don't like the warm-up, think can save time. But in fact so you wasted calorie burn moments, appropriate warm-up exercises can increase your temperature, increase the activity of adipose combustion. Exercise your body temperature increased, you once every cell will be about 13% of corresponding increase metabolic rate. Before making a simple in motion to moderate intensity of at least 5 minutes of warm-up exercises, and gradually raise your heart rate, let your muscle activity up, your breathing acceleration, you the body's metabolism and calorie consumption will gain greater improved.
3, each exercise at least 12 minutes
Any movement consumes heat, but to truly achieve the effect that reduce weight, then you need at least 12 minutes (not) warm-up exercise. It takes time to establish a training effect the shipment, so as to improve the body, and generate more oxygen ability of the enzymes, such as fat burning of lipase, so you can in their sports burn more calories and do other things also more energetic.
4, short time high strength sports consumption quantity of heat more
Short-term high intensity exercise is a modest rebound method with the movement, but in the same time, short time, high intensity exercise the combustion of heat can achieve long time downy exercise 1.5 to 2 times, even exercise can keep on burning after 75 to 125 calories. Short-term high strenth motion of sports strengthened your exercise muscles and increase your ability to burn fat cells. Studies find that with different strength of riding a bike, if slightly force pedal 5 minutes, then WuFenZhi angrily and relaxed, so last about an hour and a half, who have been forcibly than 30 minutes of stirrup more calories consumed more than 15%.
5 and 1 hour of sports, every week
In British Columbia Victoria university study found that 60 minutes of exercise than 30 minutes of exercise five times more than the quantity of heat of consumption. Even if you have no time to every hour of movement, a word, also can Monday times than short time consuming more calories movement.
6, choose heavier dumbbell
Use heavier dumbbell (such as you heave 10 pounds before the dumbbell 10 times of words, now heave 20 pounds dumbbell 5 times), this will let you in lifting movement of more than 25% of burning heat. Because weight broke more muscle protein, so your body must use more energy to restore, so the calories consumption is bigger. Louis school of medicine at the university of Washington researchers found, weightlifting content is 3 to 6 times, their sleep during the metabolization rate of burn calories to 8%. It's enough to make you in a year about five pounds of weight loss, even if you don't do anything else.
7, try to make your body many activities
If many 350 calories each year, you can reduce 35 pounds. More than 350 calorie burning every day, only need you rang stood up to the phone, back and forth, rather than the whole people sitting on the chair; Don't spend too much time on the computer, stand up for a walk; If it's a short journey to walk to replace with words and other transport.