CN114625611B - Quantum computing environment monitoring method, device and storage medium - Google Patents
Quantum computing environment monitoring method, device and storage medium Download PDFInfo
- Publication number
- CN114625611B CN114625611B CN202210276530.3A CN202210276530A CN114625611B CN 114625611 B CN114625611 B CN 114625611B CN 202210276530 A CN202210276530 A CN 202210276530A CN 114625611 B CN114625611 B CN 114625611B
- Authority
- CN
- China
- Prior art keywords
- quantum
- computing environment
- monitoring index
- monitoring
- quantum computing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000012544 monitoring process Methods 0.000 title claims abstract description 252
- 238000000034 method Methods 0.000 title claims abstract description 49
- 238000003860 storage Methods 0.000 title claims abstract description 38
- 238000007405 data analysis Methods 0.000 claims abstract description 19
- 238000007781 pre-processing Methods 0.000 claims abstract description 9
- 238000012806 monitoring device Methods 0.000 claims abstract description 7
- 238000004891 communication Methods 0.000 claims description 20
- 238000006243 chemical reaction Methods 0.000 claims description 17
- 238000012545 processing Methods 0.000 claims description 12
- 230000001960 triggered effect Effects 0.000 claims description 10
- 230000007613 environmental effect Effects 0.000 claims description 4
- 238000004806 packaging method and process Methods 0.000 claims description 4
- 238000009826 distribution Methods 0.000 claims description 3
- 238000005259 measurement Methods 0.000 claims description 3
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 claims description 3
- 239000000470 constituent Substances 0.000 description 10
- 238000010586 diagram Methods 0.000 description 8
- 238000004590 computer program Methods 0.000 description 7
- 238000013500 data storage Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 3
- 238000011161 development Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000007619 statistical method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3058—Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
- G06F8/24—Object-oriented
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N10/00—Quantum computing, i.e. information processing based on quantum-mechanical phenomena
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Computing Systems (AREA)
- Computational Mathematics (AREA)
- Artificial Intelligence (AREA)
- Condensed Matter Physics & Semiconductors (AREA)
- Data Mining & Analysis (AREA)
- Evolutionary Computation (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Mathematical Physics (AREA)
- Quality & Reliability (AREA)
- Debugging And Monitoring (AREA)
Abstract
The application discloses a quantum computing environment monitoring method, a quantum computing environment monitoring device and a storage medium. The method comprises the following steps: determining the type of a quantum computing environment composition object to be monitored, and developing a corresponding quantum monitoring adapter based on the type of the quantum computing environment composition object to be monitored; based on the quantum monitoring adapter, acquiring a monitoring index corresponding to a quantum computing environment composition object to be monitored, and preprocessing the monitoring index to generate a corresponding standard monitoring index; based on the quantum event engine, triggering a preset data analysis event, and analyzing the standard monitoring index to determine whether the standard monitoring index exceeds a preset threshold; and triggering a preset alarm event based on the quantum event engine under the condition that the standard monitoring index exceeds a preset threshold value so as to generate an alarm notification, and sending the alarm notification to the quantum computing environment monitoring platform. The method effectively monitors the quantum computing environment of the quantum computer.
Description
Technical Field
The present application relates to the field of quantum computing environment monitoring technologies, and in particular, to a method, an apparatus, and a storage medium for monitoring a quantum computing environment.
Background
With the rapid development of IT industry, computers are widely used in various industries. To ensure long-term normal operation of a computer system, a large number of operating parameters are collected for the computer, and a large number of environmental devices are installed for the machine room.
However, the existing computer environment monitoring systems are all monitoring schemes designed for the traditional computer, and are not suitable for monitoring the computing environment of the quantum computer, especially for monitoring the running environment inside the quantum computer. Therefore, how to monitor the quantum computing environment of a quantum computer is a technical problem to be solved.
Disclosure of Invention
The embodiment of the application provides a monitoring method, equipment and a storage medium of a quantum computing environment, which are used for solving the following technical problems: how to monitor the quantum computing environment of a quantum computer.
In a first aspect, an embodiment of the present application provides a method for monitoring a quantum computing environment, which is applied to a quantum computing environment monitoring system, and is characterized in that the method includes: determining the type of a quantum computing environment composition object to be monitored, and developing a corresponding quantum monitoring adapter based on the type of the quantum computing environment composition object to be monitored; based on the quantum monitoring adapter, acquiring a monitoring index corresponding to a quantum computing environment composition object to be monitored, and preprocessing the monitoring index to generate a corresponding standard monitoring index; based on the quantum event engine, triggering a preset data analysis event, and analyzing the standard monitoring index to determine whether the standard monitoring index exceeds a preset threshold; and triggering a preset alarm event based on the quantum event engine under the condition that the standard monitoring index exceeds a preset threshold value so as to generate an alarm notification, and sending the alarm notification to the quantum computing environment monitoring platform.
The method for monitoring the quantum computing environment is applied to a quantum computing environment monitoring system, and communication between the quantum computing environment monitoring system and an object formed by the quantum computing environment to be monitored is realized through a quantum monitoring adapter. And triggering an event to be triggered through the quantum event engine, processing the standard monitoring index, and calling other modules in the quantum computing environment monitoring system to monitor the quantum computing environment. And under the condition that the existence standard monitoring index exceeds the preset threshold value, the alarm can be realized. The embodiment of the application effectively monitors the quantum computing environment of the quantum computer by the method.
In one implementation of the present application, developing a corresponding quantum monitoring adapter based on the types of the quantum computing environment constituent objects to be monitored, specifically includes: determining a communication protocol of each quantum computing environment composition object to be monitored in a quantum computing environment composition object database based on the type of the quantum computing environment composition object to be monitored; determining a monitoring index format corresponding to the communication protocol based on the communication protocol, analyzing the monitoring index format, and generating a corresponding standard monitoring index format conversion algorithm based on a standard monitoring index format corresponding to the standard monitoring index; and packaging a standard monitoring index format conversion algorithm based on the communication address of the quantum computing environment composition object to be monitored so as to determine a quantum monitoring adapter corresponding to the quantum computing environment composition object to be monitored.
In one implementation manner of the application, before the quantum monitoring adapter is used for acquiring the monitoring index corresponding to the quantum computing environment composition object to be monitored, the method further comprises the following steps: processing a plurality of preset abstract classes based on the types of the objects formed by the quantum computing environments to be monitored so as to obtain nested abstract classes conforming to the data structure relations of various types of standard monitoring indexes; the nested abstract class is used for providing a storage space required by the standard monitoring index; determining a caching strategy of the nested abstract class aiming at the standard monitoring index, and generating a state container based on the nested abstract class and the caching strategy; the caching strategy is used for updating the standard monitoring index in the nested abstract class, and the state container is used for storing the standard monitoring index.
In one implementation of the present application, after generating the state container based on the nested abstract class and the cache policy, the method further comprises: adding an event storage abstract class in a state container; the data storage abstract class is used for storing events to be triggered required by the quantum event engine; determining a storage address of an event to be triggered in a data storage abstract class, constructing an event triggering rule corresponding to a quantum event engine based on the storage address, and constructing a calling relationship between the quantum event engine and other modules in a quantum computing environment monitoring system.
In one implementation manner of the application, a monitoring index corresponding to a quantum computing environment composition object to be monitored is obtained, and the monitoring index is preprocessed to generate a corresponding standard monitoring index, which specifically comprises: the quantum monitoring adapter responds to a first monitoring index acquisition instruction sent by the quantum event engine to generate a second monitoring index acquisition instruction; converting the second monitoring index acquisition instruction through an instruction conversion algorithm to generate a third monitoring index acquisition instruction corresponding to the quantum computing environment composition object to be monitored; and receiving the monitoring index sent by the quantum computing environment composition object to be monitored based on the third monitoring index acquisition instruction, and processing the monitoring index through a corresponding standard monitoring index format conversion algorithm to obtain a corresponding standard monitoring index.
In one implementation of the present application, based on a quantum event engine, triggering a preset data analysis event, and analyzing a standard monitoring index to determine whether the standard monitoring index exceeds a preset threshold, the method specifically includes: the quantum event engine receives a monitoring index to-be-analyzed instruction generated by the state container after standard monitoring indexes are stored, and triggers a corresponding data analysis event in the event storage abstract class based on the type of the standard monitoring index contained in the monitoring index to-be-analyzed instruction; the data analysis event judges whether the standard monitoring index exceeds a preset threshold value preset in the standard monitoring index.
In one implementation of the present application, when the standard monitoring index exceeds a preset threshold, triggering a preset alarm event based on the quantum event engine to generate an alarm notification specifically includes: triggering a corresponding alarm event in an event storage abstract class under the condition that a judgment result returned by the data analysis event received by the quantum event engine exceeds a preset threshold value; the alarm event generates an alarm notification based on an alarm notification generation algorithm preset in the alarm event.
In one implementation of the present application, a quantum computing environment object to be monitored includes: the quantum computer comprises component equipment of the quantum computer, environment equipment of a machine room where the quantum computer is located, large screen equipment of an auxiliary quantum computing environment monitoring system and related software.
In a second aspect, an embodiment of the present application further provides a monitoring device for a quantum computing environment, where the device includes: a processor; and a memory having executable code stored thereon which, when executed, causes the processor to perform a method as claimed in any one of claims 1 to 8.
In a third aspect, embodiments of the present application also provide a non-volatile computer storage medium storing computer-executable instructions for monitoring a quantum computing environment, wherein the computer-executable instructions are configured to: determining the type of a quantum computing environment composition object to be monitored, and developing a corresponding quantum monitoring adapter based on the type of the quantum computing environment composition object to be monitored; based on the quantum monitoring adapter, acquiring a monitoring index corresponding to a quantum computing environment composition object to be monitored, and preprocessing the monitoring index to generate a corresponding standard monitoring index; based on the quantum event engine, triggering a preset data analysis event, and analyzing the standard monitoring index to determine whether the standard monitoring index exceeds a preset threshold; and triggering a preset alarm event based on the quantum event engine under the condition that the standard monitoring index exceeds a preset threshold value so as to generate an alarm notification, and sending the alarm notification to the quantum computing environment monitoring platform.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
FIG. 1 is a flowchart of a method for monitoring a quantum computing environment according to an embodiment of the present application;
Fig. 2 is a schematic diagram of an internal structure of a monitoring device of a quantum computing environment according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be clearly and completely described below with reference to specific embodiments of the present application and corresponding drawings. It will be apparent that the described embodiments are only some, but not all, embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The embodiment of the application provides a monitoring method, equipment and a storage medium of a quantum computing environment, which are used for solving the following technical problems: how to monitor the quantum computing environment of a quantum computer.
The following describes the technical scheme provided by the embodiment of the application in detail through the attached drawings.
Fig. 1 is a flowchart of a method for monitoring a quantum computing environment according to an embodiment of the present application. As shown in fig. 1, the method for monitoring a quantum computing environment provided by the embodiment of the application specifically includes the following steps:
step 101, determining the type of the quantum computing environment composition object to be monitored, and developing a corresponding quantum monitoring adapter based on the type of the quantum computing environment composition object to be monitored.
Firstly, it should be noted that, in the embodiment of the present application, the quantum computing environment object to be monitored includes: the quantum computer comprises component equipment of the quantum computer, environment equipment of a machine room where the quantum computer is located, large screen equipment of an auxiliary quantum computing environment monitoring system and related software. The composition equipment of the quantum computer at least comprises equipment: the system comprises a refrigerator, a measurement and control system, a quantum chip and a power supply system; the environmental equipment of the machine room where the quantum computer is located at least comprises equipment: the system comprises low-voltage distribution equipment, a standby generator set, a UPS, a special air conditioner, fire-fighting equipment and a temperature and humidity sensor of a water leakage alarm device; the relevant software of the auxiliary quantum computing environment monitoring system at least comprises: quantum databases, running web servers.
In one embodiment of the application, the types of objects that are to be composed in the quantum computing environment to be monitored are first required to enable the monitoring of the quantum computing environment. In one embodiment of the present application, the present application is not limited herein, and may be selected according to specific requirements, for example, determined by a statistical method. It should be noted that, in the present application, the types of the quantum computing environment constituent objects to be monitored at least include the model of the quantum computing environment constituent object to be monitored.
In one embodiment of the application, after determining the type of quantum computing environment constituent object to be monitored, a corresponding quantum monitoring adapter is developed based on the type of quantum computing environment constituent object to be monitored. It should be noted that, the quantum monitoring adapter is used for implementing communication between the quantum computing environment monitoring system and the object formed by the quantum computing environment to be monitored.
Specifically, firstly, determining a communication protocol of each quantum computing environment composition object to be monitored in a quantum computing environment composition object database based on the type of the quantum computing environment composition object to be monitored; based on the communication protocol, determining a monitoring index format corresponding to the communication protocol, analyzing the monitoring index format, and generating a corresponding standard monitoring index format conversion algorithm based on a standard monitoring index format corresponding to the standard monitoring index. And packaging a standard monitoring index format conversion algorithm based on the communication address of the quantum computing environment composition object to be monitored so as to determine a quantum monitoring adapter corresponding to the quantum computing environment composition object to be monitored.
In one embodiment of the present application, a corresponding standard monitoring indicator format conversion algorithm is generated based on the standard monitoring indicator format corresponding to the standard monitoring indicator, as exemplified below. For example: the corresponding current unit in the monitoring index format is 'A', the corresponding current unit in the standard monitoring index format is 'mA', and after the corresponding current unit in the analysis and determination monitoring index format is 'A', the corresponding standard monitoring index format conversion algorithm corresponding to the index is determined as follows: monitoring index 1000=standard monitoring index.
It can be appreciated that the standard monitoring index format conversion algorithm is packaged based on the communication address of the quantum computing environment constituent object to be monitored, so that the quantum monitoring adapter can determine the quantum computing environment constituent object to be monitored corresponding to the communication.
Step 102, based on the quantum monitoring adapter, obtaining a monitoring index corresponding to the quantum computing environment to be monitored, and preprocessing the monitoring index to generate a corresponding standard monitoring index.
In one embodiment of the present application, after development of the quantum monitoring adapter corresponding to the quantum computing environment constituent object to be monitored is completed, a state container for storing standard monitoring indexes is further required to be developed.
Specifically, based on the types of the objects formed by the quantum computing environment to be monitored, processing a plurality of preset abstract classes to obtain nested abstract classes conforming to the data structure relation of various standard monitoring indexes; the nested abstract class is used for providing a storage space required by the standard monitoring index; determining a caching strategy of the nested abstract class aiming at the standard monitoring index, and generating a state container based on the nested abstract class and the caching strategy; the caching strategy is used for updating the standard monitoring index in the nested abstract class, and the state container is used for storing the standard monitoring index.
It can be appreciated that the updating of the standard monitoring index in the nested abstract class at least comprises adding, deleting, modifying and checking the standard monitoring index.
It should be noted that, after generating the state container based on the nested abstract class and the cache policy, the to-be-triggered event of the quantum event engine needs to be added to the state container. The quantum event engine is used for triggering an event to be triggered to monitor the quantum computing environment.
Specifically, adding an event storage abstract class in a state container; the data storage abstract class is used for storing events to be triggered required by the quantum event engine; determining a storage address of an event to be triggered in a data storage abstract class, constructing an event triggering rule corresponding to a quantum event engine based on the storage address, and constructing a calling relationship between the quantum event engine and other modules in a quantum computing environment monitoring system.
In one embodiment of the application, the acquisition of standard monitoring metrics is achieved after the development of the status container is completed.
Specifically, the quantum monitoring adapter responds to a first monitoring index acquisition instruction sent by the quantum event engine to generate a second monitoring index acquisition instruction; converting the second monitoring index acquisition instruction through an instruction conversion algorithm to generate a third monitoring index acquisition instruction corresponding to the quantum computing environment composition object to be monitored; and receiving the monitoring index sent by the quantum computing environment composition object to be monitored based on the third monitoring index acquisition instruction, and processing the monitoring index through a corresponding standard monitoring index format conversion algorithm to obtain a corresponding standard monitoring index.
And 103, triggering a preset data analysis event based on the quantum event engine, and analyzing the standard monitoring index to determine whether the standard monitoring index exceeds a preset threshold value.
In one embodiment of the application, after a standard monitoring index is acquired, a quantum event engine receives a monitoring index to-be-analyzed instruction generated by a state container after storing the standard monitoring index, and triggers a corresponding data analysis event in an event storage abstract class based on the type of the standard monitoring index contained in the monitoring index to-be-analyzed instruction; the data analysis event judges whether the standard monitoring index exceeds a preset threshold value preset in the standard monitoring index.
And 104, triggering a preset alarm event based on the quantum event engine to generate an alarm notification and sending the alarm notification to the quantum computing environment monitoring platform under the condition that the standard monitoring index exceeds a preset threshold.
In one embodiment of the application, when the quantum event engine receives the judgment result returned by the data analysis event, the judgment result exceeds a preset threshold value, the corresponding alarm event in the event storage abstract class is triggered; the alarm event generates an alarm notification based on an alarm notification generation algorithm preset in the alarm event.
It should be noted that, templates corresponding to the alarm paths are preset in the alarm notification generation algorithm. For example, the alarm approach is to send an email to alarm, and an email alarm template is preset in an alarm notification generation algorithm, and only the corresponding quantum computing environment to be monitored is required to be filled.
Based on the same inventive concept, the embodiment of the application also provides a monitoring device of the quantum computing environment, and the internal structure of the monitoring device is shown in fig. 2.
Fig. 2 is a schematic diagram of an internal structure of a monitoring device of a quantum computing environment according to an embodiment of the present application. As shown in fig. 2, the apparatus includes: a processor 201; the memory 202 has stored thereon executable instructions that, when executed, cause the processor 201 to perform a method of monitoring a quantum computing environment as described above.
In one embodiment of the present application, the processor 201 is configured to determine a type of a quantum computing environment constituent object to be monitored, and develop a corresponding quantum monitoring adapter based on the type of the quantum computing environment constituent object to be monitored; based on the quantum monitoring adapter, acquiring a monitoring index corresponding to a quantum computing environment composition object to be monitored, and preprocessing the monitoring index to generate a corresponding standard monitoring index; based on the quantum event engine, triggering a preset data analysis event, and analyzing the standard monitoring index to determine whether the standard monitoring index exceeds a preset threshold; and triggering a preset alarm event based on the quantum event engine under the condition that the standard monitoring index exceeds a preset threshold value so as to generate an alarm notification, and sending the alarm notification to the quantum computing environment monitoring platform.
Some embodiments of the application provide a monitored non-volatile computer storage medium corresponding to one of the quantum computing environments of fig. 1, storing computer-executable instructions configured to:
Determining the type of a quantum computing environment composition object to be monitored, and developing a corresponding quantum monitoring adapter based on the type of the quantum computing environment composition object to be monitored;
Based on the quantum monitoring adapter, acquiring a monitoring index corresponding to a quantum computing environment composition object to be monitored, and preprocessing the monitoring index to generate a corresponding standard monitoring index;
Based on the quantum event engine, triggering a preset data analysis event, and analyzing the standard monitoring index to determine whether the standard monitoring index exceeds a preset threshold;
and triggering a preset alarm event based on the quantum event engine under the condition that the standard monitoring index exceeds a preset threshold value so as to generate an alarm notification, and sending the alarm notification to the quantum computing environment monitoring platform.
The embodiments of the present application are described in a progressive manner, and the same and similar parts of the embodiments are all referred to each other, and each embodiment is mainly described in the differences from the other embodiments. In particular, for the internet of things device and the medium embodiment, since they are substantially similar to the method embodiment, the description is relatively simple, and the relevant points are referred to in the description of the method embodiment.
The system, the medium and the method provided by the embodiment of the application are in one-to-one correspondence, so that the system and the medium also have similar beneficial technical effects to the corresponding method, and the beneficial technical effects of the method are explained in detail above, so that the beneficial technical effects of the system and the medium are not repeated here.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and variations of the present application will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. which come within the spirit and principles of the application are to be included in the scope of the claims of the present application.
Claims (8)
1. A method for monitoring a quantum computing environment, applied to a quantum computing environment monitoring system, the method comprising:
Determining the type of a quantum computing environment composition object to be monitored, and developing a corresponding quantum monitoring adapter based on the type of the quantum computing environment composition object to be monitored; the quantum computing environment to be monitored comprises the following components: the method comprises the steps of forming equipment of a quantum computer, environment equipment of a machine room where the quantum computer is located, large screen equipment of an auxiliary quantum computing environment monitoring system and related software; the component devices of the quantum computer at least comprise the devices: the system comprises a refrigerator, a measurement and control system, a quantum chip and a power supply system; the environmental equipment of the machine room where the quantum computer is located at least comprises equipment: the system comprises low-voltage distribution equipment, a standby generator set, a UPS, a special air conditioner, fire-fighting equipment and a temperature and humidity sensor of a water leakage alarm device; the relevant software of the auxiliary quantum computing environment monitoring system at least comprises: a quantum database, running a web server;
based on the quantum monitoring adapter, acquiring a monitoring index corresponding to the quantum computing environment to be monitored, and preprocessing the monitoring index to generate a corresponding standard monitoring index;
Based on a quantum event engine, triggering a preset data analysis event, and analyzing the standard monitoring index to determine whether the standard monitoring index exceeds a preset threshold;
triggering a preset alarm event based on the quantum event engine under the condition that the standard monitoring index exceeds a preset threshold value so as to generate an alarm notification, and sending the alarm notification to a quantum computing environment monitoring platform;
based on the types of the objects formed by the quantum computing environment to be monitored, developing a corresponding quantum monitoring adapter specifically comprises the following steps:
Determining a communication protocol of each quantum computing environment composition object to be monitored in a quantum computing environment composition object database based on the type of the quantum computing environment composition object to be monitored;
Determining a monitoring index format corresponding to the communication protocol based on the communication protocol, analyzing the monitoring index format, and generating a corresponding standard monitoring index format conversion algorithm based on a standard monitoring index format corresponding to the standard monitoring index;
Based on the communication address of the quantum computing environment composition object to be monitored, packaging the standard monitoring index format conversion algorithm to determine a quantum monitoring adapter corresponding to the quantum computing environment composition object to be monitored;
before the quantum monitoring adapter is used for acquiring the monitoring index corresponding to the quantum computing environment composition object to be monitored, the method further comprises the following steps:
Processing a plurality of preset abstract classes based on the types of the objects formed by the quantum computing environments to be monitored so as to obtain nested abstract classes conforming to the data structure relations of various types of standard monitoring indexes; the nested abstract class is used for providing a storage space required by the standard monitoring index; and
Determining a caching strategy of the nested abstract class aiming at standard monitoring indexes, and generating a state container based on the nested abstract class and the caching strategy; the caching strategy is used for updating the standard monitoring index in the nested abstract class, and the state container is used for storing the standard monitoring index.
2. The method of claim 1, wherein after generating a state container based on the nested abstract class and the caching policy, the method further comprises:
Adding an event storage abstract class in the state container; the event storage abstract class is used for storing events to be triggered required by the quantum event engine;
determining a storage address of the event to be triggered in the event storage abstract class, constructing an event triggering rule corresponding to the quantum event engine based on the storage address, and constructing a calling relationship between the quantum event engine and other modules in the quantum computing environment monitoring system.
3. The method for monitoring a quantum computing environment according to claim 1, wherein the method for monitoring a quantum computing environment to be monitored is characterized by obtaining a monitoring index corresponding to an object formed by the quantum computing environment to be monitored, and preprocessing the monitoring index to generate a corresponding standard monitoring index, and specifically comprises the following steps:
the quantum monitoring adapter responds to a first monitoring index acquisition instruction sent by the quantum event engine to generate a second monitoring index acquisition instruction;
Converting the second monitoring index acquisition instruction through an instruction conversion algorithm to generate a third monitoring index acquisition instruction corresponding to the quantum computing environment to be monitored forming object;
And receiving the monitoring index sent by the quantum computing environment composition object to be monitored based on the third monitoring index acquisition instruction, and processing the monitoring index through the corresponding standard monitoring index format conversion algorithm to obtain the corresponding standard monitoring index.
4. The method according to claim 2, wherein the standard monitoring index is analyzed to determine whether the standard monitoring index exceeds a preset threshold based on a quantum event engine triggering a preset data analysis event, comprising:
The quantum event engine receives a monitoring index to-be-analyzed instruction generated by the state container after the standard monitoring index is stored, and triggers a corresponding data analysis event in the event storage abstract class based on the type of the standard monitoring index contained in the monitoring index to-be-analyzed instruction;
and the data analysis event judges whether the standard monitoring index exceeds a preset threshold value preset in the standard monitoring index.
5. The method according to claim 4, wherein, in the case that the standard monitoring index exceeds a preset threshold, triggering a preset alarm event based on the quantum event engine to generate an alarm notification specifically comprises:
Triggering a corresponding alarm event in the event storage abstract class under the condition that the quantum event engine receives a judgment result returned by the data analysis event and exceeds a preset threshold value;
the alarm event generates an alarm notification based on a preset alarm notification generation algorithm.
6. The method for monitoring a quantum computing environment according to claim 1, wherein the quantum computing environment to be monitored comprises: the quantum computer comprises component equipment of the quantum computer, environment equipment of a machine room where the quantum computer is located, large screen equipment of an auxiliary quantum computing environment monitoring system and related software.
7. A monitoring device for a quantum computing environment, the device comprising:
A processor;
And a memory having executable code stored thereon that, when executed, causes the processor to perform a method as claimed in any one of claims 1 to 6.
8. A non-volatile computer storage medium storing computer-executable instructions for monitoring a quantum computing environment, the computer-executable instructions configured to:
Determining the type of a quantum computing environment composition object to be monitored, and developing a corresponding quantum monitoring adapter based on the type of the quantum computing environment composition object to be monitored; the quantum computing environment to be monitored comprises the following components: the method comprises the steps of forming equipment of a quantum computer, environment equipment of a machine room where the quantum computer is located, large screen equipment of an auxiliary quantum computing environment monitoring system and related software; the component devices of the quantum computer at least comprise the devices: the system comprises a refrigerator, a measurement and control system, a quantum chip and a power supply system; the environmental equipment of the machine room where the quantum computer is located at least comprises equipment: the system comprises low-voltage distribution equipment, a standby generator set, a UPS, a special air conditioner, fire-fighting equipment and a temperature and humidity sensor of a water leakage alarm device; the relevant software of the auxiliary quantum computing environment monitoring system at least comprises: a quantum database, running a web server;
based on the quantum monitoring adapter, acquiring a monitoring index corresponding to the quantum computing environment to be monitored, and preprocessing the monitoring index to generate a corresponding standard monitoring index;
Based on a quantum event engine, triggering a preset data analysis event, and analyzing the standard monitoring index to determine whether the standard monitoring index exceeds a preset threshold;
triggering a preset alarm event based on the quantum event engine under the condition that the standard monitoring index exceeds a preset threshold value so as to generate an alarm notification, and sending the alarm notification to a quantum computing environment monitoring platform;
based on the types of the objects formed by the quantum computing environment to be monitored, developing a corresponding quantum monitoring adapter specifically comprises the following steps:
Determining a communication protocol of each quantum computing environment composition object to be monitored in a quantum computing environment composition object database based on the type of the quantum computing environment composition object to be monitored;
Determining a monitoring index format corresponding to the communication protocol based on the communication protocol, analyzing the monitoring index format, and generating a corresponding standard monitoring index format conversion algorithm based on a standard monitoring index format corresponding to the standard monitoring index;
Based on the communication address of the quantum computing environment composition object to be monitored, packaging the standard monitoring index format conversion algorithm to determine a quantum monitoring adapter corresponding to the quantum computing environment composition object to be monitored;
before the quantum monitoring adapter is used for acquiring the monitoring index corresponding to the quantum computing environment composition object to be monitored, the method further comprises the following steps:
Processing a plurality of preset abstract classes based on the types of the objects formed by the quantum computing environments to be monitored so as to obtain nested abstract classes conforming to the data structure relations of various types of standard monitoring indexes; the nested abstract class is used for providing a storage space required by the standard monitoring index; and
Determining a caching strategy of the nested abstract class aiming at standard monitoring indexes, and generating a state container based on the nested abstract class and the caching strategy; the caching strategy is used for updating the standard monitoring index in the nested abstract class, and the state container is used for storing the standard monitoring index.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210276530.3A CN114625611B (en) | 2022-03-21 | 2022-03-21 | Quantum computing environment monitoring method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210276530.3A CN114625611B (en) | 2022-03-21 | 2022-03-21 | Quantum computing environment monitoring method, device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114625611A CN114625611A (en) | 2022-06-14 |
CN114625611B true CN114625611B (en) | 2024-05-24 |
Family
ID=81903090
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210276530.3A Active CN114625611B (en) | 2022-03-21 | 2022-03-21 | Quantum computing environment monitoring method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114625611B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115499336A (en) * | 2022-08-19 | 2022-12-20 | 恒丰银行股份有限公司 | Method, equipment and medium for monitoring full life cycle of application system |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104572401A (en) * | 2015-02-09 | 2015-04-29 | 浪潮软件股份有限公司 | Alarming method and alarming system |
CN110069385A (en) * | 2019-04-26 | 2019-07-30 | 济南浪潮高新科技投资发展有限公司 | Quantum cloud monitoring system and method based on Internet of Things |
CN110661659A (en) * | 2019-09-23 | 2020-01-07 | 上海艾融软件股份有限公司 | Alarm method, device and system and electronic equipment |
CN113010374A (en) * | 2021-02-26 | 2021-06-22 | 济南浪潮高新科技投资发展有限公司 | Quantum device monitoring method and system based on monitoring platform |
CN113496032A (en) * | 2020-04-03 | 2021-10-12 | 中国信息安全测评中心 | Big data operation abnormity monitoring system based on distributed computation and rule engine |
CN113704065A (en) * | 2021-08-31 | 2021-11-26 | 平安普惠企业管理有限公司 | Monitoring method, device, equipment and computer storage medium |
CN113962398A (en) * | 2021-10-29 | 2022-01-21 | 中国人民解放军战略支援部队信息工程大学 | Quantum computer automation control method, system, server and storage medium |
CN113961411A (en) * | 2021-11-24 | 2022-01-21 | 中国人民解放军战略支援部队信息工程大学 | Hardware monitoring method and device, quantum computer and storage medium |
-
2022
- 2022-03-21 CN CN202210276530.3A patent/CN114625611B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104572401A (en) * | 2015-02-09 | 2015-04-29 | 浪潮软件股份有限公司 | Alarming method and alarming system |
CN110069385A (en) * | 2019-04-26 | 2019-07-30 | 济南浪潮高新科技投资发展有限公司 | Quantum cloud monitoring system and method based on Internet of Things |
CN110661659A (en) * | 2019-09-23 | 2020-01-07 | 上海艾融软件股份有限公司 | Alarm method, device and system and electronic equipment |
CN113496032A (en) * | 2020-04-03 | 2021-10-12 | 中国信息安全测评中心 | Big data operation abnormity monitoring system based on distributed computation and rule engine |
CN113010374A (en) * | 2021-02-26 | 2021-06-22 | 济南浪潮高新科技投资发展有限公司 | Quantum device monitoring method and system based on monitoring platform |
CN113704065A (en) * | 2021-08-31 | 2021-11-26 | 平安普惠企业管理有限公司 | Monitoring method, device, equipment and computer storage medium |
CN113962398A (en) * | 2021-10-29 | 2022-01-21 | 中国人民解放军战略支援部队信息工程大学 | Quantum computer automation control method, system, server and storage medium |
CN113961411A (en) * | 2021-11-24 | 2022-01-21 | 中国人民解放军战略支援部队信息工程大学 | Hardware monitoring method and device, quantum computer and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN114625611A (en) | 2022-06-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108768728B (en) | Operation and maintenance task processing method and device, computer equipment and storage medium | |
CN113641526B (en) | Alarm root cause positioning method and device, electronic equipment and computer storage medium | |
CN108134812B (en) | Data processing method and device | |
CN110362547B (en) | Method and device for encoding, analyzing and storing log file | |
CN114625611B (en) | Quantum computing environment monitoring method, device and storage medium | |
CN111078213B (en) | Code generation method and code generation device | |
CN106293890B (en) | A kind of method and device for business processing based on complexity | |
CN104298589A (en) | Performance test method and performance test equipment | |
CN112559565A (en) | Abnormity detection method, system and device | |
CN113347654B (en) | Method and device for determining fault type of out-of-service base station | |
CN112231192A (en) | Log data analysis method and device | |
CN116155766A (en) | Method and equipment for evaluating quality of park network | |
CN110321133B (en) | H5 application deployment method and device | |
CN114579252A (en) | Method, system, storage medium and equipment for monitoring application state | |
CN114756451A (en) | Safety testing method and device for power grid system, computer equipment and storage medium | |
CN113741912A (en) | Model management system, method, device and equipment | |
CN113434320A (en) | Information system fault positioning method, device, equipment and storage medium | |
CN114691443A (en) | Cross section data sending method and device, electronic equipment and storage medium | |
CN117632007A (en) | Data storage method and device, storage medium and electronic equipment | |
CN111124931B (en) | Java code compliance checking method and device | |
US8977901B1 (en) | Generating service call patterns for systems under test | |
CN116471191A (en) | Protocol data simulation method, system, equipment and storage medium | |
CN116594798B (en) | Data center maintenance method, equipment and medium based on inspection robot | |
CN116841830A (en) | Data center operation and maintenance method, device, equipment and medium | |
CN107291613B (en) | Functional node abnormity simulation method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |