Power line monitoring system and monitoring method
Through optimization of random array and dictionary construction, the problems of poor dictionary segmentation and inefficient transmission caused by the LZW algorithm in the power line monitoring system are solved, and lower line monitoring value capacity and higher transmission efficiency are achieved.
Patent Information
- Application Number
- CN202311692863.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-11
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2043-12-11
AI Technical Summary
When the existing power line monitoring system transmits line monitoring values, the LZW algorithm uses constant byte capacity, resulting in poor dictionary segmentation and poor decrement function, and the dictionary status needs to be transmitted, which affects the transmission efficiency.
The conditional probabilities between fields in numerical messages are obtained through random arrays, the dictionary capacity status is estimated, the first-level and second-level dictionaries are constructed, and the mobile enhanced refresh method is used to optimize the dictionary structure to reduce the amount of transmission of line monitoring values.
It effectively reduces the capacity of line monitoring values, improves transmission efficiency, overcomes the shortcomings of the LZW algorithm, and improves the decrement function of monitoring values and communication efficiency.
Smart Images

Figure CN117691746B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of power line monitoring, and in particular relates to a power line monitoring system and a monitoring method. Background Art
[0002] Urban power supply companies are generally urban power grid structures, and rural power grid lines are complex. Once a line failure occurs, it will not only waste a lot of manpower and material resources, but also affect the production and living electricity consumption of urban construction, residential users, enterprises, institutions, schools, etc., resulting in huge intangible losses. It will take a lot of time for staff to find and troubleshoot the fault, especially after a power outage, the time spent on manually finding the fault point is much longer than the fault handling time. If the staff can reduce the time spent on finding the fault location, rush to the fault location as soon as possible, troubleshoot the fault and restore power supply, it can save a lot of economic losses for the company.
[0003] The emergence and application of power line monitoring system is to solve this problem. The power line monitoring system can be installed on the transmission and distribution line to monitor the line operation, fault status and line parameters online. It is an intelligent power line management system with remote transmission capability, distributed monitoring, centralized management and instant notification.
[0004] The current power line monitoring system, as mentioned in the prior art solution with patent application number "CN201822268794.6" and patent name "A low-power intelligent terminal for monitoring the working status of power lines", has a power line monitoring device and a communication unit connected to a central processing unit. The power line monitoring device is used to collect line monitoring values and transmit them to the central processing unit. The central processing unit processes the line monitoring values and transmits them to the monitoring platform in the communication network via the communication unit for display, thereby achieving the purpose of power line monitoring.
[0005] However, the line monitoring value is operated in real time, and the line monitoring value to be transmitted by the central processing unit is very large. Therefore, the LZW algorithm must be used to perform reduction processing during the central processing unit's processing of the line monitoring value. The existing LZW algorithm uses a constant byte capacity to perform a probability total to obtain a dictionary for the line monitoring value, and achieves the capacity reduction of the line monitoring value in a real number-related manner. The use of a constant byte capacity often causes the dictionary segmentation to fail to effectively reduce the capacity of the line monitoring value, resulting in poor reduction performance; when executing the line monitoring value transmission, the value transmitted each time, in addition to the real number after the reduction, must also transmit the dictionary corresponding to the real number, otherwise it cannot be parsed, and the dictionary itself will occupy part of the line monitoring value, which will weaken the transmission efficiency. Summary of the invention
[0006] In order to solve the defects in the prior art, the present invention proposes a power line monitoring system and a monitoring method, which obtains the conditional probability between fields in a numerical message through a random array, and estimates the capacity state of the dictionary after segmenting the line monitoring value based on the conditional probability, obtains the first-level dictionary under the state of maximizing the capacity reduction, and ensures that the first-level dictionary can aggregate all line monitoring values; then constructs a secondary dictionary based on the aggregate refresh state of the fields in the same dictionary, and the function of the secondary dictionary is to obtain a dictionary that actively adapts the capacity based on the probability arrangement of temporary field values in the numerical message, thereby overcoming the defect that the existing LZW algorithm cannot efficiently reduce the line monitoring value capacity by using a constant field capacity, so that the line monitoring value capacity is lower than the first-level dictionary, and the line monitoring value reduction function is improved; and obtains the refresh dictionary through the method of mobile enhanced refresh, thereby overcoming the state that the existing LZW algorithm must transmit the dictionary each time the line monitoring value is transmitted during communication, thereby reducing the transmission amount of the line monitoring value and improving the transmission efficiency.
[0007] The present invention uses the following technical solutions.
[0008] A power line monitoring method, comprising:
[0009] The central processing unit processes the line monitoring value and transmits it to the monitoring platform in the communication network through the communication unit for display; the method for processing the line monitoring value includes:
[0010] S1: Obtain source monitoring values and perform separation processing on the obtained line monitoring values;
[0011] S2: Obtain the critical value of the first-layer field capacity and the field segmentation capacity according to the conditional probability in the numerical message, and obtain the first-layer dictionary according to the field segmentation capacity;
[0012] S3: obtaining capacity identification parameters according to the probability of different fields in the secondary dictionary, and obtaining an enhanced secondary dictionary according to the capacity identification parameters using a flexible enhancement method;
[0013] S4: Obtain the refresh dictionary based on the enhanced sub-layer dictionary, use the refresh dictionary to execute the LZW algorithm to obtain the output value of the numerical message, and achieve enhanced transmission of the line monitoring value.
[0014] Preferably, the method for performing separation processing on the obtained line monitoring value comprises: processing the line monitoring value in sections, that is, dividing the line monitoring value into two 7 The data is divided into several segments in units of bytes and the values of each segment are encapsulated into a value message.
[0015] Preferably, S2 specifically includes: initially using the first value message as the starting value to form a first-layer dictionary; obtaining a first-layer field capacity threshold O used during the formation of the first-layer dictionary according to the number of bytes in the value message:
[0016]
[0017] In the equation, U is the number of bytes in the value message obtained by segmenting the line monitoring value, and g() is the number of bytes removed. The operation of the decimal part is performed, b1 is the number of bits contained in each byte, and b2 is the setting amount of the field capacity critical amount.
[0018] Obtain the critical amount B of the first layer bytes according to the split capacity o ;
[0019] Based on the critical value of the first layer field capacity and the critical value B related to the first layer byte o Form the first-level dictionary.
[0020] Preferably, the first layer byte-related critical quantity B is obtained according to the segmentation capacity o The equation is:
[0021] B o =2 -(o+2)
[0022] In the equation, n is the split capacity, which is the critical quantity related to the first layer bytes when the split capacity is n.
[0023] Preferably, according to the first layer field capacity critical amount and the first layer byte related critical amount B o The method of forming the first-level dictionary specifically includes:
[0024] S2-1: Use the split capacity o as the byte capacity to poll the first value message. If the split capacity in the current cycle does not meet the requirements for the termination of the subsequent cycle, the split capacity in the next cycle and the split capacity in the current cycle will increase to twice the split capacity in the current cycle, and the starting split capacity o0 = 1;
[0025] S2-2: Treat the fields that have a chance to appear during the polling period as transition states, and calculate the random array between temporary field values. The temporary field value is the field value polled at a polling time point;
[0026] S2-3: Compare the values in the random array of each slicing capacity with the first-layer field-related critical quantity corresponding to each slicing capacity, and treat the slicing capacity whose all values in the random array are higher than the first-layer field-related critical quantity and the slicing capacity is higher than the first-layer field capacity critical quantity as the field slicing capacity, that is, treat the slicing capacity that meets the requirements as the field slicing capacity, and treat the random array corresponding to the field slicing capacity as the termination random array NBU; otherwise, return to S2-1 and execute the next round of loop;
[0027] S2-4: Based on the probability of segmenting the first numerical message according to the obtained field segmentation capacity, all temporary field values are arranged in descending order of probability of appearance to form a first-level dictionary, and each temporary field value in the first-level dictionary is regarded as a first-level field.
[0028] Preferably, S3 specifically includes:
[0029] Calculate the field aggregation probability of d1 and d2 between the first-level fields
[0030] Use the maximum value in the stop random array NBU to obtain the critical value Z of the sub-level field probability;
[0031] Poll the first-level dictionary one by one, calculate the field aggregation probability of each field aggregation, and when the field aggregation probability between two first-level fields is higher than the secondary field probability threshold, the two first-level fields are considered to be related to each other, and the two first-level fields are aggregated to form a new field item. When the number of new field items during the polling period is twice the number of first-level fields in the first-level dictionary, it is considered that enough new field items have been obtained, and the search for new field items is terminated;
[0032] After the search for new field items is completed, the probability of each first-level field in the first-level dictionary appearing is refreshed according to the first-level field and the new field item, and the aggregate refresh probability of the first-level field is calculated.
[0033] Arrange the probability of the first-level field appearing in the first-level dictionary and the field aggregation probability of each field aggregation in order from high to low, and regard the field aggregation probability arranged in order from high to low as a transition dictionary. If no new field item appears, it is determined that the current field aggregation state meets the capacity requirements of the current value message, and the polling is terminated. At this time, the transition dictionary is regarded as the secondary dictionary; otherwise, the transition dictionary is used as the new first-level dictionary to continue calculating the new transition dictionary until the current field aggregation result meets the capacity requirements of the current value message;
[0034] After the sub-layer dictionary is formed by the first numerical message, the sub-layer dictionary is transmitted to the monitoring platform. During the subsequent transmission of numerical messages, the sub-layer dictionary already carried by the monitoring platform and the sub-layer dictionary formed by subsequent transmission of numerical messages are formed into an enhanced sub-layer dictionary using a mobile enhancement method.
[0035] Preferably, the method for forming an enhanced sub-layer dictionary comprises:
[0036] The sub-level dictionary capacity determination parameter I is constructed by using the probability arrangement of different fields in the sub-level dictionary, and the enhanced sub-level dictionary corresponding to each transmission value message is obtained by using the sub-level dictionary capacity determination parameter, and the enhanced sub-level dictionary D at the b-th transmission is calculated. b :
[0037]
[0038]
[0039] In the equation, I b-1 Q is the sub-layer dictionary capacity determination parameter for the b-1th transmission of the value message. zd (b-1) is the secondary dictionary S at the monitoring platform after the b-1th transmission of the value message b-1 The maximum probability of the first layer field appearing, n is the sub-layer dictionary S at the monitoring platform after the b-1th transmission of the value message b-1 W(c, b-1) is the number of new field entries in the monitoring platform after the b-1th transmission of the value message. b-1 The probability of aggregating the corresponding fields of the c-th new field in S b-1 , S b are the sub-layer dictionaries at the monitoring platform after the b-1th and bth transmission of the numerical message, respectively. b It is the sub-layer dictionary capacity determination parameter for the b-th transmission of the value message.
[0040] The secondary dictionary S b-1 The higher the frequency of the first layer field, the higher the coefficient of formation. zd The higher the value of (b-1), the higher the sub-lexicon S b-1 The higher the ratio of new field items, the higher the value of W(c, b-1), and the coefficient of formation is The higher the value of I b-1 The higher the value of b-1 The higher the ratio of the first layer field and the new field item covering the value message transmitted for the bth time, the higher the share of the previous value I b-1 *S b-1 The higher the value of b The smaller the capacity of the internal line monitoring value, the higher the coherence between the line monitoring values. b The higher the value, the greater the share of the current value I b *S b The higher the value of .
[0041] Preferably, the field aggregation probability of d1 and d2 between the first-layer fields is calculated The method is:
[0042]
[0043] In the equation, d1 and d2 are the d1th and d2th first-level fields in the first-level dictionary, respectively. is the probability of the first-level field appearing in the first-level dictionary. The conditional probability of stopping the transition of the first-layer field d1 to the first-layer field d2 in the random array NBU.
[0044] Preferably, the method of obtaining the sub-layer field probability critical quantity Z by using the maximum quantity of the values in the stop random array NBU comprises:
[0045]
[0046] In the equation, m1 and m2 are the field capacities of the second first layer fields corresponding to the maximum value in the termination random array NBU.
[0047] Preferably, the aggregate refresh probability of the first-layer fields is calculated The equation is:
[0048]
[0049] In the equation, is the probability of the first-level field d1 appearing in the first-level dictionary, L is the number of new field items formed by the first-level field d1, and W d,l The field aggregation probability when a new field item is formed by the lth first-level field.
[0050] Preferably, S4 specifically includes: summing up the obtained enhanced sub-layer dictionary D b The number of non-first-layer fields in the b The number of non-first-layer fields in the D b The non-first-layer fields in the non-first-layer dictionary are arranged in order of appearance probability from high to low to obtain a non-first-layer dictionary, and the non-first-layer fields whose arrangement positions are higher than the number of first-layer fields in the non-first-layer dictionary are added to the enhanced secondary dictionary D b Then the removed non-first-layer fields are merged with the enhanced second-layer dictionary in order of appearance probability from high to low, and the resulting dictionary is used as the refresh dictionary.
[0051] Preferably, when the central processing unit transmits a numerical message, the refresh dictionary is used to execute LZW algorithm processing on the numerical message, and the real number obtained by reduction after LZW algorithm processing is transmitted to the monitoring platform as the transmitted value. The monitoring platform performs corresponding analysis based on the collected real number to obtain the transmitted numerical message.
[0052] A power line monitoring system comprises: a power line monitoring device and a communication unit are both connected to a central processing unit, the power line monitoring device is used to collect line monitoring values and transmit them to the central processing unit, the central processing unit processes the line monitoring values and transmits them to a monitoring platform in a communication network via a communication unit for display; the units running on the central processing unit include: an acquisition unit 1, which is used to obtain source monitoring values and perform separation processing on the acquired line monitoring values; an acquisition unit 2, which is used to obtain the first-layer field capacity critical amount and the field segmentation capacity according to the conditional probability in a numerical message, and obtain the first-layer dictionary according to the field segmentation capacity; an acquisition unit 3, which is used to obtain capacity identification parameters according to the probability of different fields in a secondary dictionary, and obtain an enhanced secondary dictionary according to the capacity identification parameters using a mobile enhancement method; an acquisition unit 4, which is used to obtain a refresh dictionary based on the enhanced secondary dictionary, and use the refresh dictionary to execute an LZW algorithm to obtain the output value of the numerical message, so as to achieve enhanced transmission of the line monitoring value.
[0053] The beneficial effect of the present invention lies in that, compared with the prior art, the present invention obtains the conditional probability between fields in a numerical message through a random array, and estimates the capacity state of the dictionary after segmenting the line monitoring value based on the conditional probability, obtains the first-level dictionary under the state of maximizing the capacity reduction, and ensures that the first-level dictionary can aggregate all line monitoring values; then constructs a secondary dictionary based on the aggregate refresh state of the fields in the same dictionary, and the function of the secondary dictionary is to obtain a dictionary that actively adapts the capacity based on the probability arrangement of temporary field values in the numerical message, thereby overcoming the defect that the existing LZW algorithm cannot efficiently reduce the line monitoring value capacity by using a constant field capacity, so that the line monitoring value capacity is lower than that of the first-level dictionary, and the line monitoring value reduction function is improved; and obtains the refresh dictionary through the method of mobile enhanced refresh, thereby overcoming the state that the existing LZW algorithm must transmit the dictionary each time the line monitoring value is transmitted during communication, thereby reducing the transmission amount of the line monitoring value and improving the transmission efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Figure 1 is a partial flow chart of the power line monitoring method described in the present invention;
[0055] Figure 2 It is a structural diagram of some units of the power line monitoring system described in the present invention. DETAILED DESCRIPTION
[0056] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely expressed in combination with the drawings in the embodiments of the present invention. The embodiments expressed in this application are only embodiments of a part of the present invention, not all embodiments. Based on the spirit of the present invention, other embodiments obtained by ordinary technicians without creative work are all within the scope of protection of the present invention.
[0057] like Figure 1 As shown, a power line monitoring method according to the present invention comprises:
[0058] The power line monitoring equipment collects line monitoring values and transmits them to the central processing unit. The central processing unit processes the line monitoring values and transmits them to the monitoring platform in the communication network through the communication unit for display, thereby achieving the purpose of power line monitoring. The method for processing the line monitoring values includes:
[0059] S1: Obtain source monitoring values and perform separation processing on the obtained line monitoring values;
[0060] In a preferred but non-limiting embodiment of the present invention, the method for performing separation processing on the obtained line monitoring values comprises: processing the line monitoring values in sections, that is, processing the line monitoring values in the present application in order from low to high using 2 7 The data is divided into several segments in units of bytes and the values of each segment are encapsulated into a value message.
[0061] Thus, the numerical message corresponding to the source line monitoring value is obtained, which is used for the construction of several layers of dictionaries later.
[0062] S2: Obtain the critical value of the first-level field capacity and the field segmentation capacity according to the conditional probability in the numerical message, and obtain the first-level dictionary according to the field segmentation capacity; the conditional probability is also the conditional probability.
[0063] In a preferred but non-limiting embodiment of the present invention, S2 specifically includes: during the transmission of line monitoring values, the present application uses a flexible and active method to obtain a corresponding dictionary; initially, the first value message is used as the starting value to form a first-level dictionary; in each value message, the value to be transmitted is transmitted in a bit value stream format of zero or one, so the reduction method used in the present application is the LZW algorithm, which is used to maximize the reduction of the dictionary capacity. The smaller the dictionary capacity, the better the reduction function. The higher the byte capacity, the higher the amount of values contained in each value message, and the higher the reduction amplitude of the line monitoring value after the reduction.
[0064] Because the goal of forming the first-layer dictionary is to perform initial segmentation and arrangement on the line monitoring values, so that its capacity can be reduced by internalizing the maximum equation; however, if the first value message used for the initial application is too special, the first-layer dictionary will be over-segmented and not suitable for other value messages. Therefore, the first-layer field capacity critical value is constructed to constrain the field segmentation capacity. In this application, the first-layer field capacity critical value O used during the formation of the first-layer dictionary is obtained according to the number of bytes in the value message:
[0065]
[0066] In the equation, U is the number of bytes in the value message obtained by segmenting the line monitoring value, and g() is the number of bytes removed. The operation of the decimal part, b1 is the number of bits contained in each byte (this number is eight), b2 is the setting value of the field capacity critical amount, generally the setting value is two hundred.
[0067] During the process of forming the first-level dictionary using the first value message, the present application obtains the field segmentation capacity for segmenting the first value message by gradually increasing the segmentation capacity. If the bytes before and after the first value message are not related as a whole during the byte polling, all conditional probabilities should be the same. In this case, half of the conditional probability can be used as the first-level byte correlation threshold. The purpose of this is to obtain the first-level dictionary while minimizing the capacity to the maximum extent.
[0068] According to the above description, the critical amount B of the first layer bytes is obtained according to the segmentation capacity o ;
[0069] In a preferred but non-limiting embodiment of the present invention, the first layer byte-related critical quantity B is obtained according to the segmentation capacity. o The equation is:
[0070] B o =2 -(o+2)
[0071] In the equation, n is the split capacity, which is the critical quantity related to the first layer bytes when the split capacity is n.
[0072] Based on the critical value of the first layer field capacity and the critical value B related to the first layer byte o Form the first-level dictionary in this application.
[0073] In a preferred but non-limiting embodiment of the present invention, according to the first layer field capacity critical amount and the first layer byte related critical amount B o The method for forming the first-level dictionary in this application specifically includes:
[0074] S2-1: Use the split capacity o as the byte capacity to poll the first numerical message. If the split capacity of the current cycle does not meet the requirements for the termination of the subsequent cycle, the split capacity of the next cycle and the split capacity of the current cycle will increase to twice the split capacity of the current cycle. The starting split capacity o0=1 (the split capacity represents the number of bits). The temporary field value of the split capacity in the first numerical message poll is one or zero; if it is the second round of polling, the temporary field value polled is 00, 01, 10 or 11; the temporary field value is the field value polled at a polling point.
[0075] S2-2: Treat the fields that have a chance to appear during the polling period as transition states, and calculate the random array between temporary field values. The temporary field value is the field value polled at a polling point in time; the random array is a random matrix formed according to the probability of the transition state.
[0076] S2-3: Compare the values in the random array of each slicing capacity with the first-layer field-related critical quantity corresponding to each slicing capacity, and treat the slicing capacity whose all values in the random array are higher than the first-layer field-related critical quantity and the slicing capacity is higher than the first-layer field capacity critical quantity as the field slicing capacity, that is, treat the slicing capacity that meets the requirements as the field slicing capacity, and treat the random array corresponding to the field slicing capacity as the termination random array NBU; otherwise, return to S2-1 and execute the next round of loop;
[0077] S2-4: Slice the first numerical message according to the obtained field segmentation capacity (that is, slice the numerical message in units of field segmentation capacity), total the probability of each temporary field value appearing (appearance is the field value polled, and the appearance probability is the ratio of the frequency of the polled field value to the total number of polled fields), and arrange all temporary field values in descending order according to the appearance probability to form a first-level dictionary, and in order to prevent the corresponding field item from not being found when the next numerical message is decremented, the appearance number of the field item that is not displayed is increased by one; if the appearance probability of a field item is the same, it is arranged in descending order according to its numerical value; just as, when the size value of the obtained field capacity o is 2 2 When constructing the first-level dictionary, the temporary field value is used, and each temporary field value in the first-level dictionary is regarded as the first-level field.
[0078] The first-level dictionary of the first value message is thus obtained, which is used for the subsequent acquisition and flexible update of the second-level dictionary.
[0079] S3: obtaining capacity identification parameters according to the probability of different fields in the secondary dictionary, and obtaining an enhanced secondary dictionary according to the capacity identification parameters using a flexible enhancement method;
[0080] The conditional probability between two random fields is obtained by using the random array NBU. If the two fields have a higher correlation, the frequency of transition between the two fields is higher, and the conditional probability between the two fields is higher. This application aggregates two fields with relatively high correlation into new field items, which can further reduce the capacity of line monitoring values.
[0081] In a preferred but non-limiting embodiment of the present invention, S3 specifically comprises:
[0082] Construct the field aggregation probability W, which is used to represent the probability of two first-level fields in the first-level dictionary being aggregated into a new field item, and calculate the field aggregation probability between the first-level fields d1 and d2
[0083] In a preferred but non-limiting embodiment of the present invention, the field aggregation probability between the first layer fields d1 and d2 is calculated The method is:
[0084]
[0085] In the equation, d1 and d2 are the d1th and d2th first-level fields in the first-level dictionary, respectively. is the probability of the first-level field appearing in the first-level dictionary. The conditional probability of stopping the transition of the first-layer field d1 to the first-layer field d2 in the random array NBU.
[0086] The higher the correlation between the first-level fields d1 and d2 in the first-level dictionary, The higher the value of The higher the value of .
[0087] The maximum value of the value in the stop random array NBU is used to obtain the sub-level field probability critical value Z in this application;
[0088] In a preferred but non-limiting embodiment of the present invention, the method of using the maximum amount of values in the stop random array NBU to obtain the sub-layer field probability threshold Z in the present application includes:
[0089]
[0090] In the equation, m1 and m2 are the field capacities of the second first layer fields corresponding to the maximum value in the termination random array NBU.
[0091] Poll the first-level dictionary one by one, calculate the field aggregation probability of each field aggregation, and when the field aggregation probability between two first-level fields is higher than the secondary field probability critical value, the two first-level fields are considered to be related to each other, and the two first-level fields are aggregated to form a new field item, which can further reduce the capacity of the first-level dictionary. For example, if the two first-level fields are 1010 and 1101, the corresponding new field item is 10101101. When the number of new field items during the polling period is twice the number of first-level fields in the first-level dictionary, it is considered that enough new field items have been obtained, and the search for new field items is terminated.
[0092] After the search for new field items is completed, the probability of each first-level field in the first-level dictionary appearing is refreshed according to the first-level field and the new field item, and the aggregate refresh probability of the first-level field is calculated.
[0093] In a preferred but non-limiting embodiment of the present invention, the aggregate refresh probability of the first layer field is calculated The equation is:
[0094]
[0095] In the equation, is the probability of the first-level field d1 appearing in the first-level dictionary, L is the number of new field items formed by the first-level field d1, and W d,l The field aggregation probability when a new field item is formed by the lth first-level field.
[0096] If the aggregate refresh probability value of the first-level field d1 is If it is 0, the last new field item formed by the first-layer field d1 is removed, and a new field item is formed using the next first-layer field. The purpose of this treatment is to prevent the first-layer field aggregation from being lost, so that the secondary dictionary cannot use the LZW algorithm to reduce random value messages.
[0097] Arrange the probability of the first-level field appearing in the first-level dictionary and the field aggregation probability of each field aggregation in order from high to low, and regard the field aggregation probability arranged in order from high to low as a transition dictionary. If no new field item appears, it is determined that the current field aggregation state meets the capacity requirements of the current value message, and the polling is terminated. At this time, the transition dictionary is regarded as the secondary dictionary; otherwise, the transition dictionary is used as the new first-level dictionary to continue calculating the new transition dictionary until the current field aggregation result meets the capacity requirements of the current value message;
[0098] After the sub-layer dictionary is formed by the first numerical message, the sub-layer dictionary is transmitted to the monitoring platform. During the subsequent transmission of numerical messages, the sub-layer dictionary already carried by the monitoring platform and the sub-layer dictionary formed by subsequent transmission of numerical messages are formed into an enhanced sub-layer dictionary using a mobile enhancement method.
[0099] On the monitoring platform, the previous sub-layer dictionary is parsed according to the existing LZW algorithm, and then the current sub-layer dictionary is formed using the numerical messages transmitted in subsequent times, and the dictionary is updated in the same way; therefore, compared with the existing LZW algorithm, there is no need to transmit the dictionary, only the reduced real value is transmitted, which greatly reduces the amount of line monitoring value transmission.
[0100] In a preferred but non-limiting embodiment of the present invention, the method for forming an enhanced sub-layer dictionary comprises:
[0101] According to the above description, the probability arrangement of different fields in the sub-level dictionary is used to construct the sub-level dictionary capacity identification parameter I, and the sub-level dictionary capacity identification parameter is used to obtain the enhanced sub-level dictionary corresponding to each transmission value message, and the enhanced sub-level dictionary D at the bth transmission is calculated. b :
[0102]
[0103]
[0104] In the equation, I b-1 Q is the sub-layer dictionary capacity determination parameter for the b-1th transmission of the value message. zd (b-1) is the secondary dictionary S at the monitoring platform after the b-1th transmission of the value message b-1 The maximum probability of the first layer field appearing, n is the sub-layer dictionary S at the monitoring platform after the b-1th transmission of the value message b-1 W(c, b-1) is the number of new field entries in the monitoring platform after the b-1th transmission of the value message. b-1 The probability of aggregating the corresponding fields of the c-th new field in S b-1 , S b are the sub-layer dictionaries at the monitoring platform after the b-1th and bth transmission of the numerical message, respectively. b It is the sub-layer dictionary capacity determination parameter for the b-th transmission of the value message.
[0105] The secondary dictionary S b-1 The higher the frequency of the first layer field, the higher the coefficient of formation. zd The higher the value of (b-1), the higher the sub-lexicon S b-1 The higher the ratio of new field items, the higher the value of W(c, b-1), and the coefficient of formation is The higher the value of I b-1 The higher the value of b-1 The higher the ratio of the first layer field and the new field item covering the value message transmitted for the bth time, the higher the share of the previous value I b-1 *S b-1 The higher the value of b The smaller the capacity of the internal line monitoring value, the higher the coherence between the line monitoring values. b The higher the value, the greater the share of the current value I b *S b The higher the value of .
[0106] The sub-layer dictionary is then used to obtain an enhanced sub-layer dictionary for subsequent enhanced transmission of value messages.
[0107] S4: Obtain the refresh dictionary based on the enhanced sub-layer dictionary, use the refresh dictionary to execute the LZW algorithm to obtain the output value of the numerical message, and achieve enhanced transmission of the line monitoring value.
[0108] In a preferred but non-limiting embodiment of the present invention, S4 specifically includes: summing up the obtained enhanced sub-layer dictionary D b The number of non-first-layer fields in the bThe number of non-first-layer fields in the D b The non-first-layer fields in the non-first-layer dictionary are arranged in order of appearance probability from high to low to obtain a non-first-layer dictionary, and the non-first-layer fields whose arrangement positions are higher than the number of first-layer fields in the non-first-layer dictionary are added to the enhanced secondary dictionary D b Remove the non-first-level fields from the dictionary, and then merge the removed non-first-level fields with the enhanced second-level dictionary in order of appearance probability from high to low, which can ensure that the dictionary capacity is never more than twice the capacity of the first-level dictionary. The dictionary obtained after the above removal and refresh is used as the refresh dictionary.
[0109] In a preferred but non-limiting embodiment of the present invention, when the central processing unit transmits a numerical message, the refresh dictionary is used to execute LZW algorithm processing on the numerical message, and the real number obtained by decrementing after LZW algorithm processing is transmitted to the monitoring platform as the transmitted value. The monitoring platform performs corresponding analysis based on the collected real number to obtain the transmitted numerical message.
[0110] like Figure 2 As shown, a power line monitoring system according to the present invention comprises:
[0111] The power line monitoring equipment and the communication unit are connected to the central processing unit. The power line monitoring equipment is used to collect line monitoring values and transmit them to the central processing unit. The central processing unit processes the line monitoring values and transmits them to the monitoring platform in the communication network through the communication unit for display, thereby achieving the purpose of power line monitoring; the power line monitoring equipment includes a temperature transmitter, a power transmitter and a current transmitter. The temperature transmitter, the power transmitter and the current transmitter are used to collect the temperature value, power value and current value on the power line respectively. The temperature value, power value or current value on the power line is the line monitoring value. The communication unit is a 4G module, the communication network is a 4G network, and the monitoring platform is a computer.
[0112] The units running on the central processing unit include: an acquisition unit 1, which is used to obtain source monitoring values and perform separation processing on the acquired line monitoring values; an acquisition unit 2, which is used to obtain the first-layer field capacity critical amount and the field segmentation capacity according to the conditional probability in the numerical message, and obtain the first-layer dictionary according to the field segmentation capacity; an acquisition unit 3, which is used to obtain the capacity recognition parameter according to the probability of different fields in the secondary dictionary, and obtain an enhanced secondary dictionary according to the capacity recognition parameter using a flexible enhancement method; an acquisition unit 4, which is used to obtain a refresh dictionary based on the enhanced secondary dictionary, and use the refresh dictionary to execute the LZW algorithm to obtain the output value of the numerical message, so as to achieve enhanced transmission of the line monitoring value.
[0113] The beneficial effect of the present invention lies in that, compared with the prior art, the present invention obtains the conditional probability between fields in a numerical message through a random array, and estimates the capacity state of the dictionary after segmenting the line monitoring value based on the conditional probability, obtains the first-level dictionary under the state of maximizing the capacity reduction, and ensures that the first-level dictionary can aggregate all line monitoring values; then constructs a secondary dictionary based on the aggregate refresh state of the fields in the same dictionary, and the function of the secondary dictionary is to obtain a dictionary that actively adapts the capacity based on the probability arrangement of temporary field values in the numerical message, thereby overcoming the defect that the existing LZW algorithm cannot efficiently reduce the line monitoring value capacity by using a constant field capacity, so that the line monitoring value capacity is lower than that of the first-level dictionary, and the line monitoring value reduction function is improved; and obtains the refresh dictionary through the method of mobile enhanced refresh, thereby overcoming the state that the existing LZW algorithm must transmit the dictionary each time the line monitoring value is transmitted during communication, thereby reducing the transmission amount of the line monitoring value and improving the transmission efficiency.
[0114] The present disclosure can be a system, method and / or computer program product. The computer program product can include a computer readable medium carrying computer readable program instructions for causing a processor to achieve each aspect of the present disclosure.
[0115] The computer readable attachment medium can be a tangible circuit capable of holding and attaching instructions to be used by the instruction execution circuit. The computer readable attachment medium can be, but is not limited to, an electrical attachment circuit, a magnetic attachment circuit, an optical attachment circuit, an electromagnetic attachment circuit, a semiconductor attachment circuit, or any suitable combination of the above. Further examples of computer readable attachment media (non-exhaustive list) include: portable computer disks, hard disks, random access memory (RAM), read-only memory (RyM), erasable programmable read-only memory (EPRyM or flash memory), static random access memory (SRAM), portable compact disk read-only memory (HD-RyM), digital versatile disk (DXD), memory stick, floppy disk, mechanically encoded circuits, such as punch cards or raised structures in grooves with instructions attached thereon, and any suitable combination of the above. The computer-readable medium used herein is not to be construed as transient information itself, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., light pulses through power line cables), or electrical information transmitted through wires.
[0116] The computer readable program instructions expressed herein can be downloaded from a computer readable attached medium to each computing / processing grid line, or downloaded to an external computer or external attached grid line through a wireless network, such as the Internet, a local area network, a wide area network and / or a wireless network. The wireless network can include copper transmission cables, power line transmission, wireless transmission, routers, firewalls, switches, WIFI device computers and / or edge servers. The wireless network adapter card or wireless network port in each computing / processing grid line receives the computer readable program instructions from the wireless network and forwards the computer readable program instructions to the computer readable attached medium stored in each computing / processing grid line.
[0117] The computer program instructions for performing the operations of the present disclosure can be assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine mapping instructions, microcode, firmware instructions, conditional definition values, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages such as SdallqalA, H++, etc., and conventional procedural programming languages such as "H" language or similar programming languages. The computer readable program instructions can be executed entirely on the client computer, partially on the client computer, as a single software package, partially on the client computer and partially on a remote computer, or entirely on a remote computer or server. In the form involving a remote computer, the remote computer can be connected to the client computer through any other wireless network, including a local area network (LAb) or a wide area network (UAb), or can be connected to an external computer (such as through the Internet using an Internet service provider). In some embodiments, the electronic circuit is personalized by using the state values of computer readable program instructions, such as a programmable logic circuit, a field programmable gate array (processing platform) or a programmable logic array (PLA), and the electronic circuit can execute computer readable program instructions to achieve each aspect of the fee disclosure.
[0118] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technical personnel should understand that the specific implementation methods of the present invention can still be modified or updated equivalently, and any modification or update equivalently that does not deviate from the spirit and scope of the present invention should be included in the protection scope of the claims of the present invention.
Claims
1. A power line monitoring method, characterized in that: include: The central processing unit processes the line monitoring value and transmits it to the monitoring platform in the communication network through the communication unit for display; the method for processing the line monitoring value includes: S1: Obtain source monitoring values and perform separation processing on the obtained line monitoring values; S2: Obtain the critical value of the first-layer field capacity and the field segmentation capacity according to the conditional probability in the numerical message, and obtain the first-layer dictionary according to the field segmentation capacity; S3: obtaining capacity identification parameters according to the probability of different fields in the secondary dictionary, and obtaining an enhanced secondary dictionary according to the capacity identification parameters using a flexible enhancement method; S4: Obtain the refresh dictionary according to the enhanced secondary dictionary, use the refresh dictionary to execute the LZW algorithm to obtain the output value of the numerical message, and achieve enhanced transmission of the line monitoring value; The method for performing separation processing on the obtained line monitoring value comprises: processing the line monitoring value in sections, that is, dividing the line monitoring value into two 7 The data is divided into several segments in units of bytes and the values of each segment are encapsulated into a value message.
2. The power line monitoring method according to claim 1, characterized in that: S2 specifically includes: initially using the first value message as the starting value to form a first-layer dictionary; obtaining a first-layer field capacity threshold O used during the formation of the first-layer dictionary according to the number of bytes in the value message: In the equation, U is the number of bytes in the value message obtained by segmenting the line monitoring value, and g() is the number of bytes removed. The operation of the decimal part of , b1 is the number of bits contained in each byte, b2 is the setting value of the field capacity critical amount; Obtain the critical amount B of the first layer bytes according to the split capacity o ; Based on the critical value of the first layer field capacity and the critical value B related to the first layer byte o Form the first-level dictionary.
3. The power line monitoring method according to claim 2, characterized in that: Obtain the critical amount B of the first layer bytes according to the split capacity o The equation is: B o =2 -(o+2) In the equation, n is the split capacity, which is the critical quantity related to the first layer bytes when the split capacity is n; Based on the critical value of the first layer field capacity and the critical value B related to the first layer byte o The method of forming the first-level dictionary specifically includes: S2-1: Use the split capacity o as the byte capacity to poll the first value message. If the split capacity in the current cycle does not meet the requirements for the termination of the subsequent cycle, the split capacity in the next cycle and the split capacity in the current cycle will increase to twice the split capacity in the current cycle, and the starting split capacity o0 = 1; S2-2: Treat the fields that have a chance to appear during the polling period as transition states, and calculate the random array between temporary field values. The temporary field value is the field value polled at a polling time point; S2-3: Compare the values in the random array of each slicing capacity with the first-layer field-related critical quantity corresponding to each slicing capacity, and treat the slicing capacity whose all values in the random array are higher than the first-layer field-related critical quantity and the slicing capacity is higher than the first-layer field capacity critical quantity as the field slicing capacity, that is, treat the slicing capacity that meets the requirements as the field slicing capacity, and treat the random array corresponding to the field slicing capacity as the termination random array NBU; otherwise, return to S2-1 and execute the next round of loop; S2-4: Based on the probability of segmenting the first numerical message according to the obtained field segmentation capacity, all temporary field values are arranged in descending order of probability of appearance to form a first-level dictionary, and each temporary field value in the first-level dictionary is regarded as a first-level field.
4. The power line monitoring method according to claim 1, characterized in that: S3 specifically includes: Calculate the field aggregation probability W between the first-level fields d1 and d2 d1,d2 ; Use the maximum value in the stop random array NBU to obtain the critical value Z of the sub-level field probability; Poll the first-level dictionary one by one, calculate the field aggregation probability of each field aggregation, and when the field aggregation probability between two first-level fields is higher than the secondary field probability threshold, the two first-level fields are considered to be related to each other, and the two first-level fields are aggregated to form a new field item. When the number of new field items during the polling period is twice the number of first-level fields in the first-level dictionary, it is considered that enough new field items have been obtained, and the search for new field items is terminated; After the search for new field items is completed, the probability of each first-level field in the first-level dictionary appearing is refreshed according to the first-level field and the new field item, and the aggregate refresh probability v of the first-level field is calculated. d1 ; Arrange the probability of the first-level field appearing in the first-level dictionary and the field aggregation probability of each field aggregation in order from high to low, and regard the field aggregation probability arranged in order from high to low as a transition dictionary. If no new field item appears, it is determined that the current field aggregation state meets the capacity requirements of the current value message, and the polling is terminated. At this time, the transition dictionary is regarded as the secondary dictionary; otherwise, the transition dictionary is used as the new first-level dictionary to continue calculating the new transition dictionary until the current field aggregation result meets the capacity requirements of the current value message; After the sub-layer dictionary is formed by the first numerical message, the sub-layer dictionary is transmitted to the monitoring platform. During the subsequent transmission of numerical messages, the sub-layer dictionary already carried by the monitoring platform and the sub-layer dictionary formed by subsequent transmission of numerical messages are formed into an enhanced sub-layer dictionary using a mobile enhancement method.
5. The power line monitoring method according to claim 4, characterized in that: The method for forming an enhanced sub-layer dictionary comprises: The sub-level dictionary capacity determination parameter I is constructed by using the probability arrangement of different fields in the sub-level dictionary, and the enhanced sub-level dictionary corresponding to each transmission value message is obtained by using the sub-level dictionary capacity determination parameter, and the enhanced sub-level dictionary D at the b-th transmission is calculated. b : In the equation, I b-1 Q is the sub-layer dictionary capacity determination parameter for the b-1th transmission of the value message. zd (b-1) is the secondary dictionary S at the monitoring platform after the b-1th transmission of the value message b-1 The maximum probability of the first layer field appearing, n is the sub-layer dictionary S at the monitoring platform after the b-1th transmission of the value message b-1 The number of new field items in the monitoring platform, W(c, b-1) is the number of new field items in the monitoring platform after the b-1th transmission of the value message. b-1 The probability of aggregating the corresponding fields of the c-th new field in S b-1 , S b are the sub-layer dictionaries at the monitoring platform after the b-1th and bth transmission of the numerical message, respectively. b It is the sub-layer dictionary capacity determination parameter for the b-th transmission of the value message.
6. The power line monitoring method according to claim 5, characterized in that: Calculate the field aggregation probability of d1 and d2 between the first-level fields The method is: In the equation, d1 and d2 are the d1th and d2th first-level fields in the first-level dictionary, respectively. is the probability of the first-level field appearing in the first-level dictionary. The conditional probability of stopping the transition of the first-layer field d1 to the first-layer field d2 in the random array NBU.
7. The power line monitoring method according to claim 6, characterized in that: The method of obtaining the sub-layer field probability critical quantity Z by using the maximum quantity of the values in the stop random array NBU includes: In the equation, m1 and m2 are the field capacities of the second first layer field corresponding to the highest value in the stop random array NBU; Calculate the aggregate refresh probability of the first-level fields The equation is: In the equation, is the probability of the first-level field d1 appearing in the first-level dictionary, L is the number of new field items formed by the first-level field d1, and W d,l The field aggregation probability when a new field item is formed by the lth first-level field.
8. The power line monitoring method according to claim 1, characterized in that: S4 specifically includes: summing up the obtained enhanced sub-layer dictionary D b The number of non-first-layer fields in the b The number of non-first-layer fields in the D b The non-first-layer fields in the non-first-layer dictionary are arranged in order of appearance probability from high to low to obtain a non-first-layer dictionary, and the non-first-layer fields whose arrangement positions are higher than the number of first-layer fields in the non-first-layer dictionary are added to the enhanced secondary dictionary D b Then, the removed non-first-layer fields are merged with the enhanced second-layer dictionary in the order of appearance probability from high to low, and the dictionary obtained is used as the refresh dictionary; When the central processing unit transmits a numerical message, the refresh dictionary is used to execute the LZW algorithm on the numerical message, and the real number obtained by the reduction after the LZW algorithm is used as the transmitted value to be transmitted to the monitoring platform. The monitoring platform performs corresponding analysis based on the collected real number to obtain the transmitted numerical message.
9. A power line monitoring system, characterized in that: include: The power line monitoring device and the communication unit are both connected to the central processing unit. The power line monitoring device is used to collect line monitoring values and transmit them to the central processing unit. The central processing unit processes the line monitoring values and transmits them to the monitoring platform in the communication network through the communication unit for display. The units running on the central processing unit include: an acquisition unit 1, which is used to obtain source monitoring values and perform separation processing on the acquired line monitoring values. The method for performing separation processing on the acquired line monitoring values includes: segment processing of the line monitoring values, that is, dividing the line monitoring values into two 7 The data is divided into several segments in units of bytes and the values of each segment are encapsulated into a numerical message; an acquisition unit two is used to obtain the first-layer field capacity critical amount and the field segmentation capacity according to the conditional probability in the numerical message, and obtain the first-layer dictionary according to the field segmentation capacity; an acquisition unit three is used to obtain the capacity identification parameter according to the probability of different fields in the secondary dictionary, and obtain an enhanced secondary dictionary according to the capacity identification parameter using a flexible enhancement method; an acquisition unit four is used to obtain a refresh dictionary based on the enhanced secondary dictionary, and use the refresh dictionary to execute the LZW algorithm to obtain the output value of the numerical message, so as to achieve enhanced transmission of the line monitoring value.
