Communication control method and device of power transformation test instrument, terminal equipment and storage medium

By obtaining the equipment information and connection methods of the substation test instrument, using the database to match the communication protocol, and automatically establishing a two-way connection, it solves the problem of inefficient communication connection between the substation test instrument and realizes automated and efficient communication connections.

CN120583160APending Publication Date: 2025-09-02ELECTRIC POWER RES INST OF GUANGDONG POWER GRID CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510717402.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-30
Publication Date
2025-09-02

AI Technical Summary

Technical Problem

The communication protocol, interface form and data format of the substation test instruments produced by different manufacturers are different, resulting in poor interoperability of equipment and low data acquisition and analysis efficiency. The connection and communication between traditional test equipment and control/display hosts rely on manual configuration, the process is cumbersome and error-prone, which seriously affects the test efficiency.

Method used

By obtaining the equipment information and connection method of the substation test instrument, determine the type of equipment, and perform communication protocol matching in the preset database; when the matching is successful, start the driver and data processor of the target communication protocol to establish a two-way connection; when the matching fails, obtain the updated communication protocol for compatibility testing and establish a connection.

Benefits of technology

The communication connection of the substation test instrument is automated, the communication connection efficiency is improved, the operation process is simplified, the equipment connection is smooth and stable, and the work efficiency is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120583160A_ABST
    Figure CN120583160A_ABST
Patent Text Reader

Abstract

The invention discloses a communication control method and device for a power transformation test instrument, terminal equipment and a storage medium, and is applied to the field of power transformation tests.The method comprises the steps that by obtaining equipment information and a connection mode of the power transformation test instrument, the equipment type corresponding to the equipment information is determined; performing communication protocol matching in a preset database according to the equipment type, the connection mode and test data unidirectionally transmitted by the power transformation test instrument; when the communication protocols are successfully matched, obtaining a target communication protocol, starting a driving program and a data processing program corresponding to the target communication protocol, and establishing communication bidirectional connection with the power transformation test instrument through the driving program and the data processing program; and when the communication protocol matching fails, acquiring an updated communication protocol corresponding to the power transformation test instrument, and establishing communication bidirectional connection with the power transformation test instrument based on the updated communication protocol. According to the invention, the communication connection efficiency of the power transformation test instrument is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of substation testing, and in particular to a communication control method, device, terminal equipment and storage medium of a substation testing instrument. Background Art

[0002] With the development of intelligent power systems, digital test instruments are increasingly being used in grid operation and maintenance. These test instruments are used to test and evaluate the performance of substation equipment, ensuring its safe and reliable operation. However, due to the wide variety of test instruments produced by different manufacturers, their communication protocols, interface formats, and data formats vary. This leads to poor interoperability and inefficient data collection and analysis in practical applications. Furthermore, the connection and communication between traditional test equipment and control / display hosts relies on manual configuration, a cumbersome and error-prone process. This results in inefficient communication connections for substation test instruments, seriously impacting testing efficiency.

[0003] Therefore, there is an urgent need for a communication control strategy for substation test instruments to solve the problem of low communication connection efficiency of substation test instruments. Summary of the Invention

[0004] The embodiments of the present invention provide a communication control method, apparatus, terminal equipment and storage medium for a power transformation test instrument, so as to solve the problem of low communication connection efficiency of the power transformation test instrument.

[0005] In order to solve the above problem, an embodiment of the present invention provides a communication control method for a transformer test instrument, comprising:

[0006] Obtaining the equipment information and connection method of the substation test instrument, and determining the equipment type corresponding to the equipment information;

[0007] Matching a communication protocol in a preset database based on the device type, the connection method, and the test data unidirectionally transmitted by the substation test instrument; wherein the database specifically includes: a plurality of known communication protocols, and each known device type, known connection method, and known test data corresponding to a known communication protocol;

[0008] When the communication protocol is successfully matched, the target communication protocol is obtained, a driver and a data processing program corresponding to the target communication protocol are started, and a bidirectional communication connection is established with the power transformation test instrument through the driver and the data processing program;

[0009] When the communication protocol matching fails, an updated communication protocol corresponding to the power transformation test instrument is obtained, and a bidirectional communication connection is established with the power transformation test instrument based on the updated communication protocol.

[0010] As an improvement to the above solution, matching the communication protocol in a preset database based on the device type, the connection mode, and the test data unidirectionally transmitted by the power transformation test instrument includes:

[0011] Matching a communication protocol in a preset database according to the device type, the connection mode and the test data unidirectionally transmitted by the power transformation test instrument;

[0012] If the device type successfully matches the known device type in the database, the connection method successfully matches the known connection method in the database, and the test data successfully matches the known test data in the database, and the successfully matched known device type, known connection method, and known test data correspond to the same known communication protocol, then the communication protocol is successfully matched, and the target communication protocol is determined based on the successfully matched known communication protocol;

[0013] Otherwise, the match fails.

[0014] As an improvement to the above solution, the step of obtaining the updated communication protocol corresponding to the power transformation test instrument includes:

[0015] Connect to the manufacturer's protocol update terminal corresponding to the power transformation test instrument;

[0016] In the manufacturer's protocol update terminal, an updated communication protocol corresponding to the power transformation test instrument is obtained; wherein the updated communication protocol is a communication protocol that does not exist in the database.

[0017] As an improvement to the above solution, establishing a bidirectional communication connection with the power transformation test instrument based on the updated communication protocol includes:

[0018] Based on each of the updated communication protocols, a compatibility test is performed on the power transformation test instrument;

[0019] If the compatibility test passes, a communication connection is established with the substation test instrument according to the updated communication protocol that passed the compatibility test;

[0020] If the compatibility test fails, the user will be prompted that the communication protocol does not exist.

[0021] As an improvement to the above solution, after establishing a bidirectional communication connection with the power transformation test instrument based on the updated communication protocol, the method further includes:

[0022] confirming the update device type, update connection method, and update test data corresponding to the update communication protocol;

[0023] The update communication protocol, as well as the update device type, update connection mode and update test data corresponding to the update communication protocol are stored in the database.

[0024] As an improvement to the above solution, this embodiment further includes:

[0025] When the communication connection with the substation test instrument is interrupted, the checksum value, sequence number and time stamp of the data packet currently transmitted are obtained;

[0026] If the checksum is not the checksum threshold, or the sequence number is missing, or the timestamps corresponding to the sequence number are not in the preset order, the data packet is damaged and the data is repaired using interpolation repair method and redundancy check repair method;

[0027] If the check value is the check threshold, the sequence number is not missing, and the timestamps corresponding to the sequence number are in the preset order, then the data packet is normal data.

[0028] As an improvement to the above solution, the device information includes: hardware ID, device model and version number.

[0029] Accordingly, an embodiment of the present invention further provides a communication control device for a transformer test instrument, comprising: a data acquisition module, a data matching module, a communication establishment module, and an update protocol module;

[0030] The data acquisition module is used to obtain the device information and connection mode of the substation test instrument and determine the device type corresponding to the device information;

[0031] The data matching module is configured to match a communication protocol in a preset database based on the device type, the connection method, and the test data unidirectionally transmitted by the substation test instrument; wherein the database specifically includes: a plurality of known communication protocols, and each of the known device types, known connection methods, and known test data corresponding to the known communication protocols;

[0032] The communication establishment module is used to obtain the target communication protocol when the communication protocol is successfully matched, start the driver and data processing program corresponding to the target communication protocol, and establish a two-way communication connection with the power transformation test instrument through the driver and the data processing program;

[0033] The update protocol module is used to obtain the updated communication protocol corresponding to the power transformation test instrument when the communication protocol matching fails, and establish a two-way communication connection with the power transformation test instrument based on the updated communication protocol.

[0034] Correspondingly, an embodiment of the present invention also provides a computer terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, it implements a communication control method for a substation test instrument as described in the present invention.

[0035] Correspondingly, an embodiment of the present invention also provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute a communication control method for a substation test instrument as described in the present invention.

[0036] As can be seen from the above, the present invention has the following beneficial effects:

[0037] The present invention provides a communication control method for a substation test instrument. The method determines the device type corresponding to the device information by acquiring device information and a connection mode of the substation test instrument; matches a communication protocol in a preset database based on the device type, the connection mode, and test data unidirectionally transmitted by the substation test instrument; when the communication protocol matches successfully, a target communication protocol is obtained, a driver program and a data processing program corresponding to the target communication protocol are started, and a bidirectional communication connection is established with the substation test instrument through the driver program and the data processing program; when the communication protocol matches unsuccessfully, an updated communication protocol corresponding to the substation test instrument is acquired, and a bidirectional communication connection is established with the substation test instrument based on the updated communication protocol. The present invention determines the device type based on the device information of the substation test instrument, matches the communication protocol based on the device type, the connection mode, and test data unidirectionally transmitted by the substation test instrument through a database; when the match succeeds, a target communication protocol is determined, and a driver program and a data processing program are started based on the communication protocol to establish a bidirectional communication connection with the substation test instrument; when the match fails, an updated communication protocol is acquired, and a bidirectional communication connection is established with the substation test instrument based on the updated communication protocol. The present invention realizes the automation of communication connection of the power transformation test instrument and improves the communication connection efficiency of the power transformation test instrument. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 This is a flow chart of a communication control method for a transformer test instrument provided by one embodiment of the present invention;

[0039] Figure 2 It is a structural diagram of a communication control device of a transformer test instrument provided by one embodiment of the present invention;

[0040] Figure 3 This is a schematic diagram of the structure of a terminal device provided by one embodiment of the present invention;

[0041] Figure 4 This is a schematic diagram of the connection between an intelligent terminal, a device under test, a monitoring / testing instrument, and manual input data provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0042] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.

[0043] Example 1

[0044] See also Figure 1 , Figure 1 FIG. 1 is a flow chart of a communication control method for a transformer test instrument provided by an embodiment of the present invention. Figure 1 As shown, this embodiment includes steps 101 to 104, and each step is specifically as follows:

[0045] Step 101: Obtain device information and connection mode of a substation test instrument, and determine the device type corresponding to the device information.

[0046] It should be noted that in this embodiment, an intelligent terminal integrating multiple modular hardware interfaces can be used to implement the communication control method for the substation test instrument described in this invention. The following communication methods are supported: 1) Wired communication: USB and Ethernet interfaces; 2) Wireless communication: Bluetooth and Wi-Fi; and 3) Private network communication: Fiber optic communication interfaces. When a test device is connected, the intelligent terminal automatically identifies the device type and hardware attributes through a pre-set interface, loads the corresponding driver, and initializes the communication protocol.

[0047] The test data collected by the intelligent terminal is processed in real time, formatted into unified data packets, and stored in the terminal's cache. In the event of unstable communication, the terminal supports breakpoint resume function, regularly pushing the cached data to the main station to ensure the integrity and real-time performance of the test results.

[0048] For a better explanation, see Figure 4 To illustrate the connection methods of intelligent terminals, equipment under test, monitoring / test instruments and manual data input.

[0049] In this embodiment, the device information includes: hardware ID, device model and version number.

[0050] Step 102: Match the communication protocol in a preset database based on the device type, the connection method and the test data unidirectionally transmitted by the substation test instrument; wherein the database specifically includes: a number of known communication protocols, and each known device type, known connection method and known test data corresponding to a known communication protocol for indexing.

[0051] In this embodiment, matching the communication protocol in a preset database based on the device type, the connection mode, and the test data unidirectionally transmitted by the power transformation test instrument includes:

[0052] Matching a communication protocol in a preset database according to the device type, the connection mode and the test data unidirectionally transmitted by the power transformation test instrument;

[0053] If the device type successfully matches the known device type in the database, the connection method successfully matches the known connection method in the database, and the test data successfully matches the known test data in the database, and the successfully matched known device type, known connection method, and known test data correspond to the same known communication protocol, then the communication protocol is successfully matched, and the target communication protocol is determined based on the successfully matched known communication protocol;

[0054] Otherwise, the match fails.

[0055] In a specific embodiment, the data format of the test data is set: a standardized design is performed for the data formats of at least 7 types of test equipment, using a hierarchical structure:

[0056] 1) Basic attribute layer: records the device's identification information, including timestamp, device ID, operating user ID, etc.

[0057] 2) Data description layer: defines the data type, measurement unit, and measurement method, used to describe the background information of the measurement result. For example, the unit of resistance value is "Ω" and the measurement method is "DC measurement";

[0058] 3) Data value layer: stores specific measurement data values, such as resistance value "2.5Ω" or winding deformation rate "1.2%".

[0059] Through the above hierarchical data design, the data formats of different devices are logically unified, laying the foundation for data interaction between devices.

[0060] Step 103: When the communication protocol is successfully matched, the target communication protocol is obtained, a driver and a data processing program corresponding to the target communication protocol are started, and a bidirectional communication connection is established with the substation test instrument through the driver and the data processing program.

[0061] In a specific embodiment, when a substation test instrument (such as a DC resistance tester or insulation resistance tester) is connected to a smart terminal, the device establishes a physical connection via a wired or wireless connection and automatically transmits device information such as the device's hardware ID, model, and version number. After receiving this device information, the smart terminal compares it with a device information database to determine the device type. For example, the system can identify whether the device is a DC resistance tester or an insulation resistance tester based on the hardware ID. Next, the terminal further determines the communication method used by the device through a communication protocol identification process, such as southbound or northbound protocol and other communication characteristics. For example, a DC resistance tester may use the Modbus RTU protocol, while an insulation resistance tester may use the IEC 61850 protocol. Upon connection, each device transmits data related to its test, such as resistance value, test current, and voltage. The format and transmission method of this data can help the terminal determine the device's communication protocol. For example, by detecting the data format, transmission rate, and packet identifier, the system can automatically identify whether the device uses Modbus RTU, CAN bus, or other industrial protocols.

[0062] Once the device type and communication protocol are identified, the intelligent terminal loads the appropriate driver and data processing program based on the device's specific requirements. For example, for devices supporting the Modbus protocol, the system automatically loads the Modbus RTU protocol driver and performs data processing based on the device's parameters. This step requires no manual intervention; the system dynamically loads the appropriate driver based on the device's characteristics. After driver loading, the intelligent terminal initializes communication and automatically configures relevant communication protocol parameters, such as the transmission rate, parity check, and data encryption method, to ensure the stability and security of the communication link. These parameters are typically adjusted based on signals automatically detected during device transmission, such as automatically setting the communication rate to 9600 or 19200 bps or enabling SSL / TLS encryption. All of this configuration is performed automatically by the system, eliminating the need for manual user input. Users simply connect the device to the intelligent terminal, and the system automatically identifies the device and completes the configuration. This process requires no manual intervention, significantly streamlining the operation process. This plug-and-play approach improves work efficiency and ensures smooth and stable device connections, allowing users to quickly begin using the device.

[0063] Step 104: When the communication protocol matching fails, an updated communication protocol corresponding to the power transformation test instrument is obtained, and a two-way communication connection is established with the power transformation test instrument based on the updated communication protocol.

[0064] In this embodiment, obtaining the updated communication protocol corresponding to the power transformation test instrument includes:

[0065] Connect to the manufacturer's protocol update terminal corresponding to the power transformation test instrument;

[0066] In the manufacturer's protocol update terminal, an updated communication protocol corresponding to the power transformation test instrument is obtained; wherein the updated communication protocol is a communication protocol that does not exist in the database.

[0067] In this embodiment, establishing a bidirectional communication connection with the power transformation test instrument based on the updated communication protocol includes:

[0068] Based on each of the updated communication protocols, a compatibility test is performed on the power transformation test instrument;

[0069] If the compatibility test passes, a communication connection is established with the substation test instrument according to the updated communication protocol that passed the compatibility test;

[0070] If the compatibility test fails, the user will be prompted that the communication protocol does not exist.

[0071] In this embodiment, after establishing a bidirectional communication connection with the power transformation test instrument based on the updated communication protocol, the method further includes:

[0072] confirming the update device type, update connection method, and update test data corresponding to the update communication protocol;

[0073] The update communication protocol, as well as the update device type, update connection mode and update test data corresponding to the update communication protocol are stored in the database.

[0074] In a specific embodiment, the intelligent terminal designed by the present invention can simultaneously handle the communication connection control of multiple different devices. The intelligent terminal has a built-in multi-protocol adaptation engine that supports the following functions: 1) Automatic protocol identification: Based on the device information library, the terminal can automatically determine the communication protocol used by the device (such as Modbus, IEC 61850, etc.); 2) Dynamic configuration: Adjust the communication method (such as Bluetooth, Wi-Fi, fiber optic) and transmission rate according to the protocol requirements; 3) Protocol compatibility expansion: Support future new devices to achieve protocol compatibility through online updating of the adaptation library.

[0075] When a new device is connected to an intelligent terminal, it automatically identifies the device's device information and communication protocol. It first checks whether the communication protocol used by the device is already in the database. If the protocol is already in the database, the system automatically loads the corresponding driver and protocol adapter layer to ensure smooth communication between the device and the terminal. If the device's intelligent protocol is not yet in the database, the system initiates an online update mechanism, automatically connecting to the manufacturer's cloud or protocol library (the manufacturer's protocol update terminal) for an update. During the update process, the intelligent terminal retrieves the latest protocol adapter library, which contains information such as the protocol format, data exchange rules, and communication parameters required by the new device. This update is typically incremental, updating only missing components without affecting the compatibility of existing devices. Simultaneously, the protocol adapter engine reloads the driver based on the new protocol's characteristics and performs compatibility testing on substation test equipment to ensure seamless integration of the new protocol with the terminal's existing communication system. These automated steps eliminate manual intervention, eliminating the need for users to manually update the device information library or configure protocols, significantly simplifying the device connection process. After the update is complete, the intelligent terminal provides users with an update log or notification, notifying them that support for the new protocol has been successfully added, ensuring they are up-to-date on device compatibility. Furthermore, as devices and technologies evolve, the protocol adaptation engine can continuously expand support for new protocols through regular updates to the adaptation library, thereby maintaining the long-term applicability and stability of the system. This multi-protocol adaptation design enables smart terminals to quickly adapt to changing device requirements and ensures strong compatibility and flexibility for future device access.

[0076] This embodiment also includes:

[0077] When the communication connection with the substation test instrument is interrupted, the checksum value, sequence number and time stamp of the data packet currently transmitted are obtained;

[0078] If the checksum is not the checksum threshold, or the sequence number is missing, or the timestamps corresponding to the sequence number are not in the preset order, the data packet is damaged and the data is repaired using interpolation repair method and redundancy check repair method;

[0079] If the check value is the check threshold, the sequence number is not missing, and the timestamps corresponding to the sequence number are in the preset order, then the data packet is normal data.

[0080] In a specific embodiment, when communication is interrupted or abnormal, the intelligent terminal automatically switches to offline mode and caches the test data in a local storage unit. When communication is restored, the terminal automatically resumes the transmission of unfinished data packets and sends a status report to the master station to ensure data integrity.

[0081] First, the intelligent terminal determines how to handle the abnormal situation by identifying the type of communication interruption. Communication interruptions can be caused by a variety of reasons, including network failures, device issues, and protocol errors. The system adopts different handling strategies based on the type of interruption. For example, in the event of a network interruption, the system automatically attempts to reconnect, while in the event of a protocol error, the terminal automatically adjusts protocol parameters to avoid repeated connection errors. Furthermore, device failures may require the terminal to perform diagnostics to determine whether a restart or hardware repair is necessary. By accurately identifying the interruption type, the system can select the most appropriate handling method.

[0082] After identifying the type of communication interruption, the terminal further determines whether the data is corrupted. Smart terminals use checksums, hashing algorithms, and data timing detection to ensure that each data packet is intact during transmission. For example, the system verifies data integrity by calculating a checksum value on the packet. If the checksum value does not match the checksum threshold, the packet is marked as corrupted. Furthermore, the terminal checks the packet's sequence number or timestamp to ensure that the packets arrive in the correct order. If some packet sequence numbers are missing or the order of the timestamps corresponding to the sequence numbers is inconsistent with the preset order, the system will also identify the data as corrupted. For corrupted data, the smart terminal analyzes the data type and selects an appropriate repair method. For minor corruption, such as missing packet fields or incomplete transmission of data, the system can repair the lost data by retransmitting the lost portion. For more severe corruption, the terminal requests the peer device to retransmit the damaged packet to ensure data integrity. In extreme cases, if data loss is extensive and cannot be recovered through retransmission, the system can use interpolation techniques to infer the lost data using historical data or predictive models and fill in the missing content to ensure data continuity. In addition, the terminal can also restore data based on redundant data or verification information through redundancy check repair.

[0083] Once data repair is complete, the system automatically resumes transmission of unfinished data packets, ensuring the order and integrity of data transmission. After communication is restored, the intelligent terminal intelligently resumes data transmission from the point of interruption and automatically sends a status report to the master station, informing the master station of the data recovery status and any anomalies or repair records. This automated transmission resumption process ensures smooth data transmission without manual intervention.

[0084] After data transmission is complete, the intelligent terminal performs a final data consistency and integrity check to verify the accuracy of all transmitted data. If any anomalies are detected, the system automatically initiates a repair or retransmission mechanism to ensure data consistency throughout the entire transmission process. This intelligent communication anomaly handling mechanism not only reduces human intervention but also improves the stability and reliability of data transmission, ensuring the integrity and accuracy of the final data.

[0085] In a specific embodiment, it also includes:

[0086] 1. Task distribution and reception between the master station and the terminal:

[0087] The master station sends test tasks to the intelligent terminal via a 4G / 5G dedicated line or local area network. The tasks include: 1) basic information of the device to be tested (such as device number and installation location); 2) test requirements (such as parameters to be collected and test conditions); 3) After receiving the task, the intelligent terminal parses the task parameters and generates a corresponding execution plan to complete the device measurement and data collection according to the plan.

[0088] 2. Real-time data upload and feedback mechanism:

[0089] During the test, the intelligent terminal uploads the collected data to the main station in real time. The main station conducts preliminary analysis of the data and feeds back key anomalies or errors to the intelligent terminal, guiding the user to adjust the test process.

[0090] 3. Centralized management and analysis functions of the main site:

[0091] As the core control platform of the entire system, the master station supports the following functions: 1) Centralized monitoring: real-time display of the test status of each terminal, data upload progress and other information; 2) Data analysis: trend analysis of historical test data and generation of equipment operation status reports; 3) Data storage and backup: using a distributed storage architecture to ensure data security and reliability.

[0092] 4. Data security and encryption measures:

[0093] To ensure the security of data during transmission, the system uses the following technologies: 1) TLS encryption protocol: end-to-end encryption of data packets to prevent eavesdropping or tampering; 2) Digital signature technology: generate a unique signature for key data to ensure the authenticity and integrity of the data.

[0094] See also Figure 2 , Figure 2 2 is a schematic structural diagram of a superconducting tape defect detection and control device provided by an embodiment of the present invention, comprising: a data acquisition module 201, a data matching module 202, a communication establishment module 203, and an update protocol module 204;

[0095] The data acquisition module is used to obtain the device information and connection mode of the substation test instrument and determine the device type corresponding to the device information;

[0096] The data matching module is configured to match a communication protocol in a preset database based on the device type, the connection method, and the test data unidirectionally transmitted by the substation test instrument; wherein the database specifically includes: a plurality of known communication protocols, and each of the known device types, known connection methods, and known test data corresponding to the known communication protocols;

[0097] The communication establishment module is used to obtain the target communication protocol when the communication protocol is successfully matched, start the driver and data processing program corresponding to the target communication protocol, and establish a two-way communication connection with the power transformation test instrument through the driver and the data processing program;

[0098] The update protocol module is used to obtain the updated communication protocol corresponding to the power transformation test instrument when the communication protocol matching fails, and establish a two-way communication connection with the power transformation test instrument based on the updated communication protocol.

[0099] It can be understood that the above-mentioned system embodiment corresponds to the method embodiment of the present invention, which can implement the communication control method of the substation test instrument provided by any one of the above-mentioned method embodiments of the present invention.

[0100] This embodiment obtains the device information and connection mode of the substation test instrument to determine the device type corresponding to the device information; matches the communication protocol in a preset database based on the device type, the connection mode, and the test data unidirectionally transmitted by the substation test instrument; when the communication protocol is successfully matched, the target communication protocol is obtained, the driver and data processing program corresponding to the target communication protocol are started, and a two-way communication connection is established with the substation test instrument through the driver and the data processing program; when the communication protocol is matched, the updated communication protocol corresponding to the substation test instrument is obtained, and based on the updated communication protocol, a two-way communication connection is established with the substation test instrument. The present invention realizes the automation of the communication connection of the substation test instrument and improves the communication connection efficiency of the substation test instrument.

[0101] Example 2

[0102] See also Figure 3 , Figure 3 It is a schematic diagram of the terminal device structure provided by one embodiment of the present invention.

[0103] A terminal device of this embodiment includes: a processor 301, a memory 302, and a computer program stored in the memory 302 and executable on the processor 301. When the processor 301 executes the computer program, the steps of the above-mentioned superconducting tape defect detection and control method in the embodiment are implemented, such as Figure 1Alternatively, when the processor executes the computer program, the functions of the modules in the above-mentioned device embodiments are realized, for example: Figure 2 All modules of the superconducting tape defect detection control device are shown.

[0104] In addition, an embodiment of the present invention further provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the defect detection control method for the superconducting tape as described in any of the above embodiments.

[0105] Those skilled in the art will understand that the schematic diagram is merely an example of a terminal device and does not constitute a limitation on the terminal device. The terminal device may include more or fewer components than shown in the diagram, or a combination of certain components, or different components. For example, the terminal device may also include input and output devices, network access devices, buses, etc.

[0106] The processor 301 may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor. The processor 301 is the control center of the terminal device, connecting various parts of the entire terminal device using various interfaces and lines.

[0107] The memory 302 can be used to store the computer programs and / or modules. The processor 301 implements various functions of the terminal device by running or executing the computer programs and / or modules stored in the memory and calling the data stored in the memory 302. The memory 302 can mainly include a program storage area and a data storage area. The program storage area can store an operating system and at least one application required for a function (such as a sound playback function, an image playback function, etc.); the data storage area can store data created based on the use of the mobile phone (such as audio data, a phone book, etc.). In addition, the memory can include a high-speed random access memory and can also include a non-volatile memory, such as a hard disk, internal memory, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, at least one disk storage device, a flash memory device, or other volatile solid-state storage device.

[0108] Wherein, if the module / unit integrated in the terminal device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the process in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and when the computer program is executed by the processor, it can implement the steps of the above-mentioned various method embodiments. Wherein, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc.

[0109] It should be noted that the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed across multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment. In addition, in the drawings of the device embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art can understand and implement the present invention without inventive effort.

[0110] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A communication control method for a transformer test instrument, characterized in that: include: Obtaining the equipment information and connection method of the substation test instrument, and determining the equipment type corresponding to the equipment information; Matching a communication protocol in a preset database based on the device type, the connection method, and the test data unidirectionally transmitted by the substation test instrument; wherein the database specifically includes: a plurality of known communication protocols, and each known device type, known connection method, and known test data corresponding to a known communication protocol; When the communication protocol is successfully matched, the target communication protocol is obtained, a driver and a data processing program corresponding to the target communication protocol are started, and a bidirectional communication connection is established with the power transformation test instrument through the driver and the data processing program; When the communication protocol matching fails, an updated communication protocol corresponding to the power transformation test instrument is obtained, and a bidirectional communication connection is established with the power transformation test instrument based on the updated communication protocol.

2. The communication control method for a transformer test instrument according to claim 1, characterized in that: The matching of the communication protocol in a preset database based on the device type, the connection mode and the test data unidirectionally transmitted by the power transformation test instrument includes: Matching a communication protocol in a preset database according to the device type, the connection mode and the test data unidirectionally transmitted by the power transformation test instrument; If the device type successfully matches the known device type in the database, the connection method successfully matches the known connection method in the database, and the test data successfully matches the known test data in the database, and the successfully matched known device type, known connection method, and known test data correspond to the same known communication protocol, then the communication protocol is successfully matched, and the target communication protocol is determined based on the successfully matched known communication protocol; Otherwise, the match fails.

3. The communication control method for a transformer test instrument according to claim 2, characterized in that: The obtaining of the updated communication protocol corresponding to the power transformation test instrument includes: Connect to the manufacturer's protocol update terminal corresponding to the power transformation test instrument; In the manufacturer's protocol update terminal, an updated communication protocol corresponding to the power transformation test instrument is obtained; wherein the updated communication protocol is a communication protocol that does not exist in the database.

4. The communication control method for a transformer test instrument according to claim 3, characterized in that: The step of establishing a bidirectional communication connection with the power transformation test instrument based on the updated communication protocol includes: Based on each of the updated communication protocols, a compatibility test is performed on the power transformation test instrument; If the compatibility test passes, a communication connection is established with the substation test instrument according to the updated communication protocol that passed the compatibility test; If the compatibility test fails, the user will be prompted that the communication protocol does not exist.

5. The communication control method for a transformer test instrument according to claim 4, characterized in that: After establishing a bidirectional communication connection with the power transformation test instrument based on the updated communication protocol, the method further includes: confirming the update device type, update connection method, and update test data corresponding to the update communication protocol; The update communication protocol, as well as the update device type, update connection mode and update test data corresponding to the update communication protocol are stored in the database.

6. The communication control method for a transformer test instrument according to claim 5, characterized in that: Also includes: When the communication connection with the substation test instrument is interrupted, the checksum value, sequence number and time stamp of the data packet currently transmitted are obtained; If the checksum is not the checksum threshold, or the sequence number is missing, or the timestamps corresponding to the sequence number are not in the preset order, the data packet is damaged and the data is repaired using interpolation repair method and redundancy check repair method; If the check value is the check threshold, the sequence number is not missing, and the timestamps corresponding to the sequence number are in the preset order, then the data packet is normal data.

7. The communication control method for a transformer test instrument according to claim 1, characterized in that: The device information includes: hardware ID, device model and version number.

8. A communication control device for a transformer test instrument, characterized in that: include: Data acquisition module, data matching module, communication establishment module and update protocol module; The data acquisition module is used to obtain the device information and connection mode of the substation test instrument and determine the device type corresponding to the device information; The data matching module is configured to match a communication protocol in a preset database based on the device type, the connection method, and the test data unidirectionally transmitted by the substation test instrument; wherein the database specifically includes: a plurality of known communication protocols, and each of the known device types, known connection methods, and known test data corresponding to the known communication protocols; The communication establishment module is used to obtain the target communication protocol when the communication protocol is successfully matched, start the driver and data processing program corresponding to the target communication protocol, and establish a two-way communication connection with the power transformation test instrument through the driver and the data processing program; The update protocol module is used to obtain the updated communication protocol corresponding to the power transformation test instrument when the communication protocol matching fails, and establish a two-way communication connection with the power transformation test instrument based on the updated communication protocol.

9. A computer terminal device, characterized in that: The invention comprises a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, the communication control method of the power transformation test instrument as claimed in any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the communication control method of the power transformation test instrument according to any one of claims 1 to 7.