CN113535328B - Application instance control method, device, equipment and storage medium - Google Patents

Application instance control method, device, equipment and storage medium Download PDF

Info

Publication number
CN113535328B
CN113535328B CN202110831317.XA CN202110831317A CN113535328B CN 113535328 B CN113535328 B CN 113535328B CN 202110831317 A CN202110831317 A CN 202110831317A CN 113535328 B CN113535328 B CN 113535328B
Authority
CN
China
Prior art keywords
instance
application instance
application
resource data
information
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
Application number
CN202110831317.XA
Other languages
Chinese (zh)
Other versions
CN113535328A (en
Inventor
李瑞友
朱正东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huayun Data Holding Group Co ltd
Original Assignee
Huayun Data Holding Group Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huayun Data Holding Group Co ltd filed Critical Huayun Data Holding Group Co ltd
Priority to CN202110831317.XA priority Critical patent/CN113535328B/en
Publication of CN113535328A publication Critical patent/CN113535328A/en
Application granted granted Critical
Publication of CN113535328B publication Critical patent/CN113535328B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2358Change logging, detection, and notification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45562Creating, deleting, cloning virtual machine instances
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/4557Distribution of virtual machine instances; Migration and load balancing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Stored Programmes (AREA)

Abstract

The application relates to an application instance control method, an application instance control device and a storage medium, and particularly relates to the field of cloud technology. The method comprises the following steps: acquiring first instance information; constructing a first application instance according to the instance type corresponding to the first instance information; the instance type includes at least one of a virtual machine and a container; and controlling the first application instance according to the first resource data in the first instance information and the running state of the first application instance so as to realize the application function of the first application instance. By the scheme, any one type of application examples in two different types can be controlled by modifying the first resource information in the first example information, the application function of the first application example is realized, different control systems are not required to be used for operating the virtual machine and the container, and the control efficiency of the application examples in different types is improved.

Description

Application instance control method, device, equipment and storage medium
Technical Field
The present invention relates to the field of cloud technologies, and in particular, to an application instance control method, device, equipment, and storage medium.
Background
Cloud application is a service which changes the use mode of traditional software 'local installation and local operation' into 'instant use'.
In order to ensure the security and the running efficiency of a plurality of cloud applications in a cloud server, the cloud applications are generally managed by using Kubernetes (open-source container orchestration engine, which is generally abbreviated as K8 s). When the cloud application needs to be implemented through the virtual machine, K8s may load kubeevirt (kubeevirt is an item that runs the virtual machine in a container manner) to implement control over the cloud application of the virtual machine type; when a cloud application needs to be implemented by a container, K8s may deploy a kata container (secure container item) to enable control of the container type cloud application.
In the scheme, the control of the virtual machine and the container is realized through two sets of items in K8s, and the control efficiency is low.
Disclosure of Invention
The application instance control method, device, equipment and storage medium improve the control efficiency of different types of application instances.
In one aspect, an application instance control method is provided, the method including:
Acquiring first instance information;
constructing a first application instance according to the instance type corresponding to the first instance information; the instance types include at least one of virtual machines and containers;
controlling the first application instance according to first resource data in the first instance information and the running state of the first application instance to realize the application function of the first application instance; the first resource data is resource data corresponding to the first application instance.
In yet another aspect, there is provided an application instance control apparatus, the apparatus including:
the first instance information acquisition module is used for acquiring first instance information;
the first instance construction module is used for constructing a first application instance according to the instance type corresponding to the first instance information; the instance types include at least one of virtual machines and containers;
the control module is used for controlling the first application instance according to the first resource data in the first instance information and the running state of the first application instance so as to realize the application function of the first application instance; the first resource data is resource data corresponding to the first application instance.
In one possible implementation, the control module includes:
the first resource acquisition unit is used for acquiring first resource data in the first instance information and an operation state corresponding to the first application instance;
and the running state updating unit is used for updating one of the first resource data and the running state of the first application instance to realize the control of the first application instance when the fact that the first resource data does not correspond to the running state of the first application instance is detected.
In a possible implementation, the operation state updating unit is further configured to,
when the updating time point of the first resource data is later than the updating time point of the running state of the first application instance, the running state of the first application instance is updated according to the first resource data;
or when the updating time point of the first resource data is earlier than the updating time point of the running state of the first application instance, updating the first resource data according to the running state of the first application instance.
In one possible implementation manner, the control module further includes:
And the first instance deleting unit is used for correspondingly deleting the first application instance when detecting that the first resource data in the first instance information is deleted.
In one possible implementation, the first instance information and the first application instance are stored in a target cloud database; at least one of a virtual machine image and a container image is included in the target cloud database.
In one possible implementation, the apparatus further includes:
the local resource storage module is used for acquiring the first instance information from the target cloud database and storing the first instance information into a local database;
and the local resource reading module is used for reading the first resource data from the local database when receiving the reading operation of the first instance information.
In one possible implementation, the first instance information includes a spec definition field;
when the first application instance corresponding to the first instance information comprises an application instance of a virtual machine type, the spec definition field comprises a regioDisk;
when the first application instance corresponding to the first instance information includes an application instance of a container type, the spec definition field includes a runtimeClassName.
In yet another aspect, a computer device is provided, the computer device including a processor and a memory, the memory storing at least one instruction, the at least one instruction loaded and executed by the processor to implement the application instance control method described above.
In yet another aspect, a computer readable storage medium having stored therein at least one instruction loaded and executed by a processor to implement the above-described application instance control method is provided.
In yet another aspect, a computer program product or computer program is provided, the computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the application instance control method described above.
Advantageous effects
The method comprises the steps of constructing first instance information containing instance types and resource data of the instances, determining whether the type of the constructed application instance is a virtual machine or a container according to the instance types, and then according to the resource data corresponding to the first application instance and contained in the first instance information, performing corresponding operation with the running state of the first application instance when the first application instance is running so as to control the first application instance.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of an application instance control system, according to an example embodiment;
FIG. 2 is a method flow diagram illustrating a method of application instance control, according to an example embodiment;
FIG. 3 is a method flow diagram illustrating an application instance control method according to an example embodiment;
FIG. 4 is a schematic diagram of a data mapping method according to the embodiment shown in FIG. 3;
FIG. 5 illustrates an example application framework diagram involved in the embodiment illustrated in FIG. 3;
FIG. 6 is a flow diagram illustrating an application instance control method according to an example embodiment;
FIG. 7 is a block diagram illustrating the construction of an application instance control device according to an exemplary embodiment;
Fig. 8 shows a block diagram of a computer device according to an exemplary embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made apparent and fully described in conjunction with the accompanying drawings, in which like reference numerals refer to identical or similar elements throughout the various figures, except where otherwise indicated. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
It should be understood that, in the embodiments of the present application, the "indication" may be a direct indication, an indirect indication, or an indication having an association relationship. For example, a indicates B, which may mean that a indicates B directly, e.g., B may be obtained by a; it may also indicate that a indicates B indirectly, e.g. a indicates C, B may be obtained by C; it may also be indicated that there is an association between a and B.
In the description of the embodiments of the present application, the term "corresponding" may indicate that there is a direct correspondence or an indirect correspondence between the two, or may indicate that there is an association between the two, or may indicate a relationship between the two and the indicated, configured, or the like.
In the embodiment of the present application, the "predefining" may be implemented by pre-storing corresponding codes, tables or other manners that may be used to indicate relevant information in devices (including, for example, terminal devices and network devices), and the specific implementation of the present application is not limited.
Before explaining the various embodiments shown in the present application, a description is first given of several concepts to which the present application relates.
1) Cloud technology
Cloud technology (Cloud technology) is a generic term of network technology, information technology, integration technology, management platform technology, application technology and the like based on Cloud computing business model application, and can form a resource pool, so that the Cloud computing business model application system is flexible and convenient as required. Cloud computing technology will become an important support. Background services of technical networking systems require a large amount of computing, storage resources, such as video websites, picture-like websites, and more portals. Along with the high development and application of the internet industry, each article possibly has an own identification mark in the future, the identification mark needs to be transmitted to a background system for logic processing, data with different levels can be processed separately, and various industry data needs strong system rear shield support and can be realized only through cloud computing.
2) Cloud computing
Cloud computing (clouding) is one type of distributed computing, which refers to decomposing a huge data computing process program into numerous small programs through a network "cloud", and then processing and analyzing the small programs through a system composed of multiple servers to obtain results and returning the results to users. Early cloud computing, simply referred to as simple distributed computing, solves task distribution, and performs merging of computing results. Thus, cloud computing is also known as grid computing. By this technique, processing of tens of thousands of data can be completed in a short time (several seconds), thereby achieving a powerful network service.
3)Kubernetes
Kubernetes is an open source for managing containerized applications on multiple hosts in a cloud platform, and the goal of Kubernetes is to make deploying containerized applications simple and efficient, and Kubernetes provides a mechanism for application deployment, planning, updating, and maintenance. One core feature of Kubernetes is that it can autonomously manage containers to ensure that the containers in the cloud platform are running according to the user's desired state, and an administrator can load a micro service to let the planner find a suitable position, and at the same time, kubernetes also system promotes tools and humanization, so that the user can conveniently deploy his own application.
Fig. 1 is a schematic diagram illustrating a configuration of an application instance control system according to an exemplary embodiment. The system includes a terminal 120 and a cloud server 110.
Optionally, the terminal 120 may call the first application instance to the cloud server 110 through an API (Application Programming Interface, application program interface) to implement a data processing function corresponding to the first application instance.
Optionally, the cloud server 110 may process the data sent by the terminal 120 according to the API call request corresponding to the first application instance sent by the terminal 120, and return the result to the terminal 120.
Optionally, the cloud server 110 includes a cloud storage module and a cloud processing module, where the cloud storage module may also be regarded as a cloud database, where the cloud database includes virtual machine item information and container item information, and when the cloud processing module needs to construct a first application instance according to first instance information existing in the K8S, it may determine, according to an instance type corresponding to the first instance information, whether the type of the first application information is a virtual machine or a container, and correspondingly pull a corresponding image file from the cloud database to construct the first application instance.
Alternatively, the terminal may be a terminal device having a data processing function and a data storage function, where the terminal may include one terminal or may include multiple terminals, and the number of the terminals is not limited in the embodiments of the present application. The terminal may be, but is not limited to, a terminal device having a data processor and a data storage component, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, etc.
Optionally, the cloud server may be a cloud server that provides basic operation and calculation services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDNs, and big data and artificial intelligence platforms.
Optionally, the cloud server 110 and the terminal 120 may be connected through a communication network. Alternatively, the communication network may be a wired network or a wireless network.
Alternatively, the wireless network or wired network described above uses standard communication techniques and/or protocols. The network is typically the internet, but may be any other network including, but not limited to, a local area network, a metropolitan area network, a wide area network, a mobile, a limited or wireless network, a private network, or any combination of virtual private networks. In some embodiments, techniques and/or formats including hypertext markup language, extensible markup language, and the like are used to represent data exchanged over a network. All or some of the links may also be encrypted using conventional encryption techniques such as secure socket layer, transport layer security, virtual private network, internet protocol security, etc. In other embodiments, custom and/or dedicated data communication techniques may also be used in place of or in addition to the data communication techniques described above.
Fig. 2 is a method flow diagram illustrating an application instance control method according to an example embodiment. The method is performed by a cloud server, for example, cloud server 110 as shown in fig. 1. As shown in fig. 2, the method for controlling an application instance may include the steps of:
step 201, obtaining first instance information.
The first instance information comprises application data for constructing an application instance.
For example, the application data may include type information indicating an instance type for which the first instance information is allowed to build.
In one possible implementation, the first instance information includes a spec definition field;
when the first application instance corresponding to the first instance information comprises an application instance of a virtual machine type, the spec definition field comprises a registryidisk; when the first application instance corresponding to the first instance information includes an application instance of a container type, the spec definition field includes a runtimeClassName.
The first instance information may be a custom resource CRD constructed by K8s, where a key part of the custom resource CRD is to define a kind of a resource to be constructed, and when an application instance of a virtual machine type needs to be constructed, a spec definition field in the first instance information may include a registry dis so that the K8s implements various functions corresponding to the virtual machine (such as constructing an instance of the virtual machine type) through the registry dis; when an application instance of a container type needs to be built, the spec definition field in the first instance information may contain a runtimeClassName, so that K8s implements various functions corresponding to the container through the runtimeClassName.
Step 202, a first application instance is constructed according to the instance type corresponding to the first instance information.
Wherein the instance type includes at least one of a virtual machine and a container.
Alternatively, the first instance information may be one instance information or a plurality of instance information. When the first instance information is instance information, the instance type in the first instance information may be one of a virtual machine or a container. When the instance type in the first instance information is a virtual machine, a first application instance based on the virtual machine can be constructed according to the instance type corresponding to the first instance information; when the instance type of the first instance information is a container, a first application instance based on the container can be constructed based on the instance type corresponding to the first instance information.
When the first instance information is a plurality of instance information, the first instance information may include instance types corresponding to the plurality of instance information, and when the first application instance needs to be built, the first application instance corresponding to the instance type may be built according to type information corresponding to the first application instance in the first instance information. For example, when the first instance information includes two instance information, and the instance types corresponding to the two instance information are a virtual machine and a container, an application instance of the virtual machine type and an application instance of the container type corresponding to the two instance information can be respectively constructed.
Optionally, the instance type corresponding to the first instance information is determined according to a spec definition field in the first instance information, and when the spec definition field of the first instance information contains a registryDisk, the instance type corresponding to the first instance information contains a virtual machine type; when the spec definition field in the first instance information includes a runtimeClassname, the instance type corresponding to the first instance information is a container type.
When the spec definition field in the first instance information contains a registryidisk, K8s calls the registryidisk to construct an application instance of a virtual machine type; when the spec definition field in the first instance information contains a runtimeClassName, the K8s calls the runtimeClassName to build an application instance of the container type.
Step 203, controlling the first application instance according to the first resource data in the first instance information and the running state of the first application instance, so as to implement the application function of the first application instance.
Wherein the first resource data is resource data corresponding to the first application instance.
Optionally, the first resource data may be used to indicate an operation state of the first application instance, that is, the operation state of the first application instance needs to correspond to the first resource data in the first instance information, where when the first resource data in the first instance information changes, the operation state of the first application instance also needs to be changed, so as to implement control over the operation state of the first application instance through the first instance information.
For example, the first resource data in the first instance information may be POWER information POWER, which indicates that the POWER of the first application instance should be in an off state when the POWER data POWER is off (i.e., the POWER field in the CRD is off), and indicates that the POWER of the first application instance should be in an on state when the POWER data POWER is on (i.e., the POWER field in the CRD is on).
When the first resource data in the first instance information is modified, for example, the power information power is modified from off to on, the cloud server detects that the power information power in the first instance information is on, but when the power of the first application instance is in a closed state, it is indicated that the first resource data in the first instance information does not correspond to the running state (i.e., the power state) of the first application instance, and the cloud server can update the power state of the first application instance to an on state according to the power information power, so that the control of the running state of the first application instance by the first instance information is realized.
In one possible implementation manner, the corresponding relationship between the first instance information and the running state of the first application instance may be implemented through a watch mechanism in K8 s. Namely, K8s passes through the application state of the first application instance of the controller watch and is stored in the cloud server, and K8s also passes through the first resource data in the first instance information of the controller watch and is stored in the cloud server to determine whether the first resource data corresponds to the application state of the first application instance or not, and when the first resource data does not correspond to the application state of the first application instance, at least one of the first resource data and the application state of the first application instance is changed, so that the first application instance operates according to the first instance information, and therefore the first application instance is controlled through the first instance information.
In summary, in the scheme shown in the embodiment of the present application, first instance information including an instance type and resource data of an instance is constructed, and according to the instance type, whether the type of the constructed application instance is a virtual machine or a container is determined, and then according to resource data corresponding to the first application instance and included in the first instance information, the resource data corresponds to an operating state of the first application instance when the first application instance is operating, so as to control the first application instance, therefore, only by modifying the first resource information in the first instance information, control of any one of two different types of application instances can be realized, and application functions of the first application instance are realized, and different control systems do not need to be adopted for operating the virtual machine and the container, thereby improving control efficiency of different types of application instances.
Fig. 3 is a method flow diagram illustrating an application instance control method according to an example embodiment. The method is performed by a cloud server, which may be a cloud server 110 as shown in fig. 1. As shown in fig. 3, the method for controlling an application instance may include the steps of:
step 301, obtaining first instance information.
Alternatively, the first instance information may be a CRD (Custom Resource Definition, custom resource) in the K8S, and the user may manage the custom object constructed according to the CRD by custom setting the CRD.
Step 302, constructing a first application instance according to an instance type corresponding to the first instance information; the instance type includes at least one of a virtual machine and a container.
In one possible implementation manner, according to an instance type corresponding to the first instance information, first application data in the first instance information is obtained; constructing the first application instance according to the first application data; the first application data is used for constructing an application instance of an instance type corresponding to the first application parameter.
After the CRD in the K8S is obtained, the cloud server may read the instance type included in the CRD, and then select an application parameter corresponding to the instance type in the CRD. For example, the CRD may include a definition category field vmclass, where when vmclass is virtalreach, then the instance type is a virtual machine, and when vmclass is kata container, then the instance type is a secure container (the secure container is one of the container types).
When the instance type is a virtual machine, the first application data may be image file information corresponding to the virtual machine, for example, a name, a storage location, etc. of an image file of the virtual machine; when the instance type is a secure container, the first application data may be image file information corresponding to the secure container, for example, a name, a storage location, etc. of an image file of the secure container.
In order to ensure that the K8s can construct a corresponding application instance of the container type or a corresponding application instance of the virtual machine type according to the CRD, the target cloud database corresponding to the K8s contains at least one of a virtual machine image and a container image.
When the target cloud database contains the virtual machine image, a user can establish an application instance of a virtual machine type according to the CRD established in the K8 s; when the target cloud database contains the container mirror image, the cloud server can realize the establishment of the application instance of the container type according to the CRD created in the K8 s. When the target cloud database contains the virtual machine image and the container image, the cloud server can select at least one of the application instance of the virtual machine type and the application instance of the container type according to the CRD created in the K8 s.
The first application data may be pre-stored in a target cloud database corresponding to the K8s, or may be stored in the target cloud database by a user through a corresponding operation of the K8s before or during the CRD is established.
Step 303, obtaining first resource data in the first instance information and an operation state corresponding to the first application instance.
In K8s there is a mechanism for the controller to work to ensure that for any given pair of instances, its actual operating state can be matched to the expected operating state of the instance. Therefore, the K8s actually comprises a watch mechanism, that is, the K8s can monitor the state of the instance so as to ensure that the application instance can normally run.
In one possible implementation manner of the embodiment of the present application, in order to ensure that the first application instance operates normally according to the indication of the first instance information, according to the watch mechanism in K8s, the first resource data in the first instance information and the running state corresponding to the first application instance are obtained.
For example, the first resource data in the first instance information may be stored in a target cloud database in the cloud server, where the cloud server may determine, according to a certain frequency, an update state of the first resource data to obtain a real-time state of the first resource data; and for the running state corresponding to the first application instance, the cloud server can acquire the running state corresponding to the first application instance through a specified command and store the running state in the target cloud database.
For example, when the first application instance is a virtual machine and the first resource data in the first instance information is used to indicate the power state, the cloud server may read the first resource data corresponding to the first instance information (i.e. the power field in the YAML file in the cloud database). When the power is off, the power state corresponding to the first resource data is turned off; the cloud server can also acquire the power state of the virtual machine through kubeevirt corresponding to the virtual machine (for example, acquire the power state of the virtual machine through kubectl get virtualmachine), and store the power state of the first application instance into the cloud database, so as to acquire the running state of the first application instance in real time.
Step 304, when it is detected that the first resource data does not correspond to the running state of the first application instance, updating one of the first resource data and the running state of the first application instance to implement control of the first application instance.
When detecting that the first resource data does not correspond to the running state of the first application instance, the difference exists between the actual flow of the first application instance and the running flow set by the first resource data. Therefore, in order to ensure that the first application instance is controlled according to the first instance information, the first resource data in the first instance information needs to be further corresponding to the running state of the first application instance.
In one possible implementation, when it is detected that the first resource data does not correspond to the running state of the first application instance, one of the first resource data and the running state of the first application instance is updated according to update times respectively corresponding to the first resource data and the first application instance.
When the first resource data does not correspond to the running state of the first application instance, the first resource data may be changed due to a human or preset program, or the running state of the first application instance may be changed after the first application instance processes the data of other terminals in the running process. When the change of the first resource data and the change of the running state of the first application instance are considered to be within the range of the normal control flow of the first application instance according to the first instance information, at this time, one of the first resource data and the running state of the first application instance can be updated according to the update time respectively corresponding to the first resource data and the first application instance.
In one possible implementation, when the update time point of the first resource data is later than the update time point of the running state of the first application instance, the running state of the first application instance is updated according to the first resource data;
Or when the update time point of the first resource data is earlier than the update time point of the running state of the first application instance, updating the first resource data according to the running state of the first application instance.
That is, in order to ensure the correspondence between the first resource data and the running state of the first application instance, when any one of the first resource data and the running state of the first application instance changes, the other one may change according to the first one, so that the first resource data may correspond to the running state of the first application instance in most of the time.
Referring to fig. 4, a schematic diagram of a data mapping method according to an embodiment of the present application is shown. As shown in fig. 4, after a first application instance 420 corresponding to the first instance information 410 is constructed according to the first instance information 410, both the first instance information and the first application instance may change. For example, at time T2, the first resource data in the first instance information is modified by the user or a preset program in K8s, so that the first resource data stored in the local database of the cloud processing module corresponding to K8s is updated. At this time, the cloud database 400 detects that the first resource data is changed according to the watch mechanism of the API server, uploads the updated first resource data to the cloud database, and updates the first resource data stored in the cloud database. At this time, the first resource data stored in the cloud database is the first resource data updated at the time of T2.
Similarly, at the time T1, when the application state of the first application instance changes due to the running flow of the application instance or after receiving the control code, the running state of the stored first application instance also changes in the local database of the cloud processing module corresponding to the first application instance. At this time, the cloud database 400 detects that the running state of the first application instance changes according to the watch mechanism of the API server, uploads the updated running state of the first application instance to the cloud database, and updates the application state of the first application instance stored in the cloud database. At this time, the application state stored in the cloud database is the first resource data updated at the time of T2.
When the cloud database 400 detects that the first resource data does not correspond to the running state of the first application instance 420 (for example, the first resource data indicates that the running first application instance is running in the standby state and the application state of the first application instance is actually in the normal working state), when the update time T1 of the application state of the first application instance is later than the update time T2 of the first resource data, it indicates that the application state of the first application instance is updated again after updating based on the first resource data, and the application state of the first application instance may indicate the latest state of the first application instance, and at this time, the first resource data may be updated according to the application state of the first application instance so as to inform the user that the state of the first application instance 410 has been updated.
When the update time T2 of the first resource data is later than the update time T1 of the application state of the first application instance, it is indicated that the state of the first resource data is changed after the update of the application state based on the first application instance, so that the timeliness of the first resource data is stronger, and at this time, the application state of the first application instance needs to be changed according to the change of the first resource data so as to conform to the real-time control of the first application instance by the first instance information.
In one possible implementation manner, when detecting that the first resource data does not correspond to the running state of the first application instance, acquiring a data type of data with difference in the running state of the first resource data and the running state of the first application instance; and updating at least one of the first resource data and the running state of the first application instance according to the data type of the difference data.
When the first resource data does not correspond to the running state of the first application instance, data with difference in the running state of the first resource data and the running state of the first application instance can be obtained first, at this time, the data with difference is the data with the first resource data not corresponding to the running state of the first application instance, and the running state of the first resource data or the first application instance is determined to be updated according to the data type of the data with difference.
In one possible implementation, when the data type of the data with difference is changeable data, at least one of the first resource data and the running state of the first application instance is updated according to an update time point of the data with difference in the first resource data and an update time point of the data with difference in the running state of the first application instance.
The changeable data may refer to unnecessary data in the running state of the first application instance, that is, the change of the changeable data does not affect the normal running of the first application instance (for example, the changeable data may be a data record of the first application instance in a cloud database, when the data record of the first application instance in the database changes, the first application instance may still normally run), that is, when the data type of the data with difference is changeable data, for the changeable data, data obtained by updating a recently updated party in the running state of the first resource data and the first application instance may be updated, so as to realize correspondence between the first resource data and the running state of the first application instance.
In one possible implementation manner, when the data type of the data with the difference is non-changeable data, the running state of the first application instance is updated according to the data corresponding to the data with the difference in the first resource data.
The non-alterable data refers to data necessary in the running state of the first application instance. When the data type of the data with the difference is non-changeable data (such as the power state of the application instance), and when the power of the application instance is set to be off and the power state in the first resource data is on, the application instance cannot actually work normally and violates the power state indicated in the first resource data, so that the running state in the first application instance needs to be updated according to the power state information in the first resource data.
In one possible implementation, when the first application instance is detected to be absent, the first application instance is reconstructed according to the running state of the first application instance indicated by the first resource data.
Alternatively, the first application instance does not exist, and after the CRD is created, the watch mechanism in K8s detects that a resource corresponding to the CRD has not been built (i.e. an application instance); or the first application instance detected to be absent after the first application instance is deleted. At this time, the first application instance may be reconstructed according to the running state of the first application instance indicated by the first resource data.
Optionally, when detecting that the first instance data corresponding to the first application instance does not exist, deleting the first application instance.
Namely, when the watch mechanism in the K8s detects that the CRD is deleted, the application instance constructed according to the CRD should be correspondingly deleted at the moment, so that the creation, the update and the deletion of the application instance containing at least one of the container type and the virtual machine type can be realized by controlling the creation, the update and the deletion of the CRD by a user.
In one possible implementation, the first instance information and the first application instance are stored in a target cloud database; the target cloud database includes at least one of a virtual machine image and a container image.
The first instance information and the first application instance may be stored in a target cloud database in the cloud server, where the target cloud database further includes at least one of a virtual machine image and a container image, so as to implement the construction of the first application instance of the container type and the first application instance of the virtual machine type, respectively.
In one possible implementation manner, the cloud database further stores second instance information, and a second application instance constructed according to the second instance information.
Namely, the cloud server can store a plurality of instance information, K8s can construct corresponding application instances according to the instance information, and a user can control the application instances by modifying the instance information including the first instance information and the second instance information. And when the plurality of application examples can simultaneously contain the examples of the virtual machine type and the examples of the container type, namely, the scheme can realize control of different types of example types through changing example information.
In one possible implementation manner, the first instance information is obtained from the target cloud database and stored in a local database; when a read operation is received for the first instance information, the first resource data is read from the local database.
When a cloud processing module in a cloud server runs for K8s, first resource data in a target cloud database needs to be acquired, and operations such as reconstruction of a first application instance and the like are performed according to the first resource data, and at the moment, the first resource data can also be stored in a local database corresponding to the cloud processing module. When a read operation of the first instance information is received, the first resource data is read directly from the local database.
In one possible implementation, when an update operation for the first instance information is received, the first instance information is transmitted to the target cloud database so as to update the first instance information in the target cloud database; or when receiving the updating operation of the first instance information, acquiring the updated first instance information in the target cloud database.
When the first instance information is read, the first instance information stored in the local database can be directly read, and when the updating operation between the local database and the target cloud database is related, the cloud database is accessed, so that the access frequency to the cloud database is reduced, and the access pressure of the cloud database is reduced.
Similarly, in one possible implementation, when a read operation of the running state of the first application instance is received, the running state of the first application instance is read from the local database; when receiving an updating operation of the running state of the first application instance, uploading the running state of the first application instance to the target cloud server; or when receiving the operation of updating the running state of the first application instance, updating the running state of the first application instance stored in the target cloud server to the local server.
When the running state of the first application instance is read, the data stored in the local server can be directly read, and when the process of updating the data between the target cloud database and the local database is needed, the target cloud database is only needed to be accessed, so that the access frequency to the cloud database is reduced, and the access pressure of the cloud database is reduced.
Referring to fig. 5, a schematic diagram of an example application framework according to an embodiment of the present application is shown. As shown in fig. 5, after the load custom resource (i.e., the first instance information) is built through the K8s, the K8s detects whether an application instance corresponding to the load custom resource exists through a watch mechanism of the API server, and when the application instance corresponding to the load custom resource 501 does not exist, the K8s builds an application instance corresponding to the class data in the load custom resource 501 according to the load custom resource 501, for example, may be a virtual machine instance built on the virtual machine 502 or a container instance built on the secure container 503.
When there is a virtual machine instance built on the virtual machine 502 or there is a container instance built on the secure container 503 in the cloud server, the API server may also respectively implement a watch mechanism on the virtual machine 502 and the secure container 503, so as to correspond the load custom resource to the virtual machine instance or correspond the load custom resource to the container instance.
For the cloud processing module 504 for performing data processing, the corresponding local storage module may also be implemented to correspond to the data on the cloud database according to the watch mechanism of the API server, so as to ensure the accuracy of data processing of the cloud processing module 504.
In summary, in the scheme shown in the embodiment of the present application, first instance information including an instance type and resource data of an instance is constructed, and according to the instance type, whether the type of the constructed application instance is a virtual machine or a container is determined, and then according to resource data corresponding to the first application instance and included in the first instance information, the resource data corresponds to an operating state of the first application instance when the first application instance is operating, so as to control the first application instance, therefore, only by modifying the first resource information in the first instance information, control of any one of two different types of application instances can be realized, and application functions of the first application instance are realized, and different control systems do not need to be adopted for operating the virtual machine and the container, thereby improving control efficiency of different types of application instances.
Fig. 6 is a flow diagram illustrating an application instance control method that may be performed by the terminal 120 and the cloud server 110 in the application instance control system shown in fig. 1, according to an exemplary embodiment. As shown in fig. 6, the application instance control method may include the following steps.
1. A load custom resource 601 (workload CRD, the first instance information) is built.
The key part of the load custom resource 601 is to define Kind, because the class field vmclass needs to be defined to be compatible with both virtalmachine and katacontainer modes of operation. For virtalmacine, the spec definition field includes registryDisk, i.e., the qcow2 format contains the docker images that the virtual machine image of the operating system makes. For the kata container, the spec field needs to contain a runtimeClassName
2. A mapping relationship between the load custom resource 601 and the virtual machine instance 602 and the secure container instance 603 is established.
After creating a workload instance through the load customization resource 601, a virtual machine instance 602 or a secure container instance 603, that is, the first application instance, is generated, and the instance types include the virtual machine instance and the secure container instance described herein. Since the latter two objects themselves also have controllers, the load customization resource 601 must also be updated synchronously when the state changes. To achieve bidirectional synchronization between the load custom resource 601 and the virtual machine instance 602, bidirectional state synchronization between the load custom resource 601 and the secure container instance 603 is also achieved.
3.workload controller the controller implements the logic.
The controller (i.e., the control module) operates to ensure that for any given object, the actual state of the environment in which the object is located (including the cluster state, as well as potentially external states such as the Kubelet's run container or cloud provider's load balancer) matches the expected state in the object.
The controller can implement a method for matching the load custom resource 601 with the application instance, in which the controller continuously switches the state of the instance information and the application instance resource, and then implements various operation logics according to the different states.
3.1. Instance creation
Judging whether the load self-defined resource 601 exists or not, if not, directly creating a new resource according to vmclass, wherein the virtual machine instance 602 or the secure container instance 603, and after the new resource is created, for the virtual machine, the kubev irt virt-controller component monitors event of the new resource, so as to create a kvm instance containing a specified operating system. If vmclass specifies katacontainer, then the kata container is created using the runtime type specified by runtimelassfame.
3.2. Instance update
But may also occur on the virtual machine instance 602 or the secure container instance 603. workload controller there are four corresponding sub-processes (i.e., update CRD based on the running state of the virtual machine instance, update CRD based on the running state of the container instance, update the running state of the virtual machine instance based on the CRD, update the running state of the container instance based on the CRD) as each object state changes, the corresponding status field is updated. The spec field contains a detailed definition of the object where kubvirt has some functionality not supported, such as snapshot, to be masked.
3.3. Instance deletion
The number of resources is stored in the local already-built server, and the increase and decrease of any one party instance needs to be perceived by the other party, so that a watch mechanism of kubernetes is utilized, a handler processing function is customized, consistency of etcd objects is maintained, and refreshing of local cache key-value contents is performed.
4. Cache call
The kube client accesses the api server (i.e. cloud database) to obtain information, and links such as etcd, authentication and the like of the back end are required to be connected, so that the cost is relatively high. According to the definition of RBAC, the object needed in the kubernetes cluster range can be cached locally, the kube client is called to connect with the api server for updating operation, and the local cache is read for the operation of get/list class.
5.Finalizers
Finalyzers allow the controller to implement an asynchronous pre-delete hook. Each object of the API type creates an external resource (e.g., a bucket) and may be implemented using a finaliser in order to delete the object from Kubernetes while deleting the associated external resource.
Fig. 7 is a block diagram showing the structure of an application instance control apparatus according to an exemplary embodiment. The application instance control device comprises:
a first instance information obtaining module 701, configured to obtain first instance information;
A first instance construction module 702, configured to construct a first application instance according to an instance type corresponding to the first instance information; the instance types include at least one of virtual machines and containers;
a control module 703, configured to control the first application instance according to the first resource data in the first instance information and the running state of the first application instance, so as to implement an application function of the first application instance; the first resource data is resource data corresponding to the first application instance.
In one possible implementation, the control module includes:
the first resource acquisition unit is used for acquiring first resource data in the first instance information and an operation state corresponding to the first application instance;
and the running state updating unit is used for updating one of the first resource data and the running state of the first application instance to realize the control of the first application instance when the fact that the first resource data does not correspond to the running state of the first application instance is detected.
In a possible implementation, the operation state updating unit is further configured to,
When the updating time point of the first resource data is later than the updating time point of the running state of the first application instance, the running state of the first application instance is updated according to the first resource data;
or when the updating time point of the first resource data is earlier than the updating time point of the running state of the first application instance, updating the first resource data according to the running state of the first application instance.
In one possible implementation manner, the first instance control module further includes:
and the first instance deleting unit is used for correspondingly deleting the first application instance when detecting that the first resource data in the first instance information is deleted.
In one possible implementation, the first instance information and the first application instance are stored in a target cloud database; at least one of a virtual machine image and a container image is included in the target cloud database.
In one possible implementation, the apparatus further includes:
the local resource storage module is used for acquiring the first instance information from the target cloud database and storing the first instance information into a local database;
And the local resource reading module is used for reading the first resource data from the local database when receiving the reading operation of the first instance information.
In one possible implementation, the first instance information includes a spec definition field;
when the first application instance corresponding to the first instance information comprises an application instance of a virtual machine type, the spec definition field comprises a regioDisk;
when the first application instance corresponding to the first instance information includes an application instance of a container type, the spec definition field includes a runtimeClassName.
In summary, in the scheme shown in the embodiment of the present application, first instance information including an instance type and resource data of an instance is constructed, and according to the instance type, whether the type of the constructed application instance is a virtual machine or a container is determined, and then according to resource data corresponding to the first application instance and included in the first instance information, the resource data corresponds to an operating state of the first application instance when the first application instance is operating, so as to control the first application instance, therefore, only by modifying the first resource information in the first instance information, control of any one of two different types of application instances can be realized, and application functions of the first application instance are realized, and different control systems do not need to be adopted for operating the virtual machine and the container, thereby improving control efficiency of different types of application instances.
Fig. 8 illustrates a block diagram of a computer device 800, as shown in an exemplary embodiment of the present application. The computer device may be implemented as a terminal or a server in the above-described schemes of the present application. The computer apparatus 800 includes a central processing unit (Central Processing Unit, CPU) 801, a system Memory 804 including a random access Memory (Random Access Memory, RAM) 802 and a Read-Only Memory (ROM) 803, and a system bus 805 connecting the system Memory 804 and the central processing unit 801. The computer device 800 also includes a mass storage device 806 for storing an operating system 809, application programs 810, and other program modules 811.
The mass storage device 806 is connected to the central processing unit 801 through a mass storage controller (not shown) connected to the system bus 805. The mass storage device 806 and its associated computer-readable media provide non-volatile storage for the computer device 800. That is, the mass storage device 806 may include a computer-readable medium (not shown) such as a hard disk or a compact disk-Only (CD-ROM) drive.
The computer readable medium may include computer storage media and communication media without loss of generality. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes RAM, ROM, erasable programmable read-Only register (Erasable Programmable Read Only Memory, EPROM), electrically erasable programmable read-Only Memory (EEPROM) flash Memory or other solid state Memory technology, CD-ROM, digital versatile disks (Digital Versatile Disc, DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art will recognize that the computer storage medium is not limited to the one described above. The system memory 804 and mass storage device 806 described above may be collectively referred to as memory.
According to various embodiments of the disclosure, the computer device 800 may also operate by being connected to a remote computer on a network, such as the Internet. I.e., the computer device 800 may be connected to the network 808 through a network interface unit 807 coupled to the system bus 805, or other types of networks or remote computer systems (not shown) may also be coupled to the computer device using the network interface unit 807.
The memory further comprises at least one computer program stored in the memory, and the central processing unit 801 implements all or part of the steps of the methods shown in the above embodiments by executing the at least one computer program.
In an exemplary embodiment, a computer readable storage medium is also provided for storing at least one computer program that is loaded and executed by a processor to implement all or part of the steps of the above method. For example, the computer readable storage medium may be Read-Only Memory (ROM), random-access Memory (Random Access Memory, RAM), compact disc Read-Only Memory (CD-ROM), magnetic tape, floppy disk, optical data storage device, and the like.
In an exemplary embodiment, a computer program product or a computer program is also provided, the computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium and executes the computer instructions to cause the computer device to perform all or part of the steps of the method shown in any of the embodiments of fig. 2, 3 and 6 described above.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the present application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (9)

1. An application instance control method, the method comprising:
acquiring first instance information;
constructing a first application instance according to the instance type corresponding to the first instance information; the instance types include at least one of virtual machines and containers;
controlling the first application instance according to first resource data in the first instance information and the running state of the first application instance to realize the application function of the first application instance; the first resource data is resource data corresponding to the first application instance;
wherein the controlling the first application instance according to the first resource data in the first instance information and the running state of the first application instance includes:
acquiring first resource data in the first instance information and an operating state corresponding to the first application instance;
when the fact that the first resource data does not correspond to the running state of the first application instance is detected, updating one of the first resource data and the running state of the first application instance to control the first application instance;
The updating one of the first resource data and the running state of the first application instance includes:
when the updating time point of the first resource data is later than the updating time point of the running state of the first application instance, the running state of the first application instance is updated according to the first resource data;
or when the updating time point of the first resource data is earlier than the updating time point of the running state of the first application instance, updating the first resource data according to the running state of the first application instance.
2. The application instance control method according to claim 1, wherein the controlling the first application instance according to the first resource data in the first instance information and the running state of the first application instance includes:
and reconstructing the first application instance according to the running state of the first application instance indicated by the first resource data when the first application instance is detected to be absent.
3. The application instance control method according to claim 1, wherein the controlling the first application instance according to the first resource data in the first instance information and the running state of the first application instance includes:
And when the first resource data in the first instance information is detected to be deleted, correspondingly deleting the first application instance.
4. The application instance control method according to any one of claims 1 to 3, wherein the first instance information and the first application instance are stored in a target cloud database; at least one of a virtual machine image and a container image is included in the target cloud database.
5. The application instance control method according to claim 4, characterized in that the method comprises:
acquiring the first instance information from the target cloud database and storing the first instance information into a local database;
when a read operation of the first instance information is received, the first resource data is read from the local database.
6. The application instance control method according to any one of claims 1 to 3, wherein the first instance information includes a spec definition field;
when the first application instance corresponding to the first instance information comprises an application instance of a virtual machine type, the spec definition field comprises a regioDisk;
when the first application instance corresponding to the first instance information includes an application instance of a container type, the spec definition field includes a runtimeClassName.
7. An application instance control apparatus, the apparatus comprising:
the first instance information acquisition module is used for acquiring first instance information;
the first instance construction module is used for constructing a first application instance according to the instance type corresponding to the first instance information; the instance types include at least one of virtual machines and containers;
the control module is used for controlling the first application instance according to the first resource data in the first instance information and the running state of the first application instance so as to realize the application function of the first application instance; the first resource data is resource data corresponding to the first application instance;
the control module is further configured to obtain first resource data in the first instance information and an operation state corresponding to the first application instance;
when the fact that the first resource data does not correspond to the running state of the first application instance is detected, updating one of the first resource data and the running state of the first application instance to control the first application instance;
the control module is further configured to update, when the update time point of the first resource data is later than the update time point of the running state of the first application instance, the running state of the first application instance according to the first resource data;
Or when the updating time point of the first resource data is earlier than the updating time point of the running state of the first application instance, updating the first resource data according to the running state of the first application instance.
8. A computer device comprising a processor and a memory having stored therein at least one instruction that is loaded and executed by the processor to implement the application instance control method of any of claims 1 to 6.
9. A computer readable storage medium having stored therein at least one instruction that is loaded and executed by a processor to implement the application instance control method of any one of claims 1 to 6.
CN202110831317.XA 2021-07-22 2021-07-22 Application instance control method, device, equipment and storage medium Active CN113535328B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110831317.XA CN113535328B (en) 2021-07-22 2021-07-22 Application instance control method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110831317.XA CN113535328B (en) 2021-07-22 2021-07-22 Application instance control method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113535328A CN113535328A (en) 2021-10-22
CN113535328B true CN113535328B (en) 2024-03-19

Family

ID=78088669

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110831317.XA Active CN113535328B (en) 2021-07-22 2021-07-22 Application instance control method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113535328B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112148489A (en) * 2020-09-22 2020-12-29 网易(杭州)网络有限公司 Game resource scheduling method, device, equipment and storage medium
CN112214330A (en) * 2020-11-04 2021-01-12 腾讯科技(深圳)有限公司 Method and device for deploying master nodes in cluster and computer-readable storage medium
CN112965806A (en) * 2021-03-26 2021-06-15 北京汇钧科技有限公司 Method and apparatus for determining resources
CN113032107A (en) * 2021-05-24 2021-06-25 北京金山云网络技术有限公司 Resource management method, device and system of cloud database
CN113110930A (en) * 2021-05-13 2021-07-13 深圳市凌雀智能科技有限公司 Cloud solution method, system, server and storage medium for decision problem

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112148489A (en) * 2020-09-22 2020-12-29 网易(杭州)网络有限公司 Game resource scheduling method, device, equipment and storage medium
CN112214330A (en) * 2020-11-04 2021-01-12 腾讯科技(深圳)有限公司 Method and device for deploying master nodes in cluster and computer-readable storage medium
CN112965806A (en) * 2021-03-26 2021-06-15 北京汇钧科技有限公司 Method and apparatus for determining resources
CN113110930A (en) * 2021-05-13 2021-07-13 深圳市凌雀智能科技有限公司 Cloud solution method, system, server and storage medium for decision problem
CN113032107A (en) * 2021-05-24 2021-06-25 北京金山云网络技术有限公司 Resource management method, device and system of cloud database

Also Published As

Publication number Publication date
CN113535328A (en) 2021-10-22

Similar Documents

Publication Publication Date Title
US10725769B2 (en) Automated deployment and servicing of distributed applications
CN107766126B (en) Container mirror image construction method, system and device and storage medium
US10122798B2 (en) System and process for managing network communications
CN105706469B (en) Managing machine-to-machine devices
US9182755B2 (en) Automated operator interface generation in a control system
US20130332524A1 (en) Data service on a mobile device
CN109564527A (en) The security configuration of cloud computing node
JP2017107555A (en) Methods, systems and programs for determining identities of software in software containers
CN115292026B (en) Management method, device and equipment of container cluster and computer readable storage medium
US11349709B2 (en) System and method for onboarding IOT devices
CN112615746B (en) Edge calculation method, device and system
CN111596932A (en) Mirror image file generation method and device and computer readable storage medium
US7805734B2 (en) Platform management of high-availability computer systems
CN114912897A (en) Workflow execution method, workflow arrangement method and electronic equipment
Xu et al. Enhanced service framework based on microservice management and client support provider for efficient user experiment in edge computing environment
CN113535328B (en) Application instance control method, device, equipment and storage medium
CN112130889A (en) Resource management method and device, storage medium and electronic device
US11757976B2 (en) Unified application management for heterogeneous application delivery
CN111767345A (en) Modeling data synchronization method and device, computer equipment and readable storage medium
CN109167826A (en) The restocking method, apparatus and system of WEB application
US20230131783A1 (en) Edge application discovering and management state machine objects in automation controllers for mes and dcs applications
CN117938857B (en) Synchronous management method and system for object model
US20230274050A1 (en) Critical infrastructure blueprint selection for optimized response to state changing conditions
CN113703798A (en) Distributed service updating method and device, computer equipment and storage medium
CN117478634A (en) Network address access method and device, storage medium and electronic 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