CN108307038A - Location acquiring method, device, mobile terminal and the storage medium of mobile terminal - Google Patents

Location acquiring method, device, mobile terminal and the storage medium of mobile terminal Download PDF

Info

Publication number
CN108307038A
CN108307038A CN201711391216.5A CN201711391216A CN108307038A CN 108307038 A CN108307038 A CN 108307038A CN 201711391216 A CN201711391216 A CN 201711391216A CN 108307038 A CN108307038 A CN 108307038A
Authority
CN
China
Prior art keywords
mobile terminal
persistently
range wireless
wireless transmission
short range
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711391216.5A
Other languages
Chinese (zh)
Inventor
罗亚平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201711391216.5A priority Critical patent/CN108307038A/en
Publication of CN108307038A publication Critical patent/CN108307038A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management

Abstract

The present invention is applicable in field of computer technology, provides a kind of location acquiring method of mobile terminal, device, mobile terminal and storage medium, this method and includes:Detect whether mobile terminal is in off-mode, when mobile terminal is in off-mode, obtain the lasting shutdown duration of mobile terminal, when lasting shutdown duration is more than preset persistently shutdown duration threshold value, start mobile terminal, mobile terminal is positioned, to obtain the current location of mobile terminal, and send short range wireless transmission connection request to preset position management device, when short range wireless transmission successful connection is established, the current location of mobile terminal is sent to position management device, to when mobile terminal persistently shuts down duration more than persistently shutdown duration threshold value, the current location of mobile terminal is sent to position management device, realize the location management of mobile terminal, it is moved easily terminal user and finds mobile terminal.

Description

Location acquiring method, device, mobile terminal and the storage medium of mobile terminal
Technical field
The invention belongs to field of computer technology more particularly to a kind of location acquiring method of mobile terminal, device, movements Terminal and storage medium.
Background technology
With the development of electronic technology, the type of portable mobile termianl (for example, mobile phone, learning machine, electronic toy etc.) More and more, mobile terminal influences user's life also increasing.On the one hand, mobile terminal facilitates the life of user, example Such as, user can be convenient to use mobile phone and communicate, learning machine can be used to watch video of attending class, can use electronic toy It is entertained.On the other hand, the volume of the requirement due to user to the portability of mobile terminal, mobile terminal is usually smaller, from And it is that user finds the mobile terminal of oneself and makes troubles.
Existing anti-loss device can help user to find mobile terminal, but move when mobile terminal is in open state Terminal is moved in order to reduce energy consumption, it will usually the automatic shutdown when not operating, thus when user needs to find mobile terminal, it is difficult To find mobile terminal.
Invention content
The purpose of the present invention is to provide a kind of location acquiring method of mobile terminal, device, mobile terminal and storages to be situated between Matter, it is intended to solve since the prior art is when mobile terminal is in off-mode, it is difficult to be obtained and be moved by position management device The problem of terminal current location.
On the one hand, the present invention provides a kind of location acquiring method of mobile terminal, the method includes following step:
Whether detection mobile terminal in off-mode obtains the shifting when the mobile terminal is in off-mode The lasting shutdown duration of dynamic terminal;
When the persistently shutdown duration is more than preset persistently shutdown duration threshold value, start the mobile terminal, to institute Mobile terminal is stated to be positioned, to obtain the current location of the mobile terminal, and it is short to the transmission of preset position management device Range wireless transmission connection request;
When the short range wireless transmission successful connection is established, the mobile terminal is sent to the position management device Current location.
On the other hand, the present invention provides a kind of position acquisition device of mobile terminal, described device includes:
Duration acquiring unit, for detecting whether mobile terminal is in off-mode, when the mobile terminal is in shutdown When state, the lasting shutdown duration of the mobile terminal is obtained;
Connection request unit, for when the persistently shutdown duration is more than preset persistently shutdown duration threshold value, starting The mobile terminal positions the mobile terminal, to obtain the current location of the mobile terminal, and to preset position It sets management equipment and sends short range wireless transmission connection request;And
Position transmission unit, for when the short range wireless transmission successful connection is established, being set to the location management Preparation send the current location of the mobile terminal.
On the other hand, the present invention also provides a kind of mobile terminal, including memory, processor and it is stored in described deposit In reservoir and the computer program that can run on the processor, the processor are realized such as when executing the computer program The step of location acquiring method of the mobile terminal.
On the other hand, the present invention also provides a kind of computer readable storage medium, the computer readable storage mediums It is stored with computer program, the location acquiring method such as the mobile terminal is realized when the computer program is executed by processor The step of.
The present invention detects whether mobile terminal is in off-mode, when mobile terminal is in off-mode, obtains movement The lasting shutdown duration of terminal starts mobile terminal when lasting shutdown duration is more than preset persistently shutdown duration threshold value, right Mobile terminal is positioned, to obtain the current location of mobile terminal, and to preset position management device send short distance without Line transmits connection request, and when short range wireless transmission successful connection is established, working as mobile terminal is sent to position management device Front position, to when mobile terminal persistently shuts down duration more than persistently shutdown duration threshold value, send and move to position management device The current location of dynamic terminal, realizes the location management of mobile terminal, is moved easily terminal user and finds mobile terminal.
Description of the drawings
Fig. 1 is the implementation flow chart of the location acquiring method for the mobile terminal that the embodiment of the present invention one provides;
Fig. 2 is the implementation flow chart of the location acquiring method of mobile terminal provided by Embodiment 2 of the present invention;
Fig. 3 is the structural schematic diagram of the position acquisition device for the mobile terminal that the embodiment of the present invention three provides;
Fig. 4 is the structural schematic diagram of the position acquisition device for the mobile terminal that the embodiment of the present invention four provides;And
Fig. 5 is the structural schematic diagram for the mobile terminal that the embodiment of the present invention five provides.
Specific implementation mode
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
The specific implementation of the present invention is described in detail below in conjunction with specific embodiment:
Embodiment one:
Fig. 1 shows the implementation process of the location acquiring method for the mobile terminal that the embodiment of the present invention one provides, in order to just In explanation, illustrate only with the relevant part of the embodiment of the present invention, details are as follows:
In step S101, whether detection mobile terminal obtains in off-mode when mobile terminal is in off-mode Take the lasting shutdown duration of mobile terminal.
The embodiment of the present invention is suitable for mobile terminal, is particularly suitable for portable mobile termianl, such as mobile phone, electronics are played Tool, tablet computer, learning machine etc..In embodiments of the present invention, whether detection mobile terminal is in off-mode, works as mobile terminal When in off-mode, the lasting shutdown duration of mobile terminal is obtained, to judge persistently whether shutdown duration is more than preset hold Continuous shutdown duration threshold value.Wherein, persistently shutdown duration threshold value can be pre-set according to user demand, for example, 3 hours, 12 hours or 24 hours, it is preferable that duration threshold value of persistently shutting down is no longer than the longest stand-by time of mobile terminal, to carry The success rate of high subsequent movement terminal positioning.
In step s 102, when lasting shutdown duration is more than persistently to shut down duration threshold value, start mobile terminal, to movement Terminal is positioned, and to obtain the current location of mobile terminal, and is sent short-distance wireless to preset position management device and is passed Defeated connection request.
In embodiments of the present invention, position management device is that the electricity that short range wireless transmission is connect can be established with mobile terminal Sub- equipment, for example, there is the computer of short range wireless transmission function.If persistently shutdown duration is more than the duration threshold that persistently shuts down Value then illustrates that mobile terminal may be lost, user needs to obtain the current location of mobile terminal, therefore, mobile whole in order to obtain The current location at end starts mobile terminal, is then positioned to mobile terminal first, obtains the current location of mobile terminal, And send short range wireless transmission connection request to position management device.
Preferably, it after starting mobile terminal, detects in preset time period (for example, 2 minutes, 5 minutes or 9 minutes) The operation requests for inside whether receiving user, when not receiving operation requests within a preset period of time, turning-off mobile terminal, from And reduce the energy consumption of mobile terminal.
In step s 103, it when short range wireless transmission successful connection is established, is sent to position management device mobile whole The current location at end.
In embodiments of the present invention, short range wireless transmission can be Bluetooth transmission, infrared transmission and WiFi transmission Deng, it is preferable that short range wireless transmission is Bluetooth transmission, to improve radio transmission efficiency.If short range wireless transmission connects It connects and is successfully established, then send the current location of mobile terminal to position management device, to be in off-mode in mobile terminal When, the acquisition of mobile terminal current location is realized by position management device, and then be moved easily terminal user according to mobile whole Find mobile terminal in the current location at end.
Preferably, after sending the current location of mobile terminal to preset position management device, when to lasting shutdown Long threshold value is initialized, and to restore the initially set of duration threshold value of persistently shutting down, subsequent location management is carried out to facilitate.
As illustratively, by taking the toy microphone with Bluetooth transmission function as an example, whether toy microphone is detected first In off-mode, if toy microphone is in off-mode, the lasting shutdown duration of toy microphone is obtained, if played The lasting shutdown duration of tool microphone reaches 24 hours, then starts toy microphone, positioned to toy microphone, to obtain The current location of toy microphone, and to can with the tablet computer of toy microphone bluetooth connection send Bluetooth connection request, After bluetooth connection success, toy microphone is sent to tablet computer by Bluetooth transmission mode, to facilitate user according to toy Toy microphone is found in the current location of microphone, and user is avoided to can not find toy wheat when toy microphone is in off-mode Gram wind.
Embodiment two:
Fig. 2 shows the implementation processes of the location acquiring method of mobile terminal provided by Embodiment 2 of the present invention, in order to just In explanation, illustrate only with the relevant part of the embodiment of the present invention, details are as follows:
In step s 201, whether detection mobile terminal obtains in off-mode when mobile terminal is in off-mode Take the lasting shutdown duration of mobile terminal.
The embodiment of the present invention is suitable for mobile terminal, is particularly suitable for portable mobile termianl, such as mobile phone, electronics are played Tool, tablet computer, learning machine etc..In embodiments of the present invention, whether detection mobile terminal is in off-mode, works as mobile terminal When in off-mode, the lasting shutdown duration of mobile terminal is obtained, to judge persistently whether shutdown duration is more than preset hold Continuous shutdown duration threshold value.Wherein, persistently shutdown duration threshold value can be pre-set according to user demand, for example, 3 hours, 12 hours or 24 hours, it is preferable that duration threshold value of persistently shutting down is no longer than the longest stand-by time of mobile terminal, to carry The success rate of high subsequent movement terminal positioning.
In step S202, when lasting shutdown duration is more than preset persistently shutdown duration threshold value, start mobile terminal, Mobile terminal is positioned, to obtain the current location of mobile terminal, and short distance is sent to preset position management device It is wirelessly transferred connection request.
In embodiments of the present invention, position management device is that the electricity that short range wireless transmission is connect can be established with mobile terminal Sub- equipment, for example, there is the computer of short range wireless transmission function.If persistently shutdown duration is more than the duration threshold that persistently shuts down Value then illustrates that mobile terminal may be lost, user needs to obtain the current location of mobile terminal, therefore, mobile whole in order to obtain The current location at end starts mobile terminal, is then positioned to mobile terminal first, obtains the current location of mobile terminal, And send short range wireless transmission connection request to position management device.
Preferably, it after starting mobile terminal, detects in preset time period (for example, 2 minutes, 5 minutes or 9 minutes) The operation requests for inside whether receiving user, when not receiving operation requests within a preset period of time, turning-off mobile terminal, from And reduce the energy consumption of mobile terminal.
In step S203, whether detection short range wireless transmission connection is successfully established, and is to then follow the steps S207, otherwise Execute step S204.
In step S204, when short range wireless transmission, which connects, establishes failure, weight is carried out to lasting shutdown duration threshold value New setting.
In embodiments of the present invention, short range wireless transmission can be Bluetooth transmission, infrared transmission and WiFi transmission Deng, it is preferable that short range wireless transmission is Bluetooth transmission, to improve radio transmission efficiency.If short range wireless transmission connects Foundation failure is connect, then lasting shutdown duration threshold value is reset, for example, reduce subsequent duration threshold value of persistently shutting down, To be positioned in advance next time, connected to be established in time with position management device.
In step S205, the continuous frequency of failure that failure is established in short range wireless transmission connection is obtained, judges continuous lose Lose whether number reaches preset times.
In step S206, when the continuous frequency of failure reaches preset times, language is carried out to the current location of mobile terminal Sound is reminded.
In embodiments of the present invention, if the continuous frequency of failure that failure is established in short range wireless transmission connection reaches default Number then carries out voice reminder to the current location of mobile terminal, mobile terminal is found to be moved easily terminal user, to carry The high intelligence degree of mobile terminal, and then improve user experience.
In step S207, when short range wireless transmission successful connection is established, sent to position management device mobile whole The current location at end.
In embodiments of the present invention, it if short range wireless transmission successful connection is established, is sent to position management device The current location of mobile terminal, thus when mobile terminal persistently shuts down duration more than persistently shutdown duration threshold value, to Position Pipe The current location that equipment sends mobile terminal is managed, the location management of mobile terminal is realized, terminal user is moved easily and finds shifting Dynamic terminal.
Preferably, after sending the current location of mobile terminal to preset position management device, when to lasting shutdown Long threshold value is initialized, and to restore the initially set of duration threshold value of persistently shutting down, subsequent location management is carried out to facilitate.
As illustratively, by taking the toy microphone with Bluetooth transmission function as an example, whether toy microphone is detected first In off-mode, if toy microphone is in off-mode, the lasting shutdown duration of toy microphone is obtained, if played The lasting shutdown duration of tool microphone reaches 24 hours, then starts toy microphone, positioned to toy microphone, to obtain The current location of toy microphone, and to can with the tablet computer of toy microphone bluetooth connection send Bluetooth connection request.
In embodiments of the present invention, if failure is established in short range wireless transmission connection, to lasting shutdown duration threshold value It is reset, and obtains the continuous frequency of failure that failure is established in short range wireless transmission connection, judge the continuous frequency of failure Whether reach preset times, if the continuous frequency of failure reaches preset times, language is carried out to the current location of toy microphone Sound is reminded, and to facilitate user to find toy microphone, to improve the intelligence degree of toy microphone, and then improves use It experiences at family.If bluetooth connection success, the current location of toy microphone is sent by Bluetooth transmission mode to tablet computer, To facilitate user to find toy microphone according to the current location of toy microphone, avoids user from being in toy microphone and close It can not find toy microphone when machine state.
Embodiment three:
Fig. 3 shows the structure of the position acquisition device for the mobile terminal that the embodiment of the present invention three provides, for the ease of saying It is bright, illustrate only with the relevant part of the embodiment of the present invention, including:
Duration acquiring unit 31, for detecting whether mobile terminal is in off-mode, when mobile terminal is in shutdown shape When state, the lasting shutdown duration of mobile terminal is obtained.
In embodiments of the present invention, it detects whether mobile terminal is in off-mode by duration acquiring unit 31, works as shifting When dynamic terminal is in off-mode, the lasting shutdown duration of mobile terminal is obtained, to judge persistently whether shutdown duration is more than pre- If lasting shutdown duration threshold value.Wherein, persistently shutdown duration threshold value can be pre-set according to user demand, for example, 3 Hour, 12 hours or 24 hours, it is preferable that persistently shut down duration threshold value be no longer than mobile terminal longest it is standby when Between, to improve the success rate of subsequent movement terminal positioning.
Connection request unit 32, for when lasting shutdown duration is more than preset persistently shutdown duration threshold value, starting and moving Dynamic terminal, positions mobile terminal, to obtain the current location of mobile terminal, and is sent to preset position management device Short range wireless transmission connection request.
In embodiments of the present invention, position management device is that the electricity that short range wireless transmission is connect can be established with mobile terminal Sub- equipment, for example, there is the computer of short range wireless transmission function.If persistently shutdown duration is more than the duration threshold that persistently shuts down Value then illustrates that mobile terminal may be lost, user needs to obtain the current location of mobile terminal, therefore, mobile whole in order to obtain The current location at end starts mobile terminal by connection request unit 32, then positions, moved to mobile terminal first The current location of dynamic terminal, and send short range wireless transmission connection request to position management device.
Preferably, it after starting mobile terminal, detects in preset time period (for example, 2 minutes, 5 minutes or 9 minutes) The operation requests for inside whether receiving user, when not receiving operation requests within a preset period of time, turning-off mobile terminal, from And reduce the energy consumption of mobile terminal.
Position transmission unit 33, for when short range wireless transmission successful connection is established, being sent to position management device The current location of mobile terminal.
In embodiments of the present invention, short range wireless transmission can be Bluetooth transmission, infrared transmission and WiFi transmission Deng, it is preferable that short range wireless transmission is Bluetooth transmission, to improve radio transmission efficiency.If short range wireless transmission connects It connects and is successfully established, then send the current location of mobile terminal to position management device by position transmission unit 33, to move When dynamic terminal is in off-mode, the acquisition of mobile terminal current location is realized by position management device, and then is moved easily Terminal user finds mobile terminal according to the current location of mobile terminal.
Preferably, after sending the current location of mobile terminal to preset position management device, when to lasting shutdown Long threshold value is initialized, and to restore the initially set of duration threshold value of persistently shutting down, subsequent location management is carried out to facilitate.
In embodiments of the present invention, it detects whether mobile terminal is in off-mode by duration acquiring unit 31, works as shifting When dynamic terminal is in off-mode, the lasting shutdown duration of mobile terminal is obtained, when lasting shutdown duration is more than preset lasting When duration threshold value of shutting down, mobile terminal is started by connection request unit 32, mobile terminal is positioned, it is mobile whole to obtain The current location at end, and short range wireless transmission connection request is sent to position management device, when short range wireless transmission connects When being successfully established, the current location of mobile terminal is sent to position management device by position transmission unit 33, in movement When terminal persistently shuts down duration more than persistently shutdown duration threshold value, the current location of mobile terminal is sent to position management device, The location management for realizing mobile terminal is moved easily terminal user and finds mobile terminal.
In embodiments of the present invention, each unit of the position acquisition device of mobile terminal can be by corresponding hardware or software list Member realizes that each unit can be independent soft and hardware unit, can also be integrated into a soft and hardware unit, herein not limiting The system present invention.
Example IV:
Fig. 4 shows the structure of the position acquisition device for the mobile terminal that the embodiment of the present invention four provides, for the ease of saying It is bright, illustrate only with the relevant part of the embodiment of the present invention, including:
Duration acquiring unit 41, for detecting whether mobile terminal is in off-mode, when mobile terminal is in shutdown shape When state, the lasting shutdown duration of mobile terminal is obtained.
In embodiments of the present invention, it detects whether mobile terminal is in off-mode by duration acquiring unit 41, works as shifting When dynamic terminal is in off-mode, the lasting shutdown duration of mobile terminal is obtained, to judge persistently whether shutdown duration is more than pre- If lasting shutdown duration threshold value.Wherein, persistently shutdown duration threshold value can be pre-set according to user demand, for example, 3 Hour, 12 hours or 24 hours, it is preferable that persistently shut down duration threshold value be no longer than mobile terminal longest it is standby when Between, to improve the success rate of subsequent movement terminal positioning.
Connection request unit 42, for when lasting shutdown duration is more than preset persistently shutdown duration threshold value, starting and moving Dynamic terminal, positions mobile terminal, to obtain the current location of mobile terminal, and is sent to preset position management device Short range wireless transmission connection request.
In embodiments of the present invention, position management device is that the electricity that short range wireless transmission is connect can be established with mobile terminal Sub- equipment, for example, there is the computer of short range wireless transmission function.If persistently shutdown duration is more than the duration threshold that persistently shuts down Value then illustrates that mobile terminal may be lost, user needs to obtain the current location of mobile terminal, therefore, mobile whole in order to obtain The current location at end starts mobile terminal by connection request unit 42, then positions, moved to mobile terminal first The current location of dynamic terminal, and send short range wireless transmission connection request to position management device.
Preferably, it after starting mobile terminal, detects in preset time period (for example, 2 minutes, 5 minutes or 9 minutes) The operation requests for inside whether receiving user, when not receiving operation requests within a preset period of time, turning-off mobile terminal, from And reduce the energy consumption of mobile terminal.
Threshold value updating unit 43 is used for when short range wireless transmission connects and establishes failure, to lasting shutdown duration threshold value It is reset.
In embodiments of the present invention, short range wireless transmission can be Bluetooth transmission, infrared transmission and WiFi transmission Deng, if short range wireless transmission connection establish failure, by threshold value updating unit 43 according to lasting shutdown duration threshold value more New rule is updated lasting shutdown duration threshold value, for example, shorten subsequent persistently shutdown duration threshold value, to carry out in advance pair The positioning next time of mobile terminal connects to be established in time with position management device.
Frequency judging unit 44, for when short range wireless transmission connects and establishes failure, obtaining short range wireless transmission The continuous frequency of failure of failure is established in connection, judges whether the continuous frequency of failure reaches preset times.
Position reminding unit 45, for when the continuous frequency of failure reaches preset times, to the current location of mobile terminal Carry out voice reminder.
In embodiments of the present invention, if the continuous frequency of failure that frequency judging unit 44 obtains reaches preset times, Voice reminder is carried out to the current location of mobile terminal by position reminding unit 45, movement is found to be moved easily terminal user Terminal to improve the intelligence degree of mobile terminal, and then improves user experience.
Position transmission unit 46, for when short range wireless transmission successful connection is established, being sent to position management device The current location of mobile terminal.
In embodiments of the present invention, if short range wireless transmission successful connection is established, pass through position transmission unit 46 The current location that mobile terminal is sent to position management device, to when mobile terminal persistently shuts down duration more than persistently shutting down When long threshold value, the current location of mobile terminal is sent to position management device, the location management of mobile terminal is realized, facilitates shifting Dynamic terminal user finds mobile terminal.
Preferably, after sending the current location of mobile terminal to preset position management device, when to lasting shutdown Long threshold value is initialized, and to restore the initially set of duration threshold value of persistently shutting down, subsequent location management is carried out to facilitate.
In embodiments of the present invention, each unit of the position acquisition device of mobile terminal can be by corresponding hardware or software list Member realizes that each unit can be independent soft and hardware unit, can also be integrated into a soft and hardware unit, herein not limiting The system present invention.
Embodiment five:
Fig. 5 shows the structure for the mobile terminal that the embodiment of the present invention five provides, and for convenience of description, illustrates only and this The relevant part of inventive embodiments.
The mobile terminal 5 of the embodiment of the present invention includes processor 50, memory 51 and is stored in memory 51 and can The computer program 52 run on processor 50.The processor 50 is realized above-mentioned each mobile whole when executing computer program 52 Step in the location acquiring method embodiment at end, for example, step S101 to S103 shown in FIG. 1, step S201 shown in Fig. 2 To S207.Alternatively, processor 50 realizes the function of each unit in above-mentioned each device embodiment, example when executing computer program 52 Such as, the function of unit 41 to 46 shown in unit 31 to 33, Fig. 4 shown in Fig. 3.
In embodiments of the present invention, the position of above-mentioned each mobile terminal is realized when which executes computer program 52 When setting the step in acquisition methods embodiment, whether detection mobile terminal is in off-mode, when mobile terminal is in shutdown shape When state, the lasting shutdown duration of mobile terminal is obtained, when lasting shutdown duration is more than preset persistently shutdown duration threshold value, is opened Dynamic mobile terminal, positions mobile terminal, to obtain the current location of mobile terminal, and to preset position management device Short range wireless transmission connection request is sent, when short range wireless transmission successful connection is established, is sent to position management device The current location of mobile terminal, thus when mobile terminal persistently shuts down duration more than persistently shutdown duration threshold value, to Position Pipe The current location that equipment sends mobile terminal is managed, the location management of mobile terminal is realized, terminal user is moved easily and finds shifting Dynamic terminal.
The mobile terminal of the embodiment of the present invention can be the portable mobile termianls such as mobile phone, electronic toy or learning machine.It should The step of processor 50 is realized when executing computer program 52 in mobile terminal 5 specifically refers to retouching for method in embodiment one It states, details are not described herein.
Embodiment six:
In embodiments of the present invention, a kind of computer readable storage medium is provided, which deposits Computer program is contained, which realizes that the location acquiring method of above-mentioned each mobile terminal is real when being executed by processor The step in example is applied, for example, step S101 to S103 shown in FIG. 1, step S201 to S207 shown in Fig. 2.Alternatively, the calculating Machine program realizes the function of each unit in above-mentioned each device embodiment when being executed by processor, for example, unit 31 shown in Fig. 3 to 33, the function of unit 41 to 46 shown in Fig. 4.
In embodiments of the present invention, whether detection mobile terminal is in off-mode, when mobile terminal is in off-mode When, the lasting shutdown duration of mobile terminal is obtained, when lasting shutdown duration is more than preset persistently shutdown duration threshold value, is started Mobile terminal positions mobile terminal, to obtain the current location of mobile terminal, and is sent out to preset position management device Short range wireless transmission connection request is sent, when short range wireless transmission successful connection is established, sends and moves to position management device The current location of dynamic terminal, thus when mobile terminal persistently shuts down duration more than persistently shutdown duration threshold value, to location management Equipment sends the current location of mobile terminal, realizes the location management of mobile terminal, is moved easily terminal user and finds movement Terminal.The location acquiring method for the mobile terminal that the computer program is realized when being executed by processor further can refer to aforementioned side The description of step in method embodiment, details are not described herein.
The computer readable storage medium of the embodiment of the present invention may include can carry computer program code any Entity or device, recording medium, for example, the memories such as ROM/RAM, disk, CD, flash memory.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention All any modification, equivalent and improvement etc., should all be included in the protection scope of the present invention made by within refreshing and principle.

Claims (10)

1. a kind of location acquiring method of mobile terminal, which is characterized in that the method includes following step:
It detects whether mobile terminal is in off-mode, when the mobile terminal is in off-mode, obtains described mobile whole The lasting shutdown duration at end;
When the persistently shutdown duration is more than preset persistently shutdown duration threshold value, start the mobile terminal, to the shifting Dynamic terminal is positioned, and to obtain the current location of the mobile terminal, and sends short distance to preset position management device It is wirelessly transferred connection request;
When the short range wireless transmission successful connection is established, working as the mobile terminal is sent to the position management device Front position.
2. the method as described in claim 1, which is characterized in that send working as the mobile terminal to the position management device After the step of front position, the method further includes:
The persistently shutdown duration threshold value is initialized.
3. the method as described in claim 1, which is characterized in that the method further includes:
When the short range wireless transmission, which connects, establishes failure, the persistently shutdown duration threshold value is reset.
4. method as claimed in claim 3, which is characterized in that the method further includes:
When the short range wireless transmission, which connects, establishes failure, the company that failure is established in the short range wireless transmission connection is obtained The continuous frequency of failure, judges whether the continuous frequency of failure reaches preset times;
When the continuous frequency of failure reaches the preset times, voice is carried out to the current location of the mobile terminal and is carried It wakes up.
5. such as Claims 1 to 4 any one of them method, which is characterized in that after starting the mobile terminal, the method Further include:
Whether detection receives the operation requests of user within a preset period of time, when not receiving institute in the preset time period When stating operation requests, the mobile terminal is closed.
6. a kind of position acquisition device of mobile terminal, which is characterized in that described device includes:
Duration acquiring unit, for detecting whether mobile terminal is in off-mode, when the mobile terminal is in off-mode When, obtain the lasting shutdown duration of the mobile terminal;
Connection request unit is used for when the persistently shutdown duration is more than preset persistently shutdown duration threshold value, described in startup Mobile terminal positions the mobile terminal, to obtain the current location of the mobile terminal, and to preset Position Pipe It manages equipment and sends short range wireless transmission connection request;And
Position transmission unit, for when the short range wireless transmission successful connection is established, being sent out to the position management device Send the current location of the mobile terminal.
7. device as claimed in claim 6, which is characterized in that described device further includes:
Threshold value updating unit is used for when the short range wireless transmission connects and establishes failure, to the duration threshold that persistently shuts down Value is reset.
8. device as claimed in claim 7, which is characterized in that described device further includes:
Frequency judging unit, for when the short range wireless transmission connects and establishes failure, obtaining the short-distance wireless and passing The continuous frequency of failure of failure is established in defeated connection, judges whether the continuous frequency of failure reaches preset times;
Position reminding unit, for when the continuous frequency of failure reaches the preset times, working as to the mobile terminal Front position carries out voice reminder.
9. a kind of mobile terminal, including memory, processor and it is stored in the memory and can be on the processor The computer program of operation, which is characterized in that the processor realizes such as claim 1 to 5 when executing the computer program The step of any one the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, feature to exist In when the computer program is executed by processor the step of any one of such as claim 1 to 5 of realization the method.
CN201711391216.5A 2017-12-21 2017-12-21 Location acquiring method, device, mobile terminal and the storage medium of mobile terminal Pending CN108307038A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711391216.5A CN108307038A (en) 2017-12-21 2017-12-21 Location acquiring method, device, mobile terminal and the storage medium of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711391216.5A CN108307038A (en) 2017-12-21 2017-12-21 Location acquiring method, device, mobile terminal and the storage medium of mobile terminal

Publications (1)

Publication Number Publication Date
CN108307038A true CN108307038A (en) 2018-07-20

Family

ID=62870159

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711391216.5A Pending CN108307038A (en) 2017-12-21 2017-12-21 Location acquiring method, device, mobile terminal and the storage medium of mobile terminal

Country Status (1)

Country Link
CN (1) CN108307038A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111148027A (en) * 2019-03-27 2020-05-12 广东小天才科技有限公司 Searching method of electronic equipment and mobile equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070065639A (en) * 2005-12-20 2007-06-25 엘지전자 주식회사 Mobile terminal and method for control power thereof
CN101399881A (en) * 2008-10-16 2009-04-01 北京中星微电子有限公司 Method and device for tracking positioning of mobile terminal device and mobile terminal device thereof
CN103634454A (en) * 2012-08-22 2014-03-12 希姆通信息技术(上海)有限公司 Terminal device automatic anti-theft alarm method and terminal device
CN105611496A (en) * 2015-10-13 2016-05-25 宇龙计算机通信科技(深圳)有限公司 Position prompting method of mobile terminal and apparatus thereof, and the mobile terminal
CN106331982A (en) * 2015-06-29 2017-01-11 上海卓易科技股份有限公司 Position information indication method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070065639A (en) * 2005-12-20 2007-06-25 엘지전자 주식회사 Mobile terminal and method for control power thereof
CN101399881A (en) * 2008-10-16 2009-04-01 北京中星微电子有限公司 Method and device for tracking positioning of mobile terminal device and mobile terminal device thereof
CN103634454A (en) * 2012-08-22 2014-03-12 希姆通信息技术(上海)有限公司 Terminal device automatic anti-theft alarm method and terminal device
CN106331982A (en) * 2015-06-29 2017-01-11 上海卓易科技股份有限公司 Position information indication method and system
CN105611496A (en) * 2015-10-13 2016-05-25 宇龙计算机通信科技(深圳)有限公司 Position prompting method of mobile terminal and apparatus thereof, and the mobile terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111148027A (en) * 2019-03-27 2020-05-12 广东小天才科技有限公司 Searching method of electronic equipment and mobile equipment
CN111148027B (en) * 2019-03-27 2021-06-01 广东小天才科技有限公司 Searching method of electronic equipment and mobile equipment

Similar Documents

Publication Publication Date Title
CN108241422B (en) Electronic device and thermal control method based on battery temperature in electronic device
KR102620068B1 (en) Method and System for Managing Wireless Charging
US9706357B2 (en) Method and apparatus for providing location information
US20190355365A1 (en) Electronic device and method of operation thereof
US9578156B2 (en) Method and apparatus for operating an electronic device
WO2016015577A1 (en) Method, apparatus and system for controlling intelligent wearable device
CN108023934B (en) Electronic device and control method thereof
KR102154779B1 (en) Method and apparatus for wireless charging
US20170302090A1 (en) Method and apparatus for protecting battery
US9928725B2 (en) Method and device for reminding user
KR102513790B1 (en) Method and apparatus for transmitting a wireless power
WO2013123863A1 (en) Sleep method, wakeup method and mobile terminal device
US10708352B2 (en) Method and apparatus for synchronizing application of electronic device
US10622840B2 (en) Electronic device for receiving power wirelessly and method for controlling the electronic device
KR102561570B1 (en) Electronic device and method for controlling wireless charging
US10135494B2 (en) Connection and synchronization with a device in a non-active state based on near field communication
KR102316436B1 (en) Method for controlling different kind of battery cells and electronic device thereof
KR20190064295A (en) Apparatus and method for manegementing consumption power in a electrolic device
CN104244239A (en) Mobile hotspot starting device, method and system
WO2017101362A1 (en) Method and system for managing and controlling power consumption of intelligent terminal
CN106233674B (en) Battery-efficient using the communication of token bucket is synchronous
KR20180075173A (en) Electronic device and method detecting foreign object in electronic device
CN106532876B (en) Power supply control method and device and computer equipment
WO2017049552A1 (en) Terminal device and charging control method
CN107925274A (en) The method of electronic equipment and temperature for control electronics

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180720

RJ01 Rejection of invention patent application after publication