Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data transmission method and device, computer and storage medium

A data transmission method and data technology, applied in the field of data transmission, can solve problems such as complex data structure and transmission protocol, increased workload, slow program running speed, etc., achieve simple encapsulation process, improve data transmission efficiency, and simplify data transmission The effect of the process

Inactive Publication Date: 2018-09-04
WUHAN DOUYU NETWORK TECH CO LTD
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in the above-mentioned transmission methods, the data structure and transmission protocol of serialization and deserialization of data are complex, occupying a large resource overhead, resulting in performance loss, slowing down of program running speed, etc.
At the same time, because the business logic of serialization processing and deserialization processing depends on the data, when the data changes, the business logic of serialization processing and deserialization processing also needs to be changed accordingly, and the corresponding business logic code needs to be modified to increase the work volume, and data conversion cannot be performed on dynamic data

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
  • Data transmission method and device, computer and storage medium
  • Data transmission method and device, computer and storage medium
  • Data transmission method and device, computer and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] figure 1 It is a flow chart of a data transmission method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of fast data transmission between different component modules. The method can be executed by the computer device provided by the embodiment of the present invention. Computer equipment can be implemented in software and / or hardware. The method specifically includes:

[0024] S110. The first component module acquires the original data of the data object, and generates at least one key-value data group according to the original data.

[0025] Among them, the component module refers to the functional component module of the application program, and the data objects transmitted between the component modules are invisible, and the component modules for data transmission can be two component modules located in different application programs, or the same Two different functional component modules in an application program...

Embodiment 2

[0057] figure 2 It is a schematic structural diagram of a data transmission device provided in Embodiment 2 of the present invention, and the device includes:

[0058] The key-value data group generation sub-module 210 is arranged in the first component module, and is used to obtain the original data of the data object, and generate at least one key-value data group according to the original data;

[0059] The bridging data generation sub-module 220 is arranged in the first component module, and is used to encapsulate at least one key-value data group according to preset rules, and generate bridging data of the data object;

[0060] The data transmission sub-module 230 is arranged in the first component module, and is used to send the bridging data to the second component module;

[0061] The data parsing sub-module 240 is arranged in the second component module, and is used for parsing the bridging data, and determining and storing the transmission data according to the par...

Embodiment 3

[0082] image 3 It is a structural schematic diagram of a computer device provided by Embodiment 3 of the present invention. see image 3 , the computer equipment includes:

[0083] one or more processors 310;

[0084] memory 320, for storing one or more programs;

[0085] When the one or more programs are executed by the one or more processors 310, the one or more processors 310 implement the data transmission method provided by the embodiment of the present invention.

[0086] image 3 A processor is used as an example; the processor and the memory can be connected by a bus or other means, image 3 Take connection via bus as an example.

[0087] As a computer-readable storage medium, the memory can be used to store software programs, computer-executable programs, and modules. The processor executes various functional applications and data processing of the computer device by running the software programs, instructions and modules stored in the memory, that is, realize...

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 embodiment of the invention discloses a data transmission method and device, a computer and a storage medium. The method includes the steps that a first assembly module obtains original data of adata object and generating at least one key value data group according to the original data; the first assembly module conducts encapsulation of the key value data groups according to a preset rule and generates bridging data of the data object; the first assembly module sends the bridging data to a second assembly module; the second assembly module parses the bridging data and determines and stores transmission data according to a parsing result. Transmission of dynamic data between the assembly modules can be achieved fast and conveniently, the encapsulation process of the bridging data is simple, the data transmission process is simplified, and the data transmission efficiency between the assembly modules is improved.

Description

technical field [0001] Embodiments of the present invention relate to data transmission technologies, and in particular, to a data transmission method, device, computer, and storage medium. Background technique [0002] There are multiple component modules in the client, and the data objects between each component module are invisible. When there is data transmission between component modules, the current transmission method needs to perform serialization transmission and deserialization processing on the transmitted data. [0003] However, in the above-mentioned transmission methods, the data structure and transmission protocol of serialization and deserialization of data are complex, occupying a large resource overhead, resulting in performance loss, slowing down of program running speed and other problems. At the same time, because the business logic of serialization processing and deserialization processing depends on the data, when the data changes, the business logic ...

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): G06F9/54G06F17/30
CPCG06F9/546
Inventor 张磊张文明陈少杰
Owner WUHAN DOUYU NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products