Interval dynamic random power meter communication data pushing method and system

By dynamically distributing the push time of electricity meters across multiple random intervals and generating random factors based on the characteristics of the electricity meters to determine the push time, the network congestion problem caused by the simultaneous push of a large number of electricity meters is solved, and the efficient operation of the communication system is achieved.

CN117041278BActive Publication Date: 2026-06-09HEXING ELECTRICAL CO LTD +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HEXING ELECTRICAL CO LTD
Filing Date
2023-02-28
Publication Date
2026-06-09

AI Technical Summary

Technical Problem

In scenarios with high residential density or electricity statistics, when a large number of electricity meters push data at a preset fixed period, it can easily lead to communication network congestion.

Method used

The time is divided into multiple main push intervals, and further divided into random push intervals. Random factors are generated using the electricity meter serial number, network communication temporary address, and wireless radio frequency signal strength to dynamically determine the push time and moment, thus avoiding simultaneous pushes.

Benefits of technology

It effectively distributes the delivery time of electricity meters, reduces network congestion, and improves the instantaneous processing capability of the communication system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117041278B_ABST
    Figure CN117041278B_ABST
Patent Text Reader

Abstract

The present application relates to a kind of interval dynamic random electric energy meter communication data push method, specifically includes: the time of each day is divided into several main push interval, each main push interval is divided into several first random push interval, each first random push interval is divided into several second random push interval;First, second and third random factor are generated;Determine main push interval, first random push interval, second random push interval, specific push time;According to the first push interval, second push interval and specific push time determined, push electric energy meter communication data.The interval dynamic random electric energy meter communication data push method of the present application, the push time of electric energy meter is dynamically dispersed in each time interval, and further makes electric energy meter at random time push, to avoid the situation that network is blocked when large quantities of electric energy meter simultaneously push data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of electricity meter communication technology, specifically relating to a method and system for pushing communication data of electricity meters in a dynamic and random manner within an interval. Background Technology

[0002] Currently, most wireless data push solutions for electricity meters use a preset fixed period for data push. However, in scenarios with high residential density or electricity statistics, a large number of electricity meters need to push data. If all these meters use a preset fixed period for data push, all devices will push data simultaneously within that period, easily causing network congestion.

[0003] Therefore, a push method is needed to solve the problem of communication network congestion caused by the installation of a large number of electricity meters. Summary of the Invention

[0004] Based on the aforementioned shortcomings and deficiencies in the prior art, one of the objectives of this invention is to at least solve one or more of the aforementioned problems in the prior art. In other words, one of the objectives of this invention is to provide a method and system for pushing inter-range dynamic random electricity meter communication data that meets one or more of the aforementioned requirements.

[0005] To achieve the above-mentioned objectives, the present invention adopts the following technical solution:

[0006] In a first aspect, the present invention provides a method for pushing communication data of an energy meter in a dynamic and random interval, specifically including:

[0007] The daily time is divided into several main push intervals, each main push interval is divided into several first random push intervals, and each first random push interval is divided into several second random push intervals.

[0008] Generate the first random factor, the second random factor, and the third random factor;

[0009] The main push interval is determined based on the electricity meter's running time; the first random push interval is determined based on the first random factor; the second random push interval is determined based on the second random factor; and the specific push time is determined based on the third random factor.

[0010] The electricity meter communication data is pushed according to the determined first push interval, second push interval and specific push time, wherein the specific push time is within the determined second push interval.

[0011] As a preferred option, the first random factor is generated based on the electricity meter serial number.

[0012] As a preferred option, the second random factor is generated based on the temporary address of the electricity meter network communication.

[0013] As a preferred option, the third random factor is generated based on the current radio frequency signal strength of the electricity meter.

[0014] As a preferred embodiment, the method further includes:

[0015] After each push ends, if the electricity meter's running time deviates from the main push interval, a third random factor is regenerated. Based on the determined first push interval, second push interval, and third random factor, the specific push time for the next push communication data is calculated.

[0016] Secondly, the present invention also provides an interval dynamic random energy meter communication data push system, specifically including:

[0017] The push interval division module is used to divide the day into several main push intervals, divide each main push interval into several first random push intervals, and divide each first random push interval into several second random push intervals.

[0018] The generation module is used to generate the first random factor, the second random factor, and the third random factor.

[0019] The push time determination module is used to determine the main push interval based on the running time of the electricity meter, determine the first random push interval based on the first random factor, determine the second random push interval based on the second random factor, and determine the specific push time based on the third random factor.

[0020] The push module is used to push electricity meter communication data according to the determined first push interval, second push interval and specific push time, wherein the specific push time is within the determined second push interval.

[0021] As a preferred approach, the generation module generates a first random factor based on the electricity meter serial number.

[0022] As a preferred approach, the generation module generates a second random factor based on the temporary address of the electricity meter network communication.

[0023] As a preferred approach, the generation module generates a third random factor based on the current radio frequency signal strength of the electricity meter.

[0024] Thirdly, the present invention also provides an energy meter that dynamically and randomly pushes data within an interval, using an interval dynamic and random energy meter communication data push system as described above.

[0025] Compared with the prior art, the beneficial effects of this invention are:

[0026] The present invention provides a method and system for dynamic random data push of electricity meter communication, which dynamically distributes the push time of electricity meters across various time intervals and further enables electricity meters to push data at random times, thereby avoiding network congestion caused by a large number of electricity meters pushing data simultaneously. Attached Figure Description

[0027] Figure 1 This is a schematic diagram of the time interval distribution after the division of a method for dynamically randomizing electricity meter communication data push in this embodiment. Detailed Implementation

[0028] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.

[0029] The following description provides several embodiments of this application. Different embodiments can be substituted or combined. Therefore, this application can also be considered to include all possible combinations of the same and / or different embodiments described. Thus, if one embodiment includes features A, B, and C, and another embodiment includes features B and D, then this application should also be considered to include embodiments containing one or more other possible combinations of A, B, C, and D, even if such embodiments are not explicitly described in the following text.

[0030] The following description provides examples and does not limit the scope, applicability, or examples set forth in the claims. Changes may be made to the function and arrangement of the described elements without departing from the scope of this application. Various processes or components may be appropriately omitted, substituted, or added to the examples. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Furthermore, features described with respect to some examples may be combined into other examples.

[0031] This application provides a method for pushing communication data of an energy meter in a dynamic and random interval, specifically including:

[0032] The daily time is divided into several main push intervals, each main push interval is divided into several first random push intervals, and each first random push interval is divided into several second random push intervals.

[0033] Generate the first random factor, the second random factor, and the third random factor;

[0034] The main push interval is determined based on the electricity meter's running time; the first random push interval is determined based on the first random factor; the second random push interval is determined based on the second random factor; and the specific push time is determined based on the third random factor.

[0035] The electricity meter communication data is pushed according to the determined first push interval, second push interval and specific push time, wherein the specific push time is within the determined second push interval.

[0036] In one embodiment of this application, the above method is performed by the following steps:

[0037] S0. Divide the entire day into 24 main push intervals, each lasting one hour. Within each main push interval, each electricity meter will receive a push notification once, thus achieving an hourly push frequency for electricity meter data.

[0038] The number of main push intervals can be adjusted, and the number of main push intervals determines the number of times the electricity meter pushes data each day.

[0039] Each main push interval is divided into 60 first random push intervals, each with a length of 1 minute. Each first random push interval is further divided into 30 second random push intervals, each with a length of 2 seconds. The time interval distribution after the above division is as follows: Figure 1 As shown.

[0040] S1. Initialize the electricity meter and generate the first random factor a, the second random factor b, and the third random factor c.

[0041] S2. Obtain the current running time of the electricity meter, determine the current main push interval based on the current running time, and determine the first push interval to be pushed in the current main push interval, the second push interval to be pushed in the first push interval, and the specific push time to be pushed in the second push interval based on the first random factor a, the second random factor b, and the third random factor c.

[0042] S3. When the current running time of the electricity meter reaches the time to be pushed in step S2, perform a communication data push.

[0043] The electricity meter should perform a push every time a new main push interval is reached. Therefore, in another embodiment of this application, the above method further includes the following steps:

[0044] After each push notification ends, if the electricity meter's running time deviates from the main push interval, a third random factor will be regenerated.

[0045] Based on the established first push interval, second push interval, and third random factor, the specific push time for the next push communication data is calculated.

[0046] When a push notification ends and the current operating time of the electricity meter leaves the current main push notification interval and enters a new main push notification interval, a second push notification should be sent within this new main push notification interval. Therefore, the electricity meter communication data is sent again based on the determined first push notification interval, second push notification interval, and specific push notification time. However, unlike the previous push notification, the third random factor is regenerated when entering the new main push notification interval. Therefore, although the first and second push notification intervals remain unchanged, the specific push notification time will change.

[0047] In a further embodiment of this application, in order to standardize the delivery time of distributed energy meters, the first random factor, the second random factor, and the third random factor are generated according to the following method:

[0048] The first random factor is generated based on the electricity meter serial number, the second random factor is generated based on the electricity meter's temporary network communication address, and the third random factor is generated based on the electricity meter's current radio frequency signal strength.

[0049] Based on the above improvements, a more specific embodiment is shown below.

[0050] When the electricity meter is started, the last four digits of the electricity meter serial number are used as the first random factor 'a'. This design can keep the first random factor 'a' of each electricity meter fixed, while the first push intervals corresponding to the first random factor 'a' of different electricity meters are scattered in various places in the main push interval, thereby dispersing the push time of the electricity meters.

[0051] When an electricity meter is connected to the network, the temporary network communication address assigned to the electricity meter by the upstream node of the current network is used as the second random factor b. Since the temporary network communication addresses of the electricity meters linked by the upstream node of the same network are different, the second random factor b ensures that the electricity meters belonging to the upstream node of the same network can be distributed in different second push intervals, reducing the push pressure of a single node in a single second push interval.

[0052] The current radio frequency signal strength continuously acquired during the operation of the energy meter is used as the third random factor c. This random factor c changes according to the network signal conditions, thereby ensuring that the energy meter in the same first push interval and the same second push interval can push communication data at different specific push times.

[0053] After determining the first and second push intervals within the main push interval based on the first random factor a and the second random factor b, the specific push time is determined based on the third random factor c, thereby achieving complete decentralization of the electricity meter communication data push and reducing the instantaneous communication pressure on the wireless communication system.

[0054] This application also provides a specific implementation of the above embodiment, wherein the specific algorithm for pushing communication data is as follows:

[0055] First, define the relevant data.

[0056] unsigned char meter_serial_number

[12] ; / / 12-digit serial number of the electricity meter

[0057] unsigned long network_address; / / Network address

[0058] unsigned char rf_signal; / / Wireless radio frequency signal strength

[0059] unsigned long factor_a; / / First random factor a

[0060] unsigned long factor_b; / / Second random factor b

[0061] unsigned long factor_c; / / Third random factor c

[0062] typedef struct

[0063] {

[0064] unsigned char clock_sec; / / Real-time clock: seconds

[0065] unsigned char clock_min; / / Real-time clock: minutes

[0066] unsigned char clock_hour; / / Real-time clock: hour

[0067] unsigned long num1; / / Number of daily main push intervals: Number of times data is pushed daily.

[0068] unsigned long num2; / / Number of intervals for the first daily push notification

[0069] unsigned long num3; / / Number of intervals for the second daily push notification

[0070] unsigned long current; / / Current day time c, in seconds

[0071] unsigned long action; / / Execution time 'a', in seconds

[0072] }TIME;

[0073] TIME time.

[0074] Then generate random factors.

[0075] The first random factor 'a' is generated once after the electricity meter is turned on.

[0076] factor_a = (unsigned long)meter_serial_number[8]<<24;

[0077] factor_a += (unsigned long)meter_serial_number[9]<<16;

[0078] factor_a += (unsigned long)meter_serial_number

[10] <<8;

[0079] factor_a += (unsigned long)meter_serial_number

[11] ;

[0080] The second random factor b is generated once after the electricity meter successfully connects to the grid:

[0081] factor_b = network_address;

[0082] The third random factor c is generated once per second after the electricity meter is connected to the grid.

[0083] factor_c = rf_signal.

[0084] Then update the time data.

[0085] The current time c updates once per second:

[0086] time.current = (time. clock_hour * 3600) + (time. clock_min * 60) +time. clock_sec;

[0087] Initial settings for time interval partitioning: (This value can be modified)

[0088] time.num1 = 24; / / Number of main push intervals per day: 24 pushes per day

[0089] time.num2 = 60; / / Number of daily push notification intervals: Each push notification is randomly selected from 60 large intervals.

[0090] time.num3 = 30; / / Number of daily second push intervals: each push will randomly select from 30 intervals.

[0091] / / When the electricity meter starts up, it generates a random push notification for the current time:

[0092] time.action = func_random_value().

[0093] Then, the interval dynamic random number algorithm is applied.

[0094] unsigned long func_random_value(unsigned long point)

[0095] {

[0096] unsigned long time_action = 0; / / Final execution time

[0097] unsigned long time1 = 86400 / time.num1; / / Total number of seconds in the first-level time interval

[0098] unsigned long time2 = time1 / time.num2; / / Total number of seconds in the second-level time interval

[0099] unsigned long time3 = time2 / time.num3; / / Total number of seconds in the three-level time interval

[0100] / / Calculate the starting point of the primary time interval corresponding to this random push time:

[0101] time_action = (time.current / time1) * time1;

[0102] / / Calculate the starting point of the secondary time interval corresponding to this random push time:

[0103] time_action += (factor_a % time.num2) * time2;

[0104] srand(factor_b); / / Pass in the random factor b

[0105] / / Skip the first n random numbers, where n equals the remainder when the random factor a is divided by the number of second-order intervals num2.

[0106] for(int i = 0; i<(factor_a % time.num2); i++)

[0107] {

[0108] rand();

[0109] }

[0110] / / Calculate the starting point of the three-level time interval corresponding to this random push time:

[0111] time_action += (rand() % time.num3) * time3;

[0112] srand(factor_c); / / Pass in the random factor c

[0113] time_action += (rand() % time3); / / Get the final interval dynamic random time

[0114] return time_action; / / Return the calculation result

[0115] }

[0116] Finally, communication data is pushed based on the final interval dynamic random time, and the next execution time is calculated.

[0117] if (time.current > time.action)

[0118] {

[0119] func_data_push(); / / Performs a data push.

[0120] time.action = func_random_value() + (86400 / time.num1); / / Calculate the next execution time

[0121] }

[0122] The above-mentioned method for dynamically and randomly pushing electricity meter communication data distributes the push time of the electricity meter dynamically across various time intervals, and further enables the electricity meter to push data at random times, thereby avoiding network congestion caused by a large number of electricity meters pushing data simultaneously.

[0123] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.

[0124] The present invention also provides an interval dynamic random energy meter communication data push system for performing the method of any of the above embodiments. In one embodiment of this application, the system specifically includes:

[0125] The push interval division module is used to divide the day into several main push intervals, divide each main push interval into several first random push intervals, and divide each first random push interval into several second random push intervals.

[0126] The generation module is used to generate the first random factor, the second random factor, and the third random factor.

[0127] The push time determination module is used to determine the main push interval based on the running time of the electricity meter, determine the first random push interval based on the first random factor, determine the second random push interval based on the second random factor, and determine the specific push time based on the third random factor.

[0128] The push module is used to push electricity meter communication data according to the determined first push interval, second push interval and specific push time, wherein the specific push time is within the determined second push interval.

[0129] As an improved embodiment, the generation module generates a first random factor based on the electricity meter serial number, a second random factor based on the electricity meter network communication temporary address, and a third random factor based on the electricity meter's current radio frequency signal strength.

[0130] Thirdly, the present invention also provides an energy meter that dynamically and randomly pushes data within an interval, using the interval dynamic and random energy meter communication data push system described in the above embodiments.

[0131] This energy meter can dynamically distribute the energy meter's push time across various time intervals, and further enable the energy meter to push data at random times, thereby avoiding network congestion caused by a large number of energy meters pushing data simultaneously.

[0132] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

[0133] Furthermore, the functional modules in the various embodiments of this application can be integrated into one processing unit, or each module can exist physically separately, or two or more modules can be integrated into one unit. The integrated modules described above can be implemented in hardware or as software functional units.

[0134] The foregoing description is merely an exemplary embodiment of this disclosure and should not be construed as limiting the scope of this disclosure. Any equivalent changes and modifications made in accordance with the teachings of this disclosure shall still fall within the scope of this disclosure. Those skilled in the art will readily conceive of embodiments of this disclosure upon considering the specification and practicing the disclosure herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not described herein. The specification and embodiments are to be considered exemplary only, and the scope and spirit of this disclosure are defined by the claims.

Claims

1. A method for pushing communication data of an energy meter in a dynamic and random interval, characterized in that, Specifically, it includes: The daily time is divided into several main push intervals, each main push interval is divided into several first random push intervals, and each first random push interval is divided into several second random push intervals. Generate the first random factor, the second random factor, and the third random factor; The main push interval is determined based on the electricity meter's running time, the first random push interval is determined based on the first random factor, the second random push interval is determined based on the second random factor, and the specific push time is determined based on the third random factor. The electricity meter communication data is pushed according to the determined first random push interval, the second random push interval and the specific push time, wherein the specific push time is within the determined second random push interval; The third random factor is generated based on the current radio frequency signal strength of the electricity meter.

2. The method for pushing inter-regional dynamic random energy meter communication data as described in claim 1, characterized in that, The first random factor is generated based on the electricity meter serial number.

3. The method for pushing communication data of an inter-regional dynamic random energy meter as described in claim 1, characterized in that, The second random factor is generated based on the temporary address of the electricity meter network communication.

4. The method for pushing inter-regional dynamic random energy meter communication data as described in claim 1, characterized in that, The method also includes: After each push ends, if the electricity meter's running time deviates from the main push interval, a third random factor is regenerated. Based on the determined first random push interval, second random push interval, and third random factor, the specific push time for the next push communication data is calculated.

5. A dynamic random interval energy meter communication data push system, characterized in that, Specifically, it includes: The push interval division module is used to divide the daily time into several main push intervals, divide each main push interval into several first random push intervals, and divide each first random push interval into several second random push intervals. The generation module is used to generate the first random factor, the second random factor, and the third random factor. The push time determination module is used to determine the main push interval based on the running time of the electricity meter, determine the first random push interval based on the first random factor, determine the second random push interval based on the second random factor, and determine the specific push time based on the third random factor. The push module is used to push electricity meter communication data according to the determined first random push interval, the second random push interval and the specific push time, wherein the specific push time is within the determined second random push interval; The generation module generates the third random factor based on the current radio frequency signal strength of the electricity meter.

6. The interval dynamic random energy meter communication data push system as described in claim 5, characterized in that, The generation module generates the first random factor based on the electricity meter serial number.

7. The inter-regional dynamic random energy meter communication data push system as described in claim 5, characterized in that, The generation module generates the second random factor based on the temporary address of the electricity meter network communication.

8. An energy meter that dynamically and randomly pushes data within a given area, characterized in that, The interval dynamic random energy meter communication data push system as described in any one of claims 5-7 is used.