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

Data transmission method, data storage method, device, server and storage medium

A data transmission method and a data transmission request technology, which are applied in the field of big data communication, can solve problems such as data loss, affecting data transmission accuracy, and repeated data transmission, so as to reduce deduplication costs, avoid repeated transmissions, and reduce bandwidth occupation. Effect

Active Publication Date: 2022-01-25
BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD +1
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In the existing data transmission method, the proxy server usually sends data one by one, and the server server also receives data one by one. When performing data transmission, especially when transmitting large amounts of data, when the network condition is abnormal, it is easy to have data The loss and repeated transmission of data greatly affect the accuracy of data transmission

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0123] In view of this, if figure 1 As shown, the embodiment of the present invention provides a data transmission method applied to a proxy server, and the method may include the following steps:

[0124] S101. Obtain data to be transmitted.

[0125] In the embodiment of the present invention, the proxy server can obtain different data through different business services, that is, it can obtain data to be transmitted, for example, obtain log data through a log business service, or obtain user query data through a user interaction service. The specific format of the acquired data may be a log format, a file format and other data formats.

[0126] S102. If the sending condition of the data to be transmitted is satisfied, determine the acquired data to be transmitted as batch data, and set a unique batch identifier for the batch data.

[0127] It is easy to understand that during the operation of the proxy server, its data acquisition process is continuous. Therefore, a sendi...

Embodiment 2

[0140] Such as figure 2 As shown, the embodiment of the present invention also provides a data transmission method applied to a proxy server, and the method may include the following steps:

[0141] S201. Determine whether the total amount of currently sent data reaches a first preset threshold.

[0142] In order to prevent the avalanche of the server server (causing a crash due to too much received data), when the proxy server meets the preset conditions, the amount of data sent by the proxy server can be limited. For example, a first preset threshold is set for the total amount of data sent by the proxy server, so that the judgment is made based on the size relationship between the total amount of currently sent batch data and the first preset threshold. The above-mentioned first preset threshold can be set by the server operation and maintenance personnel according to the actual business situation, for example, set to 500GB, 1TB, 10TB, which will not be repeated in this e...

Embodiment 3

[0173] Such as Figure 4 As shown, the embodiment of the present invention provides a data storage method, which is applied to the server server, and the method may include the following steps:

[0174] S301. Receive a data transmission request from an agent server.

[0175] In the embodiment of the present invention, the server server can receive the data transmission request sent by the proxy server, and the data transmission request can carry a batch identifier and batch data, wherein the batch identifier is used to indicate the batch of the batch data , the batch data is formed by compressing at least one piece of data, and it can be 1 piece or 1000 pieces, which can be set by the server operation and maintenance personnel according to the actual business situation.

[0176] The received batch data has a unique batch identifier, so that after receiving a batch of data, the server server can identify the batch data through the batch identifier.

[0177] S302, judging whet...

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

An embodiment of the present invention provides a data transmission method, data storage method, device, server, and storage medium, wherein the transmission method includes: obtaining the data to be transmitted and if the transmission condition of the data to be transmitted is met, the acquired data to be transmitted is Determine it as batch data, and set a unique batch identifier for the batch data; send a data transmission request. The storage method includes: receiving a data transmission request; judging whether there is a stored mark of the batch identification locally; when there is a stored mark of the batch identification, determining that the batch data has been stored, and the data transmission request is a repeated transmission request; When there is no stored flag of the batch identifier, it is determined that the batch data is not stored; the batch data is stored, and the stored flag is added to the batch identifier. The embodiment of the present invention can improve the accuracy of data transmission when large amount of data is transmitted.

Description

technical field [0001] The present invention relates to the technical field of big data communication, in particular to a data transmission method, a data storage method, a device, a server and a storage medium. Background technique [0002] The service nodes of large Internet service providers are usually distributed all over the country to provide business services. In order to optimize, guarantee or assist business services, service nodes distributed across the country need to communicate with back-end nodes and send business-related data to the back-end nodes, so that the back-end nodes can perform calculations on business-related data to achieve real-time Or offline analysis and statistics, service billing, etc. Specifically, the agent service Agent (agent server) deployed in each service node establishes a connection with the service server (server server) of the backend node through the network, so as to realize data transmission between the agent server and the serv...

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 Patents(China)
IPC IPC(8): H04L67/56H04L67/60H04L67/62H04L67/63H04L9/40
CPCH04L63/0428H04L67/56H04L67/62H04L67/63H04L67/60
Inventor 关海南邹静
Owner BEIJING KINGSOFT CLOUD 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