Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for processing business conversational application with multi-thread and device thereof

A multi-threaded, business technology, applied in multi-program devices, inter-program communication, etc., can solve problems such as reducing system operating efficiency and increasing system processing complexity, reducing complexity, avoiding synchronization and mutual exclusion mechanisms, and ensuring safe effect

Inactive Publication Date: 2010-11-10
ZTE CORP
View PDF0 Cites 36 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0014] Using the above methods to achieve thread synchronization and mutual exclusion can ensure the safety of threads, but at the same time it also increases the complexity of system processing and reduces the efficiency of system operation to a certain extent.

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
  • Method for processing business conversational application with multi-thread and device thereof
  • Method for processing business conversational application with multi-thread and device thereof
  • Method for processing business conversational application with multi-thread and device thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0060] The present invention provides a method and device for processing business conversation applications using multithreading. The inventive idea is that business conversation application programs create message distribution threads and multiple data processing threads in the thread pool in advance, and create a message distribution thread and multiple data processing threads for each data processing thread. Allocate a data area uniquely associated with it; when the message distribution thread receives a message from an external message entity, it uniquely associates the business session in the message with a data processing thread, and distributes the message to the data processing thread; the data processing thread In the corresponding data area, corresponding processing is carried out according to the state of the received message, and the processing result is fed back to the external message entity; at the same time, each data processing thread regularly scans the corresp...

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 method for processing business conversational application with a multi-thread and a device thereof. The method comprises that a business conversational application program creates and activates a message delivery thread and a plurality of data processing threads in advance, and allocates a data area only associated with each data processing thread for each data processing thread; when receiving message from an external message entity, the message delivery thread only associates the business conversation of the message with one data processing thread, and deliveries the message to the data processing thread; when receiving the message delivered by the message delivery thread, the data processing thread performs the corresponding process to the corresponding data area according to the status of the message, and feeds back the processed result to the external message entity. The invention avoids the defects of synchronization and mutual exclusion mechanism, and greatly reduces the complexity of the system process while ensuring the safe and effective operation of the system.

Description

technical field [0001] The invention relates to the technology of using multi-thread processing application process in engineering application, in particular to the method and device of using multi-thread processing business session (Session) application. Background technique [0002] Multithreading is a mechanism that allows multiple instruction streams to be executed concurrently in a program, where each instruction stream is called a thread and is independent of each other. A thread is also called a lightweight process. Like a process, it has independent execution control and is scheduled by the operating system. [0003] In engineering applications, multithreading technology is often used to improve the operating efficiency of software systems. As the configuration of hardware devices tends to be more and more high-end, that is, using multiple CPUs (central processing units), large memory, etc., how to make full use of system resources has also become an issue. Reasona...

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/46G06F9/54
Inventor 田贞朗钱建阳吴豫宁
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products