API action set protection system, execution module and operation execution method thereof

By using the quantum key protection mechanism to verify API interface calls in the secure execution module on the business system side, the system downtime problem caused by the API interface being vulnerable to intrusion is solved, and the system robustness and security is improved.

CN118900184AInactive Publication Date: 2024-11-05CAS QUANTUM NETWORK CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202311819140.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-26
Publication Date
2024-11-05
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing API interfaces are susceptible to intrusion, causing business systems to go down and paralyze, and lack effective action set protection methods.

Method used

Through the secure execution module deployed on the business system side, the quantum key protection mechanism is used to verify the calls to the API interface, limiting the operating range of users or applications, ensuring that only the authorized business system can execute a specific set of operations.

Benefits of technology

It effectively prevents system downtime and paralysis caused by wrong actions, improves the robustness and security of the system, and ensures the protection of the internal system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118900184A_ABST
    Figure CN118900184A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to the technical field of quantum communication, discloses a novel API action set protection system combined with quantum key protection, an execution module and an operation execution method thereof, serves as a security measure used in API design and development, and aims to limit access and use of an API. The action received by the current API is judged by inquiring the operation set which corresponds to the service system and is protected by the quantum key, whether the current process is continued or not is determined, the operation range and the operation process of the service system are limited, and it is ensured that only the authorized service system can execute the specific operation set. According to the method, the problem of system downtime and paralysis caused by wrong actions between the APIs is solved, the robustness of the system is improved, and an internal system is protected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of quantum communication technology, and in particular to an API action set protection system, an execution module and a method for executing operations thereof. Background Art

[0002] With the rapid progress and development of computer technology and application software technology, more and more companies have developed terminals based on application programming interfaces (APIs) to facilitate the adaptation of their own application systems to customer business systems and the development of internal systems, so as to quickly deliver business services. The company's own application system opens API interfaces to interact with the API interfaces of customer businesses. The interactive actions are called API action sets.

[0003] The rapid popularization of APIs is accompanied by certain problems. Intrusions against API interfaces are becoming more and more serious. Violent operations on internal systems from the outside can easily lead to downtime and paralysis of the entire business system. A complete set of API action set protection methods is still vacant. Summary of the invention

[0004] The purpose of the embodiment of the present invention is to provide an API action set protection system and a method for executing a target operation thereof, which involves a protection mechanism for an API action set, and determines whether to continue the current process by querying the quantum key protected operation set corresponding to the business system to determine the action received by the current API, and to limit the operation scope and operation process of the user or application, so as to ensure that only the authorized business system can execute a specific operation set. This invention solves the system downtime and paralysis caused by erroneous actions between API interfaces, increases the robustness of the system, and realizes the protection of the internal system.

[0005] To solve the above technical problems, an embodiment of the present invention provides a method for executing a target operation, which is applied to a first security execution module deployed on the business system side, and the method includes: receiving a call request for an API interface from a business system, wherein the call request indicates to execute a target operation; performing a first verification on the identity of the business system, and if the first verification passes, performing a second verification on the workflow of the target operation according to a workflow management mechanism; if the second verification passes, performing a third verification on the operation action of the workflow; if the third verification passes, obtaining access rights to the API interface; and executing the target operation if the API interface has access rights.

[0006] An embodiment of the present invention provides a protection method based on an API action set. After the API interface protected by the operation set receives a message indicating a successful comparison of an access token or a session handle transmitted from a business system, verification is performed according to a workflow management mechanism to determine whether all specified operation actions have been completed. After successful verification, the operation set is decrypted and accessed using a working key derived from a quantum key according to the business system corresponding to the access token or the session handle to check whether the operation set includes the API interface. If the operation set includes this API interface calling action, the business system has the authority to call the interface.

[0007] API operation set protection is not limited to access tokens or session handles, but can also be implemented in the following ways: (1) Access tokens or session handles. The API requires the business system to obtain a valid access token or session handle, which contains the identity information and permission information of the business system. The access token or session handle needs to be verified at each request to ensure that the business system has the right to perform specific operations. (2) Authentication and authorization mechanisms. The API can use different authentication and authorization mechanisms, such as OAuth 2.0, API keys, JWT (JSON Web Token), etc. Through these mechanisms, the API can verify the identity of the business system and check the permissions it has. (3) Role and permission management. The API can use a role and permission management system to assign users or applications to different roles and define corresponding permissions for each role. Through role and permission management, the API can limit the ability of the business system to perform a specific set of operations. (4) Authorization at the API endpoint level: The API can define different endpoints and set different access permissions for each endpoint. Business systems with corresponding permissions can access protected endpoints, while business systems without permissions will be denied access. By using API operation set protection, developers can consider security at the early stage of API design and limit the operation scope of different business systems, thereby improving the security and controllability of the API.

[0008] An embodiment of the present invention also provides a secure execution module (such as a first secure execution module), comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the above-mentioned method of executing the target operation.

[0009] An embodiment of the present invention also provides an API action set protection system, characterized in that it includes: a first security execution module in the above embodiment; a second security execution module, used to back up the quantum key in the first security execution module; and a fusion security management platform, used to centrally manage and control the first security execution module and the second security execution module.

[0010] An embodiment of the present invention further provides a computer-readable storage medium storing a computer program, which implements the above-mentioned protection method based on an API action set when executed by a processor.

[0011] In the above manner, the action received by the current API is judged by querying the quantum key-protected operation set corresponding to the business system, and a decision is made whether to continue the current process, thereby limiting the operation scope and operation process of the business system, and ensuring that only authorized business systems can execute specific operation sets. This invention solves the problem of system downtime and paralysis caused by erroneous actions between API interfaces, increases the robustness of the system, and realizes the protection of internal systems. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0013] Figure 1 is a structural diagram of an API action set protection system according to another embodiment of the present invention;

[0014] Figure 2 is a flow chart of a method for performing an operation provided according to an embodiment of the present invention;

[0015] Figure 3 is a timing diagram of business system name and password authentication provided according to an embodiment of the present invention;

[0016] Figure 4 is a P12 certificate authentication timing diagram provided according to an embodiment of the present invention;

[0017] Figure 5 is a timing diagram of creating / updating / cancelling a symmetric key and calling a secure execution module according to an embodiment of the present invention;

[0018] Figure 6 is a timing diagram of the encryption and decryption initialization verification calling the security execution module according to an embodiment of the present invention;

[0019] Figure 7is a timing diagram of a single group of encryption and decryption verification calling a secure execution module according to an embodiment of the present invention;

[0020] Figure 8 is a timing diagram of calling a secure execution module after symmetric encryption and decryption is completed according to an embodiment of the present invention;

[0021] Fig. 9 is a flow chart of a normal quantum key output according to an embodiment of the present invention;

[0022] Fig.10 It is a schematic diagram of the structure of a security execution module according to another embodiment of the present invention. DETAILED DESCRIPTION

[0023] To make the purpose, technical scheme and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. However, it will be appreciated by those skilled in the art that in the embodiments of the present invention, many technical details are proposed in order to enable the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical scheme claimed in the present application can be implemented. The division of the following embodiments is for the convenience of description, and should not constitute any limitation on the specific implementation of the present invention. The various embodiments can be combined and referenced with each other without contradiction.

[0024] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0025] At least one embodiment of the present application provides an API action set protection method system, such as Figure 1 As shown, the system includes:

[0026] The security execution module (SEM for short) includes a first security execution module SEM1 and a second security execution module SEM2. The first security execution module is used to execute the method for executing the target operation developed by the present invention (also called the API action set protection method); the second security execution module is used to back up the quantum key in the first security execution module.

[0027] Here, the security execution module (SEM) is a cryptographic computing device for data encryption / decryption, which has the capabilities of key generation / storage, digital signature / verification, identity authentication, data encryption / decryption, quantum random numbers, and key management. The quantum key distribution (QKD) network provides quantum key vectors to the SEM through the quantum key management machine (QKMT). The SEM external application interface supports JAVA and C language APIs to achieve mutual control of security services with applications / facilities (also known as business systems). At the same time, the SEM can also be deployed on the business system side to provide key services and key management (referred to as "key services / key management") to applications / facilities. The application / facility can refer to specific applications or facilities in the business system, such as cloud desktops, quantum virtual machines, distributed storage systems, and file encryption devices. The business system refers to the business links required for the enterprise to achieve its positioning, the roles played by each partner, and the ways and contents of cooperation and transactions among stakeholders, such as systems such as customer relationship management systems (CRM) and warehouse management systems (WMS).

[0028] The Harmonized Security Control Module (HSCM) is the central management platform of SEM. HSCM is connected to SEM to centrally manage and control SEM. Multiple HSCMs form a HSCM network. The first security execution module SEM1 and the second security execution module SEM2 pre-share the same quantum key through the QKD network and the Harmonized Security Control Module (HSCM). In addition, the HSCM can be divided into two parts according to its functions: the application management system and the key management system. The application management system provides the functions of managing users, devices, network management, network management, and billing; the key management system provides the function of managing quantum keys.

[0029] In the above operating environment, at least one embodiment of the present invention provides a method for executing operations (also referred to as a protection method based on an API action set), which can be applied to a first security execution module deployed on the business system side. The first security execution module negotiates with the second security execution module to share a quantum key through a quantum key distribution network under the control of the integrated security management platform, and encrypts and protects the business system operation set through a derived key of the quantum key. The business system can be constructed by computer devices such as mobile phones and computers. The protection method based on an API action set may include the following steps:

[0030] Receiving a call request from a business system to an API interface, wherein the call request indicates executing a target operation;

[0031] Perform a first verification on the identity of the business system, perform a second verification on the workflow of the target operation if the first verification passes, perform a third verification on the operation action of the workflow if the second verification passes, and obtain access rights to the API interface if the third verification passes;

[0032] If the API interface has access permissions, execute the target operation.

[0033] In the above manner, the action received by the current API is judged by querying the quantum key-protected operation set corresponding to the business system, and a decision is made whether to continue the current process, thereby limiting the operation scope and operation process of the business system, and ensuring that only authorized business systems can execute specific operation sets. This invention solves the problem of system downtime and paralysis caused by erroneous actions between API interfaces, increases the robustness of the system, and realizes the protection of internal systems.

[0034] In order to facilitate those skilled in the art to better understand the API action set protection method provided in the above embodiment, it will be described below. Figure 2 In the example shown, the process of this implementation is as follows:

[0035] Step S202, use the BB84 protocol to negotiate and distribute keys between the communicating parties. For example, the QKD devices on both sides are responsible for the preparation and observation of weak coherent light (close to single photons) in quantum states, the optical fiber channel is responsible for transmitting the prepared weak coherent light, and the classical channel is responsible for transmitting the basis vectors used in preparation. The observation end compares the basis vectors used in preparation with the basis vectors used in observation. While the comparison results are synchronized with the preparation end, the results of the same weak coherent light prepared / observed using consistent basis vectors on both sides are screened, and the consistency of quantum keys at both ends is achieved through negotiation. The information in the two channels is indispensable.

[0036] Step S204: After the key distribution is completed, the communicating parties use the distributed key to establish a key. This may involve using a key derivation function (KDF) to generate a longer key or a working key from the distributed key, and prepare to use this working key to protect the operation set of the business system;

[0037] Step S206: Define the allowed operation set according to the business system situation and encrypt it with the working key. This includes operation actions, communication protocols, encryption algorithms, decryption algorithms, signature algorithms, etc. Only the operations defined in the operation set are allowed to be executed, and other undefined operations will be prohibited.

[0038] Step S208: before executing the operation, generate and send a credential bound to the operation set and the business system to the business system. This credential includes but is not limited to an access token or session handle, a message encrypted by a work key derived from a quantum key, a digital signature or other forms.

[0039] The first security execution module and the second security execution module negotiate to share a quantum key vector through the BB84 protocol in the quantum key distribution network. In one example, the business system name and password authentication includes: obtaining a quantum key vector; deriving the quantum key vector into a first key, a second key, a third key and a fourth key using a key derivation function, performing a national secret encryption operation on the password using the first key to form a first data to be compared, performing a national secret encryption operation on the password using the second key to form a second data to be compared, performing a national secret encryption operation on the password using the third key to form a third data to be compared, and performing a national secret encryption operation on the password using the fourth key to form a fourth data to be compared. ; Compare and verify the first data to be compared with the first ciphertext, compare and verify the second data to be compared with the second ciphertext, compare and verify the third data to be compared with the third ciphertext, and compare and verify the fourth data to be compared with the fourth ciphertext, wherein the first ciphertext is formed by performing a national secret encryption operation on the password passed into the business system using the first key in advance, the second ciphertext is formed by performing a national secret encryption operation on the password passed into the business system using the second key in advance, the third ciphertext is formed by performing a national secret encryption operation on the password passed into the business system using the third key in advance, and the fourth ciphertext is formed by performing a national secret encryption operation on the password passed into the business system using the fourth key in advance.

[0040] In one example, the P12 certificate authentication includes: obtaining a quantum key vector; deriving the quantum key vector into a first public-private key pair, a second public-private key pair, a third public-private key pair, and a fourth public-private key pair using a key derivation function, performing a national secret decryption operation on an SM3 Hash value using a first public key in the first public-private key pair to form a fifth data to be compared, or performing a national secret decryption operation on an SM3 Hash value using a second public key in the second public-private key pair to form a sixth data to be compared, or performing a national secret decryption operation on an SM3 Hash value using a third public key in the third public-private key pair to form a seventh data to be compared, or performing a national secret decryption operation on an SM3 Hash value using a fourth public key in the fourth public-private key pair to form a seventh data to be compared. The hash value is decrypted by national secret operation to form the eighth data to be compared; the fifth data to be compared is compared and verified with the fifth text, the sixth data to be compared is compared and verified with the sixth text, the seventh data to be compared is compared and verified with the seventh text, and the eighth data to be compared is compared and verified with the eighth text, wherein the fifth text is the fifth business system name and the fifth timestamp passed in by the business system, the sixth text is the sixth business system name and the sixth timestamp passed in by the business system, the seventh text is the seventh business system name and the seventh timestamp passed in by the business system, and the eighth text is the eighth business system name and the eighth timestamp passed in by the business system.

[0041] In step S210, the security execution module (such as the first security execution module) receives a call request from the business system to the API interface and performs a first verification on the identity of the business system, wherein the call request indicates to execute a target operation. The first verification is to verify the incoming credentials.

[0042] In one example, the API interface includes a create / update / cancel symmetric key interface, a symmetric encryption / decryption initialization interface, a single group encryption / decryption interface, and a symmetric encryption / decryption termination interface, and the target operation includes create / update / cancel symmetric keys, encryption / decryption initialization, single group encryption / decryption, and symmetric encryption / decryption termination, and receiving a call request from a business system to the API interface includes: receiving a first call request from a business system to create / update / cancel a symmetric key interface, wherein the first call request carries a first access token or a first session handle for performing a create / update / cancel symmetric key operation, a first key ID, an algorithm identifier, a key validity period, and an update period; or, receiving a call from a business system A second call request for the symmetric encryption and decryption initialization interface, wherein the second call request carries a second access token or a second session handle for performing encryption and decryption initialization operations, a second key ID, an operation mode, and IV data; or, receiving a third call request from the business system for a single group of encryption and decryption interfaces, wherein the third call request carries a third access token or a third session handle for performing a single group of encryption and decryption operations, a third designated key handle, and plaintext / ciphertext information; or, receiving a fourth call request from the business system for the symmetric encryption and decryption termination interface, wherein the fourth call request carries a fourth access token or a fourth session handle for performing symmetric encryption and decryption operations, and a fourth designated key handle.

[0043] In one example, the first verification includes access token verification, session handle verification, identity verification and role verification, and is characterized in that the first verification of the identity of the business system includes: if the first verification is access token verification, comparing the first access token or the first session handle with the pre-stored first pre-stored information, wherein the first pre-stored information is the access token or session handle stored in the database after the business system name and password authentication or the P12 certificate authentication is passed; or, comparing the second access token or the second session handle with the pre-stored second pre-stored information, wherein the second pre-stored information is the access token or session handle stored in the database after the business system name and password authentication or the P12 certificate authentication is passed; or, comparing the third access token or the third session handle with the pre-stored third pre-stored information. The first authentication method comprises the following steps: comparing the first authentication method with the second authentication method, and verifying the data length of the plaintext / ciphertext information, wherein the third pre-stored information is an access token or session handle stored in the database after the business system name and password authentication or the P12 certificate authentication is passed; or, comparing the fourth access token or the fourth session handle with the pre-stored fourth pre-stored information, wherein the fourth pre-stored information is an access token or session handle stored in the database after the business system name and password authentication or the P12 certificate authentication is passed, to implement access token verification of the identity of the business system; or, if the first authentication is session handle verification, using the first session handle, or the second session handle, or the third session handle, or the fourth session handle to perform session handle verification on the identity of the business system; or, if the first authentication is identity authentication, using OAuth 2.0, or API key, or JWT verification to perform identity authentication on the identity of the business system; or, if the first authentication is role authentication, using the role and authority management system to assign roles to the business system, and performing role verification on the identity of the business system based on the roles.

[0044] Step S212, if the first verification passes, a second verification is performed on the workflow of the target operation. That is, after the first verification is successful, verification is required according to the workflow management mechanism to ensure that the specified operation actions have been completed. In one example, the second verification includes: if the target operation is a create / update / cancel symmetric key operation, verification is performed according to the first workflow management mechanism; or, if the target operation is a symmetric encryption and decryption initialization operation, verification is performed according to the second workflow management mechanism; or, if the target operation is a single group encryption and decryption operation, verification is performed according to the third workflow management mechanism; or, if the target operation is a symmetric encryption and decryption end operation, verification is performed according to the fourth workflow management mechanism.

[0045] Step S214, if the second verification is passed, the operation action of the workflow is subject to a third verification. That is, after the second verification is successful, the corresponding operation set is found according to the corresponding credentials, and access is performed after decryption using the working key, thereby verifying whether the communicating parties have the authority to perform the operation.

[0046] In one example, the creation / update / cancellation of a symmetric key workflow includes an operation action of calling a creation / update / cancellation of a symmetric key interface, the symmetric encryption and decryption initialization workflow includes an operation action of calling a symmetric encryption and decryption initialization interface, the single-group encryption and decryption workflow includes an operation action of calling a single-group encryption and decryption interface, and the symmetric encryption and decryption termination workflow includes an operation action of calling a symmetric encryption and decryption termination, and a third verification of the operation actions of the workflow includes: accessing a first operation set of a business system according to a first access token or a first session handle, checking whether the first operation set includes an operation action of calling a creation / update / cancellation of a symmetric key interface, and determining whether the business system has the authority to execute the operation action of calling a creation / update / cancellation of a symmetric key interface, wherein the first operation set is encrypted and stored, and the first operation set includes at least one operation action, at least one communication protocol, at least one encryption algorithm, at least one decryption algorithm, and at least one signature algorithm; or, accessing a first encrypted second operation set of a business system according to a second access token or a second session handle, checking whether the second operation set includes an operation action of calling a symmetric encryption and decryption initialization interface, and determining whether the business system has the authority to execute the operation action of calling a creation / update / cancellation of a symmetric key interface. Having the authority to execute the operation action of calling the symmetric encryption and decryption initialization interface, wherein the second operation set is encrypted and stored, and the second operation set includes at least one operation action, at least one communication protocol, at least one encryption algorithm, at least one decryption algorithm and at least one signature algorithm; or, accessing the third operation set of the business system according to the third access token or the third session handle, checking whether the third operation set includes the operation action of calling a single group of encryption and decryption interfaces, and judging whether the business system has the authority to execute the operation action of calling a single group of encryption and decryption interfaces, wherein the third operation set is encrypted and stored, and the third operation set includes at least one operation action, at least one communication protocol, at least one encryption algorithm, at least one decryption algorithm and at least one signature algorithm; or, accessing the fourth operation set of the business system according to the fourth access token or the fourth session handle, checking whether the fourth operation set includes the operation action of calling the end of symmetric encryption and decryption, and judging whether the business system has the authority to execute the operation action of calling the end of symmetric encryption and decryption, wherein the fourth operation set is encrypted and stored, and the fourth operation set includes at least one operation action, at least one communication protocol, at least one encryption algorithm, at least one decryption algorithm and at least one signature algorithm.

[0047] In one example, encrypting and storing the first operation set, the second operation set, the third operation set, and the fourth operation set includes: obtaining a quantum key vector, and deriving the quantum key vector into a first working key, a second working key, a third working key, and a fourth working key using a key derivation function; encrypting and storing the first operation set using the first working key, encrypting and storing the second operation set using the second working key, encrypting and storing the third operation set using the third working key, and encrypting and storing the fourth operation set using the fourth working key, wherein the first working key, the second working key, the third working key, and the fourth working key are backed up to the second secure execution module through a quantum key distribution network via a BB84 protocol negotiation.

[0048] Step S216, if the third verification is passed, obtain the access rights of the API interface, and if the API interface has the access rights, perform the target operation. That is, after passing the above verification, perform the allowed operation. This may include data encryption, decryption, initialization, etc.

[0049] Step S218: monitor the security and compliance of the communication process, which may involve encrypting communication data, preventing unauthorized operations, detecting security vulnerabilities, etc.

[0050] After defining the operation set, the present invention performs a first verification on the credentials sent by the business system that initiated the call request by receiving the call request for the API interface from the business system, performs a second verification according to the workflow management mechanism if the first verification passes, performs a third verification on the API operation if the second verification passes, and obtains the access rights of the API interface if the third verification passes, wherein the first verification may be an access token or session handle verification / identity authentication / role verification, etc., the second verification is a workflow management verification, the third verification is an API operation permission verification, and the third verification determines whether it has the authority to perform this operation by consulting the operation set protected by the quantum key. The implementation details of the API action set protection method based on this embodiment are specifically described below. The following content is only the implementation details provided for the convenience of understanding and is not necessary for the implementation of this solution.

[0051] In step S210, a call request for an API interface from a business system is received. In this example, the API interface can have various types, including but not limited to: create / update / cancel symmetric key interface, symmetric encryption and decryption initialization interface, single group encryption and decryption interface, symmetric encryption and decryption end interface, etc. Calling different interfaces is naturally to execute the operations corresponding to each interface, and the data carried in the initiated request will also be different due to different execution purposes, but the difference in these data is not the focus of discussion in this application. This application mainly focuses on the protection strategy on the API action set process. As for the specific method of how to call each interface, these interfaces will be called in turn in the specific embodiment later to give examples.

[0052] In order to more clearly show the specific implementation details of the present application, the following will give examples in turn of the present application in generating and sending credentials (access token or session handle) (S208), verifying credentials (access token or session handle) (S210), verifying according to the workflow management mechanism (S212), and calling one or more performances of creating / updating / cancelling symmetric key interfaces, symmetric encryption and decryption initialization interfaces, single group encryption and decryption interfaces, and symmetric encryption and decryption termination interfaces through credentials (access token or session handle) (S214) and performing operations (S216).

[0053] First, generate and send credentials (access token or session handle).

[0054] (A) Calling the fifth login interface. In one example, when the business system calls the login system, if the business system name and password are used for authorization authentication, the fifth login interface can be called, and the first security execution module can receive the fifth call request of the business system to the fifth login interface, and the fifth call request carries the fifth business system name and the fifth password authenticated by the business system name and password; the fifth call request of the business system to the fifth login interface can be received using a uniform resource locator (URL). The first security execution module and the second security execution module negotiate and share a quantum key vector through the BB84 protocol in the quantum key distribution network. After the first security execution module obtains the quantum key vector, it uses the key derivation function to derive the quantum key vector into a fifth key, uses the fifth key to perform a national secret encryption operation on the fifth password to form the fifth data to be compared, and compares and verifies the fifth data to be compared with the fifth ciphertext, wherein the fifth ciphertext is formed by performing a national secret encryption operation on the fifth password passed by the business system using the fifth key.

[0055] Optional, such as Figure 3As shown, before using the quantum key derived working key to perform a national secret operation on the fifth password, create a fifth business system name and a fifth password on the first security execution module, and associate them with the corresponding business system name after performing a national secret operation in the first security execution module to form pre-stored data stored in the database of the first security execution module. The UKEY containing the business system name and password file can be transferred offline to form the fifth pre-stored data of the first security module. In this example, the fifth business system name and the fifth password are both parameters of the String type. In one example, the fifth pre-stored data of the first security module that has been previously saved and has undergone a national secret operation is searched according to the fifth business system name that is passed in, and the fifth password ciphertext formed after the fifth password that is passed in and undergoes a national secret operation is compared bit by bit with the fifth password, so as to realize the authentication of the business system name and password. If the comparison result is a mismatch, it is considered that the business system name or password is entered incorrectly. Multiple errors in a short period of time are considered to be detected as an intrusion, triggering an abnormal process, returning authentication failure information to the user application and immediately ending the entire authentication process; if the comparison result is a match, a String type access token or session handle parameter can be generated to continue the normal process, and the first business system name, access token or session handle parameter and timestamp can be saved. Among them, the length of the access token or session handle parameter can be between 152-384 bytes, and is not a fixed value.

[0056] (B) Calling the sixth login interface. In one example, when the business system calls the login system, if PKI (full name Public Key Infrastructure, translated into Chinese as public key infrastructure) is used for P12 certificate authentication, the sixth login interface can be called, and the first security execution module receives the sixth call request of the business system for the sixth login interface, wherein the sixth call request carries the name and timestamp of the sixth business system for performing the PKI authentication operation; obtains the quantum key vector, and uses the quantum key vector to derive the sixth public-private key pair, the sixth public-private key pair including the sixth public key and the sixth private key; uses the sixth public key in the sixth public-private key pair to perform a national secret decryption operation on the SM3 Hash value to form the sixth data to be compared; compares and verifies the sixth data to be compared with the sixth text, wherein the sixth text is the name and the sixth timestamp of the sixth business system passed in by the business system.

[0057] Optional, such as Figure 4As shown, the security execution module uses the working key derived from the high entropy quantum key to create the sixth public-private key pair for authentication and authorization, and can also generate a P12 certificate and store it in the database, and transfer the UKEY containing the sixth business system name and the P12 certificate to the user side offline. The business system calls the sixth login interface of the first security execution module, searches for the previously stored Hash value in the application according to the business system name, and signs it with the private key in the P12 certificate. It can be understood that the SM3 operation and digital signature can also be handed over to the first security execution module for execution. In this example, after the salesperson completes the digital signature, the digital signature (the Hash value after the private key signature), the Hash value generated by the SM3 operation, and the business system name of the String type are passed into the first security execution module, and the public key stored in the password card of the first security execution module is used to decrypt the digital signature, and the Hash value generated by the SM3 operation is compared bit by bit with the Hash value generated by the incoming SM3 operation to achieve the authentication and authorization of the input parameter. If the comparison results are inconsistent, it is considered that the business system name, SM3 Hash value or digital signature entered is incorrect. Multiple errors in a short period of time are considered to be detected as an intrusion, triggering the abnormal process, returning the authentication failure information to the application end and immediately ending the overall authentication process; if the comparison results are consistent, the business system is allowed to perform the first operation, and a String type access token or session handle parameter can be generated and returned to the business system. The first security execution module can also save and associate the sixth business system name, access token or session handle parameter and sixth timestamp.

[0058] Second, verify the credentials (access token or session handle), verify the target workflow, and call the API interface through the credentials (access token or session handle) to perform operations.

[0059] (A) Calling the create / update / cancel symmetric key interface. In one example, in the process of creating / updating / cancelling a symmetric key, the business system calls the create / update / cancel symmetric key interface. The first security module can receive the first call request of the business system for the create / update / cancel symmetric key interface through the URL. The first call request can carry the first access token or session handle for executing the create / update / cancel operation, the first key ID, the algorithm identifier, the key validity period, the update cycle information, and the information for executing the create / update / cancel operation. The first security execution module verifies the first access token or session handle according to the information stored in the database, and then verifies it according to the first workflow management mechanism. The first operation set corresponding to the first access token or session handle in the database of the security execution module is decrypted using the working key derived from the quantum key. After decryption, it is queried in the first operation set whether the action of calling the create / update / cancel symmetric key interface is included, so as to determine whether the business system has the authority to access this interface. If there is no authority, the request fails to be sent and the process is terminated; if there is authority, the operation is executed to continue the normal process. Figure 5 As shown, after the first security module receives the first access token or session handle and the first key ID, it directly verifies the first access token or session handle. After this verification, it still needs to be verified according to the first workflow management mechanism to determine whether the specified operation action has been completed. After the verification is successful, the authority to call the create / update / cancel symmetric key interface is determined through the decrypted operation set (S214), and then confirm whether to execute the operation (S216).

[0060] (B) Calling the symmetric encryption and decryption initialization interface. In one example, during the symmetric encryption and decryption initialization process, the business system calls the symmetric encryption and decryption initialization interface, and the first security module can receive the second call request of the business system for the symmetric encryption and decryption initialization interface through the URL, wherein the second call request carries parameters such as the second access token or session handle for performing symmetric encryption and decryption operations, the second key ID, IV data, and operation mode. The first security execution module verifies the second access token or session handle according to the information stored in the database, and then verifies it according to the second workflow management mechanism. The second operation set corresponding to the second access token or session handle in the database of the security execution module is decrypted using the working key derived from the quantum key. After decryption, it is queried in the second operation set whether the action of calling the symmetric encryption and decryption initialization interface is included, thereby determining whether the business system has the authority to access this interface. If there is no authority, the request fails to be sent and the process is terminated; if there is authority, the operation is executed to continue the normal process. Figure 6 shown.

[0061] In one example, after the second access token or session handle is verified, it is necessary to determine whether the corresponding second designated key handle is empty. If the seventh designated key handle is not empty, subsequent operations are prohibited. After this verification, it is still necessary to verify according to the second workflow management mechanism to determine whether the specified operation has been completed. After the verification is completed, the authority to call the symmetric encryption and decryption initialization interface is determined through the decrypted operation set (S214), and then confirm whether to execute the operation (S216).

[0062] (C) Calling a single group encryption and decryption interface. In one example, during the process of single group encryption and decryption, the business system calls the single group encryption and decryption interface, and the first security module can receive the third call request of the business system for the single group encryption and decryption interface through a URL or other means, wherein the third call request carries a third access token or session handle for executing a single group encryption and decryption operation, a third designated key handle, and plaintext / ciphertext. The first security execution module verifies the third access token or session handle according to the information stored in the database, and then verifies it according to the third workflow management mechanism, and uses the working key derived from the quantum key to decrypt the third operation set corresponding to the third access token or session handle in the database of the security execution module. After decryption, it queries whether the third operation set includes the action of calling the single group encryption and decryption interface, thereby determining whether the business system has the authority to access this interface. If there is no authority, the request fails to be sent and the process is terminated; if there is authority, the operation is executed to continue the normal process.

[0063] In an example, Figure 7 As shown, after the third access token or session handle is verified, the plaintext / ciphertext input length will be checked. If the input length check fails, it is also considered a check failure, and subsequent operations are prohibited. After this check, it is still necessary to check according to the third workflow management mechanism to determine whether the specified operation has been completed. After the check is completed, the authority to call the symmetric encryption and decryption initialization interface is determined through the decrypted operation set (S214), and then confirm whether to execute the operation (S216).

[0064] (D) Calling the symmetric encryption and decryption end interface. In one example, during the symmetric encryption and decryption end process, Figure 8As shown, the business system calls the symmetric encryption and decryption end interface, and the first security module can receive the fourth call request of the business system for the symmetric encryption and decryption end interface through the URL, wherein the fourth call request carries the fourth session token and the fourth specified key handle for performing the symmetric encryption and decryption end operation, and the first security execution module verifies the fourth access token or session handle according to the information stored in the database, and then verifies it according to the third workflow management mechanism, and uses the working key derived from the quantum key to decrypt the fourth operation set corresponding to the fourth access token or session handle in the database of the security execution module, and after decryption, it queries in the fourth operation set whether it includes the action of calling the symmetric encryption and decryption end interface, so as to determine whether this business system has the authority to access this interface. If there is no authority, the request fails to be sent and the process is terminated; if there is authority, the operation is executed to continue the normal process.

[0065] In one example, after the fourth access token or session handle is verified, the fourth designated key handle will be cleared, and the business system is allowed to perform subsequent operations. After this verification, it is still necessary to verify according to the fourth workflow management mechanism to determine whether the specified operation action has been completed. After the verification is completed, the authority to call the symmetric encryption and decryption initialization interface is determined through the decrypted operation set (S214), and then confirm whether to execute the operation (S216).

[0066] In one example, the normal process of quantum key output in this application is as follows Fig. 9 As shown, the steps are divided into the following order:

[0067] 1. Device initialization; QKS_InitializeKM-initialize the key application device, authenticate the key output system, and set the callback function. In the figure, business system A (such as application terminal A) and the first security execution module (such as offline KM device 1) send initialization 0xB0(), and offline KM device 1 feeds back initialization response 0xB0(). The second security execution module (such as offline device 2) is similar to the first security execution module (such as offline KM device 1). Business system B (such as application terminal B) is similar to business system A (such as application terminal A).

[0068] 2. Session application: Application terminal A applies for a session 0xB2() and sends a key output request. Offline KM device 1 makes a session application judgment. If the session application is successful, it returns an initialization response 0xB2(). Offline KM device 2 sends a session notification (callback) to application terminal B, which saves the session information.

[0069] 3. Apply for a key: Application terminal A applies for a key 0xB3() from the key output system end (VKM) of the security execution module of the offline KM device 1, and the offline KM device 1 sends a key application response 0xB3(). The offline KM device 2 pushes the key (callback) to application terminal B, and application terminal B saves the session key.

[0070] 4. Consistency check: Application terminal A uses this interface to complete the key consistency check function. Application terminal A sends a consistency check 0xB4(), sends a key output request, and returns a consistency check response 0xB4(). The consistency check (callback) of the offline KM device 2 is sent to application terminal B, which compares the verification information and sends a consistency check response to the offline KM device 2. It is worth noting that when the key output is abnormal, the consistency check step is not protected by the API operation set.

[0071] 5. Session destruction: Application terminal A sends a session destruction 0xB2(), and offline KM device 1 returns a session destruction response 0xB2(). The destruction notification (callback) of offline KM device 2 is sent to application terminal B, which compares and verifies the information.

[0072] If the session application fails in the session application phase in 2, a session application response is returned.

[0073] 6. Deinitialization: Application terminal A sends deinitialization 0xB1(), disconnects the connected device, and releases the handle. Offline KM device 1 returns deinitialization response 0xB1(). Deinitialization 0xB1() of offline KM device 2 is sent to application terminal B, and application terminal B sends deinitialization response 0xB1() to offline KM device 2.

[0074] In one example, the steps of this application are as follows: key distribution: generate key vectors based on QKD network key distribution; key establishment: derive working keys from key vectors according to derivation rules customized for the business system to protect the corresponding operation set of the business system; define operation sets: define operation sets according to business system requirements, including executable operation actions, etc., and encrypt them using working keys; generate and send credentials: credentials can be business system name + password or access token after PKI authentication, digital signature, encrypted message, identity ID, role, etc.; verify credentials: achieved by comparing pre-stored data and transmitted data; verify workflow: verify whether the specified action has been completed according to the workflow management mechanism (in this process, the second verification can be completed only after the device initialization operation action, session application operation action and key application operation action are completed, and an operation set with consistency verification operation action authority is found); verify operation: find the corresponding operation set according to the credential for decryption, verify whether the target operation action is in the operation set, and determine the action execution authority; execute operation: the target operation action can be executed after having authority; security monitoring: monitoring the security and compliance of the process.

[0075] Another embodiment of the present invention relates to a secure execution module, such as Fig.10 As shown, it includes at least one processor 1001; and a memory 1002 that is communicatively connected to the at least one processor; wherein the memory 1002 stores instructions that can be executed by the at least one processor 1001, and the instructions are executed by the at least one processor 1001 so that the at least one processor 1001 can execute the API-based authentication method as described above.

[0076] Among them, the memory 1002 and the processor 1001 are connected in a bus manner, and the bus may include any number of interconnected buses and bridges, and the bus connects various circuits of one or more processors 1001 and the memory 1002 together. The bus can also connect various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface between the bus and the transceiver. The transceiver can be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on a transmission medium. The data processed by the processor 1001 is transmitted on a wireless medium through an antenna, and further, the antenna also receives data and transmits the data to the processor 1001.

[0077] The processor 1001 is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management and other control functions. The memory 1002 can be used to store data used by the processor 1001 when performing operations.

[0078] Another embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program is executed by a processor to implement the above method embodiment. That is, those skilled in the art can understand that all or part of the steps in the above method embodiment can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium, including a number of instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the various methods of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program code.

[0079] Another embodiment of the present application relates to an API action set protection system, including: a first security execution module, such as the first security execution module mentioned in the above method embodiment; a second security execution module, used to back up the quantum key in the first security execution module; and a fusion security management platform, used to centrally manage and control the first security execution module and the second security execution module.

[0080] In this embodiment, a first security execution module deployed on the business system side receives a call request from the business system to the API interface; a first verification is performed on the user / application that initiates the call request, a third verification is performed on the API operation if the first verification passes, and access rights to the API interface are obtained if the third verification passes, wherein the first verification may be an access token or session handle verification / identity authentication / role verification, etc., and the third verification is an API operation permission verification, and the third verification determines whether it has the permission to perform this operation by consulting the operation set protected by the quantum key.

[0081] It is not difficult to find that this embodiment is a system embodiment corresponding to the above method embodiment, and this embodiment can be implemented in conjunction with the above method embodiment. The relevant technical details mentioned in the above method embodiment are still valid in this embodiment, and in order to reduce repetition, they are not repeated here. Accordingly, the relevant technical details mentioned in this embodiment can also be applied in the above method embodiment.

[0082] It is worth mentioning that all modules involved in this embodiment are logic modules. In practical applications, a logic unit can be a physical unit, a part of a physical unit, or a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, this embodiment does not introduce units that are not closely related to solving the technical problem proposed by the present invention, but this does not mean that there are no other units in this embodiment.

[0083] Those skilled in the art will appreciate that the above-mentioned embodiments are specific examples for implementing the present invention, and in actual applications, various changes may be made thereto in form and detail without departing from the spirit and scope of the present invention.

Claims

1. A method for performing an operation, characterized in that include: Receiving a call request from a business system to an API interface, wherein the call request indicates executing a target operation; Perform a first verification on the identity of the business system, perform a second verification on the workflow of the target operation if the first verification passes, perform a third verification on the operation action of the workflow if the second verification passes, and obtain access rights to the API interface if the third verification passes; If the API interface has access rights, the target operation is performed.

2. According to the method for performing operations in claim 1, the API interface includes a create / update / cancel symmetric key interface, a symmetric encryption and decryption initialization interface, a single group encryption and decryption interface, and a symmetric encryption and decryption end interface, and the target operation includes create / update / cancel symmetric key, encryption and decryption initialization, single group encryption and decryption, and symmetric encryption and decryption end, characterized in that: Receiving the API call request from the business system includes: Receiving a first call request from a business system for creating / updating / cancelling a symmetric key interface, wherein the first call request carries a first access token or a first session handle for performing a create / update / cancellation symmetric key operation, a first key ID, an algorithm identifier, a key validity period, and an update period; or, Receive a second call request from the business system for the symmetric encryption and decryption initialization interface, wherein the second call request carries a second access token or a second session handle for performing encryption and decryption initialization operations, a second key ID, an operation mode, and IV data; or, Receiving a third call request from the business system for a single group encryption and decryption interface, wherein the third call request carries a third access token or a third session handle for performing a single group encryption and decryption operation, a third designated key handle, and plaintext / ciphertext information; or, A fourth call request from the business system to the symmetric encryption and decryption end interface is received, wherein the fourth call request carries a fourth access token or a fourth session handle for performing symmetric encryption and decryption operations, and a fourth designated key handle.

3. The method for performing an operation according to claim 1, wherein the first verification comprises access token verification, session handle verification, identity verification and role verification, wherein: The first verification of the identity of the business system includes: If the first verification is access token verification, the first access token or the first session handle is compared with the pre-stored first pre-stored information, wherein the first pre-stored information is the access token or the session handle stored in the database after the business system name / password verification or the P12 certificate verification is passed; or, the second access token or the second session handle is compared with the pre-stored second pre-stored information, wherein the second pre-stored information is the access token or the session handle stored in the database after the business system name / password verification or the P12 certificate verification is passed; or, the third access token or the The third session handle is compared with the pre-stored third pre-stored information, and the data length of the plaintext / ciphertext information is verified, wherein the third pre-stored information is an access token or session handle stored in the database after the business system name / password verification or the P12 certificate verification is passed; or, the fourth access token or fourth session handle is compared with the pre-stored fourth pre-stored information, wherein the fourth pre-stored information is an access token or session handle stored in the database after the business system name / password verification or the P12 certificate verification is passed, to implement access token verification of the identity of the business system; or, If the first verification is a session handle verification, the identity of the business system is verified by using the first session handle, the second session handle, the third session handle, or the fourth session handle; or, If the first verification is identity authentication, the identity of the business system is authenticated using OAuth 2.0, or API key, or JWT verification; or, If the first verification is role verification, a role and authority management system is used to assign roles to the business system, and role verification is performed on the identity of the business system based on the roles.

4. The method for performing an operation according to claim 3, wherein the first security execution module and the second security execution module negotiate a shared quantum key vector through the BB84 protocol in the quantum key distribution network, characterized in that: Business system name / password verification includes: Get the quantum key vector; Using a key derivation function to derive the quantum key vector into a first key, a second key, a third key, and a fourth key, using the first key to perform a national secret encryption operation on a password to form a first data to be compared, using the second key to perform a national secret encryption operation on the password to form a second data to be compared, using the third key to perform a national secret encryption operation on the password to form a third data to be compared, and using the fourth key to perform a national secret encryption operation on the password to form a fourth data to be compared; The first data to be compared is compared and verified with the first ciphertext, the second data to be compared is compared and verified with the second ciphertext, the third data to be compared is compared and verified with the third ciphertext, and the fourth data to be compared is compared and verified with the fourth ciphertext, wherein the first ciphertext is formed by performing a national secret encryption operation on the password passed into the business system using the first key in advance, the second ciphertext is formed by performing a national secret encryption operation on the password passed into the business system using the second key in advance, the third ciphertext is formed by performing a national secret encryption operation on the password passed into the business system using the third key in advance, and the fourth ciphertext is formed by performing a national secret encryption operation on the password passed into the business system using the fourth key in advance.

5. The method for performing an operation according to claim 3, wherein the first security execution module and the second security execution module negotiate a shared quantum key vector through the BB84 protocol in the quantum key distribution network, characterized in that: P12 certificate verification includes: Get the quantum key vector; Deriving the quantum key vector into a first public-private key pair, a second public-private key pair, a third public-private key pair, and a fourth public-private key pair using a key derivation function, using the first public key in the first public-private key pair to perform a national secret decryption operation on the SM3 Hash value to form a fifth data to be compared, or using the second public key in the second public-private key pair to perform a national secret decryption operation on the SM3 Hash value to form a sixth data to be compared, or using the third public key in the third public-private key pair to perform a national secret decryption operation on the SM3 Hash value to form a seventh data to be compared, or using the fourth public key in the fourth public-private key pair to perform a national secret decryption operation on the SM3 Hash value to form an eighth data to be compared; The fifth data to be compared is compared and verified with the fifth document, the sixth data to be compared is compared and verified with the sixth document, the seventh data to be compared is compared and verified with the seventh document, and the eighth data to be compared is compared and verified with the eighth document, wherein the fifth document is the fifth business system name and the fifth timestamp passed in by the business system, the sixth document is the sixth business system name and the sixth timestamp passed in by the business system, the seventh document is the seventh business system name and the seventh timestamp passed in by the business system, and the eighth document is the eighth business system name and the eighth timestamp passed in by the business system.

6. The method for performing an operation according to claim 2, characterized in that: The second verification of the workflow of the target operation includes: If the target operation is a create / update / cancel symmetric key operation, verify according to the first workflow management mechanism; or, If the target operation is a symmetric encryption and decryption initialization operation, verification is performed according to the second workflow management mechanism; or, If the target operation is a single set of encryption and decryption operations, verification is performed according to a third workflow management mechanism; or, If the target operation is a symmetric encryption and decryption end operation, verification is performed according to the fourth workflow management mechanism.

7. According to the method for performing operations according to claim 6, the creation / update / cancellation of a symmetric key workflow includes the operation action of calling the creation / update / cancellation of a symmetric key interface, the symmetric encryption and decryption initialization workflow includes the operation action of calling the symmetric encryption and decryption initialization interface, the single-group encryption and decryption workflow includes the operation action of calling the single-group encryption and decryption interface, and the symmetric encryption and decryption end workflow includes the operation action of calling the symmetric encryption and decryption end, characterized in that: The third verification of the operation action of the workflow includes: Accessing a first operation set of the business system according to the first access token or the first session handle, checking whether the first operation set includes an operation action of calling a create / update / cancel symmetric key interface, and determining whether the business system has the authority to execute the operation action of calling a create / update / cancel symmetric key interface, wherein the first operation set is stored in an encrypted manner, and the first operation set includes at least one operation action, at least one communication protocol, at least one encryption algorithm, at least one decryption algorithm, and at least one signature algorithm; or, Accessing the first encrypted second operation set of the business system according to the second access token or the second session handle, checking whether the second operation set includes an operation action of calling a symmetric encryption and decryption initialization interface, and determining whether the business system has the authority to perform the operation action of calling the symmetric encryption and decryption initialization interface, wherein the second operation set is encrypted and stored, and the second operation set includes at least one operation action, at least one communication protocol, at least one encryption algorithm, at least one decryption algorithm and at least one signature algorithm; or, Accessing a third operation set of the business system according to the third access token or the third session handle, checking whether the third operation set includes an operation action of calling a single group of encryption and decryption interfaces, and determining whether the business system has the authority to perform the operation action of calling the single group of encryption and decryption interfaces, wherein the third operation set is encrypted and stored, and the third operation set includes at least one operation action, at least one communication protocol, at least one encryption algorithm, at least one decryption algorithm, and at least one signature algorithm; or, Access the fourth operation set of the business system according to the fourth access token or the fourth session handle, check whether the fourth operation set includes an operation action of calling the end of symmetric encryption and decryption, and determine whether the business system has the authority to execute the operation action of calling the end of symmetric encryption and decryption, wherein the fourth operation set is encrypted and stored, and the fourth operation set includes at least one operation action, at least one communication protocol, at least one encryption algorithm, at least one decryption algorithm and at least one signature algorithm.

8. The method for performing an operation according to claim 7, characterized in that: Encrypting and storing the first operation set, the second operation set, the third operation set, and the fourth operation set includes: Obtaining a quantum key vector, and deriving the quantum key vector into a first working key, a second working key, a third working key, and a fourth working key using a key derivation function; The first operation set is encrypted and stored using the first working key, the second operation set is encrypted and stored using the second working key, the third operation set is encrypted and stored using the third working key, and the fourth operation set is encrypted and stored using the fourth working key, wherein the first working key, the second working key, the third working key and the fourth working key are backed up to a second secure execution module through a quantum key distribution network via BB84 protocol negotiation.

9. The first security execution module is characterized in that: include: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method for performing operations as claimed in any one of claims 1 to 8.

10. An API action set protection system, characterized in that: include: A first security execution module, the first security execution module as claimed in claim 9; A second security execution module, used to back up the quantum key in the first security execution module; The integrated security management platform is used to centrally manage and control the first security execution module and the second security execution module.

Citation Information

Patent Citations

  • Communication method and system based on quantum Ukey

    CN107769913A

  • Verification processing method and device

    CN108629179A

  • Method and device for executing access operation

    CN110351254A

  • Authentication calling method and device for open interface, equipment and readable storage medium

    CN112016106A

  • Interface unified management system and platform interface management system

    CN114417278A