Supercharge Your Innovation With Domain-Expert AI Agents!

Distributed invocation framework, and devices and data transmission method thereof

A data transmission method and format technology, applied in the distributed field, can solve problems such as complex load balancing, high server-side resource overhead, and large data volume

Active Publication Date: 2014-10-15
ZICT TECH CO LTD
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] With the continuous development of the business, the functions of the software system continue to increase, and the single deployment method can no longer meet the requirements, and considering the relative independence of each business function module of the system, these business modules need to be deployed in a distributed manner
[0003] The existing distributed deployment framework mainly has two implementation methods: one is the transmission method using Hypertext Transport Protocol (Http, Hypertext transport protocol) plus text, the advantage of this transmission method is that load balancing is easy to achieve; the disadvantage is that the transmission The large amount of data leads to a large resource overhead on the server side
The other is the transmission method of blocking input and output (BIO, Block Input Output) protocol plus binary stream. The advantage of this transmission method is that the overhead of the binary protocol is small; the disadvantage is that the implementation of load balancing is complicated

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
  • Distributed invocation framework, and devices and data transmission method thereof
  • Distributed invocation framework, and devices and data transmission method thereof
  • Distributed invocation framework, and devices and data transmission method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] In order to understand the characteristics and technical content of the present invention in more detail, the implementation of the present invention will be described in detail below in conjunction with the accompanying drawings. The attached drawings are only for reference and description, and are not intended to limit the present invention.

[0055] The embodiment of the present invention provides a data transmission method executed by the client, such as figure 1 As shown, the method includes the following steps:

[0056] Step 101: Serialize the request object into a stream in binary format.

[0057] Step 102: Encapsulate the stream in binary format based on the New Input Output (NIO, New Input Output) protocol, and send it to the corresponding server; and receive the stream in binary format encapsulated based on the NIO protocol sent by the server, and decompose Encapsulates and deserializes the stream in binary format into a response object.

[0058] After encap...

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 data transmission method which includes the following steps: serializing a request object into a stream of a binary format; according to a set fault tolerant strategy, sending the stream of the binary format to a corresponding server through an NIO (new input output) protocol; and receiving the stream of the binary format, returned by the server, through the NIO protocol and serializing the stream of the binary format into a response object. The invention also discloses a distributed invocation framework and devices. Through adoption of the technical scheme, resource overhead is low and at the same time, load balance can be realized.

Description

technical field [0001] The invention relates to distributed technology, in particular to a distributed call frame, equipment and a data transmission method thereof. Background technique [0002] With the continuous development of the business, the functions of the software system continue to increase, and the single deployment method can no longer meet the requirements. Moreover, considering the relative independence of each business function module of the system, it is necessary to deploy these business modules in a distributed manner. [0003] The existing distributed deployment framework mainly has two implementation methods: one is the transmission method using Hypertext Transport Protocol (Http, Hypertext transport protocol) plus text, the advantage of this transmission method is that load balancing is easy to achieve; the disadvantage is that the transmission The large amount of data leads to high resource overhead on the server side. The other is the transmission met...

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
IPC IPC(8): H04L29/06
Inventor 孙为田睿张弛吴振宇
Owner ZICT TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More