hottub.patents
US 12,438,940 B2#3424721 Most CitedActiveUnited States (USPTO)Utility

Data transmission method and system, apparatus, device, and medium

0Forward Citations (#3424721 Global)
0.0/yrCitation Velocity (#3424721 Global)
0.00Citation PageRank (#3424721 Global)
22Prior Art Cited
8Claims (2 Indep. · 6 Dep.)
0Drawings / Sheets

Abstract

The present disclosure relates to data transmission methods, systems, and apparatuses. In one example method, a first device sends first information of a first data block to a second device. The second device searches, based on the first information, a first index for a second data block similar to the first data block, and sends second information of the second data block to the first device. The first device locally obtains, based on the second information, a reference block that is the same as the second data block, compresses a difference part of the first data block relative to the reference block to obtain first compressed information, and sends the first compressed information to the second device. The second device obtains the first data block based on the first compressed information and the second data block.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 22 · Forward citations: 0.

Claims (8 — 2 Independent, 6 Dependent)

  1. Claim 1Independent Claim

    A data transmission method, comprising: sending, by a first device, first information of a first data block to a second device, wherein the first data block is a data block to be sent by the first device to the second device, and the first information is used to describe an attribute of the first data block; searching, by the second device based on the first information, a first index for a second data block similar to the first data block, wherein the first index is used to record, by the second device, information about a data block that has been received by the second device from the first device, and the first index includes a correspondence between a storage address and each of a strong fingerprint and a similar fingerprint that are of the received data block; sending, by the second device, second information of the second data block to the first device, wherein the second data block was previously sent from the first device and received by the second device, and the second inform

  2. Claim 2Depends on #1

    The method according to claim 1, wherein the first information comprises a first similar fingerprint, the first similar fingerprint is a weak hash value of the first data block, a first correspondence between a similar fingerprint of a data block and a second address of the data block in the second device is recorded in the first index, and the searching, by the second device based on the first information, a first index for a second data block similar to the first data block comprises: searching, by the second device, the first index for a second similar fingerprint that is the same as the first similar fingerprint, wherein the second similar fingerprint is a similar fingerprint of the second data block; obtaining, by the second device, a second address from the first correspondence based on the second similar fingerprint, wherein the second address is a second address of the second data block in the second device; and obtaining, by the second device, the second data block based on th

  3. Claim 3Depends on #2

    The method according to claim 2, wherein the first correspondence comprises a correspondence between a second address and each of a strong fingerprint and a similar fingerprint, the strong fingerprint is a strong hash value of a data block, and the strong hash value is used to describe a data attribute of the corresponding data block; and when the second device finds, in the first index, M target similar fingerprints that are the same as the first similar fingerprint, wherein M is a positive integer greater than 1, the method further comprises: obtaining, by the second device, M target addresses corresponding to the M target similar fingerprints from the first correspondence based on the M target similar fingerprints; obtaining, by the second device, M target data blocks based on the M target addresses; obtaining, by the second device, strong fingerprints of the M target data blocks; and obtaining, by the second device, one target data block from the M target data blocks as the second

  4. Claim 4Depends on #3

    The method according to claim 3, wherein when the second device obtains, from the M target data blocks, N candidate data blocks similar to the first data block, the second information comprises strong fingerprints and mark information of the N candidate data blocks and first addresses of the N candidate data blocks in the first device, wherein the N candidate data blocks are separately similar to the first data block, the strong fingerprints of the N candidate data blocks are strong hash values of the N candidate data blocks, and N is a positive integer greater than 1; and the locally obtaining, by the first device, a reference block based on the second information comprises: obtaining, by the first device, the N candidate data blocks from local storage based on the first addresses of the N candidate data blocks in the first device; obtaining, by the first device, the strong fingerprints of the N candidate data blocks; and obtaining, by the first device, one target candidate data block

  5. Claim 5Depends on #1

    The method according to claim 1, wherein the second information further comprises a storage address of the reference block in the first device, and the locally obtaining, by the first device, a reference block based on the second information comprises: locally obtaining, by the first device, the reference block based on the storage address of the reference block in the first device.

  6. Claim 6Depends on #1

    The method according to claim 1, wherein the first compressed information comprises a first compressed block and difference information, the first compressed block comprises the difference part between the first data block and the reference block, the difference information is used to describe a status of a difference between the first data block and the reference block, and the obtaining, by the second device, the first data block based on the first compressed information and the second data block comprises: obtaining, by the second device, the first data block based on the first compressed block, the difference information, and the second data block.

  7. Claim 7Independent Claim

    A data transmission method, comprising: obtaining, by a first device, first information of a first data block, wherein the first data block is a data block to be sent by the first device to a second device, the first information comprises a first address, a first strong fingerprint, and a first similar fingerprint of the first data block, and the first information is used to describe an attribute of the first data block; searching, by the first device based on the first information, a first index for a second data block similar to the first data block, wherein the first data block has a difference part relative to the second data block, and wherein the first index is used to record information about a data block that has been sent by the first device to the second device, and the first index includes a correspondence between a storage address and each of a strong fingerprint and a similar fingerprint of the data block that has been sent by the first device to the second device; compres

  8. Claim 8Depends on #7

    The method according to claim 7, wherein the first similar fingerprint is a weak hash value of the first data block, a first correspondence between a similar fingerprint of a data block and a storage address of the data block in the first device is recorded in the first index, and the searching, by the first device based on the first information, a first index for a second data block similar to the first data block comprises: searching, by the first device, the first index for a second similar fingerprint that is the same as the first similar fingerprint, wherein the second similar fingerprint is a weak hash value of the second data block; obtaining, by the first device, a second address from the first correspondence based on the second similar fingerprint, wherein the second address is a storage address of the second data block in the first device; and obtaining, by the first device, the second data block based on the second address.

Technical Overview & Description

CROSS-REFERENCE TO RELATED APPLICATIONS This application is a continuation of International Application No. PCT/CN2021/097498, filed on May 31, 2021, which claims priority to Chinese Patent Application No. 202010615499.2 filed on Jun. 30, 2020. The disclosures of the aforementioned applications are hereby incorporated by reference in their entireties. TECHNICAL FIELD This application relates to the field of communications technologies, and in particular, to a data transmission method and system, an apparatus, a device, and a medium. BACKGROUND Data synchronization technologies are used for remote transmission, to send data from a source end (data sender) to a target end (data receiver) to implement remote data replication or backup. This is an important part of a remote disaster recovery solution. Due to limitation of factors such as costs, for example, in an intercity case, link bandwidth between the source end and the target end is usually low. Therefore, the data synchronization technologies need to resolve a problem of how to effectively use limited link bandwidth to maximize data transmission efficiency. In the conventional technology, a deduplication technology is mainly used to improve data synchronization transmission efficiency. For example, if a to-be-sent data block is the same as a transmitted data block, a source end transmits only description information of the to-be-sent data block, so that a target end locally obtains the data block based on the description information. In this way, data links are reduced. However, in an actual working process, a data block repetition rate is low in some database scenarios, and therefore, use of the deduplication technology is limited. As a result, the deduplication technology cannot effectively reduce link data. Therefore, the foregoing problem in the conventional technology is to be resolved. SUMMARY Embodiments of this application provide a data transmission method and system, an apparatus, a device, and a medium,

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (22)

Non-Patent Literature (7)

  • International Search Report and Written Opinion in International AppIn. No. PCT/CN2021/097498, mailed on Aug. 19, 2021, 15 pages (with English translation).
  • Shilane et al.,
  • “
  • WAN-Optimized Replication of Backup Datasets Using Stream-Informed Delta Compression,
  • ”
  • ACM Transactions on Storage, vol. 8, No. 4, Dec. 6, 2012, pp. 1-26.
  • Extended European Search Report in European AppIn No. 21832961.3, dated Sep. 5, 2023, 7 pages.