5G big data computing power service method based on quantum encryption
By using the quantum encryption method of Bell state and interference particle state in 5G big data computing power service, the security problem of relying on third-party certification agencies is solved, a quantum encryption scheme without third-party certification is realized, and the security of data transmission is ensured. performance and channel reliability.
Patent Information
- Application Number
- CN202411187931.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-28
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-08-28
AI Technical Summary
Existing quantum encryption technology relies on third-party certification agencies in 5G big data computing services, which increases the risk of user information data leakage when the cloud platform is untrustworthy or malfunctions.
It uses a quantum encryption method without a third-party certification agency, generates binary character sequences and single-phase hash functions through pre-built 5G big data computing services, and uses Bell states and interfering particle states to perform quantum state measurements and XOR operations to ensure data Security of transmission channels.
It is realized that no third-party certification agency is required on the 5G big data cloud platform to ensure the security of data transmission, prevent information leakage, and improve the reliability of data transmission channels.
Smart Images

Figure CN118713832A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data transmission encryption technology, and in particular to a 5G big data computing power service method based on quantum encryption. Background Art
[0002] With the popularization of 5G technology and the advent of the big data era, real-time processing and secure transmission of data have become increasingly important. However, traditional encryption methods face the potential threat of quantum computing, which makes data security issues more severe. In order to meet this challenge, quantum encryption technology came into being.
[0003] However, most of today's quantum encryption requires a third-party certification agency to authenticate the correct identities of both parties. With the development of 5G big data computing services, cloud platforms can not only serve as data storage, service computing orchestration and other functions, but third-party certification agencies are deployed on the cloud platform. Once the third-party certification platform is unreliable or fails, it will cause user information data to be leaked on the cloud platform. Summary of the invention
[0004] The present invention provides a 5G big data computing power service method and system based on quantum encryption. Its main purpose is to provide an application of a quantum encryption method without a third-party certification agency in 5G big data algorithm services to improve the security of the big data cloud platform.
[0005] To achieve the above purpose, the present invention provides a 5G big data computing service method based on quantum encryption, comprising: When the pre-built 5G big data computing service authenticates the user's identity information, a binary character sequence and a single-phase hash function of length n are fed back by the 5G big data computing service. When the user selects a receiving user, the binary character sequence and the single-phase hash function are synchronized to the receiving user. Using a pre-built quantum encryption service, m Bell states are prepared, and the first particle and the second particle in each of the Bell states are arranged in particle state to obtain a first particle state sequence and a second particle state sequence, wherein m is half of n; Obtaining a randomly generated interfering particle state sequence, and randomly inserting each interfering particle state in the interfering particle state sequence into each position of the second particle state sequence to obtain a second interfering particle state sequence, and recording the interfering position of each interfering particle state in the second interfering particle state sequence; Sending the second interfering particle state sequence and the interfering position to the receiving user, and obtaining the interfering particle measurement result fed back by the receiving user; Calculating the accuracy of the interfering particle measurement result according to the second interfering particle state sequence and the interfering position; When the accuracy is greater than a preset qualified threshold, according to the type of elements at each position in the binary character sequence, a measurement basis corresponding to the type is selected, and the first particle state sequence is measured to obtain a measurement result; Performing an XOR operation on the measurement result and the binary character sequence to obtain an XOR bit sequence and a predicted XOR bit sequence, and importing the XOR bit sequence into the single-phase hash function to obtain a sender single-phase hash; A pre-built file to be uploaded is obtained, the file to be uploaded is encrypted using the sender's single-phase hash to obtain encrypted data, and the encrypted data is sent to the recipient user.
[0006] Optionally, the step of obtaining a binary character sequence of length n and a single-phase hash function fed back by the 5G big data computing service includes: Obtain real-time natural weather data from a pre-built meteorological data interface, and convert n items of data in the natural weather data into binary values according to a preset threshold set; Randomly concatenate the binary values corresponding to the n items of data to obtain a binary character sequence; Wherein, the binary character sequence is expressed as: ; In the formula, represents the value of the i-th element of the binary character sequence; Get a preconfigured single-phase hash function; The single-phase hash function is expressed as: ; Wherein, d is the output length of the single-phase hash function.
[0007] Optionally, the preparing m Bell states comprises: The set of m Bell states is expressed as: ; Where B represents the set of m Bell states; The 1 and 2 in represent the first particle and the second particle in the i-th Bell state. , is a constant; is a random one of the four standard Bell states, and the four standard Bell states are represented as follows: ; in, and represents the particle state of a single particle, and Represents the state value of the particle, and represents the spin direction of the particle; The first particle state sequence and the second particle state sequence are expressed as: ; In the formula, represents the first particle state sequence, represents the second particle state sequence, represents the value of the ith element in the first particle state sequence; m represents a constant corresponding to the number of the Bell states. Optionally, before obtaining the interfering particle measurement result fed back by the receiving user, the receiving user's system includes: According to the interference position, checking the measurement type of each interfering particle state in the second interfering particle state sequence; Selecting a measurement basis corresponding to each of the measurement types, measuring each of the interfering particle states, and obtaining an interfering particle measurement result; Wherein, if the measurement result of the interfering particle state is or When Measurement basis, if the measurement result of the interfering particle state is and When using Measurement base.
[0008] Optionally, before the accuracy rate is greater than a preset qualified threshold, the method further includes: Determining whether the accuracy rate is greater than a preset qualified threshold; When the accuracy rate is less than or equal to the qualified threshold, the data transmission channel is determined to be abnormal, data transmission is stopped and an abnormal prompt is generated; When the accuracy is greater than the qualified threshold, continue to execute the step of selecting a measurement basis corresponding to the type of elements at each position in the binary character sequence, measuring the first particle state sequence, and obtaining a measurement result.
[0009] Optionally, the step of selecting a measurement basis corresponding to the type of elements at each position in the binary character sequence, measuring the first particle state sequence, and obtaining a measurement result includes: Two elements in the binary character sequence are configured as a group of elements, wherein each group of elements is represented as: ; Determine the value type of the set of elements; If the set of elements , then call the The first particle state in the first particle state sequence of the measurement basis Conduct measurement and obtain measurement results; If the , then call the The first particle state in the first particle state sequence of the measurement basis Perform measurement and obtain measurement results.
[0010] Optionally, performing an XOR operation on the measurement result and the binary character sequence to obtain an XOR bit sequence and a predicted XOR bit sequence includes: Determining the particle state of each element in the measurement result; When the elements in the measurement result are When , perform an XOR operation: ; When the element of the measurement result is When , perform an XOR operation: ; When the element of the measurement result is When , perform an XOR operation: ; When the element of the measurement result is When , perform an XOR operation: ; in, represents a set of XOR bits in an XOR bit sequence; Connecting the XOR bits corresponding to the elements in the measurement result to obtain an XOR bit sequence; XOR inference is performed based on the measurement result and the second particle state sequence to obtain a predicted XOR bit sequence.
[0011] Optionally, after sending the encrypted data to the receiving user, the system of the receiving user includes: Generate an XOR bit sequence of a receiving user and a predicted XOR bit sequence of a receiving user according to the operation of calculating the XOR bit sequence and the predicted XOR bit sequence; Decrypting the sender's single-phase hash using the predicted XOR bit sequence of the receiving user; When the decryption is unsuccessful, it is determined that the predicted XOR bit sequence of the receiving user is different from the XOR bit sequence of the sending user, and then the data transmission channel is determined to be unsafe, and the data transmission process is stopped; When the decryption is successful, it is determined that the predicted XOR bit sequence of the receiving user is the same as the XOR bit sequence of the sender, and then the data transmission channel is determined to be secure, and the file to be uploaded sent by the sender is obtained.
[0012] Optionally, the using the sender's single-phase hash to encrypt the file to be uploaded to obtain encrypted data, and sending the encrypted data to the recipient user includes: Identify the service type of the file to be uploaded, and call the pre-built encrypted network slice according to the service type; Using the encrypted network slice, request corresponding computing resources from the 5G big data computing service; The computing resources are used to encrypt the file to be uploaded according to the sender's single-phase hash to obtain encrypted data, and the encrypted data is sent to the recipient user.
[0013] To achieve the above objectives, the present invention also provides a 5G big data computing service system based on quantum encryption, comprising: A shared key module is used to obtain a binary character sequence and a single-phase hash function of length n fed back by the pre-built 5G big data computing service after the user's identity information is authenticated by the pre-built 5G big data computing service. When the user selects a receiving user, the binary character sequence and the single-phase hash function will be synchronized to the receiving user. A quantum state preparation module, used to prepare m Bell states using a pre-built quantum encryption service, and perform particle state arrangement on the first particle and the second particle in each of the Bell states to obtain a first particle state sequence and a second particle state sequence, wherein m is half of n; A channel preliminary authentication module is used to obtain a randomly generated interfering particle state sequence, and randomly insert each interfering particle state in the interfering particle state sequence into each position of the second particle state sequence to obtain a second interfering particle state sequence, and record the interference position of each interfering particle state in the second interfering particle state sequence, and send the second interfering particle state sequence and the interference position to the receiving user, and obtain the interfering particle measurement result fed back by the receiving user, and calculate the accuracy of the interfering particle measurement result according to the second interfering particle state sequence and the interference position; A quantum encryption module is used to, when the accuracy rate is greater than a preset qualified threshold, select a measurement basis corresponding to the type of elements at each position in the binary character sequence, measure the first particle state sequence to obtain a measurement result, and use the measurement result to perform an XOR operation with the binary character sequence to obtain an XOR bit sequence and a predicted XOR bit sequence, and import the XOR bit sequence into the single-phase hash function to obtain a sender single-phase hash, and obtain a pre-constructed file to be uploaded, encrypt the file to be uploaded using the sender single-phase hash to obtain encrypted data, and send the encrypted data to the receiving user.
[0014] In order to solve the above problem, the present invention further provides an electronic device, the electronic device comprising: a memory storing at least one instruction; and The processor executes the instructions stored in the memory to implement the above-mentioned 5G big data computing power service method based on quantum encryption.
[0015] In order to solve the above problems, the present invention also provides a computer-readable storage medium, in which at least one instruction is stored, and the at least one instruction is executed by a processor in an electronic device to implement the above-mentioned 5G big data computing power service method based on quantum encryption.
[0016] In order to solve the problems described in the background technology, the present invention uses a user to log in to the 5G big data computing service, obtain a binary character sequence shared with a receiving user as a shared key, and then prepare a Bell state, and send a second interference particle state sequence corresponding to a particle in the Bell state to the receiving user; in addition, the sending user will send the second interference particle state sequence and the interference position to the receiving user through the 5G big data computing platform or other wired or wireless transmission methods. The receiving user can preliminarily determine whether the information transmission channel is abnormal based on information such as the interference position; when the information transmission channel is normal, the encrypted data can be sent and received normally; the present invention measures any one of the two particles in the Bell state, which will cause it to collapse to a fixed state with a certain probability, and at the same time, according to the particle's The state can know the characteristics of the state of another particle, and use the measurement result to perform an XOR operation with the binary character sequence to obtain an XOR bit sequence and a predicted XOR bit sequence, wherein the XOR bit sequence of the sender should be the same as the predicted XOR bit sequence generated by the receiving user. Therefore, when the XOR bit sequence of the sender is used for encryption, there is no need to pass the key, and the predicted XOR bit sequence of the receiving user can be directly used for decryption; when the decryption is unsuccessful, it indicates that the information transmission channel is attacked, then the data transmission is stopped, and no information leakage will occur; when the decryption is successful, it indicates that the information transmission channel is safe, then the transmitted file is obtained by normal decryption, wherein the 5G big data computing service only gives a shared key to both parties of the data transmission, and the key for data encryption and decryption will not be transmitted, so it is not easy to leak. Therefore, the present invention can provide a quantum encryption method and system without a third-party certification agency for application in 5G big data algorithm services to improve the security of the big data cloud platform. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 A schematic diagram of a process of a 5G big data computing service method based on quantum encryption provided in one embodiment of the present invention; Figure 2 A functional module diagram of a 5G big data computing service system based on quantum encryption provided in one embodiment of the present invention; Figure 3 A schematic diagram of the structure of an electronic device for implementing the 5G big data computing service method based on quantum encryption provided in one embodiment of the present invention.
[0018] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0019] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0020] The embodiment of the present application provides a 5G big data computing power service method based on quantum encryption. The execution subject of the 5G big data computing power service method based on quantum encryption includes but is not limited to at least one of the electronic devices such as a server and a terminal that can be configured to execute the method provided in the embodiment of the present application. In other words, the 5G big data computing power service method based on quantum encryption can be executed by software or hardware installed on a terminal device or a server device, and the software can be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc.
[0021] Reference Figure 1 As shown, it is a flow chart of a 5G big data computing power service method based on quantum encryption provided by an embodiment of the present invention. In this embodiment, the 5G big data computing power service method based on quantum encryption includes: S1. After the pre-built 5G big data computing service authenticates the user's identity information, the 5G big data computing service will feedback a binary character sequence and a single-phase hash function of length n. When the user selects the receiving user, the binary character sequence and the single-phase hash function will be synchronized to the receiving user.
[0022] Among them, the 5G big data computing power service is a platform that encrypts, stores and transmits user data through 5G communication technology. The 5G big data computing power service also has the function of automatic allocation of computing power resources to improve resource utilization efficiency.
[0023] Specifically, in the embodiment of the present invention, after the user completes the identity information authentication, he can log in to the 5G big data computing service for data transmission. When the sender user [User 1] selects the receiver user [User 2], the 5G big data computing service will generate a classic binary character sequence and a universal single-phase hash function, and send them to [User 1] and [User 2] respectively.
[0024] In detail, in an embodiment of the present invention, the binary character sequence of length n and the single-phase hash function of the 5G big data computing service feedback are obtained, including: Obtain real-time natural weather data from a pre-built meteorological data interface, and convert n items of data in the natural weather data into binary values according to a preset threshold set; Randomly concatenate the binary values corresponding to the n items of data to obtain a binary character sequence; Wherein, the binary character sequence is expressed as: ; In the formula, represents the value of the i-th element of the binary character sequence; Get a preconfigured single-phase hash function; The single-phase hash function is expressed as: ; Wherein, d is the output length of the single-phase hash function.
[0025] Firstly, in the present invention, a random algorithm can be used to generate a binary character sequence.
[0026] Preferably, an embodiment of the present invention uses the randomness of natural phenomena to construct a binary character sequence. First, real-time natural weather data (such as temperature, humidity, and light intensity) is obtained through a pre-built meteorological data interface and converted into a bit string. In the specific conversion process, a preset threshold set is used, such as a temperature of 30°C, a humidity of 50%, and other thresholds. A value greater than or equal to the threshold is configured as 1, and a value less than the threshold is configured as 0, and then a binary character sequence is obtained by splicing. Among them, the length of the binary character sequence is n (usually a constant greater than or equal to 2). When the weather data item is less than n, it is also possible to collect environmental images, identify unpredictable environmental information such as cloud shape and movement, river flow, and leaf arrangement, and perform random extraction to complete the binary character sequence.
[0027] Furthermore, in an embodiment of the present invention, the single-phase hash function is constructed according to a function configuration rule for mapping a bit string of any length to a bit string of a fixed length. The single-phase hash function is expressed as: The present invention generates a binary character sequence and a single-phase hash function according to the above steps, which can be used as a shared key for [User 1] and [User 2]. The shared key can be transmitted through a 5G big data computing service, or through other wired or wireless methods. The reason is that the shared key does not participate in the data encryption process, but only participates in the process of [User 1] and [User 2] guessing each other's encryption key through the laws of quantum states. Therefore, even if the binary character sequence is leaked, it will not affect data security.
[0028] S2. Using a pre-built quantum encryption service, prepare m Bell states, and arrange the particle states of the first particle and the second particle in each of the Bell states to obtain a first particle state sequence and a second particle state sequence, where m is half of n.
[0029] The quantum encryption service described in the embodiment of the present invention refers to an automated service based on a preset quantum state preparation, detection and distribution method.
[0030] In detail, in an embodiment of the present invention, the step of preparing m Bell states includes: The set of m Bell states is expressed as: Where B represents the set of m Bell states; The 1 and 2 in represent the first particle and the second particle in the i-th Bell state. , is a constant; is a random one of the four standard Bell states, and the four standard Bell states are represented as follows: ; in, and represents the particle state of a single particle, and Represents the state value of the particle, and represents the spin direction of the particle; The first particle state sequence and the second particle state sequence are expressed as: In the formula, represents the first particle state sequence, represents the second particle state sequence, represents the value of the i-th element in the first particle state sequence; m represents a constant corresponding to the number of the Bell states.
[0031] It should be known that according to the quantum law of Bell states, when measuring one of the two particles in a Bell state, the particle will collapse to a fixed state with a probability of 50%, and then the measurement result of the other particle can be known based on this fixed state. , then the measurement result of the other particle must also be .
[0032] Since each Bell state has two particle states, and each element in the binary character sequence represents a state, the present invention prepares m groups in the set of Bell states, where m is half of n.
[0033] Furthermore, in an embodiment of the present invention, according to the order of each Bell state in the Bell state set, the two particles in each Bell state are arranged respectively, thereby obtaining a first particle state sequence and the second particle state sequence .
[0034] The present invention intends to use quantum laws to enable [User 2] to guess the key used by [User 1] in the encryption process without the sender [User 1] sending the key to the receiver [User 2]. Therefore, [User 1] needs to send a set of particle state sequences to [User 2]. In the embodiment of the present invention, the second particle state sequence is pre- Sent to [User 2].
[0035] S3. Obtain a randomly generated interfering particle state sequence, and randomly insert each interfering particle state in the interfering particle state sequence into each position of the second particle state sequence to obtain a second interfering particle state sequence, and record the interfering position of each interfering particle state in the second interfering particle state sequence.
[0036] Furthermore, the present invention further comprises: Before sending it to [User 2], it is also necessary to determine whether the data transmission channel of the 5G big data computing service is normal.
[0037] Specifically, in the embodiment of the present invention, an interfering particle state sequence is firstly obtained by a random algorithm. The number of elements of the interfering particle state sequence is not limited, but generally it can be within ten.
[0038] The present invention disrupts each element in the interfering particle state sequence and randomly inserts it into the second particle state sequence. Then [User 1] records the interference position where the interference particle is inserted and the particle state at each interference position.
[0039] S4. Send the second interfering particle state sequence and the interfering position to the receiving user, and obtain the interfering particle measurement result fed back by the receiving user.
[0040] In the embodiment of the present invention, the second interfering particle state sequence and the interference position are notified to [User 2] through 5G big data computing power services or other wired or wireless methods.
[0041] When [User 2] receives the second interfering particle state sequence and interference position: In detail, in the embodiment of the present invention, the system of the receiving user includes: According to the interference position, checking the measurement type of each interfering particle state in the second interfering particle state sequence; Selecting a measurement basis corresponding to each of the measurement types, measuring each of the interfering particle states, and obtaining an interfering particle measurement result; Wherein, if the measurement result of the interfering particle state is or When Measurement basis, if the measurement result of the interfering particle state is and When using Measurement base.
[0042] Specifically, [User 2] will check the particle state of the interfering particle according to the interfering position. When the measurement result of the interfering particle state is or When using Measurement basis, if the measurement result of the interfering particle state is and When using Measurement basis. After selecting the measurement basis, you can perform measurements and obtain the measurement results of the interfering particles at various positions.
[0043] Then [User 2] communicates his measurement results to [User 1] via wired or wireless means.
[0044] S5. Calculate the accuracy of the interfering particle measurement result according to the second interfering particle state sequence and the interfering position.
[0045] Furthermore, [User 1] can compare the measurement results with the actual recorded data to obtain the accuracy.
[0046] S6. Determine whether the accuracy rate is greater than a preset qualified threshold.
[0047] When the correct rate is less than or equal to the qualified threshold, S7, determining that the data transmission channel is abnormal, stopping data transmission and generating an abnormal prompt; When the accuracy is greater than a preset qualified threshold, S8, according to the type of elements at each position in the binary character sequence, a measurement basis corresponding to the type is selected, and the first particle state sequence is measured to obtain a measurement result.
[0048] In an embodiment of the present invention, after [User 1] confirms that the data transmission channel is available, the quantum key can be configured to encrypt the file to be uploaded.
[0049] In detail, in an embodiment of the present invention, according to the type of elements at each position in the binary character sequence, selecting a measurement basis corresponding to the type, measuring the first particle state sequence, and obtaining a measurement result includes: Two elements in the binary character sequence are configured as a group of elements, wherein each group of elements is represented as: ; Determine the value type of the set of elements; If the set of elements , then call the The first particle state in the first particle state sequence of the measurement basis Conduct measurement and obtain measurement results; If the , then call the The first particle state in the first particle state sequence of the measurement basis Perform measurement and obtain measurement results.
[0050] The measurement method here is the same as the measurement method used by [User 2] to test the channel credibility. However, this time, [User 1] and [User 2] both measure the particle state sequence in their hands. For example, [User 1] measures the first particle state sequence. The second interfering particle state sequence is measured by [User 2] to remove the interfering particles, that is, the second particle state sequence Take measurements.
[0051] Finally, [User 1] and [User 2] obtain their own measurement results respectively.
[0052] S9. Perform an XOR operation on the measurement result and the binary character sequence to obtain an XOR bit sequence and a predicted XOR bit sequence, and import the XOR bit sequence into the single-phase hash function to obtain a sender single-phase hash.
[0053] In detail, in the embodiment of the present invention, performing an XOR operation on the measurement result and the binary character sequence to obtain an XOR bit sequence and a predicted XOR bit sequence includes: Determining the particle state of each element in the measurement result; When the elements in the measurement result are When , perform an XOR operation: ; When the element of the measurement result is When , perform an XOR operation: ; When the element of the measurement result is When , perform an XOR operation: ; When the element of the measurement result is When , perform an XOR operation: ; in, represents a set of XOR bits in an XOR bit sequence; Connecting the XOR bits corresponding to the elements in the measurement result to obtain an XOR bit sequence; XOR inference is performed based on the measurement result and the second particle state sequence to obtain a predicted XOR bit sequence.
[0054] Specifically, it can be known from the above S1 that a shared key, ie, the binary character sequence, is pre-configured between [User 1] and [User 2].
[0055] It should be known that according to the quantum law of Bell state: measuring any one of the two particles in the Bell state will cause it to collapse to a fixed state with a certain probability, and the state of the other particle can be used to know the characteristics of the state of the other particle. It can be inferred that: when [User 1] and [User 2] communicate their measurement bases through a public channel (such as radio or the Internet), if their measurement bases are the same, then their measurement results should be the same; if the measurement bases are different, then the measurement results will be different.
[0056] In the embodiment of the present invention, the measurement base is not communicated through an open channel, but a shared binary character sequence is used to process the measurement result through an XOR operation. It can be inferred that if their measurement bases are the same, the result of the XOR operation should still be 0; if they are different, the XOR result will be 1. Therefore, [User 1] can infer the XOR result of [User 2] based on the XOR result of [User 1].
[0057] Similarly, in the process of two-way data transmission, [User 1] may become the receiver, and [User 2] is called the data sender. Therefore, [User 2] will also generate its own XOR result in the same steps as above, and then infer the XOR result of [User 1].
[0058] In the embodiment of the present invention, the XOR result of the own party is defined as an XOR bit sequence, and the inferred XOR result of the other party is defined as a predicted XOR bit sequence.
[0059] S10. Obtain a pre-constructed file to be uploaded, encrypt the file to be uploaded using the sender's single-phase hash to obtain encrypted data, and send the encrypted data to the recipient user.
[0060] In detail, in an embodiment of the present invention, the process of encrypting the file to be uploaded by using the sender's single-phase hash to obtain encrypted data, and sending the encrypted data to the recipient user includes: Identify the service type of the file to be uploaded, and call the pre-built encrypted network slice according to the service type; Using the encrypted network slice, request corresponding computing resources from the 5G big data computing service; The computing resources are used to encrypt the file to be uploaded according to the sender's single-phase hash to obtain encrypted data, and the encrypted data is sent to the recipient user.
[0061] In an embodiment of the present invention, the service types may include data types that need to be encrypted (such as files to be uploaded), data types that do not need to be encrypted (such as the transmission of measurement results during the verification channel process), and some data types that need to call other services for reprocessing.
[0062] The present invention selects appropriate network slices according to appropriate service types.
[0063] Furthermore, the encrypted network slice is a pre-built network slice in the 5G big data computing service, wherein each of the network slices has network performance parameters that meet specific needs and can be integrated with some services, such as encryption services, to facilitate requesting independent computing resources and improve service quality and response speed.
[0064] In an embodiment of the present invention, the encrypted network slice integrates hash value calculation and encryption services, and can encrypt and transmit files to be uploaded.
[0065] Furthermore, in an embodiment of the present invention, after sending the encrypted data to the receiving user, the receiving user includes: Generate an XOR bit sequence of a receiving user and a predicted XOR bit sequence of a receiving user according to the operation of calculating the XOR bit sequence and the predicted XOR bit sequence; Decrypting the sender's single-phase hash using the predicted XOR bit sequence of the receiving user; When the decryption is unsuccessful, it is determined that the predicted XOR bit sequence of the receiving user is different from the XOR bit sequence of the sending user, and then the data transmission channel is determined to be unsafe, and the data transmission process is stopped; When the decryption is successful, it is determined that the predicted XOR bit sequence of the receiving user is the same as the XOR bit sequence of the sender, and then the data transmission channel is determined to be secure, and the file to be uploaded sent by the sender is obtained.
[0066] In an embodiment of the present invention, when the encrypted data is sent to [User 2], [User 2] can use the predicted XOR bit sequence predicted by [User 1] to decrypt the encrypted data. Since the XOR bit sequence used by [User 1] for encryption should be consistent with the predicted XOR bit sequence calculated by [User 2], direct decryption can be performed. However, when decryption is impossible, it indicates that the encrypted data has been attacked, resulting in a change in the quantum state. Therefore, it is determined that the data transmission channel is unsafe and the data transmission process is stopped, thereby ensuring the security of the data.
[0067] In order to solve the problems described in the background technology, the present invention uses a user to log in to the 5G big data computing service, obtain a binary character sequence shared with a receiving user as a shared key, and then prepare a Bell state, and send a second interference particle state sequence corresponding to a particle in the Bell state to the receiving user; in addition, the sending user will send the second interference particle state sequence and the interference position to the receiving user through the 5G big data computing platform or other wired or wireless transmission methods. The receiving user can preliminarily determine whether the information transmission channel is abnormal based on information such as the interference position; when the information transmission channel is normal, the encrypted data can be sent and received normally; the present invention measures any one of the two particles in the Bell state, which will cause it to collapse to a fixed state with a certain probability, and at the same time, according to the particle's The state can know the characteristics of the state of another particle, and use the measurement result to perform an XOR operation with the binary character sequence to obtain an XOR bit sequence and a predicted XOR bit sequence, wherein the XOR bit sequence of the sender should be the same as the predicted XOR bit sequence generated by the receiving user. Therefore, when the XOR bit sequence of the sender is used for encryption, there is no need to transfer the key, and the predicted XOR bit sequence of the receiving user can be directly used for decryption; when the decryption is unsuccessful, it indicates that the information transmission channel is attacked, then the data transmission is stopped, and no information leakage will occur; when the decryption is successful, it indicates that the information transmission channel is safe, then the transmitted file is obtained by normal decryption, wherein the 5G big data computing service only gives a shared key to both parties of the data transmission, and the key for data encryption and decryption will not be transmitted, so it is not easy to leak. Therefore, the present invention can provide a quantum encryption method without a third-party certification agency for application in a 5G big data algorithm service to improve the security of the big data cloud platform.
[0068] like Figure 2 As shown, it is a functional module diagram of a 5G big data computing service system based on quantum encryption provided by one embodiment of the present invention.
[0069] The 5G big data computing power service system 100 based on quantum encryption of the present invention can be installed in an electronic device. According to the functions implemented, the 5G big data computing power service system 100 based on quantum encryption can include a shared key module 101, a quantum state preparation module 102, a channel preliminary authentication module 103 and a quantum encryption module 104. The module of the present invention can also be referred to as a unit, which refers to a series of computer program segments that can be executed by an electronic device processor and can complete fixed functions, which are stored in the memory of the electronic device.
[0070] The shared key module 101 is used to obtain a binary character sequence and a single-phase hash function of length n fed back by the pre-built 5G big data computing service after the user's identity information is authenticated by the pre-built 5G big data computing service, wherein when the user selects a receiving user, the binary character sequence and the single-phase hash function will be synchronized to the receiving user; The quantum state preparation module 102 is used to prepare m Bell states by using a pre-built quantum encryption service, and to arrange the particle states of the first particle and the second particle in each of the Bell states to obtain a first particle state sequence and a second particle state sequence, wherein m is half of n; The channel preliminary authentication module 103 is used to obtain a randomly generated interfering particle state sequence, and randomly insert each interfering particle state in the interfering particle state sequence into each position of the second particle state sequence to obtain a second interfering particle state sequence, and record the interference position of each interfering particle state in the second interfering particle state sequence, and send the second interfering particle state sequence and the interference position to the receiving user, and obtain the interfering particle measurement result fed back by the receiving user, and calculate the accuracy of the interfering particle measurement result according to the second interfering particle state sequence and the interference position; The quantum encryption module 104 is used to, when the accuracy rate is greater than a preset qualified threshold, select a measurement basis corresponding to the type of elements at each position in the binary character sequence, measure the first particle state sequence to obtain a measurement result, and use the measurement result to perform an XOR operation with the binary character sequence to obtain an XOR bit sequence and a predicted XOR bit sequence, and import the XOR bit sequence into the single-phase hash function to obtain a sender single-phase hash, and obtain a pre-constructed file to be uploaded, encrypt the file to be uploaded using the sender single-phase hash to obtain encrypted data, and send the encrypted data to the receiving user.
[0071] In detail, each module in the 5G big data computing service system 100 based on quantum encryption in the embodiment of the present invention is used in the same manner as above. Figure 1 The 5G big data computing service method based on quantum encryption has the same technical means and can produce the same technical effects, so I will not go into details here.
[0072] like Figure 3 The figure is a schematic diagram of the structure of an electronic device for implementing a 5G big data computing service method based on quantum encryption provided by one embodiment of the present invention.
[0073] The electronic device 1 may include a processor 10, a memory 11 and a bus 12, and may also include a computer program stored in the memory 11 and executable on the processor 10, such as a 5G big data computing service method program based on quantum encryption.
[0074] Among them, the memory 11 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, mobile hard disk, multimedia card, card-type memory (for example: SD or DX memory, etc.), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 11 can be an internal storage unit of the electronic device 1, such as a mobile hard disk of the electronic device 1. In other embodiments, the memory 11 can also be an external storage device of the electronic device 1, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device 1. Further, the memory 11 also includes an internal storage unit of the electronic device 1 and an external storage device. The memory 11 can not only be used to store application software and various types of data installed in the electronic device 1, such as the code of the 5G big data computing service method program based on quantum encryption, but also can be used to temporarily store data that has been output or is to be output.
[0075] In some embodiments, the processor 10 may be composed of an integrated circuit, for example, a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and a combination of various control chips. The processor 10 is the control core (Control Unit) of the electronic device, and uses various interfaces and lines to connect the various components of the entire electronic device, and executes or executes the programs or modules (such as 5G big data computing service method programs based on quantum encryption, etc.) stored in the memory 11, and calls the data stored in the memory 11 to execute various functions of the electronic device 1 and process data.
[0076] The bus 12 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus 12 may be divided into an address bus, a data bus, a control bus, etc. The bus 12 is configured to realize connection and communication between the memory 11 and at least one processor 10, etc.
[0077] Figure 3 Only an electronic device with components is shown, and those skilled in the art will understand that Figure 3 The structure shown does not constitute a limitation on the electronic device 1, and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.
[0078] For example, although not shown, the electronic device 1 may also include a power source (such as a battery) for supplying power to various components. Preferably, the power source may be logically connected to the at least one processor 10 through a power management device, so that the power management device can realize functions such as charging management, discharging management, and power consumption management. The power source may also include one or more DC or AC power sources, recharging devices, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components. The electronic device 1 may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.
[0079] Furthermore, the electronic device 1 may also include a network interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is generally used to establish a communication connection between the electronic device 1 and other electronic devices.
[0080] Optionally, the electronic device 1 may further include a user interface, which may be a display, an input unit (such as a keyboard), or a standard wired interface or a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode) touch device. The display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device 1 and to display a visual user interface.
[0081] It should be understood that the embodiment is for illustration only and the scope of the patent application is not limited to this structure.
[0082] The 5G big data computing service method program based on quantum encryption stored in the memory 11 in the electronic device 1 is a combination of multiple instructions. When running in the processor 10, it can achieve: When the pre-built 5G big data computing service authenticates the user's identity information, a binary character sequence and a single-phase hash function of length n are fed back by the 5G big data computing service. When the user selects a receiving user, the binary character sequence and the single-phase hash function are synchronized to the receiving user. Using a pre-built quantum encryption service, m Bell states are prepared, and the first particle and the second particle in each of the Bell states are arranged in particle state to obtain a first particle state sequence and a second particle state sequence, wherein m is half of n; Obtaining a randomly generated interfering particle state sequence, and randomly inserting each interfering particle state in the interfering particle state sequence into each position of the second particle state sequence to obtain a second interfering particle state sequence, and recording the interfering position of each interfering particle state in the second interfering particle state sequence; Sending the second interfering particle state sequence and the interfering position to the receiving user, and obtaining the interfering particle measurement result fed back by the receiving user; Calculating the accuracy of the interfering particle measurement result according to the second interfering particle state sequence and the interfering position; When the accuracy is greater than a preset qualified threshold, according to the type of elements at each position in the binary character sequence, a measurement basis corresponding to the type is selected, and the first particle state sequence is measured to obtain a measurement result; Performing an XOR operation on the measurement result and the binary character sequence to obtain an XOR bit sequence and a predicted XOR bit sequence, and importing the XOR bit sequence into the single-phase hash function to obtain a sender single-phase hash; A pre-built file to be uploaded is obtained, the file to be uploaded is encrypted using the sender's single-phase hash to obtain encrypted data, and the encrypted data is sent to the recipient user.
[0083] Specifically, the specific implementation method of the processor 10 for the above instructions can refer to Figures 1 to 3 The description of the relevant steps in the corresponding embodiments will not be repeated here.
[0084] Furthermore, if the module / unit integrated in the electronic device 1 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. The computer-readable storage medium can be volatile or non-volatile. For example, the computer-readable medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM).
[0085] The present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor of an electronic device, the computer program can implement: When the pre-built 5G big data computing service authenticates the user's identity information, a binary character sequence and a single-phase hash function of length n are fed back by the 5G big data computing service. When the user selects a receiving user, the binary character sequence and the single-phase hash function are synchronized to the receiving user. Using a pre-built quantum encryption service, m Bell states are prepared, and the first particle and the second particle in each of the Bell states are arranged in particle state to obtain a first particle state sequence and a second particle state sequence, wherein m is half of n; Obtaining a randomly generated interfering particle state sequence, and randomly inserting each interfering particle state in the interfering particle state sequence into each position of the second particle state sequence to obtain a second interfering particle state sequence, and recording the interfering position of each interfering particle state in the second interfering particle state sequence; Sending the second interfering particle state sequence and the interfering position to the receiving user, and obtaining the interfering particle measurement result fed back by the receiving user; Calculating the accuracy of the interfering particle measurement result according to the second interfering particle state sequence and the interfering position; When the accuracy is greater than a preset qualified threshold, according to the type of elements at each position in the binary character sequence, a measurement basis corresponding to the type is selected, and the first particle state sequence is measured to obtain a measurement result; Performing an XOR operation on the measurement result and the binary character sequence to obtain an XOR bit sequence and a predicted XOR bit sequence, and importing the XOR bit sequence into the single-phase hash function to obtain a sender single-phase hash; A pre-built file to be uploaded is obtained, the file to be uploaded is encrypted using the sender's single-phase hash to obtain encrypted data, and the encrypted data is sent to the recipient user.
[0086] In the several embodiments provided by the present invention, it should be understood that the disclosed devices, systems and methods can be implemented in other ways. For example, the system embodiments described above are only illustrative, and actual implementation may have other division methods.
[0087] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0088] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.
[0089] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.
[0090] In addition, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in the system claim can also be implemented by one unit or device through software or hardware. The second and other words are used to indicate names, but not to indicate any particular order.
[0091] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.
Claims
1. A 5G big data computing service method based on quantum encryption, characterized in that: The method comprises: When the pre-built 5G big data computing service authenticates the user's identity information, a binary character sequence and a single-phase hash function of length n are fed back by the 5G big data computing service. When the user selects a receiving user, the binary character sequence and the single-phase hash function are synchronized to the receiving user. Using a pre-built quantum encryption service, m Bell states are prepared, and the first particle and the second particle in each of the Bell states are arranged in particle state to obtain a first particle state sequence and a second particle state sequence, wherein m is half of n; Obtaining a randomly generated interfering particle state sequence, and randomly inserting each interfering particle state in the interfering particle state sequence into each position of the second particle state sequence to obtain a second interfering particle state sequence, and recording the interfering position of each interfering particle state in the second interfering particle state sequence; Sending the second interfering particle state sequence and the interfering position to the receiving user, and obtaining the interfering particle measurement result fed back by the receiving user; Calculating the accuracy of the interfering particle measurement result according to the second interfering particle state sequence and the interfering position; When the accuracy is greater than a preset qualified threshold, according to the type of elements at each position in the binary character sequence, a measurement basis corresponding to the type is selected, and the first particle state sequence is measured to obtain a measurement result; Performing an XOR operation on the measurement result and the binary character sequence to obtain an XOR bit sequence and a predicted XOR bit sequence, and importing the XOR bit sequence into the single-phase hash function to obtain a sender single-phase hash; A pre-built file to be uploaded is obtained, the file to be uploaded is encrypted using the sender's single-phase hash to obtain encrypted data, and the encrypted data is sent to the recipient user.
2. The 5G big data computing power service method based on quantum encryption as claimed in claim 1, characterized in that: The binary character sequence of length n and the single-phase hash function obtained by obtaining the feedback of the 5G big data computing service include: Obtain real-time natural weather data from a pre-built meteorological data interface, and convert n items of data in the natural weather data into binary values according to a preset threshold set; Randomly concatenate the binary values corresponding to the n items of data to obtain a binary character sequence; Wherein, the binary character sequence is expressed as: ; In the formula, represents the value of the i-th element of the binary character sequence; Get a preconfigured single-phase hash function; The single-phase hash function is expressed as: ; Wherein, d is the output length of the single-phase hash function.
3. The 5G big data computing power service method based on quantum encryption as claimed in claim 2, characterized in that: The preparing m Bell states comprises: The set of m Bell states is expressed as: ; Where B represents the set of m Bell states; The 1 and 2 in the equation represent the first and second particles in the ith Bell state; , is a constant; is a random one of the four standard Bell states, and the four standard Bell states are represented as follows: ; in, and represents the particle state of a single particle, and Represents the state value of the particle, and represents the spin direction of the particle; The first particle state sequence and the second particle state sequence are expressed as: ; In the formula, represents the first particle state sequence, represents the second particle state sequence, represents the value of the i-th element in the first particle state sequence; m represents a constant corresponding to the number of the Bell states.
4. The 5G big data computing power service method based on quantum encryption as claimed in claim 3 is characterized in that: Before obtaining the interference particle measurement result fed back by the receiving user, the receiving user's system includes: According to the interference position, checking the measurement type of each interfering particle state in the second interfering particle state sequence; Selecting a measurement basis corresponding to each of the measurement types, measuring each of the interfering particle states, and obtaining an interfering particle measurement result; Wherein, if the measurement result of the interfering particle state is or When Measurement basis, if the measurement result of the interfering particle state is and When using Measurement base.
5. The 5G big data computing power service method based on quantum encryption as claimed in claim 4, characterized in that: Before the accuracy rate is greater than a preset qualified threshold, the method further includes: Determining whether the accuracy rate is greater than a preset qualified threshold; When the accuracy rate is less than or equal to the qualified threshold, the data transmission channel is determined to be abnormal, data transmission is stopped and an abnormal prompt is generated; When the accuracy is greater than the qualified threshold, continue to execute the step of selecting a measurement basis corresponding to the type of elements at each position in the binary character sequence, measuring the first particle state sequence, and obtaining a measurement result.
6. The 5G big data computing power service method based on quantum encryption as claimed in claim 5, characterized in that: The step of selecting a measurement basis corresponding to the type of elements at each position in the binary character sequence, measuring the first particle state sequence, and obtaining a measurement result includes: Two elements in the binary character sequence are configured as a group of elements, wherein each group of elements is represented as: ; Determine the value type of the set of elements; If the set of elements , then call the The first particle state in the first particle state sequence of the measurement basis Conduct measurement and obtain measurement results; If the , then call the The first particle state in the first particle state sequence of the measurement basis Perform measurement and obtain measurement results.
7. The 5G big data computing power service method based on quantum encryption as claimed in claim 6, characterized in that: The using the measurement result and the binary character sequence to perform an XOR operation to obtain an XOR bit sequence and a predicted XOR bit sequence includes: Determining the particle state of each element in the measurement result; When the elements in the measurement result are When , perform an XOR operation: ; When the element of the measurement result is When , perform an XOR operation: ; When the element of the measurement result is When , perform an XOR operation: ; When the element of the measurement result is When , perform an XOR operation: ; in, represents a set of XOR bits in an XOR bit sequence; Connecting the XOR bits corresponding to the elements in the measurement result to obtain an XOR bit sequence; XOR inference is performed based on the measurement result and the second particle state sequence to obtain a predicted XOR bit sequence.
8. The 5G big data computing power service method based on quantum encryption as claimed in claim 7, characterized in that: After the encrypted data is sent to the receiving user, the system of the receiving user includes: Generate an XOR bit sequence of a receiving user and a predicted XOR bit sequence of a receiving user according to the operation of calculating the XOR bit sequence and the predicted XOR bit sequence; Decrypting the sender's single-phase hash using the predicted XOR bit sequence of the receiving user; When the decryption is unsuccessful, it is determined that the predicted XOR bit sequence of the receiving user is different from the XOR bit sequence of the sending user, and then the data transmission channel is determined to be unsafe, and the data transmission process is stopped; When the decryption is successful, it is determined that the predicted XOR bit sequence of the receiving user is the same as the XOR bit sequence of the sender, and then the data transmission channel is determined to be secure, and the file to be uploaded sent by the sender is obtained.
9. The 5G big data computing power service method based on quantum encryption as claimed in claim 8, characterized in that: The method of encrypting the file to be uploaded by using the sender's single-phase hash to obtain encrypted data, and sending the encrypted data to the receiving user includes: Identify the service type of the file to be uploaded, and call the pre-built encrypted network slice according to the service type; Using the encrypted network slice, request corresponding computing resources from the 5G big data computing service; The computing resources are used to encrypt the file to be uploaded according to the sender's single-phase hash to obtain encrypted data, and the encrypted data is sent to the recipient user.
10. A 5G big data computing service system based on quantum encryption, characterized in that: The system comprises: A shared key module is used to obtain a binary character sequence and a single-phase hash function of length n fed back by the pre-built 5G big data computing service after the user's identity information is authenticated by the pre-built 5G big data computing service. When the user selects a receiving user, the binary character sequence and the single-phase hash function will be synchronized to the receiving user. A quantum state preparation module, used to prepare m Bell states using a pre-built quantum encryption service, and perform particle state arrangement on the first particle and the second particle in each of the Bell states to obtain a first particle state sequence and a second particle state sequence, wherein m is half of n; A channel preliminary authentication module is used to obtain a randomly generated interfering particle state sequence, and randomly insert each interfering particle state in the interfering particle state sequence into each position of the second particle state sequence to obtain a second interfering particle state sequence, and record the interference position of each interfering particle state in the second interfering particle state sequence, and send the second interfering particle state sequence and the interference position to the receiving user, and obtain the interfering particle measurement result fed back by the receiving user, and calculate the accuracy of the interfering particle measurement result according to the second interfering particle state sequence and the interference position; A quantum encryption module is used to, when the accuracy rate is greater than a preset qualified threshold, select a measurement basis corresponding to the type of elements at each position in the binary character sequence, measure the first particle state sequence to obtain a measurement result, and use the measurement result to perform an XOR operation with the binary character sequence to obtain an XOR bit sequence and a predicted XOR bit sequence, and import the XOR bit sequence into the single-phase hash function to obtain a sender single-phase hash, and obtain a pre-constructed file to be uploaded, encrypt the file to be uploaded using the sender single-phase hash to obtain encrypted data, and send the encrypted data to the receiving user.
Citation Information
Patent Citations
Quantum authentication encryption protocol suitable for quantum Email and based on double-photon entanglement state
CN104618119A
Quantum identity authentication method, computer, computer program and readable storage medium
CN108092770A
Arbitration quantum signature method based on XOR encryption
CN111224780A
Quantum sealing auction method based on quantum public key cryptography
CN113628017A
Quantum privacy comparison method based on three-particle GHZ-like state
CN116961883A
