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

Multi-thread concurrent processing method and device based on application robot

A processing method and technology of a processing device, which are applied in the computer field, can solve problems such as suspended animation, code blocking, and page jamming, and achieve the effects of improving running performance, fast response speed, and solving page jamming.

Pending Publication Date: 2019-12-13
CHINA RESOURCES VANGUARD CO LTD
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

These codes can only be executed sequentially and cannot be executed concurrently. It is prone to code blockage such as page freeze or suspended animation, resulting in the robot not being able to respond to user commands in a timely manner.

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
  • Multi-thread concurrent processing method and device based on application robot
  • Multi-thread concurrent processing method and device based on application robot
  • Multi-thread concurrent processing method and device based on application robot

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0053] In the existing single-threaded task processing, each running program (ie process) has only one thread. This thread is called the main thread. The main thread is responsible for executing all the codes of the program. A new task can only be started after the previous task is completed. For example: UI display and refresh, network request, local storage, video transmission, etc. These codes can only be executed sequentially, and cannot be executed concurrently, which is prone to code blockage and cause page suspended animation.

[0054] The present invention realize...

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 relates to a multi-thread concurrent processing method and device based on an application robot, a computer device and a storage medium. The method comprises: acquiring a multi-thread concurrent processing request based on the application robot; performing program initialization according to the multi-thread concurrent processing request based on the application robot and creating amain thread; connecting a plurality of sub-threads by creating a TCP network; and scheduling the plurality of sub-threads according to the main thread, performing corresponding processing in the plurality of sub-threads, and returning a processing result. According to the method, multi-thread concurrent task processing is achieved, one thread is started for each task, control flows of the threadsare independent of one another and are independent operation units, and execution of the threads does not influence one another. According to the method, page jamming and false death caused by programcode blocking are avoided, the running performance of the program is improved, and the response speed of the program is higher.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a multi-thread concurrent processing method, device, computer equipment and storage medium based on an application robot. Background technique [0002] At present, with the development of computer technology, artificial intelligence technology is becoming more and more mature, and intelligent robots, as one of the applications of artificial intelligence technology, have gradually entered people's daily life and work. [0003] In traditional technology, existing intelligent robots are usually processed through single-threaded tasks. Each running program (ie process) has only one thread. This thread is called the main thread. The main thread is responsible for executing all the codes of the program. A new task (UI display and refresh, network request, local storage, video transmission, etc.) can only be started after the previous task is completed. These codes can only be execut...

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
IPC IPC(8): G06F9/48H04L29/06H04L29/08
CPCG06F9/4881H04L67/14H04L69/163Y02D10/00
Inventor 常军
Owner CHINA RESOURCES VANGUARD CO LTD