Abstract:
A method and a mobile terminal for gas detection warning are disclosed to solve the problem that people cannot detect gas by themselves due to the lack of a portable gas detecting apparatus. The mobile terminal is portable and typically includes a central control unit, a gas detection unit, a warning unit and a user interface unit. The apparatus performs a warning operation by using a warning policy corresponding to the detected air concentration by setting warning policies corresponding to a kind of gas in different concentration ranges respectively.

Description:
RELATED APPLICATIONS  
       [0001]     This patent application makes reference to, claims priority to and claims benefit from Chinese Patent Application No. 200510108126.1 filed on Sep. 29, 2005, which is explicitly incorporated herein by reference in its entirety.  
       FIELD OF THE INVENTION  
       [0002]     The present invention relates to mobile terminal techniques, and more particularly to a method and a mobile terminal for gas detection warning.  
       BACKGROUND OF THE INVENTION  
       [0003]     With the increasing consciousness of personal health and environmental protection, it becomes more and more common to use a gas detecting apparatus. For instance, after decoration of a room, people often use the gas detecting apparatus to detect the air quality in the room, so as to determine whether the content of harmful gas in the room exceeds a permissible standard, and whether the room is suitable for living. The prior gas detecting apparatus is generally a specialized one provided by a professional gas detection organization. It normally has a large size and is not convenient for carrying on, and its operation is quite complex. If one needs gas detection, she has to invite a skilled person from the professional gas detection organization to sample and analyze the gas to be detected by using the gas detecting apparatus so as to get the gas detection results. Because in the related art, there is no type of gas detecting apparatus that is potable and can be used conveniently by a consumer anywhere and anytime, people cannot detect the gas by themselves and cannot learn the concentration of harmful gas as well as the danger degree in the environment they are staying at real time.  
         [0004]     Mobile terminals are widely used since they are portable and easy to use, but the prior mobile terminals generally only have a single function of communication, and people generally use them for talking and sending short messages. A mobile terminal with a function of gas detection warning has not arisen so far.  
       SUMMARY OF THE INVENTION  
       [0005]     Accordingly, the present invention provides a method and a mobile terminal for gas detection warning, which substantially solve the problem in the related art that people cannot detect gas by themselves due to the lack of a portable gas detecting apparatus.  
         [0006]     In a first aspect, the presently described technology provides a method for warning by gas detection. The method includes the steps of: 
        setting warning policies in a mobile terminal corresponding to at least one kind of gas in different concentration ranges respectively;     detecting a gas by the mobile terminal;     adopting a warning policy by the mobile terminal in accordance with the detected concentration of the gas; and     performing a warning by the mobile terminal in accordance with the adopted warning policy.        
 
         [0011]     In accordance with this method, the gas being detected may include only one kind of gas or a combination of several kinds of gas.  
         [0012]     The step of setting warning policies may include the steps of: 
        setting warning levels corresponding to various types of gas in different concentration ranges respectively; and     setting warning policies corresponding to the different warning levels respectively.        
 
         [0015]     If the gas being detected is a mixture of several gases, the mobile terminal can perform a warning based on the warning policy corresponding to the highest warning level in the warning levels of the several detected gases.  
         [0016]     The warning policies may include, for example, dialing an emergency call, ringing, vibrating, and combinations thereof.  
         [0017]     Preferably, the step of performing a waning by the mobile terminal further includes displaying the detected gas type and concentration by the mobile terminal.  
         [0018]     In another aspect, the presently described technology provides a mobile terminal for gas detection warning. The mobile terminal is portable and includes a central control unit, and further includes: 
        a gas detection unit for detecting the type and concentration of at least one kind of gas;     a warning unit for obtaining a warning policy based on a detection result of the type and concentration of a gas and a preset corresponding relation between the gas concentration and the warning policy; and     a user interface unit for displaying the detection result of the gas type and concentration and performing a warning operation in accordance with the obtained warning policy.        
 
         [0022]     The gas detection unit can be set within the mobile terminal or outside the mobile terminal and connected to the mobile terminal via a peripheral interface.  
         [0023]     The central control unit is connected to the gas detection unit, the warning unit and the user interface unit respectively. In accordance with one embodiment, the central control unit sends the detection results of the gas type and concentration from the gas detection unit to the warning unit and controls the user interface unit to perform a corresponding warning operation in accordance with the warning policy from the warning unit. The central control unit can, for example, receive the detection results of the gas type and concentration from the gas detection unit in a manner of interruption or inquiry.  
         [0024]     The wanting policies may include, for example, dialing an emergency call, ringing, vibrating, and combinations thereof.  
         [0025]     The present invention has one or more of the following advantages: The present invention integrates a gas detecting device into a mobile terminal and makes it possible for the mobile terminal to perform a warning by using a corresponding warning policy according to the detected gas concentration by setting the wanting policies corresponding to various types of gas in different concentration ranges, which thereby effectively solves the problem in the related art that the gas detecting apparatus cannot be employed anywhere and anytime, so that people can detect the gas at any time and take effective steps to break away and escape from dangers according to the warnings. Therefore, the accident possibility is reduced. 
     
    
     BRIEF DESCRIPTION OF THE DRAWINGS  
       [0026]      FIG. 1  is a schematic block diagram showing the structure of a mobile terminal according to an embodiment of the present invention;  
         [0027]      FIG. 2  is a flow chart showing a gas detection warning process according to an embodiment of the present invention. 
     
    
     DETAILED DESCRIPTION OF THE INVENTION  
       [0028]     The present invention provides a mobile terminal with a function of gas detection warning, which can adopt a warning policy to perform a warning according to the detected air concentration. The principal implementing principles and preferred embodiments of the present invention will be described in details below with reference to the accompanying drawings.  
         [0029]      FIG. 1  is a schematic block diagram showing the structure of a mobile terminal  1  according to an embodiment of the present invention. As shown in  FIG. 1 , the mobile terminal  1  typically includes a central control unit  2 , and a gas detection unit  3 , a warning unit  4  and a user interface unit  5  which are connected to the central control unit  2  respectively. The central control unit  2  is mainly used to coordinate the operations of the other units.  
         [0030]     In accordance with this embodiment, the central control unit  2  receives a gas detection command from a user via the user interface unit  5  and sends the command to the gas detection unit  3 . The gas detection unit  3  receives the gas detection command from the central control unit  2 , detects the gas type and concentration according to the command, and then sends the detection result of the gas type and concentration to the central control unit  2 , which then sends the detection results to the warning unit  4 . The warning unit  4  receives the detection result of the gas type and concentration from the central control unit  2 , then determines a warning policy based on the detection result and the preset corresponding relation between the gas concentration and the warning policy, and sends the warning policy to the central control unit  2 . The central control unit  2  receives the warning policy from the warning unit  4 , and sends a control command for performing a corresponding warning operation to the user interface unit  5  based on the warning policy. At the same time, the central control unit  2  can send the detection result of the gas type and concentration to the user interface unit  5 . The user interface unit  5  receives the detection result of the gas type and concentration from the central control unit  2 , displays the results, and performs the corresponding warning operation under the control of the central control unit  2 .  
         [0031]     The gas detection unit  3  can be set within the mobile terminal or be set outside the mobile terminal and connected to the mobile terminal via a peripheral interface, e.g. Infrared Data Association, Bluetooth, etc.  
         [0032]      FIG. 2  is a flow chart showing a gas detection warning process according to another embodiment of the present invention. Referring to  FIG. 2  together with  FIG. 1 , the main realization procedure of the gas detection warning process is as follows.  
         [0033]     In step S 10 , a user sends a gas detection command to the mobile terminal  1  via the user interface unit  5 , and the central control unit  2  in the mobile terminal  1  receives the gas detection command from the user.  
         [0034]     In step S 11 , the central control unit  2  sends the gas detection command to the gas detection unit  3 , and the gas detection unit  3  starts the gas detection process to obtain the type and concentration of the harmful gas in the detected air by sampling the detected gas. Here, a plurality of gas sensors for detecting various types of gas can be arranged in the gas detection unit  3 .  
         [0035]     In step S 12 , the central control unit  2  obtains the detection result of the gas type and concentration from the gas detection unit  3  in a manner of interruption or inquiry, and sends the detection result to the warning unit  4 . Then the warning unit  4  obtains a warning policy based on the corresponding relation between the gas concentration and the warning policy preset in the warning unit  4 , and sends the obtained warning policy to the central control unit  2 .  
         [0036]     If the central control unit  2  recognizes that the format of the detection result of the gas type and concentration is not correct or the content of the detection result is incomplete, the central control unit  2  sends a command for resending the detection result to the gas detection unit  3 .  
         [0037]     The corresponding relation between the gas concentration and the warning policy preset in the warning unit  4  can be set by the manufacturer according to the safety of various types of gas and the harmful degree for the human body. The present embodiment presets the corresponding relation between the gas concentration and the warning policy in the warning unit  4  by setting respective warning levels each of which is corresponding to one type of gas in different concentration ranges, and setting respective warning policies corresponding to different warning levels.  
         [0038]     If the detection result acquired by the central control unit  2  indicates that the detected air contains several types of harmful gas, each of which is corresponding to a different warning policy, the warning unit  4  outputs the warning policy with the highest warning level to the central control unit  2 .  
         [0039]     It is to be noted that in the inquiry manner, the central control unit  2  reads and measures the status of a periphery device through an execution program, and performs the input or output command to exchange data with the periphery device. In other words, the central control unit  2  enquires the gas detection unit  3  continuously and the gas detection unit  3  responds to the inquiry from the central control unit  2  and returns the sampled data.  
         [0040]     In the interruption manner, a corresponding processing program (service program) is invoked when an abnormal case occurs. In other words, when a kind of harmful gas is detected going beyond the standard level, the gas detection unit  3  issues an interruption request, and the central control unit  2  responds to that request.  
         [0041]     The corresponding relations between the warning levels and the various types of gas in different concentration ranges will be explained below by taking CO and H 2 S as examples (the unit of concentration is ppm, representing the volume values of the detected gas contained in the air per a million volume values):  
                                                       Gas type   Concentration   Warning level                           CO   &gt;200 ppm    A               35 ppm-200 ppm   B               &lt;35 ppm   C           H2S   &gt;15 ppm   A               10 ppm-15 ppm   B               &lt;10 ppm   C                      
 
         [0042]     The corresponding relations between the warning policies and the different warning levels are shown as follows.  
                                   Warning level   Warning policy                   A   starting emergency call function, automatically playing           voice recording for help + ringing + vibrating       B   ringing + vibrating       C   vibrating                  
 
         [0043]     For instance, if the gas detection unit  3  detects that the detected gas is CO and its concentration is 75 ppm, the warning policy obtained by the warning unit  4  is ringing and vibrating.  
         [0044]     In step S 13 , the central control unit  2  receives the warning policy from the warning unit  4 , sends a control command for performing a corresponding warning operation to the user interface unit  5  according to the warning policy and simultaneously sends the detection result of the gas type and concentration to the user interface unit  5 . The user interface unit  5  receives the detection result of the gas type and concentration from the central control unit  2 , displays the result, and further informs the related interfaces to perform the corresponding warning operation under the control of the central control unit  2 , e.g., starting the emergency call function if an emergency call is needed, or automatically playing voice recording for emergency help, etc.  
         [0045]     Though illustration and description of the present invention have been given with reference to preferred embodiments thereof, it should be appreciated by ordinary personnel skilled in the art that various changes in forms and details can be made without deviation from the spirit and scope of this invention as defined by the appended claims.