Unlock instant, AI-driven research and patent intelligence for your innovation.

Inter-module reliable communication method based on key-value mechanism

A communication method and inter-module technology, applied in electrical components, user identity/authority verification, transmission systems, etc., to achieve the effect of ensuring reliability and flexible communication

Active Publication Date: 2019-06-28
网经科技(苏州)有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] At present, the communication methods between device modules mainly include pipe, FIFO, message queue, semaphore, shared memory, signal, etc. These methods have their own advantages and disadvantages. For example, the shared memory method needs to synchronize the access to the shared memory. FIFO and message queue also need access control to the shared buffer

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
  • Inter-module reliable communication method based on key-value mechanism
  • Inter-module reliable communication method based on key-value mechanism

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] In order to have a clearer understanding of the technical features, purposes and effects of the present invention, specific implementations are now described in detail.

[0035] The inter-module communication method based on the key-value mechanism of the present invention can realize reliable, expandable and flexible communication among the various modules by establishing socket connections among the various modules and sending and receiving messages based on the key:value mode.

[0036] Such as figure 1 , using the module 1 and module 2 for message communication in the present invention.

[0037] The inter-module communication method based on the key-value mechanism, using the key-value mechanism, can freely expand communication messages between modules without destroying the original message communication;

[0038] The Key:value format is as follows:

[0039] :

[0040] :

[0041] ...

[0042] ...

[0043] :

[0044]

[0045] Such as figure 2 As shown...

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 relates to an inter-module reliable communication method based on a key-value mechanism. The method comprises the following steps: firstly, after a first module is started, establishingconnection with a second module through a socket; then, after the socket connection is established between the first module and the second module, identity authentication is carried out before messageinteraction according to the key-value mechanism; the value mechanism is used for sending a user identity verification message; after receiving the identity authentication message, the second modulecarries out identity authentication, and if the authentication is passed, the second module carries out identity authentication according to the key-value format to return a result to the first module; after the authentication is passed, the first module and the second module send messages to communicate with each other according to needs. Socket connection is established among the modules, messages based on a key: value mode are received and transmitted, and reliable extensible flexible communication among the modules is achieved. According to a key-value value mechanism, the method flexiblydefines message fields among the modules, carries out identity verification on the messages among the modules, and guarantees the reliability of the messages.

Description

technical field [0001] The invention relates to a reliable communication method between modules based on a key-value mechanism. Background technique [0002] At present, the communication methods between device modules mainly include pipe, FIFO, message queue, semaphore, shared memory, signal, etc. These methods have their own advantages and disadvantages. For example, the shared memory method needs to synchronize the access to the shared memory. FIFO and message queue also need to control access to the shared buffer. Contents of the invention [0003] The purpose of the present invention is to overcome the deficiencies in the prior art and provide a reliable communication method between modules based on a key-value mechanism. [0004] The purpose of the present invention is achieved through the following technical solutions: [0005] A reliable communication method between modules based on the key-value mechanism, which is characterized by the following steps: [0006]...

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/08H04L29/06H04L9/32
Inventor 王平刘继明吴东明王辉黄星星
Owner 网经科技(苏州)有限公司