CN112261037A - Decoupling transmission method and system with separated communication layer and service layer - Google Patents

Decoupling transmission method and system with separated communication layer and service layer Download PDF

Info

Publication number
CN112261037A
CN112261037A CN202011125153.0A CN202011125153A CN112261037A CN 112261037 A CN112261037 A CN 112261037A CN 202011125153 A CN202011125153 A CN 202011125153A CN 112261037 A CN112261037 A CN 112261037A
Authority
CN
China
Prior art keywords
layer
communication
service
data
protocol
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011125153.0A
Other languages
Chinese (zh)
Other versions
CN112261037B (en
Inventor
齐君
蔡光渊
李晓炜
徐培峰
张耀榆
周晨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Zhixiang Technology Co ltd
Original Assignee
Shanghai Zhixiang Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Zhixiang Technology Co ltd filed Critical Shanghai Zhixiang Technology Co ltd
Priority to CN202011125153.0A priority Critical patent/CN112261037B/en
Publication of CN112261037A publication Critical patent/CN112261037A/en
Application granted granted Critical
Publication of CN112261037B publication Critical patent/CN112261037B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload

Abstract

The invention provides a decoupling transmission method and a decoupling transmission system for separating a communication layer from a service layer, wherein the communication layer is responsible for the transmission and analysis of a communication protocol, and the service layer is responsible for the transmission and analysis of the service protocol; the sending end distinguishes communication instructions and service instructions according to the communication layer and the service layer, and respectively transmits the communication instructions and the service instructions to the communication layer and the service layer of the receiving end through the communication protocol and the service protocol, and the communication layer and the service layer of the receiving end respectively receive, analyze and execute the corresponding instructions. The invention decouples and stratifies the communication and service layers, which is beneficial to the extension of different protocols.

Description

Decoupling transmission method and system with separated communication layer and service layer
Technical Field
The present invention relates to the field of communications, and in particular, to a decoupling transmission method and system with a communication layer and a service layer separated from each other.
Background
At present, a communication layer and a service layer are generally coupled together in the industry, which is not beneficial to the expansion of communication and service protocols, the communication protocol and the service protocol are coupled, and may interfere with each other and affect each other during the expansion, and the research and development efficiency is low, so that the mutual interference is easy to occur, and the transmission is unstable.
The prior art related to the present application is patent document CN109729101A, which discloses a multi-level low-coupling communication system, wherein a local service layer: loading the data 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; receiving service request data of a local service layer and processing abnormal service request data; the protocol analysis layer completes the packing, unpacking, encryption and decryption of the WebSocket protocol of the service request data; and the WebSocket transmission layer respectively realizes the transmission of WebSocket data between the access layer and the remote server. By adopting a layered architecture design, cross-layer calling cannot be performed between layers, the coupling between layers is reduced, the layers below an access layer do not perform serialization and deserialization on data, all serialization and deserialization are floated to the local service implementation, and the coupling between the system and specific service logic is reduced.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a decoupling transmission method for separating a communication layer and a service layer.
According to the decoupling transmission method for separating the communication layer from the service layer, which is provided by the invention, the communication layer is responsible for the transmission and the analysis of a communication protocol, and the service layer is responsible for the transmission and the analysis of a service protocol;
the sending end distinguishes communication instructions and service instructions according to the communication layer and the service layer, and respectively transmits the communication instructions and the service instructions to the communication layer and the service layer of the receiving end through the communication protocol and the service protocol, and the communication layer and the service layer of the receiving end respectively receive, analyze and execute the corresponding instructions.
Preferably, the transmitting end communication layer or the service layer respectively transmits to the communication layer or the service layer of the receiving end through a communication protocol or a service protocol, and the transmitting end communication layer or the service layer includes: and transmitting the data through an API interface mode.
Preferably, the service layer includes collecting, encapsulating, receiving, analyzing and processing service data;
the service data comprises equipment state data, equipment event data and human-computer interaction data of equipment and people, which are collected from a sending end, and the service data is serialized and deserialized, and is encrypted and decrypted.
Preferably, the communication layer is responsible for communication between the receiving end and the sending end, including transmission, analysis and processing of communication data;
the communication layer comprises an interface layer, an analysis layer and a transmission layer;
the interface layer comprises an API interface capability for realizing opening unification on the service layer, and the service layer realizes interaction between the service layer and the communication layer through the interface layer;
the protocol layer realizes the analysis, encapsulation, verification and communication encryption and decryption capabilities of a communication protocol data packet;
the transmission layer interacts with the protocol layer through an internal API (application program interface) interface, is in charge of interaction and communication with an operating system or hardware bottom layer drive, and transmits a data packet to be transmitted to a server side through a network TCP (transmission control protocol) or UDP (user datagram protocol) protocol or receives the data packet from a network.
Preferably, the transmitting end respectively transmits the data to the communication layer and the service layer of the receiving end through the communication protocol and the service protocol according to the communication layer and the service layer, and the transmitting end includes: the client sends data to the server and the server sends data to the client;
the client side sends data to the server side, and the method comprises the following steps: preparing communication data and service data, and respectively carrying out data encapsulation on the communication data and the service data; the client sends the encapsulated data packet to the server, the server receives the data packet, processes and analyzes the data packet, separates communication data from service data, transmits the communication data to the communication layer of the server, and transmits the service data to the service layer of the server.
The step of sending data to the client by the server comprises the following steps: preparing communication data and service data, respectively carrying out data encapsulation on the communication data and the service data, sending an encapsulated data packet by a server, receiving the data packet by a client, processing and analyzing the data packet, separating the communication data from the service data, transmitting the communication data to a client communication layer, and transmitting the service data to a service layer of the client.
According to the decoupling transmission system with the communication layer and the service layer separated, which is provided by the invention, the communication layer is responsible for the transmission and the analysis of a communication protocol, and the service layer is responsible for the transmission and the analysis of a service protocol;
the sending end distinguishes communication instructions and service instructions according to the communication layer and the service layer, and respectively transmits the communication instructions and the service instructions to the communication layer and the service layer of the receiving end through the communication protocol and the service protocol, and the communication layer and the service layer of the receiving end respectively receive, analyze and execute the corresponding instructions.
Preferably, the transmitting end communication layer or the service layer respectively transmits to the communication layer or the service layer of the receiving end through a communication protocol or a service protocol, and the transmitting end communication layer or the service layer includes: and transmitting the data through an API interface mode.
Preferably, the service layer includes collecting, encapsulating, receiving, analyzing and processing service data;
the service data comprises equipment state data, equipment event data and human-computer interaction data of equipment and people, which are collected from a sending end, and the service data is serialized and deserialized, and is encrypted and decrypted.
Preferably, the communication layer is responsible for communication between the receiving end and the sending end, including transmission, analysis and processing of communication data;
the communication layer comprises an interface layer, an analysis layer and a transmission layer;
the interface layer comprises an API interface capability for realizing opening unification on the service layer, and the service layer realizes interaction between the service layer and the communication layer through the interface layer;
the protocol layer realizes the analysis, encapsulation, verification and communication encryption and decryption capabilities of a communication protocol data packet;
the transmission layer interacts with the protocol layer through an internal API (application program interface) interface, is in charge of interaction and communication with an operating system or hardware bottom layer drive, and transmits a data packet to be transmitted to a server side through a network TCP (transmission control protocol) or UDP (user datagram protocol) protocol or receives the data packet from a network.
Preferably, the transmitting end respectively transmits the data to the communication layer and the service layer of the receiving end through the communication protocol and the service protocol according to the communication layer and the service layer, and the transmitting end includes: the client sends data to the server and the server sends data to the client;
the client side sends data to the server side, and the method comprises the following steps: preparing communication data and service data, and respectively carrying out data encapsulation on the communication data and the service data; the client sends the encapsulated data packet to the server, the server receives the data packet, processes and analyzes the data packet, separates communication data from service data, transmits the communication data to the communication layer of the server, and transmits the service data to the service layer of the server.
The step of sending data to the client by the server comprises the following steps: preparing communication data and service data, respectively carrying out data encapsulation on the communication data and the service data, sending an encapsulated data packet by a server, receiving the data packet by a client, processing and analyzing the data packet, separating the communication data from the service data, transmitting the communication data to a client communication layer, and transmitting the service data to a service layer of the client.
Compared with the prior art, the invention has the following beneficial effects:
1. the invention decouples and stratifies the communication and service layers, which is beneficial to the expansion of different protocols;
2. the rapid iterative expansion of the service protocol is facilitated, and the communication protocol is not influenced;
3. the independent parallel research and development of the communication layer and the service layer are realized, the research and development efficiency is improved, and the stability of independent operation of the communication layer and the service layer is further ensured.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments with reference to the following drawings:
fig. 1 is a schematic diagram of a decoupling transmission system with a communication layer separated from a service layer;
fig. 2 is a flowchart of a decoupling transmission method in which a communication layer is separated from a service layer.
Detailed Description
The present invention will be described in detail with reference to specific examples. The following examples will assist those skilled in the art in further understanding the invention, but are not intended to limit the invention in any way. It should be noted that it would be obvious to those skilled in the art that various changes and modifications can be made without departing from the spirit of the invention. All falling within the scope of the present invention.
Example 1
According to the decoupling transmission method for separating the communication layer from the service layer, which is provided by the invention, the communication layer is responsible for the transmission and the analysis of a communication protocol, and the service layer is responsible for the transmission and the analysis of a service protocol;
the sending end distinguishes communication instructions and service instructions according to the communication layer and the service layer, and respectively transmits the communication instructions and the service instructions to the communication layer and the service layer of the receiving end through the communication protocol and the service protocol, and the communication layer and the service layer of the receiving end respectively receive, analyze and execute the corresponding instructions.
Specifically, the transmitting end communication layer or the service layer respectively transmits to the communication layer or the service layer of the receiving end through the communication protocol or the service protocol, and the method includes: and transmitting the data through an API interface mode.
Specifically, the service layer includes collecting and packaging service data and receiving, analyzing and processing the service data;
the service data comprises equipment state data, equipment event data and human-computer interaction data of equipment and people, which are collected from a sending end, and the service data is serialized and deserialized, and is encrypted and decrypted.
Specifically, the communication layer is responsible for communication between the receiving end and the sending end, including transmission, analysis and processing of communication data;
the communication layer comprises an interface layer, an analysis layer and a transmission layer;
the interface layer comprises an API interface capability for realizing opening unification on the service layer, and the service layer realizes interaction between the service layer and the communication layer through the interface layer;
the protocol layer realizes the analysis, encapsulation, verification and communication encryption and decryption capabilities of a communication protocol data packet;
the transmission layer interacts with the protocol layer through an internal API (application program interface) interface, is in charge of interaction and communication with an operating system or hardware bottom layer drive, and transmits a data packet to be transmitted to a server side through a network TCP (transmission control protocol) or UDP (user datagram protocol) protocol or receives the data packet from a network.
Specifically, the transmitting end respectively transmits the communication layer and the service layer to the receiving end through a communication protocol and a service protocol according to the communication layer and the service layer, and the transmitting end comprises: the client sends data to the server and the server sends data to the client;
the client side sends data to the server side, and the method comprises the following steps: preparing communication data and service data, and respectively carrying out data encapsulation on the communication data and the service data; the client sends the encapsulated data packet to the server, the server receives the data packet, processes and analyzes the data packet, separates communication data from service data, transmits the communication data to the communication layer of the server, and transmits the service data to the service layer of the server.
The step of sending data to the client by the server comprises the following steps: preparing communication data and service data, respectively carrying out data encapsulation on the communication data and the service data, sending an encapsulated data packet by a server, receiving the data packet by a client, processing and analyzing the data packet, separating the communication data from the service data, transmitting the communication data to a client communication layer, and transmitting the service data to a service layer of the client.
According to the decoupling transmission system with the communication layer and the service layer separated, which is provided by the invention, the communication layer is responsible for the transmission and the analysis of a communication protocol, and the service layer is responsible for the transmission and the analysis of a service protocol;
the sending end distinguishes communication instructions and service instructions according to the communication layer and the service layer, and respectively transmits the communication instructions and the service instructions to the communication layer and the service layer of the receiving end through the communication protocol and the service protocol, and the communication layer and the service layer of the receiving end respectively receive, analyze and execute the corresponding instructions.
Specifically, the transmitting end communication layer or the service layer respectively transmits to the communication layer or the service layer of the receiving end through the communication protocol or the service protocol, and the method includes: and transmitting the data through an API interface mode.
Specifically, the service layer includes collecting and packaging service data and receiving, analyzing and processing the service data;
the service data comprises equipment state data, equipment event data and human-computer interaction data of equipment and people, which are collected from a sending end, and the service data is serialized and deserialized, and is encrypted and decrypted.
Specifically, the communication layer is responsible for communication between the receiving end and the sending end, including transmission, analysis and processing of communication data;
the communication layer comprises an interface layer, an analysis layer and a transmission layer;
the interface layer comprises an API interface capability for realizing opening unification on the service layer, and the service layer realizes interaction between the service layer and the communication layer through the interface layer;
the protocol layer realizes the analysis, encapsulation, verification and communication encryption and decryption capabilities of a communication protocol data packet;
the transmission layer interacts with the protocol layer through an internal API (application program interface) interface, is in charge of interaction and communication with an operating system or hardware bottom layer drive, and transmits a data packet to be transmitted to a server side through a network TCP (transmission control protocol) or UDP (user datagram protocol) protocol or receives the data packet from a network.
Specifically, the transmitting end respectively transmits the communication layer and the service layer to the receiving end through a communication protocol and a service protocol according to the communication layer and the service layer, and the transmitting end comprises: the client sends data to the server and the server sends data to the client;
the client side sends data to the server side, and the method comprises the following steps: preparing communication data and service data, and respectively carrying out data encapsulation on the communication data and the service data; the client sends the encapsulated data packet to the server, the server receives the data packet, processes and analyzes the data packet, separates communication data from service data, transmits the communication data to the communication layer of the server, and transmits the service data to the service layer of the server.
The step of sending data to the client by the server comprises the following steps: preparing communication data and service data, respectively carrying out data encapsulation on the communication data and the service data, sending an encapsulated data packet by a server, receiving the data packet by a client, processing and analyzing the data packet, separating the communication data from the service data, transmitting the communication data to a client communication layer, and transmitting the service data to a service layer of the client.
Example 2
Example 2 is a modification of example 1
The communication protocol and the service protocol are decoupled on the protocol interface, the receiving and processing of different protocols are not affected, the communication layer is only responsible for the transmission and analysis of the communication protocol, and the service layer is only responsible for the transmission and analysis of the service protocol. Therefore, the platform service end is divided into a communication instruction and a service instruction and respectively transmitted to the equipment end through a communication protocol and a service protocol, and the communication layer and the service layer of the equipment end respectively receive, analyze and execute the corresponding instructions.
In the process of research and development, the communication layer and the business layer can be simultaneously and efficiently researched and developed by different teams,
the communication layer provides communication for the upstream business layer through the open api interface.
The data processing of the client and the server is divided into: communication layer and service layer
Layer-to-layer transport protocol: mainly through API interface mode
And (3) data encapsulation:
and (4) a service layer: collecting and packaging service data; receiving, analyzing and processing service data;
specifically, the service data refers to device state data, device event data, device-human interaction data and the like acquired from a client, and service data is serialized, deserialized, encrypted and decrypted;
a communication layer: the system is mainly responsible for communication between a client and a server, including transmission, analysis and processing of communication data; specifically, the communication layer is divided into an interface layer, a resolution layer and a transmission layer
Interface layer: mainly realizes the unified API interface capability opened to the upper layer (service layer), and the service layer realizes the interaction between the service layer and the communication layer through the interface layer
And (3) protocol layer: mainly realizes the analysis, encapsulation, verification and communication encryption and decryption capabilities of the communication protocol data packet
A transmission layer: the method mainly comprises the steps that an internal API (application program interface) is interacted with a protocol layer, and meanwhile, the interaction and the communication with an operating system or hardware bottom layer drive are also taken charge, and a data packet to be sent is sent to a server side or received from a network through a network TCP or UDP (transmission control protocol) protocol;
as shown in fig. 1, data transmission is divided into two stages, that is, a client sends data to a server and a server sends data to the client, in the process of sending data to the server, communication data and service data are prepared first, and are subjected to data encapsulation respectively, the client sends a data packet, the server receives the data packet, processes and analyzes the data packet, separates the communication data from the service data, and performs data processing respectively, wherein the communication data is sent to a communication layer of the server, and the service data is sent to a service layer of the server.
In the process of sending data to a client by a server, firstly preparing communication data and service data, respectively carrying out data encapsulation on the communication data and the service data, sending a data packet by the server, receiving the data packet by the client, processing and analyzing the data packet, separating the communication data and the service data, and respectively carrying out data processing, wherein the communication data is sent to a client communication layer, and the service data is sent to a client service layer.
In the specific implementation process, the data is sent from the client to the server through the following steps:
step 1: at a client (equipment end), an original data packet is sent in a network or other modes;
step 2: receiving an original data packet sent by a client in real time at a server;
and step 3: after receiving the original data packet, the server analyzes and processes the original data packet;
the step 3 comprises the following steps:
step 3.1: after receiving the original data packet, the server sends the original data packet to a server communication layer;
step 3.2: after analyzing and processing the original data packet, the server communication layer separates the service data packet from the original data packet and delivers the service data packet to the service layer;
step 3.3: and after receiving the service data packet, the service layer of the service end analyzes and processes the service data packet.
In a specific implementation process, a server data sending client side performs the following steps:
step 1: at a server, encapsulating service data and communication data into an original data packet which can be transmitted in a network;
step 2: the server side sends the original data packet to a client side (equipment side);
and step 3: at a client, receiving an original data packet sent by a server in real time, and analyzing and processing the original data packet;
step 3.1: after receiving the original data packet, the client transmits the original data packet to a client communication layer;
step 3.2: after the client communication layer analyzes and processes the original data packet, separating the service data packet from the original data packet and delivering the service data packet to the service layer;
step 3.3: and after receiving the service data packet, the service layer of the client analyzes and processes the service data packet.
Those skilled in the art will appreciate that, in addition to implementing the systems, apparatus, and various modules thereof provided by the present invention in purely computer readable program code, the same procedures can be implemented entirely by logically programming method steps such that the systems, apparatus, and various modules thereof are provided in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Therefore, the system, the device and the modules thereof provided by the present invention can be considered as a hardware component, and the modules included in the system, the device and the modules thereof for implementing various programs can also be considered as structures in the hardware component; modules for performing various functions may also be considered to be both software programs for performing the methods and structures within hardware components.
The foregoing description of specific embodiments of the present invention has been presented. It is to be understood that the present invention is not limited to the specific embodiments described above, and that various changes or modifications may be made by one skilled in the art within the scope of the appended claims without departing from the spirit of the invention. The embodiments and features of the embodiments of the present application may be combined with each other arbitrarily without conflict.

Claims (10)

1. A decoupling transmission method for separating a communication layer and a service layer is characterized in that the communication layer is responsible for transmission and analysis of a communication protocol, and the service layer is responsible for transmission and analysis of the service protocol;
the sending end distinguishes communication instructions and service instructions according to the communication layer and the service layer, and respectively transmits the communication instructions and the service instructions to the communication layer and the service layer of the receiving end through the communication protocol and the service protocol, and the communication layer and the service layer of the receiving end respectively receive, analyze and execute the corresponding instructions.
2. The decoupling transmission method of claim 1, wherein the transmitting end communication layer or the service layer respectively transmits to the receiving end communication layer or the service layer via a communication protocol or a service protocol, and the method comprises: and transmitting the data through an API interface mode.
3. The decoupled transmission method with separation of communication layer and service layer according to claim 1, wherein the service layer comprises collecting, encapsulating service data and receiving, parsing and processing service data;
the service data comprises equipment state data, equipment event data and human-computer interaction data of equipment and people, which are collected from a sending end, and the service data is serialized and deserialized, and is encrypted and decrypted.
4. The method for decoupled transmission with separation of communication layer and service layer according to claim 1, wherein the communication layer is responsible for communication between the receiving end and the transmitting end, including transmission, analysis and processing of communication data;
the communication layer comprises an interface layer, an analysis layer and a transmission layer;
the interface layer comprises an API interface capability for realizing opening unification on the service layer, and the service layer realizes interaction between the service layer and the communication layer through the interface layer;
the protocol layer realizes the analysis, encapsulation, verification and communication encryption and decryption capabilities of a communication protocol data packet;
the transmission layer interacts with the protocol layer through an internal API (application program interface) interface, is in charge of interaction and communication with an operating system or hardware bottom layer drive, and transmits a data packet to be transmitted to a server side through a network TCP (transmission control protocol) or UDP (user datagram protocol) protocol or receives the data packet from a network.
5. The decoupling transmission method of claim 1, wherein the transmitting end transmits the data to the communication layer and the service layer of the receiving end respectively according to the communication protocol and the service protocol of the communication layer and the service layer, and comprises: the client sends data to the server and the server sends data to the client;
the client side sends data to the server side, and the method comprises the following steps: preparing communication data and service data, and respectively carrying out data encapsulation on the communication data and the service data; the client sends the encapsulated data packet to the server, the server receives the data packet, processes and analyzes the data packet, separates communication data from service data, transmits the communication data to the communication layer of the server, and transmits the service data to the service layer of the server.
The step of sending data to the client by the server comprises the following steps: preparing communication data and service data, respectively carrying out data encapsulation on the communication data and the service data, sending an encapsulated data packet by a server, receiving the data packet by a client, processing and analyzing the data packet, separating the communication data from the service data, transmitting the communication data to a client communication layer, and transmitting the service data to a service layer of the client.
6. A decoupling transmission system with a communication layer separated from a service layer is characterized in that the communication layer is responsible for transmission and analysis of a communication protocol, and the service layer is responsible for transmission and analysis of the service protocol;
the sending end distinguishes communication instructions and service instructions according to the communication layer and the service layer, and respectively transmits the communication instructions and the service instructions to the communication layer and the service layer of the receiving end through the communication protocol and the service protocol, and the communication layer and the service layer of the receiving end respectively receive, analyze and execute the corresponding instructions.
7. The decoupled transmission system with the separate communication layer and service layer as claimed in claim 6, wherein the transmitting end communication layer or service layer respectively transmits to the receiving end communication layer or service layer via a communication protocol or service protocol, which includes: and transmitting the data through an API interface mode.
8. The decoupled transmission system with the communication layer separated from the service layer of claim 6, wherein the service layer comprises collecting, encapsulating, and receiving, parsing and processing service data;
the service data comprises equipment state data, equipment event data and human-computer interaction data of equipment and people, which are collected from a sending end, and the service data is serialized and deserialized, and is encrypted and decrypted.
9. The decoupled transmission system with the separation of the communication layer and the service layer as claimed in claim 6, wherein the communication layer is responsible for communication between the receiving end and the transmitting end, including transmission, analysis and processing of communication data;
the communication layer comprises an interface layer, an analysis layer and a transmission layer;
the interface layer comprises an API interface capability for realizing opening unification on the service layer, and the service layer realizes interaction between the service layer and the communication layer through the interface layer;
the protocol layer realizes the analysis, encapsulation, verification and communication encryption and decryption capabilities of a communication protocol data packet;
the transmission layer interacts with the protocol layer through an internal API (application program interface) interface, is in charge of interaction and communication with an operating system or hardware bottom layer drive, and transmits a data packet to be transmitted to a server side through a network TCP (transmission control protocol) or UDP (user datagram protocol) protocol or receives the data packet from a network.
10. The decoupled transmission system with separated communication layer and service layer as claimed in claim 6, wherein the transmitting end respectively transmits to the communication layer and the service layer of the receiving end according to the communication protocol and the service protocol of the communication layer and the service layer, and comprises: the client sends data to the server and the server sends data to the client;
the client side sends data to the server side, and the method comprises the following steps: preparing communication data and service data, and respectively carrying out data encapsulation on the communication data and the service data; the client sends the encapsulated data packet to the server, the server receives the data packet, processes and analyzes the data packet, separates communication data from service data, transmits the communication data to the communication layer of the server, and transmits the service data to the service layer of the server.
The step of sending data to the client by the server comprises the following steps: preparing communication data and service data, respectively carrying out data encapsulation on the communication data and the service data, sending an encapsulated data packet by a server, receiving the data packet by a client, processing and analyzing the data packet, separating the communication data from the service data, transmitting the communication data to a client communication layer, and transmitting the service data to a service layer of the client.
CN202011125153.0A 2020-10-20 2020-10-20 Decoupling transmission method and system for separating communication layer from service layer Active CN112261037B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011125153.0A CN112261037B (en) 2020-10-20 2020-10-20 Decoupling transmission method and system for separating communication layer from service layer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011125153.0A CN112261037B (en) 2020-10-20 2020-10-20 Decoupling transmission method and system for separating communication layer from service layer

Publications (2)

Publication Number Publication Date
CN112261037A true CN112261037A (en) 2021-01-22
CN112261037B CN112261037B (en) 2023-05-30

Family

ID=74243950

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011125153.0A Active CN112261037B (en) 2020-10-20 2020-10-20 Decoupling transmission method and system for separating communication layer from service layer

Country Status (1)

Country Link
CN (1) CN112261037B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114726681A (en) * 2022-03-31 2022-07-08 慧之安信息技术股份有限公司 Gateway service layered design method and device with separated business and communication logic
CN115103042A (en) * 2022-05-07 2022-09-23 深圳市广和通无线股份有限公司 System based on CPE wide area network management protocol and wireless communication module
CN115834670A (en) * 2023-02-20 2023-03-21 杭州觅睿科技股份有限公司 Service deployment and inter-service communication method, device, equipment and medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080162637A1 (en) * 2006-11-03 2008-07-03 At&T Bls Intellectual Property, Inc. Application services infrastructure for next generation networks including a notification capability and related methods and computer program products
US8005791B1 (en) * 2005-03-14 2011-08-23 Oracle America, Inc. Methods and systems for publishing aggregated data to a business logic tier
CN103078865A (en) * 2013-01-11 2013-05-01 北京汉邦高科数字技术股份有限公司 Network server communication model based on transmission control protocol (TCP)
CN103346949A (en) * 2013-07-25 2013-10-09 北京大学 Unpacking and packing method and system based on embedded two-channel network data package
US20150029846A1 (en) * 2013-07-24 2015-01-29 Infinera Corp. Use of Switching for Optimizing Transport Costs for Bandwidth Services
CN104660547A (en) * 2013-11-18 2015-05-27 北京四维图新科技股份有限公司 Service platform for realizing telecommunications
CN106411907A (en) * 2016-10-13 2017-02-15 广西咪付网络技术有限公司 Data transmission method and system
CN109660370A (en) * 2019-01-08 2019-04-19 湖南康通电子股份有限公司 A kind of equipment communication means of digit broadcasting system
CN109729101A (en) * 2019-03-12 2019-05-07 深圳狗尾草智能科技有限公司 The communication system of multi-level lower coupling
CN111262814A (en) * 2018-11-30 2020-06-09 武汉新软科技有限公司 Information security management system
CN111741006A (en) * 2020-06-30 2020-10-02 中创三优(北京)科技有限公司 Discrete acquisition gateway and implementation method thereof

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8005791B1 (en) * 2005-03-14 2011-08-23 Oracle America, Inc. Methods and systems for publishing aggregated data to a business logic tier
US20080162637A1 (en) * 2006-11-03 2008-07-03 At&T Bls Intellectual Property, Inc. Application services infrastructure for next generation networks including a notification capability and related methods and computer program products
CN103078865A (en) * 2013-01-11 2013-05-01 北京汉邦高科数字技术股份有限公司 Network server communication model based on transmission control protocol (TCP)
US20150029846A1 (en) * 2013-07-24 2015-01-29 Infinera Corp. Use of Switching for Optimizing Transport Costs for Bandwidth Services
CN103346949A (en) * 2013-07-25 2013-10-09 北京大学 Unpacking and packing method and system based on embedded two-channel network data package
CN104660547A (en) * 2013-11-18 2015-05-27 北京四维图新科技股份有限公司 Service platform for realizing telecommunications
CN106411907A (en) * 2016-10-13 2017-02-15 广西咪付网络技术有限公司 Data transmission method and system
CN111262814A (en) * 2018-11-30 2020-06-09 武汉新软科技有限公司 Information security management system
CN109660370A (en) * 2019-01-08 2019-04-19 湖南康通电子股份有限公司 A kind of equipment communication means of digit broadcasting system
CN109729101A (en) * 2019-03-12 2019-05-07 深圳狗尾草智能科技有限公司 The communication system of multi-level lower coupling
CN111741006A (en) * 2020-06-30 2020-10-02 中创三优(北京)科技有限公司 Discrete acquisition gateway and implementation method thereof

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
KET FAH CHONG等: "An extension of dead end elimination for protein side-chain conformation using merge-decoupling", 《SAC \'06: PROCEEDINGS OF THE 2006 ACM SYMPOSIUM ON APPLIED COMPUTING》 *
程洪等: "基于J2EE体系的Web应用框架整合", 《计算机工程》 *
赵昕;周健;: "一种基于SIP通用框架模型的设计与实现", 微计算机信息 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114726681A (en) * 2022-03-31 2022-07-08 慧之安信息技术股份有限公司 Gateway service layered design method and device with separated business and communication logic
CN114726681B (en) * 2022-03-31 2022-10-21 慧之安信息技术股份有限公司 Gateway service layered design method and device with separated business and communication logic
CN115103042A (en) * 2022-05-07 2022-09-23 深圳市广和通无线股份有限公司 System based on CPE wide area network management protocol and wireless communication module
CN115103042B (en) * 2022-05-07 2024-01-05 深圳市广和通无线股份有限公司 System based on CPE wide area network management protocol and wireless communication module
CN115834670A (en) * 2023-02-20 2023-03-21 杭州觅睿科技股份有限公司 Service deployment and inter-service communication method, device, equipment and medium

Also Published As

Publication number Publication date
CN112261037B (en) 2023-05-30

Similar Documents

Publication Publication Date Title
CN112261037B (en) Decoupling transmission method and system for separating communication layer from service layer
US10841243B2 (en) NIC with programmable pipeline
CN101202761B (en) System of distributed resource scheduling and method thereof
CN107911237B (en) DPDK-based rapid detection method for data packets in user space
CN103546424A (en) TCP (transmission control protocol) data transmission method and TCP unloading engine and system
CN112910932B (en) Data processing method, device and system
CN113079216A (en) Cloud application implementation method and device, electronic equipment and readable storage medium
WO2022122171A1 (en) A network device and method for switching, routing and/or gatewaying data
CN116489214A (en) Unified service scheduling method, device, medium and equipment based on micro service gateway
CN102438016A (en) Method for acquiring subordinate progress of message, access control method and device, and equipment
CN115543661A (en) Data distribution device and method, and architecture of vehicle electronic operation system
US8886699B2 (en) Offloading the processing of signals
US10999262B1 (en) High assurance tactical cross-domain hub
CN104836831B (en) A kind of object method of servicing for Internet of Things
Matthijs Component framework technology for protocol stacks
CN113489527A (en) Architecture system of lightweight network middleware and satellite communication method
CN109257386B (en) Processing method, device, equipment and medium for broadcast television program list protocol
CN112887093B (en) Hardware acceleration system and method for implementing cryptographic algorithms
CN100392597C (en) Virtual hardware accelerating method and system
US10516656B2 (en) Device, method, and computer program product for secure data communication
CN110417812B (en) 5G protocol message processor architecture and 5G protocol message processing method
CN114363035A (en) Flow traction method and device
CN114629891A (en) File transmission method and device, electronic equipment and computer readable storage medium
CN105323225B (en) The interactive correspondence protocol fitting method and system of cross-terminal
CN110545256A (en) Data transmission method, system, electronic device, transfer server and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant