Shared position and electric quantity positioning method
Through information interaction and sleep control between IoT terminals, the problem of rapid terminal power consumption is solved, location and power sharing is achieved, and power maintenance costs are reduced.
Patent Information
- Application Number
- CN202510888907.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-30
- Publication Date
- 2025-10-03
AI Technical Summary
In the existing technology, the power and location information of IoT terminals are independent, resulting in duplicate location information, causing the terminal power to be consumed too quickly and increasing power maintenance costs.
By sharing the location and power positioning method, IoT terminals can exchange, store and compare terminal information, determine the terminal that needs to maintain working status, and control the other terminal to enter the sleep state, and send information to the cloud only when the preset reporting conditions are met.
It realizes the location and power sharing between IoT terminals, reduces power consumption and lowers power maintenance costs.
Smart Images

Figure CN120751334A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of Internet of Things, and in particular to a positioning method for sharing position and power. Background Art
[0002] In the existing large-scale shelf transportation in warehouses, there are a large number of devices on each batch of shelves. Since each terminal device needs to transmit positioning information to the cloud at a regular interval, not only will the cloud information receiving be overloaded due to multiple terminal devices transmitting to the cloud at the same time, but there is also the possibility of duplication of location information because the power and location information of each terminal are independent, which wastes the terminal power. This causes the terminal power to be consumed too quickly, thereby increasing the speed of terminal power consumption and the subsequent cost of power maintenance. Summary of the Invention
[0003] In response to the shortcomings of the existing technology, the present invention provides a positioning method for sharing location and power, which solves the problem in the existing technology that the power and location information of each terminal are independent, resulting in repeated location information, causing the terminal power to be consumed too quickly, thereby increasing the speed of terminal power consumption and increasing the cost of subsequent power maintenance.
[0004] A positioning method for sharing location and power, the method being implemented based on a positioning system for sharing location and power, wherein the positioning system includes a cloud and multiple Internet of Things terminals, and is characterized by comprising: each of the Internet of Things terminals entering a working state in response to a timed working signal set within the respective terminals, controlling each of the Internet of Things terminals entering the working state to perform pairwise matching; controlling any two matched connected Internet of Things terminals to interactively store and compare terminal information to determine the Internet of Things terminal that needs to maintain a working state, and controlling the other Internet of Things terminal to enter a dormant state; wherein the terminal information includes a terminal number and terminal status information; if it is detected that any Internet of Things terminal in a working state meets a preset reporting condition, controlling the Internet of Things terminal that meets the preset reporting condition to collect location information and send corresponding reporting information to the cloud; wherein the reporting information consists of the location information and terminal information, or the location information, terminal information, and stored terminal information, wherein the stored terminal information is the terminal information of the Internet of Things terminal matched with the Internet of Things terminal; and controlling the cloud to determine each of the Internet of Things terminals and their corresponding location information based on the reporting information sent by the Internet of Things terminals that meet the preset reporting conditions.
[0005] In some embodiments, the Internet of Things terminal includes a Bluetooth module; the steps of controlling each Internet of Things terminal that has entered a working state to perform pairwise matching include: controlling each Internet of Things terminal that has entered a working state to start scanning and broadcasting functions; wherein the scanning and broadcasting functions are implemented by the Bluetooth module; looping through each Internet of Things terminal that has entered a working state, and taking the traversed Internet of Things terminal as the target Internet of Things terminal; determining the corresponding target distance range based on the current position of the target Internet of Things terminal and the preset longest connection distance; determining the matching Internet of Things terminal corresponding to the target Internet of Things terminal based on the distance between each other Internet of Things terminal that has entered a working state and the target Internet of Things terminal within the target distance range; controlling the target Internet of Things terminal and the corresponding matching Internet of Things terminal to perform matching and connection based on their respective scanning and broadcasting functions, and then controlling each Internet of Things terminal that has entered a working state to perform matching and connection with its respective matching Internet of Things terminal.
[0006] In some embodiments, after the step of determining the corresponding target distance range based on the current location of the target IoT terminal and the preset longest connection distance, the step also includes: if there are no other IoT terminals in working state within the target distance range, marking the target IoT terminal as a single-line IoT terminal; controlling the single-line IoT terminal to turn off the corresponding scanning and broadcasting functions, and controlling the single-line IoT terminal to collect location information; controlling the single-line IoT terminal to send corresponding reporting information to the cloud, and controlling the single-line IoT terminal to enter a dormant state; wherein the reporting information corresponding to the single-line IoT terminal consists of the location information and terminal information.
[0007] In some embodiments, the terminal status information includes communication module status information and remaining power information; the step of controlling any two matching connected IoT terminals to interactively store and compare terminal information to determine the IoT terminal that needs to maintain a working state further includes: controlling any two matching connected IoT terminals to interactively store terminal information to obtain the respective interactive terminal information of the any two matching connected IoT terminals; wherein the interactive terminal information includes the terminal information and the stored terminal information; reading two pieces of communication module status information in the interactive terminal information; based on the two pieces of communication module status information, determining whether the communication module status of the any two matching connected IoT terminals are normal; if so, reading two pieces of remaining power information in the interactive terminal information; based on the two pieces of remaining power information, determining that the IoT terminal with a larger corresponding value in the remaining power information is the IoT terminal that needs to maintain a working state, and controlling the IoT terminal with a smaller corresponding value in the remaining power information to enter a sleep state.
[0008] In some embodiments, the terminal status information also includes reporting number information; if so, after the step of reading the two pieces of remaining power information in the interactive terminal information, it also includes: if the two corresponding values in the two pieces of remaining power information are the same, then read the two pieces of reporting number information in the interactive terminal information; based on the two pieces of reporting number information, determine that the Internet of Things terminal with a smaller corresponding value in the reporting number information is the Internet of Things terminal that needs to maintain a working state, and control the Internet of Things terminal with a larger corresponding value in the reporting number information to enter a sleep state.
[0009] In some embodiments, the terminal status information also includes working status duration information; after the step of reading the two reporting times information in the interactive terminal information if the two corresponding values in the two remaining power information are the same, it also includes: if the two corresponding values in the two reporting times information are the same, reading the two working status duration information in the interactive terminal information; based on the two working status duration information, determining that the Internet of Things terminal with a smaller corresponding value in the working status duration information is the Internet of Things terminal that needs to maintain the working status, and controlling the Internet of Things terminal with a larger corresponding value in the working status duration information to enter a sleep state.
[0010] In some embodiments, the step of determining whether the communication module status of any two matching connected IoT terminals are normal based on the two pieces of communication module status information further includes: if the communication module status of one and only one IoT terminal is normal, then determining that the IoT terminal with a normal communication module status is the IoT terminal that needs to maintain a working state, and controlling the other IoT terminal to enter a sleep state.
[0011] In some embodiments, the step of determining whether the communication module states of any two matched connected IoT terminals are both normal based on the two pieces of communication module status information further includes: if both are not normal, controlling the disconnection of the matching between any two matched connected IoT terminals, and controlling the two disconnected IoT terminals to maintain a working state, so as to continue matching other IoT terminals that are in a working state.
[0012] In some embodiments, if it is detected that any IoT terminal in a working state meets the preset reporting conditions, the step of controlling the IoT terminal that meets the preset reporting conditions to collect location information and send corresponding reporting information to the cloud further includes: if it is detected that the number of stored terminal information of any IoT terminal in a working state is equal to a preset number value, or it is detected that the duration of time after any IoT terminal in a working state enters the working state reaches a preset duration, then it is determined that the IoT terminal in a working state meets the preset reporting conditions; controlling the IoT terminal that meets the preset reporting conditions to collect location information and send corresponding reporting information to the cloud.
[0013] In some embodiments, the step of controlling the cloud to determine each of the IoT terminals and their corresponding location information based on the reporting information sent by the IoT terminals that meet the preset reporting conditions further includes: controlling the cloud to determine the IoT terminals that meet the preset reporting conditions and their corresponding location information based on the reporting information sent by the IoT terminals that meet the preset reporting conditions; controlling the cloud to detect whether there is stored terminal information in the reporting information; if so, controlling the cloud to read the terminal number in the stored terminal information as the target terminal number; controlling the cloud to match the location information in the reporting information with the IoT terminal corresponding to the target terminal number, thereby determining the IoT terminal corresponding to the target terminal number and its corresponding location information.
[0014] In some embodiments, the positioning system for sharing location and power includes a controller, a cloud and multiple IoT terminals, wherein: the controller is used to control the operation and connection of the cloud and the IoT terminals; the cloud is used to receive the reported information uploaded by each IoT terminal to manage the location information of each IoT terminal; the IoT terminal includes a location acquisition module, a Bluetooth module, a power supply, a communication module and a storage module; wherein the location acquisition module is used to perform location acquisition work to collect location information; the Bluetooth module is used to perform matching work with other IoT terminals; the power supply is used to power the IoT terminal; the IoT terminal is connected to the cloud through the communication module; the storage module is used to store the location information, the terminal information and the stored terminal information.
[0015] The technical principle of the present invention is as follows: by interactively storing and comparing terminal information of IoT terminals that are matched and connected in pairs, the IoT terminal that needs to maintain a working state is determined, and the other IoT terminal is controlled to enter a dormant state. After the IoT terminal in the working state meets the preset reporting conditions, the reporting information is sent to the cloud, and finally the location information is matched with the IoT terminal through the cloud based on the reporting information. By allowing one of the IoT terminals that are matched and connected in pairs to enter a dormant state, the working time and working power of the IoT terminal are saved, and power sharing is achieved between the matched and connected IoT terminals. At the same time, based on the interactively stored terminal information, the location sharing of the dormant IoT terminal and the other IoT terminal in the matched and connected IoT terminals is achieved in the cloud, and finally the location and power sharing between the IoT terminals is achieved, thereby reducing the power consumption of the IoT terminals and further reducing the cost of subsequent power maintenance.
[0016] Compared with the existing technology, the present invention has the following beneficial effects: by allowing one of the IoT terminals matched with each other to enter a dormant state, the working time and working power of the IoT terminal are saved, and at the same time, based on the interactively stored terminal information, the position sharing of the dormant IoT terminal and the other IoT terminal in the IoT terminals matched with each other is realized in the cloud, which solves the existing technical problem that the power and position information of each terminal are independent, resulting in repeated position information, causing the terminal power to be consumed too quickly, thereby increasing the speed of terminal power consumption, and thereby increasing the cost of subsequent power maintenance. It realizes the sharing of position and power between IoT terminals, thereby reducing the power consumption of IoT terminals, and thereby reducing the cost of subsequent power maintenance. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 This is an application scenario diagram of an embodiment of the present invention.
[0018] Figure 2 The figure is a flowchart of a positioning method for sharing position and power according to an embodiment of the present invention.
[0019] Figure 3 FIG2 is a flow chart of a positioning method for sharing position and power according to another embodiment of the present invention.
[0020] Figure 4 FIG2 is a flow chart of a positioning method for sharing position and power according to another embodiment of the present invention.
[0021] Figure 5 FIG2 is a flow chart of a positioning method for sharing position and power according to another embodiment of the present invention.
[0022] Figure 6FIG2 is a flow chart of a positioning method for sharing position and power according to another embodiment of the present invention.
[0023] Figure 7 FIG2 is a flow chart of a positioning method for sharing position and power according to another embodiment of the present invention.
[0024] Figure 8 FIG2 is a flow chart of a positioning method for sharing position and power according to another embodiment of the present invention.
[0025] Figure 9 FIG2 is a flow chart of a positioning method for sharing position and power according to another embodiment of the present invention.
[0026] Figure 10 This is a structural block diagram of a positioning system for sharing position and power according to an embodiment of the present invention.
[0027] Figure 11 This is a structural block diagram of an Internet of Things terminal according to an embodiment of the present invention.
[0028] Figure 12 This is a schematic structural diagram of an embodiment of a computer device provided by the present invention.
[0029] In the above drawings: 4, positioning system; 41, controller; 42, cloud; 43, IoT terminal; 431, location acquisition module; 432, Bluetooth module; 433, power supply; 434, communication module; 435, storage module; A, remote terminal. DETAILED DESCRIPTION
[0030] The technical solution of the present invention is further described below with reference to the accompanying drawings and embodiments.
[0031] Feasibility description of the present invention: Traditionally, each IoT terminal needs to operate independently, but in fact, the IoT terminals transported together have almost the same location information. The location of one IoT terminal can reflect other devices. Therefore, the concept and method of location sharing are proposed. The IoT terminals broadcast through Bluetooth to reflect their own related status information (battery power, etc.). After the IoT terminals scan and interact, one IoT terminal will sleep and the other will continue to work. The terminal information of the dormant IoT terminal will be stored in the working IoT terminal. The working IoT terminal will start its own location acquisition module to complete the positioning, and the location information will be shared with the surrounding dormant devices.
[0032] Application scenarios of the present invention are as follows Figure 1 As shown, Figure 1It includes a positioning system 4 and a remote terminal A, wherein the full name of the positioning system 1 is "positioning system for sharing position and power", and the positioning system 4 and the remote terminal A are connected through communication, and the communication method includes but is not limited to supporting 5G-RedCap (5G lightweight), 4G, NB-IOT (narrowband Internet of Things), WiFi and other wireless communication technologies.
[0033] like Figure 2 As shown, an embodiment of the present invention provides a method for positioning a shared location and power level. This method is implemented based on a shared location and power level positioning system, where the positioning system includes a cloud and multiple IoT terminals. The method is executed by a master controller within the shared location and power level positioning system.
[0034] The method comprises the following steps:
[0035] Step S11: Each IoT terminal responds to its own internally set timing working signal to enter a working state, and controls each IoT terminal that has entered the working state to perform a pair-wise matching work.
[0036] Among them, the Internet of Things terminals that enter the working state perform pairwise matching and position collection, and the Internet of Things terminals obtain position information when performing position collection.
[0037] Specifically, IoT terminals are installed on assets, pallets, shelves, etc., and can report their own location information and heartbeat data to the cloud. The cloud is a cloud management system used to manage IoT terminals, including location display, upgrade management, configuration management and other functions. It is mainly used for the management of working condition data of IoT terminals, real-time location and historical trajectory display of IoT terminals, IoT terminal upgrades, and remote configuration of IoT terminals.
[0038] The preset positioning signal is the cloud's need to periodically obtain the location information of the IoT terminal. It is set in advance by relevant personnel and is set in the entire positioning system as a built-in timer clock, or it is sent to the IoT terminal via the cloud at a fixed time. From a technical implementation perspective, the built-in timer clock is set in the positioning system, which can directly control the IoT terminal to enter the working state after the controller responds. This avoids the situation where some IoT terminals cannot receive the signal due to communication anomalies when sending it from the cloud to the IoT terminal.
[0039] Once an IoT terminal enters operation, it must actively collect its location and match itself with other IoT terminals in the same state. This location collection is accomplished using the location collection module included in the IoT terminal. This IoT terminal uses a master-slave Bluetooth module that can both scan and broadcast, enabling matching with other IoT terminals.
[0040] It should be noted that IoT terminals are matched with each other in pairs. There may be a single IoT terminal that is matched and connected with multiple IoT terminals in sequence, and there may also be IoT terminals that are not matched and connected at all.
[0041] Step S12: Control any two matching connected IoT terminals to interactively store and compare terminal information to determine the IoT terminal that needs to maintain a working state, and control the other IoT terminal to enter a dormant state.
[0042] The terminal information includes the terminal number and terminal status information.
[0043] Specifically, the terminal number is a unique code for each IoT terminal and there is no duplication. The cloud also distinguishes different IoT terminals based on the terminal number.
[0044] Any two matching connected IoT terminals, which have been connected based on the Bluetooth module, further exchange their respective terminal information based on the Bluetooth module, and store the terminal information of the other party. Compare with the terminal information of the other party to determine that the IoT terminal with priority reporting is the terminal that continues to maintain the working state, and the other IoT terminal can directly enter the dormant state to save power. The IoT terminal that enters the dormant state will no longer report data this time. The IoT terminal that can report information (that is, the IoT terminal with priority reporting) will continue to broadcast and scan because it is still in the working state, and after matching and connecting to the next IoT terminal, repeat the step of "interactive storage and comparison of terminal information to determine the IoT terminal that needs to maintain the working state and control the other IoT terminal to enter the dormant state" in this step until the preset reporting conditions are met and the matching of new IoT terminals is stopped.
[0045] Step S13: If it is detected that any IoT terminal in working state meets the preset reporting conditions, the IoT terminal meeting the preset reporting conditions is controlled to collect location information and send corresponding reporting information to the cloud.
[0046] The reported information is composed of location information and terminal information, or location information, terminal information and stored terminal information, and the stored terminal information is the terminal information of the Internet of Things terminal that matches and connects to the Internet of Things terminal.
[0047] Specifically, the stored terminal information, like the terminal information, includes the terminal number and terminal status information. The preset reporting conditions are: if the amount of stored terminal information stored by an IoT terminal in working state reaches a preset value, or if the duration of the IoT terminal's last working state reaches a preset duration, then the corresponding IoT terminal meets the preset reporting conditions. IoT terminals that meet the preset reporting conditions first collect location information and then transmit the reporting information to the cloud via a communication module. The reporting information includes location information and terminal information, or location information, terminal information, and stored terminal information. Whether the reported information includes stored terminal information depends on whether a matching connection is completed in step S11. Only IoT terminals that have experienced a matching connection in step S11 and exchanged terminal information in step S12 will have stored terminal information. If an IoT terminal does not match and connect with other IoT terminals in working state in step S11, the corresponding reported information does not contain stored terminal information, but only location information and terminal information.
[0048] Step S14: The cloud is controlled to determine each IoT terminal and its corresponding location information based on the reporting information sent by the IoT terminal that meets the preset reporting conditions.
[0049] Specifically, after the data of each IoT terminal is uploaded to the cloud, the cloud will parse the data reported by the IoT terminal, share and match the locations of other IoT terminals carried by each IoT terminal, and complete the sharing of IoT terminal locations.
[0050] Beneficial effect: By allowing one of the IoT terminals matched with each other to enter a dormant state, the working time and working power of the IoT terminal are saved. At the same time, based on the terminal information stored in the interaction, the position sharing of the dormant IoT terminal and another IoT terminal in the IoT terminals matched with each other is realized in the cloud. This solves the existing technical problem that the power and position information of each terminal are independent, resulting in repeated position information, causing the terminal power to be consumed too quickly, thereby increasing the speed of terminal power consumption and increasing the subsequent cost of power maintenance. It realizes the sharing of position and power between IoT terminals, thereby reducing the power consumption of IoT terminals and reducing the subsequent cost of power maintenance.
[0051] In some embodiments, the IoT terminal includes a Bluetooth module; Figure 3 As shown, step S11 includes:
[0052] Step S111: Control each IoT terminal that has entered the working state to start scanning and broadcasting functions.
[0053] Among them, the scanning and broadcasting functions are realized by the Bluetooth module.
[0054] Specifically, IoT terminals use a Bluetooth SOC master controller for device Bluetooth-related functions. Device Bluetooth adopts a master-slave system, capable of both broadcasting and scanning, thus enabling connections between terminal devices. Beneficial effects: Bluetooth modules enable matching connections between IoT terminals, paving the way for subsequent location and power sharing.
[0055] Step S112: Circulate through all IoT terminals that have entered the working state, and use the traversed IoT terminals as target IoT terminals.
[0056] Specifically, the system loops through each active IoT terminal that currently has no matching connection, and uses the found IoT terminal as the target IoT terminal. Note that as long as an IoT terminal is active and not currently connected, it is considered to be traversed. Even if it has been traversed once or multiple times, or has been connected and then disconnected, it still counts as being traversed.
[0057] Step S113: Determine a corresponding target distance range based on the current location of the target IoT terminal and the preset longest connection distance.
[0058] Specifically, the preset maximum connection distance is determined by the performance of the Bluetooth module used by the target IoT terminal. It can also be manually set, as long as the preset maximum connection distance is within the Bluetooth module's scanning or broadcast range. A circular target distance range is defined with the target IoT terminal as the center and the preset maximum connection distance as the radius. Within this target distance range, all active IoT terminals can connect to the target IoT terminal.
[0059] Step S114: determining a matching IoT terminal corresponding to the target IoT terminal according to the distances between the target IoT terminal and other IoT terminals that have entered the working state within the target distance range.
[0060] Specifically, the distances between the target IoT terminal and the other IoT terminals that have entered the working state within the target distance range are calculated in sequence, and the IoT terminal with the smallest corresponding distance value is used as the matching IoT terminal. Because the Bluetooth module reflects the signal strength of the corresponding connectable terminal based on the distance when scanning and broadcasting, in this embodiment of the present invention, the IoT terminal with the strongest signal, that is, the closest distance, is preferentially matched and connected, thereby better ensuring the stability of the subsequent information interaction and storage in step 12, and avoiding errors and omissions in the information interaction and storage.
[0061] Step S115: Control the target IoT terminal and the corresponding matching IoT terminal to perform matching and connection work based on their respective scanning and broadcasting functions, and then control each IoT terminal that has entered the working state to perform matching and connection work with its corresponding matching IoT terminal.
[0062] Specifically, after determining the matching IoT terminal of the target IoT terminal, the target IoT terminal is controlled to match and connect with the corresponding matching IoT terminal based on their respective scanning and broadcasting functions. After looping through, a corresponding matching IoT terminal can be found for each IoT terminal that has entered the working state. However, since there is a current matching connection, after the subsequent step S12 is performed, the IoT terminal is again in the working state and is not currently matched and connected, and will be looped through again to repeat steps S112 to S115. Similarly, there are cases where no matching IoT terminal for matching and connection is found after the traversal process. There are two possible processing situations for such IoT terminals: one is to immediately collect location information, report it, and then go into sleep mode; the other is to remain in the loop traversal range until a matching IoT terminal is matched or the working time reaches a certain threshold, at which time the location information is collected, reported, and then goes into sleep mode. Both situations are described in detail in the subsequent embodiments.
[0063] Beneficial effects: Based on the Bluetooth module, matching connections between IoT terminals are realized, thus providing a feasibility basis for subsequent location sharing and power sharing; at the same time, through the loop traversal method, each IoT terminal that has entered the working state can be matched and searched for, thereby avoiding omissions of IoT terminals.
[0064] In some embodiments, as Figure 4 As shown, after step S112, the following steps are further included:
[0065] Step S21: If there are no other IoT terminals in working state within the target distance range, the target IoT terminal is marked as a single-line IoT terminal.
[0066] Specifically, if no other IoT terminals are operating within the target distance range, then the target IoT terminal has no corresponding matching IoT terminal. This target IoT terminal can then be marked as a single-line IoT terminal. This embodiment of the present invention is applicable when the target distance range is set to a large value. A large target distance range indicates that the corresponding preset maximum connection distance is sufficiently long. Therefore, as long as there are no other IoT terminals operating within the target distance range, the target IoT terminal is determined to utilize a separate transport route.
[0067] Step S22: Control the single-line Internet of Things terminal to turn off the corresponding scanning and broadcasting functions, and control the single-line Internet of Things terminal to collect location information.
[0068] Specifically, the single-line IoT terminal is first controlled to turn off the scanning and broadcasting functions to save power consumption of the single-line IoT terminal. Then, the single-line IoT terminal is controlled to collect location information to obtain corresponding location information.
[0069] Step S23: Control the single-line Internet of Things terminal to send corresponding reporting information to the cloud, and control the single-line Internet of Things terminal to enter a dormant state.
[0070] Among them, the reporting information corresponding to the single-line IoT terminal consists of location information and terminal information.
[0071] Specifically, because the single-line IoT terminal has no corresponding matching IoT terminal, the reported information only includes the collected location information and its own terminal information. After the report is completed, the single-line IoT terminal is directly controlled to enter a dormant state to save power.
[0072] Beneficial Effects: After it is determined that the target IoT terminal has no corresponding matching IoT terminal, the target IoT terminal is promptly marked as a single-line IoT terminal and its scanning and broadcasting functions are disabled to save power. Location collection and information reporting are then performed, and the terminal is then controlled to enter a dormant state. This significantly reduces the power consumption of the single-line IoT terminal, saving power consumption. At the same time, putting the single-line IoT terminal into dormancy reduces the number of IoT terminals traversed in the loop, saving computing threads.
[0073] In some embodiments, the terminal status information includes communication module status information and remaining power information; Figure 5 As shown, step S12 further includes:
[0074] Step S121: controlling any two matched connected IoT terminals to perform terminal information interaction and storage, and obtaining respective interactive terminal information of the any two matched connected IoT terminals.
[0075] The interactive terminal information includes terminal information and storage terminal information.
[0076] Specifically, after the IoT terminals scan and interact with each other, they will each obtain the terminal information of the other IoT terminal as their own stored terminal information, and combine them together to obtain the interactive terminal information.
[0077] Step S122: Read two pieces of communication module status information in the interactive terminal information.
[0078] The interactive terminal information includes the terminal information of two matched connected IoT terminals, because the terminal information includes the communication module status information and the remaining power information.
[0079] Specifically, it is necessary to compare and contrast the communication module status information in the terminal information of two matching connected IoT terminals.
[0080] Step S123: Determine whether the communication module states of any two matching connected IoT terminals are both normal based on the two pieces of communication module state information.
[0081] The communication module status information may be either normal or abnormal.
[0082] Specifically, only if the values of the two communication module status information are normal can the information be reported to the cloud later.
[0083] Step S124: If yes, read two pieces of remaining power information in the interactive terminal information.
[0084] Among them, the remaining power information represents the remaining power of the IoT terminal itself.
[0085] Specifically, since the power consumption of an IoT terminal in a working state and in a dormant state is quite different, a terminal with more remaining power can remain in the working state for a longer time.
[0086] Step S125: Based on the two pieces of remaining power information, determine that the IoT terminal with the larger value in the remaining power information is the IoT terminal that needs to maintain a working state, and control the IoT terminal with the smaller value in the remaining power information to enter a dormant state.
[0087] Among them, the corresponding value in the remaining power information is the current remaining power of the corresponding IoT terminal.
[0088] Specifically, since the IoT terminal in the working state still needs to continue matching after the comparison, it requires more remaining power to ensure normal operation, while the IoT terminal in the dormant state consumes relatively less power. Therefore, the corresponding state of the two IoT terminals can be directly determined based on the corresponding values in the remaining power information. The IoT terminal with the larger value needs to continue working, and the IoT terminal with the smaller value needs to enter the dormant state.
[0089] Beneficial Effects: For any two matched IoT terminals, the communication module status information and remaining battery information are used to determine which IoT terminal needs to remain in a continuously active state and which IoT terminal needs to enter a dormant state, thereby refining and quantifying the terminal information comparison process. The steps for controlling any two matched IoT terminals, interactively storing and comparing terminal information, and determining which IoT terminal needs to remain in an active state are also refined.
[0090] In some embodiments, the terminal status information also includes reporting times information; Figure 6As shown, after step S124, the following steps are further included:
[0091] Step S31: If the two corresponding values in the two pieces of remaining power information are the same, then read the two pieces of reporting times information in the interactive terminal information.
[0092] Among them, if the remaining power information of two matched connected IoT terminals is the same, the corresponding two values will be the same.
[0093] Specifically, if the two corresponding values in the remaining power information are the same, it means that the communication status and power status of the two matched connected IoT terminals are the same, so it is necessary to read the reporting number information as a basis for further judging which of the two IoT terminals maintains the working state and which enters the sleep state.
[0094] Step S32: Based on the two pieces of reporting number information, determine that the IoT terminal with the smaller value in the reporting number information is the IoT terminal that needs to maintain a working state, and control the IoT terminal with the larger value in the reporting number information to enter a dormant state.
[0095] Among them, the number of reports refers to the number of times the IoT terminal sends reporting information to the cloud.
[0096] Specifically, a larger value for the number of reports indicates that the IoT terminal has reported more frequently, indicating a greater workload and frequent operation of the communication module responsible for reporting, which can lead to fatigue and poor communication performance. Therefore, IoT terminals with smaller values for the number of reports are selected as those that need to remain operational to ensure communication performance for subsequent reports.
[0097] Beneficial Effects: For any two connected IoT terminals, if their communication module status information and remaining battery power information are identical, a comparison of the number of reported times is added to determine which IoT terminal needs to remain in a continuously active state and which needs to enter a dormant state, thereby enriching the terminal information comparison content. The steps for controlling any two connected IoT terminals, interactively storing and comparing terminal information, and determining which IoT terminal needs to remain in a continuously active state are refined.
[0098] In some embodiments, the terminal status information also includes information on the duration of the working state; Figure 7 As shown, after step S31, the following steps are further included:
[0099] Step S311: If the two corresponding values in the two pieces of reporting number information are the same, then read the two pieces of working state duration information in the interactive terminal information.
[0100] The working state duration information represents the duration of the current IoT terminal entering the working state.
[0101] Specifically, if the two values corresponding to the reporting times are the same, it means that the historical reporting times of the two corresponding IoT terminals are also the same. In this case, the duration of the working state should be introduced for further judgment.
[0102] Step S312: Based on the two pieces of working status duration information, determine that the IoT terminal with the smaller value in the working status duration information is the IoT terminal that needs to maintain the working status, and control the IoT terminal with the larger value in the working status duration information to enter the dormant state.
[0103] Among them, the corresponding value in the working status duration information is the duration of time the corresponding IoT terminal enters the working state this time.
[0104] Specifically, the larger the value corresponding to the working state duration, the longer the IoT terminal is in the working state. Prolonged working state consumes a large amount of power and controller power in the IoT terminal. To ensure optimal performance of IoT terminals that remain in the working state, IoT terminals with smaller values corresponding to the working state duration are selected as the IoT terminals that need to be maintained in the working state to ensure subsequent performance. Meanwhile, IoT terminals with larger values corresponding to the working state duration are controlled to enter a dormant state.
[0105] Beneficial Effects: For any two connected IoT terminals, if their communication module status information, remaining battery information, and reporting coefficient information are identical, a comparison of the duration of working status is added to determine which IoT terminal needs to remain in a continuously working state and which needs to enter a dormant state, thereby enriching the terminal information comparison content. The steps for controlling any two connected IoT terminals, interactively storing and comparing terminal information, and determining which IoT terminal needs to remain in a continuously working state are refined.
[0106] In some embodiments, step S123 further includes: if the communication module status of one and only one IoT terminal is normal, then the IoT terminal with the normal communication module status is determined to be the IoT terminal that needs to maintain the working state, and the other IoT terminal is controlled to enter a dormant state. Among them, the communication module is the technical basis for the connection between the IoT terminal and the cloud. Specifically, among the two matched connected IoT terminals, if the communication module status of any one IoT terminal is normal, and the communication module status of the other IoT terminal is abnormal, the IoT terminal with the abnormal communication module status can be quickly controlled to enter a dormant state to improve comparison and control efficiency.
[0107] Beneficial effect: Among the two IoT terminals that are matched and connected, the communication module status is compared to quickly determine the IoT terminal that needs to enter the dormant state, thereby improving the overall matching and control efficiency.
[0108] In some embodiments, step S123 further includes: if both are not normal, controlling the disconnection of the matching between any two matching connected IoT terminals, so that the two IoT terminals that are disconnected from the matching maintain a working state, and then continuing to match other IoT terminals that are in a working state.
[0109] Specifically, if both are abnormal, it means that the communication modules of the two matched connected IoT terminals are abnormal and cannot send reporting information to the cloud through the communication modules. Specifically, it is necessary to disconnect the matching connection between the two, and both are in working state, and continue to match other IoT terminals in working state, so that the IoT terminal with normal communication module can be matched. Beneficial effect: In view of the situation that the status information of the communication modules are all abnormal, it is proposed to disconnect the matching connection to continue to match other IoT terminals in working state. It enriches the technical solution when the status information of the communication modules are all abnormal, and further improves the technical solution of the present invention.
[0110] In some embodiments, as Figure 8 As shown, step S13 further includes:
[0111] Step S131: If it is detected that the number of stored terminal information of any IoT terminal in working state is equal to the preset number value, or if it is detected that the duration of any IoT terminal in working state after entering the working state reaches the preset duration, it is determined that the IoT terminal in working state meets the preset reporting conditions.
[0112] Since an active IoT terminal can randomly match with other active IoT terminals within a certain distance, each matching connection will cause one IoT terminal to enter a dormant state, provided at least one IoT terminal's communication module is functioning properly. Active IoT terminals then store the terminal information of dormant IoT terminals. However, due to limited storage memory, excessive storage can lead to slow upload speeds. Furthermore, factors such as the battery life of IoT terminals necessitate a limit on the amount of terminal information that can be stored to ensure that uploads to the cloud are not missed, incomplete, or unsuccessful. The duration of the active state is determined by the cloud's need to regularly obtain the location information of IoT terminals. If the active state is maintained for extended periods without considering power consumption, significant position fluctuations may occur, resulting in inaccurate location information uploaded to the cloud or the omission of previously acquired location information.
[0113] Specifically, when the reporting time (ie, the duration in the working state) or the amount of terminal information stored in the device reaches a threshold, Bluetooth broadcasting and scanning are stopped.
[0114] Step S132: Control the IoT terminals that meet the preset reporting conditions to collect location information and send corresponding reporting information to the cloud.
[0115] Specifically, IoT terminals that meet the preset reporting conditions will send corresponding reporting information to the cloud.
[0116] Beneficial effect: The content of the preset reporting conditions is further refined, and the technical solution of the present invention is improved.
[0117] In some embodiments, as Figure 9 As shown, step S14 further includes:
[0118] Step S141: The control cloud determines the IoT terminals that meet the preset reporting conditions and their corresponding location information based on the reporting information sent by the IoT terminals that meet the preset reporting conditions.
[0119] Among them, the IoT terminals that meet the preset reporting conditions collected location information.
[0120] Specifically, the cloud determines the IoT terminals that meet the preset reporting conditions and the corresponding location information based on the reported information.
[0121] Step S142: Control the cloud to detect whether there is storage terminal information in the reported information.
[0122] Specifically, the control cloud detects whether there is stored terminal information in the reported information. If there is stored terminal information, then the stored terminal information corresponds to other dormant IoT terminals.
[0123] Step S143: If it exists, control the cloud to read the terminal number in the storage terminal information as the target terminal number.
[0124] Specifically, the stored terminal information includes a terminal number, and the terminal number in the stored terminal information is read as the target terminal number to prepare for matching the location information.
[0125] Step S144: the cloud is controlled to match the location information in the reported information with the IoT terminal corresponding to the target terminal number, thereby determining the IoT terminal corresponding to the target terminal number and its corresponding location information.
[0126] Specifically, the target terminal number is matched with the location confidence in the corresponding reported information to determine the Internet of Things terminal corresponding to the target terminal number and its corresponding location information.
[0127] Beneficial effect: The steps of determining each IoT terminal and its corresponding location information based on the reporting information sent by the IoT terminal that meets the preset reporting conditions are further refined, thereby improving the technical solution of the present invention.
[0128] In some embodiments, after step S14, it also includes: if there is an IoT terminal that lacks location information, controlling the cloud to send an abnormal information notification to the remote terminal.
[0129] Among them, the abnormal information notification includes the terminal number of the Internet of Things terminal that lacks location information.
[0130] Specifically, after the cloud determines the location information for each IoT terminal, it is necessary to check whether the location information exists for each IoT terminal. If there is an IoT terminal without location information, it indicates that the corresponding IoT terminal has an abnormality. An abnormality message is then sent to a remote terminal as a prompt. The remote terminal is held by a staff member, and the abnormality message includes the abnormal IoT terminal. This allows staff to quickly identify the abnormal IoT terminal.
[0131] Beneficial effect: When an IoT terminal lacks location information, the control cloud sends abnormal information to the remote terminal as a prompt, thereby realizing timely detection of abnormalities and abnormal prompts to the remote terminal.
[0132] like Figure 10 and Figure 11 As shown, an embodiment of the present invention proposes a positioning system for sharing location and power. The positioning system includes a controller 41, a cloud 42, and multiple IoT terminals 43, wherein: the controller 41 is used to control the operation and connection of the cloud 42 and the IoT terminals 43. The cloud 42 is used to receive the reported information uploaded by each IoT terminal 43 to manage the location information of each IoT terminal 43. The IoT terminal 43 includes a location acquisition module 431, a Bluetooth module 432, a power supply 433, a communication module 434, and a storage module 435. The location acquisition module 431 is used to perform location acquisition work to collect location information; the Bluetooth module 432 is used to perform matching work with other IoT terminals; the power supply 433 is used to power the IoT terminal 43; the IoT terminal 43 is connected to the cloud 42 via the communication module 434; and the storage module 435 is used to store location information, terminal information, and stored terminal information.
[0133] Specifically, the location acquisition module 431 achieves positioning through base station positioning, WiFi-assisted positioning, and beacon scanning (beacon). During outdoor transportation, the IoT terminal 43 needs to activate the module for base station positioning or WiFi-assisted positioning. In some cases, an acceleration sensor is also included, which can calculate displacement by integrating acceleration, correct the motion trajectory, and detect the tilt angle of the IoT terminal to eliminate cumulative errors. At the same time, when the GPS signal is lost, the continuity of short-term positioning can be maintained based on acceleration data. The Bluetooth module 432 adopts a master-slave integrated system, which can broadcast and scan, thereby enabling interconnection between IoT terminals. The power supply 433 specifically adopts a battery and auxiliary circuits. The communication module 434 includes but is not limited to support for wireless communication methods such as 5G-RedCap (5G lightweight), 4G, NB-IOT (narrowband Internet of Things), and WiFi, and connects to the cloud 42. The cloud (cloud management system) includes IoT terminal management, location display, upgrade management, configuration management, etc., mainly completing the management of IoT terminal working condition data, IoT terminal real-time location and historical trajectory display, IoT terminal upgrade, IoT terminal remote configuration, etc.
[0134] Beneficial effect: By allowing one of the IoT terminals matched with each other to enter a dormant state, the working time and working power of the IoT terminal are saved. At the same time, based on the terminal information stored in the interaction, the position sharing of the dormant IoT terminal and another IoT terminal in the IoT terminals matched with each other is realized in the cloud. This solves the existing technical problem that the power and position information of each terminal are independent, resulting in repeated position information, causing the terminal power to be consumed too quickly, thereby increasing the speed of terminal power consumption and increasing the subsequent cost of power maintenance. It realizes the sharing of position and power between IoT terminals, thereby reducing the power consumption of IoT terminals and reducing the subsequent cost of power maintenance.
[0135] Figure 12 A schematic structural diagram of an embodiment of a computer device of the present invention is shown, which shows a schematic structural diagram of a computer system suitable for implementing the computer device of the embodiment of the present invention. The specific embodiment of the present invention does not limit the specific implementation of the computer device.
[0136] See also Figure 12 As shown, the computer device includes: a controller; a memory for storing one or more programs, and when the one or more programs are executed by the controller, the above-mentioned positioning method for sharing position and power is executed.
[0137] Please continue reading Figure 12As shown, the computer system 500 of the computer device includes a central processing unit (CPU) 501, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 502 or the program loaded from the storage part 508 into the random access memory (RAM) 503, such as executing the method in the above embodiment. Various programs and data required for system operation are also stored in the RAM 503. The CPU 501, ROM 502 and RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0138] The following components are connected to the I / O interface 505: an input section 506 including a keyboard, a mouse, and the like; an output section 507 including devices such as a cathode ray tube (CRT), a liquid crystal display (LCD), and a speaker; a storage section 508 including a hard disk and the like; and a communication section 509 including a network interface card such as a LAN (Local Area Network) card or a modem. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I / O interface 505 as needed. Removable media 511, such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory, is installed in the drive 510 as needed, so that computer programs read therefrom can be installed into the storage section 508 as needed.
[0139] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present invention includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via the communication section 509 and / or installed from a removable medium 511. When the computer program is executed by the central processing unit (CPU) 501, the various functions defined in the system of the present invention are performed.
[0140] Another aspect of the present invention further provides a computer-readable storage medium, which stores at least one executable instruction. When the executable instruction is executed on a computer device / equipment, the computer device / equipment executes a positioning method for sharing position and power as in any of the above embodiments.
[0141] Beneficial effect: By allowing one of the IoT terminals matched with each other to enter a dormant state, the working time and working power of the IoT terminal are saved. At the same time, based on the terminal information stored in the interaction, the position sharing of the dormant IoT terminal and another IoT terminal in the IoT terminals matched with each other is realized in the cloud. This solves the existing technical problem that the power and position information of each terminal are independent, resulting in repeated position information, causing the terminal power to be consumed too quickly, thereby increasing the speed of terminal power consumption and increasing the subsequent cost of power maintenance. It realizes the sharing of position and power between IoT terminals, thereby reducing the power consumption of IoT terminals and reducing the subsequent cost of power maintenance.
[0142] It should be noted that the computer-readable medium shown in the embodiments of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, which carries a computer-readable computer program. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. A computer program embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wired, or any suitable combination thereof.
[0143] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. Among them, each box in the flowchart or block diagram can represent a module, program segment, or part of the code, and the above-mentioned module, program segment, or part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0144] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. In some cases, the names of these units do not constitute limitations on the units themselves.
[0145] According to one aspect of an embodiment of the present application, a computer system is further provided, including a central processing unit (CPU), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) or a program loaded from a storage portion into a random access memory (RAM), such as executing the method in the above embodiment. Various programs and data required for system operation are also stored in the RAM. The CPU, ROM, and RAM are connected to each other via a bus. An input / output (I / O) interface is also connected to the bus.
[0146] The following components are connected to the I / O interface: an input section including a keyboard, mouse, etc.; an output section including a cathode ray tube (CRT), liquid crystal display (LCD), and speakers; a storage section including a hard disk; and a communication section including a network interface card such as a LAN (Local Area Network) card and a modem. The communication section performs communication processing via a network such as the Internet. A drive is also connected to the I / O interface as needed. Removable media such as magnetic disks, optical disks, magneto-optical disks, semiconductor memories, etc. are installed in the drive as needed so that computer programs read from them can be installed into the storage section as needed.
[0147] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not limiting. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the purpose and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.
Claims
1. A positioning method for sharing position and power, the method is implemented based on a positioning system for sharing position and power, wherein: The positioning system includes a cloud and multiple IoT terminals, and is characterized by including: Each of the IoT terminals enters a working state in response to a timed working signal set in the respective terminals, and controls the IoT terminals that enter the working state to perform pairwise matching; Control any two matched connected IoT terminals to interactively store and compare terminal information to determine which IoT terminal needs to remain in working state and control the other IoT terminal to enter a dormant state; wherein the terminal information includes the terminal number and terminal status information; If it is detected that any IoT terminal in a working state meets the preset reporting conditions, the IoT terminal that meets the preset reporting conditions is controlled to collect location information and send corresponding reporting information to the cloud; wherein the reporting information is composed of the location information and terminal information, or the location information, terminal information and stored terminal information, and the stored terminal information is the terminal information of the IoT terminal that is matched with the IoT terminal; The cloud is controlled to determine each of the IoT terminals and its corresponding location information according to the reporting information sent by the IoT terminals that meet the preset reporting conditions.
2. The method according to claim 1, characterized in that The IoT terminal includes a Bluetooth module; the steps of controlling each IoT terminal that enters a working state to perform pairwise matching include: Controlling each IoT terminal that has entered a working state to start scanning and broadcasting functions; wherein the scanning and broadcasting functions are implemented by the Bluetooth module; Loop through the IoT terminals that have entered the working state, and use the traversed IoT terminals as target IoT terminals; Determine a corresponding target distance range based on the current location of the target IoT terminal and a preset maximum connection distance; Determining a matching IoT terminal corresponding to the target IoT terminal based on the distances between the target IoT terminal and other IoT terminals that have entered a working state within the target distance range; The target IoT terminal is controlled to perform matching and connection with the corresponding matching IoT terminal based on their respective scanning and broadcasting functions, thereby controlling each IoT terminal that has entered a working state to perform matching and connection with its corresponding matching IoT terminal.
3. The method according to claim 2, characterized in that After determining the corresponding target distance range based on the current location of the target IoT terminal and the preset longest connection distance, the method further includes: If there are no other IoT terminals in working state within the target distance range, the target IoT terminal is marked as a single-line IoT terminal; Controlling the single-line Internet of Things terminal to disable the corresponding scanning and broadcasting functions, and controlling the single-line Internet of Things terminal to collect location information; Control the single-line Internet of Things terminal to send corresponding reporting information to the cloud, and control the single-line Internet of Things terminal to enter a dormant state; wherein the reporting information corresponding to the single-line Internet of Things terminal consists of the location information and terminal information.
4. The method according to claim 1, wherein The terminal status information includes communication module status information and remaining power information; The step of controlling any two matching connected IoT terminals to interactively store and compare terminal information to determine the IoT terminal that needs to maintain a working state includes: Control any two matched connected IoT terminals to perform terminal information interaction and storage, and obtain the respective interactive terminal information of the any two matched connected IoT terminals; wherein the interactive terminal information includes the terminal information and the stored terminal information; Read two pieces of communication module status information in the interactive terminal information; Determine, based on the two pieces of communication module status information, whether the communication module states of any two matched connected IoT terminals are both normal; If yes, read two pieces of remaining power information in the interactive terminal information; According to the two pieces of remaining power information, it is determined that the IoT terminal with the larger corresponding value in the remaining power information is the IoT terminal that needs to maintain a working state, and the IoT terminal with the smaller corresponding value in the remaining power information is controlled to enter a dormant state.
5. The method according to claim 4, characterized in that The terminal status information also includes reporting times information; If so, after the step of reading the two pieces of remaining power information in the interactive terminal information, the method further includes: If the two corresponding values in the two pieces of remaining power information are the same, reading the two pieces of reporting times information in the interactive terminal information; According to the two pieces of reporting number information, it is determined that the IoT terminal with a smaller value in the reporting number information is the IoT terminal that needs to maintain a working state, and the IoT terminal with a larger value in the reporting number information is controlled to enter a dormant state.
6. The method according to claim 5, characterized in that The terminal status information also includes information on the duration of the working state; If the two values corresponding to the two pieces of remaining power information are the same, after the step of reading the two pieces of reporting number information in the interactive terminal information, the method further includes: If the two values corresponding to the two pieces of reporting number information are the same, then reading the two pieces of working state duration information in the interactive terminal information; According to the two pieces of working status duration information, it is determined that the IoT terminal with a smaller corresponding value in the working status duration information is the IoT terminal that needs to maintain the working status, and the IoT terminal with a larger corresponding value in the working status duration information is controlled to enter a dormant state.
7. The method according to claim 4, characterized in that The step of determining whether the communication module states of any two matched connected IoT terminals are both normal based on the two pieces of communication module state information further includes: If the communication module status of one and only one IoT terminal is normal, the IoT terminal with the normal communication module status is determined to be the IoT terminal that needs to maintain a working state, and the other IoT terminal is controlled to enter a dormant state.
8. The method according to claim 4, characterized in that The step of determining whether the communication module states of any two matched connected IoT terminals are both normal based on the two pieces of communication module state information further includes: If both are not normal, the matching between any two matching connected IoT terminals is controlled to be disconnected, so that the two IoT terminals with disconnected matching maintain the working state, and then continue to match other IoT terminals in the working state.
9. The method according to claim 1, characterized in that If it is detected that any IoT terminal in a working state meets the preset reporting condition, the step of controlling the IoT terminal that meets the preset reporting condition to collect location information and send corresponding reporting information to the cloud further includes: If it is detected that the number of stored terminal information of any IoT terminal in a working state is equal to a preset number value, or if it is detected that the duration of any IoT terminal in a working state after entering the working state reaches a preset duration, it is determined that the IoT terminal in a working state meets the preset reporting conditions; Control the IoT terminals that meet the preset reporting conditions to collect location information and send corresponding reporting information to the cloud.
10. The method according to claim 1, characterized in that The step of controlling the cloud to determine each of the IoT terminals and its corresponding location information based on the reporting information sent by the IoT terminals that meet the preset reporting conditions further includes: Controlling the cloud to determine the IoT terminal that meets the preset reporting conditions and its corresponding location information based on the reporting information sent by the IoT terminal that meets the preset reporting conditions; Controlling the cloud to detect whether there is storage terminal information in the reported information; If so, controlling the cloud to read the terminal number in the stored terminal information as the target terminal number; The cloud is controlled to match the location information in the reported information with the IoT terminal corresponding to the target terminal number, thereby determining the IoT terminal corresponding to the target terminal number and its corresponding location information.
11. The method according to claim 1, wherein The positioning system for sharing position and power includes a controller, a cloud, and multiple IoT terminals, wherein: The controller is used to control the operation and connection of the cloud and the IoT terminal; The cloud is used to receive the reported information uploaded by each IoT terminal to manage the location information of each IoT terminal; The Internet of Things terminal includes a location acquisition module, a Bluetooth module, a power supply, a communication module and a storage module; wherein the location acquisition module is used to perform location acquisition work to collect and obtain location information; the Bluetooth module is used to perform matching work with other Internet of Things terminals; the power supply is used to power the Internet of Things terminal; the Internet of Things terminal is connected to the cloud through the communication module; the storage module is used to store the location information, the terminal information and the stored terminal information.
Citation Information
Patent Citations
Low-power-consumption positioning method and system, positioning terminal, service platform and control terminal
CN109803224A
Intelligent terminal positioning system and method and electronic equipment
CN111031478A
Internet of Things terminal data reporting method and system, computer equipment and storage medium
CN116320070A
Tracker and tracking method thereof, and cluster type tracking system and tracking method thereof
CN118604845A
Dynamically grouping communicatively connected devices based on device location and tracked motion
US20220394793A1