Hard disk data wireless receiving and real-time transmission method and system

By monitoring hard disk data changes in real time, converting them into binary format, dividing them into blocks of fixed length and using Hamming code encoding, the problems of connection convenience, efficiency and compatibility in hard disk data transmission are solved, and the real-time and stability of wireless transmission are achieved.

CN120602040APending Publication Date: 2025-09-05SHENZHEN HECHUANG IND CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202510629592.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-16
Publication Date
2025-09-05

AI Technical Summary

Technical Problem

Existing hard disk data transmission has problems such as poor connection convenience, limited transmission efficiency and compatibility, and the wireless transmission signal is not stable enough.

Method used

The data extraction module is used to monitor the changes of hard disk data in real time. The data is converted into binary format through the preprocessing module, and the data is divided into blocks of fixed length using the data blocking module. After Hamming code encoding, it is transmitted through the wireless transmission module, and the receiving end performs Hamming code decoding to recover the data.

Benefits of technology

It realizes the real-time, reliable and efficient transmission of hard disk data, improves the system compatibility and transmission stability, and ensures the timeliness and integrity of data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120602040A_ABST
    Figure CN120602040A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of data transmission, and discloses a hard disk data wireless receiving and real-time transmission method and system, and the system comprises a data extraction module, a preprocessing module, a data partitioning module, a data coding module, a wireless transmission module, and a data decoding module. The data extraction module monitors data changes of the hard disk in real time, original data which are newly generated or need to be transmitted can be extracted in time, and timeliness of data transmission is guaranteed; the preprocessing module uniformly converts original data into a binary format, so that the compatibility of the system to various types of data is enhanced; hamming codes are adopted for data coding, and a verification mechanism of a data transmission packet is combined, so that the accuracy and reliability of data in wireless transmission are effectively guaranteed; the data blocks and the wireless transmission module reasonably plan transmission according to channel bandwidth, so that high-efficiency transmission is ensured, and congestion and data loss are avoided; according to the invention, real-time, accurate and efficient wireless receiving and transmission of hard disk data are realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data transmission, and in particular to a method and system for wirelessly receiving and real-time transmitting hard disk data. Background Art

[0002] For a long time, hard drive data transmission relied primarily on wired connection technologies, such as the common USB and SATA interfaces. In offices, people accustomed to using USB cables to connect hard drives to computers to copy files; in server rooms, SATA interfaces ensure data exchange between hard drives and hosts. However, with the passage of time, these traditional wired transmission methods have exposed a series of problems.

[0003] Poor connection convenience: In scenarios where equipment needs to be frequently moved or data transmission needs to be rapidly deployed, the disadvantages of wired connections become apparent. For example, when working outdoors, workers need to drag long cables to transfer data from hard drives to devices in different locations. This is not only inconvenient but also prone to cable entanglement and even damage.

[0004] Limited transmission efficiency: Wired transmission speeds often fail to meet the demands of transferring large amounts of data. For example, in the film and television production industry, editors need to transfer large amounts of high-definition video footage from external hard drives to computers for editing. Using traditional wired interfaces can take hours, severely impacting work progress.

[0005] Compatibility issues are prominent: Different devices have different interface specifications and protocols, which often lead to interface mismatches or driver incompatibilities during actual data transfers. For example, when a user wants to connect a new hard drive to an older computer, data transfer may not be possible due to different interface standards.

[0006] The booming development of wireless communication technologies, such as Wi-Fi, Bluetooth, and 5G, has opened up new avenues for data transmission from hard drives. Wireless transmission, by eliminating the constraints of cables, allows for more flexible data exchange between devices. In a home environment, users can easily wirelessly transfer multimedia files from hard drives to smart TVs for playback. However, wireless transmission is not perfect. Signal stability is a challenge and it is easily affected by obstacles, electromagnetic interference, and other factors, leading to data loss or transmission interruptions. Summary of the Invention

[0007] The purpose of the present invention is to provide a method and system for wirelessly receiving and real-time transmitting hard disk data, which solves the technical problems raised in the background technology.

[0008] The purpose of the present invention can be achieved through the following technical solutions: A hard disk data wireless receiving and real-time transmission system, comprising: The data extraction module is used to monitor the data changes on the hard disk in real time and extract the relevant original data when new data is generated or data needs to be transmitted; A preprocessing module, used to uniformly convert the original data into binary data in a binary format using a pre-set conversion rule; The data block module is used to block the binary data sequence according to a preset fixed length and obtain multiple data blocks; The data encoding module is used to encode each data block using a Hamming code encoding method, and obtain a Hamming code data block corresponding to each data block; A wireless transmission module is used to transmit Hamming code data blocks from the hard disk end to the receiving end; The data decoding module is used to perform Hamming code decoding on the received data transmission packet to obtain a recovered binary data sequence, and then perform format conversion on the binary data sequence to restore it to the format of the original data.

[0009] As a further solution of the present invention: the extracted raw data is organized into a raw data sequence D = [d i ],i=1,2,...n,d i Represents the i-th data unit, n represents the number of data units, and a data unit refers to the attribute information corresponding to the file content, file name, creation time, modification time, and file size.

[0010] As a further solution of the present invention: wherein, the binary data converted by the preprocessing module is formed into a binary data sequence B=[b j ],j=1,2,…m,b j Represents a binary bit, and m represents the number of binary bits corresponding to the original data in binary format.

[0011] As a further solution of the present invention: the multiple data blocks after segmentation are combined into a data block set, and the data block set is marked as C=[C t ], t=1, 2, ... k, k represents the number of data blocks; Among them, C t =[b (t-1)L+1 ,b (t-1)L+2 , ... b (t)L ], and b (t-1)L+1 Indicates the position of the first element of the t-th data block in the original binary data sequence, b (t-1)L+2 Indicates the position of the second element in the tth data block in the original binary data sequence, b (t)L Indicates the position of the last element of the t-th data block in the original binary data sequence.

[0012] As a further solution of the present invention: the encoding processing method is as follows: Step A1: Each data block C t The binary data is marked as C t =[c t,1 ,c t,2 ,……c t,L ], then according to data block C t The length L of the check bits is used to determine the number of check bits to be added when generating the Hamming code, where the number of check bits to be added satisfies 2 r ≥L+r+1, where r represents the number of check digits added; Step A2: According to the check bit rule of Hamming code, s-1 Determine the position of the check bit, and then pass the corresponding position 2 in the data block s-1 The multiple bits are XORed to obtain the value of each check bit, and then the Hamming code data block H is generated according to the number of check bits added r and the value of each check bit. t =[h t,1 ,h t,2 ,……h t,L+r ]; Among them, s represents the sequence number of the check bit, 2 s-1 Used to determine the position and number of check bits in Hamming code, 2 s-1 is the position of the sth check digit; The value of each check digit is calculated as follows:

[0013] in, is the XOR operator, 2 s-1 is the position of the sth check bit, and s=1, 2, ... r, the values ​​of the other non-check bits and the Hamming code bits of the original data block C t The bits in are the same.

[0014] As a further solution of the present invention: during transmission, the wireless transmission module first constructs a Hamming code data block sequence using the Hamming code data blocks encoded after each data block is transmitted, and then divides the encoded Hamming code data block sequence into a plurality of data transmission packets. The size of the data transmission packet is determined by the bandwidth of the wireless channel, that is, the size of the data transmission packet is smaller than the amount of data transmitted by the channel per unit time.

[0015] As a further solution of the present invention: wherein, the wireless transmission module includes a sending unit arranged at the hard disk end and a receiving unit arranged at the receiving end; Each data transmission packet contains a synchronization code in the header of the data transmission packet, a data transmission packet sequence number, a data transmission packet length, and coded data in the coding sequence; The sending unit is used to transmit the data transmission packet from the hard disk end to the receiving end, and the receiving unit is used to receive the data transmission packet. When receiving the data transmission packet, the clock is first synchronized through the synchronization code, and then the data transmission packet is received. At the same time, the continuity of the data transmission packet sequence number in the data transmission packet header and the correctness of the data transmission packet length are used to preliminarily determine whether the data transmission packet is complete; When the data transmission packet sequence numbers of multiple data transmission packets are not continuous, the data transmission packets are judged to be incomplete; When the data transmission packet lengths of multiple data transmission packets are inconsistent, it is determined that the data transmission packet is incomplete.

[0016] As a further solution of the present invention: the Hamming code decoding method is as follows: Reassemble multiple data transmission packets according to the data transmission packet sequence number, and obtain the received Hamming code data block, and mark it as H1 t =[h1 t,1 ,h1 t,2 ,……h1 t,L+r ]; Determine the position of the check bit in the received Hamming code data block according to the check bit rule during the encoding processing of the data encoding module; Then, the checksum of the received Hamming code data block is calculated according to the calculation method of the check bit during the encoding process of the data encoding module; The checksum calculated from the Hamming code data block is then compared with the check bit in the received Hamming code: If the calculated checksum is consistent with the check bit in the received Hamming code, it means that the received Hamming code data block has no errors. Then, the original data bits other than the check bits are extracted from the Hamming code data block, and then the original data bits of all Hamming code data blocks are combined to obtain the recovered binary data sequence.

[0017] A method for wirelessly receiving and transmitting hard disk data in real time, wherein the method is implemented by a system for wirelessly receiving and transmitting hard disk data in real time, and the method comprises the following steps: Step 1: Data extraction: Monitor data changes on the hard disk in real time, and extract relevant raw data when new data is generated or data needs to be transferred; Step 2: Preprocessing: The original data is uniformly converted into binary data in binary format through pre-set conversion rules; Step 3: Data Blocking: Divide the binary data sequence into blocks according to a preset fixed length and obtain multiple data blocks; Step 4: Data encoding: Each data block is encoded using a Hamming code encoding method, and each data block corresponds to a Hamming code data block; Step 5: Wireless Transmission Transmit Hamming code data blocks from the hard disk end to the receiving end; Step 6: Data decoding: The received data transmission packet is decoded by Hamming code to obtain a recovered binary data sequence, which is then format-converted to restore it to the format of the original data.

[0018] Beneficial effects of the present invention: Real-time performance: The data extraction module monitors the data changes on the hard disk in real time, and can promptly capture the situation where new data is generated or data needs to be transmitted, and immediately extract the relevant original data from it, ensuring the real-time performance of data transmission and meeting the scenarios with high requirements for data timeliness.

[0019] Data format standardization: The preprocessing module converts the raw data into a binary format using pre-set conversion rules, so that raw data of different types and formats can be subsequently processed according to a unified standard, which is conducive to the further processing and transmission of data and improves the compatibility and versatility of the system.

[0020] Transmission Verification: During transmission, the wireless transmission module divides the encoded Hamming code data block sequence into several data packets. Each data packet contains information such as a synchronization code, data packet sequence number, and data packet length. The receiving end uses the synchronization code for clock synchronization and uses the continuity of the data packet sequence number and the correctness of the data packet length to initially determine the integrity of the data packet, further ensuring the reliability of data transmission.

[0021] Efficient transmission: The data segmentation module divides the binary data sequence into blocks of pre-set fixed lengths. The wireless transmission module determines the size of the data transmission packet based on the bandwidth of the wireless channel, making the data transmission packet size smaller than the amount of data transmitted by the channel per unit time. This optimizes the transmission efficiency of data in the wireless channel and avoids transmission congestion or loss due to excessive data volume. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The present invention will be further described below with reference to the accompanying drawings.

[0023] Figure 1 This is a system block diagram of a hard disk data wireless receiving and real-time transmission system of the present invention.

[0024] Figure 2 The present invention is a flowchart of a method for wirelessly receiving and real-time transmitting hard disk data. DETAILED DESCRIPTION

[0025] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making any creative efforts shall fall within the scope of protection of the present invention.

[0026] Example 1 See also Figure 1 and Figure 2 As shown, the present invention is a hard disk data wireless receiving and real-time transmission system, comprising: The data extraction module is used to monitor the data changes on the hard disk in real time and extract the relevant original data when new data is generated or data needs to be transmitted; The extracted raw data is organized into the raw data sequence D=[d i ],i=1,2,...n,d i Represents the i-th data unit, n represents the number of data units, and a data unit refers to the attribute information corresponding to the file content, file name, creation time, modification time, and file size; Among them, the hard disk can be a traditional mechanical hard disk or various types of storage devices such as solid-state hard disk. The hard disk data exists in the form of magnetic signals or flash memory storage. For mechanical hard disks, the magnetic head senses the changes in magnetic signals on the disk to read the data; for solid-state hard disks, the electronic characteristics of the flash memory chip are used to read the stored data; The preprocessing module is used to preprocess the original data in the following ways: The original data is uniformly converted into a binary data sequence B=[b j ],j=1,2,…m,b j Represents a binary bit, and m represents the number of binary bits corresponding to the original data in binary format; The data block module is used to block the binary data sequence according to a preset fixed length and obtain multiple data blocks, which are then combined into a data block set and marked as C=[C t ], t=1, 2, ... k, k represents the number of data blocks; Among them, C t =[b (t-1)L+1 ,b (t-1)L+2 , ... b (t)L ], and b (t-1)L+1 Indicates the position of the first element of the t-th data block in the original binary data sequence, b (t-1)L+2 Indicates the position of the second element in the tth data block in the original binary data sequence, b(t)L Indicates the position of the last element of the t-th data block in the original binary data sequence; In this embodiment, when t=1, b (t-1)L+1 (t-1)L+1=(1-1)L+1=1, which means that the first data of the first data block is the first data b1 in the original binary data sequence; when t=2, b (t-1)L+1 In the equation (t-1)L+1=(2-1)L+1=L+1, the first data of the second data block is the data b starting from the first position in the original binary data sequence. L+1 , and so on; The data encoding module is used to encode each data block. The encoding processing method is as follows: It uses Hamming code encoding, which is a coding method that can detect and correct single-bit errors; Step A1: Each data block C t The binary data is marked as C t =[c t,1 ,c t,2 ,……c t,L ], then according to data block C t The length L of the check bits is used to determine the number of check bits to be added when generating the Hamming code, where the number of check bits to be added satisfies 2 r ≥L+r+1, where r represents the number of check digits added; Step A2: According to the check bit rule of Hamming code, s-1 , determine the position of the check bit, and then pass the corresponding position 2 in the data block s-1 The multiple bits are XORed to obtain the value of each check bit, and then the Hamming code data block H is generated according to the number of check bits added r and the value of each check bit. t =[h t,1 ,h t,2 ,……h t,L+r ]; Among them, s represents the sequence number of the check bit, 2 s-1 Used to determine the position and number of check bits in Hamming code, 2 s-1 is the position of the sth check digit; The value of each check digit is calculated as follows:

[0027] in, is the XOR operator, 2 s-1 is the position of the sth check bit, and s=1, 2, ... r, the values ​​of the other non-check bits and the Hamming code bits of the original data block C t The bits in are the same; For example: Assume that the original data block is C t =[1, 0, 1, 1, 0, 1, 0], where the original data block length L = 7, and r = 4 is calculated, which means that 4 check bits need to be added; The first check digit is 2 0 =1, the second check digit is 2 1 =2, the third check digit is 2 2 =4, the fourth check digit is 2 3 =8, where the original data block is only 7 bits long, so the fourth check bit is actually after the 7th bit; The value of the first check bit position is XORed by the bits at positions 1, 2, 4, and 8 corresponding to the multiple position, that is, ; in, It is the XOR operator symbol, that is, when the two binary bits are the same, that is, both binary bits are 0 or both binary bits are 1, the result of the XOR operation is 0; when the two binary bits are different, that is, one of the two binary bits is 0 and the other is 1, the result of the XOR operation is 1; The value of the second check bit position is XORed by the bits at positions 2, 4, and 6 corresponding to the multiple positions, that is, ; The value of the third check bit position is XORed by the bits at positions 4 and 8 corresponding to the multiple position, that is, ; The value of the fourth check bit position is XORed by the bits at positions 2, 4, and 6 corresponding to the multiple position, that is, ; That is, the generated Hamming code data block is H t =[0,0,1,1,0,1,0,0]; A wireless transmission module is used to transmit Hamming code data blocks from the hard disk end to the receiving end; During transmission, the wireless transmission module divides the encoded Hamming code data block sequence into several data transmission packets. The size of the data transmission packet is determined by the bandwidth of the wireless channel. The size of the data transmission packet is smaller than the amount of data transmitted by the channel per unit time. Wherein, the Hamming code data block sequence is composed of the Hamming code data blocks after encoding each data block; In this embodiment, for example, for a wireless channel with a bandwidth of 10 Mbps, to ensure real-time and smooth data transmission, the size of the data transmission packet needs to be determined based on the transmission rate and the expected transmission time. Assuming that a data transmission packet is expected to be transmitted within 1 millisecond, the size of the data transmission packet cannot exceed approximately 10 kb (10 Mbps × 1 ms = 10 kb). If the data transmission packet is too large, it may increase transmission delay and affect real-time performance. If the data transmission packet is too small, the number of data transmission packets will increase, thereby increasing additional overhead such as packet headers and reducing transmission efficiency. The data decoding module is used to perform Hamming code decoding on the received data transmission packet to obtain the recovered binary data sequence. The Hamming code decoding method is as follows: Reassemble multiple data transmission packets according to the data transmission packet sequence number, and obtain the received Hamming code data block, and mark it as H1 t =[h1 t,1 ,h1 t,2 ,……h1 t,L+r ]; Determine the position of the check bit in the received Hamming code data block according to the check bit rule during the encoding processing of the data encoding module; Then, the checksum of the received Hamming code data block is calculated according to the calculation method of the check bit during the encoding process of the data encoding module; The checksum calculated from the Hamming code data block is then compared with the check bit in the received Hamming code: If the calculated checksum is consistent with the check bit in the received Hamming code, it means that the received Hamming code data block has no errors. Then, the original data bits other than the check bit are extracted from the Hamming code data block. After that, the original data bits of all the Hamming code data blocks are combined to obtain the recovered binary data sequence. If the calculated checksum matches the check bit in the received Hamming code, it means that the received Hamming code data block has an error. Once the position of the error bit is determined, the bit can be corrected. If the value of the error bit is 1, it is changed to 0; if the value of the error bit is 0, it is changed to 1; For example, if the error bit is determined to be at bit 4 by the above method, and the value of bit 4 in the received Hamming code data block is 0, then change it to 1; After correcting the error, remove the check bits in the Hamming code and extract the original data bits; that is, take the bits that are not check bits from the Hamming code data block and combine them in the order of the original data to obtain the recovered original data; Hamming code also has error correction capabilities. By determining the number and position of check bits and calculating the check bit values ​​according to specific rules to generate a Hamming code data block, even if a small number of errors occur during data transmission, the errors can be detected and corrected through the decoding process, thereby improving the accuracy and reliability of data transmission. Finally, the binary data sequence is converted into a format according to the conversion rules preset by the preprocessing module, and the binary format data is restored to the format of the original data to obtain the final received data.

[0028] This embodiment can monitor the changes in hard disk data in real time, extract newly generated or transmitted data in a timely and accurate manner, ensure the timeliness and comprehensiveness of data acquisition, and can adapt to various types of hard disks, including traditional mechanical hard disks and solid-state hard disks. By uniformly converting the original data into a binary format, a standardized foundation is laid for subsequent data processing, and the consistency and compatibility of data processing are improved. Binary data sequences are divided into blocks of fixed length to make data processing more organized and efficient, which facilitates subsequent encoding and transmission operations. Using Hamming code encoding can detect and correct single-bit errors, enhance the reliability of data transmission, and reduce the risk of data errors during transmission. The data transmission packet size is determined based on the wireless channel bandwidth, taking into account both real-time and transmission efficiency, avoiding delays caused by excessively large data transmission packets or additional overhead caused by too small data transmission packets. By reorganizing data transmission packets, checking and comparing, etc., the original data can be accurately restored to ensure the accuracy and integrity of the received data.

[0029] Example 2 See also Figure 1 and Figure 2 As shown, as the second embodiment of the present invention, when the present application is specifically implemented, compared with the first embodiment, the technical solution of this embodiment is different from that of the first embodiment only in that, in this embodiment, each data transmission packet includes a synchronization code in the header of the data transmission packet, a data transmission packet sequence number, a data transmission packet length, and the encoded data in the encoding sequence; And mark the format of each data transmission packet as P0 q =[P1 q ,P2 q ,P3 q ,P4 q ], q = 1, 2, ... c, c represents the number of data transmission packets, where P1 is the synchronization code, which is used by the receiving end to synchronize the receiving clock; P2 is the data transmission packet sequence number, which is used by the receiving end to sort the data transmission packets and detect loss; P3 is the data transmission packet length; P4 is the coded data in the data transmission packet; In this embodiment, the wireless transmission module adopts Bluetooth 5.0 technology as a wireless communication method, and the wireless transmission module includes a sending unit provided at the hard disk end and a receiving unit provided at the receiving end; The sending unit is used to transmit the data transmission packet from the hard disk end to the receiving end, and the receiving unit is used to receive the data transmission packet. When receiving the data transmission packet, the clock is first synchronized through the synchronization code, and then the data transmission packet is received. At the same time, the continuity of the data transmission packet sequence number in the data transmission packet header and the correctness of the data transmission packet length are used to preliminarily determine whether the data transmission packet is complete; When the data transmission packet sequence numbers of multiple data transmission packets are not continuous, the data transmission packets are judged to be incomplete; When the data transmission packet lengths of multiple data transmission packets are inconsistent, it is determined that the data transmission packet is incomplete.

[0030] This embodiment sets information such as a synchronization code, a data transmission packet sequence number, and a data transmission packet length in the data transmission packet header to provide the receiving end with more auxiliary information and ensure the accuracy and integrity of data reception. The synchronization code is used to synchronize the receiving clock at the receiving end, ensuring the correct timing of data reception and improving the stability of data transmission. By using the continuity of the data transmission packet sequence number and the correctness of the data transmission packet length, it is possible to quickly determine whether the data transmission packet is complete, facilitating the timely detection and resolution of transmission problems. Using Bluetooth 5.0 technology, it provides a mature and reliable wireless communication solution with advantages such as low power consumption and high transmission rate to meet practical application needs.

[0031] Example 3 See also Figure 1 and Figure 2 As shown, as the third embodiment of the present invention, when this application is specifically implemented, compared with the first and second embodiments, the technical solution of this embodiment is to combine the solutions of the above-mentioned first and second embodiments for implementation.

[0032] This embodiment combines the basic advantages of embodiment one in all aspects of data processing with the enhanced advantages of embodiment two in data transmission packet structure and wireless communication, to achieve more comprehensive, efficient and reliable wireless reception and real-time transmission of hard disk data, and the entire process from data extraction to final reception, taking into account the accuracy of data processing, the stability of transmission and the efficiency of detection and error correction.

[0033] See also Figure 1 and Figure 2 As shown, the present invention also provides a method for wirelessly receiving and transmitting hard disk data in real time, which is implemented by a system for wirelessly receiving and transmitting hard disk data in real time. The method includes the following steps: Step 1: Data extraction: Monitor data changes on the hard disk in real time, and extract relevant raw data when new data is generated or data needs to be transferred; Step 2: Preprocessing: The original data is uniformly converted into binary data in binary format through pre-set conversion rules; Step 3: Data Blocking: Divide the binary data sequence into blocks according to a preset fixed length and obtain multiple data blocks; Step 4: Data encoding: Each data block is encoded using a Hamming code encoding method, and each data block corresponds to a Hamming code data block; Step 5: Wireless Transmission Transmit Hamming code data blocks from the hard disk end to the receiving end; Step 6: Data decoding: The received data transmission packet is decoded by Hamming code to obtain a recovered binary data sequence, which is then format-converted to restore it to the format of the original data.

[0034] The above formulas are all dimensionless and numerical calculations. The formulas are obtained by collecting a large amount of data and performing software simulation to obtain the most recent real situation. The preset parameters and thresholds in the formulas are set by technicians in this field according to actual conditions.

[0035] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A hard disk data wireless receiving and real-time transmission system, characterized in that: include: The data extraction module is used to monitor the data changes on the hard disk in real time and extract the relevant original data when new data is generated or data needs to be transmitted; A preprocessing module is used to uniformly convert the original data into binary data in a binary format according to a pre-set conversion rule, and to form all the converted binary data into a binary data sequence; The data block module is used to block the binary data sequence according to a preset fixed length and obtain multiple data blocks; The data encoding module is used to encode each data block using a Hamming code encoding method and obtain a Hamming code data block corresponding to each data block; A wireless transmission module is used to transmit Hamming code data blocks from the hard disk end to the receiving end; The data decoding module is used to perform Hamming code decoding on the received Hamming code data block to obtain a restored binary data sequence, and then perform format conversion on the binary data sequence to restore it to the format of the original data.

2. The hard disk data wireless receiving and real-time transmission system according to claim 1, characterized in that: in, The binary data sequence is labeled as B=[b j ],j=1,2,…m,b j Represents a binary bit, and m represents the number of binary bits corresponding to the original data in binary format.

3. The hard disk data wireless receiving and real-time transmission system according to claim 2, characterized in that: The data block module is further configured to group the divided data blocks into a data block set, and mark the data block set as C=[C t ], t=1, 2, ... k, k represents the number of data blocks; Among them, C t =[b (t-1)L+1 ,b (t-1)L+2 , ... b (t)L ], and b (t-1)L+1 Indicates the position of the first element of the t-th data block in the original binary data sequence, b (t-1)L+2 Indicates the position of the second element in the tth data block in the original binary data sequence, b (t)L Indicates the position of the last element of the t-th data block in the original binary data sequence.

4. The hard disk data wireless receiving and real-time transmission system according to claim 3, characterized in that: The encoding is processed as follows: Step A1: Each data block C t The binary data is marked as C t =[c t,1 ,c t,2 ,……c t,L ], then according to data block C t The length L of the check bits is used to determine the number of check bits to be added when generating the Hamming code, where the number of check bits to be added satisfies 2 r ≥L+r+1, where r represents the number of check digits added; Step A2: Determine the position of the check bit according to the check bit rule in the Hamming code, and then use the corresponding position 2 in the data block to determine the position of the check bit. s-1 The multiple bits are XORed to obtain the value of each check bit, and then the Hamming code data block H is generated according to the number of check bits added r and the value of each check bit. t =[h t,1 ,h t,2 ,……h t,L+r ]; Among them, s represents the sequence number of the check bit, 2 s-1 Used to determine the position and number of check bits in Hamming code, 2 s -1 is the position of the sth check digit.

5. The hard disk data wireless receiving and real-time transmission system according to claim 1, characterized in that: During transmission, the wireless transmission module first constructs a Hamming code data block sequence using the Hamming code data blocks encoded after each data block is transmitted. The encoded Hamming code data block sequence is then divided into several data transmission packets. The size of the data transmission packet is determined by the bandwidth of the wireless channel, that is, the size of the data transmission packet is smaller than the amount of data transmitted by the channel per unit time.

6. The hard disk data wireless receiving and real-time transmission system according to claim 5, characterized in that: in, The wireless transmission module includes a sending unit arranged at the hard disk end and a receiving unit arranged at the receiving end; Each data transmission packet contains a synchronization code in the header of the data transmission packet, a data transmission packet sequence number, a data transmission packet length, and coded data in the coding sequence; The sending unit is used to transmit the data transmission packet from the hard disk end to the receiving end, and the receiving unit is used to receive the data transmission packet. When receiving the data transmission packet, the clock is first synchronized through the synchronization code, and then the data transmission packet is received; at the same time, the continuity of the data transmission packet sequence number in the data transmission packet header and the correctness of the data transmission packet length are used to determine whether the data transmission packet is complete.

7. The hard disk data wireless receiving and real-time transmission system according to claim 6, characterized in that: The method for determining whether the data transmission packet is complete is as follows: When the data transmission packet sequence numbers of multiple data transmission packets are not continuous, the data transmission packets are judged to be incomplete; When the data transmission packet lengths of multiple data transmission packets are inconsistent, it is determined that the data transmission packet is incomplete.

8. The hard disk data wireless receiving and real-time transmission system according to claim 6, characterized in that: The Hamming code decoding method is as follows: Reassemble multiple data transmission packets according to the data transmission packet sequence number, and obtain the received Hamming code data block, and mark it as H1 t =[h1 t,1 ,h1 t,2 ,……h1 t,L+r ]; Determine the position of the check bit in the received Hamming code data block according to the check bit rule during the encoding processing of the data encoding module; Then, the checksum of the received Hamming code data block is calculated according to the calculation method of the check bit during the encoding process of the data encoding module; The checksum calculated based on the Hamming code data block is then compared with the check bit in the received Hamming code, and based on the comparison result, it is determined whether the received Hamming code data block has an error.

9. The hard disk data wireless receiving and real-time transmission system according to claim 8, characterized in that: The comparison method in the Hamming code decoding method is as follows: If the calculated checksum is consistent with the check bit in the received Hamming code, it means that the received Hamming code data block has no errors. Then, the original data bits other than the check bits are extracted from the Hamming code data block, and then the original data bits of all Hamming code data blocks are combined to obtain the recovered binary data sequence.

10. A method for wireless reception and real-time transmission of hard disk data, characterized in that: The method is implemented by a hard disk data wireless receiving and real-time transmission system according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Method, device and system for communication of solid-state disk

    CN101753528A

  • Firmware file transmission method and device, computer equipment, storage medium and product

    CN119109917A

  • Wireless data storage device and method

    CN1661581A

  • Transmitter, receiver, data transfer system, transmission method, reception method, computer program for transmission, computer program for reception, and recording medium

    CN1738219A

  • But wireless transmission's external hard disk cartridge

    CN207517361U