CN114039962A - Node selection method, system, electronic device and storage medium - Google Patents

Node selection method, system, electronic device and storage medium Download PDF

Info

Publication number
CN114039962A
CN114039962A CN202111299444.6A CN202111299444A CN114039962A CN 114039962 A CN114039962 A CN 114039962A CN 202111299444 A CN202111299444 A CN 202111299444A CN 114039962 A CN114039962 A CN 114039962A
Authority
CN
China
Prior art keywords
node
task
scheduling layer
information
management unit
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.)
Withdrawn
Application number
CN202111299444.6A
Other languages
Chinese (zh)
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 Knownsec Information Technology Co Ltd
Original Assignee
Beijing Knownsec 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 Knownsec Information Technology Co Ltd filed Critical Beijing Knownsec Information Technology Co Ltd
Priority to CN202111299444.6A priority Critical patent/CN114039962A/en
Publication of CN114039962A publication Critical patent/CN114039962A/en
Withdrawn legal-status Critical Current

Links

Images

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/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting

Abstract

The embodiment of the application provides a node selection method, a system, electronic equipment and a storage medium, which relate to the field of cloud computing, wherein after a front-end interface receives a task issued by a target user, the task is configured according to task configuration information to obtain a configuration task, the configuration task is sent to a task management unit, then the task management unit splits the configuration task, the split configuration task is sent to a scheduling layer through a message queue unit, finally the scheduling layer receives the split configuration task sent by the task management unit and/or node information sent by the node management unit, selects a target node according to the split configuration task and/or node information, selects a node according to the configuration task or the condition of the node, can combine the two to select the node, and flexibly selects the node according to various modes, thereby allowing the node to adapt to different situations.

Description

Node selection method, system, electronic device and storage medium
Technical Field
The invention relates to the field of cloud computing, in particular to a node selection method, a node selection system, electronic equipment and a storage medium.
Background
SaaS (Software as a Service) is a mode for providing Software services via a network. With the development of internet technology and the maturity of application software, SaaS becomes a completely innovative software application mode. The SaaS platform supplier uniformly deploys the application software on the server of the SaaS platform supplier, a client can order the required application software service from a manufacturer through the Internet according to the actual working requirement, pay the cost to the manufacturer according to the ordered service and time, and obtain the service provided by the Saas platform supplier through the Internet.
In the Saas platform, the speed of accessing Vps (Virtual Private Server) affects the access speed of a website, and selection of Vps node is necessary before accessing Vps. In practical situations, the selection of the vps node in the Saas platform is fixed, so that great limitations exist, various resources in the server cannot be fully utilized, and corresponding help cannot be provided for a request.
Disclosure of Invention
The invention provides a node selection method, a system, an electronic device and a storage medium, which can select a proper vps node in a Saas platform.
In order to achieve the above purpose, the embodiments of the present application employ the following technical solutions:
in a first aspect, an embodiment of the present application provides a node selection method, which is applied to a management center, where the management center includes a front-end interface, a task management unit, a message queue unit, a node management unit, and a scheduling layer, where the front-end interface, the task management unit, and the message queue unit are sequentially connected to the scheduling layer, and the node management unit is connected to the scheduling layer, and the method includes:
the front-end interface receives a task issued by a target user;
the front-end interface configures the task according to task configuration information to obtain a configuration task, and sends the configuration task to the task management unit;
the task management unit splits the configuration task and sends the split configuration task to the scheduling layer through the message queue unit;
the node management unit sends node information to the scheduling layer;
and the scheduling layer receives the split configuration task and/or the node information and selects a target node according to the split configuration task and/or the node information.
Further, the step of the scheduling layer receiving the split configuration task and selecting a target node according to the split configuration task includes:
the scheduling layer receives the task geographic location;
determining a geographic location priority based on the task geographic location;
and selecting a target node according to the priority of the geographic position.
Further, the step of the scheduling layer receiving the split configuration task and selecting a target node according to the split configuration task further includes:
the scheduling layer receives the probing task;
and selecting a target node corresponding to the detection task according to the detection task.
Further, the node information includes node resource information, and the step of the scheduling layer receiving the node information and selecting a target node according to the node information includes:
the scheduling layer receives the node resource information, wherein the node resource information represents the release state of the node resources;
determining a resource selection priority based on the node resource information;
and selecting a target node according to the resource selection priority.
Further, the node information further includes a node state, and the step of the scheduling layer receiving the node information and selecting a target node according to the node information further includes:
the scheduling layer receives the node state;
determining a state selection priority based on the node state;
and selecting a target node according to the state selection priority.
Further, the node information further includes a node label, and the step of receiving the split configuration task and the node information by the scheduling layer and selecting a target node according to the split configuration task and the node information includes:
the scheduling layer receives the split configuration task and the node label;
and if the split configuration task has the node label, selecting a target node corresponding to the node label.
Further, the split configuration task includes a task geographical position and a detection task, the node information includes node resource information, a node state and a node label, and the scheduling layer receives the split configuration task and/or the node information and selects a target node according to the split configuration task and/or the node information, including:
and selecting a target node according to the sequence of the priority for user self-definition, the detection task, the task geographic position, the node state, the node resource information and the node label.
In a second aspect, an embodiment of the present application further provides a node selection system, where a management center includes a front-end interface, a task management unit, a message queue unit, a node management unit, and a scheduling layer, the front-end interface, the task management unit, the message queue unit, and the scheduling layer are sequentially connected, the node management unit is connected to the scheduling layer, and the system includes:
the front-end interface receives a task issued by a target user;
the front-end interface configures the task according to task configuration information to obtain a configuration task, and sends the configuration task to the task management unit;
the task management unit splits the configuration task and sends the split configuration task to the scheduling layer through the message queue unit;
the node management unit sends node information to the scheduling layer;
and the scheduling layer receives the split configuration task and/or the node information and selects a target node according to the split configuration task and/or the node information.
In a third aspect, an embodiment of the present application further provides an electronic device, including: a processor, a storage medium and a bus, wherein the storage medium stores program instructions executable by the processor, when an electronic device runs, the processor and the storage medium communicate with each other through the bus, and the processor executes the program instructions to execute the steps of the node selection method according to any one of the first aspect.
In a fourth aspect, an embodiment of the present application further provides a storage medium, where a computer program is stored on the storage medium, and when the computer program is executed by a processor, the steps of the node selection method according to any one of the first aspect are performed.
The embodiment of the application provides a node selection method, a system, an electronic device and a storage medium, wherein after a front-end interface receives a task issued by a target user, the task is configured according to task configuration information to obtain a configuration task, the configuration task is sent to a task management unit, then the task management unit splits the configuration task, the split configuration task is sent to a scheduling layer through a message queue unit, finally the scheduling layer receives the split configuration task sent by the task management unit and/or node information sent by the node management unit, selects a target node according to the split configuration task and/or node information, splits the configuration task to select the node by using the split configuration task, can select the node according to the condition of the node, and can also select the node by combining the two, the nodes are flexibly selected according to various modes, so that the appropriate nodes can be selected when different conditions are met.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 shows a schematic structural diagram of a management center provided in an embodiment of the present application.
Fig. 2 is a flowchart illustrating a node selection method according to an embodiment of the present application.
Fig. 3 shows a flowchart of step S150 in the node selection method according to the embodiment of the present application.
Fig. 4 shows another schematic flow chart of step S150 in the node selection method provided in the embodiment of the present application.
Fig. 5 is a schematic flowchart illustrating a step S150 in the node selection method according to the embodiment of the present application.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Icon: 100-a management center; 101-front end interface; 102-a task management unit; 103-message queue element; 104-node management unit; 105-a scheduling layer; 10-an electronic device; 11-a processor; 12-a memory; 13-bus.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the Saas (Software as a Service) platform, the speed of accessing vps (Virtual Private Server) affects the access speed of a website, and selection of vps nodes is necessary before accessing vps. In practical situations, the selection of the vps node of the Saas platform is fixed, but a server applied by the vps node faces a very complicated situation, and the selection of the fixed vps node has a very large limitation, cannot fully utilize various resources in the server, and cannot provide corresponding help for a request. Secondly, if an inappropriate vps node is selected, network instability and low utilization rate of network resources are caused, and network resources are wasted, and the improvement of the overall performance of the network is not facilitated, so that the problem to be faced by the SaaS platform is the problem of how to flexibly select the vps node to better adapt to various complex conditions in a computer.
In view of the above technical problems, an embodiment of the present application provides a node selection method, which is applied to a management center, and achieves the purpose of flexibly selecting a vps node according to a received task of a target user and information of the vps node by a scheduling layer of the management center, which is described in detail below.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a management center 100 according to an embodiment of the present disclosure. The management center 100 includes a front-end interface 101, a task management unit 102, a message queue unit 103, a node management unit 104, and a scheduling layer 105, where the front-end interface 101, the task management unit 102, and the message queue unit 103 are sequentially connected to the scheduling layer 105, and the node management unit 104 is connected to the scheduling layer 105 to implement a data communication interaction function of each unit.
The front-end interface 101, which may be a web page displayed to the user for browsing by a browser running on a PC or a mobile terminal, is connected to the task management unit 102, and is configured to receive a task issued by the user, configure the task, and send the configured task to the task management unit 102.
And the task management unit 102 is respectively connected with the message queue and the front-end interface 101, and is configured to receive the configuration task sent by the front-end interface 101, split the task, and send the split task to the message queue unit 103 in sequence.
The Message queue unit 103 is implemented by an open source of an AMQP (Advanced Message Queuing Protocol) developed by Erlang language, the Message queue is a communication mode of an asynchronous cooperation mechanism between applications, the Message queue unit 103 is respectively connected with the task management unit 102 through the scheduling layer 105, and is configured to receive the task sent by the task management unit 102, and when a new task occurs, the new task is also put into the Message queue unit 103 to wait, and then is sent to the scheduling layer 105.
The node management unit 104 is connected to the scheduling layer 105, and is configured to detect a usage of each node, collect information of each node, and send the information of each node to the scheduling layer 105.
And the scheduling layer 105 is used for receiving the task sent by the message queue unit 103 or sending the node information by the node management unit 104, selecting the most appropriate node based on the task and the node information, and pushing the task to the node for execution.
Specifically, an application scenario of the embodiment of the present application is selection of a vps node in a saas product, and the following embodiments all use the vps node as an example for description.
Referring to fig. 2, fig. 2 shows a schematic flow chart of a node selection method provided in an embodiment of the present application, where the node selection method applied to the management center 100 in fig. 1 is further described below, and the flow chart of the node selection method includes the following steps:
s110, the front-end interface receives a task issued by a target user.
Before the front-end interface 101 receives a task issued by a target user, registration of a vps node is required to be performed in advance, after the vps node is successfully registered, node information such as basic information, equipment information and task information of the vps node is stored in a MongoDB database (the MongoDB database is a database based on distributed file storage), and when a new vps node is registered, the node information in the MongoDB database is updated.
And S120, the front-end interface configures the task according to the task configuration information to obtain a configuration task, and sends the configuration task to the task management unit 102.
The task configuration information may be a task name, a target to be issued, a network configuration condition, a scanning rule, a type of an engine to be used, and the like, and after the front-end interface 101 receives a task issued by a target user, the task is configured through the task configuration information to obtain a configured task.
S130, the task management unit splits the configuration task and sends the split configuration task to the scheduling layer 105 through the message queue unit 103.
The task management unit 102 splits the configuration tasks sent from the front-end interface 101 to enable the configuration tasks to be better processed, and then sends the split configuration tasks to the message queue unit 103 in sequence, and sends the split configuration tasks to the scheduling layer 105 after the message queue unit 103 waits.
S140, the node management unit sends the node information to the scheduling layer.
The node management unit 104 may collect the usage of the vps node, for example, detect the remaining space of a CPU, a hard disk, and a memory of the vps node, optionally, a time threshold may be preset, and the node management unit 104 may collect the usage of the vps node according to the time threshold, and send the usage to the scheduling layer 105.
S150, the scheduling layer receives the split configuration tasks and/or the node information and selects the target node according to the split configuration tasks and/or the node information.
Specifically, the vps node may be selected through a task issued by a user according to the sequence of the front-end interface 101, the task management unit 102, the message queue unit 103, and the scheduling layer 105, and the specific steps are as follows:
s110, the front-end interface receives a task issued by a target user.
And S120, the front-end interface configures the task according to the task configuration information to obtain a configuration task, and sends the configuration task to the task management unit.
S130, the task management unit splits the configuration task and sends the split configuration task to the scheduling layer through the message queue unit.
S150, the scheduling layer receives the split configuration tasks and/or the node information and selects the target node according to the split configuration tasks and/or the node information.
Secondly, the vps node can be selected according to the sequence of the node management unit 104 and the scheduling layer 105 through the state of the vps node, and the specific steps are as follows:
s140, the node management unit sends the node information to the scheduling layer.
S150, the scheduling layer receives the split configuration tasks and/or the node information and selects the target node according to the split configuration tasks and/or the node information.
In addition, the vps node can be selected together in a mode of combining the vps node and the vps node.
To sum up, after the scheduling layer 105 receives at least one of the configuration task or the vps node information, a vps node matched with the task or a vps node with sufficient node resources is selected according to the at least one of the configuration task or the vps node information.
Specifically, step S150 is described in detail next, with reference to fig. 3 on the basis of fig. 2, fig. 3 shows a schematic flow diagram of step S150 in the node selection method provided in the embodiment of the present application, where step S150 includes:
s150-10, the scheduling layer receives the geographic position of the task.
S150-11, determining the geographic position priority based on the task geographic position.
S150-12, selecting the target node according to the priority of the geographic position.
Specifically, the geographic location of the task may include country information, province information, city information, and the like, and after the scheduling layer 105 receives the geographic location of the task, the priority of the geographic location is determined first, and the vps node is selected according to the priority of the geographic location of the task close to the sequence of the task, for example, the vps node is selected according to the sequence of the city information, the province information, and the country information according to the priority.
Optionally, step S150 further includes:
the scheduling layer receives the probe task.
And selecting a target node corresponding to the detection task according to the detection task.
The detection tasks can include survival detection, asset detection, site detection, vulnerability detection, honeypot detection and the like, and the detection engines corresponding to the detection tasks are also arranged in the vps nodes and used for executing the detection tasks. After receiving the probe task sent by the task management unit 102, the scheduling layer 105 queries from the node management unit 104 whether the vps node has a probe engine corresponding to the probe task, and selects the vps node if the vps node has the probe engine corresponding to the probe task, or selects the vps node if the vps node does not have the probe engine corresponding to the probe engine.
In a specific embodiment, after the scheduling layer 105 receives the survival probe task with the cyberspace asset, it queries the survival probe engine in the vps node, and selects the vps node to execute the task if the survival probe engine exists.
Referring to fig. 4, fig. 4 is a schematic flow chart illustrating step S150 in the node selection method according to the embodiment of the present application, where the step S150 includes:
s150-20, the scheduling layer receives the node resource information.
S150-21, determining the resource selection priority based on the node resource information.
S150-22, selecting the target node according to the resource selection priority.
The node resources may include CPU load, remaining capacity of the hard disk, remaining memory size, current progress number, number of login users, and the like, and the node resource information represents a release state of the node resources. The node management unit 104 will continuously detect the node resource information of each vps node, and then send it to the scheduling layer 105, and then the scheduling layer 105 selects a vps node with the most sufficient release state to execute a task according to the node resource information.
Referring to fig. 5, fig. 5 is a schematic flow chart illustrating step S150 in the node selection method according to the embodiment of the present application, where step S150 further includes:
s150-30, the scheduling layer receives the node state.
S150-31, determining the state selection priority based on the node state.
S150-32, selecting the target node according to the state selection priority.
The node states include a running state, an idle state, a deployment state, an offline state, a disabled state, and the like, when the scheduling layer 105 receives that the vps node state sent by the node management unit 104 is the deployment state, the offline state, and the disabled state, the node is not selected, when the scheduling layer 105 receives that the vps node state sent by the node management unit 104 is the running state or the idle state, the vps node in the idle state is selected first, and when there is no vps node in the idle state, the vps node in the running state is selected again.
Wherein step S150 further comprises:
and the scheduling layer receives the split configuration task and the node label.
And if the split configuration task has the node label, selecting a target node corresponding to the node label.
Specifically, the node label is a label of a user or an administrator on the vps node, and may be a user name, a node position, a commonly used node, a node characteristic, and the like. When a user or an administrator needs to select a node with the characteristics of a certain vps node, the node is marked by a node label, and at this time, after the scheduling layer 105 receives the split configuration task sent by the task management unit 102, the vps node with the node label is preferentially selected when the node label is found in the query configuration task.
Optionally, the target node is selected according to the sequence of user self-definition, detection task, task geographic position, node state, node resource information and node label.
In addition, the target node required by the user can be selected in a user-defined mode.
In a specific embodiment, the front-end interface 101 may present a list including all the vps nodes to the user, where the list includes node information, node status, or other information of all the vps nodes, and the user may select a vps node from the list according to his/her needs.
In addition, after receiving the configuration task and the node information, the scheduling layer 105 selects a target node according to the sequence of user customization, a probing task, a task geographic position, a node state, node resource information and a node tag.
Specifically, if a user selects a vps node, the user selected vps node is used to execute a task to be delivered, and when the user does not select a target node, the scheduling layer 105 selects the vps node in the manner of selecting the node by the probe task, which is described in detail above, and further, when the user cannot select the vps node by the probe task, the target node is selected in the manner of selecting the geographic location of the task, and then the target node is selected in sequence according to the node state, the node resource information, and the node label, which is not described in detail herein.
In addition, currently, on the saas product, the message queue unit of the selected vps node is deployed in the vps node, and if the vps node is exposed, other units of the management center can be accessed through the message queue unit in the vps node, so that the saas product has a leakage potential safety hazard.
And after the message queue unit is deployed in the management center, the vps node only reserves an authenticated certificate to interact with the node management unit of the management center, and information related to other units of the management center is not reserved.
Compared with the prior art, the embodiment of the application has the following beneficial effects:
first, in the embodiment of the present application, the configuration task is split, so that the split configuration task can be used to select the node, and the node can also be selected according to the condition of the node itself, and in addition, the two can be combined to select the node, so that the node can be flexibly selected according to various modes, and thus, the node can adapt to different conditions.
Secondly, the message queue unit is deployed in the management center, if the vps node is exposed, the entire management center cannot be accessed through the vps node due to the existence of the certificate of authentication, and the security of the saas product is further ensured.
Secondly, the embodiment of the application also provides a node selection system so as to realize the node selection method.
Optionally, the management center 100 includes a front-end interface 101, a task management unit 102, a message queue unit 103, a node management unit 104, a scheduling layer 105, and the like, where the front-end interface 101, the task management unit 102, and the message queue unit 103 are sequentially connected to the scheduling layer 105, the node management unit 104 is connected to the scheduling layer 105, and the node selection system includes:
the front-end interface receives a task issued by a target user;
the front-end interface configures the tasks according to the task configuration information to obtain configuration tasks, and sends the configuration tasks to the task management unit;
the task management unit splits the configuration task and sends the split configuration task to the scheduling layer through the message queue unit;
and the scheduling layer receives the split configuration task sent by the task management unit and/or the node information sent by the node management unit, and selects a target node according to the split configuration task and/or the node information.
Fig. 6 is a schematic structural diagram of an electronic device 10 according to an embodiment of the present application, where the electronic device may be a computing device with a data processing function.
The apparatus comprises: a processor 11, a memory 12 and a bus 13.
The memory 12 is used for storing a program, and the processor 11 calls the program stored in the memory 12 to execute the embodiment of the node selection method.
The processor 11 is connected to the memory 12 through the bus 13, and the memory 12 stores program codes, which, when executed by the processor 11, cause the processor 11 to perform various steps of the above-mentioned node selection method.
The Processor 11 may be a general-purpose Processor, such as a Central Processing Unit (CPU), a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component, and may execute the node selection method, steps, and logic blocks disclosed in the embodiments of the present Application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the node selection method disclosed in the embodiments of the present application may be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.
Memory 12, which is a non-volatile storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The Memory may include at least one type of storage medium, and may include, for example, a flash Memory, a hard disk, a multimedia card, a card-type Memory, a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Programmable Read Only Memory (PROM), a Read Only Memory (ROM), a charged Erasable Programmable Read Only Memory (EEPROM), a magnetic Memory, a magnetic disk, an optical disk, and so on. The memory is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. The memory 12 in the embodiments of the present application may also be circuitry or any other device capable of performing a storage function for storing program instructions and/or data.
Optionally, the present application also provides a program product, such as a storage medium, comprising a program, which when executed by the processor 11 is configured to perform an embodiment of the above-described node selection method.
To sum up, the embodiments of the present application provide a method, a system, an electronic device, and a storage medium for selecting a node, where after a front-end interface receives a task issued by a target user, the task is configured according to task configuration information to obtain a configuration task, and the configuration task is sent to a task management unit, then the task management unit splits the configuration task, and sends the split configuration task to a scheduling layer through a message queue unit, and finally the scheduling layer receives the split configuration task sent by the task management unit and/or node information sent by the node management unit, and selects the target node according to the split configuration task and/or node information, and splits the configuration task so that the split configuration task is used to select the node, and the node can be selected according to the condition of the node itself, and in addition, the two can be combined to select the node, the nodes are flexibly selected according to various modes, so that the appropriate nodes can be selected when different conditions are met.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A node selection method is characterized in that the method is applied to a management center, the management center comprises a front-end interface, a task management unit, a message queue unit, a node management unit and a scheduling layer, the front-end interface, the task management unit and the message queue unit are sequentially connected with the scheduling layer, the node management unit is connected with the scheduling layer, and the method comprises the following steps:
the front-end interface receives a task issued by a target user;
the front-end interface configures the task according to task configuration information to obtain a configuration task, and sends the configuration task to the task management unit;
the task management unit splits the configuration task and sends the split configuration task to the scheduling layer through the message queue unit;
the node management unit sends node information to the scheduling layer;
and the scheduling layer receives the split configuration task and/or the node information and selects a target node according to the split configuration task and/or the node information.
2. The node selection method according to claim 1, wherein the split configuration task includes a task geographical location, and the step of the scheduling layer receiving the split configuration task and selecting a target node according to the split configuration task includes:
the scheduling layer receives the task geographic location;
determining a geographic location priority based on the task geographic location;
and selecting a target node according to the priority of the geographic position.
3. The node selection method according to claim 1, wherein the split configuration task further includes a probe task, and the step of the scheduling layer receiving the split configuration task and selecting a target node according to the split configuration task further includes:
the scheduling layer receives the probing task;
and selecting a target node corresponding to the detection task according to the detection task.
4. The node selection method of claim 1, wherein the node information comprises node resource information, and the step of the scheduling layer receiving the node information and selecting a target node according to the node information comprises:
the scheduling layer receives the node resource information, wherein the node resource information represents the release state of the node resources;
determining a resource selection priority based on the node resource information;
and selecting a target node according to the resource selection priority.
5. The node selection method of claim 1, wherein the node information further includes a node status, and the step of the scheduling layer receiving the node information and selecting the target node according to the node information further includes:
the scheduling layer receives the node state;
determining a state selection priority based on the node state;
and selecting a target node according to the state selection priority.
6. The node selection method according to claim 1, wherein the node information further includes a node label, and the step of the scheduling layer receiving the split configuration task and the node information and selecting a target node according to the split configuration task and the node information includes:
the scheduling layer receives the split configuration task and the node label;
and if the split configuration task has the node label, selecting a target node corresponding to the node label.
7. The node selection method according to claim 1, wherein the split configuration task includes a task geographical location and a probe task, the node information includes node resource information, a node status and a node label, and the step of receiving the split configuration task and/or the node information by the scheduling layer and selecting a target node according to the split configuration task and/or the node information includes:
and selecting a target node according to the sequence of the priority for user self-definition, the detection task, the task geographic position, the node state, the node resource information and the node label.
8. A node selection system is characterized in that a management center comprises a front-end interface, a task management unit, a message queue unit, a node management unit and a scheduling layer, wherein the front-end interface, the task management unit and the message queue unit are sequentially connected with the scheduling layer, the node management unit is connected with the scheduling layer, and the system comprises:
the front-end interface receives a task issued by a target user;
the front-end interface configures the task according to task configuration information to obtain a configuration task, and sends the configuration task to the task management unit;
the task management unit splits the configuration task and sends the split configuration task to the scheduling layer through the message queue unit;
the node management unit sends node information to the scheduling layer;
and the scheduling layer receives the split configuration task and/or the node information and selects a target node according to the split configuration task and/or the node information.
9. An electronic device, comprising: a processor, a storage medium and a bus, the storage medium storing program instructions executable by the processor, the processor and the storage medium communicating via the bus when the electronic device is running, the processor executing the program instructions to perform the steps of the method according to any one of claims 1-7 when executed.
10. A storage medium, having stored thereon a computer program which, when executed by a processor, performs the steps of the node selection method according to any one of claims 1 to 7.
CN202111299444.6A 2021-11-04 2021-11-04 Node selection method, system, electronic device and storage medium Withdrawn CN114039962A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111299444.6A CN114039962A (en) 2021-11-04 2021-11-04 Node selection method, system, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111299444.6A CN114039962A (en) 2021-11-04 2021-11-04 Node selection method, system, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN114039962A true CN114039962A (en) 2022-02-11

Family

ID=80142995

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111299444.6A Withdrawn CN114039962A (en) 2021-11-04 2021-11-04 Node selection method, system, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN114039962A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114900396A (en) * 2022-05-18 2022-08-12 上海戎磐网络科技有限公司 Network security management method, device and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160269240A1 (en) * 2015-03-13 2016-09-15 International Business Machines Corporation Managing servers with quality of service assurances
CN110888721A (en) * 2019-10-15 2020-03-17 平安科技(深圳)有限公司 Task scheduling method and related device
CN111090507A (en) * 2019-11-25 2020-05-01 南京航空航天大学 Task scheduling method based on cloud edge fusion server network architecture and application
CN111221631A (en) * 2018-11-23 2020-06-02 中国移动通信集团有限公司 Task scheduling method, device and storage medium
CN112925620A (en) * 2021-02-24 2021-06-08 北京润尼尔网络科技有限公司 Distributed task scheduling system and method
CN113254178A (en) * 2021-06-01 2021-08-13 苏州浪潮智能科技有限公司 Task scheduling method and device, electronic equipment and readable storage medium
CN113282649A (en) * 2020-02-19 2021-08-20 北京国双科技有限公司 Distributed task processing method and device and computer equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160269240A1 (en) * 2015-03-13 2016-09-15 International Business Machines Corporation Managing servers with quality of service assurances
CN111221631A (en) * 2018-11-23 2020-06-02 中国移动通信集团有限公司 Task scheduling method, device and storage medium
CN110888721A (en) * 2019-10-15 2020-03-17 平安科技(深圳)有限公司 Task scheduling method and related device
CN111090507A (en) * 2019-11-25 2020-05-01 南京航空航天大学 Task scheduling method based on cloud edge fusion server network architecture and application
CN113282649A (en) * 2020-02-19 2021-08-20 北京国双科技有限公司 Distributed task processing method and device and computer equipment
CN112925620A (en) * 2021-02-24 2021-06-08 北京润尼尔网络科技有限公司 Distributed task scheduling system and method
CN113254178A (en) * 2021-06-01 2021-08-13 苏州浪潮智能科技有限公司 Task scheduling method and device, electronic equipment and readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114900396A (en) * 2022-05-18 2022-08-12 上海戎磐网络科技有限公司 Network security management method, device and storage medium

Similar Documents

Publication Publication Date Title
US9185179B2 (en) Re-establishing push notification channels via user identifiers
CN106371889B (en) Method and device for realizing high-performance cluster system of scheduling mirror image
CN104253686A (en) Account number login method, equipment and system
CN106034138A (en) Remote service calling method and remote service calling device
CN114615340B (en) Request processing method and device, computer equipment and storage device
CN114281263B (en) Storage resource processing method, system and equipment of container cluster management system
CN113127192A (en) Method, system, device and medium for sharing same GPU by multiple services
CN114281573A (en) Workflow data interaction method and device, electronic device and readable storage medium
US20230216895A1 (en) Network-based media processing (nbmp) workflow management through 5g framework for live uplink streaming (flus) control
US20160080293A1 (en) Accounts Control
CN113259479A (en) Data processing method and equipment
CN110636124A (en) VPP cluster management method and device, electronic equipment and storage medium
CN114036031B (en) Scheduling system and method for resource service application in enterprise digital middleboxes
CN111694639A (en) Method and device for updating address of process container and electronic equipment
CN114039962A (en) Node selection method, system, electronic device and storage medium
CN114385382A (en) Light application access method and device, computer equipment and storage medium
CN114328097A (en) File monitoring method and device, electronic equipment and storage medium
CN107301053B (en) Picture configuration method and device and electronic terminal
US11936763B2 (en) Handling deferrable network requests
CN109710609B (en) Method and device for generating data table identification
CN114070847A (en) Current limiting method, device, equipment and storage medium of server
CN113541981B (en) Member management method and system for network slice
US11140183B2 (en) Determining criticality of identified enterprise assets using network session information
CN112152988A (en) Method, system, and computer device and medium for asynchronous NBMP request processing
CN106470225B (en) A kind of notification message management method and device

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20220211