A random number service system and a random number transmission method thereof

By using a device-independent quantum random number generator and hash encryption processing on a local server, the problems of low reliability and security in random number service systems are solved, and highly secure random number transmission is achieved.

CN116743366BActive Publication Date: 2026-08-25JINAN INST OF QUANTUM TECH
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202310763594.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-27
Publication Date
2026-08-25
Estimated Expiration
2043-06-27

AI Technical Summary

Technical Problem

In existing random number service systems, the generation and transmission of random numbers have low reliability and security. Furthermore, the imperfections of the equipment lead to security vulnerabilities in quantum random number generators, making it difficult to verify the authenticity of random numbers and revealing security flaws in the transmission process.

Method used

A device-independent quantum random number generator is used, combined with a timestamp module, a security module, and a random number pulse module in the local server, to perform hash and encryption operations on the random number information, forming an encrypted hash chain to ensure the unpredictability of the random numbers and the security of transmission.

Benefits of technology

It improves the reliability and security of the random number service system, ensures the unpredictability of random numbers, reduces the difficulty of tampering, avoids security vulnerabilities in the transmission process, and enhances the overall security features of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116743366B_ABST
    Figure CN116743366B_ABST
Patent Text Reader

Abstract

The application relates to a random number service system and a random number transmission method thereof, the system comprising a device-independent quantum random number generator and a local server, the device-independent quantum random number generator being used for generating quantum random numbers with true randomness and sending the quantum random numbers to the local server; the local server comprising a timestamp module, a security module and a random number pulse module, wherein the timestamp module is used for generating a time label of the quantum random numbers; the security module is used for determining random number information; the security module is used for carrying out hash processing on the random number information to form a hash chain; each hash value in the hash chain of the random number information is subjected to encryption processing to obtain an encrypted hash value of the random number information; and the random number pulse module is used for processing the random number information and the encrypted hash value according to a set format, and transmitting the processed encrypted hash value of the random number information to a webpage server, so as to solve the problem of low security in the generation and transmission of random numbers in the random number service system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the fields of random numbers and information security, and in particular to a random number service system and a random number transmission method thereof. Background Technology

[0002] Existing random number service systems typically include random number generation devices. These devices are usually based on software algorithms or classical thermal noise, and their operation and output are theoretically predictable, resulting in pseudo-random numbers. Quantum random number generators, however, are based on the intrinsic randomness of quantum mechanics. The quantum random numbers they generate have been proven to be truly unpredictable, making them significant for information security. However, because the generation of commonly used quantum random numbers is highly dependent on the device itself—meaning imperfections in the device may lead to random numbers that do not actually originate from quantum mechanics—and eavesdroppers could exploit vulnerabilities to manipulate the random numbers, posing security risks to quantum random number generators.

[0003] Generally, we can monitor and detect the operating status of the device and the random numbers it generates to reduce security vulnerabilities. However, it is difficult to close all vulnerabilities, and users cannot verify that the random numbers are indeed derived from quantum mechanics as claimed by the product. Furthermore, there are security vulnerabilities in the data transmission of random numbers between the random number generator and the public service terminal, which reduces the reliability and security of the random number service system and poses a significant security risk.

[0004] Therefore, improving the reliability and security of random number service systems has become an urgent problem to be solved. Summary of the Invention

[0005] In view of this, embodiments of the present invention provide a random number service system and a random number transmission method thereof to solve the problems of low reliability and security in the generation and transmission of random numbers in existing random number service systems.

[0006] In a first aspect, embodiments of the present invention provide a random number service system, the random number service system comprising:

[0007] A device-independent quantum random number generator and a local server, wherein the device-independent quantum random number generator is used to generate quantum random numbers with true randomness and send the quantum random numbers to the local server;

[0008] The local server includes a timestamp module, a security module, and a random number pulse module. The timestamp module generates a timestamp for the quantum random number. The security module determines random number information, including: the acquired quantum random number, the timestamp, a digital signature certificate for detecting random number pulse information, and a random number pulse index. The security module hashes the random number information to form a hash chain; it then encrypts each hash value in the hash chain to obtain the encrypted hash value of the random number information.

[0009] The random number pulse module is used to process the random number information and the encrypted hash value according to a set format, and transmit the encrypted hash value of the processed random number information to the web server.

[0010] Optionally, the random number service system further includes:

[0011] A web server is used to communicate with the random number pulse module to receive the encrypted hash value of the random number information after processing in a set format;

[0012] The web server is equipped with a random number pulse display window to display the quantum random numbers in the random number information.

[0013] Optionally, the web server is provided with a web page download port for downloading quantum random numbers from the random number information through the web page download port.

[0014] Optionally, the web server is provided with an API interface for downloading quantum random numbers from the random number information.

[0015] Optionally, the security module includes:

[0016] The system includes a hash processing unit and an encryption unit. The hash processing unit performs hash operations on the random number pulse index, the timestamp, the digital signature certificate, and the quantum random number in the random number information, so that the resulting hash values ​​form a hash chain.

[0017] The encryption unit is used to encrypt each hash value in the hash chain using an asymmetric encryption algorithm or a post-quantum encryption algorithm to form a digital signature of the random number information, that is, the encrypted hash value of the random number information.

[0018] Optionally, the asymmetric encryption algorithm is the RSA encryption algorithm.

[0019] Optionally, the random number information further includes: the Bell inequality result of the quantum random number output by the device-independent quantum random number generator, the selected theoretical calculation method, and the random number broadcast period.

[0020] Secondly, embodiments of the present invention provide a random number transmission method for a random number service system, the random number transmission method comprising the following steps:

[0021] Obtain quantum random numbers sent by a device-independent quantum random number generator;

[0022] Add a timestamp to the quantum random number to obtain a timestamp that determines the release time of the quantum random number;

[0023] Generate random number pulse index;

[0024] Obtain a digital signature certificate for detecting random number pulse information to determine random number information including the quantum random number, the time tag, the digital signature certificate, and the random number pulse index;

[0025] The random number information is hashed to form a hash chain; each hash value in the hash chain of the random number information is encrypted to obtain the encrypted hash value of the random number information.

[0026] The random number information and the encrypted hash value are processed according to the set format, and the encrypted hash value of the processed random number information is transmitted to the web server.

[0027] Optionally, an asymmetric encryption algorithm or a post-quantum encryption algorithm is used to encrypt each hash value in the hash chain to form a digital signature of the random number information, i.e., the encrypted hash value of the random number information.

[0028] Optionally, the asymmetric encryption algorithm is the RSA encryption algorithm.

[0029] The advantages of this invention compared to the prior art are:

[0030] The random number service system and random number transmission method of the present invention replace the existing ordinary random number generator with a device-independent quantum random number generator. The device-independent quantum random number generator can achieve self-testing, that is, it can determine whether the generated random number originates from quantum mechanics based only on the output and input of the device. Therefore, the security of the device-independent quantum random number does not depend on the device, ensuring the unpredictability of the provided random number and improving the reliability and security of the random number service system to a certain extent.

[0031] Based on the use of a device-independent quantum random number generator to generate highly reliable quantum random numbers, the random number information is hashed and encrypted by combining the timestamp module, security module and random number pulse module in the local server to form an encrypted hash chain. This greatly increases the difficulty of tampering with random numbers, avoids security vulnerabilities between the random number generator and the public service terminal, and improves the security of random numbers during transmission, thereby ensuring the high security characteristics of the random number service system. Attached Figure Description

[0032] To more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0033] Figure 1 This is a structural diagram of a random number service system provided in Embodiment 1 of the present invention;

[0034] Figure 2 This is a schematic diagram of the processing flow of the security module in the random number service system provided in Embodiment 1 of the present invention;

[0035] Figure 3 This is a flowchart illustrating a random number transmission method for a random number service system provided in Embodiment 2 of the present invention;

[0036] Figure 4 This is a schematic diagram of the structure of a computer device provided in Embodiment 4 of the present invention. Detailed Implementation

[0037] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of the invention. However, those skilled in the art will understand that the invention can be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods are omitted so as not to obscure the description of the invention with unnecessary detail.

[0038] It should be understood that, when used in this specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.

[0039] It should also be understood that the term “and / or” as used in this specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0040] As used in this specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if [described condition or event] is detected" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once [described condition or event] is detected," or "in response to detection of [described condition or event]."

[0041] Furthermore, in the description of this invention and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0042] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of the invention include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.

[0043] It should be understood that the sequence number of each step in the following embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0044] To illustrate the technical solution of the present invention, specific embodiments are described below.

[0045] Embodiment 1 of the present invention provides a random number service system, such as Figure 1 As shown, the random number service system includes a device-independent quantum random number generator, a local server, and a web server. The device-independent quantum random number generator is used to generate quantum random numbers with true randomness and send the quantum random numbers to the local server.

[0046] The local server includes a timestamp module, a security module, and a random number pulse module. The timestamp module generates a timestamp for the quantum random number. The security module determines random number information, including: the acquired quantum random number, the timestamp, a digital signature certificate for detecting random number pulse information, and a random number pulse index. The security module hashes the random number information to form a hash chain; it then encrypts each hash value in the hash chain to obtain the encrypted hash value of the random number information.

[0047] The random number pulse module is used to process the random number information and the encrypted hash value according to a set format, and transmit the encrypted hash value of the processed random number information to the web server.

[0048] A web server is used to communicate with the random number pulse module to receive the encrypted hash value of the random number information after processing in a set format;

[0049] The web server is equipped with a random number pulse display window to display the quantum random numbers in the random number information.

[0050] In the aforementioned random number service system, the device-independent quantum random number generator produces truly random quantum random numbers, and these random numbers are not subject to the security limitations of the devices used. The timestamp module on the local server adds a timestamp to the random numbers, clearly indicating their publication time. The security module on the local server ensures secure transmission and storage of the generated random numbers to the website server. The random number pulse module on the local server standardizes and integrates the data, ensuring a fixed format for the published random numbers. The random number pulse module standardizes and integrates the random numbers, generated hash values, timestamps, digital signatures, etc., so that the random numbers transmitted to the web server have a fixed format.

[0051] The random number service system in this embodiment uses a device-independent quantum random number generator instead of an existing ordinary random number generator. The security of this device-independent quantum random number does not depend on the device, ensuring the unpredictability of the provided random numbers and improving the reliability and security of the random number service system to a certain extent. Furthermore, the device-independent quantum random number generator can achieve self-testing, that is, it can determine whether the generated random numbers originate from quantum mechanics based solely on the device's output and input, improving the convenience of detection.

[0052] Based on the use of a device-independent quantum random number generator to generate highly reliable quantum random numbers, the random number information is hashed and encrypted by combining the timestamp module, security module and random number pulse module in the local server to form an encrypted hash chain. This greatly increases the difficulty of tampering with random numbers, avoids security vulnerabilities between the random number generator and the public service terminal, and improves the security of random numbers during transmission, thereby ensuring the high security characteristics of the random number service system.

[0053] The aforementioned random number service system includes a web-based server that provides users with the necessary random number information, offering flexible random number service applications to the public.

[0054] Optionally, the web server is provided with a web page download port for downloading quantum random numbers from the random number information through the web page download port.

[0055] Optionally, the web server is provided with an API interface for downloading quantum random numbers from the random number information.

[0056] Optionally, the security module includes:

[0057] The system includes a hash processing unit and an encryption unit. The hash processing unit performs hash operations on the random number pulse index, the timestamp, the digital signature certificate, and the quantum random number in the random number information, so that the resulting hash values ​​form a hash chain.

[0058] The encryption unit is used to encrypt each hash value in the hash chain using an asymmetric encryption algorithm or a post-quantum encryption algorithm (PQC algorithm) to form a digital signature of the random number information, that is, the encrypted hash value of the random number information.

[0059] The processing flow of the above security module is as follows: Figure 2 As shown, a hash operation is performed on the random number pulse index, time tag, digital signature certificate and quantum random number to obtain the hash value of each attribute value. Then, a preset encryption algorithm such as asymmetric encryption algorithm or post-quantum encryption algorithm is used for encryption processing to form a digital signature of all attribute values.

[0060] Optionally, the asymmetric encryption algorithm is the RSA encryption algorithm.

[0061] In this embodiment, random numbers generated by a device-independent quantum random number generator are then processed by a local server with timestamps and a security module. This processing involves hashing and either RSA encryption (an asymmetric encryption algorithm) or post-quantum encryption. The hashing process creates a hash chain for all publicly released random number information, making it difficult for hackers to tamper with undetected. The RSA encryption or post-quantum encryption process digitally signs the random numbers, further ensuring their integrity during generation and release. A random number pulse module timestamps the released random number information and integrates all random number information according to a standardized format. These different modules in the random number service system are independent of each other to further ensure the security of random number transmission.

[0062] Optionally, the attributes included in the random number information can be added or reduced according to the actual situation. For example, in addition to the random number pulse index, the time tag, the digital signature certificate and the quantum random number, the random number information may also include: the Bell inequality result of the quantum random number output by the device-independent quantum random number generator, the selected theoretical calculation method and the random number broadcast period.

[0063] The random number transmission method of the random number service system provided in Embodiment 2 of the present invention can be applied to, for example, Figure 1 In this application environment, the device-independent quantum random number generator communicates with the local server, which in turn communicates with the web server. The local server can be an independent server, or it can be a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms.

[0064] See Figure 3 This is a flowchart illustrating a random number transmission method for a random number service system provided in Embodiment 2 of the present invention. The above-described random number transmission method can be applied to... Figure 1 Local server and device-independent quantum random number generators, such as Figure 3 As shown, the random number transmission method may include the following steps:

[0065] Step S301: Obtain the quantum random number sent by the device-independent quantum random number generator;

[0066] Among them, the device-independent quantum random number generator, also known as the device-independent quantum random number generator, is existing technology. For example, a device-independent quantum random number generator may include: an entanglement source, two measurement stations, a data processing center, and a synchronization signal source, used to generate true quantum random numbers. The specific implementation principle of the internal module of the device-independent quantum random number generator can be found in the Chinese patent application with publication number CN108984153A entitled "A device-independent quantum random number generator system and method". The specific structure of the device-independent quantum random number generator will not be described in detail in this embodiment.

[0067] Step S302: Add a timestamp to the quantum random number to obtain a timestamp that determines the release time of the quantum random number;

[0068] Specifically, after generating a quantum random number, the time when the quantum random number was generated is obtained, and a time stamp is made to specify the release time of the random number based on the generation time of the quantum random number.

[0069] Step S303: Generate a random number pulse index;

[0070] In this process, after generating a quantum random number, the generated random number is indexed to obtain a random number pulse index. For example, the random number pulse index for the first generated quantum random number is 01, the corresponding random number pulse index for the second generated quantum random number is 02, and so on. The purpose of generating the random number pulse index in this step is to determine the order in which the random numbers are transmitted based on the index order.

[0071] Step S304: Obtain a digital signature certificate for detecting random number pulse information to determine random number information including the quantum random number, the time tag, the digital signature certificate, and the random number pulse index;

[0072] The digital signature certificate comes from the certificate authority and is used to decrypt the digital signature so that the recipient can obtain the unencrypted hash value, which is the various hash values ​​on the hash chain in subsequent steps.

[0073] Step S305: Hash the random number information to form a hash chain; encrypt each hash value in the hash chain of the random number information to obtain the encrypted hash value of the random number information.

[0074] The process of hashing the random number information to form a hash chain includes: calculating the hash value of each attribute in the random number information to obtain the hash value of the quantum random number, the hash value of the timestamp, the hash value of the digital signature certificate, and the hash value of the random number pulse index; then calculating the combination of the hash values ​​of two attribute values ​​to calculate the hash value; combining the hash value of the next attribute value to calculate the hash value; and so on, until the final hash value of the end of the hash chain is obtained, thereby determining the hash value of the entire hash chain.

[0075] Step S306: Process the random number information and the encrypted hash value according to the set format, and transmit the encrypted hash value of the processed random number information to the web server.

[0076] Among them, the random numbers, as well as the generated hash values, timestamps, digital signatures, etc., are standardized and integrated to ensure that the random numbers transmitted to the web server have a fixed format.

[0077] Optionally, an asymmetric encryption algorithm or a post-quantum encryption algorithm is used to encrypt each hash value in the hash chain to form a digital signature of the random number information, i.e., the encrypted hash value of the random number information.

[0078] Optionally, the asymmetric encryption algorithm is the RSA encryption algorithm.

[0079] The random number transmission method of the random number service system in this embodiment processes the highly reliable quantum random numbers output by the device-independent quantum random number generator to determine random number information containing quantum random numbers, timestamps, digital signature certificates, and random number pulse indices. Then, hash and encryption operations are performed on the random number information to form an encrypted hash chain, which greatly increases the difficulty of random number tampering, avoids security vulnerabilities in the random number generator to the public service terminal, improves the security of random numbers during transmission, and thus ensures the high security characteristics of the random number service system.

[0080] Figure 4 This is a schematic diagram of the structure of a computer device provided in Embodiment 3 of the present invention. Figure 4 As shown, the computer device of this embodiment includes: at least one processor ( Figure 4 Only one is shown in the diagram), a memory, and a computer program stored in the memory and executable on at least one processor, which, when executed by the processor, implements the steps in any of the above-described intelligent decision-making method embodiments.

[0081] This computer device may include, but is not limited to, a processor and memory. Those skilled in the art will understand that... Figure 4The examples of computer devices are merely examples and do not constitute a limitation on computer devices. Computer devices may include more or fewer components than shown in the illustration, or combinations of certain components, or different components, such as network interfaces, displays, and input devices.

[0082] The processor referred to can be a CPU, but it can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor.

[0083] Memory includes readable storage media, internal memory, etc., wherein internal memory can be the RAM of a computer device, providing an environment for the operation of the operating system and computer-readable instructions stored in the readable storage media. The readable storage media can be the hard drive of a computer device, or in other embodiments, it can be an external storage device of the computer device, such as a plug-in hard drive, Smart Media Card (SMC), Secure Digital (SD) card, or Flash Card. Furthermore, memory can include both internal storage units and external storage devices of a computer device. Memory is used to store the operating system, applications, bootloader, data, and other programs, such as program code for computer programs. Memory can also be used to temporarily store data that has been output or will be output.

[0084] Those skilled in the art will understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is used as an example. In practical applications, the functions described above can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this invention. The specific working process of the units and modules in the above device can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here. If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention can implement all or part of the processes in the methods of the above embodiments by instructing related hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the above method embodiments. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. A computer-readable medium can include at least: any entity or device capable of carrying computer program code, a recording medium, a computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electrical carrier signals or telecommunication signals.

[0085] The present invention can implement all or part of the processes in the methods of the above embodiments, or it can be accomplished by a computer program product. When the computer program product is run on a computer device, the computer device executes the steps in the above method embodiments.

[0086] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0087] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.

[0088] In the embodiments provided by this invention, it should be understood that the disclosed systems / computer devices and methods can be implemented in other ways. For example, the system / computer device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.

[0089] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0090] The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included within the protection scope of the present invention.

Claims

1. A random number service system, characterized in that, The random number service system includes: A device-independent quantum random number generator and a local server, wherein the device-independent quantum random number generator is used to generate quantum random numbers with true randomness and send the quantum random numbers to the local server; The local server includes a timestamp module, a security module, and a random number pulse module. The timestamp module generates a timestamp for the quantum random number. The security module determines random number information, including: the acquired quantum random number, the timestamp, a digital signature certificate for detecting random number pulse information, and a random number pulse index. The security module hashes the random number information to form a hash chain; and encrypts each hash value in the hash chain to obtain the encrypted hash value of the random number information. The random number pulse module is used to process the random number information and the encrypted hash value according to a set format, and transmit the encrypted hash value of the processed random number information to the web server.

2. The random number service system according to claim 1, characterized in that, The random number service system also includes: A web server is used to communicate with the random number pulse module to receive the encrypted hash value of the random number information after processing in a set format; The web server is equipped with a random number pulse display window to display the quantum random numbers in the random number information.

3. The random number service system according to claim 2, characterized in that, The web server is equipped with a web download port, which is used to download quantum random numbers from the random number information.

4. The random number service system according to claim 2, characterized in that, The web server is equipped with an API interface for downloading quantum random numbers from the random number information.

5. The random number service system according to claim 1, characterized in that, The security module includes: The system includes a hash processing unit and an encryption unit. The hash processing unit is used to perform hash operations on the random number pulse index, the timestamp, the digital signature certificate, and the quantum random number in the random number information, so that the resulting hash values ​​form a hash chain. The encryption unit is used to encrypt each hash value in the hash chain using an asymmetric encryption algorithm or a post-quantum encryption algorithm to form a digital signature of the random number information, that is, the encrypted hash value of the random number information.

6. The random number service system according to claim 5, characterized in that, The asymmetric encryption algorithm is the RSA encryption algorithm.

7. The random number service system according to claim 1, characterized in that, The random number information also includes: the Bell inequality result of the quantum random number output by the device-independent quantum random number generator, the selected theoretical calculation method, and the random number broadcast period.

8. A random number transmission method for a random number service system, characterized in that, The random number transmission method includes the following steps: Obtain quantum random numbers sent by a device-independent quantum random number generator; Add a timestamp to the quantum random number to obtain a timestamp that determines the release time of the quantum random number; Generate random number pulse index; Obtain a digital signature certificate for detecting random number pulse information to determine random number information including the quantum random number, the time tag, the digital signature certificate, and the random number pulse index; The random number information is hashed to form a hash chain; each hash value in the hash chain of the random number information is encrypted to obtain the encrypted hash value of the random number information. The random number information and the encrypted hash value are processed according to the set format, and the encrypted hash value of the processed random number information is transmitted to the web server.

9. The random number transmission method according to claim 8, characterized in that, The hash values ​​in the hash chain are encrypted using an asymmetric encryption algorithm or a post-quantum encryption algorithm to form a digital signature of the random number information, which is the encrypted hash value of the random number information.

10. The random number transmission method according to claim 9, characterized in that, The asymmetric encryption algorithm is the RSA encryption algorithm.

Citation Information

Patent Citations

  • A device-independent quantum random number generator system and method

    CN108984153A

  • AKA authentication method and system for 5G communication

    CN114339740A

  • Consensus system and method based on device-independent quantum random number

    CN114598477A