A remote testing method and device for robots

By remotely obtaining the robot's network protocol address, establishing a wireless connection, selecting target test items, and generating logs, the problem of the robot's inability to be directly tested is solved, enabling the robot to complete tests autonomously in hazardous environments and obtain real data.

CN115972259BActive Publication Date: 2026-05-26SILAN ROBOT (YANCHENG) CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SILAN ROBOT (YANCHENG) CO LTD
Filing Date
2022-11-02
Publication Date
2026-05-26

Smart Images

  • Figure CN115972259B_ABST
    Figure CN115972259B_ABST
Patent Text Reader

Abstract

The purpose of this application is to provide a remote testing method and device for robots. This application obtains the network protocol address of the robot under test and establishes a wireless connection with it through that address. A target test item is selected from at least one test item in the test interface. In response to detecting that the robot under test has completed the remote test of the target test item, the test event log corresponding to the target test item is displayed in the event log interface. Based on the test event log corresponding to the target test item, the test result of the robot under test is determined. This solves the problem of remotely controlling the robot under test in hazardous environments where testers cannot reach the site for robot debugging and testing, enabling the robot to complete the target test item and obtain the robot's true status information and data results.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a remote testing method and device for robots. Background Technology

[0002] With the repeated outbreaks of infectious diseases, in order to reduce the human resources required for prevention and control while ensuring the safety of prevention and control personnel, we often see robots replacing prevention and control personnel in environments with the risk of viral infection, such as makeshift hospitals. However, when robots enter such environments for the first time, or when robots need to be repaired after working for a certain period of time, it is not convenient for testing personnel to directly intervene in the environment where the robots are located, making it impossible to directly test the robots.

[0003] In existing technologies, most robot testing still involves direct testing of the actual robot, where testers conduct tests next to it. However, when the robot is in an environment with a severe epidemic or other restricted areas, testers cannot directly control the robot, hindering the testing process. Simultaneously, there are also testing solutions that directly develop simulation platforms to simulate robot testing. However, these still introduce many problems because they are not based on the actual robot. For example, adjusting parameters cannot achieve the most realistic results, there is a significant discrepancy between the actual robot and the simulation, the precision testing of the actual robot cannot meet expectations, the data obtained from simulation tests is not realistic enough, and details cannot be as clear and precise as when testing the actual robot. Summary of the Invention

[0004] One objective of this application is to provide a remote testing method and device for robots, which solves the problem of low accuracy of simulation test data when it is inconvenient to test robots directly. After remotely connecting to the robot under test, the robot under test can complete the target test items on its own, achieving the test effect without the need for testers to be next to the robot throughout the entire process, and completing each test item on the actual robot.

[0005] According to one aspect of this application, a remote testing method for a robot is provided, wherein the method includes:

[0006] Obtain the network protocol address of the robot under test, and establish a wireless connection with the robot under test through the network protocol address of the robot under test;

[0007] Select the target test item in at least one test item in the test interface;

[0008] In response to detecting that the robot under test has completed the remote test of the target test item, the test event log corresponding to the target test item is displayed in the event log interface;

[0009] The test results of the robot under test are determined based on the test event logs corresponding to the target test items.

[0010] Furthermore, in the above method, before obtaining the network protocol address of the robot under test, the remote testing method for a robot further includes:

[0011] Construct a test environment for remote testing of the robot under test.

[0012] Furthermore, in the above method, the test items include:

[0013] One or more of the following: robot interaction logic testing, robot motion testing, robot interface testing, and robot logic testing.

[0014] Furthermore, in the above method, when the target test item is a robot motion test, the remote testing method for a robot further includes:

[0015] Obtain the motion simulation map of the robot under test;

[0016] Based on the motion simulation map, the test motion of the robot under test is remotely controlled to complete the remote test of the target test item.

[0017] Furthermore, in the above method, the step of displaying the test event log corresponding to the target test item in the event log interface in response to detecting that the robot under test has completed the remote test of the target test item includes:

[0018] When the robot under test performs remote testing of the target test item, the robot under test generates real-time test events for the remote testing of the target test item;

[0019] In response to detecting that the robot under test has completed the remote test of the target test item, the robot under test summarizes all real-time test events during the remote test of the target test item to obtain the test event log corresponding to the target test item;

[0020] The event log corresponding to the target test item is displayed in the event log interface.

[0021] Furthermore, the remote testing method for a robot described above also includes:

[0022] Install a remote connection module for establishing a wireless connection on the robot under test.

[0023] Furthermore, the remote testing method for a robot described above also includes:

[0024] The status information of the robot under test and the test results are saved to the robot test cloud.

[0025] According to another aspect of this application, a non-volatile storage medium is also provided, on which computer-readable instructions are stored, which, when executed by a processor, cause the processor to implement a remote testing method for a robot as described above.

[0026] According to another aspect of this application, a remote testing device for a robot is also provided, wherein the device includes:

[0027] One or more processors;

[0028] Computer-readable medium for storing one or more computer-readable instructions.

[0029] When the one or more computer-readable instructions are executed by the one or more processors, the one or more processors implement a remote testing method for a robot as described above.

[0030] Compared with existing technologies, this application obtains the network protocol address of the robot under test and establishes a wireless connection with it through that address; selects a target test item in at least one test item on the test interface; in response to detecting that the robot under test has completed the remote test of the target test item, displays the test event log corresponding to the target test item in the event log interface; and determines the test result of the robot under test based on the test event log corresponding to the target test item. This solves the problem of remotely controlling the robot under test in dangerous environments where testers cannot reach the site for robot debugging and testing, enabling the robot under test to complete the target test item and obtain the robot's true status information and test data results. Attached Figure Description

[0031] Other features, objects, and advantages of this application will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings:

[0032] Figure 1 A flowchart illustrating a remote testing method for a robot according to one aspect of this application is shown.

[0033] Figure 2 This diagram illustrates a process flow of a remote testing method for a robot according to one aspect of this application in a real-world application scenario.

[0034] The same or similar reference numerals in the accompanying drawings represent the same or similar parts. Detailed Implementation

[0035] The present application will now be described in further detail with reference to the accompanying drawings.

[0036] In a typical configuration of this application, the terminal, the device of the service network, and the trusted party all include one or more processors (CPUs), input / output interfaces, network interfaces, and memory.

[0037] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0038] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include non-transitory computer-readable media, such as modulated data signals and carrier waves.

[0039] like Figure 1 The diagram illustrates a flowchart of a remote testing method for a robot according to one aspect of this application. This method is applied in scenarios where there is an infectious disease outbreak or an area at risk of infectious disease outbreaks. The method includes steps S11, S12, S13, and S14, specifically comprising the following steps:

[0040] Step S11: Obtain the network protocol address of the robot under test, and establish a wireless connection with the robot under test through the network protocol address of the robot under test; here, the network protocol address of the robot under test includes, but is not limited to, the IP (Internet Protocol) address of the robot under test, etc. In a preferred embodiment of this application, the network protocol address is preferably the IP address of the robot under test, so as to realize the wireless connection between the robot under test and the remote test terminal, thereby avoiding the technical barrier in the prior art that the tester must be next to the robot under test to complete the test items.

[0041] In practical application scenarios, the remote testing terminal can be a portable storage medium, such as a computer, tablet, or mobile phone. In a preferred embodiment of this application, the remote testing terminal is preferably a computer.

[0042] Step S12: Select the target test item from at least one test item in the test interaction interface.

[0043] Here, the test interface is an interactive page that displays at least one test item, similar to the interactive page content displayed on a mobile phone screen. In practical application scenarios, after connecting to the robot under test via a network protocol address, the remote test terminal and the robot under test can establish a connection through development and debugging tools such as the ADB (Android Debug Bridge) environment and the Android interactive interface of the robot under test. This allows the test items of the robot under test to be displayed directly on the screen of the remote test terminal. By utilizing the communication bridge established between the remote test terminal and the robot under test, the test items of the robot under test are directly displayed on the remote test terminal, facilitating remote testing by testers. Testers can select target test items according to testing requirements, allowing them to select different target test items for different robots under test without being limited to the robot under test.

[0044] Meanwhile, when the tester selects the target test item in the test interface, the robot under test responds to the tester's selection and begins to perform the remote test behavior corresponding to the test item.

[0045] Step S13: In response to detecting that the robot under test has completed the remote test of the target test item, the test event log corresponding to the target test item is displayed in the event log interface. Here, the event log interface can be selected to open and display in the test interaction interface. The test event log refers to the log of events recorded during the operation of the robot, such as robot behavior and interaction. In actual application scenarios, regardless of whether the robot under test has completed the remote test of the target test item, the tester can view the test event log of the robot under test in real time in the event log interface. This allows the tester to remotely understand the test status of the robot under test, ensuring that the robot under test runs the target test item and allowing the tester to participate in the test work conveniently and quickly.

[0046] Step S14: Determine the test result of the robot under test based on the test event log corresponding to the target test item. In practical application scenarios, both testers and remote test terminals can analyze and judge the test event log corresponding to the target test item to obtain the test result of the robot under test.

[0047] Through the above steps S11 to S14, the pain point of the robot under test being unable to carry out testing work due to the absence of testers is solved, enabling remote testing of the robot under test and understanding of the test event logs of the robot under test, obtaining highly reliable and effective test results. This enables unmanned testing of robots in application scenarios with infectious disease outbreaks or areas with infectious disease risks, so that not only is robot testing completed, but testers are not required to be physically present.

[0048] In a preferred embodiment of this application, the IP address of the robot under test A is obtained, and a wireless connection is established between the computer and the robot under test A through the IP address of the robot under test A. The computer's test interface displays interactive pages for test item 1, test item 2, and test item 3. The tester selects test item 1 as the target test item. The robot under test A begins to perform the remote test behavior corresponding to test item 1. In response to the detection that the robot under test A has completed the remote test of target test item 1, the tester selects the event log interface on the computer. The event log interface displays the test event log corresponding to the completion of test item 1 by the robot under test A. The computer determines the test result of the robot under test A based on the test event log corresponding to the completion of test item 1 by the robot under test A, and the robot under test A completes the remote test of test item 1.

[0049] Following the above embodiments of this application, before obtaining the network protocol address of the robot under test in step S11, the remote testing method for a robot further includes:

[0050] A test environment for remote testing of the robot under test is constructed. In practical application scenarios, the test environment needs to have a VPN (Virtual Private Network), ADB environment, Xshell environment, and a simulation environment for the robot under test as references for constructing the test environment. In a preferred embodiment of this application, the robostudio tool is preferably used to construct the test environment for remote testing of the robot under test.

[0051] In a preferred embodiment of this application, before obtaining the IP address of the robot under test A, a test environment for remote testing of the robot under test A is built on a computer using RoboStudio. The IP address of the robot under test A is obtained in the built test environment, thereby realizing remote testing of the robot under test A. The test environment is built by flexibly using computer technology, making the test environment stable and highly adaptable.

[0052] Continuing with the above embodiments of this application, the test items in step S12 include:

[0053] The robot interaction logic test, robot motion test, robot interface test, and robot logic test are one or more of the following to meet the testing needs of the robot under test in practical applications. The test items can be selected according to different models of different robots under test, thereby achieving the purpose of testing various types of robots and making the application scope of this application wider in practical application scenarios.

[0054] Here, the robot interaction logic test refers to testing the business logic of the robot under test interacting with humans; the robot motion test refers to testing the robot under test in environments such as independent walking, accelerated walking, and encountering obstacles; the robot interface test refers to testing the robot under test by calling various interfaces; and the robot logic test refers to testing the logical behavior of the robot under test.

[0055] In a preferred embodiment of this application, a wireless connection is established with the robot under test (A) via its IP address. The test interface displays interactive pages for test item 1, test item 2, and test item 3. Test item 1 is a robot interface test, test item 2 is a robot interaction logic test, and test item 3 is a robot motion test. The tester selects the robot interface test as the target test item. The robot under test (A) then begins performing the remote test behavior corresponding to the interface test.

[0056] Continuing with the above embodiments of this application, when the target test item is a robot motion test, the remote testing method for a robot further includes:

[0057] Obtain the motion simulation map of the robot under test; in practical application scenarios, the motion simulation map can be a two-dimensional map or a three-dimensional map, etc., and the current position and environment of the robot under test can be obtained through the motion simulation map, thereby understanding the robot's surrounding environment and its own state.

[0058] Based on the motion simulation map, the test motion of the robot under test is remotely controlled to complete the remote test of the target test item. Here, while remotely controlling the test motion of the robot under test, the position changes of the robot under test can be viewed in the motion simulation map. By acquiring the motion simulation map, not only can the surrounding environment and the movement trajectory of the robot under test be understood, but the movement of the robot under test can also be controlled to enable it to independently complete the motion test item, thereby achieving the test effect of the robot under test's movement.

[0059] In a preferred embodiment of this application, a wireless connection is established with the robot under test (B) via its IP address. The test interface displays interactive pages for test item 1, test item 2, and test item 3. The tester selects robot motion testing as the target test item. A motion simulation map of the robot under test (B) is obtained, providing a detailed two-dimensional view of its current position and environment. The robot under test (B) is controlled to move and walk using the motion simulation map, and its trajectory is viewed in real time, thus completing the remote testing of its motion.

[0060] Continuing with the above embodiments of this application, step S13, in response to detecting that the robot under test has completed the remote test of the target test item, displays the test event log corresponding to the target test item in the event log interface, including:

[0061] When the robot under test performs remote testing of the target test item, the robot under test generates real-time test events for the remote test of the target test item; here, the real-time test events of the robot under test can be viewed in real time at the remote testing end.

[0062] In response to detecting that the robot under test has completed the remote test of the target test item, the robot under test summarizes all real-time test events during the remote test of the target test item to obtain the test event log corresponding to the target test item;

[0063] The event log interface displays the test event logs corresponding to the target test items, enabling the acquisition of real-time data during the remote testing of the robot under test. This ensures that the test results are authentic and reliable, achieving a remote testing effect where testing is not only performed on the actual robot under test, but the test data is also easy to view and has a stable source.

[0064] For example, when the robot under test (DUT) performs remote testing of a target test item, it generates and records real-time test events 1, 2, ..., n-1, and n simultaneously with the test behavior. Upon detecting that the DUT has completed the remote testing of the target test item, the DUT automatically summarizes all real-time test events during the remote testing process, i.e., it summarizes real-time test events 1, 2, ..., n-1, and n, obtaining the test event log N corresponding to the target test item. Testers can then view the test event log N corresponding to the target test item by opening the event log interface.

[0065] Continuing with the above embodiments of this application, the remote testing method for a robot further includes:

[0066] A remote connection module for establishing a wireless connection is installed on the robot under test. This remote connection module can be a wireless Wi-Fi communication method, or a data traffic communication method such as 2G / 3G / 4G / 5G, to establish a communication connection with the remote testing terminal and the testing cloud. In practical applications, after establishing a communication connection with the testing cloud, the robot under test will upload real-time data to the testing cloud, enabling the robot under test to build a stable remote connection during remote testing and avoiding problems such as remote test interruptions due to connection failures.

[0067] Continuing with the above embodiments of this application, the remote testing method for a robot further includes:

[0068] The status information of the robot under test and the test results are saved to the robot test cloud. Here, the test cloud and the test results can refer to each other's data. For example, the test results can refer to data such as the number of orders, running trajectory and order status directly counted by the test cloud. The test cloud can refer to some test event logs and detailed actions of a specified order in combination with the test results.

[0069] In practical application scenarios, the test cloud can view information about the robot under test, such as the robot's version number, model, ID, and the scene where the robot is located; it can set the scene map for the robot under test; it can also remotely upgrade the robot, view the robot's delivery tasks, etc. Furthermore, the test cloud can be selected as a robot cloud system such as the robot intelligent cloud management system robocloud.

[0070] like Figure 2This is a flowchart illustrating a remote robot testing method according to one aspect of this application in a practical application scenario. The method involves obtaining the IP address of the robot under test and establishing a connection using that IP address. The computer screen displays robot interface testing, robot logic testing, robot interaction logic testing, robot motion testing, and event logs. Depending on the tester's selections, the system can make interface calls to the robot under test; test the robot's logical behavior; perform business logic interactions between the robot and humans; obtain a motion simulation map of the robot under test, revealing its current position and the specific two-dimensional view of its environment, thereby controlling the robot's actual walking and trajectory; and directly view the robot's event logs in real time. After the robot under test completes the remote testing of the test items, the completion status of the robot's test behavior is intuitively reflected in the event log interface, thereby obtaining the test results of the robot under test. The entire testing process can be assisted by the test cloud for reference and observation, and the robot under test can also directly upload data to the test cloud to realize unmanned testing and obtain accurate test data and results. This solves the pain point that business testing cannot be carried out when the actual robot under test is not near the tester. It enables remote monitoring of the robot under test, real-time acquisition of the robot's status information, real-time control of the robot under test, real-time testing of the robot under test, and monitoring of the robot's behavior, obtaining highly reliable test results and data. It achieves the goal of remotely testing the robot under test in special circumstances and obtaining effective test data.

[0071] In existing technologies, the data obtained from simulation testing is not realistic enough, and the details cannot be as clear and specific as those obtained from testing a real machine. On-site testing of real machines requires the user's presence, which is not feasible in certain special environments, such as the relatively dangerous conditions of a makeshift hospital. This application addresses the problems in existing technologies by allowing the robot under test to be remotely connected to a remote personal terminal. The remote personal terminal can control the robot under test and test its business logic, obtaining real robot data and real-time behavior. It can also view the robot's surrounding environment and movement trajectory, and obtain the robot's real-time status output based on the robot's real-time logs. This enables remote robot testing. In certain special scenarios where it is necessary to reduce human contact (such as the makeshift hospital scenario in this case), debugging and testing can be carried out unattended next to the machine. Although the machine is "free-range," accurate test data and results can still be obtained.

[0072] According to another aspect of this application, a non-volatile storage medium is also provided, on which computer-readable instructions are stored, which, when executed by a processor, cause the processor to implement a remote testing method for a robot as described above.

[0073] According to another aspect of this application, a remote testing device for a robot is also provided, wherein the device includes:

[0074] One or more processors;

[0075] Computer-readable medium for storing one or more computer-readable instructions.

[0076] When the one or more computer-readable instructions are executed by the one or more processors, the one or more processors implement a remote testing method for a robot as described above.

[0077] For details of the various embodiments of the remote testing device for a robot, please refer to the corresponding parts of the embodiments of the remote testing method for a robot described above, and they will not be repeated here.

[0078] In summary, this application achieves remote control of the robot under test (DUT) by obtaining the DUT's network protocol address and establishing a wireless connection with it through that address; selecting a target test item in at least one test item on the test interface; displaying the corresponding test event log in the event log interface in response to detecting that the DUT has completed the remote test of the target test item; and determining the test result of the DUT based on the test event log. This solves the problem of remotely controlling the DUT to complete the target test and obtain the robot's true status information and data results in dangerous environments where testers cannot reach the site for robot debugging and testing.

[0079] It should be noted that this application can be implemented in software and / or a combination of software and hardware, for example, using an application-specific integrated circuit (ASIC), a general-purpose computer, or any other similar hardware device. In one embodiment, the software program of this application can be executed by a processor to implement the steps or functions described above. Similarly, the software program of this application (including related data structures) can be stored in a computer-readable recording medium, such as RAM memory, magnetic or optical drives, floppy disks, and similar devices. Furthermore, some steps or functions of this application can be implemented in hardware, for example, as circuitry that cooperates with a processor to perform the various steps or functions.

[0080] Furthermore, a portion of this application can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide the methods and / or technical solutions according to this application through the operation of the computer. The program instructions invoking the methods of this application may be stored in a fixed or removable recording medium, and / or transmitted via data streams in broadcast or other signal carrying media, and / or stored in the working memory of a computer device operating according to the program instructions. Here, one embodiment of this application includes an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein, when the computer program instructions are executed by the processor, the apparatus is triggered to operate methods and / or technical solutions based on the foregoing embodiments of this application.

[0081] It will be apparent to those skilled in the art that this application is not limited to the details of the exemplary embodiments described above, and that this application can be implemented in other specific forms without departing from the spirit or essential characteristics of this application. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of this application is defined by the appended claims rather than the foregoing description. Thus, all variations falling within the meaning and scope of equivalents of the claims are intended to be embraced within this application. No reference numerals in the claims should be construed as limiting the scope of the claims. Furthermore, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices recited in the apparatus claims may also be implemented by a single unit or device in software or hardware. The terms "first," "second," etc., are used to indicate names and do not indicate any particular order.

Claims

1. A remote testing method of a robot, wherein, The method includes: Obtain the network protocol address of the robot under test, and establish a wireless connection with the robot under test through the network protocol address of the robot under test; Select a target test item in at least one test item in the test interface, wherein the test item includes at least robot motion test; When the target test item is a robot motion test, a motion simulation map of the robot under test is obtained. The motion simulation map is used to obtain the current position and environment of the robot under test. Based on the motion simulation map, the test motion of the robot under test is remotely controlled to complete the remote test of the target test item. When the robot under test performs remote testing of the target test item, the robot under test generates real-time test events for the remote testing of the target test item; In response to detecting that the robot under test has completed the remote test of the target test item, the robot under test summarizes all real-time test events during the remote test of the target test item to obtain the test event log corresponding to the target test item; The test event log corresponding to the target test item is displayed in real time in the event log interface; The test results of the robot under test are determined based on the test event logs corresponding to the target test items.

2. The method of claim 1, wherein, Before obtaining the network protocol address of the robot under test, the method further includes: Construct a test environment for remote testing of the robot under test.

3. The method of claim 1, wherein, The test items also include: One or more of the following: robot interaction logic testing, robot interface testing, and robot logic testing.

4. The method of claim 1, wherein, The method further includes: Install a remote connection module for establishing a wireless connection on the robot under test.

5. The method of claim 1, wherein, The method further includes: The status information of the robot under test and the test results are saved to the robot test cloud.

6. A non-volatile storage medium having stored computer-readable instructions thereon, which, when executed by a processor, cause the processor to perform the method as described in any one of claims 1 to 5.

7. A remote testing device for a robot, wherein, The device includes: One or more processors; Computer-readable medium for storing one or more computer-readable instructions. When the one or more computer-readable instructions are executed by the one or more processors, the one or more processors cause the one or more processors to perform the method as described in any one of claims 1 to 5.