A 5G network distributed encryption method and system based on blockchain
Through the blockchain-based 5G network distributed encryption method, using false secret keys and decryption trend judgments, the problem of easy intrusion of the key management and distribution system is solved, information security and flexibility are realized, the importance of different information is adapted to the importance of different information, and the security of information storage and output is improved.
Patent Information
- Application Number
- CN202411521074.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-29
- Publication Date
- 2025-08-29
- Estimated Expiration
- 2044-10-29
AI Technical Summary
In the existing distributed encryption methods, the key management and distribution system is prone to intrusion and leads to the leakage of encrypted information, and the information security needs to be improved.
The blockchain-based 5G network distributed encryption method is adopted to ensure information security and flexibility of encryption methods by generating false keys and decryption trends, combining the rearrangement of key templates and multi-level information filling.
It improves the security of keys and the security of information storage, reduces the probability of information leakage, ensures the flexibility and security of encryption methods, adapts to the importance of different information, and improves the efficiency and security of information output.
Smart Images

Figure CN119584106B_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] Patent publication number CN111143870A discloses a distributed encrypted storage device, system, and encryption / decryption method, comprising 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 encrypted from the first key, establishes a communication connection with each data encryption / decryption unit, and performs two-way transmission of key information. The data encryption / decryption unit stores the second key and uses the first key to encrypt or decrypt data. This invention provides a user-transparent distributed encrypted storage method, focusing on addressing potential data leakage risks associated with centralized storage and theft attacks caused by plaintext storage. It enables distributed, secure, and encrypted storage of billions of data, effectively protecting the security of users' massive amounts of data.
[0004] When transmitting patient information in hospitals, in order to protect patient privacy and prevent losses caused by information leakage, distributed encryption methods are often needed. In distributed encryption methods, managing and distributing keys is a particularly important step in the distributed encryption method. The above-mentioned and similar distributed encryption methods mostly directly distribute the keys from the key management and distribution system. In this way, when the key management and distribution system is invaded, the encrypted key will be completely leaked, and then the encrypted information will be leaked. 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 objectives, 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 devices and user needs. The user devices are nodes. The information to be transmitted is obtained to obtain the target information. Based on the nodes, the center point is selected as the backbone network.
[0008] Information transmission and processing: The user device 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, secret key template and decryption library, obtain the hash value of the encrypted information through hash algorithm, generate blocks in the central network, and the blocks include block header and block body. The block body is used to store encrypted information, and the block header is used to store the hash value of the encrypted information and the hash value of the encrypted information in the 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. Based on the key template, a false key is generated through the key distribution method, the location and target number are added, and the key is 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. Decryption trends include correct decryption and incorrect decryption. When incorrect decryption occurs, the user device that caused the incorrect decryption is removed.
[0012] Correct decryption includes: generating a correct key based on the false key, the target number and the decryption library through a key matching method, 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 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 corresponding 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 using the key padding method to obtain a correct key and a decryption library, encrypting the sub-information based on the correct key and 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 and 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 using the key padding method to obtain a correct key and a decryption library, encrypting the sub-information based on the correct key and 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 several information items, obtaining information related to the information items to obtain derived information items, 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 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.
[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 expansion range is determined based on the update cycle. Positive and negative numbers are randomly generated within the 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 blockchain-based 5G network distributed encryption system uses the above-mentioned blockchain-based 5G network distributed encryption method.
[0021] Compared with the prior art, the present invention has the following beneficial effects:
[0022] This 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, it is removed from the user device 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 length. Important information focuses on security and uses a filling length combined with a reduced length to fill in the reduced filling length, 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. 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, which makes it difficult to find the update cycle. At the same time, the encryption method is updated without delay, which is beneficial to protecting information, improving the security of information storage and transmission, and facilitating 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 Schematic diagram of the key generation method of the present invention. DETAILED DESCRIPTION
[0029] 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.
[0030] Blockchain is a decentralized digital ledger technology used to record and store data, ensuring the security, transparency, and immutability of data. By leveraging 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 Figures 1-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 devices and user needs. The user devices are nodes. The information to be transmitted is obtained to obtain the target information. Based on the nodes, the center point is selected as the backbone network.
[0033] Information transmission and processing: The user device 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, secret key template and decryption library, obtain the hash value of the encrypted information through hash algorithm, generate blocks in the central network, and the blocks include block header and block body. The block body is used to store encrypted information, and the block header is used to store the hash value of the encrypted information and the hash value of the encrypted information in the 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. Based on the key template, a false key is generated through the key distribution method, the location and target number are added, and the key is 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. Decryption trends include correct decryption and incorrect decryption. When incorrect decryption occurs, the user device that caused the incorrect decryption is removed.
[0037] Correct decryption includes: generating a correct key based on the false key, the target number and the decryption library through a key matching method, 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 into account. 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, thereby improving data security. 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 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, it 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. The false key and the adding position are generated by 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 network fluency. In the decryption trend judgment stage, by sending the false key to the user device, a pop-up window is generated on the user device. 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 the real person, and 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 just a 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 step of 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 addition position can be preset according to actual usage needs, or it can be added randomly. Adding a 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 format of the random information segment is consistent with the secret key template, comparing the random information segment and 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 a unified format, the length and gap of the random information segment are consistent with those of the secret key template, making it easy 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 easy 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-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 and 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 and 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 a correct key and a decryption library, and encrypting the sub-information based on the correct key and 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 has no delay, and reduce the risk of being cracked. The encryption method added 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. There is randomness when selecting encryption methods. 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 ordinary information. Fill in the long The length is the length of the fixed template filled, and the reduced length is the length of the reduced padding length. For example, if the fixed template is 32 bits, the padding length can be 12 bits. The padding length is closely related to the difficulty of cracking the secret key. The padding length can be increased according to the speed of decrypting the information. To ensure security, the padding length can be reduced. Ordinary information is not so important, and more attention is paid to the timeliness of decryption, so the padding length is used for padding. Important information is more important, and more attention is paid to security, so the padding length is reduced and then padded using the padding length combined with the reduced length. The key template is filled with the key padding method to obtain the correct key and decryption library. The correct key is combined with the encryption method to encrypt the sub-information to obtain encrypted information. The specific encryption process is determined according to the encryption method and the correct key used.
[0045] The process of judging the importance of the target information is as follows: two information writing interfaces are added to the central network, including 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. 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 several 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. By splitting the padding information, several information items are obtained, 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 the 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 addition 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 by the target rule to obtain the key template, and then the correct key is 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 block bodies. The update cycle of the encryption method and the fixed template is preset, and the expansion range is determined based on the update cycle. Positive and negative numbers are randomly generated within the 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.
[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 expansion and contraction range is determined based on the determined update cycle. The expansion and contraction 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 protecting information, improving the security of information storage and transmission, and facilitating use.
[0053] Although embodiments of the present invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and variations may be made to these embodiments without departing from the principles and spirit of the invention, and that the scope of the invention is limited by the accompanying embodiments and their equivalents.
Claims
1. A 5G network distributed encryption method based on blockchain, characterized by: The method comprises: Information acquisition: Obtain user devices and user needs. The user devices are nodes. The information to be transmitted is obtained to obtain the target information. Based on the nodes, the center point is selected as the backbone network. Information transmission and processing: The user device 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, secret key template and decryption library, obtain the hash value of the encrypted information through hash algorithm, generate blocks in the central network, and the blocks include block header and block body. The block body is used to store encrypted information, and the block header is used to store the hash value of the encrypted information and the hash value of the encrypted information in the 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. Based on the key template, a false key is generated through the key distribution method, the location and target number are added, and the key is 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. Decryption trends include correct decryption and incorrect decryption. When incorrect decryption occurs, the user device that caused the incorrect decryption is removed. Correct decryption includes: generating a correct key based on the false key, the target number and the decryption library through a key matching method, 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. The 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: 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.
3. The 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 padding method to obtain a correct key and a decryption library, encrypting the sub-information based on the correct key in combination 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 combination 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 a correct key and a decryption library, and encrypting the sub-information based on the correct key in combination with the encryption method to obtain encrypted information.
4. The 5G network distributed encryption method based on blockchain according to claim 3, characterized in that: The process of judging the importance of the target information is as follows: two information writing interfaces are added to the central network, including 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. The source of the target information is judged through the central network to obtain the importance of the target information.
5. The 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 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 and filling 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 items to obtain derived information items, 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. The 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. The 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 block bodies. The update cycle of the encryption method and the fixed template is preset, and the expansion range is determined based on the update cycle. Positive and negative numbers are randomly generated within the 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.
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
Session key generation method and device
CN115515130A
Activity area safety management system in large-scale activity
CN220475843U