A multifunctional quantum random number platform architecture system and usage method
By designing a multifunctional quantum random number platform architecture system, integrating random numbers, irreducible polynomials, keys and model simulation functions, the problem of difficulty in obtaining irreducible polynomials is solved, and high-speed, efficient versatility and good randomness are achieved. , meet the needs of various industries.
Patent Information
- Application Number
- CN202210653758.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-10
- Publication Date
- 2024-12-13
- Estimated Expiration
- 2042-06-10
AI Technical Summary
In the prior art, it is difficult to obtain irreducible polynomials developed based on quantum random numbers, and the existing random number generator has a single function, cannot integrate other functions, and is complex in operation.
Design a multifunctional quantum random number platform architecture system, including a random number generator cluster, storage module, functional module and data service management module, integrate random number, irreducible polynomial, key and model simulation functions, and pass the random number generator The cluster generates random numbers, and the storage module quickly stores and reads them. The functional module processes and sends them to the data service management module. The user terminal can request random numbers, keys, inaccurate polynomials and model simulation results.
It realizes high-speed and efficient versatility, provides a platform to meet the random number needs of various industries, has good randomness and anti-quantum computing attack characteristics, and the irreducible polynomials obtained by request are not easy to be cracked.
Smart Images

Figure CN115037440B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of quantum information, and in particular to a multifunctional quantum random number platform architecture system and a method for using the same. Background Art
[0002] As the result of randomized experiments, random numbers should be unpredictable, unrepeatable, and unbiased. Random numbers are a crucial resource, playing a vital role in all aspects of society. For example, in infectious disease prevention, they can be used to simulate behavioral models of viral transmission; in medicine, they can be used for clinical trials; in encryption algorithms, they can serve as keys and generate secure passwords; and in computer games, they can simulate game progress, time, and mathematical modeling. Random numbers have a wide range of applications and hold significant market and research value, particularly in scientific research and communications.
[0003] Based on the principle of random number generation, random numbers can be categorized as pseudorandom and true random numbers. Pseudorandom numbers are generated using algorithms and specific seeds and, as the name suggests, are not completely random. True random numbers are generated through physical processes in nature. Classical physical processes generate random numbers, including thermal noise and electrical noise. Classical physical processes can generate completely random numbers, but given that they can be influenced by attackers, the random numbers generated cannot be guaranteed to be completely random. Only the state of microscopic particles generated by quantum effects is completely random. By measuring the state of microscopic particles, completely random true random numbers can be obtained. These random numbers are unpredictable, non-repeatable, and unbiased. Although quantum random number generation technology has been widely used, existing random number generators are very limited in functionality, serving only random number generation and lacking other integrated functions. Furthermore, the operation of obtaining random numbers is relatively complex.
[0004] Irreducible polynomials are closely related to random numbers. As the foundation of error-correcting codes, they are widely used in various coding and encrypted communication systems, and possess excellent resistance to quantum computing attacks. Irreducible polynomials constructed from random numbers offer enhanced randomness and are more difficult to crack, making them more widely used and valuable in encrypted communications. However, irreducible polynomials based on quantum random numbers are currently difficult to obtain in the market. Summary of the Invention
[0005] Purpose of the Invention: This invention aims to provide a multifunctional quantum random number platform architecture system and usage method, addressing the current difficulty in obtaining quantum random numbers and irreducible polynomials derived from them. The multifunctional quantum random number platform architecture system of this invention integrates four functional services: random numbers, irreducible polynomials, keys, and model simulation.
[0006] Technical solution: A multifunctional quantum random number platform architecture system, which includes a random number generator cluster, a random number storage module, a functional module and a data service management module connected in sequence. The random number generator cluster generates random numbers and sends them to the random number storage module. The functional module pulls random numbers from the random number storage module and processes them, and then sends the processing results to the data service management module.
[0007] Furthermore, the random number generator cluster includes at least one quantum random number generator.
[0008] Furthermore, the random number generator cluster sends random numbers and the random number storage module extracts random numbers simultaneously, and the random number generator cluster sends random numbers at a rate greater than the random number storage module extracts random numbers.
[0009] Furthermore, the platform architecture system also includes a billing application device connected to the data service management module.
[0010] Furthermore, a method for using a multifunctional quantum random number platform architecture system comprises the following steps:
[0011] Step 1: The user terminal registers on the data service management module, and the data service management module stores the user terminal registration information;
[0012] Step 2: The user terminal logs in to the platform architecture system and sends a request to the data service management module;
[0013] Step 3: The data service management module sends the user terminal's request to the function module, and the function module pulls the random number from the random number storage module according to the user terminal's request;
[0014] Step 4: The function module processes the random number according to the request of the user terminal and sends the processing result to the user terminal through the data service management module.
[0015] Furthermore, the request of the user terminal includes a request to obtain a random number, a request to obtain a key, a request to obtain an irreducible polynomial, and a request to obtain a model simulation result.
[0016] Furthermore, the user terminal requests to obtain a random number including the following process:
[0017] Process a1: The user terminal sends a request to obtain a random number to the data service management module, and the request includes the length of the random number;
[0018] Process a2: The data service management module sends the request in process a1 to the functional module;
[0019] Process a3: The functional module pulls the corresponding random number from the random number storage module according to the request in process a1;
[0020] Process a4: The function module sends the pulled random number to the user terminal through the data service management module.
[0021] Furthermore, the user terminal requests to obtain the key including the following process:
[0022] Process b1: The user terminal sends a request to the data service management module to obtain a key, and the request includes the key length;
[0023] Process b2: The data service management module sends the request in process b1 to the functional module;
[0024] Process b3: The functional module pulls the corresponding random number A from the random number storage module according to the request in process b1;
[0025] Process b4: The function module and the user terminal network share the random number B, and the random number A is encrypted using the random number B and the first encryption algorithm to generate the first encrypted data;
[0026] Process b5: The functional module sends the first encrypted data to the user terminal through the data service management module;
[0027] Process b6: The user terminal decrypts the received first encrypted data using the random number B and the decryption algorithm corresponding to the first encryption algorithm to obtain a random number A. The random number A serves as a local random number of the user terminal.
[0028] Process b7: The base station server where the user terminal is registered directly pulls the random number A and forms a pairing relationship with the random number A of the user terminal. The random number A is the key requested by the user terminal.
[0029] Furthermore, the user terminal requests to obtain the irreducible polynomial including the following process:
[0030] Process c1: The user terminal sends a request to the data service management module to obtain irreducible polynomials, where the request includes the number of irreducible polynomials and the highest number of digits of the irreducible polynomials;
[0031] Process c2: The data service management module sends the request in process c1 to the functional module;
[0032] Process c3: The functional module pulls the corresponding random number from the random number storage module according to the request in process c1;
[0033] Process c4: The random numbers pulled are subjected to algorithmic operations to obtain irreducible polynomials;
[0034] Process c5: The function module and the user terminal network share a random number C, and the coefficients of the irreducible polynomial are encrypted using the random number C and a second encryption algorithm to generate second encrypted data;
[0035] Process c6: The functional module sends the second encrypted data to the user terminal through the data service management module;
[0036] Process c7: The user terminal decrypts the received second encrypted data using the random number C and the decryption algorithm corresponding to the second encryption algorithm, obtains coefficients of the irreducible polynomial by decryption, and generates an irreducible polynomial based on the coefficients of the irreducible polynomial.
[0037] Furthermore, the user terminal requests to obtain the model simulation results including the following process:
[0038] Process d1: The user terminal sends a request to the data service management module to obtain the model simulation result, and the request includes the random number length for the model simulation;
[0039] Process d2: The user terminal uploads the algorithm model to the data service management module, and the data service management module sends the algorithm model to the functional module;
[0040] Process d3: The functional module pulls the corresponding random number from the random number storage module according to the request in process d1;
[0041] Process d4: The pulled random numbers are combined with the algorithm model to obtain the model simulation results;
[0042] Process d5: The functional module sends the model simulation results to the user terminal through the data service management module.
[0043] Furthermore, the data service management module presets different charging standards according to different requests of the user terminal and the usage of random numbers, and sends the charging standards to the charging application device.
[0044] Beneficial effects of the present invention:
[0045] 1. The quantum random number platform architecture system provided by the present invention meets the random number usage needs of various industries;
[0046] 2. The quantum random number platform architecture system provided by the present invention has the characteristics of high speed and high efficiency;
[0047] 3. The quantum random number platform architecture system provided by the present invention is multifunctional, integrating four functional services: random numbers, irreducible polynomials, keys, and model simulation;
[0048] 4. The irreducible polynomials obtained by the present invention are developed from quantum random numbers, have good randomness, and are not easy to be cracked. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 This is a schematic diagram of a multifunctional quantum random number platform architecture system of the present invention;
[0050] Figure 2 This is a schematic diagram of a method for using a multifunctional quantum random number platform architecture system of the present invention;
[0051] Figure 3 A flowchart of a user terminal requesting a random number;
[0052] Figure 4 Schematic diagram of the process of requesting a key for a user terminal;
[0053] Figure 5 A flowchart illustrating a user terminal requesting an irreducible polynomial;
[0054] Figure 6 A schematic diagram of the process of requesting a model simulation result from a user terminal; DETAILED DESCRIPTION
[0055] The present invention will be further described below with reference to the accompanying drawings and embodiments:
[0056] like Figure 1 Figure 1 shows a schematic diagram of a multifunctional quantum random number platform architecture system, comprising a sequentially connected random number generator cluster, a random number storage module, a functional module, and a data service management module. The random number generator cluster generates quantum random numbers; the random number storage module rapidly stores and reads out random numbers, similar to a cache. It also monitors its own storage space and random number readout rate; the functional module processes random numbers and provides user terminals with requested random numbers, keys, irreducible polynomials, and model simulation results; and the data service management module transmits data between user terminals and the functional module, ensuring the provision of services tailored to customer needs and coordinating the orderly operation of each service object. Service requests include obtaining random numbers, keys, irreducible polynomials, and model simulation results.
[0057] The functional module can be used for forwarding random numbers, key encryption transmission, generating irreducible polynomials and simulating random number algorithm models.
[0058] like Figure 1 As shown, the random number generator cluster generates random numbers and sends them to the random number storage module. The random numbers generated by the present invention are quantum random numbers. The functional module pulls the random numbers from the random number storage module and processes them, and then sends the processing results to the data service management module.
[0059] The random number generator cluster includes at least one quantum random number generator. The quantum random number generator cluster can be connected to the random number storage module through a PCIE bus. After the quantum random number generator cluster is started, it will generate a random number, which is a quantum random number, and the random number is transmitted to the random number storage module.
[0060] The random number generator cluster sends random numbers simultaneously with the random number storage module's extraction. When the random number storage module's storage space is full, the module sends a command to the random number generator cluster, which then enters a dormant state. Once a random number is extracted from the random number storage module, the module sends a command to the random number generator cluster, which initiates random number generation. The generated random number is then transferred to the random number storage module. The random number generator cluster sends random numbers at a rate greater than or slightly greater than the rate at which random numbers are extracted from the random number storage module, ensuring that the storage space in the random number storage module remains full. This ensures that the platform architecture system never runs out of random numbers when providing services, balancing the efficiency of random number provision and energy conservation of the platform architecture system.
[0061] like Figure 1 As shown, a billing application device is installed under the data service management module, which is used for platform architecture system revenue. The data service management module presets different billing standards according to different requests of the user terminal and the usage of random numbers, and sends the billing standards to the billing application device. The billing application device is used for billing when the user terminal uses the platform architecture system. The platform architecture system supports pre-charge, and the data service management module can divide the priority levels according to the user terminal registration time or pre-charge fee. When multiple user terminals use the platform architecture system of the present invention at the same time, the user terminal with a high priority level can obtain the service. The data service management module will update the fee situation in time according to the pre-designed fee standard, and the billing application device will remind the user terminal of the fee situation of using the platform architecture system, so that the user terminal can pay or recharge in time to ensure the normal use of the platform architecture system. The billing application device will send a command to terminate the service to the data service management module when the fee is insufficient.
[0062] like Figure 2 As shown, the method for using the platform architecture system of the present invention includes the following steps:
[0063] Step 1: The user terminal registers on the application or webpage provided by the platform architecture system, and the platform architecture system stores the user terminal registration information;
[0064] Step 2: After registration is completed, the user terminal logs in to the platform architecture and again sends a request to the data service management module through the application or web page provided by the platform architecture system. At the same time, for the paid service platform architecture system, the user terminal also needs to pay a certain service fee;
[0065] Step 3: The data service management module sends the user terminal's request to the function module, and the function module pulls the random number from the random number storage module according to the user terminal's request;
[0066] Step 4: The function module processes the random number according to the request of the user terminal and sends the processing result to the user terminal through the data service management module.
[0067] The user terminal registers on the data service management module, and the data service management module stores the user terminal registration information. The user terminal's requests include requests for random numbers, requests for keys, requests for irreducible polynomials, and requests for model simulation results.
[0068] like Figure 3 As shown, the user terminal requests to obtain a random number including the following process:
[0069] Process a1: The user terminal sends a request to the data service management module to obtain a random number. The request includes the length of the random number. Here, the length of the random number is set to x. The user terminal's request is to obtain a random number of length x.
[0070] Process a2: The data service management module sends the request in process a1 to the functional module;
[0071] Process a3: The function module pulls a random number of corresponding length from the random number storage module according to the length of the random number requested in process a1;
[0072] Process a4: The function module sends the extracted random number of corresponding length to the user terminal through the data service management module.
[0073] like Figure 4 As shown, the user terminal's request to obtain a key includes the following process:
[0074] Process b1: The user terminal sends a request to the data service management module to obtain a key. The request includes the key length. Here, the key length is set to y, so the user terminal requests to obtain a key of length y.
[0075] Process b2: The data service management module sends the request in process b1 to the functional module;
[0076] Process b3: The functional module pulls a random number A of corresponding length from the random number storage module according to the length of the key requested in process b1;
[0077] Process b4: The functional module and the user terminal share random number B through the quantum secure network to generate the required session key. Random number A is encrypted using random number B and the first encryption algorithm to generate first encrypted data.
[0078] Process b5: The functional module sends the first encrypted data to the user terminal through the data service management module;
[0079] Process b6: The user terminal decrypts the received first encrypted data using the random number B and the decryption algorithm corresponding to the first encryption algorithm to obtain a random number A. The random number A serves as a local random number of the user terminal.
[0080] Process b7: The quantum security base station server registered by the user terminal and each module in processes b1 to b6 are in a secure isolation area, including the data service management module, functional module, and random number storage module. The base station server directly pulls the random number A and forms a pairing relationship with the random number A of the user terminal. The random number A is the key requested by the user terminal.
[0081] like Figure 5 As shown, the user terminal's request to obtain an irreducible polynomial includes the following process:
[0082] Process c1: The user terminal sends a request to the data service management module to obtain irreducible polynomials. The request includes the number of irreducible polynomials and the number of the highest digits of the irreducible polynomials. Here, the number of irreducible polynomials is set to z, and the highest digits of the irreducible polynomials are 64 bits, 128 bits, etc. The user terminal requests z irreducible polynomials with the highest digits being 64 bits, 128 bits, etc.;
[0083] Process c2: The data service management module sends the request in process c1 to the functional module;
[0084] Process c3: The functional module pulls a random number of corresponding length from the random number storage module according to the highest number of bits of the irreducible polynomial requested in process c1;
[0085] Process c4: The pulled random number is subjected to an algorithm operation to obtain an irreducible polynomial. The present invention can implement the algorithm through FPGA and transmit data through PCIE bus;
[0086] Process c5: The functional module and the user terminal share a random number C through the quantum secure network to generate the required session key. The coefficients of the irreducible polynomial are encrypted using the random number C and the second encryption algorithm to generate the second encrypted data.
[0087] Process c6: The functional module sends the second encrypted data to the user terminal through the data service management module;
[0088] Process c7: The user terminal decrypts the received second encrypted data using the random number C and the decryption algorithm corresponding to the second encryption algorithm, obtains coefficients of the irreducible polynomial by decryption, and generates an irreducible polynomial based on the coefficients of the irreducible polynomial.
[0089] The present invention performs multiple algorithmic operations according to the number of irreducible polynomials obtained by the request. The functional module can send the coefficients of the irreducible polynomials obtained by each algorithmic operation to the data service management module, or can send all the coefficients of the irreducible polynomials obtained after all the algorithmic operations are completed to the data service management module at one time. The data service management module then sends the coefficients of the irreducible polynomials to the user terminal, and the user terminal generates irreducible polynomials based on the coefficients of the irreducible polynomials.
[0090] The encryption and decryption algorithm of the present invention can be a national secret algorithm, quantum encryption and decryption, etc. The function of the algorithm of the present invention can be integrated on the FPGA. The FPGA board is connected to the functional module through PCIE. The hardware implements the algorithm, which ensures the speed of the algorithm and improves the computing efficiency. The function of the algorithm of the present invention can also be implemented through ARM mode, bus transmission, etc.
[0091] Corresponding key algorithms are written into the user terminal and functional module. Key algorithms include encryption and decryption algorithms. The decryption algorithm can be the same as or different from the encryption algorithm. The present invention encrypts and decrypts transmitted data using a symmetric key algorithm. A hash value is then calculated for the key using a hash operation. The hash value is then verified for consistency to ensure the integrity and correctness of the data transmission. The present invention can also use an asymmetric key algorithm to encrypt and decrypt transmitted data.
[0092] like Figure 6 As shown, the user terminal requests to obtain the model simulation results, including the following process:
[0093] Process d1: The user terminal sends a request to the data service management module to obtain the model simulation result. The request includes the length of the random number for model simulation. Here, the user terminal requests to obtain the model simulation result of a random number with a length of m.
[0094] Process d2: The user terminal uploads the algorithm model to the data service management module, and the data service management module sends the algorithm model to the functional module;
[0095] Process d3: The function module pulls a random number of corresponding length from the random number storage module according to the request in process d1;
[0096] Process d4: The pulled random number is combined with the algorithm model to obtain the model simulation result. The description of the algorithm model of the present invention is not limited to a certain programming language. The present invention can use C language as the description language of the algorithm model;
[0097] Process d5: The functional module sends the model simulation results to the user terminal through the data service management module.
Claims
1. A multifunctional quantum random number platform architecture system, characterized in that: The platform architecture system includes a random number generator cluster, a random number storage module, a functional module and a data service management module connected in sequence. The random number generator cluster generates random numbers and sends them to the random number storage module. The functional module pulls random numbers from the random number storage module and processes them, and then sends the processing results to the data service management module. Wherein, the random number generator in the random number generator cluster is a quantum random number generator, and the generated random number is a quantum random number; The processing includes a function module processing a random number according to a request of a user terminal, wherein the request of the user terminal includes a request to obtain a random number, a request to obtain a key, a request to obtain an irreducible polynomial, and a request to obtain a model simulation result.
2. A multifunctional quantum random number platform architecture system according to claim 1, characterized in that: The random number generator cluster includes at least one quantum random number generator.
3. A multifunctional quantum random number platform architecture system according to claim 1, characterized in that: The random number generator cluster sends random numbers and the random number storage module fetches random numbers simultaneously, and the random number generator cluster sends random numbers at a rate greater than the random number storage module fetches random numbers.
4. A multifunctional quantum random number platform architecture system according to claim 1, characterized in that: The platform architecture system also includes a billing application device connected to the data service management module.
5. A method for using a multifunctional quantum random number platform architecture system, characterized in that: The method comprises the following steps: Step 1: The user terminal registers on the data service management module, and the data service management module stores the user terminal registration information; Step 2: The user terminal logs in to the platform architecture system and sends a request to the data service management module; Step 3: The data service management module sends the request of the user terminal to the function module, and the function module pulls the random number from the random number storage module according to the request of the user terminal; Step 4: The function module processes the random number according to the request of the user terminal, and sends the processing result to the user terminal through the data service management module; The request of the user terminal includes a request to obtain a random number, a request to obtain a key, a request to obtain an irreducible polynomial, and a request to obtain a model simulation result.
6. The method for using a multifunctional quantum random number platform architecture system according to claim 5, characterized in that: The process of a user terminal requesting a random number includes the following: Process a1: The user terminal sends a request for obtaining a random number to the data service management module, and the request includes the length of the random number; Process a2: The data service management module sends the request in process a1 to the functional module; Process a3: The functional module pulls the corresponding random number from the random number storage module according to the request in process a1; Process a4: The function module sends the pulled random number to the user terminal through the data service management module.
7. The method for using a multifunctional quantum random number platform architecture system according to claim 5, characterized in that: The user terminal requests to obtain a key, which includes the following process: Process b1: The user terminal sends a request to obtain a key to the data service management module, and the request includes the key length; Process b2: The data service management module sends the request in process b1 to the functional module; Process b3: The functional module pulls the corresponding random number A from the random number storage module according to the request in process b1; Process b4: the function module shares the random number B with the user terminal network, and the random number A is encrypted by the random number B and the first encryption algorithm to generate the first encrypted data; Process b5: the function module sends the first encrypted data to the user terminal through the data service management module; Process b6: The user terminal decrypts the received first encrypted data using the random number B and the decryption algorithm corresponding to the first encryption algorithm to obtain a random number A, which serves as a local random number of the user terminal; Process b7: The base station server where the user terminal is registered directly pulls the random number A and forms a pairing relationship with the random number A of the user terminal. The random number A is the key requested by the user terminal.
8. The method for using a multifunctional quantum random number platform architecture system according to claim 5, characterized in that: The user terminal requests to obtain an irreducible polynomial, which includes the following process: Process c1: The user terminal sends a request to the data service management module to obtain irreducible polynomials, where the request includes the number of irreducible polynomials and the highest number of digits of the irreducible polynomials; Process c2: The data service management module sends the request in process c1 to the functional module; Process c3: The functional module pulls the corresponding random number from the random number storage module according to the request in process c1; Process c4: The random numbers pulled are subjected to algorithmic operations to obtain irreducible polynomials; Process c5: the function module shares the random number C with the user terminal network, and the coefficients of the irreducible polynomial are encrypted by the random number C and the second encryption algorithm to generate second encrypted data; Process c6: the function module sends the second encrypted data to the user terminal through the data service management module; Process c7: the user terminal decrypts the received second encrypted data using the random number C and the decryption algorithm corresponding to the second encryption algorithm, and obtains the coefficients of the irreducible polynomial by decryption. The user terminal generates an irreducible polynomial according to the coefficients of the irreducible polynomial. The method in which the function module sends the second encrypted data to the user terminal through the data service management module is: The function module sends the coefficients of the irreducible polynomial obtained by each algorithm operation to the data service management module; Alternatively, the functional module sends all the coefficients of the irreducible polynomials obtained after all algorithm operations are completed to the data service management module at one time, and the data service management module then sends the coefficients of the irreducible polynomials to the user terminal.
9. The method for using a multifunctional quantum random number platform architecture system according to claim 5, characterized in that: The user terminal requests to obtain the model simulation results, which includes the following process: Process d1: The user terminal sends a request to the data service management module to obtain the model simulation result, and the request includes the random number length for model simulation; Process d2: The user terminal uploads the algorithm model to the data service management module, and the data service management module sends the algorithm model to the functional module; Process d3: The functional module pulls the corresponding random number from the random number storage module according to the request in process d1; Process d4: The pulled random numbers are combined with the algorithm model to obtain the model simulation results; Process d5: The functional module sends the model simulation results to the user terminal through the data service management module.
10. The method for using a multifunctional quantum random number platform architecture system according to claim 5, characterized in that: The data service management module presets different charging standards according to different requests of the user terminal and the usage of random numbers, and sends the charging standards to the charging application device.
Citation Information
Patent Citations
Random number generation system, method and device and cloud server
CN113296737A
Digital certificate generation method, identity authentication method, quantum CA authentication center and quantum CA authentication system
CN114254284A
