Smart terminal self-adaptive commissioning method and system
By using automatic identification and regulation functions and real-time data acquisition and comparison analysis methods in the power system, the problems of poor adaptability and insufficient accuracy during the power system operation are solved, and an efficient and accurate operation process is achieved, and the stability and reliability of the system are improved.
Patent Information
- Application Number
- CN202510083510.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-20
- Publication Date
- 2025-05-06
AI Technical Summary
During the operation of the power system, due to the diversified equipment configuration of the manufacturers, the accuracy needs to be further optimized due to the complex dynamic topological changes and network environment.
The equipment is put into operation to send a test command to the relay protection device, triggering it to output preset voltage and current analog signals to the smart terminal. The smart terminal receives the signal and uploads real-time data to the main distribution station. The put into operation equipment performs the automatic identification of regulations function, obtains communication regulations from smart terminals, analyzes regulations protocols, and conducts comparison and analysis of real-time data to form comparison and analysis and verification result data.
It significantly improves the operation efficiency, reduces errors and time-consuming in the manual configuration process, reduces professional requirements, reduces labor costs, and improves the efficiency and reliability of the operation of relay protection equipment and smart terminals in the power system.
Smart Images

Figure CN119944959A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of smart terminal commissioning, and specifically relates to a smart terminal adaptive commissioning method and system. Background Art
[0002] Smart terminals are widely used in the fields of electricity, industrial Internet of Things, etc. In traditional power systems, the commissioning process of smart terminals usually relies on manual configuration and debugging. Before commissioning, technicians need to manually set the relay protection device to generate test signals and manually configure the communication parameters of the smart terminal to ensure smooth communication with the distribution master station. Due to the wide variety of communication protocols used in power systems, technicians also need to have rich professional knowledge and experience. This manual configuration and debugging method has many shortcomings. Due to the existence of human factors, errors are prone to occur during the configuration process, resulting in poor communication or data anomalies, which in turn affects the stable operation of the power system.
[0003] As an improvement, a relatively automated adaptive commissioning method has emerged in the prior art. The initial commissioning of the power system is completed through protocol communication among commissioning equipment, smart terminals, and distribution master stations. However, due to the non-uniform hardware interfaces, communication protocols, and configuration methods of equipment from different manufacturers, the equipment requires complex adaptation during the commissioning process. For example, common communication protocols such as IEC104, Modbus, and MQTT are quite different, requiring additional protocol conversion and compatibility work. In addition. On the other hand, the number of terminals put into operation on a large scale is huge, and they are faced with problems such as dynamic topology changes and complex network environments. In summary, in the current commissioning of power systems, the diversified equipment configurations of manufacturers have led to poor adaptability during the commissioning process, and the accuracy needs to be further optimized in the face of complex dynamic topology changes and network environments. Summary of the invention
[0004] The present invention provides an adaptive commissioning method and system for smart terminals, aiming to solve the problem that in the current commissioning of power systems, the diversified equipment configurations of manufacturers lead to poor adaptability during the commissioning process, and the accuracy needs to be further optimized in the face of complex dynamic topology changes and network environments.
[0005] In order to achieve the above object, the present invention adopts the following technical scheme: The present invention provides a method for self-adapting operation of a smart terminal, comprising the following steps: S1. Send a test command to the relay protection device through the commissioning equipment, triggering the relay protection device to output preset voltage and current simulation signals to the smart terminal; S2, the smart terminal receives the preset voltage and current analog signals, and uploads the real-time voltage and current data collected autonomously to the power distribution master station through the communication module; S3. The commissioned equipment performs the automatic protocol recognition function, obtains the communication protocol from the smart terminal, parses the protocol, compares and analyzes the real-time voltage and current data with the preset voltage and current analog signals in real time, performs difference detection and consistency verification, and forms comparative analysis and verification result data; S4. If the comparison analysis and verification result data meet the preset data of the commissioning requirements, the preliminary commissioning of the power system is completed; if the preset data of the commissioning requirements are not met, the commissioning is not carried out and a fault report is generated.
[0006] In some implementations, in S1 , the test command includes a preset instruction for triggering the relay protection device to generate ABC three-phase voltage and current signals.
[0007] In some implementations, in S3, the automatic identification protocol function specifically includes: S31, communication access initialization, the commissioning equipment establishes a connection with the smart terminal, and automatically configures the interface parameters; S32, data stream input capture, the operational equipment monitors the data stream transmitted from the smart terminal and extracts the communication message; S33, sending a detection command, and preliminarily determining the protocol type through the response returned by the smart terminal; S34, analyzing the characteristic fields of the input message and extracting key fields; S35, calling the protocol feature library, and comparing the extracted data flow message with the rules in the protocol feature library; S36, feature comparison and matching, determining the protocol type corresponding to the current smart terminal; S37, field parsing, parse and extract target data fields according to the specification definition.
[0008] Further, in S31, the commissioning equipment automatically configures interface parameters to ensure the establishment of a basic communication environment, and checks whether the terminal returns a communication data stream to ensure that the line is unobstructed; Among them, the interface parameters include baud rate, data format and port type.
[0009] Further, in S33, the detection instruction includes typical commands of different protocols, and the typical commands of different protocols include: a read holding register instruction of MODBUS, a read table address command of DL / T645, and a read message type request of IEC61850.
[0010] Furthermore, in S34, analyzing the characteristic fields of the input message specifically includes: checking the starting character of the message, checking the length bit offset position of the data frame, checking the check bit rule, and determining whether the data field arrangement conforms to a specific mode of a preset protocol.
[0011] In some implementations, in S35, the protocol feature library includes: feature fields, message formats, and communication rules of mainstream communication protocols.
[0012] Furthermore, S36 specifically includes: using regular expression matching, feature vector analysis, and frame-by-frame verification comparison to compare the extracted data stream messages with the rules in the protocol feature library one by one.
[0013] In some implementations, in S4, the fault report includes: difference data, transmission abnormality data, and suggestion data.
[0014] The present invention also provides a smart terminal adaptive commissioning system, the system includes a test module, a data acquisition module, an identification and analysis module and a commissioning determination module, wherein: The test module is used to send a test command to the relay protection device through the commissioning equipment, triggering the relay protection device to output preset voltage and current simulation signals to the smart terminal; The data acquisition module is set in the smart terminal. The data acquisition module is used to receive preset voltage and current analog signals, and upload the autonomously collected real-time voltage and current data to the power distribution master station through the communication module; The identification and analysis module is set in the commissioning equipment. The identification and analysis module is used to perform the automatic identification protocol function, obtain the communication protocol from the smart terminal, analyze the protocol, compare and analyze the real-time voltage and current data with the preset voltage and current analog signals in real time, perform difference detection and consistency verification, and form comparison analysis and verification result data; The commissioning judgment module is set in the commissioning equipment. The commissioning judgment module is used to judge: if the comparison analysis and verification result data meet the preset data of the commissioning requirements, the preliminary commissioning of the power system is completed; if the preset data of the commissioning requirements are not met, the commissioning is not carried out and a fault report is generated.
[0015] Compared with the prior art, the method and system for self-adapting operation of a smart terminal of the present invention have the following beneficial effects: The present invention provides a method for self-adapting commissioning of a smart terminal, which automatically sends a test command to a relay protection device through a commissioning device, triggering it to output a preset voltage and current analog signal to the smart terminal. After receiving the signal, the smart terminal uploads the real-time voltage and current data collected autonomously to the power distribution master station through a communication module. The commissioning device performs an automatic protocol recognition function, obtains communication protocols from the smart terminal, parses protocol protocols, and compares and analyzes the real-time data and verifies them. The preliminary commissioning or fault warning of the power system is completed by judgment. The present invention significantly improves the commissioning efficiency and reduces errors and time consumption in the manual configuration process. The automatic recognition protocol function also reduces the requirements for professional level and reduces labor costs. The present invention improves the problems of complex manual configuration of multiple protocols and low error verification efficiency in the current commissioning method, realizes multi-terminal automatic adaptation and protocol adaptive parsing, has wide applicability, and improves the efficiency and reliability of the commissioning of relay protection equipment and smart terminals in the power system through efficient protocol adaptation, accurate data extraction, and strong automatic fault detection and compatibility. The present invention can be applied to the commissioning scenarios of smart terminals, and has certain applicability in providing an efficient and accurate commissioning method for the commissioning process of multi-protocol and multi-device environments. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The drawings in the specification are used to provide further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.
[0017] Figure 1 A schematic diagram of the process architecture of a method for self-adapting operation of a smart terminal according to the present invention; Figure 2 A schematic diagram of the process architecture of the automatic identification protocol function in a smart terminal adaptive commissioning method of the present invention. DETAILED DESCRIPTION
[0018] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.
[0019] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0020] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0021] In the description of the embodiments of the present invention, it should be noted that if the terms "upper", "lower", "horizontal", "inner", etc. indicate an orientation or positional relationship based on the orientation or positional relationship shown in the drawings, or the orientation or positional relationship in which the product of the invention is usually placed when in use, it is only for the convenience of describing the present invention and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention. In addition, the terms "first", "second", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.
[0022] In addition, if the term "horizontal" appears, it does not mean that the component must be absolutely horizontal, but can be slightly tilted. For example, "horizontal" only means that its direction is more horizontal than "vertical", which does not mean that the structure must be completely horizontal, but can be slightly tilted.
[0023] In the description of the embodiments of the present invention, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "set", "install", "connect", and "connect" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal connection of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0024] like Figure 1 As shown, the present invention provides a method for self-adapting operation of a smart terminal, comprising the following steps: S1. Send a test command to the relay protection device through the commissioning equipment, triggering the relay protection device to output preset voltage and current simulation signals to the smart terminal; S2, the smart terminal receives the preset voltage and current analog signals, and uploads the real-time voltage and current data collected autonomously to the power distribution master station through the communication module; S3. The equipment in operation performs the automatic protocol recognition function, obtains the communication protocol from the smart terminal, parses the protocol, compares and analyzes the real-time voltage and current data with the preset voltage and current analog signals in real time, performs difference detection and consistency verification, and forms comparison analysis and verification result data; S4. If the comparison analysis and verification result data meet the preset data of the commissioning requirements, the preliminary commissioning of the power system is completed; if the preset data of the commissioning requirements are not met, the commissioning is not carried out and a fault report is generated.
[0025] The commissioning method of the present invention sends instructions to the relay protection device through the commissioning equipment, and the trigger device outputs a simulated electrical quantity signal; the smart terminal collects the three-phase voltage and current signals output by the relay protection device in real time and uploads them to the main station, and the commissioning equipment uses automatic protocol parsing technology to obtain the communication protocol information of the smart terminal, extracts the electrical quantity data collected by the terminal, and compares and analyzes it with the corresponding data received by the power main station, thereby fully verifying the collection and transmission functions between the smart terminal and the main station. The automatic protocol recognition technology, real-time data collection and multi-layer data comparison and analysis mechanism of the present invention improve the commissioning efficiency of relay protection equipment and smart terminals, while ensuring the accuracy and reliability of data transmission. The present invention can be relatively widely used in on-site commissioning and remote operation and maintenance scenarios of relay protection equipment.
[0026] In some implementations, a method for self-adapting operation of a smart terminal of the present invention is performed according to the following steps: The commissioning equipment sends a test command to the relay protection device to trigger the relay protection device to output the preset voltage and current simulation signal. The relay protection device generates ABC three-phase voltage and current signals according to the preset instructions and outputs the signal to the smart terminal.
[0027] The smart terminal receives the three-phase voltage and current signals output by the relay protection device, and uploads the collected voltage, current and other data information to the power distribution master station in real time through the built-in communication module (such as 4G communication module or other wireless communication module).
[0028] The operational equipment performs the function of automatically identifying the protocol, obtains the currently used communication protocol from the smart terminal, and parses the relevant protocol to obtain the voltage, current and other collected data uploaded by the terminal. In this way, the operational equipment can adapt to the communication protocols of different terminals and realize efficient cross-device data collection.
[0029] The distribution master station receives voltage, current and other data uploaded by the smart terminal through a unified collection platform. At the same time, the commissioned equipment extracts the same voltage and current signal data from the smart terminal according to the recognized protocol and parsed data stream. The commissioned equipment conducts real-time comparative analysis of the self-collected data and the collected data received by the distribution master station, and uses technical means of difference detection and consistency verification to detect whether the equipment's collection and transmission performance meets the expected requirements.
[0030] When the commissioned equipment completes data collection, protocol analysis, distribution master station data comparison, and consistency verification, if all test items meet the commissioning requirements, the power system is initially commissioned. If discrepant data or transmission anomalies are found during the detection process, a fault report is generated through the exception handling mechanism, and the user is prompted to perform further diagnosis and maintenance operations on the equipment.
[0031] The present invention significantly improves the operation efficiency of relay protection equipment and smart terminals through real-time data collection and multi-layer data comparison and analysis mechanism, while ensuring the accuracy and reliability of data transmission.
[0032] In some embodiments, the automatic protocol recognition of the present invention can automatically detect, analyze, match and parse the data stream and communication messages output by the smart terminal, identify and adapt the communication protocol used by it (such as IEC60870-5-104, IEC60870-5-101, MQTT protocol for power distribution Internet of Things, and DL / T 698 series standard protocols, etc.), thereby realizing seamless extraction and subsequent processing of terminal collected data. The automation, efficiency and compatibility of the entire protocol recognition process are good, providing technical support for the commissioning of equipment in multiple protocol environments.
[0033] like Figure 2 As shown, further, the automatic identification protocol function of the present invention specifically includes: Communication access initialization includes: the commissioning equipment establishes a connection with the smart terminal through the communication module (serial port, TCP / IP and other interfaces). The commissioning equipment will automatically configure the interface parameters, such as baud rate, data format, port type, etc., to ensure the establishment of the basic communication environment. Check whether the terminal returns the communication data flow to confirm that the line is unobstructed.
[0034] Data stream input capture includes: the operating equipment monitors the data stream transmitted from the smart terminal and extracts the communication message from it. The data stream may include real-time electrical quantity information such as voltage and current, and may also include test response results. The data stream is stored in the buffer area to prepare for subsequent message analysis.
[0035] Sending detection instructions includes: If the smart terminal supports multiple protocols, the commissioning equipment sends a series of predefined general detection instructions (such as handshake instructions, read request frames) to the smart terminal and observes the returned response. The detection instructions may be typical commands of different protocols: MODBUS sends a "read holding register" instruction and returns register data.
[0036] DL / T645 sends a "read meter address" command, and the terminal returns meter information. IEC61850 sends a "read message type" request, and the terminal returns the corresponding GOOSE frame structure. Based on the format structure and feature fields of the response, the protocol type is preliminarily determined.
[0037] Analyze the characteristic fields of the input message, including analyzing the received return data or the data stream actively uploaded by the smart terminal: Check the starting characters of the message (such as "68H", "0x03", etc.). Check the length bit offset position and check bit (CRC) rules of the data frame. Determine whether the data field arrangement conforms to the specific mode of a certain protocol. Extract key fields in the message, such as data type identifier, data content starting position and other information, to provide input for protocol matching.
[0038] The protocol feature library is retrieved, including the feature library of multiple mainstream communication protocols built into the operational equipment. Each protocol contains its necessary feature fields, message formats and communication rules.
[0039] Common specification features include: MODBUS protocol, function code field (such as 0x03, read holding register), address field (0x00-0xFF). DL / T645, message header identifier (68H), address field (6-byte table number), data field start position. IEC61850, fields supported by telematics communication protocol such as GOOSE frame parsing structure.
[0040] Feature comparison and matching includes comparing the extracted data flow messages with the rules in the protocol feature library one by one. The comparison algorithm can be in the following forms: Regular expression matching verifies whether the message conforms to the format rules of a certain protocol through pattern recognition.
[0041] Feature vector analysis extracts key fields in the message as feature vectors, matches them with standard vectors in the protocol library, and determines the similarity.
[0042] Frame-by-frame verification and comparison: according to the protocol definition, the data meaning of each block in the message is analyzed frame by frame to verify the complete match.
[0043] After successful matching, the protocol type corresponding to the current smart terminal can be determined.
[0044] Field parsing, according to the specification definition, parse and extract the target data field, as follows: Three-phase voltage (Ua, Ub, Uc). Three-phase current (Ia, Ib, Ic). Electrical quantities such as frequency and power factor. The correctness of the data field must also be verified during the analysis process (such as CRC verification and check bit verification).
[0045] The protocol recognition result is output. After the protocol recognition is completed, the commissioning equipment will automatically generate the recognition result and record the recognized protocol type, matching degree and communication parameters. If the terminal protocol is successfully matched, the recognized protocol type will be used as the basis for subsequent commissioning data collection. If the match fails, an error message is returned and corrections are made through other means (such as manual configuration or fault diagnosis).
[0046] The following is a detailed description of a smart terminal adaptive operation method-based system of the present invention through specific embodiments.
[0047] In actual operation, it is applied to IEC60870-5-104 protocol identification and analysis.
[0048] TCP connection initialization: The commissioned equipment establishes a TCP / IP communication connection with the smart terminal through the Ethernet interface, and monitors and captures the active reporting data frames or response data frames sent by the terminal. The 104 protocol runs on the TCP protocol, and the establishment of the communication connection verifies the basic network connectivity.
[0049] Data flow capture: The commissioning equipment captures the message data flow from the smart terminal and stores it in the cache for subsequent analysis. The data flow message can be the ASDU data (electrical quantity information) of the monitoring direction reported actively or the result of the terminal feedback after the commissioning equipment sends the control direction instruction.
[0050] Send handshake (start frame) detection: The commissioned equipment sends a start link command (start general call frame or U frame, such as 68 04 43 00 00 00) to the smart terminal according to the definition of 104 protocol, and observes whether the response frame structure returned conforms to the 104 protocol. If the terminal returns 68 04 83 00 00 00 (U frame confirmation), it proves that the terminal supports 104 protocol communication.
[0051] Verify the data link frame header format: Analyze the response data frame received by the commissioned equipment to see if it complies with the 104 protocol data frame start format: Fixed start character of the data link frame: The frame header is 68H. Identify the second bit of the length field (such as 68XX). Whether the data starts with a control field (such as the send sequence number, receive sequence number).
[0052] Preliminary identification of protocol characteristics: Structural characteristics of data frames: Data frames contain control fields and application service units (ASDUs). The ASDU type identification field may contain monitoring information (M_ME_TA_1) or control information (C_SC_NA_1). If the above characteristics conform to the 104 protocol, it is preliminarily determined that the smart terminal uses the 104 protocol.
[0053] Data frame structure verification: The data frame header in the data stream should meet the following characteristics: frame start character (68H), length field (1 byte, indicating the message length), control field (fixed 4 bytes), and specific structure verification of the application service unit (ASDU).
[0054] If the message is 68 0E 00 00 00 01 64 01 06 07 00 01 00 0A 00, the parsed length, type identifier and information body number are as follows: 68 0E: frame header, message length 14 bytes. 64 01: type identifier, indicating the current telemetry value. 0A 00: telemetry value 0x000A (decimal 10).
[0055] ASDU fields are parsed item by item and compared with the protocol library: The 104 protocol feature library built into the commissioned equipment contains definitions of different type identifiers and data content formats, which are compared one by one with the captured ASDU data. Comparison focus: Type identifier (TypeIdentification TI): such as M_ME_NB_1 (scaled measurement value). Variable structure qualifier (VariableStructure Qualifier VSQ). Cause of Transmission (Cause of Transmission COT). Address field (Originator Address). Information object address (Information Object Address IOA). Through this item-by-item matching process, it is confirmed that the protocol is 104.
[0056] Data parsing and extraction: The commissioning equipment parses the voltage, current, electric power and other information in the ASDU message in sequence: Information body address (IOA): locates specific electrical parameters, for example: 01 00 00 may represent the first sampling point of the three-phase current. Data value field: According to the 104 protocol, electrical quantities use standard numerical format (signed 16-bit or floating point number). For example, the data field 0A 00 means that the current value is 10 (the magnification is 1). Timestamp: If the ASDU contains a timestamp (CP56Time2a), its seconds, minutes, days, months and years are also decoded.
[0057] Protocol confirmation result output: The commissioned equipment records and outputs the recognition result: the current protocol used is 104 protocol, and the matching basis is listed in detail (such as frame header format, data structure analysis results). If the recognition fails, the device automatically switches to other protocol feature detection processes (such as MODBUS protocol or DL / T 645 protocol).
[0058] In summary, the present invention provides an adaptive commissioning method and system for smart terminals, which automatically sends a test command through the commissioning equipment, triggers the relay protection device to output an analog signal, and the smart terminal collects data and uploads it to the power distribution master station. The commissioning equipment has an automatic protocol recognition function, which can accurately parse and verify data to ensure the accuracy of commissioning. The present invention improves the commissioning efficiency, reduces the time and cost of manual configuration and debugging, and the technical difficulty, and can easily realize the rapid commissioning of smart terminals. The present invention enhances the stability and reliability of the system, and through the automatic recognition and verification functions, effectively avoids failures caused by configuration errors or poor communications, and provides technical data support for technicians to handle failures, which has better effects when applied to the field of smart terminal commissioning.
[0059] Finally, it should be noted that the above is only a preferred embodiment of the present invention and does not limit the present invention in any form. Any ordinary technician in the industry can smoothly implement the present invention as shown in the specification and described above, and any equivalent changes, modifications and evolutions made by using the technical content disclosed above are all equivalent embodiments of the present invention. At the same time, any equivalent changes, modifications and evolutions made to the above embodiments based on the essential technology of the present invention are still within the protection scope of the technical solution of the present invention.
Claims
1. A method for self-adapting operation of a smart terminal, characterized in that: The steps include: S1. Send a test command to the relay protection device through the commissioning equipment, triggering the relay protection device to output preset voltage and current simulation signals to the smart terminal; S2, the smart terminal receives the preset voltage and current analog signals, and uploads the real-time voltage and current data collected autonomously to the power distribution master station through the communication module; S3. The equipment in operation performs the automatic protocol recognition function, obtains the communication protocol from the smart terminal, parses the protocol, compares and analyzes the real-time voltage and current data with the preset voltage and current analog signals in real time, performs difference detection and consistency verification, and forms comparison analysis and verification result data; S4. If the comparison analysis and verification result data meet the preset data of the commissioning requirements, the preliminary commissioning of the power system is completed; if the preset data of the commissioning requirements are not met, the commissioning is not carried out and a fault report is generated.
2. The method for self-adapting operation of a smart terminal according to claim 1, characterized in that: In S1 , the test command includes a preset instruction for triggering the relay protection device to generate ABC three-phase voltage and current signals.
3. The method for self-adapting operation of a smart terminal according to claim 1, characterized in that: In S3, the automatic identification protocol function specifically includes: S31, communication access initialization, the commissioning equipment establishes a connection with the smart terminal, and automatically configures the interface parameters; S32, data stream input capture, the operational equipment monitors the data stream transmitted from the smart terminal and extracts the communication message; S33, sending a detection command, and preliminarily determining the protocol type through the response returned by the smart terminal; S34, analyzing the characteristic fields of the input message and extracting key fields; S35, calling the protocol feature library, and comparing the extracted data flow message with the rules in the protocol feature library; S36, feature comparison and matching, determining the protocol type corresponding to the current smart terminal; S37, field parsing, parse and extract target data fields according to the specification definition.
4. The method for self-adapting operation of a smart terminal according to claim 3, characterized in that: In the S31, the commissioning equipment automatically configures interface parameters to ensure the establishment of a basic communication environment, and checks whether the terminal returns a communication data stream to ensure that the line is unobstructed; Among them, the interface parameters include baud rate, data format and port type.
5. The method for self-adapting operation of a smart terminal according to claim 3, characterized in that: In the S33, the detection instruction includes typical commands of different protocols, and the typical commands of different protocols include: a read holding register instruction of MODBUS, a read table address command of DL / T645, and a read message type request of IEC61850.
6. The method for self-adapting operation of a smart terminal according to claim 3, characterized in that: In said S34, analyzing the characteristic fields of the input message specifically includes: checking the starting character of the message, checking the length bit offset position of the data frame, checking the check bit rule, and judging whether the data field arrangement conforms to the specific mode of the preset protocol.
7. The method for self-adapting operation of a smart terminal according to claim 1, characterized in that: In said S35, the protocol feature library includes: feature fields, message formats and communication rules of mainstream communication protocols.
8. The method for self-adapting operation of a smart terminal according to claim 7, characterized in that: The S36 specifically includes: using regular expression matching, feature vector analysis, and frame-by-frame verification comparison to compare the extracted data stream messages with the rules in the protocol feature library one by one.
9. The method for self-adapting operation of a smart terminal according to claim 1, characterized in that: In said S4, the fault report includes: difference data, transmission abnormality data and suggestion data.
10. A system based on the method for self-adapting operation of a smart terminal as claimed in any one of claims 1 to 9, characterized in that: The system includes a test module, a data acquisition module, an identification and analysis module, and an operation determination module, wherein: The test module is used to send a test command to the relay protection device through the commissioning equipment, triggering the relay protection device to output preset voltage and current simulation signals to the smart terminal; The data acquisition module is set in the smart terminal. The data acquisition module is used to receive preset voltage and current analog signals, and upload the autonomously collected real-time voltage and current data to the power distribution master station through the communication module; The identification and analysis module is set in the commissioning equipment. The identification and analysis module is used to perform the automatic identification protocol function, obtain the communication protocol from the smart terminal, analyze the protocol, compare and analyze the real-time voltage and current data with the preset voltage and current analog signals in real time, perform difference detection and consistency verification, and form comparison analysis and verification result data; The commissioning judgment module is set in the commissioning equipment. The commissioning judgment module is used to judge: if the comparison analysis and verification result data meet the preset data of the commissioning requirements, the preliminary commissioning of the power system is completed; if the preset data of the commissioning requirements are not met, the commissioning is not carried out and a fault report is generated.