Universal SOCKET communication and process management platform applied to multiple scenes and method

A process management and general method technology, applied in the field of SOCKET communication and process management general platform, can solve the problems of inability to visually view the running processing status of the service process, abnormal termination of the service process, ignorance, etc., so as to flexibly expand the processing capacity and improve the transaction. Throughput, the effect of lowering the development threshold

Active Publication Date: 2016-02-24
MASSCLOUDS
View PDF6 Cites 32 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The industry lacks similar development libraries
[0010] In addition, there are usually a large number of scattered applications on the server. Each application may be different from each other, and may also belong to different users. It is always running in the background as a service process, but the management is neglected, and the administrator cannot grasp the status of each service process. Running status, often the service process is abnormally terminated without knowing it, and the running processing status of the service process cannot be visually checked

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 SOCKET communication and process management platform applied to multiple scenes and method
  • Universal SOCKET communication and process management platform applied to multiple scenes and method
  • Universal SOCKET communication and process management platform applied to multiple scenes and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0054] The SOCKET communication and process management general development platform is released as a static library file, with a set of header files, supporting materials and code samples, providing programming interfaces for developers to program and call, supporting various types of UNIX operating systems, and supporting C / C++ development language.

[0055] For SOCKET service scenarios, the format of the communication header can be flexibly configured. The data type of the header field supports integer and character types. Developers can read or set the content of the header field according to the field number, which is convenient for programming and supports fixed-length and variable-length reports. arts;

[0056] The development platform itself supports both Chinese and English languages, and the switching is controlled through environment variables to fully switch the la...

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 universal SOCKET communication and process management platform applied to multiple scenes and a method. The universal SOCKET communication and process management platform is applied to a SOCKET service scene and a resident process management scene; a SOCKET service is operated in the SOCKET service scene; and a background application in the form of a plug-in is operated in the resident process management scene. Each scene comprises the following processes: operating a base framework: creating a set of processes for realizing service logic processing and waiting and responding to a user operation instruction and a report of a diagnosis process; and operating the diagnosis process: detecting the operation states of the created processes, and automatically restarting a service process which is abnormally stopped or died, such that continuous and steady operation of the whole platform can be ensured. In combination with the SOCKET service scene and the resident process management scene, the SOCKET service in the asynchronous mode can be realized; due to two platforms including an asynchronous communication platform and a service processing platform, complete functions are realized; the asynchronous communication platform and the service processing platform exchange data with a SOCKET communication mechanism in a UNIX domain through a message queue; therefore, the processing capacity is flexibly expanded; and the transaction throughput is improved.

Description

technical field [0001] The invention relates to a general SOCKET communication and process management platform and method suitable for various scenarios. 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 libraries,...

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): H04L29/08H04L12/24
CPCH04L41/069H04L67/14H04L67/30
Inventor 张从国石磊王进程栋刘春张辉
Owner MASSCLOUDS
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