Discrete reporting method, device, equipment, medium and product based on NB communication

By generating the reference time and seed time and combining the grouping information to calculate the discrete reporting time of the NB node, the network congestion problem of NB-IoT smart meter reading is solved, and efficient and stable data transmission and accuracy management between nodes are achieved.

CN120499105BActive Publication Date: 2025-09-26ZHEJIANG CHINT INSTR & METER
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510990628.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-07-18
Publication Date
2025-09-26
Estimated Expiration
2045-07-18

AI Technical Summary

Technical Problem

Existing technologies cannot effectively solve the network congestion problem caused by a large number of devices reporting simultaneously, especially in NB-IoT smart meter reading scenarios. Fixed time intervals lead to long reporting times, affecting the real-time nature of the data, while random delays cannot ensure uniform distribution of devices, and the risk of network congestion still exists.

Method used

By generating a reference time and seed time based on NB nodes, combining preset grouping information to calculate the discrete reporting time of each NB node, and dynamically adjusting the reporting time to optimize network resource allocation, an improved CRC16/MODBUS algorithm is used to generate a unique seed time, and multi-level, refined time allocation and grouping management are performed.

Benefits of technology

It effectively avoids data reporting conflicts between nodes, reduces the probability of network collisions, improves the success rate of data transmission, and ensures the efficient and stable operation of the NB communication network. It is suitable for smart meter reading scenarios with large-scale NB node deployment, and guarantees the accuracy and reliability of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120499105B_ABST
    Figure CN120499105B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of Internet of Things technology and discloses a discrete reporting method, apparatus, device, medium, and product based on NB communication. The method includes: generating a reference time after the NB node is powered on based on the current time of the NB node or the time of a meter corresponding to the NB node; generating a seed time after the NB node is powered on using a preset algorithm based on the meter address corresponding to the NB node; calculating the discrete reporting time of each NB node based on the reference time, the seed time, and preset grouping information of the NB node, and reporting data according to the discrete reporting time; calculating the data reporting success rate, and dynamically adjusting the discrete reporting time of each NB node based on the data reporting success rate. The present invention calculates the discrete reporting time based on the reference time, the seed time, and the preset grouping information, which can reasonably allocate network resources, reduce the pressure on the network caused by a large number of nodes simultaneously reporting data in the same time period, and avoid network congestion.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of Internet of Things, and in particular to a discrete reporting method, apparatus, device, medium and product based on NB communication. Background Art

[0002] With the rapid development of IoT technology, NB-IoT (Narrow Band Internet of Things), a key component of IoT communications, has been widely used in smart metering. Current NB-IoT networks have only 12 subcarriers (channels) for uplink transmission in a single cell. In actual use, these 12 subcarriers are used for both module access and data transmission. Therefore, data transmission failures are common when a large number of devices are connected to the network. Electricity meters generate large amounts of data in field applications. During operation, a single base station may simultaneously receive network access applications from thousands of NB-IoT communication modules. This can cause network congestion and severe data loss at best, or even network failure at worst.

[0003] In the existing technology, fixed time intervals or random delays are usually used to avoid simultaneous device reporting. However, these methods have the following drawbacks:

[0004] Fixed time interval: Although it can prevent devices from reporting at the same time, when there are a large number of devices, it will cause the reporting time to be too long, affecting the real-time nature of the data.

[0005] Random delay: Although it can alleviate network congestion to a certain extent, due to its strong randomness, it cannot guarantee the uniform distribution of devices, and there is still a risk of network congestion.

[0006] Although methods for determining a reporting period and a start time based on discrete algorithms have been proposed in the prior art, these methods still cannot effectively solve the network congestion problem caused by a large number of devices reporting simultaneously. Summary of the Invention

[0007] In view of this, the present invention provides a discrete reporting method, apparatus, device, medium and product based on NB (Narrow-Band) communication to solve the problem in the prior art that network congestion caused by a large number of devices reporting at the same time cannot be effectively solved.

[0008] In a first aspect, the present invention provides a discrete reporting method based on NB communication, the method comprising:

[0009] Generate a reference time after the NB node is powered on based on the current time of the NB node or the time of the meter corresponding to the NB node;

[0010] Based on the meter address corresponding to the NB node, a preset algorithm is used to generate the seed time after the NB node is powered on;

[0011] Calculate the discrete reporting time of each NB node based on the reference time, seed time and the preset grouping information of the NB node, and report data according to the discrete reporting time;

[0012] Calculate the data reporting success rate and dynamically adjust the discrete reporting time of each NB node based on the data reporting success rate.

[0013] The present invention provides a discrete reporting method based on NB communication, which generates a reference time after the NB node is powered on through the current time of the NB node or the time of the meter corresponding to the NB node, ensuring that all nodes operate under the same time reference. A seed time is generated based on the meter address corresponding to the NB node using a preset algorithm to give each NB node a unique identifier, so that each node can generate a unique discrete reporting time based on the seed time. Compared with the traditional unified reporting method, this personalized scheduling can effectively avoid data reporting conflicts between nodes, reduce the probability of network collisions, improve the success rate of data transmission, and give full play to the performance advantages of the NB communication network. Calculating discrete reporting time based on reference time, seed time and preset grouping information can reasonably allocate network resources, reduce the pressure on the network caused by a large number of nodes reporting data at the same time in the same time period, avoid network congestion, and ensure the efficient and stable operation of the NB communication network. It is particularly suitable for smart meter reading scenarios with large-scale NB node deployment, and solves the problem that the existing technology cannot effectively solve the network congestion caused by a large number of devices reporting at the same time.

[0014] In an optional implementation, calculating the discrete reporting time of each NB node based on the reference time, the seed time, and the preset grouping information of the NB node includes:

[0015] Physically group the meter reading network where the NB nodes are located based on the seed time, obtain the number of physical groups, and obtain the physical group number and grouping time interval of each NB node;

[0016] Logically group each NB node within each group based on the seed time, obtain the number of logical groups, and obtain the logical sequence number and logical time interval of each NB node;

[0017] Based on the seed time, the time required for each NB node to report data is divided into multiple time slots, the number of time slots is obtained, and the sequence number and time slot length of each time slot are obtained;

[0018] The discrete reporting time of each NB node is calculated based on the reference time, physical group number, grouping time interval, logical sequence number, logical time interval, time slot sequence number and time slot length.

[0019] In an optional implementation, the formula for calculating the discrete reporting time of each NB node based on the reference time, physical group number, grouping time interval, logical sequence number, logical time interval, time slot sequence number, and time slot length is as follows:

[0020] ;

[0021] in, is the discrete reporting time, is the base time, is the physical group number, is the grouping time interval, is a logical sequence number, is the logical time interval, is the time slot number, is the time slot length.

[0022] The present invention provides a discrete reporting method based on NB communication. This method groups meter reading networks based on seed time, logically numbers nodes, and divides them into time slots. Combined with reference time and various time interval parameters, it implements a multi-level, refined splitting of the reporting time for each NB node. The physical group number and group interval determine the reporting start time for the node's group. The logical sequence number and logical interval further refine the reporting order of nodes within the group. The time slot sequence number and slot length accurately determine the specific reporting time of each node. This refined time allocation mechanism evenly distributes the reporting times of a large number of NB nodes on the time axis, preventing multiple nodes from reporting data simultaneously. This fundamentally alleviates network pressure, effectively prevents network congestion, and ensures the efficient operation of the NB communication network. Through precise discrete reporting time calculation, each NB node can report data at the most appropriate time, reducing collisions and interference during data transmission. Furthermore, the introduction of a reference time ensures that all nodes report based on the same time standard, avoiding data confusion caused by time asynchrony. In addition, during the calculation process, the synergistic effect of various parameters makes the node reporting time highly stable and predictable. The system master station can accurately receive and process the data of each node, improving the accuracy and reliability of data transmission, providing high-quality data support for the smart meter reading system, and contributing to more accurate analysis and management of user electricity consumption data.

[0023] In an optional implementation, calculating the data reporting success rate includes:

[0024] The amount of data reported by the NB node each time is recorded, and the ratio of the amount of data successfully reported to the total amount of data that should be reported is calculated within the preset total time window to obtain the data reporting success rate within the preset total time window.

[0025] The present invention provides a discrete reporting method based on NB communication, which can intuitively reflect the actual effect of network data transmission by recording each data reported by the NB node and calculating the data reporting success rate within a fixed time window.

[0026] In an optional implementation, dynamically adjusting the discrete reporting time of each NB node based on the data reporting success rate includes:

[0027] When the data reporting success rate is within the preset range, the discrete reporting time of each NB node will not be adjusted;

[0028] When the data reporting success rate is less than the lower limit of the preset range or greater than the upper limit of the preset range, the discrete reporting time of each NB node is adjusted according to different preset multiples, and the grouping information of the NB nodes is adjusted.

[0029] In an optional embodiment, when the data reporting success rate is less than a lower limit of a preset range or greater than an upper limit of a preset range, the discrete reporting time of each NB node is adjusted according to different preset multiples, and the grouping information of the NB nodes is adjusted, including:

[0030] When the data reporting success rate is less than the lower limit of the preset range, the discrete reporting time of each NB node is adjusted according to the first preset multiple, and the total time window is increased, the number of logical groups is increased, and the number of physical groups is reduced. The number of time slots and the time slot length are adjusted according to the rule of joint adjustment of the number of logical groups and the reporting period;

[0031] When the data reporting success rate is greater than the upper limit of the preset range, the discrete reporting time of each NB node is adjusted according to different second preset multiples, while reducing the total time window, reducing the number of logical groups and increasing the number of physical groups, and adjusting the number of time slots and time slot length according to the rules of joint adjustment of the number of logical groups and the reporting period.

[0032] The present invention provides a discrete reporting method based on NB communication, which divides the data reporting success rate into three states: normal, below the lower limit, and above the upper limit. In conjunction with the threshold judgment of the subcarrier utilization rate, a multi-dimensional hierarchical control system is constructed. When the success rate is within the preset range, it remains stable to avoid fluctuations caused by excessive adjustments; when the success rate is abnormal, the reporting time is adjusted by a preset multiple to alleviate data conflicts or improve collection efficiency in a targeted manner; when the subcarrier utilization rate is too high, the physical group and the logical group are re-planned to accurately optimize resource allocation. The strategy takes the data reporting success rate and the subcarrier utilization rate as the core optimization targets, and directly acts on the key links of data transmission. Adjustments when the success rate is abnormal ensure that data collection is complete and accurate, and avoid the loss of user electricity consumption data due to packet loss. Stable and reliable data transmission provides solid support for services such as electricity bill settlement and load forecasting, and enhances users' trust in smart grid services.

[0033] In a second aspect, the present invention provides a discrete reporting device based on NB communication, the device comprising:

[0034] A reference time acquisition module is used to generate a reference time after the NB node is powered on based on the current time of the NB node or the time of the meter corresponding to the NB node;

[0035] A seed time acquisition module is used to generate a seed time after the NB node is powered on using a preset algorithm based on the meter address corresponding to the NB node;

[0036] The discrete reporting time calculation module is used to calculate the discrete reporting time of each NB node based on the reference time, seed time and preset grouping information of the NB node, and report data according to the discrete reporting time;

[0037] The discrete reporting time dynamic adjustment module is used to calculate the data reporting success rate and dynamically adjust the discrete reporting time of each NB node based on the data reporting success rate.

[0038] In a third aspect, the present invention provides a computer device comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the computer instructions to thereby execute the discrete reporting method based on NB communication of the above-mentioned first aspect or any corresponding embodiment thereof.

[0039] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the discrete reporting method based on NB communication of the above-mentioned first aspect or any corresponding embodiment thereof.

[0040] In a fifth aspect, the present invention provides a computer program product, comprising computer instructions, where the computer instructions are used to enable a computer to execute the discrete reporting method based on NB communication according to the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the specific embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0042] Figure 1 1 is a flow chart of a discrete reporting method based on NB communication according to an embodiment of the present invention;

[0043] Figure 21 is a flow chart of another discrete reporting method based on NB communication according to an embodiment of the present invention;

[0044] Figure 3 1 is a flow chart of another discrete reporting method based on NB communication according to an embodiment of the present invention;

[0045] Figure 4 This is a schematic diagram of a smart meter reading network topology based on NB (Narrow-Band) communication according to an embodiment of the present invention;

[0046] Figure 5 1 is a flow chart of another discrete reporting method based on NB communication according to an embodiment of the present invention;

[0047] Figure 6 This is a flow chart of dynamically adjusting the discrete reporting time of each NB node based on the data reporting success rate and subcarrier utilization according to an embodiment of the present invention;

[0048] Figure 7 1 is a structural block diagram of a discrete reporting device based on NB communication according to an embodiment of the present invention;

[0049] Figure 8 Schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0050] To make the purpose, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings 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 those skilled in the art without making creative efforts shall fall within the scope of protection of the present invention.

[0051] According to an embodiment of the present invention, an embodiment of a discrete reporting method based on NB communication is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0052] In this embodiment, a discrete reporting method based on NB communication is provided, which can be used in smart meter reading networks. Figure 1 is a flow chart of a discrete reporting method based on NB communication according to an embodiment of the present invention, such as Figure 1 As shown, the process includes the following steps:

[0053] Step S101 : generating a reference time after the NB node is powered on based on the current time of the NB node or the time of a meter corresponding to the NB node.

[0054] Specifically, if Figure 4 The figure shows a topology diagram of a smart meter reading network based on NB (Narrow-Band) communication. It includes a system master station, an IoT cloud platform, and a base station connected in sequence, as well as multiple NB communication modules connected to the base station. The NB communication modules are NB smart meters, including NB electricity meters and NB gas meters. Each NB meter is considered an NB node.

[0055] The reference time is used to ensure that the reporting time of all NB nodes is based on the same time reference.

[0056] After the NB node is powered on, it will obtain the current time through the AT+CCLK command, or read the time of the meter through the serial port. The time obtained by either method is recorded as the reference time. .

[0057] More specifically, after the NB node is powered on, the AT instruction set command for clock management is used to obtain the current time of the NB node, and the current time is converted into a timestamp format as the reference time; or after the NB node is powered on, a command is sent through the serial port to read the time of the meter corresponding to the NB node, and the meter time is converted into a timestamp format as the reference time, as follows:

[0058] The AT+CCLK command is used for clock management. The AT+CCLK command obtains the current time in the format of "YY / MM / DD, HH:MM:SS" and converts it into a timestamp format as the reference time.

[0059] Or read the time of the meter through the serial port in the format of "YYMMDDHHMMSS" and convert it into a timestamp format as the reference time.

[0060] For example, taking the NB communication module as an NB energy meter, the current time read from the NB energy meter is 09:19:19 on September 9, 2021, which is converted to 1631150359 in seconds through the timestamp conversion function. =1631150359.

[0061] The discrete reporting method based on NB communication provided in this embodiment offers two distinct methods for obtaining a reference time: one using the AT instruction set for clock management, and the other reading the meter time via the serial port. This allows the method to adapt to different hardware configurations and network environments. Whether using the AT instruction set to obtain the current time or reading the meter time, it is ultimately converted into a timestamp format as the reference time, ensuring that all NB nodes operate under the same high-precision time reference, making the data reporting time of each node more accurate. In smart meter reading scenarios, accurate time recording helps accurately analyze users' electricity usage patterns, avoids data statistical errors caused by time errors, and thus improves the overall quality of data reporting.

[0062] Step S102: Generate a seed time after the NB node is powered on by using a preset algorithm based on the meter address corresponding to the NB node.

[0063] Specifically, in the discrete reporting algorithm of the smart meter reading network based on NB communication, the seed time is the key factor for generating a unique discrete reporting time for each node. It is generated based on a specific algorithm and is deeply involved in node scheduling and time calculation.

[0064] For example, taking the NB communication module as an NB energy meter, after the NB communication module is powered on, it will first send a 645 protocol frame 68 AA AA AA AA AA AA 68 13 00 CS 16 through the serial port to obtain the NB energy meter address as the address of this communication NB node. The address format is 6 bytes. The improved CRC16 / MODBUS algorithm (an algorithm used to calculate and verify data integrity, CRC16 is a cyclic redundancy check algorithm, MODBUS is a commonly used industrial communication protocol) is used to process the 6-byte NB energy meter address and generate a 16-bit seed value. This seed value is used as the seed time Seed. time , Seed time time It is used to generate a unique discrete reporting time for each node. The seed time is like the "time ID card" of each NB node, allowing the NB node to report data at the appropriate time and maintain the efficient and orderly operation of the smart meter reading network.

[0065] Seed time = CRC16(Addr[0:5]) ^ (Addr[4]<<8 | Addr[5]), where the CRC16 polynomial is 0x8005 and ^ represents bitwise exclusive OR. The seed time is used to generate a unique discrete reporting time for each node.

[0066] For example, the test cases are shown in Table 1 below:

[0067] Table 1 Test case seed value table

[0068]

[0069] This embodiment provides a discrete reporting method based on NB communication that generates a seed time based on the meter address. Since each meter address is unique within the system, the seed value obtained by obtaining the meter address through a preset protocol frame and processing it also ensures that each NB node has a unique identifier. This enables the system to generate a unique discrete reporting time for each node based on the seed time, enabling precise node scheduling. In smart metering networks with large-scale NB node deployments, this method can avoid data reporting conflicts between nodes, optimize network resource allocation, and improve data transmission efficiency and accuracy. An improved redundancy check algorithm is used to process meter addresses, effectively detecting errors that may occur during data transmission and processing. During the seed value generation process, if the meter address changes due to interference, transmission anomalies, or other reasons, the improved redundancy check algorithm can promptly detect and prevent the erroneous data from being included in the seed value calculation. This ensures the accuracy and reliability of the seed time, reduces the risk of node reporting errors caused by data errors, and ensures the stable operation of the NB communication network.

[0070] Step S103: Calculate the discrete reporting time of each NB node based on the reference time, the seed time, and the preset grouping information of the NB node, and report data according to the discrete reporting time.

[0071] Specifically, in the discrete reporting algorithm of the intelligent meter reading network based on NB communication, the preset grouping information of the NB node is the key data for calculating the discrete reporting time. It mainly includes physical grouping, logical grouping, and time slot division, as follows:

[0072] Physical grouping related information, including the number of physical groups and the time interval between groups.

[0073] Logical grouping related information: covers the number of logical groups M, the logical sequence number of each NB node, and the logical time interval.

[0074] Information related to time slot division: includes the number of time slots K, which is the time required for each NB node to report data, the sequence number of each time slot, and the time slot length. The time slot sequence number is used to identify the specific time slot used by each node within its corresponding reporting time; the time slot length determines the duration of each time slot, providing a more detailed division of node reporting time.

[0075] A discrete reporting time function is constructed. This function combines the base time, seed time, and pre-set grouping information to calculate the reporting time of each node. This function ensures that the reporting time of nodes is evenly distributed, avoiding network congestion.

[0076] Step S104: Calculate the data reporting success rate, and dynamically adjust the discrete reporting time of each NB node based on the data reporting success rate.

[0077] In IoT communication scenarios like NB-IoT, the data reporting success rate is a core indicator for measuring the reliability of data transmission between terminal devices (NB nodes) and base stations / master stations. Specifically, it refers to the ratio of the amount of data (such as meter readings and status information) successfully uploaded by the NB node to the system master station to the total amount of data it attempted to report. The discrete reporting time for each NB node is dynamically adjusted based on the relationship between the reporting success rate and the size of the preset range.

[0078] The discrete reporting method based on NB communication provided in this embodiment uses preset instructions to obtain the reference time after the NB node is powered on, ensuring that all nodes operate under the same time reference. A preset algorithm is used to obtain the seed time, giving each NB node a unique identifier. This allows each node to generate a unique discrete reporting time based on the seed time. Compared to traditional unified reporting methods, this personalized scheduling can effectively avoid data reporting conflicts between nodes, reduce the probability of network collisions, improve the success rate of data transmission, and fully utilize the performance advantages of the NB communication network. Calculating discrete reporting times based on the reference time, seed time, and preset grouping information can rationally allocate network resources, reduce the pressure on the network caused by a large number of nodes simultaneously reporting data in the same time period, avoid network congestion, and ensure the efficient and stable operation of the NB communication network. This method is particularly suitable for smart meter reading scenarios with large-scale NB node deployments, solving the problem that existing technologies cannot effectively solve the network congestion caused by a large number of devices reporting simultaneously.

[0079] In this embodiment, a discrete reporting method based on NB communication is provided, which can be used in smart meter reading networks. Figure 2 is a flow chart of a discrete reporting method based on NB communication according to an embodiment of the present invention, such as Figure 2 As shown, the process includes the following steps:

[0080] Step S201: Generate a reference time after the NB node is powered on based on the current time of the NB node or the time of the meter corresponding to the NB node. Figure 1 Step S101 of the illustrated embodiment will not be described in detail here.

[0081] Step S202: Generate the seed time after the NB node is powered on using a preset algorithm based on the meter address corresponding to the NB node. Figure 1Step S102 of the illustrated embodiment will not be described in detail here.

[0082] Step S203: Calculate the discrete reporting time of each NB node based on the reference time, the seed time, and the preset grouping information of the NB node, and report data according to the discrete reporting time.

[0083] Specifically, the above step S203 includes:

[0084] Step S2031 : Physically group the meter reading network where the NB node is located based on the seed time to obtain the number of physical groups, and obtain the physical group number and grouping time interval of each NB node.

[0085] Specifically, this step is the physical grouping related information of the NB node, including the physical group number , the physical group number of each NB node and grouping time interval .

[0086] Map the 16-bit value of the seed time to the physical group number through a hash function within the scope, e.g. This mapping ensures that each node is evenly distributed to different physical groups, avoiding load imbalance between groups.

[0087] Number of physical groups If the base station supports reading the number of available subcarriers, take the smaller value between 12 and the number of available subcarriers; if the base station does not support it, calculate it according to the default value of 12. Indicates the number of available subcarriers.

[0088] Physical group number Used to identify the physical group where the node is located; grouping time interval Indicates the time interval between two adjacent physical groups, which determines the order and time difference of reporting by nodes in different groups.

[0089] Step S2032: logically group each NB node in each group based on the seed time, obtain the number of logical groups, and obtain the logical sequence number and logical time interval of each NB node.

[0090] Specifically, within each physical group, the high-order 8 bits and low-order 8 bits of the seed time are used as key-value pairs (k1, k2), and a pseudo-random number generator (such as the linear congruential method) is used to generate a logical sequence of numbers. This method generates seemingly random but deterministic numbers, ensuring an even distribution of nodes within the group.

[0091] Covers the number of logical groups M and the logical sequence number of each NB node and logical time intervals .

[0092] The number of logical groups M (4≤M≤16) is set by the system master station. If the system master station does not set it, the default value is 4. is a joint adjustment, when When making adjustments, M also makes corresponding adjustments. . It is the total time window, that is, the data reporting period.

[0093] Logical sequence number Used to number nodes within each physical group; logical time interval Refers to the time interval between two adjacent logical nodes in the same physical group, further refining the reporting order of nodes in the group.

[0094] Step S2033: Divide the time required for each NB node to report data into multiple time slots based on the seed time, obtain the number of time slots, and obtain the sequence number and time slot length of each time slot.

[0095] Specifically, it includes the number of time slots divided by the time required for each NB node to report data. , each time slot number and time slot length .

[0096] Number of time slots , is the number of NB nodes, is the number of logical groups, is the number of physical groups. Indicates the length of time required for a NB node to report data. In order to adapt to different network environments, the system master station can count the time taken for NB nodes to report in real time. =median(sample reporting time)+σ(sample variance), the default value is 10.

[0097] For example, the physical group number of the NB node in 12 subcarriers , each group takes a fixed time , logical group number , logical time interval , time slot number .

[0098] Step S2034: Calculate the discrete reporting time of each NB node based on the reference time, physical group number, grouping time interval, logical sequence number, logical time interval, time slot sequence number and time slot length.

[0099] Specifically, the formula for calculating the discrete reporting time of each NB node based on the reference time, physical group number, grouping time interval, logical sequence number, logical time interval, time slot sequence number and time slot length is as follows:

[0100] ;

[0101] in, is the discrete reporting time, is the base time, is the physical group number, is the grouping time interval, is a logical sequence number, is the logical time interval, is the time slot number, is the time slot length.

[0102] Step S204: Calculate the data reporting success rate and dynamically adjust the discrete reporting time of each NB node based on the data reporting success rate. Figure 1 Step S104 of the illustrated embodiment will not be described in detail here.

[0103] The discrete reporting method based on NB communication provided in this embodiment groups meter reading networks based on seed time, logically numbers nodes, and divides them into time slots. Combined with reference time and various time interval parameters, this method provides a multi-level, refined breakdown of each NB node's reporting time. The physical group number and group interval determine the reporting start time for the node's group. The logical sequence number and logical interval further refine the reporting order of nodes within the group. The time slot sequence number and slot length accurately specify the specific reporting time of each node. This refined time allocation mechanism evenly distributes the reporting times of a large number of NB nodes along the time axis, preventing multiple nodes from reporting data simultaneously. This fundamentally alleviates network pressure, effectively prevents network congestion, and ensures efficient operation of the NB communication network. Through precise discrete reporting time calculation, each NB node can report data at the most appropriate time, reducing collisions and interference during data transmission. Furthermore, the introduction of a reference time ensures that all nodes report based on the same time standard, avoiding data confusion caused by time asynchrony. In addition, during the calculation process, the synergistic effect of various parameters makes the node reporting time highly stable and predictable. The system master station can accurately receive and process the data of each node, improving the accuracy and reliability of data transmission, providing high-quality data support for the smart meter reading system, and contributing to more accurate analysis and management of user electricity consumption data.

[0104] In this embodiment, a discrete reporting method based on NB communication is provided, which can be used in smart meter reading networks. Figure 3is a flow chart of a discrete reporting method based on NB communication according to an embodiment of the present invention, such as Figure 3 As shown, the process includes the following steps:

[0105] Step S301: Generate a reference time after the NB node is powered on based on the current time of the NB node or the time of the meter corresponding to the NB node. Figure 2 Step S201 of the illustrated embodiment will not be described in detail here.

[0106] Step S302: Generate the seed time after the NB node is powered on using a preset algorithm based on the meter address corresponding to the NB node. Figure 2 Step S202 of the illustrated embodiment will not be described in detail here.

[0107] Step S303: Calculate the discrete reporting time of each NB node based on the reference time, the seed time, and the preset grouping information of the NB node, and report data according to the discrete reporting time.

[0108] Step S304: Calculate the data reporting success rate, and dynamically adjust the discrete reporting time of each NB node based on the data reporting success rate.

[0109] Specifically, the above step S304 includes:

[0110] Step S3041, recording the amount of data reported by the NB node each time, and calculating the ratio of the amount of data successfully reported to the total amount of data that should be reported within the preset total time window, to obtain the data reporting success rate within the preset total time window.

[0111] Specifically, the calculation of the data reporting success rate is described in detail as follows:

[0112] 1. Data volume recording rules:

[0113] 1. Single reported data volume record:

[0114] NB node: Each time data is reported, in addition to recording the reporting ID, initiation time and other information, the data volume (unit: bytes) reported this time is also recorded. The data volume includes the total number of bytes of the data packet header, valid data and check field.

[0115] System master: After receiving the data packet, record the amount of data received and compare it with the amount of data reported by the node. If the two are consistent and the verification passes, the amount of data successfully reported is confirmed; if they are inconsistent or the verification fails, it is recorded as the failed data amount (recorded as 0).

[0116] 2. Determination of the total amount of data to be reported:

[0117] Preset total time window: Preset total time window Configurable (e.g., 1 hour). Within this total time window, the system calculates the total amount of data to be reported based on the preset reporting frequency and single reporting data volume for each NB node.

[0118] Calculation formula: Total data to be reported = Preset number of reports × Preset single data volume. For example, if a node is scheduled to report four times within an hour and the single preset data volume is 100 bytes, the total data to be reported is 4 × 100 = 400 bytes.

[0119] 2. Calculation of data reporting success rate:

[0120] 1. Statistics of successfully reported data volume: within the preset total time window The amount of data reported successfully is accumulated to obtain the total amount of data reported successfully.

[0121] 2. Success rate calculation formula: Data reporting success rate = (total amount of successfully reported data / total amount of data to be reported) × 100%.

[0122] Step S3042: When the data reporting success rate is within the preset range, the discrete reporting time of each NB node is not adjusted; when the data reporting success rate is less than the lower limit of the preset range or greater than the upper limit of the preset range, the discrete reporting time of each NB node is adjusted according to different preset multiples.

[0123] In an optional embodiment, as Figure 6 As shown, the above step S3042 includes:

[0124] Step a1: When the data reporting success rate is less than the lower limit of the preset range, the discrete reporting time of each NB node is adjusted according to the first preset multiple, and at the same time, the total time window is increased, the number of logical groups is increased and the number of physical groups is reduced, and the number of time slots and time slot length are adjusted according to the rules of joint adjustment of the number of logical groups and the reporting period.

[0125] Specifically, the total time window (Unit: hour) Can be set by the system master station based on the global reporting success rate. The maximum value is 24 hours, the default value is 3 hours, so the total access time (total time window) is approximately =10800 seconds.

[0126] The adjustment strategy is:

[0127] No adjustment is made when the reporting success rate is between 80% and 95%.

[0128] When the reporting success rate is less than 80%, .

[0129] When the reporting success rate is greater than 95%, .

[0130] in, is the adjusted discrete reporting time, The calculated original discrete reporting time.

[0131] Step a2, when the data reporting success rate is greater than the upper limit of the preset range, the discrete reporting time of each NB node is adjusted according to different second preset multiples, while reducing the total time window, reducing the number of logical groups and increasing the number of physical groups, and adjusting the number of time slots and the number of time slots length according to the rules of joint adjustment of the number of logical groups and the reporting period.

[0132] Furthermore, if Figure 6 As shown, there are three situations:

[0133] When the reporting success rate is less than 80%, , increase the total time window , that is, increase the discrete reporting time and the number of physical groups Decrease, while increasing the number of logical groups M, and adjust the number of time slots and the time slot length according to the rule of joint adjustment of the number of logical groups and the reporting period.

[0134] When the reporting success rate is greater than 95%, , reducing the total time window , that is, to reduce the discrete reporting time and the number of physical groups Increase and decrease the number of logical groups M at the same time, and adjust the number of time slots and the time slot length according to the rule of joint adjustment of the number of logical groups and the reporting period.

[0135] When the reporting success rate is between 80% and 95%, no adjustment is made.

[0136] From the above, we can see that M and is a joint adjustment, when When making adjustments, M also makes corresponding adjustments. . is the total time window, i.e. the data reporting period. , is the number of NB nodes, is the number of logical groups, is the number of physical groups.

[0137] The discrete reporting method based on NB communication provided in this embodiment divides the data reporting success rate into three states: normal, below the lower limit, and above the upper limit. In conjunction with the threshold judgment of the subcarrier utilization rate, a multi-dimensional hierarchical control system is established. When the success rate is within the preset range, it remains stable to avoid fluctuations caused by excessive adjustments; when the success rate is abnormal, the reporting time is adjusted by a preset multiple to specifically alleviate data conflicts or improve collection efficiency; when the subcarrier utilization rate is too high, the physical group and logical group are re-planned to accurately optimize resource allocation. The strategy takes the data reporting success rate and subcarrier utilization rate as the core optimization goals and directly affects the key links of data transmission. Adjustments when the success rate is abnormal ensure that data collection is complete and accurate, avoiding the loss of user electricity consumption data due to packet loss. Stable and reliable data transmission provides solid support for services such as electricity bill settlement and load forecasting, and enhances user trust in smart grid services.

[0138] As one or more specific application embodiments of the present invention, take NB electric energy meter as an example, combined with Figure 5 The discrete reporting method based on NB communication provided by the present invention is further described in detail. Figure 5 The specific process is as follows:

[0139] (1) Assume that the total number of NB energy meters (NB nodes for short) is N, and N NB nodes are represented by X={ , , ,…, The total number of NB nodes N under the current base station coverage can be adjusted by the system master station according to the base station coverage. It can be set according to the actual situation at the factory. If it is not set, the default value is 5000. Read the total time window from the local secure storage area , number of logical groups M, time slot length , number of physical groups .

[0140] (2) After powering on, each NB node sends a 645 protocol frame (68 AA AA AA AA AA AA 6813 00 CS 16) through the serial port to obtain the address of the energy meter as the address of this NB node. Then, the improved CRC16 / MODBUS algorithm is used to process the 6-byte energy meter address to generate a 16-bit seed value. Seedtime = CRC16(Addr[0:5]) ^ (Addr[4]<<8 |Addr[5]). The test case is shown in Table 1 below:

[0141] Table 1 Test case seed value table

[0142]

[0143] (3) Get the current time by sending the AT+CCLK command to the module, or send the 68XX XX XX XX XX XX 68 11 04 3F 34 33 37 CS 16 command to the energy meter through the serial port to get the current time by reading the time of the energy meter and use the current time as the reference time. For example, the current time read from the energy meter is 09:19:19 on September 9, 2021, which is converted to 1631150359 in seconds through the timestamp conversion function. =1631150359.

[0144] (4) According to the following discrete reporting time function:

[0145] Calculate the reporting time of a certain NB node.

[0146] Physical group number of the NB node in the 12 subcarriers , each group takes a fixed time , logical group number , logical time interval , time slot number .

[0147] Take the base time T_base = 1631150359 (2021-09-09 09:19:19), the total number of nodes in the NB network is 5000. M=4, , , , according to the formula, the discrete reporting time of the energy meter addresses 00 0000 00 00 01, 00 00 00 00 00 03, and 11 22 33 45 67 88 are calculated respectively, and the results are shown in Table 2 below:

[0148] Table 2 Discrete reporting time results

[0149]

[0150] (5) Time slot length Indicates the length of time required for a NB node to report data. In order to adapt to different network environments, the system master station can count the time taken for NB nodes to report in real time. =median(sample reporting time)+σ(sample variance), the default value is 10. Total time window (Unit: hour) Can be set by the system master station based on the global reporting success rate. The maximum value is 24 hours, the default value is 3 hours, so the total access time is approximately =10800 seconds.

[0151] The adjustment strategy is: when the reporting success rate is between 80% and 95%, no adjustment is made. When the reporting success rate is less than 80%, When the reporting success rate is greater than 95%, .

[0152] (6) Number of physical groups If the base station supports reading the number of available subcarriers, take the smaller value between 12 and the number of available subcarriers; if the base station does not support it, calculate it according to the default value of 12. Indicates the number of available subcarriers.

[0153] The number of logical groups M (4≤M≤16) is set by the system master station. If the system master station does not set it, the default value is 4. is a joint adjustment, when When making adjustments, M also makes corresponding adjustments. . is the total time window, i.e. the data reporting period. , is the number of NB nodes, is the number of logical groups, is the number of physical groups.

[0154] (7) If the system master detects that the overall reporting success rate is 66%, the adjustment strategy is activated and the adjustment is made according to the adjustment method. =12960,M=5, Send the modified parameter value to the NB node. After receiving the instruction from the platform, the NB node verifies it and changes the legal instruction. Recalculate the discrete reporting time The calculation results are shown in Table 3 below.

[0155] Table 3 Recalculated discrete reporting time

[0156]

[0157] From the comparison of Table 2 and Table 3, it can be seen that the discrete reporting time distribution is more dispersed after adjustment.

[0158] like Figure 5 As shown in the figure, when the current time is greater than or equal to the discrete reporting time, the data packet (address + reading + timestamp) is encapsulated and sent to the NB-IoT, while also recording the data reporting status. When executing data reporting according to the discrete reporting time, the system monitors instructions from the system master station. When receiving an emergency meter reading instruction from the system master station, the reporting operation is immediately executed. When receiving a parameter update instruction from the system master station, the parameters are updated and written to secure storage.

[0159] The discrete reporting method based on NB communication provided in this embodiment obtains the address of the electricity meter through the 645 protocol frame and uses an improved CRC16 / MODBUS algorithm to process the 6-byte meter address. The discrete reporting time function combines the reference time, seed time, and grouping information to calculate the reporting time of each node. This ensures that the reporting time of the nodes is evenly distributed to avoid network congestion. The reporting time of the NB node is dynamically adjusted based on the data reporting success rate and subcarrier utilization (requires base station support).

[0160] This embodiment also provides a discrete reporting device based on NB communication, which is used to implement the above-mentioned embodiments and preferred implementations. Details already described are not repeated here. As used below, the term "module" may refer to a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation using hardware, or a combination of software and hardware, is also possible and contemplated.

[0161] This embodiment provides a discrete reporting device based on NB communication, such as Figure 7 As shown, including:

[0162] The reference time acquisition module 701 is used to generate a reference time after the NB node is powered on based on the current time of the NB node or the time of a meter corresponding to the NB node.

[0163] The seed time acquisition module 702 is configured to generate a seed time after the NB node is powered on by using a preset algorithm based on the meter address corresponding to the NB node.

[0164] The discrete reporting time calculation module 703 is configured to calculate the discrete reporting time of each NB node based on the reference time, the seed time and the preset grouping information of the NB node, and report data according to the discrete reporting time.

[0165] The discrete reporting time dynamic adjustment module 704 is configured to calculate a data reporting success rate and dynamically adjust the discrete reporting time of each NB node based on the data reporting success rate.

[0166] In some optional implementations, the discrete reporting time calculation module 703 includes:

[0167] The physical grouping unit is used to physically group the meter reading network where the NB node is located based on the seed time, obtain the number of physical groups, and obtain the physical group number and grouping time interval of each NB node.

[0168] The logic grouping unit is used to logically group each NB node in each group based on the seed time, obtain the number of logical groups, and obtain the logical sequence number and logical time interval of each NB node.

[0169] The time slot grouping unit is used to divide the time length required for each NB node to report data into multiple time slots based on the seed time, obtain the number of time slots, and obtain the sequence number and time slot length of each time slot.

[0170] The discrete reporting time calculation unit is used to calculate the discrete reporting time of each NB node based on the reference time, physical group number, grouping time interval, logical sequence number, logical time interval, time slot sequence number and time slot length.

[0171] In an optional implementation, the formula for calculating the discrete reporting time of each NB node based on the reference time, physical group number, grouping time interval, logical sequence number, logical time interval, time slot sequence number, and time slot length is as follows:

[0172] ;

[0173] in, is the discrete reporting time, is the base time, is the physical group number, is the grouping time interval, is a logical sequence number, is the logical time interval, is the time slot number, is the time slot length.

[0174] In an optional implementation, the discrete reporting time dynamic adjustment module 704 includes:

[0175] The reporting success rate calculation unit is used to record the amount of data reported by the NB node each time, and calculate the ratio of the amount of data successfully reported to the total amount of data that should be reported within the preset total time window to obtain the data reporting success rate within the preset total time window.

[0176] The reporting time adjustment unit is used to adjust the discrete reporting time of each NB node according to different preset multiples when the data reporting success rate is within the preset range. When the data reporting success rate is less than the lower limit of the preset range or greater than the upper limit of the preset range, the discrete reporting time of each NB node is adjusted and the grouping information of the NB nodes is adjusted.

[0177] In an optional implementation, the reporting time adjustment unit includes:

[0178] The first adjustment subunit is used to adjust the discrete reporting time of each NB node according to the first preset multiple when the data reporting success rate is less than the lower limit of the preset range, while increasing the total time window, increasing the number of logical groups and reducing the number of physical groups, and adjusting the number of time slots and time slot length according to the rules of joint adjustment of the number of logical groups and the reporting period.

[0179] The second adjustment subunit is used to adjust the discrete reporting time of each NB node according to different second preset multiples when the data reporting success rate is greater than the upper limit of the preset range, while reducing the total time window, reducing the number of logical groups and increasing the number of physical groups, and adjusting the number of time slots and time slot length according to the rules of joint adjustment of the number of logical groups and the reporting period.

[0180] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.

[0181] The discrete reporting device based on NB communication in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0182] The embodiment of the present invention also provides a computer device having the above Figure 7 The discrete reporting device based on NB communication is shown.

[0183] See also Figure 8 , Figure 8 is a structural diagram of a computer device provided by an optional embodiment of the present invention, such as Figure 8 As shown, the computer device includes: one or more processors 10, memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components utilize different buses to communicate with each other and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in the memory or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Equally, multiple computer devices can be connected, and each device provides part of the necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 8 A processor 10 is taken as an example.

[0184] The processor 10 may be a central processing unit, a network processor, or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit, a programmable logic device, or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic, or any combination thereof.

[0185] The memory 20 stores instructions that can be executed by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.

[0186] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and application programs required for at least one function; the data storage area may store data created based on the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely located relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0187] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid-state drive; the memory 20 may also include a combination of the above types of memory.

[0188] The computer device also includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 can be connected via a bus or other means. Figure 8 The bus connection is taken as an example.

[0189] The input device 30 can receive input digital or character information and generate key signal input related to user settings and function control of the computer device. Examples include a touch screen, keypad, mouse, trackpad, touchpad, pointing stick, one or more mouse buttons, trackball, joystick, etc. The output device 40 may include a display device, auxiliary lighting devices (e.g., LEDs), and tactile feedback devices (e.g., vibration motors). Such display devices include, but are not limited to, liquid crystal displays, light emitting diodes, monitors, and plasma displays. In some optional embodiments, the display device may be a touch screen.

[0190] The embodiment of the present invention also provides a computer-readable storage medium. The above-mentioned method according to the embodiment of the present invention can be implemented in hardware, firmware, or implemented as a computer code that can be recorded in a storage medium, or implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and downloaded through a network and will be stored in a local storage medium, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state drive, etc.; further, the storage medium can also include a combination of the above-mentioned types of memory. It can be understood that a computer, a processor, a microprocessor controller or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor or hardware, the method shown in the above embodiment is implemented.

[0191] A portion of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the form in which the computer program instruction exists in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc. Accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium that can be accessed by the computer.

[0192] Although the embodiments of the present invention have been described with reference to the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention. Such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A discrete reporting method based on NB communication, characterized in that: The method comprises: Generate a reference time after the NB node is powered on based on the current time of the NB node or the time of the meter corresponding to the NB node; Based on the meter address corresponding to the NB node, a preset algorithm is used to generate the seed time after the NB node is powered on; Calculating a discrete reporting time of each NB node based on the reference time, the seed time, and the preset grouping information of the NB node, and reporting data according to the discrete reporting time; calculating the discrete reporting time of each NB node based on the reference time, the seed time, and the preset grouping information of the NB node includes: Physically group the meter reading network where the NB nodes are located based on the seed time, obtain the number of physical groups, and obtain the physical group number and grouping time interval of each NB node; Logically group each NB node within each group based on the seed time, obtain the number of logical groups, and obtain the logical sequence number and logical time interval of each NB node; Based on the seed time, the time required for each NB node to report data is divided into multiple time slots, the number of time slots is obtained, and the sequence number and time slot length of each time slot are obtained; Calculate the discrete reporting time of each NB node based on the reference time, physical group number, grouping time interval, logical sequence number, logical time interval, time slot sequence number and time slot length; The data reporting success rate is calculated, and the discrete reporting time of each NB node is dynamically adjusted based on the data reporting success rate.

2. The method according to claim 1, characterized in that The formula for calculating the discrete reporting time of each NB node based on the reference time, physical group number, grouping time interval, logical sequence number, logical time interval, time slot sequence number and time slot length is as follows: ; in, is the discrete reporting time, is the base time, is the physical group number, is the grouping time interval, is a logical sequence number, is the logical time interval, is the time slot number, is the time slot length.

3. The method according to claim 1, characterized in that The calculation of the data reporting success rate includes: The amount of data reported by the NB node each time is recorded, and the ratio of the amount of data successfully reported to the total amount of data that should be reported is calculated within the preset total time window to obtain the data reporting success rate within the preset total time window.

4. The method according to claim 1, wherein The dynamically adjusting the discrete reporting time of each NB node based on the data reporting success rate includes: When the data reporting success rate is within a preset range, the discrete reporting time of each NB node is not adjusted; When the data reporting success rate is less than the lower limit of the preset range or greater than the upper limit of the preset range, the discrete reporting time of each NB node is adjusted according to different preset multiples, and the grouping information of the NB nodes is adjusted.

5. The method according to claim 1, wherein When the data reporting success rate is less than the lower limit of the preset range or greater than the upper limit of the preset range, the discrete reporting time of each NB node is adjusted according to different preset multiples, and the grouping information of the NB nodes is adjusted, including: When the data reporting success rate is less than the lower limit of the preset range, the discrete reporting time of each NB node is adjusted according to the first preset multiple, and the total time window is increased, the number of logical groups is increased, and the number of physical groups is reduced. The number of time slots and the time slot length are adjusted according to the rule of joint adjustment of the number of logical groups and the reporting period; When the data reporting success rate is greater than the upper limit of the preset range, the discrete reporting time of each NB node is adjusted according to the second preset multiple, and the total time window is reduced, the number of logical groups is reduced and the number of physical groups is increased. The number of time slots and the time slot length are adjusted according to the rules of joint adjustment of the number of logical groups and the reporting period.

6. A discrete reporting device based on NB communication, characterized in that: The device comprises: A reference time acquisition module is used to generate a reference time after the NB node is powered on based on the current time of the NB node or the time of the meter corresponding to the NB node; A seed time acquisition module is used to generate a seed time after the NB node is powered on using a preset algorithm based on the meter address corresponding to the NB node; A discrete reporting time calculation module is configured to calculate the discrete reporting time of each NB node based on the reference time, the seed time, and the preset grouping information of the NB node, and report data according to the discrete reporting time; the calculation of the discrete reporting time of each NB node based on the reference time, the seed time, and the preset grouping information of the NB node includes: Physically group the meter reading network where the NB nodes are located based on the seed time, obtain the number of physical groups, and obtain the physical group number and grouping time interval of each NB node; Logically group each NB node within each group based on the seed time, obtain the number of logical groups, and obtain the logical sequence number and logical time interval of each NB node; Based on the seed time, the time required for each NB node to report data is divided into multiple time slots, the number of time slots is obtained, and the sequence number and time slot length of each time slot are obtained; Calculate the discrete reporting time of each NB node based on the reference time, physical group number, grouping time interval, logical sequence number, logical time interval, time slot sequence number and time slot length; The discrete reporting time dynamic adjustment module is used to calculate the data reporting success rate and dynamically adjust the discrete reporting time of each NB node based on the data reporting success rate.

7. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the discrete reporting method based on NB communication according to any one of claims 1 to 5 by executing the computer instructions.

8. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the discrete reporting method based on NB communication according to any one of claims 1 to 5.

9. A computer program product, characterized in that The method comprises computer instructions, wherein the computer instructions are used to enable a computer to execute the discrete reporting method based on NB communication according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Meter design method and device based on NB-IOT (Narrow Band Internet of Things) and system design method

    CN109347989A

  • NB-IoT (Narrow Band Internet of Things)-based water meter data reporting method, device and equipment and storage medium

    CN116017205A