Quantum key distribution post-processing system-on-chip based on RISC-V processor

By adopting a separate bus architecture and modular design based on RISC-V processors in the quantum key distribution post-processing system, the problems of complex structure and high power consumption of the existing system are solved, and efficient quantum key distribution post-processing is achieved. , adapt to various application scenarios and reduce costs.

CN118432817BActive Publication Date: 2024-08-30SUN YAT SEN UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410883943.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-02
Publication Date
2024-08-30
Estimated Expiration
2044-07-02

AI Technical Summary

Technical Problem

The existing quantum key distribution post-processing system has a complex structure, is difficult to expand new functions, has poor transplantation flexibility, and suffers from high power consumption issues.

Method used

Design a quantum key distribution post-processing system-on-chip based on RISC-V processor, using separate instruction bus and data bus, combined with modular architecture and data flow-driven parallel computing, to provide a single chip implementation solution and enhance system portability performance and computational efficiency.

Benefits of technology

It simplifies the system structure, reduces development costs, improves computing efficiency and data transmission throughput, solves the problem of high power consumption, adapts to various application scenarios of quantum secure communication, and improves the maintainability and portability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118432817B
    Figure CN118432817B
Patent Text Reader

Abstract

The present invention discloses a quantum key distribution post-processing on-chip system and method based on a RISC-V processor, which belongs to the field of confidential communication technology. The system includes a central processing unit, a bus, a storage control unit, an interaction control unit and a computing task unit. The central processing unit is based on the RISC-V architecture; the bus includes an instruction bus and a data bus; the storage control unit is used to control the data flow on the data bus; the interaction control unit is used to perform data interaction; the computing task unit is driven by the data flow and includes multiple computing modules, each of which is used to perform a single subtask. The technical solution provided by the present invention not only realizes all the functions of QKD post-processing on a single chip, enhances the portability of the system, and reduces the development cost, but also enhances the parallel computing of QKD post-processing data, and improves the computing efficiency and transmission throughput.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of secure communication technology, and in particular to a quantum key distribution post-processing system-on-chip based on a RISC-V processor. Background Art

[0002] Quantum Key Distribution (QKD) is a promising field in quantum encryption communication. The implementation process of QKD is as follows: the sender encodes the corresponding key information into a quantum state, shares it with the receiver through a quantum channel, and the receiver completes the measurement of the key information through protocol measurement methods. Usually, the implementation methods of QKD post-processing systems are mostly based on programmable devices, such as central processing units (CPUs), field programmable gate arrays (FPGAs), graphics processing units (GPUs), etc. The use of multiple independent programmable devices increases the structural complexity of QKD post-processing systems.

[0003] Since the overall structure of the current QKD post-processing system is relatively complex, in the process of implementing the present invention, the inventors found that when the existing QKD post-processing system faces new application requirements, it is difficult to expand new system functions to adapt to the new application requirements. Therefore, the existing QKD post-processing system has the problem of poor transplantation flexibility. Summary of the invention

[0004] In order to overcome the above-mentioned defects, the present invention aims to provide a system on a chip for quantum key distribution post-processing. The system constructs various functional modules based on RISC-V, combined with separate data bus and instruction bus, which not only provides a single chip implementation solution for QKD post-processing, enhances system portability, and reduces development costs, but also enhances the parallel computing of QKD post-processing data, and improves computing efficiency and transmission throughput.

[0005] In order to achieve the above object, the present invention provides a quantum key distribution post-processing system-on-chip based on a RISC-V processor, the system comprising:

[0006] A central processing unit, including at least one processor core, the processor core is based on the RISC-V architecture; a bus, including an instruction bus and a data bus; a storage control unit, used to control the data flow on the data bus; an interaction control unit, used to perform data interaction between the system on chip and an off-chip device, and also used to perform data interaction between the system on chip; a computing task unit, including multiple computing modules, each of which is used to perform a single subtask; the computing task unit is driven by the data flow and is used to perform different single subtasks in parallel in the same time slot. Wherein, the instruction bus and the data bus are separated from each other; the instruction bus uses the central processing unit as the only master device to transmit the instruction request of the central processing unit; the data bus uses the storage control unit as the only master device to transmit the instruction request of the storage control unit and the data flow.

[0007] Specifically, the at least one processor core includes: an instruction memory, a program counter, a register stack, an arithmetic logic unit and a configurable RAM; the instruction memory is used to store instruction requests and provide the instruction requests according to the instruction address; the arithmetic logic unit is used to perform arithmetic, logic, comparison and shift operations in the instruction request; the program counter is used to save the instruction address of the current instruction request and self-increment the instruction address; the register stack includes a number of general registers for temporarily storing data, functions, program parameters and status information; the configurable RAM is used to temporarily store data and extended instruction requests.

[0008] Specifically, the instruction request includes a slave device configuration instruction, a bus status check instruction, a conditional branch jump instruction, and a memory access control instruction.

[0009] Preferably, the system on chip further comprises a communication serial port for transmitting communication signals between the system on chip and the off-chip device, wherein the off-chip device comprises a host computer.

[0010] Preferably, the central processing unit sequentially performs operations of reading instructions, decoding instructions, sending requests, calculating addresses and accessing memory in a pipeline mode, and the requests include start requests, calculation requests and write-back requests.

[0011] Furthermore, the storage control unit is used to receive the memory access control instruction, and parse the source address, destination address and transmission length of the data in the memory access control instruction to control the data flow.

[0012] Furthermore, the computing module of the computing task unit includes a negotiation information encoder, a negotiation information decoder, a key verification unit and a hash processing unit; the negotiation information encoder is used for negotiation information encoding; the negotiation information decoder is used for negotiation information decoding; the key verification unit is used for key caching and negotiation confirmation; and the hash processing unit is used for confidentiality enhancement.

[0013] Specifically, the slave devices of the instruction bus include the computing task unit, the storage control unit and the interaction control unit; the slave devices of the data bus include the computing task unit and the interaction control unit; the data stream includes negotiation data, confidentiality-enhanced random number sharing data and calculation result data.

[0014] The present invention also provides a quantum key distribution post-processing method based on a RISC-V processor, the method using the above-mentioned system on chip, the method comprising: the central processing unit sends a start request to the interaction control unit to obtain an instruction address; the central processing unit reads the instruction according to the instruction address, sends a calculation request to the storage control unit and the computing task unit, obtains the calculation result data, and writes it into the storage control unit; the central processing unit sends a write-back request to the storage control unit and the interaction control unit at the same time, the storage control unit transmits the calculation result data to the interaction control unit, and the central processing unit configures the interaction control unit to perform data interaction according to the data type of the calculation result data in the interaction control unit, and the data interaction includes data interaction within the system on chip and data interaction between the system on chip and external devices.

[0015] The beneficial effects achieved by the present invention through the above technical solution are:

[0016] 1) Through the modular architecture of the central processing unit, storage controller, computing task unit, interactive controller, and custom instructions based on the RISC-V processor, the system structure is simplified, which is conducive to system normalization and standardization, and facilitates the subsequent maintenance, expansion and replacement of the system, so as to adapt to the needs of the rapid development of quantum secure communication, especially to various application scenarios such as point-to-point transmission and networking.

[0017] 2) Pure digital logic circuit design can be quickly ported to FPGA, ASIC or chip-based quantum key distribution systems, providing a single-chip solution for quantum key distribution post-processing systems while integrating on-chip clock control and power management, which not only makes the system structure simple, compact and efficient, but also solves the high power consumption problem of existing technologies.

[0018] 3) Modularize the basic process of QKD post-processing, including identity authentication, information negotiation, confidentiality enhancement, etc., which not only maintains the high independence of each link, but also the modularized computing task unit can run task-level pipelines in parallel under the drive of data flow, avoiding the data rate loss caused by state control in the existing technology.

[0019] 4) The separate bus structure of the instruction bus and the data bus, combined with the division of labor and cooperation between data flow control and data interaction, avoids the conflict between instructions and data transmitted between modules, reduces the complexity of the system routing structure, saves system resources, and improves the data transmission rate, which is beneficial to the batch data transmission of the quantum key distribution post-processing system and enhances the data throughput. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 is a schematic diagram of the structure of a quantum key distribution post-processing system-on-chip according to an embodiment of the present invention;

[0021] Figure 2 is a schematic diagram of the structure of a quantum key distribution system according to an embodiment of the present invention;

[0022] Figure 3 1. It is a schematic diagram of the structure of the task-level pipeline of the quantum key distribution post-processing system-on-chip according to an embodiment of the present invention;

[0023] Figure 4 is a timing diagram of a task-level pipeline according to an embodiment of the present invention;

[0024] Figure 5 It is a flow chart of a quantum key distribution post-processing method according to an embodiment of the present invention.

[0025] The symbols in the figure represent:

[0026] 1000, system on chip; 10, central processing unit; 101, instruction memory; 102, program counter; 103, register stack; 104, arithmetic logic unit; 105, configurable RAM; 20, storage control unit; 30, bus; 301, instruction bus; 302, data bus; 40, interaction control unit; 50, computing task unit; 501, negotiation information encoder; 502, negotiation information decoder; 503, key verification unit; 504, hash processing unit; 70, on-chip RAM; 90, physical layer transmission equipment; 100, off-chip memory. DETAILED DESCRIPTION

[0027] In order to make the purpose, technical scheme and advantages of the present invention more clear, the specific implementation of the present invention is further described in detail below in conjunction with examples. It should be understood that the embodiments described herein are only used to explain the present invention, but are not used to limit the scope of the present invention.

[0028] Embodiment 1

[0029] See also Figure 1 To explain, Figure 1 It is a schematic diagram of the structure of the quantum key distribution post-processing system-on-chip according to an embodiment of the present invention.

[0030] In an embodiment of the present invention, the quantum key distribution post-processing system-on-chip 1000 is based on the RISC-V architecture and is used to implement the quantum key distribution post-processing function. The system-on-chip 1000 includes a central processor 10, a storage control unit 20, an interaction control unit 40, a computing task unit 50 and a bus 30. The central processor 10 includes at least one processor core, which is based on the RISC-V architecture and is used to send instructions according to the input data of the off-chip device to control the quantum key distribution post-processing process. The bus 30 includes an instruction bus 301 and a data bus 302; the storage control unit 20 is used to control the data flow on the data bus 302, and the data flow includes negotiation data, confidentiality-enhanced random number sharing data and calculation result data. The interaction control unit 40 is used to perform data interaction between the system-on-chip 1000 and the off-chip device, and is also used to perform data interaction within the system-on-chip 1000.

[0031] The computing task unit 50 includes a plurality of computing modules, each of which is used to execute a single subtask. The computing task unit 50 is driven by a data stream and is used to execute different single subtasks in parallel in the same time slot to complete a data frame task composed of different single subtasks. The computing module of the computing task unit 50 includes a negotiation information encoder 501, a negotiation information decoder 502, a key verification unit 503 and a hash processing unit 504. The negotiation information encoder 501 is used for negotiation information encoding, the negotiation information decoder 502 is used for negotiation information decoding, the key verification unit 503 is used for key caching and negotiation confirmation, and the hash processing unit 504 is used for confidentiality enhancement.

[0032] In particular, the instruction bus 301 and the data bus 302 are separated from each other; the instruction bus 301 uses the central processing unit 10 as the only master device to transmit the instruction request of the central processing unit 10 to configure the state of the slave device of the instruction bus 301; the data bus 302 uses the storage control unit 20 as the only master device to transmit the instruction request and data stream of the storage control unit 20.

[0033] It should be understood that the bus 30 adopts a separate bus architecture of "instruction bus 301 + data bus 302", which can be implemented based on a public standard high-speed on-chip bus specification, for example, based on the Advanced Microcontroller Bus Architecture (AMBA).

[0034] In particular, the instruction bus 301 is suitable for the transmission of instruction requests or the configuration of states, and the data size is usually small. In the embodiment of the present invention, the instruction request includes a slave device configuration instruction, a bus state check instruction, a conditional branch jump instruction, and a memory access control instruction. The central processing unit 10 is the only master device of the instruction bus 301, and the slave devices of the instruction bus 301 include the various computing modules of the computing task unit 50, the storage control unit 20, and the interactive control unit 40.

[0035] In particular, the data bus 302 is suitable for high-speed, large-volume data transmission. The storage control unit 20 is the only master device of the data bus 302 , and the slave devices of the data bus 302 include the computing modules of the computing task unit 50 and the interaction control unit 40 .

[0036] In particular, the storage control unit 20 receives the memory access control instruction sent by the central processor 10 through the instruction bus 301, and the storage control unit 20 parses the source address, destination address and transmission length of the data in the memory access control instruction to control the data flow. In the embodiment of the present invention, the storage control unit 20 accesses the data bus 302 as a master device, controls the on-chip RAM 70 internally, and controls the off-chip memory 100 externally, such as DDR, SDRAM, etc.

[0037] In particular, the interaction control unit 40 is used to complete point-to-point data interaction, such as calculation result data, especially the interaction of large batches of data, such as negotiation data, sharing of privacy-enhanced random numbers, etc., and can also perform control of off-chip devices, such as control of off-chip physical layer transmission equipment 90. Therefore, the interaction control unit 40 has the ability to control high-bandwidth transmission equipment.

[0038] It should be noted that Figure 1 The bold arrows in the figure represent data flow, and the dotted arrows represent instruction status flow. The letter S represents the flow from bus 30 to the slave device, and the letter M represents the flow from the master device to bus 30. For example, the data flow is transmitted from data bus 302 to the slave device interaction control unit 40 of the data bus, which is represented by the bold arrow S. The instruction status flow is transmitted from instruction bus 301 to the slave device hash processing unit 504 of the instruction bus, which is represented by the dotted arrow S. The data flow is transmitted from the master device storage control unit 20 of data bus 302 to data bus 302, which is represented by the bold arrow M, and the instruction status flow is transmitted from the master device central processor 10 of instruction bus 301 to instruction bus 301, which is represented by the dotted arrow M.

[0039] In particular, the master device or the slave device is relative to different buses. In the embodiment of the present invention, with respect to the instruction bus 301, the central processing unit 10 is the master device, and the various computing modules of the computing task unit 50, the storage control unit 20 and the interactive control unit 40 are slave devices. With respect to the data bus 302, the storage control unit 20 is the master device, and the various computing modules of the computing task unit 50 and the interactive control unit 40 are slave devices.

[0040] In particular, due to the differences in bandwidth for data transmission of different types, there are competition and conflicts in the information interaction between the CPU 10, the storage control unit 20, and the computing modules of the computing task unit 50. By separating the instruction bus 301 and the data bus 302, not only can the resource conflict problem of data interaction between modules be solved, but also the complexity of routing design can be reduced. In addition, the calculation result data can not only achieve high-speed continuous transmission through the data bus 302, but also can drive each computing module through the data flow in combination with the task-level pipeline design of each computing module in the computing task unit 50, thereby increasing the data throughput and parallel computing power of the post-processing of quantum key distribution.

[0041] It should be understood that the central processing unit 10 is the core component of the quantum key distribution post-processing system-on-chip 1000 based on the RISC-V processor, and is responsible for tasks such as executing programs, controlling data flow, and managing the resources of the system-on-chip 1000.

[0042] In the embodiment of the present invention, the central processor 10 includes at least one processor core, such as Figure 1 As shown, taking a processor core as an example, a single processor core at least includes: an instruction memory 101, a program counter 102, a register stack 103, an arithmetic logic unit 104 and a configurable RAM 105. The instruction memory 101 is used to store instruction requests and provide instruction requests according to instruction addresses; instruction requests include slave device configuration instructions, bus status check instructions, conditional branch jump instructions and memory access control instructions. The arithmetic logic unit 104 is used to perform arithmetic, logic, comparison and shift operations in instruction requests; the program counter 102 is used to save the instruction address of the current instruction request and self-increment the instruction address; the register stack 103 includes a number of general registers for temporarily storing data, functions, program parameters and status information; the configurable RAM 105 is used to temporarily store data and extended instruction requests.

[0043] In particular, the storage control unit 20 cooperates with the arithmetic logic unit 104 in the processor core to complete the control of data flow and the management of storage resources. Specifically, the arithmetic logic unit 104 is responsible for executing the calculation operations involved in the memory access instruction request and determining the address of the accessed memory. The storage control unit 20 is responsible for managing the actual memory access operation. For example, when executing a memory access instruction, the storage control unit 20 receives the memory address calculated by the arithmetic logic unit 104, and sends a read or write instruction to the memory, and returns data or status from the memory. The memory here includes the on-chip RAM 70 and the memory of the storage control unit.

[0044] Please refer to the attached Figure 2 , Figure 2 It is a schematic diagram of the structure of a quantum key distribution system according to an embodiment of the present invention. Figure 2 The quantum key distribution system in Figure 1 The quantum key distribution post-processing system-on-chip 1000 based on the RISC-V processor is shown. Figure 2 In the present invention, after the sender Alice and the receiver Bob of the quantum key distribution system pass identity authentication, a quantum key is generated through a quantum channel, and then the generated quantum key is authenticated on a classical channel through the post-processing system-on-chip of an embodiment of the present invention.

[0045] It should be understood that the program counter 102 can be understood as a 32-bit register.

[0046] In an embodiment of the present invention, most types of instruction requests require the use of the arithmetic logic unit 104 after reading the register stack 103; for example, memory access control instructions require the arithmetic logic unit 104 to perform address calculations, conditional branch instructions require the arithmetic logic unit 104 to perform comparisons, and arithmetic logic instructions use the arithmetic logic unit 104 to perform simple operations.

[0047] In an embodiment of the present invention, during actual design, multiple processor cores are configured on the logical resources within the quantum key distribution post-processing system on chip 1000 based on the RISC-V processor, and tasks such as accessing storage, branching, and interrupt response are completed in a pipelined manner, thereby improving the execution efficiency of the entire system.

[0048] Optionally, in some embodiments, the configurable RAM 105 may be used as storage space inside the processor core for temporary and fast data storage, or for storage of extended instructions.

[0049] Optionally, in some embodiments, the system on chip 1000 further includes a communication serial port for transmitting communication signals between the system on chip 1000 and an off-chip device, wherein the off-chip device includes a host computer. The central processing unit 10 can realize interconnection with other internal and external modules through modules such as the interaction control unit 40 and the storage control unit 20, and can respond to interrupt signals transmitted from the host computer through the communication serial port.

[0050] Optionally, the central processing unit 10 sequentially performs operations of reading instructions, decoding instructions, sending requests, calculating addresses, and accessing memory in a pipeline mode, and the requests include start requests, calculation requests, and write-back requests.

[0051] Please refer to the attached Figure 3 and attached Figure 4 , Figure 3 is a schematic diagram of the structure of the task-level pipeline of the quantum key distribution post-processing system-on-chip according to an embodiment of the present invention, Figure 4 It is a timing diagram of the task-level pipeline of the computing task unit according to an embodiment of the present invention.

[0052] As can be seen from the figure, the post-processing tasks of quantum key distribution in the embodiment of the present invention include identity authentication, information negotiation, confidentiality enhancement, etc., corresponding to the computing modules such as the negotiation information encoder 501, the negotiation information decoder 502, the key verification unit 503 and the hash processing unit 504 of the computing task unit 50. The post-processing tasks can be further divided. For example, the information negotiation task can be further divided into individual subtasks such as negotiation information encoding, negotiation information decoding, negotiation confirmation and key caching, so as to obtain greater pipeline depth and data parallelism. In the embodiment of the present invention, each computing module of the computing task unit 50 is a data flow driven mode, and the data flow is controlled by an independent module, such as the storage control unit 20, through the data bus 302 as a master device. On the one hand, it can reduce the control consumption of the system and realize timely response to different single subtasks. On the other hand, it enables the post-processing tasks to realize parallel operation of task-level pipelines at multiple levels, so that different single subtasks can be executed in the same time slot. For example, in time slot 3, the subtasks processed simultaneously include the key cache of the sender data frame 2, the negotiation information encoding of the sender data frame 3, the negotiation information decoding of the receiver data frame 1, and the key cache of the receiver data frame 2. Through such a pipeline parallel design, a data frame task consisting of different single subtasks can be run, avoiding the data rate loss caused by the state control of each computing module of the computing task unit 50, and improving the data processing efficiency of the post-processing of quantum key distribution.

[0053] Optionally, in some embodiments, the interaction control unit 40 performs data interaction with an off-chip device via a physical layer transmission device 90 .

[0054] Embodiment 2

[0055] Please refer to the attached Figure 5 , Figure 5 1 is a flow chart of a post-processing method for quantum key distribution according to an embodiment of the present invention. The method uses the system on chip described in Embodiment 1, and its specific implementation process is as follows:

[0056] The idle processor core in the central processor 10 sends a start request to the interaction control unit 40, queries the buffer data type, starts the corresponding processing program, and configures the storage control unit 20 to read the buffer data into the storage space;

[0057] The CPU 10 sequentially addresses the corresponding program instruction space, sends a calculation request to the storage control unit 20 and the computing task unit 50, configures the computing module of the computing task unit 50 to be used, and instructs the storage control unit 20 to exchange data with the corresponding computing module of the computing task unit 50 until the program ends. Then the calculation result data is obtained and written into the storage control unit 20;

[0058] The CPU 10 sends a write-back request to the storage control unit 20 and the interaction control unit 40. The storage control unit 20 writes the calculation result data into the buffer of the interaction control unit 40. The CPU 10 configures the interaction control unit 40 according to the data type of the calculation structure data to complete different types of data transmission, including data interaction within the system on chip 1000 and data interaction between the system on chip 1000 and external devices. For example, transmission between communication parties or transmission to a host computer, etc.

[0059] The CPU 10 returns to the idle state.

[0060] In summary, the present invention proposes a universal architecture and implementation method for post-processing of quantum key distribution, builds a processor based on RISC-V, and integrates various modules in the post-processing task through a system-on-chip, thereby improving the integration, maintainability, programmability and portability of the quantum key distribution system and reducing system power consumption and development costs.

[0061] Finally, it should be noted that the above specific implementation methods 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, which should be included in the scope of the claims of the present invention.

Claims

1. A quantum key distribution post-processing system-on-chip based on RISC-V processor, It is characterized in that The system includes: A central processing unit, comprising at least one processor core, wherein the processor core is based on a RISC-V architecture; Bus, including instruction bus and data bus; A storage control unit, used for controlling the data flow on the data bus; An interaction control unit, used for executing data interaction between the system on chip and an off-chip device, and also for executing data interaction within the system on chip; A computing task unit, comprising a plurality of computing modules, each of which is used to execute a single subtask; the computing task unit is driven by the data stream and is used to execute different single subtasks in parallel in the same time slot; Wherein, the instruction bus and the data bus are separated from each other; The command bus uses the central processing unit as the only master device and is used to transmit the command request of the central processing unit; The data bus uses the storage control unit as the only master device and is used to transmit the instruction request of the storage control unit and the data stream.

2. The system on chip according to claim 1, It is characterized in that The at least one processor core includes: an instruction memory, a program counter, a register file, an arithmetic logic unit and a configurable RAM; The instruction memory is used to store instruction requests and provide the instruction requests according to instruction addresses; The arithmetic logic unit is used to perform arithmetic, logic, comparison and shift operations in the instruction request; The program counter is used to store the instruction address of the current instruction request and to self-increment the instruction address; The register file includes a number of general registers for temporarily storing data, functions, program parameters and status information; The configurable RAM is used to temporarily store data and extended instruction requests.

3. The system on chip according to claim 1, It is characterized in that The instruction request includes a slave device configuration instruction, a bus status check instruction, a conditional branch jump instruction, and a memory access control instruction.

4. The system on chip according to claim 1, It is characterized in that The system on chip also includes a communication serial port for transmitting communication signals between the system on chip and the off-chip device, wherein the off-chip device includes a host computer.

5. The system on chip according to claim 1, It is characterized in that The central processing unit sequentially reads instructions, decodes instructions, sends requests, calculates addresses, and accesses memory in a pipeline mode, wherein the requests include a start request, a calculation request, and a write-back request.

6. The system on chip according to claim 3, It is characterized in that The storage control unit is used to receive the memory access control instruction, and parse the source address, destination address and transmission length of the data in the memory access control instruction to control the data flow.

7. The system on chip according to claim 1, It is characterized in that The computing module of the computing task unit includes a negotiation information encoder, a negotiation information decoder, a key verification unit and a hash processing unit; The negotiation information encoder is used for negotiation information encoding; The negotiation information decoder is used for decoding negotiation information; The key verification unit is used for key caching and negotiation confirmation; the hash processing unit is used for confidentiality enhancement.

8. The system on chip according to claim 1, It is characterized in that The slave device of the instruction bus includes the computing task unit, the storage control unit and the interaction control unit; The slave device of the data bus includes the computing task unit and the interaction control unit; The data stream includes negotiation data, confidentiality-enhanced random number shared data, and calculation result data.

9. A quantum key distribution post-processing method based on a RISC-V processor, the method using the system on chip as claimed in claim 5, It is characterized in that The method comprises: The central processing unit sends a start request to the interactive control unit to obtain an instruction address; The central processing unit reads the instruction according to the instruction address, sends a calculation request to the storage control unit and the calculation task unit, obtains the calculation result data, and writes it into the storage control unit; The central processing unit simultaneously sends a write-back request to the storage control unit and the interaction control unit, and the storage control unit transmits the calculation result data to the interaction control unit. The central processing unit configures the interaction control unit to perform data interaction according to the data type of the calculation result data in the interaction control unit, and the data interaction includes data interaction within the system on chip and data interaction between the system on chip and an external device.

Citation Information

Patent Citations

  • Parallel associative processor system

    CN1061482A

  • Post-quantum cryptographic algorithm processor and system on chip thereof

    CN117435251A