Demonstrator-based data processing method and device, equipment and medium

By introducing input boxes and buttons into the graphical user interface of the teaching device, users can quickly match and add robot program instructions, solve the problem that users find it difficult to locate target instructions in the prior art, and improve programming efficiency.

CN120010736APending Publication Date: 2025-05-16GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411935457.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-26
Publication Date
2025-05-16

AI Technical Summary

Technical Problem

When the existing teaching software adds robot program instructions, the unclear classification makes it difficult for users to locate target instructions, which increases working time and reduces efficiency.

Method used

By introducing input boxes and buttons in the graphical user interface of the teaching tool, the user can enter some instruction text to match. After the match is successful, the target instruction text will be added to the input box and added to the code area through the button.

Benefits of technology

Improves the programming efficiency of robot program programming through teaching tools, and reduces the working time of users when finding and adding instructions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120010736A_ABST
    Figure CN120010736A_ABST
Patent Text Reader

Abstract

The invention provides a data processing method and device based on a demonstrator, equipment and a medium, and the method comprises the steps: obtaining a first input text in response to an operation for an input box of a first control, matching a target robot instruction text in a preset robot instruction text library according to the first input text, and if the target robot instruction text is successfully matched, executing the step of executing the step of executing the step of executing the step of executing the step of executing the step of executing the step of executing the step of executing the step; and adding the target robot instruction text to an input box, and in response to an operation for a first button of the first control, adding the target robot instruction text in the input box to the code area. According to the embodiment of the invention, the programming efficiency of robot programming through the demonstrator is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of robot control technology, and in particular to a data processing method, device, equipment and medium based on a teaching pendant. Background Art

[0002] As industrial robots are increasingly used, the teach pendant, as a core tool for robot operation and programming, is also constantly developing and evolving.

[0003] A teach pendant is a control device used for programming and operation in industrial robots or automation equipment. It is a handheld device that allows users to write programs or perform real-time operations by manually controlling the movement of the robot.

[0004] In the related art, the program editing interface of the teaching pendant software adopts a list-style menu bar. When the user wants to add instructions to the robot program, he needs to first click the category button of the target instruction, and then find the target instruction in the category. However, when the user forgets which category the target instruction belongs to, he cannot directly locate the target instruction. He can only click on each instruction category to find the target instruction, and then add the target instruction to the program. It can be seen that this solution will increase the user's working time and reduce work efficiency. Summary of the invention

[0005] In view of the above problems, a data processing method, device, equipment, and medium based on a teaching pendant are proposed to overcome the above problems or at least partially solve the above problems, including:

[0006] A data processing method based on a teach pendant, wherein the teach pendant provides a graphical user interface, wherein the content displayed by the graphical user interface includes a program editing interface, wherein the program editing interface includes a code area and a first control, wherein the method includes:

[0007] In response to an operation on an input box of the first control, obtaining a first input text;

[0008] According to the first input text, matching the target robot instruction text in a preset robot instruction text library;

[0009] If the target robot instruction text matches successfully, add the target robot instruction text to the input box;

[0010] In response to an operation on a first button of the first control, the target robot instruction text in the input box is added to the code area.

[0011] Optionally, the first control further includes a common instruction display area, the common instruction display area includes a plurality of second buttons, each of the second buttons corresponds to a robot instruction text, and the method further includes:

[0012] In response to a click operation on the second button, a robot instruction text corresponding to the second button is added to the input box.

[0013] Optionally, the method further comprises:

[0014] In response to a long press operation on the second button, displaying a check box corresponding to the second button;

[0015] In response to the operation on the check box, the second button corresponding to the check box is removed in the common instruction display area.

[0016] Optionally, the method further comprises:

[0017] Acquire multiple code texts saved by the teaching pendant;

[0018] Performing word segmentation processing on the code text to obtain multiple types of robot instruction texts;

[0019] Saving the number of times each type of robot instruction text is added to the code region to obtain word frequency data;

[0020] Determining a plurality of target types of robot instruction texts from among the plurality of types of robot instruction texts according to the word frequency data;

[0021] A second button corresponding to the robot instruction texts of the plurality of target types is generated in the common instruction display area.

[0022] Optionally, the content displayed by the graphical user interface also includes a file manager interface, and the file manager interface includes a second control and a file display area:

[0023] In response to an operation on the input box of the second control, obtaining a second input text;

[0024] Matching a target file according to the second input text;

[0025] If the target file is matched successfully, the target file is displayed in the file display area.

[0026] Optionally, the method further comprises:

[0027] In response to an operation on a first button of the first control, a first input text in the input box is added to the code area.

[0028] Optionally, the file display area is used to display files stored in the teach pendant, or files of a device connected to the teach pendant.

[0029] A data processing device based on a teach pendant, the teach pendant providing a graphical user interface, the graphical user interface displaying content including a program editing interface, the program editing interface including a code area and a first control, the device comprising:

[0030] A first input text acquisition module, configured to acquire a first input text in response to an operation on an input box of the first control;

[0031] A target robot instruction text matching module, used to match the target robot instruction text in a preset robot instruction text library according to the first input text;

[0032] An input box instruction adding module, used for adding the target robot instruction text to the input box if the target robot instruction text matches successfully;

[0033] A code area instruction adding module is used to add the target robot instruction text in the input box to the code area in response to an operation on the first button of the first control.

[0034] A teaching pendant comprises the teaching pendant-based data processing device as described above.

[0035] A computer program product includes a computer program, and when the computer program is executed by a processor, the computer program implements the data processing method based on the teaching pendant as described above.

[0036] An electronic device comprises a processor, a memory and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements the data processing method based on a teach pendant as described above when executed by the processor.

[0037] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the data processing method based on a teach pendant as described above is implemented.

[0038] The embodiment of the present invention has the following advantages: The method provided by the embodiment of the present invention includes: in response to the operation of the input box of the first control, obtaining the first input text, matching the target robot instruction text in the preset robot instruction text library according to the first input text, if the target robot instruction text matches successfully, adding the target robot instruction text to the input box, and in response to the operation of the first button of the first control, adding the target robot instruction text in the input box to the code area. Through the embodiment of the present invention, the programming efficiency of robot program programming through the teaching pendant is effectively improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solution of the present invention, the accompanying drawings required for use in the description of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0040] Figure 1 is a flowchart of a data processing method based on a teaching pendant provided by an embodiment of the present invention;

[0041] Figure 2 is a schematic diagram of a program editing interface provided by an embodiment of the present invention;

[0042] Figure 3 is a schematic diagram of another program editing interface provided by an embodiment of the present invention;

[0043] Figure 4 is a schematic diagram of another program editing interface provided by an embodiment of the present invention;

[0044] Figure 5 is a schematic diagram of another program editing interface provided by an embodiment of the present invention;

[0045] Figure 6 It is an implementation process diagram of determining commonly used instructions provided by an embodiment of the present invention;

[0046] Figure 7 This is a schematic diagram of a file management interface provided by an embodiment of the present invention;

[0047] Figure 8 is another schematic diagram of a file management interface provided by an embodiment of the present invention;

[0048] Fig. 9 is a flow chart of adding target instructions provided by an embodiment of the present invention;

[0049] Fig.10 The invention discloses a structural block diagram of a data processing device based on a teaching pendant. DETAILED DESCRIPTION

[0050] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0051] As industrial robots are increasingly used, improving user experience has become an important focus for improving the competitiveness of the robot market. The robot handheld teach pendant is used to perform and operate tasks related to the robot system. It is an important part of the robot control system and an important tool for human-machine interaction. The quality of the teach pendant interface design directly affects the user experience of the robot product.

[0052] A good teaching pendant software system should not only have the basic function of controlling the robot operation through the robot program, but also meet the following requirements:

[0053] 1. Reasonable structural design makes it easy to add menu pages in the later secondary development process to meet various functional requirements;

[0054] 2. Humanized interface, with the function of real-time display of robot position data, current time, alarm history, teaching pendant version and other information, so that users or developers can more conveniently obtain the required information;

[0055] 3. It has the function of displaying and setting the robot's parameters and various variable information to meet the control of the robot's running position, state input and output, movement speed, and robot coordination and linkage;

[0056] 4. The interface function is designed from the perspective of users and developers. The teach pendant and controller software can be operated through the interface. The operation is safe and simple and easy to develop and maintain.

[0057] In the related art, the program editing interface of the robot teaching pendant software uses a list-style menu bar. When the user wants to add instructions to the robot program, he needs to first click the category button of the target instruction, and then find the target instruction in the category. However, since the robot teaching pendant uses a resistive screen, it is not very sensitive compared to a capacitive screen, which limits the interactive method of the teaching pendant software to a certain extent. When the user forgets which category the target instruction belongs to, the user cannot directly locate the target instruction, and can only click on each instruction category to find the target instruction, and then add the target instruction to the program. This will increase the user's working time, reduce work efficiency, and reduce the user's experience of the product during the search process.

[0058] Specifically, in the interactive function of the teach pendant of the related art, the user needs to add instructions when programming. When adding instructions, the user must first find the category to which the target instruction belongs, and then find the instruction. For example, if the user wants to add the HOME instruction, he must first find the motion instruction to which the HOME instruction belongs, and click the motion instruction first to display the HOME instruction. For example, there are 8 instruction categories in the add instruction menu, namely motion instructions, IO instructions, network communication instructions, logical judgment instructions, program management instructions, palletizing instructions, Modbus instructions, and workspace instructions. Each instruction category contains 2-8 specific instructions, totaling 47 specific instructions. If the user forgets which instruction category the HOME instruction belongs to, the user needs to repeatedly click on each instruction category to find the HOME instruction, and only after finding it can the HOME instruction be added to the program. Especially for uncommon instructions, it is difficult for users to directly locate the category to which the instruction belongs. Users can only repeatedly click on each instruction category to find the target instruction, which will increase programming time and affect work efficiency. More importantly, it directly affects the interactive experience of the teach pendant software interface, thereby reducing user experience.

[0059] The embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0060] Reference Figure 1 , shows a step flow chart of a data processing method based on a teach pendant provided by an embodiment of the present invention, the teach pendant provides a graphical user interface, the content displayed by the graphical user interface includes a program editing interface, the program editing interface includes a code area and a first control, and the data processing method based on the teach pendant may specifically include the following steps:

[0061] Step 101, in response to an operation on an input box of the first control, obtaining a first input text;

[0062] In this embodiment, the graphical user interface is a user-oriented graphical interface for interacting with the robot. Through the graphical interface, the user can easily control the robot, write programs, diagnose problems, and perform necessary system settings.

[0063] The program editing interface refers to the software interface used to edit robot programs. Users can write robot programs directly in the program editing interface. Users write robot instructions in a textual manner to control the robot's movement, logic, and task execution.

[0064] The code area refers to the graphic area in the program editing interface used to edit the robot program code. Users can input, delete, copy, paste, and perform other operations on the code in the code area.

[0065] The first control refers to a tool control with complex functions, which at least includes an input box and a first button; wherein the input box is a box-type control for receiving text input, and the first button is used to add the content in the input box to the code area of ​​the program editing interface.

[0066] The operation on the input box of the first control may be a text input operation, and the input box receives the first input text input by the user. Exemplarily, when the user clicks the input box, a keyboard interface may also be provided for the user to input text.

[0067] In practical applications, the first input text may be a complete robot instruction text or a partial keyword.

[0068] In some examples, such as Figure 2 A program editing interface is shown, which includes a code area 201 and a first control 202. The first control 202 can be displayed floating on the upper layer of the code area 201, and includes an input box 2021 and a first button 2022.

[0069] In actual applications, the first control 202 can be displayed permanently, or it can be displayed as a pop-up window when the user clicks on the code area and points the cursor to a specified position (for example, a certain position in a line of code).

[0070] Step 102, matching a target robot instruction text in a preset robot instruction text library according to the first input text;

[0071] Robot instruction text refers to the text that defines the robot's actions, conditions, logic, and tasks. It can be composed of instruction names, parameters, and comments.

[0072] Exemplarily, the robot instruction texts may be as follows:

[0073] Motion instructions: such as MoveJ (joint motion), MoveL (linear motion), MoveC (circular motion), etc.; logic instructions: such as IF (conditional judgment), WHILE (loop), WAIT (wait), etc. I / O control instructions: such as SetDO (set digital output), WaitDI (wait for digital input), etc. Other instructions: such as Stop, Reset, etc.

[0074] The robot instruction text library refers to a database that pre-stores various robot instruction texts.

[0075] The target robot instruction text refers to the robot instruction text that the user expects to input into the code.

[0076] Exemplarily, when the user inputs the first input text "HOM", the target robot instruction text matched by the system in the robot instruction text library is "HOME", which indicates the initial position or safe position of the robot and is used for initialization and return to the safe position.

[0077] Step 103, if the target robot instruction text matches successfully, add the target robot instruction text to the input box;

[0078] In this embodiment, if the target robot instruction text is successfully matched, the target robot instruction text is added to the input box. By quickly matching the desired robot instruction text for the user, the user does not need to search one by one according to the robot instruction classification, thereby speeding up the user's efficiency in writing robot program code.

[0079] In some examples, such as Figure 3 As shown, when the user inputs the first input text "HOM", the system matches the target robot instruction text "HOME" in the robot instruction text library, adds the target robot instruction text to the input box, and displays it to the user.

[0080] Step 104: In response to an operation on the first button of the first control, the target robot instruction text in the input box is added to the code area.

[0081] In this embodiment, the operation on the first button of the first control may be a click operation, and when the user clicks the first button, the target robot instruction text is added to a specified position in the code area.

[0082] In some examples, such as Figure 4 As shown in FIG. 1 , when the user inputs the first input text "HOM", and the target robot instruction text matched in the robot instruction text library is "HOME", after adding the target robot instruction text to the input box, the user can click the first button (i.e. Figure 4 ), add the "HOME" instruction text to the code area, for example, insert it into the specified code line.

[0083] In some embodiments of the present invention, the method further comprises:

[0084] In response to an operation on a first button of the first control, a first input text in the input box is added to the code area.

[0085] In this embodiment, after the user inputs the first text into the input box, the first input text can also be directly added to the code area, so that the user can input the robot instruction text by himself.

[0086] In some embodiments of the present invention, the first control further includes a common instruction display area, the common instruction display area includes a plurality of second buttons, each of the second buttons corresponds to a robot instruction text, and the method further includes:

[0087] In response to a click operation on the second button, a robot instruction text corresponding to the second button is added to the input box.

[0088] In this embodiment, the frequently used instruction display area refers to the second button corresponding to the robot instruction text frequently used by the user. By clicking the second button, the user can directly display the robot instruction text.

[0089] As an example, Figure 2 As shown, the first control also includes a common instruction display area 2023, which includes a second button of multiple robot instruction text teammates, such as "MovL", "MovJ", etc. By clicking the second button, the corresponding robot instruction text can be added to the input box, and then by clicking the second button 2022 (i.e. Figure 2 ) to add the robot instruction text to the code area.

[0090] In some embodiments of the present invention, the method further comprises:

[0091] In response to a long press operation on the second button, displaying a check box corresponding to the second button;

[0092] In response to the operation on the check box, the second button corresponding to the check box is removed in the common instruction display area.

[0093] In this embodiment, the user may need to remove the second button in the commonly used command display area. The user can display the corresponding check box in the commonly used command display area by long pressing the second button, and then remove the second button corresponding to the check box in the commonly used command display area by operating the check box, such as unchecking the check box.

[0094] As an example, Figure 5 As shown, the user can long press the second button "MovJ" to display the check box of the second button, and the check box is in a selected state. Then, the user can click the check box to make the check box unchecked, and the second button "MovJ" can be removed from the common command display area.

[0095] In actual applications, users can also set custom robot instruction texts, and then the system displays the buttons corresponding to the robot instruction texts in the common instruction display area.

[0096] In some embodiments of the present invention, the method further comprises:

[0097] Acquire multiple code texts saved by the teaching pendant;

[0098] Performing word segmentation processing on the code text to obtain multiple types of robot instruction texts;

[0099] Saving the number of times each type of robot instruction text is added to the code region to obtain word frequency data;

[0100] Determining a plurality of target types of robot instruction texts from among the plurality of types of robot instruction texts according to the word frequency data;

[0101] A second button corresponding to the robot instruction texts of the plurality of target types is generated in the common instruction display area.

[0102] In this embodiment, the teaching pendant can store multiple code texts. The system collects the code texts for word segmentation and extracts multiple types of robot instruction texts from them; each type of robot instruction text is added to the code area, for example, after adding it to the code area by pressing the first button, the robot instruction text of this type is counted to obtain word frequency data. For example, the word frequency data may include each type and the corresponding statistical number, for example, the robot instruction text of "HOME" corresponds to 13 times, the robot instruction text of "MovJ" corresponds to 15 times, and so on.

[0103] Furthermore, through the word frequency data, multiple target types of robot instruction texts are determined from multiple types of robot instruction texts. Specifically, by sorting the statistical times of each type, the robot instruction text types with the top N statistical times can be determined as the target type. For example, if the robot instruction texts with the top 5 statistical times are MoveL, MoveJ, WaitRob, MotorOff, and MotorOn, then a corresponding second button is generated in the common instruction display area.

[0104] Then, a second button corresponding to robot instruction texts of multiple target types is generated in the common instruction display area.

[0105] As an example, Figure 6 As shown, first, the system collects the saved code files and counts the programming instructions; then, all the data are segmented according to the instruction words, for example, the segmentation result can be "MoveL, MoveJ, :=, WaitRob, MotorOff, MotorOn";

[0106] Furthermore, word frequency statistics are performed to obtain robot instruction texts ranked in the top 20 by click counts;

[0107] Finally, the robot instruction text is displayed in the "Common Instructions", which is the common instruction display area.

[0108] In some embodiments of the present invention, the content displayed by the graphical user interface also includes a file manager interface, and the file manager interface includes a second control and a file display area:

[0109] In response to an operation on the input box of the second control, obtaining a second input text;

[0110] Matching a target file according to the second input text;

[0111] If the target file is matched successfully, the target file is displayed in the file display area.

[0112] The operation on the input box of the second control may be an input operation, etc. The second input text may be the entire file, or a part of the file name, etc.

[0113] In this embodiment, the file manager interface provides related files or folders for viewing and editing. This embodiment provides a second control to match the target file that the user wants to find and display it in the file display area. The user can quickly locate the target file and then perform operations such as editing.

[0114] As an example, Figure 7 As shown in FIG. 1 , it is a file manager interface; when the user clicks the “Menu” button, a second control may pop up, such as Figure 8 The "Search" control shown; then, the user enters a second input text into the second control to match the target file, and if the match is successful, the target file is displayed in the file display area.

[0115] In some embodiments of the present invention, the file display area is used to display files stored in the teach pendant, or files of a device connected to the teach pendant.

[0116] In this embodiment, the second control can match the files stored in the teach pendant and / or the files of the devices connected to the teach pendant, such as USB flash drives, and display them in the file display area.

[0117] For ease of understanding, the embodiment of the present invention also provides a flow chart of adding a target instruction, as shown in FIG. Fig. 9 shown.

[0118] The embodiment of the present invention has the following advantages: The method provided by the embodiment of the present invention includes: in response to the operation of the input box of the first control, obtaining the first input text, matching the target robot instruction text in the preset robot instruction text library according to the first input text, if the target robot instruction text matches successfully, adding the target robot instruction text to the input box, and in response to the operation of the first button of the first control, adding the target robot instruction text in the input box to the code area. Through the embodiment of the present invention, the programming efficiency of robot program programming through the teaching pendant is effectively improved.

[0119] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, 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 involved are not necessarily required by the embodiments of the present invention.

[0120] Reference Fig.10 , shows a schematic diagram of the structure of a data processing device based on a teach pendant provided by an embodiment of the present invention, wherein the teach pendant provides a graphical user interface, and the content displayed by the graphical user interface includes a program editing interface, and the program editing interface includes a code area and a first control, and specifically may include the following modules:

[0121] A first input text acquisition module 1001 is used to acquire a first input text in response to an operation on the input box of the first control;

[0122] A target robot instruction text matching module 1002 is used to match the target robot instruction text in a preset robot instruction text library according to the first input text;

[0123] An input box instruction adding module 1003 is used to add the target robot instruction text to the input box if the target robot instruction text matches successfully;

[0124] The code area instruction adding module 1004 is used to add the target robot instruction text in the input box to the code area in response to the operation of the first button of the first control.

[0125] The method according to claim 1, characterized in that the first control further includes a common instruction display area, the common instruction display area includes a plurality of second buttons, each of the second buttons corresponds to a robot instruction text, and the device further includes:

[0126] Second button instruction adding: In response to a click operation on the second button, the robot instruction text corresponding to the second button is added to the input box.

[0127] In some embodiments of the present invention, the device further comprises:

[0128] In response to a long press operation on the second button, displaying a check box corresponding to the second button;

[0129] In response to the operation on the check box, the second button corresponding to the check box is removed in the common instruction display area.

[0130] In some embodiments of the present invention, the device further comprises:

[0131] Acquire multiple code texts saved by the teaching pendant;

[0132] Performing word segmentation processing on the code text to obtain multiple types of robot instruction texts;

[0133] Saving the number of times each type of robot instruction text is added to the code region to obtain word frequency data;

[0134] Determining a plurality of target types of robot instruction texts from among the plurality of types of robot instruction texts according to the word frequency data;

[0135] A second button corresponding to the robot instruction texts of the plurality of target types is generated in the common instruction display area.

[0136] In some embodiments of the present invention, the content displayed by the graphical user interface also includes a file manager interface, and the file manager interface includes a second control and a file display area:

[0137] In response to an operation on the input box of the second control, obtaining a second input text;

[0138] Matching a target file according to the second input text;

[0139] If the target file is matched successfully, the target file is displayed in the file display area.

[0140] In some embodiments of the present invention, the device further comprises:

[0141] In response to an operation on a first button of the first control, a first input text in the input box is added to the code area.

[0142] In some embodiments of the present invention, the file display area is used to display files stored in the teach pendant, or files of a device connected to the teach pendant.

[0143] Some embodiments of the present invention further provide an electronic device, which may include a processor, a memory, and a computer program stored in the memory and capable of running on the processor. When the computer program is executed by the processor, the data processing method based on the teaching pendant is implemented, including:

[0144] In response to an operation on an input box of the first control, obtaining a first input text;

[0145] According to the first input text, matching the target robot instruction text in a preset robot instruction text library;

[0146] If the target robot instruction text matches successfully, add the target robot instruction text to the input box;

[0147] In response to an operation on a first button of the first control, the target robot instruction text in the input box is added to the code area.

[0148] In some embodiments of the present invention, the first control further includes a common instruction display area, the common instruction display area includes a plurality of second buttons, each of the second buttons corresponds to a robot instruction text, and the method further includes:

[0149] In response to a click operation on the second button, a robot instruction text corresponding to the second button is added to the input box.

[0150] In some embodiments of the present invention, the method further comprises:

[0151] In response to a long press operation on the second button, displaying a check box corresponding to the second button;

[0152] In response to the operation on the check box, the second button corresponding to the check box is removed in the common instruction display area.

[0153] In some embodiments of the present invention, the method further comprises:

[0154] Acquire multiple code texts saved by the teaching pendant;

[0155] Performing word segmentation processing on the code text to obtain multiple types of robot instruction texts;

[0156] Saving the number of times each type of robot instruction text is added to the code region to obtain word frequency data;

[0157] Determining a plurality of target types of robot instruction texts from among the plurality of types of robot instruction texts according to the word frequency data;

[0158] A second button corresponding to the robot instruction texts of the plurality of target types is generated in the common instruction display area.

[0159] In some embodiments of the present invention, the content displayed by the graphical user interface also includes a file manager interface, and the file manager interface includes a second control and a file display area:

[0160] In response to an operation on the input box of the second control, obtaining a second input text;

[0161] Matching a target file according to the second input text;

[0162] If the target file is matched successfully, the target file is displayed in the file display area.

[0163] In some embodiments of the present invention, the method further comprises:

[0164] In response to an operation on a first button of the first control, a first input text in the input box is added to the code area.

[0165] In some embodiments of the present invention, the file display area is used to display files stored in the teach pendant, or files of a device connected to the teach pendant.

[0166] Some embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the data processing method based on the teaching pendant is implemented as described above, including:

[0167] In response to an operation on an input box of the first control, obtaining a first input text;

[0168] According to the first input text, matching the target robot instruction text in a preset robot instruction text library;

[0169] If the target robot instruction text matches successfully, add the target robot instruction text to the input box;

[0170] In response to an operation on a first button of the first control, the target robot instruction text in the input box is added to the code area.

[0171] In some embodiments of the present invention, the first control further includes a common instruction display area, the common instruction display area includes a plurality of second buttons, each of the second buttons corresponds to a robot instruction text, and the method further includes:

[0172] In response to a click operation on the second button, a robot instruction text corresponding to the second button is added to the input box.

[0173] In some embodiments of the present invention, the method further comprises:

[0174] In response to a long press operation on the second button, displaying a check box corresponding to the second button;

[0175] In response to the operation on the check box, the second button corresponding to the check box is removed in the common instruction display area.

[0176] In some embodiments of the present invention, the method further comprises:

[0177] Acquire multiple code texts saved by the teaching pendant;

[0178] Performing word segmentation processing on the code text to obtain multiple types of robot instruction texts;

[0179] Saving the number of times each type of robot instruction text is added to the code region to obtain word frequency data;

[0180] Determining a plurality of target types of robot instruction texts from among the plurality of types of robot instruction texts according to the word frequency data;

[0181] A second button corresponding to the robot instruction texts of the plurality of target types is generated in the common instruction display area.

[0182] In some embodiments of the present invention, the content displayed by the graphical user interface also includes a file manager interface, and the file manager interface includes a second control and a file display area:

[0183] In response to an operation on the input box of the second control, obtaining a second input text;

[0184] Matching a target file according to the second input text;

[0185] If the target file is matched successfully, the target file is displayed in the file display area.

[0186] In some embodiments of the present invention, the method further comprises:

[0187] In response to an operation on a first button of the first control, a first input text in the input box is added to the code area.

[0188] In some embodiments of the present invention, the file display area is used to display files stored in the teach pendant, or files of a device connected to the teach pendant.

[0189] Some embodiments of the present invention further provide a computer program product, including a computer program, which, when executed by a processor, implements the above teaching pendant-based data processing method, including:

[0190] In response to an operation on a first button of the first control, the target robot instruction text in the input box is added to the code area.

[0191] In some embodiments of the present invention, the first control further includes a common instruction display area, the common instruction display area includes a plurality of second buttons, each of the second buttons corresponds to a robot instruction text, and the method further includes:

[0192] In response to a click operation on the second button, a robot instruction text corresponding to the second button is added to the input box.

[0193] In some embodiments of the present invention, the method further comprises:

[0194] In response to a long press operation on the second button, displaying a check box corresponding to the second button;

[0195] In response to the operation on the check box, the second button corresponding to the check box is removed in the common instruction display area.

[0196] In some embodiments of the present invention, the method further comprises:

[0197] Acquire multiple code texts saved by the teaching pendant;

[0198] Performing word segmentation processing on the code text to obtain multiple types of robot instruction texts;

[0199] Saving the number of times each type of robot instruction text is added to the code region to obtain word frequency data;

[0200] Determining a plurality of target types of robot instruction texts from among the plurality of types of robot instruction texts according to the word frequency data;

[0201] A second button corresponding to the robot instruction texts of the plurality of target types is generated in the common instruction display area.

[0202] In some embodiments of the present invention, the content displayed by the graphical user interface also includes a file manager interface, and the file manager interface includes a second control and a file display area:

[0203] In response to an operation on the input box of the second control, obtaining a second input text;

[0204] Matching a target file according to the second input text;

[0205] If the target file is matched successfully, the target file is displayed in the file display area.

[0206] In some embodiments of the present invention, the method further comprises:

[0207] In response to an operation on a first button of the first control, a first input text in the input box is added to the code area.

[0208] In some embodiments of the present invention, the file display area is used to display files stored in the teach pendant, or files of a device connected to the teach pendant.

[0209] In some embodiments of the present invention, a teaching pendant is further provided, comprising the teaching pendant-based data processing device as described above.

[0210] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0211] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0212] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0213] Those skilled in the art will appreciate that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0214] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0215] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0216] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0217] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.

[0218] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the above elements.

[0219] The above is a detailed introduction to the data processing method, device, equipment and medium based on the teach pendant. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A data processing method based on a teaching pendant, characterized in that: The teaching pendant provides a graphical user interface, and the content displayed by the graphical user interface includes a program editing interface, and the program editing interface includes a code area and a first control. The method includes: In response to an operation on an input box of the first control, obtaining a first input text; According to the first input text, matching the target robot instruction text in a preset robot instruction text library; If the target robot instruction text matches successfully, add the target robot instruction text to the input box; In response to an operation on a first button of the first control, the target robot instruction text in the input box is added to the code area.

2. The method according to claim 1, characterized in that The first control further includes a common instruction display area, the common instruction display area includes a plurality of second buttons, each of the second buttons corresponds to a robot instruction text, and the method further includes: In response to a click operation on the second button, a robot instruction text corresponding to the second button is added to the input box.

3. The method according to claim 2, characterized in that The method further comprises: In response to a long press operation on the second button, displaying a check box corresponding to the second button; In response to the operation on the check box, the second button corresponding to the check box is removed in the common instruction display area.

4. The method according to claim 2 or 3, characterized in that: The method further comprises: Acquire multiple code texts saved by the teaching pendant; Performing word segmentation processing on the code text to obtain multiple types of robot instruction texts; Saving the number of times each type of robot instruction text is added to the code region to obtain word frequency data; Determining a plurality of target types of robot instruction texts from among the plurality of types of robot instruction texts according to the word frequency data; A second button corresponding to the robot instruction texts of the plurality of target types is generated in the common instruction display area.

5. The method according to claim 1, characterized in that The content displayed by the graphical user interface also includes a file manager interface, and the file manager interface includes a second control and a file display area: In response to an operation on the input box of the second control, obtaining a second input text; Matching a target file according to the second input text; If the target file is matched successfully, the target file is displayed in the file display area.

6. The method according to claim 5, characterized in that The method further comprises: In response to an operation on a first button of the first control, a first input text in the input box is added to the code area.

7. The method according to claim 5, characterized in that The file display area is used to display files stored in the teaching pendant, or files of devices connected to the teaching pendant.

8. A data processing device based on a teaching pendant, characterized in that: The teaching pendant provides a graphical user interface, and the content displayed by the graphical user interface includes a program editing interface, and the program editing interface includes a code area and a first control. The device includes: A first input text acquisition module, configured to acquire a first input text in response to an operation on an input box of the first control; A target robot instruction text matching module, used to match the target robot instruction text in a preset robot instruction text library according to the first input text; An input box instruction adding module, used for adding the target robot instruction text to the input box if the target robot instruction text matches successfully; A code area instruction adding module is used to add the target robot instruction text in the input box to the code area in response to an operation on the first button of the first control.

9. A teaching pendant, characterized in that: The teaching pendant includes the teaching pendant-based data processing device as claimed in claim 8.

10. A computer program product, characterized in that The invention comprises a computer program, which, when executed by a processor, implements the teaching pendant-based data processing method as claimed in any one of claims 1 to 7.

11. An electronic device, characterized in that: The invention comprises a processor, a memory and a computer program stored in the memory and capable of running on the processor, wherein when the computer program is executed by the processor, the teaching pendant-based data processing method as claimed in any one of claims 1 to 7 is implemented.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the data processing method based on a teaching pendant as described in any one of claims 1 to 7 is implemented.