Unlock instant, AI-driven research and patent intelligence for your innovation.

Testing method and system based on robot operating system

A technology of operating system and testing method, which is applied in the field of intelligent robots, can solve problems such as unfavorable intelligent operating system function maintenance, and achieve the effects of high testing efficiency, labor cost saving, and simple testing structure

Active Publication Date: 2018-05-01
BEIJING GUANGNIAN WUXIAN SCI & TECH
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is: there is no test method for functional testing of the robot operating system in the current field of intelligent robot technology, which is not conducive to the functional maintenance of the intelligent operating system

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Testing method and system based on robot operating system
  • Testing method and system based on robot operating system
  • Testing method and system based on robot operating system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0049] figure 1 A schematic flowchart of the testing method based on the robot operating system according to the embodiment of the present invention is shown. The robot operating system is embedded with various functions, such as singing function, storytelling function, weather query function P, and poetry recitation function. like figure 1 As shown, the testing method of this embodiment mainly includes steps 101 to 106 .

[0050] In step 101, the function to be tested in the robot operating system is grasped.

[0051] Specifically, at the beginning of testing the robot operating system, it is first necessary to determine the function to be tested in the robot operating system. The function to be tested can be selected as any function of the robot operating system.

[0052] In step 102, test cases corresponding to the functions to be tested are extracted from the test case knowledge base, wherein the test case knowledge base stores test cases corresponding to respective funct...

Embodiment 2

[0061] On the basis of the first embodiment, this embodiment further optimizes the method for extracting test cases. In this embodiment, each function in the robot operating system is uniquely identified, so that each function corresponds to a corresponding identifier. That is to say, the identifier is the unique identification number used in the robot operating system to mark each different function (application), and the test case knowledge base stores the identifier of each function in the robot operating system and the identifier with the identifier. corresponding test cases.

[0062] figure 2 A schematic flowchart of a method for extracting a test case corresponding to a function to be tested from a test case knowledge base in an embodiment of the present invention is shown. like figure 2 As shown, the method for extracting the test case corresponding to the function to be tested from the test case knowledge base in this embodiment mainly includes step 201 and step 2...

Embodiment 3

[0067] On the basis of any of the above-mentioned embodiments, this embodiment further defines the subject that completes the test. In this embodiment, each function to be tested corresponds to a separate thread, and the thread completes the test for the function to be tested.

[0068] This embodiment uses multiple threads to run at the same time, and realizes the parallel testing of multiple functions to be tested. The testing process for each function is completely independent, the test results for each function will not affect each other, and the test cycle is greatly reduced. At the same time, the validity and reliability of the test are guaranteed.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a functional test method and system based a robot operating system. Various functions are embedded into the robot operating system. The test method comprises the following the steps of grasping functions to be tested in the robot operating system; extracting test cases corresponding to the functions to be tested from a test case knowledge base, wherein the test cases corresponding to each function in the robot operating system are stored in the test case knowledge base; circulating the following steps until all test cases corresponding to the functions to be tested are traversed; calling a test service interface, and uploading the test cases to a cloud server for analysis to obtain an output result corresponding to the test cases; comparing the output result with the expected result to obtain a comparison result corresponding to the test cases; determining the test result of the functions to be tested according to the comparison result corresponding to all traversed test cases. The stability of the functions in the robot operating system is guaranteed.

Description

technical field [0001] The invention relates to the technical field of intelligent robots, in particular to a test method based on a robot operating system, and also to a test system based on a robot operating system. Background technique [0002] The robot operating system is for developers, and developers can use the robot operating system to make the robot have human thinking ability, emotional ability and learning ability. The robot operating system provides developers with tools for robot function setting and development. [0003] However, there is currently no test method for functional testing of the robot operating system in the field of intelligent robot technology, which is not conducive to the functional maintenance of the intelligent operating system. SUMMARY OF THE INVENTION [0004] The technical problem to be solved by the present invention is that there is no test method for functional testing of the robot operating system in the current intelligent robot ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/36
CPCG06F11/3688
Inventor 姚鹤立
Owner BEIJING GUANGNIAN WUXIAN SCI & TECH