CN113361913A - Communication service arranging method, device, computer equipment and storage medium - Google Patents

Communication service arranging method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN113361913A
CN113361913A CN202110623290.5A CN202110623290A CN113361913A CN 113361913 A CN113361913 A CN 113361913A CN 202110623290 A CN202110623290 A CN 202110623290A CN 113361913 A CN113361913 A CN 113361913A
Authority
CN
China
Prior art keywords
target
resource
resource allocation
amount
service
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
CN202110623290.5A
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.)
Guangdong Power Grid Co Ltd
Dongguan Power Supply Bureau of Guangdong Power Grid Co Ltd
Original Assignee
Guangdong Power Grid Co Ltd
Dongguan Power Supply Bureau of Guangdong Power Grid 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 Guangdong Power Grid Co Ltd, Dongguan Power Supply Bureau of Guangdong Power Grid Co Ltd filed Critical Guangdong Power Grid Co Ltd
Priority to CN202110623290.5A priority Critical patent/CN113361913A/en
Publication of CN113361913A publication Critical patent/CN113361913A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06315Needs-based resource requirements planning or analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2457Query processing with adaptation to user needs
    • G06Q50/40

Abstract

The embodiment of the invention discloses a communication service arranging method, a communication service arranging device, computer equipment and a storage medium. The method comprises the following steps: acquiring a service arrangement request sent by a target client; the service arrangement request comprises a target service type and a target resource allocation amount; and if the residual resource amount of a first resource pool matched with the target service type in the pre-deployed resource database meets the target resource allocation amount, determining target resource allocation information matched with the target resource allocation amount in the first resource pool, and sending the target resource allocation information to the target client. Through the technical scheme of the embodiment of the invention, the effects of simplifying the resource allocation process, improving the resource allocation efficiency and improving the utilization efficiency of communication resources can be realized.

Description

Communication service arranging method, device, computer equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a communication service arranging method, a communication service arranging device, computer equipment and a storage medium.
Background
In power distribution and telecommunications, different internet protocol addresses are required to be arranged for different communication services, so as to realize corresponding communication services.
At present, aiming at various communication services, the arrangement of communication resources needs human participation, which causes large workload of workers, poor arrangement effect and easy problem of Internet protocol address conflict.
Disclosure of Invention
Embodiments of the present invention provide a communication service orchestration method, apparatus, computer device, and storage medium, so as to simplify a communication resource allocation process, improve an effect of communication resource allocation efficiency, and improve utilization efficiency of communication resources.
In a first aspect, an embodiment of the present invention provides a service orchestration method, including:
acquiring a service arrangement request sent by a target client; the service arrangement request comprises a target service type and a target resource allocation amount;
and if the residual resource amount of a first resource pool matched with the target service type in the pre-deployed resource database meets the target resource allocation amount, determining target resource allocation information matched with the target resource allocation amount in the first resource pool, and sending the target resource allocation information to the target client.
In a second aspect, an embodiment of the present invention further provides a service orchestration device, including:
the service arrangement request acquisition module is used for acquiring a service arrangement request sent by a target client; the service arrangement request comprises a target service type and a target resource allocation amount;
and the service resource allocation module is used for determining target resource allocation information matched with the target resource allocation amount in the first resource pool and sending the target resource allocation information to the target client if the residual resource amount of the first resource pool matched with the target service type in the pre-deployed resource database meets the target resource allocation amount.
In a third aspect, an embodiment of the present invention further provides a computer device, including:
one or more processors;
a memory for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a method as described in any embodiment of the invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is configured to, when executed by a processor, implement a method according to any embodiment of the present invention.
According to the technical scheme of the embodiment of the invention, the problem that the arrangement and division of the power distribution and utilization communication resources cannot be quickly and automatically realized in the prior art is solved by establishing the power distribution and utilization service communication resource database, the effect of simplifying the resource distribution process and improving the resource distribution efficiency is realized, and the utilization efficiency of the communication resources is improved.
Drawings
Fig. 1 is a flowchart of a service orchestration method according to a first embodiment of the present invention;
fig. 2 is a flowchart of a service orchestration method according to a second embodiment of the present invention;
fig. 3 is a flowchart of a service orchestration method according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a service orchestration device according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a computer device in the fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a service orchestration method according to an embodiment of the present invention, which is applicable to quickly and automatically implement orchestration and partitioning of allocated electrical communication resources, and the method can be implemented by a service orchestration device, which can be implemented in a hardware and/or software manner, and can be generally integrated in a computer device with a service orchestration function, such as various terminals or servers (e.g., a service master). As shown in fig. 1, the method specifically includes the following steps:
s110, acquiring a service arrangement request sent by a target client; and the service scheduling request comprises a target service type and a target resource allocation amount.
The target client refers to any type of client that needs to allocate communication resources according to a service requirement corresponding to the target client, and may be, for example, a smart phone, a desktop computer, a tablet computer, a notebook computer, a smart wearable device, or other power distribution entity communication devices, or may include software running on the entity devices, such as an application program or a website.
And when the target client requests resource allocation for the service corresponding to the target client, sending a service scheduling request to the service master station so that the service master station performs communication resource allocation according to the service scheduling request. The service master station may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a Network service, cloud communication, a middleware service, a domain name service, a security service, a CDN (Content Delivery Network), a big data and artificial intelligence platform, and the like. The present embodiment does not limit this.
The service scheduling request refers to a request sent by a target client for indicating communication resource allocation, and carries information related to the communication resource allocation request.
Optionally, the information in the service orchestration request may include a target service type and a target resource allocation amount.
The target service type may be any service type requiring communication resource allocation, such as an IP (Internet Protocol) address allocation service, and the name of the service type is not specifically limited in this embodiment. The target resource allocation amount refers to the amount of communication resources required to be occupied by the target client. Taking the communication resource as an IP address as an example, the target resource allocation amount may be N IP addresses, or may be an IP address segment including a plurality of IP addresses.
Optionally, the service scheduling request includes a service type, and at least includes one of the following:
device management IP allocation, terminal IP allocation, management VLAN (Virtual Local Area Network) allocation, service VLAN allocation, and OSPF (Open Shortest Path First) allocation.
Specifically, if the target client needs to request for allocating the device management IP, the target service type in the service orchestration request sent is "device management IP allocation"; if the terminal equipment IP address needs to be requested to be allocated, the target service type in the sent service arranging request is terminal IP allocation; if the management VLAN needs to be requested to be allocated, the target service type in the sent service arranging request is management VLAN allocation; if the service VLAN needs to be requested to be allocated, the target service type in the sent service arranging request is 'service VLAN allocation'; if the request for allocating the OSPF is required, the target service type in the service scheduling request is 'OSPF allocation'.
The technical scheme of the embodiment is suitable for various service types needing communication resource allocation, can meet various service arrangement requests of the target client, simplifies the allocation process of the communication resources, and improves the utilization efficiency of the communication resources.
S120, if the residual resource amount of a first resource pool matched with the target service type in the pre-deployed resource database meets the target resource allocation amount, determining target resource allocation information matched with the target resource allocation amount in the first resource pool, and sending the target resource allocation information to the target client.
The resource database is deployed on the side of a service master station and is deployed in parallel with the service master station.
For each traffic type, the first resource pool includes allocated communication resource information (no allocated communication resource information exists in the initial case) and unallocated communication resource information, and the second resource pool includes spare communication resource information. Taking the terminal IP address as an example, the first resource pool includes allocated terminal IP address information and unallocated terminal IP address information, and the second resource pool includes standby communication resource information.
The number of communication resources that are not allocated in the first resource pool is the remaining resource amount in the first resource pool, that is, the remaining resource amount of the total resource amount in the first resource pool excluding the resource usage amount in the first resource pool.
In a specific example, the service master station obtains the remaining resource amount in the first resource pool corresponding to the target service type, compares the remaining resource amount with the target resource allocation amount, and sends target resource allocation information corresponding to the target resource allocation amount to the client if the remaining resource amount is greater than or equal to the target resource allocation amount.
According to the technical scheme of the embodiment, the power distribution service communication resource database is established, and through the service arrangement request of the client, the communication resources of the first resource pool can be allocated to the corresponding service type according to the residual resource amount corresponding to the first resource pool and the target resource allocation amount, so that the resource allocation process is simplified. The method solves the problem that the arrangement and division of the power distribution and utilization communication resources can not be quickly and automatically realized in the prior art, and improves the utilization efficiency of the communication resources.
Example two
Fig. 2 is a flowchart of a service orchestration method according to a second embodiment of the present invention. The present embodiment is added to the above-described embodiments. In this embodiment, the method specifically includes: and if the residual resource amount of the first resource pool matched with the target service type in the resource database does not meet the resource allocation amount, adding the resources in the second resource pool matched with the target service type in the resource database into the first resource pool matched with the target service type so as to enable the residual resource amount of the first resource pool matched with the target service type to meet the target resource allocation amount.
As shown in fig. 2, the method comprises the following specific steps:
s210, acquiring a service arrangement request sent by a target client; and the service scheduling request comprises a target service type and a target resource allocation amount.
S220, judging whether the residual resource amount of a first resource pool matched with the target service type in a pre-deployed resource database meets the target resource allocation amount, if so, executing S230, and if not, executing S240.
S230, determining target resource allocation information matched with the target resource allocation amount in the first resource pool, and sending the target resource allocation information to the target client.
Optionally, after the sending the target resource allocation information to the client, the method further includes:
updating the residual resource amount of the first resource pool matched with the target service type;
and if the updated residual resource amount is less than a preset threshold, adding the resources in the second resource pool matched with the target service type in the resource database into the first resource pool matched with the target service type, so that the residual resource amount of the first resource pool matched with the target service type is not less than the preset threshold.
Specifically, after the service master station sends the target resource allocation information to the client, the remaining resource amount of the first resource pool matched with the target service type is updated. And judging whether the updated residual resource amount is smaller than a preset threshold value, if so, supplementing the resources in the first resource pool matched with the target service type.
And determining a second resource pool corresponding to the target service type, and acquiring partial resources from the second resource pool and adding the partial resources to the first resource pool so as to increase the residual resource amount of the first resource pool.
Optionally, the preset number of resources is obtained from the second resource pool and added to the first resource pool each time, the remaining resource amount of the first resource pool matched with the target service type is updated again, and when the remaining resource amount is smaller than the preset threshold, the preset number of resources is continuously obtained from the second resource pool and added to the first resource pool until the remaining resource amount of the first resource pool matched with the target service type is not smaller than the preset threshold.
Optionally, when it is determined that the updated remaining resource amount is smaller than the preset threshold, the resource replenishment amount of the first resource pool matched with the target service type is calculated according to the remaining resource amount and the preset threshold, and then the resource corresponding to the resource replenishment amount is acquired from the second resource pool and added to the first resource pool, so that the remaining resource amount of the first resource pool matched with the target service type is not smaller than the preset threshold.
A preset threshold may be uniformly set for each first resource pool in the resource database, or a preset threshold may be set for each first resource pool in the resource database separately, so as to limit the amount of remaining resources in the first resource pool, which is not specifically limited in this embodiment.
According to the technical scheme of the embodiment, when the residual resource amount of the first resource pool is smaller than the preset threshold value, the first resource pool is supplemented with the resources according to the resources in the second resource pool, so that the problem that the service arrangement request cannot be directly responded due to the fact that the residual resource amount of the first resource pool is too small is solved, and the allocation efficiency of the communication resources is improved.
S240, adding the resources in the second resource pool matched with the target service type in the resource database into the first resource pool matched with the target service type so that the residual resource amount of the first resource pool matched with the target service type meets the target resource allocation amount, and executing S230.
Specifically, the service master station compares the remaining resource amount and the resource allocation amount of the first resource pool matched with the target service type, and if the remaining resource amount of the first resource pool matched with the target service type in the resource database is less than the target resource allocation amount, the resources in the first resource pool matched with the target service type need to be supplemented, so that the remaining resource amount of the first resource pool matched with the target service type can meet the target resource allocation amount.
Optionally, the resource replenishment amount of the first resource pool matched with the target service type is calculated according to the remaining resource amount in the first resource pool matched with the target service type and the target resource allocation amount, and the resource matched with the resource replenishment amount is acquired from the second resource pool matched with the target service type and added to the first resource pool, at this time, the remaining resource amount of the first resource pool matched with the target service type can meet the target resource allocation amount, so that the target resource allocation information matched with the target resource allocation amount can be determined in the first resource pool matched with the target service type, and the target resource allocation information is sent to the target client.
According to the technical scheme of the embodiment, when the residual resource amount of the first resource pool matched with the target service type does not meet the target resource allocation amount, the resource in the second resource pool matched with the target service type is supplemented to the first resource pool, so that the service arrangement request can be normally responded according to the residual resource amount of the first resource pool matched with the target service type, and the automation degree of communication resource allocation is improved.
Optionally, adding the resource in the second resource pool, which is matched with the target service type, in the resource database to the first resource pool, which is matched with the target service type, includes:
and adding the resources matched with the target resource allocation amount in a second resource pool matched with the target service type in the resource database into a first resource pool matched with the target service type.
Specifically, the service master station compares the remaining resource amount and the resource allocation amount of a first resource pool, which is matched with the target service type, in the resource database, and if the remaining resource amount of the first resource pool, which is matched with the target service type, in the resource database does not meet the resource allocation amount, the second resource pool, which is matched with the target service type, obtains resources, which are matched with the target resource allocation amount, and adds the resources to the first resource pool, and at this time, the remaining resource amount of the first resource pool, which is matched with the target service type, can meet the target resource allocation amount, so that target resource allocation information, which is matched with the target resource allocation amount, can be determined in the first resource pool, which is matched with the target service type, and the target resource allocation information is sent to the target client.
According to the technical scheme of the embodiment, when the residual resource amount of the first resource pool matched with the target service type does not meet the target resource allocation amount, the resource in the second resource pool matched with the target service type is supplemented to the first resource pool, the resource supplement amount is matched with the target resource allocation amount, and the problem that the residual resource amount of the first resource pool matched with the target service type is too small after the service arrangement request is responded is solved.
For those parts of this embodiment that are not explained in detail, reference is made to the aforementioned embodiments, which are not repeated herein.
In the technical scheme, a power distribution and utilization service communication resource database is established, wherein the database is provided with a first resource pool corresponding to different service types and a second resource pool for storing redundant communication resources, and when the residual resources in the first resource pool are not enough to respond to the service arrangement request of the client, the resources in the second resource pool are automatically supplemented to the first resource pool, so that the normal response to the service arrangement request of the client is realized, the problem that the arrangement and division of power distribution and utilization communication resources cannot be quickly and automatically realized in the prior art is solved, and the utilization efficiency of the communication resources is improved.
EXAMPLE III
Fig. 3 is a flowchart of a service orchestration method according to a third embodiment of the present invention. In this embodiment, specifically, determining target resource allocation information matched with the target resource allocation amount in the first resource pool, and sending the target resource allocation information to the target client for refinement includes: acquiring priority information of the target client; and if the target client side meets the priority response condition corresponding to the target service type according to the priority information, determining target resource allocation information matched with the target resource allocation amount in the first resource pool, and sending the target resource allocation information to the target client side.
As shown in fig. 3, the method comprises the following specific steps:
s310, acquiring a service arranging request sent by a target client; and the service scheduling request comprises a target service type and a target resource allocation amount.
Optionally, the service orchestration request further includes a name of the target client;
the determining, in the first resource pool, target resource allocation information matched with the target resource allocation amount and sending the target resource allocation information to the target client includes:
and if the permission information corresponding to the target client name exists, determining target resource allocation information matched with the target resource allocation amount in the first resource pool, and sending the target resource allocation information to the target client.
Here, the license information refers to information for authenticating the client, and may be, for example, identification information of a license file. In practical application, the physical machine where the client is located is provided with an electronic certificate, and a license file can be generated according to related instructions of an operating system. Correspondingly, the license file and the client name are imported into the service master station, and the license authorization mapping relation between the identification information of the license file and the client name is established, so that the service master station can judge whether the license information corresponding to the target client name exists or not by inquiring the license authorization mapping relation. The record form of the license authorization mapping relationship may be "client name + identification information of license file".
Specifically, the service scheduling request sent by the target client includes not only the target service type and the target resource allocation amount, but also the name of the target client. And if the business master station has the permission information corresponding to the name of the target client, determining that the target client is a legal client, further determining target resource allocation information matched with the target resource allocation amount in the corresponding first resource pool, and sending the target resource allocation information to the target client. And if the permission information corresponding to the name of the target client does not exist in the service master station, determining that the target client is an illegal client, and further not responding to the service scheduling request of the target client.
According to the technical scheme of the embodiment, the target client name is added into the service arrangement request information sent by the target client, the service master station judges whether the target client is a legal client or not according to the target client name and the locally pre-stored permission authorization mapping relation, and only normally responds to the service arrangement request of the legal client, so that the malicious request of the illegal client can be prevented from being responded by mistake, and the safety of service arrangement is improved.
S320, judging whether the residual resource amount of the first resource pool matched with the target service type in the pre-deployed resource database meets the target resource allocation amount, if so, executing S330, and if not, executing S350.
S330, acquiring the priority information of the target client.
The priority generally refers to the priority of the same service type divided according to the importance degree of the client, and the more important the client is in the same service type, the higher the priority of the service type request sent by the client in the same service type is.
In a typical example, a client importance level table is stored in the master site, and the client importance level table may be queried according to the name of the target client to determine the priority information of the target client.
When the target service types in the service arranging requests sent by the client A and the client B to the service master station are both 'equipment management IP allocation', the service master station judges the importance degrees of the client A and the client B according to the client importance degree grade table, if the importance degree of the client A is greater than that of the client B, the response priority of the service arranging request of the client A is higher than that of the client B, and vice versa.
S340, if the target client side is determined to meet the priority response condition corresponding to the target service type according to the priority information, determining target resource allocation information matched with the target resource allocation amount in the first resource pool, and sending the target resource allocation information to the target client side.
The priority response condition may be, for example, a condition that a priority is highest among a plurality of clients currently transmitting the service orchestration request for the same service type. Correspondingly, if the target client side has the highest priority among the plurality of client sides which send the service arrangement requests aiming at the target service type, the target client side is determined to meet the priority response condition corresponding to the target service type, so that the service arrangement requests of the target client side are preferentially responded.
And if the target client does not meet the priority response condition corresponding to the target service type according to the priority information of the target client, queuing the service scheduling request of the target client until the target client does not meet the priority response condition corresponding to the target service type.
S350, adding the resources in the second resource pool matched with the target service type in the resource database into the first resource pool matched with the target service type, and executing S320.
For those parts of this embodiment that are not explained in detail, reference is made to the aforementioned embodiments, which are not repeated herein.
According to the technical scheme of the embodiment, the priority is set for the client, and the service scheduling request sent by the target client with high priority is preferentially responded aiming at the service scheduling requests of the same service type, so that the problem of resource blockage possibly caused by simultaneously responding to the service scheduling requests of a plurality of clients is avoided, and the automation degree of communication resource allocation is further improved.
Example four
Fig. 4 is a schematic structural diagram of a service orchestration device according to a fourth embodiment of the present invention. The device may be implemented in software and/or hardware, and as shown in fig. 4, the service orchestration device specifically includes: a service arrangement request acquisition module 410 and a service resource allocation module 420.
The service orchestration request obtaining module 410 is configured to obtain a service orchestration request sent by a target client; the service arrangement request comprises a target service type and a target resource allocation amount;
a service resource allocation module 420, configured to determine, if a remaining resource amount of a first resource pool, which is matched with the target service type, in a pre-deployed resource database meets the target resource allocation amount, target resource allocation information matched with the target resource allocation amount in the first resource pool, and send the target resource allocation information to the target client.
According to the technical scheme of the embodiment of the invention, the problem that the arrangement and division of the power distribution and utilization communication resources cannot be quickly and automatically realized in the prior art is solved by establishing the power distribution and utilization service communication resource database, the effect of simplifying the resource distribution process and improving the resource distribution efficiency is realized, and the utilization efficiency of the communication resources is improved.
Optionally, the service orchestration device further includes: and the second resource adding module is used for adding the resources in the second resource pool matched with the target service type in the resource database to the first resource pool matched with the target service type if the residual resource amount of the first resource pool matched with the target service type in the resource database does not meet the resource allocation amount, so that the residual resource amount of the first resource pool matched with the target service type meets the target resource allocation amount.
Optionally, the second resource adding module may be specifically configured to add, to the first resource pool matched with the target service type, a resource in the second resource pool matched with the target service type in the resource database, where the resource is matched with the target resource allocation amount.
Optionally, the service orchestration device further includes a remaining resource amount supplementing module, which is specifically configured to update the remaining resource amount of the first resource pool matched with the target service type after the target resource allocation information is sent to the client; and if the updated residual resource amount is less than a preset threshold, adding the resources in the second resource pool matched with the target service type in the resource database into the first resource pool matched with the target service type, so that the residual resource amount of the first resource pool matched with the target service type is not less than the preset threshold.
Optionally, the service orchestration request further includes a name of the target client;
correspondingly, the service resource allocation module 420 may be specifically configured to: and if the permission information corresponding to the target client name exists, determining target resource allocation information matched with the target resource allocation amount in the first resource pool, and sending the target resource allocation information to the target client.
Optionally, the service resource allocation module 420 may include:
a priority information obtaining unit, configured to obtain priority information of the target client;
and the target resource allocation information sending unit is used for determining target resource allocation information matched with the target resource allocation amount in the first resource pool and sending the target resource allocation information to the target client if the target client is determined to meet the priority response condition corresponding to the target service type according to the priority information.
Optionally, the service scheduling request includes a service type, and at least includes one of the following:
the device manages Internet Protocol (IP) allocation, terminal IP allocation, Virtual Local Area Network (VLAN) allocation, service VLAN allocation and Open Shortest Path First (OSPF) allocation.
The service arranging device provided by the embodiment of the invention can execute the service arranging method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the executing method.
EXAMPLE five
Fig. 5 is a schematic structural diagram of a computer apparatus according to a fifth embodiment of the present invention, as shown in fig. 5, the computer apparatus includes a processor 510, a memory 520, an input device 530, and an output device 540; the number of the processors 510 in the computer device may be one or more, and one processor 510 is taken as an example in fig. 5; the processor 510, the memory 520, the input device 530 and the output device 540 in the computer apparatus may be connected by a bus or other means, and the connection by the bus is exemplified in fig. 5.
The memory 520 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the service orchestration method in the embodiment of the present invention (for example, the service orchestration request obtaining module 410 and the service resource allocating module 420 in the service orchestration device). The processor 510 executes various functional applications and data processing of the computer device by executing software programs, instructions and modules stored in the memory 520, so as to implement the service orchestration method described above.
The memory 520 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 520 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 520 may further include memory located remotely from processor 510, which may be connected to a computer device through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 530 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the computer apparatus. The output device 540 may include a display device such as a display screen.
EXAMPLE six
An embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a service orchestration method, including:
acquiring a service arrangement request sent by a target client; the service arrangement request comprises a target service type and a target resource allocation amount;
and if the residual resource amount of a first resource pool matched with the target service type in the pre-deployed resource database meets the target resource allocation amount, determining target resource allocation information matched with the target resource allocation amount in the first resource pool, and sending the target resource allocation information to the target client.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the operations of the method described above, and may also perform related operations in the service orchestration method provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the service orchestration device, each included unit and module are only divided according to functional logic, but are not limited to the above division, as long as the corresponding function can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A method for orchestrating services, comprising:
acquiring a service arrangement request sent by a target client; the service arrangement request comprises a target service type and a target resource allocation amount;
and if the residual resource amount of a first resource pool matched with the target service type in the pre-deployed resource database meets the target resource allocation amount, determining target resource allocation information matched with the target resource allocation amount in the first resource pool, and sending the target resource allocation information to the target client.
2. The method of claim 1, further comprising:
and if the residual resource amount of the first resource pool matched with the target service type in the resource database does not meet the target resource allocation amount, adding the resources in the second resource pool matched with the target service type in the resource database into the first resource pool matched with the target service type so as to enable the residual resource amount of the first resource pool matched with the target service type to meet the target resource allocation amount.
3. The method of claim 2, wherein adding the resource in the second resource pool in the resource database matching the target traffic type to the first resource pool matching the target traffic type comprises:
and adding the resources matched with the target resource allocation amount in a second resource pool matched with the target service type in the resource database into a first resource pool matched with the target service type.
4. The method of claim 1, further comprising, after the sending the target resource allocation information to the client:
updating the residual resource amount of the first resource pool matched with the target service type;
and if the updated residual resource amount is less than a preset threshold, adding the resources in the second resource pool matched with the target service type in the resource database into the first resource pool matched with the target service type, so that the residual resource amount of the first resource pool matched with the target service type is not less than the preset threshold.
5. The method of claim 1, wherein the service orchestration request further comprises a target client name;
the determining, in the first resource pool, target resource allocation information matched with the target resource allocation amount and sending the target resource allocation information to the target client includes:
and if the permission information corresponding to the target client name exists, determining target resource allocation information matched with the target resource allocation amount in the first resource pool, and sending the target resource allocation information to the target client.
6. The method according to claim 1 or 5, wherein the determining target resource allocation information in the first resource pool that matches the target resource allocation amount and sending the target resource allocation information to the target client comprises:
acquiring priority information of the target client;
and if the target client side meets the priority response condition corresponding to the target service type according to the priority information, determining target resource allocation information matched with the target resource allocation amount in the first resource pool, and sending the target resource allocation information to the target client side.
7. The method of claim 1, wherein the service orchestration request includes a service type, including at least one of:
the device manages Internet Protocol (IP) allocation, terminal IP allocation, Virtual Local Area Network (VLAN) allocation, service VLAN allocation and Open Shortest Path First (OSPF) allocation.
8. A transaction orchestration device, comprising:
the service arrangement request acquisition module is used for acquiring a service arrangement request sent by a target client; the service arrangement request comprises a target service type and a target resource allocation amount;
and the service resource allocation module is used for determining target resource allocation information matched with the target resource allocation amount in the first resource pool and sending the target resource allocation information to the target client if the residual resource amount of the first resource pool matched with the target service type in the pre-deployed resource database meets the target resource allocation amount.
9. A computer device, characterized in that the computer device comprises:
one or more processors;
a memory for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-7.
CN202110623290.5A 2021-06-04 2021-06-04 Communication service arranging method, device, computer equipment and storage medium Pending CN113361913A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110623290.5A CN113361913A (en) 2021-06-04 2021-06-04 Communication service arranging method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110623290.5A CN113361913A (en) 2021-06-04 2021-06-04 Communication service arranging method, device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113361913A true CN113361913A (en) 2021-09-07

Family

ID=77532201

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110623290.5A Pending CN113361913A (en) 2021-06-04 2021-06-04 Communication service arranging method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113361913A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114040378A (en) * 2021-11-20 2022-02-11 京信网络系统股份有限公司 Application arranging method and device, computer equipment and storage medium
CN114866547A (en) * 2022-04-20 2022-08-05 中国银联股份有限公司 Virtual resource allocation method, device, equipment and storage medium
WO2023061257A1 (en) * 2021-10-15 2023-04-20 阿里云计算有限公司 Database service processing method and apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105553882A (en) * 2015-12-23 2016-05-04 清华大学 Method for scheduling SDN data plane resources
CN110858161A (en) * 2018-08-24 2020-03-03 阿里巴巴集团控股有限公司 Resource allocation method, device, system, equipment and medium
CN111988392A (en) * 2020-08-14 2020-11-24 腾讯科技(深圳)有限公司 Resource allocation method based on cloud service, related device, equipment and system
CN112433851A (en) * 2020-11-23 2021-03-02 广州技象科技有限公司 Internet of things resource scheduling method, device, equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105553882A (en) * 2015-12-23 2016-05-04 清华大学 Method for scheduling SDN data plane resources
CN110858161A (en) * 2018-08-24 2020-03-03 阿里巴巴集团控股有限公司 Resource allocation method, device, system, equipment and medium
CN111988392A (en) * 2020-08-14 2020-11-24 腾讯科技(深圳)有限公司 Resource allocation method based on cloud service, related device, equipment and system
CN112433851A (en) * 2020-11-23 2021-03-02 广州技象科技有限公司 Internet of things resource scheduling method, device, equipment and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023061257A1 (en) * 2021-10-15 2023-04-20 阿里云计算有限公司 Database service processing method and apparatus
CN114040378A (en) * 2021-11-20 2022-02-11 京信网络系统股份有限公司 Application arranging method and device, computer equipment and storage medium
CN114040378B (en) * 2021-11-20 2024-01-30 京信网络系统股份有限公司 Method, device, computer equipment and storage medium for arranging application
CN114866547A (en) * 2022-04-20 2022-08-05 中国银联股份有限公司 Virtual resource allocation method, device, equipment and storage medium
CN114866547B (en) * 2022-04-20 2023-09-29 中国银联股份有限公司 Virtual resource allocation method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US20200195740A1 (en) Subscribe and publish method and server
CN109949111B (en) Electronic bill identification distribution method, electronic bill generation method, device and system
US20200081731A1 (en) Method, system and apparatus for creating virtual machine
CN113361913A (en) Communication service arranging method, device, computer equipment and storage medium
CN110096336B (en) Data monitoring method, device, equipment and medium
CN111460460B (en) Task access method, device, proxy server and machine-readable storage medium
CN107920138B (en) User unified identification generation method, device and system
CN111404753B (en) Flat network configuration method, computer equipment and storage medium
CN110519183B (en) Node speed limiting method and device, electronic equipment and storage medium
CN109558446B (en) Job request method, job request device, electronic equipment and storage medium
CN111585887B (en) Communication method and device based on multiple networks, electronic equipment and storage medium
CN107105013B (en) File processing method, server, terminal and system
EP2998862A1 (en) Method, device, and system for memory management
CN111338806A (en) Service control method and device
CN111405052A (en) P2P penetration method based on port prediction, electronic device and medium
CN112351110A (en) ID distribution method and device based on zookeeper
CN109743357B (en) Method and device for realizing service access continuity
CN102891851A (en) Access control method, equipment and system of virtual desktop
CN111885190B (en) Service request processing method and system
CN109413117B (en) Distributed data calculation method, device, server and computer storage medium
CN110636149B (en) Remote access method, device, router and storage medium
CN109005071B (en) Decision deployment method and scheduling equipment
CN110839077A (en) File request processing method, request feedback information processing method and related components
CN116703071A (en) Resource sharing method, device and equipment and storage medium
CN114173396B (en) Method and device for determining terminal networking time, electronic 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210907

RJ01 Rejection of invention patent application after publication