Multi-thread processing system and method

A processing system, multi-threading technology, applied in electrical digital data processing, program code conversion, software engineering design, etc., can solve the problems of low processing efficiency, prone to errors, easy blocking, etc., to simplify processing complexity and improve efficiency , to avoid false effects

Active Publication Date: 2020-03-17
WUHAN DOUYU NETWORK TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Multithreading is a technical difficulty, prone to errors, and complicated to debug
For example, if there are two threads, generally the main thread will open a separate thread to handle transactions that are easy to block. At present, many processing methods are called through callback functions (callback), but the processing thread of the callback function is not the main thread, so callback The function still needs to consider multithreading
At present, the interaction between multiple threads in the multi-thread processing scheme is relatively complicated, and the processing efficiency is low.

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 processing system and method
  • Multi-thread processing system and method
  • Multi-thread processing system and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0021] The present invention aims at developing multi-threaded situations such as network communication, through the characteristics of the development platform itself, and using the Observer design pattern package to simplify multi-threaded interaction, so that interface developers can be freed from the whirlpool of complex multi-threaded, the interface All the operations of the developer are in the main thread of the interface.

...

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 multithread processing system and a multithread processing method. The multithread processing system comprises a subscriber interface module, a publisher module and a subscriber module, wherein the subscriber interface module is used for supplying a subscriber interface; the subscriber interface is inherited by the subscriber module; the publisher module is used for supplying a register interface function for registering a subscriber, establishing a relation between the publisher and the subscriber, establishing multi-thread, utilizing the multi-thread to monitor network message or perform logical processing and asynchronously sending the network message or a logical processing result to the subscriber; the subscriber module is used for supplying a plurality of user interfaces and utilizing the user interfaces to monitor the network message or the logical processing result. According to the invention, the multithread development efficiency can be increased.

Description

technical field [0001] The invention relates to the technical field of computer software, in particular to a multi-thread processing system and method. Background technique [0002] Multithreading is a technical difficulty, prone to errors, and complicated to debug. For example, if there are two threads, generally the main thread will open a separate thread to handle transactions that are easy to block. At present, many processing methods are called through callback functions (callback), but the processing thread of the callback function is not the main thread, so callback Functions still need to consider multithreading. In the current multi-thread processing scheme, the interaction between multiple threads is relatively complicated, and the processing efficiency is low. Contents of the invention [0003] In view of the above problems, the present invention is proposed to provide a multi-thread processing system and method that overcomes the above problems or at least pa...

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): G06F8/41
CPCG06F8/4452
Inventor 李从章
Owner WUHAN DOUYU NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products