CN111381932B - Method, device, electronic equipment and storage medium for triggering application program change - Google Patents
Method, device, electronic equipment and storage medium for triggering application program change Download PDFInfo
- Publication number
- CN111381932B CN111381932B CN202010153088.6A CN202010153088A CN111381932B CN 111381932 B CN111381932 B CN 111381932B CN 202010153088 A CN202010153088 A CN 202010153088A CN 111381932 B CN111381932 B CN 111381932B
- Authority
- CN
- China
- Prior art keywords
- application program
- configuration information
- change
- application
- triggering
- 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
- 230000008859 change Effects 0.000 title claims abstract description 74
- 238000000034 method Methods 0.000 title claims abstract description 46
- 238000012544 monitoring process Methods 0.000 claims abstract description 33
- 230000004048 modification Effects 0.000 claims description 10
- 238000004590 computer program Methods 0.000 claims description 8
- 238000012986 modification Methods 0.000 claims description 5
- 230000001960 triggered effect Effects 0.000 abstract description 2
- 238000004891 communication Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 4
- 238000011161 development Methods 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/302—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45575—Starting, stopping, suspending or resuming virtual machine instances
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45591—Monitoring or debugging support
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Quality & Reliability (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the invention provides a method, a device, electronic equipment and a storage medium for triggering application program change, which comprise the following steps: monitoring that the configuration information of the application program changes, and acquiring the changed configuration information of the application program from a configuration file corresponding to the application program; and determining that the configuration information of the changed application program is inconsistent with the configuration information currently executed by the application program, and triggering the application program to restart so as to execute the configuration information after the change. According to the method, the device, the electronic equipment and the storage medium for triggering application program change, provided by the embodiment of the invention, through real-time monitoring of the change of the configuration information of the application program, the problem that the configuration information after the change is different from the configuration information currently executed by the application program is rapidly found, so that the application program is triggered to restart, the change of the application program is realized, and the efficiency of the application program change is improved.
Description
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, an electronic device, and a storage medium for triggering an application program change.
Background
Kubernetes is an open-source application for managing containerization on multiple hosts in a cloud platform, and the goal of Kubernetes is to make deploying containerized applications simple and efficient, which provides a mechanism for application deployment, planning, updating, and maintenance. Kubernetes implements changes to applications installed in a container by updating the configuration information of the application.
ConfigMap is a configuration file in Kubernetes for storing generic configuration variables. It allows a user to unify the environment variables for different modules in a distributed system into one object for management. Kubernetes can alter the application in the container by updating the ConfigMap.
In Kubernetes, since the application in the container does not monitor the change of the configuration information, the update of the ConfigMap does not necessarily result in a synchronized update of the configuration information performed by the application. In the prior art, when configuration information is updated, new configuration information can be loaded only when an application program restarts a process, or when a state in which a new application program is created and an original application program is terminated occurs. That is, in the prior art, after the configuration information is updated, the application program still executes the original configuration information before updating under the condition of not restarting, and the problem that the updated configuration information is different from the configuration information currently executed by the application program exists.
In the prior art, a method of manually restarting an application program is needed to overcome the problem that updated configuration information is different from the configuration information currently executed by the application program. Not only the efficiency is low, but also the reaction is not in time.
Disclosure of Invention
The embodiment of the invention provides a method, a device, electronic equipment and a storage medium for triggering application program change, which are used for solving the defects of low execution efficiency and untimely reaction of a manual restarting application program method in the prior art.
An embodiment of a first aspect of the present invention provides a method for triggering an application program change, including:
monitoring that the configuration information of the application program changes, and acquiring the changed configuration information of the application program from a configuration file corresponding to the application program;
and determining that the configuration information of the changed application program is inconsistent with the configuration information currently executed by the application program, and triggering the application program to restart so as to execute the configuration information after the change.
According to any embodiment of the present invention, the method further comprises:
monitoring an application program triggering target event, acquiring configuration information currently executed by the application program, and storing the configuration information currently executed by the application program; wherein the target event is a creation event or a reading event or an updating event of the application program.
According to any embodiment of the present invention, the method further comprises:
setting labels for objects of the application program to be monitored; the label comprises a first field for describing whether the configuration information of the application program changes or not and a second field for storing the configuration information currently executed by the application program.
According to any embodiment of the present invention, the determining that the configuration information of the application program after the change is inconsistent with the configuration information currently executed by the application program includes:
calculating a hash value of the changed configuration information of the application program;
calculating a hash value of configuration information currently executed by the application program;
and determining that the hash value of the configuration information after the change of the application program is inconsistent with the hash value of the configuration information currently executed by the application program.
According to any embodiment of the present invention, the monitoring the configuration information of the application program includes: the controller in Kubernetes is used to monitor the configuration information of the application program for changes.
According to any embodiment of the present invention, the monitoring the triggering target event of the application program includes: the controller in Kubernetes is employed to monitor the application for triggering a target event.
According to any embodiment of the present invention, the storing the configuration information currently executed by the application program includes: and storing the configuration information currently executed by the application program in a second field of the label of the object of the application program.
An embodiment of the second aspect of the present invention further provides an apparatus for triggering an application program change, including:
the post-change configuration information acquisition module is used for monitoring the change of the configuration information of the application program and acquiring the post-change configuration information of the application program from a configuration file corresponding to the application program;
and the application program restarting triggering module is used for determining that the configuration information of the application program after the change is inconsistent with the configuration information currently executed by the application program and triggering the application program to restart so as to execute the configuration information after the change.
An embodiment of the third aspect of the present invention provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method of triggering an application change according to an embodiment of the first aspect of the present invention when the program is executed.
An embodiment of a fourth aspect of the present invention provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of a method of triggering an application change according to an embodiment of the first aspect of the present invention.
According to the method, the device, the electronic equipment and the storage medium for triggering application program change, provided by the embodiment of the invention, through real-time monitoring of the change of the configuration information of the application program, the problem that the configuration information after the change is different from the configuration information currently executed by the application program is rapidly found, so that the application program is triggered to restart, the change of the application program is realized, and the efficiency of the application program change is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for triggering an application change provided by an embodiment of the present invention;
FIG. 2 is a flow chart of a method for triggering an application change according to another embodiment of the present invention;
FIG. 3 is a flow chart of a method for triggering an application change according to yet another embodiment of the present invention;
FIG. 4 is a block diagram of an apparatus for triggering application modification according to an embodiment of the present invention;
fig. 5 illustrates a physical structure diagram of an electronic device.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Fig. 1 is a flowchart of a method for triggering application program modification according to an embodiment of the present invention, where, as shown in fig. 1, the method for triggering application program modification according to an embodiment of the present invention includes:
step 101, monitoring that configuration information of an application program changes, and acquiring configuration information after changing of the application program from a configuration file corresponding to the application program.
In the embodiment of the invention, the state of monitoring configuration information is subscribed through a controller mechanism in Kubernetes, and once the configuration information of an application program is monitored to change, the configuration information after the application program change is acquired from a ConfigMap. Wherein the change is an update or change. In other embodiments of the present invention, other methods may be employed to monitor changes in application configuration information.
In the embodiment of the invention, whether the configuration information of the application program changes is monitored by monitoring the annotation of the object of the application program. For example, a first field is set in the label of the object of the application program, and the first field is used for reflecting whether the configuration information of the application program changes. One description mode of the first field of the label is an update-on-configuration-change, if the update-on-configuration-change exists, the application configuration information is changed, otherwise, the application configuration information is not changed.
Step 102, determining that the configuration information after the change of the application program is inconsistent with the configuration information currently executed by the application program, and triggering the application program to restart so as to execute the configuration information after the change.
The configuration information currently executed by the application program is known information, and may be obtained from an object of the application program in real time, or may be obtained and stored in advance, or may be obtained in other manners as will occur to those skilled in the art, and the obtaining manner is not limited in the embodiment of the present invention.
In this step, after the application is restarted, the post-change configuration information is executed. At this time, the changed configuration information is already the configuration information currently executed by the application program, and the changed configuration information is stored as the configuration information currently executed by the application program. For example, a hash value of the changed configuration information is calculated, and the hash value of the changed configuration information is stored in a second field of the application program label. One description mode of the noted second field is an animation (version/config) which is used for storing configuration information currently executed by the application program. Since the configuration information currently executed by the application is changed configuration information, the changed configuration information is stored in the second field.
The method for triggering the application program to be changed quickly discovers the problem that the configuration information after the change is different from the configuration information currently executed by the application program through the real-time monitoring of the change of the configuration information of the application program, and further triggers the application program to be restarted, so that the application program is changed.
Based on any of the foregoing embodiments, fig. 2 is a flowchart of a method for triggering an application program change according to another embodiment of the present invention, and as shown in fig. 2, the method for triggering an application program change according to another embodiment of the present invention includes:
step 201, monitoring an application program triggering target event, acquiring and storing configuration information currently executed by the application program.
In the embodiment of the invention, the monitoring of the target event in the application program is realized through a controller mechanism in the Kubernetes. In other embodiments of the invention, other methods may be employed to monitor target events in an application.
The target event is typically an event affecting the application program, e.g., a create event, a read event, an update event.
Configuration information for the application currently executing may be obtained from the application object.
In the embodiment of the invention, the acquired configuration information currently executed by the application is stored in the label of the application object. For example, a hash value of the configuration information currently executed by the application is calculated, and the obtained hash value of the configuration information is stored in a second field (e.g., field version/config in the section: hash) of the label of the application object. In other embodiments of the present invention, other storage means may be employed.
Step 202, monitoring that the configuration information of the application program changes, and acquiring the changed configuration information of the application program from a configuration file corresponding to the application program.
Step 203, determining that the configuration information after the change of the application program is inconsistent with the configuration information currently executed by the application program, and triggering the application program to restart so as to execute the configuration information after the change.
In the embodiment of the present invention, the configuration information currently executed by the application program is obtained through step 201.
The method for triggering the application program to be changed can rapidly find the problem that the configuration information after the change is different from the configuration information currently executed by the application program through the real-time monitoring of the change of the configuration information of the application program and the monitoring of the target event of the application program, thereby triggering the application program to be restarted and realizing the change of the application program.
Based on any of the foregoing embodiments, fig. 3 is a flowchart of a method for triggering an application program change according to another embodiment of the present invention, and as shown in fig. 3, the method for triggering an application program change according to another embodiment of the present invention includes:
step 301, setting labels for application programs to be monitored.
In the embodiment of the invention, an annotation is set for the application program needing to be monitored. The label at least comprises a single field and a second field, wherein the first field is used for describing whether the configuration information of the application program changes or not, and the second field is used for storing the configuration information currently executed by the application program.
Step 302, monitoring an application program triggering target event, acquiring and storing configuration information currently executed by the application program.
Step 303, monitoring that the configuration information of the application program changes, and obtaining the changed configuration information of the application program from a configuration file corresponding to the application program.
Step 304, determining that the configuration information after the change of the application program is inconsistent with the configuration information currently executed by the application program, and triggering the application program to restart so as to execute the configuration information after the change.
The method for triggering the application program change provided by the embodiment of the invention realizes the monitoring of the change of the application program configuration information and the storage of the application program configuration information through the marked setting.
Based on any one of the foregoing embodiments, in the method for triggering an application program change according to still another embodiment of the present invention, the determining that the configuration information after the change of the application program is inconsistent with the configuration information currently executed by the application program further includes:
calculating a hash value of the changed configuration information of the application program;
calculating a hash value of configuration information currently executed by the application program;
and determining that the hash value of the configuration information after the change of the application program is inconsistent with the hash value of the configuration information currently executed by the application program.
The method for triggering the change of the application program calculates the hash value for the changed configuration information of the application program and the configuration information which is currently executed, determines whether the changed configuration information is consistent with the configuration information which is currently executed or not through comparison of the hash value, and is faster in comparison process, so that the efficiency of the whole method is improved.
Based on any of the foregoing embodiments, fig. 4 is a block diagram of an apparatus for triggering application program modification according to an embodiment of the present invention, where, as shown in fig. 4, the apparatus for triggering application program modification according to an embodiment of the present invention includes:
the post-change configuration information obtaining module 401 is configured to monitor that configuration information of an application program changes, and obtain the post-change configuration information of the application program from a configuration file corresponding to the application program;
an application restart triggering module 402, configured to determine that the configuration information after the change of the application is inconsistent with the configuration information currently executed by the application, and trigger the application to restart to execute the configuration information after the change.
The device for triggering the application program to be changed provided by the embodiment of the invention rapidly discovers the problem that the configuration information after the change is different from the configuration information currently executed by the application program through the real-time monitoring of the change of the configuration information of the application program, and further triggers the application program to be restarted, thereby realizing the change of the application program.
The method for triggering application program modification provided by the embodiment of the invention is further described below with reference to a specific example.
In this example, deployment is a resource in Kubernetes, representing an application.
The related steps are as follows:
first, a creation event or a reading event or an update event of the deviyment monitored by the controller is created in Kubernetes, and when the deviyment is created, the controller checks whether a notification (update-on-configuration-change: true) exists in the Pod Template of the deviyment, and if the notification does not exist, the controller ignores the deviyment. If an animation exists, the ConfigMap is obtained through the reference of the ConfigMap in the development, hash operation (commonly used MD5 or SHA algorithm) is carried out on the ConfigMap, the obtained hash value is stored in the animation of the Pod Template of the development, and the reference of the development is stored in the monitoring list of the controller. When the replyment updates the ConfigMap, the controller recalculates the hash value and updates the hash value stored in the reply of the replyment.
In addition, the controller also monitors the update event of the ConfigMap, when the ConfigMap is updated, the other replying units track which deployments use the ConfigMap through the Owner References, the hash value of the ConfigMap is recalculated and compared with the hash value stored by the original Deployment, if the hash value is not the same, the hash value of the notification of the Pod Template of the Deployment is updated, and the application program is restarted to load new configuration information.
Fig. 5 illustrates a physical schematic diagram of an electronic device, as shown in fig. 5, which may include: processor 510, communication interface (Communications Interface) 520, memory 530, and communication bus 540, wherein processor 510, communication interface 520, memory 530 complete communication with each other through communication bus 540. Processor 510 may invoke logic instructions in memory 530 to perform the following method: monitoring that the configuration information of the application program changes, and acquiring the changed configuration information of the application program from a configuration file corresponding to the application program; and determining that the configuration information of the changed application program is inconsistent with the configuration information currently executed by the application program, and triggering the application program to restart so as to execute the configuration information after the change.
It should be noted that, in this embodiment, the electronic device may be a server, a PC, or other devices in the specific implementation, so long as the structure of the electronic device includes a processor 510, a communication interface 520, a memory 530, and a communication bus 540 as shown in fig. 5, where the processor 510, the communication interface 520, and the memory 530 complete communication with each other through the communication bus 540, and the processor 510 may call logic instructions in the memory 530 to execute the above method. The embodiment does not limit a specific implementation form of the electronic device.
Further, the logic instructions in the memory 530 described above may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Further, embodiments of the present invention disclose a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the methods provided by the above-described method embodiments, for example comprising: monitoring that the configuration information of the application program changes, and acquiring the changed configuration information of the application program from a configuration file corresponding to the application program; and determining that the configuration information of the changed application program is inconsistent with the configuration information currently executed by the application program, and triggering the application program to restart so as to execute the configuration information after the change.
In another aspect, embodiments of the present invention also provide a non-transitory computer readable storage medium having stored thereon a computer program, which when executed by a processor is implemented to perform the method provided in the above embodiments, for example, including: monitoring that the configuration information of the application program changes, and acquiring the changed configuration information of the application program from a configuration file corresponding to the application program; and determining that the configuration information of the changed application program is inconsistent with the configuration information currently executed by the application program, and triggering the application program to restart so as to execute the configuration information after the change.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (6)
1. A method of triggering an application change, comprising:
setting labels for objects of the application program to be monitored; the label comprises a first field for describing whether the configuration information of the application program changes or not and a second field for storing the configuration information currently executed by the application program;
monitoring the triggering target event of the application program, acquiring the configuration information currently executed by the application program, calculating the hash value of the configuration information currently executed by the application program, and storing the hash value of the configuration information currently executed by the application program in the second field; the target event is a creation event or a reading event or an updating event of the application program;
monitoring that the configuration information of the application program changes, and acquiring the changed configuration information of the application program from a configuration file corresponding to the application program;
determining that the configuration information after the change of the application program is inconsistent with the configuration information currently executed by the application program, and triggering the application program to restart so as to execute the configuration information after the change;
the determining that the configuration information of the application program after the change is inconsistent with the configuration information currently executed by the application program comprises the following steps:
calculating a hash value of the changed configuration information of the application program;
determining that the hash value of the configuration information after the change of the application program is inconsistent with the hash value of the configuration information currently executed by the application program;
the method further comprises the steps of: and updating the hash value of the changed configuration information of the application program to the second field and storing the reference of the application program in a monitoring list.
2. The method of claim 1, wherein monitoring for changes in configuration information of an application comprises: the controller in Kubernetes is used to monitor the configuration information of the application program for changes.
3. The method of triggering an application modification according to claim 1, wherein the monitoring for an application trigger target event comprises: the controller in Kubernetes is employed to monitor the application for triggering a target event.
4. An apparatus for triggering an application change, comprising:
the setting module is used for setting labels for the objects of the application program to be monitored; the label comprises a first field for describing whether the configuration information of the application program changes or not and a second field for storing the configuration information currently executed by the application program;
the current execution configuration information acquisition module is used for monitoring the application program triggering target event, acquiring the configuration information currently executed by the application program, calculating the hash value of the configuration information currently executed by the application program, and storing the hash value of the configuration information currently executed by the application program in the second field; the target event is a creation event or a reading event or an updating event of the application program;
the post-change configuration information acquisition module is used for monitoring the change of the configuration information of the application program and acquiring the post-change configuration information of the application program from a configuration file corresponding to the application program;
an application restart triggering module, configured to determine that the configuration information after the change of the application is inconsistent with the configuration information currently executed by the application, and trigger the application to restart to execute the configuration information after the change;
the determining that the configuration information of the application program after the change is inconsistent with the configuration information currently executed by the application program comprises the following steps:
calculating a hash value of the changed configuration information of the application program;
determining that the hash value of the configuration information after the change of the application program is inconsistent with the hash value of the configuration information currently executed by the application program;
the device is also for: and updating the hash value of the changed configuration information of the application program to the second field and storing the reference of the application program in a monitoring list.
5. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor performs the steps of the method of triggering an application modification as claimed in any one of claims 1 to 3 when the program is executed.
6. A non-transitory computer readable storage medium having stored thereon a computer program, which when executed by a processor performs the steps of the method of triggering an application modification as claimed in any of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010153088.6A CN111381932B (en) | 2020-03-06 | 2020-03-06 | Method, device, electronic equipment and storage medium for triggering application program change |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010153088.6A CN111381932B (en) | 2020-03-06 | 2020-03-06 | Method, device, electronic equipment and storage medium for triggering application program change |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111381932A CN111381932A (en) | 2020-07-07 |
CN111381932B true CN111381932B (en) | 2024-03-22 |
Family
ID=71217182
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010153088.6A Active CN111381932B (en) | 2020-03-06 | 2020-03-06 | Method, device, electronic equipment and storage medium for triggering application program change |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111381932B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115309457B (en) * | 2022-08-10 | 2023-10-27 | 中电金信软件有限公司 | Restarting method and device of application instance, electronic equipment and readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6757900B1 (en) * | 2000-05-18 | 2004-06-29 | Microsoft Corporation | State management of server-side control objects |
CN108228282A (en) * | 2018-04-04 | 2018-06-29 | 北京三快在线科技有限公司 | For the method and device of Website page loading |
CN108600029A (en) * | 2018-05-09 | 2018-09-28 | 深圳壹账通智能科技有限公司 | A kind of configuration file update method, device, terminal device and storage medium |
CN110392042A (en) * | 2019-06-19 | 2019-10-29 | 深圳壹账通智能科技有限公司 | System environments resource allocation information acquisition methods, device and block chain node |
CN110413346A (en) * | 2019-07-30 | 2019-11-05 | 中国工商银行股份有限公司 | A kind of parameter updating method and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2546239A (en) * | 2015-11-23 | 2017-07-19 | Acadiant Ltd | A Method and system for providing and executing web applications |
-
2020
- 2020-03-06 CN CN202010153088.6A patent/CN111381932B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6757900B1 (en) * | 2000-05-18 | 2004-06-29 | Microsoft Corporation | State management of server-side control objects |
CN108228282A (en) * | 2018-04-04 | 2018-06-29 | 北京三快在线科技有限公司 | For the method and device of Website page loading |
CN108600029A (en) * | 2018-05-09 | 2018-09-28 | 深圳壹账通智能科技有限公司 | A kind of configuration file update method, device, terminal device and storage medium |
CN110392042A (en) * | 2019-06-19 | 2019-10-29 | 深圳壹账通智能科技有限公司 | System environments resource allocation information acquisition methods, device and block chain node |
CN110413346A (en) * | 2019-07-30 | 2019-11-05 | 中国工商银行股份有限公司 | A kind of parameter updating method and device |
Non-Patent Citations (2)
Title |
---|
"网络动态防御策略及其有效性评估研究";刘江;《中国博士学位论文全文数据库 信息科技辑》;I139-14页 * |
Jennifer Rexford等."PISCES:A Programmable,Protocol-Independent Software Switch".《SIGCOMM'16:Proceedings of the 2016 ACM SIGCOMM Conference》.2016,第525-538页. * |
Also Published As
Publication number | Publication date |
---|---|
CN111381932A (en) | 2020-07-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109194538B (en) | Testing method, device, server and storage medium based on distributed coordination | |
CN108566290B (en) | Service configuration management method, system, storage medium and server | |
CN111045901B (en) | Container monitoring method and device, storage medium and electronic equipment | |
CN110651256B (en) | System and method for preventing service interruption during software update | |
CN111225064A (en) | Ceph cluster deployment method, system, device and computer-readable storage medium | |
CN113377665B (en) | Container technology-based testing method and device, electronic equipment and storage medium | |
WO2021188196A1 (en) | Causality determination of upgrade regressions via comparisons of telemetry data | |
CN112702195A (en) | Gateway configuration method, electronic device and computer readable storage medium | |
CN111381932B (en) | Method, device, electronic equipment and storage medium for triggering application program change | |
CN114528350A (en) | Cluster split brain processing method, device and equipment and readable storage medium | |
CN111610992B (en) | Deployment component update processing method and device and storage medium | |
CN112130889A (en) | Resource management method and device, storage medium and electronic device | |
CN112416385A (en) | Acquisition component management method and system | |
CN113746676B (en) | Network card management method, device, equipment, medium and product based on container cluster | |
CN116627437A (en) | Deployment method and device of Airflow service, storage medium and computer equipment | |
CN113595762B (en) | Network card configuration storage method and device | |
CN109814911A (en) | Method, apparatus, computer equipment and storage medium for Manage Scripts program | |
CN114553859A (en) | BMC configuration management method and device, electronic equipment and storage medium | |
JP5387083B2 (en) | Job management system and method | |
CN111858234A (en) | Task execution method, device, equipment and medium | |
CN113704016B (en) | Cloud function component diagnosis method, device, equipment and storage medium | |
CN113553097B (en) | Model version management method and device | |
CN113849291A (en) | Container cluster-based task processing method, device, equipment, medium and product | |
CN117289943A (en) | Distributed compiling method, device, electronic equipment and storage medium | |
CN117170701A (en) | Upgrading method, device and medium for baseboard management controller |
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 |