Power utilization information transmission system and method

By setting up an independent communication channel between the main station push server and the main station pull server, and using a target random number to set the delay time, the data congestion problem caused by the simultaneous transmission of data by push and pull technologies is solved, and efficient and reliable power consumption information transmission is achieved.

CN116489094BActive Publication Date: 2026-06-30HOLLEY METERING LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HOLLEY METERING LTD
Filing Date
2023-05-16
Publication Date
2026-06-30

Smart Images

  • Figure CN116489094B_ABST
    Figure CN116489094B_ABST
Patent Text Reader

Abstract

This invention provides an electricity consumption information transmission system and method. The target smart meter, upon receiving a push data notification, responds to a push trigger event and pushes the electricity consumption information to be pushed when the delay time corresponding to the target random number generated according to the meter number and time window is reached. The target communication module is also used to send the received information retrieval request to the target smart meter to obtain the target electricity consumption information and send it to the master station Pull server. By setting up a master station Push server and a master station Pull server, this system can separate the communication channels for Push and Pull technologies, alleviating data congestion caused by using a single master station server. This system uses a target random number to set the delay time. Since different target smart meters have different target delay times, the timing of each target smart meter pushing the electricity consumption information to be pushed also differs, thus avoiding data congestion.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of communication technology, and in particular to an electrical information transmission system and method. Background Technology

[0002] Currently, the common method for obtaining smart meter information is through a proactive approach by the master station system. This involves the master station system sending service requests to the server smart meters, which then respond and return the required results – a technique known as Pull technology. However, with the exponential growth in data volume from smart meters and the master station system's need for faster access to required data, simply using Pull technology is no longer sufficient for real-time information needs. Therefore, Push technology has emerged. Push technology refers to the server smart meters proactively sending data to the master station system without requiring a request. One approach is to establish a time-sharing mechanism, determining the order in which each meter proactively reports data when batch reporting is needed. Each meter reports data according to its corresponding fixed time period. However, in this method, while implementing Push technology, the master station system often needs to execute other data that requires Pull technology transmission. If, while the server smart meters are pushing data to the master station system, the master station system is also using Pull technology to send requests to the server smart meters to request the required data, data congestion can still occur. Summary of the Invention

[0003] The purpose of this invention is to provide an electricity information transmission system and method to improve the problem of data congestion.

[0004] This invention provides an electricity information transmission system, comprising: a master station push server, a master station pull server, and multiple electricity meter modules; wherein each electricity meter module includes an interconnected communication module and a smart meter terminal; each communication module is communicatively connected to the master station push server and the master station pull server respectively; for at least one target electricity meter module's target communication module and target smart meter terminal, the target communication module is used to send push data notifications to the target smart meter terminal when it detects that the master station push server is in an idle state; the target smart meter terminal is used to receive push data notifications when it receives them. Upon notification, in response to a preset push trigger event, the system retrieves the electricity consumption information to be pushed; it generates a target random number based on the meter number of the target smart meter and a preset time window; when the delay time corresponding to the target random number is reached, it pushes the electricity consumption information to be pushed to the main station push server through the target communication module; the target communication module is also used to send an information retrieval request to the target smart meter if it receives an information retrieval request from the main station pull server, so as to retrieve the target electricity consumption information corresponding to the information retrieval request from the target smart meter and send the target electricity consumption information to the main station pull server.

[0005] Furthermore, upon receiving a push data notification, the target smart meter acquires the electricity consumption information to be pushed, encrypts the electricity consumption information to obtain encrypted electricity consumption information, generates a target random number based on the meter number of the target smart meter and a preset time window, and pushes the encrypted electricity consumption information to the target communication module when the delay time corresponding to the target random number is reached; the target communication module decrypts the encrypted electricity consumption information to obtain the electricity consumption information to be pushed, and pushes the electricity consumption information to be pushed to the main station Push server.

[0006] Furthermore, the main push server is also used to send a first confirmation message to the target smart meter through the target communication module after receiving the electricity consumption information to be pushed.

[0007] Furthermore, if the target smart meter does not receive the first confirmation message within a specified time period, it will repeat the step of generating a target random number based on the meter number of the target smart meter and a preset time window after a preset delay, until the electricity consumption information to be pushed is pushed to the main station Push server; if the first confirmation message is still not received after repeating the process a preset number of times within the preset time window, or if the time corresponding to the preset time window is reached, the push of the electricity consumption information to be pushed to the target communication module will be stopped.

[0008] Furthermore, the target smart meter terminal is also used to obtain a first random number, process the first random number based on the meter number to obtain a second random number, calculate the remainder obtained by dividing the second random number by the time data corresponding to the preset time window, and determine the remainder as the target random number.

[0009] Furthermore, the target smart meter is also connected to a switching power supply module, a capacitor power supply module, and a transformer power supply module via a power switching module. The power switching module is used to switch the switch to the switching power supply module or the transformer power supply module when the external mains power is detected to be in a normal power supply state, so as to supply power to the target smart meter through the switching power supply module or the transformer power supply module; when the external mains power is detected to be in a power failure state, the switch is switched to the capacitor power supply module, so as to supply power to the target smart meter through the capacitor power supply module.

[0010] Furthermore, the target smart meter terminal includes an alarm filtering unit, an alarm register unit, and an alarm indication unit connected in sequence. The alarm filtering unit, upon receiving a push data notification, responds to a preset push trigger event, switches the push switch to the on state, acquires the electricity consumption information to be pushed, and sends the information to the alarm register unit. The alarm register unit, in response to an event that generates a target random number based on the meter number and a preset time window, switches its register state to the set state and maintains it, sending the target random number and the electricity consumption information to be pushed to the alarm indication unit. Upon receiving a first confirmation message, it switches the register state from the set state to the non-set state. The alarm indication unit, when detecting that the register state of the alarm register unit has been switched to the set state for a duration equal to the delay time corresponding to the target random number, switches the alarm indication state to the set state and maintains it, pushing the electricity consumption information to be pushed to the main station push server via the target communication module. Upon receiving a second confirmation message from the target communication module, it switches the alarm indication state from the set state to the non-set state.

[0011] Furthermore, the electricity consumption information to be pushed includes the meter number and the port number of the main site push server.

[0012] Furthermore, the system also includes a host computer, which is communicatively connected to each meter module. The host computer is used to send a first instruction to the smart meter terminal in each meter module to select at least one target meter module from multiple meter modules.

[0013] This invention provides a method for transmitting electricity consumption information. The method includes: targeting a target communication module and a target smart meter terminal in at least one target meter module; the target communication module is used to send a push data notification to the target smart meter terminal when it detects that the master station push server is in an idle state; the target smart meter terminal is used to obtain the electricity consumption information to be pushed in response to a preset push trigger event after receiving the push data notification; a target random number is generated based on the meter number of the target smart meter terminal and a preset time window; when the delay time corresponding to the target random number is reached, the electricity consumption information to be pushed is pushed to the master station push server through the target communication module; the target communication module is also used to send an information acquisition request to the target smart meter terminal if it receives an information acquisition request from the master station pull server, so as to obtain the target electricity consumption information corresponding to the information acquisition request from the target smart meter terminal, and send the target electricity consumption information to the master station pull server.

[0014] The electricity consumption information transmission system and method provided by this invention target a target communication module and a target smart meter terminal in at least one target meter module. The target communication module is used to send a push data notification to the target smart meter terminal when it detects that the master station push server is in an idle state. The target smart meter terminal is used to obtain the electricity consumption information to be pushed in response to a preset push trigger event after receiving the push data notification. Based on the meter number of the target smart meter terminal and a preset time window, a target random number is generated. When the delay time corresponding to the target random number is reached, the electricity consumption information to be pushed is pushed to the master station push server through the target communication module. The target communication module is also used to send the information acquisition request to the target smart meter terminal if it receives an information acquisition request from the master station pull server, so as to obtain the target electricity consumption information corresponding to the information acquisition request from the target smart meter terminal and send the target electricity consumption information to the master station pull server. This system separates the communication channels for Push and Pull technologies by setting up a main station Push server and a main station Pull server, thus alleviating the data congestion problem caused by using the same main station server. The system uses a target random number to set the delay time. Since the target delay time is different for different target smart meters, the timing of pushing the electricity consumption information to be pushed to each target smart meter is also different, thereby avoiding data congestion. Attached Figure Description

[0015] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0016] Figure 1 A schematic diagram of an information transmission model for a push system provided in an embodiment of the present invention;

[0017] Figure 2 This is a schematic diagram of the structure of an electricity information transmission system provided in an embodiment of the present invention;

[0018] Figure 3 This is a schematic diagram of a Push notification event provided in an embodiment of the present invention;

[0019] Figure 4 A schematic diagram illustrating the division of a time window according to an embodiment of the present invention;

[0020] Figure 5 A schematic diagram of a power supply system provided in an embodiment of the present invention;

[0021] Figure 6 This is a schematic diagram of the internal structure of a target smart meter terminal provided in an embodiment of the present invention;

[0022] Figure 7 A schematic diagram of an operation interface provided in an embodiment of the present invention;

[0023] Figure 8 A flowchart of an electricity information transmission method provided in an embodiment of the present invention. Detailed Implementation

[0024] The technical solution of the present invention will be clearly and completely described below with reference to the embodiments. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0025] Currently, in the Client / Server architecture of DLMS (Distribution Line Message Specification) systems, the way people obtain smart meter information is usually through a proactive approach by the master station system. That is, the master station system sends a service request to the server smart meters, and the server smart meters respond to the request and return the required results—this is the "pull" model. However, with the exponential growth of data volume in smart meters and the master station system's need for faster access to the smart meters it requires, this transmission method can no longer meet the demands of real-time information. Therefore, a new information transmission mode—push technology—has emerged.

[0026] Push technology, as opposed to pull technology, refers to the server smart meter proactively sending data to the client's main station system without the client submitting a request. In actual transmission, the server smart meter sends data based on pre-set trigger events, such as periodic "time-out" notifications or proactively sending information to the client's main station after a pre-set event is triggered. Therefore, in a push system, the server smart meter is proactive, while the client's main station system is passive, or has only limited initiative. Figure 1 The diagram illustrates an information transmission model for a push system. In a pure push system, the client does not need to actively send any data requests to the server. When a set event triggers the server, the server can directly respond and transmit the corresponding data to the client.

[0027] In related technologies, a common Push technology solution is as follows: An event buffer is established at the meter to store events to be reported; the meter actively reports the events to be reported in the event buffer to the routing end connected to the meter communication module via the meter communication module; after receiving the reported events, the routing end returns an acknowledgment frame to the meter, and the meter deletes the corresponding reported events from the buffer based on the acknowledgment frame. Simultaneously, a time-division multiplexing mechanism is established between the meter communication module and the routing end to determine the order in which each meter actively reports when batch reporting is required, and to determine whether each meter can report at that time.

[0028] The time-sharing mechanism determines whether a meter can report an event at the current time as follows: Let the number of meters be Nmeter, the time required for each meter to report one event be Tevent, and each meter need to report Nevent events upon power-up. All events must be reported within Tsum time. Therefore, when batch reporting is required, the reporting time for the nth meter is from Tsum÷Nmeter×n to Tsum÷Nmeter×n+Tevent×Nevent, where Tsum≥Nmeter×Tevent×Nevent, and n=1,2,……,Nmeter. Events generated after the reporting time of each meter are reported after Tsum.

[0029] Another common solution for PUSH technology is as follows: The meter is powered on and generates a reporting signal. Upon detecting this signal, the communication module initiates an event reporting request to the meter and switches to a receiving state. The meter uploads the required event information to the communication module. The communication module then reads the reported event information sequentially and reports it to the master station module. However, in related technologies, while implementing Push technology, the master station system often needs to execute other data that requires transmission via Pull technology. If, while the server smart meter pushes data to the master station system, the master station system is also using Pull technology to send requests to the server smart meter to request the return of necessary data, data congestion will still occur. Therefore, this invention provides an electricity consumption information transmission system and method, which can be applied to applications requiring the transmission of electricity consumption information from the meter.

[0030] To facilitate understanding of this embodiment, a power consumption information transmission system disclosed in this embodiment of the invention will first be introduced, such as... Figure 2 As shown, the system includes: a master push server 20, a master pull server 21, and multiple meter modules; each meter module includes an interconnected communication module and a smart meter terminal; each communication module is communicatively connected to the master push server 20 and the master pull server 21 respectively; for at least one target meter module's target communication module 22 and target smart meter terminal 23, the target communication module 22 is used to send a push data notification to the target smart meter terminal 23 when it detects that the master push server 20 is in an idle state; the target smart meter terminal 23 is used to, upon receiving the push data notification,... In response to a preset push trigger event, the system acquires the electricity consumption information to be pushed; it generates a target random number based on the meter number of the target smart meter terminal 23 and a preset time window; when the delay time corresponding to the target random number is reached, it pushes the electricity consumption information to be pushed to the main station Push server 20 through the target communication module 22; the target communication module 22 is also used to send the information acquisition request to the target smart meter terminal 23 if it receives an information acquisition request from the main station Pull server 21, so as to obtain the target electricity consumption information corresponding to the information acquisition request from the target smart meter terminal 23, and send the target electricity consumption information to the main station Pull server 21.

[0031] The master station system in this embodiment may include two sets of servers: a master station push server 20 and a master station pull server 21. The number of master station push servers 20 and pull servers 21 can be one or more, depending on actual needs. The master station pull server 21 is mainly responsible for actively reading data from the electricity meter, such as load curves, instantaneous voltage values, instantaneous current values, and instantaneous power values. The master station push server 20 is mainly responsible for receiving events actively reported by the smart meters. These actively reported events can be categorized as security-related or data-related. The communication module can be implemented using a GPRS (General Packet Radio Service) module, a PLC (Programmable Logic Controller) module, or an RF (Radio Frequency) module. The smart meter is one of the basic devices for smart grid data acquisition, undertaking the tasks of raw energy data acquisition, metering, and transmission. The number of target meter modules can be one or more, specifically selected from multiple meter modules as target meter modules according to actual needs.

[0032] The aforementioned push trigger events can be predefined events. When one or more of these events occur, relevant electricity consumption information can be pushed. The aforementioned meter number can be used to identify the target smart meter terminal 23. Usually, different smart meter terminals correspond to different meter numbers, that is, the two are usually in a one-to-one correspondence. The aforementioned preset time window can be set by the host computer connected to the target smart meter terminal 23. For example, it can be set to 300 seconds, etc. The specific setting depends on the actual needs. Generally, the more meter modules connected to the electricity consumption information transmission system, the larger this time window can be set. Conversely, the fewer meter modules connected, the smaller the time window can be configured.

[0033] Refer to the relevant explanations in the COSEM Interface Classes and OBIS Object Identification System and DLMS / COSEM Conformance Testing Process technical specifications. Figure 3The diagram illustrates a push notification event. In some cases, DLMS messages can be "pushed" to the destination without explicit requests, and monitoring parameters can be pre-set. Data can be pushed directly in the following situations: reaching a predetermined time (schedules type 22, DataNotification); exceeding a threshold value through local monitoring (triggers type 21, DataNotification); triggering a local event (e.g., power-on / power-off, button press, case opening) (events EventNotification); detecting overload or overvoltage through registers; and pushing data on power consumption, demand, and load (type 3 or type 7).

[0034] The DLMS / COSEM (COSEM is a supporting specification for energy metering) push mechanism follows a publish / subscribe pattern: (the server table represents message publishers, and the client table represents message subscribers. Subscribers only receive messages they are interested in and are unaware of which (if any) publishers exist). Publish / subscribe is a messaging pattern where message senders (publishers) do not program messages to be sent directly to specific receivers (subscribers). Instead, published messages are represented as classes, without knowing which users (if any) might exist. Subscribers express interest in one or more classes and only receive messages of interest, unaware of which (if any) publishers exist.

[0035] In DLMS / COSEM, publications are modeled by the `object_list` attribute of the "Associated" object, which provides a list of COSEM objects and their accessible attributes within a given AA. Subscriptions are modeled by writing appropriate attributes to the "push setup" object. The required data is sent on specified triggers using the xDLMS DataNotification service.

[0036] The core element of push operation modeling is the "push setup" IC. The push_object_list attribute contains a list of references to the properties of the COSEM object to be pushed.

[0037] When push uses a gateway, the gateway protocol version of the end device, which lacks WAN / NN knowledge, will be applied. This is described in Green Book Edition 9, 10.7.4.3. Various triggers (such as schedules, triggers, local triggers, etc.) invoke script entries in the Push "Script table" object (a new instance of the "Script table" IC), which in turn invokes the push method of the relevant "Push setup". The destination, communication media, protocol, encoding, timing, and any retries of the push operation are determined by other properties of the "Push setup" object.

[0038] For each target meter module, including the target communication module 22 and the target smart meter terminal 23, the target communication module 22 can monitor the status of the master push server 20 in real time. When the master push server 20 is not transmitting data (i.e., is in an idle state), it can send a push data notification to the connected target smart meter terminal 23 to indicate that the master push server 20 is currently idle and can push data to it. After receiving the push data notification, the target smart meter terminal 23 can determine whether a push trigger event exists. If a push event is triggered, the electricity consumption information to be pushed can be obtained, and a target random number can be generated based on the meter number of the target smart meter terminal 23 and the preset time window. The delay time is recorded. Since the meter numbers of different target smart meters terminal 23 are different, the target random numbers generated by different target smart meters terminal 23 are usually different. When the delay time corresponding to the target random number is reached, the push mechanism is activated, and the target smart meter terminal 23 pushes the electricity consumption information to be pushed to the target communication module 22. The target communication module 22 pushes the electricity consumption information to be pushed to the main station push server 20.

[0039] Considering practical applications, the master station system may often have data that needs to be transmitted via pull technology. In this case, the master station pull server 21 can send an information retrieval request to the target communication module 22, which will then forward it to the target smart meter terminal 23. The target smart meter terminal 23 responds to the information retrieval request by returning the requested electricity consumption information to the master station pull server 21 via the communication module. Figure 2 It can be seen that there are two data transmission paths when using Pull technology and when using Push technology, which can avoid the problem of congestion during data transmission.

[0040] The aforementioned electricity consumption information transmission system targets at least one target communication module and a target smart meter terminal within a target meter module. The target communication module sends a push data notification to the target smart meter terminal when it detects that the master station push server is in an idle state. The target smart meter terminal, upon receiving the push data notification, responds to a preset push trigger event and obtains the electricity consumption information to be pushed. Based on the meter number of the target smart meter terminal and a preset time window, it generates a target random number. When the delay time corresponding to the target random number is reached, it pushes the electricity consumption information to be pushed to the master station push server through the target communication module. The target communication module is also used to send an information retrieval request to the target smart meter terminal if it receives an information retrieval request from the master station pull server, so as to obtain the target electricity consumption information corresponding to the information retrieval request from the target smart meter terminal and send the target electricity consumption information to the master station pull server. This system separates the communication channels for Push and Pull technologies by setting up a main station Push server and a main station Pull server, thus alleviating the data congestion problem caused by using the same main station server. The system uses a target random number to set the delay time. Since the target delay time is different for different target smart meters, the timing of pushing the electricity consumption information to be pushed to each target smart meter is also different, thereby avoiding data congestion.

[0041] In addition, this method of determining the timing of push notifications based on target random numbers can also improve the flexibility and efficiency of information push notifications.

[0042] Furthermore, upon receiving a push data notification, the target smart meter acquires the electricity consumption information to be pushed, encrypts the electricity consumption information to obtain encrypted electricity consumption information, generates a target random number based on the meter number of the target smart meter and a preset time window, and pushes the encrypted electricity consumption information to the target communication module when the delay time corresponding to the target random number is reached; the target communication module decrypts the encrypted electricity consumption information to obtain the electricity consumption information to be pushed, and pushes the electricity consumption information to be pushed to the main station Push server.

[0043] In practical implementation, to ensure data transmission security and prevent tampering during transmission, the target smart meter, after obtaining the electricity consumption information to be pushed, can first encrypt the information. This encrypted electricity consumption information can be encrypted using either HDLC (High-Level Data Link Control) or TCP (Transmission Control Protocol) protocols. When the delay time corresponding to the target random number is reached, the encrypted electricity consumption information is pushed to the target communication module. The target communication module then decrypts and interprets the encrypted information to obtain the electricity consumption information to be pushed. An example is given below.

[0044] 1. Example of selecting TCP data frame format:

[0045]

[0046]

[0047] DB 16;

[0048] The electricity consumption information to be pushed to the target smart meter can be the data content in italics mentioned above. After being encrypted using the TCP protocol, it can be sent to the target communication module using a specified command, such as command 3089. After the target communication module interprets it, it can send the bolded data content to the main push server.

[0049] 2. Example of selecting HDLC data frame format:

[0050]

[0051]

[0052] The electricity consumption information to be pushed to the target smart meter can be the data content in italics mentioned above. After being encrypted using the TCP protocol, it can be sent to the target communication module using a specified command, such as command 3089. After the target communication module interprets it, it can send the bolded data content to the main push server.

[0053] Furthermore, the main push server is also used to send a first confirmation message to the target smart meter through the target communication module after receiving the electricity consumption information to be pushed.

[0054] The aforementioned first confirmation information can be used to indicate that the master station push server has successfully received the electricity consumption information to be pushed. In actual implementation, after confirming that the master station push server has received the electricity consumption information to be pushed, it can return the first confirmation information to the target smart meter through the target communication module to inform the target smart meter that the electricity consumption information to be pushed has been successfully received by the master station push server. By returning the first confirmation information, an information loop can be formed to ensure the integrity of communication.

[0055] Furthermore, if the target smart meter does not receive the first confirmation message within a specified time period, it will repeat the step of generating a target random number based on the meter number of the target smart meter and a preset time window after a preset delay, until the electricity consumption information to be pushed is pushed to the main station Push server; if the first confirmation message is still not received after repeating the process a preset number of times within the preset time window, or if the time corresponding to the preset time window is reached, the push of the electricity consumption information to be pushed to the target communication module will be stopped.

[0056] The specified time period and preset time mentioned above are usually short periods, which can be set according to actual needs. To avoid judgment errors, the length of this specified time period is usually longer than the normal push time from when the target smart meter sends the data to be pushed to when it theoretically receives the first confirmation message correctly. The preset number of times can be set by the host computer connected to the target smart meter, such as 3 or 4 times, etc., and can be preset according to actual needs. Figure 4 The diagram illustrates a time window segmentation. If no first confirmation message is received from the main push server within the specified time period, the information push is considered to have failed. After a preset delay, such as 30 seconds, a target random number can be generated based on the meter number of the target smart meter and the preset time window. The steps of the aforementioned embodiment are then repeated to push again. If no first confirmation message is received after a preset number of consecutive attempts, or if the duration of the repetition reaches the time corresponding to the preset time window, the push of the electricity information to be pushed to the target communication module can be stopped. The aforementioned steps are repeated the next time a push data notification is received from the target communication module. By setting a preset time window, excessive repeated pushes can be avoided, thereby further alleviating the data congestion problem.

[0057] Furthermore, the target smart meter terminal is also used to obtain a first random number, process the first random number based on the meter number to obtain a second random number, calculate the remainder obtained by dividing the second random number by the time data corresponding to the preset time window, and determine the remainder as the target random number.

[0058] The first random number mentioned above can be an initial random number generated based on a random number generation mechanism. For example, the original number in the random number generation mechanism is 32 bits. The total number of possible data points is 2 to the power of 32, specifically 4,294,967,296. The first random number generated can be any number from 1 to 4,294,967,296, and the time window can be set, for example, 300 seconds, or 300,000,000 microseconds.

[0059] Assuming the first random number generated is A and the meter number is B, A can be processed based on B to obtain C. For example, A and B can be concatenated to obtain C. Dividing the obtained C by the time data corresponding to the time window will give a remainder D. This remainder D is the target random number. For example, if the target random number is 94,967,296, it means that the data to be pushed will start at the 94th,967th,296th microsecond.

[0060] The random number module (RAND) in smart meters conforms to the FIPS-140-2 standard (a security requirement standard for cryptographic modules). RAND uses a metastable true random number generator alone, a low-frequency sampling high-frequency true random number generator alone, or both. Operands are generated using XOR. The random number sequence generated by the true random number generator is processed using an XOR chain. Furthermore, a pseudo-random number generator using the true random number sequence as a seed generates random numbers that are XORed with the true random number sequence, i.e., using a periodic XOR sequence. True random number generation has excellent applications in information security systems. For the module, its true random number function consists of two parts: the true random number generator generates a true random sequence, and the digital algorithm performs post-processing on the true random sequence. These two parts ultimately achieve the function of generating true random numbers. Figure 4 randtime in the context of [the application].

[0061] Furthermore, such as Figure 5 The diagram shows a power supply system in which the target smart meter terminal 23 is connected to a switching power supply module 52, a capacitor power supply module 53, and a transformer power supply module 54 via a power switching module 51. The power switching module 51 is used to switch the switch to the switching power supply module 52 or the transformer power supply module 54 when the external mains power is detected to be in a normal power supply state, so as to supply power to the target smart meter terminal 23 through the switching power supply module 52 or the transformer power supply module 54; when the external mains power is detected to be in a power failure state, the switch is switched to the capacitor power supply module 53, so as to supply power to the target smart meter terminal 23 through the capacitor power supply module 53.

[0062] The aforementioned switching power supply module 52 and transformer power supply module 54 are typically connected to the external mains power. The aforementioned capacitor power supply module 53, also known as a supercapacitor power supply module, is typically composed of multiple supercapacitors connected in series and is an energy storage device that can be used as a backup power source. The power switching module 51 typically has three switches. When normal external mains power is detected, the switches can be switched to the switching power supply module 52 or the transformer power supply module 54, so that the external mains power is converted by the switching power supply module 52 or the transformer power supply module 54 to obtain the power required by the target smart meter terminal 23 and power the target smart meter terminal 23. When an external mains power failure is detected, the switches can be switched to the capacitor power supply module 53 to power the target smart meter terminal 23 using the energy stored in the capacitor power supply module 53. By setting the capacitor power supply module 53, the target smart meter terminal 23 can still push out the data to be pushed even when the external mains power fails, ensuring the stability, reliability, and integrity of data transmission.

[0063] Furthermore, such as Figure 6The diagram shows the internal structure of a target smart meter terminal. The target smart meter terminal includes an alarm filtering unit 60, an alarm register unit 61, and an alarm indication unit 62 connected in sequence. The alarm filtering unit 60, upon receiving a push data notification, responds to a preset push trigger event, switches the push switch to the on state, acquires the electricity consumption information to be pushed, and sends the electricity consumption information to the alarm register unit 61. The alarm register unit 61, in response to an event that generates a target random number based on the meter number of the target smart meter terminal and a preset time window, switches the register state to the set state and maintains it. The target random number and the power consumption information to be pushed are sent to the alarm indication unit 62. After receiving the first confirmation information, the register state is switched from the set state to the non-set state. The alarm indication unit 62 is used to switch the alarm indication state to the set state and maintain it when it detects that the register state of the alarm register unit 61 has been switched to the set state and the duration reaches the delay time corresponding to the target random number. The power consumption information to be pushed is pushed to the main station Push server through the target communication module. After receiving the second confirmation information returned by the target communication module, the alarm indication state is switched from the set state to the non-set state.

[0064] The aforementioned alarm filtering unit 60 can be understood as a push switch, or an alarm filter. When all switches are closed, the push function is ineffective. When the alarm filtering unit 60 receives a push data notification from the target communication module, it can activate the push switch state to enable the push function when a preset push trigger event occurs. At this time, it can acquire the power consumption information to be pushed and send it to the alarm register unit 61, also known as the alarm register. After generating a target random number, the alarm register unit 61 can switch its register state to the set state and maintain it, sending the target random number and the power consumption information to be pushed to the alarm indication unit 62, also known as the alarm indicator unit 62. After detecting that the register state of the alarm register unit 61 has been set (from unset to set), the alarm indicator unit 62 will initiate a target random number delay. When the delay time reaches the delay time corresponding to the target random number, the alarm indicator unit 62 will set its alarm indicator state and push the power consumption information to be pushed to the master station push server through the target communication module. If the target communication module successfully receives the power consumption information to be pushed and pushes it to the master station push server normally, the target communication module will send a correct response frame. The meter will automatically clear the alarm indicator state of the alarm indicator unit. For example, the target communication module correctly receives and sends the meter's response frame as: 68 0A 0A 68 5A 99 99 01 0005 89 30 00 01 4C 16(680A0A685A9999010005893000014C16); If the target communication module fails to receive the power consumption information to be pushed, or fails to push it to the main station push server normally, the meter will delay and resend the preset number of times. If the preset number of resends is unsuccessful, the alarm indication status of the alarm indication unit will also be cleared.

[0065] After the alarm register unit 61 receives the first confirmation information returned by the master station Push server, it can clear the state of the register that is in the set state, and it can be reset later.

[0066] The main process for pushing data to be pushed is explained below:

[0067] As shown in Table 1 below, different OBIS codes correspond to different descriptions.

[0068] Table 1

[0069] OBIS code describe 0.0.97.98.0.255 (IC = 1) Push Alarm Register 0.0.97.98.10.255 (IC = 1) Push Alarm Filter 0.0.97.98.20.255 (IC = 1) Push Alarm Descriptor 0.0.25.9.0.255 (IC = 40) Push setup

[0070] The bit definitions for Push Alarm register, Push Alarm Filter, and Push Alarm Descriptor are shown in Table 2 below.

[0071] Table 2

[0072]

[0073]

[0074] The logic of Push Alarm differs from the IDIS (Interoperable Device Interface Specification) standard. The IDIS specification is entirely based on the existing DLMS / COSEM standard, clarifying the gaps and ambiguities in the standard, thereby reducing integration and operational costs. The IDIS standard requires the HES (Head End System) to issue commands to clear AR (corresponding to the Push Alarm register mentioned above) and AD (corresponding to the Push Alarm Descriptor mentioned above). In the current design, AD is automatically cleared without the main station's involvement. AR clearing requires receiving system commands; otherwise, it will be set as soon as it occurs.

[0075] The user can configure the PUSH object (but cannot configure OBIS with IC=7). An example configuration is shown below:

[0076] Time(0.0.1.0.0.255)

[0077] Serial number (0.0.96.1.0.255)

[0078] Alarm register(0.0.97.98.0.255)

[0079] The time in this context refers to the time of the push, not the time of the event recording.

[0080] It is important to note that if an event bit (AR) has already been set and reported, this bit must be cleared before the event bit will be pushed again. Otherwise, even if the event occurs again, it will not be pushed. Event clearing and overall clearing clear the PUSH alarm register (AR) and PUSH alarm description status (AD). For meter power outages, the PUSH occurs after power is restored. AR and AD are cleared after successful module recovery, system clearing, and a certain number of unsuccessful attempts. For other alarm PUSHs, AR requires system clearing, and AD is cleared after successful module recovery, system clearing, and a certain number of unsuccessful attempts.

[0081] Furthermore, the electricity consumption information to be pushed includes the meter number and the port number of the main site push server.

[0082] Each master push server typically has a unique port number. To ensure the accuracy of information transmission, the target smart meter's meter number and the IP port number of the master push server to be pushed can be included in the electricity consumption information to be pushed.

[0083] It should be noted that, for scenarios in the prior art that use the same main station to implement Push and Pull technologies, the method of determining the timing of push by using a target random number as described in this application can also be adopted. For details, please refer to the relevant descriptions in the foregoing embodiments, which will not be repeated here.

[0084] Furthermore, the system also includes a host computer, which is communicatively connected to each meter module. The host computer is used to send a first instruction to the smart meter terminal in each meter module to select at least one target meter module from multiple meter modules.

[0085] In practice, users can input information from a host computer to select one or more target meter modules from a pool of meter modules to which they want to receive electricity consumption information. For example, see [link to relevant documentation]. Figure 7 The diagram shows an operation interface where users can input information such as OBIS Code (OBIS stands for Object Identification System), Class ID (ID stands for Identity document), Attribute, and Data Index, and click "Add" to add the corresponding target meter module to the list. Selecting a target meter module in the list and clicking "Delete" will remove it from the list. Users can display one or more target meter modules that need to push electricity consumption information in the list through the host computer.

[0086] The aforementioned electricity information transmission system introduces a delay time configuration through a target random number, and determines the timing of the push based on the target random number. This can prevent the system from crashing due to receiving a large amount of push data at the same time, effectively solving the problems of lack of confirmation function and channel congestion, and improving the reliability of data transmission.

[0087] This invention provides a method for transmitting electricity information, such as... Figure 8 As shown, the method includes the following steps:

[0088] Step S802: For at least one target communication module and target smart meter terminal in the target meter module, the target communication module is used to send push data notification to the target smart meter terminal when it detects that the master station push server is in an idle state.

[0089] Step S804: When the target smart meter receives the push data notification, it responds to the preset push trigger event and obtains the electricity consumption information to be pushed; it generates a target random number based on the meter number of the target smart meter and the preset time window; when the delay time corresponding to the target random number is reached, it pushes the electricity consumption information to be pushed to the main station Push server through the target communication module.

[0090] In step S806, the target communication module is further configured to, if it receives an information acquisition request from the master station Pull server, send the information acquisition request to the target smart meter terminal to obtain the target electricity consumption information corresponding to the information acquisition request from the target smart meter terminal, and send the target electricity consumption information to the master station Pull server.

[0091] The above-mentioned electricity consumption information transmission method can separate the communication channels of push and pull technologies by setting up a master station push server and a master station pull server, thereby alleviating the data congestion problem caused by using the same master station server. This method uses a target random number to set the delay time. Since the target delay time is different for different target smart meters, the timing of pushing the electricity consumption information to be pushed is also different for each target smart meter, thus avoiding data congestion.

[0092] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. An electricity information transmission system, characterized in that, The system includes: a master station push server, a master station pull server, and multiple meter modules; wherein, each meter module includes an interconnected communication module and a smart meter terminal; each of the communication modules is communicatively connected to the master station push server and the master station pull server respectively; For at least one target communication module and target smart meter terminal in a target meter module, the target communication module is used to send push data notification to the target smart meter terminal when it detects that the master station push server is in an idle state; The target smart meter terminal is used to obtain the electricity consumption information to be pushed in response to a preset push trigger event after receiving the push data notification; generate a target random number based on the meter number of the target smart meter terminal and a preset time window; and push the electricity consumption information to be pushed to the main station Push server through the target communication module when the delay time corresponding to the target random number is reached. The target communication module is further configured to, if it receives an information acquisition request from the master station Pull server, send the information acquisition request to the target smart meter terminal to obtain the target electricity consumption information corresponding to the information acquisition request from the target smart meter terminal, and send the target electricity consumption information to the master station Pull server.

2. The system according to claim 1, characterized in that, The target smart meter terminal is used to obtain the electricity consumption information to be pushed after receiving the push data notification, and to encrypt the electricity consumption information to be pushed to obtain encrypted electricity consumption information. A target random number is generated based on the meter number of the target smart meter and a preset time window. When the delay time corresponding to the target random number is reached, the encrypted electricity consumption information is pushed to the target communication module. The target communication module is used to decrypt the encrypted electricity consumption information, obtain the electricity consumption information to be pushed, and push the electricity consumption information to be pushed to the main station Push server.

3. The system according to claim 1, characterized in that, The main station push server is also used to send a first confirmation message to the target smart meter through the target communication module after receiving the electricity consumption information to be pushed.

4. The system according to claim 3, characterized in that, The target smart meter terminal is also used to, if it does not receive the first confirmation information within a specified time period, after a preset delay, repeatedly execute the step of generating a target random number based on the meter number of the target smart meter terminal and a preset time window, until the electricity consumption information to be pushed is pushed to the main station Push server; If the first confirmation message is not received after repeating the preset number of times within the preset time window, or if the time corresponding to the preset time window is reached, the push of the electricity consumption information to be pushed to the target communication module will be stopped.

5. The system according to claim 1, characterized in that, The target smart meter terminal is also used to obtain a first random number, process the first random number based on the meter number to obtain a second random number, calculate the remainder obtained by dividing the second random number by the time data corresponding to the preset time window, and determine the remainder as the target random number.

6. The system according to claim 1, characterized in that, The target smart meter terminal is also connected to the switching power supply module, the capacitor power supply module and the transformer power supply module respectively through the power switching module; The power switching module is used to switch the switching switch to the switching power supply module or the transformer power supply module when the external mains power is detected to be in a normal power supply state, so as to supply power to the target smart meter terminal through the switching power supply module or the transformer power supply module; When an external mains power failure is detected, the switch is switched to the capacitor power module to supply power to the target smart meter.

7. The system according to claim 3, characterized in that, The target smart meter terminal includes an alarm filtering unit, an alarm register unit, and an alarm indication unit connected in sequence. The alarm filtering unit is used to, upon receiving the push data notification, respond to a preset push trigger event, switch the push switch to the on state, obtain the power consumption information to be pushed, and send the power consumption information to be pushed to the alarm register unit. The alarm register unit is used to respond to an event that generates a target random number based on the meter number of the target smart meter and a preset time window, switch the register state to the set state and maintain it, and send the target random number and the electricity consumption information to be pushed to the alarm indication unit; when the first confirmation information is received, the register state is switched from the set state to the non-set state. The alarm indication unit is used to switch the alarm indication state to the set state and maintain it when it detects that the register state of the alarm register unit has been switched to the set state and the duration reaches the delay time corresponding to the target random number, and pushes the power consumption information to be pushed to the main station Push server through the target communication module; after receiving the second confirmation information returned by the target communication module, the alarm indication state is switched from the set state to the non-set state.

8. The system according to claim 1, characterized in that, The electricity consumption information to be pushed includes the meter number and the port number of the main station push server.

9. The system according to claim 1, characterized in that, The system also includes a host computer, which is communicatively connected to each of the meter modules; The host computer is used to send a first instruction to the smart meter terminal in each of the meter modules to select at least one target meter module from the plurality of meter modules.

10. A method for transmitting electrical information, characterized in that, The method includes: For at least one target communication module and target smart meter terminal in a target meter module, the target communication module is used to send push data notification to the target smart meter terminal when it detects that the master station push server is in an idle state; The target smart meter terminal is used to obtain the electricity consumption information to be pushed in response to a preset push trigger event after receiving the push data notification; generate a target random number based on the meter number of the target smart meter terminal and a preset time window; and push the electricity consumption information to be pushed to the main station Push server through the target communication module when the delay time corresponding to the target random number is reached. The target communication module is further configured to, if it receives an information acquisition request from the master station Pull server, send the information acquisition request to the target smart meter terminal to obtain the target electricity consumption information corresponding to the information acquisition request from the target smart meter terminal, and send the target electricity consumption information to the master station Pull server.