CN115460321B - Continuous accurate positioning method capable of saving iPhone electric quantity - Google Patents

Continuous accurate positioning method capable of saving iPhone electric quantity Download PDF

Info

Publication number
CN115460321B
CN115460321B CN202211270421.7A CN202211270421A CN115460321B CN 115460321 B CN115460321 B CN 115460321B CN 202211270421 A CN202211270421 A CN 202211270421A CN 115460321 B CN115460321 B CN 115460321B
Authority
CN
China
Prior art keywords
iphone
time
module
background
application
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.)
Active
Application number
CN202211270421.7A
Other languages
Chinese (zh)
Other versions
CN115460321A (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.)
Chongqing Kelanda Technology Co ltd
Original Assignee
Chongqing Kelanda 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 Chongqing Kelanda Technology Co ltd filed Critical Chongqing Kelanda Technology Co ltd
Priority to CN202211270421.7A priority Critical patent/CN115460321B/en
Publication of CN115460321A publication Critical patent/CN115460321A/en
Application granted granted Critical
Publication of CN115460321B publication Critical patent/CN115460321B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a continuous and accurate positioning method capable of saving iPhone electric quantity, and relates to the technical field of electronic information. The continuous and accurate positioning system capable of saving the iPhone electric quantity comprises a position and time acquisition module, a distance and time judgment module, a background application awakening module, a background application suspending module, a mobile sensing module, a timing module and a network request module; and the position and time acquisition module is used for acquiring the position information of the iPhone mobile phone and the duration time of the same position. According to the invention, the Significa-change location service is added into the iPhone mobile phone, so that after the background application exits, the background application can be compared with the last stored position when the background application can acquire a new position, the background application can not stop, the power consumption is very low, and the application can be automatically awakened and run in the background after the mobile phone moves beyond a certain distance, so that the method is energy-saving and power-saving and is convenient to use.

Description

Continuous accurate positioning method capable of saving iPhone electric quantity
Technical Field
The invention relates to the technical field of electronic information, in particular to a continuous and accurate positioning method capable of saving iPhone electric quantity.
Background
With the development of positioning technology and mobile terminals, the existing mobile phones basically have a GPS positioning function, and application software installed on the mobile phones basically requests positioning services, so that once the application requests positioning, the mobile phones cannot normally enter a standby mode, the power consumption of the mobile phones is increased, the standby time is shortened, users cannot conveniently use the mobile phones, the use experience of the users is poor, meanwhile, the mobile phone batteries are repeatedly charged, the service lives of the batteries are shortened, and resource waste and environmental pollution are caused.
When the iOS application of the iPhone mobile phone continuously acquires positioning, the power consumption of the mobile phone is very high, the service life of a battery is greatly reduced, and therefore, the power consumption is very important to be reduced.
Therefore, a person skilled in the art provides a continuous and accurate positioning method capable of saving the power of the iPhone, so as to solve the problems in the prior art.
Disclosure of Invention
(one) solving the technical problems
Aiming at the defects of the prior art, the invention provides the continuous and accurate positioning method capable of saving the iPhone electric quantity, which can ensure that the background application is not stopped, has very small power consumption, can automatically wake up the application and operate in the background after the mobile phone moves beyond a certain distance, saves energy and electricity, is convenient and practical, and solves the problems that the electric quantity consumption of the mobile phone is very large and the service life of a battery is greatly reduced when the iOS application of the iPhone mobile phone continuously acquires the positioning.
(II) technical scheme
In order to achieve the above purpose, the invention is realized by the following technical scheme:
the system comprises a position and time acquisition module, a distance and time judgment module, a background application awakening module, a background application suspending module, a mobile sensing module, a timing module and a network request module;
the position and time acquisition module is used for acquiring the position information of the iPhone mobile phone and the duration time of the same position;
the distance and time judging module is used for judging whether the distance between the current position of the iPhone mobile phone and the preset position is smaller than or equal to a preset distance threshold value, if yes, judging whether the time interval between the current time and the preset time is smaller than or equal to a preset duration threshold value;
the background application awakening module automatically awakens the background application by using a Significant-change location service and operates in the background after the iPhone mobile phone moves beyond a certain distance;
a background application suspension module, when the moving distance of the iPhone mobile phone is less than 100 meters and the duration exceeds 30 minutes, closing Standard location service, and automatically suspending the application;
the mobile sensing module is used for acquiring the coordinates of the current moment and the current position in real time when the positioning function is in an on state so as to judge and sense the movement of the iPhone mobile phone;
the timing module is used for recording the residence time of the iPhone mobile phone in a certain range, judging the time interval between the residence time and the preset time, and suspending the application if the residence time is determined to be larger than the preset duration threshold;
and the network request module is used for sending a connection request through network connection, and if the network connection is used for receiving the authorized connection information, the background application program is awakened according to the authorized connection information.
Preferably, the system further comprises a global positioning GPS engine system configured to measure the location information collected by the iPhone by receiving GPS signals.
Preferably, the system further comprises a sensor group configured to be integrated inside the iPhone phone for sensing movement and a position state of the iPhone phone, and an intelligent control chip configured to provide continuous position-related services using position information measured by the GPS engine system, and to provide selective position-related services by turning on/off operation of the GPS engine system by its movement when the sensor group senses movement of the iPhone phone.
Preferably, the intelligent control chip is further configured to turn off the GPS engine system when the iPhone phone moves inside a preset threshold distance, and turn on the GPS engine system when the iPhone phone moves outside the preset threshold distance.
Preferably, the sensor group includes a combination of one or more of a displacement sensor, a gyroscope sensor, a geomagnetic sensor, a digital compass, and a G-sensor.
Preferably, a method for continuous and accurate positioning capable of saving iPhone electric quantity comprises the following steps:
s1, opening an APP in an iPhone mobile phone;
s2, opening Standard location service and opening a background positioning function;
s3, before the application enters the background, opening the Significa-change location service;
s4, when the application enters the background, comparing the new position obtained each time with the position stored last time;
s5, if the distance between the acquired new position and the position stored last time is greater than 100 meters, storing the position information;
s6, if the distance between the acquired new position and the position stored last time is smaller than 100 meters and the time is longer than 30 minutes, closing Standard location service, and automatically suspending the application by the system to reduce the power consumption;
s7, when the mobile phone moves beyond a certain distance, the application is automatically awakened by the Significa-change location service and runs in the background;
s8, repeating the process of the step 2, and performing the next positioning operation.
Preferably, after the application enters the background, the coordinates of the current moment and the current position are obtained in real time, and after the time exceeds 30 minutes, the background is automatically suspended, so that the power consumption of the mobile phone is reduced.
Preferably, after the application enters the background, if it is confirmed that the distance between the current position and the preset position is greater than the preset distance threshold, the application is automatically awakened by the Significant-change location service and runs in the background, and meanwhile, the current position information is recorded and stored.
(III) beneficial effects
The invention provides a continuous and accurate positioning method capable of saving the iPhone electric quantity. The beneficial effects are as follows:
1. the invention provides a continuous and accurate positioning method capable of saving the power of an iPhone, which is characterized in that a Significa-change location service is added in the iPhone mobile phone, after a background application exits, the service is used for acquiring the position information of the mobile phone, when the background application can acquire a new position, the service can be compared with the last stored position, if the distance between the acquired new position and the last stored position is greater than 100 meters, the position information is stored, if the distance between the acquired new position and the last stored position is less than 100 meters, and the time is longer than 30 minutes, standard location service is closed, the application can be automatically suspended by the system to reduce the power consumption, the background application can not be stopped, the power consumption is very small, and after the mobile phone moves beyond a certain distance, the application can be automatically awakened and run in the background, the method is energy-saving and electricity-saving, and is convenient and practical.
Drawings
FIG. 1 is a flow chart of the method of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Examples:
as shown in fig. 1, the embodiment of the invention provides a system capable of saving the continuous and accurate positioning of the power of an iPhone, which comprises a position and time acquisition module, a distance and time judgment module, a background application awakening module, a background application suspending module, a mobile sensing module, a timing module and a network request module;
the position and time acquisition module is used for acquiring the position information of the iPhone mobile phone and the duration time of the same position;
the distance and time judging module is used for judging whether the distance between the current position of the iPhone mobile phone and the preset position is smaller than or equal to a preset distance threshold value, if yes, judging whether the time interval between the current time and the preset time is smaller than or equal to a preset duration threshold value;
the background application awakening module automatically awakens the background application by using a Significant-change location service and operates in the background after the iPhone mobile phone moves beyond a certain distance;
a background application suspension module, when the moving distance of the iPhone mobile phone is less than 100 meters and the duration exceeds 30 minutes, closing Standard location service, and automatically suspending the application;
the mobile sensing module is used for acquiring the coordinates of the current moment and the current position in real time when the positioning function is in an on state so as to judge and sense the movement of the iPhone mobile phone;
the timing module is used for recording the residence time of the iPhone mobile phone in a certain range, judging the time interval between the residence time and the preset time, and suspending the application if the residence time is determined to be larger than the preset duration threshold;
and the network request module is used for sending a connection request through network connection, and if the network connection is used for receiving the authorized connection information, the background application program is awakened according to the authorized connection information.
The system also includes a global positioning GPS engine system configured to measure iPhone-collected location information by receiving GPS signals.
The system further includes a sensor set configured to be integrated within the iPhone phone for sensing movement and a position status of the iPhone phone, and an intelligent control chip configured to provide continuous position-related services using position information measured by the GPS engine system, and to provide selective position-related services by an operation of turning on/off the GPS engine system by its movement when the sensor set senses movement of the iPhone phone.
The smart control chip is further configured to turn off the GPS engine system when the iPhone phone is moved inside the preset threshold distance and turn on the GPS engine system when the iPhone phone is moved outside the preset threshold distance, the sensor group including a combination of one or more of a displacement sensor, a gyroscopic sensor, a geomagnetic sensor, a digital compass, and a G-sensor.
The continuous and accurate positioning method capable of saving the iPhone electric quantity comprises the following steps of:
s1, opening an APP in an iPhone mobile phone;
s2, opening Standard location service and opening a background positioning function;
s3, before the application enters the background, opening the Significa-change location service;
s4, when the application enters the background, comparing the new position obtained each time with the position stored last time;
s5, if the distance between the acquired new position and the position stored last time is greater than 100 meters, storing the position information;
s6, if the distance between the acquired new position and the position stored last time is smaller than 100 meters and the time is longer than 30 minutes, closing Standard location service, and automatically suspending the application by the system to reduce the power consumption;
s7, when the mobile phone moves beyond a certain distance, the application is automatically awakened by the Significa-change location service and runs in the background;
s8, repeating the process of the step 2, and performing the next positioning operation.
After the application enters the background, the coordinates of the current moment and the current position are acquired in real time, the background is automatically suspended after the time exceeds 30 minutes, so that the power consumption of the mobile phone is reduced, and after the application enters the background, if the distance between the current position and the preset position is confirmed to be larger than a preset distance threshold value, the application is automatically awakened by the Significa-change location service and runs in the background, and meanwhile, the current position information is recorded and stored.
Although embodiments of the present invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made therein without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (8)

1. The continuous and accurate positioning system capable of saving the iPhone electric quantity is characterized by comprising a position and time acquisition module, a distance and time judgment module, a background application awakening module, a background application suspending module, a mobile sensing module, a timing module and a network request module;
the position and time acquisition module is used for acquiring the position information of the iPhone mobile phone and the duration time of the same position;
the distance and time judging module is used for judging whether the distance between the current position of the iPhone mobile phone and the preset position is smaller than or equal to a preset distance threshold value, if yes, judging whether the time interval between the current time and the preset time is smaller than or equal to a preset duration threshold value;
the background application awakening module automatically awakens the background application by using a Significant-change locati on servi ce and operates in the background after the iPhone mobile phone moves beyond a certain distance;
a background application suspension module, when the moving distance of the iPhone mobile phone is less than 100 meters and the duration exceeds 30 minutes, closing Standard locati on servi ce, and automatically suspending the application;
the mobile sensing module is used for acquiring the coordinates of the current moment and the current position in real time when the positioning function is in an on state so as to judge and sense the movement of the iPhone mobile phone;
the timing module is used for recording the residence time of the iPhone mobile phone in a certain range, judging the time interval between the residence time and the preset time, and suspending the application if the residence time is determined to be larger than the preset duration threshold;
and the network request module is used for sending a connection request through network connection, and if the network connection is used for receiving the authorized connection information, the background application program is awakened according to the authorized connection information.
2. The system for continuous accurate positioning while conserving power in an iPhone of claim 1, further comprising a global positioning GPS engine system configured to measure iPhone-collected location information by receiving GPS signals.
3. The system for continuous accurate positioning while conserving power in an iPhone of claim 1, further comprising a sensor set configured to be integrated within the iPhone handset for sensing movement and location status of the iPhone handset and an intelligent control chip configured to provide continuous location related services using location information measured by the GPS engine system and to provide selective location related services by turning on/off operation of the GPS engine system by its movement when the sensor set senses movement of the iPhone handset.
4. The system of claim 3, wherein the intelligent control chip is further configured to turn off the GPS engine system when the iPhone moves within a predetermined threshold distance and turn on the GPS engine system when the iPhone moves outside the predetermined threshold distance.
5. A system for continuous accurate positioning of power saving in an iPhone according to claim 3 wherein said sensor group comprises a combination of one or more of a displacement sensor, a gyroscopic sensor, a geomagnetic sensor, a digital compass, and a G-sensor.
6. The continuous and accurate positioning method capable of saving the iPhone electric quantity is characterized by comprising the following steps of:
s1, opening an APP in an iPhone mobile phone;
s2, opening Standard location service and opening a background positioning function;
s3, before the application enters the background, opening the Significa-change location service;
s4, when the application enters the background, comparing the new position obtained each time with the position stored last time;
s5, if the distance between the acquired new position and the position stored last time is greater than 100 meters, storing the position information;
s6, if the distance between the acquired new position and the position stored last time is smaller than 100 meters and the time is longer than 30 minutes, closing Standard location service, and automatically suspending the application by the system to reduce the power consumption;
s7, when the mobile phone moves beyond a certain distance, the application is automatically awakened by the Significa-change location service and runs in the background;
s8, repeating the process of the step 2, and performing the next positioning operation.
7. The method for continuously and accurately positioning power saving of an iPhone according to claim 6, wherein coordinates of a current time and a current position are obtained in real time after the application enters the background, and the background is automatically suspended after the time exceeds 30 minutes, so as to reduce power consumption of the mobile phone.
8. The method for continuously and accurately positioning power saving in iPhone according to claim 6, wherein after the application enters the background, if the distance between the current position and the preset position is determined to be greater than the preset distance threshold, the application is automatically awakened by the Significant-change location service and runs in the background, and meanwhile, the current position information is recorded and stored.
CN202211270421.7A 2022-10-13 2022-10-13 Continuous accurate positioning method capable of saving iPhone electric quantity Active CN115460321B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211270421.7A CN115460321B (en) 2022-10-13 2022-10-13 Continuous accurate positioning method capable of saving iPhone electric quantity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211270421.7A CN115460321B (en) 2022-10-13 2022-10-13 Continuous accurate positioning method capable of saving iPhone electric quantity

Publications (2)

Publication Number Publication Date
CN115460321A CN115460321A (en) 2022-12-09
CN115460321B true CN115460321B (en) 2024-03-29

Family

ID=84310666

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211270421.7A Active CN115460321B (en) 2022-10-13 2022-10-13 Continuous accurate positioning method capable of saving iPhone electric quantity

Country Status (1)

Country Link
CN (1) CN115460321B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104627129A (en) * 2015-01-20 2015-05-20 上海闻泰电子科技有限公司 Vehicle theft deterrent method and system based on mobile phone GPS positioning
CN108076507A (en) * 2017-12-13 2018-05-25 广东欧珀移动通信有限公司 Positioning method control method, device, storage medium and mobile terminal
CN113392944A (en) * 2021-06-17 2021-09-14 宿州职业技术学院 Wireless safety monitoring device for computer application

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9774995B2 (en) * 2014-05-09 2017-09-26 Microsoft Technology Licensing, Llc Location tracking based on overlapping geo-fences

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104627129A (en) * 2015-01-20 2015-05-20 上海闻泰电子科技有限公司 Vehicle theft deterrent method and system based on mobile phone GPS positioning
CN108076507A (en) * 2017-12-13 2018-05-25 广东欧珀移动通信有限公司 Positioning method control method, device, storage medium and mobile terminal
CN113392944A (en) * 2021-06-17 2021-09-14 宿州职业技术学院 Wireless safety monitoring device for computer application

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"基于iOS平台的广东高速信息服务系统的设计与实现";韩长安;《中国优秀硕士学位论文全文数据库信息科技辑》;I138-1392 *

Also Published As

Publication number Publication date
CN115460321A (en) 2022-12-09

Similar Documents

Publication Publication Date Title
CN104615097B (en) Method and device for remotely controlling mobile terminal
CN104199538A (en) Mobile terminal power saving method and system and mobile terminal
KR101606102B1 (en) Terminal device
EP2696605A1 (en) Apparatus and method for energy efficient location sensing
CN103200660A (en) Adjustment method for positioning modes of mobile terminal
CN105848270B (en) A kind of idle method and mobile terminal
CN107491160A (en) A kind of application method of dual operating systems, storage device and intelligent terminal
CN103983987B (en) A kind of location equipment, wearable device and alignment system
CN111586558A (en) Low-power-consumption multi-mode positioning method and system based on NB-IoT
CN105516515A (en) Method and system for automatically switching power-saving mode of intelligent terminal
CN104539005A (en) Mobile terminal charging control system and method
CN102647517B (en) Mobile phone and low-power alarm method thereof
CN111308531B (en) Low-power-consumption indoor and outdoor automatic switching and positioning system
CN101291487A (en) MP3 playing method with low energy consumption on mobile phone
CN104243683A (en) Data processing method, terminal, user identification card and data processing system
CN115460321B (en) Continuous accurate positioning method capable of saving iPhone electric quantity
CN103983992B (en) A kind of location equipment and wearable equipment
CN103167400B (en) Portable electron device and method for tracing thereof
CN104377390A (en) Geographical position-based system and method for changing upper limit battery temperature warning value
CN106793039A (en) Terminal control method and device
CN103983991B (en) A kind of location equipment
CN111273317A (en) Low-power-consumption locator positioning detection method
CN205722372U (en) Wireless intelligent gas kilowatt meter reading-out system
CN114697444B (en) Mode control method and system of wearable device and wearable device
CN212111814U (en) Intelligent container house GPS system based on NB-IOT

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
GR01 Patent grant
GR01 Patent grant