CN115344327B - Application module switching method and device, electronic equipment and readable storage medium - Google Patents

Application module switching method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN115344327B
CN115344327B CN202211001493.1A CN202211001493A CN115344327B CN 115344327 B CN115344327 B CN 115344327B CN 202211001493 A CN202211001493 A CN 202211001493A CN 115344327 B CN115344327 B CN 115344327B
Authority
CN
China
Prior art keywords
switched
application
item
module
environment
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
CN202211001493.1A
Other languages
Chinese (zh)
Other versions
CN115344327A (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.)
Zhongdian Jinxin Software Co Ltd
Original Assignee
Zhongdian Jinxin Software 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 Zhongdian Jinxin Software Co Ltd filed Critical Zhongdian Jinxin Software Co Ltd
Priority to CN202211001493.1A priority Critical patent/CN115344327B/en
Publication of CN115344327A publication Critical patent/CN115344327A/en
Application granted granted Critical
Publication of CN115344327B publication Critical patent/CN115344327B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1438Restarting or rejuvenating
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Stored Programmes (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The application provides a switching method and device of application modules, electronic equipment and a readable storage medium, and the method and device are used for acquiring a configuration parameter list involved in switching the application modules to be switched to a target cluster environment; responding to cluster switching operation, loading environment configuration parameters of each application item to be switched in a configuration parameter list to a registry until each environment configuration parameter is loaded, and obtaining a loaded application module to be switched; and carrying out a communication test on the loaded application module to be switched, and restarting the application instance corresponding to each application item to be switched by issuing the environment configuration parameter of the application item to be switched after the loaded application module to be switched passes the communication test. Therefore, the cluster environments operated by the application modules can be switched in time, and the switching efficiency of the application modules to be switched among different cluster environments can be improved.

Description

Application module switching method and device, electronic equipment and readable storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for switching an application module, an electronic device, and a readable storage medium.
Background
With the continuous development of the distributed system, the configuration center is widely applied in the distributed system, and the configuration center can be used for uniformly setting and managing various application services related to the distributed system, such as opening and closing of the application service, middleware called by the application service, application parameters related to the application service, instance parameters, related parameters of a server corresponding to the application service and the like.
In general, if an application module to be switched has an operation fault in a certain cluster environment, service personnel are required to manually modify configuration parameters related to the configuration of the application module to be switched, so that the application module to be switched can be switched to other cluster environments to continue providing services; however, the process of manual adjustment is time-consuming, which results in a longer recovery time for the application module to be switched to resume providing the service.
Disclosure of Invention
In view of this, an object of the present application is to provide a method, an apparatus, an electronic device, and a readable storage medium for switching an application module, which are capable of automatically acquiring a list of configuration parameters required for switching the application module to be switched to operate in a target cluster environment when an operation failure exists in the current cluster environment of the application module to be switched, and without manually configuring parameters by service personnel, so that the application module to be switched can be switched to operate in the target cluster environment rapidly, thereby ensuring continuity of service provided by the application module, and improving switching efficiency.
The embodiment of the application provides a switching method of an application module, which comprises the following steps:
when an application module to be switched has operation faults in the current cluster environment, acquiring a configuration parameter list involved in switching the application module to be switched to a target cluster environment; the application module to be switched comprises at least one application item to be switched; the configuration parameter list comprises environment configuration parameters of the target cluster environment and application instances corresponding to each application item to be switched;
loading the environment configuration parameters of each application item to be switched in the configuration parameter list to a registry in response to cluster switching operation until the environment configuration parameters of each application item to be switched are loaded, so as to obtain a loaded application module to be switched;
performing a communication test on the loaded application module to be switched, and determining a test result of the loaded application module to be switched;
and if the test result indicates that the loaded application module to be switched passes the communication test, restarting an application instance corresponding to each application item to be switched by issuing environment configuration parameters of the application item to be switched.
In a possible implementation manner, the obtaining a configuration parameter list involved in switching the application module to be switched to a target cluster environment includes:
determining a target cluster environment from a plurality of candidate cluster environments in response to a cluster scene selection operation;
responding to a switching item selection operation, and determining at least one application item to be switched from a plurality of candidate application items included in the application module to be switched;
for each application item to be switched, determining environment configuration parameters involved in switching the application item to be switched to a target cluster environment and application instances corresponding to the application item to be switched according to the current configuration parameters of the application item to be switched in the current cluster environment;
and generating a configuration parameter list of the application module to be switched based on the environment configuration parameters of each application item to be switched and the application instance corresponding to each application item to be switched.
In a possible implementation manner, the loading, in response to the cluster switching operation, the environmental configuration parameters of each application to be switched in the configuration parameter list to the registry until the environmental configuration parameters of each application to be switched are loaded, to obtain a loaded application module to be switched, includes:
Responding to cluster switching operation, and determining the application category of each application item to be switched aiming at the application item to be switched;
if the application category indicates that the application item to be switched is an interactive item, detecting the activity of the application item to be switched, and determining a detection result;
if the detection result indicates that the application item to be switched passes the detection, loading environment configuration parameters of the application item to be switched to a registry;
and circularly loading the environment configuration parameters of each application item to be switched until the environment configuration parameters of each application item to be switched are loaded to the registry, so as to obtain the loaded application module to be switched.
In a possible implementation manner, if the application class indicates that the application item to be switched is an interaction item, performing a detection activity detection on the application item to be switched, and determining a detection activity detection result includes:
if the application category indicates that the application item to be switched is an interactive item, determining whether to perform detection on the application item to be switched according to the application attribute information of the application item to be switched;
if yes, detecting the detection activity of the application item to be switched, and determining a detection activity detection result;
If not, directly loading the environment configuration parameters of the application item to be switched to the registry.
In one possible implementation manner, the switching method further includes:
and if the detection result indicates that the application item to be switched does not pass the detection, determining that the application module to be switched fails to switch.
In one possible implementation manner, the switching method further includes:
if the application category indicates that the application item to be switched is a non-interactive item, directly restarting an application instance corresponding to the application item to be switched;
if the restart of the application instance corresponding to the application item to be switched fails, determining that the switching of the application module to be switched fails;
otherwise, continuing to circularly load the environment configuration parameters of other application items to be switched in the configuration parameter list to the registry.
In one possible implementation manner, after the application module to be switched after completing loading passes the connectivity test, the switching method further includes:
storing the configuration parameter list to a database, and determining whether the configuration parameter list is already stored to the database;
if yes, determining that the application module to be switched is successfully switched;
if not, repeatedly storing the configuration parameter list until the configuration parameter list is stored in the database.
The embodiment of the application also provides a switching device of the application module, which comprises:
the parameter acquisition module is used for acquiring a configuration parameter list involved in switching the application module to be switched to a target cluster environment when the application module to be switched has an operation fault in the current cluster environment; the application module to be switched comprises at least one application item to be switched; the configuration parameter list comprises environment configuration parameters of the target cluster environment and application instances corresponding to each application item to be switched;
the parameter loading module is used for responding to cluster switching operation, loading the environment configuration parameters of each application item to be switched in the configuration parameter list to the registry until the environment configuration parameters of each application item to be switched are loaded, and obtaining the loaded application module to be switched;
the communication test module is used for carrying out communication test on the application module to be switched after finishing loading and determining a test result of the application module to be switched after finishing loading;
and the instance restarting module is used for restarting the application instance corresponding to each application item to be switched by issuing the environment configuration parameter of the application item to be switched if the test result indicates that the application module to be switched which is completed with loading passes the communication test.
In a possible implementation manner, the parameter obtaining module is configured to, when configured to obtain a configuration parameter list involved in switching the application module to be switched to a target cluster environment,:
determining a target cluster environment from a plurality of candidate cluster environments in response to a cluster scene selection operation;
responding to a switching item selection operation, and determining at least one application item to be switched from a plurality of candidate application items included in the application module to be switched;
for each application item to be switched, determining environment configuration parameters involved in switching the application item to be switched to a target cluster environment and application instances corresponding to the application item to be switched according to the current configuration parameters of the application item to be switched in the current cluster environment;
and generating a configuration parameter list of the application module to be switched based on the environment configuration parameters of each application item to be switched and the application instance corresponding to each application item to be switched.
In a possible implementation manner, when the parameter loading module is configured to load, in response to a cluster switching operation, an environment configuration parameter of each application item to be switched in the configuration parameter list to a registry until the environment configuration parameter of each application item to be switched is loaded, and obtain a loaded application module to be switched, the parameter loading module is configured to:
Responding to cluster switching operation, and determining the application category of each application item to be switched aiming at the application item to be switched;
if the application category indicates that the application item to be switched is an interactive item, detecting the activity of the application item to be switched, and determining a detection result;
if the detection result indicates that the application item to be switched passes the detection, loading environment configuration parameters of the application item to be switched to a registry;
and circularly loading the environment configuration parameters of each application item to be switched until the environment configuration parameters of each application item to be switched are loaded to the registry, so as to obtain the loaded application module to be switched.
In one possible implementation manner, the parameter loading module is configured to, when the application class indicates that the application item to be switched is an interaction item, perform a probe activity detection on the application item to be switched, and determine a probe activity detection result, when the parameter loading module is configured to:
if the application category indicates that the application item to be switched is an interactive item, determining whether to perform detection on the application item to be switched according to the application attribute information of the application item to be switched;
if yes, detecting the detection activity of the application item to be switched, and determining a detection activity detection result;
If not, directly loading the environment configuration parameters of the application item to be switched to the registry.
In a possible implementation manner, the switching device further includes a failure result determining module, where the failure result determining module is configured to:
and if the detection result indicates that the application item to be switched does not pass the detection, determining that the application module to be switched fails to switch.
In one possible implementation manner, the switching device further comprises a forced start-stop module, and the forced start-stop module is used for:
if the application category indicates that the application item to be switched is a non-interactive item, directly restarting an application instance corresponding to the application item to be switched;
if the restart of the application instance corresponding to the application item to be switched fails, determining that the switching of the application module to be switched fails;
otherwise, continuing to circularly load the environment configuration parameters of other application items to be switched in the configuration parameter list to the registry.
In a possible embodiment, the switching device further comprises a parameter storage module for:
storing the configuration parameter list to a database, and determining whether the configuration parameter list is already stored to the database;
If yes, determining that the application module to be switched is successfully switched;
if not, repeatedly storing the configuration parameter list until the configuration parameter list is stored in the database.
The embodiment of the application also provides electronic equipment, which comprises: the system comprises a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, the processor and the memory are communicated through the bus when the electronic device runs, and the machine-readable instructions are executed by the processor to execute the steps of the switching method of the application module.
The embodiments of the present application also provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method for switching application modules as described above.
According to the application module switching method, the device, the electronic equipment and the readable storage medium, when an operation fault exists in the application module to be switched under the current cluster environment, a configuration parameter list involved in switching the application module to be switched to the target cluster environment is obtained; loading the environment configuration parameters of each application item to be switched in the configuration parameter list to a registry in response to cluster switching operation until the environment configuration parameters of each application item to be switched are loaded, so as to obtain a loaded application module to be switched; performing a communication test on the loaded application module to be switched, and determining a test result of the loaded application module to be switched; and if the test result indicates that the loaded application module to be switched passes the communication test, restarting an application instance corresponding to each application item to be switched by issuing environment configuration parameters of the application item to be switched. Therefore, when the application module to be switched has operation faults, the application module to be switched can be switched to the target cluster environment to operate in time, so that the application module to be switched can provide uninterrupted service, and the switching efficiency of the application module to be switched in each cluster environment can be improved.
In order to make the above objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered limiting the scope, and that other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a switching method of an application module according to an embodiment of the present application;
fig. 2 is a schematic diagram of a configuration process of a configuration parameter list according to an embodiment of the present application;
fig. 3 is a schematic diagram of a switching process of an application module to be switched according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a switching device of an application module according to an embodiment of the present application;
FIG. 5 is a second schematic diagram of a switching device of an application module according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, which are generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, as provided in the accompanying drawings, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. Based on the embodiments of the present application, every other embodiment that a person skilled in the art would obtain without making any inventive effort is within the scope of protection of the present application.
According to research, in a general case, the distributed system is in a multi-cluster architecture, and if an operation fault exists in an application module to be switched in a certain cluster environment, service personnel are required to manually modify configuration parameters related to the configuration of the application module to be switched, so that the application module to be switched can be switched to other cluster environments to continue to provide services; however, the process of manual adjustment is time-consuming, which results in a longer recovery time for the application module to be switched to resume providing the service.
Based on this, the embodiment of the application module switching method provided by the application module switching method can timely switch the application module to be switched to the target cluster environment to operate when the application module to be switched has an operation fault, so that the application module to be switched can provide service uninterruptedly, and the switching efficiency of the application module to be switched in each cluster environment can be improved.
Referring to fig. 1, fig. 1 is a flowchart of a method for switching application modules according to an embodiment of the present application. As shown in fig. 1, the switching method of an application module provided in the embodiment of the present application includes:
s101, when an application module to be switched has operation faults in the current cluster environment, acquiring a configuration parameter list involved in switching the application module to be switched to a target cluster environment.
S102, loading the environment configuration parameters of each application item to be switched in the configuration parameter list to a registry in response to cluster switching operation until the environment configuration parameters of each application item to be switched are loaded, and obtaining the loaded application module to be switched.
And S103, carrying out communication test on the loaded application module to be switched, and determining a test result of the loaded application module to be switched.
S104, if the test result indicates that the loaded application module to be switched passes the communication test, restarting the application instance corresponding to each application item to be switched by issuing the environment configuration parameter of the application item to be switched.
According to the application module switching method, when an operation fault exists in an application module to be switched under a current cluster environment, a configuration parameter list required for switching the application module to be switched to a target cluster environment is obtained, wherein only partial application items possibly exist operation faults in the application module to be switched, only the application items to be switched with faults need to be switched at the moment, and the original operation mode of the application items without operation faults is kept, so that the configuration parameter list comprises environment configuration parameters required by switching at least one application item to be switched to the target cluster environment and application instances corresponding to each application to be switched; responding to cluster switching operation, loading the environment configuration parameters of each application item to be switched in the configuration parameter list to a registry until the environment configuration parameters of each application item to be switched are loaded to the configuration center, and obtaining a loaded application module to be switched; in order to avoid errors in the loading process, the loaded application module to be switched cannot normally run, so that after the loaded application module to be switched is obtained, a communication test is conducted on the loaded application module to be switched, after the loaded application module to be switched passes through the communication test, an application instance of each application item to be switched is restarted by issuing environment configuration parameters of each application item to be switched, and further, switching of cluster environments of operation of the application module to be switched is completed. Therefore, when the application module has operation faults, the method of switching the cluster environments of the application module operation can be used for ensuring the continuity of service provided by the application module in time, and the switching efficiency of the application module to be switched among different cluster environments can be improved.
The application module to be switched provides corresponding service through the cluster, and if the cluster operated by the application module to be switched has a problem, the application module to be switched interrupts the provision of the service; the application module to be switched searches for a corresponding running cluster environment by loading configuration parameters, and the configuration parameters related to different cluster environments are different relative to the application module to be switched; thus, the cluster environment in which the application module to be switched is operated can be switched by modifying the configuration parameters.
In step S101, when there is an operation failure of the application module to be switched in the current cluster environment, a list of configuration parameters involved in switching the application module to be switched from the current cluster environment to the target cluster environment is obtained.
The application module to be switched comprises a plurality of application items, different application items can provide different application services for business personnel, and taking a banking system as an example, the application items comprise a withdrawal application item and a deposit application item, the business personnel transact withdrawal business through the withdrawal application item and transact deposit business through the deposit application item;
when the application module to be switched has an operation fault, it may be that only one or several application items have an operation fault (for example, only withdrawal application items have an operation fault), and only the cluster environment of the application item to be switched with the fault needs to be switched (for example, only the cluster environment of the withdrawal application items is switched); therefore, in order to avoid obtaining the parameter obtaining pressure caused by the environment configuration parameters of the application items needing to be switched in the cluster environment, when the configuration parameter list is obtained, only the environment configuration parameters needed by the application items needing to be switched in the cluster environment to be switched in the target cluster environment are obtained; meanwhile, an application instance corresponding to the application to be switched needs to be explicitly called, so that the application to be switched is restarted through the restarting application instance in the later process.
Namely, the application module to be switched comprises at least one application item to be switched; the configuration parameter list comprises environment configuration parameters of the target cluster environment and application instances corresponding to each application item to be switched.
The environment configuration parameters include data source configuration parameters of at least one application item to be switched in the application module to be switched, instance parameters of an application instance corresponding to each application item to be switched (i.e., instance parameters of an application instance to be restarted), and cluster parameters of a target cluster environment.
Here, the service personnel can choose to set the configuration parameter list according to the actual situation, so as to avoid modifying each environmental configuration parameter in the configuration parameter list in the subsequent process.
In an embodiment, referring to fig. 2, fig. 2 is a schematic diagram of a configuration process of a configuration parameter list according to an embodiment of the present application. As shown in fig. 2, the obtaining a configuration parameter list involved in switching the application module to be switched to the target cluster environment includes: step S201, in response to the cluster scene selection operation, determining a target cluster environment from a plurality of candidate cluster environments.
Here, a plurality of available cluster scenes are preconfigured, and when an operation fault exists in the current cluster environment of the application module to be switched, service personnel can refer to the occupation conditions of different cluster environments to select a target cluster environment suitable for switching for the application module to be switched, so that the application module to be switched can better provide corresponding services.
In the step, in response to cluster scene selection operation of service personnel, a target cluster environment to which the application module to be switched is determined from a plurality of candidate cluster environments to which the application module to be switched can be switched.
In the scheme provided by the application, in response to the cluster scene selection operation, a target cluster environment is determined from a plurality of candidate cluster environments, specifically, when a user presses a cluster selection control, a cluster selection instruction can be issued to determine the target cluster environment to be switched to by an application module to be switched; the user can send a cluster selection instruction through a cluster selection control and/or a preset combination key; specifically, the player can select a control through a touch cluster such as a finger, a mouse and the like; or through preset combination keys in the keyboard, for example, ctrl keys, alt keys, a keys and other keys in the keyboard, the preset keys can be set manually according to the requirements of users.
Here, since only some application items in the application module to be switched may have an operation failure, service personnel may further select the application item to be switched having the operation failure through a corresponding operation.
And step S202, responding to a switching item selection operation, and determining at least one application item to be switched from a plurality of candidate application items included in the application module to be switched.
In the step, in response to a switching item selection operation of a service person, determining at least one application item to be switched in a target cluster environment from a plurality of candidate application items included in the application module to be switched, namely, selecting at least one application item to be switched with an operation fault in the application module to be switched.
In the scheme provided by the application, in response to a switching item selection operation, at least one application item to be switched is determined from a plurality of candidate application items included in an application module to be switched, specifically, when a user presses a switching item selection control, a switching item selection instruction can be issued, and at least one application item to be switched in a target cluster environment to be switched is determined; the user can press down a switching item selection instruction through a switching item selection control and/or a preset combination key; specifically, the player can select a control through touch switching items such as fingers, a mouse and the like; or through preset combination keys in the keyboard, for example, ctrl keys, alt keys, a keys and other keys in the keyboard, the preset keys can be set manually according to the requirements of users.
Step S203, for each application to be switched, determining an environment configuration parameter involved in switching the application to be switched to the target cluster environment and an application instance corresponding to the application to be switched according to the current configuration parameter of the application to be switched in the current cluster environment.
Here, the environment configuration parameters related to each application item to be switched in the target cluster environment can be manually configured by the service personnel, however, the time for manually configuring the parameters by the service personnel is long, and in this case, the phenomenon of switching delay still occurs; therefore, in order to further reduce the parameter configuration quantity of service personnel and improve the switching efficiency, the environment configuration parameters involved in switching the application to be switched to the target cluster environment can be determined according to the current configuration parameters of the application to be switched in the current cluster environment.
In the step, for each application item to be switched, a current configuration parameter of the application item to be switched in a current cluster environment is obtained, specifically, the current configuration parameter of the application item to be switched can be modified according to cluster attribute information of a target cluster environment, so that the application item to be switched can provide service by using the target cluster environment by utilizing the environment configuration parameter obtained after modification; and simultaneously, determining an application instance corresponding to the application item to be switched.
The cluster attribute information comprises information such as a cluster name, a cluster identifier and the like of the target cluster environment.
The current configuration parameters include a first cluster identifier of a current cluster environment used by the application to be switched, and if the application to be switched is to be switched to the target cluster environment, the first cluster identifier in the current configuration parameters is required to be modified to a second cluster identifier of the target cluster environment, so as to obtain an environment configuration parameter required by the application to be switched to the target cluster environment.
It should be noted that, in the embodiment of the present application, the "cluster identifier" is taken as an example for description, and in actual situations, parameters to be modified are not only "cluster identifier", but also other parameters (for example, cluster names) to be modified in combination with actual situations, which may be determined according to actual situations, and are not limited herein.
Step S204, based on the environment configuration parameters of each application item to be switched and the application instance corresponding to each application item to be switched, a configuration parameter list of the application module to be switched is generated.
In the step, the environment configuration parameters of each application item to be switched and the application instance corresponding to each application item to be switched are arranged into a list form, and a configuration parameter list of the application module to be switched is generated.
Here, in the normal operation process of the application module to be switched, the service providing jamming condition occurs due to the influence of the problems of network quality and the like, and the application module to be switched does not actually have operation faults, so that the application module to be switched does not need to switch the cluster environment; therefore, it is unreasonable to switch the cluster environment of the application to be switched under the current situation, and in order to avoid the unreasonable switching situation, the application needs to refer to other cluster switching operations when switching the cluster environment.
In step S102, in response to the cluster switching operation applied by the service personnel, the environment configuration parameters of each application item to be switched in the target cluster environment in the configuration parameter list are cyclically loaded into the registry until the environment configuration parameters of each application item to be switched are loaded into the registry, and it is determined that loading of the application module to be switched is completed, and the loaded application module to be switched is obtained. Here, when some non-interactive application items to be switched have operation faults, the operation fault problem is not required to be solved by switching cluster environments, and the operation of the non-interactive application items can be recovered by a forced start-stop mode; the non-interactive application item to be switched refers to that service personnel do not need to interact with the application item to be switched in the using process, and the application item to be switched does not feed information back to the service personnel in the process of using an application function of the service personnel, such as log monitoring application and the like;
When the application items to be switched of some interaction classes have operation faults, certain interaction functions (such as withdrawal functions) may be executed in response to service requests of service personnel, and if the application types to be switched of the interaction classes are forcedly started and stopped at this time, the interaction functions are interrupted and abnormal, so that the operation fault problem cannot be solved by the forcedly started and stopped mode for the application items to be switched of the interaction classes.
Therefore, when the environment configuration parameters of the application items to be switched are circularly loaded, the application types of the application items to be switched need to be judged.
In one embodiment, step S102 includes: responding to cluster switching operation, and determining the application category of each application item to be switched aiming at the application item to be switched; if the application category indicates that the application item to be switched is an interactive item, detecting the activity of the application item to be switched, and determining a detection result; if the detection result indicates that the application item to be switched passes the detection, loading environment configuration parameters of the application item to be switched to a registry; and circularly loading the environment configuration parameters of each application item to be switched until the environment configuration parameters of each application item to be switched are loaded to the registry, so as to obtain the loaded application module to be switched.
In the step, responding to cluster switching operation, and determining the belonging application category of each application item to be switched aiming at each application item to be switched of a cluster environment to be switched; wherein the application category includes any one of interactive items and non-interactive items.
When the application category indicates that the application item to be switched is an interactive item, determining that the detection of the application item to be switched is required, and determining a detection result of the application item to be switched.
If the detection result of the application item to be switched indicates that the application item to be switched passes the detection, loading the environment configuration parameters of the application item to be switched to a registry; after the loading of the environment configuration parameters of the application items to be switched is completed, the environment configuration parameters of other application items to be switched in at least one application item to be switched are circularly loaded until the environment configuration parameters of each application item to be switched in at least one application item to be switched are loaded to a registry, and the completion of loading of the configuration parameter list of the application module to be switched is determined, so that the loaded application module to be switched is obtained.
In an embodiment, if the application category indicates that the application item to be switched is an interaction item, performing a detection on the application item to be switched, and determining a detection result includes: if the application category indicates that the application item to be switched is an interactive item, determining whether to perform detection on the application item to be switched according to the application attribute information of the application item to be switched; if yes, detecting the detection activity of the application item to be switched, and determining a detection activity detection result; if not, directly loading the environment configuration parameters of the application item to be switched to the registry.
In the step, if the application item to be switched is determined to be an interactive item, whether detection activity detection is required to be carried out on the application item to be switched is further determined according to the application attribute information of the application item to be switched; if the detection activity detection needs to be carried out on the application item to be switched, the detection activity detection is carried out on the application item to be switched, and the detection activity detection result of the application item to be switched is determined; and in the subsequent process, determining whether to load the environment configuration parameters of the application item to be switched to the registry according to the detection result of the application item to be switched.
If it is determined that the detection and the activity detection of the application item to be switched are not needed, the environment configuration parameters of the application item to be switched are directly loaded to the registry.
The application attribute information comprises an application name, an application identifier and a switching label for indicating whether the application item to be switched needs detection or not.
Here, for an application to be switched, whether or not detection of activity is required is actually to use the application instance corresponding to the application to be switched in terms of time for a long time to perform actual configuration.
In one embodiment, the switching method further includes: and if the detection result indicates that the application item to be switched does not pass the detection, determining that the application module to be switched fails to switch.
In the step, if the detected activity detection result indicates that the application item to be switched passes the detected activity detection, the fact that the application module to be switched temporarily cannot switch the cluster environment is indicated, and the switching failure of the application module to be switched is determined.
In one embodiment, the switching method further includes: if the application category indicates that the application item to be switched is a non-interactive item, directly restarting an application instance corresponding to the application item to be switched; if the restart of the application instance corresponding to the application item to be switched fails, determining that the switching of the application module to be switched fails; otherwise, determining that the application module to be switched is successfully switched.
In the step, if the application item to be switched is a non-interactive item, the operation fault problem of the application item to be switched can be solved by a forced start-stop mode, and the cluster environment of the application item to be switched is not required to be switched; at this time, only the application instance corresponding to the application item to be switched needs to be directly restarted, that is, the application item to be switched is restarted by restarting the application instance corresponding to the application item to be switched, so as to restore the operation of the application item to be switched.
If the restart of the application instance of the application item to be switched fails, indicating that the switching of the application module to be switched fails; otherwise, the environment configuration parameters of other application items to be switched in the configuration parameter list are continuously and circularly loaded to the registry until the environment configuration parameters of each application item to be switched are loaded, and the loaded application module to be switched is obtained.
In the process of loading the environment configuration parameters of each application item to be switched of the application module to be switched, loading errors may occur, and in this case, the application module to be switched which is obtained by cyclic loading and completed in loading cannot be normally used, so that after loading of the application module to be switched is completed, a communication test is also required to be performed on the application module to be switched which is completed in loading.
In step S103, a connectivity test is performed on the application module to be switched after the cyclic loading is completed, and it is determined by the connectivity test that the application module to be switched after the loading is completed can be used in a subsequent use process, so as to obtain a test result of the connectivity test.
In step S104, if the test result of the application module to be switched indicates that the loaded application module to be switched passes the connectivity test, then, for each application item to be switched, the application instance corresponding to the application item to be switched may be restarted by issuing the environment configuration parameter of the application item to be switched, so as to complete the switching of the application module to be switched from the current cluster environment to the target cluster environment.
Here, after the loaded application module to be switched passes the connectivity test, it is explained that the environment configuration parameters in the configuration parameter list of the application module to be switched generated at this time can successfully realize the switching of the application module to be switched in the cluster environment, and when the application module to be switched is called next time, the calling of each application item to be switched is realized again through the environment configuration parameters of each application item to be switched in the configuration parameter list obtained at this time; thus, in practice, the environment configuration parameters in the configuration parameter list obtained at this time may be used continuously in the subsequent use process, so that the configuration parameter list obtained at this time may be selected to be stored in the database.
In one embodiment, after the loaded application module to be switched passes the connectivity test, the switching method further includes: storing the configuration parameter list to a database, and determining whether the configuration parameter list is already stored to the database; if yes, determining that the application module to be switched is successfully switched; if not, repeatedly storing the configuration parameter list until the configuration parameter list is stored in the database.
In the step, after the loaded application module to be switched passes the connectivity test, a configuration parameter list is stored in a database of a configuration center, and whether the configuration parameter list is stored in the database is determined; if yes, the success of switching the application module to be switched can be determined; if not, repeatedly storing the configuration parameter list into the database until the configuration list is successfully stored into the database; or, if the configuration parameter list cannot be successfully stored in the database, the storage result of the configuration parameter list can be temporarily recorded, and the application module to be switched is preferentially determined to be successfully switched; finding the proper time again stores the configuration parameter list in the database.
Referring to fig. 3, fig. 3 is a schematic diagram illustrating a switching process of an application module to be switched according to an embodiment of the present application. As shown in fig. 3, step 301: service personnel can select a target cluster environment to be switched by the application module to be switched through cluster scene selection operation; step 302: service personnel can select application items to be switched, which are planned to be switched to a target cluster environment, from the application items included in the application modules to be switched through switching item selection operation; step 303: acquiring a configuration parameter list of an application module to be switched; step 304: responding to cluster switching operation, and starting to circularly load environment configuration parameters of each application item to be switched in a configuration parameter list; step 305: in the cyclic loading process, judging whether the application item to be switched is an interactive item according to the environment configuration parameters of each loaded application item to be switched, if so, executing step 306; if not, go to step 310; step 306: judging whether the application item to be switched needs detection, if so, executing step 307; if not, go to step 309; step 307: detecting the detection activity of an application item to be switched; step 308: determining whether the detection of the application item to be switched is successful, if so, executing step 309; if not, go to step 320; step 309: loading environment configuration parameters to a registry; step 310: judging whether the loading is successful, if so, executing step 313; if not, go to step 320; step 311: forcibly starting and stopping the application item to be switched; step 312: judging whether the start-stop is successful, if so, executing step 313; if not, go to step 320; step 313: judging whether the loading of the environment configuration parameters of each application item to be switched in the configuration parameter list is completed, if so, executing step 314; if not, go to step 304; step 314: carrying out a communication test on the loaded application module to be switched; step 315: judging whether the loaded application module to be switched passes the test, if so, executing step 316; if not, go to step 320; step 316: storing the configuration parameter list into a database of a configuration center; step 317: judging whether the storage is successful, if not, executing step 318; if yes, go to step 319; step 318: repeatedly storing the configuration parameter list until the storage is successful, and executing step 319; step 319: determining that the application module to be switched is successfully switched; step 320: and determining the switching failure of the application module to be switched.
According to the application module switching method, when an application module to be switched has an operation fault in a current cluster environment, a configuration parameter list involved in switching the application module to be switched to a target cluster environment is obtained; loading the environment configuration parameters of each application item to be switched in the configuration parameter list to a registry in response to cluster switching operation until the environment configuration parameters of each application item to be switched are loaded, so as to obtain a loaded application module to be switched; performing a communication test on the loaded application module to be switched, and determining a test result of the loaded application module to be switched; and if the test result indicates that the loaded application module to be switched passes the communication test, restarting an application instance corresponding to each application item to be switched by issuing environment configuration parameters of the application item to be switched. Therefore, when the application module to be switched has operation faults, the application module to be switched can be switched to the target cluster environment to operate in time, so that the application module to be switched can provide uninterrupted service, and the switching efficiency of the application module to be switched in each cluster environment can be improved.
Referring to fig. 4 and fig. 5, fig. 4 is a schematic structural diagram of a switching device of an application module according to an embodiment of the present application, and fig. 5 is a second schematic structural diagram of a switching device of an application module according to an embodiment of the present application. As shown in fig. 4, the switching device 400 includes:
the parameter obtaining module 410 is configured to obtain a configuration parameter list related to switching the application module to be switched to the target cluster environment when the application module to be switched has an operation fault in the current cluster environment; the application module to be switched comprises at least one application item to be switched; the configuration parameter list comprises environment configuration parameters of the target cluster environment and application instances corresponding to each application item to be switched;
the parameter loading module 420 is configured to load the environmental configuration parameters of each application item to be switched in the configuration parameter list to the registry in response to the cluster switching operation, until the environmental configuration parameters of each application item to be switched are loaded, and obtain a loaded application module to be switched;
the connectivity test module 430 is configured to perform connectivity test on the application module to be switched after completing loading, and determine a test result of the application module to be switched after completing loading;
The instance restarting module 440 is configured to restart, for each application to be switched, an application instance corresponding to the application to be switched by issuing an environment configuration parameter of the application to be switched if the test result indicates that the application to be switched that completes the loading passes the connectivity test.
Further, when the parameter obtaining module 410 is configured to obtain a configuration parameter list involved in switching the application module to be switched to the target cluster environment, the parameter obtaining module 410 is configured to:
determining a target cluster environment from a plurality of candidate cluster environments in response to a cluster scene selection operation;
responding to a switching item selection operation, and determining at least one application item to be switched from a plurality of candidate application items included in the application module to be switched;
for each application item to be switched, determining environment configuration parameters involved in switching the application item to be switched to a target cluster environment and application instances corresponding to the application item to be switched according to the current configuration parameters of the application item to be switched in the current cluster environment;
and generating a configuration parameter list of the application module to be switched based on the environment configuration parameters of each application item to be switched and the application instance corresponding to each application item to be switched.
Further, when the parameter loading module 420 is configured to load the environmental configuration parameters of each application to be switched in the configuration parameter list to the registry in response to the cluster switching operation, until the environmental configuration parameters of each application to be switched are loaded, and obtain the loaded application to be switched, the parameter loading module 420 is configured to:
responding to cluster switching operation, and determining the application category of each application item to be switched aiming at the application item to be switched;
if the application category indicates that the application item to be switched is an interactive item, detecting the activity of the application item to be switched, and determining a detection result;
if the detection result indicates that the application item to be switched passes the detection, loading environment configuration parameters of the application item to be switched to a registry;
and circularly loading the environment configuration parameters of each application item to be switched until the environment configuration parameters of each application item to be switched are loaded to the registry, so as to obtain the loaded application module to be switched.
Further, the parameter loading module is configured to, at 420, perform a probe activity detection on the application item to be switched if the application category indicates that the application item to be switched is an interactive item, and determine a probe activity detection result, where the parameter loading module 420 is configured to:
If the application category indicates that the application item to be switched is an interactive item, determining whether to perform detection on the application item to be switched according to the application attribute information of the application item to be switched;
if yes, detecting the detection activity of the application item to be switched, and determining a detection activity detection result;
if not, directly loading the environment configuration parameters of the application item to be switched to the registry.
Further, as shown in fig. 5, the switching apparatus 400 further includes a failure result determining module 450, where the failure result determining module 450 is configured to:
and if the detection result indicates that the application item to be switched does not pass the detection, determining that the application module to be switched fails to switch.
Further, as shown in fig. 5, the switching apparatus 400 further includes a forced start-stop module 460, where the forced start-stop module 460 is configured to:
if the application category indicates that the application item to be switched is a non-interactive item, directly restarting an application instance corresponding to the application item to be switched;
if the restart of the application instance corresponding to the application item to be switched fails, determining that the switching of the application module to be switched fails;
otherwise, continuing to circularly load the environment configuration parameters of other application items to be switched in the configuration parameter list to the registry.
Further, as shown in fig. 5, the switching device 400 further includes a parameter storage module 470, where the parameter storage module 470 is configured to:
storing the configuration parameter list to a database, and determining whether the configuration parameter list is already stored to the database;
if yes, determining that the application module to be switched is successfully switched;
if not, repeatedly storing the configuration parameter list until the configuration parameter list is stored in the database.
According to the switching device of the application module, when the application module to be switched has an operation fault in the current cluster environment, a configuration parameter list involved in switching the application module to be switched to the target cluster environment is obtained; loading the environment configuration parameters of each application item to be switched in the configuration parameter list to a registry in response to cluster switching operation until the environment configuration parameters of each application item to be switched are loaded, so as to obtain a loaded application module to be switched; performing a communication test on the loaded application module to be switched, and determining a test result of the loaded application module to be switched; and if the test result indicates that the loaded application module to be switched passes the communication test, restarting an application instance corresponding to each application item to be switched by issuing environment configuration parameters of the application item to be switched. Therefore, when the application module to be switched has operation faults, the application module to be switched can be switched to the target cluster environment to operate in time, so that the application module to be switched can provide uninterrupted service, and the switching efficiency of the application module to be switched in each cluster environment can be improved.
Referring to fig. 6, fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 6, the electronic device 600 includes a processor 610, a memory 620, and a bus 630.
The memory 620 stores machine-readable instructions executable by the processor 610, when the electronic device 600 is running, the processor 610 communicates with the memory 620 through the bus 630, and when the machine-readable instructions are executed by the processor 610, the steps of the method for switching application modules in the method embodiment shown in fig. 1 can be executed, and specific implementation manners can be referred to the method embodiment and are not repeated herein.
The embodiment of the present application further provides a computer readable storage medium, where a computer program is stored on the computer readable storage medium, and when the computer program is executed by a processor, the steps of the method for switching an application module in the method embodiment shown in fig. 1 may be executed, and a specific implementation manner may refer to the method embodiment and will not be described herein.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be other manners of division in actual implementation, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown 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 may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in 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 application 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, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Finally, it should be noted that: the foregoing examples are merely specific embodiments of the present application, and are not intended to limit the scope of the present application, but the present application is not limited thereto, and those skilled in the art will appreciate that while the foregoing examples are described in detail, the present application is not limited thereto. Any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or make equivalent substitutions for some of the technical features within the technical scope of the disclosure of the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method for switching an application module, the method comprising:
when an application module to be switched has operation faults in the current cluster environment, acquiring a configuration parameter list involved in switching the application module to be switched to a target cluster environment; the application module to be switched comprises at least one application item to be switched; the configuration parameter list comprises environment configuration parameters of the target cluster environment and application instances corresponding to each application item to be switched; the at least one application item to be switched is an application item with operation faults in the application model to be switched;
responding to cluster switching operation, loading environment configuration parameters of each application item to be switched, which belongs to the application category of the interaction item, in the configuration parameter list to a registry until the environment configuration parameters of each application item to be switched are loaded, and obtaining a loaded application module to be switched;
performing a communication test on the loaded application module to be switched, and determining a test result of the loaded application module to be switched;
if the test result indicates that the application module to be switched which is completed to be loaded passes the communication test, restarting an application instance corresponding to each application item to be switched by issuing environment configuration parameters of the application item to be switched for each application item to be switched, so as to restart the application to be switched by restarting the application instance.
2. The method according to claim 1, wherein the obtaining a list of configuration parameters involved in switching the application module to be switched to a target cluster environment includes:
determining a target cluster environment from a plurality of candidate cluster environments in response to a cluster scene selection operation;
responding to a switching item selection operation, and determining at least one application item to be switched from a plurality of candidate application items included in the application module to be switched;
for each application item to be switched, determining environment configuration parameters involved in switching the application item to be switched to a target cluster environment and application instances corresponding to the application item to be switched according to the current configuration parameters of the application item to be switched in the current cluster environment;
and generating a configuration parameter list of the application module to be switched based on the environment configuration parameters of each application item to be switched and the application instance corresponding to each application item to be switched.
3. The method of claim 1, wherein the loading the environmental configuration parameters of each application to be switched in the configuration parameter list to the registry in response to the cluster switching operation until the loading of the environmental configuration parameters of each application to be switched is completed, to obtain the loaded application module to be switched, includes:
Responding to cluster switching operation, and determining the application category of each application item to be switched aiming at the application item to be switched;
if the application category indicates that the application item to be switched is an interactive item, detecting the activity of the application item to be switched, and determining a detection result;
if the detection result indicates that the application item to be switched passes the detection, loading environment configuration parameters of the application item to be switched to a registry;
and circularly loading the environment configuration parameters of each application item to be switched until the environment configuration parameters of each application item to be switched are loaded to the registry, so as to obtain the loaded application module to be switched.
4. The method of switching according to claim 3, wherein if the application class indicates that the application item to be switched is an interactive item, performing a probe activity detection on the application item to be switched, and determining a probe activity detection result includes:
if the application category indicates that the application item to be switched is an interactive item, determining whether to perform detection on the application item to be switched according to the application attribute information of the application item to be switched;
if yes, detecting the detection activity of the application item to be switched, and determining a detection activity detection result;
If not, directly loading the environment configuration parameters of the application item to be switched to the registry.
5. A handover method according to claim 3, wherein the handover method further comprises:
and if the detection result indicates that the application item to be switched does not pass the detection, determining that the application module to be switched fails to switch.
6. A handover method according to claim 3, wherein the handover method further comprises:
if the application category indicates that the application item to be switched is a non-interactive item, directly restarting an application instance corresponding to the application item to be switched;
if the restart of the application instance corresponding to the application item to be switched fails, determining that the switching of the application module to be switched fails;
otherwise, continuing to circularly load the environment configuration parameters of other application items to be switched in the configuration parameter list to the registry.
7. The switching method according to claim 1, wherein after the loaded application module to be switched passes the connectivity test, the switching method further comprises:
storing the configuration parameter list to a database, and determining whether the configuration parameter list is already stored to the database;
If yes, determining that the application module to be switched is successfully switched;
if not, repeatedly storing the configuration parameter list until the configuration parameter list is stored in the database.
8. A switching device for an application module, the switching device comprising:
the parameter acquisition module is used for acquiring a configuration parameter list involved in switching the application module to be switched to a target cluster environment when the application module to be switched has an operation fault in the current cluster environment; the application module to be switched comprises at least one application item to be switched; the configuration parameter list comprises environment configuration parameters of the target cluster environment and application instances corresponding to each application item to be switched; the at least one application item to be switched is an application item with operation faults in the application model to be switched;
the parameter loading module is used for responding to cluster switching operation, loading the environment configuration parameters of each application item to be switched, which belongs to the application category of the interaction item, in the configuration parameter list to the registry until the environment configuration parameters of each application item to be switched are loaded, and obtaining the loaded application module to be switched;
The communication test module is used for carrying out communication test on the application module to be switched after finishing loading and determining a test result of the application module to be switched after finishing loading;
and the instance restarting module is used for restarting the application instance corresponding to each application item to be switched by issuing the environment configuration parameter of the application item to be switched for each application item to be switched if the test result indicates that the application module to be switched which is completed to be loaded passes the communication test, so as to restart the application to be switched by restarting the application instance.
9. An electronic device, comprising: a processor, a memory and a bus, said memory storing machine readable instructions executable by said processor, said processor and said memory communicating via said bus when the electronic device is running, said machine readable instructions when executed by said processor performing the steps of the method of switching application modules according to any of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, performs the steps of the switching method of an application module according to any of claims 1 to 7.
CN202211001493.1A 2022-08-19 2022-08-19 Application module switching method and device, electronic equipment and readable storage medium Active CN115344327B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211001493.1A CN115344327B (en) 2022-08-19 2022-08-19 Application module switching method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211001493.1A CN115344327B (en) 2022-08-19 2022-08-19 Application module switching method and device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN115344327A CN115344327A (en) 2022-11-15
CN115344327B true CN115344327B (en) 2023-07-28

Family

ID=83954686

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211001493.1A Active CN115344327B (en) 2022-08-19 2022-08-19 Application module switching method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN115344327B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110247862A (en) * 2019-06-14 2019-09-17 西安电子科技大学 Business quickly continuous switching system and method when SDN clustering fault
CN112367198A (en) * 2020-10-30 2021-02-12 新华三大数据技术有限公司 Main/standby node switching method and device
CN112463887A (en) * 2020-12-04 2021-03-09 中国建设银行股份有限公司 Data processing method, device, equipment and storage medium
CN113032189A (en) * 2021-03-22 2021-06-25 中国工商银行股份有限公司 Fault domain switching method, device and equipment
CN113765690A (en) * 2021-01-07 2021-12-07 北京沃东天骏信息技术有限公司 Cluster switching method, system, device, terminal, server and storage medium
CN114116122A (en) * 2021-10-28 2022-03-01 北京银盾泰安网络科技有限公司 High-availability load platform for application container
CN114201293A (en) * 2021-12-03 2022-03-18 紫光云(南京)数字技术有限公司 Kafka middleware cluster parameter modification method and device and storage medium
CN114238140A (en) * 2021-12-23 2022-03-25 中国建设银行股份有限公司 Access test method and device
CN114745757A (en) * 2022-04-22 2022-07-12 苏州浪潮智能科技有限公司 Cluster switching method, device, equipment and medium
CN114764379A (en) * 2021-01-13 2022-07-19 顺丰科技有限公司 Access switching method and device for application software and computer readable storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10992544B2 (en) * 2018-09-07 2021-04-27 Servicenow, Inc. Identification and display of configuration item information
CN111245901B (en) * 2019-12-31 2023-04-07 西藏宁算科技集团有限公司 Distributed service registration discovery method and system supporting service parameter issuing
CN114124700A (en) * 2021-10-26 2022-03-01 马上消费金融股份有限公司 Cluster parameter configuration method and device, electronic equipment and readable storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110247862A (en) * 2019-06-14 2019-09-17 西安电子科技大学 Business quickly continuous switching system and method when SDN clustering fault
CN112367198A (en) * 2020-10-30 2021-02-12 新华三大数据技术有限公司 Main/standby node switching method and device
CN112463887A (en) * 2020-12-04 2021-03-09 中国建设银行股份有限公司 Data processing method, device, equipment and storage medium
CN113765690A (en) * 2021-01-07 2021-12-07 北京沃东天骏信息技术有限公司 Cluster switching method, system, device, terminal, server and storage medium
CN114764379A (en) * 2021-01-13 2022-07-19 顺丰科技有限公司 Access switching method and device for application software and computer readable storage medium
CN113032189A (en) * 2021-03-22 2021-06-25 中国工商银行股份有限公司 Fault domain switching method, device and equipment
CN114116122A (en) * 2021-10-28 2022-03-01 北京银盾泰安网络科技有限公司 High-availability load platform for application container
CN114201293A (en) * 2021-12-03 2022-03-18 紫光云(南京)数字技术有限公司 Kafka middleware cluster parameter modification method and device and storage medium
CN114238140A (en) * 2021-12-23 2022-03-25 中国建设银行股份有限公司 Access test method and device
CN114745757A (en) * 2022-04-22 2022-07-12 苏州浪潮智能科技有限公司 Cluster switching method, device, equipment and medium

Also Published As

Publication number Publication date
CN115344327A (en) 2022-11-15

Similar Documents

Publication Publication Date Title
US9146839B2 (en) Method for pre-testing software compatibility and system thereof
CN110807064B (en) Data recovery device in RAC distributed database cluster system
US10635473B2 (en) Setting support program, setting support method, and setting support device
CN107656705B (en) Computer storage medium and data migration method, device and system
CN105468717A (en) Database operation method and device
CN113312153B (en) Cluster deployment method and device, electronic equipment and storage medium
US20230281003A1 (en) Deployment of new versions of event consumers in an event-driven system
WO2007051901A1 (en) Methods and apparatus for automatically multi-booting a computer system
CN110196749A (en) The restoration methods and device of virtual machine, storage medium and electronic device
CN113986450A (en) Virtual machine backup method and device
CN106897063B (en) Method and system for permanently adding OS boot entry to BIOS based on EFI
CN115344327B (en) Application module switching method and device, electronic equipment and readable storage medium
CN109634782B (en) Method and device for detecting system robustness, storage medium and terminal
CN109032643A (en) The method and apparatus of software upgrading
CN114598604B (en) Monitoring method, monitoring device and terminal for virtual network function instance information
CN115309457A (en) Application instance restarting method and device, electronic equipment and readable storage medium
CN114647531A (en) Failure solving method, failure solving system, electronic device, and storage medium
CN112860338B (en) Software starting method and device
CN112787849B (en) Block chain state control method and device, terminal and storage medium
CN111581014B (en) Method and device for restarting automatic control host and related equipment
CN114385592A (en) Fault transfer method, device, equipment and storage medium
JP2002215261A (en) System and method to switch clock of computer system
CN113849291A (en) Container cluster-based task processing method, device, equipment, medium and product
CN118444965A (en) Nonvolatile memory firmware management method, device, equipment and readable storage medium
CN116302679A (en) Database configuration method and device, storage medium and computer equipment

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