Low power consumption control method, system, device and storage medium for positioning

By introducing a mechanism for broadcasting position information packets at base station interval preset time in the Wi-Fi positioning system and reporting positioning information in a specific time window, the problem of power consumption increased by continuously sending data by the child nodes is solved, and a low-power positioning control method is realized, reducing network congestion and improving positioning accuracy.

CN119277515BActive Publication Date: 2025-04-22深圳市云希谷科技有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411552716.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-01
Publication Date
2025-04-22
Estimated Expiration
2044-11-01

AI Technical Summary

Technical Problem

In the existing Wi-Fi positioning technology, child nodes need to continuously send data, resulting in increased power consumption and inconvenience to users.

Method used

The location information message is broadcast by the base station interval preset time. The child node receives and measures the position coordinates, reports the location information only in a specific time window, and adjusts the time window to enter the sleep state according to the confirmation message.

Benefits of technology

It significantly reduces the number of communications, avoids network congestion, reduces the power consumption of the overall positioning system, extends the battery life of the child nodes, and improves positioning accuracy and system reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119277515B_ABST
    Figure CN119277515B_ABST
Patent Text Reader

Abstract

This invention relates to the field of wireless positioning technology, and discloses a low-power control method, system, device, and storage medium for positioning. The method includes: a base station broadcasting a location information message once at a preset time interval; a child node receiving the location information message sent by the base station, obtaining the child node's GPS timestamp, and measuring according to the location information message to obtain the child node's position coordinates at the child node's GPS timestamp; when any child node determines that it is within a time window, it generates a positioning information message based on its position coordinates and sends the positioning information message to the base station; the base station receives the positioning information message sent by the child node, generates an acknowledgment message based on the positioning information message, and triggers the signal transmission module to send the acknowledgment message; the child node receives the acknowledgment message sent by the base station, adjusts the time window, and enters a sleep state to report the next positioning information according to the adjusted time window. This method reduces positioning power consumption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of wireless positioning technology, and in particular to a low-power control method, system, device and storage medium for positioning. Background Art

[0002] With the rapid development of positioning technology, high-precision positioning methods using satellites and base stations can achieve relatively accurate positioning. Currently, the positioning methods on the market mainly include: GPS positioning, Beidou positioning, mobile base station positioning, Wi-Fi base station positioning, etc. Satellite positioning technologies such as GPS and Beidou have become the most mainstream positioning methods due to their high precision and wide coverage. However, these technologies will greatly reduce the positioning accuracy in specific environments such as indoors or in urban canyons due to signal obstruction or poor quality. In addition, satellite positioning equipment consumes large power and is costly, which is not conducive to long-term and large-scale deployment. Therefore, the development of wireless communication positioning technology has become an important development direction.

[0003] Among the existing wireless communication positioning technologies, Wi-Fi positioning technology uses the fast transmission speed and wide transmission frequency band of Wi-Fi signals. Wi-Fi signals can be received in almost all places covered by mobile phones, so this technology has gradually developed. In Wi-Fi positioning technology, there is a Wi-Fi positioning system, which is divided into two parts, the base station and the tag. The base station is responsible for broadcasting the positioning ID, and the tag measures the signal strength and calculates the location coordinates after receiving the ID.

[0004] When a large number of sub-nodes work at the same time, it will cause network congestion and affect positioning accuracy. At the same time, sub-nodes need to continuously send data, resulting in increased power consumption, which brings users the trouble of frequent battery replacement or charging.

[0005] In summary, in the existing Wi-Fi positioning technology, subnodes need to continuously send data, which increases power consumption and brings inconvenience to users. Summary of the invention

[0006] The present invention provides a low-power control method, system, device and storage medium for positioning, so as to reduce the power consumption of positioning.

[0007] In a first aspect, in order to solve the above technical problems, the present invention provides a low-power consumption control method for positioning, comprising:

[0008] The base station broadcasts a location information message once at a preset interval;

[0009] Wherein, the location information message includes a base station ID and a base station GPS timestamp;

[0010] The subnode receives the location information message sent by the base station, obtains the subnode GPS timestamp, and performs measurement according to the location information message to obtain the location coordinates of the subnode at the subnode GPS timestamp;

[0011] When any of the subnodes determines that it is within the time window, it generates a positioning information message according to the position coordinates and sends the positioning information message to the base station;

[0012] The base station receives the positioning information message sent by the subnode, generates a confirmation message according to the positioning information message, and triggers the signal transmission module to send the confirmation message;

[0013] The subnode receives the confirmation message sent by the base station, adjusts the time window and enters a dormant state, so as to report the next positioning information according to the adjusted time window.

[0014] In an optional implementation manner, the base station broadcasts a location information message once at a preset interval, including:

[0015] The base station comprises a signal transmission module, and the signal transmission module is used to broadcast a location information message once at a preset time interval.

[0016] In an optional implementation, the subnode receives the location information message sent by the base station, obtains the subnode GPS timestamp, and performs measurement according to the location information message to obtain the location coordinates of the subnode at the subnode GPS timestamp, including:

[0017] The subnode subtracts the GPS timestamp of the base station from the GPS timestamp of the subnode to obtain a time difference, and calculates the distance from the subnode to the base station according to the time difference;

[0018] The subnode calculates the position coordinates of the subnode at the subnode GPS timestamp according to the subnode GPS timestamp, the distance from the subnode to the base station, and the pre-stored historical subnode GPS timestamp reported by the subnode last time.

[0019] In an optional implementation manner, the subnode receiving a confirmation message sent by a base station, adjusting the time window and entering a dormant state includes:

[0020] In the case of a child node reporting, the base station adjusts the time window according to the following formula (1):

[0021] ;

[0022] Among them, t1 represents the time window for the next report, D represents the distance from the child node to the base station, R represents the broadcast period of the base station, and M1 represents a random number.

[0023] In an optional implementation manner, the subnode receiving a confirmation message sent by a base station, adjusting the time window and entering a dormant state includes:

[0024] In the case of a child node reporting, after receiving the positioning information message, the base station obtains the current reporting time in the positioning information message and adjusts the time window according to the following formula (2):

[0025] ;

[0026] Among them, t2 represents the time window for the next report, t4 represents the last report time, t5 represents the current report time, and M2 represents a random number.

[0027] In an optional implementation manner, the subnode receiving a confirmation message sent by a base station, adjusting the time window and entering a dormant state includes:

[0028] In the case where multiple subnodes report at the same time, the base station sorts the received positioning information messages according to the priority of the reporting time, obtains the reporting time of the positioning information messages and the sorted positioning information messages, and adjusts the time window according to the following formula (3):

[0029] ;

[0030] Among them, t3 represents the time window for the next report, T represents the reporting time slot in the received message, t6 represents the time of receiving the message, and M3 represents a random number.

[0031] In an optional implementation manner, in the case where multiple subnodes report simultaneously, the base station sorts the received positioning information messages according to the priority of the reporting time, including:

[0032] Subtracting the reporting time of the positioning information message from the current time to obtain the difference between the reporting time of the positioning information message and the current time;

[0033] The base station sequentially sorts the positioning information messages according to the priority order of the difference from small to large, and obtains sorted positioning information messages.

[0034] In a second aspect, the present invention provides a low-power consumption positioning control system, comprising:

[0035] A base station, the base station is used to broadcast a location information message once at a preset interval; wherein the location information message includes a base station ID and a base station GPS timestamp;

[0036] The base station is further used to receive a positioning information message sent by a subnode, generate a confirmation message according to the positioning information message, and trigger the signal transmission module to send the confirmation message;

[0037] A subnode, the subnode is used to receive the location information message sent by the base station, obtain the subnode GPS timestamp, and perform measurement according to the location information message to obtain the location coordinates of the subnode at the subnode GPS timestamp;

[0038] The subnode is further configured to generate a positioning information message according to the position coordinates and send the positioning information message to the base station when any of the subnodes determines that it is within the time window;

[0039] The subnode is further configured to receive a confirmation message sent by the base station, adjust the time window and enter a dormant state, so as to report the next positioning information according to the adjusted time window.

[0040] In a third aspect, the present invention further provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, it implements a low-power control method for positioning as described in any one of the above.

[0041] In a fourth aspect, the present invention further provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned low-power control methods for positioning.

[0042] Compared with the prior art, the present invention has the following beneficial effects:

[0043] The present invention relates to the field of wireless positioning technology, and discloses a low-power control method, system, device and storage medium for positioning, wherein the method comprises a base station broadcasting a position information message once at a preset time interval; wherein the position information message comprises a base station ID and a base station GPS timestamp; a subnode receives the position information message sent by the base station, obtains the subnode GPS timestamp, and performs measurement according to the position information message to obtain the position coordinates of the subnode at the subnode GPS timestamp; when any of the subnodes determines that it is within a time window, a positioning information message is generated according to the position coordinates and sent to the base station; the base station receives the positioning information message sent by the subnode, generates a confirmation message according to the positioning information message, and triggers a signal transmission module to send the confirmation message; the subnode receives the confirmation message sent by the base station, adjusts the time window and enters a dormant state, so as to report the next positioning information according to the adjusted time window.

[0044] Compared with the prior art, the present invention discloses a low-power control method for positioning. By implementing the time window control and random reporting time mechanism, the subnode wakes up and reports data only within a specific time window, and is in low-power mode for the rest of the time, thereby significantly reducing the number of communications and avoiding network congestion. At the same time, the base station dynamically adjusts the reporting time window according to the data reported by the subnode to optimize the communication efficiency. In addition, the GPS timestamp is used for precise positioning calculation, which reduces the energy consumption caused by frequent communication, and the validity of each report is ensured by the confirmation message mechanism, which further reduces the energy consumption caused by invalid communication attempts. Combining these strategies effectively reduces the power consumption of the entire positioning system. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 It is a schematic diagram of the flow of the low power consumption control method for positioning provided by the first embodiment of the present invention;

[0046] Figure 2 It is a schematic diagram of the structure of a low-power consumption positioning control system provided by the second embodiment of the present invention. DETAILED DESCRIPTION

[0047] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0048] With the rapid development of positioning technology, high-precision positioning methods using satellites and base stations can achieve relatively accurate positioning. Currently, the positioning methods on the market mainly include: GPS positioning, Beidou positioning, mobile base station positioning, Wi-Fi base station positioning, etc. Satellite positioning technologies such as GPS and Beidou have become the most mainstream positioning methods due to their high precision and wide coverage. However, these technologies will greatly reduce the positioning accuracy in specific environments such as indoors or in urban canyons due to signal obstruction or poor quality. In addition, satellite positioning equipment consumes large power and is costly, which is not conducive to long-term and large-scale deployment. Therefore, the development of wireless communication positioning technology has become an important development direction.

[0049] Among the existing wireless communication positioning technologies, Wi-Fi positioning technology uses the fast transmission speed and wide transmission frequency band of Wi-Fi signals. Wi-Fi signals can be received in almost all places covered by mobile phones, so this technology has gradually developed. In Wi-Fi positioning technology, there is a Wi-Fi positioning system, which is divided into two parts, the base station and the tag. The base station is responsible for broadcasting the positioning ID, and the tag measures the signal strength and calculates the location coordinates after receiving the ID.

[0050] When a large number of sub-nodes work at the same time, it will cause network congestion and affect positioning accuracy. At the same time, sub-nodes need to send data continuously, resulting in increased power consumption, which brings troubles to users to frequently replace batteries or charge them. In summary, in the existing Wi-Fi positioning technology, sub-nodes need to send data continuously, resulting in increased power consumption and inconvenience to users.

[0051] In order to solve the above technical problems, refer to Figure 1 The first embodiment of the present invention provides a low-power consumption control method for positioning, comprising the following steps:

[0052] S11, the base station broadcasts a location information message once at a preset interval; wherein the location information message includes a base station ID and a base station GPS timestamp;

[0053] S12, the subnode receives the location information message sent by the base station, obtains the subnode GPS timestamp, and performs measurement according to the location information message to obtain the location coordinates of the subnode at the subnode GPS timestamp;

[0054] S13, when any of the subnodes determines that it is within the time window, generates a positioning information message according to the position coordinates and sends the positioning information message to the base station;

[0055] S14, the base station receives the positioning information message sent by the subnode, generates a confirmation message according to the positioning information message, and triggers the signal transmission module to send the confirmation message;

[0056] S15, the subnode receives the confirmation message sent by the base station, adjusts the time window and enters a dormant state, so as to report the next positioning information according to the adjusted time window.

[0057] In step S11, the base station broadcasts a location information message once at a preset interval; wherein the location information message includes a base station ID and a base station GPS timestamp.

[0058] The base station comprises a signal transmission module, and the signal transmission module is used to broadcast a location information message once at a preset time interval.

[0059] The number of times the location information message is broadcast is positively correlated with the number of sub-nodes on site, and the preset time can be dynamically adjusted according to the relative position of the base station and the sub-nodes, the number of sub-nodes, the receiving rate and the frame length to adapt to different network environments and communication requirements. By reducing unnecessary communications and optimizing communication timing, both the base station and the sub-nodes can reduce energy consumption while maintaining network efficiency, with the aim of balancing the network communication load and the requirements for positioning accuracy. If the interval is too short, it will cause network congestion and unnecessary energy consumption. If the interval is too long, it will affect the real-time and accuracy of positioning.

[0060] In step S12, the subnode receives the location information message sent by the base station, obtains the subnode GPS timestamp, and performs measurement according to the location information message to obtain the location coordinates of the subnode at the subnode GPS timestamp.

[0061] S121, the subnode subtracts the GPS timestamp of the base station from the GPS timestamp of the subnode to obtain a time difference, and calculates the distance from the subnode to the base station according to the time difference;

[0062] S122, the child node calculates the position coordinates of the child node at the child node GPS timestamp according to the child node GPS timestamp, the distance from the child node to the base station, and the pre-stored historical child node GPS timestamp reported by the child node last time.

[0063] In step S121, the subnode subtracts the GPS timestamp of the base station from the GPS timestamp of the subnode to obtain a time difference, and calculates the distance from the subnode to the base station according to the time difference;

[0064] In a specific implementation manner, the subnode subtracts the base station GPS timestamp from the subnode GPS timestamp to obtain a time difference, and calculates the distance from the subnode to the base station according to the time difference, including:

[0065] The time difference is calculated according to the following formula:

[0066] ;

[0067] in, Indicates the time difference, Indicates the base station GPS timestamp, Indicates the GPS timestamp of the child node;

[0068] The distance from the subnode to the base station is calculated according to the following formula:

[0069] ;

[0070] in, represents the distance from the subnode to the base station, The speed at which a signal propagates in the air. Indicates the time difference.

[0071] In another specific implementation, the subnode subtracts the base station GPS timestamp from the subnode GPS timestamp to obtain a time difference, and calculates the distance from the subnode to the base station according to the time difference, including:

[0072] The distance from the subnode to the base station is calculated according to the following formula:

[0073] ;

[0074] in, Indicates the distance from the subnode to the base station at the current time, Indicates the distance from the last reported storage history time subnode to the base station. The speed at which a signal propagates in the air. Indicates the current time subnode GPS timestamp, Indicates the GPS timestamp of the last reported historical subnode.

[0075] In step S122, the child node calculates the position coordinates of the child node at the child node GPS timestamp according to the child node GPS timestamp, the distance from the child node to the base station, and the pre-stored historical child node GPS timestamp reported by the child node last time.

[0076] In a specific implementation, the subnode calculates the position coordinates of the subnode at the subnode GPS timestamp according to the subnode GPS timestamp, the distance from the subnode to the base station, and the pre-stored historical subnode GPS timestamp reported by the subnode last time, including:

[0077] The linear direction vector from the subnode to the base station is calculated according to the following formula:

[0078] ;

[0079] in, Represents the linear direction vector from the subnode to the base station, represents the base station location coordinates, Indicates the location coordinates of the child node's GPS timestamp;

[0080] The new position coordinates of the subnode are estimated by using the distance from the subnode to the base station, the straight line direction vector from the subnode to the base station and the movement model of the subnode;

[0081] If the moving speed and direction of the child node are known, the new position coordinates of the child node can be estimated by the following formula:

[0082] ;

[0083] ;

[0084] in, Indicates the location coordinates of the child node's GPS timestamp, Indicates the location coordinates of the GPS timestamp of the historical child node last reported by the pre-stored child node. represents the speed of the child node, is the angle between the moving direction of the child node and the positive x-axis, Indicates the time difference.

[0085] In step S13, when any of the subnodes determines that it is within the time window, it generates a positioning information message according to the position coordinates and sends the positioning information message to the base station.

[0086] The subnode determines whether the current time is suitable for sending positioning information according to the preset reported time window. When any of the subnodes determines that it is within the time window, the subnode will generate a positioning information message based on its position coordinates and other relevant information; wherein the time window means that the subnode is configured to send positioning information messages only within a specific time range; for example, if the base station broadcast cycle is 60 seconds, and the base station broadcasts the start of the time window, then the subnode may be configured to send positioning information messages within the next few seconds, such as between the 30th and 40th seconds;

[0087] The process of generating a positioning information message by a subnode usually involves collecting and integrating multiple data points; the data points include the subnode ID, event number, reporting time, and location coordinates of the subnode GPS timestamp; the subnode uses its built-in sensors and signal processing capabilities to measure signal strength, calculate location coordinates, and combine GPS timestamps to generate this information; then, the subnode encapsulates this information into a positioning information message, which follows a specific communication protocol, such as IEEE802.15.4, to ensure compatibility and effective communication with the base station;

[0088] By sending positioning information within a specific time window, the subnode can reduce communication conflicts with the base station, thereby reducing the risk of network congestion; in addition, this method also helps to reduce the energy consumption of the subnode, because it only wakes up and sends data when necessary, and can enter low-power mode at other times; this design is very beneficial for extending the battery life of the subnode and reducing maintenance costs; at the same time, this also ensures that the base station can receive accurate and timely positioning data, thereby improving the accuracy of positioning and the reliability of the system.

[0089] In step S14, the base station receives the positioning information message sent by the subnode, generates a confirmation message according to the positioning information message, and triggers the signal transmission module to send the confirmation message.

[0090] First, the wireless receiving module of the base station continuously monitors the positioning information messages from the sub-nodes; these messages contain the sub-node ID, event number, reporting time, and the GPS timestamp and location coordinates of the sub-node. The wireless receiving module of the base station has efficient signal capture capabilities, which can accurately capture the weak signals sent by the sub-nodes and start the decoding process;

[0091] The decoding process involves parsing the positioning information message to extract the subnode ID, event number, reporting time, and GPS timestamp and location coordinates. This process requires the base station to have strong signal processing capabilities to ensure that useful information can be accurately extracted from the noise. The base station's decoding algorithm needs to be able to handle various signal interferences to ensure accurate information extraction;

[0092] Once the decoding is completed, the positioning module of the base station will obtain the local GPS time, which will be used to compare with the GPS timestamp of the subnode to calculate the time difference between the subnode and the base station. This time difference is one of the key factors in calculating the location of the subnode; the signal processing module of the base station will calculate the distance between the subnode and the base station based on the decoded information; this calculation involves complex mathematical models, such as using the propagation time of the signal to estimate the distance.

[0093] The base station will also calculate the location of the base station or sub-node based on the location coordinates of the GPS timestamps of other sub-nodes. This step is to improve the accuracy of positioning by cross-validating and calibrating the positioning results through the information of multiple sub-nodes. The base station's location calculation may involve multilateral measurement, triangulation or other advanced positioning algorithms.

[0094] After completing these calculations, the base station will determine the time window for the next report of the subnode; this time window is calculated based on the distance between the subnode and the base station, the broadcast cycle of the base station, and a random number; the introduction of this random number is to reduce communication conflicts between subnodes and improve the communication efficiency of the network;

[0095] After the base station generates a confirmation message, it will broadcast the confirmation message on a predetermined frequency through its wireless transmission module; this confirmation message is a response to the subnode's reported information, which confirms that the subnode's positioning information has been successfully received by the base station; the broadcast of this confirmation message is an important step before the subnode enters the dormant state, which ensures that the subnode can safely enter the low-power mode until the next reporting time window arrives;

[0096] The broadcast of confirmation messages not only provides the feedback required by the subnodes, but also enhances the reliability of the entire system; in this way, the base station can effectively monitor and manage the subnodes in the network, ensuring that each subnode can report positioning information according to the predetermined schedule. At the same time, this mechanism also maintains the stability of the network and avoids network congestion caused by frequent communications;

[0097] In addition, this two-way communication mechanism also helps to reduce the energy consumption of sub-nodes; after receiving the confirmation message, the sub-node can enter a dormant state until the next reporting time window arrives; this low-power operation mode significantly extends the battery life of the sub-node, reduces maintenance costs, and also improves user convenience.

[0098] In step S15, the subnode receives the confirmation message sent by the base station, adjusts the time window and enters a dormant state, so as to report the next positioning information according to the adjusted time window.

[0099] After receiving the confirmation message broadcast by the base station, the subnode will first parse the information in the confirmation message, obtain the parsed confirmation message and confirm that the previously sent positioning information message has been successfully received by the base station;

[0100] The parsed confirmation message triggers the subnode to adjust its next reporting time window according to the instruction of the base station and the current state of the network;

[0101] The child node will calculate the next reporting time window based on the timestamp in the parsed confirmation message and the broadcast cycle preset by the base station, combined with its own historical reporting time and the randomly generated offset. The next reporting time window is determined according to the following formula (1), (2) or (3), thereby reducing communication conflicts and energy consumption, while ensuring the effective operation of the network.

[0102] After the adjustment of the time window is completed, the subnode will enter a dormant state to save energy. During the dormant period, the energy consumption of the subnode will be greatly reduced, but it still maintains the ability to monitor the base station broadcast. When the subnode wakes up again according to the adjusted time window, it will collect and report the positioning information at the predetermined time point. This process involves the awakening of the subnode, the collection, processing and encapsulation of data into positioning information messages, and then sending them to the base station through the signal sending module. This cycle is repeated to ensure the continuous operation of the positioning system and the real-time update of data.

[0103] In this way, the subnode can minimize its own energy consumption while ensuring positioning accuracy, extending battery life and achieving low-power operation.

[0104] It should be noted that, in the case of a child node reporting, the base station adjusts the time window according to the following formula (1):

[0105] ;

[0106] Among them, t1 represents the time window for the next report, D represents the distance from the child node to the base station, R represents the broadcast period of the base station, and M1 represents a random number.

[0107] It should be noted that, in the case of a child node reporting, after receiving the positioning information message, the base station obtains the current reporting time in the positioning information message and adjusts the time window according to the following formula (2):

[0108] ;

[0109] Among them, t2 represents the time window for the next report, t4 represents the last report time, t5 represents the current report time, and M2 represents a random number.

[0110] It should be noted that, in the case where multiple subnodes report simultaneously, the base station sorts the received positioning information messages according to the priority of the reporting time, obtains the reporting time of the positioning information messages and the sorted positioning information messages, and adjusts the time window according to the following formula (3):

[0111] ;

[0112] Among them, t3 represents the time window for the next report, T represents the reporting time slot in the received message, t6 represents the time of receiving the message, and M3 represents a random number.

[0113] It should be noted that, in the case where multiple subnodes report simultaneously, the base station sorts the received positioning information messages according to the priority of the reporting time, including:

[0114] S21, subtracting the reporting time of the positioning information message from the current time to obtain the difference between the reporting time of the positioning information message and the current time;

[0115] S22, the base station sorts the positioning information messages in order of priority from small to large according to the difference values, and obtains sorted positioning information messages.

[0116] In step S21, the location information message reporting time and the current time are subtracted to obtain the location information message reporting time and the current time difference, including;

[0117] The difference between the reporting time of the positioning information message and the current time is calculated according to the following formula:

[0118] ;

[0119] in, Indicates The time difference of the positioning information message of each child node, is the current time of the base station, Indicates The time when the positioning information message of each child node is reported.

[0120] In step S22, the base station sequentially sorts the positioning information messages in the order of priority of the difference from small to large, and obtains sorted positioning information messages, including:

[0121] The logic of sorting can be described as:

[0122] ;

[0123] in, represents the sorting function, Indicates the set of all positioning information messages. Represents the time difference array of each message;

[0124] The sorting function Sort is not a specific mathematical formula, but a general computer science concept, which refers to an algorithm or function for sorting a series of elements. In programming, there are many different sorting algorithms that can be used to implement this function, such as quick sort, merge sort, heap sort, etc. When the base station prioritizes the positioning information messages, the Sort function will sort these messages based on the difference between the time reported by the child node and the current time.

[0125] Through this sorting mechanism, the base station can effectively manage and process the positioning information from multiple subnodes, ensuring the timely update and processing of positioning data, while also improving the response speed and accuracy of the entire positioning system. This time-priority-based sorting strategy is essential for maintaining system stability and efficiency when the network load is high.

[0126] The following describes the working process of the present invention by taking a relatively common scenario as an example. A specific implementation of the present invention is a positioning low power consumption control method, comprising the following steps:

[0127] The signal transmission module of the base station will broadcast the location information message containing the base station ID and the base station GPS timestamp at the preset time interval. This preset time interval can be dynamically adjusted according to the network environment and communication requirements to adapt to different network conditions and the number of sub-nodes. For example, in areas with dense sub-nodes or large communication traffic, the time interval can be appropriately shortened to improve the real-time positioning; conversely, in areas with sparse sub-nodes or small communication traffic, the time interval can be appropriately extended to reduce unnecessary communications and reduce the overall energy consumption of the system; the base station GPS timestamp provides an accurate time reference, and the sub-node can use this timestamp to calculate the time difference between the sub-node and the base station, and then estimate the distance to the base station;

[0128] After the base station broadcasts the location information message, the child node will receive these messages and obtain its own GPS timestamp. The child node is a node in the wireless sensor network, which has the functions of sending wireless signals and processing data; in this step, the wireless receiving module of the child node will capture the location information message broadcast by the base station and record the GPS timestamp of the child node; the key to this step lies in the signal receiving module of the child node, which can capture the location information message broadcast by the base station and record the GPS timestamp of the child node. This timestamp is important data for subsequent positioning calculations because it provides a precise time reference point for the child node.

[0129] The signal processing module of the child node can calculate the time difference between the child node and the base station by comparing the base station GPS timestamp and the child node GPS timestamp. This time difference is the key factor in estimating the distance between the child node and the base station, because the propagation speed of the signal in the air is known, so the distance can be calculated by the time difference;

[0130] After obtaining the location information message of the base station and its own GPS timestamp, the child node will perform measurements and calculate the location coordinates at the subnode GPS timestamp; the child node first subtracts the base station GPS timestamp from the subnode GPS timestamp to obtain the time difference; then, the child node calculates the distance to the base station based on the time difference and the signal propagation speed in the air.

[0131] Next, the child node will calculate the position coordinates of the child node at the child node GPS timestamp based on the child node GPS timestamp, the distance from the child node to the base station, and the pre-stored historical child node GPS timestamp reported by the child node last time;

[0132] When a child node determines that it is within the preset time window, it will generate a positioning information message based on the calculated position coordinates; the positioning information message generated by the child node contains key information, such as the child node ID, event number, reporting time, and the position coordinates of the child node GPS timestamp;

[0133] The positioning information message generated by the sub-node is the basis for the base station to perform positioning calculation and network management. Through this information, the base station can accurately understand the location of the sub-node, thereby achieving effective management of the entire network. At the same time, this information also helps the base station to evaluate and optimize the positioning accuracy of the sub-node.

[0134] After generating the positioning information messages, the subnode will send these messages to the base station; the subnode sends the positioning information messages to the base station through its wireless transmission module;

[0135] After receiving these messages, the base station can perform positioning calculations to determine the location of the sub-node; at the same time, the base station can also manage and monitor the sub-nodes based on this information to ensure the stable operation of the network.

[0136] After receiving the positioning information message sent by the subnode, the base station will decode and process it to extract key information. The positioning module of the base station will obtain the local time and the base station GPS time. The signal processing module will calculate the distance between the subnode and the base station based on the decoded positioning information message, and perform the location positioning calculation of the base station or subnode;

[0137] After processing the received positioning information message, the base station will generate a confirmation message to confirm that the positioning information message sent by the sub-node has been successfully received; the base station broadcasts the confirmation message on a predetermined frequency through its wireless transmission module; this step is an important part of the communication between the base station and the sub-node. The broadcast of the confirmation message not only allows the sub-node to confirm that its positioning information has been received by the base station, but also allows the sub-node to enter a dormant state to reduce energy consumption;

[0138] After receiving the confirmation message broadcast by the base station, the subnode will parse the information in the confirmation message to confirm that the previously sent positioning information message has been successfully received by the base station; then, the subnode will calculate the time window for the next report based on the timestamp in the confirmation message and the broadcast cycle preset by the base station, combined with its own historical reporting time and the randomly generated offset;

[0139] After the adjustment of the time window is completed, the child node will enter a dormant state to save energy. During the dormant period, the energy consumption of the child node will be greatly reduced, but it still maintains the ability to monitor the base station broadcast. When the child node wakes up again according to the adjusted time window, it will collect and report positioning information at the scheduled time point, and then repeat the process;

[0140] The implementation of this step ensures that the sub-node minimizes its own energy consumption while maintaining network communication, prolongs battery life, and improves the efficiency of the entire positioning system; in this way, the sub-node can reduce energy consumption and achieve low-power operation while ensuring positioning accuracy.

[0141] In summary, the present invention is based on a low-power control method for positioning. The base station broadcasts location information messages regularly, and the subnodes receive and use these messages to perform positioning calculations, and then report positioning information within a specific time window. After receiving this information, the base station broadcasts a confirmation message to confirm reception, and the subnode adjusts the next reporting time window according to the confirmation message and enters a dormant state; effective communication and precise positioning between the subnode and the base station are achieved and system power consumption is reduced; by dynamically adjusting the reporting time window and using GPS timestamps for precise positioning calculations, the present invention effectively reduces the energy consumption caused by frequent communication, and ensures the validity of each report through the confirmation message mechanism, further reducing the energy consumption caused by invalid communication attempts. Combining these strategies, the present invention reduces the power consumption of the entire positioning system.

[0142] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program codes.

[0143] The present application is described with reference to the flowcharts or block diagrams of the methods, systems, and computer program products according to the embodiments of the present application. It should be understood that each process or box in the flowchart or block diagram, as well as the combination of processes or boxes in the flowchart or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart or block diagram. Figure 1 A process or multiple processes or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0144] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

[0145] Reference Figure 2 The second embodiment of the present invention provides a low-power consumption positioning control system, including:

[0146] A base station, the base station is used to broadcast a location information message once at a preset interval; wherein the location information message includes a base station ID and a base station GPS timestamp;

[0147] The base station is further used to receive a positioning information message sent by a subnode, generate a confirmation message according to the positioning information message, and trigger the signal transmission module to send the confirmation message;

[0148] A subnode, the subnode is used to receive the location information message sent by the base station, obtain the subnode GPS timestamp, and perform measurement according to the location information message to obtain the location coordinates of the subnode at the subnode GPS timestamp;

[0149] The subnode is further configured to generate a positioning information message according to the position coordinates and send the positioning information message to the base station when any of the subnodes determines that it is within the time window;

[0150] The subnode is further configured to receive a confirmation message sent by the base station, adjust the time window and enter a dormant state, so as to report the next positioning information according to the adjusted time window.

[0151] In an optional implementation, the base station includes

[0152] A signal transmission module, used to broadcast a location information message once at a preset interval; wherein the location information message includes a base station ID and a base station GPS timestamp;

[0153] The signal processing module is used for receiving the positioning information message sent by the sub-node, generating a confirmation message according to the positioning information message, and triggering the signal transmission module to broadcast and send the confirmation message.

[0154] In an optional implementation, the subnode includes:

[0155] A signal processing module, used to receive the location information message sent by the base station, obtain the subnode GPS timestamp, and perform measurement according to the location information message to obtain the location coordinates of the subnode at the subnode GPS timestamp;

[0156] a signal sending module, configured to generate a positioning information message according to the position coordinates and send the positioning information message to the base station when any of the subnodes determines that it is within the time window;

[0157] The signal receiving module is used to receive a confirmation message sent by a base station, adjust the time window and enter a dormant state, so as to report the next positioning information according to the adjusted time window.

[0158] It should be noted that a positioning low-power control system provided in an embodiment of the present invention is used to execute all process steps of a positioning low-power control method in the above embodiment, and the working principles and beneficial effects of the two correspond one to one, so they will not be repeated.

[0159] The embodiment of the present invention further provides an electronic device. The electronic device includes: a processor, a memory, and a computer program stored in the memory and executable on the processor, such as a positioning low power consumption control program. When the processor executes the computer program, the steps in each of the above-mentioned embodiments of the positioning low power consumption control method are implemented, such as Figure 1 Step S11 is shown. Alternatively, when the processor executes the computer program, the functions of the modules / units in the above-mentioned system embodiments are realized, such as a positioning low power consumption control module.

[0160] Exemplarily, the computer program may be divided into one or more modules / units, which are stored in the memory and executed by the processor to implement the present invention. The one or more modules / units may be a series of computer program instruction segments capable of implementing specific functions, which are used to describe the execution process of the computer program in the electronic device.

[0161] The electronic device may be a computing device such as a desktop computer, a notebook, a PDA, and a smart tablet. The electronic device may include, but is not limited to, a processor and a memory. Those skilled in the art will appreciate that the above components are merely examples of electronic devices and do not constitute a limitation on the electronic device. The electronic device may include more or fewer components than the above components, or a combination of certain components, or different components. For example, the electronic device may also include input and output devices, network access devices, buses, etc.

[0162] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the electronic device, and uses various interfaces and lines to connect various parts of the entire electronic device.

[0163] The memory can be used to store the computer program and / or module, and the processor realizes various functions of the electronic device by running or executing the computer program and / or module stored in the memory, and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0164] Wherein, if the module / unit integrated in the electronic device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Wherein, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or system capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0165] It should be noted that the system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the drawings of the system embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. Those of ordinary skill in the art may understand and implement it without creative work.

[0166] The specific embodiments described above further illustrate the purpose, technical solutions and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of protection of the present invention.

Claims

1. A low power consumption control method for positioning, characterized in that: include: The base station broadcasts a location information message once at a preset interval; Wherein, the location information message includes a base station ID and a base station GPS timestamp; The subnode receives the location information message sent by the base station, obtains the subnode GPS timestamp, and performs measurement according to the location information message to obtain the location coordinates of the subnode at the subnode GPS timestamp; When any of the subnodes determines that it is within the time window, it generates a positioning information message according to the position coordinates and sends the positioning information message to the base station; The base station receives the positioning information message sent by the subnode, generates a confirmation message according to the positioning information message, and triggers the signal transmission module to send the confirmation message; The subnode receives the confirmation message sent by the base station, adjusts the time window and enters a dormant state, so as to report the next positioning information according to the adjusted time window.

2. A low power consumption control method for positioning according to claim 1, characterized in that: The base station broadcasts a location information message once at a preset interval, including: The base station comprises a signal transmission module, and the signal transmission module is used to broadcast a location information message once at a preset time interval.

3. The low power consumption control method for positioning according to claim 1, characterized in that: The measuring according to the location information message to obtain the location coordinates of the subnode at the subnode GPS timestamp includes: The subnode subtracts the GPS timestamp of the base station from the GPS timestamp of the subnode to obtain a time difference, and calculates the distance from the subnode to the base station according to the time difference; The subnode calculates the position coordinates of the subnode at the subnode GPS timestamp according to the subnode GPS timestamp, the distance from the subnode to the base station, and the pre-stored historical subnode GPS timestamp reported by the subnode last time.

4. The low power consumption control method for positioning according to claim 1, characterized in that: The subnode receives a confirmation message sent by the base station, adjusts the time window and enters a dormant state, including: In the case of a child node reporting, the base station adjusts the time window according to the following formula (1): ; Among them, t1 represents the time window for the next report, D represents the distance from the child node to the base station, R represents the broadcast period of the base station, and M1 represents a random number.

5. The low power consumption control method for positioning according to claim 1, characterized in that: The subnode receives a confirmation message sent by the base station, adjusts the time window and enters a dormant state, including: In the case of a child node reporting, after receiving the positioning information message, the base station obtains the current reporting time in the positioning information message and adjusts the time window according to the following formula (2): ; Among them, t2 represents the time window for the next report, t4 represents the last report time, t5 represents the current report time, and M2 represents a random number.

6. The low power consumption control method for positioning according to claim 1, characterized in that: The subnode receives a confirmation message sent by the base station, adjusts the time window and enters a dormant state, including: In the case where multiple subnodes report at the same time, the base station sorts the received positioning information messages according to the priority of the reporting time, obtains the reporting time of the positioning information messages and the sorted positioning information messages, and adjusts the time window according to the following formula (3): ; Among them, t3 represents the time window for the next report, T represents the reporting time slot in the received message, t6 represents the time of receiving the message, and M3 represents a random number.

7. A low power consumption control method for positioning according to claim 6, characterized in that: In the case where multiple subnodes report simultaneously, the base station sorts the received positioning information messages according to the priority of the reporting time, including: Subtracting the reporting time of the positioning information message from the current time to obtain the difference between the reporting time of the positioning information message and the current time; The base station sequentially sorts the positioning information messages according to the priority order of the difference from small to large, and obtains sorted positioning information messages.

8. A low-power positioning control system, characterized in that: include: A base station, the base station is used to broadcast a location information message once at a preset interval; wherein the location information message includes a base station ID and a base station GPS timestamp; The base station is further used to receive a positioning information message sent by a subnode, generate a confirmation message according to the positioning information message, and trigger the signal transmission module to send the confirmation message; A subnode, the subnode is used to receive the location information message sent by the base station, obtain the subnode GPS timestamp, and perform measurement according to the location information message to obtain the location coordinates of the subnode at the subnode GPS timestamp; The subnode is further configured to generate a positioning information message according to the position coordinates and send the positioning information message to the base station when any of the subnodes determines that it is within the time window; The subnode is further configured to receive a confirmation message sent by the base station, adjust the time window and enter a dormant state, so as to report the next positioning information according to the adjusted time window.

9. An electronic device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, a low-power consumption control method for positioning as claimed in any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute a positioning low-power control method as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Method for quickly reporting position information of terminals in digital cluster communication system

    CN103079267A

  • Response time slot reservation method, system and device

    CN108777881A