WO2018014620A1 - Gps控制方法、装置及存储介质 - Google Patents

Gps控制方法、装置及存储介质 Download PDF

Info

Publication number
WO2018014620A1
WO2018014620A1 PCT/CN2017/082923 CN2017082923W WO2018014620A1 WO 2018014620 A1 WO2018014620 A1 WO 2018014620A1 CN 2017082923 W CN2017082923 W CN 2017082923W WO 2018014620 A1 WO2018014620 A1 WO 2018014620A1
Authority
WO
WIPO (PCT)
Prior art keywords
state
gps chip
gps
sleep
chip
Prior art date
Application number
PCT/CN2017/082923
Other languages
English (en)
French (fr)
Inventor
陈毅
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 中兴通讯股份有限公司
Publication of WO2018014620A1 publication Critical patent/WO2018014620A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • 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

Definitions

  • the present disclosure relates to data communication technologies in the field of Internet of Things, and in particular, to a GPS control method, apparatus, and storage medium.
  • LTE Long Term Evolution
  • WIFI Wireless Fidelity
  • the customer premises equipment (CPE, Customer Premise Equipment) is used as a terminal to support WIFI and LTE networks.
  • CPE Customer Premise Equipment
  • the main features of the device are as follows: (1) From the downlink, support end users to build LAN through WIFI technology, which is convenient for users to share uplink data channels; (2) From the uplink, support LTE-based wireless Data services, on the other hand, also support external WIFI hotspot technology to support terminal access to external hotspots to provide wireless data services. From a technical point of view, wireless CPE integrates LTE and WIFI hotspot technologies at the same time, providing users with a variety of mobile data services.
  • the Internet of Things refers to a network formed by combining various information sensing devices with the Internet. The purpose is to connect all items to the network for easy identification and management. In essence, the Internet of Things is based on two technical characteristics. On the one hand, it needs to solve the problem of interconnecting with everything, that is, connecting objects to the Internet; on the other hand, it is necessary to solve the problem of moving data channels, that is, to transmit information of objects to the Internet. on.
  • IOT technology the application field of IoT technology continues to expand, for example, smart grid and energy management, home and construction Building automation, asset tracking, health and health. Based on the advantages of CPE, the application scope of CPE has gradually moved from family to IOT field.
  • a wireless CPE based on a Global Positioning System (GPS) function generally adopts continuous positioning and obtains location information of the device.
  • GPS Global Positioning System
  • the industry CPE position is relatively fixed, if a continuous positioning method is adopted, the GPS chip continues. Work will result in a relatively large power consumption. At the same time, the life of the GPS chip is also depleted, and energy conservation has become an important issue.
  • the present disclosure provides a GPS control method, device, and storage medium, which can reduce the power consumption of the GPS chip and realize energy saving of the device.
  • an embodiment of the present disclosure provides a GPS control method, including: determining that a working condition of a GPS chip is an operating state when acquiring a preset condition, and acquiring GPS positioning information; and the GPS positioning information is obtained.
  • the report is reported to the server; after the GPS location information is reported to the server, the working state of the GPS chip is switched from the running state to the sleep state.
  • the operating state refers to a power supply voltage of the GPS chip being an operating voltage, and the GPS chip is being positioned; and the sleep state refers to a power supply voltage of the GPS chip being a low level.
  • controlling the working state of the GPS chip to be an operating state includes at least one of the following: when the terminal where the GPS chip is powered on, controlling the GPS chip The working state is an operating state; when determining that the geographical location identification information of the network access device accessed by the terminal where the GPS chip is located is changed, controlling the working state of the GPS chip to be an operating state; determining that the terminal where the GPS chip is located occurs When moving, the working state of the GPS chip is controlled to be in an operating state.
  • controlling the working state of the GPS chip to be an operating state includes: detecting a current working state of the GPS chip; determining, when the working state of the GPS chip is a dormant state, adjusting a power supply voltage of the GPS chip to an operating voltage. And triggering the GPS chip to initiate positioning; or determining that the working state of the GPS chip is in the ready state, directly triggering the GPS chip to initiate positioning; wherein the ready state is used to indicate that the power supply voltage of the GPS chip is the working voltage, and The GPS chip is in an idle state.
  • the operating state of the GPS chip is changed from the running state to the dormant state, including: switching an operating state of the GPS chip from an operating state to a ready state, and starting a first sleep timer; detecting the first Whether the preset condition is satisfied in the first sleep time threshold preset by the sleep timer; determining the working state of the GPS chip if the preset condition is not satisfied within the first sleep time threshold of the first sleep timer Switch from the ready state to the sleep state.
  • an embodiment of the present disclosure provides a GPS control apparatus, including: a determining module, configured to: when determining that a preset condition is satisfied, controlling an operating state of a GPS chip to be an operating state, and acquiring GPS positioning information; and reporting a module, And the control module is configured to: after the GPS positioning information is reported to the server, the working state of the GPS chip is switched from the running state to the sleep state.
  • the operating state refers to a power supply voltage of the GPS chip being an operating voltage, and the GPS chip is being positioned; and the sleep state refers to a power supply voltage of the GPS chip being a low level.
  • the determining module is further configured to: when determining that any of the following conditions are satisfied, controlling an operating state of the GPS chip to be an operating state, and acquiring GPS positioning information: when the terminal where the GPS chip is powered on, determining the GPS The geographical location identification information of the network access device accessed by the terminal where the chip is located is changed, and the terminal where the GPS chip is located is determined to move.
  • control module includes: a detecting unit configured to detect a current working state of the GPS chip; and a switching unit configured to adjust a power supply voltage of the GPS chip when the operating state of the GPS chip is determined to be a sleep state For the working voltage, the GPS chip is triggered to initiate positioning; or, when it is determined that the working state of the GPS chip is the ready state, the GPS chip is directly triggered to initiate positioning; wherein the ready state is used to indicate that the power supply voltage of the GPS chip is working.
  • the voltage and the GPS chip are in an idle state.
  • control module is further configured to: switch the working state of the GPS chip from the running state to the ready state, and start the first sleep timer; and detect the first sleep time threshold preset by the first sleep timer. Whether the preset condition is satisfied; determining the first sleep time threshold of the first sleep timer, if the preset condition is not satisfied, switching the working state of the GPS chip from the ready state to the sleep state.
  • an embodiment of the present disclosure provides a storage medium, where the storage medium stores an execution instruction, where the execution instruction is used to execute the method according to any one of the foregoing embodiments.
  • the GPS control method and apparatus of the embodiments of the present disclosure have the problem of excessive power consumption compared to the GPS chip in the related art.
  • the preset condition is determined only by determining the preset condition.
  • the positioning operation of the GPS chip is triggered, thereby realizing the positioning operation of the GPS chip based on the event triggering, which can reduce the power consumption of the GPS chip, and actively take the working state of the GPS chip when receiving the positioning response sent by the positioning server. Switching from the running state to the sleep state, the GPS chip is at a low level; thus, the power consumption of the GPS chip can be reduced, and the device can be saved.
  • FIG. 1 is an optional schematic flowchart of a GPS control method according to an embodiment of the present disclosure
  • FIG. 2 is another schematic flow chart of a GPS control method according to an embodiment of the present disclosure
  • FIG. 3 is an optional schematic flowchart of a GPS control device according to an embodiment of the present disclosure
  • FIG. 4 is another schematic flow chart of a GPS control method according to an embodiment of the present disclosure.
  • FIG. 5 is an optional schematic flowchart of a GPS control method according to an embodiment of the present disclosure
  • FIG. 6 is another schematic structural diagram of a GPS control apparatus according to an embodiment of the present disclosure.
  • the working state of the GPS chip when the GPS control device determines that the preset condition is satisfied, the working state of the GPS chip is controlled to be an operating state, and GPS positioning information is acquired; the GPS positioning information is reported to the server; After the positioning information is reported to the server, the working state of the GPS chip is switched from the running state to the sleep state.
  • the present embodiment provides a GPS control method, which can be applied to a scenario in which it is desired to avoid continuous positioning, prevent power consumption, and save energy in the device.
  • the execution body of the GPS control method may be a GPS control device, and the GPS control device may
  • the implementation is implemented in the following manner, for example, on a mobile terminal, where the mobile terminal includes and is not limited to being implemented on the client terminal device CPE.
  • FIG. 1 is an optional schematic flowchart of a GPS control method according to an embodiment of the present disclosure; as shown in FIG. 1, the GPS control method includes:
  • Step 101 When it is determined that the preset condition is satisfied, the working state of the GPS chip is controlled to be an operating state, and GPS positioning information is acquired;
  • the GPS chip may be a built-in GPS module of the client terminal device CPE or a built-in GPS module of the mobile terminal device, which is not specifically limited in this embodiment; wherein the GPS chip includes signal receiving hardware and data processing software, and the GPS chip can only Receiving information, not transmitting information.
  • the CPE is controlled to enter the low level mode, and the second sleep timer is started; and after determining that the second sleep timer exceeds the preset second wake threshold At the time, the control CPE performs an operation of determining whether the preset condition is satisfied.
  • step 101 includes at least one of the following methods:
  • the method 2 monitoring whether the geographical location identification information of the network access device accessed by the CPE is changed; determining that the geographical location identification information of the network access device accessed by the terminal (CPE) where the GPS chip is located is changed, and controlling the GPS The working state of the chip is an operating state;
  • the foregoing implementation manner of monitoring whether the geographical location identification information of the network access device accessed by the CPE is changed may include any one of the following:
  • Mode 3 Monitor the motion state of the CPE, and determine the working state of the GPS chip when the CPE is in motion.
  • the above-mentioned monitoring of the motion state of the CPE may be that the motion sensor module built in the CPE monitors the CPE in real time through the motion sensor, and analyzes and processes the motion information of the CPE to determine the motion state of the CPE.
  • controlling the working state of the GPS chip to be an operating state includes:
  • the GPS chip When it is determined that the working state of the GPS chip is the ready state, the GPS chip is directly triggered to initiate positioning; wherein the ready state is used to indicate that the power supply voltage of the GPS chip is an operating voltage, and the GPS chip is in an idle state.
  • Step 102 Report the GPS positioning information to the server.
  • Step 103 After reporting the GPS positioning information to the server, the GPS chip is used. The working state is switched from the running state to the sleep state.
  • the operating state refers to a power supply voltage of the GPS chip is an operating voltage, and the GPS chip is in a positioning;
  • the sleep state refers to a low power supply voltage of the GPS chip. Level.
  • switching the working state of the GPS chip from the running state to the dormant state includes:
  • the GPS also includes an assisted global positioning system (AGPS).
  • AGPS assisted global positioning system
  • the GPS chip can be switched in three working states, thereby reducing power consumption and realizing real-time monitoring of CPE geographic location change information.
  • a storage medium which may store an execution instruction for executing the method in the embodiment.
  • the embodiment is based on the first embodiment and can be applied to a scenario in which the GPS chip continues to consume power when the GPS chip does not need to be continuously operated and the geographical position information of the GPS control device is not changed.
  • the GPS control device may be a client terminal device CPE, which is not specifically limited in this embodiment.
  • the real-time monitoring of the CPE determines that the CPE meets the preset conditions, including: determining that the identification information of the network access device accessed by the CPE is changed, or determining that the CPE motion state changes, or determining that the CPE is powered on.
  • a feasible implementation manner of the above CPE real-time monitoring is: when determining that the preset condition is not met, controlling the GPS chip to enter the sleep mode, and starting the second sleep timer, determining that the second sleep timer exceeds the preset When the sleep threshold is two, the operation of determining whether the preset condition is satisfied is continued.
  • Another feasible implementation manner of the above-mentioned CPE real-time monitoring is: when determining that the preset condition is satisfied, controlling the working state of the GPS chip to be an operating state, and acquiring GPS positioning information; reporting the GPS positioning information to the server; After the GPS positioning information is reported to the server, the working state of the GPS chip is switched from the running state to the sleep state; wherein, the running state refers to the working voltage of the GPS chip is the working voltage, and the GPS chip is positioning; the sleep state refers to the GPS The chip's supply voltage is low.
  • FIG. 2 is another schematic flow chart of a GPS control method according to an embodiment of the present disclosure; referring to FIG. 2, the method includes:
  • Step 201 When it is determined that the preset condition is met, control the working state of the GPS chip to be an running state, acquire GPS positioning information, and initiate a request to the auxiliary positioning server;
  • step 201 is:
  • the working state of the GPS chip is determined to be in a dormant state, the working state of the GPS chip is switched from the sleep state to the running state; or
  • the working state of the GPS chip is switched from the ready state to the running state; wherein the ready state is used to indicate that the power supply voltage of the GPS chip is the working voltage, and the GPS chip is in an idle state.
  • the positioning response sent by the auxiliary positioning server includes the satellite ephemeris information of the current location of the CPE, and the GPS chip processes the satellite geographic information to obtain the current geographic location information of the CPE, and stores and reports the information.
  • Step 202 Receive AGPS information sent by the auxiliary positioning server.
  • Step 203 Report the GPS positioning information and the AGPS information to the server.
  • Step 204 After reporting the GPS positioning information and the AGPS information to the server, switching the working state of the GPS chip to a continuous state, and starting the first sleep timer;
  • Step 205 Detect whether the preset condition is met within the first sleep time threshold preset by the first sleep timer.
  • Step 206 Determine that the working condition of the GPS chip is switched from the ready state to the sleep state within the first sleep time threshold preset by the first sleep timer, without satisfying the preset condition.
  • the first sleep timer is set to control the GPS chip to switch before the three working states. For example, after the GPS chip sends the GPS positioning information, the GPS chip has no task to perform, and the working state of the GPS chip is switched from the running state to the ready state. To prevent the geographical location information of the CPE from changing in a short time, the GPS chip is frequently awakened and the life of the GPS chip is lost. After determining the geographical position of the CPE in a preset time, the working state of the GPS chip is switched from the ready state to the standby state. The sleep state, thereby saving power consumption.
  • the preset first sleep threshold of the first sleep timer may be arbitrarily set by the user based on the geographic location change frequency of the CPE, which is not specifically limited in this embodiment.
  • a storage medium which may store an execution instruction for executing the method in the embodiment.
  • the embodiment is based on the first embodiment and can be applied in a scenario where it is desired to monitor the position change of the GPS control device in real time, reduce the working time of the GPS chip, realize the GPS control and extend the service life of the GPS chip.
  • the management sub-module is added. When the GPS sleep timer expires, the GPS chip is actively notified to enter the sleep mode;
  • An alternative embodiment of the present disclosure provides a GPS chip working state control device on a CPE, and a system architecture diagram of the device. As shown in FIG. 3, the system mainly includes four parts: an event triggering module 301, and an event distribution module. 302, the GPS module 303 and the information reporting module 304 are as follows:
  • the event triggering module 301 includes at least one of four submodules: a power submodule 311, a motion detecting submodule 312, a WIFI submodule 313, and a wireless network submodule 314; wherein:
  • the power sub-module 311 is mainly responsible for detecting whether the terminal where the GPS chip is located has a power-on action.
  • the motion detection sub-module 312 is mainly for the terminal with the sensor installed, for acquiring the state of the motion sensor, and judging the movement state of the device according to the data of the motion sensor.
  • the main detection event of the WIFI sub-module 313 is: when the user accesses the mobile network through the external hotspot, it detects whether the SSID of the access hot spot changes.
  • the event that the wireless network sub-module 314 mainly detects is: when the user provides a data path through the mobile network, it detects whether the accessed cell changes.
  • Event dispatch module 302 which is primarily responsible for listening for events from the event trigger module and distributing the events to the GPS module.
  • the GPS module 303 mainly includes a positioning sub-module and a management sub-module.
  • the positioning sub-module is mainly responsible for positioning, and state control of the GPS chip; the management sub-module controls the sleep and wake-up of the GPS chip according to the state of the GPS chip and the state of the sleep timer.
  • the information reporting module 304 is responsible for uploading the positioning information to the remote server as needed.
  • the event triggering module sends the monitored trigger event to the positioning sub-module
  • the positioning sub-module sends the positioning information to the remote server based on the triggering event, and starts the management sub-module.
  • Step 401 Listening to an event, and monitoring an event from at least one of the power submodule, the motion detection submodule, the WIFI submodule, and the wireless network submodule.
  • Step 402 When the event notification is successfully monitored, the event will be judged.
  • the second sleep timer is started, and when the second sleep timer is determined to exceed the preset second sleep threshold (ie, the sleep designated event), the CPE is controlled to enter the working mode, and then the message is re-received.
  • the preset second sleep threshold ie, the sleep designated event
  • Step 403 Determine whether it is a power event, if yes, go to step 407; otherwise, go to step 404.
  • Step 404 Determine whether it is a motion event, if yes, go to step 407; otherwise, go to step 405.
  • Step 405 Determine whether it is a WIFI event, if yes, go to step 407; otherwise, go to step 406.
  • Step 406 Determine whether it is a wireless network event, if yes, go to step 407; otherwise, the event is not processed, the event monitoring continues, and the process ends.
  • Step 407 The positioning submodule receives an event from the event distribution module during the monitoring process, that is, triggers the positioning event.
  • Step 408 The positioning sub-module determines whether the GPS chip is in a sleep state, if it is in the sleep state, then proceeds to step 412; otherwise, proceeds to step 409.
  • Step 409 The positioning sub-module determines whether the GPS chip is in an running state. If it is in the running state, go to step 414; otherwise, go to step 410.
  • Step 410 The positioning sub-module determines whether the GPS chip is in the ready state. If it is in the ready state, it goes to step 413; otherwise, it goes to step 411.
  • Step 411 Initialize the GPS chip when it is determined that the GPS chip is not in the ready state; go to step 413.
  • Step 412 Wake up the GPS, and perform step 413. At the same time, step 416 is performed.
  • Step 413 Initiate GPS positioning.
  • Step 414 After the GPS positioning is successful, the positioning result is obtained; Step 415 and Step 417 are performed.
  • Step 415 After obtaining the positioning result, the information reporting module is notified, and the information reporting module is responsible for reporting the positioning information (positioning result); the process ends.
  • Step 416 Turn off the sleep timer, which refers to the first sleep timer; go to step 418.
  • Step 417 Start the sleep timer, which refers to the first sleep timer.
  • Step 418 The management submodule determines whether the sleep timer expires. If it times out, step 419 is performed; otherwise, the standby state is continued.
  • Step 419 The management submodule controls the GPS chip to enter the sleep mode.
  • the working state of the GPS chip mainly includes three states: the running state, the ready state, and the sleep state, see FIG.
  • the running state is that the GPS chip is in the running process, that is, the scene in the positioning process.
  • the ready state is the scene where the GPS chip has been initialized and is waiting for the arrival of a new positioning request.
  • the sleep state is a scene in which the GPS chip is in a sleep process. At this time, the power supply voltage of the GPS chip is low.
  • an event triggering mechanism is set for the GPS chip, and the ready state is introduced to realize the detailed differentiation of the working state of the GPS chip.
  • the power loss of the GPS control device is reduced, and the frequent wake-up of the GPS chip is avoided.
  • real-time monitoring of the geographic location change information of the GPS control device is ensured.
  • FIG. 6 is a schematic diagram of another optional structure of the GPS control device according to the embodiment of the present disclosure.
  • the GPS control device provided in this embodiment includes:
  • the determining module 601 is configured to control the working state of the GPS chip to be an operating state when the predetermined condition is satisfied, and obtain GPS positioning information;
  • the reporting module 602 is configured to report the GPS positioning information to the server
  • the control module 603 is configured to switch the working state of the GPS chip from the running state to the sleep state after the GPS positioning information is reported to the server.
  • the operating state refers to that the power supply voltage of the GPS chip is an operating voltage, and the GPS chip is positioning; the sleep state refers to a power supply voltage of the GPS chip being a low level.
  • the determining module 601 is optionally configured to control the working state of the GPS chip to be an operating state when determining that any of the following conditions are satisfied, and obtain GPS positioning information:
  • the control module 603 includes: a detecting unit configured to detect the current work of the GPS chip a switching unit, configured to determine that the operating voltage of the GPS chip is in a sleep state, adjust a power supply voltage of the GPS chip to an operating voltage, trigger a GPS chip to initiate positioning, or determine a working state of the GPS chip.
  • a detecting unit configured to detect the current work of the GPS chip
  • a switching unit configured to determine that the operating voltage of the GPS chip is in a sleep state, adjust a power supply voltage of the GPS chip to an operating voltage, trigger a GPS chip to initiate positioning, or determine a working state of the GPS chip.
  • the ready state is directly triggered to initiate positioning; wherein the ready state is used to indicate that the power supply voltage of the GPS chip is an operating voltage, and the GPS chip is in an idle state.
  • the control module 603 is configured to: switch the working state of the GPS chip from the running state to the ready state, and start the first sleep timer; and detect the first sleep time threshold preset by the first sleep timer. Whether the preset condition is satisfied; determining the first sleep time threshold of the first sleep timer, if the preset condition is not satisfied, switching the working state of the GPS chip from the ready state to the sleep state.
  • the determining module 601, the reporting module 602, and the control module 603 may each be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field programmable gate located in the GPS control device.
  • Array FPGA
  • An alternative embodiment of the present disclosure describes a computer readable medium, which may be a ROM (eg, read only memory, FLASH memory, transfer device, etc.), a magnetic storage medium (eg, magnetic tape, disk drive, etc.), an optical storage medium ( For example, CD-ROM, DVD-ROM, paper card, paper tape, etc., and other well-known types of program memory; computer-readable medium storing computer-executable instructions that, when executed, cause at least one processor to execute including the following Operation:
  • the working state of the GPS chip is controlled to be an operating state, and the GPS positioning information is acquired; the GPS positioning information is reported to the server; after the GPS positioning information is reported to the server, the GPS chip is The working state is switched from the running state to the sleep state.
  • the operating state refers to that the power supply voltage of the GPS chip is an operating voltage, and the GPS chip is being positioned; the sleep state refers to power supply of the GPS chip.
  • the voltage is low.
  • Control when the preset condition is satisfied The operating state of the GPS chip is at least one of the following: when the terminal where the GPS chip is powered on, controlling the working state of the GPS chip to be an operating state; determining the network access device accessed by the terminal where the GPS chip is located When the geographical location identification information is changed, the working state of the GPS chip is controlled to be an operating state; when it is determined that the terminal where the GPS chip is located, the working state of the GPS chip is controlled to be an operating state.
  • the GPS chip is frequently awakened when the location of the CPE is changed in a short time based on the switching of the working state of the GPS chip, thereby realizing the energy saving of the GPS control device.
  • embodiments of the present disclosure can be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware aspects. Moreover, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. Instructions are provided for implementation The steps of a function specified in a block or blocks of a flow or a flow and/or a block diagram of a flow chart.
  • the present disclosure relates to a data communication technology in the field of the Internet of Things, and provides a GPS control method, device, and storage medium.
  • a GPS control method By setting a preset condition, the positioning operation of the GPS chip is triggered only when the predetermined condition is determined to be satisfied.
  • the positioning operation based on the event trigger control GPS chip can reduce the power consumption of the GPS chip and realize energy saving of the device.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本公开提供了一种GPS控制方法、装置及存储介质;方法包括:判定预设的条件满足时,控制GPS芯片的工作状态为运行态,并获取GPS定位信息;将所述GPS定位信息上报给服务器;将所述GPS定位信息上报给服务器后,将所述GPS芯片的工作状态从运行态切换为休眠态。采用本公开,能降低GPS芯片的耗电,实现设备节能。

Description

GPS控制方法、装置及存储介质 技术领域
本公开涉及物联网领域的数据通信技术,尤其涉及一种GPS控制方法、装置及存储介质。
背景技术
长期演进(LTE,Long Term Evolution)网络是一种不需要电缆的信息高速稳定的数据网络,这种新网络可使电话用户以无线及三维空间虚拟实境连线,运营商对LTE网络的积极部署使之正在逐步走向商用;同时,无线热点技术的高速发展使终端设备可以通过WIFI技术方便地接入周边热点,以便享用移动网络提供的数据服务。总之,无论是LTE技术还是无线热点技术,都为终端成功接入高速稳定的移动网络提供了基础,这也为终端提供了更方便多样的数据网络服务。
为了充分利用LTE通信给人们带来的先进服务,人们还必须借助各种各样的LTE终端才能实现,无线客户终端设备(CPE,Customer Premise Equipment)作为一种支持WIFI和LTE网络的终端接入设备,其主要特点有二:(1)从下行来说,支持终端用户通过WIFI技术来构建局域网,方便用户之间共享上行数据通道;(2)从上行来说,一方面支持基于LTE的无线数据业务,另一方面,也支持外部WIFI热点技术,支持终端接入到外部热点以提供无线数据服务。从技术角度来看,无线CPE正好同时集成了LTE和WIFI热点技术,给用户提供了多样的移动数据服务。
物联网(IOT,Internet of Things)是指将各种信息传感设备与互联网结合起来而形成的一个网络,其目的是让所有的物品与网络连接在一起,方便识别和管理。本质上讲,物联网基于两大技术特性,一方面,需要解决与万物互联的问题,即把物体连接到网上;另一方面,需要解决移动数据通路的问题,即把物体的信息传到互联网上。随着IOT技术的发展,物联网技术应用领域不断拓展,例如,智能电网和能源管理领域、家庭和建 筑物自动化领域、资产跟踪领域、卫生和健康领域等。基于CPE的优势,CPE的应用范围已经逐步从家庭走向了IOT领域,行业用户(煤炭、铁塔、医院、公交等)希望借助CPE来提供高速、稳定的移动数据网络,例如,铁塔公司希望通过CPE上提供的多种类型的串口连接到铁塔设备,实时采集铁塔数据,并将数据上报到远端服务器。
CPE在行业用户中的应用,相比于在家庭用户中的应用,有一个典型的特点就是:在行业用户中,位置信息是非常重要的,因此,行业CPE一般都会支持GPS,同时,行业CPE一般都是在室外使用。
相关技术中,基于全球定位***(GPS,Global Positioning System)功能的无线CPE一般采用连续定位,并得到设备的位置信息,然而,由于行业CPE位置相对固定,如果采取连续定位的方式,GPS芯片持续工作,将导致耗电比较大,同时,对GPS芯片的寿命也有损耗,节省能源成为一个比较重要的问题。
发明内容
为解决相关技术中存在的技术问题,本公开提供了一种GPS控制方法、装置及存储介质,能降低GPS芯片的耗电,实现设备节能。
为达到上述目的,本公开实施例的技术方案是这样实现的:
第一方面,本公开实施例提供了一种GPS控制方法,该方法包括:判定预设的条件满足时,控制GPS芯片的工作状态为运行态,并获取GPS定位信息;将所述GPS定位信息上报给服务器;将所述GPS定位信息上报给服务器后,将所述GPS芯片的工作状态从运行态切换为休眠态。
可选地,所述运行态指所述GPS芯片的供电电压为工作电压、且所述GPS芯片正在进行定位;所述休眠态指所述GPS芯片的供电电压为低电平。
可选地,判定预设的条件满足时,控制GPS芯片的工作状态为运行态包括以下至少之一:所述GPS芯片所在的终端开机时,控制GPS芯片 的工作状态为运行态;判定所述GPS芯片所在的终端接入的网络接入设备的地理位置标识信息发生变更时,控制GPS芯片的工作状态为运行态;判定所述GPS芯片所在的终端发生移动时,控制GPS芯片的工作状态为运行态。
可选地,控制GPS芯片的工作状态为运行态包括:检测所述GPS芯片的当前工作状态;确定所述GPS芯片的工作状态为休眠态时,将所述GPS芯片的供电电压调整为工作电压,触发GPS芯片发起定位;或者,确定所述GPS芯片的工作状态为就绪态时,直接触发GPS芯片发起定位;其中,所述就绪态用于指示所述GPS芯片的供电电压为工作电压、且所述GPS芯片处于空闲状态。
可选地,将所述GPS芯片的工作状态从运行态切换为休眠态,包括:将所述GPS芯片的工作状态从运行态切换为就绪态,并启动第一休眠定时器;检测所述第一休眠定时器预置的第一休眠时间阈值内预设条件是否满足;确定所述第一休眠定时器的第一休眠时间阈值内,如果预设条件不满足,将所述GPS芯片的工作状态从就绪态切换为休眠态。
第二方面,本公开实施例提供了一种GPS控制装置,包括:判断模块,设置为判定预设的条件满足时,控制GPS芯片的工作状态为运行态,并获取GPS定位信息;上报模块,设置为将所述GPS定位信息上报给服务器;控制模块,设置为将所述GPS定位信息上报给服务器后,将所述GPS芯片的工作状态从运行态切换为休眠态。
可选地,所述运行态指所述GPS芯片的供电电压为工作电压、且所述GPS芯片正在进行定位;所述休眠态指所述GPS芯片的供电电压为低电平。
可选地,所述判断模块还设置为,判定以下任一条件满足时,控制GPS芯片的工作状态为运行态,并获取GPS定位信息:所述GPS芯片所在的终端开机时、判定所述GPS芯片所在的终端接入的网络接入设备的地理位置标识信息发生变更、判定所述GPS芯片所在的终端发生移动。
可选地,控制模块包括:检测单元,设置为检测所述GPS芯片的当前工作状态;切换单元,设置为确定所述GPS芯片的工作状态为休眠态时,将所述GPS芯片的供电电压调整为工作电压,触发GPS芯片发起定位;或者,确定所述GPS芯片的工作状态为就绪态时,直接触发GPS芯片发起定位;其中,所述就绪态用于指示所述GPS芯片的供电电压为工作电压、且所述GPS芯片处于空闲状态。
可选地,控制模块还设置为:将所述GPS芯片的工作状态从运行态切换为就绪态,并启动第一休眠定时器;检测所述第一休眠定时器预置的第一休眠时间阈值内预设条件是否满足;确定所述第一休眠定时器的第一休眠时间阈值内,如果预设条件不满足,将所述GPS芯片的工作状态从就绪态切换为休眠态。
第三方面,本公开实施例提供了一种存储介质,所述存储介质存储有执行指令,所述执行指令用于执行上述实施例中任一项所述的方法。
本公开实施例的GPS控制方法及装置,相比于相关技术中GPS芯片持续地进行定位而存在耗电过大的问题,本实施例通过设定预设的条件,只有在判定预设的条件满足时才触发GPS芯片的定位操作,从而实现了基于事件触发控制GPS芯片的定位操作,可以降低GPS芯片的耗电,并且在接收到定位服务器发送的定位响应时,主动将GPS芯片的工作状态从运行态切换为休眠态,使GPS芯片处于低电平;如此,能降低GPS芯片的耗电,实现设备节能。
附图说明
在附图(其不一定是按比例绘制的)中,相似的附图标记可在不同的视图中描述相似的部件。具有不同字母后缀的相似附图标记可表示相似部件的不同示例。附图以示例而非限制的方式大体示出了本文中所讨论的各个实施例。
图1为本公开实施例中GPS控制方法的一种可选的流程示意图;
图2为本公开实施例中GPS控制方法的另一种可选的流程示意图;
图3为本公开实施例中GPS控制装置的一种可选的流程示意图;
图4为本公开实施例中GPS控制方法的又一种可选的流程示意图;
图5为本公开实施例中GPS控制方法的一种可选的流程示意图;
图6为本公开实施例中GPS控制装置的另一种可选的结构示意图。
具体实施方式
在本公开的各种可选实施例中:通过GPS控制装置判定预设的条件满足时,控制GPS芯片的工作状态为运行态,并获取GPS定位信息;将GPS定位信息上报给服务器;将GPS定位信息上报给服务器后,将GPS芯片的工作状态从运行态切换为休眠态。
以下结合附图及可选实施例,对本公开进行进一步详细说明。应当理解,此处所描述的可选实施例仅用以解释本公开,并不用于限定本公开。
实施例一
本实施例提供一种GPS控制方法,可以应用于希望避免持续定位,防止耗电,实现设备节省能源的场景中;本实施例中GPS控制方法的执行主体可以为GPS控制装置,GPS控制装置可以采用下列方式来实施,例如:移动终端上实施,其中,移动终端包括并不局限于在客户终端设备CPE上实施。
图1为本公开实施例中GPS控制方法的一种可选的流程示意图;如图1所示,GPS控制方法包括:
步骤101:判定预设的条件满足时,控制GPS芯片的工作状态为运行态,并获取GPS定位信息;
GPS芯片可以是客户终端设备CPE的内置GPS模块,或者是移动终端设备的内置GPS模块,本实施例对此并不具体限定;其中,GPS芯片包括信号接收硬件和数据处理软件,GPS芯片只能接收信息,不能发射信息。这里,在判定预设的条件不满足时,控制CPE进入低电平模式,并启动第二休眠定时器;及在确定第二休眠定时器超出预置的第二唤醒阈值 时,控制CPE执行判定预设的条件是否满足的操作。
步骤101的可行的实现方式至少包括以下任意一种方式:
方式1、客户终端设备CPE开机时,控制GPS芯片的工作状态为运行态。
方式2、监测CPE接入的网络接入设备的地理位置标识信息是否发生变更;判定所述GPS芯片所在的终端(CPE)接入的网络接入设备的地理位置标识信息发生变更时,控制GPS芯片的工作状态为运行态;
上述监测CPE接入的网络接入设备的地理位置标识信息是否发生变更的实现方式可以包括以下任意一种:
1)监测CPE接入的无线局域网的小区识别码或媒体接入地址是否发生变更;
2)监测CPE接入的3GPP小区的小区标识码是否发生变更。
方式3、监测CPE的运动状态,判定CPE运动时,控制GPS芯片的工作状态为运行态。
上述监测CPE的运动状态,例如可以是CPE内置的运动传感器模块通过运动传感器对CPE实时监测,并对CPE的运动信息进行分析处理,判定CPE的运动状态。
可选地,控制GPS芯片的工作状态为运行态包括:
检测所述GPS芯片的当前工作状态;
确定所述GPS芯片的工作状态为休眠态时,将所述GPS芯片的供电电压调整为工作电压,触发GPS芯片发起定位;或者,
确定所述GPS芯片的工作状态为就绪态时,直接触发GPS芯片发起定位;其中,所述就绪态用于指示所述GPS芯片的供电电压为工作电压、且所述GPS芯片处于空闲状态。
步骤102:将所述GPS定位信息上报给服务器;
步骤103:将所述GPS定位信息上报给服务器后,将所述GPS芯片 的工作状态从运行态切换为休眠态。
可选地,本公开所有实施例中,所述运行态指所述GPS芯片的供电电压为工作电压、且所述GPS芯片正在进行定位;所述休眠态指所述GPS芯片的供电电压为低电平。
可选地,将所述GPS芯片的工作状态从运行态切换为休眠态,包括:
将所述GPS芯片的工作状态从运行态切换为就绪态,并启动第一休眠定时器;检测在所述第一休眠定时器预置的第一休眠时间阈值内预设条件是否满足;确定在所述第一休眠定时器的第一休眠时间阈值内,如果预设条件不满足,将所述GPS芯片的工作状态从就绪态切换为休眠态。
本公开可选实施例中,GPS也包含辅助全球定位***AGPS,例如,可以是基于GPS芯片接收到定位服务器发送的CPE位置的卫星星历信息时,GPS芯片计算出CPE地理位置信息,并将地理位置信息上报,本公开不赘述。
本实施例中,GPS芯片可以在三种工作状态下切换,从而降低了电能的消耗,同时实现了对CPE地理位置变更信息的实时监测。
在本公开可选实施例中,还提供了一种存储介质,该存储介质可以存储有执行指令,该执行指令用于执行本实施例中的方法。
实施例二
本实施例基于实施例一,可以应用于希望在不需要GPS芯片持续工作,避免GPS控制装置的地理位置信息未发生变更时,GPS芯片持续耗电的场景中。
本实施例中,GPS控制装置可以是客户终端设备CPE,本实施例对此不具体限定。对CPE实时监测,判定CPE满足预设的条件,包括:判定CPE接入的网络接入设备的标识信息发生变更,或判定CPE运动状态发生变化,或判定CPE开机。
上述CPE实时监测的一种可行的实现方式是:在判定预设的条件未满足时,控制GPS芯片进入休眠模式,并启动第二休眠定时器,在确定第二休眠定时器超出预置的第二休眠阈值时,继续执行判定预设的条件是否满足的操作。
上述CPE实时监测的另一种可行的实现方式是:判定预设的条件满足时,控制GPS芯片的工作状态为运行态,并获取GPS定位信息;将所述GPS定位信息上报给服务器;将所述GPS定位信息上报给服务器后,将所述GPS芯片的工作状态从运行态切换为休眠态;其中,运行态指GPS芯片的供电电压为工作电压、且GPS芯片正在进行定位;休眠态指GPS芯片的供电电压为低电平。
图2为本公开实施例中GPS控制方法的另一种可选的流程示意图;参见图2,方法包括:
步骤201、判定预设的条件满足时,控制GPS芯片的工作状态为运行态,并获取GPS定位信息,并且向辅助定位服务器发起请求;
实际中,步骤201的一种可行的实现方式是:
判定预设的条件满足时,检测GPS芯片的工作状态;
确定GPS芯片的工作状态为休眠态时,将GPS芯片的工作状态从休眠态切换为运行态;或者,
确定GPS芯片的工作状态为就绪态时,将GPS芯片的工作状态从就绪态切换为运行态;其中,就绪态用于指示GPS芯片的供电电压为工作电压、且GPS芯片处于空闲状态。
辅助定位服务器发送的定位响应包括CPE当前位置的卫星星历信息,GPS芯片基于卫星星历信息进行处理后得到CPE当前的地理位置信息,存储并上报。
步骤202、接收辅助定位服务器发送的AGPS信息;
步骤203:将所述GPS定位信息和所述AGPS信息上报给服务器;
步骤204:将所述GPS定位信息和所述AGPS信息上报给服务器后,将GPS芯片的工作状态切换为就续态,并启动第一休眠定时器;
步骤205:检测在第一休眠定时器预设的第一休眠时间阈值内,是否满足预设的条件;
步骤206、确定在第一休眠定时器预设的第一休眠时间阈值内,不满足预设的条件,将GPS芯片的工作状态从就绪态切换为休眠态。
第一休眠定时器设置为控制GPS芯片在三种工作状态之前切换,例如,可以是GPS芯片发送GPS定位信息后,GPS芯片无执行的任务,将GPS芯片的工作状态从运行态切换为就绪态,防止CPE的地理位置信息短时间内发生变更时,频繁唤醒GPS芯片而导致GPS芯片寿命的损耗,在预置时间内确定CPE的地理位置稳定后,将GPS芯片的工作状态从就绪态切换为休眠态,由此,节省了电能的消耗。
这里,第一休眠定时器的预置的第一休眠阈值可以由用户基于CPE的地理位置变更频率任意设定,本实施例对此不具体限定。
在本公开可选实施例中,还提供了一种存储介质,该存储介质可以存储有执行指令,该执行指令用于执行本实施例中的方法。
实施例三
本实施例基于实施例一,可以应用于希望实时监测到GPS控制装置的位置变更,同时减少GPS芯片的工作时间,实现GPS控制和延长GPS芯片使用寿命的场景中。
本公开可选实施例主要从以下几个方面实现设备的节能:
1、细化和区分了GPS芯片的工作状态,将其划分为三个主要的状态:就绪态,运行态,休眠态,通过精细化管理GPS芯片来达到节能的目的;
2、主动检测GPS芯片的休眠条件,当GPS进入休眠态的条件满足后,主动让GPS芯片进入休眠状态,降低电能消耗;
3、从软件和硬件的角度,明确定义了完整的触发GPS定位的事件,包括:电源事件、运动事件、WIFI事件、无线网络事件。
4、增加了管理子模块,当GPS休眠定时器超时后,主动通知GPS芯片进入休眠模式;
5、通过引入事件触发的定位机制,在保证GPS芯片节能的同时,也保证了位置变更定位信息上报的敏捷性。
本公开可选实施例提供了一种在CPE上,GPS芯片工作状态控制装置,该装置的***架构图,如图3所示,该***主要包括四个部分:事件触发模块301、事件分发模块302、GPS模块303和信息上报模块304,具体如下:
1、事件触发模块301,至少包括四个子模块中的一个:电源子模块311、运动检测子模块312、WIFI子模块313、无线网络子模块314;其中:
电源子模块311主要负责检测GPS芯片所在的终端是否有开机动作。
运动检测子模块312主要针对安装有传感器的终端,用来获取运动传感器的状态,根据运动传感器的数据来判断设备的移动状态。
WIFI子模块313的主要检测事件为:当用户是通过外部热点接入移动网络时,检测是否接入热点的SSID发生变化。
无线网络子模块314主要检测的事件为:当用户是通过移动网络提供数据通路时,检测接入的小区是否发生变化。
2、事件分发模块302,该模块主要负责监听来自事件触发模块的事件,并将事件分发到GPS模块。
3、GPS模块303主要包括定位子模块和管理子模块。定位子模块主要负责定位,以及GPS芯片的状态控制;管理子模块,根据GPS芯片的状态,以及休眠定时器的状态,来控制GPS芯片的休眠和唤醒。
4、信息上报模块304,负责根据需要将定位信息上传到远端服务器。
本公开可选实施例中的GPS控制方法,事件触发模块将监测到的触发事件发送到定位子模块,定位子模块基于触发事件定位后向远端服务器发送定位信息,及启动管理子模块。参见图4,主要包括以下步骤:
步骤401:监听事件,监听来自电源子模块、运动检测子模块、WIFI子模块、无线网络子模块中至少一个子模块的事件。
步骤402:当成功地监听到事件通知时,将对事件进行判断。
当没有监听到事件通知时,启动第二休眠定时器,确定第二休眠定时器超出预置的第二休眠阈值(即休眠指定事件)时,控制CPE进入工作模式,然后再重新接收消息。
步骤403:判断是否是电源事件,若是则转到步骤407;否则转到步骤404。
步骤404:判断是否是运动事件,若是则转到步骤407;否则转到步骤405。
步骤405:判断是否是WIFI事件,若是则转到步骤407;否则转到步骤406。
步骤406:判断是否是无线网络事件,若是则转到步骤407;否则,对该事件不进行处理,继续进行事件监听,流程结束。
步骤407:定位子模块在监听过程中,接收到来自事件分发模块的事件,也即触发定位事件。
步骤408:定位子模块判断GPS芯片是否处于休眠状态,如果是休眠状态,则转到步骤412;否则转到步骤409。
步骤409:定位子模块判断GPS芯片是否处于运行状态,如果是运行状态,则转到步骤414;否则转到步骤410。
步骤410:定位子模块判断GPS芯片是否处于就绪状态,如果是就绪状态,则转到步骤413;否则转到步骤411。
步骤411:当判定GPS芯片不是处于就绪状态时,初始化GPS芯片;转到步骤413。
步骤412:唤醒GPS,执行步骤413。与此同时,执行步骤416。
步骤413:发起GPS定位。
步骤414:当GPS定位成功后,将得到定位结果;执行步骤415、步骤417。
步骤415:得到定位结果后,将通知信息上报模块,信息上报模块负责定位信息(定位结果)的上报;流程结束。
步骤416:关闭休眠定时器,这是指第一休眠定时器;转到步骤418。
步骤417:启动休眠定时器,这是指第一休眠定时器。
步骤418:管理子模块判断休眠定时器是否超时,如果超时,则执行步骤419;否则继续保持就绪态。
步骤419:管理子模块控制GPS芯片进入休眠模式。
GPS芯片的工作状态主要包括三个状态:运行态、就绪态和休眠态,参见图5。
运行态为GPS芯片处于运行过程中,也就是正处在定位过程的场景。
就绪态为GPS芯片已经初始化完毕,等待新的定位请求的到来的场景。
休眠态为GPS芯片处于休眠过程中的场景,此时,GPS芯片供电电压为低电平。
下面分别介绍各个状态之间的转换关系。
运行态到就绪态的转换:当定位结束后,GPS芯片将自动从运行态转换到就绪态。
就绪态到运行态的转换:当GPS芯片处于就绪态时,有新的定位请求到来时,将进入到运行态。新的定位请求与本文所有实施例中预设条件 满足的场景是等同的。
就绪态到休眠态的转换:当GPS芯片处于就绪态时,此时,如果休眠定时器超时,则GPS芯片工作状态从就绪态转换到休眠态。
休眠态到就绪态的转换:当GPS芯片处于休眠态时,此时,当GPS芯片休眠唤醒后,将进入到就绪态。
本实施例对GPS芯片制定了事件触发机制,同时引入就绪态实现对GPS芯片的工作状态进行细化区分,如此,即降低了GPS控制装置的电能损耗,又避免了对GPS芯片的频繁唤醒,同时保证了对GPS控制装置地理位置变更信息的实时监测。
实施例四
图6为本公开实施例中GPS控制装置的另一种可选的结构示意图;本实施例提供的GPS控制装置,包括:
判断模块601,设置为判定预设的条件满足时,控制GPS芯片的工作状态为运行态,并获取GPS定位信息;
上报模块602,设置为将所述GPS定位信息上报给服务器;
控制模块603,设置为将所述GPS定位信息上报给服务器后,将所述GPS芯片的工作状态从运行态切换为休眠态。
所述运行态指所述GPS芯片的供电电压为工作电压、且所述GPS芯片正在进行定位;所述休眠态指所述GPS芯片的供电电压为低电平。
判断模块601,可选设置为,判定以下任一条件满足时,控制GPS芯片的工作状态为运行态,并获取GPS定位信息:
所述GPS芯片所在的终端开机时、判定所述GPS芯片所在的终端接入的网络接入设备的地理位置标识信息发生变更、判定所述GPS芯片所在的终端发生移动。
控制模块603包括:检测单元,设置为检测所述GPS芯片的当前工 作状态;切换单元,设置为确定所述GPS芯片的工作状态为休眠态时,将所述GPS芯片的供电电压调整为工作电压,触发GPS芯片发起定位;或者,确定所述GPS芯片的工作状态为就绪态时,直接触发GPS芯片发起定位;其中,所述就绪态用于指示所述GPS芯片的供电电压为工作电压、且所述GPS芯片处于空闲状态。
控制模块603,可选设置为:将所述GPS芯片的工作状态从运行态切换为就绪态,并启动第一休眠定时器;检测所述第一休眠定时器预置的第一休眠时间阈值内预设条件是否满足;确定所述第一休眠定时器的第一休眠时间阈值内,如果预设条件不满足,将所述GPS芯片的工作状态从就绪态切换为休眠态。
在实际应用中,判断模块601、上报模块602、控制模块603均可由位于GPS控制装置的中央处理器(CPU)、微处理器(MPU)、数字信号处理器(DSP)、或现场可编程门阵列(FPGA)等实现。
实施例五
本公开可选实施例记载了一种计算机可读介质,可以为ROM(例如,只读存储器、FLASH存储器、转移装置等)、磁存储介质(例如,磁带、磁盘驱动器等)、光学存储介质(例如,CD-ROM、DVD-ROM、纸卡、纸带等)以及其他熟知类型的程序存储器;计算机可读介质中存储有计算机可执行指令,当执行指令时,引起至少一个处理器执行包括以下的操作:
判定预设的条件满足时,控制GPS芯片的工作状态为运行态,并获取GPS定位信息;将所述GPS定位信息上报给服务器;将所述GPS定位信息上报给服务器后,将所述GPS芯片的工作状态从运行态切换为休眠态。
综上,本公开可选实施例的GPS控制方法及装置,运行态指所述GPS芯片的供电电压为工作电压、且所述GPS芯片正在进行定位;所述休眠态指所述GPS芯片的供电电压为低电平。判定预设的条件满足时,控制 GPS芯片的工作状态为运行态包括以下至少之一:所述GPS芯片所在的终端开机时,控制GPS芯片的工作状态为运行态;判定所述GPS芯片所在的终端接入的网络接入设备的地理位置标识信息发生变更时,控制GPS芯片的工作状态为运行态;判定所述GPS芯片所在的终端发生移动时,控制GPS芯片的工作状态为运行态。基于GPS芯片工作状态的切换避免了CPE的地理位置短时间内发生变更时,GPS芯片被频繁唤醒,由此,实现了GPS控制装置的能源的节省。
本领域内的技术人员应明白,本公开的实施例可提供为方法、***、或计算机程序产品。因此,本公开可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本公开可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本公开是参照根据本公开可选实施例的方法、设备(***)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现 在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上所述,仅为本公开的可选实施例而已,并非用于限定本公开的保护范围。
工业实用性:
本公开涉及物联网领域的数据通信技术,提供了一种GPS控制方法、装置及存储介质,通过设定预设的条件,只有在判定预设的条件满足时才触发GPS芯片的定位操作,实现了基于事件触发控制GPS芯片的定位操作,能降低GPS芯片的耗电,实现设备节能。

Claims (11)

  1. 一种全球定位***GPS控制方法,所述方法包括:
    判定预设的条件满足时,控制GPS芯片的工作状态为运行态,并获取GPS定位信息;
    将所述GPS定位信息上报给服务器;
    将所述GPS定位信息上报给服务器后,将所述GPS芯片的工作状态从运行态切换为休眠态。
  2. 根据权利要求1所述的方法,其中,所述运行态指所述GPS芯片的供电电压为工作电压、且所述GPS芯片正在进行定位;所述休眠态指所述GPS芯片的供电电压为低电平。
  3. 根据权利要求1所述的方法,其中,判定预设的条件满足时,控制GPS芯片的工作状态为运行态包括以下至少之一:
    所述GPS芯片所在的终端开机时,控制GPS芯片的工作状态为运行态;
    判定所述GPS芯片所在的终端接入的网络接入设备的地理位置标识信息发生变更时,控制GPS芯片的工作状态为运行态;
    判定所述GPS芯片所在的终端发生移动时,控制GPS芯片的工作状态为运行态。
  4. 根据权利要求2所述的方法,其中,控制GPS芯片的工作状态为运行态包括:
    检测所述GPS芯片的当前工作状态;
    确定所述GPS芯片的工作状态为休眠态时,将所述GPS芯片的供电电压调整为工作电压,触发GPS芯片发起定位;或者,
    确定所述GPS芯片的工作状态为就绪态时,直接触发GPS芯片发起定位;其中,所述就绪态用于指示所述GPS芯片的供电电压为工作电压、且所述GPS芯片处于空闲状态。
  5. 根据权利要求1至4任一项所述的方法,其中,将所述GPS芯片的工作状态从运行态切换为休眠态,包括:
    将所述GPS芯片的工作状态从运行态切换为就绪态,并启动第一休眠定时器;
    检测所述第一休眠定时器预置的第一休眠时间阈值内预设条件是否满足;
    确定所述第一休眠定时器的第一休眠时间阈值内,如果预设条件不满足,将所述GPS芯片的工作状态从就绪态切换为休眠态。
  6. 一种全球定位***GPS控制装置,包括:
    判断模块,设置为判定预设的条件满足时,控制GPS芯片的工作状态为运行态,并获取GPS定位信息;
    上报模块,设置为将所述GPS定位信息上报给服务器;
    控制模块,设置为将所述GPS定位信息上报给服务器后,将所述GPS芯片的工作状态从运行态切换为休眠态。
  7. 根据权利要求6所述的控制装置,其中,所述运行态指所述GPS芯片的供电电压为工作电压、且所述GPS芯片正在进行定位;所述休眠态指所述GPS芯片的供电电压为低电平。
  8. 根据权利要求6所述的控制装置,其中,所述判断模块还设置为,判定以下任一条件满足时,控制GPS芯片的工作状态为运行态,并获取GPS定位信息:
    所述GPS芯片所在的终端开机时、判定所述GPS芯片所在的终端接入的网络接入设备的地理位置标识信息发生变更、判定所述GPS芯片所在的终端发生移动。
  9. 根据权利要求7所述的控制装置,其中,控制模块包括:
    检测单元,设置为检测所述GPS芯片的当前工作状态;
    切换单元,设置为确定所述GPS芯片的工作状态为休眠态时,将所述GPS芯片的供电电压调cc整为工作电压,触发GPS芯片发起定位;或者,确定所述GPS芯片的工作状态为就绪态时,直接触发GPS芯片发起定位;其中,所述就绪态用于指示所述GPS芯片的供电电压为工作电压、且所述GPS芯片处于空闲状态。
  10. 根据权利要求6至9任一项所述的控制装置,其中,所述控制模块还设置为:将所述GPS芯片的工作状态从运行态切换为就绪态,并启动第一休眠定时器;检测所述第一休眠定时器预置的第一休眠时间阈值内预设条件是否满足;确定所述第一休眠定时器的第一休眠时间阈值内,如果预设条件不满足,将所述GPS芯片的工作状态从就绪态切换为休眠态。
  11. 一种存储介质,所述存储介质存储有执行指令,所述执行指令用于执行权利要求1至5中任一项所述的方法。
PCT/CN2017/082923 2016-07-20 2017-05-03 Gps控制方法、装置及存储介质 WO2018014620A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610574382.8 2016-07-20
CN201610574382.8A CN107643531A (zh) 2016-07-20 2016-07-20 Gps控制方法及装置

Publications (1)

Publication Number Publication Date
WO2018014620A1 true WO2018014620A1 (zh) 2018-01-25

Family

ID=60991768

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/082923 WO2018014620A1 (zh) 2016-07-20 2017-05-03 Gps控制方法、装置及存储介质

Country Status (2)

Country Link
CN (1) CN107643531A (zh)
WO (1) WO2018014620A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111314956A (zh) * 2018-12-12 2020-06-19 三星电子株式会社 用于在无线通信***中提供服务网络的装置和方法
CN112444831A (zh) * 2020-12-02 2021-03-05 众安在线财产保险股份有限公司 一种用于gps数据采集的终端省电方法、装置和智能终端
CN112926871A (zh) * 2021-03-15 2021-06-08 国网河北省电力有限公司营销服务中心 一种多芯电表的资产定位***

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110737005B (zh) * 2019-01-31 2021-09-24 泰斗微电子科技有限公司 定位芯片定位的方法及终端设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101114014A (zh) * 2006-07-28 2008-01-30 佛山市顺德区顺达电脑厂有限公司 Gps导航装置及其运作机制
CN101360146A (zh) * 2008-09-12 2009-02-04 青岛海信移动通信技术股份有限公司 一种移动通信设备的定位方法及***
CN102088657A (zh) * 2010-11-19 2011-06-08 厦门雅迅网络股份有限公司 一种gps模块的省电方法
CN203643611U (zh) * 2013-12-30 2014-06-11 杨嵩岩 一种节能定位监控装置

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7907579B2 (en) * 2006-08-15 2011-03-15 Cisco Technology, Inc. WiFi geolocation from carrier-managed system geolocation of a dual mode device
ES2360769B1 (es) * 2007-04-30 2012-05-08 Navento Technologies, S.L Procedimiento y sistema de localización y dispositivo port�?til localizable.
CN101730204B (zh) * 2008-10-29 2012-08-29 ***通信集团公司 对定位模块工作状态进行控制的方法及其移动终端
CN101902765B (zh) * 2010-03-29 2016-05-04 北京冠图创新信息技术有限公司 一种控制移动台gps工作的方法和***
US9696429B2 (en) * 2010-12-28 2017-07-04 Fedex Corporate Services, Inc. Power management in wireless tracking device operating with restricted power source
US8948781B2 (en) * 2011-10-21 2015-02-03 Alohar Mobile Inc. Controlling operational states of a location sensing system of a mobile device
CN203012502U (zh) * 2012-11-19 2013-06-19 厦门雅迅网络股份有限公司 基于gps车载无线终端的工程机械车辆状态检测装置
CN103874011A (zh) * 2012-12-13 2014-06-18 ***通信集团辽宁有限公司 一种位置事件的检测方法、***和装置
CN104168646A (zh) * 2013-05-16 2014-11-26 百度在线网络技术(北京)有限公司 无线接入设备的定位方法及装置
CN104698478A (zh) * 2015-02-10 2015-06-10 柳州市金旭节能科技有限公司 一种自运行定位终端
CN105676247A (zh) * 2016-02-24 2016-06-15 北谷电子有限公司 一种工程机械定位***以及定位方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101114014A (zh) * 2006-07-28 2008-01-30 佛山市顺德区顺达电脑厂有限公司 Gps导航装置及其运作机制
CN101360146A (zh) * 2008-09-12 2009-02-04 青岛海信移动通信技术股份有限公司 一种移动通信设备的定位方法及***
CN102088657A (zh) * 2010-11-19 2011-06-08 厦门雅迅网络股份有限公司 一种gps模块的省电方法
CN203643611U (zh) * 2013-12-30 2014-06-11 杨嵩岩 一种节能定位监控装置

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111314956A (zh) * 2018-12-12 2020-06-19 三星电子株式会社 用于在无线通信***中提供服务网络的装置和方法
CN112444831A (zh) * 2020-12-02 2021-03-05 众安在线财产保险股份有限公司 一种用于gps数据采集的终端省电方法、装置和智能终端
CN112926871A (zh) * 2021-03-15 2021-06-08 国网河北省电力有限公司营销服务中心 一种多芯电表的资产定位***
CN112926871B (zh) * 2021-03-15 2022-07-22 国网河北省电力有限公司营销服务中心 一种多芯电表的资产定位***

Also Published As

Publication number Publication date
CN107643531A (zh) 2018-01-30

Similar Documents

Publication Publication Date Title
EP2996367B1 (en) Device, method, and system for starting mobile hotspot
WO2018014620A1 (zh) Gps控制方法、装置及存储介质
EP2740226B1 (en) Communication state transitioning control
CN109429318B (zh) 一种唤醒终端设备的方法及装置
US9699728B2 (en) Method and apparatus for power saving
EP3574707B1 (en) Connection release assistance information
US8331275B2 (en) Apparatus and method for proxying powered off interfaces using the active interface
US10341973B2 (en) Determining reference frame information in a telecommunication network
EP3198950B1 (en) Power management in device to device communications
CN110089164A (zh) 改进的无线设备的节能模式
CN110691430B (zh) 物联网终端的唤醒方法及装置、存储介质、基站
US10924995B2 (en) Wake-up radio roaming
WO2014146538A1 (zh) 移动终端参数配置方法及参数配置装置
US10999793B2 (en) Power management techniques for a power sensitive wireless device
CN110691399B (zh) 物联网终端及其唤醒方法及装置、存储介质
US10912022B2 (en) WLAN station capable of optimizing power saving operation
WO2011097766A1 (zh) 无限资源控制状态优化方法和mtc设备
CN116249183A (zh) 网络设备管理方法、装置及存储介质
WO2016023202A1 (zh) 一种wifi接入点控制方法及wifi接入点
US20220046576A1 (en) Apparatus, method and computer program for performing radio access notification area update
US11606752B1 (en) Combining long eDRX periods and custom PSM cycles
KR20190052465A (ko) 페이징 처리 장치 및 방법
WO2023066167A1 (zh) 一种终端定位处理方法及装置
US20230232488A1 (en) Method and system for efficiently activating or deactivating user equipment
KR101091686B1 (ko) 단말의 이동성에 따라 통신 중계 시스템의 셀 사이즈를 선택하는 장치 및 방법

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17830258

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17830258

Country of ref document: EP

Kind code of ref document: A1