Communication platform interaction method, device and storage medium

By establishing a connection with third-party devices in the communication platform and obtaining and using preset interactive packets, the problems of long R&D cycle and low efficiency caused by differences in communication instructions in industrial equipment control are solved, and efficient multi-party collaborative control is achieved.

CN114474047BActive Publication Date: 2025-03-07QKM TECH (DONG GUAN) CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111623909.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-28
Publication Date
2025-03-07
Estimated Expiration
2041-12-28

AI Technical Summary

Technical Problem

In industrial equipment control, differences in communication instructions of third-party visual equipment lead to robots need to redefine communication instructions, resulting in long R&D cycle and low efficiency.

Method used

An interaction method of a communication platform is provided, by establishing a communication connection with a third-party device, obtaining a preset interactive packet, and controlling the industrial equipment to interact with the third-party device according to the interactive packet.

Benefits of technology

It improves the efficiency of industrial equipment tuning and testing, shortens the R&D cycle, improves the production efficiency of industrial equipment, and realizes multi-party collaborative control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114474047B_ABST
    Figure CN114474047B_ABST
Patent Text Reader

Abstract

The present application provides an interaction method, device and storage medium of a communication platform, the method comprising: establishing a communication connection with at least one third-party device; obtaining a first interaction package for the interaction between industrial equipment and third-party devices from a preset interaction package set; and controlling the industrial equipment to interact with the corresponding third-party device according to the first interaction package. The device and storage medium apply the above method, by loading the first interaction package for the interaction between industrial equipment and third-party devices, so that the industrial equipment can interact with the corresponding third-party device according to the first interaction package, and convert the instructions to be controlled into the corresponding instructions in the first interaction package, thereby realizing the control of different functions. Each first interaction package corresponds to a third-party device, so that the industrial equipment can control at least one third-party device at the same time to realize multi-party collaboration. Therefore, the embodiments of the present application can improve the efficiency of industrial equipment commissioning, thereby improving the production efficiency of industrial equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to, but are not limited to, the field of communication technology, and in particular, to an interaction method, device, and storage medium of a communication platform. Background Art

[0002] In communication systems, especially industrial external networks, when controlling industrial equipment, each industrial equipment often has a one-to-one correspondence with a higher-level component for human-machine interaction. Taking robot visual positioning as an example, the corresponding communication instructions of third-party visual devices from different manufacturers are different. When the robot and the third-party visual device cooperate to complete the calibration function, the robot needs to redefine and adjust the communication instructions so that the robot can accurately control the third-party visual device to complete the calibration. Moreover, the robot and the third-party visual device often correspond one-to-one. After the third-party visual device is changed, the robot needs to redefine and adjust the communication instructions, resulting in a long R&D cycle and low efficiency. Summary of the invention

[0003] The following is an overview of the subject matter described in detail herein. This overview is not intended to limit the scope of protection of this application.

[0004] The embodiments of the present application provide an interactive method, device and storage medium of a communication platform, which can improve the efficiency of industrial equipment commissioning and thereby improve the production efficiency of industrial equipment.

[0005] In a first aspect, an embodiment of the present application provides an interactive method of a communication platform, including:

[0006] establishing a communication connection with at least one third-party device;

[0007] Acquire a first interaction package for interaction between the industrial device and the third-party device from a preset interaction package set;

[0008] According to the first interaction package, the industrial device is controlled to interact with the corresponding third-party device.

[0009] In a second aspect, an embodiment of the present application further provides a device, including:

[0010] Communication module, used to establish connection with preset third-party equipment;

[0011] A selection module: acquiring a first interaction package for interaction between the industrial device and the third-party device from a preset interaction package set;

[0012] A control module is used to control the industrial device to interact with the corresponding third-party device according to the first interaction package.

[0013] In a third aspect, an embodiment of the present application further provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, it is an interaction method of a communication platform as described in any one of the first aspects.

[0014] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the communication platform interaction method described in any one of the first aspects.

[0015] According to the above-mentioned embodiments of the present application, at least the following beneficial effects are achieved: by loading the first interaction package for industrial equipment to interact with third-party equipment, the industrial equipment can interact with the corresponding third-party equipment according to the first interaction package. Since the first interaction package defines the interaction instructions with the third-party equipment, the industrial equipment can convert the instructions to be controlled into the corresponding instructions in the first interaction package, thereby realizing the control of different functions. Each first interaction package corresponds to a third-party device, so that the industrial equipment can control at least one third-party device at the same time, realizing multi-party collaboration. Therefore, compared with the traditional one-to-one control and real-time debugging methods, the embodiments of the present application can improve the efficiency of industrial equipment debugging, thereby improving the production efficiency of industrial equipment. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The accompanying drawings are used to provide further understanding of the technical solution of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the technical solution of the present application and do not constitute a limitation on the technical solution of the present application.

[0017] Figure 1 It is a module schematic diagram of a device in an embodiment of the present application;

[0018] Figure 2 is a flow chart of an interactive method of a communication platform in an embodiment of the present application;

[0019] Figure 3 It is a schematic diagram of the monitoring process of the interactive method of the communication platform of the embodiment of the present application;

[0020] Figure 4 It is a schematic diagram of the interaction flow of multiple third-party devices in the interaction method of the communication platform of an embodiment of the present application. DETAILED DESCRIPTION

[0021] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0022] It should be noted that, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first", "second", etc. in the specification and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0023] In communication systems, especially industrial external networks, when controlling industrial equipment, each industrial equipment often has a one-to-one correspondence with an upper-level component for human-computer interaction. Taking the visual positioning of robots as an example, the corresponding communication instructions of third-party visual devices produced by different manufacturers are different. When the robot cooperates with the third-party visual device to complete the calibration function, it is necessary to redefine and adjust the communication instructions of the robot so that the robot can accurately control the third-party visual device to complete the calibration. The robot and the third-party visual device often correspond one-to-one. After the third-party visual device is changed, the communication instructions of the robot need to be redefined and adjusted, resulting in a long R&D cycle and low efficiency. Based on this, the embodiments of the present application provide an interactive method, device and storage medium of a communication platform, which can improve the efficiency of industrial equipment adjustment and testing, thereby improving the production efficiency of industrial equipment.

[0024] Reference Figure 1 In the embodiment shown, the present application provides a device, including a communication module 110, a selection module 120 and a control module 130, wherein the communication module 110 is used to establish a connection with a preset third-party device 200; the selection module 120 obtains a first interaction package for interaction between the industrial device and the third-party device 200 from a preset interaction package set; the control module 130 is used to control the industrial device to interact with the corresponding third-party device 200 according to the first interaction package.

[0025] It should be noted that the device can be an interactive platform or an industrial device with an interactive interface. Taking a robot as an example, the device can be the host computer of the robot. At this time, the user can select the first interactive package for the robot connected to the host computer through the host computer. The host computer receives the operation instructions from the robot and converts the instructions into operation instructions for controlling the third-party device matched by the first interactive package, thereby realizing the interaction between the industrial equipment and the corresponding third-party device according to the first interactive package. Or the host computer gives the first interactive package to the robot, so that the robot loads and runs the first interactive package, and then when performing autonomous debugging, the preset operation instructions are directly converted into operation instructions that can be recognized by the third-party device through the first interactive package to realize interaction. It should be noted that the above module can also be integrated in the robot, and the user operates the robot, and then loads the first interactive package, and realizes the interaction with the third-party device through the first interactive package.

[0026] It can be understood by those skilled in the art that Figure 1 The structural schematic diagram shown in the figure does not constitute a limitation on the embodiments of the present application, and may include more or fewer modules than shown in the figure, or a combination of certain modules, or an arrangement of different modules.

[0027] Based on the above Figure 1 The structural schematic diagram shown proposes various embodiments of the interactive method of the communication platform of the present application.

[0028] The method of the embodiment of the present application is further described below in conjunction with the accompanying drawings.

[0029] Reference Figure 2 In the embodiment shown, the embodiment of the present application proposes an interactive method of a communication platform, the method comprising:

[0030] Step S100: Establish a communication connection with at least one third-party device.

[0031] It should be noted that only after establishing a communication connection with the third-party device can the device parameter information such as the model of the third-party device be obtained, and only then can the selected first interaction package be determined according to the device parameters.

[0032] Step S200: Acquire a first interaction package for interaction between an industrial device and a third-party device from a preset interaction package set.

[0033] Step S300: According to the first interaction package, control the industrial device to interact with the corresponding third-party device.

[0034] It should be noted that after the first interaction package is determined, the first interaction package is run in the device used to initiate the operation instruction to the third-party device, and the device can be any one of the communication interaction platform and the industrial device, so that the operation instruction issued by the industrial device can be matched by the third-party device. At this time, since the interaction package set is pre-set, in actual application, the test time can be shortened when regulating multiple third-party devices of the same type.

[0035] Therefore, by loading the first interaction package for the interaction between the industrial equipment and the third-party equipment, the industrial equipment can interact with the corresponding third-party equipment according to the first interaction package. Since the interaction instructions with the third-party equipment are defined in the first interaction package, the industrial equipment can convert the instructions to be controlled into the corresponding instructions in the first interaction package, thereby realizing the control of different functions. Each first interaction package corresponds to a third-party device, so that the industrial equipment can control at least one third-party device at the same time to realize multi-party collaboration. Therefore, compared with the traditional one-to-one control and real-time debugging methods, the embodiments of the present application can improve the efficiency of industrial equipment debugging, thereby improving the production efficiency of industrial equipment.

[0036] It is understandable that step S200, obtaining a first interaction package for the industrial device to interact with a third-party device from a preset interaction package set, includes: selecting a first communication package for interacting with the third-party device from the preset interaction package set.

[0037] It should be noted that different third-party devices recognize instructions differently, and the first communication packet represents a set of operation instructions that can be recognized by the third-party device.

[0038] It is understandable that step S200, obtaining a first interaction package for interaction between the industrial device and the third-party device from a preset interaction package set, includes: selecting a plurality of first function packages matching the function parameters of the third-party device from the preset interaction package set.

[0039] It should be noted that the first function package is a collection of several operation instructions, and the collection of several operation instructions can complete a specific process. For example, for visual positioning, the first function package includes all instructions for automatic visual positioning, and automatic visual positioning can be completed by executing the first function package. It should be noted that the first function package can be set to one or more, and is set specifically according to the functions to be implemented.

[0040] It should be noted that the first function package and the first communication package can coexist and are both one of the first interaction packages. At this time, the user can load the first communication package or the first function package, or both, as needed.

[0041] It is understandable that the first function package includes a visual positioning algorithm package, and the visual positioning algorithm package is used to assist third-party equipment to complete automatic calibration.

[0042] It is understandable that step S200, obtaining a first interaction package for interaction between industrial equipment and third-party equipment from a preset interaction package set, includes: matching and displaying a plurality of second interaction packages from the interaction package set according to search keywords input by the user; and determining the first interaction package according to the user's function package selection request.

[0043] It should be noted that the communication interaction platform is provided with an interaction interface, and the user can enter the search keyword according to the interaction interface. At this time, the interaction interface will display at least one second interaction package matching the search keyword, and the user can select the displayed second interaction package. The function package selection request is triggered by the user clicking on the second interaction package.

[0044] It is understandable that step S200, obtaining a first interaction package for interaction between industrial equipment and third-party equipment from a preset interaction package set, includes: determining the first interaction package according to a function package selection request triggered by a user in response to a preset classification and / or list displayed.

[0045] It should be noted that, in some embodiments, when the user is not sure what first interaction package can be used, the user can view it in a preset category or list, and then trigger a selection request from the category or list, thereby causing the communication platform to load the first interaction package.

[0046] It is understandable that step S200, obtaining a first interaction package for interaction between the industrial device and the third-party device from a preset interaction package set, includes: obtaining the first interaction package from the preset interaction package set by matching the type of the third-party device through a preset selection algorithm.

[0047] It should be noted that, in some embodiments, the communication platform can also automatically determine the first interaction package according to a preset selection algorithm. It should be noted that one of a selection algorithm, a search keyword, a classification, and a list can be selected to select the first interaction package of the industrial device.

[0048] It should be noted that the selection algorithm can be a preset mapping table that records which type matches which interaction package, or it can be based on historical selection preferences to select the best recommendation.

[0049] It is understandable that the method further includes: automatically matching and obtaining the first interaction package at the current moment according to the number of accesses of the third-party device and the first interaction package selected in history.

[0050] Exemplarily, the first interaction package with the most historical selection times may be selected as the current first interaction package, or the last first interaction package may be selected as the first interaction package at the current moment.

[0051] It is understandable that the first interaction package at the current moment is automatically matched based on the number of times the third-party device accesses and the first interaction package selected historically, including: obtaining the first interaction package selected by the third-party device during the previous access; and using the first interaction package selected last time as the first interaction package at the current moment.

[0052] It should be noted that selecting the former is more in line with the current control needs for third-party devices.

[0053] Understandably, referring to Figure 3 As shown, the method also includes:

[0054] Step S400: establishing a communication thread with a third-party device.

[0055] Step S500: Stop interaction with the third-party device according to the operating status of the third-party device monitored by the communication thread.

[0056] It should be noted that by establishing a communication thread and monitoring the operating status of the third-party device in real time, the interaction with the third-party device can be stopped in time when the third-party device is disconnected, thus saving resources.

[0057] Understandably, referring to Figure 4 As shown, step S300, interacting with a corresponding third-party device according to a first interaction package, includes:

[0058] Step S310: Create a first thread corresponding one-to-one to the third-party device.

[0059] Step S320: interact with a corresponding third-party device through the first thread and the corresponding first interaction package.

[0060] It should be noted that a first thread is established for each third-party device, so that the industrial device can interact with the first thread corresponding to the third-party device, so that one industrial device does not affect each other when controlling multiple third-party devices.

[0061] It is understandable that the method further includes: receiving an interaction package adding request from the user, wherein the interaction package request is used to add the third interaction package to be added into the interaction package set.

[0062] By dynamically responding to the request to add an interaction package, the dynamic loading of the third interaction package can be realized. The request to add an interaction package can be a request to reload a configuration file, wherein the configuration file defines the list and location of the loading. The request to add an interaction package can also be to directly load a specified third interaction package through the interaction interface.

[0063] It can be understood that the present application also proposes an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, and an interaction method of the above-mentioned communication platform when the processor executes the computer program.

[0064] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0065] It should be noted that the electronic device in this embodiment can be applied as follows Figure 1 The device of the embodiment shown in the figure, the electronic device in this embodiment and the Figure 2 The interaction method of the communication platform shown has the same inventive concept, so these embodiments have the same implementation principle and technical effect, which will not be described in detail here.

[0066] The non-transient software program and instructions required to implement the information processing method of the above embodiment are stored in the memory. When executed by the processor, the information processing method of the above embodiment is executed, for example, the above described Figure 2 , Figure 3 , Figure 4 The corresponding method steps.

[0067] It can be understood that the present application also provides a computer-readable storage medium storing computer-executable instructions, and the computer-executable instructions are used to execute the interaction method of the above-mentioned communication platform.

[0068] It will be appreciated by those skilled in the art that all or some of the steps and systems in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or transient medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0069] The above is a specific description of the preferred implementation of the present application, but the present application is not limited to the above-mentioned implementation mode. Technical personnel familiar with the field can also make various equivalent deformations or substitutions without violating the spirit of the present application. These equivalent deformations or substitutions are all included in the scope defined by the present application.

Claims

1. A communication platform interaction method, characterized in that: The method comprises: establishing a communication connection with at least one third-party device; Acquire a first interaction package for the industrial device to interact with the third-party device from a preset interaction package set; the first interaction package defines interaction instructions with the third-party device, and the industrial device is used to convert the instructions to be controlled into corresponding instructions in the first interaction package; According to the first interaction package, controlling the industrial device to interact with the corresponding third-party device; The acquiring of the first interaction package for the interaction between the industrial device and the third-party device from the preset interaction package set further includes: Several first function packages that match the function parameters of the third-party device are selected from a preset interaction package set, wherein the first function package is a collection of several operation instructions for completing a specific function; the first function package includes a visual positioning algorithm package, and the visual positioning algorithm package is used to assist the third-party device to complete automatic calibration.

2. The method according to claim 1, characterized in that The obtaining, from a preset interaction package set, a first interaction package for interaction between the industrial device and the third-party device includes: A first communication package for interacting with the third-party device is selected from a preset interaction package set.

3. The method according to claim 1, characterized in that The obtaining, from a preset interaction package set, a first interaction package for interaction between the industrial device and the third-party device includes: According to the search keyword input by the user, a plurality of second interaction packages are matched from the interaction package set and displayed; The first interaction package is determined according to the user's function package selection request.

4. The method according to claim 1, characterized in that: The obtaining, from a preset interaction package set, a first interaction package for interaction between the industrial device and the third-party device includes: The first interaction package is determined according to a function package selection request triggered by a user in response to a preset classification and / or list display.

5. The method according to claim 1, characterized in that The obtaining, from a preset interaction package set, a first interaction package for interaction between the industrial device and the third-party device includes: The first interaction package is obtained from a preset interaction package set through a preset selection algorithm and according to the type of the third-party device.

6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: The first interaction package at the current moment is automatically matched according to the access times of the third-party device and the first interaction package selected in history.

7. The method according to claim 6, characterized in that The automatically matching the first interaction package at the current moment according to the number of accesses of the third-party device and the first interaction package selected in history includes: Acquire a first interaction package selected by the third-party device during a previous access; The first interaction package selected last time is used as the first interaction package at the current moment.

8. The method according to claim 1, characterized in that Also includes: Establishing a communication thread with the third-party device; According to the running status of the third-party device monitored by the communication thread, it is determined whether to stop interacting with the third-party device.

9. The method according to claim 1, characterized in that: The interacting with the corresponding third-party device according to the first interaction package includes: Creating a first thread corresponding one-to-one to the third-party device; Interact with the corresponding third-party device through the first thread and the corresponding first interaction package.

10. The method according to claim 1, characterized in that Also includes: An interaction package adding request is received from a user, wherein the interaction package adding request is used to add a third interaction package to be added to the interaction package set.

11. A device, characterized in that: include: Communication module, used to establish connection with preset third-party equipment; A selection module: obtaining a first interaction package for the industrial device to interact with the third-party device from a preset interaction package set; the first interaction package defines interaction instructions with the third-party device, and the industrial device is used to convert the instructions to be controlled into corresponding instructions in the first interaction package; A control module, configured to control the industrial device to interact with the corresponding third-party device according to the first interaction package; The acquiring of the first interaction package for the interaction between the industrial device and the third-party device from the preset interaction package set further includes: Several first function packages that match the function parameters of the third-party device are selected from a preset interaction package set, wherein the first function package is a collection of several operation instructions for completing a specific function; the first function package includes a visual positioning algorithm package, and the visual positioning algorithm package is used to assist the third-party device to complete automatic calibration.

12. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program according to the communication platform interaction method as described in any one of claims 1 to 10.

13. A computer-readable storage medium, characterized in that: Computer executable instructions are stored, and the computer executable instructions are used to execute at least the communication platform interaction method as described in any one of claims 1 to 10.

Citation Information

Patent Citations

  • Parameter configuration method and device

    CN109202898A

  • Interaction method and device based on robot process automation (RPA), equipment and medium

    CN113172633A

  • Multi-platform interaction method and device of wearable device, intelligent terminal and storage medium

    CN113835528A