5G network distributed encryption method and system based on block chain
By adopting blockchain technology and distributed encryption methods in 5G networks with false key design, the problem of insufficient security of the key management and distribution system in the existing technology is solved, and higher information storage security and reduced leakage risks are achieved.
Patent Information
- Application Number
- CN202411521074.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-29
- Publication Date
- 2025-03-07
- Estimated Expiration
- 2044-10-29
AI Technical Summary
The existing distributed encryption methods have insufficient security in the key management and distribution process, and it is easy to leak encrypted information due to intrusion of the key management distribution system.
The distributed encryption method of 5G network based on blockchain is adopted. By generating blocks in the hub network, the block header stores the hash value of the encrypted information, the block body stores the encrypted information, and using the design of the false key and the decryption library, it ensures that only the user equipment that has been correctly decrypted can obtain the correct key for decryption.
It improves the security of information storage, reduces the probability of information leakage, ensures that even if the key is distributed or any party is attacked and invaded, the correct key will not be lost, and enhances the security of information protection.
Smart Images

Figure CN119584106A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data encryption technology, and specifically to a 5G network distributed encryption method and system based on blockchain. Background Art
[0002] Data encryption is the process of converting original information into an unreadable format to protect the confidentiality and security of the data. Blockchain-based 5G network distributed encryption is a method of combining blockchain technology with 5G networks to improve the security of data transmission, privacy protection and network management efficiency.
[0003] The patent publication number is CN111143870A, which discloses a distributed encrypted storage device, system and encryption / decryption method, including a key management unit and at least one data encryption / decryption unit; the key management unit generates a first key for data encryption and a second key after encrypting the first key, establishes a communication connection with each data encryption / decryption unit, and performs two-way mutual transmission of key information; the data encryption / decryption unit stores the second key, and uses the first key to perform encryption or decryption operations on the data. The present invention provides a distributed encrypted storage method that is transparent to users, focuses on solving the problems of leakage risks caused by centralized storage of data information and theft attacks caused by plaintext storage, realizes distributed secure encrypted storage of billions of data, and effectively protects the security of users' massive data information.
[0004] When transmitting patient information in a hospital, in order to protect patient privacy and prevent losses caused by information leakage, a distributed encryption method is often needed. In the distributed encryption method, managing and distributing keys is a particularly important step in the distributed encryption method. The above-mentioned and similar distributed encryption methods mostly distribute the keys directly from the key management and distribution system. In this way, when the key management and distribution system is invaded, the encrypted keys may be completely leaked, which in turn leads to the leakage of encrypted information. The security of protecting information needs to be improved, and thus the present invention is proposed. Summary of the invention
[0005] The purpose of the present invention is to provide a 5G network distributed encryption method and system based on blockchain to solve the problems raised in the above background technology.
[0006] To achieve the above purpose, the present invention provides the following technical solution: a 5G network distributed encryption method based on blockchain, the method comprising:
[0007] Information acquisition: obtain user equipment and user needs, with the user equipment as the node, obtain the information to be transmitted to obtain the target information, and select the center point as the central network based on the node;
[0008] Information transmission and processing: The user equipment sends the target information to the central network through the 5G network, and the target information is divided into several sub-information;
[0009] Information encryption and storage: Encrypt sub-information through encryption generation method to obtain encrypted information, key template and decryption library, obtain the hash value of encrypted information through hash algorithm, generate blocks in the central network, the blocks include block header and block body, the block body is used to store encrypted information, the block header is used to store the hash value of encrypted information and the hash value of encrypted information in adjacent blocks;
[0010] Information output and decryption: Based on user needs, the encrypted information in the block body is obtained to obtain the information to be decrypted, and the information to be decrypted is sent to the user device through the 5G network. A false key is generated based on the key template through the key distribution method, and the location and target number are added and distributed to the user device. The decryption library is stored in the user device;
[0011] Decryption trend judgment: Decryption trends are obtained based on the decryption process of the user device. The decryption trends include correct decryption and incorrect decryption. When incorrect decryption occurs, the user device where the incorrect decryption occurs is removed.
[0012] Correct decryption includes: generating a correct key through a key matching method based on the false key and the target number in cooperation with the decryption library, and decrypting the information to be decrypted with the correct key to obtain the required information;
[0013] The key distribution method includes: establishing a correction standard for rearranging and restoring a key template, storing the correction standard in a user device, the correction standard including a correction rule and a prompt number, establishing a correlation between the correction rule and the prompt number, randomly selecting a correction rule in the correction standard to obtain a correction step, rearranging the key template based on the correction steps in reverse order to obtain a template to be corrected, extracting the prompt number corresponding to the correction step based on the correlation to obtain a target number, presetting an adding position, adding the target number to the adding position in the template to be corrected to obtain a false key, and distributing the false key and the adding position to the user device.
[0014] Furthermore, the process of establishing the correction standard is: presetting a random information segment, the format of the random information segment is consistent with that of the secret key template, comparing the random information segment with the secret key template to obtain the same information item, marking the same information item in the random information segment, randomly mixing the random information segments after marking the same information item and recording the mixing steps to obtain mixed information, reversing the mixed information to obtain the correction rule, randomly generating prompt information to obtain the prompt number, and integrating the correction rule and the prompt number to obtain the correction standard.
[0015] Furthermore, the encryption generation method includes: obtaining a method for encrypting information to obtain a fixed method, establishing an encryption library for storing the fixed method, randomly selecting a fixed method in the encryption library to obtain an encryption method, presetting a fixed template, the fixed template corresponds to the encryption method, judging the importance of the sub-information, classifying the sub-information based on the importance of the sub-information to obtain ordinary information and important information, presetting a padding length and a reduced length, when the sub-information to be encrypted is ordinary information, generating a character-filled fixed template based on the padding length to obtain a key template, filling the key template with the key padding method to obtain a correct key and a decryption library, encrypting the sub-information based on the correct key in conjunction with the encryption method to obtain encrypted information, when the sub-information to be encrypted is important information, reducing the padding length based on the padding length in conjunction with the reduced length to obtain a target length, generating a character-filled fixed template based on the target length to obtain a key template, filling the key template with the key padding method to obtain the correct key and a decryption library, and encrypting the sub-information based on the correct key in conjunction with the encryption method to obtain encrypted information.
[0016] Furthermore, the process of judging the importance of the target information is as follows: two information writing interfaces are added to the central network, the information writing interfaces include a common interface and an important interface, the information writing interface is selected based on user needs and the target information is sent to the central network, and the source of the target information is judged through the central network to obtain the importance of the target information.
[0017] Furthermore, the key filling method includes: randomly generating filling information, obtaining a supplementary length based on a target length or a filling length in conjunction with a key template, adjusting the length of the filling information to be consistent with the filling length and then filling it into a fixed template to obtain a key template, intercepting the filling information to fill the key template to obtain a correct key, splitting the filling information to obtain a number of information items, obtaining information related to the information item to obtain a derived information item, presetting the number of information, reducing the derived information items based on the number of information, and integrating the information items and the derived information items to obtain a decryption library.
[0018] Furthermore, the key matching method includes: determining a target number based on an added position, selecting a correction rule corresponding to the target number based on correlation to obtain a target rule, correcting a false key based on the target rule to obtain a key template, and performing multi-level information filling on the key template through a decryption library until the information to be decrypted can be decrypted to obtain a correct key.
[0019] Furthermore, the number of encryption methods is preset, and the number of encryption methods is at least two. The encryption generation method generates an encryption method that is consistent with the number of encryption methods. When encrypting sub-information, an encryption method is randomly selected to encrypt sub-information in different block bodies. The update cycle of the encryption method and the fixed template is preset, and the shrinkage and expansion range is determined based on the update cycle. Positive and negative numbers are randomly generated within the shrinkage and expansion range to obtain addition and subtraction values. The addition and subtraction values are combined with the update cycle to obtain a target update time. Based on the target update time, a new encryption method is randomly selected to replace the original encryption method, and a new fixed template is preset to replace the original fixed template.
[0020] A 5G network distributed encryption system based on blockchain uses the above-mentioned 5G network distributed encryption method based on blockchain.
[0021] Compared with the prior art, the present invention has the following beneficial effects:
[0022] The blockchain-based 5G network distributed encryption method and system generates a false key through a unique key distribution method and sends it to the user device. The false key trap design is conducive to protecting the security of information and reducing the probability of information leakage. It determines whether the decryption is correct based on the decryption trend of the user device. When it is not in the correct decryption, the user device is removed to ensure the security of information storage. The synthesis of the correct key requires the cooperation of the key distribution method, the key matching method and the user device. Even if the key distribution or any party is attacked and invaded, the correct key will not be lost, which improves the security of key storage and thus improves the security of information storage.
[0023] At the same time, the encryption method for encrypting information can be added according to actual usage, which improves the scalability of encryption, facilitates later updates, ensures that the encryption method has no delays, and reduces the risk of being cracked. The secret key of the encryption method adopts the design of a secret key template. By filling in filling information of different lengths, the time for cracking the secret key can be controlled, which plays a controllable role. By judging the importance of the target information and controlling the time for cracking the secret key, ordinary information and important information can be diverted and output. Ordinary information focuses on timeliness and uses a fixed template for filling with a filling length. Important information focuses on security and uses a filling length combined with a reduced length to reduce the filling length before filling, which is beneficial to improving information output efficiency and security.
[0024] At the same time, the number of encryption methods can be determined according to actual usage. By using multiple encryption methods to encrypt different sub-information, the security of the information can be improved. The update cycle is determined according to actual usage, and the shrinkage and expansion range is determined according to the determined update cycle. The shrinkage and expansion range is a range value, which contains positive and negative numbers. The addition and subtraction values are obtained by randomly generating positive and negative numbers. The addition and subtraction values are combined with the update cycle to obtain the target update time. By randomly generating addition and subtraction values, the actual update time of the encryption method and the fixed template is random, and it is not easy to find the update cycle. At the same time, the encryption method is updated without delay, which is beneficial to protect information, improve the security of information storage and transmission, and facilitate use. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 It is a schematic diagram of the main process structure of the present invention;
[0026] Figure 2 This is a schematic diagram of the information encryption and storage structure of the present invention;
[0027] Figure 3 It is a schematic diagram of the principle structure of the present invention;
[0028] Figure 4 It is a structural schematic diagram of the key generation method of the present invention. DETAILED DESCRIPTION
[0029] 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.
[0030] Blockchain is a decentralized digital ledger technology used to record and store data, which can ensure the security, transparency and immutability of data. By utilizing the unique decentralization of blockchain, information data is split into multiple blocks, and hash values are stored in the blocks, so that the recorded data will not be tampered with, ensuring the accuracy of hospital record data. At the same time, 5G networks have the characteristics of high download speed and low latency, allowing users to send and receive information data more quickly.
[0031] like Figure 1-Figure 4 As shown, the present invention provides a technical solution: a 5G network distributed encryption method and system based on blockchain, the method comprising:
[0032] Information acquisition: obtain user equipment and user needs, with the user equipment as the node, obtain the information to be transmitted to obtain the target information, and select the center point as the central network based on the node;
[0033] Information transmission and processing: The user equipment sends the target information to the central network through the 5G network, and the target information is divided into several sub-information;
[0034] Information encryption and storage: Encrypt sub-information through encryption generation method to obtain encrypted information, key template and decryption library, obtain the hash value of encrypted information through hash algorithm, generate blocks in the central network, the blocks include block header and block body, the block body is used to store encrypted information, the block header is used to store the hash value of encrypted information and the hash value of encrypted information in adjacent blocks;
[0035] Information output and decryption: Based on user needs, the encrypted information in the block body is obtained to obtain the information to be decrypted, and the information to be decrypted is sent to the user device through the 5G network. A false key is generated based on the key template through the key distribution method, and the location and target number are added and distributed to the user device. The decryption library is stored in the user device;
[0036] Decryption trend judgment: Decryption trends are obtained based on the decryption process of the user device. The decryption trends include correct decryption and incorrect decryption. When incorrect decryption occurs, the user device where the incorrect decryption occurs is removed.
[0037] Correct decryption includes: generating a correct key through a key matching method based on the false key and the target number in cooperation with the decryption library, and decrypting the information to be decrypted with the correct key to obtain the required information;
[0038] It should be noted that in the information acquisition stage, the user device is the device that needs to transmit information, that is, the device used by the user who needs to transmit information. In order to ensure the security of information transmission, the user identity can be verified before information transmission. The target information is the information that the user needs to transmit, such as the information that needs to be sent and the information that needs to be obtained. Each user can be used as a node. In order to ensure the user experience of each user, the center point of each user is selected as the hub for sending and receiving information to ensure that the user experience of each user is taken care of. The central network can be established through centralized servers and standard network protocols. By combining blockchain technology, the effect of tamper-proof data can be achieved and the security of data can be improved. In the information sending and processing stage, a single user device can be regarded as a single node. The node and the central network are connected through a 5G network to increase the speed of information sending and receiving. The target information is split into multiple sub-information to improve the security of information storage. In the information encryption and storage stage, the hash value is obtained by inputting the encrypted information into the hash algorithm. The hash algorithm is a mathematical function that converts the input into a fixed-length output. The input is the encrypted information and the output is the hash value. The hash value of the encrypted information of adjacent blocks is stored in the block header to form a chain to ensure that it cannot be tampered with. Modification, and can also store the time when the block writes the encrypted information for subsequent use. In the information output and decryption stage, the user demand is the information that the user needs to receive. According to the user demand, the encrypted information is determined to obtain the information to be decrypted and sent to the user device. A false key and an added position are generated through the secret key distribution method and sent to the user device. The decryption process is carried out in the user device through the secret key matching method to reduce the network load and improve the fluency of the network. In the decryption trend judgment stage, a false key is sent to the user device, a pop-up window is generated on the user device, and the user feedback is used to determine whether to use the false key for decryption. When the user uses When a false key is used for decryption, it means that the person using the user device at this moment is not himself, and then the user device is removed. When the user does not use the false key for decryption, the key matching method is run on the user device to decrypt the information to be decrypted to obtain the required information for the user to use. The false key is a simple name. In actual use, it is just a string of undecryptable key strings. The trap design of the false key is conducive to protecting the security of information and reducing the probability of information leakage. At the same time, when the authorized user uses the user device, the correct steps for decrypting the information to be decrypted should be explained in detail, that is, do not directly use the false key for decryption.
[0039] The key distribution method includes: establishing a correction standard for rearranging and restoring a key template, storing the correction standard in a user device, the correction standard including a correction rule and a prompt number, establishing a correlation between the correction rule and the prompt number, randomly selecting a correction rule in the correction standard to obtain a correction step, rearranging the key template based on the correction steps in reverse order to obtain a template to be corrected, extracting the prompt number corresponding to the correction step based on the correlation to obtain a target number, presetting an adding position, adding the target number to the adding position in the template to be corrected to obtain a false key, and distributing the false key and the adding position to the user device.
[0040] It should be noted that the key template can be rearranged and restored through the correction standard. The correction standard is stored and installed on the user device as a running script. The correction rule is the steps for correcting the key template. For example, the rearrangement step is to swap the characters in the key template and add 1 to the numeric item. At this time, the correction rule is to subtract 1 from the numeric item in the key template and swap the characters in the key template. There are many correction rules. The prompt number is a prompt message indicating which correction rule is used. The key template is rearranged by using the correction rules in reverse order to obtain the template to be corrected. Subsequently, the corresponding correction rule can be used to directly correct the key template. The selection of the correction rule is random and confusing. People who are not familiar with this method may think that they are generating a key, which is confusing. The adding position can be preset according to actual usage needs, or it can be added randomly. The adding target number plays a prompt and confusing role, which is convenient for use.
[0041] like Figure 1 As shown, the process of establishing the correction standard is: presetting a random information segment, the random information segment is consistent with the format of the secret key template, comparing the random information segment with the secret key template to obtain the same information item, marking the same information item in the random information segment, randomly mixing the random information segments after marking the same information item and recording the mixing steps to obtain mixed information, reversing the mixed information to obtain the correction rule, randomly generating prompt information to obtain the prompt number, and integrating the correction rule and the prompt number to obtain the correction standard.
[0042] It should be noted that the random information segment can be preset according to actual usage requirements or generated randomly. Through the unified format, the length and gap of the random information segment are consistent with the secret key template, so that it is convenient to record the mixed information and not leave the secret key template during subsequent mixing. At the same time, by marking the same information items, it is convenient to record the mixing steps of the random information segment. The prompt number can be randomly generated or automatically set according to actual usage. The prompt number can be a combination of numbers, symbols and characters.
[0043] like Figure 1As shown, the encryption generation method includes: obtaining a method for encrypting information to obtain a fixed method, establishing an encryption library for storing the fixed method, randomly selecting a fixed method in the encryption library to obtain an encryption method, presetting a fixed template, the fixed template corresponds to the encryption method, judging the importance of the sub-information, classifying the sub-information based on the importance of the sub-information to obtain ordinary information and important information, presetting a padding length and a reduced length, when the sub-information to be encrypted is ordinary information, generating a character padding fixed template based on the padding length to obtain a key template, filling the key template with the key padding method to obtain a correct key and a decryption library, encrypting the sub-information based on the correct key in conjunction with the encryption method to obtain encrypted information, when the sub-information to be encrypted is important information, reducing the padding length based on the padding length in conjunction with the reduced length to obtain a target length, generating a character padding fixed template based on the target length to obtain a key template, filling the key template with the key padding method to obtain the correct key and a decryption library, and encrypting the sub-information based on the correct key in conjunction with the encryption method to obtain encrypted information.
[0044] It should be noted that fixed methods can be added according to actual usage to improve the scalability of encryption, facilitate later updates, ensure that the encryption method is not delayed, and reduce the risk of being cracked. The method added for encryption should be a symmetric encryption algorithm or an asymmetric encryption algorithm with the same public key and private key, that is, a symmetric encryption algorithm. The encryption library is used to store fixed methods for encryption. The selection of encryption methods is random. The fixed template is set according to the actual usage and the encryption method. The fixed template is a template for generating a secret key for the encryption method. The format, content and length of the secret key all conform to the fixed template. The sub-information is divided by judging the importance of the sub-information, and both ordinary information and important information are encrypted. The difficulty of cracking the secret key of important information is greater than that of cracking the secret key of ordinary information. Fill in the length The length is the length of the fixed template filled, and the reduced length is the length of the reduced filling length. For example, if the fixed template is 32 bits, the filling length can be 12 bits. The filling length is closely related to the difficulty of cracking the secret key. The filling length can be increased according to the speed of decrypting information. To ensure security, the filling length is reduced. Ordinary information is not so important, and more attention is paid to the timeliness of decryption, so the filling length is used for filling. Important information is more important and more attention is paid to security, so the filling length is reduced and then filled by using the filling length combined with the reduced length. The secret key template is filled with the secret key filling method to obtain the correct secret key and decryption library. The correct secret key is used in combination with the encryption method to encrypt the sub-information to obtain the encrypted information. The specific encryption process is determined according to the encryption method and the correct secret key used.
[0045] The process of judging the importance of target information is as follows: two information writing interfaces are added to the central network, including ordinary interfaces and important interfaces. The information writing interface is selected based on user needs and the target information is sent to the central network. The source of the target information is judged through the central network to obtain the importance of the target information.
[0046] It should be noted that when a user uses a user device to send information that needs to be transmitted, the information writing interface is selected according to actual usage needs. When information is sent using a normal interface, the information will be judged as normal information. When information is sent using an important interface, the information will be judged as important information.
[0047] The key filling method includes: randomly generating filling information, obtaining a supplementary length based on a target length or a filling length in conjunction with a key template, adjusting the length of the filling information to be consistent with the filling length and then filling it into a fixed template to obtain a key template, intercepting the filling information to fill the key template to obtain a correct key, splitting the filling information to obtain a number of information items, obtaining information related to the information item to obtain a derived information item, presetting the number of information, reducing the derived information items based on the number of information, and integrating the information items and the derived information items to obtain a decryption library.
[0048] It should be noted that the format of the padding information should be consistent with the format used by the encryption method to avoid the situation where the encryption method cannot use the correct key to encrypt the sub-information. When the encrypted information is determined to be important information, the supplementary length is the length of the key template minus the target length. When the encrypted information is determined to be ordinary information, the supplementary length is the length of the key template minus the padding length. The padding information is truncated to be consistent with the supplementary length and filled into the key template to obtain the correct key. Several information items are obtained by splitting the padding information, and then information related to the information item is obtained to obtain the derived information item. This process can be performed by training a derivative model or manually by staff. For example, if the information item is 3, the derived information item can be 1, 2, 4, 5, 6, 7, 8, 9, 33, etc. The number of information is determined according to actual usage requirements and can be specifically a numerical value. The larger the number of information, the longer the time required for the subsequent decryption process. The items to be filled are items that need to be filled in the subsequent key matching method process.
[0049] like Figure 1 As shown, the key matching method includes: determining the target number based on the added position, selecting the correction rule corresponding to the target number based on the correlation to obtain the target rule, correcting the false key based on the target rule to obtain the key template, and filling the key template with multi-level information through the decryption library until the information to be decrypted can be decrypted to obtain the correct key.
[0050] It should be noted that the target number is obtained by determining the adding position in the false key, the target number in the false key is eliminated to obtain the template to be corrected, and then the correction rule corresponding to the target number is extracted according to the correlation to obtain the target rule, and the false key is restored and corrected according to the target rule to obtain the key template, and then the correct key can be obtained by continuously adding information items in the decryption library to the key template until the information to be decrypted can be decrypted.
[0051] The number of encryption methods is preset, and the number of encryption methods is at least two. The encryption generation method generates an encryption method that is consistent with the number of encryption methods. When encrypting sub-information, an encryption method is randomly selected to encrypt sub-information in different blocks. The update cycle of the encryption method and the fixed template is preset, and the shrinkage range is determined based on the update cycle. Positive and negative numbers are randomly generated within the shrinkage range to obtain addition and subtraction values. The addition and subtraction values are combined with the update cycle to obtain a target update time. Based on the target update time, a new encryption method is randomly selected to replace the original encryption method, and a new fixed template is preset to replace the original fixed template.
[0052] It should be noted that the number of encryption methods can be determined according to actual usage. By using multiple encryption methods to encrypt different sub-information, the security of the information can be improved. The update cycle is determined according to actual usage. The shrinkage and expansion range is determined according to the determined update cycle. The shrinkage and expansion range is a range value, which contains positive and negative numbers. The addition and subtraction values are obtained by randomly generating positive and negative numbers. The addition and subtraction values are combined with the update cycle to obtain the target update time. By randomly generating addition and subtraction values, the actual update time of the encryption method and the fixed template is random, and it is not easy to find the update cycle. At the same time, the encryption method is updated without delay, which is beneficial to protect information, improve the security of information storage and transmission, and facilitate use.
[0053] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is limited by the attached embodiments and their equivalents.
Claims
1. A 5G network distributed encryption method based on blockchain, characterized in that: The method comprises: Information acquisition: obtain user equipment and user needs, with the user equipment as the node, obtain the information to be transmitted to obtain the target information, and select the center point as the central network based on the node; Information transmission and processing: The user equipment sends the target information to the central network through the 5G network, and the target information is divided into several sub-information; Information encryption and storage: Encrypt sub-information through encryption generation method to obtain encrypted information, key template and decryption library, obtain the hash value of encrypted information through hash algorithm, generate blocks in the central network, the blocks include block header and block body, the block body is used to store encrypted information, the block header is used to store the hash value of encrypted information and the hash value of encrypted information in adjacent blocks; Information output and decryption: Based on user needs, the encrypted information in the block body is obtained to obtain the information to be decrypted, and the information to be decrypted is sent to the user device through the 5G network. A false key is generated based on the key template through the key distribution method, and the location and target number are added and distributed to the user device. The decryption library is stored in the user device; Decryption trend judgment: Decryption trends are obtained based on the decryption process of the user device. The decryption trends include correct decryption and incorrect decryption. When incorrect decryption occurs, the user device where the incorrect decryption occurs is removed. Correct decryption includes: generating a correct key through a key matching method based on the false key and the target number in cooperation with the decryption library, and decrypting the information to be decrypted with the correct key to obtain the required information; The key distribution method includes: establishing a correction standard for rearranging and restoring a key template, storing the correction standard in a user device, the correction standard including a correction rule and a prompt number, establishing a correlation between the correction rule and the prompt number, randomly selecting a correction rule in the correction standard to obtain a correction step, rearranging the key template based on the correction steps in reverse order to obtain a template to be corrected, extracting the prompt number corresponding to the correction step based on the correlation to obtain a target number, presetting an adding position, adding the target number to the adding position in the template to be corrected to obtain a false key, and distributing the false key and the adding position to the user device.
2. A 5G network distributed encryption method based on blockchain according to claim 1, characterized in that: The process of establishing the correction standard is as follows: preset a random information segment, the format of the random information segment is consistent with that of the secret key template, compare the random information segment with the secret key template to obtain the same information item, mark the same information item in the random information segment, randomly mix the random information segments after marking the same information item and record the mixing steps to obtain mixed information, reverse the mixed information to obtain the correction rule, randomly generate prompt information to obtain the prompt number, and integrate the correction rule and the prompt number to obtain the correction standard.
3. A 5G network distributed encryption method based on blockchain according to claim 1, characterized in that: The encryption generation method includes: obtaining a method for encrypting information to obtain a fixed method, establishing an encryption library for storing the fixed method, randomly selecting a fixed method in the encryption library to obtain an encryption method, presetting a fixed template, the fixed template corresponding to the encryption method, judging the importance of sub-information, classifying the sub-information based on the importance of the sub-information to obtain ordinary information and important information, presetting a padding length and a reduced length, when the sub-information to be encrypted is ordinary information, generating a character-filled fixed template based on the padding length to obtain a key template, filling the key template with a key-filling method to obtain a correct key and a decryption library, encrypting the sub-information based on the correct key in cooperation with the encryption method to obtain encrypted information, when the sub-information to be encrypted is important information, reducing the padding length based on the padding length in cooperation with the reduced length to obtain a target length, generating a character-filled fixed template based on the target length to obtain a key template, filling the key template with a key-filling method to obtain a correct key and a decryption library, and encrypting the sub-information based on the correct key in cooperation with the encryption method to obtain encrypted information.
4. A 5G network distributed encryption method based on blockchain according to claim 3, characterized in that: The process of judging the importance of target information is as follows: two information writing interfaces are added to the central network, including ordinary interfaces and important interfaces. The information writing interface is selected based on user needs and the target information is sent to the central network. The source of the target information is judged through the central network to obtain the importance of the target information.
5. A 5G network distributed encryption method based on blockchain according to claim 3, characterized in that: The key filling method includes: randomly generating filling information, obtaining a supplementary length based on a target length or a filling length in cooperation with a key template, adjusting the length of the filling information to be consistent with the filling length and then filling it into a fixed template to obtain a key template, intercepting the filling information to fill the key template to obtain a correct key, splitting the filling information to obtain a plurality of information items, obtaining information related to the information item to obtain a derived information item, presetting the number of information, reducing the derived information items based on the number of information, and integrating the information items and the derived information items to obtain a decryption library.
6. A 5G network distributed encryption method based on blockchain according to claim 1, characterized in that: The key matching method includes: determining a target number based on an added position, selecting a correction rule corresponding to the target number based on correlation to obtain a target rule, correcting a false key based on the target rule to obtain a key template, and filling the key template with multi-level information through a decryption library until the information to be decrypted can be decrypted to obtain a correct key.
7. A 5G network distributed encryption method based on blockchain according to claim 1, characterized in that: The number of encryption methods is preset, and the number of encryption methods is at least two. The encryption generation method generates an encryption method that is consistent with the number of encryption methods. When encrypting sub-information, an encryption method is randomly selected to encrypt sub-information in different blocks. The update cycle of the encryption method and the fixed template is preset, and the shrinkage range is determined based on the update cycle. Positive and negative numbers are randomly generated within the shrinkage range to obtain addition and subtraction values. The addition and subtraction values are combined with the update cycle to obtain a target update time. Based on the target update time, a new encryption method is randomly selected to replace the original encryption method, and a new fixed template is preset to replace the original fixed template.
8. A 5G network distributed encryption system based on blockchain, characterized by: A blockchain-based 5G network distributed encryption method as described in any one of claims 1-7 is used.
Citation Information
Patent Citations
Distributed encryption storage device and system and encryption and decryption method
CN111143870A
A user sensitive data protection method and system based on a cloud service and a block chain
CN109933995A
Session key generation method and device
CN115515130A
Key generation method, device and equipment for key encryption of KMS (Keyboard Management System)
CN116633533A
Activity area safety management system in large-scale activity
CN220475843U