CN115604261A - Cloud network service resource processing method, device, equipment and storage medium - Google Patents

Cloud network service resource processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN115604261A
CN115604261A CN202211182917.9A CN202211182917A CN115604261A CN 115604261 A CN115604261 A CN 115604261A CN 202211182917 A CN202211182917 A CN 202211182917A CN 115604261 A CN115604261 A CN 115604261A
Authority
CN
China
Prior art keywords
scheduling
scheduling information
resource
test
cloud network
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.)
Pending
Application number
CN202211182917.9A
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.)
China United Network Communications Group Co Ltd
Unicom Digital Technology Co Ltd
Unicom Cloud Data Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Unicom Digital Technology Co Ltd
Unicom Cloud Data 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 China United Network Communications Group Co Ltd, Unicom Digital Technology Co Ltd, Unicom Cloud Data Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202211182917.9A priority Critical patent/CN115604261A/en
Publication of CN115604261A publication Critical patent/CN115604261A/en
Pending 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/10Protocols in which an application is distributed across nodes in the network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/548Queue

Abstract

The application provides a cloud network service resource processing method, a device, equipment and a storage medium, wherein the method is applied to a task scheduling system, and comprises the following steps: acquiring a scheduling request of a cloud network service, and generating scheduling information according to the scheduling request; adding scheduling information to an information queue; distributing the scheduling information in the information queue to corresponding dispatching nodes according to a preset scheduling algorithm; sending the scheduling information to a test resource server corresponding to the scheduling information through a dispatch node, so that the test resource server executes a test task according to the scheduling information and sends an execution result to a task scheduling system, wherein each test resource server corresponds to a resource pool; and determining a resource allocation scheme according to the execution results sent by the plurality of test resource servers.

Description

Cloud network service resource processing method, device, equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method, an apparatus, a device, and a storage medium for processing cloud network service resources.
Background
The cloud network service is a service platform provided by a cloud end according to needs, and is basically based on an integrated architecture, and a large-scale service implementation mode is provided by using virtualized resources through an Internet Protocol Address (IP) network.
The current deployment of the cloud network service user on the online application service is mostly from one point to multiple points, when the first point is deployed, the first point is deployed mostly based on manual experience or randomly to a certain geographic position, and after the first point is deployed, the multiple points such as content forwarding points are added according to the user experience complaints subsequently.
However, the cloud network service in the prior art does not have a deployment scheme for the first point service, and is determined only according to the complaints of the user when the multipoint service is deployed, so that the resource requirement of the user on the cloud network service cannot be met, and the user experience is poor.
Disclosure of Invention
The application provides a cloud network service resource processing method, device, equipment and storage medium, and aims to solve the technical problems that in the prior art, a cloud network service does not have a deployment scheme for a first-point service, and when a multi-point service is deployed, the resource requirement of a user on the cloud network service cannot be met only according to user complaints, and the user experience is poor.
In a first aspect, the present application provides a cloud network service resource processing method, which is applied to a task scheduling system, and the method includes:
the method comprises the steps of obtaining a scheduling request of cloud network service, and generating scheduling information according to the scheduling request;
adding the scheduling information to an information queue;
distributing the scheduling information in the information queue to corresponding distribution nodes according to a preset scheduling algorithm;
sending the scheduling information to a test resource server corresponding to the scheduling information through a dispatch node, so that the test resource server executes a test task according to the scheduling information and sends an execution result to the task scheduling system, wherein each test resource server corresponds to a resource pool;
and determining a resource allocation scheme according to the execution results sent by the plurality of test resource servers.
The application provides a service deployment method of a cloud network service, which can realize resource allocation of the cloud network service, firstly, a plurality of test resource servers corresponding to a resource pool are constructed, when the task scheduling system responsible for resource allocation realizes cloud network service deployment, service scheduling information needing to be scheduled is sent to the plurality of test resource servers located at different geographic positions for testing, and resource allocation is carried out according to execution results fed back by the plurality of test resource servers, so that a user can conveniently and quickly select the cloud resource pool position for service deployment, a quick and automatic resource processing scheme is provided, the determination of the deployment position of a first point can be realized, the resource requirement of the user on the cloud network service is met, and the user experience is improved.
Optionally, the determining a resource allocation scheme according to the execution results sent by the multiple test resource servers includes:
adding a plurality of execution results into a preset table according to a preset table format, wherein the preset table format comprises a source end, a target end and delay;
according to the user distribution and the preset algorithm of the client service, request response time delay data retrieval is carried out in the preset table;
and determining a resource pool corresponding to the cloud network service according to the retrieval result.
Here, when the execution result is processed, the execution result is filled into the form, and through the form, the determination and the retrieval of the request response delay data of different resource pools can be visually and accurately realized, so that the resource pool with the minimum request response delay data is determined, the resource pool is determined for the cloud network service, the rapid configuration of the cloud network service resources is realized, and the user experience is improved.
Optionally, after determining, according to the retrieval result, the resource pool corresponding to the cloud network service, the method further includes:
and updating the number and the position of the test resource server according to the resource pool update list.
Optionally, after the updating the number and the position of the test resource servers according to the resource pool update list and the update test resource pool, the method further includes:
updating a preset table and a retrieval result according to the updated test resource server;
and updating the resource pool corresponding to the cloud network service according to the updated retrieval result.
According to the method and the system, after the resource pool is newly added in the later period, the management platform is additionally provided with the test resource server, the test arrangement of each urban resource pool is added in the arrangement operation, the table is updated at the same time, the request response time delay data of each cloud network service can be updated according to the updated table, the resource pool is updated for the user, the service time delay is further reduced, and the user experience of the cloud network service is improved.
Optionally, the sending, by the dispatch node, the scheduling information to the test resource server corresponding to the scheduling information includes:
establishing a software defined network special line with a test resource server through a dispatch node;
and sending the scheduling information to a test resource server corresponding to the scheduling information through the software defined network special line.
Here, the scheduling information is sent to the test resource server through the software defined network private line, so that the safety of data transmission is improved, and the user experience is further improved.
In a second aspect, the present application provides a cloud network service resource processing method, which is applied to a test resource server, and includes:
executing a test task according to the scheduling information, wherein the scheduling information is a scheduling request of a cloud network service acquired by a task scheduling system, generating scheduling information according to the scheduling request, adding the scheduling information to an information queue, distributing the scheduling information in the information queue to corresponding distribution nodes according to a preset scheduling algorithm, and sending the scheduling information through the distribution nodes;
and sending the execution result to the task scheduling system.
Optionally, before the executing the test task according to the scheduling information, the method further includes:
and receiving scheduling information sent by a task scheduling system in a preset white list through a software defined network private line.
Here, the method and the system can prevent each server from being invaded by adding the white list, and further improve the security of the cloud network service.
In a third aspect, the present application provides a cloud network service resource processing system, including a task scheduling system and a plurality of test resource servers;
the task scheduling system is used for acquiring a scheduling request of the cloud network service and generating scheduling information according to the scheduling request; adding the scheduling information to an information queue; distributing the scheduling information in the information queue to corresponding distribution nodes according to a preset scheduling algorithm; sending the scheduling information to a test resource server corresponding to the scheduling information through a dispatching node;
the test resource server is used for executing a test task according to the scheduling information and sending an execution result to the task scheduling system;
the task scheduling system is used for determining a resource allocation scheme according to execution results sent by the plurality of test resource servers.
Based on the cloud network service resource processing system, the cloud network service resource pool can be automatically and timely deployed through the task scheduling system and the test resource servers located in different places, and user experience of the cloud network service is improved.
In a fourth aspect, the present application provides a cloud network service resource processing apparatus, which is applied to a task scheduling system, and includes:
the acquisition module is used for acquiring a scheduling request of the cloud network service and generating scheduling information according to the scheduling request;
the first processing module is used for adding the scheduling information to an information queue;
the second processing module is used for distributing the scheduling information in the information queue to the corresponding distribution node according to a preset scheduling algorithm;
the third processing module is used for sending the scheduling information to the test resource servers corresponding to the scheduling information through dispatch nodes so that the test resource servers execute test tasks according to the scheduling information and send execution results to the task scheduling system, wherein each test resource server corresponds to one resource pool;
and the determining module is used for determining the resource allocation scheme according to the execution results sent by the plurality of test resource servers.
Optionally, the determining module is specifically configured to;
adding a plurality of execution results into a preset table according to a preset table format, wherein the preset table format comprises a source end, a target end and delay;
according to the user distribution and the preset algorithm of the client service, request response time delay data retrieval is carried out in the preset table;
and determining a resource pool corresponding to the cloud network service according to the retrieval result.
Optionally, after the determining module determines, according to the retrieval result, the resource pool corresponding to the cloud network service, the apparatus further includes:
and the updating module is used for updating the number and the position of the test resource server according to the resource pool updating list.
Optionally, after the updating module updates the number and the location of the test resource servers according to the resource pool update list, the updating module is further configured to:
updating a preset table and a retrieval result according to the updated test resource server;
and updating the resource pool corresponding to the cloud network service according to the updated retrieval result.
Optionally, the third processing module is specifically configured to:
establishing a software defined network special line with a test resource server through a dispatching node;
and sending the scheduling information to a test resource server corresponding to the scheduling information through the software defined network special line.
In a fifth aspect, the present application provides a cloud network service resource processing apparatus, which is applied to a test resource server, and includes:
the fourth processing module is used for executing a test task according to the scheduling information, wherein the scheduling information is a scheduling request of a cloud network service acquired by a task scheduling system, generating scheduling information according to the scheduling request, adding the scheduling information to an information queue, distributing the scheduling information in the information queue to a corresponding dispatching node according to a preset scheduling algorithm, and sending the scheduling information through the dispatching node;
and the sending module is used for sending the execution result to the task scheduling system.
Optionally, before the fourth processing module executes the test task according to the scheduling information, the apparatus further includes:
and the receiving module is used for receiving the scheduling information sent by the task scheduling system in the preset white list through a software defined network private line.
In a sixth aspect, the present application provides a cloud network service resource processing device, including: at least one processor and a memory;
the memory stores computer-executable instructions;
the at least one processor executes computer-executable instructions stored by the memory to cause the at least one processor to perform the cloud network service resource processing method as set forth in the first aspect above and in various possible designs of the first aspect.
In a seventh aspect, the present application provides a cloud network service resource processing device, including: at least one processor and memory;
the memory stores computer execution instructions;
the at least one processor executes the computer-executable instructions stored by the memory, so that the at least one processor performs the cloud service resource processing method as described in the second aspect and various possible designs of the second aspect.
In an eighth aspect, the present application provides a computer-readable storage medium, where computer-executable instructions are stored, and when a processor executes the computer-executable instructions, the cloud network service resource processing method according to the first aspect and various possible designs of the first aspect is implemented.
In a ninth aspect, the present application provides a computer-readable storage medium, in which computer-executable instructions are stored, and when a processor executes the computer-executable instructions, the cloud network service resource processing method according to the second aspect and various possible designs of the second aspect is implemented.
In a tenth aspect, the present application provides a computer program product, including a computer program, which when executed by a processor, implements the cloud network service resource processing method according to the first aspect and various possible designs of the first aspect.
In an eleventh aspect, the present application provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the computer program implements the cloud network service resource processing method according to the second aspect and the various possible designs of the second aspect.
According to the cloud network service resource processing method, the device, the equipment and the storage medium, the resource allocation of the cloud network service can be achieved, firstly, a plurality of test resource servers corresponding to a resource pool are constructed, when the cloud network service allocation is achieved, a task scheduling system responsible for allocating resources sends service scheduling information to be scheduled to the plurality of test resource servers located in different geographic positions to conduct testing, the resources are allocated according to execution results fed back by the plurality of test resource servers, a user can conveniently and quickly select the cloud resource pool position for allocating services, a quick and automatic resource processing scheme is provided, the determination of the allocation position of a first point can be achieved, the resource requirements of the user on the cloud network service are met, and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic diagram of a cloud service resource processing system architecture according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a cloud network service resource processing method according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of another cloud network service resource processing method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a cloud network service resource processing apparatus according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a cloud network service resource processing device according to an embodiment of the present application.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terms "first," "second," "third," and "fourth," if any, in the description and claims of this application and the above-described figures are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In the technical scheme of the application, the collection, storage, use, processing, transmission, provision, disclosure and other processing of the related user data and other information all accord with the regulations of related laws and regulations and do not violate the good customs of the public order.
The current cloud network service is mainly deployed from one point to multiple points for online application service, when the online application service is deployed at a first point, the online application service is mostly deployed at a city A, a city B or a city C according to manual decision, after the first point service is deployed, a content forwarding point and other multiple points are added according to experience complaints of customers, a method and a system are lacked to decide the deployment position of the first point, and the subsequent cloud network service can only be decided according to the complaints of the customers and is in a state that a service architecture lags behind the requirements of the customers. The cloud network service in the prior art does not have a deployment scheme for the first point service, and is determined only according to the complaints of the users when the multipoint service is deployed, so that the resource requirements of the users on the cloud network service cannot be met, and the user experience is poor.
In order to solve the above technical problems, embodiments of the present application provide a method, an apparatus, a device, and a storage medium for processing cloud network service resources, where multiple test resource servers corresponding to a resource pool are constructed, and when a task scheduling system responsible for allocating resources implements cloud network service deployment, service scheduling information to be scheduled is sent to multiple test resource servers located at different geographic locations for testing, and resource allocation is performed according to execution results fed back by the multiple test resource servers, so that a user can quickly select a location of the cloud resource pool where a service is to be deployed.
Optionally, fig. 1 is a schematic diagram of a cloud network service resource processing system architecture provided in an embodiment of the present application. As shown in FIG. 1, the architecture includes a task scheduling system 101, a first test resource server 102, and a second test resource server 103.
It is understood that the number and the specific structure of the task scheduling system and the test resource server may be determined according to practical situations, fig. 1 is only an illustration, and the number is not particularly limited in the embodiments of the present application.
The task scheduling system and the test resource server may be disposed on a server or a terminal device.
Optionally, the management platform is constructed in advance through an interface provided by the cloud computing management platform OpenStack and other management systems. And then constructing test resource servers located in various places of the world, placing the test resource servers in cities in which cloud service users are concentrated, and coding the servers, wherein the coding rule is a Universal Unique Identifier (UUID) number generated by a Media Access Control (MAC) Address of the servers.
Optionally, a dial testing task scheduling system is constructed on the operating system, and the linux and the application are managed through the scheduling system.
Optionally, one test resource server corresponds to one resource pool, where each resource pool may correspond to one or more addresses (which may be city-specific), or each city corresponds to one or more resource pools.
It can be understood that the illustrated structure in the embodiment of the present application does not constitute a specific limitation to the cloud service resource processing system architecture. In other possible embodiments of the present application, the architecture may include more or fewer components than those shown in the drawings, or combine some components, or split some components, or arrange different components, which may be determined according to an actual application scenario and is not limited herein. The components shown in fig. 1 may be implemented in hardware, software, or a combination of software and hardware.
In addition, the network architecture and the service scenario described in the embodiment of the present application are for more clearly illustrating the technical solution of the embodiment of the present application, and do not constitute a limitation to the technical solution provided in the embodiment of the present application, and it can be known by a person skilled in the art that along with the evolution of the network architecture and the appearance of a new service scenario, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.
The technical solutions of the present application are described below by taking several embodiments as examples, and the same or similar concepts or processes may not be described in detail in some embodiments.
Fig. 2 is a flowchart illustrating a cloud network service resource processing method provided in an embodiment of the present application, where the embodiment of the present application may be applied to the task scheduling system 101 in fig. 1, the task scheduling system 101 may be a server or a terminal device, and a specific execution subject may be determined according to an actual application scenario. As shown in fig. 2, the method comprises the steps of:
s201: and acquiring a scheduling request of the cloud network service, and generating scheduling information according to the scheduling request.
Alternatively, the scheduling request may be user input or generated internally to the system.
S202: scheduling information is added to the information queue.
S203: and distributing the scheduling information in the information queue to the corresponding distribution node according to a preset scheduling algorithm.
Optionally, the scheduling request is packaged into a message and placed in a message queue, and by constructing an arranging module, the arranging module receives the message and then automatically allocates the message to the dispatching nodes according to a scheduling algorithm, and the dispatching nodes are partitioned according to the number and the positions of the test resource servers, for example, one dispatching node is allocated to each province at the beginning.
S204: and sending the scheduling information to a test resource server corresponding to the scheduling information through the dispatch node, so that the test resource server executes the test task according to the scheduling information and sends the execution result to the task scheduling system.
Each test resource server corresponds to one resource pool.
Optionally, sending the scheduling information to a test resource server corresponding to the scheduling information by using a dispatch node, including: establishing a software defined network special line with a test resource server through a dispatching node; and sending the scheduling information to a test resource server corresponding to the scheduling information through a software defined network private line.
Here, the embodiment of the application sends the scheduling information to the test resource server through the software-defined network private line, so that the security of data transmission is improved, and the user experience is further improved.
Optionally, the serving node is connected to servers located around the world for cloud services via Secure Shell (ssh) protocol for execution.
Optionally, to ensure port security, a Software Defined Network (SDN) is used here, and when a task is dispatched, an SDN dedicated line is established, an intranet Internet Protocol (IP) address is formed, servers add an intranet address white list so as to prevent each server from being invaded, and after the task is issued by a Secure Copy (SCP) or a data mirror backup tool rsync, the SDN dedicated line is disconnected.
S205: and determining a resource allocation scheme according to the execution results sent by the plurality of test resource servers.
Optionally, determining a resource allocation scheme according to execution results sent by a plurality of test resource servers includes: adding a plurality of execution results into a preset table according to a preset table format; according to the user distribution and the preset algorithm of the client service, request response time delay data retrieval is carried out in a preset table; and determining a resource pool corresponding to the cloud network service according to the retrieval result.
The preset table format comprises a source end, a target end and a delay.
Optionally, the preset header includes a source end, a destination end and a delay.
In one possible implementation, exemplarily, according to the user distribution of the client service, the optimal deployment resource pool is selected according to the following algorithm.
It is understood that the following numbers of the resource pools, delayed data, and the like are all examples, and may be determined according to actual situations in practical situations.
Such as resource pool numbers a, b, c, d, e, f, g, etc.
The users of the customer service are distributed in 5 cities of b, c, d, e and f.
Where D denotes request response delay data, which may also be referred to as delay in the embodiment of the present application for short.
D b、c Representing the delay in accessing c the city resource pool from city b.
D c、b Representing the delay in accessing b the city resource pool from city c.
Resource pool configuration is carried out, and for 5 cities, the delay of accessing the 5 city resource pools is respectively retrieved:
a total of 5 × 4=20 results were retrieved:
D c、b =15;D c、d =16;D c、e =19;D c、f =21;D b、c =22;D b、d =23;D b、e =21;D b、f =19;D d、b =19;D d、c =22;D d、e =24;D d、f =21;D e、b =18;D e、c =20;D e、d =22;D e、f =20;D f、b =17;D f、c =19;D f、d =22;D f、e =19
from the above data, it can be seen that:
D b =max(D c、b 、D d、b 、D e、b 、D f、b )=19
D c =max(D b、c 、D d、c 、D e、c 、D f、c )=22
D d =max(D b、d 、D c、d 、D e、d 、D f、d )=23
D e =max(D b、e 、D c、e 、D d、e 、D f、e )=24
D f =max(D b、f 、D c、f 、D d、f 、D e、f )=21
D=min(D b D c D d D e D f )=19
according to the data, the minimum request response time delay data is 19 and comes from the node b, so that the platform recommends the service to the client before the client deploys the service, and the service is deployed in the city resource pool b.
Here, when the execution result is processed, the execution result is filled into the form, and through the form, the determination and the retrieval of the request response delay data of different resource pools can be intuitively and accurately realized, so that the resource pool with the minimum request response delay data is determined, the resource pool is determined for the cloud network service, the rapid configuration of the cloud network service resources is realized, and the user experience is improved.
The embodiment of the application constructs a plurality of test resource servers corresponding to a resource pool, when the task scheduling system responsible for resource allocation realizes cloud network service allocation, the task scheduling system sends service scheduling information to be scheduled to the test resource servers located at different geographic positions for testing, and allocates resources according to execution results fed back by the test resource servers, so that a user can conveniently and quickly select the cloud resource pool position for service allocation, a quick and automatic resource processing scheme is provided, the determination of the allocation position of a first point can be realized, the resource requirement of the user on the cloud network service is met, and the user experience is improved.
Optionally, after determining the resource pool corresponding to the cloud network service according to the retrieval result, the method further includes: and updating the number and the position of the test resource server according to the resource pool update list.
Optionally, after updating the number and the location of the test resource servers according to the resource pool update list, the method further includes: updating the preset table and the retrieval result according to the updated test resource server; and updating the resource pool corresponding to the cloud network service according to the updated retrieval result.
In a possible implementation manner, after the resource pool is newly added in the later period, the management platform adds the test resource server, adds the test arrangement for each urban resource pool in the arrangement operation, and updates the preset table.
And according to the updated preset table, the management platform continuously updates the D value of each client service, and when the newly generated D value is smaller than the original D value, the management platform can initiate a client service migration operation to migrate the client service into a newly calculated resource pool.
According to the embodiment of the application, after the resource pool is newly added at the later stage, the management platform is additionally provided with the test resource server, the test arrangement of each urban resource pool is added in the arrangement operation, the table is updated at the same time, the request response time delay data of each cloud network service can be updated according to the updated table, the resource pool is updated for a user, the service time delay is further reduced, and the user experience of the cloud network service is improved.
Fig. 3 is a schematic flow chart of another cloud network service resource processing method provided in the embodiment of the present application, and the embodiment of the present application may be applied to the first test resource server 102 or the second test resource server 103 in fig. 1, where the first test resource server 102 or the second test resource server 103 may be servers arranged in different regions, and a specific execution subject may be determined according to an actual application scenario. As shown in fig. 3, the method comprises the steps of:
s301: and executing the test task according to the scheduling information.
Optionally, before executing the test task according to the scheduling information, the method further includes: and receiving scheduling information sent by a task scheduling system in a preset white list through a software defined network private line.
Here, in the embodiment of the application, each server can be prevented from being invaded by adding a white list, and the security of the cloud network service is further improved.
The scheduling information is a scheduling request of a task scheduling system for obtaining cloud network services, generating scheduling information according to the scheduling request, adding the scheduling information to an information queue, distributing the scheduling information in the information queue to corresponding dispatching nodes according to a preset scheduling algorithm, and sending the scheduling information through the dispatching nodes;
s302: and sending the execution result to a task scheduling system.
The embodiment of the application also provides a cloud network service resource processing system, which comprises a task scheduling system and a plurality of test resource servers;
the task scheduling system is used for acquiring a scheduling request of the cloud network service and generating scheduling information according to the scheduling request; adding scheduling information to an information queue; distributing the scheduling information in the information queue to corresponding distribution nodes according to a preset scheduling algorithm; sending the scheduling information to a test resource server corresponding to the scheduling information through the dispatching node;
the test resource server is used for executing the test task according to the scheduling information and sending an execution result to the task scheduling system;
and the task scheduling system is used for determining a resource allocation scheme according to the execution results sent by the plurality of test resource servers.
Based on the cloud network service resource processing system, the cloud network service resource pool can be automatically and timely deployed through the task scheduling system and the test resource servers located in different places, and user experience of the cloud network service is improved.
Fig. 4 is a schematic structural diagram of a cloud network service resource processing apparatus provided in an embodiment of the present application, and is applied to a task scheduling system, and as shown in fig. 4, the apparatus in the embodiment of the present application includes: an acquisition module 401, a first processing module 402, a second processing module 403 and a third processing module 404. The cloud network service resource processing device may be a server or a terminal device, or a chip or an integrated circuit that implements functions of the server or the terminal device. It should be noted here that the division of the obtaining module 401, the first processing module 402, the second processing module 403, and the third processing module 404 is only a division of logical functions, and the two may be integrated or independent physically.
The acquisition module is used for acquiring a scheduling request of the cloud network service and generating scheduling information according to the scheduling request;
the first processing module is used for adding the scheduling information to the information queue;
the second processing module is used for distributing the scheduling information in the information queue to the corresponding distribution node according to a preset scheduling algorithm;
the third processing module is used for sending the scheduling information to the test resource server corresponding to the scheduling information through the dispatch node so that the test resource server executes the test task according to the scheduling information and sends the execution result to the task scheduling system, wherein each test resource server corresponds to one resource pool;
and the determining module is used for determining the resource allocation scheme according to the execution results sent by the plurality of test resource servers.
Optionally, the determining module is specifically configured to;
adding a plurality of execution results into a preset table according to a preset table format, wherein the preset table format comprises a source end, a target end and a delay;
according to the user distribution and the preset algorithm of the client service, request response time delay data retrieval is carried out in a preset table;
and determining a resource pool corresponding to the cloud network service according to the retrieval result.
Optionally, after the determining module determines the resource pool corresponding to the cloud network service according to the retrieval result, the apparatus further includes:
and the updating module is used for updating the number and the position of the test resource server according to the resource pool updating list.
Optionally, after the updating module updates the number and the location of the test resource servers according to the resource pool update list, the updating module is further configured to:
updating the preset table and the retrieval result according to the updated test resource server;
and updating the resource pool corresponding to the cloud network service according to the updated retrieval result.
Optionally, the third processing module is specifically configured to:
establishing a software defined network special line with a test resource server through a dispatch node;
and sending the scheduling information to a test resource server corresponding to the scheduling information through a software defined network private line.
Another cloud service resource processing apparatus provided in an embodiment of the present application is applied to a test resource server, and the apparatus in the embodiment of the present application includes: a fourth processing module and a sending module. The cloud network service resource processing device may be a server, or a chip or an integrated circuit that implements a function of the server. It should be noted here that the division of the fourth processing module and the sending module is only a division of logical functions, and the fourth processing module and the sending module may be integrated or independent physically.
The fourth processing module is used for executing the test task according to the scheduling information, wherein the scheduling information is a scheduling request of the cloud network service acquired by the task scheduling system, generating scheduling information according to the scheduling request, adding the scheduling information to the information queue, distributing the scheduling information in the information queue to the corresponding dispatching node according to a preset scheduling algorithm, and sending the scheduling information through the dispatching node;
and the sending module is used for sending the execution result to the task scheduling system.
Optionally, before the fourth processing module executes the test task according to the scheduling information, the apparatus further includes:
and the receiving module is used for receiving the scheduling information sent by the task scheduling system in the preset white list through a software defined network private line.
Referring to fig. 5, a schematic structural diagram of a cloud network service resource processing device 500 suitable for implementing the embodiment of the present disclosure is shown, where the cloud network service resource processing device 500 may be a terminal device or a server. Among them, the terminal Device may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a Digital broadcast receiver, a Personal Digital Assistant (PDA), a tablet computer (PAD), a Portable Multimedia Player (PMP), a car navigation terminal (e.g., a car navigation terminal), etc., and a fixed terminal such as a Digital TV, a desktop computer, etc. The cloud network service resource processing device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the use range of the embodiment of the present disclosure.
As shown in fig. 5, the cloud service resource processing apparatus 500 may include a processing device (e.g., a central processing unit, a graphics processor, etc.) 501, which may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 502 or a program loaded from a storage device 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for the operation of the cloud network service resource processing device 500 are also stored. The processing device 501, the ROM502, and the RAM 503 are connected to each other through a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
Generally, the following devices may be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 507 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage devices 508 including, for example, magnetic tape, hard disk, etc.; and a communication device 509. The communication means 509 may allow the cloud service resource processing device 500 to perform wireless or wired communication with other devices to exchange data. While fig. 5 illustrates a cloud network service resource processing apparatus 500 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, the processes described above with reference to the flow diagrams may be implemented as computer software programs, according to embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 509, or installed from the storage means 508, or installed from the ROM 502. The computer program performs the above-described functions defined in the methods of the embodiments of the present disclosure when executed by the processing device 501.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be included in the cloud service resource processing device; or the device can exist independently without being assembled into the cloud network service resource processing equipment.
The computer readable medium carries one or more programs which, when executed by the cloud network service resource processing device, cause the cloud network service resource processing device to perform the method shown in the above embodiments.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of Network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
An embodiment of the present application further provides a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when the computer-executable instructions are executed by a processor, the computer-executable instructions are used to implement any one of the cloud network service resource processing methods described above.
The embodiment of the present application further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the computer program is configured to implement the cloud network service resource processing method of any one of the foregoing embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
Other embodiments of the present disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A cloud network service resource processing method is applied to a task scheduling system, and comprises the following steps:
the method comprises the steps of obtaining a scheduling request of cloud network service, and generating scheduling information according to the scheduling request;
adding the scheduling information to an information queue;
distributing the scheduling information in the information queue to corresponding distribution nodes according to a preset scheduling algorithm;
sending the scheduling information to a test resource server corresponding to the scheduling information through a dispatch node, so that the test resource server executes a test task according to the scheduling information and sends an execution result to the task scheduling system, wherein each test resource server corresponds to a resource pool;
and determining a resource allocation scheme according to the execution results sent by the plurality of test resource servers.
2. The method of claim 1, wherein determining the resource allocation plan according to the execution results sent by the plurality of test resource servers comprises:
adding a plurality of execution results into a preset table according to a preset table format, wherein the preset table format comprises a source end, a target end and delay;
according to the user distribution and the preset algorithm of the client service, request response time delay data retrieval is carried out in the preset table;
and determining a resource pool corresponding to the cloud network service according to the retrieval result.
3. The method according to claim 2, after determining the resource pool corresponding to the cloud network service according to the retrieval result, further comprising:
and updating the number and the position of the test resource server according to the resource pool update list.
4. The method of claim 3, further comprising, after updating the number and location of the test resource servers according to the resource pool update list:
updating the preset table and the retrieval result according to the updated test resource server;
and updating the resource pool corresponding to the cloud network service according to the updated retrieval result.
5. The method according to any one of claims 1 to 4, wherein the sending the scheduling information to the test resource server corresponding to the scheduling information by the dispatch node comprises:
establishing a software defined network special line with a test resource server through a dispatch node;
and sending the scheduling information to a test resource server corresponding to the scheduling information through the software defined network special line.
6. A cloud network service resource processing method is applied to a test resource server, and comprises the following steps:
executing a test task according to scheduling information, wherein the scheduling information is a scheduling request of a task scheduling system for obtaining cloud network services, generating scheduling information according to the scheduling request, adding the scheduling information to an information queue, distributing the scheduling information in the information queue to corresponding distribution nodes according to a preset scheduling algorithm, and sending the scheduling information through the distribution nodes;
and sending the execution result to the task scheduling system.
7. The method of claim 6, further comprising, prior to said executing a test task according to said scheduling information:
and receiving scheduling information sent by a task scheduling system in a preset white list through a software defined network private line.
8. A cloud network service resource processing system is characterized by comprising a task scheduling system and a plurality of test resource servers;
the task scheduling system is used for acquiring a scheduling request of the cloud network service and generating scheduling information according to the scheduling request; adding the scheduling information to an information queue; distributing the scheduling information in the information queue to corresponding distribution nodes according to a preset scheduling algorithm; sending the scheduling information to a test resource server corresponding to the scheduling information through a dispatching node;
the test resource server is used for executing a test task according to the scheduling information and sending an execution result to the task scheduling system;
the task scheduling system is used for determining a resource allocation scheme according to execution results sent by the plurality of test resource servers.
9. A cloud network service resource processing device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform any one of claims 1 to 5 or to perform the method of claim 6 or 7.
10. A computer-readable storage medium having stored therein computer-executable instructions for implementing any one of claims 1 to 5 or performing the cloud network service resource processing method of claim 6 or 7 when executed by a processor.
CN202211182917.9A 2022-09-27 2022-09-27 Cloud network service resource processing method, device, equipment and storage medium Pending CN115604261A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211182917.9A CN115604261A (en) 2022-09-27 2022-09-27 Cloud network service resource processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211182917.9A CN115604261A (en) 2022-09-27 2022-09-27 Cloud network service resource processing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115604261A true CN115604261A (en) 2023-01-13

Family

ID=84844071

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211182917.9A Pending CN115604261A (en) 2022-09-27 2022-09-27 Cloud network service resource processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115604261A (en)

Similar Documents

Publication Publication Date Title
CN113783922A (en) Load balancing method, system and device
CN110209315B (en) Method and device for displaying characters in user interface, electronic equipment and storage medium
CN113254105B (en) Resource processing method and device, storage medium and electronic equipment
CN110263276B (en) Message distribution method, device, equipment and storage medium
CN110795446A (en) List updating method and device, readable medium and electronic equipment
CN110781373A (en) List updating method and device, readable medium and electronic equipment
CN110996372B (en) Message routing method, device and system and electronic equipment
CN114365107A (en) Network-based media processing (NBMP) workflow management controlled by 5G real-time uplink streaming framework (plus)
CN113162836B (en) Virtual local area network communication method and device, cloud server, medium and electronic equipment
CN111178781A (en) Response resource allocation method, device, equipment and medium of online response system
CN112486825B (en) Multi-lane environment architecture system, message consumption method, device, equipment and medium
CN115022106B (en) Group information processing method, device, equipment and medium
CN115604261A (en) Cloud network service resource processing method, device, equipment and storage medium
CN111641693B (en) Session data processing method and device and electronic equipment
CN113986995A (en) Request distribution method and device, storage medium and electronic equipment
CN114979128A (en) Cross-region communication method and device and electronic equipment
CN110221854B (en) Multi-process data updating method, device, medium and electronic equipment
CN115913803A (en) Information interaction method and device and electronic equipment
CN111382038B (en) Method, device, electronic equipment and storage medium for reporting service data
CN111182062A (en) Service multi-live calling method and system and electronic equipment
CN111314457B (en) Method and device for setting virtual private cloud
CN112688793A (en) Data packet obtaining method and device and electronic equipment
CN111641692B (en) Session data processing method and device and electronic equipment
CN114791855B (en) Task scheduling method, device, medium, equipment and program product under cloud platform
CN116319322B (en) Power equipment node communication connection method, device, equipment and computer medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination