Oil and gas equipment interconnection detection method and device
Through the comparison method of standard detection systems, the problem of interconnection verification of oil and gas equipment is solved, fast and simple interconnection testing is achieved, ensuring the interconnection and interoperability of equipment from different manufacturers, and is suitable for digital construction.
Patent Information
- Application Number
- CN202110599839.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-31
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2041-05-31
AI Technical Summary
The existing technology lacks effective methods to detect the interconnectivity of oil and gas equipment produced by different manufacturers, resulting in the problem of difficulty in verifying interconnectivity in oil and gas production.
A standard detection system is used to obtain the parameters of the device under test and compared with standard parameters, and the manufacturer agreement of the device under test is verified through standard protocols to determine its interconnectivity. The system includes an acquisition module, a comparison module and a determination module, and uses standard equipment and the equipment to be tested to verify each other, simplifying the detection process.
It achieves fast and simple interconnectivity testing of oil and gas equipment, reduces technical requirements for operators, is suitable for testing before digital construction, and ensures the interconnectivity of equipment from different manufacturers. It has good application value.
Smart Images

Figure CN115426293B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of oil and gas production equipment detection, and in particular to a method and device for detecting interconnection of oil and gas equipment. Background Art
[0002] This section is intended to provide a background or context to the embodiments of the invention recited in the claims. No admission is made that the description herein is prior art by inclusion in this section.
[0003] A large number of data acquisition equipment and transmission equipment are installed at the wellhead of oil and gas production. Although the underlying protocols of oil and gas equipment produced by different manufacturers all use standard protocols, such as WIA-Pa protocol or ZigBee protocol, the upper application layer protocols can be freely customized, so the application layer protocols used by different manufacturers are different. This leads to the phenomenon that the oil and gas equipment produced by different manufacturers cannot be interconnected. It is necessary to verify the interconnection and interoperability of oil and gas equipment, and then verify its self-organizing network performance. However, there is currently no good method to detect the interconnection and interoperability of oil and gas equipment. Summary of the invention
[0004] The embodiment of the present invention provides an oil and gas equipment interconnection detection method, which is used to detect the interconnection of oil and gas equipment produced by different manufacturers, so as to provide a reference for oil and gas digital construction. The method includes:
[0005] Acquire parameters of the device under test measured by a standard detection system, wherein the standard detection system includes the device under test and a standard device, the standard device complies with a standard protocol, and the device under test complies with a manufacturer's protocol;
[0006] Compare the parameters of the device under test with the preset standard parameters;
[0007] If the comparison is successful, it is determined that the manufacturer's protocol followed by the device under test is a standard protocol and has interoperability.
[0008] The embodiment of the present invention further provides an oil and gas equipment interconnection detection device, which is used to detect the interconnection of oil and gas equipment produced by different manufacturers, so as to provide a reference for oil and gas digital construction. The device includes:
[0009] An acquisition module is used to acquire parameters of the device under test measured by a standard detection system, wherein the standard detection system includes the device under test and a standard device, the standard device complies with a standard protocol, and the device under test complies with a manufacturer's protocol;
[0010] A comparison module is used to compare the parameters of the device under test with the preset standard parameters;
[0011] The determination module is used to determine that the manufacturer's protocol followed by the device under test is a standard protocol and has interoperability when the comparison is passed.
[0012] An embodiment of the present invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned oil and gas equipment interconnection detection method when executing the computer program.
[0013] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for executing the above-mentioned oil and gas equipment interconnection detection method.
[0014] In the embodiment of the present invention, a standard detection system including standard equipment and equipment to be tested is used to collect and upload the parameters of the equipment to be tested, and the parameters of the equipment to be tested are compared with the standard parameters. If the comparison is passed, it is considered that the manufacturer's protocol followed by the equipment to be tested is also a standard protocol. Since the equipment that follows the standard protocol can be interconnected, it is confirmed that the equipment to be tested has interoperability. Compared with the prior art that checks the technical parameters of each device separately, which is difficult to implement due to the large number of technical parameters, the embodiment of the present invention adopts a method of mutual verification between the equipment to be tested and the standard equipment. Only a set of standard equipment that complies with the standard protocol is required for verification, which is scalable, easy to maintain, simple and reliable; and the method in the embodiment of the present invention is simple to implement, with low technical requirements for operators, and simple operation and rapid completion of detection. It is particularly suitable for testing before digital construction, ensuring the interoperability of different oil and gas production IoT equipment from different manufacturers, and has good application value. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0016] Figure 1 This is a flow chart of a method for detecting interconnection and interoperability of oil and gas equipment in an embodiment of the present invention;
[0017] Figure 2 This is an architecture diagram of a standard detection system in an embodiment of the present invention;
[0018] Figure 3 This is an architecture diagram of another standard detection system in an embodiment of the present invention;
[0019] Figure 4This is an architecture diagram of another standard detection system in an embodiment of the present invention;
[0020] Figure 5 This is a structural schematic diagram of an oil and gas equipment interconnection detection device in an embodiment of the present invention;
[0021] Figure 6 The figure is a schematic diagram of the structure of a computer device in an embodiment of the present invention. DETAILED DESCRIPTION
[0022] To make the purpose, technical solution and advantages of the embodiments of the present invention more clear, the embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.
[0023] The embodiment of the present invention provides a method for detecting interconnection and interoperability of oil and gas equipment, such as Figure 1 As shown, the method includes the following steps 101 to 103:
[0024] Step 101: Acquire parameters of the device under test measured by a standard testing system. The standard testing system includes the device under test and standard equipment. The standard equipment complies with a standard protocol, and the device under test complies with a manufacturer's protocol.
[0025] Among them, the standard protocol is the standard WIA-Pa protocol or ZigBee protocol. The WIA-Pa technical standard is a wireless industrial standard independently developed by China. It has the characteristics of strong anti-interference ability, low power consumption, strong real-time communication, and high reliability. It has been widely used in the digital construction of the oil industry. As a key technology for wireless communication, the technology is written into the oil and gas production Internet of Things system construction specifications in the communication technology standards of the oil and gas industry.
[0026] The manufacturer's agreement is the agreement that the manufacturer determines the oil and gas equipment to follow. Because some manufacturers customize their protocols based on the standard protocol, the manufacturer's agreement may be the same as or different from the standard protocol.
[0027] like Figure 2 The following is a diagram of the architecture of a standard detection system. Figure 2 The test computer can be connected to the RTU through Ethernet, local serial port, RS485 port or network port, and the RTU is connected to the acquisition equipment. The RTU can be a single well RTU or a cluster well RTU ( Figure 2 The two RTUs are shown at the same time, and the standard detection system may also include only one of the RTUs). Figure 2The temperature transmitter, pressure transmitter, dynamometer, electrical parameter module, flow controller and other acquisition devices are shown as examples. In addition to the above devices, the interoperability test can also be performed on other acquisition devices used in oil and gas production.
[0028] All devices in the standard detection system form a self-organizing network with the following characteristics:
[0029] ①. The slave address allocation mode of the gateway is set to static allocation;
[0030] ②、The group number of each device involved in the test is configured as 1;
[0031] ③. RTU enables simulated well lifting. In this mode, both RTU and dynamometer can upload simulated current diagram and simulated power diagram;
[0032] ④. The upload period of the power diagram and current diagram is set to 30 minutes;
[0033] ⑤. The pressure gauge number is 0-2;
[0034] ⑥The temperature table number is 0;
[0035] ⑦. The test computer is equipped with test software, which can display production data, simulation data, instrument status data and other information collected by various instruments.
[0036] The standard test system includes the device under test, the standard device and the test computer. When the device under test is an RTU, the standard device is the acquisition device. The architecture of the standard test system used can be found in Figure 3 The RTU to be tested can be connected to multiple acquisition devices, which obtains the standard data packets sent by the acquisition devices, and parses the standard data packets to obtain parsing parameters and RTU device parameters. In the embodiment of the present invention, when the device to be tested is an RTU, the parsing parameters and RTU device parameters are used as the parameters of the device to be tested.
[0037] Among them, the data in the standard data packet is written by the acquisition device according to the field order and standard field value defined by the standard protocol, and sent by the acquisition device to the RTU. In other words, the standard protocol defines the order of the fields. For example, when the acquisition device is a temperature sensor, the first field written is the current temperature, the second field is the average temperature, and the third field is the acquisition device model. The acquisition device writes the standard data packet in the above order, and the standard protocol defines the field value and number of bytes of each field. For example, the field value range of the temperature is 000-100, and the number of bytes is 3. Then, when the current temperature is detected, the field value corresponding to the temperature is selected and written into the first three bytes of the standard data packet. In this way, the field value of each field is written in order, and the number of bytes of the field value written also meets the number specified by the standard protocol, and a standard data packet is obtained.
[0038] When the RTU receives the standard data packet, it parses the standard data packet according to the parsing method corresponding to the manufacturer's protocol adopted by itself. Generally, the parsing method defines the number of bytes of each field. For example, for a standard data packet 030105 containing 6 bytes, the manufacturer's protocol defines that it contains 3 fields. The first field occupies 3 bytes, the second field occupies 1 byte, and the third field occupies 2 bytes. The RTU parses the standard data packet to obtain the parsing parameter 030 / 1 / 05.
[0039] After obtaining the parsing parameters, the RTU stores the parsing parameters in the register, and then packages the parsing parameters in the register and its own RTU device parameters into a new data packet and sends it to the test computer, so that the test computer can confirm whether the RTU adopts the standard protocol based on the parameters to be tested in the data packet.
[0040] It should be noted that RTU generally uses Modbus protocol to package data packets, and the test computer can accurately parse Modbus protocol data packets. Therefore, it can be ruled out that the interoperability confirmation error caused by the computer parsing the RTU sent data packet error can be ruled out.
[0041] RTU equipment parameters include local real-time data, local alarm data, local historical data, equipment upgrade data and configuration data. Equipment upgrade data includes local upgrade data, point-to-point upgrade data and remote upgrade data. Standard parameters are also defined for RTU equipment parameters. When the RTU equipment parameter comparison fails, it is also considered that the RTU equipment does not adopt the standard protocol to ensure the accuracy of interoperability verification.
[0042] When the device to be tested in the standard detection system is a collection device, the standard device is an RTU, and the following can be used: Figure 4 In the standard detection system shown, the RTU is connected to the acquisition device to be tested. Obtaining the parameters of the device to be tested measured by the standard detection system can be performed as follows: obtaining the parsed parameters obtained by the RTU parsing the acquisition data packet according to the standard data parsing method defined by the standard protocol as the parameters of the device to be tested.
[0043] Among them, the standard data parsing method defines the number of bytes corresponding to each field value arranged in a fixed order; the data in the acquisition data packet is written by the acquisition device according to the manufacturer's protocol followed by the acquisition device, and is sent by the acquisition device to the RTU.
[0044] That is, the data packet is written by the collection device according to the manufacturer's protocol. For example, it may be written according to the first field current temperature occupying 2 bytes, the second field average temperature occupying 1 byte, and the third field device type occupying 3 bytes. The standard data parsing method defines the parsing method required by the standard protocol. For example, the first field average temperature occupies 3 bytes, the second field current temperature occupies 1 byte, and the third field device type occupies 2 bytes. For a set of data 030105, the collection device considers that 03 is the current temperature, 0 is the average temperature, and 105 is the device type; when the standard RTU parses according to the standard data parsing method, it considers that 030 is the average temperature, 1 is the current temperature, and 05 is the device type. In this way, in step 102, when the above parameters parsed by the RTU are compared with the standard parameters, the comparison will fail, confirming that the collection device does not adopt the standard protocol, and the device adopting the standard protocol cannot correctly parse the parameters of the collection device, and it does not have interoperability with other oil and gas equipment adopting the standard protocol.
[0045] The parameters written into the standard data packet or the acquisition data packet by the acquisition device include measurement parameters and acquisition device parameters.
[0046] The measurement parameters are the parameters obtained when the acquisition device performs its function, such as the measurement parameter of the temperature sensor is temperature, the measurement parameter of the humidity sensor is humidity, and the measurement parameter of the wind speed sensor is wind speed.
[0047] The acquisition equipment parameters include configuration parameters, equipment upgrade parameters and alarm parameters. Configuration parameters include basic configuration parameters, point-to-point configuration parameters and remote configuration parameters. Point-to-point configuration parameters include transmission power, data rate, PanID, timing parameters, well station type, well station number, RTU existence identification, RTU master-slave identification, RTU type, group number / number and fluid type.
[0048] In addition, some transmission data may be generated in the RTU and acquisition equipment, which can be used as parameters of the device under test.
[0049] It should be noted that, for different RTUs or different acquisition devices, the RTU device parameters and acquisition device parameters may be different from the RTU device parameters and acquisition device parameters listed above, and the types of these parameters are determined by the RTU device and the acquisition device itself.
[0050] Step 102: Compare the parameters of the device to be tested with preset standard parameters.
[0051] In an embodiment of the present invention, standard parameters are predefined, which are numerical values or numerical ranges. For example, when the device to be tested is a temperature sensor, the measurement parameter is temperature, and the corresponding standard parameter is 10 to 40. If the parameter of the device to be tested is 20, it is confirmed that the comparison is passed; if the parameter of the device to be tested is 50, it is confirmed that the comparison is not passed.
[0052] Continuing with the example in step 101, if the device under test is an RTU, the parsing parameters of the standard data packet it parses are 030, 1, 05, and the corresponding standard parameters are 000-100, 01, 1-6, then the comparison between the parsing parameters and the standard parameters fails; if the corresponding standard parameters are 000-100, 1, 01-06, then the comparison passes.
[0053] Step 103: If the comparison is successful, it is determined that the manufacturer's protocol followed by the device under test is a standard protocol and has interoperability.
[0054] If the comparison is successful, it means that the manufacturer's protocol is also a standard protocol, and devices that comply with the standard protocol can correctly read the corresponding data of other devices, and they have interoperability.
[0055] In the embodiment of the present invention, a standard detection system including standard equipment and equipment to be tested is used to collect and upload the parameters of the equipment to be tested, and the parameters of the equipment to be tested are compared with the standard parameters. If the comparison is passed, it is considered that the manufacturer's protocol followed by the equipment to be tested is also a standard protocol. Since the equipment that follows the standard protocol can be interconnected, it is confirmed that the equipment to be tested has interoperability. Compared with the prior art that checks the technical parameters of each device separately, which is difficult to implement due to the large number of technical parameters, the embodiment of the present invention adopts a method of mutual verification between the equipment to be tested and the standard equipment. Only a set of standard equipment that complies with the standard protocol is required for verification, which is scalable, easy to maintain, simple and reliable; and the method in the embodiment of the present invention is simple to implement, with low technical requirements for operators, and simple operation and rapid completion of detection. It is particularly suitable for testing before digital construction, ensuring the interoperability of different oil and gas production IoT equipment from different manufacturers, and has good application value.
[0056] The present invention also provides an oil and gas equipment interconnection detection device, as described in the following embodiments. Since the principle of the device to solve the problem is similar to the oil and gas equipment interconnection detection method, the implementation of the device can refer to the implementation of the oil and gas equipment interconnection detection method, and the repeated parts will not be repeated.
[0057] like Figure 5 As shown, the device 500 includes an acquisition module 501 , a comparison module 502 and a determination module 503 .
[0058] The acquisition module 501 is used to acquire the parameters of the device under test measured by the standard detection system. The standard detection system includes the device under test and the standard device. The standard device complies with the standard protocol, and the device under test complies with the manufacturer's protocol.
[0059] Comparison module 502, used to compare the parameters of the device under test with the preset standard parameters;
[0060] The determination module 503 is used to determine that the manufacturer's protocol followed by the device under test is a standard protocol and has interoperability when the comparison is passed.
[0061] In an implementation of the embodiment of the present invention, when the device to be tested in the standard detection system is an RTU, the standard device is a collection device; the acquisition module 501 is used to:
[0062] Obtain the parsing parameters and RTU device parameters obtained by parsing the standard data packet by the RTU, and use the parsing parameters and RTU device parameters as the parameters of the device to be tested;
[0063] The data in the standard data packet is written by the acquisition device according to the field sequence and standard field values defined by the standard protocol, and is sent by the acquisition device to the RTU.
[0064] In an implementation of the embodiment of the present invention, the RTU device parameters include local real-time data, local alarm data, local historical data, device upgrade data and configuration data.
[0065] In an implementation of the embodiment of the present invention, when the device to be tested in the standard detection system is a collection device, the standard device is an RTU; the acquisition module 501 is used to:
[0066] Obtain the parsing parameters obtained by RTU parsing the collected data packets according to the standard data parsing method defined by the standard protocol as the parameters of the device under test;
[0067] Among them, the standard data parsing method defines the number of bytes corresponding to each field value arranged in a fixed order; the data in the acquisition data packet is written by the acquisition device according to the manufacturer's protocol followed by the acquisition device, and is sent by the acquisition device to the RTU.
[0068] In one implementation of an embodiment of the present invention, the parameters written into the standard data packet or the acquisition data packet by the acquisition device include measurement parameters and acquisition device parameters, the acquisition device parameters include configuration parameters, equipment upgrade parameters and alarm parameters, the configuration parameters include basic configuration parameters, point-to-point configuration parameters and remote configuration parameters, the point-to-point configuration parameters include transmission power, data rate, PanID, timing parameters, well station type, well station number, RTU existence identification, RTU master-slave identification, RTU type, group number / number and fluid type.
[0069] In the embodiment of the present invention, a standard detection system including standard equipment and equipment to be tested is used to collect and upload the parameters of the equipment to be tested, and the parameters of the equipment to be tested are compared with the standard parameters. If the comparison is passed, it is considered that the manufacturer's protocol followed by the equipment to be tested is also a standard protocol. Since the equipment that follows the standard protocol can be interconnected, it is confirmed that the equipment to be tested has interoperability. Compared with the prior art that checks the technical parameters of each device separately, which is difficult to implement due to the large number of technical parameters, the embodiment of the present invention adopts a method of mutual verification between the equipment to be tested and the standard equipment. Only a set of standard equipment that complies with the standard protocol is required for verification, which is scalable, easy to maintain, simple and reliable; and the method in the embodiment of the present invention is simple to implement, with low technical requirements for operators, and simple operation and rapid completion of detection. It is particularly suitable for testing before digital construction, ensuring the interoperability of different oil and gas production IoT equipment from different manufacturers, and has good application value.
[0070] An embodiment of the present invention further provides a computer device, Figure 6 Schematic diagram of a computer device in an embodiment of the present invention. The computer device can implement all steps in the oil and gas equipment interconnection detection method in the above embodiment. The computer device specifically includes the following contents:
[0071] Processor (processor) 601, memory (memory) 602, communication interface (CommunicationsInterface) 603 and communication bus 604;
[0072] The processor 601, the memory 602, and the communication interface 603 communicate with each other through the communication bus 604; the communication interface 603 is used to realize information transmission between related devices;
[0073] The processor 601 is used to call the computer program in the memory 602, and when the processor executes the computer program, the oil and gas equipment interconnection detection method in the above embodiment is implemented.
[0074] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for executing the above-mentioned oil and gas equipment interconnection detection method.
[0075] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0076] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0077] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0078] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0079] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for detecting interconnection and interoperability of oil and gas equipment, characterized in that: The method comprises: Acquire parameters of the device under test measured by a standard detection system, wherein the standard detection system includes the device under test and a standard device, the standard device complies with a standard protocol, and the device under test complies with a manufacturer's protocol; Compare the parameters of the device under test with the preset standard parameters; If the comparison is successful, it is determined that the manufacturer's protocol followed by the device under test is a standard protocol and has interoperability; When the device under test in the standard detection system is an RTU, the standard device is an acquisition device; the parameters of the device under test measured by the standard detection system are obtained, including: Obtain the parsing parameters and RTU device parameters obtained by RTU parsing the standard data packet, and use the parsing parameters and RTU device parameters as the parameters of the device to be tested; wherein the data in the standard data packet is written by the acquisition device according to the field sequence and standard field value defined by the standard protocol, and sent by the acquisition device to the RTU; When the device under test in the standard detection system is an acquisition device, the standard device is an RTU; the parameters of the device under test measured by the standard detection system are obtained, including: Obtain the parsing parameters obtained by the RTU parsing the acquisition data packet according to the standard data parsing method defined by the standard protocol as the parameters of the device under test; wherein the standard data parsing method defines the number of bytes corresponding to each field value arranged in a fixed order; the data in the acquisition data packet is written by the acquisition device according to the manufacturer's protocol followed by the acquisition device, and sent by the acquisition device to the RTU; After obtaining the parsing parameters, the RTU stores the parsing parameters in a register, and then packages the parsing parameters in the register and its own RTU device parameters into a new data packet and sends it to the test computer; RTU uses Modbus protocol to package data packets.
2. The method according to claim 1, characterized in that The RTU equipment parameters include local real-time data, local alarm data, local historical data, equipment upgrade data and configuration data.
3. The method according to claim 1, characterized in that The parameters written into the standard data packet or the acquisition data packet by the acquisition device include measurement parameters and acquisition device parameters. The acquisition device parameters include configuration parameters, equipment upgrade parameters and alarm parameters. The configuration parameters include basic configuration parameters, point-to-point configuration parameters and remote configuration parameters. The point-to-point configuration parameters include transmission power, data rate, PanID, timing parameters, well station type, well station number, RTU existence identification, RTU master-slave identification, RTU type, group number / number and fluid type.
4. An oil and gas equipment interconnection detection device, characterized in that: The device comprises: An acquisition module is used to acquire parameters of the device under test measured by a standard detection system, wherein the standard detection system includes the device under test and a standard device, the standard device complies with a standard protocol, and the device under test complies with a manufacturer's protocol; A comparison module is used to compare the parameters of the device under test with the preset standard parameters; The determination module is used to determine that the manufacturer's protocol followed by the device under test is a standard protocol and has interoperability when the comparison passes; When the device to be tested in the standard detection system is an RTU, the standard device is an acquisition device; the acquisition module is used to: Obtain the parsing parameters and RTU device parameters obtained by parsing the standard data packet by the RTU, and use the parsing parameters and RTU device parameters as the parameters of the device to be tested; The data in the standard data packet is written by the acquisition device according to the field sequence and standard field value defined by the standard protocol, and sent by the acquisition device to the RTU; When the device to be tested in the standard detection system is an acquisition device, the standard device is an RTU; the acquisition module is used to: Obtain the parsing parameters obtained by RTU parsing the collected data packets according to the standard data parsing method defined by the standard protocol as the parameters of the device under test; Among them, the standard data parsing method defines the number of bytes corresponding to each field value arranged in a fixed order; the data in the acquisition data packet is written by the acquisition device according to the manufacturer's protocol followed by the acquisition device, and is sent by the acquisition device to the RTU; After obtaining the parsing parameters, the RTU stores the parsing parameters in a register, and then packages the parsing parameters in the register and its own RTU device parameters into a new data packet and sends it to the test computer; RTU uses Modbus protocol to package data packets.
5. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 3 is implemented.
6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program for executing the method according to any one of claims 1 to 3.
Citation Information
Patent Citations
Protocol detection method, device and electronic equipment
CN112054934A
