Data transmission method, service cluster and client

A data transmission and server-side technology, applied in the information field, can solve the problems of low stability and accuracy of file transmission

Active Publication Date: 2019-07-12
CHINA MOBILE COMM LTD RES INST +1
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The present invention provides a data transmission method, service cluster and client, which are used to solve the tec

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, service cluster and client
  • Data transmission method, service cluster and client
  • Data transmission method, service cluster and client

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0095] Embodiment 1, please refer to figure 1 , an embodiment of the present invention provides a data transmission method, and the processing procedure of the method is as follows.

[0096] Step 101: The server receives the transmission request description information of the target file from the client; wherein, the transmission request description information is a data packet obtained by encapsulating key information of the target file at the client according to the first data format.

[0097] It should be noted that, in the embodiment provided by the present invention, the entire data transmission process is based on a network application framework (Multipurpose Infrastructure for Network Applications, MINA).

[0098] When the client needs to transfer the target file to the server, the client needs to actively connect to the server, and send the transfer request description information of the target file to the server.

[0099] Wherein, the key information of the target fi...

Embodiment 2

[0135] Embodiment two, see figure 2 , based on the same inventive concept, another embodiment of the present invention provides a data transmission method, and the process of the method is as follows.

[0136] Step 201: The client sends the transfer request description information of the target file to the server; wherein, the transfer request description information includes at least identification information of the target file, and the identification information is used to uniquely identify the target file.

[0137] Before the client sends the transmission request description information to the server, it needs to establish a connection with the server.

[0138] In addition, the key information of the target file needs to be encapsulated in the first data format to obtain the transmission request description information.

[0139] Wherein, the key information of the target file includes but not limited to the following information: name of the target file, file size, ident...

Embodiment 3

[0158] Embodiment 3. Based on the same inventive concept, an embodiment of the present invention provides a service cluster. For the specific implementation of the data transmission method of the service cluster, please refer to the description of Embodiment 1. see image 3 , the service cluster includes:

[0159] The transceiver unit 301 is configured to receive the transmission request description information of the target file from the client; wherein, the transmission request description information is to encapsulate key information of the target file at the client according to the first data format The data packet obtained after;

[0160] An obtaining unit 302, configured to obtain identification information of the target file based on the transmission request description information; wherein the identification information is used to uniquely identify the target file;

[0161] The processing unit 303 is configured to perform the following operations in a loop until the ...

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, a service cluster and a client, which are used for solving the technical problems of relatively low stability and accuracy of file transmission under a high concurrency condition in the prior art. The method comprises the steps that a server receives transmission request description information of a target file from a client and obtains identification information of the target file based on the transmission request description information; the server starts to circularly execute the following operations until the client finishes slicing the target file: inquiring current transmission progress information of the target file based on the identification information, and generating corresponding transmission demand description information; receiving slice data currently sent by the client, wherein the slice data is obtained after the client performs primary slicing processing on the target file based on the transmission demand descriptioninformation; on a local disk array, assembling the assembled part of data and the currently sent slice data, and updating the transmission progress information; and obtaining a target file after allthe slice data are assembled.

Description

technical field [0001] The present invention relates to the field of information technology, in particular to a method for data transmission, a service cluster and a client. Background technique [0002] With the rapid development of informatization, more and more customers are oriented to network services, and the use frequency of large file upload and download functions is also increasing. However, the current network transmission speed and stability still need to be improved, which requires the network Service providers provide users with a large file transfer technology that supports high concurrency and high availability. [0003] In the existing technology, the existing breakpoint resume technology is mostly based on the presentation layer + logic layer + storage layer (struts+spring+hibernate, SSH) framework or model-view-controller (Model View Controller, MVC) framework Achieved. Their advantage is that it is less difficult to develop, but limited by their own fram...

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/06H04L29/08
CPCH04L67/108H04L67/146H04L67/06H04L67/00H04L69/22
Inventor 王威常耀斌方若洁吴娜许利群
Owner CHINA MOBILE COMM LTD RES INST
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products