CN115604261B - 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
CN115604261B
CN115604261B CN202211182917.9A CN202211182917A CN115604261B CN 115604261 B CN115604261 B CN 115604261B CN 202211182917 A CN202211182917 A CN 202211182917A CN 115604261 B CN115604261 B CN 115604261B
Authority
CN
China
Prior art keywords
scheduling
scheduling information
resource
network service
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.)
Active
Application number
CN202211182917.9A
Other languages
Chinese (zh)
Other versions
CN115604261A (en
Inventor
李朝霞
刘金春
温源
李研
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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/CN115604261B/en
Publication of CN115604261A publication Critical patent/CN115604261A/en
Application granted granted Critical
Publication of CN115604261B publication Critical patent/CN115604261B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

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 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 a corresponding dispatch node according to a preset scheduling algorithm; the dispatching node sends the dispatching information to the test resource server corresponding to the dispatching information, so that the test resource server executes the test task according to the dispatching information, and sends an execution result to the task dispatching system, wherein each test resource server corresponds to one 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 cloud network service resource processing method, device, equipment, and storage medium.
Background
The cloud network service is a service platform provided by the cloud as required, and basically based on an integrated architecture, the cloud network service utilizes virtualized resources and provides a mode of realizing large-scale service through an internet protocol address (Internet Protocol Address, IP) network.
The deployment of online application services by users of the current cloud network service is mostly from point to multipoint, when the first point is deployed, the users are mostly deployed to a certain geographic position based on manual experience or randomly, and after the first point is deployed, the content forwarding points and other multipoint are added according to the experience complaints of the users.
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 user complaints when deploying the multipoint service, so that the resource requirements of users 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, which are used for solving the technical problems that in the prior art, cloud network service has no deployment scheme aiming at first point service, and when multipoint service is deployed, the cloud network service resource processing method, device, equipment and storage medium are determined only according to user complaints, so that the resource requirements of users on the cloud network service can not be met, 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:
acquiring 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 a corresponding dispatch node 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 sending an execution result to the task scheduling system, wherein each test resource server corresponds to one resource pool;
And determining a resource allocation scheme according to the execution results sent by the plurality of test resource servers.
The application firstly constructs a plurality of test resource servers corresponding to the resource pool, when the task scheduling system for distributing resources is used for realizing cloud network service deployment, the task scheduling system for distributing resources sends the service scheduling information to the plurality of test resource servers positioned at different geographic positions for testing, and distributes the resources according to the execution results fed back by the plurality of test resource servers, thereby facilitating a user to quickly select the cloud resource pool position for deploying the services.
Optionally, the determining a resource allocation scheme according to the execution results sent by the plurality of 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;
Searching request response delay data in a preset table according to user distribution of customer service and a preset algorithm;
And determining a resource pool corresponding to the cloud network service according to the search result.
When the execution result is processed, the execution result is filled into the table, and the determination and the search of the request response time delay data of different resource pools can be intuitively and accurately realized through the table, so that the resource pool with the minimum request response time delay data is determined, the resource pool is determined for cloud network service, the quick configuration of cloud network service resources is realized, and the user experience is improved.
Optionally, after determining the resource pool corresponding to the cloud network service according to the search result, the method further includes:
and updating the number and the positions of the test resource servers according to the resource pool update list.
Optionally, after updating the number and the positions of the tested resource servers according to the resource pool update list, the method further comprises:
updating a preset table and a search result according to the updated test resource server;
and updating the resource pool corresponding to the cloud network service according to the updated search result.
The method and the system can increase the test resource server after the resource pool is newly increased in the later period, increase the test arrangement of each city resource pool in the compiling operation, update the table at the same time, update the request response time delay data of each cloud network service according to the updated table, update the resource pool for the user, further reduce the service time delay and improve the user experience of the cloud network service.
Optionally, the sending, by the serving node, the scheduling information to the test resource server corresponding to the scheduling information includes:
Establishing a software defined network private 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 private line.
Here, the application sends the scheduling information to the test resource server through the software defined network private line, thereby improving the security of data transmission and further improving the user experience.
In a second aspect, the present application provides a cloud network service resource processing method, applied to a test resource server, where the method 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 a corresponding distributing node according to a preset scheduling algorithm, and transmitting the scheduling information through the distributing node;
and sending the execution result to the task scheduling system.
Optionally, before the performing 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.
The method and the system can prevent each server from being invaded by adding the white list, and further improve the safety of cloud network services.
In a third aspect, the application 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 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 a corresponding dispatch node according to a preset scheduling algorithm; sending the scheduling information to a test resource server corresponding to the scheduling information through a dispatch node;
The test resource server is used for executing test tasks according to the scheduling information and sending execution results 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 processing system can complete automatic and timely deployment of the cloud network service resource pool through the task scheduling system and the test resource servers positioned at different places, and improves user experience of the cloud network service.
In a fourth aspect, the present application provides a cloud network service resource processing device, 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 dispatching node according to a preset scheduling algorithm;
The third processing module is used for 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 one resource pool;
and the determining module is used for determining a 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;
Searching request response delay data in a preset table according to user distribution of customer service and a preset algorithm;
And determining a resource pool corresponding to the cloud network service according to the search result.
Optionally, after the determining module determines the resource pool corresponding to the cloud network service according to the search result, the apparatus further includes:
And the updating module is used for updating the number and the positions of the tested resource servers according to the resource pool updating list.
Optionally, after the updating module updates the number and the positions of the tested resource servers according to the resource pool update list, the updating module is further configured to:
updating a preset table and a search result according to the updated test resource server;
and updating the resource pool corresponding to the cloud network service according to the updated search result.
Optionally, the third processing module is specifically configured to:
Establishing a software defined network private 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 private line.
In a fifth aspect, the present application provides a cloud network service resource processing device, which is applied to a test resource server, and includes:
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 a cloud network service acquired by a task scheduling system, the scheduling information is generated according to the scheduling request, the scheduling information is added to an information queue, and the scheduling information in the information queue is distributed to a corresponding dispatching node according to a preset scheduling algorithm and is sent 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 performs 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 the 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 memory;
The memory stores computer-executable instructions;
The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the cloud network service resource processing method according to the first aspect and the 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-executable instructions;
The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the cloud network service resource processing method according to the second aspect and the 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, when executed by a processor, to implement the cloud service resource processing method according to the first aspect and the various possible designs of the first aspect.
In a ninth aspect, the present application provides a computer readable storage medium, where computer executable instructions are stored, when executed by a processor, to implement the cloud service resource processing method according to the second aspect and the various possible designs of the second aspect.
In a tenth aspect, the present application provides a computer program product, which comprises a computer program, wherein the computer program is executed by a processor, and realizes the cloud network service resource processing method according to the first aspect and the various possible designs of the first aspect.
In an eleventh aspect, the present application provides a computer program product, which comprises a computer program, and the computer program is executed by a processor, and realizes the cloud network service resource processing method according to the second aspect and the various possible designs of the second aspect.
The cloud network service resource processing method, the device, the equipment and the storage medium provided by the application can realize resource allocation of the cloud network service, firstly, the application constructs a plurality of test resource servers corresponding to the resource pool, when the cloud network service deployment is realized, the task scheduling system for allocating resources sends the scheduling information of the service to the plurality of test resource servers positioned at different geographic positions for testing, and allocates the resources according to the execution results fed back by the plurality of test resource servers, thereby facilitating a user to quickly select the cloud resource pool position for deploying the service.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the description below are only some embodiments of the application, and that other drawings can be obtained according to these drawings without inventive faculty for a person skilled in the art.
Fig. 1 is a schematic diagram of a cloud service resource processing system architecture according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a cloud network service resource processing method according to an embodiment of the present application;
fig. 3 is a flow chart of another cloud service resource processing method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a cloud service resource processing device according to an embodiment of the present application;
Fig. 5 is a schematic structural diagram of a cloud service resource processing device according to an embodiment of the present application.
Specific embodiments of the present disclosure have been shown by way of the above drawings and will be described in more detail below. These drawings and the written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the disclosed concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
The terms "first," "second," "third," and "fourth" and the like in the description and in the claims and in the above drawings, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented in sequences other than those illustrated or otherwise 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 related information such as user data and the like is collected, stored, used, processed, transmitted, provided, disclosed and the like, which are all in accordance with the regulations of related laws and regulations and do not violate the popular public order.
The current cloud network service is mostly deployed from one point to multiple points, when the cloud network service is deployed to the first point, the cloud network service is mostly deployed to the city A, the city B or the city C according to manual decision, after the first point service is deployed, the content forwarding point and other multiple points are added according to customer experience complaints, the deployment position of the first point is decided without methods and systems, and the service architecture is in a state of being behind customer requirements only according to customer complaint decision. The cloud network service in the prior art has no deployment scheme aiming at the first point service, is determined only according to user complaints when the multipoint service is deployed, cannot meet the resource requirements of users on the cloud network service, and has poor user experience.
In order to solve the technical problems, the embodiments of the present application provide a method, an apparatus, a device, and a storage medium for processing cloud network service resources, where a plurality of test resource servers corresponding to a resource pool are constructed, and when implementing cloud network service deployment, a task scheduling system responsible for allocating resources sends scheduling information of a service to be scheduled to a plurality of test resource servers located in different geographic locations for testing, and allocates resources according to execution results fed back by the plurality of test resource servers, so that a user can conveniently and quickly select a cloud resource pool location where a service is deployed.
Optionally, fig. 1 is a schematic diagram of a cloud service resource processing system architecture according to an embodiment of the present application. As shown in fig. 1, the architecture described above includes a task scheduling system 101, a first test resource server 102, and a second test resource server 103.
It will be appreciated that the number and specific structure of the task scheduling system and the test resource server may be determined according to practical situations, and fig. 1 is only schematic, and the embodiment of the present application is not limited to the number specifically.
The task scheduling system and the test resource server can be arranged on the server or the terminal equipment.
Optionally, the management platform is constructed in advance through an interface provided by the cloud computing management platform OpenStack and other management systems. And constructing test resource servers in all the places around the world, wherein all cities in which cloud service users are concentrated are provided with the test resource servers, coding the servers, and the coding rule is a universal unique identification code (Universally Unique Identifier, UUID) number generated by a media access Control Address (MEDIA ACCESS) Address of the server.
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.
Alternatively, one test resource server corresponds to one resource pool, where each resource pool may correspond to one or more addresses (which may be accurate to a city), or each city corresponds to one or more resource pools.
It may be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the architecture of the cloud network service resource processing system. In other possible embodiments of the present application, the architecture may include more or less components than those illustrated, or some components may be combined, some components may be split, or different component arrangements may be specifically determined according to the actual application scenario, and the present application 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 embodiments of the present application are for more clearly describing the technical solution of the embodiments of the present application, and do not constitute a limitation on the technical solution provided by the embodiments of the present application, and as a person of ordinary skill in the art can know, with evolution of the network architecture and occurrence of a new service scenario, the technical solution provided by the embodiments of the present application is also applicable to similar technical problems.
The following description of the present application is given 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 flow chart of a cloud network service resource processing method provided by the 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 body 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 entered or generated internally within the system.
S202: the scheduling information is added to the information queue.
S203: and distributing the scheduling information in the information queue to the corresponding dispatch node according to a preset scheduling algorithm.
Optionally, the scheduling request is encapsulated into a message and put into a message queue, and the scheduling module is configured to automatically allocate the message to the serving node according to a scheduling algorithm after receiving the message, where the serving node performs partitioning according to the number and the position of the test resource servers, for example, 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 sending an execution result to the task scheduling system.
Wherein each test resource server corresponds to a resource pool.
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 private 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.
Here, the embodiment of the application sends the scheduling information to the test resource server through the software defined network dedicated line, thereby improving the security of data transmission and further improving the user experience.
Alternatively, 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 (Software Defined Network, SDN) is used herein, when a task is dispatched, an SDN private line is established to form an intranet internet protocol (Internet Protocol, IP) address, and the server adds 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 private 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 the resource allocation scheme according to the execution results sent by the 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 of the customer service and a preset algorithm, searching the request response delay data in a preset table; and determining a resource pool corresponding to the cloud network service according to the search result.
The preset table format comprises a source end, a target end and a delay.
Optionally, the preset header includes a source end, a target end and a delay.
In one possible implementation, the optimal deployment resource pool is selected, illustratively according to the user distribution of customer traffic, according to the following algorithm.
It will be appreciated that the following numbers of the resource pools, the delayed data, etc. are all examples, and may be determined according to the actual situation in the actual situation.
Such as resource pool number a, b, c, d, e, f, g, etc.
The users of the customer service are distributed in b, c, d, e, f cities.
Where D represents request response delay data, which may also be simply referred to as delay in the embodiment of the present application.
D b、c represents the delay in accessing the c city resource pool from city b.
D c、b represents the delay in accessing the b city resource pool from city c.
Resource pool configuration is performed, and delays for accessing the 5 city resource pools are respectively retrieved for the 5 cities:
a total of 5*4 = 20 results were retrieved:
Dc、b=15;Dc、d=16;Dc、e=19;Dc、f=21;Db、c=22;Db、d=23;Db、e=21;Db、f=19;Dd、b=19;Dd、c=22;Dd、e=24;Dd、f=21;De、b=18;De、c=20;De、d=22;De、f=20;Df、b=17;Df、c=19;Df、d=22;Df、e=19
from the above data, it can be seen that:
Db=max(Dc、b、Dd、b、De、b、Df、b)=19
Dc=max(Db、c、Dd、c、De、c、Df、c)=22
Dd=max(Db、d、Dc、d、De、d、Df、d)=23
De=max(Db、e、Dc、e、Dd、e、Df、e)=24
Df=max(Db、f、Dc、f、Dd、f、De、f)=21
D=min(DbDcDdDeDf)=19
from the above data, the minimum request response delay data is 19, and comes from node b, so before the service is deployed by the client, the platform recommends to the client that the service is deployed in the city resource pool b.
When the execution result is processed, the execution result is filled into the table, and the determination and the search of the request response time delay data of different resource pools can be intuitively and accurately realized through the table, so that the resource pool with the minimum request response time delay data is determined, the resource pool is determined for cloud network service, the rapid configuration of cloud network service resources is realized, and the user experience is improved.
The application provides a service deployment method of cloud network service, which can realize resource allocation of the cloud network service.
Optionally, after determining the resource pool corresponding to the cloud network service according to the search result, the method further includes: and updating the number and the positions of the test resource servers according to the resource pool update list.
Optionally, after updating the number and the position of the tested resource servers according to the resource pool update list, the method further comprises: updating a preset table and a search result according to the updated test resource server; and updating the resource pool corresponding to the cloud network service according to the updated search result.
In one possible implementation, after the resource pool is newly added in the later period, the management platform adds a test resource server, and adds test arrangement for each city resource pool in the compiling operation, and updates the preset table.
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 client service migration operation to migrate the client service into the newly calculated resource pool.
The embodiment of the application can increase the test resource server after the resource pool is newly increased in the later period, increase the test arrangement of each city resource pool in the compiling operation, update the table at the same time, update the request response time delay data of each cloud network service according to the updated table, update the resource pool for the user, further reduce the service time delay and improve the user experience of the cloud network service.
Fig. 3 is a flow chart of another cloud service resource processing method provided by the embodiment of the present application, where 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 disposed in different regions, and a specific execution body 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 comprises: and receiving scheduling information sent by a task scheduling system in a preset white list through a software defined network private line.
The embodiment of the application can prevent each server from being invaded by adding the white list, thereby further improving the security of the cloud network service.
The scheduling information is a scheduling request of a cloud network service acquired by a task scheduling system, the scheduling information is generated according to the scheduling request, the scheduling information is added to an information queue, and the scheduling information in the information queue is distributed to a corresponding distributing node according to a preset scheduling algorithm and is sent through the distributing node;
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 a corresponding dispatch node according to a preset scheduling algorithm; sending the scheduling information to a test resource server corresponding to the scheduling information through a dispatch node;
the test resource server is used for executing test tasks according to the scheduling information and sending the execution results 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 embodiment of the application can complete automatic and timely deployment of the cloud network service resource pool through the task scheduling system and the test resource servers positioned at different places, and improves the user experience of the cloud network service.
Fig. 4 is a schematic structural diagram of a cloud network service resource processing device provided by an embodiment of the present application, which is applied to a task scheduling system, as shown in fig. 4, where the device 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 service resource processing device may be a server or a terminal device, or a chip or an integrated circuit for realizing the functions of the server or the terminal device. Here, the division of the acquisition module 401, the first processing module 402, the second processing module 403, and the third processing module 404 is just a division of a logic function, and both may be integrated or independent physically.
The cloud network service scheduling system comprises an acquisition module, a scheduling module and a scheduling module, wherein the acquisition module is used for acquiring a scheduling request of a 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 dispatching 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 an 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 a 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 of the customer service and a preset algorithm, searching the request response delay data in a preset table;
And determining a resource pool corresponding to the cloud network service according to the search result.
Optionally, after the determining module determines the resource pool corresponding to the cloud network service according to the search result, the apparatus further includes:
And the updating module is used for updating the number and the positions of the tested resource servers according to the resource pool updating list.
Optionally, after the updating module updates the number and the position of the tested resource servers according to the resource pool update list, the updating module is further configured to:
updating a preset table and a search result according to the updated test resource server;
And updating the resource pool corresponding to the cloud network service according to the updated search result.
Optionally, the third processing module is specifically configured to:
Establishing a software defined network private 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.
The embodiment of the application also provides another cloud network service resource processing device which is applied to the test resource server, and the device comprises: a fourth processing module and a transmitting module. The cloud service resource processing device may be a server, or a chip or an integrated circuit for realizing the server function. Here, the division of the fourth processing module and the transmitting module is only a division of a logic function, and both 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, the scheduling information is generated according to the scheduling request, the scheduling information is added to the information queue, and the scheduling information in the information queue is distributed to the corresponding dispatching node according to a preset scheduling algorithm and is sent 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 performs 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 the software defined network private line.
Referring to fig. 5, a schematic diagram of a configuration of a cloud network service resource processing device 500 suitable for implementing an embodiment of the present disclosure is shown, where the cloud network service resource processing device 500 may be a terminal device or a server. 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) or the like, a tablet computer (Portable Android Device) or the like, a Portable Multimedia Player (PMP) or the like, a car-mounted terminal (e.g., car navigation terminal) or the like, and a fixed terminal such as a digital TV or a desktop computer or the like. The cloud network service resource processing device shown in fig. 5 is only an example, and should not impose any limitation on the functions and use scope of the embodiments 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 processor, a graphics processor, etc.) 501 that 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 (Random Access Memory RAM) 503. In the RAM 503, various programs and data required for the operation of the cloud service resource processing apparatus 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
In general, the following devices may be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 507 including, for example, a Liquid Crystal Display (LCD) CRYSTAL DISPLAY, a speaker, a vibrator, and the like; storage 508 including, for example, magnetic tape, hard disk, etc.; and communication means 509. The communication means 509 may allow the cloud service resource processing device 500 to communicate wirelessly or by wire with other devices to exchange data. Although fig. 5 illustrates a cloud network service resource processing apparatus 500 having various devices, it should be understood that not all illustrated devices are required to be implemented or provided. More or fewer devices may be implemented or provided instead.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. 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 shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 509, or from the storage means 508, or from the ROM 502. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by the processing device 501.
It should be noted that the computer readable medium described in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any 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 context of this 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 the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. 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 of the foregoing. 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, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
The computer readable medium may be contained in the cloud network service resource processing device; or may exist alone without being assembled into the cloud service resource processing device.
The computer-readable medium carries one or more programs which, when executed by the cloud service resource processing apparatus, cause the cloud service resource processing apparatus to perform the method shown in the above embodiment.
Computer program code for carrying out operations of the present disclosure may be written in 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 kind of network, including a local area network (Local Area Network, LAN for short) or a wide area network (Wide Area Network, WAN for short), or may be connected to an external computer (e.g., through the internet using an internet service provider).
The embodiment of the application also provides a computer readable storage medium, wherein computer execution instructions are stored in the computer readable storage medium, and the computer execution instructions are used for realizing the cloud network service resource processing method of any one of the above when being executed by a processor.
The embodiment of the application also provides a computer program product, which comprises a computer program, wherein the computer program is used for realizing the cloud network service resource processing method of any one of the above steps when being executed by a processor.
In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of elements is merely a logical functional division, and there may be additional divisions of actual implementation, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
Other embodiments of the 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 adaptations, 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 is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (6)

1. The cloud network service resource processing method is characterized by being applied to a task scheduling system, and comprises the following steps:
acquiring 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 a corresponding dispatch node 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 sending an execution result to the task scheduling system, wherein each test resource server corresponds to one resource pool;
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;
Searching request response delay data in a preset table according to user distribution of customer service and a preset algorithm;
Determining a resource pool corresponding to the cloud network service according to the search result;
and updating the number and the positions of the test resource servers according to the resource pool update list.
2. The method of claim 1, further comprising, after updating the number and location of the test resource servers according to the resource pool update list:
updating a preset table and a search result according to the updated test resource server;
and updating the resource pool corresponding to the cloud network service according to the updated search result.
3. The method according to claim 1 or 2, wherein the sending, by the serving node, the scheduling information to the test resource server corresponding to the scheduling information includes:
Establishing a software defined network private 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 private line.
4. The 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 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 a corresponding dispatch node according to a preset scheduling algorithm; sending the scheduling information to a test resource server corresponding to the scheduling information through a dispatch node;
The test resource server is used for executing test tasks according to the scheduling information and sending execution results to the task scheduling system;
the task scheduling system is used for 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; searching request response delay data in a preset table according to user distribution of customer service and a preset algorithm; determining a resource pool corresponding to the cloud network service according to the search result; and updating the number and the positions of the test resource servers according to the resource pool update list.
5. A cloud network service resource processing device, characterized by comprising:
at least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1 to 3.
6. A computer-readable storage medium, wherein computer-executable instructions are stored in the computer-readable storage medium, and when executed by a processor, the computer-executable instructions are configured to implement the cloud network service resource processing method according to any one of claims 1 to 3.
CN202211182917.9A 2022-09-27 2022-09-27 Cloud network service resource processing method, device, equipment and storage medium Active CN115604261B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211182917.9A CN115604261B (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 CN115604261B (en) 2022-09-27 2022-09-27 Cloud network service resource processing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115604261A CN115604261A (en) 2023-01-13
CN115604261B true CN115604261B (en) 2024-04-30

Family

ID=84844071

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211182917.9A Active CN115604261B (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) CN115604261B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110618871A (en) * 2019-09-21 2019-12-27 苏州浪潮智能科技有限公司 FPGA cloud platform acceleration resource allocation method and system
WO2020172692A2 (en) * 2020-04-27 2020-08-27 Futurewei Technologies, Inc. Dynamic resource tuning cloud service
CN112637299A (en) * 2020-12-15 2021-04-09 中国联合网络通信集团有限公司 Cloud resource allocation method, device, equipment, medium and product
CN112671772A (en) * 2020-12-24 2021-04-16 国网冀北电力有限公司信息通信分公司 Network security service system and method
CN114401188A (en) * 2022-01-18 2022-04-26 中国联合网络通信集团有限公司 Method for changing cloud network edge integrated service, management equipment and medium
CN115033359A (en) * 2022-05-20 2022-09-09 中国电力科学研究院有限公司 Internet of things agent multi-task scheduling method and system based on time delay control
CN115098252A (en) * 2022-06-16 2022-09-23 上海云轴信息科技有限公司 Resource scheduling method, device and computer readable medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9817645B2 (en) * 2014-09-17 2017-11-14 Sap Se Reusable application configuration with dynamic resource determination

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110618871A (en) * 2019-09-21 2019-12-27 苏州浪潮智能科技有限公司 FPGA cloud platform acceleration resource allocation method and system
WO2020172692A2 (en) * 2020-04-27 2020-08-27 Futurewei Technologies, Inc. Dynamic resource tuning cloud service
CN112637299A (en) * 2020-12-15 2021-04-09 中国联合网络通信集团有限公司 Cloud resource allocation method, device, equipment, medium and product
CN112671772A (en) * 2020-12-24 2021-04-16 国网冀北电力有限公司信息通信分公司 Network security service system and method
CN114401188A (en) * 2022-01-18 2022-04-26 中国联合网络通信集团有限公司 Method for changing cloud network edge integrated service, management equipment and medium
CN115033359A (en) * 2022-05-20 2022-09-09 中国电力科学研究院有限公司 Internet of things agent multi-task scheduling method and system based on time delay control
CN115098252A (en) * 2022-06-16 2022-09-23 上海云轴信息科技有限公司 Resource scheduling method, device and computer readable medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
《Edge Cloud-Enabled Radio Resource Management for Co-Operative Automated Driving》;Keshavamurthy, P;《IEEE JOURNAL ON SELECTED AREAS IN COMMUNICATIONS》;20200714;全文 *
基于计算、存储、传送资源融合化的新型网络虚拟化架构;雷波;王江龙;赵倩颖;余勇志;杨明川;;电信科学;20200720(第07期);全文 *
安徽省气象业务资源池设计与应用;华连生;唐怀瓯;王根;姚雷;;气象科技;20170415(第02期);全文 *

Also Published As

Publication number Publication date
CN115604261A (en) 2023-01-13

Similar Documents

Publication Publication Date Title
US20210256431A1 (en) Methods for unlocking shared bikes
CN110391938B (en) Method and apparatus for deploying services
CN113254105B (en) Resource processing method and device, storage medium and electronic equipment
CN110795446A (en) List updating method and device, readable medium and electronic equipment
CN110781373A (en) List updating method and device, readable medium and electronic equipment
CN113821352A (en) Remote service calling method and device
CN114365107A (en) Network-based media processing (NBMP) workflow management controlled by 5G real-time uplink streaming framework (plus)
CN112115217A (en) Data processing method and device for high-precision map, electronic equipment and storage medium
CN115237589A (en) SR-IOV-based virtualization method, device and equipment
CN111163324A (en) Information processing method and device and electronic equipment
CN112486825B (en) Multi-lane environment architecture system, message consumption method, device, equipment and medium
CN112306685A (en) Task isolation method and device, electronic equipment and computer readable medium
CN115604261B (en) Cloud network service resource processing method, device, equipment and storage medium
CN111382058B (en) Service testing method and device, server and storage medium
CN111641693B (en) Session data processing method and device and electronic equipment
CN111241368B (en) Data processing method, device, medium and equipment
CN115022106A (en) Group information processing method, device, equipment and medium
CN113986995A (en) Request distribution method and device, storage medium and electronic equipment
CN114979128A (en) Cross-region communication method and device and electronic equipment
CN113691937A (en) Method for determining position information, cloud mobile phone and terminal equipment
CN111625326A (en) Task pipeline execution method and device and electronic equipment
CN111641692B (en) Session data processing method and device and electronic equipment
CN111182062A (en) Service multi-live calling method and system and electronic equipment
CN116506452B (en) Multi-cloud data storage method, device, equipment and storage medium
CN116489224B (en) Multi-cloud container scheduling method, device, equipment and storage medium

Legal Events

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