A distributed scheduling method, system, computer device and storage medium

By specifying roaming dispatchers in the distributed cluster dispatching system, the dispatching terminals are centralized to the roaming dispatchers to form a distributed dispatching work group, which solves the problem of interactive signaling and load increase between dispatchers, and realizes simplified distributed dispatching. and load reduction.

CN115379583BActive Publication Date: 2024-10-22BEIJING QISHAN CHUANGZHI TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211042877.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-29
Publication Date
2024-10-22
Estimated Expiration
2042-08-29

AI Technical Summary

Technical Problem

In the existing distributed cluster scheduling system, a large amount of signaling and business data need to be exchanged between schedulers, resulting in an increase in network load, and scheduling operations are implemented by lower-level schedulers. In extreme cases, the participation of all schedulers causes the load to double.

Method used

Specify the roaming scheduler through the distributed scheduling management server, pull each scheduling terminal to the roaming scheduler, form a scheduling work group across multiple schedulers, realize distributed scheduling, disband the work group after the task is completed, and simplify the interaction between schedulers. Reduce network load.

Benefits of technology

It realizes distributed scheduling across schedulers, reduces interactions between schedulers, reduces network load, simplifies scheduler functions, and avoids bandwidth requirements and complex signaling interactions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115379583B_ABST
    Figure CN115379583B_ABST
Patent Text Reader

Abstract

The present invention discloses a distributed scheduling method. Through the distributed scheduling management server interconnected with all scheduling machines, a certain scheduling machine can be designated as a roaming scheduling machine, and the scheduling terminals under each scheduling machine can be pulled to the roaming scheduling machine to form a scheduling work group across multiple scheduling machines to realize distributed scheduling. The distributed scheduling management server function is very simple and does not need to have the scheduling command function of the scheduling machine. The scheduling command function is realized on the scheduling machine and the scheduling terminal, including the scheduling desk. In the present invention, each scheduling machine is completely parallel and independent, and any scheduling machine can be a roaming scheduling machine; each scheduling machine manages its subordinate scheduling terminals, and the scheduling machine function is simple; no interactive information is required between each other, and distributed scheduling is realized on the roaming scheduling machine. The host scheduling machine does not participate in the distributed scheduling service, and only has the signaling overhead of notifying the scheduling terminal belonging to itself to register with the roaming scheduling machine or unregister from the roaming scheduling machine, and the load increase can be ignored.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of distributed scheduling technology, and in particular to a distributed scheduling method, system, computer device and storage medium. Background Art

[0002] The cluster dispatch system refers to a dedicated dispatch system in which multiple departments and users share communication channels. It is referred to as the cluster system. It is suitable for multi-field, cross-regional, multi-department, large-scale collaborative dispatch and command such as production dispatch, emergency communication, and military command. The core of the cluster dispatch system is the dispatch machine. The dispatch software running on the dispatch machine can realize the collaborative dispatch of multiple terminals. The application of cluster dispatch is quite special. Most cluster dispatch systems are deployed as single nodes. A dispatch machine is deployed in a closed area or unit to realize the dispatch and command of various terminals in the unit and the area. When distributed dispatch is required, by adding a large-capacity dispatch machine, each subordinate unit or cooperative unit connects its own exclusive dispatch machine to the newly added large-capacity dispatch machine to form a star-shaped dispatch machine network. The newly added large-capacity dispatch machine is the upper-level dispatch machine, which can dispatch the users of the lower-level dispatch machines. Some dispatch machines also support interconnection between dispatch machines at the same level to form a mesh network. Whether it is a star network structure or a mesh network structure, dispatch machines realize dispatch machine resource and message synchronization through interfaces.

[0003] Existing distributed cluster scheduling systems all adopt the solution of interconnecting scheduling machines. The biggest feature of this solution is that scheduling machines are interconnected, and complex protocols need to be defined to realize resource sharing, message synchronization and routing calculation between scheduling machines. When the upper-level scheduling machine schedules a user, it needs to notify the lower-level scheduling machine where the user is located. The lower-level scheduling machine actually implements the scheduling of the user. It is necessary to design a complex interface definition between scheduling machines, and the scheduling machine is complex to implement. At the same time, a large amount of interactive signaling and business data is required between scheduling machines, and sufficient bandwidth is required between scheduling machines. In addition, since users actually belong to each scheduling machine, the actual scheduling operation is implemented by each lower-level scheduling machine. In fact, more scheduling is actually implemented by each lower-level scheduling machine. In extreme cases, all scheduling machines in the network participate at the same time, and all scheduling machines increase the load. If there are multiple scheduling groups, the load of the scheduling machines in the network will increase exponentially. Summary of the invention

[0004] Based on this, in order to solve the above technical problems, a distributed scheduling method, system, computer device and storage medium are provided, which can realize distributed scheduling across scheduling machines through multiple registrations of scheduling terminals, replacing the complex signaling and business interactions between scheduling machines.

[0005] In a first aspect, a distributed scheduling method is provided, the method comprising:

[0006] receiving a first instruction sent by a client, and selecting a dispatcher from a dispatcher group as a roaming dispatcher for this hierarchical scheduling; and all dispatchers in the dispatcher group except the roaming dispatcher are used as host dispatchers;

[0007] receiving a second instruction sent by the client, and establishing a scheduling work group consisting of a plurality of scheduling terminals, wherein the plurality of scheduling terminals respectively belong to the roaming scheduling machine and at least one of the host scheduling machines;

[0008] Send notification information to each host dispatcher according to the established dispatching work group, wherein the notification information includes: information of the roaming dispatcher and information of all dispatching terminals in the dispatching work group; each host dispatcher sends the notification information to the dispatching terminals in the dispatching work group, and notifies the dispatching terminals in the dispatching work group to register and log in on the roaming dispatcher, and the dispatching terminals in the dispatching work group complete the registration and login on the roaming dispatcher;

[0009] receiving a third instruction sent by the client, and sending the third instruction to the roaming scheduling machine, the roaming scheduling machine scheduling the scheduling terminal in the scheduling work group according to the third instruction to complete the scheduling; wherein the third instruction is the scheduling terminal information to be scheduled by the client;

[0010] The fourth instruction sent by the client is received to disband the scheduling work group, and the disbanding scheduling work group information is sent to each host scheduling machine. The scheduling terminals in the scheduling work group log out from the roaming scheduling machine, and the current scheduling ends.

[0011] In the above scheme, optionally, the information of the roaming dispatcher includes the name and IP address of the roaming dispatcher, and the information of all dispatch terminals in the dispatching workgroup includes the names of all dispatch terminals in the dispatching workgroup.

[0012] In the above solution, further optionally, the roaming dispatcher is one or more

[0013] In the above scheme, it is further optional that the disbanding scheduling workgroup information is sent to each host scheduling machine, and the scheduling terminals in the scheduling workgroup log out of the roaming scheduling machine. Specifically, after each host scheduling machine receives the disbanding scheduling workgroup information, it sends the disbanding scheduling workgroup information to the scheduling terminals under each host scheduling machine, and the scheduling terminals under each host scheduling machine log out of the roaming scheduling machine, wherein the scheduling terminals under each host scheduling machine are the scheduling terminals in the scheduling workgroup.

[0014] In a second aspect, a distributed scheduling system is provided, the system comprising:

[0015] Client: used to receive user operation instructions and forward them to the distributed scheduling management server;

[0016] Distributed scheduling management server: used to receive instructions sent by the client, select a roaming scheduling machine, establish a scheduling work group, or disband a scheduling work group;

[0017] Roaming dispatcher: used to receive the first notification information sent by the distributed dispatch management server, establish a connection with the dispatch terminal in the dispatch work group, receive the dispatch operator's instructions, and complete the dispatch work of each terminal according to the dispatch instructions;

[0018] The host dispatcher is used to receive the second notification information sent by the distributed dispatch management server, and instruct the dispatching terminals in the dispatching work group to complete the registration and login on the roaming dispatcher or the dispatching terminals in the dispatching work group to log out from the roaming dispatcher according to the second notification information;

[0019] Dispatching terminal: used to receive instruction information from the host dispatching machine and complete registration and login or logout at the roaming dispatching machine;

[0020] The distributed scheduling management server is specifically used for:

[0021] receiving a first instruction sent by a client, and selecting a dispatcher from a dispatcher group as a roaming dispatcher for this hierarchical scheduling; and all dispatchers in the dispatcher group except the roaming dispatcher are used as host dispatchers;

[0022] receiving a second instruction sent by the client, and establishing a scheduling work group consisting of a plurality of scheduling terminals, wherein the plurality of scheduling terminals respectively belong to the roaming scheduling machine and at least one of the host scheduling machines;

[0023] Send notification information to each host dispatcher according to the established dispatching work group, wherein the notification information includes: information of the roaming dispatcher and information of all dispatching terminals in the dispatching work group; each host dispatcher sends the notification information to the dispatching terminals in the dispatching work group, and notifies the dispatching terminals in the dispatching work group to register and log in on the roaming dispatcher, and the dispatching terminals in the dispatching work group complete the registration and login on the roaming dispatcher;

[0024] receiving a third instruction sent by the client, and sending the third instruction to the roaming scheduling machine, the roaming scheduling machine scheduling the scheduling terminal in the scheduling work group according to the third instruction to complete the scheduling; wherein the third instruction is the scheduling terminal information to be scheduled by the client;

[0025] The fourth instruction sent by the client is received to disband the scheduling work group, and the disbanding scheduling work group information is sent to each host scheduling machine. The scheduling terminals in the scheduling work group log out from the roaming scheduling machine, and the current scheduling ends.

[0026] In a third aspect, a computer device includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0027] receiving a first instruction sent by a client, and selecting a dispatcher from a dispatcher group as a roaming dispatcher for this hierarchical scheduling; and all dispatchers in the dispatcher group except the roaming dispatcher are used as host dispatchers;

[0028] receiving a second instruction sent by the client, and establishing a scheduling work group consisting of a plurality of scheduling terminals, wherein the plurality of scheduling terminals respectively belong to the roaming scheduling machine and at least one of the host scheduling machines;

[0029] Send notification information to each host dispatcher according to the established dispatching work group, wherein the notification information includes: information of the roaming dispatcher and information of all dispatching terminals in the dispatching work group; each host dispatcher sends the notification information to the dispatching terminals in the dispatching work group, and notifies the dispatching terminals in the dispatching work group to register and log in on the roaming dispatcher, and the dispatching terminals in the dispatching work group complete the registration and login on the roaming dispatcher;

[0030] receiving a third instruction sent by the client, and sending the third instruction to the roaming scheduling machine, the roaming scheduling machine scheduling the scheduling terminal in the scheduling work group according to the third instruction to complete the scheduling; wherein the third instruction is the scheduling terminal information to be scheduled by the client;

[0031] The fourth instruction sent by the client is received to disband the scheduling work group, and the disbanding scheduling work group information is sent to each host scheduling machine. The scheduling terminals in the scheduling work group log out from the roaming scheduling machine, and the current scheduling ends.

[0032] In a fourth aspect, a computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the following steps are implemented:

[0033] receiving a first instruction sent by a client, and selecting a dispatcher from a dispatcher group as a roaming dispatcher for this hierarchical scheduling; and all dispatchers in the dispatcher group except the roaming dispatcher are used as host dispatchers;

[0034] receiving a second instruction sent by the client, and establishing a scheduling work group consisting of a plurality of scheduling terminals, wherein the plurality of scheduling terminals respectively belong to the roaming scheduling machine and at least one of the host scheduling machines;

[0035] Send notification information to each host dispatcher according to the established dispatching work group, wherein the notification information includes: information of the roaming dispatcher and information of all dispatching terminals in the dispatching work group; each host dispatcher sends the notification information to the dispatching terminals in the dispatching work group, and notifies the dispatching terminals in the dispatching work group to register and log in on the roaming dispatcher, and the dispatching terminals in the dispatching work group complete the registration and login on the roaming dispatcher;

[0036] receiving a third instruction sent by the client, and sending the third instruction to the roaming scheduling machine, the roaming scheduling machine scheduling the scheduling terminal in the scheduling work group according to the third instruction to complete the scheduling; wherein the third instruction is the scheduling terminal information to be scheduled by the client;

[0037] The fourth instruction sent by the client is received to disband the scheduling work group, and the disbanding scheduling work group information is sent to each host scheduling machine. The scheduling terminals in the scheduling work group log out from the roaming scheduling machine, and the current scheduling ends.

[0038] The present invention has at least the following beneficial effects:

[0039] Based on further analysis and research of the existing technical problems, the present invention recognizes that a large amount of interactive signaling and business data are required between existing dispatching machines, and sufficient bandwidth is required between dispatching machines. Since users actually belong to various dispatching machines, the actual dispatching operation is implemented by each lower-level dispatching machine. One dispatch is more actually the specific dispatching implemented by each lower-level dispatching machine. In extreme cases, all dispatching machines in the network participate at the same time, and all dispatching machines increase the load. If there are multiple dispatching groups, the load of the dispatching machines in the network will increase exponentially. The present invention interconnects all dispatching machines through a distributed dispatching management server, and can designate a certain dispatching machine as a roaming dispatching machine, pull the dispatching terminals under each dispatching machine to the roaming dispatching machine, form a dispatching work group across multiple dispatching machines, and realize distributed dispatching. The dispatching work group is disbanded after the task is completed. The function of the distributed dispatching management server is very simple, and it does not need to have the dispatching command function of the dispatching machine. The dispatching command function is implemented on the dispatching machine and the dispatching terminal, including the dispatching desk. The various dispatchers of the present invention are completely parallel and independent, and any dispatcher can be used as a roaming dispatcher; each dispatcher manages its subordinate dispatching terminals, and the dispatcher functions are simple; no interactive information is required between them, and there is no bandwidth requirement; distributed scheduling is implemented on the roaming dispatcher, and the host dispatcher does not participate in the distributed scheduling service. There is only the signaling overhead of notifying the dispatching terminal belonging to it to register with the roaming dispatcher or to deregister from the roaming dispatcher, and the load increase can be ignored. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1A schematic diagram of a distributed scheduling method according to an embodiment of the present invention;

[0041] Figure 2 A block diagram of the module architecture of a distributed scheduling system provided by an embodiment of the present invention;

[0042] Figure 3 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0043] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0044] In one embodiment, Figure 1 As shown, a distributed scheduling method is provided, comprising the following steps:

[0045] receiving a first instruction sent by a client, and selecting a dispatcher from a dispatcher group as a roaming dispatcher for this hierarchical scheduling; and all dispatchers in the dispatcher group except the roaming dispatcher are used as host dispatchers;

[0046] receiving a second instruction sent by the client, and establishing a scheduling work group consisting of a plurality of scheduling terminals, wherein the plurality of scheduling terminals respectively belong to the roaming scheduling machine and at least one of the host scheduling machines;

[0047] Send notification information to each host dispatcher according to the established dispatching work group, wherein the notification information includes: information of the roaming dispatcher and information of all dispatching terminals in the dispatching work group; each host dispatcher sends the notification information to the dispatching terminals in the dispatching work group, and notifies the dispatching terminals in the dispatching work group to register and log in on the roaming dispatcher, and the dispatching terminals in the dispatching work group complete the registration and login on the roaming dispatcher;

[0048] receiving a third instruction sent by the client, and sending the third instruction to the roaming scheduling machine, the roaming scheduling machine scheduling the scheduling terminal in the scheduling work group according to the third instruction to complete the scheduling; wherein the third instruction is the scheduling terminal information to be scheduled by the client;

[0049] The fourth instruction sent by the client is received to disband the scheduling work group, and the disbanding scheduling work group information is sent to each host scheduling machine. The scheduling terminals in the scheduling work group log out from the roaming scheduling machine, and the current scheduling ends.

[0050] The information of the roaming dispatcher includes the name and IP address of the roaming dispatcher, and the information of all dispatching terminals in the dispatching work group includes the names of all dispatching terminals in the dispatching work group.

[0051] There are one or more roaming dispatchers.

[0052] Among them, the distributed scheduling management server is interconnected with all scheduling machines; the roaming scheduling machine is any scheduling machine managed by the distributed scheduling management server, the N host scheduling machines are N scheduling machines managed by the distributed scheduling management server, and there is at least one roaming scheduling machine. The disbanding scheduling workgroup information is sent to each host scheduling machine, and the scheduling terminals in the scheduling workgroup log out from the roaming scheduling machine. Specifically, after receiving the disbanding scheduling workgroup information, each host scheduling machine sends the disbanding scheduling workgroup information to the scheduling terminals under each host scheduling machine, and the scheduling terminals under each host scheduling machine log out from the roaming scheduling machine, wherein the scheduling terminals under each host scheduling machine are the scheduling terminals in the scheduling workgroup.

[0053] In this embodiment, the roaming dispatcher and the host dispatcher are both common dispatchers, with the same structure and function, and completely equal roles, which are called dispatcher groups. The distributed dispatch management server implements the configuration management of dispatchers and hierarchical dispatching, including establishing / modifying / deleting dispatchers and distributed dispatching groups. The distributed dispatching implementation method of this embodiment is as follows:

[0054] (1) The operator selects a dispatcher from the dispatcher group through the client as the roaming dispatcher for this hierarchical dispatch. Usually, the dispatcher in the operator's own area / unit is selected as the roaming dispatcher, but there is no restriction on which one to select as the roaming dispatcher. Therefore, any dispatcher from the dispatcher group can be selected as the roaming dispatcher.

[0055] (2) The operator establishes a scheduling workgroup on the distributed scheduling management server. The scheduling workgroup is composed of scheduling terminals under several scheduling machines. The role of these scheduling machines is the host scheduling machine. If the established scheduling workgroup also includes the scheduling terminals under the roaming scheduling machine specified in (1), the roaming scheduling machine is also the host scheduling machine.

[0056] (3) After the scheduling work group is established, the distributed scheduling management server notifies each host scheduling machine that the scheduling work group has been established. The notification message includes the name and IP address of the roaming scheduling machine and the scheduling terminals in the scheduling work group.

[0057] (4) After receiving the notification of establishing a scheduling work group from the distributed scheduling management server, each host scheduling machine issues a notification message to its subordinate scheduling terminal, informing the scheduling terminal to register on the roaming scheduling machine.

[0058] (5) After receiving the notification message from the host dispatcher, the dispatching terminal registers on the roaming dispatcher while maintaining the registration status of the original host dispatcher. In this way, the dispatching terminal is registered on both the host dispatcher and the roaming dispatcher at the same time. The terminal can be scheduled by both the host dispatcher and the roaming dispatcher at the same time, thereby realizing distributed scheduling across dispatchers.

[0059] (6) After the operator completes the task of the scheduling work group on the roaming scheduling machine through the distributed scheduling management server, the operator disbands the scheduling work group through the distributed scheduling management server, and the distributed scheduling management server sends a disbanding work group message to each host scheduling machine.

[0060] (7) The host dispatcher forwards the work group disbanding message to the dispatching terminal, and the dispatching terminal logs out of the roaming dispatcher. After all the terminals participating in the hierarchical scheduling log out of the roaming dispatcher, the hierarchical scheduling ends.

[0061] In this embodiment, each dispatcher is completely parallel and independent, and any dispatcher can be a roaming dispatcher; each dispatcher manages its subordinate dispatching terminal, and the dispatcher function is simple; no interactive information is required between each other, and there is no bandwidth requirement; distributed scheduling is implemented on the roaming dispatcher, and the host dispatcher does not participate in the distributed scheduling service. There is only the signaling overhead of notifying the dispatching terminal belonging to itself to register with the roaming dispatcher or to deregister from the roaming dispatcher, and the load increase can be ignored. The distributed scheduling management server is interconnected with all dispatchers, and can designate a certain dispatcher as a roaming dispatcher, pull the dispatching terminals under each dispatcher to the roaming dispatcher, form a scheduling work group across multiple dispatchers, and realize distributed scheduling. The scheduling work group is disbanded after the task is completed. The function of the distributed scheduling management server is very simple, and it does not need to have the scheduling command function of the dispatcher. The scheduling command function is implemented on the dispatcher and the dispatching terminal, including the dispatching desk. In addition to registering with the host dispatcher, the dispatching terminal is also registered with the roaming dispatcher. Distributed scheduling across dispatchers is realized through multiple registrations of the terminal. According to needs, there can be multiple roaming dispatchers in the system, and the dispatching terminal is registered with multiple roaming dispatchers to meet the needs of multiple scheduling work groups. Distributed scheduling across dispatchers is achieved through multiple registrations of dispatch terminals, replacing the complex signaling and business interactions between dispatchers; each dispatcher is independent and parallel, and has completely equal functions; no interactive messages are required between dispatchers, reducing system complexity, and there is no bandwidth requirement between dispatchers; the distributed dispatch management server has simple functions and does not require scheduling functions. It only needs to designate a dispatcher as a roaming dispatcher and notify users under each host dispatcher to register with the roaming dispatcher to achieve distributed scheduling; the terminal registers on multiple dispatchers according to the management requirements of the dispatch management server to achieve distributed scheduling across dispatchers.

[0062] It should be understood that although Figure 1 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.

[0063] In one embodiment, Figure 2 As shown, a distributed scheduling system is provided, including the following program modules:

[0064] Client: used to receive user operation instructions and forward them to the distributed scheduling management server;

[0065] Distributed scheduling management server: used to receive instructions sent by the client, select a roaming scheduling machine, establish a scheduling work group, or disband a scheduling work group;

[0066] Roaming dispatcher: used to receive the first notification information sent by the distributed dispatch management server, establish a connection with the dispatch terminal in the dispatch work group, receive the dispatch operator's instructions, and complete the dispatch work of each terminal according to the dispatch instructions;

[0067] The host dispatcher is used to receive the second notification information sent by the distributed dispatch management server, and instruct the dispatching terminals in the dispatching work group to complete the registration and login on the roaming dispatcher or the dispatching terminals in the dispatching work group to log out from the roaming dispatcher according to the second notification information;

[0068] Dispatching terminal: used to receive instruction information from the host dispatching machine and complete registration and login or logout at the roaming dispatching machine;

[0069] The distributed scheduling management server is specifically used for:

[0070] receiving a first instruction sent by a client, and selecting a dispatcher from a dispatcher group as a roaming dispatcher for this hierarchical scheduling; and all dispatchers in the dispatcher group except the roaming dispatcher are used as host dispatchers;

[0071] receiving a second instruction sent by the client, and establishing a scheduling work group consisting of a plurality of scheduling terminals, wherein the plurality of scheduling terminals respectively belong to the roaming scheduling machine and at least one of the host scheduling machines;

[0072] Send notification information to each host dispatcher according to the established dispatching work group, wherein the notification information includes: information of the roaming dispatcher and information of all dispatching terminals in the dispatching work group; each host dispatcher sends the notification information to the dispatching terminals in the dispatching work group, and notifies the dispatching terminals in the dispatching work group to register and log in on the roaming dispatcher, and the dispatching terminals in the dispatching work group complete the registration and login on the roaming dispatcher;

[0073] receiving a third instruction sent by the client, and sending the third instruction to the roaming scheduling machine, the roaming scheduling machine scheduling the scheduling terminal in the scheduling work group according to the third instruction to complete the scheduling; wherein the third instruction is the scheduling terminal information to be scheduled by the client;

[0074] The fourth instruction sent by the client is received to disband the scheduling work group, and the disbanding scheduling work group information is sent to each host scheduling machine. The scheduling terminals in the scheduling work group log out from the roaming scheduling machine, and the current scheduling ends.

[0075] The system includes a distributed dispatch management server, several dispatch machines and dispatch terminals involved in dispatch. The dispatch desk is also a dispatch terminal, usually with a large-size touch screen and a handset, suitable for seat operation.

[0076] For the specific definition of the distributed scheduling system, please refer to the definition of the distributed scheduling method above, which will not be repeated here. Each module in the above-mentioned distributed scheduling system can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0077] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 3As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input system connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a distributed scheduling method is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input system of the computer device can be a touch layer covered on the display screen, or a button, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.

[0078] Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0079] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, which involves all or part of the processes in the above-mentioned embodiment method.

[0080] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which involves all or part of the processes in the above-mentioned embodiment method.

[0081] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0082] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0083] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A distributed scheduling method, characterized in that: The execution subject is a distributed scheduling management server, and the method includes: receiving a first instruction sent by a client, and selecting a dispatcher from a dispatcher group as a roaming dispatcher for this hierarchical scheduling; and all dispatchers in the dispatcher group except the roaming dispatcher are used as host dispatchers; receiving a second instruction sent by the client, and establishing a scheduling work group consisting of a plurality of scheduling terminals, wherein the plurality of scheduling terminals respectively belong to the roaming scheduling machine and at least one of the host scheduling machines; Send notification information to each host dispatcher according to the established dispatching work group, wherein the notification information includes: information of the roaming dispatcher and information of all dispatching terminals in the dispatching work group; each host dispatcher sends the notification information to the dispatching terminals in the dispatching work group, and notifies the dispatching terminals in the dispatching work group to register and log in on the roaming dispatcher, and the dispatching terminals in the dispatching work group complete the registration and login on the roaming dispatcher; receiving a third instruction sent by the client, and sending the third instruction to the roaming scheduling machine, the roaming scheduling machine scheduling the scheduling terminal in the scheduling work group according to the third instruction to complete the scheduling; wherein the third instruction is the scheduling terminal information to be scheduled by the client; The fourth instruction sent by the client is received to disband the scheduling work group, and the disbanding scheduling work group information is sent to each host scheduling machine. The scheduling terminals in the scheduling work group log out from the roaming scheduling machine, and the current scheduling ends.

2. The method according to claim 1, characterized in that The information of the roaming dispatcher includes the name and IP address of the roaming dispatcher, and the information of all dispatch terminals in the dispatching work group includes the names of all dispatch terminals in the dispatching work group.

3. The method according to claim 1, characterized in that The number of the roaming dispatcher is one or more.

4. The method according to claim 1, characterized in that The disbanding scheduling workgroup information is sent to each host scheduling machine, and the scheduling terminals in the scheduling workgroup log out from the roaming scheduling machine. Specifically, after receiving the disbanding scheduling workgroup information, each host scheduling machine sends the disbanding scheduling workgroup information to the scheduling terminals under each host scheduling machine, and the scheduling terminals under each host scheduling machine log out from the roaming scheduling machine, wherein the scheduling terminals under each host scheduling machine are the scheduling terminals in the scheduling workgroup.

5. A distributed scheduling system, characterized in that: The system comprises: Client: used to receive user operation instructions and forward them to the distributed scheduling management server; Distributed scheduling management server: used to receive instructions sent by the client, select a roaming scheduling machine, establish a scheduling work group, or disband a scheduling work group; Roaming dispatcher: used to receive the first notification information sent by the distributed dispatch management server, establish a connection with the dispatch terminal in the dispatch work group, receive the dispatch operator's instructions, and complete the dispatch work of each terminal according to the dispatch instructions; The host dispatcher is used to receive the second notification information sent by the distributed dispatch management server, and instruct the dispatching terminals in the dispatching work group to complete the registration and login on the roaming dispatcher or the dispatching terminals in the dispatching work group to log out from the roaming dispatcher according to the second notification information; Dispatching terminal: used to receive instruction information from the host dispatching machine and complete registration and login or logout at the roaming dispatching machine; The distributed scheduling management server is specifically used for: receiving a first instruction sent by a client, and selecting a dispatcher from a dispatcher group as a roaming dispatcher for this hierarchical scheduling; and all dispatchers in the dispatcher group except the roaming dispatcher are used as host dispatchers; receiving a second instruction sent by the client, and establishing a scheduling work group consisting of a plurality of scheduling terminals, wherein the plurality of scheduling terminals respectively belong to the roaming scheduling machine and at least one of the host scheduling machines; Send notification information to each host dispatcher according to the established dispatching work group, wherein the notification information includes: information of the roaming dispatcher and information of all dispatching terminals in the dispatching work group; each host dispatcher sends the notification information to the dispatching terminals in the dispatching work group, and notifies the dispatching terminals in the dispatching work group to register and log in on the roaming dispatcher, and the dispatching terminals in the dispatching work group complete the registration and login on the roaming dispatcher; Receive a third instruction sent by the client, and send the third instruction to the roaming dispatcher, and the roaming dispatcher dispatches the dispatch terminals in the dispatch work group according to the third instruction to complete the dispatch; wherein the third instruction is the account information of the dispatch terminals to be dispatched by the client, the dispatch groups to which these dispatch terminals belong, and the authority and priority of each group; The fourth instruction sent by the client is received to disband the scheduling work group, and the disbanding scheduling work group information is sent to each host scheduling machine. The scheduling terminals in the scheduling work group log out from the roaming scheduling machine, and the current scheduling ends.

6. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 4 are implemented.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Scheduling method, training method of scheduling algorithm, related system and storage medium

    CN113286374A

  • Digit cluster communication system and method for supporting roaming

    CN1943253A

  • Method and system for scheduling multi-access edge computing resources

    US20200275313A1