Resource access method and device based on password service, equipment and product

By using cloud service components in the cryptographic service platform for authentication and security isolation, the problem of security vulnerabilities in containers and unified bus service interfaces is solved and the information security of application devices is ensured.

CN118611883AActive Publication Date: 2024-09-06CHINA UNITED NETWORK COMM GRP CO LTD +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410808849.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-21
Publication Date
2024-09-06
Estimated Expiration
2044-06-21

AI Technical Summary

Technical Problem

In the existing technology, containers and unified bus service interfaces are prone to security vulnerabilities, which affect the security of cryptographic resources in the cryptographic service platform, and thus cannot guarantee the information security of application devices.

Method used

Establish authentication requests through configuration selections in the cloud service component configuration list, use cloud platform components to provide remote authentication, and call and execute cryptographic services based on trustworthiness values ​​to access cryptographic resources and achieve security isolation.

Benefits of technology

Through the dynamic management of trustworthiness values, every cryptographic service call is guaranteed to be safe and trustworthy, which improves the security of cryptographic resources in the cryptographic service platform and ensures the information security of application devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118611883A
    Figure CN118611883A
Patent Text Reader

Abstract

The invention provides a resource access method and device based on a password service, equipment and a product, and relates to the field of information security. The method comprises the following steps: responding to a service request sent by application equipment based on a cloud service component, and obtaining a preset configuration list; if it is determined that the configuration information represents that the authentication request is currently determined to be established, executing remote authentication processing based on the cloud platform component to obtain an authentication result; based on the cloud service component, if it is determined that the authentication result represents that the trusted execution environment in which the current password service is located passes authentication, a trusted measurement value is determined; and according to the credibility measurement value, password service processing is executed to obtain a service result, and the service result is sent to the application equipment. According to the method provided by the invention, the security of the password service is improved, so that the information security is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of information security, and in particular to a resource access method, device, equipment and product based on cryptographic services. Background Art

[0002] Cryptography technology is currently widely used in application devices such as various information systems, which is crucial to information security. When applying cryptography technology, application devices need to call cryptographic services to access cryptographic resources.

[0003] In the prior art, based on a cryptographic service platform, a container deployment mode is adopted to store cryptographic resources, and cryptographic services are provided to application devices through a unified bus service interface.

[0004] However, in the above method, the container and the unified bus service interface are prone to security vulnerabilities, which affect the security of the cryptographic resources in the cryptographic service platform and thus cannot guarantee the information security of the application device. Summary of the invention

[0005] The present application provides a resource access method, device, equipment and product based on cryptographic services, which are used to solve the technical problem that the container and unified bus service interface are prone to security vulnerabilities, resulting in the inability to ensure the information security of application devices.

[0006] In a first aspect, the present application provides a resource access method based on a cryptographic service, the method comprising:

[0007] Based on the cloud service component, respond to the service request sent by the application device and obtain a preset configuration list; wherein the service request is used to request cryptographic service processing; the preset configuration list includes configuration information;

[0008] If it is determined that the configuration information indicates that an authentication request is currently determined to be established, remote authentication processing is performed based on the cloud platform component to obtain an authentication result;

[0009] Based on the cloud service component, if it is determined that the authentication result indicates that the trusted execution environment in which the current cryptographic service is located has passed the authentication, a trust metric value is determined; wherein the trust metric value indicates the degree of trustworthiness of the trusted execution environment in which the current cryptographic service is located;

[0010] According to the trust metric value, cryptographic service processing is performed to obtain a service result, and the service result is sent to the application device; wherein the service result includes the cryptographic resource requested by the application device.

[0011] In one example, performing cryptographic service processing according to the trust metric value to obtain a service result includes:

[0012] Determine key information according to the trust metric value; wherein the key information represents key data required for the current cryptographic service;

[0013] A cryptographic service process is performed according to the key information and the trustworthiness metric value to obtain the service result.

[0014] In one example, performing cryptographic service processing according to the key information and the trust metric value to obtain the service result includes:

[0015] Performing an authority verification process on the service request according to the key information and the trust metric value to obtain a verification result;

[0016] If it is determined that the verification result indicates that the application device has the authority to apply for the password service, the password service processing is performed to obtain the service result.

[0017] In one example, the method further includes:

[0018] Based on the cloud service component, according to the trust metric value, an initialization configuration process is performed to obtain a configuration result; wherein the configuration result includes key information.

[0019] In one example, a preset configuration list is obtained, including:

[0020] Based on the cloud service component, perform environmental verification processing to obtain a verification result;

[0021] If it is determined that the verification result indicates that the startup environment of the current cloud service component has passed the verification, the preset configuration list is obtained.

[0022] In one example, the service request includes a key component and identification information; the identification information represents a device identification of a service platform device; and based on the cloud service component, performing environment verification processing to obtain a verification result includes:

[0023] Based on the cloud service component, according to the identification information in the service request, encrypt the key component in the service request to obtain and store the encrypted information;

[0024] Based on the cloud platform component, decrypt the encrypted information according to the identification information in the service request to obtain the key component;

[0025] Based on the cloud platform component, according to the key component, an environmental verification process is performed to obtain the verification result, and the verification result is fed back to the cloud service component.

[0026] In one example, based on the cloud platform component, performing environment verification processing according to the key component to obtain the verification result includes:

[0027] Based on the cloud platform component, obtaining at least one preset key component, and performing calculation processing on the key component and each of the preset key components to obtain a collaborative signature;

[0028] The collaborative signature is compared with the preset signature to obtain the verification result.

[0029] In a second aspect, the present application provides a resource access device based on a cryptographic service, the device comprising:

[0030] An acquisition module, for responding to a service request sent by an application device based on a cloud service component, and acquiring a preset configuration list; wherein the service request is used to request cryptographic service processing; and the preset configuration list includes configuration information;

[0031] An authentication module, configured to perform remote authentication processing based on a cloud platform component to obtain an authentication result if it is determined that the configuration information represents a current authentication request.

[0032] A determination module, configured to determine a trust metric value based on the cloud service component if it is determined that the authentication result indicates that the trusted execution environment in which the current cryptographic service is located has passed the authentication; wherein the trust metric value indicates the degree of trustworthiness of the trusted execution environment in which the current cryptographic service is located;

[0033] A service module is used to perform cryptographic service processing according to the trust metric value to obtain a service result, and send the service result to the application device; wherein the service result includes the cryptographic resource requested by the application device.

[0034] In a third aspect, the present application provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor;

[0035] The memory stores computer-executable instructions;

[0036] The processor executes the computer-executable instructions stored in the memory to implement the method described in the first aspect.

[0037] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the method described in the first aspect.

[0038] In a fifth aspect, the present application provides a computer program product, the computer program product comprising: a computer program, and when the computer program is executed by a processor, it is used to implement the method described in the first aspect.

[0039] The resource access method, apparatus, device and product based on cryptographic service provided by the present application establishes an authentication request through configuration selection in the cloud service component configuration list to provide remote authentication based on the cloud platform component, and then calls and executes the cryptographic service based on the cloud service component according to the trust measurement value to access the cryptographic resources; further, secure isolation is achieved through the trust measurement to ensure that each cryptographic service call is safe and trustworthy, thereby improving the security of cryptographic resources in the cryptographic service platform and ensuring the information security of the application device. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0041] Figure 1 A schematic diagram of an application scenario provided for this application;

[0042] Figure 2 A flowchart of a resource access method based on a cryptographic service provided in an embodiment of the present application;

[0043] Figure 3 A schematic diagram of a cryptographic cloud service platform architecture system provided in an embodiment of the present application;

[0044] Figure 4 A schematic diagram of a cryptographic cloud platform architecture trusted environment verification process provided in an embodiment of the present application;

[0045] Figure 5 A flowchart of another resource access method based on a cryptographic service provided in an embodiment of the present application;

[0046] Figure 6 A schematic diagram of a cryptographic cloud service platform architecture environment verification process provided in an embodiment of the present application;

[0047] Figure 7 A schematic diagram of a cryptographic cloud service platform workflow provided in an embodiment of the present application;

[0048] Figure 8 A schematic diagram of a cryptographic cloud service platform initialization process provided in an embodiment of the present application;

[0049] Fig. 9 A schematic diagram of the structure of a resource access device based on a cryptographic service provided in an embodiment of the present application;

[0050] Fig.10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0051] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0052] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0053] First, the terms involved in this application are explained:

[0054] TEE technology: Trusted Execution Environment, is a security technology based on hardware isolation, which aims to provide a relatively isolated security environment for data and privacy information.

[0055] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use, processing, transmission, provision, disclosure and application of the relevant data comply with relevant laws, regulations and standards, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0056] It should be noted that the resource access method, device, equipment and product based on cryptographic services in the present application can be used in the field of information security, and can also be used in any field other than information security. The application field of the resource access method, device, equipment and product based on cryptographic services in the present application is not limited.

[0057] Cryptography technology is currently widely used in application devices such as various information systems, which is crucial to information security. When applying cryptography technology, application devices need to call cryptographic services to access cryptographic resources.

[0058] In one example, based on the cryptographic service platform, a container deployment mode is adopted to store cryptographic resources, and cryptographic services are provided to application devices through a unified bus service interface.

[0059] However, in the above method, the container and the unified bus service interface are prone to security vulnerabilities, which affect the security of the cryptographic resources in the cryptographic service platform and thus cannot guarantee the information security of the application device.

[0060] In response to the above technical problems, this application proposes the following technical ideas: by establishing an authentication request through the configuration selection in the cloud service component configuration list, remote authentication is provided based on the cloud platform component, and then based on the cloud service component, the cryptographic service is called and executed according to the trust metric value to access the cryptographic resources. In this way, the problem that the container and the unified bus service interface in the prior art are prone to security vulnerabilities, which affects the security of the cryptographic resources in the cryptographic service platform, can be solved.

[0061] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0062] Figure 1 A schematic diagram of an application scenario provided by this application. Figure 1 As shown, the specific application scenario of the present application includes an electronic device 101 and an application device 102. The application device 102 sends a service request to the electronic device 101 deploying the cryptographic service platform, so that the electronic device 101 responds to the service request and performs cryptographic service processing to obtain the cryptographic resources requested by the application device 102.

[0063] Figure 2 A flowchart of a resource access method based on a cryptographic service provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, the method includes:

[0064] 201. Based on the cloud service component, respond to the service request sent by the application device and obtain a preset configuration list; wherein the service request is used to request cryptographic service processing; the preset configuration list includes configuration information.

[0065] Exemplarily, the execution subject of this embodiment may be an electronic device, hereinafter referred to as a device, which may be a physical device or a virtual device that executes the resource access method based on the cryptographic service. Figure 3 A schematic diagram of a cryptographic cloud service platform architecture system provided in an embodiment of the present application, such as Figure 3As shown in the figure, a cryptographic cloud service platform architecture system for building confidential computing based on TEE technology is deployed in the device, which includes a security verification layer and a basic application layer; the security verification layer mainly includes two modules, among which the environment verification module is responsible for verifying the collaborative signature of the use environment of the cryptographic cloud service platform startup environment, and the trusted environment management module is responsible for the management of the basic operating environment of confidential computing built based on TEE technology; the basic application layer mainly includes four modules, among which the cryptographic service bus module is responsible for virtualizing the capabilities of cryptographic devices and cryptographic systems and providing cryptographic services to the outside world, the cryptographic service management module is responsible for the unified management of cryptographic services, the key management module is responsible for providing the required root keys for cryptographic devices and cryptographic systems, and managing the entire life cycle of keys, and the unified application programming interface (Application Programming Interface, referred to as API) interface module is used to provide a unified cryptographic service interface service, including basic cryptographic operation interface, certificate authority (CertificateAuthority, referred to as CA) authentication interface, timestamp service interface, electronic signature service interface, signature verification service interface, and unified interface for various cryptographic services in the upper layer. The device is connected to the application device of the deployed business platform or business system in communication. The application device can send a service request to the device to request cryptographic service processing. The device responds to the service request based on the component corresponding to the cryptographic cloud service platform, that is, the cloud service component, and starts compiling and running the trusted execution environment. By building a confidential computing environment, a hardware-isolated operating environment is provided. The trusted environment management module shields the influence of different confidential computing architectures, and secure isolation is achieved through trusted measurements. In the instance generated by the running command, files are automatically generated. By modifying the file configuration information, remote authentication is first provided when compiling and running the trusted execution environment, that is, the integrity of the software and the credibility of the software trusted execution environment can be verified. The tool mainly provides a three-layer link to establish a secure data transmission channel and obtain a preset configuration list, which includes configuration information. The integration of the trusted execution environment built based on confidential computing and the cryptographic cloud service platform architecture can ensure container security.

[0066] 202. If it is determined that the configuration information indicates that an authentication request is currently determined to be established, remote authentication processing is performed based on the cloud platform component to obtain an authentication result.

[0067] For example, Figure 4 A schematic diagram of a cryptographic cloud platform architecture trusted environment verification process provided in an embodiment of the present application, such as Figure 4As shown, after the device obtains the configuration information, it chooses whether to establish an authentication request through the configuration in the configuration information. If it is determined that the configuration information represents the current determination to establish an authentication request, then based on the cloud service component, it generates and sends an authentication request to the component of the cryptographic cloud platform server, that is, the cloud platform component. Based on the cloud platform component, it receives the authentication request and performs remote authentication processing to obtain the authentication result, and sends the authentication result back to the cloud service component, thereby determining whether the trusted execution environment where the current cryptographic service is located has passed the authentication. It is worth noting that during the remote authentication process, a file protection mechanism will be provided, and the file will be designated as the "protect_files" mode. The designated file will be automatically encrypted and decrypted. There are also other asynchronous system calls, multi-process support and automatic integration.

[0068] 203. Based on the cloud service component, if it is determined that the authentication result indicates that the trusted execution environment in which the current cryptographic service is located has passed the authentication, a trust metric value is determined; wherein the trust metric value indicates the degree of trustworthiness of the trusted execution environment in which the current cryptographic service is located.

[0069] Exemplarily, the device is based on a cloud service component. According to the authentication result, if it is determined that the trusted execution environment in which the current cryptographic service is located has passed the authentication, the cryptographic cloud architecture system will perform trusted environment measurement through the preset operating system as the underlying architecture for confidential computing, and obtain a trusted measurement value to characterize the degree of trustworthiness of the trusted execution environment in which the current cryptographic service is located.

[0070] 204. Perform cryptographic service processing according to the trust metric value to obtain a service result, and send the service result to the application device; wherein the service result includes the cryptographic resource requested by the application device.

[0071] Exemplarily, the device calls the cryptographic service through the unified API interface module based on the obtained trust metric value, and performs cryptographic service processing to obtain the cryptographic resources requested by the application device, that is, the service result; if the unified bus service interface is attacked, it will not affect the output of the interface data, and the service can still be provided normally.

[0072] In this embodiment, a resource access method based on a cryptographic service is provided, in which an authentication request is established through configuration selection in a cloud service component configuration list to enable remote authentication based on a cloud platform component, and then based on the cloud service component, the cryptographic service is called and executed according to a trusted measurement value to access cryptographic resources; further, secure isolation is achieved through trusted measurement to ensure that each cryptographic service call is secure and trusted, thereby improving the security of cryptographic resources in the cryptographic service platform and ensuring the information security of application devices.

[0073] Figure 5 A flowchart of another resource access method based on a cryptographic service provided in an embodiment of the present application is shown in FIG. Figure 5As shown, the method includes:

[0074] 301. Based on the cloud service component, respond to the service request sent by the application device.

[0075] Exemplarily, this step may refer to step 201 and will not be described in detail here.

[0076] 302. Based on the cloud service component, perform environment verification processing to obtain a verification result.

[0077] For example, in combination Figure 3 ,Based on the cloud service component, i.e., the cryptographic cloud service platform, the security verification layer of the cryptographic cloud architecture system verifies the startup environment of the cryptographic cloud service platform to obtain a verification result, i.e., whether the startup environment of the current cloud service component has passed the verification.

[0078] In one example, the service request includes a key component and identification information; the identification information represents a device identification of the service platform device; step 302 includes the following steps:

[0079] The first step of step 302 is to encrypt the key component in the service request based on the cloud service component according to the identification information in the service request, and obtain and store the encrypted information.

[0080] The second step of step 302 is to decrypt the encrypted information based on the identification information in the service request based on the cloud platform component to obtain the key component.

[0081] The third step of step 302 is to perform environment verification processing based on the cloud platform component and the key component to obtain a verification result, and feed the verification result back to the cloud service component.

[0082] For example, Figure 6 A schematic diagram of a cryptographic cloud service platform architecture environment verification process provided in an embodiment of the present application, such as Figure 6 As shown, the business platform transmits the preset key component k1 and the identification information of the device identification representing the business platform device, such as the business platform ID, through the application device, to the cloud service component corresponding to the cryptographic cloud service platform through a service request. The cloud service component encrypts and stores the corresponding key component k1 according to each business platform ID, that is, uses SM2 to obtain the encrypted information. The cloud platform component corresponding to the cryptographic cloud service platform server uses SM2 to decrypt the stored key component k1 according to the corresponding business platform ID, and processes the key component k1 through a preset verification algorithm to obtain a verification result, and returns the verification result to the application device through the cloud service component to complete the security verification of the cryptographic cloud service platform.

[0083] In one example, the third step of step 302 includes:

[0084] Step 1: Based on the cloud platform component, obtain at least one preset key component, and calculate and process the key component and each preset key component to obtain a collaborative signature.

[0085] Step 2: Compare the collaborative signature with the preset signature to obtain the verification result.

[0086] Specifically, the security verification layer of the cryptographic cloud architecture system will first verify the startup environment of the cryptographic cloud service platform through the environmental collaborative signature. After the device decrypts the stored key component k1 through the cloud service component corresponding to the cryptographic cloud service platform, it obtains at least one preset key component R, S2, S3, and calculates the key component k1 together with the preset key components R, S2, S3 to obtain a collaborative signature, which is then compared with the preset collaborative signature stored in the database, such as the complete key component. If the two are consistent, the verification is successful; if the two are inconsistent, the verification fails.

[0087] 303. If it is determined that the verification result indicates that the startup environment of the current cloud service component has passed the verification, a preset configuration list is obtained.

[0088] For example, if the device determines that the startup environment of the current cloud service component has passed the verification, it obtains the configuration information in the preset configuration list for remote authentication. Furthermore, the trusted execution environment built by confidential computing can further sink the capabilities of cryptographic services, realize the tight coupling of cryptography and public cloud platforms, and improve the security of cryptographic services.

[0089] 304. If it is determined that the configuration information indicates that an authentication request is currently determined to be established, remote authentication processing is performed based on the cloud platform component to obtain an authentication result.

[0090] Exemplarily, this step may refer to step 202 and will not be described in detail here.

[0091] 305. Based on the cloud service component, if it is determined that the authentication result indicates that the trusted execution environment in which the current cryptographic service is located has passed the authentication, a trust metric value is determined; wherein the trust metric value indicates the degree of trustworthiness of the trusted execution environment in which the current cryptographic service is located.

[0092] Exemplarily, this step may refer to step 202 and will not be described in detail here.

[0093] 306. Determine key information according to the trust metric value; wherein the key information represents key data required for the current cryptographic service.

[0094] For example, in combination Figure 3The device uses a preset algorithm based on the obtained trust metric value. If the trust metric value is greater than the preset value, it means that the trust level of the current trusted execution environment is high, and the key information can be applied for. That is, the cryptographic service management module of the cryptographic cloud service platform applies for the required key information from the key management module based on the trust metric value. The key management module returns the key information to the cryptographic service management module to obtain the key data required for the current cryptographic service.

[0095] 307. Perform cryptographic service processing according to the key information and the trust metric value to obtain a service result.

[0096] For example, in combination Figure 3 The device will call the cryptographic service and perform cryptographic service processing based on the returned key information and trust measurement value through the cryptographic service management module of the cryptographic cloud service platform to obtain the cryptographic resources requested by the application device; furthermore, through dynamic trust measurement, it ensures that each service call is safe and trustworthy, thereby improving the security of the cryptographic service.

[0097] In one example, step 307 includes the following steps:

[0098] The first step of step 307 is to perform permission verification on the service request according to the key information and the trust metric value to obtain a verification result.

[0099] In the second step of step 307, if it is determined that the verification result indicates that the application device has the authority to apply for the password service, the password service processing is performed to obtain the service result.

[0100] For example, Figure 7 A schematic diagram of a cryptographic cloud service platform workflow provided in an embodiment of the present application, such as Figure 7 As shown, the device provides the cryptographic service authorization verification to the cryptographic service bus module based on the cryptographic service management module of the cryptographic cloud service platform according to the returned key information and trust measurement value. After the cryptographic service bus module passes the verification process, it will return the verification result to the cryptographic service management module. The cryptographic service management module receives the verification result and starts to access the cryptographic resources and provide cryptographic services if it determines that the application device has the authority to apply for the cryptographic service. Furthermore, the trusted execution environment based on confidential computing can ensure the safe operation of the cryptographic cloud service platform and ensure that only authorized code can access the data. If the code is tampered with, TEE will prevent it from continuing to operate.

[0101] In one example, step 307 further includes: performing initialization configuration processing based on the cloud service component and according to the trust metric value to obtain a configuration result; wherein the configuration result includes key information.

[0102] For example, Figure 8A schematic diagram of a cryptographic cloud service platform initialization process provided in an embodiment of the present application, such as Figure 8 As shown, the device is based on the cloud service component. After obtaining the trusted measurement value, it performs initialization configuration processing, that is, the cryptographic service management module of the cryptographic cloud service platform performs cryptographic service initialization configuration according to the trusted measurement value. The cryptographic service bus module returns the configuration result after calculation, and the configuration result includes key information. The cryptographic service management module performs initialization authority verification according to the returned configuration result and the trusted measurement value. After the verification passes, it applies to the key management module for the key information required in the configuration result. The key management module returns the key to the cryptographic service management module. The cryptographic service management module receives the returned key information and returns the initialization result to the trusted execution environment, and the entire initialization process ends. Furthermore, trusted measurement needs to be performed when the cryptographic service is initialized, and trusted measurement needs to be performed dynamically when the cryptographic service is called to ensure that each service call is safe and reliable.

[0103] 308. Send the service result to the application device.

[0104] Exemplarily, this step refers to the content of step 204 and will not be repeated here.

[0105] In this embodiment, based on the above embodiments, on the one hand, a confidential computing environment is constructed to provide a hardware-isolated operating environment, the influence of different confidential computing architectures is shielded through a trusted environment management module, and secure isolation is achieved through trusted measurement; on the other hand, trusted measurement needs to be performed dynamically when the cryptographic service is called to ensure that each service call is safe and reliable, and to ensure the security of the cryptographic services and cryptographic resources of the application devices.

[0106] Fig. 9 A schematic diagram of a resource access device based on a cryptographic service provided in an embodiment of the present application is shown in FIG. Fig. 9 As shown, the device comprises:

[0107] The acquisition module 401 is used to respond to the service request sent by the application device based on the cloud service component and obtain the preset configuration list; wherein the service request is used to request cryptographic service processing; the preset configuration list includes configuration information;

[0108] The authentication module 402 is used to perform remote authentication processing based on the cloud platform component to obtain an authentication result if it is determined that the configuration information represents that an authentication request is currently determined to be established;

[0109] The determination module 403 is used to determine the trust metric value based on the cloud service component if it is determined that the authentication result indicates that the trusted execution environment where the current cryptographic service is located has passed the authentication; wherein the trust metric value indicates the trustworthiness of the trusted execution environment where the current cryptographic service is located;

[0110] The service module 404 is used to perform cryptographic service processing according to the trust metric value to obtain a service result, and send the service result to the application device; wherein the service result includes the cryptographic resource requested by the application device.

[0111] In one example, the service module 404 is specifically used to: determine key information according to a trust metric value; wherein the key information represents key data required for the current cryptographic service; and perform cryptographic service processing according to the key information and the trust metric value to obtain a service result.

[0112] In one example, the service module 404 is further specifically used to: perform permission verification processing on the service request according to the key information and the trust measurement value to obtain a verification result; if it is determined that the verification result indicates that the application device has the authority to apply for the cryptographic service, perform cryptographic service processing to obtain a service result.

[0113] In one example, the service module 404 is further specifically used to: perform initialization configuration processing based on the cloud service component and according to the trust metric value to obtain a configuration result; wherein the configuration result includes key information.

[0114] In one example, the acquisition module 401 is specifically used to: perform environment verification processing based on the cloud service component to obtain a verification result; if it is determined that the verification result indicates that the startup environment verification of the current cloud service component has passed, then obtain a preset configuration list.

[0115] In one example, the service request includes a key component and identification information; the identification information represents the device identification of the business platform device; the acquisition module 401 is also specifically used to: based on the cloud service component, encrypt the key component in the service request according to the identification information in the service request, obtain and store the encrypted information; based on the cloud platform component, decrypt the encrypted information according to the identification information in the service request to obtain the key component; based on the cloud platform component, perform environment verification processing according to the key component to obtain a verification result, and feed the verification result back to the cloud service component.

[0116] In one example, the acquisition module 401 is specifically used to: based on the cloud platform component, obtain at least one preset key component, and calculate and process the key component and each preset key component to obtain a collaborative signature; compare the collaborative signature with the preset signature to obtain a verification result.

[0117] The device of this embodiment can execute the technical solution in the above method. Its specific implementation process and technical principles are the same and will not be repeated here.

[0118] It should be noted that it should be understood that the division of the various modules of the above device is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. And these modules can all be implemented in the form of software called by processing elements; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software called by processing elements, and some modules can be implemented in the form of hardware. Each module can be a separately established processing element, or it can be integrated in a chip of the above device. In addition, it can also be stored in the memory of the above device in the form of program code, and called and executed by a processing element of the above device. The functions of each module. In addition, all or part of these modules can be integrated together, or they can be implemented independently. The processing element here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each module above can be completed by an integrated logic circuit of hardware in the processor element or instructions in the form of software.

[0119] Fig.10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown in FIG. Fig.10 As shown, the electronic device includes: a memory 501, a processor 502; the memory 501; and a memory for storing instructions executable by the processor 502.

[0120] The processor 502 is configured to execute the method provided in the above embodiment.

[0121] The electronic device 500 further includes a receiver 503 and a transmitter 504. The receiver 503 is used to receive instructions and data sent by other devices, and the transmitter 504 is used to send instructions and data to external devices.

[0122] An embodiment of the present application also provides a chip for executing instructions, which is used to execute the technical solution of the processing method in the above embodiment.

[0123] The embodiment of the present application also provides a computer-readable storage medium, in which computer instructions are stored. When the computer instructions are executed on a computer, the computer executes the technical solution of the processing method of the above embodiment.

[0124] An embodiment of the present application also provides a computer program product, which includes a computer program stored in a computer-readable storage medium. At least one processor can read the computer program from the computer-readable storage medium. When at least one processor executes the computer program, the technical solution of the processing method in the above embodiment can be implemented.

[0125] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules is only a logical function division, and there may be other division methods in actual implementation, such as multiple modules can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.

[0126] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to implement the solution of this embodiment.

[0127] In addition, each functional module in each embodiment of the present application can be integrated into one processing unit, or each module can exist physically separately, or two or more modules can be integrated into one unit. The above-mentioned module-composed unit can be implemented in the form of hardware or in the form of hardware plus software functional units.

[0128] The above-mentioned integrated module implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform some steps of the methods of various embodiments of the present application.

[0129] It should be understood that the above processor can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the invention can be directly embodied as being executed by a hardware processor, or can be executed by a combination of hardware and software modules in the processor.

[0130] The memory may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk memory, and may also be a USB flash drive, a mobile hard disk, a read-only memory, a magnetic disk or an optical disk, etc.

[0131] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of this application is not limited to only one bus or one type of bus.

[0132] The above storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The storage medium can be any available medium that can be accessed by a general or special purpose computer.

[0133] An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the storage medium can also exist as discrete components in an electronic control unit or a main control device.

[0134] It should be understood that the above-mentioned device embodiments are only illustrative, and the device of the present application can also be implemented in other ways. For example, the division of units / modules in the above-mentioned embodiments is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units, modules or components can be combined, or can be integrated into another system, or some features can be ignored or not executed.

[0135] In addition, unless otherwise specified, each functional unit / module in each embodiment of the present application may be integrated into one unit / module, each unit / module may exist physically separately, or two or more units / modules may be integrated together. The above-mentioned integrated unit / module may be implemented in the form of hardware or in the form of a software program module.

[0136] In the above embodiments, the description of each embodiment has its own emphasis. For the part not described in detail in a certain embodiment, please refer to the relevant description of other embodiments. The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0137] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.

[0138] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A resource access method based on cryptographic services, characterized in that: The method comprises: Based on the cloud service component, respond to the service request sent by the application device and obtain a preset configuration list; wherein the service request is used to request cryptographic service processing; the preset configuration list includes configuration information; If it is determined that the configuration information indicates that an authentication request is currently determined to be established, remote authentication processing is performed based on the cloud platform component to obtain an authentication result; Based on the cloud service component, if it is determined that the authentication result indicates that the trusted execution environment in which the current cryptographic service is located has passed the authentication, a trust metric value is determined; wherein the trust metric value indicates the degree of trustworthiness of the trusted execution environment in which the current cryptographic service is located; According to the trust metric value, cryptographic service processing is performed to obtain a service result, and the service result is sent to the application device; wherein the service result includes the cryptographic resource requested by the application device.

2. The method according to claim 1, characterized in that According to the trust metric value, cryptographic service processing is performed to obtain a service result, including: Determine key information according to the trust metric value; wherein the key information represents key data required for the current cryptographic service; A cryptographic service process is performed according to the key information and the trustworthiness metric value to obtain the service result.

3. The method according to claim 2, characterized in that Performing cryptographic service processing according to the key information and the trust metric value to obtain the service result includes: Performing an authority verification process on the service request according to the key information and the trust metric value to obtain a verification result; If it is determined that the verification result indicates that the application device has the authority to apply for the password service, the password service processing is performed to obtain the service result.

4. The method according to claim 2, characterized in that: The method further comprises: Based on the cloud service component, according to the trust metric value, an initialization configuration process is performed to obtain a configuration result; wherein the configuration result includes key information.

5. The method according to any one of claims 1 to 4, characterized in that Get a list of preset configurations, including: Based on the cloud service component, perform environmental verification processing to obtain a verification result; If it is determined that the verification result indicates that the startup environment of the current cloud service component has passed the verification, the preset configuration list is obtained.

6. The method according to claim 5, characterized in that The service request includes a key component and identification information; the identification information represents a device identification of the service platform device; Based on the cloud service component, perform environmental verification processing to obtain a verification result, including: Based on the cloud service component, according to the identification information in the service request, encrypt the key component in the service request to obtain and store the encrypted information; Based on the cloud platform component, decrypt the encrypted information according to the identification information in the service request to obtain the key component; Based on the cloud platform component, according to the key component, an environmental verification process is performed to obtain the verification result, and the verification result is fed back to the cloud service component.

7. The method according to claim 6, characterized in that Based on the cloud platform component, and according to the key component, performing environment verification processing to obtain the verification result, including: Based on the cloud platform component, obtaining at least one preset key component, and performing calculation processing on the key component and each of the preset key components to obtain a collaborative signature; The collaborative signature is compared with the preset signature to obtain the verification result.

8. A resource access device based on a cryptographic service, characterized in that: The device comprises: An acquisition module, for responding to a service request sent by an application device based on a cloud service component, and acquiring a preset configuration list; wherein the service request is used to request cryptographic service processing; and the preset configuration list includes configuration information; An authentication module, configured to perform remote authentication processing based on a cloud platform component to obtain an authentication result if it is determined that the configuration information represents a current authentication request. A determination module, configured to determine a trust metric value based on the cloud service component if it is determined that the authentication result indicates that the trusted execution environment in which the current cryptographic service is located has passed the authentication; wherein the trust metric value indicates the degree of trustworthiness of the trusted execution environment in which the current cryptographic service is located; A service module is used to perform cryptographic service processing according to the trust metric value to obtain a service result, and send the service result to the application device; wherein the service result includes the cryptographic resource requested by the application device.

9. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 7 when executed by a processor.

11. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 7 when being executed by a processor.

Citation Information

Patent Citations

  • Password cloud service method, platform, equipment and storage medium

    CN115859261A

  • Key distribution method and device, computer equipment and storage medium

    CN117155549A

  • Password resource authorization management method and device, storage medium and electronic equipment

    CN117592030A

  • Security broker with consumer proxying for TEE-protected services

    US20230034725A1

  • Attestation of a secure guest

    WO2023012201A1