Configuration management method for superconducting quantum control system and superconducting quantum control system
Through the unified configuration interface of template method and advanced message queue protocol, combined with data synchronization and distributed storage, the configuration dispersion and conflict problems of superconducting quantum control system are solved, efficient and stable configuration management and scalability are achieved, and multi-user and historical record query are supported.
Patent Information
- Application Number
- CN202411626908.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2024-10-29
- Filing Date
- 2024-11-14
- Publication Date
- 2025-09-19
- Estimated Expiration
- 2044-11-14
AI Technical Summary
Existing superconducting quantum control systems have problems such as decentralized configuration, lack of a unified interface, configuration conflicts, configuration synchronization issues, difficulty in tracking historical configurations, scalability limitations, and compatibility issues, resulting in inefficient management and system instability.
A templated approach is used to define the configuration item data structure, and a unified application programming interface is set up using the Advanced Message Queuing Remote Procedure Call protocol. Real-time synchronization and historical change records are achieved through data synchronization middleware. Distributed cache and database are combined for storage, configuration conflicts can be detected and resolved, and multi-user and high scalability are supported.
It realizes unified configuration management of the superconducting quantum control system, improves the stability and scalability of the system, reduces the error rate, ensures the consistency of configuration and the traceability of historical records, and supports security management in a multi-user environment.
Smart Images

Figure CN119443296B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of quantum information processing technology, specifically to the field of superconducting quantum manipulation system technology, and more specifically to a configuration management method for a superconducting quantum control system and a superconducting quantum control system. Background Art
[0002] Current quantum computer systems are rapidly developing, involving complex hardware and software components. These systems often require precise configuration to ensure accurate operation of qubits and efficient execution of quantum algorithms. While existing technical solutions can implement classical hardware configuration, quantum hardware configuration, quantum software configuration, and system parameter configuration, they still face challenges such as fragmented configuration, lack of a unified interface, configuration conflicts, configuration synchronization issues, difficulty tracking historical configurations, scalability limitations, and compatibility issues. Summary of the Invention
[0003] In view of the above problems, the present invention provides a configuration management method for a superconducting quantum control system and a superconducting quantum control system, which are used to solve at least one of the above technical problems.
[0004] According to a first aspect of the present invention, a configuration management method for a superconducting quantum control system is provided, the method comprising:
[0005] Determine the configuration items for managing the superconducting quantum control system based on the system's attribute information and user demand information, and use a templated approach to define the data structure and data constraints of the configuration items;
[0006] An application programming interface (API) is set up for communication between the superconducting quantum control system and external devices based on the Advanced Message Queuing Remote Procedure Call (AMRPC) protocol, and the API is used to manage operation requests from external devices for configuration items.
[0007] Use data synchronization middleware technology to synchronize configuration items, trace and query historical changes of configuration items through data logs, and manage user permissions in configuration items based on a fine-grained permission control mechanism;
[0008] When multiple users are running multiple tasks, conflict detection is performed on the real-time update process of configuration items, and conflicts encountered during the real-time update are handled using pre-set conflict detection and resolution functions.
[0009] A distributed high-speed cache cluster and a distributed shard replica set cluster non-relational database are used to store the output data of the superconducting quantum control system, and the scalability and compatibility of the superconducting quantum control system are set.
[0010] According to an embodiment of the present invention, the above configuration items include classical hardware modules, quantum hardware modules, quantum software for controlling and managing quantum hardware modules, control parameters of the superconducting quantum control system, and user-set required parameters.
[0011] According to an embodiment of the present invention, the application program interface for communication between the superconducting quantum control system and external devices based on the Advanced Message Queuing Remote Procedure Call protocol includes:
[0012] Based on the remote procedure call mode of the message-oriented middleware, a unified application programming interface is set up, and the unified application programming interface is used to manage the communication and data exchange between the superconducting quantum control system and the web client, quality service client and preset database.
[0013] According to an embodiment of the present invention, the above-mentioned operations on configuration items include changing, deleting, adding, restoring, importing and exporting, creating configuration items in batches, and sharing configuration items with authorized users.
[0014] According to an embodiment of the present invention, the historical change information of the configuration item is backtracked and queried through the data log:
[0015] Use a document type based on binary representation to store the data structure of the configuration item, and store the history records and original attributes of the configuration item in a discrete set;
[0016] When performing a historical range query on a configuration item, a separate historical record collection is used for path matching and query. If historical record information is found within the specified request history range, the specified configuration item attributes will be returned. If no historical record information is found within the specified request history, a log message will be displayed.
[0017] According to an embodiment of the present invention, the above-mentioned management of an external device's operation request for a configuration item using an application program interface includes:
[0018] The quality service client in the external device performs permission detection on the operation request for the target configuration item issued by the user, and based on the user permission detection result, detects the path of the target configuration item in the preset database;
[0019] Based on the detection results, the application program interface is used to detect the operation requests issued by the user for the target configuration items, and the operation requests that meet the requirements are sent to the superconducting quantum control system through the application program interface for execution.
[0020] According to an embodiment of the present invention, in the case where multiple users run multiple tasks, performing conflict detection on the real-time update process of configuration items and handling conflicts encountered in the real-time update using a preset conflict detection and resolution method includes:
[0021] Based on the multi-concurrency and multi-tasking requirements of the superconducting quantum control system, a cluster management center is used to centrally manage multi-node services;
[0022] Provide node registration, load balancing, request collection, distribution processing and result processing services through the cluster management center;
[0023] By establishing external indexes and using the sharding and set-based storage method, operations on configuration items can be implemented.
[0024] The conflicts encountered are handled by calling the transaction support and multi-version concurrency control functions in the distributed shard replica set cluster non-relational database.
[0025] According to an embodiment of the present invention, the above-mentioned setting of the scalability and compatibility of the superconducting quantum control system includes:
[0026] The user's scalability and compatibility information of the superconducting quantum control system is sent to the distributed cache cluster storage through the web client in the external device;
[0027] Using a distributed cache cluster to compare the scalability information and the compatibility information with the stored configuration items, modifying the configuration items based on the comparison results, and using the modified configuration items to set the superconducting quantum control system;
[0028] Obtain scalability and compatibility information for the superconducting quantum control system, utilize the horizontal expansion capabilities of the distributed sharded replica set cluster non-relational database, increase storage capacity and processing power by adding multiple servers, and set the scalability and compatibility of the superconducting quantum control system.
[0029] According to a second aspect of the present invention, a superconducting quantum control system is provided, which is applied to the above-mentioned configuration management method, characterized in that the system includes: a configuration management module, a directory management module, a batch management module, a template management module and a visualization interface;
[0030] Among them, the superconducting quantum control system uses a unified application program interface based on the Advanced Message Queuing Protocol to connect with the quality client, web client and preset database respectively;
[0031] Among them, the superconducting quantum control system uses preset communication mechanisms to realize message transmission and data interaction between various modules within the system. The preset communication mechanisms include pipeline communication mode, message queue communication mode, shared memory communication mode, signal communication mode and socket communication mode.
[0032] According to an embodiment of the present invention, the configuration management module is used to query the configuration items of the superconducting quantum control system, output the historical change information of the configuration items, add configuration items, delete configuration items, and set the attribute information of the configuration items;
[0033] Among them, the directory management module is used to create directories, delete directories, view directories, and copy directories;
[0034] Among them, the batch management module is used to batch import configuration item parameters, batch export configuration item parameters, batch set configuration item parameters, and batch query configuration item parameters;
[0035] Among them, the template management module is used to create modules and synchronize modules;
[0036] Among them, the visualization interface includes obtaining configuration items, switching configuration items, and obtaining user quantum computing operations.
[0037] The configuration management method for the superconducting quantum control system provided by the present invention makes the system easy to expand through modular design and the use of middleware, and can achieve load balancing according to the user's concurrency and the nodes that need to be horizontally expanded. By setting a unified application interface, the time for users to switch between different configuration systems is reduced, and work efficiency is improved. The consistency of the status of all components is ensured by the real-time synchronization mechanism, and the hidden problems caused by the system template being out of sync are avoided. By adding a historical configuration function, technical personnel can quickly locate the source of the problem, and provide a visual and friendly historical configuration display function, allowing users to more clearly view the trend display of the historical values of various configuration items at different times. By configuring a conflict detection and resolution mechanism, various resource conflicts faced by the superconducting quantum control system in a multi-person and multi-tasking situation can be quickly resolved. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The above contents and other objects, features and advantages of the present invention will become more apparent through the following description of the embodiments of the present invention with reference to the accompanying drawings, in which:
[0039] Figure 1 This is a flow chart of a configuration management method for a superconducting quantum control system according to an embodiment of the present invention.
[0040] Figure 2 2 is an architectural diagram of a superconducting quantum control system according to an embodiment of the present invention. DETAILED DESCRIPTION
[0041] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present invention. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of embodiments of the present invention. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concept of the present invention.
[0042] The terms used herein are only for describing specific embodiments and are not intended to limit the present invention. The terms "comprise", "include", etc. used herein indicate the presence of the features, steps, operations and / or components, but do not exclude the presence or addition of one or more other features, steps, operations or components.
[0043] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.
[0044] When expressions such as "at least one of A, B, and C, etc." are used, they should generally be interpreted in accordance with the meaning commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).
[0045] Superconducting quantum control systems are used to control and manipulate superconducting quantum bits, achieving precise initialization, manipulation, and reading and writing of quantum bits. They have important application value in the field of quantum information processing technology. How to configure and manage superconducting quantum control systems, improve the utilization efficiency of superconducting quantum control systems, and reduce the error rate of superconducting quantum control systems has become a research hotspot in the field of quantum information processing technology. The current configuration management technology solutions for superconducting quantum control systems have many technical problems: (1) Configuration dispersion: The configuration information of classical hardware, quantum hardware, quantum software, and system parameters is dispersed in different systems, resulting in unchanged management and low efficiency. (2) Lack of a unified interface: The lack of a unified interface to manage all types of configurations makes it difficult for users to perform configuration operations. (3) Configuration conflicts: In a multi-user and multi-tasking environment, configuration changes may lead to conflicts, and the existing system lacks an effective conflict detection and resolution mechanism. (4) Configuration synchronization problem: When the configuration template is changed, the existing system is difficult to ensure that all related components are updated synchronously in real time, affecting system stability. (5) Difficulty in historical configuration tracking: The existing system is not convenient for tracking historical changes in configurations, making it difficult to backtrack and reproduce problems. (6) Scalability limitations: As quantum systems expand, existing configuration management systems will find it difficult to adapt to the growing scale of hardware and software. (7) Compatibility issues: Emerging quantum hardware and software components may be incompatible with existing configuration management systems, limiting system upgrades and expansion.
[0046] To address at least one of the aforementioned technical issues, the present invention provides a configuration management method for a superconducting quantum control system. This configuration management method features a unified configuration interface, template-driven configuration management, real-time configuration synchronization, historical configuration tracking, configuration conflict detection and resolution, multi-user and multi-authority management, and high scalability. It can significantly improve the utilization efficiency of the superconducting quantum control system, enhance system stability, reduce the system's error probability, and avoid system data resource conflicts.
[0047] Figure 1 This is a flowchart of a configuration management method for a superconducting quantum control system according to an embodiment of the present invention.
[0048] like Figure 1 As shown, the configuration management method for the superconducting quantum control system includes operations S110 to S150.
[0049] In operation S110 , configuration items for managing the superconducting quantum control system are determined based on the property information of the superconducting quantum control system and the user's requirement information, and a data structure and data constraints of the configuration items are defined using a template method.
[0050] According to an embodiment of the present invention, the above configuration items include classical hardware modules, quantum hardware modules, quantum software for controlling and managing quantum hardware modules, control parameters of the superconducting quantum control system, and user-set required parameters.
[0051] A template approach is used to define the data structure and data constraints of configuration items, which simplifies the process of adding and modifying configuration items.
[0052] In operation S120, an application programming interface (API) for communication between the superconducting quantum control system and external devices is set based on the Advanced Message Queuing Remote Procedure Call (AMRPC) protocol, and the application programming interface is used to manage operation requests of the external devices for configuration items.
[0053] A unified application programming interface is used to manage different types of configuration items, including control parameters of classical hardware, quantum hardware, quantum software, and superconducting quantum control systems, as well as user-set required parameters.
[0054] In operation S130, data synchronization middleware technology is used to synchronize configuration items, historical change information of configuration items is backtracked and queried through data logs, and user permissions in configuration items are managed based on a fine-grained permission control mechanism.
[0055] The configuration management method provided by this invention can synchronize configuration changes to all relevant quantum hardware and software components in real time, ensuring the consistency of the system state. Furthermore, the configuration management method provided by this invention can record historical configuration changes, facilitating problem tracking and system state rollback, thereby enabling the tracking of historical configuration information or historical change information.
[0056] At the same time, the synchronization mechanism designed in the configuration management method provided by the present invention can ensure the real-time update and consistency of the configuration.
[0057] By configuring the history query and backtracking function, the modification records of all configuration items can be saved, providing a convenient interface for technicians to reproduce problems and view historical records.
[0058] In operation S140 , when multiple users execute multiple tasks, conflict detection is performed on the real-time update process of the configuration items, and conflicts encountered in the real-time update are handled using a preset conflict detection and resolution method.
[0059] During the configuration item update process, it can detect potential conflicts and provide automatic or manual resolution strategies. At the same time, it supports configuration management in a multi-user environment, with fine-grained permission control, realizing multi-user and multi-permission management to ensure data security.
[0060] In operation S150 , the output data of the superconducting quantum control system is stored using a distributed cache cluster and a distributed shard replica set cluster non-relational database, and the scalability and compatibility of the superconducting quantum control system are set.
[0061] The configuration management method provided by this invention is highly scalable. Designed with the scalability of superconducting quantum control systems in mind, it can accommodate growing configuration requirements and system scale. Compatibility with existing quantum hardware and software allows for seamless integration with a wide range of existing quantum hardware and software, providing broad applicability.
[0062] Optionally, the middleware and database technology involved in the present invention uses Rabbit-MQ message queue as the communication middleware between services, and Redis-cluster and MongoDB as data caching and persistent storage solutions.
[0063] In addition, the configuration management method provided by the present invention ensures compatibility with configuration items of quantum computers with different quantum processors.
[0064] According to an embodiment of the present invention, the aforementioned application programming interface (API) for communication between the superconducting quantum control system and external devices based on the advanced message queue remote procedure call protocol includes: a remote procedure call mode based on a message-oriented middleware, a unified application programming interface (API), and the use of the unified application programming interface to manage communication and data exchange between the superconducting quantum control system and a web client, a quality service client, and a preset database.
[0065] The above-mentioned remote procedure call mode based on the message-oriented middleware can optionally use the RPC mode of Rabbit-MQ to set up a series of unified API interfaces for implementing operations such as addition, deletion, modification and query in configuration management.
[0066] This unified API reduces the time users spend switching between different configuration systems, improving work efficiency. By eliminating the need to switch between multiple APIs, the user's cognitive burden is reduced, thereby improving efficiency. This provides users with a more convenient way to operate related configurations, making it easier for users to manipulate the structure of configuration parameters.
[0067] According to an embodiment of the present invention, the above-mentioned operations on configuration items include changing, deleting, adding, restoring, importing and exporting, creating configuration items in batches, and sharing configuration items with authorized users.
[0068] Configuration management provides a variety of configuration item operations, including but not limited to configuration import and export, batch creation of all components, one-click restoration of configuration history values, and configuration sharing. These operations facilitate the diverse needs of experimental users when using configurations, and can also enable the sharing of previous configuration data between different experimental users if they have permission.
[0069] According to an embodiment of the present invention, the historical change information of the configuration item is traced back and queried through the data log: the data structure of the configuration item is stored using a document type based on binary representation, and the historical records and original attributes of the configuration item are stored in a subset; when performing a historical range query on the configuration item, a separate historical record set is used for path matching and then the query is performed. If the historical record information is queried within the specified request history range, the specified configuration item attribute will be returned. If the historical record information is not queried within the specified request history, a log information prompt will be displayed.
[0070] The above document type based on binary representation may optionally use a BSON document type to store the data structure of the configuration item.
[0071] According to an embodiment of the present invention, the above-mentioned management of operation requests of external devices for configuration items using an application program interface includes: using a quality service client in the external device to perform a permission check on the operation request for the target configuration item issued by the user, and based on the user permission check result, checking the path of the target configuration item in a preset database; based on the check result, using the application program interface to check the operation request for the target configuration item issued by the user, and sending the operation request that meets the requirements to the superconducting quantum control system through the application program interface for execution.
[0072] According to an embodiment of the present invention, in the case where multiple users run multiple tasks, conflict detection is performed on the real-time update process of configuration items, and conflicts encountered in the real-time update are handled using preset conflict detection and solutions, including: based on the multi-concurrency and multi-tasking requirements of the superconducting quantum control system, a cluster management center is used to centrally manage multi-node services; node registration, load balancing, request collection, distribution processing and result processing services are provided through the cluster management center; operations on configuration items are implemented by establishing external indexes and using a sharded and set storage method; and conflicts encountered are handled by calling the transaction support and multi-version concurrency control functions in the distributed sharded replica set cluster non-relational database.
[0073] According to an embodiment of the present invention, configuring the scalability and compatibility of the superconducting quantum control system includes: sending a user's scalability and compatibility information for the superconducting quantum control system to a distributed cache cluster for storage via a web client in an external device; comparing the scalability and compatibility information with stored configuration items using the distributed cache cluster, modifying the configuration items based on the comparison results, and configuring the superconducting quantum control system using the modified configuration items. By obtaining the scalability and compatibility information for the superconducting quantum control system, the scalability and compatibility of the superconducting quantum control system are configured, utilizing the horizontal scalability of a distributed sharded replica set cluster non-relational database to increase storage capacity and processing power by adding multiple servers.
[0074] The configuration management method provided by the present invention, applied to a superconducting quantum control system, utilizes a template-based approach and middleware technology to facilitate system scalability. It can achieve load balancing by horizontally scaling nodes based on user concurrency and needs, thereby enhancing the scalability of the superconducting quantum control system. By providing historical configuration information and change information tracking functions, technicians can quickly locate the source of problems. A visual interface allows technicians to more clearly view the trend of historical values of various configuration items at different times. Furthermore, the configuration management method provided by the present invention uses templates to drive the configuration management of the superconducting quantum control system. Using templates to define the configuration structure improves configuration consistency and predictability, and through a specific template structure, it can support different template records for different systems and hardware. Template-based management simplifies the configuration process, and predefined templates reduce the possibility of configuration errors, improving configuration accuracy. Furthermore, the configuration management method provided by the present invention utilizes an efficient synchronization algorithm and optimized data structure to ensure the rapid propagation of configuration changes. A real-time synchronization mechanism ensures the consistency of all component states, avoiding potential problems caused by template asynchrony in the superconducting quantum control system.
[0075] Figure 2 2 is an architectural diagram of a superconducting quantum control system according to an embodiment of the present invention.
[0076] like Figure 2 As shown, the above-mentioned superconducting quantum control system can be applied to the above-mentioned configuration management method. The system includes: a configuration management module, a directory management module, a batch management module, a template management module and a visualization interface.
[0077] Among them, the superconducting quantum control system uses a unified application program interface based on the Advanced Message Queuing Protocol to connect with the quality client, web client and preset database respectively;
[0078] Among them, the superconducting quantum control system uses preset communication mechanisms to realize message transmission and data interaction between various modules within the system. The preset communication mechanisms include pipeline communication mode, message queue communication mode, shared memory communication mode, signal communication mode and socket communication mode.
[0079] According to an embodiment of the present invention, the configuration management module is used to query configuration items of the superconducting quantum control system, output historical change information of configuration items, add configuration items, delete configuration items, and set attribute information of configuration items.
[0080] Among them, the directory management module is used to create directories, delete directories, view directories, copy directories, determine whether the configuration item directory exists, and if so, determine the user's permission control over the configuration item directory and perform corresponding operations on the configuration item directory; if not, the complete configuration item path of the configuration item directory is returned as an error prompt message.
[0081] Among them, the batch management module is used to batch import configuration item parameters, batch export configuration item parameters, batch set configuration item parameters, and batch query configuration item parameters.
[0082] Among them, the template management module is used to create a module and a synchronization module to determine whether to synchronize the data information of the existing configuration item. If synchronized, it determines whether the configuration item matches the template file and synchronizes the configuration item data information with the template file; if not synchronized, the configuration item is marked as a special version.
[0083] Among them, the visualization interface includes obtaining configuration items, switching configuration items, and obtaining user quantum computing operations.
[0084] Quality of Service (QoS) client requests batch management in configuration, batch setting of configuration parameter values. First, check whether the user token has permission to set the configuration path and query whether the configuration item path in MongoDB exists. If all requirements are met, set the configuration item values in sequence, modify the MongoDB values, and modify the values of the corresponding paths in Redis.
[0085] During initialization, the configuration management software will load the corresponding configuration item contents of all configuration sets (a collection of configuration items, the same below) into Redis. The quantum control software obtains the configuration items and directly obtains the specified configuration items through Redis.
[0086] Users configure configuration parameters through the configuration client. The configuration client interacts with the configuration management module via HTTP. The configuration management module maps the corresponding changes to the database, including operations such as adding, deleting, modifying, and querying. All configurations are presented in the form of a web page through the configuration client.
[0087] The following specific experiments are used to further illustrate and explain the structure of the superconducting quantum control system provided by the present invention, including classical hardware, quantum hardware, quantum software, and system parameters.
[0088] Configuration database: Deploy a MongoDB cluster and Redis-cluster on the server to store all configuration set information, including quantum bit frequency, quantum gate operation parameters, etc.
[0089] User interface implementation: Visual operations of configuration management are implemented through the web, allowing users to configure configuration set parameters through intuitive operations, including editing, viewing history, and backtracking history.
[0090] Configuration template definition: Create a predefined configuration template to simplify the configuration process of common quantum operations. The template can be customized for different types of quantum computer processors.
[0091] Error handling and logging: Implement a comprehensive error handling mechanism and logging system to facilitate problem diagnosis and system maintenance.
[0092] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the above-mentioned module, program segment, or a part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0093] It will be understood by those skilled in the art that the features described in the various embodiments of the present invention may be combined and / or coupled in various ways, even if such combinations or couplings are not explicitly described in the present invention. In particular, the features described in the various embodiments of the present invention may be combined and / or coupled in various ways without departing from the spirit and teachings of the present invention. All such combinations and / or couplings fall within the scope of the present invention.
[0094] The above describes embodiments of the present invention. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of the present invention. Although each embodiment has been described separately above, this does not mean that the measures in each embodiment cannot be advantageously used in combination. Without departing from the scope of the present invention, those skilled in the art may make various substitutions and modifications, which should all fall within the scope of the present invention.
Claims
1. A configuration management method for a superconducting quantum control system, characterized in that: The method comprises: Determining configuration items for managing the superconducting quantum control system based on the property information of the superconducting quantum control system and the user's requirement information, and defining the data structure and data constraints of the configuration items using a template method; Setting an application programming interface for communication between the superconducting quantum control system and an external device based on an advanced message queue remote procedure call protocol, and managing an operation request of the external device to the configuration item by using the application programming interface; Use data synchronization middleware technology to synchronize the configuration items, trace and query the historical change information of the configuration items through data logs, and manage user permissions in the configuration items based on a fine-grained permission control mechanism; In the case of multiple users running multiple tasks, performing conflict detection on the real-time update process of the configuration items, and using preset conflict detection and resolution methods to handle conflicts encountered in the real-time update; A distributed high-speed cache cluster and a distributed shard replica set cluster non-relational database are used to store the output data of the superconducting quantum control system, and the scalability and compatibility of the superconducting quantum control system are set.
2. The method according to claim 1, characterized in that The configuration items include classical hardware modules, quantum hardware modules, quantum software for controlling and managing the quantum hardware modules, control parameters of the superconducting quantum control system, and user-set required parameters.
3. The method according to claim 1, characterized in that The application program interface for communication between the superconducting quantum control system and external devices is set based on the advanced message queue remote procedure call protocol, including: Based on the remote procedure call mode of the message-oriented middleware, a unified application program interface is set up, and the unified application program interface is used to manage the communication and data exchange between the superconducting quantum control system and the web client, the quality service client and the preset database.
4. The method according to claim 1, wherein The operations on the configuration items include modifying, deleting, adding, restoring, importing and exporting, creating configuration items in batches, and sharing the configuration items with authorized users.
5. The method according to claim 1, characterized in that Use data logs to trace and query the historical change information of the configuration items: Using a document type based on binary representation to store the data structure of the configuration item, and storing the historical records and original attributes of the configuration item in a diverse set; When performing a historical range query on the configuration item, a separate historical record set is used for path matching and then querying. If historical record information is found within the specified request history range, the specified configuration item attribute will be returned. If no historical record information is found within the specified request history, a log message will be prompted.
6. The method according to claim 1, characterized in that Managing the operation request of the external device on the configuration item by using the application program interface includes: Using the quality service client in the external device to perform permission detection on the operation request for the target configuration item issued by the user, and based on the user permission detection result, detecting the path of the target configuration item in the preset database; Based on the detection result, the application program interface is used to detect the operation request for the target configuration item issued by the user, and the operation request that meets the requirements is sent to the superconducting quantum control system through the application program interface for execution.
7. The method according to claim 1, characterized in that In the case where multiple users run multiple tasks, conflict detection is performed on the real-time update process of the configuration items, and conflicts encountered in the real-time update are handled using preset conflict detection and resolution methods, including: Based on the multi-concurrency and multi-tasking requirements of the superconducting quantum control system, a cluster management center is used to centrally manage multi-node services; Providing node registration, load balancing, request collection, distribution processing and result processing services through the cluster management center; By establishing an external index and using a sharding and set-based storage method to implement operations on the configuration items; The conflicts encountered are handled by calling the transaction support and multi-version concurrency control functions in the distributed shard replica set cluster non-relational database.
8. The method according to claim 1, characterized in that Setting the scalability and compatibility of the superconducting quantum control system includes: Sending the user's scalability information and compatibility information of the superconducting quantum control system to the distributed cache cluster storage through a web client in an external device; Comparing the scalability information and the compatibility information with stored configuration items using a distributed cache cluster, modifying the configuration items based on the comparison results, and configuring the superconducting quantum control system using the modified configuration items; Acquire scalability and compatibility information of the superconducting quantum control system, utilize the horizontal scalability of the distributed sharded replica set cluster non-relational database, increase storage capacity and processing power by adding multiple servers, and configure scalability and compatibility of the superconducting quantum control system.
9. A superconducting quantum control system, applied to the method according to any one of claims 1 to 8, characterized in that: The system includes: a configuration management module, a catalog management module, a batch management module, a template management module and a visual interface; The superconducting quantum control system is connected to the quality client, web client and preset database respectively using a unified application program interface based on the advanced message queue protocol; Among them, the superconducting quantum control system uses a preset communication mechanism to realize message transmission and data interaction between various modules within the system. The preset communication mechanism includes pipeline communication mode, message queue communication mode, shared memory communication mode, signal communication mode and socket communication mode.
10. The system according to claim 9, characterized in that The configuration management module is used to query the configuration items of the superconducting quantum control system, output the historical change information of the configuration items, add the configuration items, delete the configuration items, and set the attribute information of the configuration items; The directory management module is used to create, delete, view and copy directories. The batch management module is used to batch import the configuration item parameters, batch export the configuration item parameters, batch set the configuration item parameters, and batch query the configuration item parameters; Wherein, the template management module is used to create modules and synchronization modules; The visualization interface includes obtaining the configuration item, switching the configuration item, and obtaining user quantum computing operations.
Citation Information
Patent Citations
TLS protocol dynamic migration method and device supporting quantum security
CN118381668A
Multi-person online document-oriented real-time collaborative editing system and method
CN118798136A