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

Task communication method and device

A communication method and communication device technology, applied in the computer field, can solve the problems of frequent communication, cumbersome switching, error-prone state switching, etc., and achieve the effect of strong robustness

Pending Publication Date: 2020-01-07
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In view of this, the embodiment of the present invention provides a task communication method and device, which can solve the problems of frequent communication, loss of task information, and even the entire server being stuck after receiving multiple tasks at one time, as well as the complex state logic of the state machine , the switching is cumbersome, and the problem of error-prone in the state switching process

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
  • Task communication method and device
  • Task communication method and device
  • Task communication method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0030] State machine: A tool used to model object behavior. Its main function is to describe the state sequence that an object experiences during its life cycle and how to respond to various events from the outside world.

[0031] Robustness: The ability of the control system to maintain a certain performance index of the system under certain types of disturbances, includi...

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 task communication method and device, and relates to the technical field of computers. A specific embodiment of the method comprises the following steps: sending state information to be received; receiving a task or a task list; executing the task or the task list, if a new task or task list is received when the task or the task list is executed, cancelling execution of the task or the task list which is being executed, and executing the new task or the task list; when all tasks or task lists are executed, sending the completed state information; and after confirmingthat the completed state information is sent, sending the state information to be received again. According to the embodiment, the problem that in the prior art, after multiple tasks are received at atime, a server is prone to being stuck is solved, task communication under the multi-task and multi-target condition is achieved, and new tasks or task lists can be switched and executed at will under the multi-task and multi-target condition.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a task communication method and device. Background technique [0002] At present, actionlib in the robot operating system ROS (Robot Operating System) is mainly used to realize task state management and communication. actionlib is a very important collection of functional packages in ROS. Although the service (srevice) mechanism has been provided in ROS to meet the request-response usage scenario, it takes a long time to add a request, during which users want to view If the execution progress or the request is canceled, the service mechanism cannot be satisfied, but actionlib can meet the user's needs. For example, in the fast-growing unmanned driving technology, since the task status communication is blank in the decision-making control of unmanned vehicles, actionlib technology is mostly used in the task status management and task communication of unmanned vehicles. [0003...

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 Applications(China)
IPC IPC(8): G06F9/48G06F9/54
CPCG06F9/485G06F9/4881G06F9/542
Inventor 徐志浩石平李雨倩
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD