Quantum key charging method and system, electronic equipment and readable storage medium
Through the quantum key application and reception process between the SMS gateway and the quantum security service platform, the inefficiency and security risks caused by manual participation in the prior art are solved, and efficient and secure online quantum key charging is achieved.
Patent Information
- Application Number
- CN202411521870.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-29
- Publication Date
- 2025-02-18
Smart Images

Figure CN119483929A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of network security technology, and specifically relates to a quantum key injection method, system, electronic device and readable storage medium. Background Art
[0002] The quantum key provided by quantum communication technology plays an important role in ensuring information security due to its high security. The current mainstream quantum key filling method mainly relies on the offline operation mode. In this mode, the quantum key filling process is not fully automated, and manual intervention is required to complete the physical transfer of quantum keys from the quantum key management center to each terminal device. The specific process is, first, pre-generate quantum keys in a highly secure environment; second, store quantum keys on terminal security media with the help of secure channels, such as secure containers or special delivery; finally, distribute the terminal security media storing quantum keys to users for use.
[0003] However, this offline filling method is inefficient and faces high safety risks due to the manual operation. Summary of the invention
[0004] The embodiments of the present application provide a quantum key injection method, system, electronic device and readable storage medium, which can solve the problem that offline injection methods are inefficient and face high security risks due to manual participation in operations.
[0005] In a first aspect, an embodiment of the present application provides a quantum key filling method, the method comprising: sending a quantum key application SMS to a quantum security service platform through an SMS gateway; receiving a quantum key sent by the quantum security service platform through the SMS gateway; wherein the quantum key is generated by the quantum security service platform based on the quantum key application SMS; and storing the quantum key in a preset storage unit.
[0006] Second aspect: The embodiment of the present application provides a quantum key filling method, the method comprising: receiving a quantum key application SMS sent by a terminal device through an SMS gateway; generating a quantum key based on the quantum key application SMS; and sending the quantum key to the terminal device through the SMS gateway.
[0007] In a third aspect, an embodiment of the present application provides a quantum key filling system, which includes: a terminal device, a quantum security service platform and a text message gateway; wherein the terminal device sends a quantum key application text message to the quantum security service platform through the text message gateway; the quantum security service platform receives the quantum key application text message sent by the terminal device through the text message gateway, generates a quantum key based on the quantum key application text message, and sends the quantum key to the terminal device through the text message gateway; the terminal device receives the quantum key sent by the quantum security service platform through the text message gateway, and stores the quantum key in a preset storage unit.
[0008] In a fourth aspect, an embodiment of the present application provides an electronic device, comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect, or implements the steps of the method described in the second aspect.
[0009] In a fifth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented, or the steps of the method described in the second aspect are implemented.
[0010] In a sixth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instructions to implement the steps of the method described in the first aspect, or to implement the steps of the method described in the second aspect.
[0011] In the seventh aspect, an embodiment of the present application provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes a program or instructions, which, when executed, implement the steps of the method described in the first aspect, or implement the steps of the method described in the second aspect.
[0012] In an embodiment of the present application, a terminal device sends a quantum key application SMS to a quantum security service platform via an SMS gateway. After the quantum security service platform generates a quantum key based on the quantum key application SMS and sends it to the terminal device via an SMS gateway, the terminal device receives the quantum key sent by the quantum security service platform via the SMS gateway, and then stores the quantum key in a preset storage unit, thereby realizing efficient and secure online quantum key charging without human intervention. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1It is a flowchart of a quantum key injection method provided in an embodiment of the present application; Figure 2a This is a schematic diagram of the structure of a quantum key application SMS provided in an embodiment of the present application; Figure 2b This is a schematic diagram of the structure of a response data packet of a quantum key application SMS provided in an embodiment of the present application; Figure 3 It is a flowchart of a quantum key injection method provided in an embodiment of the present application; Figure 4a This is a schematic diagram of the structure of a quantum key feedback SMS provided in an embodiment of the present application; Figure 4b It is a structural diagram of an application command message of a feedback SMS provided in an embodiment of the present application; Figure 5 It is a schematic diagram of the structure of a quantum key injection system provided in an embodiment of the present application; Figure 6 It is a flowchart of another quantum key injection method provided in an embodiment of the present application; Figure 7 It is a structural diagram of a user service information module of a quantum security service platform provided in an embodiment of the present application; Figure 8 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0014] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0015] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0016] The following, in conjunction with the accompanying drawings, describes in detail the quantum key injection method, system, electronic device, and readable storage medium provided in the embodiments of the present application through specific embodiments and their application scenarios.
[0017] Figure 1 The flowchart of a quantum key injection method provided by an embodiment of the present application is shown. The method can be executed by an electronic device, and the electronic device can include a terminal device. Figure 1 , the method may include the following steps.
[0018] Step 102: Send a quantum key application SMS to the quantum security service platform through the SMS gateway.
[0019] Among them, the terminal equipment is equipped with a Subscriber Identity Module (SIM), that is, a SIM card, which can realize data transmission and support SMS services. The mobile terminal interacts with the SMS gateway and SIM card and is a "transit station" for data transmission between the SMS gateway and the SIM card.
[0020] Step 104: receiving the quantum key sent by the quantum security service platform through the SMS gateway; wherein the quantum key is generated by the quantum security service platform based on the quantum key application SMS.
[0021] Among them, the quantum security service platform distributes the quantum key to the SMS gateway through the quantum key distribution protocol, and the terminal device receives the quantum key through the SMS gateway.
[0022] Step 106, storing the quantum key in a preset storage unit.
[0023] In an embodiment of the present application, a terminal device sends a quantum key application SMS to a quantum security service platform via an SMS gateway. After the quantum security service platform generates a quantum key based on the quantum key application SMS and sends it to the terminal device via an SMS gateway, the terminal device receives the quantum key sent by the quantum security service platform via the SMS gateway, and then stores the quantum key in a preset storage unit, thereby realizing efficient and secure online quantum key charging without human intervention.
[0024] In one implementation, the quantum key application SMS includes the card information of the SIM card and the quantum key application information; before sending the quantum key application SMS to the quantum security service platform through the SMS gateway in the above step 102, the method also includes the following steps.
[0025] Step 1011, encrypt the card information of the SIM card and the quantum key application information.
[0026] Among them, the card information of the SIM card and the quantum key application information are encrypted to ensure the security of the card information of the SIM card and the quantum key application information during the information transmission process.
[0027] Step 1012: Pack the encrypted card information of the SIM card and the quantum key application information into the quantum key application SMS.
[0028] The structure of the quantum key application SMS is as follows: Figure 2a As shown in Figure 1, it includes an uplink SMS message header, a SMS security field, and a response data packet. The structure of the response data packet is as follows: Figure 2b As shown, the field definitions of various parameters of the application data of the response data packet are shown in Table 1.
[0029] Table 1.
[0030] In the embodiment of the present application, the quantum key application SMS sent by the terminal device to the quantum security service platform through the SMS gateway includes the card information of the SIM card and the quantum key application information, wherein the card information of the SIM card is used to determine the applicant of the quantum key, and the quantum key application information is used to describe the information required to generate the quantum key. Before the terminal device sends the quantum key application SMS to the quantum security service platform through the SMS gateway, the card information of the SIM card and the quantum key application information are encrypted and packaged into a quantum key application SMS, and the quantum key application SMS is reported to the SMS gateway, thereby ensuring the security of the card information of the SIM card and the quantum key application information during the SMS reporting process.
[0031] In one implementation, the above-mentioned step 104 receives the quantum key sent by the quantum security service platform through the SMS gateway, including the following steps.
[0032] Step 1041, receiving a feedback SMS message sent by the quantum security service platform through the SMS gateway; wherein the feedback SMS message is obtained by encrypting and packaging the generated quantum key by the quantum security service platform.
[0033] Among them, the quantum security service platform will also package the generated quantum key in the form of text messages and send it to the SMS gateway, which will then transmit it to the terminal device.
[0034] Step 1042: decrypt the feedback SMS to obtain the quantum key.
[0035] Optionally, the terminal device decrypts the feedback SMS using a decryption algorithm built into the SIM card.
[0036] In the embodiment of the present application, after the quantum security service platform generates the quantum key based on the quantum key application SMS, it encrypts the quantum key and packages it into a feedback SMS, and sends the feedback SMS to the terminal device through the SMS gateway. The terminal device receives the feedback SMS through the SMS gateway, thereby ensuring the transmission security of the quantum key. After receiving the feedback SMS, the terminal device decrypts the feedback SMS to obtain the quantum key, thereby realizing efficient and secure online quantum key charging through the reporting and sending of SMS.
[0037] In one implementation, the above-mentioned quantum key injection method may also include: receiving a preset quantum key sent by the quantum security service platform through the SMS gateway.
[0038] In an embodiment of the present application, the quantum security service platform can not only send quantum keys generated based on quantum key application SMS to terminal devices through SMS gateways, but also send preset quantum keys to terminal devices through SMS gateways. The preset quantum keys are preset in advance in the quantum security service platform and are quantum keys required by users when interacting with applications, such as quantum key application keys and quantum key session keys. The preset quantum keys do not require the quantum security service platform to generate in real time based on the quantum key application SMS received by the terminal device. When the terminal device needs to preset the quantum key, the terminal device directly obtains the preset quantum key from the quantum security service platform through the SMS gateway, thereby improving the efficiency of issuing quantum keys.
[0039] In one implementation, the quantum key includes at least one quantum key type. After the quantum key is stored in a preset storage unit in step 106, the method further includes the following steps.
[0040] Step 1081: According to the data information of the data to be transmitted, determine a target quantum key corresponding to the data information from the preset quantum key and the quantum key of the at least one quantum key type.
[0041] The data information of the data to be transmitted includes the application scenario of the data to be transmitted, so as to select a quantum key matching the application scenario to process the data to be transmitted.
[0042] Step 1082: encrypt, decrypt or authenticate the data to be transmitted according to the target quantum key.
[0043] In an embodiment of the present application, the terminal device receives through the SMS gateway both the quantum key generated based on the quantum key application SMS sent by the quantum security service platform and the preset quantum key sent by the quantum security service platform, thereby determining, for the data to be transmitted, the target quantum key corresponding to the data information from the preset quantum key and the quantum key of at least one quantum key type according to the data information, so that the data to be transmitted can be encrypted, decrypted or authenticated according to the appropriate target quantum key.
[0044] Figure 3 The figure shows a schematic diagram of a quantum key injection method provided by an embodiment of the present application, which is applied to a quantum security service platform. Figure 3 , the method may include the following steps.
[0045] Step 302: Receive the quantum key application SMS sent by the terminal device through the SMS gateway.
[0046] Among them, the SMS gateway receives the quantum key application SMS including the SIM card information and the quantum key application information reported by the terminal device, verifies the SIM card information and the quantum key application information in the quantum key application SMS, and sends the quantum key application SMS to the quantum security service platform after the verification is passed.
[0047] Step 304: Generate a quantum key based on the quantum key application SMS.
[0048] The quantum security service platform determines the applicant of the quantum key based on the card information of the SIM card in the quantum key application SMS, binds with the applicant and issues the generated quantum key. The quantum security service platform obtains the information required to generate the quantum key based on the quantum key application information in the quantum key application SMS, which is used to generate the quantum key.
[0049] Step 306: Send the quantum key to the terminal device through the SMS gateway.
[0050] In an embodiment of the present application, the quantum security service platform receives a quantum key application SMS message sent by a terminal device through an SMS gateway, generates a quantum key based on the quantum key application SMS message, and then sends the generated quantum key to the terminal device through the SMS gateway, so that the terminal device stores the received quantum key in a preset storage unit, thereby realizing efficient and secure online quantum key charging without human intervention.
[0051] In one implementation, the quantum key application SMS includes the card information of the SIM card of the terminal device and the quantum key application information; before the above-mentioned step 304 generates a quantum key based on the quantum key application SMS, the method also includes the following steps.
[0052] Step 3031: Based on the pre-recorded relevant information of the terminal device, the card information of the SIM card and the quantum key application information are verified.
[0053] Among them, the pre-entered relevant information of the terminal device can be manually entered, and the relevant information includes user information and terminal device information, such as personal information represented by the user's name and ID card, mobile phone number operator information, department and role information, International Mobile Equipment Identity (IMEI) mobile terminal information, International Mobile Subscriber Identification (IMSI) and SIM card identity information represented by Integrated Circuit Card Identity (ICCID) and other information.
[0054] Step 3032: if the information verification is passed, establish a binding relationship with the SIM card according to the card information of the SIM card.
[0055] In the embodiment of the present application, before the quantum security service platform generates the quantum key based on the quantum key application SMS, the quantum security service platform verifies the card information of the SIM card of the received terminal device and the quantum key application information according to the pre-recorded relevant information of the terminal device, that is, the pre-recorded relevant information of the terminal device is compared and verified with the information in the received quantum key application SMS to confirm the identity of the requester of the quantum key and the authenticity and integrity of the quantum key application information, thereby ensuring the security of quantum key charging. If the information verification passes, the quantum security service platform establishes a binding relationship with the SIM card of the terminal device according to the card information of the received SIM card, thereby determining the requester of the quantum key issuance and ensuring the accuracy of the quantum key issuance.
[0056] In one implementation, the quantum key application SMS includes quantum key application information. The above step 304 generates a quantum key based on the quantum key application SMS, including: generating a quantum key of at least one quantum key type according to the quantum key application information.
[0057] In an embodiment of the present application, the quantum security service platform generates a quantum key of at least one quantum key type required by the terminal device based on the quantum key application information, for example, a quantum key user key associated with personal information represented by the user's name, ID card, and mobile phone number, or a quantum key device key associated with terminal device information such as IMEI, IMSI, and ICCID.
[0058] In one implementation, the above-mentioned step 306 of sending the quantum key to the terminal device through the SMS gateway includes the following steps.
[0059] Step 3061, encrypt the quantum key and package it into a feedback SMS.
[0060] Among them, the structure of the quantum key feedback message is as follows Figure 4a As shown in FIG. 1 , it includes a downlink SMS message header, an application command security field, and an application command message. The structure of the application command message is as follows: Figure 4b As shown, the field definitions of various parameters of the application data of the application command message are shown in Table 2.
[0061] Table 2.
[0062] Step 3062: Send the feedback SMS to the terminal device through the SMS gateway.
[0063] In an embodiment of the present application, the quantum security service platform receives a quantum key application SMS message sent by a terminal device through an SMS gateway, generates a quantum key based on the quantum key application SMS message, encrypts the generated quantum key and packages it into a feedback SMS message, and then sends the feedback SMS message to the terminal device through the SMS gateway, thereby ensuring the security of sending the feedback SMS message including the quantum key.
[0064] In one implementation, the above-mentioned quantum key injection method may also include: sending a preset quantum key to the terminal device through the SMS gateway.
[0065] In an embodiment of the present application, the quantum security service platform can not only send quantum keys generated based on quantum key application SMS to terminal devices through SMS gateways, but also send preset quantum keys to terminal devices through SMS gateways. The preset quantum keys are preset in advance in the quantum security service platform and are the quantum keys required by users when interacting with applications, such as quantum key application keys and quantum key session keys. When the terminal device needs to preset quantum keys, the quantum security service platform sends the preset quantum keys to the terminal device through SMS gateways. The preset quantum keys do not require the quantum security service platform to generate in real time according to the quantum key application SMS received from the terminal device, thereby improving the efficiency of quantum key issuance.
[0066] Figure 5 A schematic diagram of the structure of a quantum key injection system provided in an embodiment of the present application is shown. Figure 5 The system 500 includes: a terminal device 51, a quantum security service platform 52 and a short message gateway 53. The terminal device is equipped with a SIM card, which is a smart card that supports the ISO / IEC7816-4 specification and the 3GPPTS31.111 specification. Specifically, it supports the Application Protocol Data Unit (APDU) instruction and the connection-oriented Bearer Independent Protocol (BIP).
[0067] Among them, the terminal device 51 sends a quantum key application SMS to the quantum security service platform 52 through the SMS gateway 53; the quantum security service platform 52 receives the quantum key application SMS sent by the terminal device 51 through the SMS gateway 53, generates a quantum key based on the quantum key application SMS, and sends the quantum key to the terminal device 51 through the SMS gateway 53; the terminal device 51 receives the quantum key sent by the quantum security service platform 52 through the SMS gateway 53, and stores the quantum key in a preset storage unit.
[0068] In one implementation, the quantum key application SMS includes SIM card information and quantum key application information; the terminal device 51 encrypts the SIM card information and the quantum key application information, and packages the encrypted SIM card information and the quantum key application information into the quantum key application SMS.
[0069] In one implementation, the terminal device 51 receives a feedback SMS message sent by the quantum security service platform 52 through the SMS gateway 53; wherein the feedback SMS message is obtained by encrypting and packaging the generated quantum key by the quantum security service platform; and the feedback SMS message is decrypted to obtain the quantum key.
[0070] In one implementation, the terminal device 51 receives the preset quantum key sent by the quantum security service platform 52 through the SMS gateway 53.
[0071] In one implementation, the quantum key includes at least one quantum key type. The terminal device 51 determines a target quantum key corresponding to the data information from the preset quantum key and the quantum key of the at least one quantum key type according to the data information of the data to be transmitted, and encrypts, decrypts or authenticates the data to be transmitted according to the target quantum key.
[0072] In one implementation, the quantum key application SMS includes the card information of the SIM card of the terminal device and the quantum key application information. The quantum security service platform 52 verifies the card information of the SIM card and the quantum key application information based on the pre-recorded relevant information of the terminal device 51, and establishes a binding relationship with the SIM card according to the card information of the SIM card if the information verification passes.
[0073] In one implementation, the quantum key application SMS includes quantum key application information. The quantum security service platform 52 generates a quantum key of at least one quantum key type according to the quantum key application information.
[0074] In one implementation, the quantum security service platform 52 encrypts the quantum key and packages it into a feedback SMS, and sends the feedback SMS to the terminal device 51 through the SMS gateway 53.
[0075] In one implementation, the quantum security service platform 52 sends a preset quantum key to the terminal device 51 via the SMS gateway 53 .
[0076] Figure 6 A schematic diagram of another quantum key injection method provided in an embodiment of the present application is shown, which can be applied to Figure 5 The quantum key injection system shown in Figure 6 , the method comprises the following steps.
[0077] Step 601: The terminal device triggers a quantum key application, and the SIM card application reports the card information and quantum key application information to the SMS gateway.
[0078] When the terminal device needs to obtain a new quantum key, it will actively initiate a quantum key application request. The mobile terminal will trigger the SIM card application. The SIM card application obtains the card information, encrypts the card information and quantum key application information, and packages them into a secure data packet and reports them to the SMS gateway.
[0079] Step 602: The SMS gateway receives the report SMS and uploads the report SMS to the quantum security service platform.
[0080] Among them, the SMS gateway receives the quantum key application information and SIM card information reported by the terminal device, verifies the information, and sends the quantum key application information and SIM card information to the quantum security service platform after confirmation. Through the verification and forwarding operations of the SMS gateway, the quantum key application information can be safely and reliably uploaded to the quantum security service platform, providing necessary support for the subsequent quantum key generation and distribution process.
[0081] Step 603: The quantum security service platform performs information verification, establishes a binding relationship, and completes the generation of a quantum key.
[0082] Among them, the quantum security service platform receives the report SMS uploaded by the SMS gateway, and will compare and verify the pre-entered information with the received quantum key application information and the card information of the SIM card, and verify the information in the report SMS to ensure the authenticity and integrity of the information. After the verification is completed, the quantum security service platform will establish a binding relationship based on the SIM card identification information and the mobile phone number. This process can be done as follows Figure 7 The relevant units of the user business information module of the quantum security service platform shown are implemented.
[0083] After the binding relationship is established, the quantum security service platform generates the quantum key type and quantum key required by the user based on the application information, such as the quantum key user key associated with the personal information represented by the user's name, ID card, and mobile phone number; or the quantum key device key associated with terminal device information such as IMEI, IMSI, and ICCID.
[0084] Step 604: The quantum security service platform sends a feedback SMS message of the quantum key to the terminal device of the SIM card with which a binding relationship has been established via the SMS gateway.
[0085] Among them, after the quantum security service platform generates the quantum key, it will encrypt the generated quantum key, such as the quantum key user key and the quantum key device key, and send it to the terminal device of the SIM card that has established a binding relationship through the SMS gateway in the form of SMS. And the quantum key application key and quantum key session key that the user needs when using the application interaction are also sent to the terminal device of the SIM card that has established a binding relationship through the SMS gateway.
[0086] Step 605: The SIM card of the terminal device parses the received feedback SMS to obtain the quantum key and writes it into storage.
[0087] After the terminal device receives the feedback SMS, it can use the decryption algorithm built into the SIM card to decrypt the feedback SMS, so as to obtain and store the quantum key.
[0088] In an embodiment of the present application, the terminal device reports quantum key application information to the quantum security service platform in the form of a text message via the SMS gateway. The quantum security service platform generates a quantum key based on the quantum key application information in the form of a text message via the SMS gateway. The terminal device stores the received quantum key, thereby realizing efficient and secure online quantum key charging without human intervention.
[0089] The embodiment of the present application also provides an electronic device, which is used to execute the above-mentioned quantum key injection method. Figure 8 A schematic diagram of the structure of an electronic device for implementing each embodiment of the present application. The electronic device may have relatively large differences due to different configurations or performances, and may include a processor (processor) 801, a communication interface (CommunicationsInterface) 802, a memory (memory) 803 and a communication bus 804, wherein the processor 801, the communication interface 802, and the memory 803 communicate with each other through the communication bus 804. The processor 801 can call a computer program stored in the memory 803 and can be run on the processor 801 to execute the various steps of the above-mentioned quantum key injection method embodiment, and can achieve the same technical effect, so it will not be repeated here to avoid repetition.
[0090] It should be noted that the electronic devices in the embodiments of the present application include: servers, terminals, or other devices except terminals.
[0091] The above electronic device structure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. For example, the input unit may include a graphics processing unit (GPU) and a microphone, and the display unit may be configured with a display panel in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit includes a touch panel and at least one of other input devices. The touch panel is also called a touch screen. Other input devices may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0092] The memory can be used to store software programs and various data. The memory may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory may include a volatile memory or a non-volatile memory, or the memory may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct memory bus random access memory (DRRAM).
[0093] The processor may include one or more processing units; optionally, the processor integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to the operating system, user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor.
[0094] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned quantum key injection method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0095] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0096] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned quantum key injection method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0097] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0098] An embodiment of the present application also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes a program or instructions. When the program or instructions are executed, the various processes of the above-mentioned quantum key injection method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not repeated here.
[0099] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0100] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0101] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A quantum key injection method, characterized in that: include: Send a quantum key application SMS to the quantum security service platform through the SMS gateway; Receiving, through the SMS gateway, a quantum key sent by the quantum security service platform; wherein the quantum key is generated by the quantum security service platform based on the quantum key application SMS; The quantum key is stored in a preset storage unit.
2. The method according to claim 1, characterized in that: The quantum key application SMS includes SIM card information and quantum key application information; Before sending a quantum key application SMS to the quantum security service platform through the SMS gateway, the method further includes: Encrypting the card information of the SIM card and the quantum key application information; The encrypted card information of the SIM card and the quantum key application information are packaged into the quantum key application SMS.
3. The method according to claim 1, characterized in that: The receiving, through the SMS gateway, a quantum key sent by the quantum security service platform comprises: Receiving a feedback SMS sent by the quantum security service platform through the SMS gateway; wherein the feedback SMS is obtained by encrypting and packaging the generated quantum key by the quantum security service platform; The feedback SMS is decrypted to obtain the quantum key.
4. The method according to claim 1, characterized in that The method further comprises: The preset quantum key sent by the quantum security service platform is received through the SMS gateway.
5. The method according to claim 4, characterized in that The quantum key comprises at least one quantum key type; After storing the quantum key in a preset storage unit, the method further includes: According to the data information of the data to be transmitted, determining a target quantum key corresponding to the data information from the preset quantum key and the quantum key of the at least one quantum key type; The data to be transmitted is encrypted, decrypted or authenticated according to the target quantum key.
6. A quantum key injection method, characterized in that: include: Receive the quantum key application SMS sent by the terminal device through the SMS gateway; Generate a quantum key based on the quantum key application SMS; The quantum key is sent to the terminal device through the SMS gateway.
7. The method according to claim 6, characterized in that The quantum key application SMS includes card information of the SIM card of the terminal device and quantum key application information; before generating a quantum key based on the quantum key application SMS, the method further includes: Based on the pre-recorded relevant information of the terminal device, verify the card information of the SIM card and the quantum key application information; When the information verification is passed, a binding relationship is established with the SIM card according to the card information of the SIM card.
8. The method according to claim 6, characterized in that The quantum key application SMS includes quantum key application information; and the generating of a quantum key based on the quantum key application SMS includes: Generate a quantum key of at least one quantum key type according to the quantum key application information.
9. The method according to claim 6, characterized in that The sending the quantum key to the terminal device through the SMS gateway includes: Encrypting the quantum key and packaging it into a feedback text message; The feedback SMS is sent to the terminal device through the SMS gateway.
10. The method according to claim 6, characterized in that The method further comprises: The preset quantum key is sent to the terminal device through the SMS gateway.
11. A quantum key injection system, characterized in that: The quantum key filling system includes: terminal equipment, quantum security service platform and SMS gateway; wherein, The terminal device sends a quantum key application SMS to the quantum security service platform through the SMS gateway; The quantum security service platform receives a quantum key application SMS message sent by the terminal device through the SMS gateway, generates a quantum key based on the quantum key application SMS message, and sends the quantum key to the terminal device through the SMS gateway; The terminal device receives the quantum key sent by the quantum security service platform through the SMS gateway, and stores the quantum key in a preset storage unit.
12. An electronic device, characterized in that: The electronic device comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction implements the steps of the method according to any one of claims 1 to 10 when executed by the processor.
13. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 10 are implemented.
14. A computer program product, characterized in that The computer program product comprises a computer program stored on a non-transitory computer-readable storage medium, wherein the computer program comprises a program or instructions, and when the program or instructions are executed, the steps of the method according to any one of claims 1 to 10 are implemented.
Citation Information
Patent Citations
Method for realizing satellite communication quantum secret key distribution through short message channel
CN114363838A
Data transmission method and device and related product
CN118282637A
Quantum key charging system, method and device, storage medium and program product
CN118450381A
Mobile secret communications method based on quantum key distribution network
US20170214525A1