[go: up one dir, main page]

WO2015176249A1 - Transmission method for wireless ethernet interface hard disk, related device, and system - Google Patents

Transmission method for wireless ethernet interface hard disk, related device, and system Download PDF

Info

Publication number
WO2015176249A1
WO2015176249A1 PCT/CN2014/077995 CN2014077995W WO2015176249A1 WO 2015176249 A1 WO2015176249 A1 WO 2015176249A1 CN 2014077995 W CN2014077995 W CN 2014077995W WO 2015176249 A1 WO2015176249 A1 WO 2015176249A1
Authority
WO
WIPO (PCT)
Prior art keywords
fingerprint
data
hard disk
ethernet interface
wireless ethernet
Prior art date
Application number
PCT/CN2014/077995
Other languages
French (fr)
Chinese (zh)
Inventor
雷晓松
韩霆军
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2014/077995 priority Critical patent/WO2015176249A1/en
Priority to CN201480075398.3A priority patent/CN106063192A/en
Publication of WO2015176249A1 publication Critical patent/WO2015176249A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0608Saving storage space on storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/064Management of blocks
    • G06F3/0641De-duplication techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/067Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0674Disk device
    • G06F3/0676Magnetic disk device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor

Definitions

  • the present invention relates to the field of communications and computer and storage technologies, and in particular, to a wireless Ethernet interface hard disk transmission method and related devices and systems.
  • Ethernet interface hard disk ie Ethernet interface hard disk
  • SCSI Small Computer System Interface
  • Ethernet interface hard disk can also be used in the consumer field, for example, as a mobile hard disk (using the Institute of Electrical and Electronics Engineers (IEEE) 802.11bg ten Office, wireless PVR (Personal Video Recorder, personal video recorder), etc.
  • IEEE Institute of Electrical and Electronics Engineers 802.11bg ten Office
  • wireless PVR Personal Video Recorder
  • the Ethernet interface hard disk can support the wireless transmission protocol.
  • the wireless Ethernet interface hard disk uses the air interface (ie, the air interface) for wireless data transmission, and is powered by the mobile power source to reduce the dependence on the power line for the mobile scene.
  • the existing wireless Ethernet interface hard disk is based on air interface for wireless data transmission, and the air interface energy consumption is very large, and the power of the mobile power source is limited, and the energy saving requirement of the wireless Ethernet interface hard disk must be considered.
  • the embodiment of the invention provides a wireless Ethernet interface hard disk transmission method and related equipment and system, so as to reduce the air interface energy consumption of the wireless Ethernet interface hard disk.
  • a first aspect of the present invention provides a wireless Ethernet interface hard disk transmission method for a system including a wireless Ethernet interface hard disk and a front fingerprint library host device, and the wireless Ethernet interface hard disk and the pre-print fingerprint library host device are used.
  • the method includes: the pre-fingerprint library host device performs a slice process on the received data to obtain a data fragment, and calculates a fingerprint for the data fragment, where the fingerprint is used to represent the data segment.
  • a pre-fingerprint library host device determines whether a fingerprint corresponding to the calculated fingerprint is recorded in the fingerprint database, and the fingerprint database is used to record the wireless Ethernet connection a fingerprint of the data slice in the hard disk; if the fingerprint database has the same fingerprint as the calculated fingerprint, the pre-print fingerprint library host device sends the calculated fingerprint to the wireless ether Interface hard disk.
  • the method further includes: the pre-fingerprint library host device calculates a check code for the data segment corresponding to the calculated fingerprint; If the fingerprint is the same as the calculated fingerprint, the pre-print fingerprint library host device sends the calculated fingerprint to the wireless Ethernet interface hard disk, including: if the fingerprint database has the calculated The fingerprint of the same fingerprint, the pre-fingerprint library host device will use the calculated fingerprint and the first aspect or the first possible implementation of the first aspect, in a second possible implementation manner The method further includes: if the fingerprint database does not have the same fingerprint as the calculated fingerprint, the pre-print fingerprint library host device uses the calculated fingerprint and the calculated fingerprint corresponding data. The slice is sent to the wireless Ethernet interface hard disk.
  • the method further includes: if the fingerprint database does not have the same fingerprint as the calculated fingerprint, the front The fingerprint library host device records the calculated fingerprint in the fingerprint database.
  • the pre-fingerprint library host device corresponds the calculated fingerprint and the calculated fingerprint
  • the data fragment is sent to the wireless Ethernet interface hard disk
  • the pre-print fingerprint library host device compresses the data fragment corresponding to the calculated fingerprint and sends the data fragment to the wireless Ethernet interface hard disk.
  • the pre-fingerprint library host device corresponds the calculated fingerprint and the calculated fingerprint
  • Sending the data fragment to the wireless Ethernet interface hard disk includes: the pre-fingerprint library host device segments the calculated fingerprint, the calculated fingerprint corresponding data, and the calculated second invention
  • the invention provides a wireless Ethernet interface hard disk transmission method for a system including a wireless Ethernet interface hard disk and a front fingerprint library host device, and the wireless Ethernet interface hard disk and the front device
  • the fingerprint library host device communicates in a wireless manner; the method includes: the wireless Ethernet interface hard disk receives data sent by the pre-print fingerprint library host device, and the received data carries a fingerprint, and the fingerprint is used to represent Data fragmentation; the wireless Ethernet interface hard disk acquires data fragments corresponding to the fingerprint from the fingerprint data storage module according to the fingerprint.
  • the method further includes: determining, by the wireless Ethernet interface hard disk, whether the received data carries a data fragment corresponding to the fingerprint, if the received data is not And carrying the data fragment corresponding to the fingerprint, and performing the step of acquiring, by the wireless Ethernet interface hard disk, the data fragment corresponding to the fingerprint from the fingerprint data storage module.
  • the received data further carries a verification code of the data fragment corresponding to the fingerprint;
  • the interface hard disk comprises: the wireless Ethernet interface hard disk acquiring the fingerprint from the fingerprint data storage module according to the fingerprint a verification code of the corresponding data fragment; the wireless Ethernet interface hard disk determines whether the received verification code is consistent with the verification code obtained from the fingerprint data storage module; if the verification codes are inconsistent, The wireless Ethernet interface hard disk returns a data acquisition indication message to the pre-print fingerprint library host device, where the data acquisition indication message is used to instruct the pre-print fingerprint library host device to send the data fragment corresponding to the fingerprint to the The wireless Ethernet interface hard disk.
  • the method further includes: if the received data carries a data fragment corresponding to the fingerprint, The wireless Ethernet interface hard disk saves the data fragment corresponding to the fingerprint to the fingerprint data storage module by using the fingerprint as an index.
  • the received data further includes a verification code of the data fragment corresponding to the fingerprint; and the wireless Ethernet interface
  • the hard disk saves the data fragment corresponding to the fingerprint to the fingerprint data storage module by using the fingerprint as an index.
  • the wireless Ethernet interface hard disk divides the data fragment corresponding to the fingerprint and the data corresponding to the fingerprint.
  • the check code of the slice is saved to the fingerprint data storage module by using the fingerprint as an index.
  • the wireless Ethernet interface hard disk saves the data fragment corresponding to the fingerprint through the fingerprint as a cable to the fingerprint data storage module, and the wireless Ethernet interface hard disk compares the data corresponding to the fingerprint.
  • the slice is decompressed and saved to the fingerprint data storage module.
  • the method further includes: establishing the fingerprint data storage module
  • the fingerprint data storage module is configured to save a data fragment set of the wireless Ethernet interface hard disk, and the data fragment set uses an fingerprint as an index to store different data fragments.
  • the third aspect of the present invention provides a pre-fingerprint library host device, wherein the pre-fingerprint library host device and the wireless Ethernet interface hard disk communicate wirelessly;
  • the pre-fingerprint library host device includes: a slicing module, configured to The received data is subjected to a slicing process to obtain a data slice;
  • a fingerprint module is configured to calculate a fingerprint for the data slice, the fingerprint is used to represent the data slice;
  • a determination module is configured to determine a pre-fingerprint library host Whether the same fingerprint as the calculated fingerprint is recorded in the fingerprint database of the device, the fingerprint database is used to record the fingerprint of the data segment in the wireless Ethernet interface hard disk;
  • the sending module is configured to use the fingerprint database And having the same fingerprint as the calculated fingerprint, and sending the calculated fingerprint to the wireless Ethernet interface hard disk.
  • the pre-fingerprint library host device further includes: a verification module, configured to calculate a check code for the data fragment corresponding to the calculated fingerprint; Specifically, if the fingerprint database has the same fingerprint as the calculated fingerprint, the calculated fingerprint and the verification code of the data segment corresponding to the calculated fingerprint are sent to the wireless Ethernet interface hard disk.
  • a verification module configured to calculate a check code for the data fragment corresponding to the calculated fingerprint
  • the sending module is further configured to: if the fingerprint database is not the same as the calculated fingerprint And the data fingerprint corresponding to the calculated fingerprint and the calculated fingerprint is sent to the wireless Ethernet interface hard disk.
  • the pre-fingerprint library host device further includes: a recording module, configured to: if the fingerprint database does not have the calculation The obtained fingerprint with the same fingerprint is recorded in the fingerprint database.
  • the pre-fingerprint library host device further includes: a compression module, configured to compress the data fragment corresponding to the calculated fingerprint; and the sending module is specifically configured to compress the compression module The data fragment is sent to the wireless Ethernet interface hard disk.
  • the sending module is specifically configured to correspond to the calculated fingerprint and the calculated fingerprint
  • the data fragment and the verification code of the data fragment corresponding to the calculated fingerprint are sent to the wireless Ethernet interface hard disk.
  • the fourth aspect of the present invention provides a wireless Ethernet interface hard disk, wherein the wireless Ethernet interface hard disk communicates with the front fingerprint library host device in a wireless manner;
  • the wireless Ethernet interface hard disk includes: a receiving module, configured to receive the front end The data sent by the fingerprint library host device, the received data carries a fingerprint, and the fingerprint is used to represent the data fragmentation;
  • the obtaining module is configured to obtain, according to the fingerprint, the fingerprint corresponding to the fingerprint data storage module
  • the data storage module is configured to save a data fragment set of the wireless Ethernet interface hard disk, and the data fragment set uses an fingerprint as an index to store different data fragments.
  • the wireless Ethernet interface hard disk further includes: a determining module, configured to determine whether the received data carries a data fragment corresponding to the fingerprint, if the received data If the data fragment corresponding to the fingerprint is not carried, the acquiring module is configured to obtain a data fragment corresponding to the fingerprint from the fingerprint data storage module.
  • the received data further includes a verification code of the data fragment corresponding to the fingerprint
  • the obtaining module includes: An obtaining unit, configured to acquire, according to the fingerprint, a verification code of a data fragment corresponding to the fingerprint from a fingerprint data storage module; a determining unit, configured to determine the received verification code and the And the sending unit is configured to: if the check code is inconsistent, return a data acquisition indication message to the pre-print fingerprint library host device, where the data acquisition indication message is used to indicate The pre-print fingerprint library host device sends the data fragment corresponding to the fingerprint to the wireless Ethernet interface hard disk.
  • the fingerprint data storage module is further configured to: if the received data carries the number corresponding to the fingerprint According to the fragmentation, the data fragment corresponding to the fingerprint is saved to the fingerprint data storage module by using the fingerprint as an index.
  • the fingerprint data storage module is specifically configured to: if the received data further carries data corresponding to the fingerprint And the check code of the fragment, the data slice corresponding to the fingerprint and the check code of the data slice corresponding to the fingerprint are saved to the fingerprint data storage module by using the fingerprint as an index.
  • the wireless Ethernet interface hard disk further includes: a decompression module, configured to divide data corresponding to the fingerprint And the fingerprint data storage module is configured to save the data fragment that is compressed by the decompression module to the fingerprint data storage module by using the fingerprint as an index.
  • a fifth aspect of the present invention provides a storage system, comprising: a pre-fingerprint library host device according to any of the possible implementation manners of the third aspect or the third aspect of the present invention, and the fourth or fourth aspect of the present invention Any of the possible implementations provided by the wireless Ethernet interface hard drive.
  • a sixth aspect of the present invention provides a pre-fingerprint library host device, where the pre-fingerprint library host device includes a processor, a memory, a bus, and a communication interface; the pre-fingerprint library host device is configured to store a computer execution instruction, The processor is coupled to the memory via the bus, and when the pre-print fingerprint library host device is running, the processor executes the computer-executed instructions stored by the memory to cause the pre-fingerprint library host.
  • the apparatus performs a wireless Ethernet interface hard disk transmission method as provided in the first aspect of the invention or any of the possible implementations of the first aspect.
  • a seventh aspect of the present invention provides a wireless Ethernet interface hard disk
  • the wireless Ethernet interface hard disk includes a processor, a memory, a bus, and a communication interface
  • the wireless Ethernet interface hard disk is configured to store a computer execution instruction
  • the processor and the The memory is connected by the bus, and when the wireless Ethernet interface hard disk is running, the processor executes the computer-executed instructions stored by the memory to cause the wireless Ethernet interface hard disk to perform the second aspect or the A wireless Ethernet interface hard disk transmission method provided in any of the possible implementations of the second aspect.
  • An eighth aspect of the present invention provides a computer readable medium, comprising: computer executed instructions for a processor of a computer to execute the computer execution instructions, the computer performing the wireless apparatus of any one of claims 1-6 Ethernet interface hard disk transmission method.
  • a ninth aspect of the present invention provides a computer readable medium, comprising computer execution instructions for The computer executes the wireless Ethernet interface hard disk transmission method according to any one of claims 7-13 when the processor of the computer executes the computer execution instruction.
  • the pre-fingerprint library host device is set on the wireless transmission path of the wireless Ethernet interface hard disk, the received data is sliced, and the fingerprint is obtained for the data segment obtained by the slice processing, and The calculated fingerprint is compared with the fingerprint recorded in the fingerprint database. If there is the same, the technical solution of sending the fingerprint to the wireless Ethernet interface hard disk has the following technical effects: By calculating the fingerprint of the data fragment, for the repeated data points The chip can only send fingerprints instead of sending data fragments to the wireless Ethernet interface hard disk, that is, using fingerprint transmission instead of data fragment transmission, which can effectively reduce the amount of downlink data transmission, thereby greatly reducing the air interface energy consumption of the wireless Ethernet interface hard disk. , as a whole, improve the use time of the wireless Ethernet interface hard disk when using battery power.
  • FIG. 1 is a schematic diagram of a system including a wireless Ethernet interface hard disk and a front fingerprint library host device in the present invention
  • FIG. 2 is a schematic diagram of a wireless Ethernet interface hard disk transmission method according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of another wireless Ethernet interface hard disk transmission method according to an embodiment of the present invention
  • a schematic diagram of a pre-fingerprint library host device
  • Figure 4b is a schematic diagram of another pre-fingerprint library host device according to an embodiment of the present invention
  • Figure 5a is a schematic diagram of a wireless Ethernet interface hard disk according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of another wireless Ethernet interface hard disk according to an embodiment of the present invention
  • FIG. 6 is a schematic structural diagram of an apparatus for wireless Ethernet interface hard disk transmission according to an embodiment of the present invention.
  • the embodiment of the invention provides a wireless Ethernet interface hard disk transmission method and related equipment and system, so as to reduce the air interface energy consumption of the wireless Ethernet interface hard disk.
  • Embodiment 1 An embodiment of the present invention provides a wireless Ethernet interface hard disk transmission method.
  • the design method of the method of the embodiment of the present invention is to preprocess the received data to reduce the downlink data transmission amount of the hard disk of the wireless Ethernet interface, thereby reducing the air interface energy consumption of the wireless Ethernet interface hard disk.
  • the wireless Ethernet interface hard disk is mainly applied to application scenarios such as data downloading. Therefore, the embodiment of the present invention is mainly for optimizing downlink data transmission sent to the wireless Ethernet interface hard disk.
  • the method of the embodiment of the present invention is applied to a system including a wireless Ethernet interface hard disk 110 and a pre-fingerprint library host device 120, and the wireless Ethernet interface hard disk 110 and the pre-fingerprint library host device 120 are wirelessly communicated.
  • the pre-print fingerprint library host device 120 is located on the wireless transmission link of the wireless Ethernet interface hard disk 110.
  • the pre-processing and optimization of the received data is performed by the pre-fingerprint library host device.
  • the pre-fingerprint library host device may be a dedicated device, or may be physically combined with a device on a wireless transmission path such as a WiFi gateway (GW).
  • GW WiFi gateway
  • a wireless Ethernet interface hard disk transmission method provided by an embodiment of the present invention may include:
  • the pre-fingerprint library host device performs a slice processing on the received data to obtain a data fragment, and calculates a fingerprint for the data fragment, where the fingerprint is used to represent the data fragment.
  • the data to be sent to the wireless Ethernet interface hard disk first arrives at the pre-fingerprint library host device, and the device performs pre-processing.
  • the method may include: performing slice processing on the received data, and calculating a fingerprint for each data slice obtained by the slice processing.
  • the slicing process refers to cutting data into several parts, wherein each part is a data piece.
  • the received data may be sliced by using various conventional slicing methods, for example, a fixed length slicing method, or a variable length slicing method.
  • the fingerprint is used to represent the data slice.
  • the fingerprint generally refers to a hash fingerprint, that is, a hash value is calculated by using a hash function, and the calculated hash value is the fingerprint of the data fragment.
  • a hash function can transform an input of arbitrary length into a fixed-length output through a hashing algorithm.
  • the output is a hash value (or a hash value).
  • the fingerprint can be understood as a special identifier related to the content of the data slice.
  • the fingerprint can be used to determine whether the two data fragments are the same. If the fingerprints of the two data fragments are the same, in general, the two data points are The film is the same. Therefore, fingerprints can be used to represent or identify data fragments.
  • the data in the data stream window may be sliced by using a Rabin fingerprint print method corresponding to the variable length slice, including: starting to slide at the end of the last slice Rabin calculates, until the calculated Rabin value meets a certain rule, for example, the last few bits are equal to a certain feature value.
  • the slice is used as a data fragment, and MD5 is used (Message-Digest Algorithm 5, message digest algorithm
  • the Hash function such as the fifth edition or SHA-1 (Secure Hash Algorithm-1), calculates its hash value as the fingerprint of the data fragment.
  • the upper or lower limit of the sliding window can be set, and the slice matching the size is used as the data segment for calculating the fingerprint.
  • the fixed length slice can be used to calculate the fingerprint mode, and the data in the data stream window is sliced; for example: 4 KB is used as the slice size, and the received data is sliced according to 4 KB, and each calculation is performed in turn.
  • the hash value of the data fragments is taken as its fingerprint.
  • the pre-fingerprint library host device confirms whether the same fingerprint as the calculated fingerprint is recorded in the fingerprint database, and the fingerprint database is used to record the fingerprint of the data slice in the wireless Ethernet interface hard disk.
  • the front fingerprint library host device may include a fingerprint database for storing fingerprints of data fragments in the wireless Ethernet interface hard disk, so that the fingerprint database may be used to determine whether the fingerprint is already stored in the wireless Ethernet interface hard disk. Corresponding data fragmentation.
  • a determining step may be included to determine whether the fingerprint file of the pre-print fingerprint library host device records the same fingerprint as the calculated fingerprint. fingerprint.
  • the front end The fingerprint library host device sends the calculated fingerprint to the wireless Ethernet interface hard disk.
  • the pre-fingerprint library host device performs subsequent processing in different manners according to the judgment result of step 220. among them,
  • the fingerprint database of the pre-print fingerprint library host device does not have the same fingerprint as the calculated fingerprint, it is considered that, for the wireless Ethernet interface hard disk, the data segment corresponding to the calculated fingerprint is new data, and thus,
  • the pre-fingerprint library host device may record the calculated fingerprint in the fingerprint database, and the pre-print fingerprint library host device may send the calculated fingerprint and the data segment corresponding to the fingerprint to the wireless Ethernet interface hard disk.
  • the wireless Ethernet interface hard disk performs corresponding processing according to the content of the service request, for example, storing or reporting to the application processing and the like. Taking storage as an example, the received data fragment can be stored in the fingerprint data storage module of the wireless Ethernet interface hard disk through its fingerprint as an index, and the corresponding relationship between the data fragment and its fingerprint is displayed in the fingerprint data storage module.
  • the pre-fingerprint library host device may not send the data segment corresponding to the calculated fingerprint to the wireless Ethernet interface hard disk, only need to The calculated fingerprint is sent to the wireless Ethernet interface hard disk.
  • the wireless Ethernet interface hard disk can query the data fragment corresponding to the received fingerprint from the fingerprint data storage module through the received fingerprint, and consider that the data fragment to be queried is the data fragment to be received, and then, According to the content of the business request, the corresponding processing may be performed, such as storing or reporting to the application processing, and the like. Since the length of the fingerprint is much smaller than the data fragmentation, in this case, the air interface energy consumption of the wireless Ethernet interface hard disk can be greatly reduced.
  • the fingerprint data storage module is configured to save a data fragment set of the wireless Ethernet interface hard disk, and the data fragment set uses an fingerprint as an index to store different data fragments.
  • the foregoing method may further include:
  • the pre-fingerprint library host device performs slice processing on the received data to obtain at least one data slice, and not only calculates a fingerprint for each of the data segments, but also calculates each of the data segments.
  • a check code can be calculated using a conventional check code calculation method, such as a 32-bit Cyclic Redundancy Check 32 (CRC32), MD5 or SHA-1. It should be noted that there is no order relationship between the calculation of the fingerprint and the calculation of the check code, and there is no dependency.
  • the pre-print fingerprint library host device sends the calculated fingerprint to the wireless Ethernet interface hard disk, which may include:
  • the calculated fingerprint and the verification code of the data segment corresponding to the calculated fingerprint are sent to the wireless Ethernet interface hard disk. That is, the verification code of the data fragment corresponding to the transmitted fingerprint is sent to the wireless Ethernet interface hard disk at the same time. Therefore, the wireless Ethernet interface hard disk can further determine according to the check code, whether the data fragment corresponding to the received fingerprint is consistent with the data fragment corresponding to the same fingerprint already stored, and according to the judgment result, the pre-fingerprint library host is required inconsistently.
  • the device sends the data fragment corresponding to the calculated fingerprint.
  • the pre-print fingerprint library host device corresponds the calculated fingerprint and the calculated fingerprint.
  • the sending of the data fragment to the wireless Ethernet interface hard disk may include: the pre-fingerprint library host device corresponding to the calculated fingerprint, the data fragment corresponding to the calculated fingerprint, and the calculated fingerprint.
  • the check code of the data slice is sent to the wireless Ethernet interface hard disk.
  • the wireless interface hard disk can process the data according to the content of the service request, such as storing or reporting to the application processing. Taking the storage as an example, the received fingerprint and the data fragment corresponding to the fingerprint may be stored in the fingerprint data storage module of the wireless Ethernet interface hard disk by using the received fingerprint as an index.
  • the downlink data transmission amount can be greatly reduced, the air interface energy consumption can be effectively reduced, and the fingerprint conflict problem can be better solved.
  • the transmitted data may be pre-compressed, and the data packet to be sent is compressed by the pre-fingerprint library host device and then sent to the The wireless Ethernet interface hard disk. That is, the pre-print fingerprint library host device will count The data fragment corresponding to the obtained fingerprint and the calculated fingerprint is sent to the wireless Ethernet interface hard disk, and the data segment corresponding to the calculated fingerprint is compressed and sent to the wireless Ethernet interface hard disk. After the wireless Ethernet interface hard disk receives the data, it decompresses it to obtain the required data fragmentation.
  • the air interface energy consumption of the wireless Ethernet interface hard disk is far greater than the energy consumption of its internal data processing such as decompression. Therefore, this method can further reduce the power consumption of the wireless Ethernet interface hard disk and prolong the use time of the wireless Ethernet interface hard disk. .
  • the pre-fingerprint library host device is set on the wireless transmission path of the wireless Ethernet interface hard disk, and the received data is sliced and processed for the slice processing.
  • Each data segment calculates a fingerprint, compares the calculated fingerprint with the fingerprint recorded in the fingerprint database, and if there is the same, sends a fingerprint to the wireless Ethernet interface hard disk technical solution, and obtains the following technical effects:
  • the method of the embodiment of the present invention is described from the end of the pre-printing fingerprint library host device. To help understand the technical solution of the present invention, the method of the embodiment of the present invention is further described in detail from the end of the wireless Ethernet interface hard disk. .
  • the wireless Ethernet interface hard disk is used as the main body, and the method of the embodiment of the present invention may include:
  • the wireless Ethernet interface hard disk receives data sent by the front fingerprint library host device, where the data carries a fingerprint, and the fingerprint is used to represent data fragmentation.
  • the data sent by the pre-finger library host device received by the wireless Ethernet interface hard disk may include data fragments and fingerprints, and may only include fingerprints.
  • the fingerprint may include some identification symbols to indicate that it is a fingerprint, rather than a data fragment.
  • the pre-fingerprint library host device simultaneously calculates the check code of each data slice, and then sends the pre-print fingerprint library host device received by the wireless Ethernet interface hard disk.
  • Data which may include data fragments and their fingerprints and checksums, or just fingerprints and checksums.
  • the wireless Ethernet interface hard disk acquires the data fragment corresponding to the fingerprint from the fingerprint data storage module according to the fingerprint.
  • the wireless Ethernet interface hard disk After receiving the data sent by the pre-printing fingerprint host device, the wireless Ethernet interface hard disk determines whether the data received by the fingerprint carries the data fragment corresponding to the fingerprint.
  • the received data carries the data fragment corresponding to the fingerprint, it is considered that, for the wireless Ethernet interface hard disk, the received data fragment is new data, and thus, the wireless Ethernet interface hard disk can receive data from the received data.
  • the data fragment corresponding to the received fingerprint may be saved as an index to the fingerprint data storage module of the wireless Ethernet interface hard disk, and the data fragment and the fingerprint thereof are displayed in the fingerprint data storage module. Correspondence.
  • the fingerprint data storage module may be configured by the wireless Ethernet interface hard disk, and configured to save a data fragment set of the wireless Ethernet interface hard disk, where the data fragment set uses an fingerprint as an index to store different data. Fragmentation.
  • the method of the embodiment of the present invention further includes the step of establishing the fingerprint data storage module.
  • Step 320 that is, according to the received fingerprint, the data fragment corresponding to the fingerprint is obtained from the fingerprint data storage module of the fingerprint, and then the corresponding processing may be performed according to the content of the service request, for example, storage or Reported to the application for processing and more. Since the length of the fingerprint is much smaller than the data fragmentation, in this case, the air interface energy consumption of the wireless Ethernet interface hard disk can be greatly reduced.
  • the pre-fingerprint library host device in consideration of an application scenario in which a fingerprint conflict occurs, simultaneously calculates a check code of each data slice, and the data received by the wireless Ethernet interface hard disk may also carry data fragments.
  • Check code, Bell ' J the data received by the wireless Ethernet interface hard disk may also carry data fragments.
  • the wireless Ethernet interface hard disk saves the data slice corresponding to the fingerprint as an index to the fingerprint by using the fingerprint as an index.
  • the data storage module may include: the wireless Ethernet interface hard disk saves the data fragment corresponding to the fingerprint and the verification code of the data fragment corresponding to the fingerprint by using the fingerprint as an index. Go to the fingerprint data storage module.
  • the wireless Ethernet interface hard disk acquires the fingerprint corresponding to the fingerprint from the fingerprint data storage module according to the fingerprint.
  • Data fragmentation can include:
  • the wireless Ethernet interface hard disk can receive the data fragment sent by the pre-print fingerprint library host device And storing the fingerprint data storage module by using the fingerprint as an index; if the verification code is consistent, the confirmation message may be returned to the pre-print fingerprint library host device.
  • the downlink data transmission amount can be greatly reduced, the air interface energy consumption can be effectively reduced, and the fingerprint conflict problem can be better solved.
  • the front fingerprint library host device may compress the data fragments to be sent and send the data to the wireless Ethernet interface hard disk. Then, after receiving the data, the wireless Ethernet interface hard disk may be decompressed to obtain the required data fragmentation, and then perform subsequent processing, for example, including: deciphering the data corresponding to the fingerprint. After compression, save to the fingerprint data storage module or perform other processing.
  • the air interface energy consumption of the wireless Ethernet interface hard disk is far greater than the energy consumption of its internal data processing such as decompression. Therefore, this method can further reduce the power consumption of the wireless Ethernet interface hard disk and prolong the use time of the wireless Ethernet interface hard disk. .
  • the pre-fingerprint library host device is set on the wireless transmission path of the wireless Ethernet interface hard disk, and the received data is sliced and processed for the slice processing.
  • Each data segment calculates a fingerprint, compares the calculated fingerprint with the fingerprint recorded in the fingerprint database, and if there is the same, sends a fingerprint to the wireless Ethernet interface hard disk technical solution, and obtains the following technical effects:
  • an embodiment of the present invention provides a pre-fingerprint library host device.
  • the pre-print fingerprint library host device can communicate wirelessly with the wireless Ethernet interface hard disk.
  • the pre-fingerprint library host device and the wireless Ethernet interface hard disk form a system, and all data to be sent to the wireless Ethernet interface hard disk is first sent to the pre-fingerprint library host device for pre-processing, and then sent by the pre-fingerprint library host device.
  • Wireless Ethernet interface hard drive Wireless Ethernet interface hard drive.
  • the pre-print fingerprint library host device may include:
  • the sharding module 410 is configured to perform shard processing on the received data to obtain a data fragmentation.
  • the fingerprint module 420 is configured to calculate a fingerprint for the data fragment, where the fingerprint is used to represent the data fragment.
  • the determining module 430 is configured to determine whether a fingerprint corresponding to the calculated fingerprint is recorded in a fingerprint database of the pre-print fingerprint library host device, where the fingerprint database is used to record data fragments in the wireless Ethernet interface hard disk. Fingerprint
  • the sending module 440 is configured to: if the determining module determines that the fingerprint in the fingerprint database has the same fingerprint as the calculated fingerprint, send the calculated fingerprint to the wireless Ethernet interface hard disk.
  • the pre-fingerprint library host device may further include: a verification module 460, configured to calculate a check code for the data segment corresponding to the calculated fingerprint;
  • the sending module 440 is specifically configured to: if the fingerprint in the fingerprint database has the same fingerprint as the calculated fingerprint, verify the data segment corresponding to the calculated fingerprint and the calculated fingerprint The code is sent to the wireless Ethernet interface hard disk.
  • the sending module 440 is further configured to: if the determining module determines that the fingerprint in the fingerprint database is not the same fingerprint as the calculated fingerprint, calculate the obtained fingerprint and calculate The data fragment corresponding to the fingerprint is sent to the wireless Ethernet interface hard disk.
  • the pre-fingerprint library host device may further include: a recording module 450, configured to: if the determining module determines that the fingerprint database is not the same as the calculated fingerprint The fingerprint is recorded in the fingerprint database.
  • the pre-fingerprint library host device may further include: a compression module 470, configured to compress data fragments corresponding to the calculated fingerprints; 440. Specifically, the data fragment that is compressed by the compression module is sent to the wireless Ethernet interface hard disk.
  • the sending module 440 is specifically configured to verify, by using the calculated fingerprint, the data fragment corresponding to the calculated fingerprint, and the data fragment corresponding to the calculated fingerprint.
  • the code is sent to the wireless Ethernet interface hard disk.
  • the pre-fingerprint library host device is set on the wireless transmission path of the wireless Ethernet interface hard disk, and the received data is sliced and processed for the slice processing.
  • Each data segment calculates a fingerprint, compares the calculated fingerprint with the fingerprint recorded in the fingerprint database, and if there is the same, sends a fingerprint to the wireless Ethernet interface hard disk technical solution, and obtains the following technical effects:
  • an embodiment of the present invention provides a wireless Ethernet interface hard disk.
  • the wireless Ethernet interface hard disk can communicate wirelessly with the front fingerprint library host device.
  • the pre-fingerprint library host device and the wireless Ethernet interface hard disk form a system, and all data to be sent to the wireless Ethernet interface hard disk is first sent to the pre-fingerprint library host device for pre-processing, and then sent by the pre-fingerprint library host device.
  • the wireless Ethernet interface hard disk may include:
  • the receiving module 510 is configured to receive data sent by the pre-print fingerprint library host device, where the receiving The received data carries a fingerprint, and the fingerprint is used to represent data fragments;
  • the obtaining module 520 is configured to obtain, according to the fingerprint, the data fragment corresponding to the fingerprint from the fingerprint data storage module 530;
  • the fingerprint data storage module 530 is configured to save a data fragment set of the wireless Ethernet interface hard disk, where the data fragment set uses an fingerprint as an index to store different data fragments.
  • the wireless Ethernet interface hard disk further includes: a determining module 540, configured to determine whether the received data carries a data fragment corresponding to the fingerprint, if the receiving The data fragment does not carry the data fragment corresponding to the fingerprint, and the obtaining module 520 is configured to acquire the data fragment corresponding to the fingerprint from the fingerprint data storage module according to the fingerprint.
  • a determining module 540 configured to determine whether the received data carries a data fragment corresponding to the fingerprint, if the receiving The data fragment does not carry the data fragment corresponding to the fingerprint
  • the obtaining module 520 is configured to acquire the data fragment corresponding to the fingerprint from the fingerprint data storage module according to the fingerprint.
  • the received data further carries a verification code of the data fragment corresponding to the fingerprint;
  • the obtaining module 530 may include:
  • an obtaining unit configured to acquire, according to the fingerprint, a verification code of the data fragment corresponding to the fingerprint from the fingerprint data storage module;
  • a determining unit configured to determine whether the received check code is consistent with the verification code obtained from the fingerprint data storage module
  • a sending unit configured to: if the check code is inconsistent, return a data acquisition indication message to the pre-print fingerprint library host device, where the data acquisition indication message is used to indicate that the pre-print fingerprint library host device corresponds to the fingerprint
  • the data fragment is sent to the wireless Ethernet interface hard disk.
  • the fingerprint data storage module 530 is further configured to: if the received data carries a data fragment corresponding to the fingerprint, pass the data fragment corresponding to the fingerprint through the The fingerprint is saved as an index to the fingerprint data storage module.
  • the fingerprint data storage module 530 may be specifically configured to: if the received data further carries a check code of a data slice corresponding to the fingerprint, corresponding to the fingerprint. The data slice and the check code of the data slice corresponding to the fingerprint are saved to the fingerprint data storage module by using the fingerprint as an index.
  • the wireless Ethernet interface hard disk may further include: a decompression module 550, configured to decompress the data fragment corresponding to the fingerprint;
  • the fingerprint data storage module 530 is specifically configured to save the data fragment compressed by the decompression module to the fingerprint data storage module by using the fingerprint as an index.
  • the wireless Ethernet interface hard disk has a built-in processor and a wireless transmission interface (ie, an air interface) compared to the conventional passive hard disk; not only can handle SCSI defined read and write and status monitoring. Such operations; can also use its own processor, do not need a host to run independently, and provide a lot of extended service capabilities; and can use their own air interface for wireless data transmission.
  • a wireless transmission interface ie, an air interface
  • the pre-fingerprint library host device is set on the wireless transmission path of the wireless Ethernet interface hard disk, and the received data is sliced and processed for the slice processing.
  • Each data segment calculates a fingerprint, compares the calculated fingerprint with the fingerprint recorded in the fingerprint database, and if there is the same, sends a fingerprint to the wireless Ethernet interface hard disk technical solution, and obtains the following technical effects:
  • the embodiment of the present invention further provides a storage system.
  • the system includes a wireless Ethernet interface hard disk 110 and a front fingerprint library host device 120.
  • the front fingerprint library host device 120 is as shown in FIG. 4a.
  • the wireless Ethernet interface hard disk 110 is a wireless Ethernet interface hard disk provided by the embodiment of FIG. 5a or 5b. specific,
  • the pre-print fingerprint library host device 120 can include:
  • the sharding module 410 is configured to perform shard processing on the received data to obtain a data fragmentation.
  • the fingerprint module 420 is configured to calculate a fingerprint for the data fragment, where the fingerprint is used to represent the data fragment.
  • the determining module 430 is configured to determine whether a fingerprint corresponding to the calculated fingerprint is recorded in a fingerprint database of the pre-print fingerprint library host device, where the fingerprint database is used to record data fragments in the wireless Ethernet interface hard disk. Fingerprint
  • the sending module 440 is configured to: if the determining module determines that the fingerprint is in the fingerprint database The fingerprints of the same interface are sent to the wireless Ethernet interface hard disk; as shown in FIG. 5a, the wireless Ethernet interface hard disk 110 may include:
  • the receiving module 510 is configured to receive data sent by the pre-print fingerprint library host device, where the received data carries a fingerprint, where the fingerprint is used to represent data fragmentation;
  • the obtaining module 520 is configured to obtain, according to the fingerprint, the data fragment corresponding to the fingerprint from the fingerprint data storage module 530;
  • the fingerprint data storage module 530 is configured to save a data fragment set of the wireless Ethernet interface hard disk, where the data fragment set uses an fingerprint as an index to store different data fragments.
  • the embodiment of the present invention discloses a storage system, in which the data to be sent to the wireless Ethernet interface hard disk first arrives at the pre-fingerprint library host device, and the pre-fingerprint library host device performs slice processing, which is obtained for the slice processing.
  • Each data fragment is used to calculate the fingerprint; by performing fingerprint comparison, for repeated data fragmentation, instead of transmitting the data fragment, only the fingerprint is sent to the wireless Ethernet interface hard disk, that is, the fingerprint transmission is used instead of the data fragment transmission. It can effectively reduce the amount of downlink data transmission, which can greatly reduce the air interface energy consumption of the wireless Ethernet interface hard disk, and improve the usage time of the wireless Ethernet interface hard disk under the condition of using the battery as a whole.
  • FIG. 6 is a device for transmitting a wireless interface of a wireless Ethernet interface according to an embodiment of the present invention, where the device may include:
  • the processor 601, the memory 602, and the communication interface 605 are connected by the system bus 604 and complete communication with each other.
  • Processor 601 may be a single core or multi-core central processing unit, or a particular integrated circuit, or one or more integrated circuits configured to implement embodiments of the present invention.
  • the memory 602 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.
  • Memory 602 is used to store computer execution instructions 603. Specifically, the program code may be included in the computer execution instruction 603.
  • the processor 601 runs a computer execution instruction 603, which may execute the embodiment.
  • the device may be a pre-fingerprint library host device.
  • the method flow of the wireless Ethernet interface hard disk transmission method in the second embodiment is performed, the device may be a wireless Ethernet interface hard disk.
  • the embodiment of the present invention provides a computer readable medium, including a computer executing instruction, when the processor of the computer executes the computer to execute an instruction, the method for executing the method of the wireless Ethernet interface hard disk transmission method of the first embodiment.
  • the embodiment of the present invention further provides a computer readable medium, including a computer executing instructions, when the processor of the computer executes the computer to execute an instruction, where the computer executes the method of the wireless Ethernet interface hard disk transmission method of the second embodiment.
  • a computer readable medium including a computer executing instructions, when the processor of the computer executes the computer to execute an instruction, where the computer executes the method of the wireless Ethernet interface hard disk transmission method of the second embodiment.
  • the program may be stored in a computer readable storage medium, and the storage medium may include: ROM, RAM, disk or CD, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Collating Specific Patterns (AREA)

Abstract

A transmission method for a wireless Ethernet interface hard disk, a related device and a system, so as to reduce air interface consumption of the wireless Ethernet interface hard disk. In some feasible implementation manners of the present invention, the method is used for a system comprising the wireless Ethernet interface hard disk and a pre-fingerprint database host device, and the wireless Ethernet interface hard disk communicates with the pre-fingerprint database host device in a wireless manner. The method comprises: the pre-fingerprint database host device slices received data to obtain a data slice, and calculates a fingerprint for the data slice, the fingerprint being used for representing the data slice; the pre-fingerprint database host device determines whether a fingerprint the same as the calculated fingerprint is recorded in a fingerprint database, the fingerprint database being used for recording a fingerprint of a data slice in the wireless Ethernet interface hard disk; and if the fingerprint the same as the calculated fingerprint exists in the fingerprint database, the pre-fingerprint database host device sends the calculated fingerprint to the wireless Ethernet interface hard disk.

Description

无线以太接口硬盘传输方法和相关设备及系统 技术领域  Wireless Ethernet interface hard disk transmission method and related equipment and system

本发明涉及通信和计算机及存储技术领域,具体涉及一种无线以太接口硬 盘传输方法和相关设备及系统。  The present invention relates to the field of communications and computer and storage technologies, and in particular, to a wireless Ethernet interface hard disk transmission method and related devices and systems.

背景技术 Background technique

云存储的兴起加速了基于键 /值 ( Key-Value )方式接口的应用。 业界已出 现了基于 Key-Value语义的以太接口硬盘(即以太网接口硬盘)。 以太接口硬 盘抛弃传统的小型计算机系统接口 ( Small Computer System Interface, SCSI ) 协议标准, 转而釆用以太接口进行外部通信。  The rise of cloud storage has accelerated the application of interfaces based on key-value methods. The Ethernet interface hard disk (ie Ethernet interface hard disk) based on Key-Value semantics has appeared in the industry. The Ethernet interface hard disk discards the traditional Small Computer System Interface (SCSI) protocol standard and uses the Ethernet interface for external communication.

以太接口硬盘除用于企业数据中心 (Date Center, DC ) 云存储外, 也可 以用于消费领域, 例如充当移动硬盘 (使用电气和电子工程师协会(Institute of Electrical and Electronics Engineers , IEEE ) 802.11bg十办议 )、无线 PVR(Personal Video Recorder, 个人视频记录器)等。  In addition to the enterprise data center (Date Center, DC) cloud storage, the Ethernet interface hard disk can also be used in the consumer field, for example, as a mobile hard disk (using the Institute of Electrical and Electronics Engineers (IEEE) 802.11bg ten Office, wireless PVR (Personal Video Recorder, personal video recorder), etc.

目前以太接口硬盘可以支持无线传输协议,该类无线以太接口硬盘釆用空 口 (即空中接口)进行无线数据传输, 并由移动电源进行供电来减少对电源线 的依赖, 以应用于移动场景。  At present, the Ethernet interface hard disk can support the wireless transmission protocol. The wireless Ethernet interface hard disk uses the air interface (ie, the air interface) for wireless data transmission, and is powered by the mobile power source to reduce the dependence on the power line for the mobile scene.

然而,现有的无线以太接口硬盘是基于空口进行无线数据传输, 空口能耗 非常大,而移动电源的电能是有限的,必须考虑无线以太接口硬盘的节能需要。 发明内容  However, the existing wireless Ethernet interface hard disk is based on air interface for wireless data transmission, and the air interface energy consumption is very large, and the power of the mobile power source is limited, and the energy saving requirement of the wireless Ethernet interface hard disk must be considered. Summary of the invention

本发明实施例提供一种无线以太接口硬盘传输方法和相关设备及系统,以 降低无线以太接口硬盘的空口能耗。  The embodiment of the invention provides a wireless Ethernet interface hard disk transmission method and related equipment and system, so as to reduce the air interface energy consumption of the wireless Ethernet interface hard disk.

本发明第一方面提供一种无线以太接口硬盘传输方法,用于包括无线以太 接口硬盘和前置指纹库宿主设备的系统,且所述无线以太接口硬盘和所述前置 指纹库宿主设备釆用无线方式通信; 所述方法包括: 所述前置指纹库宿主设备 对接收到的数据进行切片处理, 得到数据分片, 为所述数据分片计算指纹, 所 述指纹用于代表所述数据分片;所述前置指纹库宿主设备确定指纹库中是否记 录有与所述计算得到的指纹相同的指纹,所述指纹库用于记录所述无线以太接 口硬盘中的数据分片的指纹;若所述指纹库中有与所述计算得到的指纹相同的 指纹,则所述前置指纹库宿主设备将所述计算得到的指纹发送给所述无线以太 接口硬盘。 A first aspect of the present invention provides a wireless Ethernet interface hard disk transmission method for a system including a wireless Ethernet interface hard disk and a front fingerprint library host device, and the wireless Ethernet interface hard disk and the pre-print fingerprint library host device are used. The method includes: the pre-fingerprint library host device performs a slice process on the received data to obtain a data fragment, and calculates a fingerprint for the data fragment, where the fingerprint is used to represent the data segment. a pre-fingerprint library host device determines whether a fingerprint corresponding to the calculated fingerprint is recorded in the fingerprint database, and the fingerprint database is used to record the wireless Ethernet connection a fingerprint of the data slice in the hard disk; if the fingerprint database has the same fingerprint as the calculated fingerprint, the pre-print fingerprint library host device sends the calculated fingerprint to the wireless ether Interface hard disk.

在第一种可能的实现方式中, 所述方法还包括: 所述前置指纹库宿主设备 为所述计算得到的指纹对应的数据分片计算校验码;则所述若所述指纹库中有 与所述计算得到的指纹相同的指纹,则所述前置指纹库宿主设备将所述计算得 到的指纹发送给所述无线以太接口硬盘包括:若所述指纹库中有与所述计算得 到的指纹相同的指纹,则所述前置指纹库宿主设备将所述计算得到的指纹和所 结合第一方面或者第一方面的第一种可能的实现方式,在第二种可能的实 现方式中, 所述方法还包括: 若所述指纹库中没有与所述计算得到的指纹相同 的指纹,所述前置指纹库宿主设备将所述计算得到的指纹及所述计算得到的指 纹对应的数据分片发送给所述无线以太接口硬盘。  In a first possible implementation, the method further includes: the pre-fingerprint library host device calculates a check code for the data segment corresponding to the calculated fingerprint; If the fingerprint is the same as the calculated fingerprint, the pre-print fingerprint library host device sends the calculated fingerprint to the wireless Ethernet interface hard disk, including: if the fingerprint database has the calculated The fingerprint of the same fingerprint, the pre-fingerprint library host device will use the calculated fingerprint and the first aspect or the first possible implementation of the first aspect, in a second possible implementation manner The method further includes: if the fingerprint database does not have the same fingerprint as the calculated fingerprint, the pre-print fingerprint library host device uses the calculated fingerprint and the calculated fingerprint corresponding data. The slice is sent to the wireless Ethernet interface hard disk.

结合第一方面的第二种可能的实现方式,在第三种可能的实现方式中, 所 述方法还包括: 若所述指纹库中没有与所述计算得到的指纹相同的指纹, 所述 前置指纹库宿主设备将所述计算得到的指纹记录在指纹库中。  In conjunction with the second possible implementation of the first aspect, in a third possible implementation, the method further includes: if the fingerprint database does not have the same fingerprint as the calculated fingerprint, the front The fingerprint library host device records the calculated fingerprint in the fingerprint database.

结合第一方面的第二种或第三种可能的实现方式,在第四种可能的实现方 式中,所述前置指纹库宿主设备将所述计算得到的指纹及所述计算得到的指纹 对应的数据分片发送给所述无线以太接口硬盘包括:所述前置指纹库宿主设备 将所述计算得到的指纹对应的数据分片进行压缩后发送给所述无线以太接口 硬盘。  In conjunction with the second or third possible implementation of the first aspect, in a fourth possible implementation, the pre-fingerprint library host device corresponds the calculated fingerprint and the calculated fingerprint The data fragment is sent to the wireless Ethernet interface hard disk, and the pre-print fingerprint library host device compresses the data fragment corresponding to the calculated fingerprint and sends the data fragment to the wireless Ethernet interface hard disk.

结合第一方面的第二种或第三种可能的实现方式,在第五种可能的实现方 式中,所述前置指纹库宿主设备将所述计算得到的指纹及所述计算得到的指纹 对应的数据分片发送给所述无线以太接口硬盘包括:所述前置指纹库宿主设备 将所述计算得到的指纹、所述计算得到的指纹对应的数据分片以及所述计算得 本发明第二方面提供一种无线以太接口硬盘传输方法,用于包括无线以太 接口硬盘和前置指纹库宿主设备的系统,且所述无线以太接口硬盘和所述前置 指纹库宿主设备釆用无线方式通信; 所述方法包括: 所述无线以太接口硬盘接 收所述前置指纹库宿主设备发送的数据, 所述接收到的数据中携带指纹, 所述 指纹用于代表数据分片; 所述无线以太接口硬盘根据所述指纹,从指纹数据存 管模块中获取与所述指纹对应的数据分片。 In conjunction with the second or third possible implementation of the first aspect, in a fifth possible implementation, the pre-fingerprint library host device corresponds the calculated fingerprint and the calculated fingerprint Sending the data fragment to the wireless Ethernet interface hard disk includes: the pre-fingerprint library host device segments the calculated fingerprint, the calculated fingerprint corresponding data, and the calculated second invention The invention provides a wireless Ethernet interface hard disk transmission method for a system including a wireless Ethernet interface hard disk and a front fingerprint library host device, and the wireless Ethernet interface hard disk and the front device The fingerprint library host device communicates in a wireless manner; the method includes: the wireless Ethernet interface hard disk receives data sent by the pre-print fingerprint library host device, and the received data carries a fingerprint, and the fingerprint is used to represent Data fragmentation; the wireless Ethernet interface hard disk acquires data fragments corresponding to the fingerprint from the fingerprint data storage module according to the fingerprint.

在第一种可能的实现方式中, 所述方法还包括: 所述无线以太接口硬盘确 定所述接收到的数据中是否携带所述指纹对应的数据分片,如果所述接收到的 数据中不携带所述指纹对应的数据分片,则执行所述无线以太接口硬盘从所述 指纹数据存管模块中获取与所述指纹对应的数据分片的步骤。  In a first possible implementation manner, the method further includes: determining, by the wireless Ethernet interface hard disk, whether the received data carries a data fragment corresponding to the fingerprint, if the received data is not And carrying the data fragment corresponding to the fingerprint, and performing the step of acquiring, by the wireless Ethernet interface hard disk, the data fragment corresponding to the fingerprint from the fingerprint data storage module.

结合第二方面的第一种可能的实现方式,在第二种可能的实现方式中, 所 述接收到的数据中还携带所述指纹对应的数据分片的效验码; 则, 所述无线以 太接口硬盘根据所述指纹,从指纹数据存管模块中获取所述接收到的指纹对应 的数据分片包括: 所述无线以太接口硬盘根据所述指纹,从指纹数据存管模块 中获取所述指纹对应的数据分片的效验码;所述无线以太接口硬盘判断所述收 到的校验码和所述从所述指纹数据存管模块获取到的效验码是否一致;若校验 码不一致,则所述无线以太接口硬盘返回数据获取指示消息给所述前置指纹库 宿主设备,所述数据获取指示消息用于指示所述前置指纹库宿主设备将所述指 纹对应的数据分片发送给所述无线以太接口硬盘。  With reference to the first possible implementation manner of the second aspect, in a second possible implementation manner, the received data further carries a verification code of the data fragment corresponding to the fingerprint; Obtaining, according to the fingerprint, the data fragment corresponding to the received fingerprint from the fingerprint data storage module, the interface hard disk comprises: the wireless Ethernet interface hard disk acquiring the fingerprint from the fingerprint data storage module according to the fingerprint a verification code of the corresponding data fragment; the wireless Ethernet interface hard disk determines whether the received verification code is consistent with the verification code obtained from the fingerprint data storage module; if the verification codes are inconsistent, The wireless Ethernet interface hard disk returns a data acquisition indication message to the pre-print fingerprint library host device, where the data acquisition indication message is used to instruct the pre-print fingerprint library host device to send the data fragment corresponding to the fingerprint to the The wireless Ethernet interface hard disk.

结合第二方面的第一种可能的实现方式,在第三种可能的实现方式中, 所 述方法还包括: 如果所述接收到的数据中携带所述指纹对应的数据分片, 则所 述无线以太接口硬盘将所述指纹对应的数据分片通过所述指纹作为索引保存 到所述指纹数据存管模块。  With the first possible implementation of the second aspect, in a third possible implementation, the method further includes: if the received data carries a data fragment corresponding to the fingerprint, The wireless Ethernet interface hard disk saves the data fragment corresponding to the fingerprint to the fingerprint data storage module by using the fingerprint as an index.

结合第二方面的第三种可能的实现方式,在第四种可能的实现方式中, 所 述接收到的数据中还携带所述指纹对应的数据分片的效验码;则所述无线以太 接口硬盘将所述指纹对应的数据分片通过所述指纹作为索引保存到所述指纹 数据存管模块包括:所述无线以太接口硬盘将所述指纹对应的数据分片和所述 指纹对应的数据分片的校验码通过所述指纹作为索引保存到所述指纹数据存 管模块。  With reference to the third possible implementation manner of the second aspect, in a fourth possible implementation, the received data further includes a verification code of the data fragment corresponding to the fingerprint; and the wireless Ethernet interface The hard disk saves the data fragment corresponding to the fingerprint to the fingerprint data storage module by using the fingerprint as an index. The wireless Ethernet interface hard disk divides the data fragment corresponding to the fingerprint and the data corresponding to the fingerprint. The check code of the slice is saved to the fingerprint data storage module by using the fingerprint as an index.

结合第二方面的第三种或第四种可能的实现方式,在第五种可能的实现方 式中,所述无线以太接口硬盘将所述指纹对应的数据分片通过所述指纹作为索 弓 )保存到所述指纹数据存管模块包括:所述无线以太接口硬盘将所述指纹对应 的数据分片解压缩后保存到所述指纹数据存管模块。 In combination with the third or fourth possible implementation of the second aspect, in a fifth possible implementation In the formula, the wireless Ethernet interface hard disk saves the data fragment corresponding to the fingerprint through the fingerprint as a cable to the fingerprint data storage module, and the wireless Ethernet interface hard disk compares the data corresponding to the fingerprint. The slice is decompressed and saved to the fingerprint data storage module.

结合第二方面或第二方面的第一种至第五种可能的实现方式中的任一种, 在第六种可能的实现方式中, 所述方法还包括: 建立所述指纹数据存管模块, 其中, 所述指纹数据存管模块用于保存所述无线以太接口硬盘的数据分片集 合, 所述数据分片集合通过指纹作为索引来保存不同的数据分片。  With reference to the second aspect, or any one of the first to fifth possible implementation manners of the second aspect, in a sixth possible implementation, the method further includes: establishing the fingerprint data storage module The fingerprint data storage module is configured to save a data fragment set of the wireless Ethernet interface hard disk, and the data fragment set uses an fingerprint as an index to store different data fragments.

本发明第三方面提供一种前置指纹库宿主设备,所述前置指纹库宿主设备 与无线以太接口硬盘釆用无线方式通信; 所述前置指纹库宿主设备包括: 切片 模块, 用于对接收到的数据进行切片处理, 得到数据分片; 指纹模块, 用于为 所述数据分片计算指纹, 所述指纹用于代表所述数据分片; 判断模块, 用于确 定前置指纹库宿主设备的指纹库中是否记录有与所述计算得到的指纹相同的 指纹, 所述指纹库用于记录所述无线以太接口硬盘中的数据分片的指纹; 发送 模块, 用于若所述指纹库中有与所述计算得到的指纹相同的指纹, 则将所述计 算得到的指纹发送给所述无线以太接口硬盘。  The third aspect of the present invention provides a pre-fingerprint library host device, wherein the pre-fingerprint library host device and the wireless Ethernet interface hard disk communicate wirelessly; the pre-fingerprint library host device includes: a slicing module, configured to The received data is subjected to a slicing process to obtain a data slice; a fingerprint module is configured to calculate a fingerprint for the data slice, the fingerprint is used to represent the data slice; and a determination module is configured to determine a pre-fingerprint library host Whether the same fingerprint as the calculated fingerprint is recorded in the fingerprint database of the device, the fingerprint database is used to record the fingerprint of the data segment in the wireless Ethernet interface hard disk; and the sending module is configured to use the fingerprint database And having the same fingerprint as the calculated fingerprint, and sending the calculated fingerprint to the wireless Ethernet interface hard disk.

在第一种可能的实现方式中,所述前置指纹库宿主设备还包括:校验模块, 用于为所述计算得到的指纹对应的数据分片计算校验码; 则所述发送模块, 具 体用于若所述指纹库中有与所述计算得到的指纹相同的指纹,则将所述计算得 到的指纹和所述计算得到的指纹对应的数据分片的校验码发送给所述无线以 太接口硬盘。  In a first possible implementation manner, the pre-fingerprint library host device further includes: a verification module, configured to calculate a check code for the data fragment corresponding to the calculated fingerprint; Specifically, if the fingerprint database has the same fingerprint as the calculated fingerprint, the calculated fingerprint and the verification code of the data segment corresponding to the calculated fingerprint are sent to the wireless Ethernet interface hard disk.

结合第三方面或者第三方面的第一种可能的实现方式,在第二种可能的实 现方式中, 所述发送模块,还用于若所述指纹库中没有与所述计算得到的指纹 相同的指纹,则将所述计算得到的指纹及所述计算得到的指纹对应的数据分片 发送给所述无线以太接口硬盘。  With the third aspect or the first possible implementation manner of the third aspect, in a second possible implementation manner, the sending module is further configured to: if the fingerprint database is not the same as the calculated fingerprint And the data fingerprint corresponding to the calculated fingerprint and the calculated fingerprint is sent to the wireless Ethernet interface hard disk.

结合第三方面的第二种可能的实现方式,在第三种可能的实现方式中, 所 述前置指纹库宿主设备还包括: 记录模块, 用于若所述指纹库中没有与所述计 算得到的指纹相同的指纹, 将所述计算得到的指纹记录在指纹库中。  In conjunction with the second possible implementation of the third aspect, in a third possible implementation, the pre-fingerprint library host device further includes: a recording module, configured to: if the fingerprint database does not have the calculation The obtained fingerprint with the same fingerprint is recorded in the fingerprint database.

结合第三方面的第二种或第三种可能的实现方式,在第四种可能的实现方 式中, 所述前置指纹库宿主设备还包括: 压缩模块, 用于将所述计算得到的指 纹对应的数据分片进行压缩; 所述发送模块, 具体用于将所述压缩模块压缩后 的数据分片发送给所述无线以太接口硬盘。 In combination with the second or third possible implementation of the third aspect, in a fourth possible implementation The pre-fingerprint library host device further includes: a compression module, configured to compress the data fragment corresponding to the calculated fingerprint; and the sending module is specifically configured to compress the compression module The data fragment is sent to the wireless Ethernet interface hard disk.

结合第三方面的第二种或第三种可能的实现方式,在第五种可能的实现方 式中, 所述发送模块, 具体用于将所述计算得到的指纹、 所述计算得到的指纹 对应的数据分片以及所述计算得到的指纹对应的数据分片的校验码发送给所 述无线以太接口硬盘。  With reference to the second or third possible implementation manner of the third aspect, in a fifth possible implementation, the sending module is specifically configured to correspond to the calculated fingerprint and the calculated fingerprint The data fragment and the verification code of the data fragment corresponding to the calculated fingerprint are sent to the wireless Ethernet interface hard disk.

本发明第四方面提供一种无线以太接口硬盘,所述无线以太接口硬盘与前 置指纹库宿主设备釆用无线方式通信;所述无线以太接口硬盘包括:接收模块, 用于接收所述前置指纹库宿主设备发送的数据, 所述接收到的数据中携带指 纹, 所述指纹用于代表数据分片; 获取模块, 用于根据所述指纹, 从指纹数据 存管模块中获取所述指纹对应的数据分片; 其中, 所述数据存管模块, 用于保 存所述无线以太接口硬盘的数据分片集合,所述数据分片集合通过指纹作为索 引来保存不同的数据分片。  The fourth aspect of the present invention provides a wireless Ethernet interface hard disk, wherein the wireless Ethernet interface hard disk communicates with the front fingerprint library host device in a wireless manner; the wireless Ethernet interface hard disk includes: a receiving module, configured to receive the front end The data sent by the fingerprint library host device, the received data carries a fingerprint, and the fingerprint is used to represent the data fragmentation; the obtaining module is configured to obtain, according to the fingerprint, the fingerprint corresponding to the fingerprint data storage module The data storage module is configured to save a data fragment set of the wireless Ethernet interface hard disk, and the data fragment set uses an fingerprint as an index to store different data fragments.

在第一种可能的实现方式中, 所述无线以太接口硬盘还包括: 确定模块, 用于确定所述接收到的数据中是否携带所述指纹对应的数据分片,如果所述接 收到的数据中不携带所述指纹对应的数据分片,则指示所述获取模块从所述指 纹数据存管模块中获取与所述指纹对应的数据分片。  In a first possible implementation, the wireless Ethernet interface hard disk further includes: a determining module, configured to determine whether the received data carries a data fragment corresponding to the fingerprint, if the received data If the data fragment corresponding to the fingerprint is not carried, the acquiring module is configured to obtain a data fragment corresponding to the fingerprint from the fingerprint data storage module.

结合第四方面的第一种可能的实现方式,在第二种可能的实现方式中, 所 述接收到的数据中还携带所述指纹对应的数据分片的效验码;所述获取模块包 括: 获取单元, 用于根据所述指纹, 从指纹数据存管模块中获取所述指纹对应 的数据分片的效验码; 判断单元, 用于判断所述收到的校验码和所述从所述指 纹数据存管模块获取到的效验码是否一致; 发送单元, 用于若校验码不一致, 则返回数据获取指示消息给所述前置指纹库宿主设备,所述数据获取指示消息 用于指示所述前置指纹库宿主设备将所述指纹对应的数据分片发送给所述无 线以太接口硬盘。  With reference to the first possible implementation manner of the fourth aspect, in a second possible implementation manner, the received data further includes a verification code of the data fragment corresponding to the fingerprint; the obtaining module includes: An obtaining unit, configured to acquire, according to the fingerprint, a verification code of a data fragment corresponding to the fingerprint from a fingerprint data storage module; a determining unit, configured to determine the received verification code and the And the sending unit is configured to: if the check code is inconsistent, return a data acquisition indication message to the pre-print fingerprint library host device, where the data acquisition indication message is used to indicate The pre-print fingerprint library host device sends the data fragment corresponding to the fingerprint to the wireless Ethernet interface hard disk.

结合第四方面的第一种可能的实现方式,在第三种可能的实现方式中, 所 述指纹数据存管模块,还用于如果所述接收到的数据中携带所述指纹对应的数 据分片,则将所述指纹对应的数据分片通过所述指纹作为索引保存到所述指纹 数据存管模块。 With reference to the first possible implementation manner of the fourth aspect, in a third possible implementation, the fingerprint data storage module is further configured to: if the received data carries the number corresponding to the fingerprint According to the fragmentation, the data fragment corresponding to the fingerprint is saved to the fingerprint data storage module by using the fingerprint as an index.

结合第四方面的第三种可能的实现方式,在第四种可能的实现方式中, 所 述指纹数据存管模块,具体用于如果所述接收到的数据中还携带所述指纹对应 的数据分片的校验码,则将所述指纹对应的数据分片和所述指纹对应的数据分 片的校验码通过所述指纹作为索引保存到所述指纹数据存管模块。  With reference to the third possible implementation manner of the fourth aspect, in a fourth possible implementation, the fingerprint data storage module is specifically configured to: if the received data further carries data corresponding to the fingerprint And the check code of the fragment, the data slice corresponding to the fingerprint and the check code of the data slice corresponding to the fingerprint are saved to the fingerprint data storage module by using the fingerprint as an index.

结合第四方面的第三种或第四种可能的实现方式,在第五种可能的实现方 式中, 所述无线以太接口硬盘还包括: 解压缩模块, 用于将所述指纹对应的数 据分片解压缩; 所述指纹数据存管模块, 具体用于将所述解压缩模块接压缩后 的数据分片通过所述指纹作为索引保存到所述指纹数据存管模块。  With reference to the third or fourth possible implementation manner of the fourth aspect, in a fifth possible implementation, the wireless Ethernet interface hard disk further includes: a decompression module, configured to divide data corresponding to the fingerprint And the fingerprint data storage module is configured to save the data fragment that is compressed by the decompression module to the fingerprint data storage module by using the fingerprint as an index.

本发明第五方面提供一种存储系统, 包括: 如本发明第三方面或者第三方 面的任一种可能的实现方式提供的前置指纹库宿主设备,和本发明第四方面或 者第四方面的任一种可能的实现方式提供的无线以太接口硬盘。  A fifth aspect of the present invention provides a storage system, comprising: a pre-fingerprint library host device according to any of the possible implementation manners of the third aspect or the third aspect of the present invention, and the fourth or fourth aspect of the present invention Any of the possible implementations provided by the wireless Ethernet interface hard drive.

本发明第六方面提供一种前置指纹库宿主设备,所述前置指纹库宿主设备 包括处理器、 存储器、 总线和通信接口; 所述前置指纹库宿主设备用于存储计 算机执行指令, 所述处理器与所述存储器通过所述总线连接, 当所述前置指纹 库宿主设备运行时, 所述处理器执行所述存储器存储的所述计算机执行指令, 以使所述前置指纹库宿主设备执行如本发明第一方面或第一方面的任一种可 能的实现方式中提供的无线以太接口硬盘传输方法。  A sixth aspect of the present invention provides a pre-fingerprint library host device, where the pre-fingerprint library host device includes a processor, a memory, a bus, and a communication interface; the pre-fingerprint library host device is configured to store a computer execution instruction, The processor is coupled to the memory via the bus, and when the pre-print fingerprint library host device is running, the processor executes the computer-executed instructions stored by the memory to cause the pre-fingerprint library host The apparatus performs a wireless Ethernet interface hard disk transmission method as provided in the first aspect of the invention or any of the possible implementations of the first aspect.

本发明第七方面提供一种无线以太接口硬盘,所述无线以太接口硬盘包括 处理器、存储器、 总线和通信接口; 所述无线以太接口硬盘用于存储计算机执 行指令, 所述处理器与所述存储器通过所述总线连接, 当所述无线以太接口硬 盘运行时, 所述处理器执行所述存储器存储的所述计算机执行指令, 以使所述 无线以太接口硬盘执行如本发明第二方面或第二方面的任一种可能的实现方 式中提供的无线以太接口硬盘传输方法。  A seventh aspect of the present invention provides a wireless Ethernet interface hard disk, the wireless Ethernet interface hard disk includes a processor, a memory, a bus, and a communication interface; the wireless Ethernet interface hard disk is configured to store a computer execution instruction, the processor and the The memory is connected by the bus, and when the wireless Ethernet interface hard disk is running, the processor executes the computer-executed instructions stored by the memory to cause the wireless Ethernet interface hard disk to perform the second aspect or the A wireless Ethernet interface hard disk transmission method provided in any of the possible implementations of the second aspect.

本发明第八方面提供一种计算机可读介质, 包括计算机执行指令, 以供计 算机的处理器执行所述计算机执行指令时,所述计算机执行如权利要求 1-6中 任一项所述的无线以太接口硬盘传输方法。  An eighth aspect of the present invention provides a computer readable medium, comprising: computer executed instructions for a processor of a computer to execute the computer execution instructions, the computer performing the wireless apparatus of any one of claims 1-6 Ethernet interface hard disk transmission method.

本发明第九方面提供一种计算机可读介质, 包括计算机执行指令, 以供计 算机的处理器执行所述计算机执行指令时, 所述计算机执行如权利要求 7-13 中任一项所述的无线以太接口硬盘传输方法。 A ninth aspect of the present invention provides a computer readable medium, comprising computer execution instructions for The computer executes the wireless Ethernet interface hard disk transmission method according to any one of claims 7-13 when the processor of the computer executes the computer execution instruction.

由上可见,本发明实施例釆用在无线以太接口硬盘的无线传输路径上设置 前置指纹库宿主设备,对接收到的数据进行切片处理, 并为切片处理得到的数 据分片计算指纹,将计算得到的指纹与指纹库中记录的指纹进行比较,如果有 相同的, 则发送指纹给无线以太接口硬盘的技术方案, 取得了以下技术效果: 通过计算数据分片的指纹, 对于重复的数据分片, 可以只发送指纹, 而不 用发送数据分片给无线以太接口硬盘, 即, 用指纹传输代替数据分片传输, 可 以有效减少下行数据传输量, 从而可以大幅降低无线以太接口硬盘的空口能 耗, 整体上提高无线以太接口硬盘在使用电池供电情况下的使用时间。  It can be seen that, in the embodiment of the present invention, the pre-fingerprint library host device is set on the wireless transmission path of the wireless Ethernet interface hard disk, the received data is sliced, and the fingerprint is obtained for the data segment obtained by the slice processing, and The calculated fingerprint is compared with the fingerprint recorded in the fingerprint database. If there is the same, the technical solution of sending the fingerprint to the wireless Ethernet interface hard disk has the following technical effects: By calculating the fingerprint of the data fragment, for the repeated data points The chip can only send fingerprints instead of sending data fragments to the wireless Ethernet interface hard disk, that is, using fingerprint transmission instead of data fragment transmission, which can effectively reduce the amount of downlink data transmission, thereby greatly reducing the air interface energy consumption of the wireless Ethernet interface hard disk. , as a whole, improve the use time of the wireless Ethernet interface hard disk when using battery power.

附图说明 DRAWINGS

为了更清楚地说明本发明实施例技术方案,下面将对实施例和现有技术描 述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是 本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的 前提下, 还可以根据这些附图获得其它的附图。  In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments and the prior art description will be briefly described below. Obviously, the drawings in the following description are only some implementations of the present invention. For example, other drawings may be obtained from those skilled in the art without any inventive effort.

图 1是本发明中包括无线以太接口硬盘和前置指纹库宿主设备的系统的示 意图;  1 is a schematic diagram of a system including a wireless Ethernet interface hard disk and a front fingerprint library host device in the present invention;

图 2是本发明实施例提供的一种无线以太接口硬盘传输方法的示意图; 图 3是本发明实施例提供的另一种无线以太接口硬盘传输方法的示意图; 图 4a是本发明实施例提供的一种前置指纹库宿主设备的示意图;  2 is a schematic diagram of a wireless Ethernet interface hard disk transmission method according to an embodiment of the present invention; FIG. 3 is a schematic diagram of another wireless Ethernet interface hard disk transmission method according to an embodiment of the present invention; A schematic diagram of a pre-fingerprint library host device;

图 4b是本发明实施例提供的另一种前置指纹库宿主设备的示意图; 图 5 a是本发明实施例提供的一种无线以太接口硬盘的示意图;  Figure 4b is a schematic diagram of another pre-fingerprint library host device according to an embodiment of the present invention; Figure 5a is a schematic diagram of a wireless Ethernet interface hard disk according to an embodiment of the present invention;

图 5b是本发明实施例提供的另一种无线以太接口硬盘的示意图; 图 6是本发明实施例提供的一种用于无线以太接口硬盘传输的装置的结构 组成示意图。  FIG. 5 is a schematic diagram of another wireless Ethernet interface hard disk according to an embodiment of the present invention; FIG. 6 is a schematic structural diagram of an apparatus for wireless Ethernet interface hard disk transmission according to an embodiment of the present invention.

具体实施方式 detailed description

本发明实施例提供一种无线以太接口硬盘传输方法和相关设备及系统,以 降低无线以太接口硬盘的空口能耗。 为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施 例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描述, 显然, 所 描述的实施例仅仅是本发明一部分的实施例, 而不是全部的实施例。基于本发 明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所 有其他实施例, 都应当属于本发明保护的范围。 The embodiment of the invention provides a wireless Ethernet interface hard disk transmission method and related equipment and system, so as to reduce the air interface energy consumption of the wireless Ethernet interface hard disk. The technical solutions in the embodiments of the present invention will be clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is an embodiment of the invention, but not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without departing from the inventive scope should fall within the scope of the present invention.

下面通过具体实施例, 分别进行详细的说明。 实施例一 本发明实施例提供一种无线以太接口硬盘传输方法。  The detailed description will be respectively made below through specific embodiments. Embodiment 1 An embodiment of the present invention provides a wireless Ethernet interface hard disk transmission method.

本发明实施例方法的设计思想是,对接收到的数据进行预处理, 以减少到 达无线以太接口硬盘的下行数据传输量,从而降低无线以太接口硬盘的空口能 耗。 一般的, 无线以太接口硬盘主要应用于数据下载等应用场景, 因此, 本发 明实施例主要针对向无线以太接口硬盘发送的下行数据传输进行优化。  The design method of the method of the embodiment of the present invention is to preprocess the received data to reduce the downlink data transmission amount of the hard disk of the wireless Ethernet interface, thereby reducing the air interface energy consumption of the wireless Ethernet interface hard disk. Generally, the wireless Ethernet interface hard disk is mainly applied to application scenarios such as data downloading. Therefore, the embodiment of the present invention is mainly for optimizing downlink data transmission sent to the wireless Ethernet interface hard disk.

请参考图 1,本发明实施例方法应用于包括无线以太接口硬盘 110和前置指 纹库宿主设备 120的系统,且所述无线以太接口硬盘 110和前置指纹库宿主设备 120釆用无线方式通信, 前置指纹库宿主设备 120位于无线以太接口硬盘 110的 无线传输链路上。本发明实施例中,对接收到的数据进行预处理和优化的操作 由所述前置指纹库宿主设备完成。 所述前置指纹库宿主设备可以是专用设备, 也可以同 WiFi网关 (GW )等无线传输路径上的某设备物理上合设。  Referring to FIG. 1, the method of the embodiment of the present invention is applied to a system including a wireless Ethernet interface hard disk 110 and a pre-fingerprint library host device 120, and the wireless Ethernet interface hard disk 110 and the pre-fingerprint library host device 120 are wirelessly communicated. The pre-print fingerprint library host device 120 is located on the wireless transmission link of the wireless Ethernet interface hard disk 110. In the embodiment of the present invention, the pre-processing and optimization of the received data is performed by the pre-fingerprint library host device. The pre-fingerprint library host device may be a dedicated device, or may be physically combined with a device on a wireless transmission path such as a WiFi gateway (GW).

请参考图 2, 本发明实施例提供的无线以太接口硬盘传输方法可包括: Referring to FIG. 2, a wireless Ethernet interface hard disk transmission method provided by an embodiment of the present invention may include:

210、前置指纹库宿主设备对接收到的数据进行切片处理,得到数据分片, 为所述数据分片计算指纹, 所述指纹用于代表所述数据分片。 210. The pre-fingerprint library host device performs a slice processing on the received data to obtain a data fragment, and calculates a fingerprint for the data fragment, where the fingerprint is used to represent the data fragment.

本发明实施例中,准备发送给无线以太接口硬盘的数据首先到达前置指纹 库宿主设备, 由该设备进行预处理。 具体可包括: 对接收到的数据进行切片处 理, 为切片处理得到的每一个数据分片计算指纹。  In the embodiment of the present invention, the data to be sent to the wireless Ethernet interface hard disk first arrives at the pre-fingerprint library host device, and the device performs pre-processing. Specifically, the method may include: performing slice processing on the received data, and calculating a fingerprint for each data slice obtained by the slice processing.

其中, 所说的切片处理是指将数据切割成几个部分, 其中每个部分就是一 个数据分片。本发明实施例中, 可釆用各种常规切片方法对收到的数据进行切 片处理, 例如, 定长切片方式, 或者, 变长切片方式等。 其中, 所述指纹用于代表所述数据分片。 本实施例中, 所说的指纹一般是 指哈希指纹, 即, 釆用哈希(Hash )函数计算数据分片的哈希值, 计算出的哈 希值即为该数据分片的指纹。哈希函数能够把任意长度的输入,通过散列算法, 变换成固定长度的输出, 该输出就是哈希值(或称为散列值)。 因此, 指纹可 以理解成与数据分片内容相关的一种特殊标识,可通过指纹来判断两个数据分 片是否相同, 如果两个数据分片的指纹相同, 一般情况下, 这两个数据分片也 相同。 因此, 指纹可用于代表或标识数据分片。 Wherein, the slicing process refers to cutting data into several parts, wherein each part is a data piece. In the embodiment of the present invention, the received data may be sliced by using various conventional slicing methods, for example, a fixed length slicing method, or a variable length slicing method. The fingerprint is used to represent the data slice. In this embodiment, the fingerprint generally refers to a hash fingerprint, that is, a hash value is calculated by using a hash function, and the calculated hash value is the fingerprint of the data fragment. A hash function can transform an input of arbitrary length into a fixed-length output through a hashing algorithm. The output is a hash value (or a hash value). Therefore, the fingerprint can be understood as a special identifier related to the content of the data slice. The fingerprint can be used to determine whether the two data fragments are the same. If the fingerprints of the two data fragments are the same, in general, the two data points are The film is the same. Therefore, fingerprints can be used to represent or identify data fragments.

一种实施方式中,可釆用对应变长分片的拉宾( Rabin )指纹( Finger Print) 计算方式, 对数据流窗口中的数据进行切片处理, 包括: 在上一次切片结尾处 开始滑动进行 Rabin计算, 直到计算得到的 Rabin值符合某个规律, 例如末尾几 位等于某个特征值, 此时将此切片作为一个数据分片, 并釆用 MD5 ( Message-Digest Algorithm 5, 信息摘要算法第五版 )或 SHA-1 ( Secure Hash Algorithm-1 , 安全散列算法第一版)等哈希 (Hash ) 函数计算其哈希值作为 该数据分片的指纹。 其中, 为避免 Rabin计算时无法得到特征值, 可设置滑动 窗口的上限或下限, 符合其间大小的切片才作为用于计算指纹的数据分片。  In one embodiment, the data in the data stream window may be sliced by using a Rabin fingerprint print method corresponding to the variable length slice, including: starting to slide at the end of the last slice Rabin calculates, until the calculated Rabin value meets a certain rule, for example, the last few bits are equal to a certain feature value. At this time, the slice is used as a data fragment, and MD5 is used (Message-Digest Algorithm 5, message digest algorithm The Hash function, such as the fifth edition or SHA-1 (Secure Hash Algorithm-1), calculates its hash value as the fingerprint of the data fragment. In order to avoid the eigenvalues that cannot be obtained when the Rabin calculation is performed, the upper or lower limit of the sliding window can be set, and the slice matching the size is used as the data segment for calculating the fingerprint.

另一种实施方式中, 可釆用定长切片计算指纹方式,对数据流窗口中的数 据进行切片处理; 例如: 以 4KB为分片大小, 对接收到的数据按照 4KB进行切 片, 依次计算每个数据分片的哈希值作为其指纹。  In another implementation manner, the fixed length slice can be used to calculate the fingerprint mode, and the data in the data stream window is sliced; for example: 4 KB is used as the slice size, and the received data is sliced according to 4 KB, and each calculation is performed in turn. The hash value of the data fragments is taken as its fingerprint.

220、 前置指纹库宿主设备确认指纹库中是否记录有与所述计算得到的指 纹相同的指纹,所述指纹库用于记录所述无线以太接口硬盘中的数据分片的指 纹。  220. The pre-fingerprint library host device confirms whether the same fingerprint as the calculated fingerprint is recorded in the fingerprint database, and the fingerprint database is used to record the fingerprint of the data slice in the wireless Ethernet interface hard disk.

前置指纹库宿主设备中可包括一个指纹库,用于存储无线以太接口硬盘中 的的数据分片的指纹,从而后续可以通过所述指纹库, 判断无线以太接口硬盘 中是否已经存储有该指纹对应的数据分片。  The front fingerprint library host device may include a fingerprint database for storing fingerprints of data fragments in the wireless Ethernet interface hard disk, so that the fingerprint database may be used to determine whether the fingerprint is already stored in the wireless Ethernet interface hard disk. Corresponding data fragmentation.

本发明实施例中, 对于每一个计算得到的数据分片的指纹, 在存储之前, 可包括一个判断步骤,以判断前置指纹库宿主设备的指纹库中是否记录有与计 算得到的指纹相同的指纹。  In the embodiment of the present invention, for each fingerprint of the calculated data segment, before the storage, a determining step may be included to determine whether the fingerprint file of the pre-print fingerprint library host device records the same fingerprint as the calculated fingerprint. fingerprint.

230、 若所述指纹库中有与所述计算得到的指纹相同的指纹, 则所述前置 指纹库宿主设备将所述计算得到的指纹发送给所述无线以太接口硬盘。 230. If the fingerprint database has the same fingerprint as the calculated fingerprint, the front end The fingerprint library host device sends the calculated fingerprint to the wireless Ethernet interface hard disk.

本实施例中, 前置指纹库宿主设备根据 220步骤的判断结果, 釆用不同的 方式进行后续处理。 其中,  In this embodiment, the pre-fingerprint library host device performs subsequent processing in different manners according to the judgment result of step 220. among them,

如果前置指纹库宿主设备的指纹库中, 没有与计算得到的指纹相同的指 纹, 则认为, 对于无线以太接口硬盘来说, 该计算得到的指纹对应的数据分片 是新的数据, 于是, 前置指纹库宿主设备可将所述计算得到的指纹记录在指纹 库中, 并且, 前置指纹库宿主设备可以将计算得到的指纹以及该指纹对应的数 据分片一起发送给无线以太接口硬盘,由无线以太接口硬盘根据业务请求的内 容进行相应的处理, 例如存储或上报给应用处理等等。 以存储为例, 可将收到 的数据分片通过其指纹作为索引保存在无线以太接口硬盘的指纹数据存管模 块, 在指纹数据存管模块中表现出数据分片及其指纹的对应关系。  If the fingerprint database of the pre-print fingerprint library host device does not have the same fingerprint as the calculated fingerprint, it is considered that, for the wireless Ethernet interface hard disk, the data segment corresponding to the calculated fingerprint is new data, and thus, The pre-fingerprint library host device may record the calculated fingerprint in the fingerprint database, and the pre-print fingerprint library host device may send the calculated fingerprint and the data segment corresponding to the fingerprint to the wireless Ethernet interface hard disk. The wireless Ethernet interface hard disk performs corresponding processing according to the content of the service request, for example, storing or reporting to the application processing and the like. Taking storage as an example, the received data fragment can be stored in the fingerprint data storage module of the wireless Ethernet interface hard disk through its fingerprint as an index, and the corresponding relationship between the data fragment and its fingerprint is displayed in the fingerprint data storage module.

如果前置指纹库宿主设备的指纹库中,已经记录有与计算得到的指纹相同 的指纹, 则可认为, 对于无线以太接口硬盘来说, 该计算得到的指纹对应的数 据分片是旧的数据, 即,认为无线以太接口硬盘中已经存储有该指纹对应的数 据分片, 于是, 前置指纹库宿主设备可以不用将计算得到的指纹对应的数据分 片发送给无线以太接口硬盘,只需要把计算得到的指纹发送给无线以太接口硬 盘即可。无线以太接口硬盘可通过接收到的指纹,从自己的指纹数据存管模块 中查询接收到的指纹对应的数据分片,认为查询到的数据分片即是所需要接收 的数据分片, 然后, 根据业务请求的内容进行相应的处理即可, 例如存储或上 报给应用处理等等等。由于指纹的长度远远小于数据分片, 因此,该种情况下, 可大幅减少无线以太接口硬盘的空口能耗。其中, 所说的指纹数据存管模块用 于保存所述无线以太接口硬盘的数据分片集合,所述数据分片集合通过指纹作 为索引来保存不同的数据分片。  If the fingerprint of the pre-print fingerprint library host device has the same fingerprint as the calculated fingerprint, it can be considered that, for the wireless Ethernet interface hard disk, the data segment corresponding to the calculated fingerprint is the old data. That is, the data segment corresponding to the fingerprint is already stored in the wireless Ethernet interface hard disk. Therefore, the pre-fingerprint library host device may not send the data segment corresponding to the calculated fingerprint to the wireless Ethernet interface hard disk, only need to The calculated fingerprint is sent to the wireless Ethernet interface hard disk. The wireless Ethernet interface hard disk can query the data fragment corresponding to the received fingerprint from the fingerprint data storage module through the received fingerprint, and consider that the data fragment to be queried is the data fragment to be received, and then, According to the content of the business request, the corresponding processing may be performed, such as storing or reporting to the application processing, and the like. Since the length of the fingerprint is much smaller than the data fragmentation, in this case, the air interface energy consumption of the wireless Ethernet interface hard disk can be greatly reduced. The fingerprint data storage module is configured to save a data fragment set of the wireless Ethernet interface hard disk, and the data fragment set uses an fingerprint as an index to store different data fragments.

如果不考虑指纹冲突的可能性, 则可以认为不同的数据分片有不同的指 纹, 对于相同的指纹, 可以认为所对应的数据分片是相同的。 但是, 实际应用 中, 存在指纹冲突的可能性, 即, 对于不同的数据分片, 有可能计算出的指纹 是相同的, 在这种情况下, 上述的技术方案将不能很好的适用。  If the possibility of fingerprint conflict is not considered, it can be considered that different data fragments have different fingerprints, and for the same fingerprint, the corresponding data fragments can be considered to be the same. However, in practical applications, there is a possibility of fingerprint collision, that is, for different data fragments, it is possible that the calculated fingerprints are the same, and in this case, the above technical solution will not be well applicable.

为了解决指纹冲突的问题, 本发明一些实施例中, 上述方法还可包括: 在步骤 210中, 前置指纹库宿主设备对接收到的数据进行切片处理, 得到 至少一个数据分片后, 不仅为其中每一个数据分片计算指纹, 同时, 也为其中 每一个数据分片计算一个校验码。该校验码可以釆用常规的校验码计算方法计 算, 例如 32位循环冗余检查(Cyclical Redundancy Check 32, CRC32 )、 MD5 或 SHA-1等算法。 需要说明的是, 计算指纹和计算校验码没有顺序关系, 也没 有依赖关系。 In order to solve the problem of the fingerprint conflict, in some embodiments of the present invention, the foregoing method may further include: In step 210, the pre-fingerprint library host device performs slice processing on the received data to obtain at least one data slice, and not only calculates a fingerprint for each of the data segments, but also calculates each of the data segments. A check code. The check code can be calculated using a conventional check code calculation method, such as a 32-bit Cyclic Redundancy Check 32 (CRC32), MD5 or SHA-1. It should be noted that there is no order relationship between the calculation of the fingerprint and the calculation of the check code, and there is no dependency.

则在步骤 230中, 若所述指纹库中有与所述计算得到的指纹相同的指纹, 则前置指纹库宿主设备将所述计算得到的指纹发送给所述无线以太接口硬盘 可包括:将所述计算得到的指纹和所述计算得到的指纹对应的数据分片的校验 码发送给所述无线以太接口硬盘。 即, 同时将发送的指纹对应的数据分片的校 验码一并发送给无线以太接口硬盘。以便无线以太接口硬盘可以根据校验码进 一步判断,收到的指纹对应的数据分片与已经存储的相同指纹对应的数据分片 是否一致, 进而根据判断结果,在不一致时要求前置指纹库宿主设备发送所述 计算得到的指紋对应的数据分片。  Then, in step 230, if the fingerprint database has the same fingerprint as the calculated fingerprint, the pre-print fingerprint library host device sends the calculated fingerprint to the wireless Ethernet interface hard disk, which may include: The calculated fingerprint and the verification code of the data segment corresponding to the calculated fingerprint are sent to the wireless Ethernet interface hard disk. That is, the verification code of the data fragment corresponding to the transmitted fingerprint is sent to the wireless Ethernet interface hard disk at the same time. Therefore, the wireless Ethernet interface hard disk can further determine according to the check code, whether the data fragment corresponding to the received fingerprint is consistent with the data fragment corresponding to the same fingerprint already stored, and according to the judgment result, the pre-fingerprint library host is required inconsistently. The device sends the data fragment corresponding to the calculated fingerprint.

另外,如果前置指纹库宿主设备的指纹库中, 没有与计算得到的指纹相同 的指纹, 则, 所述前置指纹库宿主设备将所述计算得到的指纹及所述计算得到 的指纹对应的数据分片发送给所述无线以太接口硬盘可包括:所述前置指纹库 宿主设备将所述计算得到的指纹、所述计算得到的指纹对应的数据分片以及所 述计算得到的指纹对应的数据分片的校验码发送给所述无线以太接口硬盘。无 线以太接口硬盘接收到数据后, 可根据业务请求的内容进行相应的处理, 例如 存储或上报给应用处理等等。 以存储为例, 可将收到指纹和所述指纹对应的数 据分片通过收到的所述指纹作为索引保存在无线以太接口硬盘的指纹数据存 管模块。  In addition, if the fingerprint database of the pre-print fingerprint library host device does not have the same fingerprint as the calculated fingerprint, the pre-print fingerprint library host device corresponds the calculated fingerprint and the calculated fingerprint. The sending of the data fragment to the wireless Ethernet interface hard disk may include: the pre-fingerprint library host device corresponding to the calculated fingerprint, the data fragment corresponding to the calculated fingerprint, and the calculated fingerprint The check code of the data slice is sent to the wireless Ethernet interface hard disk. After receiving the data, the wireless interface hard disk can process the data according to the content of the service request, such as storing or reporting to the application processing. Taking the storage as an example, the received fingerprint and the data fragment corresponding to the fingerprint may be stored in the fingerprint data storage module of the wireless Ethernet interface hard disk by using the received fingerprint as an index.

该种实施方式中,通过釆用指纹和校验码配合的方式, 不仅可以大幅减少 下行数据传输量, 有效降低空口能耗, 还可以较好的解决指纹冲突的问题。  In this embodiment, by using the combination of the fingerprint and the check code, the downlink data transmission amount can be greatly reduced, the air interface energy consumption can be effectively reduced, and the fingerprint conflict problem can be better solved.

在本发明另一些实施例中, 为了进一步降低无线以太接口硬盘的空口能 耗, 可以对传输的数据预先进行压缩, 由前置指纹库宿主设备将待发送的数据 分片进行压缩后发送给所述无线以太接口硬盘。 即, 前置指纹库宿主设备将计 算得到的指纹及所述计算得到的指纹对应的数据分片发送给所述无线以太接 口硬盘可包括:将计算得到的指纹对应的数据分片进行压缩后发送给所述无线 以太接口硬盘。 无线以太接口硬盘接收到数据后, 再进行解压缩, 得到所需要 的数据分片。一般的, 无线以太接口硬盘的空口能耗远远大于其内部数据处理 例如解压的能耗, 因此, 釆用该种方式可以进一步降低无线以太接口硬盘的能 耗, 延长无线以太接口硬盘的使用时间。 In other embodiments of the present invention, in order to further reduce the air interface energy consumption of the wireless Ethernet interface hard disk, the transmitted data may be pre-compressed, and the data packet to be sent is compressed by the pre-fingerprint library host device and then sent to the The wireless Ethernet interface hard disk. That is, the pre-print fingerprint library host device will count The data fragment corresponding to the obtained fingerprint and the calculated fingerprint is sent to the wireless Ethernet interface hard disk, and the data segment corresponding to the calculated fingerprint is compressed and sent to the wireless Ethernet interface hard disk. After the wireless Ethernet interface hard disk receives the data, it decompresses it to obtain the required data fragmentation. Generally, the air interface energy consumption of the wireless Ethernet interface hard disk is far greater than the energy consumption of its internal data processing such as decompression. Therefore, this method can further reduce the power consumption of the wireless Ethernet interface hard disk and prolong the use time of the wireless Ethernet interface hard disk. .

由上可见,在本发明的一些可行的实施方式中, 釆用在无线以太接口硬盘 的无线传输路径上设置前置指纹库宿主设备, 对接收到的数据进行切片处理, 并为切片处理得到的每一个数据分片计算指纹,将计算得到的指纹与指纹库中 记录的指纹进行比较,如果有相同的, 则发送指纹给无线以太接口硬盘的技术 方案, 取得了以下技术效果:  It can be seen that, in some possible implementation manners of the present invention, the pre-fingerprint library host device is set on the wireless transmission path of the wireless Ethernet interface hard disk, and the received data is sliced and processed for the slice processing. Each data segment calculates a fingerprint, compares the calculated fingerprint with the fingerprint recorded in the fingerprint database, and if there is the same, sends a fingerprint to the wireless Ethernet interface hard disk technical solution, and obtains the following technical effects:

通过计算数据分片的指纹, 对于重复的数据分片, 可以只发送指纹, 而不 用发送数据分片给无线以太接口硬盘, 即, 用指纹传输代替数据分片传输, 可 以有效减少下行数据传输量, 从而可以大幅降低无线以太接口硬盘的空口能 耗, 整体上提高无线以太接口硬盘在使用电池供电情况下的使用时间。 实施例二 以上, 从前置指纹库宿主设备一端, 对本发明实施例方法进行了说明; 为 了帮助理解本发明技术方案, 下面, 从无线以太接口硬盘一端, 对本发明实施 例方法做进一步详细的说明。  By calculating the fingerprint of the data fragment, for repeated data fragmentation, only the fingerprint can be sent without sending the data fragment to the wireless Ethernet interface hard disk, that is, using the fingerprint transmission instead of the data fragment transmission, which can effectively reduce the downlink data transmission amount. Therefore, the air interface energy consumption of the wireless Ethernet interface hard disk can be greatly reduced, and the use time of the wireless Ethernet interface hard disk under the condition of using the battery power is improved as a whole. In the second embodiment, the method of the embodiment of the present invention is described from the end of the pre-printing fingerprint library host device. To help understand the technical solution of the present invention, the method of the embodiment of the present invention is further described in detail from the end of the wireless Ethernet interface hard disk. .

请参考图 3, 以无线以太接口硬盘为执行主体, 本发明实施例方法可包括: Referring to FIG. 3, the wireless Ethernet interface hard disk is used as the main body, and the method of the embodiment of the present invention may include:

310、 无线以太接口硬盘接收前置指纹库宿主设备发送的数据, 所述数据 中携带指纹, 所述指纹用于代表数据分片。 310. The wireless Ethernet interface hard disk receives data sent by the front fingerprint library host device, where the data carries a fingerprint, and the fingerprint is used to represent data fragmentation.

在不考虑指纹冲突的应用场景中,无线以太接口硬盘接收到的所述前置指 纹库宿主设备发送的数据, 可能包括数据分片及其指纹, 也可能仅包括指纹。 指纹中可包括一些标识符号, 用来表示自身是指纹, 而不是数据分片。  In the application scenario where the fingerprint conflict is not considered, the data sent by the pre-finger library host device received by the wireless Ethernet interface hard disk may include data fragments and fingerprints, and may only include fingerprints. The fingerprint may include some identification symbols to indicate that it is a fingerprint, rather than a data fragment.

在考虑指纹冲突的应用场景中,前置指纹库宿主设备同时计算每个数据分 片的校验码, 则, 无线以太接口硬盘接收到的所述前置指纹库宿主设备发送的 数据, 可能包括数据分片及其指纹和校验码, 也可能仅包括指纹和校验码。In the application scenario in which the fingerprint conflict is considered, the pre-fingerprint library host device simultaneously calculates the check code of each data slice, and then sends the pre-print fingerprint library host device received by the wireless Ethernet interface hard disk. Data, which may include data fragments and their fingerprints and checksums, or just fingerprints and checksums.

320、 无线以太接口硬盘根据所述指纹, 从指纹数据存管模块中获取所述 指纹对应的数据分片。 320. The wireless Ethernet interface hard disk acquires the data fragment corresponding to the fingerprint from the fingerprint data storage module according to the fingerprint.

无线以太接口硬盘收到前置指纹库宿主设备发送的数据后,可确定所述接 收到的数据中是否携带所述指纹对应的数据分片。  After receiving the data sent by the pre-printing fingerprint host device, the wireless Ethernet interface hard disk determines whether the data received by the fingerprint carries the data fragment corresponding to the fingerprint.

如果接收到的数据中携带所述指纹对应的数据分片, 则认为,对于无线以 太接口硬盘来说, 收到的数据分片是新的数据, 于是, 无线以太接口硬盘可从 收到的数据中获取所述指纹对应的数据分片,根据业务请求的内容进行相应的 处理即可, 例如存储或上报给应用处理等等。 以存储为例, 可将收到的指纹对 应的数据分片通过所述指纹作为索引保存到无线以太接口硬盘的指纹数据存 管模块,在指纹数据存管模块中表现出数据分片及其指纹的对应关系。 所述的 指纹数据存管模块, 可以是所述无线以太接口硬盘建立的, 用于保存所述无线 以太接口硬盘的数据分片集合,所述数据分片集合通过指纹作为索引来保存不 同的数据分片。 换句话说, 本发明实施例方法, 还包括建立所述指纹数据存管 模块的步骤。  If the received data carries the data fragment corresponding to the fingerprint, it is considered that, for the wireless Ethernet interface hard disk, the received data fragment is new data, and thus, the wireless Ethernet interface hard disk can receive data from the received data. Obtaining the data fragment corresponding to the fingerprint, and performing corresponding processing according to the content of the service request, for example, storing or reporting to the application processing, and the like. Taking the storage as an example, the data fragment corresponding to the received fingerprint may be saved as an index to the fingerprint data storage module of the wireless Ethernet interface hard disk, and the data fragment and the fingerprint thereof are displayed in the fingerprint data storage module. Correspondence. The fingerprint data storage module may be configured by the wireless Ethernet interface hard disk, and configured to save a data fragment set of the wireless Ethernet interface hard disk, where the data fragment set uses an fingerprint as an index to store different data. Fragmentation. In other words, the method of the embodiment of the present invention further includes the step of establishing the fingerprint data storage module.

如果接收到的数据中不携带所述指纹对应的数据分片, 则可认为,对于无 线以太接口硬盘来说, 当前的数据分片是已经存储过的数据, 于是, 无线以太 接口硬盘可执行上述步骤 320, 即, 根据接收到的所述指纹, 从自己的指纹数 据存管模块中获取与所述指纹对应的数据分片, 然后,根据业务请求的内容进 行相应的处理即可, 例如存储或上报给应用处理等等。 由于指纹的长度远远小 于数据分片, 因此, 该种情况下, 可大幅减少无线以太接口硬盘的空口能耗。  If the received data does not carry the data fragment corresponding to the fingerprint, it can be considered that, for the wireless Ethernet interface hard disk, the current data fragment is the already stored data, and thus, the wireless Ethernet interface hard disk can execute the above. Step 320, that is, according to the received fingerprint, the data fragment corresponding to the fingerprint is obtained from the fingerprint data storage module of the fingerprint, and then the corresponding processing may be performed according to the content of the service request, for example, storage or Reported to the application for processing and more. Since the length of the fingerprint is much smaller than the data fragmentation, in this case, the air interface energy consumption of the wireless Ethernet interface hard disk can be greatly reduced.

本发明一些实施例中, 考虑指纹冲突的应用场景, 前置指纹库宿主设备同 时计算每个数据分片的校验码, 则, 无线以太接口硬盘接收到的数据, 还可能 携带数据分片的校验码, 贝' J :  In some embodiments of the present invention, in consideration of an application scenario in which a fingerprint conflict occurs, the pre-fingerprint library host device simultaneously calculates a check code of each data slice, and the data received by the wireless Ethernet interface hard disk may also carry data fragments. Check code, Bell ' J :

如果所述接收到的数据中还携带所述指纹对应的数据分片的校验码,则所 述无线以太接口硬盘将所述指纹对应的数据分片通过所述指纹作为索引保存 到所述指纹数据存管模块可具体包括:所述无线以太接口硬盘将所述指纹对应 的数据分片和所述指纹对应的数据分片的校验码通过所述指纹作为索引保存 到所述指纹数据存管模块。 If the received data further carries a check code of the data slice corresponding to the fingerprint, the wireless Ethernet interface hard disk saves the data slice corresponding to the fingerprint as an index to the fingerprint by using the fingerprint as an index. The data storage module may include: the wireless Ethernet interface hard disk saves the data fragment corresponding to the fingerprint and the verification code of the data fragment corresponding to the fingerprint by using the fingerprint as an index. Go to the fingerprint data storage module.

如果接收到的数据中除了包括指纹,还携带所述指纹对应的数据分片的校 验码, 则所述无线以太接口硬盘根据所述指纹,从指纹数据存管模块中获取所 述指纹对应的数据分片可包括:  If the received data includes a fingerprint and a check code of the data slice corresponding to the fingerprint, the wireless Ethernet interface hard disk acquires the fingerprint corresponding to the fingerprint from the fingerprint data storage module according to the fingerprint. Data fragmentation can include:

所述无线以太接口硬盘根据所述指纹,从指纹数据存管模块中获取所述指 纹对应的数据分片的效验码;进一步判断所述收到的校验码和所述从指纹数据 存管模块中获取到的、所述指纹对应的数据分片的校验码是否一致; 若校验码 不一致, 则返回数据获取指示消息给所述前置指纹库宿主设备, 所述数据获取 指示消息用于指示所述前置指纹库宿主设备将所述指纹对应的数据分片发送 给所述无线以太接口硬盘, 然后, 无线以太接口硬盘可接收所述前置指纹库宿 主设备发送的所述数据分片, 并通过指纹为索引保存在指纹数据存管模块; 若 校验码一致, 则可以回复确认消息给所述前置指纹库宿主设备。  And obtaining, by the wireless Ethernet interface hard disk, a verification code of the data fragment corresponding to the fingerprint from the fingerprint data storage module according to the fingerprint; further determining the received verification code and the slave fingerprint data storage module If the check codes of the data fragments corresponding to the fingerprints are consistent, if the check codes are inconsistent, return a data acquisition indication message to the pre-print fingerprint library host device, where the data acquisition indication message is used. Instructing the pre-print fingerprint library host device to send the data fragment corresponding to the fingerprint to the wireless Ethernet interface hard disk, and then the wireless Ethernet interface hard disk can receive the data fragment sent by the pre-print fingerprint library host device And storing the fingerprint data storage module by using the fingerprint as an index; if the verification code is consistent, the confirmation message may be returned to the pre-print fingerprint library host device.

该种实施方式中,通过釆用指纹和校验码配合的方式, 不仅可以大幅减少 下行数据传输量, 有效降低空口能耗, 还可以较好的解决指纹冲突的问题。  In this embodiment, by using the combination of the fingerprint and the check code, the downlink data transmission amount can be greatly reduced, the air interface energy consumption can be effectively reduced, and the fingerprint conflict problem can be better solved.

在本发明另一些实施例中, 为了进一步降低无线以太接口硬盘的空口能 耗,前置指纹库宿主设备可能会将待发送的数据分片进行压缩后发送给无线以 太接口硬盘。 则, 无线以太接口硬盘接收到数据后, 如果判断出是压缩数据, 可先进行解压缩, 得到所需要的数据分片, 再进行后续处理, 例如包括: 将所 述指纹对应的数据分片解压缩后保存到指纹数据存管模块或者进行其它处理 等。一般的, 无线以太接口硬盘的空口能耗远远大于其内部数据处理例如解压 的能耗, 因此, 釆用该种方式可以进一步降低无线以太接口硬盘的能耗, 延长 无线以太接口硬盘的使用时间。  In other embodiments of the present invention, in order to further reduce the air interface power consumption of the wireless Ethernet interface hard disk, the front fingerprint library host device may compress the data fragments to be sent and send the data to the wireless Ethernet interface hard disk. Then, after receiving the data, the wireless Ethernet interface hard disk may be decompressed to obtain the required data fragmentation, and then perform subsequent processing, for example, including: deciphering the data corresponding to the fingerprint. After compression, save to the fingerprint data storage module or perform other processing. Generally, the air interface energy consumption of the wireless Ethernet interface hard disk is far greater than the energy consumption of its internal data processing such as decompression. Therefore, this method can further reduce the power consumption of the wireless Ethernet interface hard disk and prolong the use time of the wireless Ethernet interface hard disk. .

由上可见,在本发明的一些可行的实施方式中, 釆用在无线以太接口硬盘 的无线传输路径上设置前置指纹库宿主设备, 对接收到的数据进行切片处理, 并为切片处理得到的每一个数据分片计算指纹,将计算得到的指纹与指纹库中 记录的指纹进行比较,如果有相同的, 则发送指纹给无线以太接口硬盘的技术 方案, 取得了以下技术效果:  It can be seen that, in some possible implementation manners of the present invention, the pre-fingerprint library host device is set on the wireless transmission path of the wireless Ethernet interface hard disk, and the received data is sliced and processed for the slice processing. Each data segment calculates a fingerprint, compares the calculated fingerprint with the fingerprint recorded in the fingerprint database, and if there is the same, sends a fingerprint to the wireless Ethernet interface hard disk technical solution, and obtains the following technical effects:

通过计算数据分片的指纹, 对于重复的数据分片, 可以只发送指纹, 而不 用发送数据分片给无线以太接口硬盘, 即, 用指纹传输代替数据分片传输, 可 以有效减少下行数据传输量, 从而可以大幅降低无线以太接口硬盘的空口能 耗, 整体上提高无线以太接口硬盘在使用电池供电情况下的使用时间。 实施例三 为了更好的实施本发明实施例的上述方案,下面还提供用于配合实施上述 方案的相关装置。 By calculating the fingerprint of the data slice, for repeated data fragments, you can only send fingerprints instead of Sending data fragments to the wireless Ethernet interface hard disk, that is, using fingerprint transmission instead of data fragment transmission, can effectively reduce the amount of downlink data transmission, thereby greatly reducing the air interface energy consumption of the wireless Ethernet interface hard disk, and improving the wireless Ethernet interface hard disk as a whole. The time of use when using battery power. Embodiment 3 In order to better implement the above solution of the embodiment of the present invention, a related device for implementing the above solution is also provided below.

请参考图 4a, 本发明实施例提供一种前置指纹库宿主设备。 所述前置指纹 库宿主设备能够和无线以太接口硬盘釆用无线方式通信。前置指纹库宿主设备 和无线以太接口硬盘构成一个系统, 所有待发送给无线以太接口硬盘的数据, 首先发送给前置指纹库宿主设备进行预处理后,再由前置指纹库宿主设备发送 给无线以太接口硬盘。  Referring to FIG. 4a, an embodiment of the present invention provides a pre-fingerprint library host device. The pre-print fingerprint library host device can communicate wirelessly with the wireless Ethernet interface hard disk. The pre-fingerprint library host device and the wireless Ethernet interface hard disk form a system, and all data to be sent to the wireless Ethernet interface hard disk is first sent to the pre-fingerprint library host device for pre-processing, and then sent by the pre-fingerprint library host device. Wireless Ethernet interface hard drive.

所述前置指纹库宿主设备可包括:  The pre-print fingerprint library host device may include:

切片模块 410, 用于对接收到的数据进行切片处理, 得到数据分片; 指纹模块 420, 用于为所述数据分片计算指纹, 所述指纹用于代表所述数 据分片;  The sharding module 410 is configured to perform shard processing on the received data to obtain a data fragmentation. The fingerprint module 420 is configured to calculate a fingerprint for the data fragment, where the fingerprint is used to represent the data fragment.

判断模块 430, 用于确定前置指纹库宿主设备的指纹库中是否记录有与所 述计算得到的指纹相同的指纹,所述指纹库用于记录所述无线以太接口硬盘中 的数据分片的指纹;  The determining module 430 is configured to determine whether a fingerprint corresponding to the calculated fingerprint is recorded in a fingerprint database of the pre-print fingerprint library host device, where the fingerprint database is used to record data fragments in the wireless Ethernet interface hard disk. Fingerprint

发送模块 440, 用于若所述判断模块判断指纹库中有与所述计算得到的指 纹相同的指纹, 则将计算得到的指纹发送给所述无线以太接口硬盘。  The sending module 440 is configured to: if the determining module determines that the fingerprint in the fingerprint database has the same fingerprint as the calculated fingerprint, send the calculated fingerprint to the wireless Ethernet interface hard disk.

如图 4b所示, 本发明一些实施例中, 所述前置指纹库宿主设备还可包括: 校验模块 460, 用于为所述计算得到的指纹对应的数据分片计算校验码; 则所述发送模块 440, 具体用于若所述指纹库中与所述计算得到的指纹有 相同的指纹,则将所述计算得到的指纹和所述计算得到的指纹对应的数据分片 的校验码发送给所述无线以太接口硬盘。  As shown in FIG. 4b, in some embodiments of the present invention, the pre-fingerprint library host device may further include: a verification module 460, configured to calculate a check code for the data segment corresponding to the calculated fingerprint; The sending module 440 is specifically configured to: if the fingerprint in the fingerprint database has the same fingerprint as the calculated fingerprint, verify the data segment corresponding to the calculated fingerprint and the calculated fingerprint The code is sent to the wireless Ethernet interface hard disk.

本发明一些实施例中, 所述发送模块 440, 还用于若所述判断模块判断指 纹库中没有与所述计算得到的指纹相同的指纹,则将计算得到的指纹及计算得 到的指纹对应的数据分片发送给所述无线以太接口硬盘。 In some embodiments of the present invention, the sending module 440 is further configured to: if the determining module determines that the fingerprint in the fingerprint database is not the same fingerprint as the calculated fingerprint, calculate the obtained fingerprint and calculate The data fragment corresponding to the fingerprint is sent to the wireless Ethernet interface hard disk.

如图 4b所示, 本发明一些实施例中, 所述前置指纹库宿主设备还可包括: 记录模块 450, 用于若所述判断模块判断指纹库中没有与所述计算得到的指纹 相同的指纹, 将所述计算得到的指纹记录在指纹库中。  As shown in FIG. 4b, in some embodiments of the present invention, the pre-fingerprint library host device may further include: a recording module 450, configured to: if the determining module determines that the fingerprint database is not the same as the calculated fingerprint The fingerprint is recorded in the fingerprint database.

如图 4b所示, 本发明一些实施例中, 所述前置指纹库宿主设备还可包括: 压缩模块 470, 用于将所述计算得到的指纹对应的数据分片进行压缩; 所述发送模块 440, 具体用于将所述压缩模块压缩后的数据分片发送给所 述无线以太接口硬盘。  As shown in FIG. 4b, in some embodiments of the present invention, the pre-fingerprint library host device may further include: a compression module 470, configured to compress data fragments corresponding to the calculated fingerprints; 440. Specifically, the data fragment that is compressed by the compression module is sent to the wireless Ethernet interface hard disk.

本发明一些实施例中, 所述发送模块 440, 具体用于将所述计算得到的指 纹、所述计算得到的指纹对应的数据分片以及所述计算得到的指纹对应的数据 分片的校验码发送给所述无线以太接口硬盘。  In some embodiments of the present invention, the sending module 440 is specifically configured to verify, by using the calculated fingerprint, the data fragment corresponding to the calculated fingerprint, and the data fragment corresponding to the calculated fingerprint. The code is sent to the wireless Ethernet interface hard disk.

由上可见,在本发明的一些可行的实施方式中, 釆用在无线以太接口硬盘 的无线传输路径上设置前置指纹库宿主设备, 对接收到的数据进行切片处理, 并为切片处理得到的每一个数据分片计算指纹,将计算得到的指纹与指纹库中 记录的指纹进行比较,如果有相同的, 则发送指纹给无线以太接口硬盘的技术 方案, 取得了以下技术效果:  It can be seen that, in some possible implementation manners of the present invention, the pre-fingerprint library host device is set on the wireless transmission path of the wireless Ethernet interface hard disk, and the received data is sliced and processed for the slice processing. Each data segment calculates a fingerprint, compares the calculated fingerprint with the fingerprint recorded in the fingerprint database, and if there is the same, sends a fingerprint to the wireless Ethernet interface hard disk technical solution, and obtains the following technical effects:

通过计算数据分片的指纹, 对于重复的数据分片, 可以只发送指纹, 而不 用发送数据分片给无线以太接口硬盘, 即, 用指纹传输代替数据分片传输, 可 以有效减少下行数据传输量, 从而可以大幅降低无线以太接口硬盘的空口能 耗, 整体上提高无线以太接口硬盘在使用电池供电情况下的使用时间。 实施例四 请参考图 5a, 本发明实施例提供一种无线以太接口硬盘。 所述无线以太接 口硬盘能够和前置指纹库宿主设备釆用无线方式通信。前置指纹库宿主设备和 无线以太接口硬盘构成一个系统, 所有待发送给无线以太接口硬盘的数据, 首 先发送给前置指纹库宿主设备进行预处理后,再由前置指纹库宿主设备发送给 无线以太接口硬盘。 所述无线以太接口硬盘可包括:  By calculating the fingerprint of the data fragment, for repeated data fragmentation, only the fingerprint can be sent without sending the data fragment to the wireless Ethernet interface hard disk, that is, using the fingerprint transmission instead of the data fragment transmission, which can effectively reduce the downlink data transmission amount. Therefore, the air interface energy consumption of the wireless Ethernet interface hard disk can be greatly reduced, and the use time of the wireless Ethernet interface hard disk under the condition of using the battery power is improved as a whole. Embodiment 4 Referring to FIG. 5a, an embodiment of the present invention provides a wireless Ethernet interface hard disk. The wireless Ethernet interface hard disk can communicate wirelessly with the front fingerprint library host device. The pre-fingerprint library host device and the wireless Ethernet interface hard disk form a system, and all data to be sent to the wireless Ethernet interface hard disk is first sent to the pre-fingerprint library host device for pre-processing, and then sent by the pre-fingerprint library host device. Wireless Ethernet interface hard drive. The wireless Ethernet interface hard disk may include:

接收模块 510, 用于接收所述前置指纹库宿主设备发送的数据, 所述接收 到的数据中携带指纹, 所述指纹用于代表数据分片; The receiving module 510 is configured to receive data sent by the pre-print fingerprint library host device, where the receiving The received data carries a fingerprint, and the fingerprint is used to represent data fragments;

获取模块 520, 用于根据所述指纹,从指纹数据存管模块 530中获取所述指 纹对应的数据分片;  The obtaining module 520 is configured to obtain, according to the fingerprint, the data fragment corresponding to the fingerprint from the fingerprint data storage module 530;

所述指纹数据存管模块 530, 用于保存所述无线以太接口硬盘的数据分片 集合, 所述数据分片集合通过指纹作为索引来保存不同的数据分片。  The fingerprint data storage module 530 is configured to save a data fragment set of the wireless Ethernet interface hard disk, where the data fragment set uses an fingerprint as an index to store different data fragments.

如图 5b所示, 本发明一些实施例中, 无线以太接口硬盘还包括: 确定模块 540, 用于确定所述接收到的数据中是否携带所述指纹对应的数 据分片,如果所述接收到的数据中不携带所述指纹对应的数据分片, 则指示所 述获取模块 520根据所述指纹, 从指纹数据存管模块中获取与所述指纹对应的 数据分片。  As shown in FIG. 5b, in some embodiments of the present invention, the wireless Ethernet interface hard disk further includes: a determining module 540, configured to determine whether the received data carries a data fragment corresponding to the fingerprint, if the receiving The data fragment does not carry the data fragment corresponding to the fingerprint, and the obtaining module 520 is configured to acquire the data fragment corresponding to the fingerprint from the fingerprint data storage module according to the fingerprint.

本发明一些实施例中,所述接收到的数据中还携带所述指纹对应的数据分 片的效验码; 所述获取模块 530可包括:  In some embodiments of the present invention, the received data further carries a verification code of the data fragment corresponding to the fingerprint; the obtaining module 530 may include:

获取单元, 用于根据所述指纹,从指纹数据存管模块中获取所述指纹对应 的数据分片的效验码;  And an obtaining unit, configured to acquire, according to the fingerprint, a verification code of the data fragment corresponding to the fingerprint from the fingerprint data storage module;

判断单元,用于判断所述收到的校验码和所述从所述指纹数据存管模块获 取到的效验码是否一致;  a determining unit, configured to determine whether the received check code is consistent with the verification code obtained from the fingerprint data storage module;

发送单元, 用于若校验码不一致, 则返回数据获取指示消息给所述前置指 纹库宿主设备,所述数据获取指示消息用于指示所述前置指纹库宿主设备将所 述指纹对应的数据分片发送给所述无线以太接口硬盘。  a sending unit, configured to: if the check code is inconsistent, return a data acquisition indication message to the pre-print fingerprint library host device, where the data acquisition indication message is used to indicate that the pre-print fingerprint library host device corresponds to the fingerprint The data fragment is sent to the wireless Ethernet interface hard disk.

本发明一些实施例中, 所述指纹数据存管模块 530, 还用于如果所述接收 到的数据中携带所述指纹对应的数据分片,则将所述指纹对应的数据分片通过 所述指纹作为索引保存到所述指纹数据存管模块。  In some embodiments of the present invention, the fingerprint data storage module 530 is further configured to: if the received data carries a data fragment corresponding to the fingerprint, pass the data fragment corresponding to the fingerprint through the The fingerprint is saved as an index to the fingerprint data storage module.

本发明一些实施例中, 所述指纹数据存管模块 530, 可具体用于如果所述 接收到的数据中还携带所述指纹对应的数据分片的校验码,则将所述指纹对应 的数据分片和所述指纹对应的数据分片的校验码通过所述指纹作为索引保存 到所述指纹数据存管模块。  In some embodiments of the present invention, the fingerprint data storage module 530 may be specifically configured to: if the received data further carries a check code of a data slice corresponding to the fingerprint, corresponding to the fingerprint The data slice and the check code of the data slice corresponding to the fingerprint are saved to the fingerprint data storage module by using the fingerprint as an index.

如图 5b所示, 本发明一些实施例中, 所述无线以太接口硬盘还可包括: 解压缩模块 550, 用于将所述指纹对应的所述数据分片解压缩; 所述指纹数据存管模块 530, 具体用于将所述解压缩模块接压缩后的数据 分片通过所述指纹作为索引保存到所述指纹数据存管模块。 As shown in FIG. 5b, in some embodiments of the present invention, the wireless Ethernet interface hard disk may further include: a decompression module 550, configured to decompress the data fragment corresponding to the fingerprint; The fingerprint data storage module 530 is specifically configured to save the data fragment compressed by the decompression module to the fingerprint data storage module by using the fingerprint as an index.

本发明实施例中, 所说的无线以太接口硬盘, 相对于传统的被动式 ( passive )硬盘, 增加了内置的处理器和无线传输接口 (即空口); 不仅能处 理 SCSI定义的读写以及状态监控等操作;还可以利用自有处理器,不需要宿主 机而独立运行, 并提供很多扩展服务能力; 以及可以利用自有的空口, 进行无 线数据传输。  In the embodiment of the present invention, the wireless Ethernet interface hard disk has a built-in processor and a wireless transmission interface (ie, an air interface) compared to the conventional passive hard disk; not only can handle SCSI defined read and write and status monitoring. Such operations; can also use its own processor, do not need a host to run independently, and provide a lot of extended service capabilities; and can use their own air interface for wireless data transmission.

由上可见,在本发明的一些可行的实施方式中, 釆用在无线以太接口硬盘 的无线传输路径上设置前置指纹库宿主设备, 对接收到的数据进行切片处理, 并为切片处理得到的每一个数据分片计算指纹,将计算得到的指纹与指纹库中 记录的指纹进行比较,如果有相同的, 则发送指纹给无线以太接口硬盘的技术 方案, 取得了以下技术效果:  It can be seen that, in some possible implementation manners of the present invention, the pre-fingerprint library host device is set on the wireless transmission path of the wireless Ethernet interface hard disk, and the received data is sliced and processed for the slice processing. Each data segment calculates a fingerprint, compares the calculated fingerprint with the fingerprint recorded in the fingerprint database, and if there is the same, sends a fingerprint to the wireless Ethernet interface hard disk technical solution, and obtains the following technical effects:

通过计算数据分片的指纹, 对于重复的数据分片, 可以只发送指纹, 而不 用发送数据分片给无线以太接口硬盘, 即, 用指纹传输代替数据分片传输, 可 以有效减少下行数据传输量, 从而可以大幅降低无线以太接口硬盘的空口能 耗, 整体上提高无线以太接口硬盘在使用电池供电情况下的使用时间。 本发明实施例还提供一种存储系统, 如图 1所示, 该系统包括无线以太接 口硬盘 110和前置指纹库宿主设备 120; 其中, 所说的前置指纹库宿主设备 120 是如图 4a或 4b实施例提供的前置指纹库宿主设备, 所说的无线以太接口硬盘 110是如图 5a或 5b实施例提供的无线以太接口硬盘。 具体的,  By calculating the fingerprint of the data fragment, for repeated data fragmentation, only the fingerprint can be sent without sending the data fragment to the wireless Ethernet interface hard disk, that is, using the fingerprint transmission instead of the data fragment transmission, which can effectively reduce the downlink data transmission amount. Therefore, the air interface energy consumption of the wireless Ethernet interface hard disk can be greatly reduced, and the use time of the wireless Ethernet interface hard disk under the condition of using the battery power is improved as a whole. The embodiment of the present invention further provides a storage system. As shown in FIG. 1 , the system includes a wireless Ethernet interface hard disk 110 and a front fingerprint library host device 120. The front fingerprint library host device 120 is as shown in FIG. 4a. Or the front fingerprint library host device provided by the embodiment of FIG. 5b, the wireless Ethernet interface hard disk 110 is a wireless Ethernet interface hard disk provided by the embodiment of FIG. 5a or 5b. specific,

如图 4a所示, 所述前置指纹库宿主设备 120可包括:  As shown in FIG. 4a, the pre-print fingerprint library host device 120 can include:

切片模块 410, 用于对接收到的数据进行切片处理, 得到数据分片; 指纹模块 420, 用于为所述数据分片计算指纹, 所述指纹用于代表所述数 据分片;  The sharding module 410 is configured to perform shard processing on the received data to obtain a data fragmentation. The fingerprint module 420 is configured to calculate a fingerprint for the data fragment, where the fingerprint is used to represent the data fragment.

判断模块 430, 用于确定前置指纹库宿主设备的指纹库中是否记录有与所 述计算得到的指纹相同的指纹,所述指纹库用于记录所述无线以太接口硬盘中 的数据分片的指纹;  The determining module 430 is configured to determine whether a fingerprint corresponding to the calculated fingerprint is recorded in a fingerprint database of the pre-print fingerprint library host device, where the fingerprint database is used to record data fragments in the wireless Ethernet interface hard disk. Fingerprint

发送模块 440, 用于若所述判断模块判断指纹库中有与所述计算得到的指 纹相同的指纹, 则将计算得到的指纹发送给所述无线以太接口硬盘; 如图 5a所述, 所述无线以太接口硬盘 110可包括: The sending module 440 is configured to: if the determining module determines that the fingerprint is in the fingerprint database The fingerprints of the same interface are sent to the wireless Ethernet interface hard disk; as shown in FIG. 5a, the wireless Ethernet interface hard disk 110 may include:

接收模块 510, 用于接收所述前置指纹库宿主设备发送的数据, 所述接收 到的数据中携带指纹, 所述指纹用于代表数据分片;  The receiving module 510 is configured to receive data sent by the pre-print fingerprint library host device, where the received data carries a fingerprint, where the fingerprint is used to represent data fragmentation;

获取模块 520, 用于根据所述指纹,从指纹数据存管模块 530中获取所述指 纹对应的数据分片;  The obtaining module 520 is configured to obtain, according to the fingerprint, the data fragment corresponding to the fingerprint from the fingerprint data storage module 530;

所述指纹数据存管模块 530, 用于保存所述无线以太接口硬盘的数据分片 集合, 所述数据分片集合通过指纹作为索引来保存不同的数据分片。  The fingerprint data storage module 530 is configured to save a data fragment set of the wireless Ethernet interface hard disk, where the data fragment set uses an fingerprint as an index to store different data fragments.

以上, 本发明实施例公开了一种存储系统, 该系统中, 准备发送给无线以 太接口硬盘的数据首先到达前置指纹库宿主设备,由前置指纹库宿主设备进行 切片处理, 为切片处理得到的每一个数据分片计算指纹; 通过进行指纹比较, 对于重复的数据分片, 可以不用发送数据分片, 而是只发送指纹给无线以太接 口硬盘, 即, 用指纹传输代替数据分片传输, 可以有效减少下行数据传输量, 从而可以大幅降低无线以太接口硬盘的空口能耗,整体上提高无线以太接口硬 盘在使用电池供电情况下的使用时间。 如图 6, 为本发明实施例提供的一种用于无线以太接口硬盘传输的装置, 所述装置可以包括:  In the above, the embodiment of the present invention discloses a storage system, in which the data to be sent to the wireless Ethernet interface hard disk first arrives at the pre-fingerprint library host device, and the pre-fingerprint library host device performs slice processing, which is obtained for the slice processing. Each data fragment is used to calculate the fingerprint; by performing fingerprint comparison, for repeated data fragmentation, instead of transmitting the data fragment, only the fingerprint is sent to the wireless Ethernet interface hard disk, that is, the fingerprint transmission is used instead of the data fragment transmission. It can effectively reduce the amount of downlink data transmission, which can greatly reduce the air interface energy consumption of the wireless Ethernet interface hard disk, and improve the usage time of the wireless Ethernet interface hard disk under the condition of using the battery as a whole. FIG. 6 is a device for transmitting a wireless interface of a wireless Ethernet interface according to an embodiment of the present invention, where the device may include:

处理器 601、 存储器 602、 系统总线 604 (简称总线)和通信接口 605。 处理 器 601、存储器 602和通信接口 605之间通过系统总线 604连接并完成相互间的通 信。  A processor 601, a memory 602, a system bus 604 (referred to as a bus), and a communication interface 605. The processor 601, the memory 602, and the communication interface 605 are connected by the system bus 604 and complete communication with each other.

处理器 601可能为单核或多核中央处理单元, 或者为特定集成电路, 或者 为被配置成实施本发明实施例的一个或多个集成电路。  Processor 601 may be a single core or multi-core central processing unit, or a particular integrated circuit, or one or more integrated circuits configured to implement embodiments of the present invention.

存储器 602可以为高速 RAM存储器,也可以为非易失性存储器( non-volatile memory ), 例如至少一个磁盘存者器。  The memory 602 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.

存储器 602用于存储计算机执行指令 603。 具体的, 计算机执行指令 603中 可以包括程序代码。  Memory 602 is used to store computer execution instructions 603. Specifically, the program code may be included in the computer execution instruction 603.

当所述装置运行时, 处理器 601运行计算机执行指令 603, 可以执行实施例 一或实施例二所述的无线以太接口硬盘传输方法的方法流程。当执行实施例一 的无线以太接口硬盘传输方法的方法流程时,所述装置可以为前置指纹库宿主 设备。 当执行实施例二所述的无线以太接口硬盘传输方法的方法流程时, 所述 装置可以为无线以太接口硬盘。 本发明实施例提供了一种计算机可读介质, 包括计算机执行指令, 以供计 算机的处理器执行所述计算机执行指令时,所述计算机执行实施例一的无线以 太接口硬盘传输方法的方法流程。 本发明实施例还提供了一种计算机可读介质, 包括计算机执行指令, 以供 计算机的处理器执行所述计算机执行指令时,所述计算机执行实施例二的无线 以太接口硬盘传输方法的方法流程。 在上述实施例中,对各个实施例的描述都各有侧重, 某个实施例中没有详 细描述的部分, 可以参见其它实施例的相关描述。 需要说明的是, 对于前述的各方法实施例, 为了简单描述, 故将其都表述 为一系列的动作组合,但是本领域技术人员应该知悉, 本发明并不受所描述动 作顺序的限制, 因为依据本发明, 某些步骤可以釆用其它顺序或者同时进行。 其次, 本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施 例, 所涉及的动作和模块并不一定是本发明所必须的。 When the device is running, the processor 601 runs a computer execution instruction 603, which may execute the embodiment. The method flow of the wireless Ethernet interface hard disk transmission method according to the second embodiment or the second embodiment. When the method flow of the wireless Ethernet interface hard disk transmission method of the first embodiment is performed, the device may be a pre-fingerprint library host device. When the method flow of the wireless Ethernet interface hard disk transmission method in the second embodiment is performed, the device may be a wireless Ethernet interface hard disk. The embodiment of the present invention provides a computer readable medium, including a computer executing instruction, when the processor of the computer executes the computer to execute an instruction, the method for executing the method of the wireless Ethernet interface hard disk transmission method of the first embodiment. The embodiment of the present invention further provides a computer readable medium, including a computer executing instructions, when the processor of the computer executes the computer to execute an instruction, where the computer executes the method of the wireless Ethernet interface hard disk transmission method of the second embodiment. . In the above embodiments, the descriptions of the various embodiments are different, and the parts that are not described in detail in a certain embodiment can be referred to the related descriptions of other embodiments. It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence, because In accordance with the present invention, certain steps may be performed in other sequences or concurrently. In addition, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步 骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读 存储介质中, 存储介质可以包括: ROM、 RAM, 磁盘或光盘等。  A person skilled in the art may understand that all or part of the various steps of the foregoing embodiments may be completed by a program instructing related hardware. The program may be stored in a computer readable storage medium, and the storage medium may include: ROM, RAM, disk or CD, etc.

以上对本发明实施例所提供的无线以太接口硬盘传输方法和相关设备及 了阐述, 以上实施例的说明只是用于帮助理解本发明的方法及其核心思想; 同 时, 对于本领域的一般技术人员, 依据本发明的思想, 在具体实施方式及应用 范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。  The foregoing description of the wireless Ethernet interface hard disk transmission method and related equipment provided by the embodiments of the present invention are provided for the purpose of facilitating understanding of the method and core idea of the present invention. Meanwhile, for those skilled in the art, The present invention is not limited by the scope of the present invention.

Claims

权 利 要 求 Rights request 1、 一种无线以太接口硬盘传输方法, 其特征在于, 用于包括无线以太接 口硬盘和前置指纹库宿主设备的系统,且所述无线以太接口硬盘和所述前置指 纹库宿主设备釆用无线方式通信; 所述方法包括:  A wireless Ethernet interface hard disk transmission method, characterized in that it is used in a system including a wireless Ethernet interface hard disk and a front fingerprint library host device, and the wireless Ethernet interface hard disk and the front fingerprint library host device are used Wireless communication; the method includes: 所述前置指纹库宿主设备对接收到的数据进行切片处理, 得到数据分片, 为所述数据分片计算指纹, 所述指纹用于代表所述数据分片;  The pre-fingerprint library host device performs a slice processing on the received data to obtain a data fragment, and calculates a fingerprint for the data fragment, where the fingerprint is used to represent the data fragment; 所述前置指纹库宿主设备确定指纹库中是否记录有与所述计算得到的指 纹相同的指纹,所述指纹库用于记录所述无线以太接口硬盘中的数据分片的指 纹;  The pre-fingerprint library host device determines whether a fingerprint corresponding to the calculated fingerprint is recorded in the fingerprint database, and the fingerprint database is used to record a fingerprint of the data slice in the wireless Ethernet interface hard disk; 若所述指纹库中有与所述计算得到的指纹相同的指纹,则所述前置指纹库 宿主设备将所述计算得到的指纹发送给所述无线以太接口硬盘。  If the fingerprint database has the same fingerprint as the calculated fingerprint, the pre-print fingerprint library host device sends the calculated fingerprint to the wireless Ethernet interface hard disk. 2、 根据权利要求 1所述的方法, 其特征在于, 还包括:  2. The method according to claim 1, further comprising: 所述前置指纹库宿主设备为所述计算得到的指纹对应的数据分片计算校 验码;  The pre-fingerprint library host device calculates a verification code for the data fragment corresponding to the calculated fingerprint; 则所述若所述指纹库中有与所述计算得到的指纹相同的指纹,则所述前置 指纹库宿主设备将所述计算得到的指纹发送给所述无线以太接口硬盘包括: 若所述指纹库中有与所述计算得到的指纹相同的指纹,则所述前置指纹库 宿主设备将所述计算得到的指纹和所述计算得到的指纹对应的数据分片的校 验码发送给所述无线以太接口硬盘。  If the fingerprint database has the same fingerprint as the calculated fingerprint, the pre-print fingerprint library host device sends the calculated fingerprint to the wireless Ethernet interface hard disk. The fingerprint database has the same fingerprint as the calculated fingerprint, and the pre-print fingerprint library host device sends the calculated fingerprint and the verification code of the data segment corresponding to the calculated fingerprint to the The wireless Ethernet interface hard disk. 3、 根据权利要求 1或 2所述的方法, 其特征在于, 还包括:  The method according to claim 1 or 2, further comprising: 若所述指纹库中没有与所述计算得到的指纹相同的指纹,所述前置指纹库 宿主设备将所述计算得到的指纹及所述计算得到的指纹对应的数据分片发送 给所述无线以太接口硬盘。  If the fingerprint database does not have the same fingerprint as the calculated fingerprint, the pre-print fingerprint library host device sends the calculated fingerprint and the data segment corresponding to the calculated fingerprint to the wireless Ethernet interface hard disk. 4、 根据权利要求 3所述的方法, 其特征在于, 还包括:  4. The method according to claim 3, further comprising: 若所述指纹库中没有与所述计算得到的指纹相同的指纹,所述前置指纹库 宿主设备将所述计算得到的指纹记录在指纹库中。  If the fingerprint database does not have the same fingerprint as the calculated fingerprint, the pre-print fingerprint library host device records the calculated fingerprint in the fingerprint database. 5、 根据权利要求 3或 4所述的方法, 其特征在于, 所述前置指纹库宿主设 备将所述计算得到的指纹及所述计算得到的指纹对应的数据分片发送给所述 无线以太接口硬盘包括: The method according to claim 3 or 4, wherein the pre-fingerprint library host device sends the calculated fingerprint and the data segment corresponding to the calculated fingerprint to the Wireless Ethernet interface hard drives include: 所述前置指纹库宿主设备将所述计算得到的指纹对应的数据分片进行压 缩后发送给所述无线以太接口硬盘。  The pre-fingerprint library host device compresses the data fragment corresponding to the calculated fingerprint and sends the data fragment to the wireless Ethernet interface hard disk. 6、 根据权利要求 3或 4所述的方法, 其特征在于, 所述前置指纹库宿主设 备将所述计算得到的指纹及所述计算得到的指纹对应的数据分片发送给所述 无线以太接口硬盘包括:  The method according to claim 3 or 4, wherein the pre-fingerprint library host device sends the calculated fingerprint and the data segment corresponding to the calculated fingerprint to the wireless ethernet. Interface hard disks include: 所述前置指纹库宿主设备将所述计算得到的指纹、所述计算得到的指纹对 应的数据分片以及所述计算得到的指纹对应的数据分片的校验码发送给所述 无线以太接口硬盘。  The pre-fingerprint library host device sends the calculated fingerprint, the data fragment corresponding to the calculated fingerprint, and the verification code of the data fragment corresponding to the calculated fingerprint to the wireless Ethernet interface. hard disk. 7、 一种无线以太接口硬盘传输方法, 其特征在于, 用于包括无线以太接 口硬盘和前置指纹库宿主设备的系统,且所述无线以太接口硬盘和所述前置指 纹库宿主设备釆用无线方式通信; 所述方法包括:  A wireless Ethernet interface hard disk transmission method, characterized in that it is used in a system including a wireless Ethernet interface hard disk and a front fingerprint library host device, and the wireless Ethernet interface hard disk and the pre-print fingerprint library host device are used Wireless communication; the method includes: 所述无线以太接口硬盘接收所述前置指纹库宿主设备发送的数据,所述接 收到的数据中携带指纹, 所述指纹用于代表数据分片;  The wireless Ethernet interface hard disk receives data sent by the pre-print fingerprint library host device, and the received data carries a fingerprint, where the fingerprint is used to represent data fragments; 所述无线以太接口硬盘根据所述指纹,从指纹数据存管模块中获取与所述 指纹对应的数据分片。  The wireless Ethernet interface hard disk acquires data fragments corresponding to the fingerprint from the fingerprint data storage module according to the fingerprint. 8、 根据权利要求 7所述的方法, 其特征在于, 所述方法还包括: 所述无线以太接口硬盘确定所述接收到的数据中是否携带所述指纹对应 的数据分片,如果所述接收到的数据中不携带所述指纹对应的数据分片, 则执 行所述无线以太接口硬盘从所述指纹数据存管模块中获取与所述指纹对应的 数据分片的步骤。  The method according to claim 7, wherein the method further comprises: determining, by the wireless Ethernet interface hard disk, whether the received data carries a data fragment corresponding to the fingerprint, if the receiving And the step of acquiring the data fragment corresponding to the fingerprint from the fingerprint data storage module by executing the wireless Ethernet interface hard disk. 9、根据权利要求 8所述的方法, 其特征在于, 所述接收到的数据中还携带 所述指纹对应的数据分片的效验码;  The method according to claim 8, wherein the received data further carries a verification code of the data fragment corresponding to the fingerprint; 贝 'J, 所述无线以太接口硬盘根据所述指纹,从指纹数据存管模块中获取所 述接收到的指纹对应的数据分片包括:  According to the fingerprint, the wireless Ethernet interface hard disk obtains the data fragment corresponding to the received fingerprint from the fingerprint data storage module, including: 所述无线以太接口硬盘根据所述指纹,从指纹数据存管模块中获取所述指 纹对应的数据分片的效验码;  Acquiring, by the wireless Ethernet interface hard disk, a verification code of the data segment corresponding to the fingerprint from the fingerprint data storage module according to the fingerprint; 所述无线以太接口硬盘判断所述收到的校验码和所述从所述指纹数据存 管模块获取到的效验码是否一致; Determining, by the wireless Ethernet interface hard disk, the received check code and the stored from the fingerprint data Whether the verification codes obtained by the pipe module are consistent; 若校验码不一致,则所述无线以太接口硬盘返回数据获取指示消息给所述 前置指纹库宿主设备,所述数据获取指示消息用于指示所述前置指纹库宿主设 备将所述指纹对应的数据分片发送给所述无线以太接口硬盘。  If the check code is inconsistent, the wireless Ethernet interface hard disk returns a data acquisition indication message to the pre-print fingerprint library host device, where the data acquisition indication message is used to indicate that the pre-print fingerprint library host device corresponds the fingerprint The data fragment is sent to the wireless Ethernet interface hard disk. 10、 根据权利要求 8所述的方法, 其特征在于, 所述方法还包括: 如果所述接收到的数据中携带所述指纹对应的数据分片,则所述无线以太 接口硬盘将所述指纹对应的数据分片通过所述指纹作为索引保存到所述指纹 数据存管模块。  The method according to claim 8, wherein the method further comprises: if the received data carries a data fragment corresponding to the fingerprint, the wireless Ethernet interface hard disk will use the fingerprint Corresponding data fragments are saved to the fingerprint data storage module by using the fingerprint as an index. 11、 根据权利要求 10所述的方法, 其特征在于, 所述接收到的数据中还携 带所述指纹对应的数据分片的效验码;则所述无线以太接口硬盘将所述指纹对 应的数据分片通过所述指纹作为索引保存到所述指纹数据存管模块包括: 所述无线以太接口硬盘将所述指纹对应的数据分片和所述指纹对应的数 据分片的校验码通过所述指纹作为索引保存到所述指纹数据存管模块。  The method according to claim 10, wherein the received data further carries a verification code of the data fragment corresponding to the fingerprint; and the wireless Ethernet interface hard disk compares the data corresponding to the fingerprint The saving of the fragment to the fingerprint data storage module by using the fingerprint as an index includes: the wireless Ethernet interface hard disk passing the data fragment corresponding to the fingerprint and the verification code of the data fragment corresponding to the fingerprint through the The fingerprint is saved as an index to the fingerprint data storage module. 12、 根据权利要求 10或 11所述的方法, 其特征在于, 所述无线以太接口硬 盘将所述指纹对应的数据分片通过所述指纹作为索引保存到所述指纹数据存 管模块包括:  The method according to claim 10 or 11, wherein the wireless Ethernet interface hard disk saves the data fragment corresponding to the fingerprint through the fingerprint as an index to the fingerprint data storage module. 所述无线以太接口硬盘将所述指纹对应的数据分片解压缩后保存到所述 指纹数据存管模块。  The wireless Ethernet interface hard disk decompresses the data slice corresponding to the fingerprint and saves the data to the fingerprint data storage module. 13、 根据权利要求 7-12任一项所述的方法, 其特征在于, 还包括: 建立所述指纹数据存管模块, 其中, 所述指纹数据存管模块用于保存所述 无线以太接口硬盘的数据分片集合,所述数据分片集合通过指纹作为索引来保 存不同的数据分片。  The method according to any one of claims 7 to 12, further comprising: establishing the fingerprint data storage module, wherein the fingerprint data storage module is configured to save the wireless Ethernet interface hard disk A set of data fragments, the data fragment set holding different data fragments by using an fingerprint as an index. 14、 一种前置指纹库宿主设备, 其特征在于, 所述前置指纹库宿主设备与 无线以太接口硬盘釆用无线方式通信; 所述前置指纹库宿主设备包括:  A pre-fingerprint library host device, wherein the pre-fingerprint library host device and the wireless Ethernet interface hard disk communicate wirelessly; the pre-fingerprint library host device includes: 切片模块, 用于对接收到的数据进行切片处理, 得到数据分片; 指纹模块, 用于为所述数据分片计算指纹, 所述指纹用于代表所述数据分 片;  a slice module, configured to perform a slice process on the received data to obtain a data slice; a fingerprint module, configured to calculate a fingerprint for the data slice, where the fingerprint is used to represent the data slice; 判断模块,用于确定前置指纹库宿主设备的指纹库中是否记录有与所述计 算得到的指纹相同的指纹,所述指纹库用于记录所述无线以太接口硬盘中的数 据分片的指纹; a determining module, configured to determine whether the fingerprint database of the pre-print fingerprint library host device is recorded and Calculating a fingerprint with the same fingerprint, the fingerprint database is used to record a fingerprint of the data segment in the wireless Ethernet interface hard disk; 发送模块, 用于若所述指纹库中有与所述计算得到的指纹相同的指纹, 则 将所述计算得到的指纹发送给所述无线以太接口硬盘。  And a sending module, configured to send the calculated fingerprint to the wireless Ethernet interface hard disk if the fingerprint database has the same fingerprint as the calculated fingerprint. 15、 根据权利要求 14所述的前置指纹库宿主设备, 其特征在于, 还包括: 校验模块, 用于为所述计算得到的指纹对应的数据分片计算校验码; 则所述发送模块,具体用于若所述指纹库中有与所述计算得到的指纹相同 的指纹,则将所述计算得到的指纹和所述计算得到的指纹对应的数据分片的校 验码发送给所述无线以太接口硬盘。  The pre-fingerprint library host device according to claim 14, further comprising: a verification module, configured to calculate a check code for the data segment corresponding to the calculated fingerprint; The module is specifically configured to: if the fingerprint database has the same fingerprint as the calculated fingerprint, send the calculated fingerprint and the verification code of the data segment corresponding to the calculated fingerprint to the The wireless Ethernet interface hard disk. 16、 根据权利要求 14或 15所述的前置指纹库宿主设备, 其特征在于: 所述发送模块,还用于若所述指纹库中没有与所述计算得到的指纹相同的 指纹,则将所述计算得到的指纹及所述计算得到的指纹对应的数据分片发送给 所述无线以太接口硬盘。  The pre-fingerprint library host device according to claim 14 or 15, wherein: the sending module is further configured to: if the fingerprint database does not have the same fingerprint as the calculated fingerprint, The calculated fingerprint and the data segment corresponding to the calculated fingerprint are sent to the wireless Ethernet interface hard disk. 17、 根据权利要求 16所述的前置指纹库宿主设备, 其特征在于, 还包括: 记录模块, 用于若所述指纹库中没有与所述计算得到的指纹相同的指纹, 将所述计算得到的指纹记录在指纹库中。  The pre-fingerprint library host device according to claim 16, further comprising: a recording module, configured to: if the fingerprint database does not have the same fingerprint as the calculated fingerprint, the calculation The obtained fingerprint is recorded in the fingerprint library. 18、 根据权利要求 16或 17所述的前置指纹库宿主设备, 其特征在于, 还包 括:  The pre-fingerprint library host device according to claim 16 or 17, further comprising: 压缩模块, 用于将所述计算得到的指纹对应的数据分片进行压缩; 所述发送模块,具体用于将所述压缩模块压缩后的数据分片发送给所述无 线以太接口硬盘。  And a compression module, configured to compress the data fragment corresponding to the calculated fingerprint; the sending module is specifically configured to send the compressed data fragment of the compression module to the wireless Ethernet interface hard disk. 19、 根据权利要求 16或 17所述的前置指纹库宿主设备, 其特征在于: 所述发送模块, 具体用于将所述计算得到的指纹、所述计算得到的指纹对 应的数据分片以及所述计算得到的指纹对应的数据分片的校验码发送给所述 无线以太接口硬盘。  The pre-fingerprint library host device according to claim 16 or 17, wherein the sending module is specifically configured to slice the calculated fingerprint, the calculated fingerprint, and The check code of the data slice corresponding to the calculated fingerprint is sent to the wireless Ethernet interface hard disk. 20、 一种无线以太接口硬盘, 其特征在于, 所述无线以太接口硬盘与前置 指纹库宿主设备釆用无线方式通信; 所述无线以太接口硬盘包括:  A wireless Ethernet interface hard disk, wherein the wireless Ethernet interface hard disk communicates with the pre-print fingerprint library host device in a wireless manner; the wireless Ethernet interface hard disk includes: 接收模块, 用于接收所述前置指纹库宿主设备发送的数据, 所述接收到的 数据中携带指纹, 所述指纹用于代表数据分片; a receiving module, configured to receive data sent by the pre-fingerprint library host device, where the received The data carries a fingerprint, and the fingerprint is used to represent data fragments; 获取模块, 用于根据所述指纹,从指纹数据存管模块中获取所述指纹对应 的数据分片;  An acquiring module, configured to acquire, according to the fingerprint, a data fragment corresponding to the fingerprint from a fingerprint data storage module; 其中, 所述数据存管模块, 用于保存所述无线以太接口硬盘的数据分片集 合, 所述数据分片集合通过指纹作为索引来保存不同的数据分片。  The data storage module is configured to save a data fragment set of the wireless Ethernet interface hard disk, and the data fragment set uses an fingerprint as an index to store different data fragments. 21、 根据权利要求 20所述的无线以太接口硬盘, 其特征在于, 还包括: 确定模块,用于确定所述接收到的数据中是否携带所述指纹对应的数据分 片,如果所述接收到的数据中不携带所述指纹对应的数据分片, 则指示所述获 取模块从所述指纹数据存管模块中获取与所述指纹对应的数据分片。  The wireless Ethernet interface hard disk according to claim 20, further comprising: a determining module, configured to determine whether the received data carries a data fragment corresponding to the fingerprint, if the receiving The data does not carry the data fragment corresponding to the fingerprint, and the acquiring module is configured to obtain the data fragment corresponding to the fingerprint from the fingerprint data storage module. 22、 根据权利要求 21所述的无线以太接口硬盘, 其特征在于, 所述接收到 的数据中还携带所述指纹对应的数据分片的效验码; 所述获取模块包括:  The wireless Ethernet interface hard disk according to claim 21, wherein the received data further carries a verification code of the data fragment corresponding to the fingerprint; the obtaining module includes: 获取单元, 用于根据所述指纹,从指纹数据存管模块中获取所述指纹对应 的数据分片的效验码;  And an obtaining unit, configured to acquire, according to the fingerprint, a verification code of the data fragment corresponding to the fingerprint from the fingerprint data storage module; 判断单元,用于判断所述收到的校验码和所述从所述指纹数据存管模块获 取到的效验码是否一致;  a determining unit, configured to determine whether the received check code is consistent with the verification code obtained from the fingerprint data storage module; 发送单元, 用于若校验码不一致, 则返回数据获取指示消息给所述前置指 纹库宿主设备,所述数据获取指示消息用于指示所述前置指纹库宿主设备将所 述指纹对应的数据分片发送给所述无线以太接口硬盘。  a sending unit, configured to: if the check code is inconsistent, return a data acquisition indication message to the pre-print fingerprint library host device, where the data acquisition indication message is used to indicate that the pre-print fingerprint library host device corresponds to the fingerprint The data fragment is sent to the wireless Ethernet interface hard disk. 23、 根据权利要求 21所述的无线以太接口硬盘, 其特征在于:  23. The wireless Ethernet interface hard disk of claim 21, wherein: 所述指纹数据存管模块,还用于如果所述接收到的数据中携带所述指纹对 应的数据分片,则将所述指纹对应的数据分片通过所述指纹作为索引保存到所 述指纹数据存管模块。  The fingerprint data storage module is further configured to: if the received data carries the data fragment corresponding to the fingerprint, save the data fragment corresponding to the fingerprint as the index to the fingerprint by using the fingerprint as an index Data storage module. 24、 根据权利要求 23所述的无线以太接口硬盘, 其特征在于:  24. The wireless Ethernet interface hard disk of claim 23, wherein: 所述指纹数据存管模块,具体用于如果所述接收到的数据中还携带所述指 纹对应的数据分片的校验码,则将所述指纹对应的数据分片和所述指纹对应的 数据分片的校验码通过所述指纹作为索引保存到所述指纹数据存管模块。  The fingerprint data storage module is specifically configured to: if the received data further carries a verification code of the data segment corresponding to the fingerprint, the data segment corresponding to the fingerprint and the fingerprint corresponding to the fingerprint The check code of the data slice is saved to the fingerprint data storage module by using the fingerprint as an index. 25、根据权利要求 23或 24所述的无线以太接口硬盘,其特征在于,还包括: 解压缩模块, 用于将所述指纹对应的数据分片解压缩; 所述指纹数据存管模块,具体用于将所述解压缩模块接压缩后的数据分片 通过所述指纹作为索引保存到所述指纹数据存管模块。 The wireless Ethernet interface hard disk according to claim 23 or 24, further comprising: a decompression module, configured to decompress the data slice corresponding to the fingerprint; The fingerprint data storage module is configured to save the data fragment that is compressed by the decompression module to the fingerprint data storage module by using the fingerprint as an index. 26、 一种存储系统, 其特征在于, 包括:  26. A storage system, comprising: 如权利要求 14-19 任一项所述的前置指纹库宿主设备, 和如权利要求 20-25任一项所述的无线以太接口硬盘。  A pre-fingerprint library host device according to any of claims 14-19, and a wireless Ethernet interface hard disk according to any of claims 20-25. 27、 一种前置指纹库宿主设备, 其特征在于, 所述前置指纹库宿主设备 包括处理器、 存储器、 总线和通信接口;  27. A pre-fingerprint library host device, wherein the pre-fingerprint library host device comprises a processor, a memory, a bus, and a communication interface; 所述前置指纹库宿主设备用于存储计算机执行指令,所述处理器与所述存 储器通过所述总线连接, 当所述前置指纹库宿主设备运行时, 所述处理器执行 所述存储器存储的所述计算机执行指令,以使所述前置指纹库宿主设备执行如 权利要求 1-6中任一项所述的无线以太接口硬盘传输方法。  The pre-fingerprint library host device is configured to store a computer execution instruction, the processor is connected to the memory through the bus, and when the pre-print fingerprint library host device is running, the processor executes the memory storage The computer executes instructions to cause the pre-print fingerprint library host device to perform the wireless Ethernet interface hard disk transmission method according to any one of claims 1-6. 28、 一种无线以太接口硬盘, 其特征在于, 所述无线以太接口硬盘包括 处理器、 存储器、 总线和通信接口;  28. A wireless Ethernet interface hard disk, wherein the wireless Ethernet interface hard disk comprises a processor, a memory, a bus, and a communication interface; 所述无线以太接口硬盘用于存储计算机执行指令,所述处理器与所述存储 器通过所述总线连接, 当所述无线以太接口硬盘运行时, 所述处理器执行所述 存储器存储的所述计算机执行指令,以使所述无线以太接口硬盘执行如权利要 求 7-13中任一项所述的无线以太接口硬盘传输方法。  The wireless Ethernet interface hard disk is configured to store a computer execution instruction, the processor is connected to the memory through the bus, and when the wireless Ethernet interface hard disk is running, the processor executes the computer stored in the memory Executing an instruction to cause the wireless Ethernet interface hard disk to execute the wireless Ethernet interface hard disk transmission method according to any one of claims 7-13. 29、 一种计算机可读介质, 其特征在于, 包括计算机执行指令, 以供计算 机的处理器执行所述计算机执行指令时, 所述计算机执行如权利要求 1-6中任 一项所述的无线以太接口硬盘传输方法。  29. A computer readable medium, comprising: a computer executing instructions for a processor of a computer to execute the computer to execute an instruction, the computer executing the wireless device of any one of claims 1-6 Ethernet interface hard disk transmission method. 30、 一种计算机可读介质, 其特征在于, 包括计算机执行指令, 以供计算 机的处理器执行所述计算机执行指令时, 所述计算机执行如权利要求 7-13 中 任一项所述的无线以太接口硬盘传输方法。  30. A computer readable medium, comprising: a computer executing instructions for a processor of a computer to execute the computer to execute an instruction, the computer executing the wireless device of any one of claims 7-13 Ethernet interface hard disk transmission method.
PCT/CN2014/077995 2014-05-21 2014-05-21 Transmission method for wireless ethernet interface hard disk, related device, and system WO2015176249A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2014/077995 WO2015176249A1 (en) 2014-05-21 2014-05-21 Transmission method for wireless ethernet interface hard disk, related device, and system
CN201480075398.3A CN106063192A (en) 2014-05-21 2014-05-21 Transmission method for wireless ethernet interface hard disk, related device, and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/077995 WO2015176249A1 (en) 2014-05-21 2014-05-21 Transmission method for wireless ethernet interface hard disk, related device, and system

Publications (1)

Publication Number Publication Date
WO2015176249A1 true WO2015176249A1 (en) 2015-11-26

Family

ID=54553204

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/077995 WO2015176249A1 (en) 2014-05-21 2014-05-21 Transmission method for wireless ethernet interface hard disk, related device, and system

Country Status (2)

Country Link
CN (1) CN106063192A (en)
WO (1) WO2015176249A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109150350A (en) * 2017-06-13 2019-01-04 中兴通讯股份有限公司 Equipment delay compensation method, system and storage medium
CN109800218A (en) * 2019-01-04 2019-05-24 平安科技(深圳)有限公司 Distributed memory system, memory node equipment and data duplicate removal method
CN112243041A (en) * 2020-12-21 2021-01-19 成都雨云科技有限公司 Cross-domain connection system and method for remote desktop access protocol

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1901549A (en) * 2006-07-26 2007-01-24 白杰 Data transmission method, device, data processing method and data transmission system
CN103414759A (en) * 2013-07-22 2013-11-27 华为技术有限公司 Network disc file transmission method and network disc file transmission device
CN103609091A (en) * 2013-06-24 2014-02-26 华为技术有限公司 Method and device for data transmission

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1901549A (en) * 2006-07-26 2007-01-24 白杰 Data transmission method, device, data processing method and data transmission system
CN103609091A (en) * 2013-06-24 2014-02-26 华为技术有限公司 Method and device for data transmission
CN103414759A (en) * 2013-07-22 2013-11-27 华为技术有限公司 Network disc file transmission method and network disc file transmission device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109150350A (en) * 2017-06-13 2019-01-04 中兴通讯股份有限公司 Equipment delay compensation method, system and storage medium
CN109150350B (en) * 2017-06-13 2021-04-30 中兴通讯股份有限公司 Equipment delay compensation method, system and storage medium
CN109800218A (en) * 2019-01-04 2019-05-24 平安科技(深圳)有限公司 Distributed memory system, memory node equipment and data duplicate removal method
CN109800218B (en) * 2019-01-04 2024-04-09 平安科技(深圳)有限公司 Distributed storage system, storage node device and data deduplication method
CN112243041A (en) * 2020-12-21 2021-01-19 成都雨云科技有限公司 Cross-domain connection system and method for remote desktop access protocol

Also Published As

Publication number Publication date
CN106063192A (en) 2016-10-26

Similar Documents

Publication Publication Date Title
US9514209B2 (en) Data processing method and data processing device
WO2014089753A1 (en) File compression method, file decompression method, device and server
CN103870514B (en) Data de-duplication method and device
JP6370838B2 (en) Apparatus and method for single path entropy detection for data transfer
US11853550B2 (en) System and method for data compaction and security using multiple encoding algorithms
US11899624B2 (en) System and method for random-access manipulation of compacted data files
US10706018B2 (en) Bandwidth-efficient installation of software on target devices using reference code libraries
CN106933701A (en) For the method and apparatus of data backup
JP6304385B2 (en) Information processing system, information processing apparatus, information processing method, and information processing program
US12224776B2 (en) System and method for data storage, transfer, synchronization, and security using automated model monitoring and training
WO2017097106A1 (en) Method and apparatus for transmitting file difference
WO2015176249A1 (en) Transmission method for wireless ethernet interface hard disk, related device, and system
CN103152606B (en) Video file processing method and device, system
WO2015021753A1 (en) Data compression method, computer system and device
US20230385241A1 (en) System and method for file type identification using machine learning
CN107346271A (en) The method and calamity of Backup Data block are for end equipment
US20230315288A1 (en) System and method for data compaction and security using multiple encoding algorithms with pre-coding and complexity estimation
US20240419327A1 (en) Data compaction utilizing delta encoding
WO2025044648A1 (en) Method and apparatus for generating identification information, device, and storage medium
CN119996516A (en) Data processing method, electronic device, storage medium and program product
CN119767347A (en) Communication control method, device, equipment, chip and medium
WO2020264522A1 (en) Data storage, transfer, synchronization, and security using recursive encoding

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14892532

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14892532

Country of ref document: EP

Kind code of ref document: A1