Cloud server cryptographic machine system based on multiple virtualization technologies and implementation method

By integrating multiple virtualization technologies and creating and managing multiple virtual cryptographic machines, the problem of limited flexibility and security of the existing cloud server cryptographic machine system is solved, meeting diverse needs and encrypting virtual cryptographic cards. Key isolation improves system compatibility and scalability.

CN118331686BActive Publication Date: 2024-09-17BEIJING SANSEC TECH DEV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410757837.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-13
Publication Date
2024-09-17
Estimated Expiration
2044-06-13

AI Technical Summary

Technical Problem

The existing cloud server cryptographic machine system only supports a single virtualization technology, which limits its flexibility and security and cannot meet diverse needs.

Method used

Adopt a cloud server cryptographic machine system based on multiple virtualization technologies, integrate multiple virtualization technologies such as KVM, KATA, Docker, Xen, and Podman through hardware virtualization cards and management centers to create and manage a variety of virtual cryptographic machines to improve System security and flexibility.

Benefits of technology

It realizes that a single cloud server cryptographic machine supports multiple virtualization types, meets the diverse needs of different users, ensures the key isolation of virtual cryptographic cards, and improves the compatibility and scalability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118331686B
    Figure CN118331686B
Patent Text Reader

Abstract

This invention discloses a cloud server cryptographic machine system and its implementation method based on multiple virtualization technologies, relating to the field of cloud computing technology. The system includes a cloud server cryptographic machine, a hardware virtualization card, and a management center. The cloud server cryptographic machine connects to the hardware virtualization card and the management center. The hardware virtualization card is virtualized into several virtual cryptographic cards. The management center sends a creation request to the cloud server cryptographic machine. The cloud server cryptographic machine creates virtual cryptographic machines according to the creation request and manages and binds the corresponding virtual cryptographic cards. The cloud server cryptographic machine includes a device management module, a virtualization module, and an image repository. The device management module calls the virtualization module to select a virtualization technology according to the creation request. The virtualization module obtains the image file corresponding to the selected virtualization technology from the image repository, loads the corresponding image based on the image file, and creates a virtual cryptographic machine based on the image. This invention can create and manage multiple virtual cryptographic machines to meet diverse needs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of cloud computing technology, and more specifically to a cloud server cryptographic machine system based on multiple virtualization technologies and an implementation method thereof. Background Art

[0002] The cloud server cryptographic machine system supports multiple virtualizations, allowing the system to take advantage of advanced features of virtualization technology, such as virtual machine snapshots, cloning, and migration, and also ensure compatibility with different operating systems, applications, and hardware devices, so that different types of virtual machines can be run on a cloud server cryptographic machine without worrying about compatibility issues. These features can greatly simplify the formulation and implementation of disaster recovery and business continuity plans. However, existing cloud server cryptographic machine systems usually only support a single virtualization technology, which limits their flexibility and security and cannot meet diverse needs. Therefore, developing a cloud server cryptographic machine system that can support multiple virtualization technologies is of great significance to improving the security and flexibility of cloud server cryptographic machines.

[0003] Therefore, how to manage multiple virtual cryptographic machines of a single cloud server cryptographic machine is an urgent problem that technicians in this field need to solve. Summary of the invention

[0004] In view of this, the present invention provides a cloud server cryptographic machine system and implementation method based on multiple virtualization technologies, which mainly solves the problem of a single cloud server cryptographic machine creating and managing virtual cryptographic machines (VSMs) of various virtualization types. By integrating multiple virtualization technologies (including but not limited to KVM, KATA, Docker, Xen, Podman), the security and flexibility of the cloud server cryptographic machine are improved to meet diverse needs.

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

[0006] A cloud server cryptographic machine system based on multiple virtualization technologies includes a cloud server cryptographic machine, a hardware virtualization card, and a management center; the cloud server cryptographic machine is connected to the hardware virtualization card and the management center;

[0007] The hardware virtualization card is virtualized into a plurality of virtual password cards;

[0008] The management center sends a creation request to the cloud server cryptographic machine;

[0009] The cloud server cryptographic machine creates a virtual cryptographic machine according to the creation request, and manages and binds the corresponding virtual cryptographic card;

[0010] The cloud server cryptographic machine includes a device management module, a virtualization module and an image warehouse; the device management module calls the virtualization module to select a virtualization technology according to the creation request; the virtualization module obtains the image file corresponding to the selected virtualization technology from the image warehouse, loads the corresponding image according to the image file, and creates the virtual cryptographic machine according to the image.

[0011] Preferably, the hardware virtualization card includes but is not limited to an SR-IOV virtualization cryptographic card, an MR-IOV virtualization cryptographic card, and a VirtIO virtualization cryptographic card.

[0012] Preferably, the image warehouse stores image files corresponding to a variety of virtualization technologies;

[0013] The virtualization module integrates multiple virtualization technologies and encapsulates them into a unified interface, loads the image from the image center according to the image file, and creates a virtual cryptographic machine;

[0014] The device management module receives a creation request and obtains the corresponding image file from the image repository and transmits it to the virtualization module, calls the virtualization module to create a virtual cryptographic machine and obtain virtual cryptographic machine information, and allocates a corresponding virtual cryptographic card.

[0015] Preferably, the virtualization module is connected to an image center storing a plurality of images, and loads the corresponding image from the image center according to the image file.

[0016] Preferably, the image file includes an image ID, a virtualization type and version information.

[0017] Preferably, the creation request includes virtualization type and version information, and the device management module searches for the corresponding image file in the image repository according to the virtualization type and the version information to obtain the image ID.

[0018] Preferably, the virtualization module loads the corresponding image according to the image ID, creates a virtual cryptographic machine, and marks a unique identifier.

[0019] Preferably, the virtual cryptographic machine includes a server and a virtual cryptographic card driver; the server operates the virtual cryptographic card by calling the virtual cryptographic card driver to complete functions such as key management and cryptographic operations.

[0020] Preferably, the management center acts as a bridge between the user and the cloud server cryptographic machine, and obtains virtualization type, image ID, cryptographic card ID, and CPU, memory, hard disk and other information by calling the device management module; this information is integrated by the management center and displayed through the user interface for user reference and selection. Based on this information, the user selects the required virtualization type, image ID, cryptographic card ID and other data through the management center interface, and calls the device management module to create a virtual cryptographic machine that meets their needs.

[0021] Preferably, the device management module retrieves the corresponding virtual password card according to the password card ID for verification. If the retrieved current virtual password card is not assigned, it is bound to the created virtual password machine. Otherwise, other unassigned virtual password cards are retrieved and bound to the created virtual password machine. A matching record is generated according to the unique identifier of the virtual password machine, the password card ID of the bound virtual password card, and the corresponding mirror ID when the virtual password machine is created, and the currently assigned virtual password card is marked as assigned. Whether the virtual password card is assigned is determined by retrieving the password card ID of the currently retrieved virtual password card in all current matching records. By intelligently retrieving and binding virtual password cards, duplicate assignment of virtual password cards can be avoided, ensuring key isolation between VSMs.

[0022] The cloud server cryptographic machine system implementation method based on multiple virtualization technologies includes the following steps:

[0023] Step 1: Virtualize the hardware virtual card into several virtual password cards;

[0024] Step 2: The management center obtains detailed configuration information of the cloud server cryptographic machine, and selects the virtual cryptographic card to generate a creation request and transmits it to the cloud server cryptographic machine;

[0025] Step 3: The cloud server cryptographic machine creates a virtual cryptographic machine according to the creation request and binds the selected virtual cryptographic card; the cloud server cryptographic machine includes a device management module, a virtualization module and an image warehouse; the device management module calls the virtualization module to select a virtualization technology according to the creation request; the virtualization module obtains an image file corresponding to the selected virtualization technology from the image warehouse, loads the corresponding image according to the image file, and creates the virtual cryptographic machine according to the image.

[0026] Preferably, in step 1, the hardware virtual card is virtualized into a plurality of virtual password cards, and each virtual password card is isolated from each other.

[0027] Preferably, the device management module of the cloud server cryptographic machine completes the configuration of the SSL server certificate and restarts the service. At startup, it obtains detailed configuration information such as the virtualization type, image ID, cryptographic card ID, CPU, memory, hard disk, etc. supported by the cloud server cryptographic machine and caches it; the management center configures the SSL client certificate, establishes an SSL secure communication channel with the device management module, and obtains the detailed configuration information.

[0028] Preferably, step 2 specifically includes:

[0029] Step 21: The management center obtains detailed configuration information by calling the device management module, and clearly displays it through the user interface for user reference and selection;

[0030] Step 22: Based on the information displayed on the user interface, the user selects the virtualization type, image ID, password card ID, CPU, memory, hard disk through the management center according to the required virtualization type, image version, virtual password card, number of CPU cores, memory size and hard disk size and other parameters, generates a creation request, and transmits it to the device management module.

[0031] Preferably, step 3 specifically includes:

[0032] Step 31: The device management module obtains the image file that matches the virtualization type and image ID in the creation request from the image repository of the cloud server cryptographic machine, generates creation information according to the selected CPU, memory, hard disk and image ID, and passes it to the virtualization module of the cloud server cryptographic machine to create a virtual cryptographic machine;

[0033] Step 32: the device management module binds the created virtual password machine to the virtual password card corresponding to the password card ID selected by the user in step 22; if the corresponding virtual password card has been bound, retrieve the unassigned password card for binding;

[0034] Step 33: The user can repeat steps 21 to 32 to create various types of virtual cryptographic machines to meet different application requirements.

[0035] Through the above technical solutions, it can be known that compared with the prior art, the present invention discloses a cloud server cryptographic machine system and implementation method based on multiple virtualization technologies. The present invention supports a single cloud server cryptographic machine to create and manage multiple virtualization types of VSMs, thereby meeting the diverse needs of different users. Among them, the virtual password card is bound to the virtual password machine (VSM) to realize the VSM calling the virtual password card to perform key management and password calculation functions. The device management module records the binding relationship between the virtual password card and the VSM to form a record table. When it is necessary to allocate a virtual password card to the newly created VSM, this table is first retrieved. If it is found that the virtual password card is already occupied, secondary allocation will be avoided. Such a design ensures that the virtual password card belongs only to a single VSM, thereby realizing key isolation between VSMs and improving the security of the system; the virtualization module is responsible for integrating multiple virtualization technologies and encapsulating them into a unified interface for the device management module to call, which not only simplifies the calling process, but also improves the compatibility and scalability of the system; the image warehouse is used to store the image IDs of multiple virtualization technologies. When it is necessary to create a VSM, the virtualization module will accurately load the corresponding image according to the provided image ID, and create the VSM accordingly, thereby improving the creation speed. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0037] Figure 1 A schematic diagram of a cloud server cryptographic machine system based on multiple virtualization technologies provided by the present invention;

[0038] Figure 2 A schematic diagram of a method for implementing a cloud server cryptographic machine system based on multiple virtualization technologies provided by the present invention. DETAILED DESCRIPTION

[0039] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0040] Example 1

[0041] The embodiment of the present invention discloses a cloud server cryptographic machine system based on multiple virtualization technologies, including a cloud server cryptographic machine, a hardware virtualization card and a management center; the cloud server cryptographic machine is connected to the hardware virtualization card and the management center; the hardware virtualization card is virtualized into a plurality of virtual cryptographic cards; the management center sends a creation request to the cloud server cryptographic machine; the cloud server cryptographic machine creates a virtual cryptographic machine according to the creation request, and manages and binds the corresponding virtual cryptographic card;

[0042] The cloud server cryptographic machine includes a device management module, a virtualization module and an image warehouse; the device management module calls the virtualization module to select a virtualization technology according to a creation request; the virtualization module obtains the image file corresponding to the selected virtualization technology from the image warehouse, loads the corresponding image according to the image file, and creates a virtual cryptographic machine according to the image.

[0043] Furthermore, the image warehouse stores image files corresponding to various virtualization technologies; the virtualization module integrates various virtualization technologies and encapsulates them into a unified interface, loads images from the image center according to the image files, and creates a virtual cipher machine; the device management module receives the creation request and obtains the corresponding image file from the image warehouse and transmits it to the virtualization module, calls the virtualization module to create a virtual cipher machine and obtain the virtual cipher machine information, and allocates the corresponding virtual cipher card.

[0044] Furthermore, the virtualization module connects to an image center storing a variety of images, and loads a corresponding image from the image center according to an image file; the image file includes an image ID, a virtualization type, and version information; the creation request includes the virtualization type and version information, and the device management module searches for the corresponding image file in the image repository according to the virtualization type and version information, and obtains the image ID; the virtualization module loads the corresponding image according to the image ID, creates a virtual cryptographic machine, and marks a unique identifier.

[0045] Furthermore, the virtual cryptographic machine includes a server and a virtual cryptographic card driver; the server implements operations on the virtual cryptographic card by calling the virtual cryptographic card driver, and completes functions such as key management and cryptographic operations.

[0046] Furthermore, the management center acts as a bridge between the user and the cloud server cryptographic machine, and obtains information such as virtualization type, image version, virtual cryptographic card, CPU, memory, hard disk, etc. by calling the device management module; this information is integrated by the management center and displayed through the user interface for user reference and selection. Based on this information, the user selects the required virtualization type, image version, virtual cryptographic card and other data through the management center interface, and calls the device management module to create a virtual cryptographic machine that meets their needs.

[0047] Furthermore, the device management module retrieves the corresponding virtual password card according to the password card ID. If the retrieved current virtual password card is not assigned, it is bound to the created virtual password machine. Otherwise, the virtual password card that is not marked as assigned is retrieved and bound to the created virtual password machine. A matching record is generated according to the unique identifier of the virtual password machine, the password card ID of the bound virtual password card, and the corresponding mirror ID when the virtual password machine is created, and the currently assigned virtual password card is marked as assigned. By searching whether the password card ID of the currently retrieved virtual password card exists in all current matching records, it is determined whether the virtual password card is assigned. By intelligently retrieving and binding the virtual password card, it is possible to avoid repeated assignment of virtual password cards and ensure key isolation between VSMs.

[0048] Example 2

[0049] On the other hand, in a specific embodiment, a method for implementing a cloud server cryptographic machine based on multiple virtualization technologies includes the following steps:

[0050] S1: When the cloud server cryptographic machine device leaves the factory, the hardware virtual card is virtualized into a set number of virtual cryptographic cards, and each virtual cryptographic card is isolated from each other;

[0051] S2: The device management module completes the configuration of the SSL server certificate and restarts the service. When starting, the module obtains information such as the virtualization type, image version, virtual password card, CPU, memory, and hard disk supported by the cloud server cryptographic machine, and caches this data for quick subsequent calls.

[0052] S3: The management center configures the SSL client certificate and establishes an SSL secure communication channel with the device management module;

[0053] S4: The management center obtains detailed configuration information supported by the cloud server cryptographic machine by calling the device management module, including virtualization type, image version, virtual cryptographic card, CPU, memory, hard disk, etc. This information is clearly displayed through the user interface for user reference and selection;

[0054] S5: Based on the information displayed on the interface, the user selects the required virtualization type, image version, virtual password card, number of CPU cores, memory size, hard disk size and other parameters through the management center, and transmits these data to the device management module;

[0055] S6: The device management module obtains the image ID that matches the selected virtualization type and version from the image repository, and then passes information such as the number of CPU cores, memory size, hard disk size, and image ID to the virtualization module for creating a virtual cryptographic machine;

[0056] S7: The device management module binds the created VSM to the virtual password card selected by the user in step 5; if the selected virtual password card has been assigned, retrieve other unassigned virtual password cards to bind to the created VSM;

[0057] S8: At this point, the VSM is created. The user can repeat steps 4 to 7 to create multiple types of VSMs to meet different application requirements.

[0058] Example 3

[0059] Based on the above embodiments, in a specific embodiment, customer A faces diverse virtualization requirements when using a cloud server cryptographic machine: on the one hand, some VSMs need to fully support the Linux system environment and exclusive hardware resources; on the other hand, some VSMs require lightweight and fast deployment to improve deployment efficiency and resource utilization.

[0060] In this embodiment, customer A can create and manage VSMs of various virtualization types on a single cloud server cryptographic machine. For VSMs that need to fully support the Linux system environment and exclusive hardware resources, KVM virtualization technology is used. KVM, as a mature virtualization solution, can provide comprehensive Linux system support and ensure that VSMs can run stably in various Linux environments.

[0061] For images that require lightweight and fast deployment, Docker virtualization technology is used. Docker is known for its lightweight and fast deployment features, which can greatly shorten the deployment time of images and improve resource utilization.

[0062] By supporting both KVM and Docker virtualization technologies on the same cloud server, the present invention not only solves the problem that customer A previously needed multiple cloud servers, but also reduces hardware and management costs, and improves resource utilization and operation and maintenance efficiency.

[0063] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0064] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A cloud server cryptographic machine system based on multiple virtualization technologies, characterized in that: It includes a cloud server cryptographic machine, a hardware virtualization card and a management center; the cloud server cryptographic machine is connected to the hardware virtualization card and the management center; the hardware virtualization card is virtualized into a plurality of virtual cryptographic cards; the management center sends a creation request to the cloud server cryptographic machine; the cloud server cryptographic machine creates a virtual cryptographic machine according to the creation request, and manages and binds the corresponding virtual cryptographic card; The cloud server cryptographic machine includes a device management module, a virtualization module and an image warehouse; the device management module calls the virtualization module to select a virtualization technology according to the creation request; the virtualization module obtains an image file corresponding to the selected virtualization technology from the image warehouse, loads a corresponding image according to the image file, and creates the virtual cryptographic machine according to the image; The image warehouse stores image files corresponding to various virtualization technologies; The virtualization module integrates multiple virtualization technologies and encapsulates them into a unified interface, loads the image according to the image file, and creates a virtual cryptographic machine; The device management module receives a creation request and obtains the corresponding image file from the image repository and transmits it to the virtualization module, calls the virtualization module to create a virtual cipher machine to obtain virtual cipher machine information, and allocates a corresponding virtual cipher card.

2. The cloud server cryptographic machine system based on multiple virtualization technologies according to claim 1 is characterized in that: The virtualization module is connected to an image center storing a plurality of images, and loads the corresponding image from the image center according to the image file.

3. The cloud server cryptographic machine system based on multiple virtualization technologies according to claim 1 is characterized in that: The image file includes an image ID, a virtualization type and version information; the creation request includes the virtualization type and version information, and the device management module searches for the corresponding image file in the image repository according to the virtualization type and the version information to obtain the image ID.

4. The cloud server cryptographic machine system based on multiple virtualization technologies according to claim 3 is characterized in that: The virtualization module loads the corresponding image according to the image ID, creates a virtual cryptographic machine, and marks a unique identifier.

5. The cloud server cryptographic machine system based on multiple virtualization technologies according to claim 4 is characterized in that: The management center obtains the virtualization type, image ID, password card ID and CPU, memory, and hard disk information by calling the device management module, and displays them for user selection. Based on the user's selection input, a creation request is generated and sent to the device management module; the device management module obtains the CPU, memory, and hard disk information by calling operating system instructions.

6. The cloud server cryptographic machine system based on multiple virtualization technologies according to claim 5 is characterized in that: The device management module retrieves the corresponding virtual password card according to the password card ID, and if the retrieved current virtual password card is not allocated, binds it with the created virtual password machine; otherwise, retrieves other unallocated virtual password cards and binds them with the created virtual password machine, generates a matching record according to the unique identifier of the virtual password machine, the password card ID of the bound virtual password card, and the corresponding mirror ID when the virtual password machine is created, and marks the currently allocated virtual password card as allocated.

7. A method for implementing a cloud server cryptographic machine system based on multiple virtualization technologies, characterized in that: The cloud server cryptographic machine system based on multiple virtualization technologies according to any one of claims 1 to 6 comprises the following steps: Step 1: Virtualize the hardware virtual card into several virtual password cards; Step 2: The management center obtains detailed configuration information of the cloud server cryptographic machine, and selects the virtual cryptographic card to generate a creation request and transmits it to the cloud server cryptographic machine; Step 3: The cloud server cryptographic machine creates a virtual cryptographic machine according to the creation request and binds the selected virtual cryptographic card; the cloud server cryptographic machine includes a device management module, a virtualization module and an image warehouse; the device management module calls the virtualization module to select a virtualization technology according to the creation request; the virtualization module obtains the image file corresponding to the selected virtualization technology from the image warehouse, loads the corresponding image according to the image file, and creates the virtual cryptographic machine according to the image; the image warehouse stores image files corresponding to multiple virtualization technologies; the virtualization module integrates multiple virtualization technologies and encapsulates them into a unified interface, loads the image according to the image file, and creates a virtual cryptographic machine; the device management module receives the creation request and obtains the corresponding image file from the image warehouse and transmits it to the virtualization module, calls the virtualization module to create a virtual cryptographic machine, obtains virtual cryptographic machine information, and allocates the corresponding virtual cryptographic card.

8. The method for implementing a cloud server cryptographic machine system based on multiple virtualization technologies according to claim 7 is characterized in that: Step 2 specifically includes: Step 21: The management center obtains detailed configuration information by calling the device management module and displays it through the user interface; Step 22: Based on the information displayed on the user interface, the management center selects the required virtualization type, image ID, password card ID, and CPU, memory, and hard disk information, generates a creation request, and transmits it to the device management module.

9. The method for implementing a cloud server cryptographic machine system based on multiple virtualization technologies according to claim 8, characterized in that: Step 3 specifically includes: Step 31: The device management module obtains the image file that matches the virtualization type and image ID in the creation request from the image repository of the cloud server cryptographic machine, generates creation information in combination with the selected CPU, memory, and hard disk information, and passes it to the virtualization module of the cloud server cryptographic machine to create a virtual cryptographic machine; Step 32: The device management module binds the created virtual password machine to the virtual password card corresponding to the password card ID selected in step 22; if the corresponding virtual password card has been bound, retrieve the unassigned password card for binding.