Information collection method, system, electronic device and storage medium
By using the master node and multiple child nodes to form a multi-hop network in the micro-power wireless communication network, it works on multiple channels, and realizes the concurrent execution of information collection tasks, solving the problems of low meter reading efficiency and concurrent conflict in the prior art, and improving communication efficiency and anti-interference ability.
Patent Information
- Application Number
- CN202210658159.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-10
- Publication Date
- 2025-09-02
- Estimated Expiration
- 2042-06-10
AI Technical Summary
During the meter reading process of existing micro-power wireless communication networks, only one node in the entire network is allowed to send signals, and the other nodes are idle, resulting in difficulty in parallel communication, low meter reading efficiency, low spectrum resource utilization, and concurrent conflicts are prone to occur when reporting actively in a centralized manner.
The main node and multiple child nodes are used to form a multi-hop network, and work on a set of working channels composed of a preset number of channels. By sending network beacons, synchronous broadcast frames and frequency hopping algorithms, the concurrent execution of information collection tasks is achieved.
It improves the meter reading efficiency of the information collection system, reduces communication conflicts, improves spectrum resource utilization, enhances anti-interference ability, and realizes efficient concurrent communication of the information collection system.
Smart Images

Figure CN115278577B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of meter reading technology, and in particular to an information collection method, system, electronic device and storage medium. Background Art
[0002] With the nationwide rollout of smart grids, the requirements for the collection and transmission methods of electricity consumption information collection systems are becoming increasingly stringent. Currently, electricity consumption information collection systems utilize a variety of communication methods, including high-speed broadband carriers, narrowband carriers, and micro-power wireless. Micro-power wireless enables meter reading across voltage levels and substations, while offering advantages such as fast transmission rates, high real-time performance, and stability, along with low equipment costs. This provides enhanced communication capabilities for end-to-end management of information collection systems. However, during meter reading using a micro-power wireless communication network, only one node in the network is allowed to transmit signals, while the remaining nodes remain idle. This prevents parallel communication across the entire network, resulting in low meter reading efficiency across the network. Summary of the Invention
[0003] The present application aims to solve at least one of the technical problems existing in the prior art. To this end, the present application provides an information collection method, an information collection system, an electronic device and a storage medium.
[0004] The information collection method provided in the embodiments of the present application is used for a master node, wherein the master node communicates with multiple sub-nodes to form an information collection system, wherein the information collection system operates on a set of working channels consisting of a preset number of channels, and the sub-nodes are capable of monitoring data from any one of the working channels. The information collection method includes:
[0005] sending a networking beacon to the child node to form a multi-hop network with the child node;
[0006] sending a synchronization broadcast frame to the child node to synchronize the child node;
[0007] Sending an information collection task to the child node to enable the target child node to perform the information collection task; and
[0008] Receive the information collection result collected by the sub-node.
[0009] In some embodiments, sending a networking beacon to the child node to form a multi-hop network with the child node includes:
[0010] Sending a networking beacon to the child node so that the child node forwards the networking beacon to an adjacent child node and saves neighbor field strength information;
[0011] receiving the neighbor field strength information sent by the child node;
[0012] Routing information is configured for each of the child nodes according to the routing algorithm and the neighbor field strength information to form a multi-hop network.
[0013] In some embodiments, the information collection method further comprises:
[0014] A frequency hopping algorithm is sent to the child node so that the child node can cyclically work on multiple groups of working channels in sequence, and the working time of the child node on each group of working channels is a preset time.
[0015] In some embodiments, sending the information collection task to the child node so that the target child node performs the information collection task includes:
[0016] If the target sub-node fails to complete the information collection task in the current group of working channels, the target sub-node continues to perform the information collection task in the next group of working channels.
[0017] In some embodiments, sending a synchronization broadcast frame to the child node to synchronize the child node includes:
[0018] The synchronous broadcast frame is sent to the child node to control the child node to set the network clock origin and time according to the transmission delay and forwarding times of the synchronous broadcast frame.
[0019] This embodiment provides an information collection method, wherein the sub-nodes include a plurality of sub-nodes, and the plurality of sub-nodes communicate with a master node to form an information collection system. The information collection system operates on a set of working channels consisting of a preset number of channels, and the sub-nodes are capable of monitoring data from any one of the working channels. The information collection method includes:
[0020] Receiving a networking beacon sent by the master node;
[0021] Forming a multi-hop network according to the networking beacon and the master node;
[0022] receiving a synchronization broadcast frame sent by the master node and sending the synchronization broadcast frame to the adjacent child node to synchronize with the adjacent child node and the master node;
[0023] Execute the information collection task sent by the master node; and
[0024] The collected information collection results are sent to the master node.
[0025] In some embodiments, forming a multi-hop network based on the networking beacon and the master node includes:
[0026] Sending the networking beacon to the adjacent child node to obtain neighbor field strength information;
[0027] Sending the neighbor field strength information to the master node so that the master node configures routing information according to a routing algorithm and the neighbor field strength information;
[0028] The routing information is received to form a multi-hop network according to the routing information and the master node.
[0029] In some embodiments, the receiving a synchronization broadcast frame sent by the master node and sending the synchronization broadcast frame to the neighboring child node to synchronize with the neighboring child node and the master node includes:
[0030] Setting a network clock origin and timing according to the transmission delay and forwarding times of the synchronous broadcast frame to synchronize with the master node;
[0031] The synchronization broadcast frame is forwarded to the adjacent child node to synchronize with the adjacent child node.
[0032] In some embodiments, the information collection method further comprises:
[0033] Receiving the frequency hopping algorithm sent by the master node;
[0034] The plurality of working channels are cycled in sequence according to the frequency hopping algorithm, and the working time of the sub-node in each group of the working channels is a preset time.
[0035] In some embodiments, executing the information collection task sent by the master node includes:
[0036] Pairing the self-identity information with the information collection task;
[0037] If the pairing is successful, perform the information collection task; or
[0038] In the case that the matching is unsuccessful, the information collection task is sent to the adjacent child node according to the routing information.
[0039] In some embodiments, executing the information collection task when pairing is successful includes:
[0040] In the case that the information collection task is not completed in the current group of working channels, the information collection task is continued to be performed in the next group of working channels.
[0041] In some embodiments, sending the collected information collection results to the master node includes:
[0042] Performing a union operation on the received information collection results to obtain a data set;
[0043] Send the data set to the master node.
[0044] The information collection system provided in the embodiments of the present application operates on a set of working channels consisting of a preset number of channels. The information collection system includes a master node and multiple sub-nodes forming a multi-hop network. The sub-nodes are capable of monitoring data from any one of the working channels. The master node is used to send information collection tasks to the sub-nodes.
[0045] The child node is used to receive the information collection task and determine whether to execute the information collection task, report the information collection result to the master node after executing the information collection task, or, after not executing the information collection task, send the information collection task to the adjacent child node according to the routing information.
[0046] In some embodiments, the subnode cycles through the plurality of working channels in sequence based on a preset time interval.
[0047] In some embodiments, when the child node has not completed the information collection task in the current group of working channels, it continues to perform the information collection task in the next group of working channels and sends the information collection result to the master node.
[0048] In some embodiments, the preset number is no greater than 7.
[0049] In certain embodiments, the operating frequency range of the information acquisition system is 471 MHz to 486 MHz.
[0050] The electronic device provided in an embodiment of the present application includes a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the information collection method.
[0051] The non-volatile computer-readable storage medium provided in the embodiments of the present application contains a computer program. When the computer program is executed by one or more processors, the processors execute the information collection method.
[0052] In the information collection method, information collection system, electronic device and computer storage medium of the implementation mode of the present application, by setting the main node and multiple sub-nodes to work in a group of working channels consisting of a preset number of channels, the main node can send multiple meter reading tasks to different channels in the working channels respectively, and the sub-nodes monitor the data on different channels. When the sub-nodes receive the corresponding meter reading tasks, they execute the processing. In this way, the information collection system can realize the concurrent execution of information collection tasks, so that the information collection efficiency of the information collection system is multiplied.
[0053] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become obvious from the description below, or will be learned through practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0055] Figure 1 This is a schematic diagram of a module of an information collection system according to certain embodiments of the present application;
[0056] Figure 2 This is a schematic diagram of a working scenario of an information collection system according to certain embodiments of the present application;
[0057] Figure 3-13 It is a flowchart of the information collection method of certain embodiments of the present application. DETAILED DESCRIPTION
[0058] The following describes in detail embodiments of the present application, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.
[0059] The electricity consumption information collection system undertakes the crucial tasks of automatically collecting, efficiently sharing, and monitoring electricity consumption information in real time. Furthermore, the smart grid is not limited to the collection of electricity consumption information but encompasses various intelligent applications, including information sharing, the purchase and sale of electricity, and remote control of electrical equipment. The stability, reliability, and efficiency of its communication system are fundamental to system construction, directly impacting the expansion of advanced applications and the level of intelligence within the system. Currently, local communication methods for information collection systems include high-speed broadband carriers, narrowband carriers, and micro-power wireless communication. Considering factors such as data collection stability, data timeliness, and equipment cost, micro-power wireless communication technology is the most promising and most suitable communication method for electricity consumption information collection.
[0060] However, information collection systems using micropower wireless communication networks typically include a large number of multi-layered distributed nodes. Their operating environment is not only complex and changeable, but also widely distributed. Widely used micropower wireless meter reading communication networks consist of a central node and several sub-nodes. Once the network is established, all nodes in the network operate on public and service channels, and meter reading can only be performed on the service channel. The central node can only read a single node during meter reading, and can only read the next node after the reading result is returned or a timeout occurs. During meter reading, only one node in the entire network is allowed to send signals, while the remaining nodes are idle. Parallel communication is impossible across the entire network, resulting in low meter reading efficiency and underutilized spectrum resources. Furthermore, when multiple node devices actively report centrally, only service channels can communicate, which inevitably leads to serious concurrency conflicts and communication congestion.
[0061] In view of this, please see Figure 1 The present application provides an information collection system, including a master node and multiple sub-nodes. The master node and the sub-nodes form a multi-hop network. The master node and the sub-nodes operate on a set of working channels consisting of a preset number of channels. The master node is used to send information collection tasks to the sub-nodes.
[0062] The child node is used to receive the information collection task and determine whether to execute the information collection task, report the information collection result to the main node after executing the information collection task, or send the information collection task to the adjacent child node according to the routing information after not executing the information collection task.
[0063] The information collection system of the embodiment of the present application sets up a set of working channels consisting of a preset number of channels by setting up a main node and multiple sub-nodes. The main node can send multiple meter reading tasks to different channels in the working channels respectively, and the sub-nodes monitor the data on different channels. When the sub-nodes receive the corresponding meter reading tasks, they execute the processing. In this way, the information collection system can realize the concurrent execution of information collection tasks, thereby doubling the efficiency of information collection of the information collection system.
[0064] Those skilled in the art will understand that a multi-hop network is constructed by multiple wireless device nodes, all of which are connected to each other wirelessly. Any wireless device node can serve as both an AP and a router. Each node in the network can send and receive signals, and each node can communicate directly with one or more peer nodes. Data jumps from one node to another until it reaches its destination, making this network topology reliable and scalable.
[0065] The information collection system can use micro-power wireless communication technology, that is, the master node and sub-nodes, and sub-nodes and sub-nodes use micro-power wireless communication technology to achieve communication. In this way, the information collection system has the advantages of high stability, strong timeliness and low equipment cost.
[0066] During the automatic networking phase of the information collection system, the master node sends a networking beacon to each of its child nodes. Upon receiving the beacon, the child node forwards it to adjacent child nodes operating on the same channel. Simultaneously, the child node stores and forwards neighboring field strength information to the master node. After collecting neighboring field strength information from each child node, the master node configures routing information for each child node based on a routing algorithm. This routing information allows the child node to determine whether it is a relay node. Once networking is successfully established, the child nodes form a multi-layered, multi-hop network. Furthermore, the master node sends a clock synchronization broadcast frame to each child node. Each child node sets the network clock origin and begins timing based on the broadcast frame delay and the number of forwarding times. This ensures synchronization between the child nodes and with the master node.
[0067] The information collection task may be a meter reading task, and the sub-nodes may include but are not limited to communication devices on water meters, electricity meters, heat meters, and gas meters, and the main node may be a communication module on the central control device that manages water meters, electricity meters, heat meters, and gas meters.
[0068] In this embodiment, the sub-node may be a communication device installed on the electricity meter, and the main node may be a communication module on a central control device that manages the electricity meter.
[0069] Please combine Figure 2 , the working frequency band of the information acquisition system ranges from 471MHz to 486MHz. Among them, the working frequency band is divided into 65 channels in sequence according to the frequency size. At the same time, the information acquisition system sets a preset number of channels as a group of working channels. That is, at the same time, the main node and multiple sub-nodes can work on a group of working channels to realize data transmission. The preset number is not greater than 7. For example, the number of working channels can be 4, 5, 6 or 7. In this embodiment, the preset number can be 7, that is, at the same time, the information acquisition system sets 7 channels out of 65 channels as a group of working channels. In addition, there is one channel for realizing connection with the main node and the sub-nodes.
[0070] The master node can issue information collection tasks to one or more channels in the working channel and receive data transmitted by any channel in the working channel. The child node can monitor the data of any channel in the working channel.
[0071] In certain embodiments, the information collection system is pre-configured with a frequency hopping algorithm, and the information collection system can hop to the next set of working channels at intervals of a preset duration according to the frequency hopping algorithm. It is understandable that since the working frequency is divided into 65 channels, and the master node and multiple sub-nodes only occupy 7 channels, 7 channels can be set as a group of working channels at a time, and the system can hop to the next set of working channels at intervals of a preset duration. For example, initially, the master node and multiple sub-nodes use channels 1-7 as a group of working channels and channel 8 as a connection channel. After the preset duration, the master node and multiple sub-nodes use channels 9-15 as working channels and channel 16 as a connection channel.
[0072] Specifically, the master node broadcasts a preset number of channel numbers for initial operation to all child nodes in the network via a clock synchronization frame. Nodes across the network then select a preset number of channels from the 65 channels in order of channel number as operating channels at preset intervals. After a child node has operated on a set set of channels for a preset period of time, it switches to the next set of channels, thus achieving a cyclical hopping process among the 65 channels.
[0073] It should be noted that the preset duration is positively correlated with the number of working channels of the master node and the sub-node. The larger the number of working channels, the longer the preset duration. For example, if the number of working channels is 7, the preset duration can be 7*600ms=4200ms, that is, after the master node and the sub-node work on one group of channels for 4200ms, they hop to the next group of channels to work. For another example, if the number of working channels is 6, the preset duration can be 6*600ms=3600ms. That is, after the master node and the sub-node work on one group of working channels for 3600ms, they hop to the next group of working channels to work.
[0074] Understandably, when a master node and a sub-node, or a sub-node and a sub-node communicate via micropower wireless, if the interference spectrum falls within the instantaneous bandwidth of the useful signal and the interference power is sufficiently large, it may affect the correct reception of the useful signal. However, this application uses frequency hopping technology, which has excellent anti-interference capabilities. Even if some frequencies are interfered with, normal communication can still be carried out on other uninterrupted channels.
[0075] When the main node sends multiple information collection tasks to different channels in the working channel, the child node that communicates directly with the main node can receive the information collection tasks transmitted by the working channel, and can match the information collection tasks according to its own ID. If the match is successful, the child node acts as the target node and executes the information collection task on the corresponding channel to obtain the information collection result, and returns the information collection result to the main node along the path of receiving the information collection task. If the match is not successful, it is determined whether it is a relay node based on the routing information. If the child node is a relay node, relay processing is performed, and the information collection task is sent to the adjacent child node according to the routing information. If the child node is not a relay node, the information collection task is discarded and no processing is performed.
[0076] In some embodiments, if a child node fails to complete its information collection task within its current set of operating channels, it continues to perform its information collection task on the next set of operating channels. Specifically, if a child node fails to complete its information collection task within its current set of operating channels, it will continue to perform its information collection task after hopping to the next set of operating channels according to the frequency hopping algorithm, and return the obtained information collection results to the master node along the transmission path of the information collection task.
[0077] It can be understood that since the child node hops to the next group of working channels at intervals of a preset time, and the meter reading task may not complete the information collection task in the current group of working channels, and cannot return the information collection results to the main node in the current working channel, the child node returns the information collection results to the main node after completing the information collection task in the next group of working channels.
[0078] In some embodiments, if the child node is a relay node, it needs to forward the information collection task to the adjacent node, or forward the information collection results obtained by the target child node to the main node. If the child node has not completed the forwarding task in the channel of the current group of working channels, it will jump to the mapping channel in the next group of working channels according to the frequency hopping algorithm to continue to perform the forwarding task.
[0079] For example, in some examples, the current group of working channels is channels 1-7, and the next group of working channels is channels 9-15. If the relay node performs the forwarding task on channel 2 in the current group of working channels, if it hops to the next group of working channels before completing the forwarding task on the current group of working channels, the relay node continues to perform the forwarding task on channel 10.
[0080] Furthermore, in scenarios where multiple child nodes collectively and proactively report events, the relay node performs a union operation on all received event information to generate a data set. When reporting the task, it uses the CSMA / CA mechanism to compete and transmit the resulting data set on the working channel. This significantly reduces communication conflicts and improves event reporting efficiency.
[0081] It should be noted that CSMA / CA (Carrier Sense Multiple Access with CollisionAvoid) is an algorithm for avoiding data transmission conflicts between stations during data transmission.
[0082] Please combine Figure 3 The present application provides an information collection method for the above master node, the information collection method comprising the steps of:
[0083] 01, send a networking beacon to the child node to form a multi-hop network with the child node;
[0084] 02, send synchronization broadcast frame to the child node to synchronize the child node;
[0085] 03, sending an information collection task to the child node so that the target child node performs the information collection task; and
[0086] 04. Receive the information collection results collected by the child node.
[0087] The present application also provides an electronic device comprising a processor and a memory. The memory stores a computer program and is executed by the processor, so that the processor can be configured to send a networking beacon to a child node to form a multi-hop network with the child node, send a synchronization broadcast frame to the child node to synchronize the child node, send an information collection task to the child node to cause the target child node to perform the information collection task, and receive information collection results collected by the child node.
[0088] In the information collection method and electronic device of the implementation mode of the present application, by sending a networking beacon to the child node, thereby forming a multi-hop network with the child node, and sending a synchronous broadcast frame to the child node to synchronize with the child node, the main node can send multiple meter reading tasks to different channels in the working channel respectively. In this way, when the child node receives the corresponding meter reading task by monitoring the data on different channels, it can execute and process the meter reading task, obtain the information collection result and send it back to the main node, thereby realizing concurrent meter reading tasks, and doubling the information collection efficiency of the information collection system.
[0089] In some embodiments, the master node may be a part of an electronic device, or in other words, the electronic device includes the master node.
[0090] In some embodiments, the master node may be a discrete component assembled in a certain manner to have the aforementioned functions, or a chip in the form of an integrated circuit having the aforementioned functions, or a computer software code segment that enables the computer to have the aforementioned functions when running on the computer.
[0091] In some embodiments, as hardware, the master node can be independent or added as an additional peripheral component to the electronic device. The master node can also be integrated into the electronic device, for example, when the master node is part of the electronic device, the master node can be integrated into the processor.
[0092] This embodiment uses a computer as an example of an electronic device for illustration. This means that the information collection method and master node are applicable to, but not limited to, computers. The master node can be hardware or software pre-installed on the computer, and can execute the information collection method when the computer is started. For example, the information collection method can be a low-level software code segment or part of the computer's operating system.
[0093] Please combine Figure 4 In some embodiments, step 01 includes the following sub-steps:
[0094] 011, sending a networking beacon to the child node so that the child node forwards the networking beacon to the adjacent child nodes and saves the neighbor field strength information;
[0095] 012, receiving neighbor field strength information sent by the child node;
[0096] 013, configure routing information for each child node according to the routing algorithm and neighbor field strength information to form a multi-hop network.
[0097] In some embodiments, the processor is used to send a networking beacon to a child node so that the child node forwards the networking beacon to an adjacent child node and saves neighbor field strength information, receives neighbor field strength information sent by the child node, and configures routing information for each child node according to the routing algorithm and the neighbor field strength information to form a multi-hop network.
[0098] It should be noted that if a subnode has no adjacent subnodes, it will not send a networking beacon. In this way, wireless communication between the master node and the subnodes, and between the subnodes, allows the master node to send information collection tasks to any subnode.
[0099] Please combine Figure 5 In some embodiments, step 02 includes the sub-steps of:
[0100] 021, send a synchronization broadcast frame to the child node to control the child node to set the network clock origin and time according to the transmission delay and forwarding times of the synchronization broadcast frame.
[0101] In some embodiments, the processor is configured to send a synchronization broadcast frame to the child node to control the child node to set a network clock origin and time according to a transmission delay and a forwarding number of the synchronization broadcast frame.
[0102] In this way, child nodes can be synchronized with each other and with the master node.
[0103] See also Figure 6 In some embodiments, before step 03, the information collection method further includes:
[0104] 05. Send a frequency hopping algorithm to the child node so that the child node can work in multiple groups of working channels in turn. The working time of the child node in each group of working channels is the preset time.
[0105] In some embodiments, the processor is configured to send a frequency hopping algorithm to the child node so that the child node operates in a plurality of groups of working channels in sequence and in a cycle, and the working duration of the child node in each group of working channels is a preset duration.
[0106] It should be noted that the frequency hopping algorithm can be sent to the child nodes via a synchronous broadcast frame. That is, the synchronous broadcast frame can include the frequency hopping algorithm, so that when the master node sends the synchronous broadcast frame, the frequency hopping algorithm can be sent to the child nodes together.
[0107] In this way, the information collection system has good anti-interference ability. Even if some channels are interfered with, normal communication can still be carried out on other undisturbed channels, thereby improving the information collection effect of the information collection system.
[0108] Please combine Figure 7 In some embodiments, step 03 includes the sub-steps of:
[0109] 031, when the target sub-node has not completed the information collection task in the current group of working channels, the target sub-node continues to perform the information collection task when working in the next group of working channels.
[0110] In some embodiments, if the target sub-node has not completed the information collection task in the current group of working channels, the target sub-node continues to perform the information collection task when working in the next group of working channels.
[0111] It should be noted that the target sub-node refers to the sub-node that performs the information collection task. When the target sub-node completes the information collection task when working on the next set of working channels, it sends the information collection result to the master node.
[0112] See also Figure 8 The present application provides an information collection method for the above-mentioned sub-node, the information collection method comprising the steps of:
[0113] 11. Receive the networking beacon sent by the master node;
[0114] 12. Form a multi-hop network based on the networking beacon and the master node;
[0115] 13. Receive the synchronization broadcast frame sent by the master node and send the synchronization broadcast frame to the adjacent child node to synchronize with the adjacent child node and the master node;
[0116] 14. Execute the information collection task sent by the master node; and
[0117] 15. Send the collected information collection results to the master node.
[0118] The present application also provides an electronic device including a processor and a memory. The memory stores a computer program and is executed by the processor, so that the processor is configured to receive a networking beacon sent by a master node, form a multi-hop network based on the networking beacon and the master node, receive a synchronization broadcast frame sent by the master node, send a synchronization broadcast frame to adjacent child nodes to synchronize with the adjacent child nodes and the master node, execute an information collection task sent by the master node, and send the collected information results to the master node.
[0119] In the information collection method and electronic device of the implementation mode of the present application, a multi-hop network is formed with the main node by receiving the networking beacon sent by the main node, and synchronization between sub-nodes and sub-nodes and sub-nodes and main nodes is achieved based on the synchronization broadcast frame sent by the main node. When the sub-node receives the corresponding meter reading task, it can execute the processing and send the information collection result to the main node. In this way, the information collection system can realize the concurrent execution of information collection tasks, so that the information collection efficiency of the information collection system is multiplied.
[0120] In some embodiments, the sub-node may be a part of an electronic device, or in other words, the electronic device includes the sub-node.
[0121] In some embodiments, the sub-node may be a discrete component assembled in a certain manner to have the aforementioned functions, or a chip in the form of an integrated circuit having the aforementioned functions, or a computer software code segment that enables the computer to have the aforementioned functions when running on the computer.
[0122] In some embodiments, as hardware, the subnode can be independent or added as an additional peripheral component to the electronic device. The subnode can also be integrated into the electronic device, for example, when the subnode is part of the electronic device, the subnode can be integrated into the processor.
[0123] The electronic device can be a water meter, electricity meter, gas meter, or heat meter. This embodiment uses an electricity meter as an example. This means that the information collection method and sub-nodes are applicable to, but not limited to, electricity meters. The sub-nodes can be hardware or software pre-installed on the electricity meter, and can execute the information collection method when started on a computer. For example, the information collection method can be a low-level software code segment or part of the electricity meter's operating system.
[0124] Please combine Figure 9 In some embodiments, step 12 includes the sub-steps of:
[0125] 121, sending a networking beacon to an adjacent child node to obtain neighboring field strength information;
[0126] 122, sending the neighbor field strength information to the master node so that the master node configures routing information according to the routing algorithm and the neighbor field strength information;
[0127] 123, receiving routing information to form a multi-hop network according to the routing information and the master node.
[0128] In certain embodiments, the processor is used to send networking beacons to adjacent child nodes to obtain neighbor field strength information. The child nodes and adjacent child nodes operate on the same channel, send neighbor field strength information to the master node so that the master node configures routing information based on the routing algorithm and the neighbor field strength information, and receives the routing information to form a multi-hop network based on the routing information and the master node.
[0129] It should be noted that if a child node has no adjacent child nodes, it will not send a networking beacon. In this way, multiple child nodes and the master node form a multi-hop network, so that the master node can send information collection tasks to any child node, thereby realizing information collection.
[0130] Please combine Figure 10 In some embodiments, step 13 includes the sub-steps of:
[0131] 131, set the network clock origin and start timing according to the transmission delay and forwarding times of the synchronous broadcast frame to synchronize with the master node;
[0132] 132. Forward the synchronization broadcast frame to the adjacent child node to synchronize with the adjacent child node.
[0133] In some embodiments, the processor is configured to set the network clock origin and time according to the transmission delay and forwarding times of the synchronization broadcast frame to synchronize with the master node, and forward the synchronization broadcast frame to the adjacent child nodes to synchronize with the adjacent child nodes.
[0134] In this way, synchronization between child nodes and between child nodes and the master node can be guaranteed.
[0135] See also Figure 11 In some embodiments, before step 14, the information collection method further includes:
[0136] 16. Receive the frequency hopping algorithm sent by the master node;
[0137] 17. Cycle through multiple groups of working channels in sequence according to the frequency hopping algorithm. The working time of the sub-node in each group of working channels is the preset time.
[0138] In some embodiments, the processor is configured to cycle through multiple groups of working channels in sequence according to a frequency hopping algorithm, and the working duration of the subnode in each group of working channels is a preset duration.
[0139] It should be noted that the frequency hopping algorithm can be sent to the child node through the synchronous broadcast frame, that is, the synchronous broadcast frame can include the frequency hopping algorithm, and the master node can send the frequency hopping algorithm to the child node when sending the synchronous broadcast frame.
[0140] In this way, the information collection system has good anti-interference ability. Even if some channels are interfered with, normal communication can still be carried out on other undisturbed channels, which improves the stability of the information collection system.
[0141] Please combine Figure 12 In some embodiments, step 14 includes the sub-steps of:
[0142] 141, pairing one’s identity information with information collection tasks;
[0143] 142, if the pairing is successful, perform the information collection task; or
[0144] 143. If the pairing is unsuccessful, send the information collection task to the adjacent child node according to the routing information.
[0145] In some embodiments, the processor is configured to pair its own identity information with the information collection task, and execute the information collection task if the pairing is successful; or send the information collection task to an adjacent child node according to routing information if the pairing is unsuccessful.
[0146] Specifically, when a child node receives an information collection task, it can match the information collection task according to its own ID. If the match is successful, the child node acts as the target node and executes the information collection task on the corresponding working channel to obtain the information collection result, and returns the information collection result to the main node along the path of receiving the information collection task. If the match is not successful, it determines whether it is a relay node based on the routing information. If it is a relay node, relay processing is performed and the information collection task is sent to the adjacent child node according to the routing information, so that the adjacent child node determines whether to execute the information collection task based on the match between its own ID and the information collection task; if it is not a relay node, the information collection task is discarded and no processing is performed.
[0147] Furthermore, if the child node has not completed the information collection task in the current group of working channels, it continues to perform the information collection task in the next group of working channels and returns the information collection result to the master node along the path of receiving the information collection task.
[0148] In addition, if the child node has not completed the forwarding task in the current group of working channels, it will continue to perform the forwarding task in the next group of working channels.
[0149] In this way, it is ensured that the information collection task and forwarding task can be completed.
[0150] Please combine Figure 13 In some embodiments, step 15 includes the sub-steps of:
[0151] 151, performing a union operation on the received information collection results to obtain a data set;
[0152] 152, sending the data set to the master node.
[0153] In some embodiments, the processor is configured to perform a union operation on the received information collection results to obtain a data set, and send the data set to the master node.
[0154] In this way, when multiple nodes actively report event information, communication conflicts can be greatly reduced, and the efficiency of event information reporting can be improved.
[0155] The embodiment of the present application further provides a non-volatile computer-readable storage medium, which stores a computer program. When the computer program is executed by one or more processors, the processors execute the above-mentioned information collection method.
[0156] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware, or any other combination. When implemented using software, all or part of the embodiments may be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated therein. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital video disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).
[0157] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0158] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0159] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0160] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
Claims
1. An information collection method, used for a master node, characterized in that: The master node communicates with multiple sub-nodes to form an information collection system, the information collection system operates on a set of working channels consisting of a preset number of channels, the sub-nodes are capable of monitoring data from any one of the working channels, and the information collection method includes: sending a networking beacon to the child node to form a multi-hop network with the child node; sending a synchronization broadcast frame to the child node to synchronize the child node; Sending an information collection task to the child node to enable the target child node to perform the information collection task; and Receiving information collection results collected by the sub-node; The information collection method further includes: Sending a frequency hopping algorithm to the child node so that the child node operates in a plurality of groups of the working channels in sequence and in a cycle, wherein the working duration of the child node in each group of the working channels is a preset duration; and the preset duration is positively correlated with the number of working channels of the master node and the child node; The sending of a synchronization broadcast frame to the child node to synchronize the child node includes: The synchronous broadcast frame is sent to the child node to control the child node to set the network clock origin and time according to the transmission delay and forwarding times of the synchronous broadcast frame.
2. The information collection method according to claim 1, characterized in that: The sending of the networking beacon to the child node to form a multi-hop network with the child node includes: Sending a networking beacon to the child node so that the child node forwards the networking beacon to an adjacent child node and saves neighbor field strength information; receiving the neighbor field strength information sent by the child node; Routing information is configured for each of the sub-nodes according to a routing algorithm and the neighbor field strength information to form a multi-hop network.
3. The information collection method according to claim 1, characterized in that: The sending of the information collection task to the child node so that the target child node performs the information collection task includes: If the target sub-node fails to complete the information collection task in the current group of working channels, the target sub-node continues to perform the information collection task in the next group of working channels.
4. An information collection method for a child node, characterized in that: The sub-nodes include a plurality of sub-nodes, and the plurality of sub-nodes communicate with the master node to form an information collection system. The information collection system operates on a set of working channels consisting of a preset number of channels. The sub-nodes can monitor data from any one of the working channels. The information collection method includes: Receiving a networking beacon sent by the master node; Forming a multi-hop network according to the networking beacon and the master node; receiving a synchronization broadcast frame sent by the master node and sending the synchronization broadcast frame to an adjacent child node to synchronize with the adjacent child node and the master node; Execute the information collection task sent by the master node; and Sending the collected information collection results to the master node; The information collection method further includes: Receiving the frequency hopping algorithm sent by the master node; According to the frequency hopping algorithm, the working channel groups are cycled in sequence, and the working time of the sub-node in each working channel group is a preset time; the preset time is positively correlated with the number of working channels of the master node and the sub-node; The receiving a synchronization broadcast frame sent by the master node and sending the synchronization broadcast frame to the adjacent child node to synchronize with the adjacent child node and the master node includes: Setting a network clock origin and timing according to the transmission delay and forwarding times of the synchronous broadcast frame to synchronize with the master node; The synchronization broadcast frame is forwarded to the adjacent child node to synchronize with the adjacent child node.
5. The information collection method according to claim 4, characterized in that: The forming of a multi-hop network according to the networking beacon and the master node includes: Sending the networking beacon to the adjacent child node to obtain neighbor field strength information; Sending the neighbor field strength information to the master node so that the master node configures routing information according to a routing algorithm and the neighbor field strength information; The routing information is received to form a multi-hop network according to the routing information and the master node.
6. The information collection method according to claim 5, characterized in that: The executing the information collection task sent by the master node includes: Pairing one's own identity information with the information collection task; If the pairing is successful, perform the information collection task; or In the case that the matching is unsuccessful, the information collection task is sent to the adjacent child node according to the routing information.
7. The information collection method according to claim 6, characterized in that: The executing of the information collection task when the pairing is successful includes: In the case that the information collection task is not completed in the current group of working channels, the information collection task is continued to be performed in the next group of working channels.
8. The information collection method according to claim 4, characterized in that: The sending of the collected information collection results to the master node includes: Performing a union operation on the received information collection results to obtain a data set; Send the data set to the master node.
9. An information collection system, characterized in that: The information collection system operates on a set of working channels consisting of a preset number of channels. The information collection system includes a master node and multiple sub-nodes forming a multi-hop network. The sub-nodes are capable of monitoring data from any one of the working channels. The master node is used to send information collection tasks to the sub-nodes. The child node is configured to receive the information collection task and determine whether to execute the information collection task, and after executing the information collection task, report the information collection result to the master node, or, after not executing the information collection task, send the information collection task to the adjacent child node according to routing information; The information collection system cycles through the plurality of working channels in sequence based on a preset time interval; If the child node fails to complete the information collection task in the working channel of the current group, the child node continues to perform the information collection task in the working channel of the next group and sends the information collection result to the master node; The master node sends a synchronous broadcast frame to each of the child nodes, and each of the child nodes sets a network clock origin and keeps time according to the transmission delay and forwarding times of the synchronous broadcast frame.
10. The information collection system according to claim 9, characterized in that: The preset number is no more than 7.
11. The information collection system according to any one of claim 9, characterized in that: The operating frequency range of the information acquisition system is 471 MHz to 486 MHz.
12. An electronic device, characterized in that: The system comprises a processor and a memory, wherein the memory stores a computer program and is executed by the processor, so that the processor executes the information collection method according to any one of claims 1 to 3 or the information collection method according to any one of claims 4 to 8.
13. A non-volatile computer-readable storage medium containing a computer program, characterized in that: When the computer program is executed by a processor, the processor is enabled to execute the information collection method according to any one of claims 1 to 3 or the information collection method according to any one of claims 4 to 8.
Citation Information
Patent Citations
Micropower wireless network self-organizing method and micropower wireless network
CN105451290A