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

Multi-level low-coupling communication system

A communication system and low-coupling technology, applied in the field of communication, can solve problems such as reducing system fault tolerance, extension and robustness, and achieve the effect of reducing coupling and reducing coupling

Active Publication Date: 2019-05-07
SHENZHEN GOWILD ROBOTICS CO LTD +1
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the general WebSocket protocol has strong dependencies and associations, which reduces the fault tolerance, extension and robustness of the entire system

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
  • Multi-level low-coupling communication system
  • Multi-level low-coupling communication system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0050] A multi-level low-coupling communication system, such as figure 1 , 2 shown, including:

[0051] Local business layer: loaded on an external computer, used to generate business request data; also used to send or receive WebSocket data;

[0052] Specifically, the external computer is used to interact with the user, and is a computer device used to obtain user needs and instructions, such as a computer, a smart phone, an intelligent chat robot, a mechanical arm, and the like. The system can realize the communication between the client and the remote server, and can also be extended to server 1-client-remote server, which is an indirect server-to-server communication mode. The local business layer is mainly responsible for specific business logic and handles serialization and deserialization of all business data. The local business layer also implements the sending and receiving of WebSocket data with the access layer.

[0053] Access layer: used to receive WebSocket d...

Embodiment 2

[0062] Embodiment 2 On the basis of Embodiment 1, the following content is added:

[0063] The access layer is specifically used for:

[0064] The access layer receives WebSocket data, and judges whether the WebSocket data received this time is the data that has been received;

[0065] If yes, discard the WebSocket data;

[0066] If not, when the delivery method of the local service layer is subscription, the access layer sends the WebSocket data to the local service layer by subscription.

[0067] Specifically, the local business layer can receive WebSocket data through subscription, and the access layer directly discards the data that the local business layer has received. For example, after the access layer sends WebSocket data to the local business layer for a period of time, it receives the same WebSocket data again, but the data is received repeatedly, so it directly discards the newly received WebSocket data.

[0068] Preferably, the abnormal service request data inc...

Embodiment 3

[0098] Embodiment 3 On the basis of other embodiments, the following content is added:

[0099] The protocol analysis layer is also used for:

[0100] When the business request data cannot be parsed, an error data packet is generated and sent to the WebSocket transport layer;

[0101] When the WebSocket transport layer receives the error data packet, it obtains the service request data that cannot be parsed in the error data packet, and prohibits sending the service request data to the local service layer.

[0102] Specifically, the data transmitted by the external computer or remote server of the system is always transmitted in the form of protocol packets. The service request data can be registered in the mapping table with the mapping relationship of path---object class, and the specific mapping relationship can be determined according to the specific system used by the external computer. If the protocol packet cannot be parsed, an error packet is sent directly to the Web...

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

According to the multi-level low-coupling communication system provided by the invention, a local service layer is loaded on an external computer to generate service request data; The access layer receives the WebSocket data and issues the WebSocket data to the local service layer, and receives service request data of a local service layer, and processes the abnormal service request data; The protocol analysis layer completes WebSocket protocol boxing, unboxing, encryption and decryption of the service request data; And the WebSocket transmission layer respectively realizes WebSocket data transmission with the access layer and the remote server. According to the system, a layered architecture design is adopted, cross-layer calling between layers cannot be achieved, coupling between layersis reduced, serialization and deserialization are not conducted on data by layers below an access layer, all serialization and deserialization float to a local service to be achieved, and coupling between the system and specific service logics is reduced.

Description

technical field [0001] The invention belongs to the technical field of communication, and in particular relates to a multi-level low-coupling communication system. Background technique [0002] For general computer (client or server) and server interaction projects, WebSocket will be selected as the basic communication protocol, and by defining the data transmission structure, each computer is required to design a basic communication protocol library based on the WebSocket protocol to support basic communication. [0003] However, the general WebSocket protocol has strong dependencies and associations, which reduces the fault tolerance, extension and robustness of the entire system. Contents of the invention [0004] Aiming at the defects in the prior art, the present invention provides a multi-level low-coupling communication system to reduce the coupling of the system. [0005] A multi-level low-coupling communication system, including: [0006] Local business layer: l...

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/06H04L29/08
Inventor 邱楠宋亚楠严汉明梁剑华程谦彭旺友刘振岩彭生云
Owner SHENZHEN GOWILD ROBOTICS CO LTD