CN112153093B - Cluster-based task scheduling method, device, equipment and readable storage medium - Google Patents

Cluster-based task scheduling method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN112153093B
CN112153093B CN201910579193.3A CN201910579193A CN112153093B CN 112153093 B CN112153093 B CN 112153093B CN 201910579193 A CN201910579193 A CN 201910579193A CN 112153093 B CN112153093 B CN 112153093B
Authority
CN
China
Prior art keywords
configuration information
task
server
cluster
communication address
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
CN201910579193.3A
Other languages
Chinese (zh)
Other versions
CN112153093A (en
Inventor
彭卓异
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201910579193.3A priority Critical patent/CN112153093B/en
Publication of CN112153093A publication Critical patent/CN112153093A/en
Application granted granted Critical
Publication of CN112153093B publication Critical patent/CN112153093B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • 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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Hardware Redundancy (AREA)

Abstract

The invention provides a task scheduling method, a device, equipment and a readable storage medium based on a cluster, wherein the method of the invention binds communication addresses of a temporary registration center in system configuration information of all servers in the cluster, all servers in the cluster regularly send a synchronous scheduling request to the temporary registration center, the synchronous scheduling request comprises the communication addresses of the servers, and the temporary registration center can acquire the communication addresses of all servers in the cluster and store the communication addresses in local system configuration information; the temporary registration center feeds back the local system configuration information and task configuration information to the servers in the cluster, and the servers update the local system configuration information and task configuration information according to the received system configuration information and task configuration information, so that the synchronization of the system configuration information and the task configuration information of all the servers in the cluster is realized, the scheduling and the management of the tasks in the cluster are realized, additional center service equipment is not needed, and the quick construction is convenient.

Description

Cluster-based task scheduling method, device, equipment and readable storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a task scheduling method, device, equipment and readable storage medium based on a cluster.
Background
Currently, there are many distributed frameworks applied to clusters, such as a q-z framework, a xxl-job framework, an elastic-job framework, and the like, which all use distributed technologies to assign and manage a certain server in a cluster to execute tasks, and provide a developer with rich APIs, so that the developer only needs to pay attention to the service itself, and other things such as logging and the like are automatically processed by the framework.
With these existing task scheduling methods of the distributed framework, there is no service discovery and registration process, because it must know which servers exist in the cluster, then assign which servers to perform tasks, and if a service is taken off line, dynamic switching is also required, during which the servers are managed by a database, a registry, or a cloud service, etc. center service devices, which have external center dependency features.
The existing distributed frameworks are not light enough, and the task scheduling method of the existing distributed frameworks is adopted, so that in order to deploy a single cluster system with small scale, which only needs to execute simple timed task scheduling and does not need to do excessive service management, operations such as additional database deployment, registration centers or task scheduling centers accessed to a third-party platform are needed, and additional center service equipment is needed, so that the system is inconvenient to build quickly.
Disclosure of Invention
The invention provides a task scheduling method, device and equipment based on a cluster and a readable storage medium, which are used for solving the problems that the existing task scheduling method needs to additionally deploy operations such as a database, a registration center or a task scheduling center accessed to a third-party platform, requires additional center service equipment and is inconvenient to quickly build.
A first aspect of the present invention provides a task scheduling method based on a cluster, including:
the method comprises the steps that a server in a cluster regularly sends a synchronous scheduling request to a temporary registration center according to a communication address of the temporary registration center bound in local system configuration information, wherein the synchronous scheduling request comprises the communication address of the server; the server receives system configuration information and task configuration information fed back by the temporary registration center; the server updates local system configuration information and task configuration information according to the received system configuration information and task configuration information; the temporary registration center is any server in the cluster.
Further, after updating the local system configuration information and task configuration information according to the received system configuration information and task configuration information, the server further includes:
The server judges whether the communication address of the executing machine for executing the task is matched with the communication address of the executing machine according to the local task configuration information; and if the communication address of the executing machine of the task to be executed is matched with the communication address of the executing machine, the server executes the task to be executed.
Further, the method further comprises:
when detecting that the temporary registration center fails, the server deletes the communication address of the temporary registration center from the local system configuration information; the server adopts a preset selection algorithm according to all server communication addresses in the local system configuration information to determine one of the server communication addresses as a communication address of a new temporary registration center; if the communication address of the new temporary registration center is consistent with the communication address of the server, the server updates the communication address of the temporary registration center bound in the local system configuration information into the communication address of the server; the server synchronizes the local system configuration information to other servers in the cluster.
Further, after determining, by the server, that one of the server communication addresses is used as a communication address of a new temporary registry according to all the server communication addresses in the local system configuration information by adopting a preset selection algorithm, the method further includes:
If the communication address of the new temporary registration center is inconsistent with the communication address of the server, the server acquires the system configuration information of the new temporary registration center and updates the local system configuration information according to the system configuration information of the new temporary registration center.
Further, the server in the cluster periodically sends a synchronous scheduling request to the temporary registration center according to the communication address of the temporary registration center bound in the local system configuration information, including:
the server sends a synchronous scheduling request to the temporary registration centers in the cluster regularly according to the communication address of the temporary registration centers bound in the local system configuration information by executing a pre-configured timing task.
Further, the method further comprises: the server performs at least one of the following general operations: log records and anomaly capture.
A second aspect of the present invention provides a task scheduling method based on a cluster, including:
a temporary registration center of a cluster receives a synchronous scheduling request sent by a server in the cluster at regular time, wherein the synchronous scheduling request comprises a communication address of the server; the temporary registration center extracts the communication address of the server from the synchronous scheduling request and updates local system configuration information according to the communication address of the server; the temporary registration center feeds back local system configuration information and task configuration information to the server; the communication addresses of temporary registries are bound in the system configuration information of all servers in the cluster, and the temporary registries are any server in the cluster.
Further, the method further comprises:
the temporary registration center receives a new task adding instruction, wherein the new task adding instruction comprises task configuration information of a new task, and the task configuration information at least comprises a communication address of an execution machine of the new task; and the temporary registration center stores the task configuration information of the new task into the local task configuration information.
Further, the method further comprises:
the temporary registration center receives an adding instruction of a timing frequency modification task, wherein the adding instruction of the timing frequency modification task comprises task configuration information of the timing frequency modification task, and the task configuration information of the timing frequency modification task comprises a communication address of an execution machine of the timing frequency modification task; and the temporary registration center stores the task configuration information of the timing frequency modification task into local task configuration information.
A third aspect of the present invention provides a task scheduling device based on a cluster, including:
the system comprises a sending module, a receiving module and a sending module, wherein the sending module is used for sending a synchronous scheduling request to a temporary registration center regularly according to a communication address of the temporary registration center bound in local system configuration information, and the synchronous scheduling request comprises the communication address of the server;
The receiving module is used for receiving the system configuration information and the task configuration information fed back by the temporary registration center by the server;
the scheduling processing module is used for updating the local system configuration information and task configuration information according to the received system configuration information and task configuration information by the server;
the temporary registration center is any server in the cluster.
A fourth aspect of the present invention provides a task scheduling device based on a cluster, including:
the system comprises a receiving module, a temporary registration center of a cluster and a synchronization module, wherein the receiving module is used for receiving a synchronous scheduling request sent by a server in the cluster at regular time, and the synchronous scheduling request comprises a communication address of the server;
the scheduling configuration module is used for extracting the communication address of the server from the synchronous scheduling request by the temporary registration center and updating local system configuration information according to the communication address of the server;
the feedback module is used for feeding back the local system configuration information and task configuration information to the server by the temporary registration center;
the communication addresses of temporary registries are bound in the system configuration information of all servers in the cluster, and the temporary registries are any server in the cluster.
A fifth aspect of the present invention provides a server in a cluster, comprising:
a memory, a processor, and a computer program stored on the memory and executable on the processor;
wherein the processor, when running the computer program, implements the method of any one of the above.
A sixth aspect of the present invention provides a computer readable storage medium having stored therein a computer program which when executed by a processor implements the method of any of the above.
The task scheduling method, the task scheduling device, the task scheduling equipment and the readable storage medium based on the cluster are characterized in that communication addresses of temporary registries are bound in system configuration information of all servers in the cluster, all servers in the cluster periodically send synchronous scheduling requests to the temporary registries according to the currently bound communication addresses of the temporary registries, the synchronous scheduling requests comprise the communication addresses of the servers, and the temporary registries can acquire the communication addresses of all servers in the cluster and store the communication addresses into local system configuration information; the temporary registration center feeds back the local system configuration information and task configuration information to the servers in the cluster, and the servers update the local system configuration information and task configuration information according to the received system configuration information and task configuration information, so that the synchronization of the system configuration information and the task configuration information of all the servers in the cluster is realized, the scheduling and the management of the tasks in the cluster can be realized, the operations such as additional deployment of a database, a registration center or a task scheduling center accessed to a third-party platform are not needed, additional center service equipment is not needed, and the quick construction is convenient.
Drawings
FIG. 1 is a flowchart of a task scheduling method based on a cluster according to a first embodiment of the present invention;
FIG. 2 is a flowchart of a task scheduling method based on clusters according to a second embodiment of the present invention;
FIG. 3 is a flowchart of a task scheduling method based on clusters according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a task scheduling device based on a cluster according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a task scheduling device based on a cluster according to a sixth embodiment of the present invention;
fig. 6 is a schematic structural diagram of a server in a cluster according to an eighth embodiment of the present invention;
fig. 7 is a schematic structural diagram of a server in a cluster according to an eighth embodiment of the present invention.
Specific embodiments of the present invention have been shown by way of the above drawings and will be described in more detail below. The drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but rather to illustrate the inventive concepts to those skilled in the art by reference to the specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the invention. Rather, they are merely examples of apparatus and methods consistent with aspects of the invention as detailed in the accompanying claims.
The terms "first," "second," and the like, herein referred to, are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. In the following description of the embodiments, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.
Example 1
Fig. 1 is a flowchart of a task scheduling method based on a cluster according to an embodiment of the present invention. Aiming at the problems that the existing task scheduling method needs to additionally deploy operations such as a database, a registration center or a task scheduling center accessed to a third-party platform, and the like, and needs additional center service equipment, and is inconvenient to quickly build, the embodiment of the invention provides the task scheduling method based on the cluster.
The application scene of the embodiment of the invention is as follows: the business system is deployed on a cluster comprising a plurality of servers, and each server in the cluster stores engineering codes of the business system, wherein the engineering codes comprise system configuration information. Task scheduling of the cluster is used as a function of the service system, and a task scheduling code packet is embedded in engineering codes of the service system. One server in the cluster is bound in the system configuration information to serve as a temporary registration center, and the temporary registration center can be any server in the cluster.
Because the temporary registration centers of the clusters are bound in the system configuration information, when the temporary registration centers of the clusters fail, the temporary registration centers of the clusters can be dynamically changed by modifying the communication addresses of the temporary registration centers bound in the system configuration information, so that center dependence is reduced, and the situations that tasks cannot be normally executed and service systems fail due to the failure of a center server of the clusters can be avoided.
As shown in fig. 1, the method specifically comprises the following steps:
step S101, a server in a cluster periodically sends a synchronous scheduling request to a temporary registration center according to a communication address of the temporary registration center bound in local system configuration information, wherein the synchronous scheduling request comprises the communication address of the server, and the temporary registration center is any server in the cluster.
In this embodiment, task scheduling of the cluster is used as a function of the service system, and the task scheduling code packet is embedded in the engineering code of the service system. Each server in the cluster stores system configuration information. The communication address of the same temporary registration center is bound in the system configuration information of all servers in the cluster.
When all servers in the cluster are started, the communication address of the currently-bound temporary registration center can be obtained from the local system configuration information.
All servers in the cluster may periodically send a synchronization scheduling request to the temporary registry of the cluster for synchronizing system configuration information and task configuration information of the temporary registry from the temporary registry.
The task configuration information comprises task data and communication addresses of execution machines of the tasks.
In this embodiment, the communication address of the server may be an IP address of the server.
The synchronous scheduling request may be, for example, an HTTP request to pull system configuration information from a temporary registry.
Step S102, a temporary registration center of the cluster receives a synchronous scheduling request sent by a server in the cluster at regular time, wherein the synchronous scheduling request comprises a communication address of the server.
Step S103, the temporary registration center extracts the communication address of the server from the synchronous scheduling request, and updates the local system configuration information according to the communication address of the server.
After receiving the synchronous scheduling request of the servers in the cluster, the temporary registration center in the cluster can collect the communication address of the servers, store the communication address of the servers in the local system configuration information and finish the registration of the servers.
The temporary registration center can collect communication addresses of all servers in the cluster by receiving synchronous scheduling requests of all servers, and store the communication addresses of all servers in the cluster into local system configuration information.
Step S104, the temporary registration center feeds back the local system configuration information and task configuration information to the server.
The temporary registration center responds to the synchronous scheduling request of the servers and feeds back the local system configuration information and task configuration information to the servers in the cluster, so that the temporary registration center can synchronize the system configuration information comprising the communication addresses of all the servers in the cluster and the task configuration information to all the servers in the cluster, and the synchronization of the system configuration information and the task configuration information in the cluster is realized, thereby realizing task scheduling and management.
It should be noted that, because there is a delay in communication between servers, the system configuration information fed back to the servers by the temporary registration center at this time does not necessarily include the communication addresses of all servers; however, since the communication process of steps S101 to S106 performed between the servers in the cluster and the temporary registry is performed periodically, after two or more times of periodic interactions, the system configuration information of the temporary registry may include the communication addresses of all servers in the cluster, and all servers in the cluster may implement synchronization with the system configuration information of the temporary registry, thereby obtaining the communication addresses of all servers in the cluster.
Step S105, the server receives system configuration information and task configuration information fed back by the temporary registration center.
After sending the synchronous scheduling request to the temporary registration center, all servers in the cluster can receive the system configuration information and the task configuration information fed back by the temporary registration center, so that the synchronization of the system configuration information and the task configuration information in the cluster can be realized.
Step S106, the server updates the local system configuration information and task configuration information according to the received system configuration information and task configuration information.
After receiving the system configuration information and the task configuration information fed back by the temporary registration center, the server updates the local system configuration information and the task configuration information, and realizes synchronization with the system configuration information and the task configuration information of the temporary registration center.
After the servers in the cluster synchronize to the latest task configuration information, tasks allocated to the servers can be executed according to the task configuration information, so that task scheduling and management are realized through the synchronization of the task configuration information.
According to the embodiment of the invention, the communication addresses of the temporary registration centers are bound in the system configuration information of all servers in the cluster, and all servers in the cluster periodically send synchronous scheduling requests to the temporary registration centers according to the communication addresses of the currently bound temporary registration centers, wherein the synchronous scheduling requests comprise the communication addresses of the servers, and the temporary registration centers can acquire the communication addresses of all servers in the cluster and store the communication addresses in the local system configuration information; the temporary registration center feeds back the local system configuration information and task configuration information to the servers in the cluster, and the servers update the local system configuration information and task configuration information according to the received system configuration information and task configuration information, so that the synchronization of the system configuration information and the task configuration information of all the servers in the cluster is realized, the scheduling and the management of the tasks in the cluster can be realized, the operations such as additional deployment of a database, a registration center or a task scheduling center accessed to a third-party platform are not needed, additional center service equipment is not needed, and the quick construction is convenient.
Example two
Fig. 2 is a flowchart of a task scheduling method based on a cluster according to a second embodiment of the present invention. In this embodiment, a task scheduling flow when a new task exists will be described in detail based on the first embodiment. As shown in fig. 2, the method specifically comprises the following steps:
step 201, the temporary registration center receives a new task adding instruction, where the new task adding instruction includes task configuration information of a new task, and the task configuration information includes at least a communication address of an execution machine of the new task.
In this embodiment, when a certain server (denoted by an interface server) in the cluster receives a new task issued by the service system, one server in the cluster may be designated as an execution machine of the new task according to a preset scheduling policy. And the interface server sends a new task adding instruction to the temporary registration center according to the communication address of the temporary registration center bound in the local system configuration strategy, wherein the new task adding instruction comprises task configuration information of the new task.
The task configuration information comprises task data and communication addresses of task execution machines.
Step S202, the temporary registration center stores task configuration information of the new task into local task configuration information.
After receiving the new task adding instruction, the temporary registration center extracts task configuration information of the new task from the new task adding instruction, and stores the task configuration information of the new task into the local task configuration information.
All servers in the cluster can realize the synchronization with the task configuration information of the temporary registration center by executing the steps S203-S208, so that a new task can be issued to all servers in the cluster and an execution machine of the new task is designated, and the scheduling and the management of the task are realized.
In step S203, the server in the cluster periodically sends a synchronous scheduling request to the temporary registry according to the communication address of the temporary registry bound in the local system configuration information, where the synchronous scheduling request includes the communication address of the server.
Step S204, the temporary registration center of the cluster receives a synchronous scheduling request sent by a server in the cluster at regular time, wherein the synchronous scheduling request comprises a communication address of the server.
Step S205, the temporary registration center extracts the communication address of the server from the synchronous scheduling request, and updates the local system configuration information according to the communication address of the server.
Step S206, the temporary registration center feeds back the local system configuration information and task configuration information to the server.
Step S207, the server receives system configuration information and task configuration information fed back by the temporary registration center.
Step S208, the server updates the local system configuration information and task configuration information according to the received system configuration information and task configuration information.
The steps S203 to S208 are identical to the steps S101 to S106 in the first embodiment, and the description thereof is omitted here.
Step S209, the server judges whether the communication address of the executing machine for executing the task is matched with the communication address of the executing machine according to the local task configuration information.
In this embodiment, there may be one or more execution machines for the task to be executed, and the server may determine whether the communication address of the execution machine for the task to be executed matches with the communication address of the execution machine itself, which may be specifically implemented in the following manner:
the server judges whether the communication address of the executing machine of the task to be executed contains the communication address of the server; if the communication address of the execution machine for executing the task contains the communication address of the execution machine, determining that the communication address of the execution machine for executing the task is matched with the communication address of the execution machine; if the communication address of the execution machine for executing the task does not contain the communication address of the execution machine, determining that the communication address of the execution machine for executing the task is not matched with the communication address of the execution machine.
In the step, if the server determines that the communication address of the executing machine of the task to be executed is not matched with the communication address of the executing machine, the server does not execute the task to be executed.
Step S210, if the communication address of the executing machine of the task to be executed matches with the communication address of the executing machine, the server executes the task to be executed.
In one implementation of this embodiment, the server periodically sends a synchronous scheduling request to the temporary registries in the cluster according to the communication address of the temporary registries bound in the local system configuration information by executing a pre-configured timing task.
Illustratively, the timed task in this embodiment is a global task, which is configured by all servers in the cluster. The timing tasks in this embodiment may be implemented in a similar manner to the timing tasks built in by quatertz, or in other similar manners in the prior art, and this embodiment is not specifically limited herein.
The timing frequency of the timing task may be preconfigured in the system configuration file, and may also be modified by modifying the system configuration information, and the timing frequency of the timing task is not specifically limited in this embodiment. For example, the timing frequency of the timing tasks may be performed once for no 3 minutes.
Further, the cluster may modify the timing frequency of the preconfigured timing tasks by issuing the timing frequency modification task.
Specifically, the temporary registration center receives an adding instruction of a timing frequency modification task, wherein the adding instruction of the timing frequency modification task comprises task configuration information of the timing frequency modification task, and the task configuration information of the timing frequency modification task comprises a communication address of an execution machine of the timing frequency modification task; the temporary registry stores task configuration information of the timing frequency modification task into local task configuration information. After acquiring task configuration information of the timing frequency modification task, all servers in the cluster execute the timing frequency modification task to modify the timing frequency of the local timing task.
According to the embodiment of the invention, the temporary registration center stores task configuration information comprising the communication address of the executive machine of the new task into local task configuration information according to the received new task adding instruction; all servers in the cluster realize the synchronization with the task configuration information of the temporary registration center by executing the timing tasks, and acquire the task configuration information of the new task; the servers in the cluster execute the tasks to be executed when determining the servers to be the execution machines of the tasks to be executed according to the local task configuration information; the task scheduling and management are realized.
Example III
Fig. 3 is a flowchart of a task scheduling method based on a cluster according to a third embodiment of the present invention. In this embodiment, when the temporary registration center fails, one of the other servers in the cluster may be selected as a new temporary registration center, and the communication address of the temporary registration center bound in the system configuration information is updated to implement dynamic adjustment of the temporary registration center of the cluster. As shown in fig. 3, the method specifically comprises the following steps:
in step S301, when detecting that the temporary registration center fails, the server deletes the communication address of the temporary registration center from the local system configuration information.
In this embodiment, the server in the cluster detects whether the temporary registry fails in real time, and when detecting that the temporary registry fails, the server deletes the communication address of the temporary registry from the local system configuration information, that is, eliminates the temporary registry that fails from the cluster. Then, by executing the subsequent steps, a new temporary registry is selected.
Optionally, since the servers in the cluster communicate with the temporary registration center regularly through the timing task, if no feedback of the temporary registration center is received, or the received data fed back by the temporary registration center is incorrect, the travel fault of the temporary registration center can be determined.
Optionally, after deleting the communication address of any server from the local system configuration information, the new temporary registry may also detect in real time whether the deleted server resumes normal operation, and add the communication address of the server to the local system configuration information when detecting that the server resumes normal operation. In addition, other restoration mechanisms for deleted servers may be configured, and the embodiment is not specifically limited herein.
Step S302, the server adopts a preset selection algorithm according to all server communication addresses in the local system configuration information, and determines one server communication address as a communication address of a new temporary registration center.
When the fault of the temporary registration center is detected, the servers in the cluster adopt a preset selection algorithm to determine one of the server communication addresses as the communication address of the new temporary registration center.
Alternatively, the preset selection algorithm may be implemented by using a method of channel selection, random selection, selection according to a load condition, and the like, which is not specifically limited herein.
For example, the preset selection algorithm may be to perform certain calculation on the communication addresses of all servers in the cluster to obtain a reference value corresponding to the communication address of the server, and determine, according to the calculation result, the server with the largest reference value corresponding to the communication address of the server as the new temporary registration center.
Step S303, if the communication address of the new temporary registration center is consistent with the communication address of the server, the server updates the communication address of the temporary registration center bound in the local system configuration information to the communication address of the server.
Step S304, the server synchronizes the local system configuration information to other servers in the cluster.
Alternatively, the server may generate local system configuration information to other servers in the cluster.
Step S305, if the communication address of the new temporary registration center is inconsistent with the communication address of the server, the server acquires the system configuration information of the new temporary registration center, and updates the local system configuration information according to the system configuration information of the new temporary registration center.
In another implementation of this embodiment, after determining a new temporary registration center, the server in the cluster sends a center confirmation request to the new temporary registration center by executing a timing task, and after receiving the center change request, the new temporary registration center updates a communication address of the temporary registration center bound in the local system configuration information to a communication address of the server; the updated local system configuration information is fed back to the servers in the cluster; the servers in the cluster update the local system configuration information according to the system configuration information fed back by the new temporary registration center, so that the communication address of the same temporary registration center is bound in the system configuration information of all the servers in the cluster.
In another implementation manner of this embodiment, since the local system configuration information of all servers in the cluster records the communication addresses of all servers in the cluster, all servers determine that the new temporary registration centers are consistent according to the same preset selection algorithm. In this case, after the new temporary registration center is determined, the communication address of the temporary registration center bound in the local system configuration information may be directly modified to the determined new temporary registration communication address.
In this embodiment, the cluster may implement task scheduling within the cluster, and in addition, has some general functions of a scheduling system. For example, general functions such as dynamically adding tasks, dynamically executing time configuration, starting and stopping tasks, manually executing tasks, logging, exception capturing, designating communication address execution, detecting and activating switching communication addresses and the like can be realized based on the quatz, so that the general requirements are met, and the method is a complete task scheduling method.
In this embodiment, all servers in the cluster are also preconfigured to be able to perform at least one of the following general operations: log records and anomaly capture.
According to the embodiment of the invention, when the temporary registration center is detected to have a fault, the server deletes the communication address of the temporary registration center from the local system configuration information; the server adopts a preset selection algorithm to determine one of the server communication addresses as the communication address of a new temporary registration center according to all the server communication addresses in the local system configuration information; and the communication addresses of the temporary registration centers bound in the system configuration information of all servers in the cluster are updated, so that the temporary registration centers of the cluster are dynamically changed, center dependence is reduced, and the situations that tasks cannot be normally executed and service systems fail due to the failure of the center server of the cluster can be avoided.
Example IV
Fig. 4 is a schematic structural diagram of a task scheduling device based on a cluster according to a fourth embodiment of the present invention. The task scheduling device based on the cluster provided by the embodiment of the invention can execute the method flow executed by all servers in the cluster in the first embodiment. As shown in fig. 4, the cluster-based task scheduling device 40 includes: a transmitting module 401, a receiving module 402 and a scheduling processing module 403.
Specifically, the sending module 401 is configured to send, by a server in the cluster, a synchronous scheduling request to the temporary registry periodically according to a communication address of the temporary registry bound in the local system configuration information, where the synchronous scheduling request includes the communication address of the server.
The receiving module 402 is configured to receive system configuration information and task configuration information fed back by the temporary registry by using the server.
The scheduling processing module 403 is configured to update local system configuration information and task configuration information according to the received system configuration information and task configuration information.
The temporary registry is any server in the cluster.
The device provided in the embodiment of the present invention may be specifically used to execute the method flow executed by all the servers in the cluster in the first embodiment, and specific functions are not described herein.
According to the embodiment of the invention, the communication addresses of the temporary registration centers are bound in the system configuration information of all servers in the cluster, and all servers in the cluster periodically send synchronous scheduling requests to the temporary registration centers according to the communication addresses of the currently bound temporary registration centers, wherein the synchronous scheduling requests comprise the communication addresses of the servers, and the temporary registration centers can acquire the communication addresses of all servers in the cluster and store the communication addresses in the local system configuration information; the temporary registration center feeds back the local system configuration information and task configuration information to the servers in the cluster, and the servers update the local system configuration information and task configuration information according to the received system configuration information and task configuration information, so that the synchronization of the system configuration information and the task configuration information of all the servers in the cluster is realized, the scheduling and the management of the tasks in the cluster can be realized, the operations such as additional deployment of a database, a registration center or a task scheduling center accessed to a third-party platform are not needed, additional center service equipment is not needed, and the quick construction is convenient.
Example five
On the basis of the fourth embodiment, in this embodiment, the scheduling processing module is further configured to:
The server judges whether the communication address of the executing machine for executing the task is matched with the communication address of the server according to the local task configuration information; if the communication address of the executing machine of the task to be executed is matched with the communication address of the executing machine, the server executes the task to be executed.
Optionally, the scheduling processing module is further configured to:
when detecting that the temporary registration center fails, the server deletes the communication address of the temporary registration center from the local system configuration information; the server adopts a preset selection algorithm to determine one of the server communication addresses as the communication address of a new temporary registration center according to all the server communication addresses in the local system configuration information; if the communication address of the new temporary registration center is consistent with the communication address of the server, the server updates the communication address of the temporary registration center bound in the local system configuration information into the communication address of the server; the server synchronizes the local system configuration information to other servers in the cluster.
Optionally, the scheduling processing module is further configured to:
if the communication address of the new temporary registration center is inconsistent with the communication address of the server, the server acquires the system configuration information of the new temporary registration center, and updates the local system configuration information according to the system configuration information of the new temporary registration center.
Optionally, the sending module is further configured to:
the server sends a synchronous scheduling request to the temporary registration centers in the cluster regularly according to the communication address of the temporary registration centers bound in the local system configuration information by executing a pre-configured timing task.
Optionally, the server performs at least one of the following general operations: log records and anomaly capture.
The device provided in the embodiment of the present invention may be specifically used to execute the method flow executed by all the servers in the cluster in the second embodiment or the third embodiment, and specific functions are not described herein.
According to the embodiment of the invention, the temporary registration center stores task configuration information comprising the communication address of the executive machine of the new task into local task configuration information according to the received new task adding instruction; all servers in the cluster realize the synchronization with the task configuration information of the temporary registration center by executing the timing tasks, and acquire the task configuration information of the new task; the servers in the cluster execute the tasks to be executed when determining the servers to be the execution machines of the tasks to be executed according to the local task configuration information; the task scheduling and management are realized.
According to the embodiment of the invention, when the temporary registration center is detected to have a fault, the server deletes the communication address of the temporary registration center from the local system configuration information; the server adopts a preset selection algorithm to determine one of the server communication addresses as the communication address of a new temporary registration center according to all the server communication addresses in the local system configuration information; and the communication addresses of the temporary registration centers bound in the system configuration information of all servers in the cluster are updated, so that the temporary registration centers of the cluster are dynamically changed, center dependence is reduced, and the situations that tasks cannot be normally executed and service systems fail due to the failure of the center server of the cluster can be avoided.
Example six
Fig. 5 is a schematic structural diagram of a task scheduling device based on a cluster according to a sixth embodiment of the present invention. The task scheduling device based on the cluster provided by the embodiment of the invention can execute the method flow executed by the temporary registration center in the cluster in the first embodiment. As shown in fig. 5, the cluster-based task scheduling device 50 includes: a receiving module 501, a scheduling configuration module 502 and a feedback module 503.
The receiving module 501 is configured to receive, by a temporary registry of a cluster, a synchronous scheduling request sent by a server in the cluster at regular time, where the synchronous scheduling request includes a communication address of the server.
The scheduling configuration module 502 is configured to extract, by the temporary registry, a communication address of the server from the synchronous scheduling request, and update local system configuration information according to the communication address of the server.
The feedback module 503 is configured to feed back the local system configuration information and task configuration information to the server by the temporary registry.
The system configuration information of all servers in the cluster is bound with the communication address of a temporary registration center, and the temporary registration center is any server in the cluster.
The apparatus provided in the embodiment of the present invention may be specifically used to execute the method flow executed by the temporary registration center in the cluster in the first embodiment, and specific functions are not described herein.
According to the embodiment of the invention, the communication addresses of the temporary registration centers are bound in the system configuration information of all servers in the cluster, and all servers in the cluster periodically send synchronous scheduling requests to the temporary registration centers according to the communication addresses of the currently bound temporary registration centers, wherein the synchronous scheduling requests comprise the communication addresses of the servers, and the temporary registration centers can acquire the communication addresses of all servers in the cluster and store the communication addresses in the local system configuration information; the temporary registration center feeds back the local system configuration information and task configuration information to the servers in the cluster, and the servers update the local system configuration information and task configuration information according to the received system configuration information and task configuration information, so that the synchronization of the system configuration information and the task configuration information of all the servers in the cluster is realized, the scheduling and the management of the tasks in the cluster can be realized, the operations such as additional deployment of a database, a registration center or a task scheduling center accessed to a third-party platform are not needed, additional center service equipment is not needed, and the quick construction is convenient.
Example seven
On the basis of the sixth embodiment, in this embodiment, the scheduling configuration module is further configured to:
the temporary registration center receives a new task adding instruction, wherein the new task adding instruction comprises task configuration information of a new task, and the task configuration information at least comprises a communication address of an execution machine of the new task; the temporary registration center stores the task configuration information of the new task into the local task configuration information.
Optionally, the scheduling configuration module is further configured to:
the temporary registration center receives an adding instruction of the timing frequency modification task, wherein the adding instruction of the timing frequency modification task comprises task configuration information of the timing frequency modification task, and the task configuration information of the timing frequency modification task comprises a communication address of an execution machine of the timing frequency modification task; the temporary registry stores task configuration information of the timing frequency modification task into local task configuration information.
The device provided in the embodiment of the present invention may be specifically used to execute the method flow executed by the temporary registration center in the cluster in the second embodiment or the third embodiment, and specific functions are not repeated herein.
According to the embodiment of the invention, the temporary registration center stores task configuration information comprising the communication address of the executive machine of the new task into local task configuration information according to the received new task adding instruction; all servers in the cluster realize the synchronization with the task configuration information of the temporary registration center by executing the timing tasks, and acquire the task configuration information of the new task; the servers in the cluster execute the tasks to be executed when determining the servers to be the execution machines of the tasks to be executed according to the local task configuration information; the task scheduling and management are realized.
Example eight
Fig. 6 is a schematic structural diagram of a server in a cluster according to an eighth embodiment of the present invention. As shown in fig. 6, the server 60 includes: a processor 601, a memory 602, and a computer program stored on the memory 602 and executable by the processor 601.
The processor 601, when executing a computer program stored on the memory 602, implements the method flows performed by all servers in the cluster in any of the method embodiments described above.
According to the embodiment of the invention, the communication addresses of the temporary registration centers are bound in the system configuration information of all servers in the cluster, and all servers in the cluster periodically send synchronous scheduling requests to the temporary registration centers according to the communication addresses of the currently bound temporary registration centers, wherein the synchronous scheduling requests comprise the communication addresses of the servers, and the temporary registration centers can acquire the communication addresses of all servers in the cluster and store the communication addresses in the local system configuration information; the temporary registration center feeds back the local system configuration information and task configuration information to the servers in the cluster, and the servers update the local system configuration information and task configuration information according to the received system configuration information and task configuration information, so that the synchronization of the system configuration information and the task configuration information of all the servers in the cluster is realized, the scheduling and the management of the tasks in the cluster can be realized, the operations such as additional deployment of a database, a registration center or a task scheduling center accessed to a third-party platform are not needed, additional center service equipment is not needed, and the quick construction is convenient.
Example nine
Fig. 7 is a schematic structural diagram of a server in a cluster according to an eighth embodiment of the present invention. As shown in fig. 7, the server 70 includes: a processor 701, a memory 702, and a computer program stored on the memory 702 and executable by the processor 701.
The processor 701, when executing the computer program stored on the memory 702, implements the method flow performed by the temporary registry in the cluster in any of the method embodiments described above.
According to the embodiment of the invention, the communication addresses of the temporary registration centers are bound in the system configuration information of all servers in the cluster, and all servers in the cluster periodically send synchronous scheduling requests to the temporary registration centers according to the communication addresses of the currently bound temporary registration centers, wherein the synchronous scheduling requests comprise the communication addresses of the servers, and the temporary registration centers can acquire the communication addresses of all servers in the cluster and store the communication addresses in the local system configuration information; the temporary registration center feeds back the local system configuration information and task configuration information to the servers in the cluster, and the servers update the local system configuration information and task configuration information according to the received system configuration information and task configuration information, so that the synchronization of the system configuration information and the task configuration information of all the servers in the cluster is realized, the scheduling and the management of the tasks in the cluster can be realized, the operations such as additional deployment of a database, a registration center or a task scheduling center accessed to a third-party platform are not needed, additional center service equipment is not needed, and the quick construction is convenient.
In addition, the embodiment of the invention also provides a computer readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the method flow executed by all servers in the cluster in any method embodiment is realized.
The embodiment of the invention also provides a computer readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the method flow executed by the temporary registration center in the cluster in any method embodiment is realized.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., 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 an indirect coupling or communication connection via some interfaces, devices or units, 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 the embodiments of the present invention 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 integrated units may be implemented in hardware or in hardware plus software functional units.
The integrated units implemented in the form of software functional units described above may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform part of the steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional modules is illustrated, and in practical application, the above-described functional allocation may be performed by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to perform all or part of the functions described above. The specific working process of the above-described device may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It is to be understood that the invention is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (8)

1. A cluster-based task scheduling method, comprising:
the method comprises the steps that a server in a cluster regularly sends a synchronous scheduling request to a temporary registry according to a communication address of the temporary registry bound in local system configuration information, wherein the synchronous scheduling request comprises the communication address of the server and is used for synchronizing the system configuration information and task configuration information of the temporary registry from the temporary registry;
the server receives system configuration information and task configuration information fed back by the temporary registration center; the task configuration information is that the temporary registration center stores task configuration information of a new task included in a new task adding instruction in the temporary registration center, and the task configuration information at least includes a communication address of an execution machine of the new task;
the server updates local system configuration information and task configuration information according to the received system configuration information and task configuration information;
the temporary registration center is any server in the cluster;
the server updates the local system configuration information and task configuration information according to the received system configuration information and task configuration information, and then further comprises:
The server judges whether the communication address of the executing machine for executing the task is matched with the communication address of the executing machine according to the local task configuration information;
and if the communication address of the executing machine of the task to be executed is matched with the communication address of the executing machine, the server executes the task to be executed.
2. The method according to claim 1, wherein the method further comprises:
when detecting that the temporary registration center fails, the server deletes the communication address of the temporary registration center from the local system configuration information;
the server adopts a preset selection algorithm according to all server communication addresses in the local system configuration information to determine one of the server communication addresses as a communication address of a new temporary registration center;
if the communication address of the new temporary registration center is consistent with the communication address of the server, the server updates the communication address of the temporary registration center bound in the local system configuration information into the communication address of the server;
the server synchronizes the local system configuration information to other servers in the cluster.
3. A cluster-based task scheduling method, comprising:
A temporary registration center of a cluster receives a synchronous scheduling request sent by a server in the cluster at regular time, wherein the synchronous scheduling request comprises a communication address of the server, and the synchronous scheduling request is used for synchronizing system configuration information and task configuration information of the temporary registration center from the temporary registration center;
the temporary registration center extracts the communication address of the server from the synchronous scheduling request and updates local system configuration information according to the communication address of the server;
the temporary registration center feeds back the local system configuration information and task configuration information to the server so that the server judges whether the communication address of an executing machine for executing the task is matched with the communication address of the executing machine according to the local task configuration information; if the communication address of the executing machine of the task to be executed is matched with the communication address of the executing machine, the server executes the task to be executed;
the communication addresses of temporary registries are bound in the system configuration information of all servers in the cluster, wherein the temporary registries are any server in the cluster;
the temporary registration center receives a new task adding instruction, wherein the new task adding instruction comprises task configuration information of a new task, and the task configuration information at least comprises a communication address of an execution machine of the new task;
And the temporary registration center stores the task configuration information of the new task into the local task configuration information.
4. A method according to claim 3, characterized in that the method further comprises:
the temporary registration center receives an adding instruction of a timing frequency modification task, wherein the adding instruction of the timing frequency modification task comprises task configuration information of the timing frequency modification task, and the task configuration information of the timing frequency modification task comprises a communication address of an execution machine of the timing frequency modification task;
and the temporary registration center stores the task configuration information of the timing frequency modification task into local task configuration information.
5. A cluster-based task scheduling device, comprising:
a sending module, configured to send, by a server in a cluster, a synchronous scheduling request to a temporary registry periodically according to a communication address of the temporary registry bound in local system configuration information, so that the temporary registry extracts the communication address of the server from the synchronous scheduling request, and updates the local system configuration information according to the communication address of the server, where the synchronous scheduling request includes the communication address of the server, and the synchronous scheduling request is used to synchronize, from the temporary registry, the system configuration information and the task configuration information of the temporary registry;
The receiving module is used for receiving the system configuration information and the task configuration information fed back by the temporary registration center by the server; the task configuration information is that the temporary registration center stores task configuration information of a new task included in a new task adding instruction in the temporary registration center, and the task configuration information at least includes a communication address of an execution machine of the new task;
the scheduling processing module is used for updating the local system configuration information and task configuration information according to the received system configuration information and task configuration information by the server;
the temporary registration center is any server in the cluster;
the scheduling processing module is further used for judging whether the communication address of the execution machine for executing the task is matched with the communication address of the execution machine according to the local task configuration information by the server; and if the communication address of the executing machine of the task to be executed is matched with the communication address of the executing machine, the server executes the task to be executed.
6. A cluster-based task scheduling device, comprising:
the system comprises a receiving module, a temporary registration center of a cluster and a task configuration module, wherein the receiving module is used for receiving a synchronous scheduling request which is sent by a server in the cluster at regular time, the synchronous scheduling request comprises a communication address of the server, and the synchronous scheduling request is used for synchronizing system configuration information and task configuration information of the temporary registration center from the temporary registration center;
The scheduling configuration module is used for extracting the communication address of the server from the synchronous scheduling request by the temporary registration center and updating local system configuration information according to the communication address of the server;
the feedback module is used for feeding back the local system configuration information and the task configuration information to the server by the temporary registration center so that the server can judge whether the communication address of the execution machine for executing the task is matched with the communication address of the execution machine according to the local task configuration information; if the communication address of the executing machine of the task to be executed is matched with the communication address of the executing machine, the server executes the task to be executed;
the communication addresses of temporary registries are bound in the system configuration information of all servers in the cluster, wherein the temporary registries are any server in the cluster;
the scheduling configuration module is further configured to: the temporary registration center receives a new task adding instruction, wherein the new task adding instruction comprises task configuration information of a new task, and the task configuration information at least comprises a communication address of an execution machine of the new task; the temporary registration center stores the task configuration information of the new task into the local task configuration information.
7. A server in a cluster, comprising:
a memory, a processor, and a computer program stored on the memory and executable on the processor;
wherein the processor, when running the computer program, implements the method according to any of claims 1-4.
8. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program which, when executed by a processor, implements the method according to any of claims 1-4.
CN201910579193.3A 2019-06-28 2019-06-28 Cluster-based task scheduling method, device, equipment and readable storage medium Active CN112153093B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910579193.3A CN112153093B (en) 2019-06-28 2019-06-28 Cluster-based task scheduling method, device, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910579193.3A CN112153093B (en) 2019-06-28 2019-06-28 Cluster-based task scheduling method, device, equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN112153093A CN112153093A (en) 2020-12-29
CN112153093B true CN112153093B (en) 2024-04-16

Family

ID=73891454

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910579193.3A Active CN112153093B (en) 2019-06-28 2019-06-28 Cluster-based task scheduling method, device, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN112153093B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113238735A (en) * 2021-05-27 2021-08-10 欧冶云商股份有限公司 Project delivery task creation method, platform and system capable of defining flow

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102255752A (en) * 2011-06-30 2011-11-23 北京新媒传信科技有限公司 Configuration management system and method of server cluster
CN103581276A (en) * 2012-08-09 2014-02-12 北京亿赞普网络技术有限公司 Cluster management device and system, service client side and corresponding method
CN105450757A (en) * 2015-12-02 2016-03-30 联动优势电子商务有限公司 Service management method and system
CN105515759A (en) * 2015-11-27 2016-04-20 国网信息通信产业集团有限公司 Micro service registration method and micro service registration system
CN108762949A (en) * 2018-05-21 2018-11-06 招银云创(深圳)信息技术有限公司 Centralized dispatching method, system, computer equipment and storage medium
CN109189856A (en) * 2018-08-15 2019-01-11 中国联合网络通信集团有限公司 Distributed data base service management, device, server and storage medium
CN109412853A (en) * 2018-10-31 2019-03-01 中国建设银行股份有限公司 Distributed Services register storage method, system, device and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102255752A (en) * 2011-06-30 2011-11-23 北京新媒传信科技有限公司 Configuration management system and method of server cluster
CN103581276A (en) * 2012-08-09 2014-02-12 北京亿赞普网络技术有限公司 Cluster management device and system, service client side and corresponding method
CN105515759A (en) * 2015-11-27 2016-04-20 国网信息通信产业集团有限公司 Micro service registration method and micro service registration system
CN105450757A (en) * 2015-12-02 2016-03-30 联动优势电子商务有限公司 Service management method and system
CN108762949A (en) * 2018-05-21 2018-11-06 招银云创(深圳)信息技术有限公司 Centralized dispatching method, system, computer equipment and storage medium
CN109189856A (en) * 2018-08-15 2019-01-11 中国联合网络通信集团有限公司 Distributed data base service management, device, server and storage medium
CN109412853A (en) * 2018-10-31 2019-03-01 中国建设银行股份有限公司 Distributed Services register storage method, system, device and storage medium

Also Published As

Publication number Publication date
CN112153093A (en) 2020-12-29

Similar Documents

Publication Publication Date Title
CN109491776B (en) Task arranging method and system
CN113296792B (en) Storage method, device, equipment, storage medium and system
CN107291750B (en) Data migration method and device
CN109309693B (en) Multi-service system based on docker, deployment method, device, equipment and storage medium
CN109451088A (en) A kind of data access method and device
CN108089913B (en) Virtual machine deployment method of super-fusion system
CN113037794B (en) Method, device and system for computing resource allocation scheduling
CN107741852B (en) Service deployment method based on cluster software
CN110990047A (en) Fusion method and device for multiple microservice architectures
CN111880936A (en) Resource scheduling method and device, container cluster, computer equipment and storage medium
CN111045745A (en) Method and system for managing configuration information
CN113347037B (en) Data center access method and device
CN110933160A (en) Data access method, server, terminal and storage medium
CN110391940A (en) Response method, device, system, equipment and the storage medium of address of service
CN111835862A (en) Method for realizing reference flow type deployment object storage back-end service
CN112698847A (en) Deployment method, device and system of cloud application
CN101308467A (en) Task processing method and device
CN112153093B (en) Cluster-based task scheduling method, device, equipment and readable storage medium
CN111404978A (en) Data storage method and cloud storage system
CN112181049B (en) Cluster time synchronization method, device, system, equipment and readable storage medium
CN113268254A (en) Cluster system installation method and device, electronic equipment and storage medium
CN111756800A (en) Method and system for processing burst flow
CN107623705B (en) Storage mode upgrading method, device and system based on video cloud storage system
CN109005071B (en) Decision deployment method and scheduling equipment
CN114172903B (en) Node capacity expansion method, device, equipment and medium of slm scheduling system

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