Line loss fault identification system and identification method
By constructing a message delivery path and a detection thread between the production and business parties, the problems of blocking meter reading modules and message loss in the line loss fault monitoring system are solved, and more efficient message delivery and manipulation performance is achieved.
Patent Information
- Application Number
- CN202211501121.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-28
- Publication Date
- 2025-03-04
- Estimated Expiration
- 2042-11-28
AI Technical Summary
After long-term use, existing line loss fault monitoring systems are prone to problems such as blocking of meter reading modules, termination of work and loss of line loss fault messages, resulting in increased additional costs and reduced monitoring efficiency.
By constructing a message delivery path between the producer and the business side, and simultaneously constructing detection threads at both ends, improving the accuracy of message delivery. As a medium, the business party is only responsible for message collection and delivery, while the producer party is responsible for message equipment derivation and control mode formulation, and collaboratively to improve control performance. When there is an obstacle in the main control module of the meter reading module, report it through the detection thread to ensure protection.
Improves the accuracy and control performance of message delivery, avoids blocking of meter reading modules and missing line loss failure messages, improves monitoring efficiency and reduces additional costs.
Smart Images

Figure CN116112405B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of line loss faults, and in particular relates to a line loss fault identification system and identification method. Background Art
[0002] Line loss, or line loss for short, is the energy loss caused by the transmission of electric energy through transmission lines. In addition to the lines that transmit electric energy, there are other power transmission and transformation equipment such as transformers in the power network, which will also cause power loss. The sum of these power losses (including line loss) is called network loss.
[0003] Line loss is caused by the loss of active power during power transmission and is mainly composed of the following three parts.
[0004] ① The loss of active power caused by the current flowing through the wire with resistance is the most important part of the line loss. In the formula, P, Q, I are the active power, reactive power and current flowing through the route respectively; U is the voltage measured at the same point as P and Q on the route; R is the resistance of the line, which is related to the cross-section of the wire, the material of the wire and the length of the line.
[0005] ② Because there is voltage in the line and there is leakage in the insulation between the lines and between the lines, active power loss is generated.
[0006] ③Corona loss: The active power loss caused by corona discharge in the live part of the overhead transmission line. Under normal circumstances, the latter two parts only account for a very small proportion.
[0007] In order to strengthen the management of line loss, it is necessary to monitor line loss faults. The currently commonly used system for monitoring line loss faults includes a meter reading module and a background computer connected to the meter reading module. The meter reading module measures the entire electric energy and collects electric energy information on the monitored line through the line loss fault handling thread, and then reads the electric energy information to perform electric energy information comparison operations to analyze whether the electricity metering of each branch is correct, so as to achieve the identification of line loss faults, and then transmits the identified line loss fault information to the background computer for storage and display. After receiving the line loss fault information, the background computer also sends a confirmation character back to the meter reading module.
[0008] However, during long-term use, the line loss fault handling thread and the core on the meter reading module will inevitably encounter various obstacles as the working time increases, and even the meter reading module will be blocked, resulting in work interruption and loss of important line loss fault information, which often increases the cost; in addition, the main control module of the meter reading module is often not powerful. When dealing with huge amounts of electric energy and line loss fault information, it cannot accurately and efficiently respond to the part including performing electric energy information comparison operations and analyzing whether the electricity metering of each branch is correct to achieve the method of identifying line loss faults. After the meter reading module is blocked, it cannot respond to the workers who are not at the location, and must rely on the monitor to perform real-time monitoring. After the line loss fault handling thread exports the line loss fault information, if the background computer has responded to the line loss fault information, but cannot respond to the line loss fault handling thread, the line loss fault information will not be cleared in time and will be transmitted to the background computer again, resulting in the defect of false alarm of line loss fault information. Summary of the invention
[0009] In order to solve the deficiencies in the prior art, the present invention proposes a line loss fault identification system and identification method, which implements data message transmission by constructing a message transmission channel between the production party and the business party, and synchronously constructs detection threads at both ends to improve the accuracy of message transmission; the business party is used as a medium only to collect and transmit messages, and the production party is used to configure and derive messages, formulate control modes, and cooperate to improve control performance; when a failure occurs in the main control module of the meter reading module, that is, when it is manifested as a message transmission failure, it can also be notified in the meter reading module, thereby ensuring the protection at the meter reading module; the detection condition used for message transmission status identification is changed by using the detection message; the business party compares the detection message received in the timing period with the response code of the detection message transmitted in the previous certain time period. If there is inconsistency, it means that the production party has handled the detection message, and the handling conclusion is smooth. The transmission to the business side indicates that the message transmission is in a correct state; while the inconsistency indicates that the change of the production side has not been achieved, indicating a message transmission failure; similarly, a detection thread with the same architecture is constructed on the production side to achieve real-time monitoring of message transmission. At the same time, when the business side fails, the production side can also implement notification, thereby improving the accuracy and efficiency of control; the exported valid status code and the exported status code for response are used as the identification conditions for the validity of the line loss fault handling thread-exported line loss fault message; when the message transmission is correct, the production side exports a valid control signal to let the business side operate to export the response message, and the production side immediately clears the control signal when receiving the response message; ensure that the line loss fault message is only valid for one round in a certain period of time, thereby improving the accuracy of control; the derivation of the line loss fault message relies on the production side, which is separated from the main control module of the meter reading module, thereby improving the control performance.
[0010] The present invention uses the following technical solutions.
[0011] A line loss fault identification method, comprising:
[0012] S1: Working preset;
[0013] Preferably, the S1 specifically includes:
[0014] S1-1: Let the line loss fault handling thread 2 work, treat the line loss fault handling thread 2 as the business party for message transmission, and maintain the working mode for a long time;
[0015] Preferably, the working mode includes: registering the identification message sent back by the background computer, and constructing a message table in the main control module of the meter reading module to store the confirmation characters sent back by the background computer; constructing internal parameters to register all variable parameters and constant participation status codes transmitted by the meter reading module message, and synchronously adding a working thread to implement the measurement of the entire electric energy of the monitored cable and the collection of electric energy information and transmit it to the line loss fault handling thread one, and transmit the identification message of the line loss fault to the background computer.
[0016] S1-2: construct the timing period quantity currently used for sampling by the business party as k1, and assign an initial value of 1 to k1; perform initial operation on all variable parameters and constant participation status codes in the business party, that is, assign initial quantities to all variable parameters and constant participation status codes when k1 is 1;
[0017] Preferably, the variable parameters include: a response code of the detection message, whose initial value is zero; a time-consuming statistical module 1, whose initial value is zero;
[0018] The constant parameters include: a time threshold value 1, whose value is a value that is arbitrarily higher than zero; a time interval 1 for detecting messages, whose value is a value that is arbitrarily lower than the time threshold value 1 and higher than zero;
[0019] The situation codes include the situation codes derived for responses, which have an initial value of zero.
[0020] S1-3: Start the line loss fault handling thread 1 and treat it as the producer. Construct the current control time period of the producer as k2, and assign an initial value of 1 to k2; perform initial operation on all variable parameters, constant parameters and status codes in the producer, and assign initial values to all variable parameters and constant parameters and status codes when k2 is 1.
[0021] Preferably, the variable parameters include: a detection message, the initial amount of which is zero;
[0022] Time consumption statistics module 2, its starting amount is zero;
[0023] Line loss fault message, the initial amount is zero;
[0024] The constant parameters include: time consumption threshold 2, whose value is consistent with time consumption threshold 1; time interval 2 of the detection message, whose value is consistent with time interval 1 of the detection message;
[0025] The situation code includes the derived useful situation code, which starts at zero.
[0026] S2: The first round of control presets;
[0027] Preferably, the S2 specifically includes:
[0028] S2-1: The producer transmits the detection message X1@k2 of the k2th timing period to the business party;
[0029] S2-2: The service side receives the detection message of the k2th timing period from the producer side, derives the response code Y1@k1 of the detection message of the k1th timing period from the service side by using equation (1), and transmits it to the producer side;
[0030] Y1@k1=X1@k2+PPP (1)
[0031] In equation (1), PPP represents the time interval of the detection message;
[0032] S2-3: The producer receives the response code Y1@k1 of the detection message of the k1th timing period from the business party, k2 is incremented by 1, and equation (2) is used to derive the detection message X1@k2 of the k2th timing period from the producer, and transmits it to the business party:
[0033] X1@k2=Y1@k1+QQQ (2)
[0034] In equation (2), QQQ represents the time interval of the detection message;
[0035] S2-4: The business party receives the detection message of the k2th timing period from the producer, k1 is incremented by 1, and the response code Y1@k1 of the detection message of the k2th timing period of the business party is derived by equation (1) and transmitted to the producer.
[0036] S3: method iteration phase;
[0037] Preferably, the S3 specifically includes:
[0038] S3-1: The producer receives the response code Y1@k1 of the detection message of the k1th timing period from the business party, and verifies the message delivery status of the producer;
[0039] Preferably, the S3-1 specifically includes:
[0040] S3-1-1: Determine whether the condition of equation 3 is met. If so, clear the time-consuming statistics module 2 ZZZ to confirm that the message transmission between the production party and the business party is correct; if not, increase the time-consuming statistics module 2 ZZZ by 1 and go to S3-1-2 for processing;
[0041] |Y1@k1-1-Y1@k1|>0 (3)
[0042] In equation (3), Y1@k1-1 represents the response code of the detection message of the business party in the k1-1th timing period;
[0043] S3-1-2: Determine whether the condition of equation (4) is met. If so, confirm that the message transmission between the producer and the business party is terminated; if not, confirm that the message transmission between the producer and the business party begins to be terminated;
[0044] ZZZ-H>0 (4)
[0045] In equation (4), H represents the time consumption threshold 2.
[0046] S3-1-3: If the message transmission between the producer and the service provider is correct, then k2 is incremented by 1, and equation (2) is used to derive the detection message X1@k2 of the producer's k2th timing period; then the confirmation character of the k1th timing period in the message table is taken out, the line loss fault message P@k2 of the k2th timing period is derived, and the message is transferred to S3-2 for processing;
[0047] If the message transmission between the producer and the business party is initially terminated, then k2 is incremented by 1, and the detection message X1@k2=Y1@k1+1 of the producer's k2th timing period is derived, and the line loss fault message P@k2 of the producer's k2th timing period is made to be P@k2=P@k2-1, where P@k2-1 represents the line loss fault message of the producer's k2-1th timing period, and is transferred to S3-2 for processing;
[0048] If the message transmission between the production party and the business party is terminated, the message transmission termination is displayed on the touch screen, and the process goes to S1-3 for processing.
[0049] S3-2: assign the derived useful condition code H@k2 of the k2th timing period of the producer to 1, and transmit the detection message X1@k2, the line loss fault message P@k2 and the derived useful condition code H@k2 of the k2th timing period of the producer to the service party;
[0050] S3-3: The business party receives the detection message X1@k2 of the k2th timing period from the production party, and stores it in the business party to determine the message delivery status;
[0051] Preferably, the S3-3 specifically includes:
[0052] S3-3-1: Determine whether the condition of equation (5) is met. If so, clear the time-consuming statistical module YYY to confirm that the message is transmitted correctly. If not, increase the time-consuming statistical module YYY by 1 and transfer to S3-3-1 for processing.
[0053] |X1@k2-1-X1@k2|>0 (5)
[0054] In equation (5), X1@k2-1 represents the detection message of the producer in the k2-1th timing period.
[0055] S3-3-2: Determine whether the conditions of equation (6) are met:
[0056] YYY-X>0 (6)
[0057] In equation (6), X represents the time consumption threshold 1. If it meets the threshold, the time consumption statistics module 1 YYY is cleared to confirm that the message transmission between the producer and the business party is terminated; if it does not meet the threshold, the message transmission between the producer and the business party is initially terminated.
[0058] S3-3-3: If the message transmission between the producer and the business party is correct, k1 is incremented by 1, and the response code Y1@k1 of the detection message is derived using equation (1), and the process goes to S3-4 for processing;
[0059] If the message transmission between the producer and the business party is initially terminated, k1 is incremented by 1, and the response code of the detection message of the business party in the k1th timing period is set to Y1@k1=X1@k2+1, and the process is transferred to S3-4 for processing;
[0060] If the message transmission between the production party and the business party is terminated, the message transmission termination is displayed on the touch screen, and the process goes to S1-3 for processing.
[0061] S3-4: The business party receives the line loss fault message P@k2 and the derived useful situation code H@k2 of the k2th time period from the production party, and implements derived effective recognition;
[0062] Preferably, the S3-4 specifically includes:
[0063] H@k2=1, the business side transmits the line loss fault message P@k2 of the k2th time period of the production side to the background computer. After the background computer stores and displays the line loss fault message, it assigns the situation code G@k1 exported for response of the k1th time period of the production side to 1, and transfers to S3-5 for processing;
[0064] H@k2=0, assign the status code G@k1 used for the response of the k1th timing period to 0, and transfer to S3-5 for processing.
[0065] S3-5: delivering the response code Y1@k1 of the detection message of the k1th timing period and the situation code G@k1 derived for the response to the producer;
[0066] S3-6: The producer receives the k1th time period transmitted by the business party and exports the response status code G@k1 to implement export response recognition.
[0067] Preferably, the S3-6 specifically includes:
[0068] Y1@k1=1, assign the value of the derived useful status code H@k2 of the k2th timing period of the producer to 0, and transfer to S4 for processing;
[0069] Y1@k1=0, determine whether H@k2 is 1. If so, continue to pass the derived useful situation code H@k2 and line loss fault message P@k2 of the k2th timing period of the production party to the business party, and then transfer to S4 for processing; if not, transfer to S4 for processing.
[0070] S4: Determine whether the producer has terminated the process. If so, the producer's process is completed, the business side enters the manual working mode, and different producers implement message transmission. If not, transfer to S3 for processing.
[0071] A line loss fault identification system, comprising:
[0072] The meter reading module and the back-end computer connected to the meter reading module, the meter reading module is used to identify the line loss fault, and then transmit the identified line loss fault information to the back-end computer for storage and display;
[0073] The backend computer is used to send a confirmation character back to the meter reading module after receiving the line loss fault message;
[0074] The line loss fault identification system further includes:
[0075] A preset module, which is used for work presets;
[0076] A control module, which is used for the first round of control presets;
[0077] Iteration module, which is used in the method iteration phase;
[0078] The identification module is used to determine whether the production party has terminated the process rigidly. If so, the production party's process is completed, the business party enters the manual working mode, and different production parties implement message transmission.
[0079] Preferably, the preset module is also used to treat the line loss fault handling thread 2 as the business party for message transmission, and maintain the working mode for a long time; to construct the timing period quantity currently used for sampling by the business party as k1, and to assign an initial value of one to k1; to perform initial operation on all variable parameters and constant participation status codes in the business party, that is, when k1 is 1, all variable parameters and constant participation status codes are assigned an initial quantity; to start the line loss fault handling thread 1, and to treat it as the production party. Construct the timing period quantity currently controlled by the production party as k2, and to assign an initial value of one to k2; to perform initial operation on all variable parameters, constant parameters and status codes in the production party, and when k2 is 1, all variable parameters and constant participation status codes are assigned an initial quantity.
[0080] Preferably, the working mode includes: registering the identification message sent back by the background computer, and constructing a message table in the main control module of the meter reading module to store the confirmation characters sent back by the background computer; constructing internal parameters to register all variable parameters and constant participation status codes transmitted by the meter reading module message, and synchronously adding a working thread to implement the measurement of the entire electric energy of the monitored cable and the collection of electric energy information and transmit it to the line loss fault handling thread one, and transmit the identification message of the line loss fault to the background computer.
[0081] Preferably, the variable parameters include: a response code of the detection message, whose initial value is zero; a time-consuming statistical module 1, whose initial value is zero;
[0082] The constant parameters include: a time threshold value 1, whose value is a value that is arbitrarily higher than zero; a time interval 1 for detecting messages, whose value is a value that is arbitrarily lower than the time threshold value 1 and higher than zero;
[0083] The situation codes include the situation codes derived for responses, which have an initial value of zero.
[0084] Preferably, the variable parameters include: a detection message, the initial amount of which is zero;
[0085] Time consumption statistics module 2, its starting amount is zero;
[0086] Line loss fault message, the initial amount is zero;
[0087] The constant parameters include: time consumption threshold 2, whose value is consistent with time consumption threshold 1; time interval 2 of the detection message, whose value is consistent with time interval 1 of the detection message;
[0088] The situation code includes the derived useful situation code, which starts at zero.
[0089] Preferably, the control module is also used for the production side to transmit the detection message X1@k2 of the k2th timing period to the business side; and for the business side to receive the detection message of the k2th timing period from the production side, derive the response code Y1@k1 of the detection message of the k1th timing period of the business side by equation (1), and transmit it to the production side;
[0090] Y1@k1=X1@k2+PPP (1)
[0091] In equation (1), PPP represents the time interval of the detection message, which is one. The response code Y1@k1 is used by the producer to receive the detection message of the k1th timing period from the business party. k2 is incremented by 1. Equation (2) is used to derive the detection message X1@k2 of the k2th timing period of the producer and transmit it to the business party:
[0092] X1@k2=Y1@k1+QQQ (2)
[0093] In equation (2), QQQ represents the time interval of the detection message; it is used by the business party to receive the detection message of the k2th timing period from the producer, k1 is incremented by 1, and the response code Y1@k1 of the detection message of the k2th timing period of the business party is derived by equation (1) and transmitted to the producer.
[0094] Preferably, the iteration module is also used for the producer to receive the response code Y1@k1 of the detection message of the k1th timing period sent by the business party, and to implement the producer's message transmission status identification; used to assign the value of the derived useful status code H@k2 of the producer's k2th timing period to 1, and transmit the producer's detection message X1@k2 of the k2th timing period, the line loss fault message P@k2 and the derived useful status code H@k2 to the business party; used for the business party to receive the detection message X1@k2 of the k2th timing period sent by the producer, and store it in the business party to implement the message transmission status identification; used for the business party to receive the line loss fault message P@k2 of the k2th timing period and the derived useful status code H@k2 from the producer, and implement the derived effective identification; used to transmit the response code Y1@k1 of the detection message of the k1th timing period, and the derived status code G@k1 for response to the producer; used for the producer to receive the derived status code G@k1 for response of the k1th timing period sent by the business party to implement the derived response identification.
[0095] Preferably, the iteration module is also used to determine whether the condition of equation 3 is met. If so, the time-consuming statistical module 2 ZZZ is cleared to confirm that the message transmission between the production party and the business party is correct; if not, the time-consuming statistical module 2 ZZZ is increased by 1;
[0096] |Y1@k1-1-Y1@k1|>0 (3)
[0097] In equation (3), Y1@k1-1 represents the response code of the detection message of the business party in the k1-1th timing period;
[0098] It is used to determine whether the condition of equation (4) is met. If it is met, it is confirmed that the message transmission between the producer and the business party is terminated; if it is not met, it is confirmed that the message transmission between the producer and the business party begins to be terminated;
[0099] ZZZ-H>0 (4)
[0100] In equation (4), H represents the time-consuming threshold 2; if the message transmission between the producer and the service party is correct, then k2 is incremented by 1, and equation (2) is used to derive the detection message X1@k2 of the producer's k2th timing period; then the confirmation character of the k1th timing period in the message table is taken out, and the line loss fault message P@k2 of the k2th timing period is derived;
[0101] If the message transmission between the producer and the business party is initially terminated, then k2 is incremented by 1, and the detection message X1@k2=Y1@k1+1 of the producer's k2th timing period is derived, and the line loss fault message P@k2 of the producer's k2th timing period is made to be P@k2=P@k2-1, where P@k2-1 represents the line loss fault message of the producer's k2-1th timing period;
[0102] If the message transmission between the producer and the business party is suspended, the message transmission suspension is displayed on the touch screen.
[0103] Preferably, the iteration module is also used for H@k2=1, the business party transmits the line loss fault message P@k2 of the k2th timing period of the production party to the background computer, and after the background computer stores and displays the line loss fault message, the situation code G@k1 exported for response of the k1th timing period of the production party is assigned a value of 1;
[0104] H@k2=0, the situation code G@k1 derived for response in the k1th timing period is assigned a value of 0.
[0105] Preferably, the iteration module is also used for Y1@k1=1, assigning the derived useful status code H@k2 of the k2th timing period of the producer to 0, and transferring to S4 for processing;
[0106] Y1@k1=0, determine whether H@k2 is 1. If so, continue to pass the derived useful situation code H@k2 and line loss fault message P@k2 of the k2th timing period of the production party to the business party, and then transfer to S4 for processing; if not, transfer to S4 for processing.
[0107] The beneficial effect of the present invention is that, compared with the prior art, the present invention implements data message transmission by constructing a message transmission channel between the production party and the business party, and synchronously constructs detection threads at both ends, thereby improving the accuracy of message transmission; the business party is used as a medium only to collect and transmit messages, and the production party is used to configure and deduce messages, formulate control modes, and cooperate to improve control performance; when a failure occurs in the main control module of the meter reading module, that is, when it is manifested as a message transmission failure, it can also be notified in the meter reading module, thereby ensuring the protection at the meter reading module; the detection condition used as the message transmission status recognition is changed by using the detection message; the business party compares the detection message received in the timing period with the response code of the detection message transmitted in the previous certain time period. If there is inconsistency, it means that the production party has handled the detection message, and the handling conclusion is smoothly transmitted to the business party. On the service side, it means that the message transmission is in a correct state; and the disagreement means that the change on the production side has not been achieved, which means that the message transmission is faulty; similarly, a detection thread with the same architecture is constructed on the production side to achieve real-time monitoring of message transmission. At the same time, in the case of a fault on the business side, the production side can also implement notification, thereby improving the accuracy and efficiency of control; the exported valid status code and the exported status code for response are used as the recognition conditions for the validity of the line loss fault handling thread-exported line loss fault message; when the message transmission is correct, the production side exports a valid control signal to let the business side operate to export the response message, and the production side immediately clears the control signal when it receives the response message; ensure that in a certain period of time, the line loss fault message is only valid for one round, thereby improving the accuracy of control; the derivation of the line loss fault message relies on the production side, which is separated from the main control module of the meter reading module, thereby improving the control performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0108] Figure 1 It is an overall flow chart of the line loss fault identification method described in the present invention;
[0109] Figure 2 It is a partial module structure diagram of the line loss fault identification system described in the invention. DETAILED DESCRIPTION
[0110] In order to make the purpose, technical scheme and advantages of the present invention clearer, the technical scheme 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 part of the embodiments of the present invention, not all of them. Based on the spirit of the present invention, other embodiments obtained by ordinary technicians in this field without creative work are all within the scope of protection of the present invention.
[0111] like Figure 1 As shown, a line loss fault identification method according to the present invention comprises:
[0112] The line loss fault identification method is used in the communication system formed by the meter reading module and the background computer. The meter reading module includes the line loss fault handling thread 1, the line loss fault handling thread 2 and the GPRS module used on its main control module. The confirmation character of the background computer is transmitted back to the main control module of the meter reading module via the GPRS network. The line loss fault handling thread 2 performs the measurement of the entire electric energy of the monitored cable and the collection of electric energy information and transmits it to the line loss fault handling thread 1, and then transmits the identified line loss fault information to the background computer for storage and display. The line loss fault handling thread 1 performs the electric energy information reading to perform the electric energy information comparison operation, analyzes whether the electricity measurement of each branch is correct, and thus achieves the identification of the line loss fault, and then transmits the identification information of the line loss fault to the line loss fault handling thread 2. The line loss fault handling thread 2 transmits the identification information of the line loss fault to the background computer. The detailed process is described as follows:
[0113] S1: Working preset;
[0114] In a preferred but non-limiting embodiment of the present invention, S1 specifically includes:
[0115] S1-1: Let the line loss fault handling thread 2 work, treat the line loss fault handling thread 2 as the business party for message transmission, and maintain the working mode for a long time;
[0116] In a preferred but non-restrictive implementation of the utility model, the working mode includes: registering the identification message sent back by the background computer, and constructing a message table in the main control module of the meter reading module to store the confirmation characters sent back by the background computer; constructing internal parameters to register all variable parameters and constant participation status codes transmitted by the meter reading module message, and synchronously adding a working thread to implement the measurement of the entire electric energy of the monitored cable and the collection of electric energy information and transmit it to the line loss fault handling thread one, and transmit the identification message of the line loss fault to the background computer.
[0117] S1-2: construct the timing period quantity currently used for sampling by the business party as k1, and assign an initial value of 1 to k1; perform initial operation on all variable parameters and constant participation status codes in the business party, that is, assign initial quantities to all variable parameters and constant participation status codes when k1 is 1;
[0118] In a preferred but non-limiting embodiment of the utility model, the variable parameters include: a response code of the detection message, whose initial quantity is zero; a time-consuming statistical module 1, whose initial quantity is zero;
[0119] The constant parameters include: a time threshold value 1, whose value is a value that is arbitrarily higher than zero; a time interval 1 for detecting messages, whose value is a value that is arbitrarily lower than the time threshold value 1 and higher than zero;
[0120] The situation codes include the situation codes derived for responses, which have an initial value of zero.
[0121] S1-3: Start the line loss fault handling thread 1 and treat it as the producer. Construct the current control time period of the producer as k2, and assign an initial value of 1 to k2; perform initial operation on all variable parameters, constant parameters and status codes in the producer, and assign initial values to all variable parameters and constant parameters and status codes when k2 is 1.
[0122] In a preferred but non-limiting embodiment of the utility model, the variable parameters include: a detection message, the initial amount of which is zero;
[0123] Time consumption statistics module 2, its starting amount is zero;
[0124] Line loss fault message, the initial amount is zero;
[0125] The constant parameters include: time consumption threshold 2, whose value is consistent with time consumption threshold 1; time interval 2 of the detection message, whose value is consistent with time interval 1 of the detection message;
[0126] The situation code includes the derived useful situation code, which starts at zero.
[0127] S2: The first round of control presets;
[0128] In a preferred but non-limiting embodiment of the present invention, S2 specifically includes:
[0129] S2-1: The producer transmits the detection message X1@k2 of the k2th timing period to the business party;
[0130] S2-2: The service side receives the detection message of the k2th timing period from the producer side, derives the response code Y1@k1 of the detection message of the k1th timing period from the service side by using equation (1), and transmits it to the producer side;
[0131] Y1@k1=X1@k2+PPP (1)
[0132] In equation (1), PPP represents the time interval of the detection message;
[0133] S2-3: The producer receives the response code Y1@k1 of the detection message of the k1th timing period from the business party, k2 is incremented by 1, and equation (2) is used to derive the detection message X1@k2 of the k2th timing period from the producer, and transmits it to the business party:
[0134] X1@k2=Y1@k1+QQQ (2)
[0135] In equation (2), QQQ represents the time interval of the detection message;
[0136] S2-4: The business party receives the detection message of the k2th timing period from the producer, k1 is incremented by 1, and the response code Y1@k1 of the detection message of the k2th timing period of the business party is derived by equation (1) and transmitted to the producer.
[0137] S3: method iteration phase;
[0138] In a preferred but non-limiting embodiment of the present invention, S3 specifically includes:
[0139] S3-1: The producer receives the response code Y1@k1 of the detection message of the k1th timing period from the business party, and verifies the message delivery status of the producer;
[0140] In a preferred but non-limiting embodiment of the present invention, S3-1 specifically includes:
[0141] S3-1-1: Determine whether the condition of equation 3 is met. If so, clear the time-consuming statistics module 2 ZZZ to confirm that the message transmission between the production party and the business party is correct; if not, increase the time-consuming statistics module 2 ZZZ by 1 and go to S3-1-2 for processing;
[0142] |Y1@k1-1-Y1@k1|>0 (3)
[0143] In equation (3), Y1@k1-1 represents the response code of the detection message of the business party in the k1-1th timing period;
[0144] S3-1-2: Determine whether the condition of equation (4) is met. If so, confirm that the message transmission between the producer and the business party is terminated; if not, confirm that the message transmission between the producer and the business party begins to be terminated;
[0145] ZZZ-H>0 (4)
[0146] In equation (4), H represents the time consumption threshold 2.
[0147] S3-1-3: If the message transmission between the producer and the service provider is correct, then k2 is incremented by 1, and equation (2) is used to derive the detection message X1@k2 of the producer's k2th timing period; then the confirmation character of the k1th timing period in the message table is taken out, the line loss fault message P@k2 of the k2th timing period is derived, and the message is transferred to S3-2 for processing;
[0148] If the message transmission between the producer and the business party is initially terminated, then k2 is incremented by 1, and the detection message X1@k2=Y1@k1+1 of the producer's k2th timing period is derived, and the line loss fault message P@k2 of the producer's k2th timing period is made to be P@k2=P@k2-1, where P@k2-1 represents the line loss fault message of the producer's k2-1th timing period, and is transferred to S3-2 for processing;
[0149] If the message transmission between the production party and the business party is terminated, the message transmission termination is displayed on the touch screen, and the process goes to S1-3 for processing.
[0150] S3-2: assign the derived useful condition code H@k2 of the k2th timing period of the producer to 1, and transmit the detection message X1@k2, the line loss fault message P@k2 and the derived useful condition code H@k2 of the k2th timing period of the producer to the service party;
[0151] S3-3: The business party receives the detection message X1@k2 of the k2th timing period from the production party, and stores it in the business party to determine the message delivery status;
[0152] In a preferred but non-limiting embodiment of the present invention, S3-3 specifically includes:
[0153] S3-3-1: Determine whether the condition of equation (5) is met. If so, clear the time-consuming statistical module YYY to confirm that the message is transmitted correctly. If not, increase the time-consuming statistical module YYY by 1 and transfer to S3-3-1 for processing.
[0154] |X1@k2-1-X1@k2|>0 (5)
[0155] In equation (5), X1@k2-1 represents the detection message of the producer in the k2-1th timing period.
[0156] S3-3-2: Determine whether the conditions of equation (6) are met:
[0157] YYY-X>0 (6)
[0158] In equation (6), X represents the time consumption threshold 1. If it meets the threshold, the time consumption statistics module 1 YYY is cleared to confirm that the message transmission between the producer and the business party is terminated; if it does not meet the threshold, the message transmission between the producer and the business party is initially terminated.
[0159] S3-3-3: If the message transmission between the producer and the business party is correct, k1 is incremented by 1, and the response code Y1@k1 of the detection message is derived using equation (1), and the process goes to S3-4 for processing;
[0160] If the message transmission between the producer and the business party is initially terminated, k1 is incremented by 1, and the response code of the detection message of the business party in the k1th timing period is set to Y1@k1=X1@k2+1, and the process is transferred to S3-4 for processing;
[0161] If the message transmission between the production party and the business party is terminated, the message transmission termination is displayed on the touch screen, and the process goes to S1-3 for processing.
[0162] S3-4: The business party receives the line loss fault message P@k2 and the derived useful situation code H@k2 of the k2th time period from the production party, and implements derived effective recognition;
[0163] In a preferred but non-limiting embodiment of the present invention, S3-4 specifically includes:
[0164] H@k2=1, the business side transmits the line loss fault message P@k2 of the k2th time period of the production side to the background computer. After the background computer stores and displays the line loss fault message, it assigns the situation code G@k1 exported for response of the k1th time period of the production side to 1, and transfers to S3-5 for processing;
[0165] H@k2=0, assign the status code G@k1 used for the response of the k1th timing period to 0, and transfer to S3-5 for processing.
[0166] S3-5: delivering the response code Y1@k1 of the detection message of the k1th timing period and the situation code G@k1 derived for the response to the producer;
[0167] S3-6: The producer receives the k1th time period transmitted by the business party and exports the response status code G@k1 to implement export response recognition.
[0168] In a preferred but non-limiting embodiment of the present invention, S3-6 specifically includes:
[0169] Y1@k1=1, assign the value of the derived useful status code H@k2 of the k2th timing period of the producer to 0, and transfer to S4 for processing;
[0170] Y1@k1=0, determine whether H@k2 is 1. If so, continue to pass the derived useful situation code H@k2 and line loss fault message P@k2 of the k2th timing period of the production party to the business party, and then transfer to S4 for processing; if not, transfer to S4 for processing.
[0171] S4: Determine whether the producer has terminated the process. If so, the producer's process is completed, the business side enters the manual working mode, and different producers implement message transmission. If not, transfer to S3 for processing.
[0172] like Figure 2 As shown, a line loss fault identification system according to the present invention comprises:
[0173] The meter reading module and the background computer connected to the meter reading module, the meter reading module is used to measure the entire electric energy and collect electric energy information of the monitored line through the line loss fault handling thread, and then read the electric energy information, so as to perform the electric energy information comparison operation, analyze whether the electricity measurement of each branch is correct, so as to achieve the identification of the line loss fault, and then transmit the identified line loss fault information to the background computer for storage and display;
[0174] The backend computer is used to send a confirmation character back to the meter reading module after receiving the line loss fault message;
[0175] The line loss fault identification system further includes:
[0176] A preset module, which is used for work presets;
[0177] A control module, which is used for the first round of control presets;
[0178] Iteration module, which is used in the method iteration phase;
[0179] The identification module is used to determine whether the production party has terminated the process rigidly. If so, the production party's process is completed, the business party enters the manual working mode, and different production parties implement message transmission.
[0180] In a preferred but non-restrictive implementation of the utility model, the preset module is also used for the line loss fault handling thread 2 as the business party for message transmission, and the working mode is maintained for a long time; it is used to construct the timing period quantity currently used for sampling by the business party is k1, and k1 is given an initial value of one; all variable parameters and constant participation status codes in the business party are subjected to initial operation, that is, when k1 is 1, all variable parameters and constant participation status codes are given an initial quantity; it is used to start the line loss fault handling thread 1, and it is used as the production party. Construct the timing period quantity currently controlled by the production party is k2, and k2 is given an initial value of one; all variable parameters, constant parameters and status codes in the production party are subjected to initial operation, and when k2 is 1, all variable parameters and constant participation status codes are given an initial quantity.
[0181] In a preferred but non-restrictive implementation of the utility model, the working mode includes: registering the identification message sent back by the background computer, and constructing a message table in the main control module of the meter reading module to store the confirmation characters sent back by the background computer; constructing internal parameters to register all variable parameters and constant participation status codes transmitted by the meter reading module message, and synchronously adding a working thread to implement the measurement of the entire electric energy of the monitored cable and the collection of electric energy information and transmit it to the line loss fault handling thread one, and transmit the identification message of the line loss fault to the background computer.
[0182] In a preferred but non-limiting embodiment of the utility model, the variable parameters include: a response code of the detection message, whose initial quantity is zero; a time-consuming statistical module 1, whose initial quantity is zero;
[0183] The constant parameters include: a time threshold value 1, whose value is a value that is arbitrarily higher than zero; a time interval 1 for detecting messages, whose value is a value that is arbitrarily lower than the time threshold value 1 and higher than zero;
[0184] The situation codes include the situation codes derived for responses, which have an initial value of zero.
[0185] In a preferred but non-limiting embodiment of the utility model, the variable parameters include: a detection message, the initial amount of which is zero;
[0186] Time consumption statistics module 2, its starting amount is zero;
[0187] Line loss fault message, the initial amount is zero;
[0188] The constant parameters include: time consumption threshold 2, whose value is consistent with time consumption threshold 1; time interval 2 of the detection message, whose value is consistent with time interval 1 of the detection message;
[0189] The situation code includes the derived useful situation code, which starts at zero.
[0190] In a preferred but non-restrictive implementation manner of the utility model, the control module is further used for the production side to transmit the detection message X1@k2 of the k2th timing period to the business side; and for the business side to receive the detection message of the k2th timing period from the production side, derive the response code Y1@k1 of the detection message of the k1th timing period from the business side by equation (1), and transmit it to the production side;
[0191] Y1@k1=X1@k2+PPP (1)
[0192] In equation (1), PPP represents the time interval of the detection message, which is one. The response code Y1@k1 is used by the producer to receive the detection message of the k1th timing period from the business party. k2 is incremented by 1. Equation (2) is used to derive the detection message X1@k2 of the k2th timing period of the producer and transmit it to the business party:
[0193] X1@k2=Y1@k1+QQQ (2)
[0194] In equation (2), QQQ represents the time interval of the detection message; it is used by the business party to receive the detection message of the k2th timing period from the producer, k1 is incremented by 1, and the response code Y1@k1 of the detection message of the k2th timing period of the business party is derived by equation (1) and transmitted to the producer.
[0195] In a preferred but non-restrictive implementation manner of the utility model, the iteration module is also used for the production side to receive the response code Y1@k1 of the detection message of the k1th timing period transmitted by the business side, and to implement the message transmission status identification of the production side; it is used to assign the derived useful situation code H@k2 of the production side's k2th timing period to 1, and transmit the production side's k2th timing period detection message X1@k2, line loss fault message P@k2 and derived useful situation code H@k2 to the business side; it is used for the business side to receive the k2th timing period transmitted by the production side The detection message X1@k2 of the k2th timing period is stored in the business party to implement message transmission status identification; it is used for the business party to receive the line loss fault message P@k2 and the derived useful status code H@k2 of the k2th timing period from the production party to implement derived effective identification; it is used to transmit the response code Y1@k1 of the detection message of the k1th timing period and the derived status code G@k1 for response to the production party; it is used for the production party to receive the derived status code G@k1 for response of the k1th timing period transmitted by the business party to implement derived response identification.
[0196] In a preferred but non-limiting embodiment of the utility model, the iteration module is also used to determine whether the condition of equation 3 is met. If it is met, the time-consuming statistical module 2 ZZZ is cleared to confirm that the message transmission between the production party and the business party is correct; if it is not met, the time-consuming statistical module 2 ZZZ is increased by 1;
[0197] |Y1@k1-1-Y1@k1|>0 (3)
[0198] In equation (3), Y1@k1-1 represents the response code of the detection message of the business party in the k1-1th timing period;
[0199] It is used to determine whether the condition of equation (4) is met. If it is met, it is confirmed that the message transmission between the producer and the business party is terminated; if it is not met, it is confirmed that the message transmission between the producer and the business party begins to be terminated;
[0200] ZZZ-H>0 (4)
[0201] In equation (4), H represents the time-consuming threshold 2; if the message transmission between the producer and the service party is correct, then k2 is incremented by 1, and equation (2) is used to derive the detection message X1@k2 of the producer's k2th timing period; then the confirmation character of the k1th timing period in the message table is taken out, and the line loss fault message P@k2 of the k2th timing period is derived;
[0202] If the message transmission between the producer and the business party is initially terminated, then k2 is incremented by 1, and the detection message X1@k2=Y1@k1+1 of the producer's k2th timing period is derived, and the line loss fault message P@k2 of the producer's k2th timing period is made to be P@k2=P@k2-1, where P@k2-1 represents the line loss fault message of the producer's k2-1th timing period;
[0203] If the message transmission between the producer and the business party is suspended, the message transmission suspension is displayed on the touch screen.
[0204] In a preferred but non-limiting embodiment of the present invention, the iteration module is also used for H@k2=1, the business party transmits the line loss fault message P@k2 of the k2th timing period of the production party to the background computer, and after the background computer stores and displays the line loss fault message, the situation code G@k1 exported for response of the k1th timing period of the production party is assigned to 1;
[0205] H@k2=0, the situation code G@k1 derived for response in the k1th timing period is assigned a value of 0.
[0206] In a preferred but non-limiting embodiment of the utility model, the iteration module is also used for Y1@k1=1, assigning the derived useful condition code H@k2 of the k2th timing period of the producer to 0, and transferring to S4 for processing;
[0207] Y1@k1=0, determine whether H@k2 is 1, if yes, continue to pass the derived useful status code H@k2 of the k2th timing period of the production side and the line loss fault message P@k2 to the business side, and then transfer to S4 for processing; if not, transfer to S4 for processing. The structure of the meter reading module and the background computer connected to the meter reading module is: the GPRS module connected to the main control module of the meter reading module is connected to the background computer in the GPRS network via the GPRS network. The main control module of the meter reading module is also electrically connected to the touch screen, and the main control module can be a single-chip microcomputer. The meter reading module is a small wireless meter reading module.
[0208] The beneficial effect of the present invention is that, compared with the prior art, the present invention implements data message transmission by constructing a message transmission channel between the production party and the business party, and synchronously constructs detection threads at both ends, thereby improving the accuracy of message transmission; the business party is used as a medium only to collect and transmit messages, and the production party is used to configure and deduce messages, formulate control modes, and cooperate to improve control performance; when a failure occurs in the main control module of the meter reading module, that is, when it is manifested as a message transmission failure, it can also be notified in the meter reading module, thereby ensuring the protection at the meter reading module; the detection condition used as the message transmission status recognition is changed by using the detection message; the business party compares the detection message received in the timing period with the response code of the detection message transmitted in the previous certain time period. If there is inconsistency, it means that the production party has handled the detection message, and the handling conclusion is smoothly transmitted to the business party. On the service side, it means that the message transmission is in a correct state; and the disagreement means that the change on the production side has not been achieved, which means that the message transmission is faulty; similarly, a detection thread with the same architecture is constructed on the production side to achieve real-time monitoring of message transmission. At the same time, in the case of a fault on the business side, the production side can also implement notification, thereby improving the accuracy and efficiency of control; the exported valid status code and the exported status code for response are used as the recognition conditions for the validity of the line loss fault handling thread-exported line loss fault message; when the message transmission is correct, the production side exports a valid control signal to let the business side operate to export the response message, and the production side immediately clears the control signal when it receives the response message; ensure that in a certain period of time, the line loss fault message is only valid for one round, thereby improving the accuracy of control; the derivation of the line loss fault message relies on the production side, which is separated from the main control module of the meter reading module, thereby improving the control performance.
[0209] The computer readable backup medium can be a tangible network capable of maintaining and backing up the instructions used by the instruction execution network. The computer readable backup medium can be, but is not limited to, an electrical backup network, a magnetic backup network, an optical backup network, an electromagnetic backup network, a semiconductor backup network, or any suitable combination of the above. Further examples of computer readable backup media (a non-exhaustive list) include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disk read-only memory (CD-ROM), digital versatile disk (DVD), memory stick, floppy disk, mechanically encoded network, such as punch cards or raised structures in grooves with instructions backed up thereon, and any suitable combination of the above. The computer readable backup medium used herein is not to be construed as a transient signal per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (such as, light pulses through power line cables), or electrical signals transmitted through wires.
[0210] The computer readable program instructions expressed herein can be downloaded from a computer readable backup medium to each inference / processing grid line, or downloaded to an external computer or external backup grid line through a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, power transmission line transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge service devices. The network adapter card or network interface in each inference / processing grid line receives the computer readable program instructions from the network and forwards the computer readable program instructions for storage in the computer readable backup medium in each inference / processing grid line.
[0211] The computer program instructions used to perform the operations of the present disclosure can be assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, scenario setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Sdalltal A, C auto-increment 1, etc., and conventional procedural programming languages, such as "C" 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 separate software package, partially on the client computer and partially on the remote computer, or completely on the remote computer or server. In the case of a remote computer, the remote computer can be connected to the client computer through any other network, including a local area network (LAb) or a wide area network (WAb), or can be connected to an external computer (just like connecting through the Internet using an Internet service provider). In some embodiments, the electronic circuit is personalized by utilizing the status information of the computer-readable program instructions, such as a programmable logic circuit, a field programmable gate array (FPGA) or a programmable logic array (PLA), and the electronic circuit can execute the computer-readable program instructions to achieve various aspects of the present disclosure.
[0212] 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 technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents, and any modifications or equivalent replacements that do not separate the spirit and range of the present invention should be included in the protection range of the claims of the present invention.
Claims
1. A line loss fault identification method, characterized in that: include: S1: Working preset; S2: The first round of control presets; S3: method iteration phase; S4: Determine whether the producer has terminated the transaction. If so, the producer's process ends, the business side switches to manual work mode, and different producers implement message transmission. If not, the transaction is transferred to S3 for processing. The S1 specifically includes: S1-1: Let the line loss fault handling thread 2 work, treat the line loss fault handling thread 2 as the business party for message transmission, and maintain the working mode for a long time; S1-2: construct the timing period quantity currently used for sampling by the business party as k1, and assign an initial value of 1 to k1; perform initial operation on all variable parameters and constant participation status codes in the business party, that is, assign initial quantities to all variable parameters and constant participation status codes when k1 is 1; S1-3: Start the line loss fault handling thread 1 and treat it as the producer; construct the current control time period of the producer as k2, and assign an initial value of 1 to k2; perform initial operation on all variable parameters, constant parameters and status codes in the producer, and assign initial quantities to all variable parameters, constant parameters and status codes when k2 is 1; The variable parameters include: a detection message, the initial amount of which is zero; Time consumption statistics module 2, its starting amount is zero; Line loss fault message, the initial amount is zero; The constant parameters include: time consumption threshold 2, whose value is consistent with time consumption threshold 1; time interval 2 of the detection message, whose value is consistent with time interval 1 of the detection message; The situation code includes a derived useful situation code, the initial quantity of which is zero; The variable parameters include: a response code of the detection message, whose initial value is zero; a time-consuming statistical module 1, whose initial value is zero; The constant parameters include: a time threshold value 1, whose value is a value that is arbitrarily higher than zero; a time interval 1 for detecting messages, whose value is a value that is arbitrarily lower than the time threshold value 1 and higher than zero; The situation codes include situation codes derived for responses, the initial quantity of which is zero; The S2 specifically includes: S2-1: The producer transmits the detection message X1@k2 of the k2th timing period to the business party; S2-2: The service side receives the detection message of the k2th timing period from the production side, and uses equation (1) to derive the response code Y1@k1 of the detection message of the k1th timing period from the service side, and transmits it to the production side; Y1@k1=X1@k2+PPP (1) In equation (1), PPP represents the time interval of the detection message; S2-3: The producer receives the response code Y1@k1 of the detection message of the k1th timing period from the business party, k2 is incremented by 1, and equation (2) is used to derive the detection message X1@k2 of the k2th timing period from the producer, and transmits it to the business party: X1@k2=Y1@k1+QQQ (2) In equation (2), QQQ represents the time interval of the detection message; S2-4: The business party receives the detection message of the k2th timing period from the producer, k1 is incremented by 1, and the response code Y1@k1 of the detection message of the k2th timing period of the business party is derived by equation (1), and is transmitted to the producer; The S3 specifically includes: S3-1: The producer receives the response code Y1@k1 of the detection message of the k1th timing period from the business party, and verifies the message delivery status of the producer; S3-2: assign the derived useful condition code H@k2 of the k2th timing period of the producer to 1, and transmit the detection message X1@k2, the line loss fault message P@k2 and the derived useful condition code H@k2 of the k2th timing period of the producer to the service party; S3-3: The business party receives the detection message X1@k2 of the k2th time period from the producer party, and stores it in the business party to perform message delivery status verification; S3-4: The business party receives the line loss fault message P@k2 and the derived useful situation code H@k2 of the k2th time period from the production party, and implements derived effective recognition; S3-5: delivering the response code Y1@k1 of the detection message of the k1th timing period and the situation code G@k1 derived for the response to the producer; S3-6: The producer receives the k1th time period output status code G@k1 for response transmitted by the business party and performs output response recognition; The S3-6 specifically includes: Y1@k1=1, assign the value of the derived useful status code H@k2 of the k2th timing period of the producer to 0, and transfer to S4 for processing; Y1@k1=0, determine whether H@k2 is 1. If so, continue to pass the derived useful situation code H@k2 and line loss fault message P@k2 of the k2th timing period of the production side to the business side, and then transfer to S4 for processing; if not, transfer to S4 for processing; The S3-1 specifically includes: S3-1-1: Determine whether the condition of equation 3 is met. If so, clear the time-consuming statistical module 2 ZZZ to confirm that the message transmission between the production party and the business party is correct; if not, increase the time-consuming statistical module 2 ZZZ by 1 and go to S3-1-2 for processing; |Y1@k1-1-Y1@k1|>0 (3) In equation (3), Y1@k1-1 represents the response code of the detection message of the business party in the k1-1th timing period; S3-1-2: Determine whether the condition of equation (4) is met. If so, confirm that the message transmission between the producer and the business party is terminated; if not, confirm that the message transmission between the producer and the business party begins to be terminated; ZZZ-H>0 (4) In equation (4), H represents the time consumption threshold 2; S3-1-3: If the message transmission between the producer and the service provider is correct, then k2 is incremented by 1, and equation (2) is used to derive the detection message X1@k2 of the producer's k2th timing period; then the confirmation character of the k1th timing period in the message table is taken out, the line loss fault message P@k2 of the k2th timing period is derived, and the message is transferred to S3-2 for processing; If the message transmission between the producer and the business party is initially terminated, then k2 is incremented by 1, and the detection message X1@k2=Y1@k1+1 of the producer's k2th timing period is derived, and the line loss fault message P@k2 of the producer's k2th timing period is made to be P@k2=P@k2-1, where P@k2-1 represents the line loss fault message of the producer's k2-1th timing period, and is transferred to S3-2 for processing; If the message transmission between the production party and the business party is suspended, the message transmission suspension is displayed on the touch screen, and the process goes to S1-3 for processing; The S3-3 specifically includes: S3-3-1: Determine whether the condition of equation (5) is met. If so, clear the time-consuming statistical module YYY to confirm that the message is transmitted correctly. If not, increase the time-consuming statistical module YYY by 1 and transfer to S3-3-1 for processing. |X1@k2-1-X1@k2|>0 (5) In equation (5), X1@k2-1 represents the detection message of the k2-1th timing period of the producer; S3-3-2: Determine whether the conditions of equation (6) are met: YYY-X>0 (6) In equation (6), X represents the time consumption threshold 1. If it meets the threshold, the time consumption statistics module 1 YYY is cleared to confirm that the message transmission between the producer and the business party is terminated; if it does not meet the threshold, the message transmission between the producer and the business party is initially terminated. S3-3-3: If the message transmission between the producer and the business party is correct, k1 is incremented by 1, and the response code Y1@k1 of the detection message is derived using equation (1), and the process goes to S3-4 for processing; If the message transmission between the producer and the business party is initially terminated, k1 is incremented by 1, and the response code of the detection message of the business party in the k1th timing period is set to Y1@k1=X1@k2+1, and the process is transferred to S3-4 for processing; If the message transmission between the production party and the business party is suspended, the message transmission suspension is displayed on the touch screen, and the process goes to S1-3 for processing; The S3-4 specifically includes: H@k2=1, the business side transmits the line loss fault message P@k2 of the k2th time period of the production side to the background computer. After the background computer stores and displays the line loss fault message, it assigns the situation code G@k1 exported for response of the k1th time period of the production side to 1, and transfers to S3-5 for processing; H@k2=0, assign the status code G@k1 used for the response of the k1th timing period to 0, and transfer to S3-5 for processing.
2. The line loss fault identification method according to claim 1, characterized in that: The working mode includes: registering the identification message sent back by the background computer, and constructing a message table in the main control module of the meter reading module to store the confirmation characters sent back by the background computer; constructing internal parameters to register all variable parameters and constant participation status codes transmitted by the meter reading module message, and synchronously adding a working thread to implement the measurement of the entire electric energy of the monitored cable and the collection of electric energy information and transmit it to the line loss fault handling thread one, and transmit the identification message of the line loss fault to the background computer.
3. A line loss fault identification system, characterized in that: include: The meter reading module and the back-end computer connected to the meter reading module, the meter reading module is used to identify the line loss fault, and then transmit the identified line loss fault information to the back-end computer for storage and display; The backend computer is used to send a confirmation character back to the meter reading module after receiving the line loss fault message; The line loss fault identification system further includes: The preset module is used for work presets; the control module is used for the first round of control presets; the iteration module is used for the method iteration stage; the identification module is used to determine whether the production side has a hard termination. If so, the production side's process is completed, the business side is in manual working mode, and different production sides implement message transmission; The preset module is also used to treat the line loss fault handling thread 2 as the business party for message transmission, and maintain the working mode for a long time; to construct the timing period quantity currently used for sampling by the business party is k1, and k1 is given an initial value of one; to perform initial operation on all variable parameters and constant participation status codes in the business party, that is, when k1 is 1, all variable parameters and constant participation status codes are given an initial quantity; to start the line loss fault handling thread 1, and treat it as the production party; to construct the current control timing period quantity of the production party is k2, and k2 is given an initial value of one; to perform initial operation on all variable parameters, constant parameters and status codes in the production party, and when k2 is 1, all variable parameters and constant participation status codes are given an initial quantity; The variable parameters include: a response code of the detection message, whose initial value is zero; a time-consuming statistical module 1, whose initial value is zero; The constant parameters include: a time threshold value 1, whose value is a value that is arbitrarily higher than zero; a time interval 1 for detecting messages, whose value is a value that is arbitrarily lower than the time threshold value 1 and higher than zero; The situation codes include situation codes derived for responses, the initial quantity of which is zero; The variable parameters include: a detection message, the initial amount of which is zero; Time consumption statistics module 2, its starting amount is zero; Line loss fault message, the initial amount is zero; The constant parameters include: time consumption threshold 2, whose value is consistent with time consumption threshold 1; time interval 2 of the detection message, whose value is consistent with time interval 1 of the detection message; The situation code includes a derived useful situation code, the initial quantity of which is zero; The control module is also used for the production side to transmit the detection message X1@k2 of the k2th timing period to the business side; and for the business side to receive the detection message of the k2th timing period from the production side, derive the response code Y1@k1 of the detection message of the k1th timing period from the business side by equation (1), and transmit it to the production side; Y1@k1=X1@k2+PPP (1) In equation (1), PPP represents the time interval of the detection message, which is one. The response code Y1@k1 is used by the producer to receive the detection message of the k1th timing period from the business party. k2 is incremented by 1. Equation (2) is used to derive the detection message X1@k2 of the k2th timing period of the producer and transmit it to the business party: X1@k2=Y1@k1+QQQ (2) In equation (2), QQQ represents the time interval of the detection message. It is used for the business party to receive the detection message of the k2th timing period from the producer. k1 is incremented by 1. The response code Y1@k1 of the detection message of the k2th timing period of the business party is derived by equation (1) and transmitted to the producer. The iteration module is also used for the producer to receive the response code Y1@k1 of the detection message of the k1th timing period transmitted by the business party, and to implement the message transmission status identification of the producer; used to assign the derived useful status code H@k2 of the k2th timing period of the producer to 1, and transmit the detection message X1@k2, line loss fault message P@k2 and derived useful status code H@k2 of the k2th timing period of the producer to the business party; used for the business party to receive the detection message X1@k2 of the k2th timing period transmitted by the producer, and store it in the business party to implement the message transmission status identification; used for the business party to receive the line loss fault message P@k2 and derived useful status code H@k2 of the k2th timing period transmitted by the producer, and implement the derived effective identification; used to transmit the response code Y1@k1 of the detection message of the k1th timing period, and the derived status code G@k1 for response to the producer; used for the producer to receive the derived status code G@k1 for response of the k1th timing period transmitted by the business party, and implement the derived response identification; The iteration module is also used to determine whether the condition of equation 3 is met. If so, the time-consuming statistical module 2 ZZZ is cleared to confirm that the message transmission between the production party and the business party is correct; if not, the time-consuming statistical module 2 ZZZ is increased by 1; |Y1@k1-1-Y1@k1|>0 (3) In equation (3), Y1@k1-1 represents the response code of the detection message of the business party in the k1-1th timing period; It is used to determine whether the condition of equation (4) is met. If it is met, it is confirmed that the message transmission between the producer and the business party is terminated; if it is not met, it is confirmed that the message transmission between the producer and the business party begins to be terminated; ZZZ-H>0 (4) In equation (4), H represents the time-consuming threshold 2; if the message transmission between the producer and the service party is correct, then k2 is incremented by 1, and equation (2) is used to derive the detection message X1@k2 of the producer's k2th timing period; then the confirmation character of the k1th timing period in the message table is taken out, and the line loss fault message P@k2 of the k2th timing period is derived; If the message transmission between the producer and the business party is initially terminated, then k2 is incremented by 1, and the detection message X1@k2=Y1@k1+1 of the producer's k2th timing period is derived, and the line loss fault message P@k2 of the producer's k2th timing period is made to be P@k2=P@k2-1, where P@k2-1 represents the line loss fault message of the producer's k2-1th timing period; If the message transmission between the producer and the business party is suspended, the message transmission suspension is displayed on the touch screen; The iteration module is also used for H@k2=1, the business party transmits the line loss fault message P@k2 of the k2th time period of the production party to the background computer, and after the background computer stores and displays the line loss fault message, the situation code G@k1 exported for response of the k1th time period of the production party is assigned a value of 1; H@k2=0, the situation code G@k1 derived for response in the k1th timing period is assigned a value of 0; The iteration module is also used for Y1@k1=1, assigning the derived useful status code H@k2 of the k2th timing period of the producer to 0, and transferring to S4 for processing; Y1@k1=0, determine whether H@k2 is 1. If so, continue to pass the derived useful situation code H@k2 and line loss fault message P@k2 of the k2th timing period of the production party to the business party, and then transfer to S4 for processing; if not, transfer to S4 for processing.
4. The line loss fault identification system according to claim 3, characterized in that: The working mode includes: registering the identification message sent back by the background computer, and constructing a message table in the main control module of the meter reading module to store the confirmation characters sent back by the background computer; constructing internal parameters to register all variable parameters and constant participation status codes transmitted by the meter reading module message, and synchronously adding a working thread to implement the measurement of the entire electric energy of the monitored cable and the collection of electric energy information and transmit it to the line loss fault handling thread one, and transmit the identification message of the line loss fault to the background computer.
Citation Information
Patent Citations
State detecting method, system and apparatus
CN101383734A
Link health detection method and device
CN112152880A