Distributed cross-platform teaching method and device for industrial robot

Through the distributed cross-platform teaching system and message queue mechanism, the interface and business logic are decoupled, and inter-core communication and AOF mechanism are used to solve the complex problems of teaching device system development in the existing technology, and the scalability of the system is improved and stability reduces the cost of the whole machine.

CN118990496AActive Publication Date: 2024-11-22GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411280114.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-12
Publication Date
2024-11-22
Estimated Expiration
2044-09-12

AI Technical Summary

Technical Problem

Due to the architectural limitations of existing industrial robot teaching device systems, the development is complex and difficult to be compatible with multi-platform and multi-joint requirements, resulting in high development difficulty and low efficiency.

Method used

Adopt a distributed cross-platform teaching system, deployed on a multi-core platform through the main process of the teaching machine, push response messages to the remote GUI process using the subscription publishing mechanism, and distribute operation commands through the soft bus message queue to decouple the interface and services. Logic, using inter-core communication and AOF mechanism to achieve flexible and precise control.

Benefits of technology

It improves the scalability and stability of the system, simplifies the development process, reduces the use of physical teaching instruments, reduces the cost of the whole machine, and improves the efficiency and flexibility of robot applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118990496A_ABST
    Figure CN118990496A_ABST
Patent Text Reader

Abstract

The invention discloses a distributed cross-platform teaching method and device for an industrial robot. The method comprises the following steps: after a teach remote GUI (Graphical User Interface) process of the distributed cross-platform teaching system is connected to a host process of the distributed cross-platform teaching system, acquiring a registration identifier allocated by the teach host process; according to the registration identifier, adding a teaching instruction to a demonstrator of an ARM platform of the distributed cross-platform teaching system; sending the teaching instruction to a soft bus message queue of a main process of the demonstrator through a predetermined protocol; the teaching instruction of the preset protocol is distributed to a message processing queue of the preset protocol through the soft bus message queue, a file synchronizer is called, and the file synchronizer updates the teaching instruction of the preset protocol to the local so as to carry out teaching on the industrial robot. The technical problem that a demonstrator system in the prior art is complex to develop due to the limitation of a demonstrator framework is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of robot teaching, and in particular to a distributed cross-platform teaching method and device for an industrial robot. Background Art

[0002] The teach pendant is an external operating unit of an industrial robot, which is directly connected to the robot motion controller to control the robot's motion. The teach pendant provides physical buttons and a capacitive screen for operators to perform programming, teaching, point operations, etc. However, the teach pendant screen is small and the operation method is single, which makes the operation more cumbersome when programming complex process scenarios, greatly hindering the efficiency of robot applications.

[0003] In addition, some companies also want to save the cost of the whole machine and reduce the purchase and use of teaching pendants. Therefore, they need to provide a virtual teaching pendant of Windows desktop version to replace the physical teaching pendant for programming, teaching and other operations, which requires the teaching pendant system to support cross-platform use.

[0004] Due to architectural limitations, the current teach pendant system needs to be compatible with multiple platforms and multiple joints (four-joints, six-joints) for functional iteration, which makes development difficult and inefficient.

[0005] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0006] The embodiments of the present invention provide a distributed cross-platform teaching method and device for an industrial robot, so as to at least solve the technical problem that the teaching pendant system in the related art is relatively complicated to develop due to the limitation of the teaching pendant architecture.

[0007] According to one aspect of an embodiment of the present invention, a distributed cross-platform teaching system is provided, including: a teach pendant main process, deployed in the multi-core platform of the controller of the industrial robot, and used to push response messages or events to the teach pendant remote graphical user interface GUI process through a subscription and publishing mechanism; the teach pendant remote GUI process, deployed in each platform of the industrial robot, and the operation commands of the teach pendant of the industrial robot are distributed to the business message queue in the GUI process through the soft bus of the teach pendant main process; the business message queue, deployed in the teach pendant main process, is used to process the received business logic.

[0008] Optionally, the teaching pendant main process uses a single central processing unit (CPU) core in the multi-core platform and is isolated from the CPU core of the controller.

[0009] Optionally, when event broadcasting or message publishing is required, the business message queue is sent to the Pub / Sub queue through the response message queue, wherein the Pub / Sub queue is a message communication mode for the message sender to send the message to the topic, and the message receiver receives the message by subscribing to the topic.

[0010] Optionally, when each of the teach pendant remote GUI processes is started, it registers a subscribed message type or event type with the teach pendant main process, wherein the teach pendant main process distributes messages through the Pub / Sub queue according to the message type or the event type.

[0011] Optionally, each of the platforms includes: an ARM platform, a Windows platform and a Linux platform, the ARM platform and the Linux platform both include a teach pendant graphical user interface GUI, the Windows platform includes: a virtual teach pendant graphical user interface GUI and an offline programming system, wherein each of the teach pendant GUI, the virtual teach pendant GUI and the offline programming system are connected to the teach pendant main process.

[0012] According to another aspect of an embodiment of the present invention, a distributed cross-platform teaching method for an industrial robot is also provided, comprising: after the remote GUI process of the teach pendant of the distributed cross-platform teaching system is connected to the main process of the distributed cross-platform teaching system, obtaining the registration identifier assigned to it by the teach pendant main process; adding teaching instructions on the teach pendant of the ARM platform of the distributed cross-platform teaching system according to the registration identifier; sending the teaching instructions to the soft bus message queue of the teach pendant main process through a predetermined protocol; distributing the teaching instructions of the predetermined protocol to the message processing queue of the predetermined protocol through the soft bus message queue, and calling a file synchronizer, wherein the file synchronizer updates the teaching instructions of the predetermined protocol to the local to teach the industrial robot.

[0013] Optionally, after calling the file synchronizer, the distributed cross-platform teaching method of the industrial robot further includes: updating the physical program file in the main process of the teach pendant through the file synchronizer using the teaching instruction updated to the local; after the file synchronizer successfully updates the physical program file using the teaching instruction, generating a program change event, and sending the program change event to the Pub / Sub queue, so as to use the Pub / Sub queue to send the program change event according to the event type or message subscriber.

[0014] Optionally, after calling the file synchronizer, the distributed cross-platform teaching method of the industrial robot further includes: after the remote GUI process of the teach pendant receives the program change event, checking the event source identifier of the program change event; when the event source identifier is not the registration identifier assigned by the main process of the teach pendant, obtaining the teaching instruction of the program change event.

[0015] Optionally, after the remote GUI process of the teach pendant of the distributed cross-platform teaching system is connected to the main process of the distributed cross-platform teaching system, the distributed cross-platform teaching method of the industrial robot also includes: executing a debugging action on an offline programming system of the Windows platform, and obtaining a debugging instruction corresponding to the debugging action; sending the debugging instruction to the soft bus message queue of the teach pendant main process, so as to use the soft bus message queue to send the debugging instruction to the debugging service queue; calling the debugger through the debugging service queue, and sending the debugging instruction to the controller of the industrial robot through the debugger; after the controller runs the debugging instruction, sending the running status data of the controller to the response message queue of the teach pendant main process, so as to use the response message queue to distribute the running status data to the subscribing process through the Pub / Sub queue.

[0016] Optionally, the distributed cross-platform teaching method for an industrial robot further includes: when the remote GUI process of the teach pendant receives a debugging status message, updating the interface debugging breakpoint and the debugging instruction.

[0017] According to another aspect of an embodiment of the present invention, a distributed cross-platform teaching device for an industrial robot is also provided, comprising: a first acquisition module, used to obtain the registration identifier assigned to it by the teach pendant main process after the remote GUI process of the teach pendant of the distributed cross-platform teaching system is connected to the main process of the distributed cross-platform teaching system; an adding module, used to add teaching instructions on the teach pendant of the ARM platform of the distributed cross-platform teaching system according to the registration identifier; a first sending module, used to send the teaching instructions to the soft bus message queue of the teach pendant main process through a predetermined protocol; a first processing module, used to distribute the teaching instructions of the predetermined protocol to the message processing queue of the predetermined protocol through the soft bus message queue, and call a file synchronizer, wherein the file synchronizer updates the teaching instructions of the predetermined protocol to the local to teach the industrial robot.

[0018] Optionally, the distributed cross-platform teaching device of the industrial robot also includes: a first update module, used to update the physical program file in the main process of the teaching pendant by using the teaching instruction updated to the local through the file synchronizer after calling the file synchronizer; a second processing module, used to generate a program change event after the file synchronizer successfully updates the physical program file using the teaching instruction, and send the program change event to the Pub / Sub queue, so as to use the Pub / Sub queue to send the program change event according to the event type or message subscriber.

[0019] Optionally, the distributed cross-platform teaching device of the industrial robot further includes: a viewing module, used to view the event source identifier of the program change event after the remote GUI process of the teach pendant receives the program change event after calling the file synchronizer; and a second acquisition module, used to acquire the teaching instruction of the program change event when the event source identifier is not the registration identifier assigned by the main process of the teach pendant.

[0020] Optionally, the distributed cross-platform teaching device of the industrial robot also includes: a debugging module, used to perform debugging actions on the offline programming system of the Windows platform, and obtain debugging instructions corresponding to the debugging actions; a second sending module, used to send the debugging instructions to the soft bus message queue of the teaching pendant main process, so as to use the soft bus message queue to send the debugging instructions to the debugging business queue; a third processing module, used to call the debugger through the debugging business queue, and send the debugging instructions to the controller of the industrial robot through the debugger; a third sending module, used to send the running status data of the controller to the response message queue of the teaching pendant main process after the controller runs the debugging instructions, so as to use the response message queue to distribute the running status data to the subscribing process through the Pub / Sub queue.

[0021] Optionally, the distributed cross-platform teaching device for an industrial robot further includes: a second updating module, configured to update the interface debugging breakpoints and the debugging instructions when the remote GUI process of the teaching pendant receives a debugging status message.

[0022] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is further provided, wherein the computer-readable storage medium includes a stored program, wherein the program executes any one of the above-mentioned distributed cross-platform teaching methods for an industrial robot.

[0023] According to another aspect of an embodiment of the present invention, a processor is further provided, wherein the processor is used to run a program, wherein the program executes any one of the above-mentioned distributed cross-platform teaching methods for an industrial robot when running.

[0024] According to another aspect of an embodiment of the present invention, there is further provided a computer program product, comprising computer instructions, wherein the computer instructions are executed by a processor to implement any one of the above-mentioned distributed cross-platform teaching methods for an industrial robot.

[0025] In an embodiment of the present invention, after the remote GUI process of the teach pendant of the distributed cross-platform teaching system is connected to the main process of the distributed cross-platform teaching system, the registration identifier assigned to it by the main process of the teach pendant is obtained; the teaching instruction is added to the teach pendant of the ARM platform of the distributed cross-platform teaching system according to the registration identifier; the teaching instruction is sent to the soft bus message queue of the main process of the teach pendant through a predetermined protocol; the teaching instruction of the predetermined protocol is distributed to the message processing queue of the predetermined protocol through the soft bus message queue, and the file synchronizer is called, wherein the file synchronizer updates the teaching instruction of the predetermined protocol to the local to teach the industrial robot. Through the technical solution provided by the present invention, the distributed architecture and message queue mechanism of the cross-platform teach pendant system are adopted, the architecture of the interface and the business logic are decoupled, and the purpose of controlling the robot more flexibly and accurately is achieved by using the inter-core communication method and the AOF mechanism, thereby achieving the technical effect of remote control of the teach pendant, improving the scalability and stability of the system, and thus solving the technical problem that the teach pendant system in the related technology is complicated to develop due to the limitation of the teach pendant architecture. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0027] Figure 1 is a schematic diagram of a distributed cross-platform teaching system according to an embodiment of the present invention;

[0028] Figure 2 is a schematic diagram of the deployment of a distributed cross-platform teaching pendant system according to an embodiment of the present invention;

[0029] Figure 3 is a schematic diagram of a cross-platform message communication mechanism according to an embodiment of the present invention;

[0030] Figure 4 It is a hardware structure block diagram of a mobile terminal of a distributed cross-platform teaching method for an industrial robot according to an embodiment of the present invention;

[0031] Figure 5 is a flow chart of a distributed cross-platform teaching method for an industrial robot according to an embodiment of the present invention;

[0032] Figure 6is a schematic diagram of program editing synchronization according to an embodiment of the present invention;

[0033] Figure 7 is a schematic diagram of program debugging synchronization according to an embodiment of the present invention;

[0034] Figure 8 4 is a schematic diagram of a distributed cross-platform teaching device for an industrial robot according to an embodiment of the present invention. DETAILED DESCRIPTION

[0035] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0036] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0037] As introduced in the background technology, the teaching pendant system in the related art is relatively complicated to develop due to the limitation of the teaching pendant architecture. In view of the above defects, in the embodiments of the present invention, a distributed cross-platform teaching method and device for an industrial robot, a distributed cross-platform teaching system, a computer-readable storage medium, a processor and a computer program product are provided.

[0038] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0039] According to one aspect of an embodiment of the present invention, a distributed cross-platform teaching system is provided. Figure 1 1 is a schematic diagram of a distributed cross-platform teaching system according to an embodiment of the present invention, comprising: a teaching pendant main process 101, a teaching pendant remote GUI process 103 and a service message queue 105. The distributed cross-platform teaching system is described in detail below.

[0040] The teach pendant main process 101 is deployed in the multi-core platform of the controller of the industrial robot, and is used to push the response message or event to the teach pendant remote graphical user interface GUI process through the subscription and publishing mechanism.

[0041] It should be noted that the controller of the above-mentioned industrial robot usually adopts a multi-core processor platform to achieve higher performance and faster response speed. The multi-core processor can handle multiple tasks at the same time and improve the efficiency and flexibility of the robot control system. Through the multi-core processor platform, the controller of the industrial robot can better meet the needs of various industrial applications and improve production efficiency and quality; the above-mentioned subscription and publication mechanism is a design pattern for implementing message passing and event notification. In this mechanism, subscribers can register their interest in specific types of messages or events. When the publisher publishes relevant messages or events, the subscribers will receive notifications and perform corresponding operations; the remote graphical user interface (GUI) process of the above-mentioned teach pendant is an operating interface used to remotely control the teach pendant.

[0042] Figure 2 Schematic diagram of the deployment of a distributed cross-platform teaching pendant system according to an embodiment of the present invention. Figure 2 As shown, the distributed cross-platform teach pendant system is based on the original teach pendant, controller, and robot body, and realizes the purpose of multi-terminal display, programming, and control of the teach pendant on the original robot control system. In the system deployment, the teach pendant Core process (i.e., the teach pendant main process) is deployed as the teach pendant operation main process in the multi-core platform of the controller. It shares physical storage with the controller and communicates with the operation and control system through inter-core communication.

[0043] The teach pendant remote GUI process 103 is deployed in each platform of the industrial robot. The operation command of the teach pendant of the industrial robot is distributed to the business message queue through the soft bus of the teach pendant main process in the GUI process.

[0044] Optionally, the various platforms of the above-mentioned industrial robot may include: Windows, Linux, ARM and other platforms.

[0045] It should be noted that the soft bus of the above-mentioned main process is a communication interface used to realize communication and data transmission between different components. It can help different modules or devices to exchange and collaborate data in the system. The soft bus can act as a bridge in the main process, connecting different modules to realize data transmission and sharing.

[0046] Figure 3 is a schematic diagram of a cross-platform message communication mechanism according to an embodiment of the present invention. Figure 3As shown, the soft bus message queue is implemented on the Core process (i.e., the main process of the teach pendant), and all external control commands are distributed to different business message queues through the soft bus.

[0047] The business message queue 105 is deployed in the main process of the teaching device and is used to process the received business logic.

[0048] It should be noted that the above-mentioned business message queue is a mechanism for processing and delivering business messages, which is usually used to decouple the communication between various modules in the system and improve the reliability, scalability and performance of the system; the above-mentioned business logic refers to a series of processes and rules designed to achieve specific goals in an organization or enterprise.

[0049] like Figure 3 As shown, the business message queue distributes and processes the corresponding business logic. If the business logic involves a control system, data is sent through inter-core communication.

[0050] From the above, it can be seen that in an embodiment of the present invention, a teach pendant main process can be deployed in the multi-core platform of the controller of the industrial robot, which is used to push response messages or events to the teach pendant remote graphical user interface GUI process through a subscription and publication mechanism; a teach pendant remote GUI process is deployed in each platform of the industrial robot, and the operation commands of the teach pendant of the industrial robot are distributed to the business message queue in the GUI process through the soft bus of the teach pendant main process; a business message queue is deployed in the teach pendant main process to process the received business logic, thereby achieving the purpose of adopting the distributed architecture and message queue mechanism of the cross-platform teach pendant system, decoupling the architecture of the interface and business logic, and utilizing the inter-core communication method and AOF mechanism to control the robot more flexibly and accurately, thereby achieving the technical effect of remote control of the teach pendant and improving the scalability and stability of the system.

[0051] The technical solution provided by the embodiment of the present invention solves the technical problem in the related art that the teaching pendant system is relatively complicated to develop due to the limitation of the teaching pendant architecture.

[0052] According to the above embodiment of the present invention, the main process of the teaching pendant uses a single central processing unit CPU core in a multi-core platform and is isolated from the CPU core of the controller.

[0053] In this embodiment, the Core process (i.e., the teach pendant main process) runs on the multi-core platform of the drive and control integrated machine, independently uses a single CPU core, is isolated from the CPU core of the control system, and can interact with the control system through inter-core communication.

[0054] According to the above embodiment of the present invention, when event broadcasting or message publishing is required, the business message queue is sent to the Pub / Sub queue through the response message queue, wherein the Pub / Sub queue is a message communication mode used for the message sender to send the message to the topic, and the message receiver receives the message by subscribing to the topic.

[0055] In this embodiment, the business message queue can be sent to the Pub / Sub queue through the response message queue when there is an event or message that needs to be broadcast.

[0056] like Figure 3 As shown, the response message queue receives control system messages and status notifications from inter-core communication at the same time, and then distributes them to subscribers through the Pub / Sub queue.

[0057] According to the above-mentioned embodiment of the present invention, when each teach pendant remote GUI process is started, it registers the subscribed message type or event type with the teach pendant main process, wherein the teach pendant main process distributes messages through the Pub / Sub queue according to the message type or event type.

[0058] In this embodiment, when the remote GUI process of different platforms is started, the subscribed messages and event types can be registered with the Core process. The Core process distributes messages through the Pub / Sub queue according to the messages and event types subscribed by the GUI process.

[0059] According to the above embodiments of the present invention, each platform includes: an ARM platform, a Windows platform and a Linux platform. The ARM platform and the Linux platform both include a teach pendant graphical user interface GUI. The Windows platform includes: a virtual teach pendant graphical user interface GUI and an offline programming system. Among them, each teach pendant GUI, virtual teach pendant GUI and offline programming system are connected to the teach pendant main process.

[0060] In this embodiment, the remote GUI process of the teach pendant can be deployed to platforms such as Windows, Linux, and ARM.

[0061] like Figure 2 As shown, the operation commands of the teach pendant are distributed to the respective business processing modules through the soft bus of the Core process in the GUI process. At the same time, the Core process pushes the response messages and events to different GUI processes through the Pub / Sub subscription and publishing mechanism.

[0062] From the above, it can be seen that in an embodiment of the present invention, by deploying the teach pendant main process, data is pushed to the teach pendant remote user interface GUI process through the subscription and publication mechanism, so as to realize real-time data synchronization and interaction; by deploying the teach pendant remote GUI process in each platform, remote teaching and operation of the industrial robot can be realized; the business message queue is deployed in the teach pendant main process, which is mainly used to process the received business logic messages and realize the processing and control of business logic.

[0063] The method embodiments provided in the embodiments of the present invention can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 4 1 is a hardware structure block diagram of a mobile terminal of a distributed cross-platform teaching method for an industrial robot according to an embodiment of the present invention. Figure 4 As shown, the mobile terminal may include one or more ( Figure 4 Only one is shown in the figure) a processor 402 (the processor 402 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 404 for storing data, wherein the mobile terminal may also include a transmission device 406 and an input / output device 408 for communication functions. It can be understood by those skilled in the art that Figure 4 The structure shown is only for illustration and does not limit the structure of the mobile terminal. Figure 4 More or fewer components as shown, or with Figure 4 Different configurations are shown.

[0064] The memory 404 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the distributed cross-platform teaching method of the industrial robot in the embodiment of the present invention. The processor 402 executes various functional applications and data processing by running the computer program stored in the memory 404, that is, the above method is realized. The memory 404 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 404 may further include a memory remotely arranged relative to the processor 402, and these remote memories can be connected to the mobile terminal 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 a combination thereof. The transmission device 406 is used to receive or send data via a network. The above-mentioned specific network example may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 406 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 406 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0065] According to an embodiment of the present invention, a method embodiment of a distributed cross-platform teaching method for an industrial robot is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0066] Figure 5 is a flow chart of a distributed cross-platform teaching method for an industrial robot according to an embodiment of the present invention. Figure 5 As shown, the method comprises the following steps:

[0067] Step S502, after the remote GUI process of the teaching pendant of the distributed cross-platform teaching system is connected to the main process of the distributed cross-platform teaching system, obtain the registration identifier allocated to it by the main process of the teaching pendant.

[0068] In this embodiment, after the teach pendant remote GUI process of the distributed cross-platform teaching system is successfully connected to the Core process (i.e., the main process of the distributed cross-platform teaching system), the registration ID (i.e., registration identifier) ​​assigned to it by the teach pendant main process can be obtained. The registration identifier can be used to uniquely identify the teach pendant remote GUI process, ensuring that the main process can correctly send information to the designated teach pendant remote GUI process, thereby ensuring that the communication between the teach pendant remote GUI process and the main process can proceed smoothly, and can effectively manage and control the various components of the teach pendant system, thereby improving the stability and reliability of the system.

[0069] Step S504: adding teaching instructions on the teaching pendant of the ARM platform of the distributed cross-platform teaching system according to the registration identifier.

[0070] In this embodiment, a teaching instruction MovJ can be added on the physical teaching pendant of the ARM end of the distributed cross-platform teaching system according to the registration identifier to instruct the physical teaching pendant to move to a specified target position along a straight line path during movement.

[0071] It should be noted that the above-mentioned MovJ instructions can be used to control the movement of the robot arm, achieve precise positioning and path planning, and thus complete specific tasks or actions. By adding the MovJ instructions, users can more flexibly control the robot's motion trajectory and improve the flexibility and applicability of the system.

[0072] Step S506, sending the teaching instruction to the soft bus message queue of the main process of the teaching pendant through a predetermined protocol.

[0073] Figure 6 Schematic diagram of program editing synchronization according to an embodiment of the present invention. Figure 6 As shown, the added MovJ teaching instruction is sent to the soft bus message queue of the Core process through the AOF protocol (ie, the predetermined protocol).

[0074] It should be noted that the above-mentioned AOF (Append Only File) protocol is a way to persist data in the Redis database. Its main feature is to append all write operations to the end of the file in the form of logs to ensure data persistence. The AOF protocol records the commands and parameters of each write operation and can replay these commands when the database is restarted to restore the data. It is a reliable way to persist data and is suitable for scenarios with high requirements for data persistence.

[0075] In this embodiment, the motion control of the robot can be realized. Sending instructions through the AOF protocol can ensure the accurate transmission and execution of the instructions. At the same time, precise control and programming of the robot can be achieved. The soft bus message queue plays the role of transmitting and exchanging instructions, ensuring that the instructions can be conveyed to the Core process in time, thereby realizing the motion control of the robot.

[0076] Step S508, distribute the teaching instructions of the predetermined protocol to the message processing queue of the predetermined protocol through the soft bus message queue, and call the file synchronizer, wherein the file synchronizer updates the teaching instructions of the predetermined protocol to the local to teach the industrial robot.

[0077] In this embodiment, the data of the AOF protocol (i.e., teaching instructions) can be distributed to the message processing message queue of the AOF through the soft bus message queue, so that it can be processed by the message processing module, and the file synchronizer processing module can be called to ensure the synchronization and persistence of the data, so as to realize the effective management and processing of the AOF protocol data and improve the reliability and stability of the system.

[0078] From the above, it can be seen that in an embodiment of the present invention, after the remote GUI process of the teach pendant of the distributed cross-platform teaching system is connected to the main process of the distributed cross-platform teaching system, the registration identifier assigned to it by the teach pendant main process is obtained; the teaching instructions are added to the teach pendant of the ARM platform of the distributed cross-platform teaching system according to the registration identifier; the teaching instructions are sent to the soft bus message queue of the teach pendant main process through a predetermined protocol; the teaching instructions of the predetermined protocol are distributed to the message processing queue of the predetermined protocol through the soft bus message queue, and the file synchronizer is called, wherein the file synchronizer updates the teaching instructions of the predetermined protocol to the local to teach the industrial robot, thereby achieving the purpose of adopting the distributed architecture and message queue mechanism of the cross-platform teach pendant system, decoupling the architecture of the interface and business logic, and utilizing the inter-core communication method and AOF mechanism to control the robot more flexibly and accurately, thereby realizing the technical effect of remote control of the teach pendant and improving the scalability and stability of the system.

[0079] The technical solution provided by the embodiment of the present invention solves the technical problem in the related art that the teaching pendant system is relatively complicated to develop due to the limitation of the teaching pendant architecture.

[0080] According to the above-mentioned embodiment of the present invention, after calling the file synchronizer, the distributed cross-platform teaching method of the industrial robot also includes: updating the physical program file in the main process of the teaching pendant by using the teaching instructions updated to the local through the file synchronizer; after the file synchronizer successfully updates the physical program file using the teaching instructions, a program change event is generated, and the program change event is sent to the Pub / Sub queue, so as to use the Pub / Sub queue to send the program change event according to the event type or message subscriber.

[0081] In this embodiment, the AOF protocol data can be updated to the local program cache and physical program files by using the file synchronizer to update the teaching instructions to the local. The AOF protocol data can be updated to the local program cache and physical program files in a timely manner to ensure that the latest version of the program file is used. After the update is successful, a program change event is generated, and the program change event is sent to the Pub / Sub queue, which can realize instant notification and event subscription functions, ensuring that related systems and subscribers are aware of changes in program files in a timely manner, and using the Pub / Sub queue to send program change events according to event type subscribers to achieve synchronous update of program files and ensure consistency of program files between the local and controller systems.

[0082] like Figure 6 As shown, after the update is successful, the file synchronizer will also send the program change message to the controller system through inter-core communication.

[0083] According to the above-mentioned embodiment of the present invention, after calling the file synchronizer, the distributed cross-platform teaching method of the industrial robot also includes: after the remote GUI process of the teach pendant receives the program change event, checking the event source identifier of the program change event; when the event source identifier is not the registration identifier assigned by the main process of the teach pendant, obtaining the teaching instructions of the program change event.

[0084] In this embodiment, after the remote GUI process of the teach pendant receives a program change event, the event source ID can be checked. If the event source ID is not the assigned ID obtained when the current GUI process is registered, the AOF data of the program change (i.e., the teaching instruction) must be obtained to ensure that the remote GUI process always displays the latest program status and maintains data synchronization.

[0085] According to the above-mentioned embodiment of the present invention, after the remote GUI process of the teach pendant of the distributed cross-platform teaching system is connected to the main process of the distributed cross-platform teaching system, the distributed cross-platform teaching method of the industrial robot also includes: executing debugging actions on the offline programming system of the Windows platform, and obtaining debugging instructions corresponding to the debugging actions; sending the debugging instructions to the soft bus message queue of the teach pendant main process, so as to use the soft bus message queue to send the debugging instructions to the debugging business queue; calling the debugger through the debugging business queue, and sending the debugging instructions to the controller of the industrial robot through the debugger; after the controller runs the debugging instructions, sending the running status data of the controller to the response message queue of the teach pendant main process, so as to use the response message queue to distribute the running status data to the subscribing process through the Pub / Sub queue.

[0086] Figure 7 is a schematic diagram of program debugging synchronization according to an embodiment of the present invention, such as Figure 7 As shown, after the remote GUI successfully connects to the Core process, the debugging action is executed on the offline programming system on the Windows side, and the debugging command is sent to the soft bus queue of the Core process, so that the Core process soft bus queue is used to send the debugging message to the debugging business queue, the debugger is called through the debugging business queue, and the debugging instructions are sent to the controller system through inter-core communication. After the controller system runs the command, the running status data is sent to the response message queue of the Core process through inter-core communication, so that the Core process response message queue is used to distribute the message (i.e., the running status data) to the subscribing process through the Pub / Sub queue.

[0087] In this embodiment, the remote GUI control debugging function of the Core process can be implemented, thereby realizing the needs of remote debugging and monitoring. Through the mechanism of soft bus queue and response message queue, the transmission of debugging commands and the acquisition of controller system operation status data can be realized, and the communication between the controller system and the Core process can be realized through inter-core communication. At the same time, by distributing messages to the subscribing process through Pub / Sub queue, the subscription and monitoring of the operation status data by multiple subscribing processes can be realized, which improves the scalability and flexibility of the system.

[0088] According to the above embodiment of the present invention, the distributed cross-platform teaching method for an industrial robot further includes: when the remote GUI process of the teaching pendant receives a debugging status message, updating the interface debugging breakpoints and debugging instructions.

[0089] In this embodiment, when the remote GUI process of the teach pendant receives a debugging status message, the interface debugging breakpoints and corresponding data can be updated, so that errors or abnormalities that may exist in the program can be quickly located and the execution process of the program can be understood more intuitively.

[0090] In addition, it should be noted that the above embodiments are only explained as the best embodiments of the present invention and are not intended to limit the present invention. Any other implementation methods that are easily conceivable based on the above embodiments are also within the protection scope of the present invention. For example: 1) The communication method between the GUI process and the Core process includes but is not limited to RPC, Socket, etc.; 2) The GUI process can be deployed on platforms including but not limited to Windows, ARM, Linux, etc.; 3) The message queue implementation method of the Core process soft bus includes but is not limited to MQ, MQTT, etc.; 4) The message and event distribution mechanism of the Core process to the GUI process includes but is not limited to Pub / Sub.

[0091] The technical solution provided by the above embodiment of the present invention effectively solves the following problems: 1) Solve the problem that the programming visualization area of ​​the physical teach pendant is small and the efficiency is low; 2) Solve the problem that the debugging process of the physical teach pendant is cumbersome, and the modification steps are many and complex, and improve the application efficiency; 3) Solve the cross-platform application deployment and support Windows, Linux, and ARM platforms; 4) Solve the complexity of the development of the teach pendant system, and the GUI process is only responsible for the interface logic development; 5) Solve the complexity of the development of the teach pendant compatible with multi-joint robots. At the same time, it has the following beneficial effects: 1) Through the cross-platform teach pendant system, users can switch and operate between clients of different platforms, use the characteristics of different platforms, and achieve rapid writing, debugging, and deployment of applications through asynchronous operations, thereby improving the efficiency of robot scene application landing; 2) By decoupling the architecture of the interface and business logic, reduce the complexity of business development, improve development efficiency, and accelerate the speed of function iteration; 3) By reducing the use of physical teach pendants, reduce the cost of the robot as a whole and increase product competitiveness.

[0092] As can be seen from the above, in the embodiment of the present invention, first, the teaching pendant adopts a distributed architecture, the GUI process is separated from the business Core process, and the two communicate in a cross-process manner; the GUI process can be deployed across platforms on Windows, Linux, and ARM platforms, and is responsible for interface display, responding to user operations and data updates, while the GUI process only has interface operations, reducing the complexity of interface logic development; the business Core process adopts a centralized message queue to uniformly process commands from various platforms and forward them to the controller system for processing; the business Core process adopts a subscription and publishing mechanism, and the interface processes of different platforms can simultaneously receive published messages and update interface data; the teaching pendant business Core process is deployed on the controller system On a multi-core platform, physical storage is shared with the controller, program files no longer need to be frequently synchronized, and inter-core communication is used between the Core process and the controller to improve communication efficiency and stability; program instructions edited by the teach pendant GUI process are sent to the Core process through the AOF mechanism to modify program files, and at the same time notify other GUI processes to update the corresponding instruction lines; offline programming debugging commands are sent to the Core process, and the Core process notifies the controller system through the debugger business module. The results and status of the controller system execution are sent to the Pub / Sub queue through the response message queue, and the Core process sends the debugging breakpoints and status to the subscriber GUI end in the Pub / Sub queue.

[0093] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0094] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of each embodiment of the present application.

[0095] According to an embodiment of the present invention, a distributed cross-platform teaching device for an industrial robot is provided for implementing the above-mentioned distributed cross-platform teaching method for an industrial robot. Figure 8is a schematic diagram of a distributed cross-platform teaching device for an industrial robot according to an embodiment of the present invention. Figure 8 As shown, the device includes: a first acquisition module 801, an adding module 803, a first sending module 805 and a first processing module 807. The distributed cross-platform teaching device for industrial robots is described below.

[0096] The first acquisition module 801 is used to obtain the registration identifier allocated to it by the teaching pendant main process after the teaching pendant remote GUI process of the distributed cross-platform teaching system is connected to the main process of the distributed cross-platform teaching system.

[0097] The adding module 803 is used to add teaching instructions on the teaching pendant of the ARM platform of the distributed cross-platform teaching system according to the registration identifier.

[0098] The first sending module 805 is used to send the teaching instruction to the soft bus message queue of the main process of the teaching device through a predetermined protocol.

[0099] The first processing module 807 is used to distribute the teaching instructions of the predetermined protocol to the message processing queue of the predetermined protocol through the soft bus message queue, and call the file synchronizer, wherein the file synchronizer updates the teaching instructions of the predetermined protocol to the local to teach the industrial robot.

[0100] It should be noted here that the above-mentioned first acquisition module 801, adding module 803, first sending module 805 and first processing module 807 correspond to steps S502 to S508 in the above-mentioned embodiments, and the four modules and the corresponding steps implement the same instances and application scenarios, but are not limited to the contents disclosed in the above-mentioned embodiments.

[0101] As can be seen from the above, in the scheme recorded in the above-mentioned embodiment of the present invention, first, after the remote GUI process of the teach pendant of the distributed cross-platform teaching system is connected to the main process of the distributed cross-platform teaching system, the first acquisition module can be used to obtain the registration identifier assigned to it by the main process of the teach pendant; then, the adding module can be used to add teaching instructions on the teach pendant of the ARM platform of the distributed cross-platform teaching system according to the registration identifier; secondly, the first sending module can be used to send the teaching instructions to the soft bus message queue of the main process of the teach pendant through a predetermined protocol; finally, the first processing module can be used to distribute the teaching instructions of the predetermined protocol to the message processing queue of the predetermined protocol through the soft bus message queue, and call the file synchronizer, wherein the file synchronizer updates the teaching instructions of the predetermined protocol to the local to teach the industrial robot, thereby achieving the purpose of adopting the distributed architecture and message queue mechanism of the cross-platform teach pendant system, decoupling the architecture of the interface and business logic, and using the inter-core communication method and AOF mechanism to control the robot more flexibly and accurately, thereby realizing the technical effect of remote control of the teach pendant and improving the scalability and stability of the system.

[0102] The technical solution provided by the embodiment of the present invention solves the technical problem in the related art that the teaching pendant system is relatively complicated to develop due to the limitation of the teaching pendant architecture.

[0103] In an optional embodiment, the distributed cross-platform teaching device of the industrial robot also includes: a first update module, which is used to update the physical program file in the main process of the teaching pendant by using the teaching instructions updated to the local through the file synchronizer after calling the file synchronizer; a second processing module, which is used to generate a program change event after the file synchronizer successfully updates the physical program file using the teaching instructions, and send the program change event to the Pub / Sub queue, so as to use the Pub / Sub queue to send the program change event according to the event type or message subscriber.

[0104] In an optional embodiment, the distributed cross-platform teaching device of the industrial robot further includes: a viewing module, which is used to view the event source identifier of the program change event after the remote GUI process of the teach pendant receives the program change event after calling the file synchronizer; and a second acquisition module, which is used to obtain the teaching instructions of the program change event when the event source identifier is not the registration identifier assigned by the main process of the teach pendant.

[0105] In an optional embodiment, the distributed cross-platform teaching device of the industrial robot also includes: a debugging module, which is used to execute debugging actions on an offline programming system of a Windows platform and obtain debugging instructions corresponding to the debugging actions; a second sending module, which is used to send the debugging instructions to the soft bus message queue of the main process of the teaching pendant, so as to use the soft bus message queue to send the debugging instructions to the debugging business queue; a third processing module, which is used to call the debugger through the debugging business queue, and send the debugging instructions to the controller of the industrial robot through the debugger; a third sending module, which is used to send the running status data of the controller to the response message queue of the main process of the teaching pendant after the controller runs the debugging instructions, so as to use the response message queue to distribute the running status data to the subscribing process through the Pub / Sub queue.

[0106] In an optional embodiment, the distributed cross-platform teaching device of the industrial robot further includes: a second update module, which is used to update the interface debugging breakpoints and debugging instructions when the remote GUI process of the teaching pendant receives a debugging status message.

[0107] According to another aspect of an embodiment of the present invention, a processor is further provided, and the processor is used to run a program, wherein when the program is run, any one of the above-mentioned distributed cross-platform teaching methods for an industrial robot is executed.

[0108] According to another aspect of an embodiment of the present invention, there is further provided a computer program product, including computer instructions, where the computer instructions are executed by a processor to implement any one of the above-mentioned distributed cross-platform teaching methods for industrial robots.

[0109] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is further provided, the computer-readable storage medium comprising a stored program, wherein the program executes any one of the above-mentioned distributed cross-platform teaching methods for an industrial robot.

[0110] Optionally, in this embodiment, the computer-readable storage medium may be located in any one of the computer terminals in a computer terminal group in a computer network, or in any one of the communication devices in a communication device group.

[0111] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: after the remote GUI process of the teach pendant of the distributed cross-platform teaching system is connected to the main process of the distributed cross-platform teaching system, obtain the registration identifier assigned to it by the teach pendant main process; add teaching instructions on the teach pendant of the ARM platform of the distributed cross-platform teaching system according to the registration identifier; send the teaching instructions to the soft bus message queue of the teach pendant main process through a predetermined protocol; distribute the teaching instructions of the predetermined protocol to the message processing queue of the predetermined protocol through the soft bus message queue, and call the file synchronizer, wherein the file synchronizer updates the teaching instructions of the predetermined protocol to the local to teach the industrial robot.

[0112] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for performing the following steps: updating the physical program file in the teach pendant main process through the file synchronizer using the teaching instructions updated to the local; after the file synchronizer successfully updates the physical program file using the teaching instructions, generating a program change event, and sending the program change event to the Pub / Sub queue, so as to use the Pub / Sub queue to send the program change event according to the event type or message subscriber.

[0113] Optionally, in this embodiment, the computer-readable storage medium is configured to store program codes for executing the following steps: after the remote GUI process of the teach pendant receives a program change event, checking the event source identifier of the program change event; when the event source identifier is not the registration identifier assigned by the teach pendant main process, obtaining the teaching instructions of the program change event.

[0114] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for performing the following steps: executing a debugging action on an offline programming system of a Windows platform, and obtaining a debugging instruction corresponding to the debugging action; sending the debugging instruction to the soft bus message queue of the teach pendant main process, so as to use the soft bus message queue to send the debugging instruction to the debugging service queue; calling the debugger through the debugging service queue, and sending the debugging instruction to the controller of the industrial robot through the debugger; after the controller runs the debugging instruction, sending the running status data of the controller to the response message queue of the teach pendant main process, so as to use the response message queue to distribute the running status data to the subscribing process through the Pub / Sub queue.

[0115] Optionally, in this embodiment, the computer-readable storage medium is configured to store program codes for executing the following steps: when the teach pendant remote GUI process receives a debugging status message, updating interface debugging breakpoints and debugging instructions.

[0116] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0117] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0118] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or 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 through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0119] 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 units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0120] In addition, each functional unit in each embodiment of the present invention 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 software functional units.

[0121] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product 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.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0122] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A distributed cross-platform teaching system, It is characterized in that The distributed cross-platform teaching system is applied to industrial robots and includes: The teach pendant main process is deployed in the multi-core platform of the controller of the industrial robot and is used to push the response message or event to the teach pendant remote graphical user interface GUI process through a subscription publishing mechanism; The teach pendant remote GUI process is deployed in each platform of the industrial robot, and the operation command of the teach pendant of the industrial robot is distributed to the service message queue through the soft bus of the teach pendant main process in the GUI process; The business message queue is deployed in the main process of the teach pendant and is used to process the received business logic.

2. The distributed cross-platform teaching system according to claim 1, It is characterized in that The teaching pendant main process uses a single central processing unit (CPU) core in the multi-core platform and is isolated from the CPU core of the controller.

3. The distributed cross-platform teaching system according to claim 1, It is characterized in that When event broadcast or message publishing is required, the business message queue is sent to the Pub / Sub queue through the response message queue, wherein the Pub / Sub queue is a message communication mode for the message sender to send the message to the topic, and the message receiver receives the message by subscribing to the topic.

4. The distributed cross-platform teaching system according to claim 3, It is characterized in that When each of the teaching pendant remote GUI processes is started, it registers a subscribed message type or event type with the teaching pendant main process, wherein the teaching pendant main process distributes messages through the Pub / Sub queue according to the message type or the event type.

5. The distributed cross-platform teaching system according to claim 1, It is characterized in that Each of the platforms comprises: ARM platform, Windows platform and Linux platform, the ARM platform and the Linux platform both include a teach pendant graphical user interface GUI, the Windows platform includes: a virtual teach pendant graphical user interface GUI and an offline programming system, wherein each of the teach pendant GUI, the virtual teach pendant GUI and the offline programming system are connected to the teach pendant main process.

6. A distributed cross-platform teaching method for industrial robots, It is characterized in that The distributed cross-platform teaching system applied to any one of claims 1 to 5 above comprises: After the remote GUI process of the teaching pendant of the distributed cross-platform teaching system is connected to the main process of the distributed cross-platform teaching system, obtaining the registration identifier assigned to it by the main process of the teaching pendant; Adding teaching instructions on the teaching pendant of the ARM platform of the distributed cross-platform teaching system according to the registration identifier; Sending the teaching instruction to the soft bus message queue of the main process of the teaching pendant through a predetermined protocol; The teaching instructions of the predetermined protocol are distributed to the message processing queue of the predetermined protocol through the soft bus message queue, and a file synchronizer is called, wherein the file synchronizer updates the teaching instructions of the predetermined protocol to the local to teach the industrial robot.

7. The distributed cross-platform teaching method for an industrial robot according to claim 6, It is characterized in that After calling the file synchronizer, also include: Updating the physical program file in the main process of the teaching pendant by using the teaching instruction updated to the local by the file synchronizer; After the file synchronizer successfully updates the physical program file using the teaching instruction, a program change event is generated and sent to the Pub / Sub queue, so as to use the Pub / Sub queue to send the program change event according to the event type or message subscriber.

8. The distributed cross-platform teaching method for an industrial robot according to claim 7, It is characterized in that After calling the file synchronizer, also include: After the teach pendant remote GUI process receives the program change event, checking the event source identifier of the program change event; When the event source identifier is not the registration identifier assigned by the teach pendant main process, the teaching instruction of the program change event is obtained.

9. The distributed cross-platform teaching method for an industrial robot according to claim 6, It is characterized in that After the remote GUI process of the teaching pendant of the distributed cross-platform teaching system is connected to the main process of the distributed cross-platform teaching system, it also includes: Execute a debugging action on an offline programming system of a Windows platform, and obtain a debugging instruction corresponding to the debugging action; Sending the debugging instruction to the soft bus message queue of the main process of the teaching pendant, so as to send the debugging instruction to the debugging service queue by using the soft bus message queue; calling a debugger through the debugging service queue, and sending the debugging instruction to the controller of the industrial robot through the debugger; After the controller runs the debugging instruction, the running status data of the controller is sent to the response message queue of the main process of the teach pendant, so as to use the response message queue to distribute the running status data to the subscription process through the Pub / Sub queue.

10. The distributed cross-platform teaching method for an industrial robot according to claim 9, It is characterized in that Also includes: When the teaching pendant remote GUI process receives a debugging status message, the interface debugging breakpoint and the debugging instruction are updated.

11. A distributed cross-platform teaching device for industrial robots. It is characterized in that A distributed cross-platform teaching method for an industrial robot according to any one of claims 6 to 10, comprising: A first acquisition module is used to obtain a registration identifier assigned to it by the teaching pendant main process after the teaching pendant remote GUI process of the distributed cross-platform teaching system is connected to the main process of the distributed cross-platform teaching system; An adding module, used for adding teaching instructions on the teaching pendant of the ARM platform of the distributed cross-platform teaching system according to the registration identifier; A first sending module, used for sending the teaching instruction to the soft bus message queue of the main process of the teaching pendant through a predetermined protocol; The first processing module is used to distribute the teaching instructions of the predetermined protocol to the message processing queue of the predetermined protocol through the soft bus message queue, and call the file synchronizer, wherein the file synchronizer updates the teaching instructions of the predetermined protocol to the local to teach the industrial robot.

12. A computer-readable storage medium, It is characterized in that The computer-readable storage medium includes a stored program, wherein the program executes the distributed cross-platform teaching method for an industrial robot according to any one of claims 6 to 10.

13. A computer program product comprising computer instructions, It is characterized in that When the computer instructions are executed by the processor, the distributed cross-platform teaching method for an industrial robot according to any one of claims 6 to 10 is executed.

Citation Information

Patent Citations

  • Multi-robot synchronous follow-up control method under distributed network

    CN113021330A

  • Distributed intelligent teaching system and method

    CN113276094A

  • System and method for wirelessly controlling movement of low-code teaching robot through mobile terminal

    CN114571443A

  • HTTP publish / subscribe communication protocol

    US20070192325A1

  • Methods and Systems for Providing File Services

    US20150088942A1