Cross-network file ferry system

Through the cross-network file ferry system, files are grouped and binary algorithms are processed to generate target processing sequences, solving the problem of high key dependence in traditional cross-network file transmission and achieving safer file transmission.

CN119835077BActive Publication Date: 2025-08-29ZHILIAN INFORMATION TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510087263.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-01-20
Publication Date
2025-08-29
Estimated Expiration
2045-01-20

AI Technical Summary

Technical Problem

Traditional cross-network file transfer methods have security risks, high key dependence, and loss of keys leads to undecryption or leakage of files, which reduces security.

Method used

A cross-network file ferry system is adopted, through grouping operations on files and adding binary algorithms, the number of carry bits is recorded and the carry status sequence and inverted array are randomly determined, the target processing sequence is generated, file encryption is realized, and key dependence is avoided.

Benefits of technology

The encrypted data depends on the characteristics of the file itself and is difficult to crack, which improves the security of cross-network file transfer, avoids the risk of key loss, and ensures the security and reliability of file transfer.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119835077B_ABST
    Figure CN119835077B_ABST
Patent Text Reader

Abstract

The present invention discloses a cross-network file ferry system, which relates to the field of file transmission technology. The present invention obtains the target file selected and uploaded by the target user by setting a user side end, sets a cross-network file transmission module to perform a pre-processing operation on the target file to obtain a pre-processing file, and then performs a grouping operation on the pre-processing file. After the grouping operation is completed, an addition operation of a binary algorithm is performed on two adjacent groups of block arrays, and the number of carry bits is recorded in the addition operation. The execution carry type of each block array is determined according to whether the value of the number of carry bits is continuous and whether there is a carry bit, and then the carry state number series and the inversion array of the block array are determined according to the execution carry type. In this way, the target file is encrypted. On the one hand, the encryption and decryption of the encrypted data rely on the data characteristics of the file itself and get rid of the key dependence, thereby avoiding the risk of key loss and achieving safer cross-network file transmission.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of file transmission, in particular to a cross-network file ferrying system. Background Art

[0002] In today's era of rapid digital information development, various industries are paying increasing attention to network security. The demand for data interaction between different network environments is also increasing. Cross-network file transfer has become an indispensable part of the daily operations of many enterprises and institutions.

[0003] Traditional cross-network file transfer methods, such as simple network sharing and copying files to mobile storage devices, pose significant security risks. Network sharing is vulnerable to network attacks, and hackers may steal or tamper with file data in transit through network vulnerabilities. Mobile storage devices are at risk of being lost or misused. Once the device is lost, sensitive files stored on it may be illegally obtained.

[0004] To address these security challenges, one existing approach is to use an integrated data encryption mechanism to ensure file transmission security. By encrypting data before transmission, the file exists in ciphertext during transmission and can only be restored to plaintext by using a specific decryption key at the receiving end. This approach improves the security of file transmission to a certain extent and prevents data from being easily stolen or tampered with during transmission.

[0005] However, this method relies too much on the key, which is the key to decrypting files. Once the key is lost, not only will the receiving end be unable to decrypt the encrypted file, making the file unusable, but the file content may be leaked, significantly reducing the security of cross-network file transmission.

[0006] In order to solve the above problems, the present invention proposes a solution. Summary of the Invention

[0007] The purpose of the present invention is to provide a cross-network file ferrying system in order to solve the problems raised in the above background technology.

[0008] The present invention provides a cross-network file ferrying system, comprising:

[0009] The user side is used to obtain the target file selected and uploaded by the target user;

[0010] The cross-network file processing module is used to perform pre-processing operations on the target file after receiving the transmitted target file to obtain a pre-processed file;

[0011] The cross-network file processing module is further used to process the pre-processing file according to the preset processing rules to obtain the target processing sequence.

[0012] Furthermore, the processing rules for obtaining the target processing sequence are as follows:

[0013] S11: performing a grouping operation on the pre-processed file, the grouping operation includes specifying a grouping step size and performing name demarcation and labeling on a plurality of grouped sequences. Specifically, every four characters in the pre-processed file are used as a group of block arrays to obtain a plurality of groups of block arrays. According to the position of each group of block arrays in the pre-processed file, all the groups of block arrays are labeled A1, A2, ..., Aa from left to right, where a ≥ 1;

[0014] S12: Performing a binary addition operation on the block arrays A1 and A2 to obtain a first execution array of the block array A2. If a carry is required when adding two characters, all the carry digits are recorded during the execution.

[0015] S13: Based on S12, if the number of recorded carry digits is not 0, the execution carry type of block array A2 is determined based on all recorded carry digits. If all recorded carry digits are numerically continuous, it is determined that multiple continuous carries exist during the execution of block array A2. In this case, the execution carry type of block array A2 is multiple continuous carries. If all recorded carry digits are numerically discontinuous or the number of recorded carry digits is 1, it is determined that independent carries exist during the execution. In this case, the execution carry type of block array A2 is discontinuous independent carries.

[0016] If the number of carry bits recorded during the execution is 0, the execution carry type of the block array A2 is determined to be stateless carry;

[0017] S14: randomly selecting a set of list sequences from the preset first, second, and third carry lists according to the execution carry type of the block array A2 as the carry state sequence of the block array A2;

[0018] S15: Reverse the first execution array of the block array A2 bit by bit to generate an inverted array of the block array A2. Specifically, replace the characters that are 1 in the first execution array with 0, and replace the characters that are 0 in the first execution array with 1.

[0019] S16: splicing the carry state sequence and the inverted array of the block array A2 in the order of the carry state sequence and the inverted array to obtain a processing array of the block array A2;

[0020] S17: Obtain processing arrays of block arrays A3, A4, ..., Aa in sequence according to S11 to S16. Concatenate the block arrays, the processing array of block array A2, the processing array of block array A3, ..., the processing array of block array Aa in the order of block array A1, A2, ..., Aa to obtain a target processing sequence.

[0021] Furthermore, S14, a carry state sequence of the block array A2 is obtained, specifically as follows: if the execution carry type of the block array A2 is stateless carry, a group of carry arrays is randomly selected from a preset first carry list as the carry state sequence of the block array A2; if the execution carry type of the block array A2 is multi-bit continuous carry, a group of carry arrays is randomly selected from a preset second carry list as the carry state sequence of the block array A2; if the execution carry type of the block array A2 is discontinuous independent carry, a group of carry arrays is randomly selected from a preset third carry list as the carry state sequence of the block array A2.

[0022] Furthermore, it also includes a receiving side end, which is used to receive and restore the target processing sequence.

[0023] Compared with the existing technology, it has the following beneficial effects:

[0024] The present invention provides a user-side terminal to obtain a target file selected for upload by a target user, provides a cross-network file transmission module to perform a pre-processing operation on the target file to obtain a pre-processed file, then performs a grouping operation on the pre-processed file. After the grouping operation is completed, a binary algorithm addition operation is performed on two adjacent block arrays. The carry digit is recorded during the addition operation, and the execution carry type of each block array is determined based on whether the value of the carry digit is continuous and whether there is a carry digit. The carry state sequence and the inversion array of the block array are then determined based on the execution carry type. In this way, the target file is encrypted. On the one hand, the encryption and decryption of the encrypted data are dependent on the data characteristics of the file itself, and are free from key dependence, thereby avoiding the risk of key loss. On the other hand, the encryption and decryption of the encrypted data are dependent on the file characteristics of the file itself, including the carry state sequence and the inversion array. The carry state sequence is random, so that the same array has different processing arrays based on the difference in its previous block array and the randomly selected carry state sequence. In this way, the encrypted data is difficult to crack, and more secure cross-network file transmission is further achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 This is a system block diagram of the present invention. DETAILED DESCRIPTION

[0026] 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 creative efforts are within the scope of protection of the present invention.

[0027] See also Figure 1 ,This application provides a cross-network file ferry system, including a user side, a cross-network file processing module and a receiving side;

[0028] The user side is used to obtain the target file selected and uploaded by the target user. In this application, the target file includes text files, image files, audio files, video files, executable files, source code files, etc.

[0029] The user side transmits the target file selected and uploaded by the target user to the cross-network file processing module;

[0030] The cross-network file processing module is used to process the file before cross-network transmission to ensure the security of its transmission. After receiving the target file for transmission, the cross-network file processing module first performs pre-processing operations on the target file to obtain a pre-processed file;

[0031] In this application, the pre-processing operation refers to performing binary conversion on the target file to obtain a pre-processed file. Specifically, if the target file is any one of a text file, an executable file, and a source code file, each character is mapped to a corresponding binary code according to the character encoding rules; if the target file is an image file, the pixel information of the image file is converted into binary data according to its color mode and resolution; if the target file is an audio file or a video file, the sound signal and video frame are digitized and converted into binary form for storage;

[0032] After obtaining the pre-processed file, the cross-network file processing module processes it according to the preset processing rules to obtain the target processing sequence. The steps are as follows:

[0033] S11: performing a grouping operation on the pre-processed file, the grouping operation includes specifying a grouping step size and performing name demarcation and labeling on a plurality of grouped sequences. Specifically, every four characters in the pre-processed file are used as a group of block arrays to obtain a plurality of groups of block arrays. According to the position of each group of block arrays in the pre-processed file, all the groups of block arrays are labeled A1, A2, ..., Aa from left to right, where a ≥ 1;

[0034] S12: Performing a binary addition operation on the block arrays A1 and A2 to obtain a first execution array of the block array A2. If a carry is required when adding two characters, all the carry digits are recorded during the execution.

[0035] It should be noted here that the addition operation of the binary algorithm is to add one every two bits, and add bit by bit;

[0036] For example, if block array A1 is 0101 and block array A2 is 1100, then the binary addition operation for block arrays A1 and A2 is as follows: from right to left, the two characters at position 0 in block arrays A1 and A2 are added together to get 1. Similarly, the two characters at position 1 in arrays A1 and A2 are added together to get 0.

[0037] Add the two characters at position 2 in arrays A1 and A2 respectively. Since the characters at position 2 are both 1, we need to carry 1 over every 2. Therefore, the sum of the two characters at position 2 in arrays A1 and A2 is 0 and we carry 1 over.

[0038] The sum of the two characters at the third position in arrays A1 and A2 is 1. Since the sum of the two characters at the previous position carries over by 1, we need to carry over by 1. The sum of the two characters at the third position in arrays A1 and A2 is 0 and carries over by 1, resulting in 10001. That is, the first execution array of block array A2 is 10001, and the carry bits are 2 and 3.

[0039] It should be noted here that the number of character bits from right to left in a binary number starts from the number 0 and continues forward;

[0040] S13: Based on S12, if the number of recorded carry digits is not 0, the execution carry type of block array A2 is determined based on all recorded carry digits. If all recorded carry digits are numerically continuous, it is determined that multiple continuous carries exist during the execution of block array A2. In this case, the execution carry type of block array A2 is multiple continuous carries. If all recorded carry digits are numerically discontinuous or the number of recorded carry digits is 1, it is determined that independent carries exist during the execution. In this case, the execution carry type of block array A2 is discontinuous independent carries.

[0041] If the number of carry bits recorded during the execution is 0, the execution carry type of the block array A2 is determined to be stateless carry;

[0042] S14: Randomly select a set of list sequences from the preset first, second, and third carry lists according to the execution carry type of the block array A2 as the carry state sequence of the block array A2. Specifically:

[0043] If the execution carry type of the block array A2 is stateless carry, a group of carry arrays is randomly selected from the preset first carry list as the carry state sequence of the block array A2;

[0044] If the execution carry type of the block array A2 is multi-bit continuous carry, a group of carry arrays is randomly selected from the preset second carry list as the carry state sequence of the block array A2;

[0045] If the execution carry type of the block array A2 is intermittent independent carry, a group of carry arrays is randomly selected from the preset third carry list as the carry state sequence of the block array A2;

[0046] It should be noted here that the first, second, and third carry lists contain several carry arrays, and the carry arrays are selected from the three-digit binary numbers of the numbers 0, 1, ..., 7;

[0047] In this application, the first carry list contains two carry arrays of 000 and 001, the second carry list contains three carry arrays of 010, 011, and 100, and the third carry list contains three carry arrays of 101, 110, and 111;

[0048] S15: Reverse the first execution array of the block array A2 bit by bit to generate an inverted array of the block array A2. Specifically, replace the characters that are 1 in the first execution array with 0, and replace the characters that are 0 in the first execution array with 1.

[0049] S16: splicing the carry state sequence and the inverted array of the block array A2 in the order of the carry state sequence and the inverted array to obtain a processing array of the block array A2;

[0050] S17: Obtain processing arrays of block arrays A3, A4, ..., Aa in sequence according to S11 to S16, and concatenate the block arrays, the processing array of block array A2, the processing array of block array A3, ..., and the processing array of block array Aa in the order of block arrays A1, A2, ..., Aa to obtain a target processing sequence;

[0051] The cross-network file processing module transmits the processed target processing sequence to the receiving side;

[0052] A receiving end, configured to receive and restore the target processing sequence, after receiving the transmitted target processing sequence, the receiving end reversely executes the processing rules to obtain a pre-processing file, restores the pre-processing file to obtain a target file, and stores the target file;

[0053] Some of the data in the above formulas are dimensionless and numerically calculated. Meanwhile, the contents not described in detail in this specification belong to the prior art known to those skilled in the art.

[0054] The above embodiments are only used to illustrate the technical method of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical method of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical method of the present invention.

Claims

1. The cross-network file ferry system is characterized by: include: The user side is used to obtain the target file selected and uploaded by the target user; The cross-network file processing module is used to perform pre-processing operations on the target file after receiving the transmitted target file to obtain a pre-processed file; The cross-network file processing module is further used to process the pre-processed file according to the preset processing rules to obtain the target processing sequence; The processing rules for obtaining the target processing sequence are as follows: S11: performing a grouping operation on the pre-processed file, the grouping operation includes specifying a grouping step size and performing name demarcation and labeling on a plurality of grouped sequences. Specifically, every four characters in the pre-processed file are used as a group of block arrays to obtain a plurality of groups of block arrays. According to the position of each group of block arrays in the pre-processed file, all the groups of block arrays are labeled A1, A2, ..., Aa from left to right, where a ≥ 1; S12: Performing a binary addition operation on the block arrays A1 and A2 to obtain a first execution array of the block array A2. If a carry is required when adding two characters, all the carry digits are recorded during the execution. S13: Based on S12, if the number of recorded carry digits is not 0, the execution carry type of block array A2 is determined based on all recorded carry digits. If all recorded carry digits are numerically continuous, it is determined that multiple continuous carries exist during the execution of block array A2. In this case, the execution carry type of block array A2 is multiple continuous carries. If all recorded carry digits are numerically discontinuous or the number of recorded carry digits is 1, it is determined that independent carries exist during the execution. In this case, the execution carry type of block array A2 is discontinuous independent carries. If the number of carry bits recorded during the execution is 0, the execution carry type of the block array A2 is determined to be stateless carry; S14: randomly selecting a set of list sequences from the preset first, second, and third carry lists according to the execution carry type of the block array A2 as the carry state sequence of the block array A2; S15: Reverse the first execution array of the block array A2 bit by bit to generate an inverted array of the block array A2. Specifically, replace the characters that are 1 in the first execution array with 0, and replace the characters that are 0 in the first execution array with 1. S16: splicing the carry state sequence and the inverted array of the block array A2 in the order of the carry state sequence and the inverted array to obtain a processing array of the block array A2; S17: Obtain processing arrays of block arrays A3, A4, ..., Aa in sequence according to S11 to S16. Concatenate the block arrays, the processing array of block array A2, the processing array of block array A3, ..., the processing array of block array Aa in the order of block array A1, A2, ..., Aa to obtain a target processing sequence.

2. The cross-network file ferry system according to claim 1, characterized in that: Object files include text files, image files, audio files, video files, executable files, and source code files.

3. The cross-network file ferry system according to claim 1, characterized in that: The pre-processing operation refers to the binary conversion of the target file to obtain the pre-processing file.

4. The cross-network file ferry system according to claim 1, characterized in that: S14, obtaining the carry state sequence of the block array A2, specifically as follows: if the carry type of the block array A2 is stateless carry, a group of carry arrays is randomly selected from a preset first carry list as the carry state sequence of the block array A2; if the carry type of the block array A2 is multi-bit continuous carry, a group of carry arrays is randomly selected from a preset second carry list as the carry state sequence of the block array A2; if the carry type of the block array A2 is discontinuous independent carry, a group of carry arrays is randomly selected from a preset third carry list as the carry state sequence of the block array A2.

5. The cross-network file ferrying system according to claim 4, characterized in that: The first carry list contains two carry arrays: 000 and 001, the second carry list contains three carry arrays: 010, 011, and 100, and the third carry list contains three carry arrays: 101, 110, and 111.

6. The cross-network file ferry system according to claim 1, characterized in that: It also includes a receiving side end, which is used to receive and restore the target processing sequence.

Citation Information

Patent Citations

  • General rapid calculation system and method for heart rate and electrocardio

    CN119138871A