Password cloud resource pool sharing method and device and storage medium

By using resource calling interfaces and smart contracts in the alliance chain, resource sharing and cost settlement between different cryptographic cloud vendors are realized, the confidentiality problem of device information and resource capabilities is solved, and resource utilization and business security are improved.

CN118764159AActive Publication Date: 2024-10-11CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410823446.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-10-11
Estimated Expiration
2044-06-24

AI Technical Summary

Technical Problem

The device information and cryptographic resource capabilities of each crypto cloud vendor involve company secrets, making it difficult to share resource pools between different crypto cloud vendors.

Method used

In the alliance chain, by reading blocks, determining the cryptographic cloud service requirements of nodes, allocating target cryptographic cloud resources, realizing resource sharing through the resource calling interface, updating the shared resource directory, and solving the problems of resource sharing and cost settlement.

Benefits of technology

It realizes the sharing of password cloud resource pools between different password cloud vendors, solves the confidentiality problem of device information and resource capabilities, and improves resource utilization and business security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118764159A_ABST
    Figure CN118764159A_ABST
Patent Text Reader

Abstract

The invention provides a password cloud resource pool sharing method and device and a storage medium, relates to the technical field of communication, and solves the technical problem that the sharing of password cloud resource pools of different password cloud manufacturers is difficult to realize due to the fact that equipment information and password resource capabilities of the password cloud manufacturers relate to company confidentiality in related technologies. The method comprises the following steps: reading a first block, and determining a password cloud service demand of a second node; the first block is used for representing a password cloud service demand of a second node in the alliance chain; the second node is a node except the first node in the alliance chain; in response to the condition that the password cloud resource of the first node meets the password cloud service requirement of the second node, allocating a target password cloud resource meeting the password cloud service requirement of the second node to the second node; determining a resource calling interface for sharing the target password cloud resource; and writing an identifier of the resource calling interface in the first block. The method and the device are used for password cloud resource pool sharing scenes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of communication technology, and in particular to a cryptographic cloud resource pool sharing method, device and storage medium. Background Art

[0002] Password Cloud Service is a service that stores and manages passwords in the cloud. Password Cloud builds a virtualized password resource pool based on password devices and creates password security service components through password security images, so as to quickly deploy and build password security capabilities and ensure business security. Users can store their passwords in the cloud server and access and share these passwords anytime, anywhere through mobile devices or computers.

[0003] As the demand for cryptographic cloud services continues to increase, the cryptographic resource pool of a cryptographic cloud vendor in a certain cryptographic cloud service area is difficult to meet the customer's cryptographic cloud service needs, which requires multiple cryptographic cloud vendors to share the cryptographic cloud resource pool to meet the customer's cryptographic cloud service needs. However, since the equipment information and cryptographic resource capabilities of each cryptographic cloud vendor involve company secrets, it is difficult to achieve the sharing of cryptographic cloud resource pools of different cryptographic cloud vendors. Summary of the invention

[0004] The present invention provides a cryptographic cloud resource pool sharing method, device and storage medium, which solves the technical problem in the related technology that the equipment information and cryptographic resource capabilities of each cryptographic cloud vendor involve company secrets, making it difficult to share cryptographic cloud resource pools of different cryptographic cloud vendors.

[0005] In order to achieve the above objectives, the present invention adopts the following technical solutions:

[0006] In a first aspect, a cryptographic cloud resource pool sharing method is provided, which is applied to a first node in a consortium chain, and the node in the consortium chain is a cryptographic cloud resource pool node. The method includes: reading a first block to determine the cryptographic cloud service demand of a second node; the first block is used to characterize the cryptographic cloud service demand of the second node in the consortium chain; the second node is a node other than the first node in the consortium chain; in response to the cryptographic cloud resources of the first node satisfying the cryptographic cloud service demand of the second node, allocating a target cryptographic cloud resource that satisfies the cryptographic cloud service demand of the second node to the second node; determining a resource call interface for sharing the target cryptographic cloud resource; and writing an identifier of the resource call interface in the first block.

[0007] In combination with the above-mentioned first aspect, in a possible implementation method, after writing the identifier of the resource call interface in the first block, the method also includes: in response to a sharing request of the target cryptographic cloud resource, sharing the target cryptographic cloud resource with the second node based on the resource call interface; based on the type and quantity of the shared target cryptographic cloud resources, updating the shared resource directory in the second block; the shared resource directory is used to record the sharable cryptographic cloud resource information of the nodes in the alliance chain; the second block is used to record the information of the nodes in the alliance chain.

[0008] In combination with the above-mentioned first aspect, in a possible implementation method, the method also includes: in response to a request to end sharing of the target cryptographic cloud resource, stopping sharing the target cryptographic cloud resource with the second node; and updating the shared resource directory in the second block based on the type and quantity of the target cryptographic cloud resource after the sharing is ended.

[0009] In combination with the above-mentioned first aspect, in a possible implementation method, before updating the shared resource directory in the second block, the method also includes: writing the shared resource directory into the second block; the shared resource directory includes at least one of the following: the identification of the first node, the types and quantity information of resources that can be provided by the password cloud resource pool of the first node.

[0010] In combination with the above-mentioned first aspect, in a possible implementation method, the cryptographic cloud service demand of the second node includes at least one of the following: the resource demand type of the second node, the resource demand quantity of the second node, the resource call interface field, and the identifier of the second node; the method specifically includes: when it is determined that the cryptographic cloud resources of the first node meet the cryptographic cloud service demand of the second node, obtaining the resource demand type of the second node and the resource demand quantity of the second node; allocating target cryptographic cloud resources to the second node based on the resource demand type of the second node and the resource demand quantity of the second node.

[0011] In combination with the above-mentioned first aspect, in a possible implementation method, the method also includes: receiving a cryptographic cloud service request from a user terminal; the cryptographic cloud service request includes: the resource type and resource quantity required for the cryptographic cloud service; when it is determined that the cryptographic cloud resources of the first node cannot meet the cryptographic cloud business needs of the user terminal, writing the cryptographic cloud service needs of the first node into the first block.

[0012] In combination with the above-mentioned first aspect, in a possible implementation method, the target cryptographic cloud resource usage information includes at least one of the following: resource usage type, resource usage time, resource usage quantity, and a second node identifier. The method also includes: obtaining the target cryptographic cloud resource usage information of the second node; determining the second node for settling the usage fee based on the second node identifier; and settling the resource usage type, resource usage time, and resource usage quantity based on the fee terms preset in the smart contract to determine the cryptographic cloud resource usage fee of the second node.

[0013] In a second aspect, a cryptographic cloud resource pool sharing device is provided, which includes: a processing unit; a processing unit for reading a first block to determine a cryptographic cloud service requirement of a second node; the first block is used to characterize the cryptographic cloud service requirement of a second node in a consortium chain; the second node is a node other than the first node in the consortium chain; a processing unit for allocating a target cryptographic cloud resource that meets the cryptographic cloud service requirement of the second node to the second node in response to the cryptographic cloud resource of the first node meeting the cryptographic cloud service requirement of the second node; a processing unit for determining a resource call interface for sharing a target cryptographic cloud resource; and a processing unit for writing an identifier of the resource call interface in the first block.

[0014] In combination with the above-mentioned second aspect, in a possible implementation method, after writing the identifier of the resource call interface in the first block, the processing unit is also used to: respond to a sharing request for the target cryptographic cloud resource, share the target cryptographic cloud resource with the second node based on the resource call interface; update the shared resource directory in the second block based on the type and quantity of the shared target cryptographic cloud resources; the shared resource directory is used to record the sharable cryptographic cloud resource information of the nodes in the alliance chain; the second block is used to record the information of the nodes in the alliance chain.

[0015] In combination with the above-mentioned second aspect, in a possible implementation method, the processing unit is also used to: in response to a request to end sharing of the target cryptographic cloud resource, stop sharing the target cryptographic cloud resource with the second node; and update the shared resource directory in the second block based on the type and quantity of the target cryptographic cloud resource after the sharing is ended.

[0016] In combination with the above-mentioned second aspect, in a possible implementation method, before updating the shared resource directory in the second block, the processing unit is also used to: write the shared resource directory into the second block; the shared resource directory includes at least one of the following: the identification of the first node, the types and quantity information of resources that can be provided by the password cloud resource pool of the first node.

[0017] In combination with the above-mentioned second aspect, in a possible implementation method, the cryptographic cloud service demand of the second node includes at least one of the following: the resource demand type of the second node, the resource demand quantity of the second node, the resource call interface field, and the identifier of the second node; the device also includes: a communication unit; a processing unit, specifically used to: when it is determined that the cryptographic cloud resources of the first node meet the cryptographic cloud service demand of the second node, instruct the communication unit to obtain the resource demand type of the second node and the resource demand quantity of the second node; based on the resource demand type of the second node and the resource demand quantity of the second node, allocate target cryptographic cloud resources to the second node.

[0018] In combination with the above-mentioned second aspect, in a possible implementation method, the processing unit is also used to: instruct the communication unit to receive a cryptographic cloud service request from a user terminal; the cryptographic cloud service request includes: the type and quantity of resources required for the cryptographic cloud service; when it is determined that the cryptographic cloud resources of the first node cannot meet the cryptographic cloud business requirements of the user terminal, the cryptographic cloud service requirements of the first node are written into the first block.

[0019] In combination with the above-mentioned second aspect, in a possible implementation method, the target cryptographic cloud resource usage information includes at least one of the following: resource usage type, resource usage time, resource usage quantity, and second node identification; the processing unit is also used to instruct the communication unit to obtain the target cryptographic cloud resource usage information of the second node; determine the second node for settling the usage fee based on the second node identification; based on the fee terms preset in the smart contract, settle the resource usage type, resource usage time, and resource usage quantity to determine the cryptographic cloud resource usage fee of the second node.

[0020] In a third aspect, a cryptographic cloud resource pool sharing device is provided, comprising: a processor and a memory; wherein the memory is used to store computer execution instructions, and when the cryptographic cloud resource pool sharing device is running, the processor executes the computer execution instructions stored in the memory, so that the cryptographic cloud resource pool sharing device executes the cryptographic cloud resource pool sharing method as described in the first aspect above and any possible implementation method thereof.

[0021] In a fourth aspect, a computer-readable storage medium is provided, in which instructions are stored. When the instructions in the computer-readable storage medium are executed by a processor of a cryptographic cloud resource pool sharing device, the cryptographic cloud resource pool sharing device executes the cryptographic cloud resource pool sharing method as described in the first aspect and any possible implementation method thereof.

[0022] In a fifth aspect, a chip is provided, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run a computer program or instructions to implement the cryptographic cloud resource pool sharing method as recorded in the above-mentioned first aspect and any possible implementation method thereof.

[0023] In the present disclosure, the name of the above-mentioned cryptographic cloud resource pool sharing device does not limit the device or functional module itself. In actual implementation, these devices or functional modules may appear with other names. As long as the functions of each device or functional module are similar to those of the present disclosure, they belong to the scope of the present disclosure and its equivalent technologies.

[0024] The technical solution provided by the present disclosure brings at least the following beneficial effects: The present disclosure provides a method for sharing a cryptographic cloud resource pool, the method comprising: reading a first block to determine the cryptographic cloud service requirements of a second node; the first block is used to characterize the cryptographic cloud service requirements of a second node in a consortium chain; the second node is a node other than the first node in the consortium chain; that is, reading the cryptographic cloud service requirements in the first block; in response to the cryptographic cloud resources of the first node satisfying the cryptographic cloud service requirements of the second node, allocating to the second node a target cryptographic cloud resource that satisfies the cryptographic cloud service requirements of the second node; when it is determined that the first node can satisfy the cryptographic cloud requirements of the second node, allocating to the second node a target cryptographic cloud resource that satisfies the cryptographic cloud service requirements of the second node; determining a resource call interface for sharing the target cryptographic cloud resource; writing an identifier of the resource call interface in the first block; determining a resource call interface for sharing the target cryptographic cloud resource based on the target cryptographic cloud resource, and writing the identifier of the resource call interface in the first block. In this way, the second node can read the identifier of the resource call interface in the first block, call the target cryptographic cloud resource through the resource call interface, and realize the sharing of cryptographic cloud resources between nodes in the alliance chain, thereby solving the technical problem that the equipment information and cryptographic resource capabilities of each cryptographic cloud vendor involve company secrets, making it difficult to share cryptographic cloud resource pools of different cryptographic cloud vendors. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art are briefly introduced below.

[0026] Figure 1 A schematic diagram of the structure of a cryptographic cloud resource pool sharing system provided in an embodiment of the present disclosure;

[0027] Figure 2 A schematic diagram of the hardware structure of a cryptographic cloud resource pool sharing device provided in an embodiment of the present disclosure;

[0028] Figure 3 A flowchart of a cryptographic cloud resource pool sharing method provided in an embodiment of the present disclosure;

[0029] Figure 4 A flowchart of another cryptographic cloud resource pool sharing method provided in an embodiment of the present disclosure;

[0030] Figure 5 A flowchart of another cryptographic cloud resource pool sharing method provided in an embodiment of the present disclosure;

[0031] Figure 6 A flowchart of another cryptographic cloud resource pool sharing method provided in an embodiment of the present disclosure;

[0032] Figure 7 A flowchart of another cryptographic cloud resource pool sharing method provided in an embodiment of the present disclosure;

[0033] Figure 8 A flowchart of another cryptographic cloud resource pool sharing method provided in an embodiment of the present disclosure;

[0034] Fig. 9 A flowchart of another cryptographic cloud resource pool sharing method provided in an embodiment of the present disclosure;

[0035] Fig.10 A flowchart of another cryptographic cloud resource pool sharing method provided in an embodiment of the present disclosure;

[0036] Fig.11 A schematic diagram of the structure of a cryptographic cloud resource pool sharing device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0037] The following is a detailed description of a cryptographic cloud resource pool sharing method, device and storage medium provided by an embodiment of the present disclosure in conjunction with the accompanying drawings.

[0038] The term "and / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0039] The terms “first”, “second” and the like in the specification and drawings of the present disclosure are used to distinguish different objects, or to distinguish different processing of the same object, rather than to describe a specific order of objects.

[0040] In addition, the terms "including" and "having" and any variations thereof mentioned in the description of the present disclosure 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 limited to the listed steps or units, but optionally includes other steps or units that are not listed, or optionally includes other steps or units that are inherent to these processes, methods, products or devices. It should be noted that in the embodiments of the present disclosure, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present disclosure should not be interpreted as being more preferred or more advantageous than other embodiments or design solutions. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0041] In the description of the present disclosure, unless otherwise specified, “plurality” means two or more.

[0042] Password cloud service is a service that stores and manages passwords through the cloud. Password cloud builds a virtualized password resource pool based on password devices and creates password security service components through password security images, so as to quickly deploy and build password security capabilities and ensure business security. Users can store their passwords in cloud servers and access and share these passwords anytime and anywhere through mobile devices or computers. With the increasing demand for password cloud services, the password resource pool of a password cloud vendor in a certain password cloud service area is difficult to meet the password cloud service needs of customers. This requires multiple password cloud vendors to share the password cloud resource pool to meet the password cloud service needs of customers. However, since the device information and password resource capabilities of each password cloud vendor involve company secrets, it is difficult to share the password cloud resource pools of different password cloud vendors.

[0043] In order to solve the above technical problems, the present disclosure provides a cryptographic cloud resource pool sharing method, device and storage medium, which are used to solve the technical problem that the equipment information and cryptographic resource capabilities of each cryptographic cloud vendor involve company secrets, and it is difficult to share the cryptographic cloud resource pools of different cryptographic cloud vendors. Applied to the first node in the alliance chain, the node in the alliance chain is a cryptographic cloud resource pool node, the method includes: reading the first block to determine the cryptographic cloud service requirements of the second node; the first block is used to characterize the cryptographic cloud service requirements of the second node in the alliance chain; the second node is a node other than the first node in the alliance chain; that is, reading the cryptographic cloud service requirements in the first block; in response to the cryptographic cloud resources of the first node satisfying the cryptographic cloud service requirements of the second node, allocating the target cryptographic cloud resources that meet the cryptographic cloud service requirements of the second node to the second node; when it is determined that the first node can meet the cryptographic cloud requirements of the second node, allocating the cryptographic cloud that meets the second node to the second node. The target cryptographic cloud resource for service demand; determining the resource call interface for sharing the target cryptographic cloud resource; writing the identifier of the resource call interface in the first block; determining the resource call interface for sharing the target cryptographic cloud resource based on the target cryptographic cloud resource, and writing the identifier of the resource call interface in the first block, so that the second node reads the identifier of the resource call interface and calls the target cryptographic cloud resource through the resource call interface; in this way, the sharing of cryptographic cloud resources between nodes in the alliance chain is realized, thereby solving the technical problem that the equipment information and cryptographic resource capabilities of each cryptographic cloud vendor involve company secrets, and it is difficult to realize the sharing of cryptographic cloud resource pools of different cryptographic cloud vendors.

[0044] In a possible implementation, the above cryptographic cloud resource pool sharing method can be applied to the cryptographic cloud resource pool sharing system 100. Figure 1 A cryptographic cloud resource pool sharing system 100 provided in an embodiment of the present application is described in detail. Figure 1 As shown, Figure 1 A cryptographic cloud resource pool sharing system 100 is provided for an embodiment of the present disclosure, and the system includes: a cryptographic cloud resource pool sharing device 101 applied to a first node, and a cryptographic cloud resource pool sharing device 102 applied to a second node.

[0045] Among them, the cryptographic cloud resource pool sharing device 101 applied to the first node is used to read the first block and determine the cryptographic cloud service requirements of the second node; the first block is used to represent the cryptographic cloud service requirements of the second node in the alliance chain; the second node is a node other than the first node in the alliance chain; in response to the cryptographic cloud resources of the first node meeting the cryptographic cloud service requirements of the second node, the target cryptographic cloud resources that meet the cryptographic cloud service requirements of the second node are allocated to the second node; a resource call interface for sharing the target cryptographic cloud resources is determined; and an identifier of the resource call interface is written in the first block.

[0046] The cryptographic cloud resource pool sharing device 102 applied to the second node is used to read the resource calling interface identifier in the first block, generate a resource calling interface based on the resource calling interface identifier, and call the target cryptographic cloud resource.

[0047] In a possible implementation, the hardware structure of the cryptographic cloud resource pool sharing device includes: Figure 2 The components of the cryptographic cloud resource pool sharing device 200 shown in FIG. Figure 2 The hardware structure of the cryptographic cloud resource pool sharing device 200 is introduced as an example. Figure 2 As shown, the cryptographic cloud resource pool sharing device 200 includes at least one processor 201, a communication line 202, and at least one communication interface 204, and may also include a memory 203. The processor 201, the memory 203 and the communication interface 204 may be connected via the communication line 202.

[0048] The processor 201 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present disclosure, such as one or more digital signal processors (DSP), or one or more field programmable gate arrays (FPGA).

[0049] The communication link 202 may include a pathway for transmitting information between the above-mentioned components.

[0050] The communication interface 204 is used to communicate with other devices or communication networks, and can use any transceiver-like device, such as Ethernet, radio access network (RAN), wireless local area network (WLAN), etc.

[0051] The memory 203 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, an optical disc storage (including compressed optical discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to include or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.

[0052] In one possible design, the memory 203 can exist independently of the processor 201, that is, the memory 203 can be a memory outside the processor 201. In this case, the memory 203 can be connected to the processor 201 through the communication line 202, and is used to store execution instructions or application code, and the execution is controlled by the processor 201 to implement the cryptographic cloud resource pool sharing method provided in the following embodiment of the present disclosure. In another possible design, the memory 203 can also be integrated with the processor 201, that is, the memory 203 can be the internal memory of the processor 201, for example, the memory 203 is a high-speed cache, which can be used to temporarily store some data and instruction information.

[0053] As an implementation method, the processor 201 may include one or more CPUs, for example Figure 2 As another achievable method, the cryptographic cloud resource pool sharing device 200 may include multiple processors, such as Figure 2 As another implementation, the cryptographic cloud resource pool sharing device 200 may further include an output device 205 and an input device 206.

[0054] In the following, a cryptographic cloud resource pool sharing method provided by an embodiment of the present disclosure is described in detail.

[0055] like Figure 3 As shown, Figure 3 A cryptographic cloud resource pool sharing method provided in an embodiment of the present disclosure can be applied to Figure 2 In the cryptographic cloud resource pool sharing device shown, the method includes the following S301-S304, which are described in detail below.

[0056] S301. The cryptographic cloud resource pool sharing device reads the first block to determine the cryptographic cloud service requirements of the second node.

[0057] Among them, the first block is used to represent the cryptographic cloud service requirements of the second node in the alliance chain; the second node is a node other than the first node in the alliance chain.

[0058] In one possible implementation, the cryptographic cloud resource pool sharing device obtains the cryptographic cloud service requirements of other nodes in the alliance chain from the first block.

[0059] It can be understood that the cryptographic cloud demand is the cryptographic cloud service demand written into the first block when the local cryptographic cloud resource pool of other nodes cannot meet the user's cryptographic cloud business needs.

[0060] S302. In response to the cryptographic cloud resources of the first node satisfying the cryptographic cloud service requirements of the second node, the cryptographic cloud resource pool sharing device allocates target cryptographic cloud resources that meet the cryptographic cloud service requirements of the second node to the second node.

[0061] In one possible implementation, when it is determined that the cryptographic cloud resources that can be shared by the first node meet the cryptographic cloud service requirements of the second node, the cryptographic cloud resource pool sharing device allocates the target cryptographic cloud resources required by the cryptographic cloud service of the second node to the second node.

[0062] Exemplarily, the cryptographic cloud resource pool sharing device obtains the types and quantities of cryptographic cloud resources required for the cryptographic cloud service needs of the second node, and determines that the cryptographic cloud resources that can be shared by the first node can meet the cryptographic cloud service needs of the second node, and allocates the target cryptographic cloud resources required for the cryptographic cloud service of the second node to the second node.

[0063] S303. The cryptographic cloud resource pool sharing device determines a resource calling interface for sharing the target cryptographic cloud resource.

[0064] In one possible implementation, the cryptographic cloud resource pool sharing device determines the type of the target cryptographic cloud resource and the location of the target cryptographic cloud, and then determines the resource calling interface for sharing the target cryptographic cloud resource.

[0065] S304. The cryptographic cloud resource pool sharing device writes the identifier of the resource calling interface in the first block.

[0066] In a possible implementation, the cryptographic cloud resource pool sharing device writes the identification field of the resource call interface of the shared target cryptographic cloud resource into the first block.

[0067] It is understandable that the second node can read the identifier of the resource calling interface from the first block, generate a resource calling interface according to the identifier of the resource calling interface, and call the target cryptographic cloud resource through the resource calling interface.

[0068] The technical solution provided by the above embodiments can at least bring the following beneficial effects: reading the first block to determine the cryptographic cloud service requirements of the second node; the first block is used to characterize the cryptographic cloud service requirements of the second node in the alliance chain; the second node is a node other than the first node in the alliance chain; that is, reading the cryptographic cloud service requirements in the first block; in response to the cryptographic cloud resources of the first node satisfying the cryptographic cloud service requirements of the second node, allocating target cryptographic cloud resources that satisfy the cryptographic cloud service requirements of the second node to the second node; when it is determined that the first node can satisfy the cryptographic cloud requirements of the second node, allocating target cryptographic cloud resources that satisfy the cryptographic cloud service requirements of the second node to the second node; determining a resource call interface for sharing the target cryptographic cloud resource; writing an identifier of the resource call interface in the first block; determining a resource call interface for sharing the target cryptographic cloud resource based on the target cryptographic cloud resource, and writing the identifier of the resource call interface in the first block. In this way, the second node can read the identifier of the resource call interface in the first block, call the target cryptographic cloud resource through the resource call interface, and realize the sharing of cryptographic cloud resources between nodes in the alliance chain, thereby solving the technical problem that the equipment information and cryptographic resource capabilities of each cryptographic cloud vendor involve company secrets, making it difficult to share cryptographic cloud resource pools of different cryptographic cloud vendors.

[0069] In one possible implementation, Figure 4 As shown, after the above S304, the cryptographic cloud resource pool sharing device writes the identifier of the resource call interface in the first block, it is also necessary to update the shared resource directory in the second block. This process can be specifically implemented through the following S401-S402, which is described in detail below.

[0070] S401. The cryptographic cloud resource pool sharing device responds to a sharing request of a target cryptographic cloud resource and shares the target cryptographic cloud resource with a second node based on a resource calling interface.

[0071] In one possible implementation, the second node reads the identifier of the resource call interface from the first block and generates a resource call interface based on the identifier of the resource call interface. The cryptographic cloud resource pool sharing device responds to the sharing request of the target cryptographic cloud resource and shares the target cryptographic cloud resource to the second node based on the resource call interface.

[0072] In a possible implementation, the resource calling interface is an application programming interface (Application Programming Interface, API).

[0073] S402. The cryptographic cloud resource pool sharing device updates the shared resource directory in the second block based on the type and quantity of the shared target cryptographic cloud resources.

[0074] The shared resource directory is used to record the sharable crypto cloud resource information of nodes in the alliance chain. The second block is used to record the information of nodes in the alliance chain.

[0075] In one possible implementation, the shared resource directory records the sharable cryptographic cloud resource information of all nodes in the alliance chain. When the first node shares the target cryptographic cloud resource to the second node, the shared resource directory in the second block needs to be updated according to the shared target cryptographic cloud resource.

[0076] The technical solution provided by the above embodiment can at least bring the following beneficial effects: the cryptographic cloud resource pool sharing device responds to the sharing request of the target cryptographic cloud resource, shares the target cryptographic cloud resource with the second node based on the resource call interface, and then updates the shared resource directory in the second block for recording the sharable cryptographic cloud resource information of the nodes in the alliance chain based on the type and quantity of the shared target cryptographic cloud resource, so as to avoid other nodes in the alliance chain repeatedly sending cryptographic cloud service requirements to the first node.

[0077] In one possible implementation, Figure 5 As shown, when the first node stops sharing the target cryptographic cloud resource to the second node, the shared resource directory in the second block needs to be updated. This process can be specifically determined by the following S501-S502, which is described in detail below.

[0078] S501. The cryptographic cloud resource pool sharing device stops sharing the target cryptographic cloud resource with the second node in response to a request to end sharing of the target cryptographic cloud resource.

[0079] In one possible implementation, when the local cryptographic cloud resource pool of the second node can meet the user's cryptographic cloud business needs, a sharing end request is sent to the first target node, and the cryptographic cloud resource pool sharing device responds to the sharing end request of the target cryptographic cloud resource and stops sharing the target cryptographic cloud resource with the second node.

[0080] S502. The cryptographic cloud resource pool sharing device updates the shared resource directory in the second block based on the type and quantity of the target cryptographic cloud resources after the sharing is completed.

[0081] In one possible implementation, after the sharing is completed, the cryptographic cloud resource pool sharing device reclaims the unused cryptographic cloud resources of the second node, and updates the shared resource directory in the second block based on the type and quantity of the unused cryptographic cloud resources.

[0082] The technical solution provided by the above embodiment can at least bring the following beneficial effects: the cryptographic cloud resource pool sharing device stops sharing the target cryptographic cloud resource to the second node in response to the sharing end request of the target cryptographic cloud resource, and updates the shared resource directory in the second block based on the type and quantity of unused cryptographic cloud resources.

[0083] In one possible implementation, combining Figure 4 ,like Figure 6 As shown, before updating the shared resource directory in the second block, it is necessary to construct the shared resource directory, which can be specifically implemented by the following S601, which is described in detail below.

[0084] S601, the cryptographic cloud resource pool sharing device writes the shared resource directory into the second block.

[0085] The shared resource directory includes at least one of the following: an identifier of the first node, and information on the types and quantity of resources that can be provided by the password cloud resource pool of the first node.

[0086] In one possible implementation, the cryptographic cloud resource pool sharing device writes the shared resource directories of all nodes in the alliance chain into the second block.

[0087] The technical solution provided by the above embodiment can at least bring the following beneficial effects: the cryptographic cloud resource pool sharing device writes the shared resource directory into the second block, so that the nodes in the alliance chain determine the nodes with the cryptographic cloud resources required by the node based on the shared resource directory, and send the cryptographic cloud service requirements to the node.

[0088] In a possible implementation, the cryptographic cloud service requirement of the second node includes at least one of the following: the resource requirement type of the second node, the resource requirement quantity of the second node, the resource call interface field, and the identifier of the second node. Figure 3 ,like Figure 7 As shown, the above-mentioned S302, the process of the cryptographic cloud resource pool sharing device allocating target cryptographic cloud resources that meet the cryptographic cloud service requirements of the second node to the second node in response to the cryptographic cloud resources of the first node meeting the cryptographic cloud service requirements of the second node, can be specifically implemented through the following S701-S702, which is described in detail below.

[0089] S701. When determining that the cryptographic cloud resources of the first node meet the cryptographic cloud service requirements of the second node, the cryptographic cloud resource pool sharing device obtains the resource requirement type and resource requirement quantity of the second node.

[0090] In one possible implementation, the cryptographic cloud resource pool sharing device reads the shared resource directory of the first node in the second block, and determines whether the cryptographic cloud Ziyun of the first node meets the cryptographic cloud service requirements of the second node based on the shared resource directory of the first node.

[0091] In one possible implementation, when it is determined that the cryptographic cloud resources of the first node meet the cryptographic cloud service requirements of the second node, the cryptographic cloud resource pool sharing device obtains the resource requirement type and the resource requirement quantity of the second node from the cryptographic cloud service requirements.

[0092] S702. The cryptographic cloud resource pool sharing device allocates target cryptographic cloud resources to the second node based on the resource requirement type and the resource requirement quantity of the second node.

[0093] In one possible implementation, after obtaining the resource requirement type and resource requirement quantity of the second node, the cryptographic cloud resource pool sharing device determines the target cryptographic cloud resource with the same resource requirement type as the second node from the local cryptographic cloud resource pool, and allocates the target cryptographic cloud resource to the second node according to the resource requirement quantity.

[0094] The technical solution provided by the above embodiment can at least bring about the following beneficial effects: when the cryptographic cloud resource pool sharing device determines that the cryptographic cloud resources of the first node meet the cryptographic cloud service requirements of the second node, it obtains the resource requirement type and the resource requirement quantity of the second node, and allocates target cryptographic cloud resources to the second node based on the resource requirement type and the resource requirement quantity of the second node, so that the second node can meet the user's cryptographic cloud business needs through the target cryptographic cloud resources.

[0095] In one possible implementation, Figure 8 As shown, when the first node cannot meet the cryptographic cloud service request of the user terminal, the cryptographic cloud service requirement of the first node needs to be written into the first block. This process can be specifically implemented through the following S801-S802, which is described in detail below.

[0096] S801. The cryptographic cloud resource pool sharing device receives a cryptographic cloud service request from a user terminal.

[0097] In a possible implementation, the cryptographic cloud service request includes: resource types and resource quantities required by the cryptographic cloud service.

[0098] S802. When it is determined that the cryptographic cloud resources of the first node cannot meet the cryptographic cloud business requirements of the user terminal, the cryptographic cloud resource pool sharing device writes the cryptographic cloud service requirements of the first node into the first block.

[0099] In one possible implementation, the cryptographic cloud resource pool sharing device receives a cryptographic cloud service request from a user terminal, and when it is determined that the resource type of the local cryptographic cloud resource pool cannot meet the cryptographic cloud business needs of the user terminal, the cryptographic cloud service needs of the first node are written into the first block, so that other nodes in the alliance chain share cryptographic cloud resources with the first node based on the cryptographic cloud service needs of the first node.

[0100] In one possible implementation, the cryptographic cloud resource pool sharing device receives a cryptographic cloud service request from a user terminal, and when it is determined that the number of resources in the local cryptographic cloud resource pool cannot meet the cryptographic cloud service needs of the user terminal, the cryptographic cloud service needs of the first node are written into the first block, so that other nodes in the alliance chain share cryptographic cloud resources with the first node based on the cryptographic cloud service needs of the first node.

[0101] The technical solution provided by the above embodiments can at least bring the following beneficial effects: the cryptographic cloud resource pool sharing device receives a cryptographic cloud service request from a user terminal, and when it is determined that the resource types and / or quantities of the local cryptographic cloud resource pool cannot meet the cryptographic cloud business needs of the user terminal, the cryptographic cloud service needs of the first node are written into the first block, so that other nodes in the alliance chain share cryptographic cloud resources with the first node based on the cryptographic cloud service needs of the first node.

[0102] In a possible implementation, the target cryptographic cloud resource usage information includes at least one of the following: resource usage type, resource usage time, resource usage quantity, and second node identifier; Fig. 9 As shown, after the second node uses the target cryptographic cloud resources, it is necessary to settle the usage fee of the target cryptographic cloud resources. This process can be specifically implemented through the following S901-S903, which is described in detail below.

[0103] S901. The cryptographic cloud resource pool sharing device obtains the target cryptographic cloud resource usage information of the second node.

[0104] In a possible implementation, the cryptographic cloud resource pool sharing device obtains the type of resources used by the second node, the time of using the resources, and the amount of resources used.

[0105] S902. The cryptographic cloud resource pool sharing device determines a second node for settling usage fees based on the second node identifier.

[0106] In a possible implementation, the cryptographic cloud resource pool sharing device determines the second node for settling the usage fee according to the second node identifier in the cryptographic cloud resource usage information.

[0107] S903. The cryptographic cloud resource pool sharing device settles the type of resource used, the time of resource use, and the amount of resource used based on the fee terms preset in the smart contract, and determines the cryptographic cloud resource usage fee of the second node.

[0108] In one possible implementation method, relevant billing rules regarding the type of cryptographic cloud resources, the time of resource usage, and the amount of resource usage are preset in the smart contract. The cryptographic cloud resource pool sharing device settles the type of resource usage, the time of resource usage, and the amount of resource usage based on the fee terms preset in the smart contract to determine the cryptographic cloud resource usage fee of the second node.

[0109] The technical solution provided by the above embodiment can at least bring the following beneficial effects: the cryptographic cloud resource pool sharing device settles the resource type, resource usage time, and resource usage quantity based on the fee terms preset in the smart contract, and determines the cryptographic cloud resource usage fee of the second node; so that the nodes in the determined alliance chain settle the usage fee of the cryptographic cloud shared resources after using the cryptographic cloud shared resources.

[0110] In one possible implementation, Fig.10 As shown, Fig.10 A flowchart of another cryptographic cloud resource pool sharing method provided for an embodiment of the present disclosure; the process specifically includes the following S1001-S1008, which are described in detail below.

[0111] S1001. The cryptographic cloud resource pool sharing device receives new business requirements.

[0112] S1002. The cryptographic cloud resource pool sharing device determines whether the local cryptographic cloud resource pool meets the new business requirements. If so, execute the following S1003; if not, execute the following S1004.

[0113] S1003. The cryptographic cloud resource pool sharing device utilizes local resources to connect with the newly added business.

[0114] S1004. The cryptographic cloud resource pool sharing device writes the required cryptographic cloud resource information to the first block and updates the cryptographic cloud service requirements in the first block.

[0115] S1005. The cryptographic cloud resource pool sharing device determines the nodes that can meet the cryptographic cloud service requirements.

[0116] S1006. The cryptographic cloud resource pool sharing device starts a smart contract to record the usage of cryptographic cloud resource pool resources.

[0117] S1007. The cryptographic cloud resource pool sharing device is connected to the first node and updates the cryptographic cloud service requirements in the first block.

[0118] S1008. The cryptographic cloud resource pool sharing device updates the cryptographic cloud resource pool information of the local node.

[0119] It can be seen that the above mainly introduces the technical solution provided by the embodiment of the present disclosure from the perspective of the method. In order to achieve the above functions, it includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the modules and algorithm steps of each example described in the embodiment disclosed herein, the embodiment of the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present disclosure.

[0120] The disclosed embodiment can divide the cryptographic cloud resource pool sharing device into functional modules according to the above method example. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. Optionally, the division of modules in the disclosed embodiment is schematic and is only a logical functional division. There may be other division methods in actual implementation.

[0121] In one possible implementation, Fig.11 , Fig.11 A schematic diagram of the structure of a cryptographic cloud resource pool sharing device 1100 provided in the present disclosure.

[0122] A cryptographic cloud resource pool sharing device 1100 includes: a processing unit 1102; the processing unit 1102 is used to read the first block and determine the cryptographic cloud service requirements of the second node; the first block is used to represent the cryptographic cloud service requirements of the second node in the alliance chain; the second node is a node other than the first node in the alliance chain; the processing unit 1102 is used to respond to the cryptographic cloud resources of the first node satisfying the cryptographic cloud service requirements of the second node, and allocate to the second node a target cryptographic cloud resource that meets the cryptographic cloud service requirements of the second node; the processing unit 1102 is used to determine a resource call interface for sharing the target cryptographic cloud resource; the processing unit 1102 is used to write an identifier of the resource call interface in the first block.

[0123] In one possible implementation, after writing the identifier of the resource call interface in the first block, the processing unit 1102 is also used to: respond to a sharing request for the target cryptographic cloud resource, share the target cryptographic cloud resource with the second node based on the resource call interface; update the shared resource directory in the second block based on the type and quantity of the shared target cryptographic cloud resources; the shared resource directory is used to record the sharable cryptographic cloud resource information of the nodes in the alliance chain; the second block is used to record the information of the nodes in the alliance chain.

[0124] In one possible implementation, the processing unit 1102 is further used to: in response to a request to end sharing of the target cryptographic cloud resource, stop sharing the target cryptographic cloud resource with the second node; and update the shared resource directory in the second block based on the type and quantity of the target cryptographic cloud resource after the sharing is ended.

[0125] In one possible implementation, before updating the shared resource directory in the second block, the processing unit 1102 is also used to: write the shared resource directory into the second block; the shared resource directory includes at least one of the following: the identifier of the first node, and the types and quantity information of resources that can be provided by the password cloud resource pool of the first node.

[0126] In one possible implementation, the cryptographic cloud service demand of the second node includes at least one of the following: the resource demand type of the second node, the resource demand quantity of the second node, the resource call interface field, and the identifier of the second node; the device also includes: a communication unit 1101; a processing unit 1102, specifically used to: when it is determined that the cryptographic cloud resources of the first node meet the cryptographic cloud service demand of the second node, instruct the communication unit 1101 to obtain the resource demand type of the second node and the resource demand quantity of the second node; based on the resource demand type of the second node and the resource demand quantity of the second node, allocate target cryptographic cloud resources to the second node.

[0127] In one possible implementation, the processing unit 1102 is also used to: instruct the communication unit 1101 to receive a cryptographic cloud service request from a user terminal; the cryptographic cloud service request includes: the type and quantity of resources required for the cryptographic cloud service; when it is determined that the cryptographic cloud resources of the first node cannot meet the cryptographic cloud business requirements of the user terminal, write the cryptographic cloud service requirements of the first node into the first block.

[0128] In one possible implementation, the target cryptographic cloud resource usage information includes at least one of the following: resource usage type, resource usage time, resource usage quantity, and second node identification; the processing unit 1102 is also used to instruct the communication unit 1101 to obtain the target cryptographic cloud resource usage information of the second node; determine the second node for settling the usage fee based on the second node identification; based on the fee terms preset in the smart contract, settle the resource usage type, resource usage time, and resource usage quantity to determine the cryptographic cloud resource usage fee of the second node.

[0129] The embodiment of the present disclosure also provides a cryptographic cloud resource pool sharing device, which includes a processor and a memory; wherein the memory is used to store computer execution instructions, and when the cryptographic cloud resource pool sharing device is running, the processor executes the computer execution instructions stored in the memory, so that the cryptographic cloud resource pool sharing device executes the cryptographic cloud resource pool sharing method recorded in the embodiment of the present disclosure.

[0130] An embodiment of the present disclosure provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute the cryptographic cloud resource pool sharing method in the above method embodiment.

[0131] An embodiment of the present disclosure provides a chip, which includes a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run a computer program or instruction to implement a cryptographic cloud resource pool sharing method as in the above method embodiment.

[0132] Among them, the computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable computer disk, and a hard disk. Random Access Memory (RAM), Read-Only Memory (ROM), Erasable Programmable Read Only Memory (EPROM), registers, hard disks, optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any other form of computer-readable storage medium in a suitable combination of the above, or numerical values ​​in the art. 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). In the embodiments of the present disclosure, computer-readable storage media may be any tangible media that contains or stores a program that may be used by or in conjunction with an instruction execution system, apparatus, or device.

[0133] Since the apparatus, device, computer-readable storage medium, and computer program product in the embodiments of the present disclosure can be applied to the above-mentioned method, the technical effects that can be obtained can also refer to the above-mentioned method embodiments, and the embodiments of the present disclosure will not be repeated here.

[0134] The above is only a specific implementation of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present disclosure should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A cryptographic cloud resource pool sharing method, characterized in that: Applied to a first node in a consortium chain, where the node in the consortium chain is a cryptographic cloud resource pool node, the method includes: Reading the first block to determine the cryptographic cloud service requirements of the second node; the first block is used to represent the cryptographic cloud service requirements of the second node in the alliance chain; the second node is a node other than the first node in the alliance chain; In response to the cryptographic cloud resources of the first node satisfying the cryptographic cloud service requirements of the second node, allocating to the second node a target cryptographic cloud resource satisfying the cryptographic cloud service requirements of the second node; Determining a resource calling interface for sharing the target cryptographic cloud resource; The identifier of the resource calling interface is written into the first block.

2. The method according to claim 1, characterized in that After writing the identifier of the resource calling interface into the first block, the method further includes: In response to a sharing request of the target cryptographic cloud resource, sharing the target cryptographic cloud resource with the second node based on the resource calling interface; Based on the type and quantity of the shared target cryptographic cloud resources, the shared resource directory in the second block is updated; the shared resource directory is used to record the sharable cryptographic cloud resource information of the nodes in the alliance chain; the second block is used to record the information of the nodes in the alliance chain.

3. The method according to claim 2, characterized in that The method further comprises: In response to a request to end sharing of the target cryptographic cloud resource, stop sharing the target cryptographic cloud resource with the second node; Based on the type and quantity of the target cryptographic cloud resources after the sharing is completed, the shared resource directory in the second block is updated.

4. The method according to claim 3, characterized in that Before updating the shared resource directory in the second block, the method further includes: Writing a shared resource directory into the second block; the shared resource directory includes at least one of the following: the identifier of the first node, and the types and quantity of resources that can be provided by the password cloud resource pool of the first node.

5. The method according to claim 4, characterized in that The cryptographic cloud service requirement of the second node includes at least one of the following: a resource requirement type of the second node, a resource requirement quantity of the second node, a resource call interface field, and an identifier of the second node; in response to the cryptographic cloud resource of the first node satisfying the cryptographic cloud service requirement of the second node, allocating a target cryptographic cloud resource satisfying the cryptographic cloud service requirement of the second node to the second node, including: When it is determined that the cryptographic cloud resources of the first node meet the cryptographic cloud service requirements of the second node, obtaining the resource requirement type of the second node and the resource requirement quantity of the second node; The target cryptographic cloud resource is allocated to the second node based on the resource requirement type of the second node and the resource requirement quantity of the second node.

6. The method according to claim 5, characterized in that The method further comprises: Receiving a cryptographic cloud service request from a user terminal; the cryptographic cloud service request includes: resource types and resource quantities required by the cryptographic cloud service; When it is determined that the cryptographic cloud resources of the first node cannot meet the cryptographic cloud service requirements of the user terminal, the cryptographic cloud service requirements of the first node are written into the first block.

7. The method according to any one of claims 1 to 6, characterized in that: The target cryptographic cloud resource usage information includes at least one of the following: resource usage type, resource usage time, resource usage quantity, and the second node identifier. The method further includes: Obtaining information about the target cryptographic cloud resource usage by the second node; Determining the second node for settling the usage fee based on the second node identifier; Based on the fee terms preset in the smart contract, the type of resource used, the time of resource use, and the amount of resource used are settled to determine the cryptographic cloud resource usage fee of the second node.

8. A cryptographic cloud resource pool sharing device, characterized in that: include: Processing unit; The processing unit is used to read the first block and determine the cryptographic cloud service demand of the second node; The first block is used to represent the cryptographic cloud service requirements of the second node in the alliance chain; The second node is a node other than the first node in the alliance chain; The processing unit is configured to allocate, to the second node, a target cryptographic cloud resource that meets the cryptographic cloud service requirement of the second node in response to the cryptographic cloud resource of the first node meeting the cryptographic cloud service requirement of the second node; The processing unit is used to determine a resource calling interface for sharing the target cryptographic cloud resource; The processing unit is used to write the identifier of the resource calling interface in the first block.

9. A cryptographic cloud resource pool sharing device, characterized in that: include: A processor and a memory; wherein the memory is used to store computer execution instructions, and when the cryptographic cloud resource pool sharing device is running, the processor executes the computer execution instructions stored in the memory to enable the cryptographic cloud resource pool sharing device to execute the cryptographic cloud resource pool sharing method described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions. When the instructions in the computer-readable storage medium are executed by a processor shared by the cryptographic cloud resource pool, the cryptographic cloud resource pool sharing device executes the cryptographic cloud resource pool sharing method described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Construction method of cloud manufacturing service platform based on public chain

    CN111489239A

  • Cloud resource processing method and device, equipment and storage medium

    CN116471327A

  • Resource sharing method, resource sharing device and storage medium

    CN116684413A

  • Password resource pool management method and device, equipment and storage medium

    CN117370954A

  • Multi-scene cloud platform password management method and system

    CN117892287A