Ammeter data transmission method, device, equipment and medium
By acquiring and utilizing routing link groups without co-channel interference in the meter collection network, efficient transmission of meter data is achieved, solving the problem of limited efficiency in traditional transmission methods.
Patent Information
- Application Number
- CN202410760795.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-13
- Publication Date
- 2024-09-03
AI Technical Summary
In the field of electricity consumption information collection, the traditional electricity meter data transmission method has limited network transmission efficiency due to co-channel interference. How to improve the transmission efficiency of electricity meter data while avoiding co-channel interference has become an urgent problem to be solved.
By obtaining the neighbor node table of each node in the meter collection network, the target routing link group without co-channel interference is determined, and meter reading instructions are sent to these routing links to achieve simultaneous data transmission on multiple routing links.
While avoiding co-channel interference, it improves the transmission efficiency of meter data and improves the stability and efficiency of data transmission.
Smart Images

Figure CN118591014A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electricity consumption information collection, and in particular to an electric meter data transmission method, device, equipment and medium. Background Art
[0002] Co-channel interference refers to the interference caused by two or more nodes using the same frequency to transmit signals at the same time during wireless communication. In the field of electricity consumption information collection, the wireless frequencies of the same meter collection network are the same. Therefore, in order to avoid the problem of co-channel interference, the traditional way of transmitting electricity consumption data is mainly that nodes transmit signals serially one by one, that is, only one node can transmit signals at the same time, and other nodes must wait until the node completes the transmission before transmitting signals. However, this transmission method limits the transmission efficiency of the network to a certain extent. Therefore, how to improve the transmission efficiency of meter data while avoiding co-channel interference has become an urgent problem to be solved. Summary of the invention
[0003] Based on this, a method, device, equipment and medium for transmitting electric meter data are provided to solve the problem of how to improve the transmission efficiency of electric meter data while avoiding co-frequency interference.
[0004] In a first aspect, an embodiment of the present invention provides an electric meter data transmission method, characterized in that the data transmission method is applied to an electric meter data collection network, the electric meter data collection network includes a central node and a routing link connected to the central node, each of the routing links is used to connect a corresponding electric meter, and the data transmission method includes the following steps:
[0005] Obtaining a neighbor node table of each node in all routing links, wherein the neighbor node table includes information of neighbor nodes that have co-frequency interference with the corresponding node;
[0006] Determine a first routing link from all routing links, and determine a target routing link group according to a neighbor node table of each node in the first routing link, wherein any target routing link in the target routing link group does not have co-frequency interference with the first routing link, and any two target routing links in the target routing link group do not have co-frequency interference;
[0007] A meter reading instruction is sent to the first routing link and the target routing link group to instruct to read the electricity meters corresponding to all routing links in the first routing link and the target routing link group.
[0008] In a second aspect, an embodiment of the present invention provides an electric meter data transmission device, characterized in that the data transmission device is applied to an electric meter data collection network, the electric meter data collection network includes a central node and a routing link connected to the central node, each routing link is used to connect a corresponding electric meter, and the data transmission device includes:
[0009] A table acquisition module, used to acquire a neighbor node table of each node in all routing links, wherein the neighbor node table includes information of neighbor nodes that have co-frequency interference with the corresponding node;
[0010] A link group determination module, used to determine a first routing link from all routing links, and determine a target routing link group according to a neighbor node table of each node in the first routing link, wherein any target routing link in the target routing link group does not have co-frequency interference with the first routing link, and any two target routing links in the target routing link group do not have co-frequency interference;
[0011] The instruction sending module is used to send a meter reading instruction to the first routing link and the target routing link group to instruct to read the meters corresponding to the first routing link and all routing links in the target routing link group.
[0012] In a third aspect, an embodiment of the present invention provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the electric meter data transmission method of the first aspect when executing the computer program.
[0013] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the electric meter data transmission method of the first aspect is implemented.
[0014] The technical effect achieved by the present invention is different from that achieved by the prior art scheme: the data transmission method of the present invention is applied to the electric meter acquisition network, and the first routing link is determined by obtaining the neighbor node table of each node in all routing links, and the target routing link group is determined according to the neighbor node table of each node in the first routing link, and the meter reading instruction is sent to the first routing link and the target routing link group to instruct the electric meters corresponding to all routing links in the first routing link and the target routing link group to be read. Among them, the neighbor node table includes the neighbor node information that has co-frequency interference with the corresponding node. When reading the electric meter on the first routing link, according to the neighbor node table, the target routing link group that has no co-frequency interference with the first routing link and no co-frequency interference between any two target routing links is determined, and the meter reading instruction is sent to the first routing link and the target link group. Since there is no co-frequency interference between the first routing link and the routing links of the target link group, the transmission of the meter reading instruction and the transmission of the electric meter data can be carried out simultaneously, and the transmission efficiency of the electric meter data is improved while avoiding co-frequency interference. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0016] Figure 1 It is a flowchart of an electric meter data transmission method provided by Embodiment 1 of the present invention;
[0017] Figure 2 It is a flowchart of an electric meter data transmission method provided by Embodiment 2 of the present invention;
[0018] Figure 3 It is a flowchart of an electric meter data transmission method provided by Embodiment 3 of the present invention;
[0019] Figure 4 It is a flowchart of an electric meter data transmission method provided by a fourth embodiment of the present invention;
[0020] Figure 5 It is a flowchart of an electric meter data transmission method provided by Embodiment 5 of the present invention;
[0021] Figure 6 This is a schematic diagram of the structure of an electric meter data transmission device provided by Embodiment 6 of the present invention;
[0022] Figure 7 It is a structural diagram of a computer device provided in Embodiment 7 of the present invention. DETAILED DESCRIPTION
[0023] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0024] It should be understood that the order of execution of the steps in the following embodiments does not imply a precedence of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0025] like Figure 1 FIG. 1 is a flow chart of a method for transmitting data of an electric meter provided in Embodiment 1 of the present invention. The method for transmitting data of an electric meter is applied to an electric meter collection network. The electric meter collection network includes a central node and a routing link connected to the central node. Each routing link is used to connect a corresponding electric meter. The method for transmitting data includes the following steps:
[0026] Step S101: Obtain the neighbor node table of each node in all routing links.
[0027] In this embodiment, the meter collection network may refer to a distributed system network used to monitor, control and manage the electricity usage of each meter in the power grid. For example, the meter network may be a wireless mesh network (Wireless Mesh Network, WMN) and a carrier communication network, etc. The central node may refer to a computer device responsible for data collection, processing, storage and distribution of the entire meter collection network. The routing link may refer to a routing communication channel connecting the central node and the meter in the meter collection network. The same-frequency interference may refer to the interference caused by two or more nodes using the same frequency to transmit signals at the same time during wireless communication. The neighbor node table may refer to a table structure that records the information of neighbor nodes that have the same-frequency interference with the corresponding node. Specifically, each node in the routing link may be traversed to obtain the neighbor node table of each node.
[0028] Step S102: determining a first routing link from all routing links, and determining a target routing link group according to a neighbor node table of each node in the first routing link.
[0029] In this embodiment, the first routing link may refer to a routing link for transmitting electric meter data, and the target link group may refer to a set of routing links that can perform data transmission simultaneously with the first routing link, wherein any target routing link in the target routing link group does not have co-frequency interference with the first routing link, and there is no co-frequency interference between any two target routing links in the target routing link group.
[0030] Specifically, any routing link except the first routing link in the electricity meter collection network is traversed, and according to the neighbor node table of each node in the first routing link, routing links that do not have co-frequency interference with the first routing link and do not have co-frequency interference with each other are determined as target routing links, and all the determined target routing links are formed into a target routing link group.
[0031] Step S103: sending a meter reading instruction to the first routing link and the target routing link group.
[0032] In this embodiment, the meter reading instruction may refer to an instruction for triggering data collection of the electric meter connected to the routing link.
[0033] Specifically, a meter reading instruction can be sent to the first routing link and each routing link in the target routing link group. The meter reading instruction is transmitted in each routing link and reaches the electric meter connected to the routing link. The electric meter is read according to the meter reading instruction, and the meter data obtained by the meter reading is transmitted to the central node.
[0034] In this embodiment, the neighbor node table includes information on neighbor nodes that have co-frequency interference with the corresponding node. When reading the electric meter on the first routing link, a target routing link group that has no co-frequency interference with the first routing link and no co-frequency interference between any two target routing links is determined according to the neighbor node table, and a meter reading instruction is sent to the first routing link and the target link group. Since there is no co-frequency interference between the first routing link and each routing link of the target link group, the transmission of the meter reading instruction and the transmission of the electric meter data can be performed simultaneously, thereby improving the transmission efficiency of the electric meter data while avoiding co-frequency interference.
[0035] like Figure 2 FIG. 1 is a flow chart of a method for transmitting data of an electric meter provided in Embodiment 2 of the present invention. Before obtaining the neighbor node table of each node in all routing links in Step S101 of Embodiment 1, the following steps may be further included:
[0036] Step S201: broadcast a wireless location beacon to each routing link, and the wireless location beacon is forwarded by each node in all routing links.
[0037] Step S202: For any node, after receiving a wireless location beacon, the node that sends the wireless location beacon is determined as a neighbor node of the node, and the information of the neighbor node is written into the neighbor node table of the node.
[0038] In this embodiment, the wireless location beacon may refer to a signal that sends location information through wireless communication technology, and the neighbor node may refer to a node that has co-frequency interference with the corresponding node.
[0039] Specifically, the central node broadcasts the wireless location beacon to the electricity meter collection network, and each node in all routing links forwards the wireless location beacon in turn. For any node, after receiving the wireless location beacon sent by other nodes, it is determined that the node forwarding the wireless location beacon is within the same frequency interference range of the node, and the node forwarding the wireless location beacon is determined to be the neighbor node of the node, and the address of the neighbor node and the received signal strength value are written into the neighbor node table of the node.
[0040] In this embodiment, by broadcasting a wireless location beacon to each routing link, for any node, after receiving the wireless location beacon, the node that sends the wireless location beacon is determined as the node's neighbor node, and the information of the neighbor node is written into the node's neighbor node table. The neighbor nodes that have co-frequency interference with each node are determined, so that when data is transmitted on multiple routing links at the same time, the co-frequency interference between routing links can be avoided according to the node's neighbor node table, thereby improving data transmission efficiency.
[0041] like Figure 3 As shown, it is a flow chart of a method for transmitting electric meter data provided by the third embodiment of the present invention. In the step S102 of the first embodiment, determining the target routing link group according to the neighbor node table may include the following steps:
[0042] Step S301: superimpose neighbor node tables of all nodes in the first routing link to obtain a total neighbor node table corresponding to the first routing link.
[0043] In this embodiment, the total neighbor node table may refer to a table structure that records neighbor nodes of all nodes in the first routing link.
[0044] Specifically, the neighbor node tables of all nodes in the first routing link are integrated, and duplicate neighbor nodes are removed to obtain a total neighbor node table.
[0045] Step S302: any routing link is selected from all routing links except the first routing link as a second routing link, and whether there is co-channel interference between the second routing link and the first routing link is detected according to the total neighbor node table.
[0046] Step S303: if it is detected that there is no co-channel interference between the second routing link and the first routing link, the second routing link is recorded as a target routing link in the target routing link group, and the neighbor node tables of all nodes in the second routing link are written into the total neighbor node table.
[0047] Step S304: Return to the step of selecting any routing link from all routing links except the first routing link as the second routing link, until all routing links are traversed to obtain a target routing link group.
[0048] In this embodiment, the second routing link may refer to any routing link except the first routing link.
[0049] For example, if the meter data collection network includes three routing links, which are represented as path A, path B and path C. If the first routing link is path A, then in the process of determining the target routing link group according to the neighbor node table, first, the neighbor node tables of all nodes in path A are integrated, and duplicate neighbor nodes are removed to obtain the total neighbor node table Q1. Then, path B except path A is selected as the second routing link. For any node in path B, it is detected whether the node is in Q1. If all nodes in path B are not in Q1, it is determined that there is no co-frequency interference between path A and path B, and path B is recorded as a target routing link in the target routing link group. The neighbor node tables of all nodes in path B are written into Q1 to obtain Update the total neighbor node table Q2. Finally, select path C other than path A and path B as the second routing link. For any node in path C, check whether the node is in Q2. If all nodes in path C are not in Q2, determine that there is no co-frequency interference between any two paths of path A, path B and path C. Record path C as a target routing link in the target routing link group. Write the neighbor node table of all nodes in path C into Q2 to obtain the updated total neighbor node table Q3. At this time, traverse all routing links, and the obtained target routing link group includes 2 target routing links, namely path B and path C.
[0050] Optionally, for the above-mentioned path B, if it is detected that any node in path B is in Q1, it is determined that there is co-frequency interference between path A and path B, and path C other than path A and path B is selected as the second routing link. For any node in path C, it is detected whether the node is in Q1. If all nodes in path C are not in Q1, it is determined that there is no co-frequency interference between path A and path C, and path C is recorded as a target routing link in the target routing link group. The neighbor node table of all nodes in path C is written into Q1 to obtain an updated total neighbor node table Q2. At this time, all routing links are traversed, and the obtained target routing link group includes 1 target routing link, namely path C; accordingly, if any node in path C is in Q1, it is determined that there is co-frequency interference between path A and path C. At this time, all routing links are traversed, and the obtained target routing link group does not contain the target routing link.
[0051] In this embodiment, by traversing all routing links, according to the total neighbor node table, it is detected whether there is co-frequency interference between the second routing link and the first routing link, and a target routing link group is obtained. There is no co-frequency interference between any target routing link in the target routing link group and the first routing link, and there is no co-frequency interference between any two target routing links in the target routing link group. Therefore, according to the target routing link group, all routing links that transmit data simultaneously with the first routing link can be determined, thereby improving the transmission efficiency of the meter data.
[0052] like Figure 4 As shown, it is a flow chart of a method for transmitting data of an electric meter provided in the fourth embodiment of the present invention. In the step S302 of the third embodiment, it is detected whether there is co-frequency interference between the second routing link and the first routing link, which may include the following steps:
[0053] Step S401: for any node in the second routing link, detect whether the node is in the total neighbor node table. If each node in the second routing link is not in the total neighbor node table, determine that there is no co-channel interference between the second routing link and the first routing link.
[0054] Step S402: If any node in the second routing link is in the total neighbor node table, it is determined that there is co-frequency interference between the second routing link and the first routing link.
[0055] Specifically, for any node in the second routing link, the information of the node is compared with the information of all neighbor nodes recorded in the total neighbor node table. If the information of each node in the second routing link is inconsistent with the neighbor node information in the total neighbor node table, it is determined that there is no co-frequency interference between the second routing link and the first routing link. If the information of any node in the second routing link is consistent with the information of any neighbor node in the total neighbor node table, it is determined that there is co-frequency interference between the second routing link and the first routing link.
[0056] In this embodiment, by detecting whether any node in the second routing link is in the total neighbor node table, if each node in the second routing link is not in the total neighbor node table, it is determined that there is no co-frequency interference between the second routing link and the first routing link, and if any node in the second routing link is in the total neighbor node table, it is determined that there is co-frequency interference between the second routing link and the first routing link. By determining whether there is co-frequency interference between links through the total neighbor node table, the accuracy of co-frequency interference detection is improved.
[0057] like Figure 5 As shown, it is a flow chart of a method for transmitting electric meter data provided by Embodiment 5 of the present invention. In the step S103 of the above Embodiment 1, sending a meter reading instruction to the first routing link and the target routing link group may include the following steps:
[0058] Step S501: for a first routing link and any routing link in a target routing link group, a sending timing configured for the routing link is obtained.
[0059] Step S502: Send a meter reading instruction to the routing link according to the sending timing.
[0060] In this embodiment, the sending timing may refer to the sending time configured for the routing link.
[0061] For example, if the first routing link can be represented as path A, the target routing link group includes one target routing link represented as path B, path A includes two nodes, which can be represented as node A1 and node A2 in order from near to far from the central node, and path B includes two nodes, which can be represented as node B1 and node B2 in order from near to far from the central node. If the central node is a neighbor node of A1 and A2, then in the process of sending meter reading instructions to path A and path B, the central node sends the meter reading instruction to path A according to the sending timing of path A, and after A1 in path A forwards the meter reading instruction to A2, it reaches the sending timing of path B, and then sends the meter reading instruction to path B.
[0062] In this embodiment, the meter reading instruction is sent to the first routing link and any routing link in the target routing link group according to the sending timing, avoiding co-frequency interference between the central node and the nodes in the target routing link, thereby improving the stability and efficiency of data transmission.
[0063] like Figure 6 As shown, a meter data transmission device provided in Embodiment 6 of the present invention is provided. The meter data collection device corresponds to the meter data transmission method in the above embodiment. The data transmission device is applied to a meter data collection network. The meter data collection network includes a central node and a routing link connected to the central node. Each routing link is used to connect a corresponding meter. The meter data transmission device includes a table acquisition module 61, a link group determination module 62, and an instruction sending module 63. The functional modules are described in detail as follows:
[0064] A table acquisition module 61 is used to acquire a neighbor node table of each node in all routing links, wherein the neighbor node table includes information of neighbor nodes that have co-frequency interference with the corresponding node;
[0065] The link group determination module 62 is used to determine a first routing link from all routing links, and determine a target routing link group according to a neighbor node table of each node in the first routing link, wherein any target routing link in the target routing link group does not have co-frequency interference with the first routing link, and any two target routing links in the target routing link group do not have co-frequency interference;
[0066] The instruction sending module 63 is used to send a meter reading instruction to the first routing link and the target routing link group to instruct to read the meters corresponding to the first routing link and all routing links in the target routing link group.
[0067] Optionally, the above-mentioned data transmission device further includes:
[0068] A beacon forwarding module, used to broadcast a wireless location beacon to each routing link, and the wireless location beacon is forwarded by each node in all routing links;
[0069] The neighbor determination module is used for, for any node, after receiving the wireless location beacon, determining the node that sends the wireless location beacon as the neighbor node of the node, and writing the information of the neighbor node into the neighbor node table of the node.
[0070] Optionally, the link group determination module 62 includes:
[0071] A superposition unit, configured to superimpose neighbor node tables of all nodes in the first routing link to obtain a total neighbor node table corresponding to the first routing link;
[0072] an interference detection unit, configured to select any routing link from all routing links except the first routing link as a second routing link, and detect whether there is co-frequency interference between the second routing link and the first routing link according to the total neighbor node table;
[0073] a target determination unit, configured to record the second routing link as a target routing link in the target routing link group if it is detected that there is no co-frequency interference between the second routing link and the first routing link, and write the neighbor node table of all nodes in the second routing link into the total neighbor node table;
[0074] The loop unit is used to return to the step of selecting any routing link from all routing links excluding the first routing link as the second routing link until all routing links are traversed to obtain the target routing link group.
[0075] Optionally, the interference detection unit further includes:
[0076] The interference determination module is used to return to the step of selecting any routing link as the second routing link from all routing links excluding the first routing link if it is detected that the second routing link has co-frequency interference with the first routing link, until all routing links are traversed to obtain the target routing link group.
[0077] Optionally, the interference detection unit includes:
[0078] A first determining subunit is configured to detect, for any node in the second routing link, whether the node is in the total neighbor node table, and if each node in the second routing link is not in the total neighbor node table, determine that there is no co-frequency interference between the second routing link and the first routing link;
[0079] The second determining subunit is configured to determine that there is co-frequency interference between the second routing link and the first routing link if any node in the second routing link is in the total neighbor node table.
[0080] Optionally, the instruction sending module 63 includes:
[0081] A timing acquisition unit, configured to acquire, for the first routing link and any routing link in the target routing link group, a sending timing configured for the routing link;
[0082] A sending unit is used to send a meter reading instruction to the routing link according to the sending timing.
[0083] For the specific definition of the electric meter data transmission device, please refer to the definition of the electric meter data transmission method above, which will not be repeated here. Each module in the above-mentioned electric meter data transmission device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0084] Figure 7 This is a schematic diagram of the structure of a computer device provided in Embodiment 7 of the present invention. Figure 7 As shown, the computer device of this embodiment includes: at least one processor ( Figure 7 Only one is shown), a memory, and a computer program stored in the memory and executable on at least one processor, and when the processor executes the computer program, the steps of any of the above-mentioned embodiments of the electric meter data transmission method are implemented.
[0085] The computer device may include, but is not limited to, a processor and a memory. Those skilled in the art will appreciate that Figure 7 This is merely an example of a computer device and does not constitute a limitation on the computer device. The computer device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. For example, it may also include a network interface, a display screen, and an input device.
[0086] The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0087] The memory includes a readable storage medium, an internal memory, etc., wherein the internal memory may be the memory of a computer device, and the internal memory provides an environment for the operation of an operating system and computer-readable instructions in the readable storage medium. The readable storage medium may be a hard disk of a computer device, and in other embodiments may also be an external storage device of a computer device, for example, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on a computer device. Further, the memory may also include both an internal storage unit of a computer device and an external storage device. The memory is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as program codes of computer programs, etc. The memory may also be used to temporarily store data that has been output or is to be output.
[0088] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention. The specific working process of the units and modules in the above-mentioned device can refer to the corresponding process in the above-mentioned method embodiment, which will not be repeated here. If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned method embodiment can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device capable of carrying computer program code, recording medium, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.
[0089] The present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by a computer program product. When the computer program product runs on a computer device, the computer device can implement the steps in the above-mentioned method embodiment when executing.
[0090] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0091] 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 to be beyond the scope of the present invention.
[0092] In the embodiments provided by the present invention, it should be understood that the disclosed devices / computer equipment and methods can be implemented in other ways. For example, the device / computer equipment embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, 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.
[0093] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0094] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features can be replaced by equivalents, and these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. A method for transmitting electric meter data, It is characterized in that The data transmission method is applied to an electric meter collection network, the electric meter collection network includes a central node and a routing link connected to the central node, each routing link is used to connect a corresponding electric meter, and the data transmission method includes the following steps: Obtaining a neighbor node table of each node in all routing links, wherein the neighbor node table includes information of neighbor nodes that have co-frequency interference with the corresponding node; Determine a first routing link from all routing links, and determine a target routing link group according to a neighbor node table of each node in the first routing link, wherein any target routing link in the target routing link group does not have co-frequency interference with the first routing link, and any two target routing links in the target routing link group do not have co-frequency interference; A meter reading instruction is sent to the first routing link and the target routing link group to instruct to read the electricity meters corresponding to all routing links in the first routing link and the target routing link group.
2. The electric meter data transmission method according to claim 1, It is characterized in that Before obtaining the neighbor node table of each node in all routing links, the method further includes: Broadcasting a wireless location beacon to each routing link, wherein the wireless location beacon is forwarded by each node in all routing links; For any node, after receiving the wireless location beacon, the node that sends the wireless location beacon is determined as a neighbor node of the node, and the information of the neighbor node is written into the neighbor node table of the node.
3. The electric meter data transmission method according to claim 1, It is characterized in that Determining the target routing link group according to the neighbor node table includes: Superimposing neighbor node tables of all nodes in the first routing link to obtain a total neighbor node table corresponding to the first routing link; Selecting any routing link from all routing links except the first routing link as a second routing link, and detecting whether there is co-frequency interference between the second routing link and the first routing link according to the total neighbor node table; If it is detected that there is no co-frequency interference between the second routing link and the first routing link, the second routing link is recorded as a target routing link in the target routing link group, and the neighbor node table of all nodes in the second routing link is written into the total neighbor node table; Return to the step of selecting any routing link from all routing links excluding the first routing link as the second routing link until all routing links are traversed to obtain the target routing link group.
4. The electric meter data transmission method according to claim 3, It is characterized in that After detecting whether the second routing link and the first routing link have co-channel interference, the method further includes: If it is detected that the second routing link and the first routing link have co-channel interference, the step of selecting any routing link from all routing links excluding the first routing link as the second routing link is returned to execution until all routing links are traversed to obtain the target routing link group.
5. The electric meter data transmission method according to claim 3, It is characterized in that The detecting whether the second routing link and the first routing link have co-frequency interference includes: For any node in the second routing link, detect whether the node is in the total neighbor node table, and if each node in the second routing link is not in the total neighbor node table, determine that there is no co-frequency interference between the second routing link and the first routing link; If any node in the second routing link is in the total neighbor node table, it is determined that the second routing link has co-frequency interference with the first routing link.
6. The electric meter data transmission method according to claim 1, It is characterized in that The sending a meter reading instruction to the first routing link and the target routing link group includes: For the first routing link and any routing link in the target routing link group, acquiring a sending timing configured for the routing link; According to the sending timing, a meter reading instruction is sent to the routing link.
7. An electric meter data transmission device, It is characterized in that The data transmission device is applied to an electric meter data collection network, the electric meter data collection network includes a central node and a routing link connected to the central node, each routing link is used to connect a corresponding electric meter, and the data transmission device includes: A table acquisition module, used to acquire a neighbor node table of each node in all routing links, wherein the neighbor node table includes information of neighbor nodes that have co-frequency interference with the corresponding node; A link group determination module, used to determine a first routing link from all routing links, and determine a target routing link group according to a neighbor node table of each node in the first routing link, wherein any target routing link in the target routing link group does not have co-frequency interference with the first routing link, and any two target routing links in the target routing link group do not have co-frequency interference; The instruction sending module is used to send a meter reading instruction to the first routing link and the target routing link group to instruct to read the meters corresponding to the first routing link and all routing links in the target routing link group.
8. The electric meter data transmission device according to claim 7, It is characterized in that The link group determination module includes: A superposition unit, configured to superimpose neighbor node tables of all nodes in the first routing link to obtain a total neighbor node table corresponding to the first routing link; an interference detection unit, configured to select any routing link from all routing links except the first routing link as a second routing link, and detect whether there is co-frequency interference between the second routing link and the first routing link according to the total neighbor node table; a target determination unit, configured to record the second routing link as a target routing link in the target routing link group, and write the neighbor node table of all nodes in the second routing link into the total neighbor node table if it is detected that there is no co-frequency interference between the second routing link and the first routing link; The loop unit is used to return to the step of selecting any routing link from all routing links excluding the first routing link as the second routing link until all routing links are traversed to obtain the target routing link group.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the electric meter data transmission method according to any one of claims 1 to 6 is implemented.
10. A computer-readable storage medium storing a computer program. It is characterized in that When the computer program is executed by a processor, the electric meter data transmission method according to any one of claims 1 to 6 is implemented.
Citation Information
Cited By
Power acquisition terminal simulation test method, device, equipment and medium
CN122395104A
Power collection terminal simulation test method, device, equipment and medium
CN122395104B
