Data transmission method and apparatus, data storage method and apparatus, server and storage medium
A data transmission method and data transmission request technology, applied in the field of big data communication, can solve the problems of repeated data transmission, data loss, affecting the accuracy of data transmission, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com