Method for testing robot, robot and storage medium

CN119077794BActive Publication Date: 2026-09-18YOUDI ROBOT (WUXI) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411120029.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-14
Publication Date
2026-09-18
Estimated Expiration
2044-08-14

AI Technical Summary

Technical Problem

[0005]本申请的主要目的在于提供一种机器人的测试方法、机器人及存储介质,旨在解决基于人工进行的敲门老化测试,存在检测准确率低的技术问题

Benefits of technology

[0040]During the robot-assisted door-knocking aging test, the robot is controlled to perform a door-knocking test action based on test commands. The response information corresponding to this action is then collected, and the test results are automatically analyzed based on this information, generating a test report. This automated testing method improves the efficiency and accuracy of door-knocking testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119077794B_ABST
    Figure CN119077794B_ABST
Patent Text Reader

Abstract

The application discloses a kind of robot testing method, robot and storage medium, it is related to robot technical field, the testing method of robot is disclosed, comprising: obtaining the response information received when robot executes knock test action based on test instruction;Knock test result is generated according to the response information, and test report is generated based on the knock test result.In the knock aging test of robot, the knock test action of robot is controlled by test instruction, while the response information corresponding to the action is collected, and the knock test result and test report are analyzed and generated based on the response, realize the automation processing of knock aging test, improve knock test detection efficiency and detection accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of robotics technology, and in particular to robot testing methods, robots, and storage media. Background Technology

[0002] Delivery robots equipped with robotic arms are widely used in environments such as warehouses, hospitals, and hotels, effectively improving delivery efficiency and reducing labor costs. Before being put into daily use, these robots must undergo a series of rigorous tests, especially aging tests, to ensure that they can operate stably over a long period of time.

[0003] When conducting door-knocking tests on delivery robots, manual observation is typically used. However, during aging tests, the robot may be required to perform a delivery task every 5 minutes, continuously throughout the night. In this testing mode, relying on continuous manual observation of the robotic arm's working status is not only time-consuming and labor-intensive, but also prone to inaccurate results due to factors such as observer fatigue. Therefore, current door-knocking aging tests for delivery robots suffer from low detection accuracy.

[0004] The above content is only used to help understand the technical solution of this application and does not represent an admission that the above content is prior art. Summary of the Invention

[0005] The main purpose of this application is to provide a robot testing method, robot, and storage medium, which aims to solve the technical problem of low detection accuracy in manual door-knocking aging tests.

[0006] To achieve the above objectives, this application proposes a method for testing a robot, the method comprising:

[0007] Obtain the response information received when the robot performs a knocking test action based on the test command;

[0008] The knocking test results are generated based on the response information, and a test report is generated based on the knocking test results.

[0009] In one embodiment, before the step of obtaining the response information received when the robot performs a knocking test action based on the test command, the method further includes:

[0010] Obtain the knock test configuration information and knock test commands received from the configuration test interface of the test software;

[0011] The test area is determined based on the door-knocking test configuration information;

[0012] Control the robot to move to the test area, and control the robot to perform the knocking test action based on the knocking test command.

[0013] In one embodiment, the step of controlling the robot to move to the test area and controlling the robot to perform the knocking test action based on the knocking test command includes:

[0014] The robot is controlled to move to the test area, and image information of the test area is acquired based on a depth camera.

[0015] The robot's robotic arm's movement path is generated based on the image information, and the robotic arm's operation sequence is generated based on the door-knocking test configuration information;

[0016] Based on the movement path, the robotic arm is controlled to move to the knocking area, and according to the operation sequence, the robotic arm is controlled to perform the knocking test action.

[0017] In one embodiment, the step of controlling the robotic arm to move to the knocking area based on the movement path, and controlling the robotic arm to perform the knocking test action according to the operation sequence includes:

[0018] Based on the movement path, the robotic arm is controlled to move to the knocking area;

[0019] After the robotic arm contacts the door-knocking area and detects the pressure information or sensor status change information fed back by the robotic arm's sensing device, the recording sensor and the sound recognition sensor are activated.

[0020] The robotic arm is controlled to perform tapping based on the tapping frequency, number of taps, and tapping interval corresponding to the operation sequence.

[0021] In one embodiment, the response information includes voice recognition information and recording information, and the step of generating a knocking test result based on the response information includes:

[0022] When the sound recognition information is a knocking sound, a knocking test result indicating a successful knock is generated.

[0023] When the sound recognition information is not a knocking sound, obtain the recording information associated with the current knocking task;

[0024] If the knocking sound is present in the recorded information, output information indicating an abnormality in the sound recognition sensor, and generate a knocking test result indicating a successful knock.

[0025] If the knocking sound is not present in the recorded information, a test result indicating that the knocking failed is generated.

[0026] In one embodiment, the response information further includes stress data, and the step of generating a knocking test result based on the response information includes:

[0027] When the sound recognition information is received, the pressure data corresponding to the sound recognition information at the same moment is determined;

[0028] When the sound recognition information is the knocking sound and the pressure data is not empty, a knocking test result indicating successful knocking is generated.

[0029] If the sound recognition information is not a knocking sound and / or the pressure data is empty, a knocking test result indicating a knocking failure is generated.

[0030] In one embodiment, after the steps of generating a knock test result based on the response information and generating a test report based on the knock test result, the method further includes:

[0031] When the knocking test result is a knocking failure, obtain the audio recording information and knocking success rate of the test report;

[0032] When the recording information contains a sound frequency associated with a knocking sound, an error message is output for the knocking sound detection sensor, and the knocking test result is changed to "knocking test successful".

[0033] When the success rate of knocking on the door is greater than the preset success rate, the knocking test result is modified to indicate that the knocking test was successful.

[0034] In one embodiment, after the steps of generating a knock test result based on the response information and generating a test report based on the knock test result, the method further includes:

[0035] Upon receiving a report viewing instruction, retrieve the door-knocking data test template;

[0036] The results of the test report are filled into the knocking data test template to generate knocking data, which is then output on the robot's display.

[0037] In addition, to achieve the above objectives, this application also proposes a robot, the robot comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the testing method for the robot as described above.

[0038] In addition, to achieve the above objectives, this application also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the steps of the robot testing method described above.

[0039] One or more technical solutions proposed in this application have at least the following technical effects:

[0040] During the robot-assisted door-knocking aging test, the robot is controlled to perform a door-knocking test action based on test commands. The response information corresponding to this action is then collected, and the test results are automatically analyzed based on this information, generating a test report. This automated testing method improves the efficiency and accuracy of door-knocking testing. Attached Figure Description

[0041] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0042] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0043] Figure 1 A system architecture diagram of the robot provided for the testing method of the robot in this application;

[0044] Figure 2 A flowchart illustrating the first embodiment of the testing method for the robot of this application;

[0045] Figure 3 A flowchart illustrating a second embodiment of the testing method for the robot provided in this application;

[0046] Figure 4 This is a schematic diagram of the device structure of the hardware operating environment involved in the robot testing method in this application embodiment.

[0047] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0048] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.

[0049] The main solution of this application embodiment is: to obtain the response information received when the robot performs a knocking test action based on the test command; to generate a knocking test result based on the response information; and to generate a test report based on the knocking test result.

[0050] In this embodiment, for ease of description, the robot will be used as the execution subject in the following description.

[0051] In current technology, door-knocking tests on delivery robots typically rely on manual observation. However, during aging tests, the robot might be required to perform a delivery task every 5 minutes, continuously throughout the night. In this testing mode, relying on continuous manual observation of the robotic arm's working status is not only time-consuming and labor-intensive, but also prone to inaccurate results due to observer fatigue. Therefore, current door-knocking aging tests for delivery robots suffer from low accuracy.

[0052] This application provides a solution for a robot-assisted door-knocking aging test. The robot is controlled to perform a door-knocking test action based on test commands. Response information corresponding to this action is then collected, and the test results are automatically analyzed based on this information, generating a test report. This automated testing method improves the efficiency and accuracy of door-knocking testing.

[0053] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.

[0054] The system architecture required for the robot to perform the knocking test is as follows: Figure 1 As shown, the robot includes a robotic arm finger sensor, a microphone, a sensing unit, an execution unit, and an interface configuration unit. The robotic arm finger sensor detects whether the robotic arm is in contact with the test door in the test area, ensuring accurate knocking without missing the target. If the finger touches the door, the sensor displays a corresponding value, such as the pressure value. If the sensor is a button, it displays corresponding status changes, such as whether the button is active or deactivated. The microphone is used for voice communication during delivery and for recording the knocking sound. The sensing unit recognizes and converts the robotic arm's sensory results and the knocking sound results, sending the final information—whether the door was sensed, whether a knocking sound was produced, or whether the sensed sound was a knock—to the execution unit. The microphone remains on and records sound throughout the entire knocking test. The execution unit executes the task according to the interface configuration, calculates the data from the sensing unit to determine success or failure, and generates a test report. The interface configuration unit, also known as the configuration interface, allows users to configure the test sites, the number of aging tests, and view test reports. This interface configuration unit corresponds to the test software installed on the robot. After the test software is started, the interface configuration unit displays the area, conditions, number of tests, and other information to be tested.

[0055] Optionally, the robot can analyze the distance between the area to be tapped and the robot in real time through the camera module, thereby generating a suitable operation sequence and controlling the fingers of the robotic arm to tap. This eliminates the need for sensing by the robotic arm's finger sensors before tapping, reducing the need for sensor configuration and effectively lowering testing costs.

[0056] Based on the system architecture of the robot, this application provides a robot testing method, referring to... Figure 2 , Figure 2 This is a flowchart illustrating the first embodiment of the robot testing method of this application. In this embodiment, the robot is a delivery robot and is equipped with a robotic arm for knocking on doors.

[0057] In this embodiment, the testing method for the robot includes steps S10 to S20:

[0058] Step S10: Obtain the response information received when the robot performs the knocking test action based on the test command;

[0059] It should be noted that the test instruction refers to the command generated when the tester clicks "Start Test" after configuring the door-knocking test information through the test software. During the test, the robot first moves to the required test location based on the configuration information, then uses a depth camera to determine the current door position, and finally controls the robotic arm to perform the knocking action.

[0060] As one alternative implementation of controlling a robotic arm to perform a knocking action, the robotic arm moves forward until a sensor contacts the test door, and then controls a robotic finger to knock based on the signal after the touch. Alternatively, camera analysis can be used to generate the path the robotic arm needs to move and the command to knock after moving to a certain position.

[0061] In this embodiment, if the robot is equipped with a finger sensor, the received response information includes voice recognition information, recording information, sensor pressure data, and sensor change information; otherwise, the configuration information includes voice recognition information and recording information. By acquiring the response information received when the robot performs a knocking test, the current knocking test results can be effectively analyzed based on this response information, thereby improving the efficiency of the knocking test.

[0062] Step S20: Generate a knocking test result based on the response information, and generate a test report based on the knocking test result.

[0063] It should be noted that the knocking test result corresponds to the two cases of successful and unsuccessful knocking when the robot performs a single knocking action, while the test report is the test result for all knocking actions after completing the current knocking test process. In addition, the test report also records the audio file of the current test process and the test success rate, etc.

[0064] For example, in the user-configured test information, the robot needs to perform a knocking test task every 2 minutes to deliver to room 8501, for a total of 500 tests. During the knocking process, the robot knocks three times in one second, waits for 3 seconds, and then knocks three times in one second again, repeating this process three times. Based on this, after each test, 9 knocking test results are generated, and the test report includes these 9 knocking test results and the audio recording of the knocking process.

[0065] In this embodiment, a knocking test result can be generated based on sound recognition information, such as the knocking sound, detected by a sound recognition sensor during the knocking process. Alternatively, the knocking test result can be generated directly from the recorded information of the knocking process. Furthermore, a combination of sound recognition information and recorded information can be used to generate the knocking test result, thereby improving the accuracy of the result. Further, when the robot is equipped with a robotic arm finger sensor, the knocking test result can be generated simultaneously based on both the aforementioned sound information and the sensor information.

[0066] As an optional implementation, when the robot arrives at the door to be knocked on, it places its robotic arm fingers behind the door. If the sensor feedback from the robotic arm fingers is "True" (indicating the current sensor button is pressed), other robotic arm fingers are controlled to knock. After knocking, the presence of a knocking sound is detected by reviewing the recorded audio file. If a knocking sound is heard, the knocking is considered successful. Alternatively, the sound produced during each knock can be analyzed; if the sound is a knocking sound, a successful knocking test result is generated. Alternatively, a judgment can be made based on both the knocking sound and the recorded audio. Furthermore, the information from the finger sensors can also be pressure data, such as the pressure data generated when the sensor contacts the door.

[0067] In this embodiment, the knocking test results are analyzed using sound information recorded by the robotic arm's finger sensor and microphone. The two are combined, and after the finger sensor provides feedback, the knocking action is executed to ensure that the robotic arm's finger can accurately knock on the test door. Based on the automatic knocking test method, the detection efficiency is improved, and the accuracy of the knocking test is also improved.

[0068] In another alternative implementation, test results can be determined using sound information. Specifically, the robotic arm is not equipped with a finger sensor. During testing, a depth camera captures and determines the location where the door needs to be knocked, then analyzes the image to generate a knocking sequence for the robotic arm. Subsequently, after the robot performs the knocking action, the corresponding sound recognition information and the recorded audio information after the knocking test are analyzed in real time. The success of the knocking is determined based on these two types of sound information. It is understandable that the knocking sequence obtained through camera analysis may result in missed knocks due to errors. Therefore, by equipping the robotic arm with a finger sensor, the knocking action is performed only after the finger sensor detects relevant information, effectively improving the accuracy of the knocking test.

[0069] Furthermore, after generating the knocking test results, when completing the current test process, a test report can be generated based on all the knocking test results corresponding to the entire test process. At the same time, in order to facilitate subsequent comparison and verification, the recording information in the current test process can also be associated and stored with the test report. When generating the test report, the corresponding knocking test success rate is output in the test report based on each knocking test result.

[0070] After generating the test report, when the robot receives the report viewing instruction, it can obtain the door-knocking data test template, then fill the door-knocking data test template with the results of the test report to generate door-knocking data, and output the door-knocking data on the robot's display terminal, including the door-knocking test success rate, the number of door-knocking tests, etc., to improve the accuracy of data viewing.

[0071] Furthermore, a test report is generated. When a knocking test result is "knock failed," the recording information and knocking success rate of the test report are obtained, and the entire knocking process is verified based on the recording information and the knocking success rate. Subsequently, if the recording information contains a sound frequency associated with the knocking sound, information indicating an anomaly in the knocking sound detection sensor is output, and the knocking test result of the robotic arm is modified to "knock successful." Here, the knocking test result refers to the knocking test result that detected an error and generated an error message. In addition, if the knocking success rate is greater than a preset success rate, the knocking test result is modified to "knock successful." Based on this, the accuracy of the knocking test is improved by analyzing and processing the knocking success rate and recording information for any knocking test result that failed.

[0072] This embodiment discloses a testing method for a robot. When a knocking test action is executed based on a test command, the knocking test results are analyzed by using sound information recorded by the robotic arm's finger sensor and microphone. The two are combined, and the knocking action is executed after the finger sensor provides corresponding feedback, ensuring that the robotic arm's fingers can accurately knock on the test door. Based on the automatic knocking test method, the detection efficiency is improved, and the accuracy of the knocking test is also improved.

[0073] Based on the first embodiment of this application, in the second embodiment of this application, the content that is the same as or similar to the first embodiment described above can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 3 Before step S10, the robot testing method further includes steps S01 to S03:

[0074] Step S01: Obtain the knock test configuration information and knock test command received by the configuration test interface of the test software;

[0075] The robot is equipped with testing software. By inputting relevant knocking test commands through the testing software, the robot's knocking test can be automated, thereby improving the efficiency of the knocking test. Therefore, in this embodiment, before executing the knocking test action, the knocking test configuration information received by the tester in the testing software's configuration test interface, as well as the knocking test commands generated after the tester clicks "Start Test," can be obtained.

[0076] Step S02: Determine the test area based on the knocking test configuration information;

[0077] The door-knocking test configuration information includes the room, floor, number of tasks, and task interval. Based on this, the test area can be determined. For example, if the test room number is 8510, the test area is room 10 on the 5th floor of floor 8. The robot generates the test area based on this information and navigates to it for testing. The method by which the robot navigates to the test area is not limited here.

[0078] Step S03: Control the robot to move to the test area, and control the robot to perform the knocking test action based on the knocking test command.

[0079] In this embodiment, after the robot moves to the test area, image information of the test area can be acquired based on the robot's depth camera, such as the position of the test door and the corresponding knocking area. Then, based on this image information, a movement path for the robot's robotic arm is generated, and an operation sequence for the robotic arm is generated based on the knocking test configuration information. Next, the robotic arm is controlled to move to the knocking area based on the movement path, and then performs the knocking test action according to the operation sequence. The operation sequence refers to the steps or conditions that the robotic arm must follow when performing the knocking test action, including parameters such as the knocking conditions, knocking force, number of knocks, interval between each knock, and the robotic arm's reset action after knocking.

[0080] Furthermore, when performing the knocking action, the robotic arm is first moved to the knocking area based on the movement path. Then, the robotic arm contacts the knocking area. After detecting pressure information or changes in sensor status from the robotic arm's sensors, the recording sensor and sound recognition sensor are activated. The recording sensor records the entire knocking test process, while the sound recognition sensor analyzes the sound generated by the knocking action. Finally, the robotic arm is controlled to knock based on the knocking frequency, number of knocks, and knocking interval corresponding to the operation sequence. This improves the effectiveness and accuracy of the knocking test process.

[0081] This embodiment discloses a robot testing method. The method generates the robot's navigation path by using the door-knocking test configuration information corresponding to the testing software. At the same time, it analyzes the image of the test area using a depth camera to generate the movement path of the robotic arm. It also generates an operation sequence of steps or conditions that the robot should follow when knocking on the door based on the door-knocking test configuration information. Finally, it knocks on the test door according to the knocking frequency, number of times and intervals corresponding to the operation sequence, thereby improving knocking efficiency and door-knocking test accuracy.

[0082] Based on the second embodiment described above, in the third embodiment of this application, the same or similar content as the second embodiment described above can be referred to the above description, and will not be repeated hereafter.

[0083] In an optional implementation that generates knocking test results based on response information, the robot is equipped with a robotic arm finger sensor. Before performing the knocking action, the robotic arm is placed on the door. Then, when the finger sensor provides feedback such as pressure data or sensing status information (button pop-up or pressed state), the robot knocks with its robotic finger. At the same time, the sound produced after the knocking is identified, and the sound information of the entire process is recorded.

[0084] Based on this, when conducting a knocking test, after receiving sound recognition information, the pressure data corresponding to that sound recognition information at the same moment can be determined first. If the sound recognition information is a knocking sound and the pressure data is not empty, it indicates that the current test is successful, and a successful knocking test result is generated. However, if the sound recognition information is not a knocking sound and / or the pressure data is empty, a failed knocking test result is generated. Specifically, if the pressure data is empty at the same moment, it means that the robotic arm did not contact the test door, indicating a failed knocking. If the sound recognition information is not a knocking sound, it means that a knocking action was performed but no knocking sound was detected, which may be due to a device malfunction causing incorrect data sensing, indicating a failed knocking. In this case, a failed knocking test result needs to be generated.

[0085] Furthermore, if the sound recognition information is not a knocking sound, analysis can also be performed based on the recorded information. Therefore, in an optional implementation that generates knocking test results based on response information, the robot is not equipped with a robotic arm finger sensor. In this case, it is necessary to analyze and judge the knocking test results based on the information recognized by the sound recognition sensor and the sound recorded by the recording sensor.

[0086] Specifically, when generating a knocking test result using sound recognition information and recording information, after performing a knocking action, the sound feedback from that action is received and processed by the sound recognition sensor. If the sound recognition information is a knocking sound, a successful knocking test result is generated; or if the recording information contains the knocking sound, a successful knocking test result is generated. Further, if the sound recognition information is not a knocking sound, the recording information associated with the current knocking task can be obtained. A secondary judgment is made based on the recording information. If the recording information contains a knocking sound, it indicates that the knocking was successful, but the sound recognition sensor malfunctioned and failed to recognize the knocking sound. In this case, a sound recognition sensor malfunction message can be output, and a successful knocking test result is generated. If the sound recognition information is not a knocking sound, and the recording information also does not contain a knocking sound, it indicates that the knocking failed, and a failed knocking test result is generated. Understandably, without finger sensors on the robotic arm, analyzing the arm's movement path and knocking motion through video information can lead to knocking failures. This means the robot might not actually touch the door when attempting to knock, thus failing to produce a sound. Furthermore, the microphone also picks up other ambient sounds during the knocking action, meaning the sound recognition information will include these environmental noises. In this case, a sound recognition sensor is needed to analyze and process the received sounds. The method for analyzing and processing the sound to determine its type can be based on sound frequency fluctuations or AI algorithms.

[0087] This embodiment discloses a robot testing method. When the robot is equipped with a robotic arm finger sensor, the sensor's detected information and the sound information generated when performing a knocking action are analyzed to generate a knocking test result, thereby improving the accuracy of the knocking test result. At the same time, when the robot is not equipped with a robotic arm finger sensor, the analysis is performed directly based on the sound information, reducing the cost of the knocking test.

[0088] It should be noted that the above embodiments are only for understanding this application and do not constitute a limitation on the testing method of the robot of this application. Any simple modifications based on this technical concept are within the protection scope of this application.

[0089] This application provides a robot, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, which are executed by the at least one processor to enable the at least one processor to perform the testing method of the robot in the first embodiment described above.

[0090] The following is for reference. Figure 4 It shows a structural schematic diagram suitable for implementing the robot of the present application embodiments. Figure 4 The robot shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments of this application.

[0091] like Figure 4As shown, the robot may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.) that can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM) 1004. The RAM 1004 also stores various programs and data required for robot operation. The processing unit 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: input devices 1007 including, for example, a touchscreen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 1003 including, for example, magnetic tape, hard disk, etc.; and communication devices 1009. The communication device 1009 allows the robot to communicate wirelessly or wiredly with other devices to exchange data. While the figure shows a robot with various systems, it should be understood that implementation or possession of all the systems shown is not required. More or fewer systems may be implemented alternatively.

[0092] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.

[0093] The robot provided in this application, employing the testing method of the robot in the above embodiments, can solve the technical problem of low detection accuracy in door-knocking aging tests based on manual methods. Compared with the prior art, the beneficial effects of the robot provided in this application are the same as those of the testing method of the robot provided in the above embodiments, and other technical features of the robot are the same as those disclosed in the method of the previous embodiment, and will not be repeated here.

[0094] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.

[0095] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

[0096] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, the computer-readable program instructions being used to execute the robot testing method in the above embodiments.

[0097] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.

[0098] The aforementioned computer-readable storage medium may be included in the robot; or it may exist independently and not be assembled into the robot.

[0099] The aforementioned computer-readable storage medium carries one or more programs that, when executed by the robot, cause the robot to:

[0100] Obtain the response information received when the robot performs a knocking test action based on the test command;

[0101] The knocking test results are generated based on the response information, and a test report is generated based on the knocking test results.

[0102] Computer program code for performing the operations of this application can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0103] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0104] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.

[0105] The readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for executing the testing method of the robot described above. This solves the technical problem of low detection accuracy in manual door-knocking aging tests. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as those of the robot testing method provided in the above embodiments, and will not be repeated here.

[0106] The above description is only a part of the embodiments of this application and does not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.

Claims

1. A method for testing a robot, characterized in that, The method includes: Obtain the response information received when the robot performs a knocking test action based on the test command; The knocking test results are generated based on the response information, and a test report is generated based on the knocking test results; The response information includes sound recognition information and recording information. The step of generating a knocking test result based on the response information includes: when the sound recognition information is a knocking sound, generating a successful knocking test result; when the sound recognition information is not a knocking sound, obtaining the recording information associated with the current knocking task; if the recording information contains the knocking sound, outputting information indicating an abnormal sound recognition sensor, and generating a successful knocking test result; if the recording information does not contain the knocking sound, generating a failed knocking test result. The response information also includes pressure data. The step of generating a knocking test result based on the response information includes: determining the pressure data corresponding to the sound recognition information at the same time when the sound recognition information is received; generating a successful knocking test result when the sound recognition information is the knocking sound and the pressure data is not empty; and generating a failed knocking test result when the sound recognition information is not the knocking sound and / or the pressure data is empty.

2. The method as described in claim 1, characterized in that, Before the step of obtaining the response information received when the robot performs a knocking test action based on the test command, the method further includes: Obtain the knock test configuration information and knock test commands received from the configuration test interface of the test software; The test area is determined based on the door-knocking test configuration information; Control the robot to move to the test area, and control the robot to perform the knocking test action based on the knocking test command.

3. The method as described in claim 2, characterized in that, The steps of controlling the robot to move to the test area and controlling the robot to perform the knocking test action based on the knocking test command include: The robot is controlled to move to the test area, and image information of the test area is acquired based on a depth camera. The robot's robotic arm's movement path is generated based on the image information, and the robotic arm's operation sequence is generated based on the door-knocking test configuration information; Based on the movement path, the robotic arm is controlled to move to the knocking area, and according to the operation sequence, the robotic arm is controlled to perform the knocking test action.

4. The method as described in claim 3, characterized in that, The steps of controlling the robotic arm to move to the knocking area based on the movement path and controlling the robotic arm to perform the knocking test action according to the operation sequence include: Based on the movement path, the robotic arm is controlled to move to the knocking area; After the robotic arm contacts the door-knocking area and detects the pressure information or sensor status change information fed back by the robotic arm's sensing device, the recording sensor and the sound recognition sensor are activated. The robotic arm is controlled to perform tapping based on the tapping frequency, number of taps, and tapping interval corresponding to the operation sequence.

5. The method as described in claim 1, characterized in that, After the steps of generating a knocking test result based on the response information and generating a test report based on the knocking test result, the method further includes: When the knocking test result is a knocking failure, obtain the audio recording information and knocking success rate of the test report; When the recording information contains a sound frequency associated with a knocking sound, an error message is output for the knocking sound detection sensor, and the knocking test result is changed to "knocking test successful". When the success rate of knocking on the door is greater than the preset success rate, the knocking test result is modified to indicate that the knocking test was successful.

6. The method as described in claim 1, characterized in that, After the steps of generating a knocking test result based on the response information and generating a test report based on the knocking test result, the method further includes: Upon receiving a report viewing instruction, retrieve the door-knocking data test template; The results of the test report are filled into the knocking data test template to generate knocking data, which is then output on the robot's display.

7. A robot, characterized in that, The robot includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the testing method for the robot as described in any one of claims 1 to 6.

8. A storage medium, characterized in that, The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, it implements the steps of the robot testing method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Door knocking detection method, intelligent doorbell control system and readable storage medium

    CN114002752A

  • Robot door knocking method, robot and storage medium

    CN118123835A