CN109582386B - Service starting processing method and device, electronic equipment and readable storage medium - Google Patents

Service starting processing method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN109582386B
CN109582386B CN201811333945.XA CN201811333945A CN109582386B CN 109582386 B CN109582386 B CN 109582386B CN 201811333945 A CN201811333945 A CN 201811333945A CN 109582386 B CN109582386 B CN 109582386B
Authority
CN
China
Prior art keywords
configuration information
service
target
value
configuration
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
CN201811333945.XA
Other languages
Chinese (zh)
Other versions
CN109582386A (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.)
Qingdao Jukanyun Technology Co ltd
Original Assignee
Juhaokan 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 Juhaokan Technology Co Ltd filed Critical Juhaokan Technology Co Ltd
Priority to CN201811333945.XA priority Critical patent/CN109582386B/en
Publication of CN109582386A publication Critical patent/CN109582386A/en
Application granted granted Critical
Publication of CN109582386B publication Critical patent/CN109582386B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • G06F9/4451User profiles; Roaming
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention provides a service starting processing method, a device, electronic equipment and a readable storage medium, wherein the method comprises the following steps: after the target service is started, determining whether to acquire configuration information from a target server; and if the configuration information is determined to be acquired from the target server, loading first configuration information acquired from the target server to a memory corresponding to the target service, wherein the first configuration information is all configuration information acquired from the target server. According to the method, the configuration files loaded to the memory can be prevented from being inconsistent by executing the whole loading once after the target service is started, and further, the service corresponding to the Mycat node is not influenced.

Description

Service starting processing method and device, electronic equipment and readable storage medium
Technical Field
The present invention relates to computer technologies, and in particular, to a method and an apparatus for processing service initiation, an electronic device, and a readable storage medium.
Background
The Mycat is a distributed database system, which is a middleware between a front-end application and a back-end database, and can receive an access instruction of the front-end application and communicate with the back-end database. The Mycat may be deployed as a Mycat cluster in which multiple Mycat nodes may run in parallel. Each of the Mycat may be specifically a Mycat service. Zookeeper is a distributed service framework through which Mycat clusters can be managed, including managing the Mycat configuration.
In the prior art, the configuration files of the Mycat cluster are all managed by a Zookeeper server, and each Mycat node can register a node monitor with the Zookeeper. When the configuration file of the Mycat cluster is changed, the Zookeeper server can send the changed configuration file to each registered Mycat node, and each Mycat node loads the changed configuration file to the memory.
However, the method in the prior art may cause inconsistency of the configuration files loaded into the memory, and further cause the service corresponding to the Mycat node to be seriously affected.
Disclosure of Invention
The embodiment of the invention provides a service starting processing method and device, electronic equipment and a readable storage medium, which are used for solving the problem that configuration files loaded to a memory are inconsistent in the prior art.
A first aspect of an embodiment of the present invention provides a service start processing method, including:
after the target service is started, determining whether to acquire configuration information from a target server;
and if the configuration information is determined to be acquired from the target server, loading first configuration information acquired from the target server to a memory corresponding to the target service, wherein the first configuration information is all configuration information acquired from the target server.
Further, the loading the first configuration information acquired from the target server to the memory corresponding to the target service includes:
modifying the value of the configuration control lock to a first value;
loading first configuration information acquired from the target server to a memory corresponding to the target service;
modifying the value of the configuration control lock to a second value;
the configuration control lock is used for controlling the quantity of the configuration information loaded to the memory corresponding to the target service at the same time.
Further, the method also comprises the following steps:
modifying the value of the configuration control lock to a first value;
loading second configuration information to a memory corresponding to the target service, wherein the first configuration information comprises the second configuration information;
modifying the value of the configuration control lock to a second value.
Further, before loading the first configuration information acquired from the target server into the memory corresponding to the target service, the method further includes:
and receiving third configuration information sent by the target server, wherein the first configuration information comprises the third configuration information, and the third configuration information is changed configuration information.
Further, the determining whether to acquire the configuration information from the target server includes:
and determining whether to acquire configuration information from a target server according to the local configuration file corresponding to the target service.
Further, the target service is a Mycat service in a Mycat cluster, and the target server is a Zookeeper server.
A second aspect of the embodiments of the present invention provides a service start processing apparatus, including:
the determining module is used for determining whether to acquire the configuration information from the target server or not after the target service is started;
the first loading module is configured to load, when it is determined that the configuration information is obtained from the target server, the first configuration information obtained from the target server to a memory corresponding to the target service, where the first configuration information is all the configuration information obtained from the target server.
Further, the first loading module includes:
the first modification unit is used for modifying the value of the configuration control lock into a first value;
a loading unit, configured to load the first configuration information acquired from the target server to a memory corresponding to the target service;
a second modification unit for modifying the value of the configuration control lock to a second value;
the configuration control lock is used for controlling the quantity of the configuration information loaded to the memory corresponding to the target service at the same time.
Further, the method also comprises the following steps:
the first modification module is used for modifying the value of the configuration control lock into a first value;
a second loading module, configured to load second configuration information to a memory corresponding to the target service, where the first configuration information includes the second configuration information;
and the second modification module is used for modifying the value of the configuration control lock into a second value.
Further, the method also comprises the following steps:
a receiving module, configured to receive third configuration information sent by the target server, where the first configuration information includes the third configuration information, and the third configuration information is changed configuration information.
Further, the determining module is specifically configured to:
and determining whether to acquire configuration information from a target server according to the local configuration file corresponding to the target service.
Further, the target service is a Mycat service in a Mycat cluster, and the target server is a Zookeeper server.
A third aspect of embodiments of the present invention provides an electronic device, including:
a memory for storing program instructions;
a processor for invoking and executing program instructions in said memory for performing the method steps of any of claims 1-5.
A fourth aspect of the embodiments of the present invention provides a readable storage medium, in which a computer program is stored, the computer program being configured to execute the method according to the first aspect.
According to the service starting processing method and device, the electronic device and the readable storage medium provided by the embodiment of the invention, the configuration files loaded to the memory are not consistent by executing one-time whole loading after the target service is started, so that the service corresponding to the Mycat node is not influenced.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the following briefly introduces the drawings needed to be used in the description of the embodiments or the prior art, and obviously, the drawings in the following description are some embodiments of the present invention, and those skilled in the art can obtain other drawings according to the drawings without inventive labor.
Fig. 1 is an exemplary system architecture diagram corresponding to a service initiation processing method according to an embodiment of the present invention;
FIG. 2 is a flow diagram of Mycat service initiation in a Mycat cluster;
FIG. 3 is a process flow after a Mycat configuration file is changed during the Mycat service startup process;
fig. 4 is a flowchart illustrating a first embodiment of a service initiation processing method according to the present invention;
FIG. 5 is a schematic view of the Mycat service starting process after the steps S401-S402 are added;
fig. 6 is a flowchart illustrating a second embodiment of a service initiation processing method according to the present invention;
fig. 7 is a flowchart illustrating a third embodiment of a service initiation processing method according to the present invention;
fig. 8 is a block diagram of a service activation processing apparatus according to an embodiment of the present invention;
fig. 9 is a block diagram of a service activation processing apparatus according to an embodiment of the present invention;
fig. 10 is a block diagram of a service activation processing apparatus according to an embodiment of the present invention;
fig. 11 is a block diagram of a service activation processing apparatus according to an embodiment of the present invention;
fig. 12 is a block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious 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.
Fig. 1 is an exemplary system architecture diagram corresponding to the service start processing method provided by the embodiment of the present invention, and as shown in fig. 1, the embodiment of the present invention relates to a Mycat cluster and a Zookeeper server, where the Mycat cluster may include multiple Mycat services, each of the Mycat services may be referred to as a Mycat node, and each of the Mycat nodes may operate on different electronic devices, or may operate on the same electronic device, and the electronic device may be, for example, a server. The configuration file of the Mycat cluster can be managed by the Zookeeper server, and each Mycat service in the Mycat cluster can register a node monitor with the Zookeeper server respectively. When the configuration file of the Mycat cluster is changed, the Zookeeper server can send the changed configuration file to each registered Mycat node, and each Mycat node loads the changed configuration file to the memory.
For those skilled in the art to understand the technical solution of the embodiment of the present invention, the following embodiment of the present invention is described by taking the system architecture as the example in fig. 1 as an example, but it should be noted that the embodiment of the present invention is not limited thereto, and the embodiment of the present invention can also be applied to other system architectures.
FIG. 2 is a schematic flow chart of Mycat service startup in a Mycat cluster, and FIG. 3 is a processing flow after a Mycat configuration file is changed in the Mycat service startup process. First, as shown in fig. 2, the starting process of the Mycat service is as follows:
s201, loading a local configuration file of the Mycat service.
S202, judging whether the configuration is acquired from the Zookeeper, if so, executing S203, otherwise, executing S204.
S203, registering the node monitor with the Zookeeper.
After the node monitor is registered by the Mycat service to the Zookeeper, and after the Mycat configuration file on the Zookeeper is changed, the Zookeeper server can send the changed configuration file to the registered Mycat service.
S204, initializing processes (processors).
S205, starting management (manager) and server (server) services.
S206, initializing data hosts (datahosts).
And S207, initializing a route and a table division rule.
S208, setting the value of the starting mark to be true.
Wherein, the starting flag is a startup flag.
After step S208 is executed, the start of the Mycat service is completed.
For the above-described startup process, it is assumed that there are three times t1, t2, and t3, where t1 is the point in time in the process of performing step S204, i.e., the initialization process is not yet completed at time t 1. t2 is a point in time before step S208 is executed, i.e., the value of the enable flag has not been set to true at time t 2. t3 is a point in time after the execution of step S204 is completed, that is, the initialization process is completed at time t 3. Accordingly, as shown in fig. 3, it is assumed that the configuration file rule. xml is changed at time t1, i.e., the local rule. xml file of the Mycat service is updated at time t 1. Xml of the configuration file schema is changed at time t2, i.e. the local schema of the Mycat service is updated at time t 2. At time t3, the configuration file sequence _. properties changes, i.e., the local sequence _. properties file for the Mycat service is updated at time t 3. Then, according to the timings of t1, t2, and t3 and the determination conditions shown in fig. 3, the operation of partial load (load _ partial) is not executed and the operation is directly exited after change of rule. Xml is changed, the operation of all loads (load _ all) is not executed, and the operation is directly exited. After a change occurs in sequence _ properties, the partial load operation is executed. I.e. at the timing of t1, t2 and t3, the Mycat service only performs the operation of partial loading.
The difference between partial loading and full loading is that the partial loading does not update the objects (data hosts and data nodes) related to the data source, and the common point is that the partial loading and the full loading both update the mapping, firewall, cluster and the like of the user information, the schema information and the schema-data.
It should be noted that the above-mentioned processes of initiating the Mycat service shown in fig. 2 and changing the Mycat configuration file shown in fig. 3 are executed in parallel.
Xml file has been updated at time t2, but since the full load condition is not satisfied, it is directly exited. And at time t3, the loading condition is satisfied, triggering partial loading, so that the schema-databases mapping in the new schema. I.e. in the process shown in fig. 3 above, only a partial load is performed. Therefore, when a service is connected to the Mycat node (i.e., the above-mentioned Mycat service), the data node (i.e., the object obtained through the mapping relationship) given for the corresponding schema route is not matched with the data object list maintained by the memory, which results in inconsistency of the configuration file loaded to the memory, and further results in serious influence on the service corresponding to the Mycat node.
Fig. 4 is a schematic flowchart of a first embodiment of a service start processing method according to an embodiment of the present invention, where an execution subject of the method is an electronic device running the Mycat service, and as shown in fig. 4, the method includes:
s401, after the target service is started, whether the configuration information is acquired from the target server is determined.
Optionally, taking the system architecture shown in fig. 1 as an example, the target service may be any one of the Mycat services in the Mycat cluster, and the target server may be a Zookeeper server.
Optionally, the configuration information may be a configuration file of the Mycat cluster, and may include, for example, a rule.
Optionally, after the target service is started, the step S208 may be executed, that is, after the value of the start flag is set to true. After the step S208 is executed, it may be determined that the Mycat service is started, and at this time, it is first determined whether to acquire configuration information from the target server.
Optionally, whether to acquire the configuration information from the target server may be determined according to the local configuration file corresponding to the target service.
Specifically, the electronic device where the target service is located stores a local configuration file of the target service, where the local configuration file records whether to acquire configuration information from the target server, and therefore, the local configuration file can be read from the local configuration file to determine whether to acquire configuration information from the target server.
If the configuration information is read from the local configuration file and is not obtained from the target server, the starting process shown in fig. 2 may be executed according to the locally stored configuration information, which is not described again in the embodiments of the present invention.
S402, if it is determined that the configuration information is obtained from the target server, loading first configuration information obtained from the target server into a memory corresponding to the target service, where the first configuration information is all configuration information obtained from the target server.
Optionally, when a certain Mycat configuration file on the Zookeeper is changed, the Zookeeper server may send the changed configuration file to the Mycat service of the registered node monitor, and the Mycat service may store the received changed configuration file locally, and determine whether to execute the whole loading or the partial loading of the configuration information based on the determination condition shown in fig. 3. The above-described problem may occur if profile changes occur at the timings of t1, t2, and t3 described above.
In this step, after the start of the Mycat service is completed, the first configuration information is directly loaded to the memory corresponding to the target service as long as it is determined that the configuration information is obtained from the target server.
The memory corresponding to the target service refers to a memory of the electronic device running the target service. The first configuration information is all configuration information acquired from the target server, and therefore, the first configuration information is loaded into the memory, that is, the first configuration information is loaded all at once, that is, in addition to loading the user information, the schema information, the mapping of the schema-data, the firewall, the cluster and other information, objects (data hosts and data nodes) related to the data source are loaded into the memory.
Fig. 5 is a schematic view of the Mycat service starting process after the steps S401 to S402 are added, and as shown in fig. 5, after step S508, that is, after the value of the start flag is set to true, steps S509 and S510 are executed, where the execution process of step S509 is the execution process of step S401, and the execution process of step S510 is the execution process of step S402. In addition, the specific implementation process of steps S4501-S508 is the same as that of steps S201-S208, and is not described herein again.
For the time corresponding to fig. 2 and fig. 3, since all the loads are performed once after the target service is started, when a service is connected to the Mycat node (i.e., the Mycat service), it can be ensured that the data node (i.e., the object obtained through the mapping relationship) given for the corresponding schema route is matched with the data object list maintained by the memory, so that inconsistency of the configuration file loaded to the memory is avoided, and further, it is ensured that the service corresponding to the Mycat node is not affected.
In this embodiment, by performing all loading once after the target service is started, inconsistency of the configuration files loaded to the memory can be avoided, and thus it is ensured that the service corresponding to the Mycat node is not affected.
On the basis of the above embodiment, the present embodiment relates to a specific process of performing all loads.
Fig. 6 is a flowchart illustrating a second embodiment of a service start processing method according to the present invention, where as shown in fig. 6, the process of loading the first configuration information into the memory corresponding to the target service includes:
s601, modifying the value of the configuration control lock into a first value.
S602, load the first configuration information obtained from the target server to a memory corresponding to the target service.
And S603, modifying the value of the configuration control lock into a second value.
The configuration control lock is used for controlling the quantity of the configuration information loaded to the memory corresponding to the target service at the same time.
Optionally, the configuration control lock is a global mutex lock, and the mutex lock can ensure that only one load operation can be executed on the memory at the same time.
In this embodiment, when all loads need to be performed on the memory, the value of the configuration control lock is first set to a first value, which may be, for example, 1, and after the value of the configuration control lock is set to the first value, other load operations cannot be performed. Furthermore, all the loads are executed, that is, the first configuration information is loaded into the memory, after the load is completed, the value of the configuration control lock is set to a second value, the second value may be 0, for example, and after the value of the configuration control lock is set to the second value, other load operations may be executed.
In this embodiment, by adding the configuration control lock to the loading operation, it can be ensured that only one loading operation is executed at the same time, thereby further avoiding inconsistency of the configuration files in the memory.
Fig. 7 is a flowchart illustrating a third embodiment of a service initiation processing method according to an embodiment of the present invention, and as shown in fig. 7, a process of executing partial loading includes:
and S701, modifying the value of the configuration control lock into a first value.
S702, loading second configuration information to a memory corresponding to the target service, where the first configuration information includes the second configuration information.
And S703, modifying the value of the configuration control lock into a second value.
Optionally, the first configuration information includes second configuration information, that is, the second configuration information is a part of configuration information in the first configuration information, that is, the executed load is a partial load.
Optionally, when the partial load is executed, the value of the configuration control lock is modified, so that it is ensured that other load operations are not executed simultaneously when the partial load is executed, thereby further avoiding inconsistency of the configuration files in the memory.
In another embodiment, before loading the first configuration information to the memory corresponding to the target service, the Mycat service may first receive third configuration information sent by the target server. The first configuration information includes the third configuration information, and the third configuration information is changed configuration information.
Optionally, once one or more Mycat configuration files on the Zookeeper are changed, the Zookeeper server sends the changed configuration files to the Mycat service that has registered the node monitor, and the Mycat service may receive the changed configuration files, and the changed configuration files constitute the third configuration information. Further, the Mycat service triggers the full loading or the partial loading according to the judgment condition shown in the above fig. 3.
Fig. 8 is a block diagram of a service initiation processing apparatus according to an embodiment of the present invention, and as shown in fig. 8, the apparatus includes:
a determining module 801, configured to determine whether to acquire configuration information from the target server after the target service is started.
A first loading module 802, configured to load, when it is determined that the configuration information is obtained from the target server, the first configuration information obtained from the target server to a memory corresponding to the target service, where the first configuration information is all the configuration information obtained from the target server.
The device is used for realizing the method embodiment, the realization principle and the technical effect are similar, and the detailed description is omitted.
Fig. 9 is a block diagram of a service start processing apparatus according to an embodiment of the present invention, and as shown in fig. 9, a first loading module 802 includes:
a first modification unit 8021 for modifying the value of the configuration control lock to a first value.
A loading unit 8022, configured to load the first configuration information obtained from the target server to a memory corresponding to the target service.
A second modification unit 8023, configured to modify the value of the configuration control lock to a second value.
The configuration control lock is used for controlling the quantity of the configuration information loaded to the memory corresponding to the target service at the same time.
Fig. 10 is a block diagram of a service activation processing apparatus according to an embodiment of the present invention, as shown in fig. 10, further including:
a first modification module 803, configured to modify the value of the configuration control lock to a first value.
A second loading module 804, configured to load second configuration information to a memory corresponding to the target service, where the first configuration information includes the second configuration information.
A second modification module 805, configured to modify the value of the configuration control lock to a second value.
Fig. 11 is a block diagram of a service activation processing apparatus according to an embodiment of the present invention, as shown in fig. 11, further including:
a receiving module 806, configured to receive third configuration information sent by the target server, where the first configuration information includes the third configuration information, and the third configuration information is changed configuration information.
In another embodiment, the determining module 801 is specifically configured to:
and determining whether to acquire configuration information from a target server according to the local configuration file corresponding to the target service.
In another embodiment, the target service is a Mycat service in a Mycat cluster, and the target server is a Zookeeper server.
Fig. 12 is a block diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 12, the electronic device 1200 includes:
a memory 1201 for storing program instructions.
The processor 1202 is configured to call and execute the program instructions in the memory 1201, and perform the method steps in the above method embodiments.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (9)

1. A method for service initiation processing, comprising:
after the target service is started, determining whether to acquire configuration information from a target server;
if the configuration information is determined to be acquired from the target server, loading all the first configuration information acquired from the target server to a memory corresponding to the target service at one time, wherein the first configuration information is all the configuration information acquired from the target server;
the target service is a Mycat service in a Mycat cluster, and the target server is a Zookeeper server.
2. The method according to claim 1, wherein the loading the first configuration information obtained from the target server to a memory corresponding to the target service includes:
modifying the value of the configuration control lock to a first value;
loading first configuration information acquired from the target server to a memory corresponding to the target service;
modifying the value of the configuration control lock to a second value;
the configuration control lock is used for controlling the quantity of the configuration information loaded to the memory corresponding to the target service at the same time.
3. The method of claim 1, further comprising:
modifying the value of the configuration control lock to a first value;
loading second configuration information to a memory corresponding to the target service, wherein the first configuration information comprises the second configuration information;
modifying the value of the configuration control lock to a second value.
4. The method according to any one of claims 1 to 3, wherein before loading the first configuration information obtained from the target server into the memory corresponding to the target service, the method further comprises:
and receiving third configuration information sent by the target server, wherein the first configuration information comprises the third configuration information, and the third configuration information is changed configuration information.
5. The method of any of claims 1-3, wherein determining whether to obtain configuration information from a target server comprises:
and determining whether to acquire configuration information from a target server according to the local configuration file corresponding to the target service.
6. A service initiation processing apparatus, comprising:
the determining module is used for determining whether to acquire configuration information from the target server or not after the target service is started;
the first loading module is used for loading all the first configuration information acquired from the target server to a memory corresponding to the target service at one time when the configuration information is determined to be acquired from the target server, wherein the first configuration information is all the configuration information acquired from the target server;
the target service is a Mycat service in a Mycat cluster, and the target server is a Zookeeper server.
7. The apparatus of claim 6, wherein the first load module comprises:
the first modification unit is used for modifying the value of the configuration control lock into a first value;
a loading unit, configured to load the first configuration information acquired from the target server to a memory corresponding to the target service;
a second modification unit for modifying the value of the configuration control lock to a second value;
the configuration control lock is used for controlling the quantity of the configuration information loaded to the memory corresponding to the target service at the same time.
8. An electronic device, comprising:
a memory for storing program instructions;
a processor for invoking and executing program instructions in said memory for performing the method steps of any of claims 1-5.
9. A readable storage medium, characterized in that a computer program is stored in the readable storage medium for performing the method of any of claims 1-5.
CN201811333945.XA 2018-11-09 2018-11-09 Service starting processing method and device, electronic equipment and readable storage medium Active CN109582386B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811333945.XA CN109582386B (en) 2018-11-09 2018-11-09 Service starting processing method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811333945.XA CN109582386B (en) 2018-11-09 2018-11-09 Service starting processing method and device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN109582386A CN109582386A (en) 2019-04-05
CN109582386B true CN109582386B (en) 2022-02-25

Family

ID=65922068

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811333945.XA Active CN109582386B (en) 2018-11-09 2018-11-09 Service starting processing method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN109582386B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112241473A (en) * 2020-09-07 2021-01-19 上海连尚网络科技有限公司 Method and equipment for configuring data for application
CN114064154A (en) * 2021-12-06 2022-02-18 数字广东网络建设有限公司 Configuration file management method, device, server and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104243619A (en) * 2014-10-17 2014-12-24 上海瀚银信息技术有限公司 Distributed mobile payment system
CN104601366A (en) * 2014-12-05 2015-05-06 无锡城市云计算中心有限公司 Configuration service method and device for control and service nodes
CN105553738A (en) * 2015-12-25 2016-05-04 北京奇虎科技有限公司 Heat loading method and device of configuration information and distributed cluster system
CN106357447A (en) * 2016-09-21 2017-01-25 努比亚技术有限公司 Synchronizing method and device for configuration data
CN106557383A (en) * 2015-09-24 2017-04-05 北京国双科技有限公司 A kind of method and device of data recovery
CN106909456A (en) * 2015-12-22 2017-06-30 北京奇虎科技有限公司 A kind of information acquisition method and device
CN107239415A (en) * 2016-03-28 2017-10-10 华为技术有限公司 A kind of method and device for performing critical section operation
CN107707671A (en) * 2017-10-30 2018-02-16 郑州云海信息技术有限公司 A kind of method of the unified configuration of MyCat clusters
CN108599971A (en) * 2017-12-22 2018-09-28 金蝶软件(中国)有限公司 Configuring information processing method, system, computer equipment and storage medium
CN108600029A (en) * 2018-05-09 2018-09-28 深圳壹账通智能科技有限公司 A kind of configuration file update method, device, terminal device and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105335472B (en) * 2015-09-30 2019-03-26 北京京东尚科信息技术有限公司 A kind of method and device updating data query engine configured list
CN107544828A (en) * 2017-09-01 2018-01-05 北京奇虎科技有限公司 Configuring load application method and device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104243619A (en) * 2014-10-17 2014-12-24 上海瀚银信息技术有限公司 Distributed mobile payment system
CN104601366A (en) * 2014-12-05 2015-05-06 无锡城市云计算中心有限公司 Configuration service method and device for control and service nodes
CN106557383A (en) * 2015-09-24 2017-04-05 北京国双科技有限公司 A kind of method and device of data recovery
CN106909456A (en) * 2015-12-22 2017-06-30 北京奇虎科技有限公司 A kind of information acquisition method and device
CN105553738A (en) * 2015-12-25 2016-05-04 北京奇虎科技有限公司 Heat loading method and device of configuration information and distributed cluster system
CN107239415A (en) * 2016-03-28 2017-10-10 华为技术有限公司 A kind of method and device for performing critical section operation
CN106357447A (en) * 2016-09-21 2017-01-25 努比亚技术有限公司 Synchronizing method and device for configuration data
CN107707671A (en) * 2017-10-30 2018-02-16 郑州云海信息技术有限公司 A kind of method of the unified configuration of MyCat clusters
CN108599971A (en) * 2017-12-22 2018-09-28 金蝶软件(中国)有限公司 Configuring information processing method, system, computer equipment and storage medium
CN108600029A (en) * 2018-05-09 2018-09-28 深圳壹账通智能科技有限公司 A kind of configuration file update method, device, terminal device and storage medium

Also Published As

Publication number Publication date
CN109582386A (en) 2019-04-05

Similar Documents

Publication Publication Date Title
US10983774B2 (en) Extensions for deployment patterns
US8060892B2 (en) Executing business logic extensions on a client computing system
US10757197B2 (en) Self-extending cloud
WO2019000629A1 (en) Multi-data-source data synchronizing method and system, application server and computer readable storage medium
US11269838B2 (en) Collision detection using state management of configuration items
CN109639818B (en) Service discovery method and device under cloud environment, server and storage medium
US20240111549A1 (en) Method and apparatus for constructing android running environment
CN109688191A (en) Traffic scheduling method and communication device
CN109582386B (en) Service starting processing method and device, electronic equipment and readable storage medium
US11799743B2 (en) Node addition in cloud networks
US8904396B2 (en) System and method of general service management
AU2017235993B2 (en) Dynamic loading and deployment of test files to prevent interruption of test execution
WO2019091216A1 (en) Data management method and apparatus, computing device and storage medium
US20220300891A1 (en) Method for processing data of distributed coordination system and electronic apparatus therefor
US9983866B1 (en) Upgrade compatibility checks in a client-server environment
CN113760631B (en) Page loading time length determining method, device, equipment and storage medium
US11360785B2 (en) Execution path determination in a distributed environment
CN109189442B (en) Updating method, system and electronic equipment
CN112130900A (en) User information management method, system, equipment and medium for BMC
US11354138B1 (en) Optimizing plugin loading
US20240028372A1 (en) Preventing unnecessary registration of virtual machines
CN116701349A (en) Data migration method, system, equipment and storage medium
CN115499314A (en) Cluster node IP modification method and device
CN116204415A (en) Application environment switching method and device and electronic equipment
CN112204520A (en) Configuration method, physical device, server, and computer-readable storage medium

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
TR01 Transfer of patent right

Effective date of registration: 20240719

Address after: 266104 No. 399, Songling Road, Laoshan District, Qingdao, Shandong Province (the third floor of A6)

Patentee after: QINGDAO JUKANYUN TECHNOLOGY CO.,LTD.

Country or region after: China

Address before: 266061 Songling Road, Laoshan District, Qingdao, Shandong Province, No. 399

Patentee before: JUHAOKAN TECHNOLOGY Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right