A method for information transmission based on intelligent terminal
By using the transmission key based on the intensity mean value and storage parameters generated by the directory tree in data transmission, the files are encrypted, and the security and integrity problems in the data transmission process are solved, and efficient and secure transmission of files is achieved during the transmission process.
Patent Information
- Application Number
- CN202510238900.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-03
- Publication Date
- 2025-05-09
- Estimated Expiration
- 2045-03-03
AI Technical Summary
During data transmission, how to ensure the security, integrity and efficiency of data, especially when processing sensitive or important files, how to effectively generate a secure transmission key to prevent illegal access or tampering.
By obtaining the pending files from the cloud, generating the intensity average based on their directory tree, and generating the transmission keys in combination with the parameters generated by the storage, the files are compressed and encrypted and transmitted.
The generated transmission keys are enhanced in complexity and unpredictability, ensuring the security and integrity of files during transmission and preventing illegal access.
Smart Images

Figure CN119728314B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of information processing, and in particular relates to an information transmission method based on an intelligent terminal. Background Art
[0002] In the current digital age, with the rapid development and popularization of cloud computing technology, a large amount of data is stored on cloud servers for efficient data management and access. However, how to ensure the security, integrity and efficiency of data during data transmission and processing has become an urgent problem to be solved. Especially when processing sensitive or important files, how to effectively generate secure transmission keys to ensure that data is protected from illegal access or tampering during file transmission has become a crucial technical challenge. Summary of the invention
[0003] In order to solve the above problems, the present invention proposes an information transmission method based on an intelligent terminal.
[0004] The technical solution of the present invention is: an information transmission method based on a smart terminal comprises the following steps:
[0005] S1, obtain the file to be processed from the cloud, and generate the intensity mean according to the directory tree of the file to be processed;
[0006] S2. Generate a transmission key according to the strength mean of the file to be processed and the parameters generated by the storage;
[0007] S3. Compress the file to be processed, encrypt the compressed file to be processed using a transmission key, and then transmit it to the terminal.
[0008] Furthermore, S1 includes the following sub-steps:
[0009] S11, obtaining a file to be processed from the cloud, and splitting the file to be processed into a plurality of information blocks;
[0010] S12. Generate proof strength for each information block based on the directory tree of the file to be processed;
[0011] S13. Take the average of the proof strengths of all information blocks as the average strength of the file to be processed.
[0012] The beneficial effect of the above further scheme is that in the present invention, the directory tree structure can clearly represent the hierarchy and relationship within the file (ie, the information block), and the strength of proof generated based on this structure can ensure that each information block is properly analyzed.
[0013] Furthermore, S12 includes the following sub-steps:
[0014] S121, calculating a single access attribute of the information block according to the path depth of the information block;
[0015] S122, randomly select an information block as a relative access point, and calculate the relative access attribute of the information block;
[0016] S123. Generate access strength for the information block according to the single access attribute and the relative access attribute of the information block.
[0017] The beneficial effect of the above further scheme is: in the present invention, by analyzing the path depth of the information block and taking it as the basis of a single access attribute, the position of the information block in the directory tree can be quantified, which provides a basis for the subsequent access strength evaluation and helps to understand the position and role of the information block in the whole. By combining the single access attribute and the relative access attribute, a comprehensive access strength value is generated for the information block. This comprehensive evaluation method takes into account both the position of the information block itself and its relative relationship with other information blocks to complete the access analysis of the file to be processed. This process is not only applicable to the directory tree analysis of the file system, but can also be extended to other hierarchical data sets or networks. For example, in the fields of database management, network topology analysis, and information retrieval, similar methods can be used to quantify the access attributes or importance of nodes.
[0018] Furthermore, in S121, the single access attribute Q of the mth information block m The calculation formula is:
[0019] ; In the formula, l m Indicates the path depth from the root directory to the mth information block, L max Indicates the maximum length of the full path name from the root directory to the file to be processed.
[0020] The beneficial effect of the above further solution is that: in the present invention, the path depth is determined by calculating the number of directory levels from the root directory to the directory where the target file is located. The maximum length of the complete path name of the to-be-processed file is a fixed value. The relative position of the information block in the directory tree can be reflected by the ratio between the path depth of the information block and the maximum path length of the to-be-processed file.
[0021] Furthermore, in S122, the relative access attribute of the mth information block The calculation formula is:
[0022] ; In the formula, l m Indicates the path depth from the root directory to the mth information block, l m_center represents the path depth from the relative access point to the mth information block, l m_m+1represents the path depth from the m information block point to the m+1th information block, l m-1_m represents the path depth from the m-1 information block point to the mth information block, Represents the ceiling function.
[0023] Furthermore, in S123, the access intensity W of the mth information block is m The calculation formula is:
[0024] Where Q m represents the single access attribute of the mth information block, represents the relative access attribute of the mth information block, and round(·) represents the rounding function.
[0025] Furthermore, S2 includes the following sub-steps:
[0026] S21, obtaining the checksum generated by the to-be-processed file in the cloud storage, and converting it into a decimal form;
[0027] S22: Generate a transmission key for the file to be processed according to the strength matrix of the file to be processed and the checksum in decimal form.
[0028] The beneficial effect of the above further scheme is that: in the present invention, the calculation process of the checksum usually involves performing a specific operation (such as addition, XOR, etc.) on each byte of the data, and then converting the operation result into a fixed-length value. This value is the checksum. The decimal checksum is hashed using a hash function to generate a fixed-length hash value. This hash value is unique and can uniquely represent the input data (i.e., the checksum), which increases the complexity and unpredictability of the transmission key, and forms a key that contains both file content information and file characteristics.
[0029] Furthermore, in S22, the calculation formula of the transmission key K is:
[0030] ; Where Y represents the checksum of the file to be processed in decimal form, w represents the mean strength of the file to be processed, hash(·) represents the hash function, and e represents the exponent.
[0031] The beneficial effects of the present invention are as follows: the present invention proposes an information transmission method based on an intelligent terminal. In order to evaluate the sensitivity of the file to be processed, a strength mean is generated according to the directory tree structure of the file as one of the important factors for generating a transmission key. In addition, the present invention also combines other parameters generated during the storage process, such as a checksum, to generate a factor closely related to the file characteristics. The key thus generated is used to encrypt and transmit the file to be processed, which increases the complexity and unpredictability of the key, and the encrypted file is securely transmitted to the designated terminal user. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 The present invention is a flow chart of an information transmission method based on a smart terminal. DETAILED DESCRIPTION
[0033] The embodiments of the present invention will be further described below in conjunction with the accompanying drawings.
[0034] like Figure 1 As shown, the present invention provides an information transmission method based on a smart terminal, comprising the following steps:
[0035] S1, obtain the file to be processed from the cloud, and generate the intensity mean according to the directory tree of the file to be processed;
[0036] S2. Generate a transmission key according to the strength mean of the file to be processed and the parameters generated by the storage;
[0037] S3. Compress the file to be processed, encrypt the compressed file to be processed using a transmission key, and then transmit it to the terminal.
[0038] In this embodiment of the present invention, S1 includes the following sub-steps:
[0039] S11, obtaining a file to be processed from the cloud, and splitting the file to be processed into a plurality of information blocks;
[0040] S12. Generate proof strength for each information block based on the directory tree of the file to be processed;
[0041] S13. Take the average of the proof strengths of all information blocks as the average strength of the file to be processed.
[0042] In the present invention, the directory tree structure can clearly represent the hierarchy and relationship within the file (ie, information blocks), and the strength of proof generated based on this structure can ensure that each information block is properly analyzed.
[0043] In this embodiment of the present invention, S12 includes the following sub-steps:
[0044] S121, calculating a single access attribute of the information block according to the path depth of the information block;
[0045] S122, randomly select an information block as a relative access point, and calculate the relative access attribute of the information block;
[0046] S123. Generate access strength for the information block according to the single access attribute and the relative access attribute of the information block.
[0047] In the present invention, by analyzing the path depth of the information block and using it as the basis for a single access attribute, the position of the information block in the directory tree can be quantified, which provides a basis for subsequent access strength evaluation and helps to understand the position and role of the information block in the whole. By combining the single access attribute and the relative access attribute, a comprehensive access strength value is generated for the information block. This comprehensive evaluation method takes into account both the position of the information block itself and its relative relationship with other information blocks to complete the access analysis of the file to be processed. This process is not only applicable to the directory tree analysis of the file system, but can also be extended to other hierarchical data sets or networks. For example, in the fields of database management, network topology analysis, and information retrieval, similar methods can be used to quantify the access attributes or importance of nodes.
[0048] In the embodiment of the present invention, in S121, the single access attribute Q of the mth information block m The calculation formula is:
[0049] ; In the formula, l m Indicates the path depth from the root directory to the mth information block, L max Indicates the maximum length of the full path name from the root directory to the file to be processed.
[0050] In the present invention, the path depth is determined by calculating the number of directory levels from the root directory to the directory where the target file is located. The maximum length of the complete path name of the to-be-processed file is a fixed value. The relative position of the information block in the directory tree can be reflected by the ratio between the path depth of the information block and the maximum path length of the to-be-processed file.
[0051] In the embodiment of the present invention, in S122, the relative access attribute of the mth information block The calculation formula is:
[0052] ; In the formula, l m Indicates the path depth from the root directory to the mth information block, l m_center represents the path depth from the relative access point to the mth information block, l m_m+1 represents the path depth from the m information block point to the m+1th information block, l m-1_mrepresents the path depth from the m-1 information block point to the mth information block, Represents the ceiling function.
[0053] In the embodiment of the present invention, in S123, the access intensity W of the mth information block m The calculation formula is:
[0054] Where Q m represents the single access attribute of the mth information block, represents the relative access attribute of the mth information block, and round(·) represents the rounding function.
[0055] In this embodiment of the present invention, S2 includes the following sub-steps:
[0056] S21, obtaining the checksum generated by the to-be-processed file in the cloud storage, and converting it into a decimal form;
[0057] S22: Generate a transmission key for the file to be processed according to the strength matrix of the file to be processed and the checksum in decimal form.
[0058] In the present invention, the calculation process of the checksum usually involves performing a specific operation (such as addition, XOR, etc.) on each byte of the data, and then converting the operation result into a fixed-length value. This value is the checksum. Using a hash function to hash the decimal checksum can generate a fixed-length hash value. This hash value is unique and can uniquely represent the input data (i.e., the checksum), which increases the complexity and unpredictability of the transmission key, forming a key that contains both file content information and file characteristics.
[0059] In the embodiment of the present invention, in S22, the calculation formula of the transmission key K is:
[0060] ; Where Y represents the checksum of the file to be processed in decimal form, w represents the mean strength of the file to be processed, hash(·) represents the hash function, and e represents the exponent.
[0061] Those skilled in the art will appreciate that the embodiments described herein are intended to help readers understand the principles of the present invention, and should be understood that the protection scope of the present invention is not limited to such specific statements and embodiments. Those skilled in the art can make various other specific variations and combinations that do not deviate from the essence of the present invention based on the technical revelations disclosed by the present invention, and these variations and combinations are still within the protection scope of the present invention.
Claims
1. An information transmission method based on an intelligent terminal, characterized in that: The following steps are involved: S1, obtain the file to be processed from the cloud, and generate the intensity mean according to the directory tree of the file to be processed; S2. Generate a transmission key according to the strength mean of the file to be processed and the parameters generated by the storage; S3, compressing the file to be processed, encrypting the compressed file to be processed using a transmission key, and then transmitting it to the terminal; The S1 comprises the following sub-steps: S11, obtaining a file to be processed from the cloud, and splitting the file to be processed into a plurality of information blocks; S12. Generate proof strength for each information block based on the directory tree of the file to be processed; S13. Take the average of the proof strengths of all information blocks as the average strength of the file to be processed; The S12 comprises the following sub-steps: S121, calculating a single access attribute of the information block according to the path depth of the information block; S122, randomly select an information block as a relative access point, and calculate the relative access attribute of the information block; S123, generating access strength for the information block according to the single access attribute and the relative access attribute of the information block; In S121, the single access attribute Q of the mth information block m The calculation formula is: ; In the formula, l m Indicates the path depth from the root directory to the mth information block, L max Indicates the maximum length of the full path name from the root directory to the file to be processed; In S122, the relative access attribute of the mth information block The calculation formula is: ; In the formula, l m Indicates the path depth from the root directory to the mth information block, l m_center represents the path depth from the relative access point to the mth information block, l m_m+1 represents the path depth from the m information block point to the m+1th information block, l m-1_m represents the path depth from the m-1 information block point to the mth information block, represents the ceiling function; In S123, the access intensity W of the mth information block m The calculation formula is: Where Q m represents the single access attribute of the mth information block, represents the relative access attribute of the mth information block, and round(·) represents the rounding function; The S2 comprises the following sub-steps: S21, obtaining the checksum generated by the to-be-processed file in the cloud storage, and converting it into a decimal form; S22, generating a transmission key for the file to be processed according to the strength matrix of the file to be processed and the checksum in decimal form; In S22, the calculation formula of the transmission key K is: ; Where Y represents the checksum of the file to be processed in decimal form, w represents the mean strength of the file to be processed, hash(·) represents the hash function, and e represents the exponent.
Citation Information
Patent Citations
Integrity dynamic auditing method based on improved multi-branch tree in cloud environment
CN113094335A
Computer storage security assessment method and system
CN116644484A