CN109040953A - A kind of mobile terminal location control system based on Internet of Things - Google Patents

A kind of mobile terminal location control system based on Internet of Things Download PDF

Info

Publication number
CN109040953A
CN109040953A CN201810836686.6A CN201810836686A CN109040953A CN 109040953 A CN109040953 A CN 109040953A CN 201810836686 A CN201810836686 A CN 201810836686A CN 109040953 A CN109040953 A CN 109040953A
Authority
CN
China
Prior art keywords
mobile terminal
application program
positioning service
real
location
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.)
Granted
Application number
CN201810836686.6A
Other languages
Chinese (zh)
Other versions
CN109040953B (en
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.)
Nanjing boshengyu Network Technology Co., Ltd
Original Assignee
马书翠
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 马书翠 filed Critical 马书翠
Priority to CN201810836686.6A priority Critical patent/CN109040953B/en
Publication of CN109040953A publication Critical patent/CN109040953A/en
Application granted granted Critical
Publication of CN109040953B publication Critical patent/CN109040953B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0264Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by selectively disabling software applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The present invention is aiming at the problem that one or more application program of mobile terminal running background under the scene that commutes is to cause mobile terminal electricity to waste, a kind of mobile terminal location control system based on Internet of Things is provided, the positioning service plug-in unit that the mobile terminal location control system only opens mobile terminal bottom under mobile terminal screen locking state is positioned in real time, and the application program of positioning service is obtained in turning-off mobile terminal;And then it is restarted automatically such application program after unlocking the mobile terminal, and the real-time position information of the screen locking period is sent to such application program;As it can be seen that method of the invention is not only effectively saved the electric energy of mobile terminal in the state of the lock screen, while user is not influenced to the usage experience of application program positioning service.

Description

A kind of mobile terminal location control system based on Internet of Things
Technical field
The technical field that is controlled this application involves Internet of Things and mobile terminal location more particularly to a kind of based on Internet of Things Mobile terminal location control system.
Background technique
Increasingly developed with technology, people's lives increasingly be unable to do without mobile terminal, wherein mobile terminal can be with It is the hardware device that smart phone, tablet computer, personal digital assistant, e-book etc. have various operating systems.Currently, various Mobile terminal emerges one after another, and the function that mobile terminal has is also stronger and stronger, more and more, while mobile terminal installation Application program is also more and more abundant colorful.But the battery of mobile terminal is big bottleneck always, the battery of general mobile terminal is only It can support an a couple of days, saving electricity demanding becomes more more and more intense in the development of mobile terminal.
In view of the above-mentioned problems, document CN103596252A proposes that a kind of control system of mobile terminal, this method can bases Use state information and/or user's operation information obtain the current scene of mobile terminal automatically;According to current scene to mobile whole End carries out that province is electrically optimized, i.e., different battery saving modes can be used for different scenes, farthest reduces mobile terminal The battery pot life of mobile terminal is substantially improved in power consumption;It is electrically optimized that province carried out to mobile terminal according to current scene, that is, is directed to Different scenes uses different battery saving modes, and this method farthest reduces the power consumption of mobile terminal, movement is substantially improved The battery pot life of terminal.
However, the above method is only capable of obtaining the power consumption item unrelated with current scene, and to the power consumption unrelated with current scene Item is purged or adjusts;And to the power consumption of the relevant application program of current scene without formulating corresponding power saving strategy, For example, it is commuting scene that recognition result, which is current scene, and the application program for obtaining customer mobile terminal under the scene that commutes has ground Figure class application program, running class application program, these programs especially run under standby mode under the scene and still can consume A large amount of electric energy, and its location information just to get mobile terminal in real time, thereby result in the wave of application program electric current Take.Therefore, need to be proposed a kind of application program power saving management method under some scene, to guarantee not influence user Electric energy is saved in the case where usage experience to greatest extent.
Summary of the invention
The present invention provides a kind of mobile terminal location control system based on Internet of Things, and the positioning control system includes such as Lower module:
Positioning service obtains module, and the backstage for detecting the mobile terminal in the case where the mobile terminal is in screen lock state is No operation obtains one or more application program of positioning service;
Closing application program and system location services opening module, the positioning service of application program described in the acquisition for mobile terminal API, and the application program is automatically closed;The mobile terminal calling system positioning service plug-in unit, records the positioning service The real-time position information that plug-in unit obtains;
Application program opening module, for detecting whether the mobile terminal unlocks, if it is, automatically turning on described using journey Sequence, and the real-time position information of record is sent to the application program by the positioning service API;If it is not, then It returns and executes the closing application program and system location services opening module;
Internet of Things server module, the subscriber identity information of the mobile terminal, is stored based on the identity information for identification The real-time position information.
As a preferred embodiment, further include:
Detection obtains the quantity of the application program of positioning service, if an only application program, applies journey to be described The positioning service of the open mobile terminal of sequence;If there is multiple application programs, then the closing application program and system are executed Positioning service opening module.
As a preferred embodiment, the backstage of the mobile terminal whether run obtain one of positioning service or The multiple application programs of person, specifically include:
If the application program that the running background of the mobile terminal obtains positioning service have it is multiple, to application described in each Program sends location frequency solicited message, and the application program is after receiving the location frequency solicited message to the movement Terminal restoring to normal position frequency information;
The mobile terminal stores and compares the corresponding location frequency information of each described application program, by highest positioning frequency Rate records the real time position that the positioning service plug-in unit obtains according to the system location frequency and believes as system location frequency Breath.
As a preferred embodiment, described pass through the positioning service for the real-time position information of record API is sent to the application program, specifically includes:
The system location frequency is converted to the corresponding location frequency of each described application program by the mobile terminal, The real-time position information of the mobile terminal is sent to correspondence by the positioning service API according to the location frequency The application program.
As a preferred embodiment, institute using highest location frequency as system location frequency, according to the system System location frequency records the real-time position information that the positioning service plug-in unit obtains, further includes:
The remaining capacity of the mobile terminal is detected in the state of the lock screen, if the remaining capacity is lower than the preset first low electricity Threshold value is measured, then using the high location frequency of location frequency second in the application program as system location frequency, according to the system System location frequency records the real-time position information that the positioning service plug-in unit obtains;
The real-time position information of the mobile terminal is led to according to the system location frequency after the mobile terminal unlock It crosses the positioning service API and is sent to second height of location frequency and the highest application program of location frequency;By the system Location frequency is converted to the corresponding location frequency of other applications, according to the location frequency by the mobile terminal The real-time position information is sent to the corresponding application program by the positioning service API.
As a preferred embodiment, institute using highest location frequency as system location frequency, according to the system System location frequency records the real-time position information that the positioning service plug-in unit obtains, further includes:
The remaining capacity of the mobile terminal is detected in the state of the lock screen, if the remaining capacity is lower than the preset second low electricity Threshold value is measured, then using the low location frequency of location frequency in the application program the as system location frequency, according to the system Location frequency records the real-time position information that the positioning service plug-in unit obtains;The second low battery threshold value is less than described first Low battery threshold value;
The real-time position information of the mobile terminal is led to according to the system location frequency after the mobile terminal unlock It crosses the positioning service API and is sent to all application programs.
As a preferred embodiment, further include:
The mobile terminal pre-establishes the communication connection with second terminal, and the second terminal is capable of providing positioning service;
Whether the backstage that the mobile terminal is detected in the case where the mobile terminal is in screen lock state, which runs, obtains positioning service Application program, if it is, detecting whether the mobile terminal and the variation of the relative position of the second terminal are more than default Relative position threshold value, if it exceeds the relative position threshold value, then do not enable the positioning service of the second terminal;If not More than the relative position threshold value, then the positioning service of the second terminal is enabled, and closes the positioning clothes of the mobile terminal Business.
As a preferred embodiment, described be less than the relative position threshold value, then the second terminal is enabled Positioning service, and close the positioning service of the mobile terminal, further includes:
Detect whether the mobile terminal unlocks, if it is, the mobile terminal sends the movement to the second terminal The inquiry request of the real-time position information of terminal screen locking period, the second terminal will be described after receiving the inquiry request Real-time position information of the second terminal in the screen locking period is sent to the mobile terminal;The mobile terminal automatically turns on The application program, and the real-time position information of the screen locking period is sent to described answer by the positioning service API Use program.
As a preferred embodiment, the mobile terminal automatically turns on the application program, and by the screen locking The real-time position information of period is sent to the application program by the positioning service API, further includes:
The mobile terminal calibrates the real-time position information of the screen locking period depending on that relative position;
The mobile terminal automatically turns on the application program, and by the real-time position information of the screen locking period after calibration The application program is sent to by the positioning service API.
The present invention is for one or more application program of mobile terminal running background under commuting scene to cause to move The problem of terminal power wastes, provides a kind of mobile terminal location control system based on Internet of Things, the mobile terminal location control The positioning service plug-in unit that system processed only opens mobile terminal bottom under mobile terminal screen locking state is positioned in real time, and is closed It closes in mobile terminal and obtains the application program of positioning service;And then such is restarted automatically after unlocking the mobile terminal using journey Sequence, and the real-time position information of the screen locking period is sent to such application program;As it can be seen that method of the invention is not only effective The electric energy of mobile terminal in the state of the lock screen has been saved, while not having influenced user to the usage experience of application program positioning service. In addition, for location frequency different needed for mobile terminal different electricity and application program, provided with different power saving plans Slightly, to further improve the service efficiency of battery capacity of mobile terminal, the usage experience of user is improved.
Detailed description of the invention
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to institute in embodiment and description of the prior art Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention Example, for those of ordinary skill in the art, without creative efforts, can also obtain according to these attached drawings Obtain other attached drawings.
Fig. 1 is a kind of illustrative schematic diagram of mobile terminal location control system based on Internet of Things of the invention.
Specific embodiment
The following is further explained with reference to the attached drawings the embodiment of the present invention.
Embodiment one:
As shown in Figure 1, the present invention provides a kind of mobile terminal location control system based on Internet of Things, the positioning control system Including following module:
Positioning service obtains module, and the backstage for detecting the mobile terminal in the case where the mobile terminal is in screen lock state is No operation obtains one or more application program of positioning service;It should be noted that it is illustrative, the positioning service Application program is map class application program, running record class application program, calling a taxi services class application program etc., is not limited herein System;Positioning control system of the invention is realized in the state of the lock screen, this is because using under the unlocked state of mobile terminal Family tends to the battery level information for effectively obtaining mobile terminal, and then active carries out economize on electricity control, thus do not need be It unites customized power saving strategy, in addition, being controlled also the normal use that will affect user in the unlocked state;In summary it examines Consider, positioning control system of the invention is realized in the state of the lock screen.
Closing application program and system location services opening module, the positioning of application program described in the acquisition for mobile terminal API is serviced, and the application program is automatically closed;The mobile terminal calling system positioning service plug-in unit, records the positioning The real-time position information that service plug obtains;It should be noted that the positioning service API of the application program is that application program obtains Take the interface of the location information of mobile terminal operating system;And the positioning service of application program described in the acquisition for mobile terminal API is in order to mark the API, so that the location information of mobile terminal is sent to corresponding application program by the API.It is described The system location services plug-in unit of mobile terminal is the bottom plug-in unit of acquisition for mobile terminal system location information, due to the positioning service Plug-in unit is that operating system itself is included, therefore its location efficiency is higher, more saving electric energy;Record the positioning service plug-in unit The real-time position information of acquisition, the application software which can be positioning service demand enable after initiating request , it is preferred that the real-time position information is after the request enables in the real time position letter of mobile terminal screen locking period record Breath.
Application program opening module, for detecting whether the mobile terminal unlocks, if it is, being answered described in automatically turning on With program, and the real-time position information of record is sent to the application program by the positioning service API;If It is no, then it returns and executes the closing application program and system location services opening module.It should be noted that in order to not influence with Family automatically turns on aforementioned pass after detecting the mobile terminal unlock to the normal use of mobile terminal and its application program The application program for the positioning service closed, to maintain the normal use of user;And by the screen locking period it is described in real time Location information is sent to the application program by the positioning service API, and user can be maintained normally to make application program With.
Internet of Things server, the subscriber identity information of the mobile terminal, is stored based on the identity information for identification The real-time position information.It should be noted that by the Internet of Things server, the memory mobile terminal that user can be convenient The real-time position information of record is convenient for searching and managing.
As it can be seen that the mobile terminal location control system provided by the invention based on Internet of Things, mobile terminal location control The positioning service plug-in unit that system only opens mobile terminal bottom under mobile terminal screen locking state is positioned in real time, and is closed The application program of positioning service is obtained in mobile terminal;And then such is restarted automatically after unlocking the mobile terminal using journey Sequence, and the real-time position information of the screen locking period is sent to such application program;As it can be seen that method of the invention is not only effective The electric energy of mobile terminal in the state of the lock screen has been saved, while not having influenced user to the usage experience of application program positioning service.
As a preferred embodiment, further include:
Detection obtains the quantity of the application program of positioning service, if an only application program, applies journey to be described The positioning service of the open mobile terminal of sequence;If there is multiple application programs, then the closing application program and system are executed Positioning service opening module.It should be noted that if the application program for obtaining positioning service only has one, since it disappears The electricity of consumption is less for the application program of multiple such positioning services, at this point it is possible to the application program is not closed, into And be directly the positioning service of the open mobile terminal of the application program, that is, maintain the normal operation of the application program.
As a preferred embodiment, the backstage of the mobile terminal whether run obtain one of positioning service or The multiple application programs of person, specifically include:
If the application program that the running background of the mobile terminal obtains positioning service have it is multiple, to application described in each Program sends location frequency solicited message, and the application program is after receiving the location frequency solicited message to the movement Terminal restoring to normal position frequency information;It should be noted that since location frequency of the different application programs to positioning service has not Same demand, therefore, it is necessary to obtain the location frequency of each location services application program, to guarantee that application program can be tieed up Hold the accuracy requirement of positioning;At this point, each location services application program, which is located frequency needs, is sent to the movement eventually The system location services plug-in unit at end, so that suitable location frequency is arranged in the system location services plug-in unit accordingly.
The mobile terminal stores and compares the corresponding location frequency information of each described application program, will be highest fixed Bit frequency records the real time position that the positioning service plug-in unit obtains as system location frequency, according to the system location frequency Information.It should be noted that selecting highest location frequency in the location frequency of application program in present embodiment, it is ensured that Each application program can get the location frequency for positioning accuracy demand of being in order, to maintain normally making for user With experience.At this point, since mobile terminal is in screen lock state and positioning service class application program all has been off, only It is positioned in real time according only to the positioning service plug-in unit of mobile terminal bottom, both ensure that positioning accuracy in this way, in turn avoid weight The problem of electricity caused by polyphony location service function wastes.
As a preferred embodiment, described pass through the positioning service for the real-time position information of record API is sent to the application program, specifically includes:
The system location frequency is converted to the corresponding location frequency of each described application program by the mobile terminal, The real-time position information of the mobile terminal is sent to correspondence by the positioning service API according to the location frequency The application program.It should be noted that highest location frequency can satisfy the need of the application program of all location requirements It asks, but in order to reduce application data processing load, the system location frequency is converted to each by the mobile terminal The corresponding location frequency of the application program, that is, carry out the conversion of positioning accuracy, to be adapted to different application programs pair The demand of positioning accuracy.The real-time position information of the mobile terminal is taken by the positioning according to the location frequency Business API is sent to the corresponding application program, that is, the location frequency for being sent to application program is that the application program feeds back to shifting The location frequency of dynamic terminal.
As a preferred embodiment, institute using highest location frequency as system location frequency, according to the system System location frequency records the real-time position information that the positioning service plug-in unit obtains, further includes:
The remaining capacity of the mobile terminal is detected in the state of the lock screen, if the remaining capacity is lower than the preset first low electricity Threshold value is measured, then using the high location frequency of location frequency second in the application program as system location frequency, according to the system System location frequency records the real-time position information that the positioning service plug-in unit obtains;It should be noted that first low battery Threshold value is 30%;In the embodiment, since the remaining capacity of mobile terminal has influenced the normal use of user, and it is higher Location frequency consumption electric energy it is faster, therefore, it is necessary to reduce location frequency to reduce the speed of mobile terminal electric quantity consumption, To reduce the experience used user;Preferably, the present invention positioning frequency that location frequency second in the application program is high Rate is as system location frequency;Further, it is also possible to high, the 4th high location frequency by location frequency third in the application program As system location frequency, herein with no restrictions.
The real time position of the mobile terminal is believed according to the system location frequency after the mobile terminal unlock Breath is sent to second height of location frequency and the highest application program of location frequency by the positioning service API;It will be described System location frequency is converted to the corresponding location frequency of other applications, will be described mobile whole according to the location frequency The real-time position information at end is sent to the corresponding application program by the positioning service API.It should be noted that By the above-mentioned setting of the embodiment, location frequency is no longer satisfied normal higher than the application program of the location frequency It uses, is only capable of for the location information of collected location frequency being sent at this time and is higher than and being answered equal to what the location frequency needed With program, although the normal use of these application programs influenced at this time, reduces mobile terminal electric quantity consumption speed.This Outside, since the location frequency is still higher than lower than the application program of the location frequency demand, at this time by collected positioning Location information after frequency down is sent to corresponding application program, these application programs that will not influence at this time normally make With.
As a preferred embodiment, institute using highest location frequency as system location frequency, according to the system System location frequency records the real-time position information that the positioning service plug-in unit obtains, further includes:
The remaining capacity of the mobile terminal is detected in the state of the lock screen, if the remaining capacity is lower than the preset second low electricity Threshold value is measured, then using the minimum location frequency of location frequency in the application program as system location frequency, according to the system Location frequency records the real-time position information that the positioning service plug-in unit obtains;The second low battery threshold value is less than described first Low battery threshold value;It should be noted that illustrative, the second low battery threshold value is 10%, at this point, due to mobile terminal Electricity is merely capable of maintaining the booting operation of the mobile terminal of a period of time, therefore, the priority of the frequency needs of positioning service The normal operation of system should be lower than, at this point, the minimum location frequency of location frequency in the application program is determined as system Bit frequency can maintain the positioning service of application program, together although being unable to satisfy the positioning accuracy demand of most application programs When also saved to greatest extent positioning service consumption electric energy.
The real time position of the mobile terminal is believed according to the system location frequency after the mobile terminal unlock Breath is sent to all application programs by the positioning service API.It should be noted that at this point, most due to location frequency Low, positioning accuracy is also minimum, then without carry out the conversion of location frequency directly the real-time position information is sent to it is all described Application program, although the normal use of these application programs influenced at this time, reduces mobile terminal electric quantity consumption speed.
As a preferred embodiment, further include:
The mobile terminal pre-establishes the communication connection with second terminal, and the second terminal is capable of providing positioning service;It needs It is noted that preferred, the second terminal is smartwatch, can also be that other are capable of providing the portable of positioning service Equipment, herein with no restrictions.Preferably, the real-time position information is stored by Internet of Things server.
Whether the backstage that the mobile terminal is detected in the case where the mobile terminal is in screen lock state runs acquisition positioning clothes The application program of business, if it is, detect the mobile terminal and the relative position of the second terminal variation whether be more than Preset relative position threshold value, if it exceeds the relative position threshold value, then do not enable the positioning service of the second terminal;Such as Fruit is less than the relative position threshold value, then enables the positioning service of the second terminal, and closes determining for the mobile terminal Position service.It should be noted that the relative position threshold value is 3 meters, if the phase of the mobile terminal and the second terminal Position is maintained within 3 meters of relative position threshold value, then shows to be in " colleague " state, i.e., two in two terminals of the period Terminal is carried by same user, or two to be gone together user carries;At this point, being closed to save the electric energy of mobile terminal The positioning service of the mobile terminal;And since second terminal is usually that smartwatch etc. provides the equipment of simple services, Its energy consumption is relatively lower, enables the positioning service of the second terminal at this time, to be that the mobile terminal mentions by the second terminal For positioning service., whereas if the relative position of the mobile terminal and the second terminal does not maintain relative position threshold Within 3 meters of value, then show that two terminals are not on " colleague " state in the period, at this time the positioning clothes of the mobile terminal Business can not be replaced by more energy-efficient equipment, it is therefore desirable to the positioning service for maintaining the mobile terminal, without enabling described the The positioning service of two terminals.
As a preferred embodiment, described be less than the relative position threshold value, then the second terminal is enabled Positioning service, and close the positioning service of the mobile terminal, further includes:
Detect whether the mobile terminal unlocks, if it is, the mobile terminal sends the movement to the second terminal The inquiry request of the real-time position information of terminal screen locking period, the second terminal will be described after receiving the inquiry request Real-time position information of the second terminal in the screen locking period is sent to the mobile terminal;The mobile terminal automatically turns on The application program, and the real-time position information of the screen locking period is sent to described answer by the positioning service API Use program.It should be noted that after mobile terminal unlock, in order to maintain the usage experience of user, it is desirable to provide positioning The application program of service obtains location information, at this time, it may be necessary to which the mobile terminal sends the movement eventually to the second terminal The inquiry request of the real-time position information of screen locking period is held, the inquiry request is based on, the second terminal is by described second Real-time position information of the terminal in the screen locking period is sent to the mobile terminal, for the application journey of the positioning service Sequence uses.
As a preferred embodiment, the mobile terminal automatically turns on the application program, and by the screen locking The real-time position information of period is sent to the application program by the positioning service API, further includes:
The mobile terminal calibrates the real-time position information of the screen locking period depending on that relative position;It needs to illustrate It is that since the relative position is real-time change, and the mobile terminal is due to being not turned in the intermediary time period of screen locking Positioning service, location information can not be collected;At this point, in order to increase the accuracy of the position information of mobile terminal, it is excellent Choosing, can by acquire the mobile terminal and the second terminal the start time point of the screen locking period and at the end of Between the average value of relative distance at both points two time points being switched on positioning service carry out above-mentioned calibration operation.Alternatively, The time point of equal time distances opens the positioning service of the mobile terminal within the screen locking period, and collecting The relative position information both calculated after the location information of mobile terminal is stated, closes the mobile terminal after completing the calculating Positioning service;And then calibration operation is carried out to the relative position according to the average value of all acquisition times.
The mobile terminal automatically turns on the application program, and by the real time position of the screen locking period after calibration Information is sent to the application program by the positioning service API.It should be noted that it is illustrative, by the institute of calibration Stating relative position between mobile terminal and the second terminal is 2 meters, then by the screen locking period with described second eventually End is sent to the application program by the positioning service API at a distance of 2 meters of real-time position information.
The present invention is for one or more application program of mobile terminal running background under commuting scene to cause to move The problem of terminal power wastes, provides a kind of mobile terminal location control system based on Internet of Things, the mobile terminal location control The positioning service plug-in unit that system processed only opens mobile terminal bottom under mobile terminal screen locking state is positioned in real time, and is closed It closes in mobile terminal and obtains the application program of positioning service;And then such is restarted automatically after unlocking the mobile terminal using journey Sequence, and the real-time position information of the screen locking period is sent to such application program;As it can be seen that method of the invention is not only effective The electric energy of mobile terminal in the state of the lock screen has been saved, while not having influenced user to the usage experience of application program positioning service. In addition, for location frequency different needed for mobile terminal different electricity and application program, provided with different power saving plans Slightly, to further improve the service efficiency of battery capacity of mobile terminal, the usage experience of user is improved.
Those skilled in the art of the present technique be appreciated that can be realized with computer program instructions these structure charts and/or The combination of each frame and these structure charts and/or the frame in block diagram and/or flow graph in block diagram and/or flow graph.It can be by this The processor that a little computer program instructions are supplied to general purpose computer, special purpose computer or other programmable data processing methods comes Machine is generated, is used for be performed instruction by the processor of computer or other programmable data processing methods and create Realize the method specified in the frame or multiple frames of structure chart and/or block diagram and/or flow graph.
Those skilled in the art of the present technique have been appreciated that in the present invention the various operations crossed by discussion, method, in process Steps, measures, and schemes can be replaced, changed, combined or be deleted.Further, each with having been crossed by discussion in the present invention Kind of operation, method, other steps, measures, and schemes in process may also be alternated, changed, rearranged, decomposed, combined or deleted. Further, in the prior art to have and the step in various operations, method disclosed in the present invention, process, measure, scheme It may also be alternated, changed, rearranged, decomposed, combined or deleted.
The above description is only an embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (9)

1. a kind of mobile terminal location control system based on Internet of Things, which is characterized in that the positioning control system includes such as Lower module:
Positioning service obtains module, and the backstage for detecting the mobile terminal in the case where the mobile terminal is in screen lock state is No operation obtains one or more application program of positioning service;
Closing application program and system location services opening module, the positioning service of application program described in the acquisition for mobile terminal API, and the application program is automatically closed;The mobile terminal calling system positioning service plug-in unit, records the positioning service The real-time position information that plug-in unit obtains;
Application program opening module, for detecting whether the mobile terminal unlocks, if it is, automatically turning on described using journey Sequence, and the real-time position information of record is sent to the application program by the positioning service API;If it is not, then It returns and executes the closing application program and system location services opening module;
Internet of Things server, the subscriber identity information of the mobile terminal, is based on described in identity information storage for identification Real-time position information.
2. mobile terminal location control system according to claim 1, which is characterized in that further include:
Detection obtains the quantity of the application program of positioning service, if an only application program, applies journey to be described The positioning service of the open mobile terminal of sequence;If there is multiple application programs, then the closing application program and system are executed Positioning service opening module.
3. mobile terminal location control system according to claim 1, which is characterized in that the backstage of the mobile terminal is No operation obtains one or more application program of positioning service, specifically includes:
If the application program that the running background of the mobile terminal obtains positioning service have it is multiple, to application described in each Program sends location frequency solicited message, and the application program is after receiving the location frequency solicited message to the movement Terminal restoring to normal position frequency information;
The mobile terminal stores and compares the corresponding location frequency information of each described application program, by highest positioning frequency Rate records the real time position that the positioning service plug-in unit obtains according to the system location frequency and believes as system location frequency Breath.
4. mobile terminal location control system according to claim 3, which is characterized in that described by the described real-time of record Location information is sent to the application program by the positioning service API, specifically includes:
The system location frequency is converted to the corresponding location frequency of each described application program by the mobile terminal, The real-time position information of the mobile terminal is sent to correspondence by the positioning service API according to the location frequency The application program.
5. mobile terminal location control system according to claim 3, which is characterized in that institute makees highest location frequency For system location frequency, the real-time position information that the positioning service plug-in unit obtains is recorded according to the system location frequency, also Include:
The remaining capacity of the mobile terminal is detected in the state of the lock screen, if the remaining capacity is lower than the preset first low electricity Threshold value is measured, then using the high location frequency of location frequency second in the application program as system location frequency, according to the system System location frequency records the real-time position information that the positioning service plug-in unit obtains;
The real-time position information of the mobile terminal is led to according to the system location frequency after the mobile terminal unlock It crosses the positioning service API and is sent to second height of location frequency and the highest application program of location frequency;By the system Location frequency is converted to the corresponding location frequency of other applications, according to the location frequency by the mobile terminal The real-time position information is sent to the corresponding application program by the positioning service API.
6. mobile terminal location control system according to claim 5, which is characterized in that institute makees highest location frequency For system location frequency, the real-time position information that the positioning service plug-in unit obtains is recorded according to the system location frequency, also Include:
The remaining capacity of the mobile terminal is detected in the state of the lock screen, if the remaining capacity is lower than the preset second low electricity Threshold value is measured, then using the minimum location frequency of location frequency in the application program as system location frequency, according to the system Location frequency records the real-time position information that the positioning service plug-in unit obtains;The second low battery threshold value is less than described first Low battery threshold value;
The real-time position information of the mobile terminal is led to according to the system location frequency after the mobile terminal unlock It crosses the positioning service API and is sent to all application programs.
7. mobile terminal location control system according to claim 1, which is characterized in that further include:
The mobile terminal pre-establishes the communication connection with second terminal, and the second terminal is capable of providing positioning service;
Whether the backstage that the mobile terminal is detected in the case where the mobile terminal is in screen lock state, which runs, obtains positioning service Application program, if it is, detecting whether the mobile terminal and the variation of the relative position of the second terminal are more than default Relative position threshold value, if it exceeds the relative position threshold value, then do not enable the positioning service of the second terminal;If not More than the relative position threshold value, then the positioning service of the second terminal is enabled, and closes the positioning clothes of the mobile terminal Business.
8. mobile terminal location control system according to claim 7, which is characterized in that described to be less than the opposite position Threshold value is set, then enables the positioning service of the second terminal, and closes the positioning service of the mobile terminal, further includes:
Detect whether the mobile terminal unlocks, if it is, the mobile terminal sends the movement to the second terminal The inquiry request of the real-time position information of terminal screen locking period, the second terminal will be described after receiving the inquiry request Real-time position information of the second terminal in the screen locking period is sent to the mobile terminal;The mobile terminal automatically turns on The application program, and the real-time position information of the screen locking period is sent to described answer by the positioning service API Use program.
9. mobile terminal location control system according to claim 8, which is characterized in that the mobile terminal automatically turns on The application program, and the real-time position information of the screen locking period is sent to described answer by the positioning service API With program, further includes:
The mobile terminal calibrates the real-time position information of the screen locking period depending on that relative position;
The mobile terminal automatically turns on the application program, and by the real-time position information of the screen locking period after calibration The application program is sent to by the positioning service API.
CN201810836686.6A 2018-07-26 2018-07-26 Mobile terminal positioning control system based on Internet of things Active CN109040953B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810836686.6A CN109040953B (en) 2018-07-26 2018-07-26 Mobile terminal positioning control system based on Internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810836686.6A CN109040953B (en) 2018-07-26 2018-07-26 Mobile terminal positioning control system based on Internet of things

Publications (2)

Publication Number Publication Date
CN109040953A true CN109040953A (en) 2018-12-18
CN109040953B CN109040953B (en) 2020-11-27

Family

ID=64646750

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810836686.6A Active CN109040953B (en) 2018-07-26 2018-07-26 Mobile terminal positioning control system based on Internet of things

Country Status (1)

Country Link
CN (1) CN109040953B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015134451A1 (en) * 2014-03-04 2015-09-11 Qualcomm Incorporated Reduced power consumption and improved user experience when navigating along familiar routes
CN106850978A (en) * 2017-01-19 2017-06-13 北京奇虎科技有限公司 A kind of application control method and relevant device
CN107708187A (en) * 2017-09-12 2018-02-16 北京小米移动软件有限公司 The control method and device of sleep pattern
CN108093362A (en) * 2017-12-13 2018-05-29 广东欧珀移动通信有限公司 Control method, device, storage medium and the terminal of locating module
CN108111974A (en) * 2017-12-13 2018-06-01 广东欧珀移动通信有限公司 Control method, device, storage medium and the terminal of locating module

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015134451A1 (en) * 2014-03-04 2015-09-11 Qualcomm Incorporated Reduced power consumption and improved user experience when navigating along familiar routes
CN106850978A (en) * 2017-01-19 2017-06-13 北京奇虎科技有限公司 A kind of application control method and relevant device
CN107708187A (en) * 2017-09-12 2018-02-16 北京小米移动软件有限公司 The control method and device of sleep pattern
CN108093362A (en) * 2017-12-13 2018-05-29 广东欧珀移动通信有限公司 Control method, device, storage medium and the terminal of locating module
CN108111974A (en) * 2017-12-13 2018-06-01 广东欧珀移动通信有限公司 Control method, device, storage medium and the terminal of locating module

Also Published As

Publication number Publication date
CN109040953B (en) 2020-11-27

Similar Documents

Publication Publication Date Title
CN103167185B (en) Battery energy-saving method and system
CN102811289B (en) Terminal and power management method of same
KR101606102B1 (en) Terminal device
CN103188277B (en) load energy consumption management system, method and server
CN106020415B (en) Application control method and device under smart machine standby mode
CN105549718A (en) Method and device for optimizing power consumption of application program and electronic equipment
CN109448178A (en) A kind of low power-consumption intelligent door-locking system and its control method
CN104159281A (en) A method and a device for saving electricity of a mobile terminal
CN104184884B (en) A kind of control device and method, mobile terminal of mobile terminal power consumption
CN106102142B (en) terminal data processing method and device
CN110018902A (en) Internal memory processing method and device, electronic equipment, computer readable storage medium
CN109298640A (en) A kind of management method and device of smart machine
CN110424831A (en) Low power-consumption intelligent door lock
CN108449785B (en) EGPRS communication method and system based on hierarchical energy consumption management
CN103905652A (en) Power supply management method and electronic device
CN109803358A (en) Mobile terminal electric quantity controlling method, device, computer equipment and storage medium
CN106713676A (en) Communication number identification control method and device, and communication terminal
CN108616906A (en) A kind of LTE base station power-economizing method and device
CN109040956A (en) A kind of mobile terminal energy conservation localization method based on Internet of Things
CN108924750A (en) A kind of mobile terminal energy conservation positioning system based on Internet of Things
CN106293709A (en) The management method of application program, managing device and terminal
CN108769767A (en) Television terminal control method, equipment and computer readable storage medium
CN105210007B (en) System and method for the rechargeable power supply management in the portable computing with two or more use patterns
CN108966134A (en) A kind of mobile terminal location control method based on Internet of Things
CN108989548A (en) A kind of control method and control device detecting mobile terminal application power consumption

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
TA01 Transfer of patent application right

Effective date of registration: 20201109

Address after: Building 1, No.7 Yingcui Road, Jiangning District, Nanjing City, Jiangsu Province (Jiangning Development Zone)

Applicant after: Nanjing boshengyu Network Technology Co., Ltd

Address before: 063000 1 Tung Li, north section of Tangshan City Road, Hebei

Applicant before: Ma Shucui

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant