Summary of the invention
Deficiency in view of above-mentioned prior art; The object of the present invention is to provide a kind of mobile phone location prompting processing method and adopt the mobile phone of this mobile phone location processing method; It makes mobile phone increase new function: low electric weight sends the function that note is carried out position indicating, provides users with the convenient greatly.
Technical scheme of the present invention is following:
A kind of mobile phone location prompting processing method wherein, comprises step:
A, in advance the predetermined template of mobile phone location note is set in said mobile phone, and this mobile phone location note target mobile phones of sending number;
B, mobile phone detect its battery electric quantity information automatically, when monitoring said battery electric quantity information less than a predetermined alarm threshold value, obtain said mobile phone current position information;
C, according to said predetermined template, the positional information of obtaining is processed on the other hand the seat in the plane automatically puts note, and the mobile phone location note of said automatic composition is sent to target mobile phones.
Described mobile phone location prompting processing method; Wherein, the content of the predetermined template of the mobile phone location note in the said steps A comprises: the temporal information of cell-phone battery electric-charge quantity information during less than a predetermined alarm threshold value and positional information, reach the mobile phone position corresponding position information of being everlasting.
Described mobile phone location prompting processing method, wherein, the said mobile phone position corresponding position information of being everlasting comprises: mobile phone be in or office in corresponding GPS latitude and longitude information, id information or the cell ID of WIFI AP.
Described mobile phone location prompting processing method, wherein, said steps A also comprises:
A1, at mark flag of said mobile phone internal preset, be used to supply the user to select whether to open low electric weight and send the function that note is carried out position indicating, when opening this function, flag is set to 1 with mark, when not opening, flag is set at 0 with mark.
Described mobile phone location prompting processing method, wherein, said step B specifically comprises:
B1, said mobile phone receive user's operational order, and the low electric weight of starting hand-set sends the function that note is carried out position indicating;
B2, mobile phone periodically detect its battery voltage information through its BBP, obtain cell-phone battery electric-charge quantity information through the detection of handset battery voltage information;
B3, said mobile phone compare an acquisition cell-phone battery electric-charge quantity information and a predetermined alarm threshold value, judge that said battery electric quantity information is whether less than a predetermined alarm threshold value;
B4, when judging said battery electric quantity information less than a predetermined alarm threshold value, obtain said mobile phone current position information.
Described mobile phone location prompting processing method, wherein, the said mobile phone current position information of obtaining among the said step B comprises:
When said mobile phone had the GPS function, the GPS function was opened in control automatically, obtains the current latitude and longitude information of mobile phone, comes the locating cellphone current position information.
Described mobile phone location prompting processing method, wherein, the said mobile phone current position information of obtaining among the said step B also comprises:
When said mobile phone does not have the GPS function, perhaps gps signal difference and can't obtain latitude and longitude information the time, said mobile phone is opened the WIFI function automatically, comes the locating cellphone current location through the ID that obtains the corresponding AP of current WIFI.
Described mobile phone location prompting processing method, wherein, the said mobile phone current position information of obtaining among the said step B also comprises:
When said mobile phone all can't get access to the current position of mobile phone through GPS and WIFI function; Mobile phone comes the locating cellphone position through obtaining its current corresponding district identification code; Said cell ID information is obtained in the time demodulation of mobile phone and mobile network system synchronization.
A kind of mobile phone that adopts said mobile phone location prompting processing method wherein, comprising:
Module is set, is used for being provided with at said mobile phone in advance the predetermined template of mobile phone location note, and this mobile phone location note target mobile phones of sending number;
Battery detecting and position information acquisition module are used for detecting automatically its battery electric quantity information, when monitoring said battery electric quantity information less than a predetermined alarm threshold value, obtain said mobile phone current position information;
Note generates and sending module, is used for according to said predetermined template, the positional information of obtaining is processed into the proficiency seat in the plane automatically puts note, and the mobile phone location note of said automatic composition is sent to target mobile phones.
Described mobile phone, wherein,
Said battery detecting and position information acquisition module comprise:
Receiving element is used to receive user's operational order, and the low electric weight of starting hand-set sends the function that note is carried out position indicating;
Detecting unit is used for periodically detecting its battery voltage information through its BBP, obtains cell-phone battery electric-charge quantity information through the detection of handset battery voltage information;
Comparing unit is used for an acquisition cell-phone battery electric-charge quantity information and a predetermined alarm threshold value are compared, and judges that said battery electric quantity information is whether less than a predetermined alarm threshold value;
The position acquiring unit is used for when judging said battery electric quantity information less than a predetermined alarm threshold value, obtaining said mobile phone current position information; Wherein, obtaining said mobile phone current position information comprises:
When said mobile phone had the GPS function, the GPS function was opened in control automatically, obtains the current latitude and longitude information of mobile phone, comes the locating cellphone current position information;
When said mobile phone does not have the GPS function, perhaps gps signal difference and can't obtain latitude and longitude information the time, said mobile phone is opened the WIFI function automatically, comes the locating cellphone current location through the ID that obtains the corresponding AP of current WIFI;
When said mobile phone all can't get access to the current position of mobile phone through GPS and WIFI function; Mobile phone comes the locating cellphone position through obtaining its current corresponding district identification code; Said cell ID information is obtained in the time demodulation of mobile phone and mobile network system synchronization;
Wherein, the content of the predetermined template of said mobile phone location note comprises: the temporal information of cell-phone battery electric-charge quantity information during less than a predetermined alarm threshold value and positional information, reach the mobile phone position corresponding position information of being everlasting.
A kind of mobile phone location provided by the present invention is pointed out processing method and is adopted the mobile phone of this mobile phone location processing method; It makes mobile phone increase new function: low electric weight sends the function that note is carried out position indicating; Realized when mobile phone hangs down electric weight, obtained self-position and send the target mobile phones that note presets to another one automatically through localization method; Even thereby under the mobile phone off-mode, still can obtain its positional information; Be convenient to seek and judge whether to be stolen, provide users with the convenient greatly.
Embodiment
The present invention provides a kind of mobile phone location prompting processing method and adopts the mobile phone of this mobile phone location processing method, and is clearer, clear and definite for making the object of the invention, technical scheme and effect, below with reference to accompanying drawing and give an actual example to further explain of the present invention.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
Mobile phone location prompting processing method of the present invention; The predetermined template through the mobile phone location note is set in mobile phone in advance and the target mobile phones of this mobile phone location note number; Make said mobile phone in battery electric quantity information during, automatically the positional information of this mobile phone is sent to target mobile phones number less than predetermined alarm threshold value.
As shown in Figure 1, Fig. 1 is an embodiment of mobile phone location prompting processing method of the present invention, and it mainly may further comprise the steps:
Step S100, in advance the predetermined template of mobile phone location note is set in mobile phone, and this mobile phone location note target mobile phones of sending number.
Wherein, In step S100, the content in the predetermined template of mobile phone location note comprises: temporal information when mobile phone low-current alarming (being cell-phone battery electric-charge quantity information less than a predetermined alarm threshold value) and positional information and the mobile phone position corresponding position information of being everlasting.This mobile phone position corresponding position information of being everlasting comprises: mobile phone be in or office in corresponding GPS latitude and longitude information, id information or the cell ID of WIFI AP (wireless access).
For example; When cell-phone battery electric-charge quantity during less than a predetermined threshold values; With mobile phone time under this state and mobile phone location information; And this mobile phone position of being everlasting, such as being the place that mobile phone is everlasting: the more specific location information of family or office, as id information or the cell ID of GPS latitude and longitude information, WIFI AP.Through said be in or office in corresponding GPS latitude and longitude information, id information or the cell ID information of WIFIAP, the particular location that can confirm mobile phone is to be in or office.
Among the present invention the user can in mobile phone, be provided with in advance these mobile phone location information the target mobile phones that will send number, said target mobile phones number can be the cell-phone number that makes things convenient for the relatives and friends that the cellphone subscriber gets in touch.
Step S200, mobile phone detect its battery electric quantity information automatically, when monitoring said battery electric quantity information less than a predetermined alarm threshold value, obtain said mobile phone current position information.
In this step, mobile phone detects its battery electric quantity information automatically, and this testing process can be periodic, and sense cycle can be that cell phone manufacturer or user according to circumstances set.When mobile phone monitors cell-phone battery electric-charge quantity information less than predetermined alarm threshold value, promptly begin to obtain the mobile phone current position information.
Wherein, the battery electric quantity information alarm threshold value among the present invention can pass through cell phone manufacturer's factory setting, and the setting of this alarm threshold value need be considered the mapping table of battery electric quantity and cell voltage, specifically can obtain this mapping table through the battery charging and discharging test.
Obtain mobile phone location information and this mobile phone location information is sent to the target mobile phones number required battery electric quantity that expends going out mobile phone through experiment test, so that mobile phone will not be sent to target mobile phones number with mobile phone location information when will have electricity.When specifically testing alarm threshold value; Need to consider the various possible worst-status of mobile phone; When for example obtaining mobile phone location information; GPS can't locate, not have WIFI and can insert AP or can't obtain situation such as cell ID, thus to consider various obtain the mobile phone location information operating the battery electric quantity that will expend.A concrete example be hypothesis obtain the mobile phone location information operating with send the note operation the power consumption that will expend be X; During the low electric weight of mobile phone under the automatic shutdown situation electric weight of battery be Y; Through searching battery electric quantity and cell voltage mapping table; Obtaining X is V with the corresponding cell voltage of battery electric quantity that Y adds up, and this cell voltage V is exactly the alarm threshold value of the battery electric quantity information among the present invention.The setting of the alarm threshold value of cell-phone battery electric-charge quantity also can according to circumstances oneself be set by the cellphone subscriber among the present invention, sets alarm threshold value to make things convenient for the cellphone subscriber according to the mobile phone frequency of utilization.
In the present embodiment, obtaining said mobile phone current position information can obtain through following method:
For example work as cell voltage less than above-mentioned V value, the GPS function that mobile phone is opened is wherein automatically obtained the current latitude and longitude information of mobile phone, with this locating cellphone current position information; Perhaps can't launch or gps signal is relatively poor and can't obtain the latitude and longitude information of mobile phone the time, then mobile phone is opened WIFI function wherein automatically, come the locating cellphone current location through the ID that obtains the corresponding AP of the current WIFI of mobile phone when the GPS function.
When above-mentioned two kinds of functions all can't be obtained the current position of mobile phone; Mobile phone also can come the locating cellphone position through obtaining its current corresponding district identification code (being CELL-ID), and this cell ID information can be obtained in the time demodulation of mobile phone and mobile network system synchronization.Certainly; Mobile phone obtains current position information at present has a lot of technological means; The present invention also can adopt other modes to obtain the mobile phone current position information, and if obtain manner preferably accurate, quick and low in energy consumption is for accurate positioning; Also can use above-mentioned 3 kinds of localization methods simultaneously, to obtain the mobile phone current position information more accurately.Get into step S300 then.
Step S300, according to said predetermined template, the positional information of obtaining be processed on the other hand the seat in the plane automatically put note, and the mobile phone location note of said automatic composition is sent to target mobile phones.
In this step, after mobile phone obtains current position information, begin to get into process according to automatic editing short message of predetermined module and transmission note.This process is the predetermined template of mobile phone according to the mobile phone location note that is provided with among the step S100, and the mobile phone current location information that obtains among the step S200 is treated to the mobile phone location note, and automatically this mobile phone location note is sent to target mobile phones.This mobile phone location note can be common text message in this process; ID or the cell ID of GPS latitude and longitude information, WIFI AP have been put down in writing above; Certainly the ID of this GPS latitude and longitude information, WIFI AP or cell ID information be above-mentioned said be in or office in during id information or the cell ID information of corresponding GPS latitude and longitude information, WIFIAP, the more specific location information that can in said note, add mobile phone for example is to be in or office.For example can be according to low electric weight positional information man constantly, the positional information comparison of office is judged mobile phone at home, or in the office, or other places (maybe be stolen).
Wherein, the content of the mobile phone location note of said automatic composition can comprise following a few part:
Temporal information when a. mobile phone hangs down electric weight:
Its positional information when b. mobile phone hangs down electric weight:
C. the mobile phone positional information (comprising the GPS latitude and longitude information, the ID of WIFI AP, CELL ID) of position (such as family, office) of being everlasting. this part information is obtained in advance and is fixed among the note.
It more preferably is the form of multimedia message with the position information process of obtaining; Promptly be treated to the mobile phone location multimedia message; Can in this mobile phone location multimedia message, write down the map picture or the map sectional drawing of mobile phone position; So that the user checks the mobile phone position intuitively on map picture or map sectional drawing, convenient user searches.Perhaps, also can in this mobile phone location multimedia message, prompt tone be set, when target mobile phones is collected this mobile phone location multimedia message, but the prompt tone of uppick prompting mobile telephone set position makes things convenient for some to have defective vision or operates unskilled user and obtain information.
In step S100 of the present invention; Judge about mobile phone whether the user opens low electric weight and send note when carrying out the function of position indicating, can be used to supply the user to select whether to open low electric weight and send the function that note is carried out position indicating at mark flag of said mobile phone internal preset; When opening this function; Flag is set to 1 with mark, and when not opening, flag is set at 0 with mark.
Promptly be equivalent to selection to the user; Be whether the user can select to open when mobile phone is in low electric weight and send the function that note is carried out position indicating automatically, the user can select whether open this function according to actual conditions, if the user opens this function; To be set at 1 at the mark flag of mobile phone internal preset; If the user does not open this function, then this mark flag is set at 0.
In the step S200 of the foregoing description, as shown in Figure 2, also specifically comprise:
B1, said mobile phone receive user's operational order, and the low electric weight of starting hand-set sends the function that note is carried out position indicating; When the user selects to open said function; Mobile phone receives this operational order; Starting hand-set is in and sends the function that note to target mobile phones is carried out the mobile phone location prompting when hanging down electric weight automatically, does not open said function when user's selection, and then mobile phone is set at 0 with mark flag; Need not to position and send note, and flow process finishes.
B2, mobile phone periodically detect its battery voltage information through its BBP, obtain cell-phone battery electric-charge quantity information through the detection of handset battery voltage information; In mobile phone, be provided with a BBP in the present embodiment, be used for periodically detecting battery voltage information,, obtain cell-phone battery electric-charge quantity information at relation table through cell voltage and battery electric quantity.
B3, said mobile phone compare an acquisition cell-phone battery electric-charge quantity information and a predetermined alarm threshold value, judge that said battery electric quantity information is whether less than a predetermined alarm threshold value; This process is a process of relatively judging, soon detected information about power and alarm threshold value compare among the above-mentioned steps B2, so that need to judge whether to send automatically mobile phone location information.
B4, when judging said battery electric quantity information less than a predetermined alarm threshold value, obtain said mobile phone current position information.After the battery electric quantity information of detected mobile phone is less than the alarm threshold value that configures; Then need this mobile phone current position information is sent to target mobile phones number automatically, need obtain the mobile phone current position information this moment earlier, as for how to obtain; The front is existing to be detailed, so repeat no more.
Therefore, a kind of mobile phone location prompting processing method that the embodiment of the invention provides, it makes mobile phone increase new function: low electric weight sends the function that note is carried out position indicating, provides users with the convenient greatly.
Based on the foregoing description, the present invention also provides a kind of mobile phone that adopts above-mentioned mobile phone location prompting processing method, and is as shown in Figure 3, a preferred embodiment of Fig. 3 mobile phone of above-mentioned mobile phone location prompting processing method for the present invention adopts, and it mainly comprises:
Module 21 is set, is used for being provided with at said mobile phone in advance the predetermined template of mobile phone location note, and this mobile phone location note target mobile phones of sending number; Specifically of above-mentioned step S100.
Battery detecting and position information acquisition module 22 are used for detecting automatically its battery electric quantity information, when monitoring said battery electric quantity information less than a predetermined alarm threshold value, obtain said mobile phone current position information; Specifically of above-mentioned step S200.
Note generates and sending module 23, is used for according to said predetermined template, the positional information of obtaining is processed into the proficiency seat in the plane automatically puts note, and the mobile phone location note of said automatic composition is sent to target mobile phones.Specifically of above-mentioned step S300.
Preferably, as shown in Figure 4, said battery detecting and position information acquisition module 22 comprise:
Receiving element 221 is used to receive user's operational order, and the low electric weight of starting hand-set sends the function that note is carried out position indicating; Specifically of above-mentioned step S200.
Detecting unit 222 is used for periodically detecting its battery voltage information through its BBP, obtains cell-phone battery electric-charge quantity information through the detection of handset battery voltage information; Specifically of above-mentioned step S200.
Comparing unit 223 is used for an acquisition cell-phone battery electric-charge quantity information and a predetermined alarm threshold value are compared, and judges that said battery electric quantity information is whether less than a predetermined alarm threshold value; Specifically of above-mentioned step S200.
Position acquiring unit 224 is used for when judging said battery electric quantity information less than a predetermined alarm threshold value, obtaining said mobile phone current position information; Specifically of above-mentioned step S200.
Wherein, obtaining the said current position information of mobile phone comprises:
When said mobile phone had the GPS function, the GPS function was opened in control automatically, obtains the current latitude and longitude information of mobile phone, comes the locating cellphone current position information;
When said mobile phone does not have the GPS function, perhaps gps signal difference and can't obtain latitude and longitude information the time, said mobile phone is opened the WIFI function automatically, comes the locating cellphone current location through the ID that obtains the corresponding AP of current WIFI;
When said mobile phone all can't get access to the current position of mobile phone through GPS and WIFI function; Mobile phone comes the locating cellphone position through obtaining its current corresponding district identification code; Said cell ID information is obtained in the time demodulation of mobile phone and mobile network system synchronization;
Wherein, the content of the predetermined template of said mobile phone location note comprises: the temporal information of cell-phone battery electric-charge quantity information during less than a predetermined alarm threshold value and positional information, reach the mobile phone position corresponding position information of being everlasting.
In sum, mobile phone location of the present invention prompting processing method and mobile phone through the battery electric quantity information of detection of handset, and compare with an alarm threshold value, when battery electric quantity information during less than this alarm threshold value, automatically mobile phone location information are sent to target mobile phones.The present invention has avoided when mobile phone shuts down because of low electric weight automatically, being difficult to find the situation of mobile phone; The user only needs can obtain the mobile phone position at the preceding place of shutdown automatically through target mobile phones; And, also made things convenient for the user to judge that this mobile phone is because of the shutdown or stolen automatically of low electric weight.
Should be understood that application of the present invention is not limited to above-mentioned giving an example, concerning those of ordinary skills, can improve or conversion that all these improvement and conversion all should belong to the protection range of accompanying claims of the present invention according to above-mentioned explanation.