Cross-network file ferrying system

By performing specific processing and encryption of the target file in the cross-network file transfer system, and relying on the data characteristics of the file itself for encryption and decryption, the security risks caused by the loss of keys in traditional cross-network file transfer are solved, and higher security and difficult to crack are achieved.

CN119835077AActive Publication Date: 2025-04-15ZHILIAN INFORMATION TECH CO LTD

Patent Information

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

AI Technical Summary

Technical Problem

Traditional cross-network file transfer methods have security risks, especially the risk of encrypted files not being decrypted and leaked due to key loss, which reduces the security of file transfer.

Method used

By setting the user side and the receiving side in the cross-net file transfer system, the cross-net file processing module performs pre-processing, grouping, binary algorithm addition operations and carry type determination of the target file, generate a carry status sequence and an inverted array, form an encrypted target processing sequence, and rely on the data characteristics of the file itself for encryption for encryption and decryption.

Benefits of technology

It realizes that the key is not reliant on during the encryption process, avoids the risk of key loss, ensures the security of encryption and decryption, and improves the difficulty of data cracking through the characteristics of randomness and carry state sequences, and improves the security of cross-network file transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119835077A_ABST
    Figure CN119835077A_ABST
Patent Text Reader

Abstract

The invention discloses a cross-network file ferrying system, and relates to the technical field of file transmission, a user side end is set to obtain a target file selected and uploaded by a target user, a cross-network file transmission module is set to execute a pre-processing operation on the target file to obtain a pre-processed file, and then a grouping operation is executed on the pre-processed file; after the grouping operation is completed, executing an addition operation of a binary algorithm on two adjacent groups of block arrays, recording carry bits in the execution of the addition operation, and determining the execution carry type of each block array according to the characteristic whether the numerical value of the carry bits is continuous or not and whether the carry bits exist or not; according to the method and the device, the block array is selected, then the carry state sequence and the reverse array of the block array are determined according to the execution carry type, and the target file is encrypted in this way, so that on one hand, encryption and decryption of data obtained after encryption depend on data characteristics of the file and get rid of key dependence, and the risk of key loss is avoided; and safer cross-network file transmission is 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 file transmission, in particular to a cross-network file ferrying system. Background Art

[0002] In today's era of rapid development of digital information, various industries are paying more and more attention to network security, and 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 mobile storage device copying, have great security risks. Network sharing is vulnerable to network attacks. Hackers may steal or tamper with file data in transmission through network vulnerabilities. Mobile storage devices are at risk of being lost or stolen. Once the device is lost, sensitive files stored in it may be illegally obtained.

[0004] In order to cope with these security challenges, one existing technology is to use an integrated data encryption mechanism to ensure the security of file transmission. By encrypting the data before file transmission, the file exists in the form of ciphertext during the transmission process. Only at the receiving end can it be restored to plaintext through a specific decryption key. This method improves the security of file transmission to a certain extent and prevents data from being easily stolen or tampered with during the transmission process.

[0005] However, this method is too dependent on the key. The key is the key to decrypt the file. Once it is lost, not only will the receiving end be unable to decrypt the encrypted file, resulting in the file being unable to be used normally, but the file content may also be leaked, greatly 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 a pre-processing operation on the target file after receiving the transmitted target file to obtain a pre-processed file;

[0011] The cross-network file processing module is also used to obtain a target processing sequence according to a preset processing rule after obtaining the pre-processing file.

[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 and performing name labeling and marking on a plurality of sequences after grouping, specifically: taking every four characters in the pre-processed file as a group of block arrays, a plurality of groups of block arrays can be obtained, and marking all the groups of block arrays as A1, A2, ..., Aa from left to right in sequence according to the position of each group of block arrays in the pre-processed file, 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 two characters need to be added and a carry is required during the execution, all the carry digits are recorded during the execution.

[0015] S13: On the basis of S12, if the number of recorded carry digits is not 0, the execution carry type of the block array A2 is determined according to all the recorded carry digits. If all the recorded carry digits are continuous in value, it is determined that there are multiple continuous carries in the execution process of the block array A2. At this time, the execution carry type of the block array A2 is multiple continuous carries. If all the recorded carry digits are not continuous in value or the number of recorded carry digits is 1, it is determined that there are independent carries in the execution process. At this time, the execution carry type of the 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: According to S11 to S16, processing arrays of block arrays A3, A4, ..., Aa are obtained in sequence, and in the order of block arrays A1, A2, ..., Aa, the block arrays, the processing arrays of block array A2, the processing arrays of block array A3, ..., the processing arrays of block array Aa are concatenated to obtain a target processing sequence.

[0021] Further, S14, the 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 the 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 the 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 the 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 prior art, it has the following beneficial effects:

[0024] The present invention sets a user side end to obtain a target file selected and uploaded by a target user, sets a cross-network file transmission module to perform a pre-processing operation on the target file to obtain a pre-processing file, then performs a grouping operation on the pre-processing file, performs a binary algorithm addition operation on two adjacent groups of block arrays after the grouping operation is completed, records the carry digits in the addition operation, and determines the execution carry type of each block array according to whether the value of the carry digits is continuous and whether there is a carry digit, and then determines the carry state sequence and the inversion array of the block array 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 depends on the data characteristics of the file itself and gets rid of the key dependence, avoiding the risk of key loss. On the other hand, the file characteristics of the encrypted data include the carry state sequence and the inversion array, and the carry state sequence has randomness, so that the same array has different processing arrays based on the difference of the previous block array on the one hand, and based on the randomly selected carry state sequence on the other hand, the difficulty of cracking the encrypted data is guaranteed in this way, and a safer cross-network file transmission is further realized. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0026] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. 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 creative work are within the scope of protection of the present invention.

[0027] See also Figure 1 , the present application provides a cross-network file ferrying 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 a pre-processing operation on the target file to obtain a pre-processed file;

[0031] In this application, the pre-processing operation refers to the binary conversion of the target file to obtain the pre-processing 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 the 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 and performing name labeling and marking on a plurality of sequences after grouping, specifically: taking every four characters in the pre-processed file as a group of block arrays, a plurality of groups of block arrays can be obtained, and marking all the groups of block arrays as A1, A2, ..., Aa from left to right in sequence according to the position of each group of block arrays in the pre-processed file, 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 two characters need to be added and a carry is required during the execution, 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, bit by bit;

[0036] For example: block array A1 is 0101, and block array A2 is 1100. The process of performing the addition operation of the binary algorithm on block arrays A1 and A2 is as follows: from right to left, the two characters at the 0th position in block arrays A1 and A2 are added to get 1, and similarly, the two characters at the 1st position in arrays A1 and A2 are added to get 0;

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

[0038] Add the two characters at the third position in arrays A1 and A2 to get 1. Since the previous two characters are added together, we need to carry forward one bit every two characters. Then, add the two characters at the third position in arrays A1 and A2 to get 0 and carry forward one bit, and get 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 digits from right to left in a binary number starts from the number 0 and continues in sequence;

[0040] S13: On the basis of S12, if the number of recorded carry digits is not 0, the execution carry type of the block array A2 is determined according to all the recorded carry digits. If all the recorded carry digits are continuous in value, it is determined that there are multiple continuous carries in the execution process of the block array A2. At this time, the execution carry type of the block array A2 is multiple continuous carries. If all the recorded carry digits are not continuous in value or the number of recorded carry digits is 1, it is determined that there are independent carries in the execution process. At this time, the execution carry type of the 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: According to the execution carry type of the block array A2, a set of list sequences is randomly selected from the preset first, second and third carry lists 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 set 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 set 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 set 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 a number of carry arrays, and the carry arrays are selected from the three-digit binary numbers of the numbers 0, 1, ..., 7;

[0047] In the present application, the first carry list includes two carry arrays of 000 and 001, the second carry list includes three carry arrays of 010, 011, and 100, and the third carry list includes 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: according to S11 to S16, processing arrays of block arrays A3, A4, ..., Aa are obtained in sequence, and in the order of block arrays A1, A2, ..., Aa, the block arrays, the processing arrays of block array A2, the processing arrays of block array A3, ..., the processing arrays of block array Aa are concatenated to obtain a target processing sequence;

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

[0052] The receiving side end is used to receive and restore the target processing sequence. After receiving the transmitted target processing sequence, the receiving side 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 rather than to limit it. 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 a pre-processing operation on the target file after receiving the transmitted target file to obtain a pre-processed file; The cross-network file processing module is also used to obtain a target processing sequence according to a preset processing rule after obtaining the pre-processing file.

2. The cross-network file ferrying 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 ferrying 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 ferrying system according to claim 1, characterized in that: 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 and performing name labeling and marking on a plurality of sequences after grouping, specifically: taking every four characters in the pre-processed file as a group of block arrays, a plurality of groups of block arrays can be obtained, and marking all the groups of block arrays as A1, A2, ..., Aa from left to right in sequence according to the position of each group of block arrays in the pre-processed file, 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 two characters need to be added and a carry is required during the execution, all the carry digits are recorded during the execution. S13: On the basis of S12, if the number of recorded carry digits is not 0, the execution carry type of the block array A2 is determined according to all the recorded carry digits. If all the recorded carry digits are continuous in value, it is determined that there are multiple continuous carries in the execution process of the block array A2. At this time, the execution carry type of the block array A2 is multiple continuous carries. If all the recorded carry digits are not continuous in value or the number of recorded carry digits is 1, it is determined that there are independent carries in the execution process. At this time, the execution carry type of the 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: According to S11 to S16, processing arrays of block arrays A3, A4, ..., Aa are obtained in sequence, and in the order of block arrays A1, A2, ..., Aa, the block arrays, the processing arrays of block array A2, the processing arrays of block array A3, ..., the processing arrays of block array Aa are concatenated to obtain a target processing sequence.

5. The cross-network file ferrying system according to claim 4, characterized in that: S14, obtaining the carry state sequence of the block array A2, 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 the 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 the 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 the preset third carry list as the carry state sequence of the block array A2.

6. The cross-network file ferrying system according to claim 5, characterized in that: 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.

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

Citation Information

Patent Citations

  • An encryption and decryption method and device based on random hash and bit operation

    CN109861820A

  • Encryption transmission system based on USRP and Gnu radio

    CN113923654A

  • Token generation method and device, electronic equipment and storage medium

    CN115996125A

  • Message signal transmission method and device, electronic equipment and vehicle

    CN118573756A

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

    CN119138871A

Cited By

  • Transportation hub route recommendation system based on large model

    CN121808842A

  • A large model-based traffic hub route recommendation system

    CN121808842B