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

A Linux-based inter-thread communication system

A communication system and inter-thread technology, applied in inter-program communication, multi-program device, program control design, etc., can solve problems such as increased coding workload, increased software complexity, poor security and stability, etc. Reach the effect of reducing maintenance cost

Active Publication Date: 2019-03-01
FUJIAN STAR NET WISDOM TECH CO LTD
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Pipeline is a very common communication method between Linux threads. It is convenient to call and has good compatibility with data content; the method of shared memory is extremely efficient, but its security and stability are relatively poor.
The existing Linux inter-thread communication method is biased towards the underlying communication, and the support for upper-level applications is not sufficient and effective
If applications built based on mechanisms such as transactions and sessions directly use these communication methods, it will bring about negative effects such as increased coding workload, increased software complexity, and reduced maintainability.

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
  • A Linux-based inter-thread communication system
  • A Linux-based inter-thread communication system
  • A Linux-based inter-thread communication system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] The present invention is an inter-thread communication system under Linux, an ITC client is created in each thread, and the threads communicate through the ITC client; the ITC includes a business layer, a component layer and a base layer;

[0016] The business layer includes a UserAgent and a Manager, the UserAgent is used to manage all sending and receiving transactions of the external communication of the thread, and the Manager is used to manage the creation, modification and destruction of the UserAgent;

[0017] The component layer includes a transaction component and a transmission component, and the transaction component is responsible for creating, modifying and destroying communication transactions, parsing and packaging communication messages, and maintaining the correspondence between communication messages and communication transactions; the transmission component is responsible for querying UserAgent address , send and receive Socket data messages;

[0018]...

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 provides a Linux-based inter-thread communication system, wherein an ITC client is created in each thread, and the communication between threads is carried out through the ITC client. ITC system is responsible for managing sessions, transactions and messages of communication between threads. It includes service layer, component layer and foundation layer. Applications that use the ITC system can greatly reduce the maintenance cost of inter-thread communication sessions and transactions.

Description

technical field [0001] The invention relates to an inter-thread communication system under Linux. Background technique [0002] Currently under Linux, the more commonly used inter-thread communication methods include pipes and shared memory. Pipeline is a very common communication method between Linux threads, which is convenient to call and has good compatibility with data content; the method of shared memory is extremely efficient, but its security and stability are relatively poor. The existing Linux inter-thread communication method is biased towards the bottom layer communication, and the support for the upper layer application is not sufficient and effective. If applications built based on mechanisms such as transactions and sessions directly use these communication methods, it will bring about negative effects such as increased coding workload, increased software complexity, and reduced maintainability. Contents of the invention [0003] The technical problem to b...

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/54
CPCG06F9/542G06F9/544
Inventor 郑政晶陈锦辉
Owner FUJIAN STAR NET WISDOM TECH CO LTD
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