CN109462507B - Configuration updating method, device and system and electronic equipment - Google Patents

Configuration updating method, device and system and electronic equipment Download PDF

Info

Publication number
CN109462507B
CN109462507B CN201811364313.XA CN201811364313A CN109462507B CN 109462507 B CN109462507 B CN 109462507B CN 201811364313 A CN201811364313 A CN 201811364313A CN 109462507 B CN109462507 B CN 109462507B
Authority
CN
China
Prior art keywords
configuration
information
server
receiving
zookeeper
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
CN201811364313.XA
Other languages
Chinese (zh)
Other versions
CN109462507A (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.)
Beijing Kingsoft Cloud Network Technology Co Ltd
Beijing Kingsoft Cloud Technology Co Ltd
Original Assignee
Beijing Kingsoft Cloud Network Technology Co Ltd
Beijing Kingsoft Cloud Technology 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 Beijing Kingsoft Cloud Network Technology Co Ltd, Beijing Kingsoft Cloud Technology Co Ltd filed Critical Beijing Kingsoft Cloud Network Technology Co Ltd
Priority to CN201811364313.XA priority Critical patent/CN109462507B/en
Publication of CN109462507A publication Critical patent/CN109462507A/en
Application granted granted Critical
Publication of CN109462507B publication Critical patent/CN109462507B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • 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/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading

Abstract

The invention provides a configuration updating method, a device, a system and electronic equipment, wherein the method comprises the following steps: after the configuration information is obtained from the Zookeeper server, the configuration information is converted into a configuration class by using a byte code technology of Java, the configuration class is loaded and instantiated by using a class loader ClassLoader, so that an instance corresponding to the configuration class is obtained, the instance is stored in a context environment of the Java, and the original configuration class stored in the context environment is automatically updated. The configuration information is stored in the form of examples, the memory addresses stored in the context environment are different due to the different names of the examples, and each example is configured with timestamp information; during subsequent configuration, the latest instance is called according to the instance name and the timestamp information to perform configuration updating, so that the problems of memory leakage or data reading errors and the like caused by direct concurrent writing configuration to the memory address can be avoided.

Description

Configuration updating method, device and system and electronic equipment
Technical Field
The present invention relates to the field of information management technologies, and in particular, to a configuration updating method, apparatus, system, and electronic device.
Background
With the rapid development of the information industry, no matter in the traditional computer field or the emerging mobile internet field, more and more systems in the distributed environment exist, and some distributed systems even have hundreds or thousands of server nodes. In the existing distributed system, updating a service program or updating a certain configuration file requires logging on a specific certain server for operation, and under the increasingly bulky distributed system environment, it is time-consuming and labor-consuming to update the file configuration or program for each server.
ZooKeeper is a reliable coordination system for large distributed systems, and provides functions including configuration maintenance, name service, distributed synchronization, and group service. The ZooKeeper aims to package complex and error-prone key services and provide a simple and easy-to-use interface and a system with high performance and stable functions for users. The configuration service can be provided through ZooKeeper.
However, in the prior art, after acquiring the configuration information from the ZooKeeper, each server is loaded into the memory in the form of a file. The configuration information obtained each time can be written into the same memory address, so that when concurrent write configuration exists, problems of memory leakage or data reading errors and the like may exist.
Disclosure of Invention
In view of the above, the present invention provides a configuration updating method, apparatus, system and electronic device to avoid the problems of memory leakage or data reading error caused by concurrent write configuration.
In a first aspect, an embodiment of the present invention provides a configuration updating method, including:
acquiring configuration information from a Zookeeper server;
converting the configuration information into a configuration class by using a byte code technology of Java;
loading the configuration class to a class loader ClassLoader;
instantiating the configuration class loaded by the class loader ClassLoader to obtain a corresponding instance, wherein the instance is configured with timestamp information;
the instance is stored in the current context to complete the configuration update.
With reference to the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, where when a configuration query instruction is received, each currently existing instance is read from the context environment and displayed.
With reference to the first aspect, an embodiment of the present invention provides a second possible implementation manner of the first aspect, where before obtaining the configuration information from the Zookeeper server, the method further includes:
and receiving a detection instruction sent by the Zookeeper server, and returning detection response information to the Zookeeper server.
With reference to the first aspect, an embodiment of the present invention provides a third possible implementation manner of the first aspect, where instantiating the configuration class loaded by the class loader ClassLoader includes:
receiving a configuration updating instruction sent by the Zookeeper server;
and instantiating the configuration class loaded by the class loader ClassLoader according to the configuration updating instruction.
With reference to the first aspect, an embodiment of the present invention provides a fourth possible implementation manner of the first aspect, where after the loading the configuration class into the class loader ClassLoader, the method further includes:
returning the receipt receiving information to the Zookeeper server.
With reference to the first aspect, an embodiment of the present invention provides a fifth possible implementation manner of the first aspect, where after the storing the instance in the current context to complete the configuration update, the method further includes:
and returning configuration completion information to the Zookeeper server.
In a second aspect, an embodiment of the present invention further provides a configuration updating apparatus, including:
the acquisition module is used for acquiring configuration information from the Zookeeper server;
the conversion module is used for converting the configuration information into a configuration class by using a byte code technology of Java;
the preloading module is used for loading the configuration class to a class loader ClassLoader;
the instantiation module is used for instantiating the configuration class loaded by the class loader ClassLoader to obtain a corresponding instance, wherein the instance is configured with timestamp information;
an update module to store the instance in a current context to complete a configuration update.
With reference to the second aspect, an embodiment of the present invention provides a first possible implementation manner of the second aspect, where the method further includes:
and the query module is used for reading and displaying the currently existing examples from the context environment when receiving the configuration query instruction.
With reference to the second aspect, an embodiment of the present invention provides a second possible implementation manner of the second aspect, where the method further includes: and the query module is used for receiving the detection instruction sent by the Zookeeper server and returning detection response information to the Zookeeper server.
With reference to the second aspect, an embodiment of the present invention provides a third possible implementation manner of the second aspect, where the instantiation module is further configured to:
receiving a configuration updating instruction sent by the Zookeeper server;
and instantiating the configuration class loaded by the class loader ClassLoader according to the configuration updating instruction.
With reference to the second aspect, an embodiment of the present invention provides a fourth possible implementation manner of the second aspect, where the fourth possible implementation manner further includes:
and the receipt returning module is used for returning the receipt receiving information to the Zookeeper server.
With reference to the second aspect, an embodiment of the present invention provides a fifth possible implementation manner of the second aspect, where the method further includes:
and the completion returning module is used for returning configuration completion information to the Zookeeper server.
In a third aspect, an embodiment of the present invention further provides a configuration updating system, including a configuration center, a Zookeeper server, and a plurality of application servers; the configuration center is connected with the Zookeeper server, and the Zookeeper server is respectively connected with the plurality of application servers;
the application server comprises the apparatus as described in the second aspect and any one of its possible embodiments;
the configuration center is used for receiving configuration operation information and generating configuration information; the configuration operation information comprises configuration establishing information, configuration modifying information and configuration checking information;
and the Zookeeper server is used for acquiring configuration information from the configuration center and sending the configuration information to each application server.
With reference to the third aspect, an embodiment of the present invention provides a first possible implementation manner of the third aspect, where the Zookeeper server is further configured to:
sending a detection instruction to each application server;
receiving detection response information of each application server, and sending configuration information to each application server according to the detection response information so as to enable the application servers to carry out configuration preloading;
receiving receipt information of each application server; and sending a configuration updating instruction to each application server according to the received receipt information so as to enable the application servers to perform configuration updating.
With reference to the third aspect, an embodiment of the present invention provides a second possible implementation manner of the third aspect, where the Zookeeper server is further configured to:
receiving a detection instruction sent by the configuration center, and sending the detection instruction to each application server;
receiving the detection response information of each application server, and sending the detection response information to the configuration center;
receiving a configuration distribution instruction sent by the configuration center, and sending configuration information to each application server according to the configuration distribution instruction so as to enable the application servers to carry out configuration preloading;
receiving receipt information of each application server, and sending the receipt information to the configuration center;
receiving a configuration updating instruction sent by the configuration center, and sending the configuration updating instruction to each application server so as to enable the application servers to perform configuration updating;
and receiving configuration completion information of each application server, and sending the configuration completion information to the configuration center.
With reference to the second possible implementation manner of the third aspect, an embodiment of the present invention provides a third possible implementation manner of the third aspect, where the configuration center is further configured to:
sending a detection instruction to the Zookeeper server, receiving detection response information returned by the Zookeeper server and displaying a detection result;
sending a configuration distribution instruction to the Zookeeper server, receiving receipt receiving information returned by the Zookeeper server and displaying a preloading result;
and sending a configuration updating instruction to the Zookeeper server, receiving configuration completion information returned by the Zookeeper server, and displaying a configuration updating result.
In a fourth aspect, an embodiment of the present invention further provides an electronic device, which includes a memory and a processor, where the memory stores a computer program that is executable on the processor, and the processor executes the computer program to implement the method according to the first aspect and any possible implementation manner thereof.
In a fifth aspect, the present invention further provides a computer-readable medium having non-volatile program code executable by a processor, where the program code causes the processor to execute the method described in the first aspect and any possible implementation manner thereof.
The embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, after the configuration information is acquired from the Zookeeper server, the configuration information is converted into the configuration class by using a byte code technology of Java, the configuration class is loaded by using a class loader ClassLoader and instantiated, so that an instance corresponding to the configuration class is obtained, the instance is stored in a context environment of the Java, and the original configuration class stored in the context environment is automatically updated. The configuration information is stored in the form of examples, the memory addresses stored in the context environment are different due to the different names of the examples, and each example is configured with timestamp information; during subsequent configuration, the latest instance is called according to the instance name and the timestamp information to perform configuration updating, so that the problems of memory leakage or data reading errors and the like caused by direct concurrent writing configuration to the memory address can be avoided.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used 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 invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic flowchart of a configuration updating method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of another configuration updating method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a configuration update apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of another configuration update apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a configuration update system according to an embodiment of the present invention;
FIG. 6 is an interaction diagram of a configuration update system according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of another interaction of a configuration update system according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Currently, after each server acquires configuration information from the ZooKeeper, the same memory address can be written in, so that when concurrent write configuration exists, problems of memory leakage or data reading errors and the like may exist. Based on this, according to the configuration updating method, apparatus, system and electronic device provided by the embodiments of the present invention, configuration information is stored in the form of an instance, because the name of each instance is different, the memory addresses stored in the context environment are different, and each instance is configured with timestamp information; the subsequent configuration can call the corresponding instance to perform configuration updating according to the instance name and the timestamp information, so that the problems of memory leakage or data reading errors and the like caused by the fact that configuration is directly and concurrently written into the memory address can be avoided.
To facilitate understanding of the embodiment, a configuration updating method disclosed in the embodiment of the present invention will be described in detail first.
The first embodiment is as follows:
fig. 1 shows a flowchart of a configuration updating method according to an embodiment of the present invention. As shown in fig. 1, the configuration updating method is applied to an application server or a client running an application program, and includes the following steps:
step S101, obtaining configuration information from the Zookeeper server.
In a possible embodiment, the configuration information is generated by a manager corresponding to the configuration center through a WEB page (World Wide WEB) by writing configuration operation.
Step S102, converting the configuration information into a configuration class by using byte code technology of Java.
Step S103, loading the configuration class to a class loader ClassLoader.
The configuration information is converted into a configuration class represented by Java bytecode (. class file) through Java bytecode technology. And then, reading the Java byte code corresponding to the configuration class through ClassLoader to load the configuration class.
Step S104, instantiating the configuration class loaded by the class loader ClassLoader to obtain a corresponding instance.
Wherein the instance is configured with time stamp information, and the time stamp information is used for representing the generation time of the instance.
Step S105, store the instance in the current context to complete the configuration update.
The context environment is a storage space for storing global information, for example, ServletContext is a context environment of WEB application, and is created when a server of WEB application is started.
This stores the configuration information in the form of instances, each instance having a different name, different memory addresses stored in the context environment, and each instance being configured with timestamp information. Therefore, under the condition of concurrent write configuration, because each configuration information is stored in different memory addresses in the form of an instance, when the later application server performs configuration reading, the newly generated instance can be directly read from the corresponding memory address according to the instance name and the timestamp information to acquire a corresponding configuration value, so that the problems of memory leakage or data reading errors and the like caused by concurrent write configuration can be avoided.
Example two:
fig. 2 is a flowchart illustrating another configuration updating method according to an embodiment of the present invention. As shown in fig. 2, the configuration updating method is applied to an application server or a client running an application program, and includes the following steps:
step S201, receiving the detection instruction sent by the Zookeeper server, and returning the detection response information to the Zookeeper server.
In a possible embodiment, before sending the configuration information, the Zookeeper server sends a probe instruction to each application server connected to the Zookeeper server to detect whether each application server is alive, that is, whether there is a problem of dead halt, connection interruption, or the like. If the application server is alive, after receiving the detection instruction, sending corresponding detection response information to the Zookeeper server.
In a possible embodiment, the detection instruction is sent to a World Wide WEB (World Wide WEB) page by a manager through a configuration center, and the Zookeeper server is controlled to send the detection instruction; or after the Zookeeper server receives the configuration information written by the configuration center, the Zookeeper server directly sends the detection instruction to each application server.
Step S202, receiving the configuration information sent by the Zookeeper server.
In a possible embodiment, the configuration information is generated by a manager corresponding to the configuration center through a WEB page by writing configuration operation.
The Zookeeper server may be triggered to send the configuration information in any of the following ways.
The first method comprises the following steps: and determining that all the application servers are alive at the Zookeeper server according to the received detection response information, and sending configuration information to each application server.
And the second method comprises the following steps: the Zookeeper server feeds back the received detection response information to the configuration center, the configuration center displays the detection result, and if the detection result shows that all the application servers are alive, a manager controls the Zookeeper server to send the configuration information to each application server through a WEB page of the configuration center; and if the detection result shows that a certain application server has a problem, prompting so that a manager can timely process the fault.
In the second mode, managers monitor the survival rate through a WEB interface of the configuration center, can find problems in time and perform targeted processing, so that the success rate of configuration updating is improved.
Step S203, converting the configuration information into a configuration class by using Java byte code technology, and loading the configuration class into a class loader ClassLoader.
After receiving the configuration information, the configuration preloading step of step S203 is performed. Specifically, the configuration information is converted into a configuration class represented by Java bytecode (. class file) by the bytecode technology of Java. And then, reading the Java byte code corresponding to the configuration class through ClassLoader to load the configuration class.
And step S204, returning the receipt receiving information to the Zookeeper server.
And if the application server finishes the preloading of the configuration class, sending and receiving response piece information to the Zookeeper server to inform the Zookeeper server that the preloading is finished. It should be noted that, at this time, the original configuration information local to the application server is not updated.
Step S205, receiving a configuration updating instruction sent by the Zookeeper server.
The Zookeeper server may be triggered to send the configuration update instruction in any of the following ways.
The first method comprises the following steps: and determining that all the application servers are preloaded according to the received receipt information at the Zookeeper server, and sending a configuration updating instruction to each application server.
And the second method comprises the following steps: the Zookeeper server feeds back the received receipt information to the configuration center, the configuration center displays the preloading result according to the receipt information, and if the preloading result shows that all the application servers are preloaded, a manager controls the Zookeeper server to send a configuration updating instruction to each application server through a WEB page of the configuration center; and if the preloading result shows that the preloading of a certain application server fails, prompting so that a manager can timely process the fault.
In the second mode, managers perform pre-loading monitoring through a WEB interface of a configuration center, can find problems in time, and perform targeted processing to improve the success rate of configuration updating.
And after all the application servers are preloaded, sending a configuration updating instruction to each application server so that each application server can simultaneously perform configuration updating and the configuration consistency of each application server is kept.
Step S206, instantiating the configuration class loaded by the class loader ClassLoader according to the configuration updating instruction to obtain a corresponding instance.
Step S207, store the instance in the current context to complete the configuration update.
Specifically, after the instance is obtained, the instance is automatically saved in the context environment, thereby completing the configuration update. When the application server performs a configuration read, the latest instance may be automatically read from the context to obtain the corresponding configuration value.
It should be noted that the instance corresponding to the original configuration information stored in the context environment is not immediately cleared, and the names of the instances are different, and the stored addresses are also different. The original instance stored in the context is handled by a garbage collection mechanism in Java.
And step S208, returning configuration completion information to the Zookeeper server.
If the application server completes the configuration update, configuration completion information is sent to the Zookeeper server to inform the Zookeeper server that the configuration update is completed.
And the Zookeeper server feeds back the received configuration completion information to the configuration center, the configuration center displays a configuration updating result according to the configuration completion information, and if the configuration completion information shows that all the application servers are configured and updated, the success of the configuration updating of the distributed system is determined. And if the preloading result shows that the configuration updating of a certain application server fails, prompting so that a manager can timely process the fault.
In order to facilitate later system maintenance, optionally, after storing the instance representing the configuration information in the context environment, the configuration updating method further includes: when a configuration query instruction is received, the currently existing examples are read from the context environment and displayed.
Because the information stored in the context environment is processed by the garbage cleaning mechanism of Java, after the instance corresponding to the new configuration information is stored, the instance corresponding to the original configuration information does not disappear. In addition, each instance corresponds to the timestamp information, so that when a user conducts history tracing on the configuration information of the application server, each instance in the context environment can be called through a configuration query instruction, and the corresponding configuration information can be checked according to the time node represented by the timestamp. Therefore, when the configuration information of the application server is wrong, the historical configuration information can be directly inquired from the local to search the root cause of the problem. Compared with the prior art, the method and the device have the advantages that history tracing is performed through the configuration center, and the embodiment of the invention is more convenient and quicker.
The technical scheme stores the configuration information in an example form, and as the name of each example is different, the memory addresses stored in the context environment are different, and each example is configured with timestamp information; when the later application server performs configuration reading, the newly generated instance can be directly read from the corresponding storage address according to the instance name and the timestamp information to obtain the corresponding configuration value, so that the problems of memory leakage or data reading errors and the like caused by concurrent writing configuration can be avoided. And the configuration information is expressed in the form of an example, so that the reading performance is stronger compared with a file.
In the above embodiment, the configuration update process of the distributed system is divided into three steps, i.e., application server survival detection, configuration preloading and configuration update. After determining that all application servers are alive, sending configuration information; and then after all the application servers are determined to be preloaded, sending a configuration updating instruction to each application server so that each application server can simultaneously perform configuration updating, and keeping the configuration consistency of each application server.
In addition, when the configuration update is not completed, the application server can read the instance corresponding to the original configuration information from the current context environment to acquire the configuration value; after the configuration update is completed, the instance corresponding to the new configuration information may be read to obtain a new configuration value. Therefore, when the Zookeeper server is unavailable, only the issuing of new configuration information is influenced, and the use of each application server on the configuration information is not influenced, so that the use experience of a user is improved.
Example three:
corresponding to the configuration updating method in the first embodiment or the second embodiment, the present embodiment provides a configuration updating apparatus, referring to fig. 3, where the configuration updating apparatus includes:
an obtaining module 11, configured to obtain configuration information from a Zookeeper server;
a conversion module 12, configured to convert the configuration information into a configuration class by using a byte code technology of Java;
a preloading module 13, configured to load the configuration class to a class loader ClassLoader;
an instantiation module 14, configured to instantiate the configuration class loaded by the class loader ClassLoader to obtain a corresponding instance, where the instance is configured with timestamp information;
and an updating module 15, configured to store the above instance in the current context to complete the configuration update.
The configuration information is stored in the form of examples, and as the name of each example is different, and the memory address stored in the context environment is different, and each example is configured with timestamp information; when the later application server performs configuration reading, the newly generated instance can be directly read from the corresponding storage address according to the instance name and the timestamp information to obtain the corresponding configuration value, so that the problems of memory leakage or data reading errors and the like caused by concurrent writing configuration can be avoided.
In a possible embodiment, referring to fig. 4, an embodiment of the present invention provides a schematic structural diagram of another configuration updating apparatus, and on the basis of fig. 3, the configuration updating apparatus further includes:
and the query module 21 is configured to, when receiving the configuration query instruction, read and display currently existing instances from the context environment.
Further, the configuration updating apparatus further includes:
and the response returning module 22 is configured to receive the detection instruction sent by the Zookeeper server, and return the detection response information to the Zookeeper server.
Further, the instantiation module 14 is further configured to:
receiving a configuration updating instruction sent by a Zookeeper server;
according to the configuration updating instruction, the configuration class loaded by the class loader ClassLoader is instantiated.
Further, the configuration updating apparatus further includes:
and the receipt returning module 23 is configured to return the received receipt information to the Zookeeper server.
Further, the configuration updating apparatus further includes:
and a completion returning module 24, configured to return configuration completion information to the Zookeeper server.
In the above embodiment, the configuration update process of the distributed system is divided into three steps, i.e., application server survival detection, configuration preloading and configuration update. After determining that all application servers are alive, sending configuration information; and then after all the application servers are determined to be preloaded, sending a configuration updating instruction to each application server so that each application server can simultaneously perform configuration updating, and keeping the configuration consistency of each application server.
Example four:
corresponding to the configuration updating method in the first embodiment or the second embodiment, this embodiment provides a configuration updating system, as shown in fig. 5, including: comprises a configuration center 300, a Zookeeper server 400 and a plurality of application servers 500; the configuration center 300 is connected to the Zookeeper server 400, and the Zookeeper server 400 is connected to the plurality of application servers 500. Wherein the application server 500 comprises the apparatus as described in embodiment two.
A configuration center 300 for receiving configuration operation information and generating configuration information; the configuration operation information comprises configuration creating information, configuration modifying information and configuration viewing information.
In a possible embodiment, relevant managers perform configuration operation through a WEB page of a configuration center, and monitor a configuration updating process through the WEB page.
And the Zookeeper server is used for acquiring the configuration information from the configuration center and sending the configuration information to each application server.
In the distributed system, each time a new application server is added, the new application server automatically registers to the Zookeeper server when the application server is started, so that the association between the application server and the Zookeeper server is established. When the application server is reduced, the association between the application server and the Zookeeper server can be manually cancelled through the configuration center, so that one application server is reduced.
The configuration update process will be described in detail below, and the configuration update may be performed in any of, but not limited to, the following two ways.
The first method comprises the following steps:
the Zookeeper server automatically completes the configuration updating process.
In this aspect, the Zookeeper server is further configured to: sending a detection instruction to each application server; receiving detection response information of each application server, and sending configuration information to each application server according to the detection response information so as to enable the application servers to carry out configuration preloading; receiving receipt information of each application server; and sending a configuration updating instruction to each application server according to the received receipt information so as to enable the application servers to perform configuration updating.
Specifically, the Zookeeper server sends a probe instruction to each application server connected thereto to detect whether each application server is alive, that is, whether there are problems of dead halt, connection interruption, and the like. If the application server is alive, after receiving the detection instruction, sending corresponding detection response information to the Zookeeper server to indicate that the local machine is normal.
And determining that all the application servers are alive at the Zookeeper server according to the received detection response information, and sending configuration information to each application server to enable the application servers to perform configuration preloading. In a possible embodiment, if a problem of a certain application server is detected, an abnormal prompt message may be sent to the configuration center, so that a manager of the configuration center can timely perform processing. After receiving the control signal of the configuration center, sending the detection instruction again to restart the detection.
And determining that all the application servers are preloaded according to the received receipt information at the Zookeeper server, and sending a configuration updating instruction to each application server. And when determining that all the application servers are preloaded according to the received receipt information, the Zookeeper server sends a configuration updating instruction to each application server so as to enable the application servers to perform configuration updating. In a possible embodiment, if it is detected that the preloading of a certain application server is not completed, an abnormal prompt message may be sent to the configuration center, so that a manager of the configuration center can process the information in time. After receiving the control signal of the configuration center, sending the configuration information to the application servers which are not preloaded completely again so as to determine whether all the application servers are preloaded completely or not again.
Referring to fig. 6, an interaction diagram of a configuration update system corresponding to the first mode is shown. As shown in fig. 6, the interaction process corresponding to this method is as follows:
(a1) and the configuration center writes the configuration information into the Zookeeper server.
Specifically, the administrator edits the configuration related information on the WEB page of the configuration center. After the configuration update process is completed, the relevant button of the page can be clicked, and the configuration information is sent to the Zookeeper server, so that the configuration update process of the application server is started.
(a2) And after receiving the configuration information, the Zookeeper server sends a detection instruction to each application server.
(a3) And the application server receives the detection instruction and returns detection response information to the Zookeeper server.
(a4) The Zookeeper server receives the probe response information.
In a possible embodiment, the Zookeeper server stores the probe response information into an independent and unique storage unit corresponding to the corresponding application server.
(a5) And after all the application servers are determined to be alive, sending configuration information to each application server.
(a6) And the application server receives the configuration information and performs configuration preloading.
In particular the preloading procedure may refer to the introduction of the aforementioned method embodiments.
(a7) And after the preloading is finished, the application server sends and receives receipt information to the Zookeeper server.
(a8) And the Zookeeper server receives the receipt receiving information.
In a possible embodiment, the Zookeeper server stores the received receipt information in an independent and unique storage unit corresponding to the corresponding application server.
(a9) And after all the application servers are determined to be preloaded, sending a configuration updating instruction to each application server.
(a10) And after receiving the configuration updating instruction, the application server updates the configuration.
In particular the configuration update procedure may refer to the introduction of the aforementioned method embodiments.
(a11) And after the configuration updating is completed, sending configuration completion information to the Zookeeper server.
In a possible embodiment, the Zookeeper server stores the configuration completion information into an independent and unique storage unit corresponding to the corresponding application server. And determining whether each application server is updated successfully or not through the configuration completion information.
And the second method comprises the following steps:
the Zookeeper server completes the configuration updating process under the control of the configuration center.
In this manner, the Zookeeper server is further configured to: receiving a detection instruction sent by a configuration center, and sending the detection instruction to each application server; receiving detection response information of each application server, and sending the detection response information to a configuration center; receiving a configuration distribution instruction sent by a configuration center, and sending configuration information to each application server according to the configuration distribution instruction so as to enable the application servers to carry out configuration preloading; receiving receipt information of each application server, and sending the receipt information to a configuration center; receiving a configuration updating instruction sent by a configuration center, and sending the configuration updating instruction to each application server so as to enable the application server to carry out configuration updating; and receiving configuration completion information of each application server, and sending the configuration completion information to the configuration center.
The configuration center is further configured to: sending a configuration starting instruction to a Zookeeper server, receiving detection response information returned by the Zookeeper server and displaying a detection result; sending a configuration distribution instruction to a Zookeeper server, receiving receipt receiving information returned by the Zookeeper server and displaying a preloading result; and sending a configuration updating instruction to the Zookeeper server, receiving configuration completion information returned by the Zookeeper server, and displaying a configuration updating result.
Specifically, the Zookeeper server feeds back the received detection response information to the configuration center, the configuration center displays the detection result, and if the detection result shows that all the application servers are alive, the administrator controls the Zookeeper server to send the configuration information to each application server through a WEB page of the configuration center; and if the detection result shows that a certain application server has a problem, prompting so that a manager can timely process the fault.
The Zookeeper server feeds back the received receipt information to the configuration center, the configuration center displays the preloading result according to the receipt information, and if the preloading result shows that all the application servers are preloaded, a manager controls the Zookeeper server to send a configuration updating instruction to each application server through a WEB page of the configuration center; and if the preloading result shows that the preloading of a certain application server fails, prompting so that a manager can timely process the fault.
In the second mode, managers monitor the survival rate and preload through a WEB interface of the configuration center, can find problems in time, and perform targeted processing to improve the success rate of configuration updating.
Referring to fig. 7, an interaction diagram of the configuration update system corresponding to the first mode is shown. As shown in fig. 7, the interaction process corresponding to this method is as follows:
(b1) and the configuration center writes the configuration information into the Zookeeper server.
(b2) The configuration center sends a detection instruction to the Zookeeper server.
Specifically, the administrator edits the configuration related information on the WEB page of the configuration center. After the completion, the relevant button of the page can be clicked, and the configuration information is sent to the Zookeeper server. And then, the administrator sends a detection instruction to the Zookeeper server through the WEB page, so that the configuration updating process of the application server is started.
(b3) And the Zookeeper server receives and forwards the detection instruction to each application server.
(b4) And the application server receives the detection instruction and returns detection response information to the Zookeeper server.
(b5) And the Zookeeper server receives the detection response information and forwards the detection response information to the configuration center.
In a possible embodiment, the Zookeeper server stores the probe response information into an independent and unique storage unit corresponding to the corresponding application server.
(b6) And the configuration center receives the detection response information returned by the Zookeeper server and displays the detection result.
(b7) And after determining that all the application servers are alive, the configuration center sends a configuration distribution instruction to the Zookeeper server.
At the moment, if the problem of a certain application server is displayed, the management personnel can timely process the problem until all the application servers are determined to be alive.
(b8) And the Zookeeper server receives the configuration distribution instruction sent by the configuration center and sends configuration information to each application server.
(b9) And the application server receives the configuration information and performs configuration preloading.
In particular the preloading procedure may refer to the introduction of the aforementioned method embodiments.
(b10) And after the preloading is finished, the application server sends and receives receipt information to the Zookeeper server.
(b11) And the Zookeeper server receives the receipt receiving information and sends the receipt receiving information to the configuration center.
In a possible embodiment, the Zookeeper server stores the received receipt information in an independent and unique storage unit corresponding to the corresponding application server.
(b12) The configuration center receives the receipt information and displays the preloading result.
(b13) And after determining that all the application servers are completely preloaded, the configuration center sends a configuration updating instruction to the Zookeeper server.
At the moment, if the preloading of a certain application server fails, the management personnel processes the preloading in time until all the application servers are determined to be successfully preloaded.
(b14) And the Zookeeper server receives the configuration updating instruction sent by the configuration center and sends the configuration updating instruction to each application server.
(b15) And after receiving the configuration updating instruction, the application server updates the configuration.
In particular the configuration update procedure may refer to the introduction of the aforementioned method embodiments.
(b16) And after the configuration updating is completed, the application server sends configuration completion information to the Zookeeper server.
(b17) And the Zookeeper server receives the configuration completion information of each application server and sends the configuration completion information to the configuration center.
(b18) And the configuration center receives configuration completion information returned by the Zookeeper server and displays a configuration updating result.
In a possible embodiment, the Zookeeper server stores the configuration completion information into an independent and unique storage unit corresponding to the corresponding application server. At the moment, if the update failure of a certain application server is displayed, the management personnel processes the update failure in time until all the application servers are determined to be updated successfully in a pre-configuration mode.
The configuration information is stored in the form of examples, and as the name of each example is different, and the memory address stored in the context environment is different, and each example is configured with timestamp information; when the later application server performs configuration reading, the newly generated instance can be directly read from the corresponding storage address according to the instance name and the timestamp information to obtain the corresponding configuration value, so that the problems of memory leakage or data reading errors and the like caused by concurrent writing configuration can be avoided.
In the embodiment, the configuration updating process of the distributed system is divided into three steps of application server survival detection, configuration preloading and configuration updating, and the configuration information is sent after all the application servers are determined to be alive; and then after all the application servers are determined to be preloaded, sending a configuration updating instruction to each application server so that each application server can simultaneously perform configuration updating, and keeping the configuration consistency of each application server.
Example five:
referring to fig. 8, an embodiment of the present invention further provides an electronic device 100, including: a processor 40, a memory 41, a bus 42 and a communication interface 43, wherein the processor 40, the communication interface 43 and the memory 41 are connected through the bus 42; the processor 40 is arranged to execute executable modules, such as computer programs, stored in the memory 41.
The Memory 41 may include a high-speed Random Access Memory (RAM) and may also include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 43 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, etc. may be used.
The bus 42 may be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 8, but that does not indicate only one bus or one type of bus.
The memory 41 is used for storing a program, the processor 40 executes the program after receiving an execution instruction, and the method executed by the apparatus defined by the flow process disclosed in any of the foregoing embodiments of the present invention may be applied to the processor 40, or implemented by the processor 40.
The processor 40 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 40. The Processor 40 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory 41, and the processor 40 reads the information in the memory 41 and completes the steps of the method in combination with the hardware thereof.
The configuration updating device and the electronic device provided by the embodiment of the invention have the same technical characteristics as the configuration updating method provided by the embodiment, so that the same technical problems can be solved, and the same technical effects can be achieved.
The computer program product for performing the configuration updating method provided in the embodiment of the present invention includes a computer-readable storage medium storing a nonvolatile program code executable by a processor, where instructions included in the program code may be used to execute the method described in the foregoing method embodiment, and specific implementation may refer to the method embodiment, and is not described herein again.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the apparatus and the electronic device described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Unless specifically stated otherwise, the relative steps, numerical expressions, and values of the components and steps set forth in these embodiments do not limit the scope of the present invention.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute 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), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (16)

1. A configuration update method, comprising:
acquiring configuration information from a Zookeeper server;
converting the configuration information into a configuration class by using a byte code technology of Java;
loading the configuration class to a class loader ClassLoader;
instantiating the configuration class loaded by the class loader ClassLoader to obtain a corresponding instance, wherein the instance is configured with timestamp information;
storing the instance in a current context to complete a configuration update;
before the obtaining the configuration information from the Zookeeper server, the method further includes:
receiving a detection instruction sent by the Zookeeper server, and returning detection response information to the Zookeeper server;
the step of obtaining configuration information from the Zookeeper server includes: and when the Zookeeper server determines that all the application servers are alive according to the received detection response information, receiving the configuration information sent by the Zookeeper server.
2. The method of claim 1, further comprising:
and when a configuration query instruction is received, reading each currently existing instance from the context environment and displaying the instances.
3. The method of claim 1, wherein instantiating the configuration class loaded by the class loader ClassLoader comprises:
receiving a configuration updating instruction sent by the Zookeeper server;
and instantiating the configuration class loaded by the class loader ClassLoader according to the configuration updating instruction.
4. The method of claim 1, wherein after loading the configuration class into class loader ClassLoader, further comprising:
returning the receipt receiving information to the Zookeeper server.
5. The method of claim 1, wherein after storing the instance in a current context to complete a configuration update, further comprising:
and returning configuration completion information to the Zookeeper server.
6. A configuration update apparatus, comprising:
the acquisition module is used for acquiring configuration information from the Zookeeper server;
the conversion module is used for converting the configuration information into a configuration class by using a byte code technology of Java;
the preloading module is used for loading the configuration class to a class loader ClassLoader;
the instantiation module is used for instantiating the configuration class loaded by the class loader ClassLoader to obtain a corresponding instance, wherein the instance is configured with timestamp information;
an update module to store the instance in a current context to complete a configuration update;
further comprising:
the query module is used for receiving the detection instruction sent by the Zookeeper server and returning detection response information to the Zookeeper server;
and the acquisition module is used for receiving the configuration information sent by the Zookeeper server when the Zookeeper server determines that all the application servers are alive according to the received detection response information.
7. The apparatus of claim 6, further comprising:
and the query module is used for reading and displaying the currently existing examples from the context environment when receiving the configuration query instruction.
8. The apparatus of claim 6, wherein the instantiation module is further configured to:
receiving a configuration updating instruction sent by the Zookeeper server;
and instantiating the configuration class loaded by the class loader ClassLoader according to the configuration updating instruction.
9. The apparatus of claim 6, further comprising:
and the receipt returning module is used for returning the receipt receiving information to the Zookeeper server.
10. The apparatus of claim 6, further comprising:
and the completion returning module is used for returning configuration completion information to the Zookeeper server.
11. A configuration updating system is characterized by comprising a configuration center, a Zookeeper server and a plurality of application servers; the configuration center is connected with the Zookeeper server, and the Zookeeper server is respectively connected with the plurality of application servers;
the application server comprising the apparatus of any of claims 6 to 10;
the configuration center is used for receiving configuration operation information and generating configuration information; the configuration operation information comprises configuration establishing information, configuration modifying information and configuration checking information;
and the Zookeeper server is used for acquiring configuration information from the configuration center and sending the configuration information to each application server.
12. The system of claim 11, wherein the Zookeeper server is further configured to:
sending a detection instruction to each application server;
receiving detection response information of each application server, and sending configuration information to each application server according to the detection response information so as to enable the application servers to carry out configuration preloading;
receiving receipt information of each application server, and sending a configuration updating instruction to each application server according to the receipt information so as to enable the application servers to perform configuration updating.
13. The system of claim 11, wherein the Zookeeper server is further configured to:
receiving a detection instruction sent by the configuration center, and sending the detection instruction to each application server;
receiving the detection response information of each application server, and sending the detection response information to the configuration center;
receiving a configuration distribution instruction sent by the configuration center, and sending configuration information to each application server according to the configuration distribution instruction so as to enable the application servers to carry out configuration preloading;
receiving receipt information of each application server, and sending the receipt information to the configuration center;
receiving a configuration updating instruction sent by the configuration center, and sending the configuration updating instruction to each application server so as to enable the application servers to perform configuration updating;
and receiving configuration completion information of each application server, and sending the configuration completion information to the configuration center.
14. The system of claim 13, wherein the configuration center is further configured to:
sending a detection instruction to the Zookeeper server, receiving detection response information returned by the Zookeeper server and displaying a detection result;
sending a configuration distribution instruction to the Zookeeper server, receiving receipt receiving information returned by the Zookeeper server and displaying a preloading result;
and sending a configuration updating instruction to the Zookeeper server, receiving configuration completion information returned by the Zookeeper server, and displaying a configuration updating result.
15. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any of claims 1 to 5 when executing the computer program.
16. A computer-readable medium having non-volatile program code executable by a processor, wherein the program code causes the processor to perform the method of any of claims 1 to 5.
CN201811364313.XA 2018-11-15 2018-11-15 Configuration updating method, device and system and electronic equipment Active CN109462507B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811364313.XA CN109462507B (en) 2018-11-15 2018-11-15 Configuration updating method, device and system and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811364313.XA CN109462507B (en) 2018-11-15 2018-11-15 Configuration updating method, device and system and electronic equipment

Publications (2)

Publication Number Publication Date
CN109462507A CN109462507A (en) 2019-03-12
CN109462507B true CN109462507B (en) 2021-09-28

Family

ID=65610682

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811364313.XA Active CN109462507B (en) 2018-11-15 2018-11-15 Configuration updating method, device and system and electronic equipment

Country Status (1)

Country Link
CN (1) CN109462507B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111221587A (en) * 2019-11-14 2020-06-02 杭州安恒信息技术股份有限公司 Management scheduling method and device for configuration center
CN111443959B (en) * 2020-03-27 2023-04-25 北京金山云网络技术有限公司 Task execution method, device and server
CN111597056B (en) * 2020-05-18 2023-06-30 北京思特奇信息技术股份有限公司 Distributed scheduling method, system, storage medium and equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106559244A (en) * 2015-09-30 2017-04-05 中兴通讯股份有限公司 A kind of session service test and management method and system and management end, test lead
CN106909411A (en) * 2015-12-23 2017-06-30 ***通信集团江苏有限公司 A kind of file updating method and device
CN107301097A (en) * 2016-04-14 2017-10-27 阿里巴巴集团控股有限公司 It is a kind of to call java objects, the storage method of the reference address information of java objects and device
CN107517259A (en) * 2017-08-28 2017-12-26 四川长虹电器股份有限公司 A kind of simple Web server implementation method
CN108399100A (en) * 2017-02-06 2018-08-14 ***通信集团公司 A kind of method of adjustment and device of container resource
CN108804119A (en) * 2018-04-28 2018-11-13 北京金山云网络技术有限公司 Configure update method, device, system, configuration center, application node and medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10171315B2 (en) * 2016-06-29 2019-01-01 International Business Machines Corporation Orchestration process template for generation of orchestration process to tolerate errors

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106559244A (en) * 2015-09-30 2017-04-05 中兴通讯股份有限公司 A kind of session service test and management method and system and management end, test lead
CN106909411A (en) * 2015-12-23 2017-06-30 ***通信集团江苏有限公司 A kind of file updating method and device
CN107301097A (en) * 2016-04-14 2017-10-27 阿里巴巴集团控股有限公司 It is a kind of to call java objects, the storage method of the reference address information of java objects and device
CN108399100A (en) * 2017-02-06 2018-08-14 ***通信集团公司 A kind of method of adjustment and device of container resource
CN107517259A (en) * 2017-08-28 2017-12-26 四川长虹电器股份有限公司 A kind of simple Web server implementation method
CN108804119A (en) * 2018-04-28 2018-11-13 北京金山云网络技术有限公司 Configure update method, device, system, configuration center, application node and medium

Also Published As

Publication number Publication date
CN109462507A (en) 2019-03-12

Similar Documents

Publication Publication Date Title
CN107196788B (en) Method and device for processing buried point data, server and client
CN103530199B (en) A kind of method, Apparatus and system repairing running software mistake
US9454439B2 (en) Disaster recovery validation
CN109462507B (en) Configuration updating method, device and system and electronic equipment
CN109308227B (en) Fault detection control method and related equipment
CN111158741B (en) Method and device for monitoring dependency relationship change of service module on third party class library
CN110825399B (en) Deployment method and device of application program
CN111694612A (en) Configuration checking method, device, computer system and storage medium
CN111897846A (en) Cache data verification method, device, equipment and storage medium
JP6015750B2 (en) Log collection server, log collection system, and log collection method
CN112988277B (en) Rule file loading method, device, server and medium
CN114598680A (en) Domain name management method, device and storage medium
CN114385458A (en) Sensor monitoring method and device based on event bus model
US20160275002A1 (en) Image capture in application lifecycle management for documentation and support
CN113946515A (en) Code coverage rate testing method and device, computer equipment and storage medium
CN109101253B (en) Management method and device for host in cloud computing system
CN114625594A (en) Configuration file generation method, log collection method, device, equipment and medium
CN110019262B (en) Data updating method and device
CN111880996B (en) Bare metal data acquisition method, device, equipment and readable storage medium
CN113722236B (en) Game debugging method, device, equipment and storage medium
US8856309B1 (en) Statistical tool for use in networked computer platforms
US8825610B1 (en) System management based on goals relevant to a current state of a managed system
CN116028138B (en) Application publishing method and device
CN114257652B (en) Request message processing method, device, equipment and readable storage medium
CN114785862B (en) Processing method and related device for custom routing information

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