Top drive protocol conversion device and method
By designing the top drive protocol conversion device, and using the multi-protocol analysis engine to convert the heterogeneous protocol into a unified intermediate layer protocol, the problem of poor data interaction capabilities of the top drive device is solved, and efficient and reliable data transmission and convenient remote debugging are achieved.
Patent Information
- Application Number
- CN202510123598.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-26
- Publication Date
- 2025-04-29
AI Technical Summary
The existing top drive devices have problems such as protocol incompatibility, low data transmission efficiency and inconvenient remote debugging in terms of data interaction, resulting in poor data interaction capabilities.
A top drive protocol conversion device is designed, including a protocol unified integrated control module, a relay communication module, a data remote upload module, an air download technology remote upgrade module and a multi-end access support module. Through a multi-protocol analysis engine, the heterogeneous protocol is converted into a unified intermediate layer protocol and encapsulated into standardized data packets to realize direct data interaction between the top drive and other devices.
It improves the data interaction capabilities within the top drive device and with other drilling equipment, improves data transmission efficiency and reliability, solves the convenience of remote debugging and terminal equipment access, and promotes the standardization and unified top drive device protocol.
Smart Images

Figure CN119906764A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of oil drilling, and in particular to a top drive protocol conversion device and method. Background Art
[0002] In the oil drilling industry, the top drive drilling device (referred to as "top drive") is a key equipment, and its performance and intelligence level directly affect the efficiency, safety and cost of drilling operations. However, to maximize the overall efficiency of drilling operations, data interaction between the top drive and other key equipment is particularly important. Real-time sharing and precise synchronization of data, like the nervous system of drilling operations, ensure close collaboration between various links and optimal resource allocation.
[0003] At present, through deep integration and data interaction with equipment such as mud pumps, drilling rigs, and remote monitoring centers, top drives can monitor various parameters in the drilling process in real time, such as drilling pressure, torque, speed, suspended weight, etc., thereby achieving efficient operation of the drilling process. All-round data exchange provides a solid data foundation for rapid response to abnormal situations, optimization of drilling strategies, and prevention of accidents.
[0004] However, there are still many obstacles in the data interaction of the top drive. There are many drilling equipment manufacturers with different communication protocols, which makes direct communication between equipment difficult. The star-shaped communication structure of the automated drilling rig in the related technology is extremely dependent on the central node, and the data transmission efficiency is low. The inconsistency of the underlying equipment and instrument protocols of the top drive increases the difficulty of integrating the top drive's own data. The old top drive protocol is incompatible with the new protocol, which hinders the upgrade and transformation of the top drive. During remote control, the incompatibility of the protocol limits the data interaction of the equipment and affects the integrated management of drilling operations. How to achieve the standardization and unification of the top drive device protocol has become an urgent problem to be solved. Summary of the invention
[0005] The embodiments of the present application provide a top drive protocol conversion device and method, which can solve the technical problem of poor data interaction capability within the top drive device and between the top drive device and other key drilling equipment.
[0006] To achieve the above objectives, the embodiments of the present application adopt the following technical solutions:
[0007] In the first aspect, an embodiment of the present application provides a top drive protocol conversion device, which includes: a protocol unified integrated control module, a relay communication module, a data remote upload module, an air download technology remote upgrade module, and a multi-terminal access support module; the protocol unified integrated control module has a built-in multi-protocol parsing engine and a protocol conversion device, and is configured to receive top drive original data from different top drives; the top drive original data includes heterogeneous protocols of different top drives; the heterogeneous protocols are converted into a unified middle layer protocol through the multi-protocol parsing engine; the middle layer protocol is in the form of a configuration file; the middle layer protocol is encapsulated into a standardized data packet through the protocol conversion device; and is also configured to generate and issue Control instructions; a relay communication module, configured to build a communication network among the top drive, the sensor node and the first device, so that the top drive, the sensor node and the first device can directly send and receive data; the first device includes a remote monitoring center or a cloud server; a data remote upload module, configured to upload standardized data packets to the remote monitoring center or the cloud server through the communication network; the standardized data packets include top drive status parameters and fault alarms; an over-the-air download technology remote upgrade module, configured to support remote upgrades of the top drive firmware, top drive software and the protocol conversion device of the protocol unified integrated control module of the top drive; a multi-terminal access support module, configured to support access by multiple terminal devices.
[0008] Based on the above description of the top drive protocol conversion device provided in the embodiment of the present application, it can be known that the top drive protocol conversion device includes a protocol unified integrated control module, a relay communication module, a data remote upload module, an air download technology remote upgrade module, and a multi-terminal access support module. The protocols between the bottom equipment of the top drive, the instruments and meters, the new and old models of the top drive, and the top drive and other equipment realize a unified middle layer protocol, which is convenient for the transmission and processing of subsequent data. The problem that the top drive and other drilling equipment cannot communicate directly and must rely on intermediate nodes is solved. The wireless transmission method that automatically selects the node path improves the data transmission efficiency and transmission reliability. The problem of difficult remote debugging and inconvenient terminal device access is solved, the convenience and efficiency of equipment maintenance are improved, and real-time information sharing and collaborative work are realized. The conversion of different industrial protocol data to standardized data is realized to provide a unified interface, which solves the problem of complicated top drive communication interface and lays the foundation for intelligent drilling. Promote the standardization and unification of the top drive device protocol, so as to improve the data interaction capability inside the top drive device and with other key drilling equipment.
[0009] In a feasible implementation of the first aspect, the multi-protocol parsing engine is also configured to confirm the protocol type of heterogeneous protocols and extract conversion information; map the protocol type and conversion information to the data structure of the target protocol to obtain mapping data; encapsulate the mapping data, transmission method and header information according to the format of the target protocol to obtain a data mapping configuration file; the data mapping configuration file includes an application object, a combination object, an original protocol data block and a configuration; and send the data mapping configuration file to a protocol conversion device.
[0010] In a feasible implementation of the first aspect, the protocol unified integrated control module also includes a data communication station, a protocol conversion device, and is also configured to obtain the register points corresponding to the data mapping configuration file and write them into the cache; according to the data mapping configuration file, complete the conversion operation of the top drive original data to obtain a standardized data packet; write the register points corresponding to the standardized data packet into the cache list to be forwarded; according to the cache list to be forwarded, store the standardized data packet in the data communication station; the data communication station is also configured to exchange data with the relay communication module.
[0011] In a feasible implementation of the first aspect, the remote data upload module is further configured to generate a configuration file according to the device address function table, and specify a one-to-one mapping relationship between the public address and the private address.
[0012] In the second aspect, an embodiment of the present application provides a top drive protocol conversion method, which includes: receiving top drive raw data from different top drives; the top drive raw data includes heterogeneous protocols of different top drives; through multi-protocol analysis, the heterogeneous protocols are converted into a unified middle layer protocol; the middle layer protocol is in the form of a configuration file; the middle layer protocol is encapsulated into a standardized data packet; a communication network is constructed between the top drive, the sensor node and the first device, so that the top drive, the sensor node and the first device can directly send and receive data; the first device includes a remote monitoring center or a cloud server; the standardized data packet is uploaded to the remote monitoring center or the cloud server through the communication network; the standardized data packet includes top drive status parameters and fault alarms.
[0013] Based on the above description of the top drive protocol conversion method provided in the embodiment of the present application, it can be known that the top drive protocol conversion method includes protocols between the bottom-level equipment of the top drive, between instruments and meters, between the old and new models of the top drive, and between the top drive and other equipment, realizing a unified middle-layer protocol to facilitate the transmission and processing of subsequent data. It solves the problem that the top drive and other drilling equipment cannot communicate directly and must rely on intermediate nodes, and uses a wireless transmission method that automatically selects the node path to improve data transmission efficiency and transmission reliability. It solves the problems of difficult remote debugging and inconvenient terminal device access, improves the convenience and efficiency of equipment maintenance, and realizes real-time information sharing and collaborative work. It realizes the conversion of different industrial protocol data to standardized data in order to provide a unified interface, solves the problem of complicated top drive communication interfaces, and lays the foundation for intelligent drilling. It promotes the standardization and unification of top drive device protocols, thereby improving the data interaction capabilities within the top drive device and between it and other key drilling equipment.
[0014] In a feasible implementation of the second aspect, the top drive protocol conversion method also includes: confirming the protocol type of the heterogeneous protocol and extracting the conversion information; mapping the protocol type and conversion information to the data structure of the target protocol to obtain mapping data; encapsulating the mapping data, transmission mode and header information according to the format of the target protocol to obtain a data mapping configuration file; the data mapping configuration file includes an application object, a combination object, an original protocol data block and a configuration; and sending the data mapping configuration file to the protocol conversion device.
[0015] In a feasible implementation of the second aspect, the top drive protocol conversion method also includes: obtaining the register point corresponding to the data mapping configuration file and writing it into the cache; completing the conversion operation of the top drive original data according to the data mapping configuration file to obtain a standardized data packet; writing the register point corresponding to the standardized data packet into a to-be-forwarded cache list; and storing the standardized data packet in the data communication station according to the to-be-forwarded cache list.
[0016] In a feasible implementation of the second aspect, the top drive protocol conversion method further includes: generating a configuration file according to a device address function table, and specifying a one-to-one mapping relationship between a public address and a private address.
[0017] In a third aspect, an embodiment of the present application provides a top drive protocol conversion system, which comprises: at least one processor; a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method provided in the second aspect.
[0018] The top drive protocol conversion system implements the method provided in the second aspect, and the protocols between the bottom-level equipment of the top drive, the instruments and meters, the old and new models of the top drive, and the top drive and other equipment, to achieve a unified middle-layer protocol, which is convenient for the subsequent data transmission and processing. It solves the problem that the top drive and other drilling equipment cannot communicate directly and must rely on intermediate nodes, and uses a wireless transmission method that automatically selects the node path to improve data transmission efficiency and transmission reliability. It solves the problems of difficult remote debugging and inconvenient terminal device access, improves the convenience and efficiency of equipment maintenance, and realizes real-time information sharing and collaborative work. It realizes the conversion of different industrial protocol data to standardized data in order to provide a unified interface, solves the problem of complicated top drive communication interface, and lays the foundation for intelligent drilling. It promotes the standardization and unification of the top drive device protocol, so as to improve the data interaction capabilities within the top drive device and between it and other key drilling equipment.
[0019] In a fourth aspect, an embodiment of the present application provides a computer-readable medium having computer program instructions stored thereon, and the computer program instructions can be executed by a processor to implement the method provided in the second aspect.
[0020] The computer program instructions in the computer-readable medium implement the method provided in the second aspect, the protocols between the bottom-level equipment of the top drive, the instruments and meters, the new and old models of the top drive, and the top drive and other equipment, and realize a unified middle-layer protocol to facilitate the subsequent data transmission and processing. The problem that the top drive and other drilling equipment cannot communicate directly and must rely on intermediate nodes is solved, and the wireless transmission method that automatically selects the node path is used to improve the data transmission efficiency and transmission reliability. The problems of difficult remote debugging and inconvenient terminal device access are solved, the convenience and efficiency of equipment maintenance are improved, and real-time information sharing and collaborative work are realized. The conversion of different industrial protocol data to standardized data is realized to provide a unified interface, which solves the problem of complicated top drive communication interfaces and lays the foundation for intelligent drilling. Promote the standardization and unification of top drive device protocols, so as to improve the data interaction capabilities within the top drive device and with other key drilling equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 A schematic diagram of the structure of a top drive protocol conversion system provided in an embodiment of the present application;
[0022] Figure 2 A schematic diagram of a flow chart of a top drive protocol conversion method provided in an embodiment of the present application;
[0023] Figure 3 A schematic diagram of a network architecture of a top drive protocol conversion device provided in an embodiment of the present application;
[0024] Figure 4 A network architecture diagram of a remote control end of a top drive protocol conversion device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0025] The technical solutions in the embodiments of the present invention will be described below in conjunction with the accompanying drawings in the embodiments of the present invention. In the description of the embodiments of the present invention, unless otherwise specified, "multiple" refers to two or more than two. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.
[0026] In addition, in order to facilitate the clear description of the technical solutions of the embodiments of the present invention, in the embodiments of the present invention, the words "first", "second" and the like are used to distinguish the same items or similar items with substantially the same functions and effects. Those skilled in the art will understand that the words "first", "second" and the like do not limit the quantity and execution order, and the words "first", "second" and the like do not necessarily limit the difference. At the same time, in the embodiments of the present invention, the words "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present invention should not be interpreted as being more preferred or more advantageous than other embodiments or design. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete way for easy understanding.
[0027] The principles and features of the present application are described below. The examples given are only used to explain the present application and are not used to limit the scope of the present application.
[0028] In the related art, the top drive and other drilling equipment for oil drilling have the following problems during use:
[0029] There are multiple heterogeneous protocols inside the top drive, and data interactivity is poor. There are multiple protocols inside the top drive, such as TCP / IP, MQTT, Profinet, Profibus, CAN, OPC UA, etc., which not only hinders the upgrade of old top drives, but also makes the internal data processing process of the top drive complicated and the overall efficiency low.
[0030] There is no direct communication link between the top drive and other drilling equipment, and the flexibility is poor. The drilling site usually uses a star communication network with the drilling rig integration as the central node. If the drilling rig integration node fails, it will directly lead to the interruption of the entire communication link of the top drive, causing serious impact.
[0031] Lack of remote debugging capabilities. Since top drive parameters and other data are usually stored on the on-site industrial computer, engineers need to go to the work site in person to collect data and perform debugging, which is inconvenient.
[0032] Lack of multi-terminal access capabilities. Currently, top drive parameters and other data can only be accessed from a computer (PC), and other types of terminals cannot access them, which lacks flexibility.
[0033] The control program repair efficiency is low. Traditional top drives do not support remote upgrade functions. When there is a problem with the program or it needs to be upgraded, engineers need to go to the site to repair it, which is inefficient.
[0034] The embodiment of the present application provides a top drive protocol conversion method, which is applicable to various oil drilling scenarios. The top drive protocol conversion device includes a method for realizing the conversion of different industrial protocol data to standardized data, so as to provide a unified interface, solve the problem of complicated top drive communication interface, and lay the foundation for intelligent drilling. Promote the standardization and unification of the top drive device protocol, so as to improve the data interaction capability within the top drive device and between it and other key drilling equipment.
[0035] An embodiment of the present application provides a top drive protocol conversion system, which can execute the top drive protocol conversion method provided in the embodiment of the present application. Figure 1 A schematic diagram of the structure of a top drive protocol conversion system provided in an embodiment of the present application.
[0036] like Figure 1 As shown, the top drive protocol conversion system 001 includes at least one processor 011 and a memory 012 communicatively connected to the at least one processor; wherein the memory 012 stores instructions executable by the at least one processor 011, and the instructions are executed by the at least one processor 011 so that the at least one processor 011 can execute the top drive protocol conversion method provided in an embodiment of the present application.
[0037] Combined Figure 3 and Figure 4 In some embodiments, the embodiment of the present application provides a top drive protocol conversion device, which includes: a protocol unified integrated control module 1, a relay communication module 2, a data remote upload module 3, an air download technology remote upgrade module 4, and a multi-terminal access support module 5.
[0038] The protocol unified integrated control module 1 has a built-in multi-protocol parsing engine and a protocol conversion device, and is configured to receive top drive raw data of different top drives. The top drive raw data includes heterogeneous protocols of different top drives. The heterogeneous protocols are converted into a unified middle layer protocol through the multi-protocol parsing engine. The middle layer protocol is in the form of a configuration file. The middle layer protocol is encapsulated into a standardized data packet through the protocol conversion device.
[0039] The protocol unified integrated control module 1 is also configured to generate and issue control instructions to achieve remote unified control of the top drive.
[0040] Exemplarily, the protocol unified integrated control module 1 can be used to generate a configuration file containing a mapping relationship between commonly used top drive industrial protocols (e.g., TCP / IP, MQTT, Profinet, Profibus, CAN, OPC UA, etc.) and a custom standardized data.
[0041] Combined Figure 3 and Figure 4 In some embodiments, the multi-protocol parsing engine is further configured to confirm the protocol type of the heterogeneous protocol and extract the conversion information. The protocol type and the conversion information are mapped to the data structure of the target protocol to obtain the mapping data. According to the format of the target protocol, the mapping data, the transmission mode and the header information are encapsulated to obtain the data mapping configuration file. The data mapping configuration file includes an application object, a combination object, an original protocol data block and a configuration distribution. The data mapping configuration file is sent to the protocol conversion device.
[0042] Combined Figure 3 and Figure 4 In some embodiments, the protocol unified integrated control module 1 also includes a data communication station. The protocol conversion device is also configured to obtain the register point corresponding to the data mapping configuration file and write it into the cache. According to the data mapping configuration file, the conversion operation of the top drive original data is completed to obtain a standardized data packet. The register point corresponding to the standardized data packet is written into the to-be-forwarded cache list. According to the to-be-forwarded cache list, the standardized data packet is stored in the data communication station. The data communication station is also configured to exchange data with the relay communication module 2.
[0043] Combined Figure 3 and Figure 4 In some embodiments, the data remote upload module 3 is further configured to generate a configuration file according to the device address function table to specify a one-to-one mapping relationship between the public address and the private address.
[0044] The relay communication module 2 is configured to build a communication network between the top drive, the sensor node and the first device, so that the top drive, the sensor node and the first device can directly send and receive data. Figure 3As shown in the figure, by modifying the existing sensors on the derrick, adding functions such as protocol conversion and signal forwarding, and giving them the ability to serve as communication relay stations, a mesh topology communication structure is realized. For example, the data collected by the sensor does not need to be forwarded by the drilling rig integration, but can be directly transferred to the top drive by switching different sensor nodes according to the position of the top drive on the derrick; similarly, the signal transmission between the top drive and other equipment can also be realized through the sensor as a communication relay point, so as to realize the direct transmission and reception of data.
[0045] The first device includes a remote monitoring center or a cloud server. The relay communication module 2 can provide a unified distributed communication capability for quickly discovering and connecting devices, efficiently transmitting tasks and data, and seamlessly connecting devices.
[0046] The data remote upload module 3 is configured to upload the standardized data packet to the remote monitoring center or cloud server through the communication network. The standardized data packet includes the top drive status parameters and fault alarms. The data remote upload module 3 can be used to build a virtual private network (VPN) secure data channel to push the top drive operation data to the remote server through the mobile network. The uploaded data includes but is not limited to the top drive status parameters, fault alarms, etc., providing data support for data analysis, fault diagnosis and remote monitoring.
[0047] The Over-the-Air Technology (OTA) 4 is configured to support the remote upgrade of the top drive firmware, top drive software, and the protocol conversion device of the protocol unified integrated control module 1. The Over-the-Air Technology (OTA) 4 can provide remotely supported OTA upgrade functions, save the operation log of the protocol conversion device, and facilitate the user-side analysis. The software of the protocol conversion device and the top drive equipment can be upgraded through the OTA service. Through the OTA service, users can receive and install the latest software updates anytime and anywhere without on-site operation, which greatly improves the convenience and efficiency of equipment maintenance.
[0048] The multi-terminal access support module 5 is configured to support access from multiple terminal devices to meet the needs of different user groups, including PCs, tablets, mobile phones, etc. Users can access drilling operation data through any terminal device anytime and anywhere to achieve real-time information sharing and collaborative work.
[0049] Figure 2 A schematic diagram of a top drive protocol conversion method provided in an embodiment of the present application. Figure 2 As shown, in some embodiments, the top drive protocol conversion method includes the following steps:
[0050] S1, receiving top drive raw data of different top drives.
[0051] The top drive raw data includes heterogeneous protocols of different top drives.
[0052] S2, through multi-protocol analysis, converts heterogeneous protocols into a unified middle-layer protocol.
[0053] The middle layer protocol is in the form of a configuration file.
[0054] In some embodiments, when executing step S2, the top drive protocol conversion method further includes:
[0055] S21, confirming the protocol type of the heterogeneous protocol and extracting conversion information.
[0056] Exemplarily, the conversion information includes the size, type, format, read and write permissions, etc. of the data.
[0057] S22, mapping the protocol type and conversion information to the data structure of the target protocol to obtain mapping data.
[0058] In this way, the data parsed in step S21 (ie, conversion information) is mapped into the data structure of the target protocol.
[0059] S23, encapsulating the mapping data, transmission mode and header information according to the format of the target protocol to obtain a data mapping configuration file.
[0060] The data mapping configuration file includes application objects, combination objects, original protocol data blocks and configuration delivery.
[0061] In this way, the converted data is encapsulated into the format of the target protocol, that is, the format setting of the data mapping configuration file is completed. Exemplarily, the format of the target protocol may include "setting the correct transmission mode", "adding necessary header information", etc.
[0062] Application objects are used to generate standard data packets, including classes, instances, and attributes. The original protocol data can be associated with each attribute. Through parameters such as data type, data size, read and write permissions, address, bit mapping, value mapping, etc., free mapping of original protocol data to standard data packet attributes is achieved.
[0063] The combination object is used to generate a standard data list, including instance number, direction and member table. The members in the member table are the attributes created in the standard data package. Individual standard data packages can be merged into a set for easy management.
[0064] The protocol data block is used to generate the original protocol scan block, including parameters such as the first address, the last address, and the address type. The continuous protocol addresses are configured into data blocks, and read and write by block to improve communication efficiency.
[0065] Configuration delivery is used to deliver the above configuration content to the protocol conversion device in the form of a configuration file, which is a point mapping file.
[0066] By executing step S23, the encapsulated data can be transmitted through the target protocol. It can be understood that the correct transmission of the data is ensured by docking with the communication interface of the target device.
[0067] S24, sending the data mapping configuration file to the protocol conversion device.
[0068] The target protocol can be an intermediate layer protocol.
[0069] In some embodiments, when executing step S2, the top drive protocol conversion method further includes:
[0070] Generate a configuration file based on the device address function table to specify a one-to-one mapping relationship between public addresses and private addresses. Public addresses include ports. Private addresses include ports. In this way, the intranet server is mapped to the public network, thereby realizing the establishment of a data channel.
[0071] S3 encapsulates the intermediate layer protocol into standardized data packets.
[0072] In some embodiments, when executing step S3, the top drive protocol conversion method further includes:
[0073] S31, obtaining the register point corresponding to the data mapping configuration file and writing it into the cache.
[0074] When the protocol conversion device is running, it first obtains the register position corresponding to the protocol data to be converted, and writes it into the cache.
[0075] S32, completing the conversion operation of the top drive original data according to the data mapping configuration file to obtain a standardized data packet.
[0076] S33, writing the register bit corresponding to the standardized data packet into the to-be-forwarded cache list.
[0077] The original protocol cache and the standard data cache will realize the conversion of the original protocol data to the standard data according to the point mapping file sent by the protocol unified integrated control module, and write the point of the register corresponding to the standard data into the cache list to be forwarded.
[0078] S34, storing the standardized data packet into the data communication station according to the cache list to be forwarded.
[0079] In this way, the converted standardized data is stored in the data communication station by the above cache list, waiting to be forwarded by the relay communication module.
[0080] S4, constructing a communication network among the top drive, the sensor node and the first device, so that the top drive, the sensor node and the first device can directly send and receive data.
[0081] The first device includes a remote monitoring center or a cloud server.
[0082] By executing step S4, a distributed communication network is implemented, including message communication, message queue, subscription and publishing mode, and error handling.
[0083] Message communication realizes communication between different devices by defining a unified message format, which usually includes message type, message data and other custom fields. Generally, the application object of the standardized protocol defined in the protocol unified integrated control module 1 is used as the message format.
[0084] Message queues are used to implement asynchronous communication. The sender puts the message into the queue, and the receiver gets the message from the queue for processing. This method can improve the concurrency and responsiveness of the system.
[0085] Subscription and publication mode supports subscription or publication mode. When a module publishes a message, all subscribers can receive the message. This method can easily implement broadcasting and event notification.
[0086] Error handling, handling errors in communication, such as message loss, repeated sending, etc. Mechanisms such as retry and message confirmation are usually used to ensure the reliability and correctness of communication.
[0087] Exemplarily, by building a VPN secure data channel, the top drive operation data is pushed to the remote server via the mobile network.
[0088] S5, upload the standardized data package to the remote monitoring center or cloud server through the communication network. The standardized data package includes top drive status parameters and fault alarms.
[0089] In some embodiments, after executing step S5, the top drive protocol conversion method further includes:
[0090] S6, save the operation log of the protocol conversion device to facilitate the user end to analyze, and the software of the protocol conversion device and the top drive equipment can be upgraded through the OTA service.
[0091] In some embodiments, when executing step S6, the top drive protocol conversion method further includes:
[0092] S61, firmware package management.
[0093] The update content is packaged into a firmware package and released through the server. The firmware package contains the compressed data of the firmware, verification information and update script.
[0094] S62, version control.
[0095] Manage and track device firmware versions by establishing a version record table and comparing it with the operation log of the protocol converter to ensure that the device can be updated from the current version to the target version in an orderly manner to prevent version conflicts and upgrade failures.
[0096] In some embodiments, after executing step S6, the top drive protocol conversion method further includes:
[0097] S7, by setting up a client (Client) web page, the terminal that logs into the web page can directly access the on-site top drive equipment.
[0098] In this way, a website including a cloud database is realized to store standard data information from on-site top drive equipment. Users can access the website on different terminals and view the data in real time.
[0099] Based on the same application concept, a top drive protocol conversion system is also provided in an embodiment of the present application. The method corresponding to the top drive protocol conversion system may be the top drive protocol conversion method in the aforementioned embodiment, and its principle of solving the problem is similar to that of the method. The top drive protocol conversion system provided in an embodiment of the present application includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the methods and / or technical solutions of the aforementioned multiple embodiments of the present application.
[0100] Another embodiment of the present application further provides a computer-readable storage medium having computer program instructions stored thereon, wherein the computer program instructions can be executed by a processor to implement the methods and / or technical solutions of any one or more embodiments of the present application described above.
[0101] Specifically, the present embodiment may adopt any combination of one or more computer-readable media. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device, or device.
[0102] Computer readable signal media may include a data signal propagated in baseband or as part of a carrier wave, which carries a computer readable program code. Such propagated data signals may take a variety of forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the above. Computer readable signal media may also be any computer readable medium other than a computer readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0103] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0104] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0105] The flow chart or block diagram in the accompanying drawings shows the possible architecture, function and operation of the equipment, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated system for hardware that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0106] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0107] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or page components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0108] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0109] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0110] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform some steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program codes.
[0111] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
[0112] In addition, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in a device claim can also be implemented by one unit or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.
Claims
1. A top drive protocol conversion device, characterized in that: include: Protocol unified integrated control module, relay communication module, data remote upload module, over-the-air download technology remote upgrade module, multi-terminal access support module; A protocol unified integrated control module, with a built-in multi-protocol parsing engine and a protocol conversion device, is configured to receive top drive raw data of different top drives; the top drive raw data includes heterogeneous protocols of different top drives; through the multi-protocol parsing engine, the heterogeneous protocols are converted into a unified middle layer protocol; the middle layer protocol is in the form of a configuration file; The intermediate layer protocol is encapsulated into a standardized data packet by the protocol conversion device; and is also configured to generate and issue control instructions; A relay communication module is configured to construct a communication network between the top drive, the sensor node and the first device, so that the top drive, the sensor node and the first device can directly send and receive data; the first device includes a remote monitoring center or a cloud server; A data remote uploading module is configured to upload a standardized data packet to a remote monitoring center or a cloud server via the communication network; the standardized data packet includes top drive status parameters and fault alarms; An over-the-air download technology remote upgrade module is configured to support remote upgrades of the top drive firmware, top drive software and the protocol conversion device of the protocol unified integrated control module; The multi-terminal access support module is configured to support access from multiple terminal devices.
2. The top drive protocol conversion device according to claim 1, characterized in that: The multi-protocol parsing engine is further configured to confirm the protocol type of the heterogeneous protocol and extract conversion information; map the protocol type and the conversion information to the data structure of the target protocol to obtain mapping data; encapsulate the mapping data, transmission mode and header information according to the format of the target protocol to obtain a data mapping configuration file; The data mapping configuration file includes an application object, a combination object, an original protocol data block and a configuration; the data mapping configuration file is sent to the protocol conversion device.
3. According to the top drive protocol conversion device of claim 2, the protocol unified integrated control module also includes a data communication station, characterized in that: The protocol conversion device is further configured to obtain the register point corresponding to the data mapping configuration file and write it into a cache; complete the conversion operation of the top drive original data according to the data mapping configuration file to obtain a standardized data packet; write the register point corresponding to the standardized data packet into a to-be-forwarded cache list; storing the standardized data packet in a data communication station according to the to-be-forwarded cache list; The data communication station is further configured to exchange data with the relay communication module.
4. The top drive protocol conversion device according to any one of claims 1 to 3, characterized in that: The data remote upload module is also configured to generate a configuration file according to the device address function table, and specify a one-to-one mapping relationship between the public address and the private address.
5. A top drive protocol conversion method, characterized in that: include: Receive top drive raw data from different top drives; The top drive raw data includes heterogeneous protocols of different top drives; By multi-protocol analysis, the heterogeneous protocols are converted into a unified middle-layer protocol; the middle-layer protocol is in the form of a configuration file; Encapsulating the intermediate layer protocol into a standardized data packet; Building a communication network among the top drive, the sensor node and the first device so that the top drive, the sensor node and the first device can directly send and receive data; the first device includes a remote monitoring center or a cloud server; The standardized data packet is uploaded to the remote monitoring center or the cloud server through the communication network; the standardized data packet includes top drive status parameters and fault alarms.
6. The top drive protocol conversion method according to claim 5, characterized in that: The top drive protocol conversion method also includes: Confirming the protocol type of the heterogeneous protocol and extracting conversion information; Mapping the protocol type and the conversion information to a data structure of a target protocol to obtain mapping data; Encapsulating the mapping data, transmission mode and header information according to the format of the target protocol to obtain a data mapping configuration file; The data mapping configuration file includes application objects, combination objects, original protocol data blocks and configuration delivery; The data mapping configuration file is sent to the protocol conversion device.
7. The top drive protocol conversion method according to claim 6 is characterized in that: The top drive protocol conversion method also includes: Obtaining the register point corresponding to the data mapping configuration file and writing it into the cache; According to the data mapping configuration file, the conversion operation of the top drive raw data is completed to obtain a standardized data packet; Writing the register point corresponding to the standardized data packet into a to-be-forwarded cache list; According to the to-be-forwarded cache list, the standardized data packet is stored in a data communication station.
8. The top drive protocol conversion method according to any one of claims 5 to 7, characterized in that: The top drive protocol conversion method further includes: generating a configuration file according to the device address function table, and specifying a one-to-one mapping relationship between a public address and a private address.
9. A top drive protocol conversion system, characterized in that: include: at least one processor; a memory communicatively coupled to the at least one processor; The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method according to any one of claims 5 to 8.
10. A computer readable medium having computer program instructions stored thereon, wherein the computer program instructions can be executed by a processor to implement the method according to any one of claims 5 to 8.
Citation Information
Patent Citations
Protocol conversion device and method
CN107508785A
General protocol conversion device for downhole instrument during drilling
CN107809361A
Common interface architecture for horizontal directional drilling machines and walk-over guidance systems
US20030063013A1