A low-voltage user data freezing method based on a communication module

By constructing a data acquisition and communication model and a latency management strategy, and using a communication module with data freezing functionality to analyze and correct latency, the problem of inaccurate data freezing timestamps in data acquisition devices was solved, achieving high-precision data freezing and reducing costs.

CN116668316BActive Publication Date: 2026-02-03国网福建省电力有限公司营销服务中心 +3
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310586934.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-23
Publication Date
2026-02-03
Estimated Expiration
2043-05-23

AI Technical Summary

Technical Problem

In existing technologies, the acquisition devices lack data freezing functionality, resulting in inaccurate timestamps after data freezing, making it difficult to achieve high-precision data freezing tasks. Furthermore, replacing or rewriting the communication module is costly and impractical.

Method used

By constructing a data acquisition and communication model, acquiring device and line parameter characteristics, generating a solid-state delay sub-function, configuring a delay calculation algorithm and a freeze correction strategy, and using a communication module with data freeze functionality to analyze and correct the delay, data freeze is achieved.

Benefits of technology

It effectively eliminates communication delays, ensures the accuracy of data freezing timestamps, improves the precision and feasibility of data freezing tasks, and reduces costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116668316B_ABST
    Figure CN116668316B_ABST
Patent Text Reader

Abstract

The application relates to a low-voltage user data freezing method based on a communication module, which comprises a topology configuration strategy, a time delay management strategy and a freezing correction strategy. The time scale characteristics of the communication module with the data freezing function are used to analyze the possible time delay of other communication modules without the data freezing function, the time delay corresponding to the transmission event is analyzed according to the actual transmission event, the service equipment can complete the data freezing function, and the time delay caused by the communication is eliminated as much as possible.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to power grid data processing, more particularly to a low-voltage user data freezing method based on a communication module. BACKGROUND

[0002] The energy integration collection in China is mainly based on the electricity information collection system, and the basic framework is divided into three levels of collection system master station, communication channel and collection equipment. The function of the collection system master station is to realize system data interaction, storage and collection business process management, mainly including pre-service, data storage, master station application and other parts. The communication channel includes remote communication and local communication. The remote communication includes wireless public network such as GPRS and CDMA, and optical fiber private network channel. The local communication includes narrowband carrier, broadband carrier, micro-power wireless, 485 bus and other channels. The collection equipment is a collection of field measurement equipment and collection terminals, mainly including electric energy meters, concentrators, special variable terminal equipment and other devices. In some cases, in order to analyze the situation, data freezing is needed, that is, data is collected and the corresponding time stamp is obtained. Since the collection equipment itself does not have the function of data freezing, the existing technology often adds a communication module to realize the function of data freezing. If the original communication module does not have the function of data freezing, it needs to be burned into the data freezing function or replaced with a communication module with the function of data freezing. However, if this needs to be installed on each collection equipment, it is inevitable that it does not have strong implementability. Many collection equipment uses integrated design, and it is difficult to change after leaving the factory. If data freezing is performed through a service terminal, the duration of local communication is unstable, and the data timestamp is biased. This leads to the inability to complete the subsequent task after data freezing with high precision. SUMMARY

[0003] Therefore, the present application aims to provide a low-voltage user data freezing method based on a communication module.

[0004] In order to solve the above technical problems, the technical scheme of the present application is as follows: a low-voltage user data freezing method based on a communication module, including topology configuration strategy, time delay management strategy and freezing correction strategy.

[0005] The topology configuration strategy includes

[0006] Step A1, a collection communication model is constructed according to the communication topology of the collection system, the collection communication model includes a service node corresponding to a service device, a collection node corresponding to a collection device and a communication node corresponding to a communication device, the service node, the collection node and the communication node are associated through communication connection lines;

[0007] Step A2, respectively, obtain the device parameter information of the service device, the collection device and the communication device, and according to the device parameter information, call the corresponding device parameter characteristics as the node characteristic markers of the corresponding nodes;

[0008] Step A3, obtain the line parameter information corresponding to the communication line, and according to the line parameter information, call the corresponding line parameter characteristics as the link characteristics markers of the communication link;

[0009] The time delay management strategy includes

[0010] Step B1, respectively, according to the node characteristic markers and the link characteristic markers, generate the solid state time delay sub-function of each transmission path segment;

[0011] Step B2, construct the event time delay value of each transmission path segment corresponding to each transmission event;

[0012] The freezing correction strategy includes

[0013] Step C1, the service device receives the frozen data, and generates the actual receiving time and the data characteristic parameters corresponding to the frozen data;

[0014] Step C2, configure a time delay calculation algorithm for calculating the frozen data time delay, and the time delay calculation algorithm is Where X t is the frozen data time delay, Δf n (X t ) is the solid state time delay sub-function corresponding to the nth transmission path segment, X t is the data characteristic parameter corresponding to the frozen data, r nm is the event time delay value of the mth transmission event in the nth transmission path segment, and k1 is the total number of transmission paths through which the frozen data is transmitted, and k2 is the total number of transmission events occurring in the transmission process of the frozen data.

[0015] Further, the step B1 further includes,

[0016] Step B1-1, determine the collection node with data freezing function in the communication characteristic group as a sample collection node;

[0017] Step B1-2, divide the collection nodes that satisfy the preset communication similar conditions with the sample collection node into the same collection node group;

[0018] Step B1-3, generate the split sub-function of each transmission path segment corresponding to the sample collection node;

[0019] Step B1-3, generate the solid state time delay sub-function of each transmission path segment according to the split sub-function of the transmission path segment.

[0020] Furthermore, in steps B1-3, a delay function table is configured. Each delay function table stores several different delay regression functions in advance. The historical solid-state delay is calculated by obtaining the data freezing history of the sample acquisition node. Based on the data feature parameters in the data freezing history and the historical solid-state delay, the delay regression function is matched from the preset delay function table using the least squares method to determine the delay regression function of the transmission path corresponding to the sample acquisition node.

[0021] Furthermore, steps B1-3 also include calculating the total splitting deviation for each preset splitting criterion, and splitting the solid-state delay sub-function according to the splitting criterion with the smallest total splitting deviation to obtain the splitting sub-function for each transmission path segment, wherein the splitting criterion satisfies F I (X t )=f1(X t )+f2(X t )+...f i (X t ), where F I (X t Let f be the delay regression function corresponding to the I-th transmission path. i (X t ) represents the splitting sub-function corresponding to the i-th transmission path segment; i is the number of transmission path segments in the i-th transmission path; the formula for calculating the total splitting deviation is as follows:

[0022] Among them, E d Let α1 be the total splitting deviation, α2 be the preset adjustment deviation weight, ΔX be the preset matching deviation weight, and G be the preset mean characteristic parameter. I (ΔX) is the splitting regression function corresponding to the I-th transmission path, and G I (ΔX)=Δf1(ΔX)+Δf2(ΔX)+·Δf i (ΔX), K3 is the total number of transmission paths corresponding to the sample acquisition nodes, Δd n The nth function matching deviation reflects the matching degree between the type of the solid-state delay sub-function and the connection feature marker. The function matching deviation is obtained by querying a pre-set matching deviation table, and K4 is the total number of transmission path segments.

[0023] Furthermore, in steps B1-3, Where χ1 is the preset overlap correlation weight, χ2 is the preset similarity feature weight, and χ1 + χ2 = 1, f n (X t ) represents the nth sub-function corresponding to this transmission path segment, β nLet K5 be the overlap degree of the transmission path corresponding to the nth sub-function, and K5 be the total number of sub-functions in this transmission path segment.

[0024] f m (X t ) represents the m-th splitting sub-function that shares the same connection characteristics as the transmission path segment, β m Let Km be the overlap degree of the transmission path corresponding to the m-th sub-function, and K6 be the total number of sub-functions of transmission path segments with the same connection feature label, and have...

[0025] Furthermore, step B2 also includes a pre-configured event delay database, which stores several different event delay maps. The event delay maps are indexed by transmission events and reflect the relationship between event delay values ​​and node feature tags.

[0026] Furthermore, it also includes a periodic configuration strategy, which includes...

[0027] Step D1: Each communication module is configured with a different baseline communication period so that the communication module is permitted to report tasks at the time corresponding to the baseline communication period.

[0028] Step D2: Configure a different cycle start point for each communication module. The cycle start point is the start time of the reference communication cycle, and the greater the overlap of the corresponding transmission paths between the acquisition nodes, the greater the interval between the cycle start points of the communication modules corresponding to the acquisition nodes.

[0029] Furthermore, step D1 also includes that each communication module has several different baseline communication cycles, and the cycle configuration strategy also includes step D3, configuring the corresponding reporting priority according to the reporting task type of the communication module, with different reporting priorities corresponding to different baseline communication cycles.

[0030] Furthermore, the data characteristic parameters include data size, data type, and transmission type.

[0031] Furthermore, step C2 also includes configuring a preset transmission event threshold. When the number of transmission events corresponding to the frozen data exceeds the transmission event threshold, the service device generates a data freeze retransmission request to the corresponding acquisition device.

[0032] The main technical effects of this invention are reflected in the following aspects: By setting it up in this way, the possible delay situations of other communication modules that do not have data freezing function are analyzed by using the time stamp characteristics of the communication module with data freezing function, and the delay corresponding to the transmission event is analyzed according to the actual transmission event, so that the service device can complete the data freezing function and at the same time eliminate the delay caused by communication as much as possible. Attached Figure Description

[0033] Figure 1 : Schematic diagram of the strategy architecture of this invention. Detailed Implementation

[0034] The specific embodiments of the present invention will be further described in detail below with reference to the accompanying drawings, so that the technical solution of the present invention can be more easily understood and mastered.

[0035] A method for freezing low-voltage user data based on a communication module includes a topology configuration strategy, a latency management strategy, and a freeze correction strategy.

[0036] Topology configuration strategies include

[0037] Step A1: Construct a data acquisition communication model based on the communication topology of the data acquisition system. The data acquisition communication model includes service nodes corresponding to service devices, acquisition nodes corresponding to acquisition devices, and communication nodes corresponding to communication devices. The service nodes, acquisition nodes, and communication nodes are connected through communication lines. First, the data acquisition communication model is generated based on the communication topology architecture of the data acquisition system. The principle is to retrieve the topological relationship between the acquisition devices, service devices, and communication devices, and then generate the data acquisition communication model through the topological relationship. The topology configuration strategy updates the data acquisition communication model in real time based on the data entered into the background database.

[0038] Step A2: Obtain the device parameter information of the service device, acquisition device, and communication device respectively, and retrieve the corresponding device parameter features as node feature tags for the corresponding nodes based on the device parameter information. The device parameter information of the service device, acquisition device, and communication device serves as the corresponding node feature tags for the service node, acquisition node, and communication node. The relationship between device parameter features and device parameter information, and the calling method, are as follows: A pre-built index table of device parameter features is used to facilitate the filtering of features related to communication latency from the device parameter information, such as communication method, communication power, channel bandwidth, etc. By extracting information through text recognition and indexing it through the index table, the corresponding device parameter features can be queried. Of course, other data cleaning methods can also be used, which will not be elaborated here. The purpose is to extract features related to communication latency from different formats and text content.

[0039] Step A3: Obtain the line parameter information corresponding to the communication line, and retrieve the corresponding line parameter features as the connection feature markers of the communication line based on the line parameter information; the principle of retrieving line parameter features is the same as that of device parameter features, and will not be elaborated here. The line parameter features include, for example, communication distance or transmission distance, communication method, etc.

[0040] Latency management strategies include

[0041] Step B1: Generate the solid-state delay sub-function for each transmission path segment based on the node feature markers and connection feature markers respectively; the specific generation method is as follows:

[0042] Step B1 also includes,

[0043] Step B1-1: Determine the data acquisition nodes with data freezing function in the communication feature group as sample acquisition nodes. Since some communication feature groups have data freezing function, an original timestamp can be generated simultaneously with data freezing. This timestamp will not have communication delay because data freezing is not completed on the server side. Of course, sample acquisition nodes can also be added by expanding the functionality of the acquisition device (communication layer device). The specific data freezing function principle is as follows: When the acquisition device receives a request frame in DL / T645-2007 format with data identifier EEEEEFNN, it can automatically switch to the communication layer multi-data item combination reading process. The communication layer device splits the request message task into multiple single data item (block) reading instructions, and periodically (only once if the pre-read cache period is 0 minutes) reads the corresponding data content of the meter according to the data pre-read cache period and caches it in the module for recall. To simplify the program processing requirements of the communication layer device, this protocol does not consider the case of frame division. When the cumulative data field returned by each data item of the meter exceeds 200 bytes, the communication layer device should use an abnormal response. The error message word ERR is "Other Errors", i.e., 01H. The format "Subsequent Frame (Event Reporting Required) Return Combined Reading Data" applies when the control code returned for any single data item in any frame of the meter shows B1H. When the terminal or master station makes a subsequent active reporting request, it should directly request the event active reporting status word. When some requested data items (blocks) are not supported (i.e., the meter returns a denial or times out), a data identifier plus empty data content method is used; that is, the corresponding data item (block) that is not supported will have empty data content, and the data length Ln is 4. When all data items are not supported, the data task for this group is automatically canceled. During the first read, since the communication module has not yet cached the corresponding data, the corresponding data is all empty, and a data identifier plus empty data content method is used in response. The next time a command with the data identifier EEEEEFNN is received, the cached data items are combined in the requested order and returned to the master station (upper-level communication device). The data pre-reading cache function does not save by default when power is off; only tasks configured to save data during power outages are saved, and data is cached immediately after power is restored. When the number of data items received for this group of cached tasks is 0, the communication layer should stop the periodic pre-read cached data operation for this group of tasks. If the received data task cache period or data content has changed, the communication layer should immediately start caching data according to the new task parameters. During periodic cache data refresh, the method of reading all data items for this group of cached tasks before refreshing the data content all at once should be adopted. When a temporary data request message is received during the reading of cached data, cache data reading should be paused, and the current data request should immediately begin [therefore, to reduce conflicts, the framed request data content for pre-reading the cache should not be too long]. After the temporary data request stops, the remaining task data caching can continue. The number of requested data items (blocks) NN is in BCD code format, with a maximum of 20, and the communication layer response time should be able to coordinate with the upper-layer communication equipment.The data pre-read cache period (minutes) XXXX is in hexadecimal. The module should be able to support a maximum pre-read cache period of 65534 minutes; when it is 0 minutes, it will only cache once. The cache task group NN is in BIN format, and the communication module should support at least 4 groups (i.e., data identifiers are EEEEEF01, EEEEEF02, EEEEEF03, and EEEEEF04). The communication layer should be able to support multi-data item combination read commands with a broadcast address (999999999999), and upon receipt, should not respond but immediately begin the data pre-read processing flow. The above is an implementation method in one embodiment of the data freezing function supported by the sample acquisition node.

[0044] Step B1-2: Assign collection nodes that meet the preset communication similarity conditions with the sample collection nodes to the same collection node group. As shown in step B1-2, after marking the sample collection nodes, the corresponding communication paths can be determined. The communication similarity conditions can be physical location distance, belonging to the same user side, having a preset number of the same communication path segments, or simultaneously meeting multiple conditions. If the communication similarity conditions are met, it means that the collection nodes may have a high degree of similarity in time delay and are more likely to encounter the same transmission events.

[0045] Step B1-3: Generate the sub-functions for each transmission path segment corresponding to the sample acquisition node; Step B1-3 also includes configuring a delay function table, each delay function table pre-stores several different delay regression functions, and calculating the historical solid-state latency by obtaining the data freeze history of the sample acquisition node, based on the data characteristic parameters and historical solid-state latency in the data freeze history. Since the acquisition node with data freezing function can freeze data simultaneously on the server side and the acquisition side, and both will generate latency due to transmission communication, this latency is determined by the communication topology and communication events. On the other hand, this latency is also determined by the data size, data type, and communication type, for example... Different communication verification methods and data bases will determine the transmission delay. However, since the sample acquisition node can generate a data freezing history by simulating data freezing in addition to actual data freezing, and with a sufficiently large data volume, treating data feature parameters as one variable and historical solid-state delay as another variable, a constellation diagram of historical delay in the coordinate system can be obtained. The least squares method is used to match delay regression functions from a preset delay function table. Delay regression functions are pre-configured, such as linear and nonlinear delay regression functions. Only the delay regression function with the highest degree of fit is used as the delay regression function for the transmission path corresponding to the determined sample acquisition node. Steps B1-3 also include calculating the total splitting deviation of each preset splitting criterion, and splitting the solid-state delay sub-function according to the splitting criterion with the smallest total splitting deviation to obtain the splitting sub-function for each transmission path segment. The splitting criterion satisfies F... I (X t )=f1(X t )+f2(X t )+...f i (X t Preferably, each delay regression function has several splitting criteria, which are preset. For example, the splitting criterion corresponding to the connection feature marker A is a specific numerical value. Different connection feature markers correspond to different splitting criteria, but they satisfy the constraint condition that the sum of the splitting sub-functions equals the delay regression function. Preferably, the splitting difficulty can be sorted by the connection feature markers. First, the splitting sub-functions corresponding to the connection feature markers with more stable communication are determined. Then, the constraints of the remaining splitting sub-functions are increased, which is more conducive to the determination. The last splitting sub-function is the delay regression function minus all other splitting sub-functions, where F I (X t Let f be the delay regression function corresponding to the I-th transmission path. i (X tLet be the sub-function corresponding to the i-th transmission path segment; i is the number of transmission path segments in the i-th transmission path; the transmission path refers to the trajectory formed by the nodes traversed during the entire data transmission process, and the transmission path is the sum of the transmission path segments. The formula for calculating the total splitting deviation is as follows:

[0046] Among them, E d Let α1 be the preset adjustment deviation weight, α2 be the preset matching deviation weight, and ΔX be the preset mean characteristic parameter. The mean characteristic parameter is determined based on the mean of the data characteristic parameters in most data freezing tasks. I (ΔX) is the splitting regression function corresponding to the I-th transmission path, and we have

[0047] G I (ΔX)=Δf1(ΔX)+Δf2(ΔX)+...Δf i (ΔX), K3 is the total number of transmission paths corresponding to the sample acquisition nodes, Δd n The nth function matching deviation reflects the matching degree between the type of the solid-state delay subfunction and the connection feature marker. The matching relationship between the connection feature marker and the solid-state delay subfunction is obtained as follows: the function matching deviation is obtained by querying a pre-set matching deviation table. Based on the actual transmission characteristics, it can be determined that if the transmission of the solid-state delay subfunction is relatively stable, the transmission characteristics of the corresponding connection feature marker should also be relatively stable. The function matching deviation is assigned to different cases, and the corresponding deviation is calculated. K4 is the total number of transmission path segments. By calculating the total deviation of each splitting method, the splitting method with the smallest total deviation can be determined. Because some transmission paths may have shared transmission path segments, the same transmission path segment may have two or more different splitting subfunctions. The greater the difference between these two splitting subfunctions, the less reliable the splitting method is, and vice versa. On the other hand, the determined solid-state delay subfunction has a certain degree of deviation. The solid-state delay subfunction is determined as follows: the solid-state delay subfunction of each transmission path segment is generated based on the splitting subfunction of the transmission path segment. In steps B1-3, Where χ1 is the preset overlap correlation weight, χ2 is the preset similarity feature weight, and χ1 + χ2 = 1, f n (X t ) represents the nth sub-function corresponding to this transmission path segment, β n Let K5 be the overlap degree of the transmission path corresponding to the nth sub-function, and K5 be the total number of sub-functions in this transmission path segment. f m (X t ) represents the m-th splitting sub-function that shares the same connection characteristics as the transmission path segment, βm The overlap degree is calculated for the transmission path corresponding to the m-th sub-function with the same connection feature label as the transmission path segment. The overlap degree reflects the weighted value of the overlapping transmission path segments of two transmission paths. Different weights are pre-assigned to different transmission path segments to calculate the overlap degree of the overlapping transmission path segments. K6 is the total number of sub-functions of transmission path segments with the same connection feature label, and... By calculating the split sub-function and the solid-state delay sub-function, different splitting methods can be calculated, thereby determining the optimal solid-state delay sub-function.

[0048] Step B2 involves constructing an event delay value for each transmission path segment corresponding to each transmission event. Step B2 also includes a pre-configured event delay database, which stores several different event delay mappings. These mappings are indexed by transmission events and reflect the relationship between event delay values ​​and node feature tags. For example, data packet loss, data verification failure, data retransmission, and channel busyness are all reflected as event delay values. By mapping the event delays to correspond to the time delays of different events on different devices, and considering the node feature tags reflecting the node communication type, verification method, number of channels, etc., the required communication delay when an event occurs can be determined based on these details.

[0049] Freeze correction strategies include

[0050] Step C1: The service device receives the frozen data and generates the actual reception time and corresponding data characteristic parameters. These data characteristic parameters include data size, data type, and transmission type. For example, the data freezing task (01H) reads and stores the corresponding data identifier data sequentially after the configured delay time. For electricity meter devices, the data freezing task only needs to support the format word 00H and L=04H. This invention can also be applied to other data freezing-related reporting tasks, such as the data inconsistency proactive reporting task (02H), which compares the currently read data with the previously read data. If the two data are different, it automatically reads and stores subsequent data and proactively reports the currently read data and subsequent data. For example, configuring a task to read the number of power outages: if a change in the number of power outages is found between two consecutive reads, it automatically reads the most recent power outage record and reports the currently read power outage count and the power outage record. The Data Limit Exceedance Active Reporting Task (03H) refers to automatically reading subsequent data identifiers and actively reporting the data to be judged and the data read from the identifier when the current data range (including each segment and outside the range) is different from the previous judgment result range. For example, if voltage data identifier judgment is configured, and the data boundary values ​​1, 2, and 3 are 1980, 2500, and 2700 respectively, if the voltage is normal (between 198.0V and 250.0V), an exceedance will be recorded when it falls below 1980; an exceedance will be recorded when it is between 2500 and 2700; an exceedance will be recorded when it recovers to 1980-2500; and an exceedance will be recorded when it is between 0 and 1980 or between 2700 and 9999.

[0051] Step C2: Configure a latency calculation algorithm to calculate the latency of frozen data. The latency calculation algorithm is as follows: Where X t To freeze data latency, Δf n (X t Let X be the solid-state delay subfunction corresponding to the nth transmission path segment. t r represents the data feature parameters corresponding to the frozen data. nm Let k1 be the event delay value of the m-th transmission event corresponding to the n-th transmission path, k2 be the total number of transmission paths traversed by the frozen data transmission, and k2 be the total number of transmission events occurring during the frozen data transmission process. Step C2 further includes configuring a preset transmission event threshold. When the number of transmission events corresponding to the frozen data exceeds the transmission event threshold, the service device generates a data freeze retransmission request to the corresponding acquisition device. By calculating the corresponding data freeze delay using the transmission event threshold, the time error caused by communication can be corrected.

[0052] It also includes a periodic configuration strategy, which includes...

[0053] Step D1: Each communication module is configured with a different reference communication cycle so that the communication module is allowed to report tasks at the time corresponding to the reference communication cycle. Each communication module has several different reference communication cycles. The module and the energy meter are only allowed to have the following task cycles: 5, 10, 15, 20, 30, 60 (seconds); 1, 2, 3, 4, 5, 10, 15, 20, 30, 60 (minutes); 1, 2, 3, 4, 6, 8, 12, 24 (hours); 1 (day). Configurations with non-specified cycles should be rejected.

[0054] Step D2: Configure a different cycle start point for each communication module. The cycle start point is the start time of the reference communication cycle, and the greater the overlap of the corresponding transmission paths between the acquisition nodes, the greater the interval between the cycle start points of the communication modules corresponding to the acquisition nodes.

[0055] Step D3: Configure the corresponding reporting priority according to the reporting task type of the communication module. Different reporting priorities correspond to different baseline communication cycles. The purpose of this setting is to ensure timely data upload while allowing data to be collected in segments to avoid channel congestion. For example: different task types with different priorities: priority 1 data freeze task > carrier meter reading request > priority 0 data freeze task > other types of tasks; within the same task group: group 1 has the highest priority, and groups 2, 5, and 3 have the lowest priority; data items: data items in the same task group are transmitted sequentially from front to back. If a carrier communication meter reading request is received while the module is executing a priority 1 data freeze task, the slave node module (STA) will respond to the master node module (CCO) with a busy channel (only returning a one-byte error code 0FH).

[0056] Of course, the above are just typical examples of the present invention. In addition, the present invention may have many other specific embodiments. All technical solutions formed by equivalent substitution or equivalent transformation fall within the scope of protection claimed by the present invention.

Claims

1. A method for freezing low-voltage user data based on a communication module, characterized in that: This includes topology configuration strategies, latency management strategies, and freeze correction strategies; Topology configuration strategies include Step A1: Construct an acquisition communication model based on the communication topology of the acquisition system. The acquisition communication model includes service nodes corresponding to service devices, acquisition nodes corresponding to acquisition devices, and communication nodes corresponding to communication devices. The service nodes, acquisition nodes, and communication nodes are connected through communication lines. Step A2: Obtain the device parameter information of the service device, the acquisition device, and the communication device respectively, and retrieve the corresponding device parameter features as the node feature markers of the corresponding nodes based on the device parameter information; Step A3: Obtain the line parameter information corresponding to the communication line, and retrieve the corresponding line parameter features as the connection feature markers of the communication line based on the line parameter information. Latency management strategies include Step B1: Generate the solid-state delay sub-function for each transmission path segment based on the node feature markers and the connection feature markers, respectively; Step B2: Construct the event delay value for each transmission path segment corresponding to each transmission event; Freeze correction strategy include Step C1: The service device receives the frozen data and generates the actual reception time and the data characteristic parameters corresponding to the frozen data; Step C2: Configure a latency calculation algorithm to calculate the latency of frozen data. The latency calculation algorithm is as follows: Where X t To freeze data latency, Δf n (X t Let X be the solid-state delay subfunction corresponding to the nth transmission path segment. t r represents the data feature parameters corresponding to the frozen data. nm Let k1 be the event delay value of the m-th transmission event in the n-th transmission path, k2 be the total number of transmission paths through which the frozen data transmission passes, and k2 be the total number of transmission events that occur during the frozen data transmission process. Step B1 also includes, Step B1-1: Identify the data acquisition nodes with data freezing function in the communication feature group as sample acquisition nodes; Step B1-2: Assign collection nodes that meet the preset communication similarity conditions with the sample collection nodes to the same collection node group; Step B1-3: Generate the split sub-function for each transmission path segment corresponding to the sample acquisition node; generate the solid-state delay sub-function for each transmission path segment based on the split sub-function of the transmission path segment. Step B1-3 also includes configuring a delay function table. Each delay function table pre-stores several different delay regression functions. By obtaining the data freeze history of the sample acquisition node, the historical solid-state delay is calculated. Based on the data feature parameters in the data freeze history and the historical solid-state delay, the delay regression function is matched from the preset delay function table using the least squares method to determine the delay regression function of the transmission path corresponding to the sample acquisition node.

2. The low-voltage user data freezing method based on a communication module as described in claim 1, characterized in that: Steps B1-3 further include calculating the total splitting deviation for each preset splitting criterion, and splitting the solid-state delay sub-function according to the splitting criterion with the smallest total splitting deviation to obtain the splitting sub-function for each transmission path segment, wherein the splitting criterion satisfies F I (X t )=f1(X t )+f2(X t )+...f i (X t ), where F I (X t Let f be the delay regression function corresponding to the I-th transmission path. i (X t ) represents the splitting sub-function corresponding to the i-th transmission path segment; i is the number of transmission path segments in the i-th transmission path; the formula for calculating the total splitting deviation is as follows: Among them, E d Let α1 be the total splitting deviation, α2 be the preset adjustment deviation weight, ΔX be the preset matching deviation weight, and G be the preset mean characteristic parameter. I (ΔX) is the splitting regression function corresponding to the I-th transmission path, and G I (ΔX)=Δf1(ΔX)+Δf2(ΔX)+...Δf i (ΔX), K3 is the total number of transmission paths corresponding to the sample acquisition nodes, Δd n The nth function matching deviation reflects the matching degree between the type of the solid-state delay sub-function and the connection feature marker. The function matching deviation is obtained by querying a pre-set matching deviation table, and K4 is the total number of transmission path segments. In steps B1-3, Where χ1 is the preset overlap correlation weight, χ2 is the preset similarity feature weight, and χ1 + χ2 = 1, f n (X t ) represents the nth sub-function corresponding to this transmission path segment, β n Let K5 be the overlap degree of the transmission path corresponding to the nth sub-function, and K5 be the total number of sub-functions in this transmission path segment. f m (X t ) represents the m-th splitting sub-function that shares the same connection characteristics as the transmission path segment, β m Let Km be the overlap degree of the transmission path corresponding to the m-th sub-function, and K6 be the total number of sub-functions of transmission path segments with the same connection feature label, and have...

3. The low-voltage user data freezing method based on a communication module as described in claim 1, characterized in that: Step B2 also includes a pre-configured event delay database, which stores several different event delay maps. The event delay maps are indexed by transmission events and reflect the relationship between event delay values ​​and node feature tags.

4. The low-voltage user data freezing method based on a communication module as described in claim 1, characterized in that: It also includes a periodic configuration strategy, which includes... Step D1: Each communication module is configured with a different baseline communication period so that the communication module is permitted to report tasks at the time corresponding to the baseline communication period. Step D2: Configure a different cycle start point for each communication module. The cycle start point is the start time of the reference communication cycle, and the greater the overlap of the corresponding transmission paths between the acquisition nodes, the greater the interval between the cycle start points of the communication modules corresponding to the acquisition nodes.

5. The low-voltage user data freezing method based on a communication module as described in claim 4, characterized in that: Step D1 also includes that each communication module has several different baseline communication cycles. The cycle configuration strategy also includes step D3, configuring the corresponding reporting priority according to the reporting task type of the communication module. Different reporting priorities correspond to different baseline communication cycles.

6. The low-voltage user data freezing method based on a communication module as described in claim 1, characterized in that: The data characteristic parameters include data size, data type, and transmission type.

7. The low-voltage user data freezing method based on a communication module as described in claim 1, characterized in that: In step C2, a preset transmission event threshold is also configured. When the number of transmission events corresponding to the frozen data exceeds the transmission event threshold, the service device generates a data freeze retransmission request to the corresponding acquisition device.

Citation Information

Patent Citations

  • Network congestion control method based on ICAP protocol, device and client

    CN106549876A

  • Data compression method for photovoltaic communication data

    CN115834720A