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

Universal platform and method for socket communication and process management in asynchronous communication mode

An asynchronous communication and process management technology, applied in digital transmission systems, electrical components, transmission systems, etc., can solve problems such as lack of development libraries, and achieve the effects of avoiding exceptions, simplifying development, and flexibly expanding processing capabilities

Active Publication Date: 2018-06-19
MASSCLOUDS
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The industry lacks similar development libraries

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
  • Universal platform and method for socket communication and process management in asynchronous communication mode
  • Universal platform and method for socket communication and process management in asynchronous communication mode
  • Universal platform and method for socket communication and process management in asynchronous communication mode

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] The present invention is described in detail below in conjunction with accompanying drawing:

[0062] Such as figure 1 As shown, describe the overall process of developing applications using the development platform.

[0063] The development platform is released as a static library file, with supporting materials, static library files, header files, sample source code, sample Makefile, and sample configuration files, providing programming interfaces for developers to program and call, and supporting various UNIX operations System, support C / C++ development language;

[0064] Developers read supporting materials to understand the programming interface and operating mechanism of the development platform;

[0065] Improve and modify the sample source code based on project requirements, write personalized business processing logic, call the programming interface to register the business logic callback function, and generate the final source program;

[0066] Developers c...

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 general platform and method for SOCKET communication and process management in an asynchronous communication mode, simplifies the development of SOCKET communication programs, developers do not need to care about programming technical details such as SOCKET communication and process management, and focus on the realization of business logic, improving development efficiency and Lower development threshold. The realization of complete functions includes two platforms: an asynchronous communication platform and a business processing platform, both of which exchange data with the UNIX domain SOCKET communication mechanism through message queues, flexibly expand processing capabilities, and improve transaction throughput. The platform process in the communication platform accepts the connection request, obtains the connection descriptor, passes it to the communication process through the created descriptor transmission channel, and closes the connection; the communication process takes over the connection, reads the request message, binds it into the program number, and puts it into the request queue ; The distribution process in the processing platform reads the request and distributes it to the processing process through the created data transmission channel; after the processing process is completed, connect to the communication process and send the response result.

Description

technical field [0001] The invention relates to a general platform and method for SOCKET communication and process management in an asynchronous communication mode. Background technique [0002] In the TCP / IP network layer model, SOCKET is a software abstraction layer between the application layer and the transport layer. It is the basis of many network communication programming technologies. It is widely used and has the characteristics of low cost, low resource consumption, and cross-platform. favored. [0003] However, SOCKET programming has its technical threshold. To write a robust SOCKET communication program, you need to understand its technical characteristics, avoid unique technical risks, and integrate related management technologies such as processes, memory, signals, and locks. It requires certain technical skills. [0004] In order to simplify SOCKET programming and improve programming efficiency, the industry provides some open source C / C++ network development...

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): H04L29/08H04L12/24
CPCH04L41/069H04L67/14H04L67/30
Inventor 刘春李峰牛文强张从国张辉程栋王进车帅
Owner MASSCLOUDS
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