Data interaction method, device, crane control system and crane
By adopting a data interaction method between mechanical equipment and remote console, using the target communication protocol to convert the device signal data, and storing and converting it in the data buffer, the problem of low data interaction efficiency between equipment of different manufacturers is solved, and efficient and convenient data exchange is achieved.
Patent Information
- Application Number
- CN202210885730.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-26
- Publication Date
- 2025-05-27
- Estimated Expiration
- 2042-07-26
AI Technical Summary
Different manufacturers and batches of mechanical equipment and remote consoles use different communication protocols and signal data structures, which makes it impossible to directly resolve communications, reducing the efficiency and convenience of data interaction between mechanical equipment and remote consoles.
A data interaction method is provided, which performs protocol conversion of the controller output signal of the device through a preset target communication protocol, generates standard format data, and stores it in a data buffer. Then, the standard format data is converted according to the data format of the current device and sent to the controller of the device.
It realizes data interaction between different types of devices, improves the efficiency and convenience of data interaction, and solves communication barriers caused by differences in communication protocols and data structures between devices.
Smart Images

Figure CN115180514B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technologies, and particularly to a data interaction method, apparatus, crane control system, and crane. Background Art
[0002] With the vigorous development of artificial intelligence, more and more mechanical equipment has been upgraded and transformed with automation and intelligence. However, for mechanical equipment and remote control consoles from different manufacturers and batches, they have different PLCs (programmable logic controllers), so the applicable communication protocols and the signal data structures defined by themselves will also vary, and communication cannot be directly parsed. Special switches and couplers, etc. are required to transform the network topology structure, which affects the efficiency and convenience of data interaction. Summary of the Invention
[0003] In view of this, embodiments of the present application are committed to providing a data interaction method, apparatus, crane control system, and crane to solve the problem in the prior art that for mechanical equipment and remote control consoles from different manufacturers and batches, the applicable communication protocols and the signal data structures defined by themselves will also vary, communication cannot be directly parsed, resulting in low efficiency and convenience of data interaction between the mechanical equipment and the remote control console.
[0004] On the one hand, the present application provides a data interaction method, including:
[0005] According to a preset target communication protocol, perform protocol conversion on the signal data corresponding to the output signal of the controller of the current device to obtain standard format data matching the target communication protocol, and store the standard format data in a data buffer;
[0006] Detect a connection device bound to the current device;
[0007] According to the data format of the current device, perform protocol conversion on the standard format data corresponding to the connection device stored in the data buffer to obtain current device data matching the data format of the current device, and send the current device data to the controller of the current device.
[0008] Optionally, the detecting a connection device bound to the current device includes:
[0009] Update the device identifier bound to the current device according to a pre-recorded device binding mapping relationship;
[0010] Detect the connection device corresponding to the device identifier bound to the current device.
[0011] Optionally, the device binding mapping relationship is determined by a binding assignment command output by a remote management system;
[0012] The binding assignment command records at least one set of devices to be bound; the devices to be bound include: the device identifiers of two devices to be bound.
[0013] Optionally, the data interaction method further includes:
[0014] Determine the binding release device identifier corresponding to the current device according to the binding release mapping relationship corresponding to the binding release command output by the remote management system;
[0015] Clear the binding release device identifier from the device identifiers bound to the current device;
[0016] The binding release command records at least one set of devices to be unbound; the devices to be unbound include: the device identifiers of two bound devices.
[0017] Optionally, the current device includes: a mechanical device or an operating console.
[0018] Optionally, the target communication protocol includes: TCP communication protocol.
[0019] According to another aspect of the present application, there is provided a data interaction device, including:
[0020] An output protocol conversion module, configured to perform protocol conversion on the signal data corresponding to the output signal of the controller of the current device according to a preset target communication protocol, obtain standard format data matching the target communication protocol, and store the standard format data in a data buffer;
[0021] A device connection detection module, configured to detect a connection device bound to the current device;
[0022] An input protocol conversion module, configured to perform protocol conversion on the standard format data corresponding to the connection device stored in the data buffer according to the data format of the current device, obtain current device data matching the data format of the current device, and send the current device data to the controller of the current device.
[0023] According to another aspect of the present application, there is provided a crane control system, including: an operating console, a data buffer, a proxy adapter of the crane, and a proxy adapter of the operating console;
[0024] The crane body is connected to the data buffer through the proxy adapter of the crane;
[0025] The operation console is connected to the data buffer via a proxy adapter of the operation console;
[0026] The proxy adapter of the crane and the proxy adapter of the operating console are both used to execute the above data interaction method;
[0027] The data buffer is used to store standard format data corresponding to the output signal of the crane controller and standard format data corresponding to the output signal of the operating console controller.
[0028] Optionally, the crane control system further comprises: a remote management system and a link manager;
[0029] The link manager is connected to the remote management system and the agent adapter respectively;
[0030] The remote management system is used to output a binding allocation command and / or a binding release command;
[0031] The link manager is used to determine the device binding mapping relationship according to the binding allocation command, and / or determine the binding unmapping relationship according to the binding release command, so that the proxy adapter updates the bound device identification according to the device binding mapping relationship and / or the binding unmapping relationship.
[0032] Optionally, in the crane control system, the proxy adapter includes: a communication connector, an input protocol adapter, an output protocol adapter and a data reader / writer;
[0033] The communication connector receives the controller output signal of the current device corresponding to the proxy adapter, the output protocol adapter performs protocol conversion on the controller output signal to obtain standard format data matching the target communication protocol, and the data reader / writer stores the standard format data in the data buffer;
[0034] The data reader / writer reads the standard format data corresponding to the connection device bound to the current device from the data buffer, the input protocol adapter performs protocol conversion on the standard format data to obtain current device data matching the data format of the current device, and the communication connector inputs the current device data into the controller of the current device.
[0035] According to another aspect of the present application, a crane is provided, comprising: a crane body and the above-mentioned crane control system.
[0036] According to the data interaction method provided by this application, protocol conversion is performed on the signal data corresponding to the output signal of the controller of the current device according to a preset target communication protocol to obtain standard format data matching the target communication protocol, and the standard format data is stored in a data buffer; the connection device bound to the current device is detected; according to the data format of the current device, protocol conversion is performed on the standard format data corresponding to the connection device stored in the data buffer to obtain current device data matching the data format of the current device, and the current device data is sent to the controller of the current device. By adopting the technical solution of this application, the output signals of the controllers of all devices are converted into standard format data corresponding to the target communication protocol and stored in the data buffer. When the current device performs data interaction with its bound device, the standard format data obtained from the data buffer is directly converted into the data format of the current device, thereby realizing data interaction between different types of devices and improving the efficiency and convenience of data interaction. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 FIG. is a schematic flowchart of a data interaction method provided by an embodiment of this application.
[0038] Figure 2 FIG. is a schematic diagram of the point mapping conversion process corresponding to protocol conversion provided by an embodiment of this application.
[0039] Figure 3 FIG. is a schematic flowchart of the process of detecting a connection device bound to the current device provided by an embodiment of this application.
[0040] Figure 4 FIG. is a schematic flowchart of the process of unbinding a device provided by an embodiment of this application.
[0041] Figure 5 FIG. is a schematic structural diagram of a data interaction device provided by an embodiment of this application.
[0042] Figure 6 FIG. is a schematic structural diagram of a crane control system provided by an embodiment of this application.
[0043] Figure 7 FIG. is a schematic structural diagram of a proxy adapter provided by an embodiment of this application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0044] Next, the technical solutions in the embodiments of this application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are only a part of the embodiments of this application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of this application.
[0045] When two devices from different manufacturers and different batches (e.g., mechanical equipment and operating consoles) perform data interaction, a corresponding proxy adapter can be set for each device. The proxy adapter can be connected to the controller of its corresponding device and can also perform protocol conversion on the acquired data.
[0046] Figure 1 It is a schematic flowchart of a data interaction method provided by an embodiment of the present application. As Figure 1 shown, the data interaction method of this embodiment is applied to a proxy adapter, and the specific steps include:
[0047] S101. According to a preset target communication protocol, perform protocol conversion on the signal data corresponding to the output signal of the controller of the current device to obtain standard format data that matches the target communication protocol, and store the standard format data in a data buffer.
[0048] Specifically, in this embodiment, a target communication protocol is preset, and the target communication protocol is used to establish a connection between devices that need to perform data interaction, so as to perform data interaction. In this embodiment, a proxy adapter is correspondingly set for each device. The proxy adapter correspondingly set for the current device can receive the output signal of the controller of the current device, and perform protocol conversion on the signal data corresponding to the output signal of the controller according to the target communication protocol, and use the data format corresponding to the target communication protocol as the standard data format, so that the format of the signal data is converted into the standard data format, thereby obtaining standard format data that matches the target communication protocol, and the standard format data carries the device identifier of the current device. A data buffer is preset in this embodiment, and the standard format data corresponding to the output signals of the controllers of each device is stored in the data buffer, and each standard format data carries a device identifier.
[0049] In this embodiment, the current device can be either mechanical equipment or an operating console. The proxy adapter correspondingly set for the mechanical equipment can receive the output signal of the controller of the mechanical equipment, and convert the data format of the signal data corresponding to the output signal of the controller into the standard data format corresponding to the target communication protocol, obtain standard format data that matches the target communication protocol, and store the standard format data carrying the device identifier of the mechanical equipment in the data buffer. The proxy adapter correspondingly set for the operating console can receive the output signal of the controller of the operating console, and convert the data format of the signal data corresponding to the output signal of the controller into the standard data format corresponding to the target communication protocol, obtain standard format data that matches the target communication protocol, and store the standard format data carrying the device identifier of the operating console in the data buffer.
[0050] Further, the proxy adapter includes a communication connector, an output protocol adapter, and a data reader / writer. Among them, the communication connector can receive the controller output signal of the device corresponding to the proxy adapter and transmit the controller output signal to the output protocol adapter. The output protocol adapter performs protocol conversion on the signal data corresponding to the controller output signal according to the target communication protocol to obtain standard format data matching the target communication protocol, so that the data reader / writer writes the standard format data with the device identifier of the device corresponding to the proxy adapter into the data buffer.
[0051] Further, in this embodiment, the pre-set target communication protocol preferably adopts the TCP communication protocol. The data format corresponding to the TCP communication protocol is a byte array, and the length is determined by the device type of the current device.
[0052] S102. Detect the connection device bound to the current device.
[0053] Specifically, for devices that need to perform data interaction, device binding will be pre-performed. Therefore, the device identifier of the device bound to the current device is stored in the proxy adapter of the current device. In this embodiment, it is necessary to detect the connection device bound to the current device according to the stored device identifier of the device bound to the current device. For example, if the first operating console wants to control the first mechanical device, then the first mechanical device needs to receive the control data of the first operating console, and the first operating console also needs to receive the feedback data output by the first mechanical device. At this time, it is necessary to bind the first operating console and the first mechanical device. The device identifier of the device bound to the first operating console is the device identifier of the first mechanical device, and the device identifier of the device bound to the first mechanical device is the device identifier of the first operating console. In addition, the device bound to each device can be multiple.
[0054] S103. Perform protocol conversion on the standard format data corresponding to the connection device stored in the data buffer according to the data format of the current device to obtain the current device data matching the data format of the current device, and send the current device data to the controller of the current device.
[0055] Specifically, if no connection device bound to the current device is detected in the above step, it means that the current device is not bound to any device, and there is no need to perform data interaction. If a connection device bound to the current device is detected, then if the connection device bound to the current device wants to perform data interaction with the current device, the proxy adapter of the connection device will perform protocol conversion on the signal data corresponding to the controller output signal of the connection device and store the converted standard format data in the data buffer.
[0056] The proxy adapter corresponding to the current device first reads the standard format data corresponding to the connected device from the data buffer. Specifically, it queries the device identifiers carried by each standard format data in the data buffer and reads out the standard format data carrying the device identifier bound to the current device. Then, it performs protocol conversion on the standard format data, converting the standard format data from the standard data format to the data format of the current device, thereby obtaining the current device data that matches the data format of the current device. Finally, the proxy adapter corresponding to the current device sends the current device data to the control right of the current device.
[0057] In this embodiment, if the current device is a mechanical device, it can read the standard format data corresponding to the operating platform bound to the mechanical device from the data buffer, perform protocol conversion on the standard format data, convert it from the standard data format to the data format corresponding to the mechanical device, and send the current device data after protocol conversion to the controller of the mechanical device. If the current device is an operating platform, it can read the standard format data corresponding to the mechanical device bound to the operating platform from the data buffer, perform protocol conversion on the standard format data, convert it from the standard data format to the data format corresponding to the operating platform, and send the current device data after protocol conversion to the controller of the operating platform.
[0058] Furthermore, the proxy adapter further includes an input protocol adapter. Among them, the data reader / writer reads the standard format data corresponding to the connected device bound to the current device from the data buffer. The input protocol adapter performs protocol conversion on the standard format data according to the data format of the current device to obtain the current device data that matches the data format of the current device. The communication connector transmits the current device data to the controller of the current device.
[0059] Figure 2 It is a schematic diagram of the point mapping conversion process corresponding to the protocol conversion provided by the embodiment of the present application. As Figure 2 shown, in this embodiment, it is assumed that the data format of the signal data corresponding to the output signal of the controller of the connected device bound to the current device is data format A. The proxy adapter corresponding to the connected device bound to the current device converts the signal data from data format A to the standard data format. The proxy adapter corresponding to the current device converts the standard format data corresponding to the connected device it is bound to from the standard data format to the data format B of the current device.
[0060] As can be seen from the above introduction, in the data interaction method of the embodiment of the present application, according to a preset target communication protocol, protocol conversion is performed on the signal data corresponding to the output signal of the controller of the current device to obtain standard format data matching the target communication protocol, and the standard format data is stored in the data buffer; the connection device bound to the current device is detected; according to the data format of the current device, protocol conversion is performed on the standard format data corresponding to the connection device stored in the data buffer to obtain current device data matching the data format of the current device, and the current device data is sent to the controller of the current device. By adopting the technical solution of this embodiment, the output signals of the controllers of all devices are converted into standard format data corresponding to the target communication protocol and stored in the data buffer. When the current device performs data interaction with the device bound to it, the standard format data obtained from the data buffer is directly converted into the data format of the current device, thereby realizing data interaction between different types of devices and improving the efficiency and convenience of data interaction.
[0061] Further, Figure 3 is a schematic diagram of the processing flow for detecting the connection device bound to the current device provided by the embodiment of the present application. As Figure 3 shown, in the data interaction method of this embodiment, step S102 specifically includes:
[0062] S301. Update the device identifier bound to the current device according to the pre-recorded device binding mapping relationship.
[0063] Specifically, when a device needs to perform data interaction, the staff can use the remote management system to output a binding assignment command. The binding assignment command records the device pairs that need to perform data interaction, that is, the device pairs to be bound, and the device pairs to be bound recorded in the binding assignment command are at least one group. Each group of device pairs to be bound includes the device identifiers of two devices to be bound (that is, the devices that need to perform data interaction). For example, if the staff needs to control the first mechanical device using the first operating console, then the first operating console and the first mechanical device need to be bound. At this time, the binding assignment command records the device identifier of the first operating console, the device identifier of the first mechanical device, and the binding relationship between the two device identifiers.
[0064] The link manager can record the device binding mapping relationship according to the binding assignment command output by the remote management system, so that the proxy adapters set corresponding to each device update their bound device identifiers according to the device binding mapping relationship. Then, the current device also needs to update the device identifier bound to the current device according to the device binding mapping relationship.
[0065] S302. Detect the connection device corresponding to the device identifier bound to the current device.
[0066] Specifically, the proxy adapter corresponding to the current device needs to detect the device identifier bound to the current device. If the device identifier bound to the current device is empty, it means that the current device has no bound device and no data interaction is required. If the device identifier bound to the current device is not empty, the connected device corresponding to the device identifier bound to the current device is determined in order to obtain the data corresponding to the controller output signal of the connected device.
[0067] Further, Figure 4 is a schematic diagram of a process flow for unbinding a device provided in an embodiment of the present application, such as Figure 4 As shown, the data interaction method of this embodiment also includes:
[0068] S401: Determine a binding release device identifier corresponding to the current device according to a binding release mapping relationship corresponding to a binding release command output by the remote management system.
[0069] Specifically, if the staff wants to unbind the binding relationship between bound devices, they can use the remote management system to output a binding release command, which records at least one set of device pairs to be unbound, and the device pairs to be unbound include the device identifiers of two bound devices. The link manager can record the binding release mapping relationship according to the binding release command output by the remote management system, and the proxy adapters corresponding to each device can determine their corresponding binding release device identifiers according to the binding release mapping relationship. Then the current device also needs to query the device binding mapping relationship according to the device binding mapping relationship, and the device identifier that has a mapping relationship with the device identifier of the current device is used as the binding release device identifier corresponding to the current device.
[0070] S402: Clear the unbinding device identifier from the device identifiers bound to the current device.
[0071] Specifically, in this embodiment, each device needs to clear its corresponding unbinding device identifier from its bound device identifier, so as to update the device identifier bound to each device. Then, the unbinding device identifier corresponding to the current device also needs to be cleared from the device identifier bound to the current device.
[0072] Furthermore, if the current device can be an operation console, it can also be an operation console set. When the current device is an operation console, a controller PLC is set for each operation console; when the current device is an operation console set, a controller PLC is set for all operation consoles in the operation console set. The controller PLC can only establish a server for all operation consoles, and combine the output signals of all operation consoles as controller output signals, or establish a server for each operation console, and output the output signals of each operation console as controller output signals.
[0073] Corresponding to the above data interaction method, an embodiment of the present application further provides a data interaction device. Figure 5 It is a schematic structural diagram of a data interaction device provided by an embodiment of the present application. As Figure 5 shown, the data interaction device of this embodiment includes:
[0074] An output protocol conversion module 100, configured to perform protocol conversion on the signal data corresponding to the output signal of the controller of the current device according to a preset target communication protocol, obtain standard format data matching the target communication protocol, and store the standard format data in a data buffer;
[0075] A device connection detection module 110, configured to detect a connection device bound to the current device;
[0076] An input protocol conversion module 120, configured to perform protocol conversion on the standard format data corresponding to the connection device stored in the data buffer according to the data format of the current device, obtain current device data matching the data format of the current device, and send the current device data to the controller of the current device.
[0077] In the data interaction device proposed by the embodiment of the present application, the output protocol conversion module 100 performs protocol conversion on the signal data corresponding to the output signal of the controller of the current device according to a preset target communication protocol, obtains standard format data matching the target communication protocol, and stores the standard format data in the data buffer; the device connection detection module 110 detects a connection device bound to the current device; the input protocol conversion module 120 performs protocol conversion on the standard format data corresponding to the connection device stored in the data buffer according to the data format of the current device, obtains current device data matching the data format of the current device, and sends the current device data to the controller of the current device. By adopting the technical solution of this embodiment, the output signals of the controllers of all devices are converted into standard format data corresponding to the target communication protocol and stored in the data buffer. When the current device performs data interaction with its bound device, the standard format data obtained from the data buffer is directly converted into the data format of the current device, thereby realizing data interaction between different types of devices and improving the efficiency and convenience of data interaction.
[0078] Further, in the data interaction device of this embodiment, the device connection detection module 110 is specifically configured to:
[0079] Update the device identifier bound to the current device according to the pre-recorded device binding mapping relationship;
[0080] Detect the connection device corresponding to the device identifier bound to the current device.
[0081] Further, in the data interaction device of this embodiment, the device binding mapping relationship is determined by a binding assignment command output by a remote management system; the binding assignment command records at least one set of devices to be bound; the devices to be bound include: the device identifiers of two devices to be bound.
[0082] Further, the data interaction device of this embodiment further includes: an unbinding identifier determination module and an unbinding identifier clearing module.
[0083] The unbinding identifier determination module is configured to determine the unbinding device identifier corresponding to the current device according to the unbinding mapping relationship corresponding to the binding release command output by the remote management system;
[0084] The unbinding identifier clearing module is configured to clear the unbinding device identifier from the device identifiers bound to the current device;
[0085] The binding release command records at least one set of devices to be unbound; the devices to be unbound include: the device identifiers of two bound devices.
[0086] Further, in the data interaction device of this embodiment, the current device includes: a mechanical device or an operating console.
[0087] Further, in the data interaction device of this embodiment, the target communication protocol includes: the TCP communication protocol.
[0088] The data interaction device provided in this embodiment belongs to the same inventive concept as the data interaction method provided in the embodiments of the present application, can execute the data interaction method provided in any embodiment of the present application, and has the corresponding functional modules and beneficial effects for executing the data interaction method. Technical details not described in detail in this embodiment can be found in the data interaction method provided in the embodiments of the present application, and will not be elaborated here.
[0089] Another embodiment of the present application further provides a storage medium, on which a computer program is stored. When the computer program is executed by a processor, each step of the data interaction method provided in any of the above embodiments is implemented.
[0090] Figure 6 is a schematic structural diagram of a crane control system provided in an embodiment of the present application. As Figure 6 shown, this embodiment further provides a crane control system 300, including: an operating console 320, a data buffer 340, a proxy adapter 310 of the crane, and a proxy adapter 330 of the operating console. Among them, the crane body 200 is connected to the data buffer 340 through the proxy adapter 310 of the crane; the operating console 320 is connected to the data buffer 340 through the proxy adapter 330 of the operating console.
[0091] The controller of the crane body 200 outputs a controller output signal to the proxy adapter 310 of the crane, and the controller of the operation console 320 outputs a controller output signal to the proxy adapter 330 of the operation console. The proxy adapter 310 of the crane and the proxy adapter 330 of the operation console are both used to execute each step of the data interaction method provided in the above embodiments. The data buffer 340 stores the standard format data corresponding to the control output signal of the crane 300 and the standard format data corresponding to the controller output signal of the operation console 320.
[0092] Furthermore, the crane control system 300 of this embodiment further includes: a remote management system 350 and a link manager 360. Among them, the link manager 360 is respectively connected to the remote management system 350, the proxy adapter 310 of the crane, and the proxy adapter 330 of the operation console.
[0093] The remote management system 350 outputs a binding assignment command and / or a binding release command; the link manager 360 determines a device binding mapping relationship according to the binding assignment command, and / or determines a binding release mapping relationship according to the binding release command, so that the proxy adapter 310 of the crane and the proxy adapter 330 of the operation console update the bound device identifiers according to the device binding mapping relationship and / or the binding release mapping relationship.
[0094] In addition, the data buffer 340 can be connected to the remote management system 350 to transmit the data in the data buffer 340 or the operation console status information to the remote management system 350.
[0095] Furthermore, Figure 7 is a schematic structural diagram of the proxy adapter provided in the embodiment of the present application. As Figure 7 shown, in the crane control system 300 of this embodiment, the proxy adapter 310 of the crane and the proxy adapter 330 of the operation console both include: a communication connector 400, an input protocol adapter 410, an output protocol adapter 420, and a data reader / writer 430. Among them, the communication connector 400 is connected to the data reader / writer 430 through the input protocol adapter 410 or the output protocol adapter 420. The communication connector in the proxy adapter 310 of the crane is connected to the controller of the crane 300, and the communication connector in the proxy adapter 330 of the operation console is connected to the controller of the operation console 320. The data reader / writer 430 is connected to the data buffer 340.
[0096] The communication connector 400 receives the controller output signal of the current device corresponding to the proxy adapter, and the output protocol adapter 420 performs protocol conversion on the controller output signal to obtain standard format data that matches the target communication protocol. The data reader / writer 430 stores the standard format data in the data buffer 340.
[0097] The data reader / writer 430 reads the standard format data corresponding to the connected device bound to the current device from the data buffer 340. The input protocol adapter 410 performs protocol conversion on the standard format data to obtain the current device data that matches the data format of the current device. The communication connector 400 inputs the current device data into the controller of the current device.
[0098] Another embodiment of the present application further provides a crane, including: a crane body 200 and the crane control system 300 provided in the above embodiment, wherein the crane body 200 is connected to the crane control system 300. The controller of the crane body 200 can send the controller output signal to the crane control system 300, and can also receive the device data in the data format corresponding to the crane body 200 output by the crane control system 300.
[0099] The basic principles of the present application have been described above in conjunction with specific embodiments. However, it should be noted that the advantages, benefits, effects, etc. mentioned in the present application are only examples and not limitations. It cannot be considered that these advantages, benefits, effects, etc. are essential for each embodiment of the present application. In addition, the above-disclosed specific details are only for the purpose of illustration and facilitating understanding, rather than limitations. The above details do not limit the present application to necessarily adopt the above specific details to implement.
[0100] The block diagrams of the devices, apparatuses, equipment, and systems involved in the present application are only illustrative examples and do not intend to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagrams. As those skilled in the art will recognize, these devices, apparatuses, equipment, and systems can be connected, arranged, and configured in any way. Words such as "including", "comprising", "having", etc. are open-ended words, meaning "including but not limited to", and can be used interchangeably with them. The word "or" and "and" used herein refer to the word "and / or", and can be used interchangeably with it, unless the context clearly indicates otherwise. The word "such as" used herein refers to the phrase "such as but not limited to", and can be used interchangeably with it.
[0101] It should also be noted that in the devices, equipment, and methods of the present application, each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent solutions of the present application.
[0102] The foregoing description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present application. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of the present application. Accordingly, the present application is not intended to be limited to the aspects shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
[0103] It should be understood that the ordinal numbers "first", "second", "third", "fourth", "fifth" and "sixth" used in the description of the embodiments of the present application are only for a clearer elaboration of the technical solutions and cannot be used to limit the protection scope of the present application.
[0104] The foregoing description has been presented for purposes of illustration and description. Furthermore, this description is not intended to limit the embodiments of the present application to the form disclosed herein. Although several example aspects and embodiments have been discussed above, those skilled in the art will recognize some of their variations, modifications, alterations, additions, and subcombinations.
Claims
1. A data interaction method, It is characterized in that include: According to a preset target communication protocol, the signal data corresponding to the output signal of the controller of the current device is converted into a protocol to obtain standard format data matching the target communication protocol, and the standard format data is stored in a data buffer; Detecting a connected device bound to the current device; According to the data format of the current device, the standard format data corresponding to the connected device stored in the data buffer is converted into a protocol to obtain current device data matching the data format of the current device, and the current device data is sent to the controller of the current device.
2. The method according to claim 1, It is characterized in that The detecting a connected device bound to the current device includes: According to the pre-recorded device binding mapping relationship, the device identification of the current device binding is updated; Detect a connected device corresponding to the device identifier bound to the current device.
3. The method according to claim 2, It is characterized in that The device binding mapping relationship is determined by a binding allocation command output by a remote management system; The binding allocation command records at least one set of device pairs to be bound; the device pairs to be bound include: device identifiers of two devices to be bound.
4. The method according to claim 2, It is characterized in that Also includes: Determine the binding release device identifier corresponding to the current device according to the binding release mapping relationship corresponding to the binding release command output by the remote management system; Clearing the unbinding device identifier from the device identifiers bound to the current device; The binding release command records at least one set of device pairs to be unbound; The to-be-unbound device pair includes: device identifiers of two bound devices.
5. The method according to claim 1, It is characterized in that The current equipment includes: mechanical equipment or operating table.
6. The method according to claim 1, It is characterized in that The target communication protocol includes: TCP communication protocol.
7. A data interaction device, It is characterized in that include: An output protocol conversion module is used to perform protocol conversion on the signal data corresponding to the output signal of the controller of the current device according to a preset target communication protocol, obtain standard format data matching the target communication protocol, and store the standard format data in a data buffer; A device connection detection module, used to detect a connected device bound to the current device; An input protocol conversion module is used to perform protocol conversion on the standard format data corresponding to the connected device stored in the data buffer according to the data format of the current device, obtain current device data matching the data format of the current device, and send the current device data to the controller of the current device.
8. A crane control system, It is characterized in that include: An operating console, a data buffer, a proxy adapter for a crane, and a proxy adapter for said operating console; The crane body is connected to the data buffer via a proxy adapter of the crane; The operation console is connected to the data buffer through the proxy adapter of the operation console; The proxy adapter of the crane and the proxy adapter of the operation console are both used to execute the data interaction method according to any one of claims 1 to 6; The data buffer is used to store the standard format data corresponding to the output signal of the controller of the crane and the standard format data corresponding to the output signal of the controller of the operation console.
9. The crane control system according to claim 8, wherein, further comprising: a remote management system and a link manager; The link manager is respectively connected to the remote management system, the proxy adapter of the crane, and the proxy adapter of the operation console; The remote management system is used to output a binding assignment command and / or a binding release command; The link manager is used to determine a device binding mapping relationship according to the binding assignment command, and / or determine a binding release mapping relationship according to the binding release command, so that the proxy adapter of the crane and the proxy adapter of the operation console update the bound device identifier according to the device binding mapping relationship and / or the binding release mapping relationship.
10. The crane control system according to claim 8, wherein, The proxy adapter of the crane and the proxy adapter of the operation console both include: a communication connector, an input protocol adapter, an output protocol adapter, and a data reader / writer; The communication connector receives the output signal of the controller of the current device corresponding to the proxy adapter of the crane and the proxy adapter of the operation console, the output protocol adapter performs protocol conversion on the output signal of the controller to obtain standard format data matching the target communication protocol, and the data reader / writer stores the standard format data into the data buffer; The data reader / writer reads the standard format data corresponding to the connected device bound to the current device from the data buffer, the input protocol adapter performs protocol conversion on the standard format data to obtain the current device data matching the data format of the current device, and the communication connector inputs the current device data into the controller of the current device.
11. A crane, wherein, comprising: a crane body and the crane control system according to any one of claims 8-10.
Citation Information
Patent Citations
Intelligent meter library multi-protocol adaptation control method and system
CN104298196A
Method, device, network controller and system for data transmission
CN109088882A