CN115802321A - Method, system, electronic device and storage medium for arranging service functions - Google Patents

Method, system, electronic device and storage medium for arranging service functions Download PDF

Info

Publication number
CN115802321A
CN115802321A CN202211376428.7A CN202211376428A CN115802321A CN 115802321 A CN115802321 A CN 115802321A CN 202211376428 A CN202211376428 A CN 202211376428A CN 115802321 A CN115802321 A CN 115802321A
Authority
CN
China
Prior art keywords
service
services
user
sub
module
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.)
Granted
Application number
CN202211376428.7A
Other languages
Chinese (zh)
Other versions
CN115802321B (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
Original Assignee
China United Network Communications Group 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 filed Critical China United Network Communications Group Co Ltd
Priority to CN202211376428.7A priority Critical patent/CN115802321B/en
Publication of CN115802321A publication Critical patent/CN115802321A/en
Priority to PCT/CN2023/127460 priority patent/WO2024093859A1/en
Application granted granted Critical
Publication of CN115802321B publication Critical patent/CN115802321B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a method, a system, electronic equipment and a computer readable storage medium for arranging service functions, which are used for solving the problem that the service functions cannot be split when the service functions are processed by a server, and the method comprises the following steps: receiving a service request of a user side, wherein the service request comprises services required by the user; splitting the splittable service in the services required by the user based on the service request, and obtaining a plurality of split sub-services; respectively selecting resource nodes for providing services for the split sub-services and non-split services in the services required by the user; generating a service path according to the selected resource node; and configuring corresponding network equipment according to the service path so that the resource node provides corresponding service for the user side. The technical scheme of the invention can split the service, and effectively improve the service processing efficiency.

Description

Method, system, electronic device and storage medium for arranging service functions
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method for arranging service functions, a system for arranging service functions, an electronic device, and a computer-readable storage medium.
Background
With the development of networks and services, more and more value-added functions need to be deployed as required, various services can be originally deployed in a cloud resource pool, with the development of MEC (Mobile Edge Computing) technology, requirements of users on network performance such as network quality and request delay, and the requirement for flexible increase and decrease of service functions become higher and higher, an operator deploys service functions at Edge nodes, and the Edge nodes and the service functions are connected in series through network cooperation, so that the requirement of the users on flexible scheduling of the service functions is met, and the problems of response time, resource optimization, network efficiency and the like are solved. As shown in fig. 1, the operator network is connected via gateway nodes to a resource pool, which consists of one or more servers on which relevant service functions are deployed.
However, at present, services required by the user are all responded as a whole, and the service function is not split, so that the processing efficiency is low.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a method, a system, an electronic device and a computer-readable storage medium for arranging service functions, which can divide services and effectively improve the efficiency of service processing, for solving the problem that the service functions cannot be divided in the prior art.
In a first aspect, the present invention provides a method for arranging service functions, and the method
The method comprises the following steps:
receiving a service request of a user side, wherein the service request comprises services required by the user;
splitting the splittable service in the services required by the user based on the service request, and obtaining a plurality of split sub-services;
respectively selecting resource nodes for providing services for the split sub-services and non-split services in the services required by the user;
generating a service path according to the selected resource node;
and configuring corresponding network equipment according to the service path so that the resource node provides corresponding service for the user side.
Further, the service request also comprises the service type and service requirement of the service required by the user, and the service requirement comprises the requirement on network performance and the requirement on computing storage resource;
the splitting the detachable service in the services required by the user based on the service request comprises:
according to the service type stored in each resource node and the service type of the service required by the user, or according to the service requirement of the service required by the user, splitting each split service into a plurality of sub-services;
the method further comprises the following steps:
and recording service function information of each non-detachable service and each sub-service, wherein the service function information comprises a service number, service characteristics and service requirements.
Further, the method further comprises:
after obtaining a plurality of split sub-services, classifying all sub-services and non-split services according to service function information, and dividing the sub-services into a serial service and a parallel service;
and after classification, performing service sequencing on all the sub-services and the non-detachable services according to the service logic, and obtaining a service sequence comprising service classification information and service sequencing information.
Further, the selecting resource nodes for providing services for non-splittable services in the split sub-services and the services required by the user respectively includes:
and respectively selecting resource nodes for providing services for all the sub-services and the non-splittable services according to the service sequence and the service requirements corresponding to each sub-service and each non-splittable service.
Further, the generating a service path according to the selected resource node includes:
arranging service paths including the resource nodes according to the service sequence and the resource nodes, selecting one node for the path capable of being served in parallel as a node capable of being served in parallel and merging, wherein the resource nodes are nodes for respectively selecting and providing services for all sub-services and non-detachable services.
Further, the configuring, according to the service path, a corresponding network device so that the resource node provides a corresponding service for the user side includes:
and generating a configuration file of the corresponding network equipment according to the service path, and issuing the configuration file to the corresponding network equipment so that each corresponding network equipment acquires the next hop address on the corresponding service path and the resource node in the corresponding network equipment provides corresponding service for the user side.
Further, the method further comprises:
and registering the existing service function and the newly deployed service function of the resource node, and identifying the position of the resource node and the computing resource.
Further, the method further comprises:
authenticating the user information;
and if the authentication is passed, receiving a service request of the user terminal.
Further, the method further comprises:
if the access frequency of the user terminal to a certain required service exceeds a preset value, deploying the required service function at the edge node corresponding to the user terminal.
Further, the method further comprises:
generating a service bill after the service is issued to the corresponding resource node;
and sending the service bill to a user side and a service providing side corresponding to the resource node providing the service so that the user side and the service providing side confirm the service bill information and complete service transaction.
Further, the service features are used for identifying service relationship logic, and the service relationship logic comprises service relationship no-requirement and service relationship dependent relationship.
In a second aspect, the present invention provides a system for orchestration of service functions, the system comprising:
the system comprises a service demand management module, a service demand management module and a service management module, wherein the service demand management module is used for receiving a service request of a user side, and the service request comprises services required by the user;
the service splitting module is configured to split a splittable service in services required by a user and obtain a plurality of split sub-services;
the service resource selection module is arranged for respectively selecting resource nodes for providing services for the split sub-services and non-split services in the services required by the user;
a service orchestration module configured to generate a traffic path according to the selected resource node;
and the service configuration module is configured to configure corresponding network equipment according to the service path so that the resource node provides corresponding service for the user side.
Further, the service request also comprises the service type and service requirement of the service required by the user, and the service requirement comprises the requirement on network performance and the requirement on computing storage resource;
the service splitting module is specifically configured to:
according to the service type stored in each resource node and the service type of the service required by the user, or according to the service requirement of the service required by the user, splitting each split service into a plurality of sub-services; and the number of the first and second groups,
and recording service function information of each non-separable service and each sub-service, wherein the service function information comprises a service number, service characteristics and service requirements.
Further, the system also comprises a service sequencing module;
the service sequencing module is arranged to classify all sub-services and non-separable services according to service function information and divide the sub-services and the non-separable services into a series service and a parallel service after the service splitting module obtains a plurality of split sub-services; and the number of the first and second groups,
and after classification, performing service sequencing on all the sub-services and the non-separable services according to the service logic, and obtaining a service sequence comprising service classification information and service sequencing information.
Further, the service resource selection module is specifically configured to:
and respectively selecting resource nodes for providing services for all the sub-services and the non-splittable services according to the service sequence and the service requirements corresponding to each sub-service and each non-splittable service.
Further, the service orchestration module is specifically configured to:
arranging service paths including the resource nodes according to the service sequence and the resource nodes, selecting one node for the path capable of being served in parallel as a node capable of being served in parallel and merging, wherein the resource nodes are nodes for respectively selecting and providing services for all sub-services and non-detachable services.
Further, the service configuration module is specifically configured to:
and generating a configuration file of the corresponding network equipment according to the service path, and issuing the configuration file to the corresponding network equipment so that each corresponding network equipment acquires the next hop address on the corresponding service path and the resource node in the corresponding network equipment provides corresponding service for the user terminal.
Further, the system also comprises a service registration module;
the service registration module is configured to register existing service functions and newly deployed service functions of the resource nodes and identify positions and computing resources of the resource nodes.
Further, the system also comprises a user information management module;
the user information management module is set to authenticate the user information;
the service requirement management module is specifically configured to receive a service request of a user side if the user information management module passes authentication on user information.
Further, the system further comprises a service deployment module:
the service deployment module is set to deploy the required service function at the edge node corresponding to the user side if the access frequency of the user side to a certain required service exceeds a preset value.
Further, the system further comprises a service transaction module:
the service transaction module is used for generating a service bill after providing computing power service for the user side;
and sending the service bill to a user side and a service providing side corresponding to the resource node providing the service so that the user side and the service providing side confirm the service bill information and complete service transaction.
Further, the service features are used for identifying service relationship logic, and the service relationship logic comprises service relationship no-requirement and service relationship dependent relationship.
In a third aspect, the present invention provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the computer program to implement the method for arranging service functions according to the first aspect.
In a fourth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the method for service function orchestration according to the first aspect.
The invention provides a method, a system, electronic equipment and a computer readable storage medium for arranging service functions. The method comprises the steps of receiving a service request of a user, obtaining services required by the user, splitting a split service in the services required by the user into a plurality of sub-services, respectively selecting resource nodes for providing services for each sub-service and a non-split service, generating a service path, issuing a service, splitting a service function, performing service processing by a plurality of resource pools, and providing the most appropriate processing resource pool for each service, so that the efficiency of processing the service function can be effectively improved.
Drawings
FIG. 1 is a diagram illustrating a service function networking in the prior art;
fig. 2 is a flowchart illustrating a method for arranging service functions according to an embodiment of the present invention;
fig. 3 is an architecture diagram of a service function orchestration system according to a second embodiment of the present invention;
fig. 4 is a flowchart illustrating a method for arranging service functions according to a second embodiment of the present invention;
fig. 5 is a schematic diagram of a service function classification result according to a second embodiment of the present invention;
fig. 6 is a schematic diagram of resource pool selection according to a second embodiment of the present invention;
fig. 7 is an architecture diagram of a system for arranging service functions according to a third embodiment of the present invention;
fig. 8 is an architecture diagram of an electronic device according to a fourth embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the present invention is further described in detail below with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments and figures described herein are merely illustrative of the invention and are not limiting of the invention. It is to be understood that the various embodiments and features of the embodiments may be combined with each other without conflict.
It is to be understood that, for the convenience of description, only parts related to the present invention are shown in the drawings of the present invention, and parts not related to the present invention are not shown in the drawings.
It should be understood that each unit and module related in the embodiments of the present invention may correspond to only one physical structure, may also be composed of multiple physical structures, or multiple units and modules may also be integrated into one physical structure.
It will be understood that, without conflict, the functions, steps, etc. noted in the flowchart and block diagrams of the present invention may occur in an order different from that noted in the figures.
It is to be understood that the flowchart and block diagrams of the present invention illustrate the architecture, functionality, and operation of possible implementations of systems, apparatus, devices and methods according to various embodiments of the present invention. Each block in the flowchart or block diagrams may represent a unit, module, segment, code, or portion thereof, which comprises executable instructions for implementing the specified function(s). Furthermore, each block or combination of blocks in the block diagrams and flowchart illustrations can be implemented by a hardware-based system that performs the specified functions or by a combination of hardware and computer instructions.
It is to be understood that the units and modules involved in the embodiments of the present invention may be implemented by software, and may also be implemented by hardware, for example, the units and modules may be located in a processor.
Wherein the terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
In the following description, suffixes such as "module", "part", or "unit" used to indicate elements are used only for facilitating the description of the present invention, and have no particular meaning in themselves. Thus, "module", "component" or "unit" may be used mixedly.
The following describes the technical solution of the present invention and how to solve the above technical problems in the prior art in detail by specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
The first embodiment is as follows:
the present embodiment provides a method for arranging service functions, as shown in fig. 2, the method includes steps S101 to S105:
step S101: receiving a service request of a user side, wherein the service request comprises services required by the user;
the embodiment is applied to a service arranging system, and after receiving a service request sent by a user, the service arranging system acquires service functions (namely services) required by the user, including types of services to be accessed, requirements on network performance, requirements on computing and storing resources and the like; then, judging whether the service required by the user comprises the detachable service or not according to the information such as the service type, the resource required by the service and the like, and if so, performing the step S102;
step S102: splitting the splittable service in the services required by the user based on the service request, and obtaining a plurality of split sub-services;
specifically, when service splitting is performed, each split service can be split into a plurality of sub-services according to the service type stored in each resource node and the service type of the service required by the user, or according to the service requirement of the service required by the user; when splitting, splitting the service into a plurality of sub-services according to a certain splitting algorithm, for example, through a distributed federal training algorithm, distributed federal training is a way of splitting the same type of service; this is a clear parallel split approach. By decomposing the training task into several steps, different training modes (convolution calculation, clustering, correlation analysis and the like) can be divided into several steps, such as training task 1, task 2 and task 3, and task 3 depends on the results of task 1 and task 2 to carry out training, so that a serial-parallel sequence exists after splitting. The service splitting algorithm can adopt various existing splitting algorithms without limitation, and after the service is split, the service function information of each non-splittable service and each sub-service is recorded, wherein the service function information comprises a service number, service characteristics and service requirements. The service features identify service relationship logic; if the service relationship has no requirement and has a dependency relationship with the service relationship, the relationship before and after the service processing needs to be determined if the service relationship has the dependency relationship.
The service types stored by the resource nodes can be obtained in the process of registering the existing service functions and the newly deployed service functions in advance, the service function types are recorded in a database, and the positions of the service function types, the computing resources and other conditions are identified; the data base may be recorded as shown in table 1 below.
Table 1: service function record table
Figure BDA0003926742640000081
Figure BDA0003926742640000091
Step S103: respectively selecting resource nodes for providing services for the split sub-services and non-split services in the services required by the user;
for each sub-service and each non-detachable service, respectively selecting a resource node, namely a resource pool, for providing the service, and considering network factors of each resource pool including bandwidth, time delay and jitter according to each service requirement; calculating force factors including resource pool load rate and the like; the selection is made by some evaluation method through comprehensive consideration.
In an optional implementation manner, after a plurality of split sub-services are obtained, classifying all sub-services and non-split services according to service function information, and dividing the sub-services into a serial service and a parallel service;
and after classification, performing service sequencing on all the sub-services and the non-separable services according to the service logic, and obtaining a service sequence comprising service classification information and service sequencing information.
The sub-services and the non-detachable services are classified in a serial-parallel mode according to the service logic, and then service sequencing is carried out to obtain a plurality of service sequences, so that the serial services required are ensured to be carried out in a normal sequence, the parallel services can be carried out simultaneously through a plurality of resource pools, and the service efficiency is improved.
Further, after the classification, resource nodes for providing services are respectively selected for all the sub-services and the non-splittable services according to the service sequences and the service requirements corresponding to the sub-services and the non-splittable services.
After the service sequences are obtained, for each sequence, resource nodes are selected for each service in the sequence according to service requirements, and then classification information and resource node selection information are stored.
Step S104: generating a service path according to the selected resource node;
after selecting resource nodes for each sub-service and non-splittable service, arranging a service path including a resource pool according to service logic; each service is processed through a traffic path.
In an optional implementation manner, after services are classified and sequenced and a service sequence is obtained, a service path including the resource node is arranged according to the service sequence and the resource node, and a node is selected for a path capable of parallel service as a node capable of parallel service combination, and the resource node is a node for respectively selecting and providing services for all sub-services and non-detachable services. And after the parallel service processing, performing service integration processing through the merged nodes.
Step S105: and configuring corresponding network equipment according to the service path so that the resource node provides corresponding service for the user side.
Specifically, a configuration file of the corresponding network device is generated according to the service path and is issued to the corresponding network device, so that each corresponding network device obtains the next hop address on the corresponding service path, and the resource node in the corresponding network device provides the corresponding service for the user side.
The service path is a network path from the user side to a selected resource node (resource pool), and the configuration file, which is issued by the corresponding network device from the user side to the resource pool and needs to pass through which device, is to instruct the network device how to forward the next hop to generate a specific network path. The resource node is comprised in said network device.
Further, the method further comprises:
authenticating the user information;
and if the authentication is passed, receiving a service request of the user terminal.
The user information is managed, the user information comprises users requesting for business, enterprise users providing services, common personal users and operator staff (operation, maintenance, managers and the like), the management mainly comprises user authentication, authority management and the like, and after the user authentication is passed, the business request of the user is received, so that the transaction safety is ensured.
Further, the method further comprises:
if the access frequency of the user terminal to a certain required service exceeds a preset value, deploying the required service function at the edge node corresponding to the user terminal.
The preset value can be selected according to actual conditions, aiming at the request frequency of a user and the service with frequent access, a proper edge node can be selected to pre-deploy the service, and the subsequent request processing of the service is facilitated.
Further, the method further comprises:
generating a service bill after issuing the service to the corresponding resource node;
and sending the service bill to a user side and a service providing side corresponding to the resource node providing the service so that the user side and the service providing side confirm the service bill information and complete service transaction.
And generating a business bill according to the data of the business issuing result, sending the business bill to the user requesting the business and the service providing user to confirm related bill information, and finishing the service transaction.
Further, the service feature is used to identify service relationship logic, and the service relationship logic includes no requirement for service relationship and dependency relationship for service relationship.
The service characteristic consists of a first identification bit and a second identification bit;
the first identification bit comprises a first identification or a second identification, and if the first identification bit is the first identification, service relation logic representing service characteristics is that no requirement is made on service relation; the second identification bit may take any value, such as 000000; if the first identification bit is a second identification, the service relation logic representing the service characteristics is a dependency relation, and the second identification bit identifies the number of the service to be completed before the service is executed, and represents that the service corresponding to the second identification bit needs to be completed before the service is executed. The values of the first identifier and the second identifier may be determined according to actual conditions, and are not limited herein, for example, the first identifier may be 00, 000, and the second identifier may be 01, 001.
The logic of the service relationship can be well confirmed through the service characteristics, and the services are guaranteed to be processed according to the most appropriate sequence.
The embodiment of the invention can be applied to various service processing scenes, realizes service splitting and improves service processing efficiency, and if the embodiment is applied to one of the scenes, the embodiment comprises the following steps:
a video monitoring service request can be divided into a resource acquisition service, a video data processing service and a data analysis service, or some requirements are met subsequently, and modeling can be carried out based on analysis data to obtain user behavior prejudgment.
Therefore, a service request is split into a plurality of sub-service functions according to the above description, and for example, a video processing service function, because of an excessively large amount of data, may also be split into a plurality of sub-service functions, distributed to a plurality of nodes for side-by-side processing, and finally integrated in a service-based scheduling system.
In this embodiment, the service function arrangement processing is completed by splitting the splittable service, classifying the service function type, sorting according to the service logic, finally sequentially selecting the resource nodes to provide the service based on the service logic, and generating the service path based on the sorted and selected resource nodes. Meanwhile, the service requests are classified based on the service types of the service requests and are sorted according to the logic, so that the processing efficiency of the service functions can be effectively improved.
Example two:
the present embodiment provides a method for arranging service functions, which is implemented by the service function arranging system described in fig. 3, as shown in fig. 3, the arranging system includes three logic layers of service arranging, service managing, and external function.
And (3) an external functional layer: for receiving user service orchestration requirements, managing users, and managing service transactions; the layer at least comprises a user information management module, a service transaction module and a service requirement management module.
The user information management module: the module is responsible for user information management, including users requesting services, enterprise users and ordinary personal users providing services, and operator staff (operation and maintenance, managers, and the like), and is mainly responsible for user authentication, authentication and authority management;
a service transaction module: the module receives result data from the service configuration module of the service arrangement layer, generates a service bill and sends the service bill to the user information management module, and a user requesting service and a service providing user confirm related bill information and complete service transaction;
a service demand management module: the module obtains business requirement information from a user, including service requests to be accessed, requirements for network resources, and requirements for computing resources.
And a service management layer: the system is responsible for service resource management, service function deployment and the like; the layer at least comprises a service registration module and a service deployment module;
a service registration module: the module is mainly used for registering the existing service function and the newly deployed service function and identifying the situations of the position, the computing resources and the like of the module;
a service deployment module: the module acquires information from a user information management module and a business requirement management module of an external functional layer, and can select proper edge nodes to pre-deploy services for services with frequent access mainly aiming at the frequency of user requests, so that the follow-up requests for the services are facilitated.
The service arrangement layer is mainly responsible for splitting service capacity and reasonably scheduling resources. The layer at least comprises a service splitting module, a service sequencing module, a service resource selection module, a service arranging module and a service configuration module;
a service splitting module: the module mainly aims at the detachable service, can split the detachable service according to the service type or the service task amount, and splits the detachable service into a plurality of sub-services;
a service sequencing module: the module classifies the sub-services and non-separable services separated by the service function separating module, wherein the classification refers to indicating the sequence of processing each service function and indicating serial processing and parallel processing, namely, the serial processing has an indication preorder relationship, and the parallel processing has no related preorder relationship;
a service resource selection module: the module mainly selects service functions, namely for a detachable service, each subtask selects a resource pool, and the selection of the subtask functions needs to consider network resources and calculation and storage resource conditions at the same time; the network resources comprise the requirements on bandwidth, time delay and jitter, and the calculation storage requirements comprise resource pool load rate, calculation amount requirements and storage amount requirements of calculation tasks and the like;
a service orchestration module: the module carries out service arrangement in sequence based on the results of service function splitting, service function classification and service function selection, and carries out flow integration on parallel sequence services in specified gateway equipment to complete service function arrangement;
a service configuration module: the module issues a configuration instruction to related equipment according to the result of the service arrangement module to complete network path configuration and realize a service function.
As shown in fig. 4, the method includes:
step 1: a user puts forward a required service request, wherein the service request at least comprises a required service type and a network performance requirement, and a computing storage resource requirement; if the user needs services F1, F2 and F3, the time delay is low, the bandwidth is 100M, and the load of a resource pool is low; sending the service request information to a service splitting module of a service arrangement layer;
and 2, step: judging whether the services F1, F2 and F3 are separable or not, sending the separable services to a service splitting module to complete splitting, reserving network performance requirements, and calculating storage resource requirements; if the service F1 is not detachable, the service F2 can be detached into F2.1, F2.2, F2.3, and the service F3 can be detached into F3.1, F3.2; sending the service F1 to a service sequencing module, and sending the service F2 and the service F3 to a service splitting module;
and 3, step 3: splitting the service F2 and the service F3 into F2.1, F2.2, F2.3, F3.1 and F3.2 respectively; and sending the splitting result to a service sequencing module;
the service function information obtained by the classification module refers to the following table 2;
table 2: service function information
Service number Service features Service requirements
F1(001000) 00 000000 Low delay
F2.1(010001) 00 000000 Low load
F2.2(010010) 01 010001 Low load
F2.3(010011) 01 010001 Low load
F3.1(011001) 01 001000 Low time delay
F3.2(011010) 01 011001 Low time delay
The service characteristics identify service relation logic and consist of two-bit identification bits and service numbers of dependent services, if the identifier is 00, no requirement is indicated, if the identifier is 01, the dependency relation is indicated, the service function corresponding to the service number of the dependent service after the identifier 01 must be completed, and the default all-0 number is the service function which is preferentially executed;
and 4, step 4: the service sequencing module receives the service function information, needs to access services F1, F2.1, F2.2, F2.3, F3.1 and F3.2, and determines the interdependence relation of the service functions based on the service characteristics to classify; sending the service sequence with the classification and sequencing information to a service resource selection module;
reference is made to the following:
subsequence 1: service F1, service F3.1, service F3.2;
subsequence 2: service F2.1, service 2.2;
subsequence 2: service F2.1, service 2.3;
the service function classification result is shown in fig. 5;
and 5: according to the service requirement in the service information, namely the requirement of the user network performance, the requirement of computing storage resources, service characteristic information and a service classification result are selected by a certain evaluation method, resource pools capable of providing services are sequentially selected according to a service sequence, and the service sequence with classification and sequencing information and the selected resource pool information (gateway node id, IP address) are sent to a service arranging module; reference is made to table 3 below;
table 3: service sequence and resource pool selection table
Figure BDA0003926742640000141
Figure BDA0003926742640000151
The data received by the resource selection module is a non-splittable service and a split sub-service, as shown in fig. 6, taking a sub-sequence 1 as an example, in the figure, 2 resource pools are respectively deployed with service functions F1, F3.1, and F3.2;
network factors considered in the evaluation method for selecting the resource pool comprise bandwidth, time delay and jitter, and computational factors comprise resource pool load rate and the like; other factors may also be included;
modeling can be performed based on the above factors, and then an evaluation result is obtained;
for example, when the service function F1 is selected, the distance has an influence on the time delay, considering the above factors, the service function in Pool4 can be selected to provide F1, and when the F3.1 service is selected to be provided, the location of the Pool4 resource Pool is taken as a starting point, considering the distance from other resource pools to Pool4 (i.e. time delay factor), and after the service function is occupied, the load of the resource Pool also needs to be updated in real time, so when the resource Pool is selected, the evaluation result is updated based on the service sequence, and the service function is selected.
And 6: the service arranging module generates a service path according to the received service sequence and the condition of a resource pool selected based on the service requirement in the service information, appoints a service merging node (network node) at the end of the sequence for the parallel service, and then sends the merged service node and the arranged service path to the service configuration module;
and 7: the service configuration module generates configuration files of corresponding network equipment and resource pools according to the arrangement result, wherein the configuration files comprise configuration files of the merging nodes; and sends the data to the corresponding equipment to complete the service.
The embodiment acquires a service request required by a user, judges through a service splitting module of a service arrangement layer, splits separable service functions, classifies according to service function types, sorts according to service logics, and finally sequentially selects resource nodes to provide based on the service logics to generate a service path and complete service function arrangement processing; the efficiency of service function processing can be effectively improved.
Example three:
as shown in fig. 7, the present embodiment provides a system for arranging service functions, the system including:
a service demand management module 11, configured to receive a service request from a user side, where the service request includes a service required by the user;
a service splitting module 12 configured to split a splittable service among services required by a user and obtain a plurality of split sub-services;
a service resource selection module 13 configured to select resource nodes providing services for the split sub-services and non-split services in the services required by the user, respectively;
a service orchestration module 14 configured to generate a traffic path according to the selected resource nodes;
and a service configuration module 15 configured to configure corresponding network devices according to the service paths, so that the resource nodes provide corresponding services for the user side.
Further, the service request also comprises the service type and service requirement of the service required by the user, and the service requirement comprises the requirement on network performance and the requirement on computing storage resource;
the service splitting module 12 is specifically configured to:
according to the service type stored in each resource node and the service type of the service required by the user, or according to the service requirement of the service required by the user, splitting each split service into a plurality of sub-services; and (c) a second step of,
and recording service function information of each non-detachable service and each sub-service, wherein the service function information comprises a service number, service characteristics and service requirements.
Further, the system also includes a service ordering module 16;
the service sequencing module 16 is configured to classify all sub-services and non-separable services according to service function information and divide the sub-services and the non-separable services into a serial service and a parallel service after the service splitting module 12 obtains a plurality of split sub-services; and (c) a second step of,
and after classification, performing service sequencing on all the sub-services and the non-detachable services according to the service logic, and obtaining a service sequence comprising service classification information and service sequencing information.
Further, the service resource selection module 13 is specifically configured to:
and respectively selecting resource nodes for providing services for all the sub-services and the non-splittable services according to the service sequence and the service requirements corresponding to each sub-service and each non-splittable service.
Further, the service orchestration module 14 is specifically configured to:
arranging service paths including the resource nodes according to the service sequence and the resource nodes, selecting one node for the path capable of being served in parallel as a node capable of being served in parallel and merging, wherein the resource nodes are nodes for respectively selecting and providing services for all sub-services and non-detachable services.
Further, the service configuration module 15 is specifically configured to:
and generating a configuration file of the corresponding network equipment according to the service path, and issuing the configuration file to the corresponding network equipment so that each corresponding network equipment acquires the next hop address on the corresponding service path and the resource node in the corresponding network equipment provides corresponding service for the user terminal. Further, the system also comprises a service registration module 17;
the service registration module 17 is configured to register an existing service function and a newly deployed service function of a resource node, and identify a location and a computing resource of the resource node.
Further, the system also includes a user information management module 18;
the user information management module 18 is arranged to authenticate user information;
the service requirement management module 11 is specifically configured to receive a service request from a user side if the user information management module passes authentication on user information.
Further, the system further comprises a service deployment module 19:
the service deployment module 19 is configured to deploy the required service function at the edge node corresponding to the user side if the access frequency of the user side to a certain required service exceeds a preset value.
Further, the system further comprises a service transaction module 20:
the service transaction module 20 is configured to generate a service bill after providing computing power service for the user terminal;
and sending the business bill to a service providing end corresponding to the user end and the resource node providing the service so that the user end and the service providing end can confirm the business bill information and complete service transaction.
Further, the service features are used for identifying service relationship logic, and the service relationship logic comprises service relationship no-requirement and service relationship dependent relationship.
The system for arranging service functions in the third embodiment of the present invention is used to implement the method for arranging service functions in the first and second embodiments, so that the description is simple, and specific reference may be made to the related description in the first embodiment of the method, and details are not described here again.
Furthermore, as shown in fig. 8, a fourth embodiment of the present invention further provides an electronic device, which includes a memory 100 and a processor 200, where the memory 100 stores a computer program, and when the processor 200 runs the computer program stored in the memory 100, the processor 200 executes the above-mentioned various possible methods.
The memory 100 is connected to the processor 200, the memory 100 may be a flash memory, a read-only memory or other memories, and the processor 200 may be a central processing unit or a single chip microcomputer.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and the computer program is executed by a processor to perform the above-mentioned various possible methods.
The computer-readable storage media includes volatile or nonvolatile, removable or non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, computer program modules or other data. Computer-readable storage media include, but are not limited to, RAM (Random Access Memory), ROM (Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash Memory or other Memory technology, CD-ROM (Compact disk Read-Only Memory), digital versatile disks (DVD, digital Video disks) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer.
It will be understood that the above embodiments are merely exemplary embodiments taken to illustrate the principles of the present invention, which is not limited thereto. It will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the spirit and substance of the invention, and these modifications and improvements are also considered to be within the scope of the invention.

Claims (24)

1. A method of service function orchestration, the method comprising:
receiving a service request of a user side, wherein the service request comprises services required by the user;
splitting the splittable service in the services required by the user based on the service request, and obtaining a plurality of split sub-services;
respectively selecting resource nodes for providing services for the split sub-services and non-split services in the services required by the user;
generating a service path according to the selected resource node;
and configuring corresponding network equipment according to the service path so that the resource node provides corresponding service for the user side.
2. The method of claim 1, wherein the service request further comprises a service type and service requirements of a service desired by the user, wherein the service requirements comprise a requirement for network performance and a requirement for computational storage resources;
the splitting the detachable service in the service required by the user based on the service request comprises:
according to the service type stored in each resource node and the service type of the service required by the user, or according to the service requirement of the service required by the user, splitting each split service into a plurality of sub-services;
the method further comprises the following steps:
and recording service function information of each non-separable service and each sub-service, wherein the service function information comprises a service number, service characteristics and service requirements.
3. The method of claim 2, further comprising:
after obtaining a plurality of split sub-services, classifying all sub-services and non-split services according to service function information, and dividing the sub-services into a serial service and a parallel service;
and after classification, performing service sequencing on all the sub-services and the non-separable services according to the service logic, and obtaining a service sequence comprising service classification information and service sequencing information.
4. The method of claim 3, wherein the selecting resource nodes for providing services for non-splittable services of the split sub-services and the services required by the user respectively comprises:
and respectively selecting resource nodes for providing services for all the sub-services and the non-splittable services according to the service sequence and the service requirements corresponding to each sub-service and each non-splittable service.
5. The method of claim 4, wherein generating the traffic path according to the selected resource node comprises:
arranging service paths including the resource nodes according to the service sequence and the resource nodes, selecting one node for the path capable of being served in parallel as a node capable of being served in parallel and merging, wherein the resource nodes are nodes for respectively selecting and providing services for all sub-services and non-detachable services.
6. The method according to claim 1, wherein configuring the corresponding network device according to the service path so that the resource node provides a corresponding service to the user side comprises:
and generating a configuration file of the corresponding network equipment according to the service path, and issuing the configuration file to the corresponding network equipment so that each corresponding network equipment acquires the next hop address on the corresponding service path and the resource node in the corresponding network equipment provides corresponding service for the user side.
7. The method of claim 1, further comprising:
and registering the existing service function and the newly deployed service function of the resource node, and identifying the position of the resource node and the computing resource.
8. The method of claim 1, further comprising:
authenticating the user information;
and if the authentication is passed, receiving a service request of the user terminal.
9. The method of claim 1, further comprising:
if the access frequency of a user end to a certain required service exceeds a preset value, deploying the required service function at an edge node corresponding to the user end.
10. The method of claim 1, further comprising:
generating a service bill after the service is issued to the corresponding resource node;
and sending the service bill to a user side and a service providing side corresponding to the resource node providing the service so that the user side and the service providing side confirm the service bill information and complete service transaction.
11. The method of claim 2, wherein the service features are used to identify service relationship logic, and wherein the service relationship logic comprises no requirement for a service relationship and a dependency for a service relationship.
12. A system for service function orchestration, the system comprising:
the system comprises a service demand management module, a service demand management module and a service processing module, wherein the service demand management module is used for receiving a service request of a user side, and the service request comprises services required by a user;
the service splitting module is configured to split a splittable service in services required by a user and obtain a plurality of split sub-services;
the service resource selection module is arranged for respectively selecting resource nodes for providing services for the split sub-services and non-split services in the services required by the user;
a service orchestration module configured to generate a traffic path according to the selected resource node;
and the service configuration module is configured to configure corresponding network equipment according to the service path so that the resource node provides corresponding service for the user side.
13. The system of claim 12, wherein the service request further comprises a service type and service requirements of a service required by the user, the service requirements comprising a requirement for network performance and a requirement for computational storage resources;
the service splitting module is specifically configured to:
according to the service type stored in each resource node and the service type of the service required by the user, or according to the service requirement of the service required by the user, splitting each split service into a plurality of sub-services; and the number of the first and second groups,
and recording service function information of each non-separable service and each sub-service, wherein the service function information comprises a service number, service characteristics and service requirements.
14. The system of claim 13, further comprising a service ordering module;
the service sequencing module is arranged to classify all sub-services and non-splittable services according to service function information after the service splitting module obtains a plurality of split sub-services, and the sub-services are divided into seriable services and parallelizable services; and the number of the first and second groups,
and after classification, performing service sequencing on all the sub-services and the non-detachable services according to the service logic, and obtaining a service sequence comprising service classification information and service sequencing information.
15. The system of claim 14, wherein the service resource selection module is specifically configured to:
and respectively selecting resource nodes for providing services for all the sub-services and the non-splittable services according to the service sequence and the service requirements corresponding to the sub-services and the non-splittable services.
16. The system of claim 15, wherein the service orchestration module is specifically configured to:
arranging service paths including the resource nodes according to the service sequence and the resource nodes, selecting one node for the paths capable of being served in parallel as a node capable of being served in parallel and respectively selecting nodes for providing services for all sub-services and non-splittable services by the resource nodes.
17. The system of claim 12, wherein the service configuration module is specifically configured to:
and generating a configuration file of the corresponding network equipment according to the service path, and issuing the configuration file to the corresponding network equipment so that each corresponding network equipment acquires the next hop address on the corresponding service path and the resource node in the corresponding network equipment provides corresponding service for the user terminal.
18. The system of claim 12, further comprising a service registration module;
the service registration module is configured to register an existing service function and a newly deployed service function of the resource node, and identify a location and a computing resource of the resource node.
19. The system of claim 12, further comprising a user information management module;
the user information management module is set to authenticate the user information;
the service requirement management module is specifically configured to receive a service request of a user side if the user information management module passes authentication on user information.
20. The system of claim 12, further comprising a service deployment module:
the service deployment module is set to deploy the required service function at the edge node corresponding to the user side if the access frequency of the user side to a certain required service exceeds a preset value.
21. The system of claim 12, further comprising a service transaction module:
the service transaction module is used for generating a service bill after providing computing power service for the user side;
and sending the service bill to a user side and a service providing side corresponding to the resource node providing the service so that the user side and the service providing side confirm the service bill information and complete service transaction.
22. The system of claim 12, wherein the service features are used to identify service relationship logic, and wherein the service relationship logic comprises service relationship no requirement and service relationship dependent.
23. An electronic device, comprising a memory having a computer program stored therein and a processor arranged to run the computer program to implement the method of service functionality orchestration according to any one of claims 1-11.
24. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the method of service functionality orchestration according to any one of claims 1-11.
CN202211376428.7A 2022-11-04 2022-11-04 Service function arrangement method, system, electronic equipment and storage medium Active CN115802321B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211376428.7A CN115802321B (en) 2022-11-04 2022-11-04 Service function arrangement method, system, electronic equipment and storage medium
PCT/CN2023/127460 WO2024093859A1 (en) 2022-11-04 2023-10-30 Service function orchestration method and system, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211376428.7A CN115802321B (en) 2022-11-04 2022-11-04 Service function arrangement method, system, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115802321A true CN115802321A (en) 2023-03-14
CN115802321B CN115802321B (en) 2024-04-05

Family

ID=85435545

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211376428.7A Active CN115802321B (en) 2022-11-04 2022-11-04 Service function arrangement method, system, electronic equipment and storage medium

Country Status (2)

Country Link
CN (1) CN115802321B (en)
WO (1) WO2024093859A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107819861A (en) * 2017-11-16 2018-03-20 中国银行股份有限公司 Business data processing method, apparatus and system
CN112508527A (en) * 2020-12-15 2021-03-16 中国联合网络通信集团有限公司 Service processing method, device and server
CN113037786A (en) * 2019-12-09 2021-06-25 中国电信股份有限公司 Intelligent computing power scheduling method, device and system
CN114337783A (en) * 2021-12-30 2022-04-12 中国电子科技集团公司电子科学研究院 Space distributed edge computing architecture and service processing method
CN114513506A (en) * 2020-11-17 2022-05-17 中国联合网络通信集团有限公司 Service processing method, access edge cloud server and service processing system
WO2022170760A1 (en) * 2021-02-09 2022-08-18 中国银联股份有限公司 Method and apparatus for cloud platform management, electronic device, and storage medium
US20220322379A1 (en) * 2021-04-06 2022-10-06 Verizon Patent And Licensing Inc. Systems and methods for regional assignment of multi-access edge computing resources

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107819861A (en) * 2017-11-16 2018-03-20 中国银行股份有限公司 Business data processing method, apparatus and system
CN113037786A (en) * 2019-12-09 2021-06-25 中国电信股份有限公司 Intelligent computing power scheduling method, device and system
CN114513506A (en) * 2020-11-17 2022-05-17 中国联合网络通信集团有限公司 Service processing method, access edge cloud server and service processing system
CN112508527A (en) * 2020-12-15 2021-03-16 中国联合网络通信集团有限公司 Service processing method, device and server
WO2022170760A1 (en) * 2021-02-09 2022-08-18 中国银联股份有限公司 Method and apparatus for cloud platform management, electronic device, and storage medium
US20220322379A1 (en) * 2021-04-06 2022-10-06 Verizon Patent And Licensing Inc. Systems and methods for regional assignment of multi-access edge computing resources
CN114337783A (en) * 2021-12-30 2022-04-12 中国电子科技集团公司电子科学研究院 Space distributed edge computing architecture and service processing method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ZHE YU; YANMIN GONG; SHIMIN GONG; YUANXIONG GUO: "Joint Task Offloading and Resource Allocation in UAV-Enabled Mobile Edge Computing", 《IEEE INTERNET OF THINGS JOURNAL》, 10 January 2020 (2020-01-10) *
吴康: "移动边缘计算下的计算卸载与任务分配研究", 《中国优秀硕士学位论文辑》, 14 February 2022 (2022-02-14) *

Also Published As

Publication number Publication date
CN115802321B (en) 2024-04-05
WO2024093859A1 (en) 2024-05-10

Similar Documents

Publication Publication Date Title
US7310673B2 (en) Network resource assignment system and method
CN106407002B (en) Data processing task executes method and apparatus
CN112764920A (en) Edge application deployment method, device, equipment and storage medium
CN105721612B (en) Data transmission method and device
Dimolitsas et al. A multi-criteria decision making method for network slice edge infrastructure selection
CN112995341B (en) Cloud resource dynamic allocation method for complex information system
CN111949411B (en) Resource allocation method, device, computer equipment and computer readable storage medium
CN114091610A (en) Intelligent decision method and device
CN111597045B (en) Shared resource management method, system and server system for managing mixed deployment
CN113867937A (en) Resource scheduling method and device for cloud computing platform and storage medium
CN115802321B (en) Service function arrangement method, system, electronic equipment and storage medium
EP3391589B1 (en) Autonomic method for managing a computing system
CN114546493A (en) Core sharing method and device, processing core, electronic device and medium
CN112751685B (en) Method, device and system for configuring user plane capacity of network slice
CN110071966B (en) Block chain networking and data processing method based on cloud platform
CN111314234A (en) Flow distribution method and device, storage medium and electronic equipment
CN115866059A (en) Block chain link point scheduling method and device
CN111061785A (en) Method and system for classified storage of orders in management platform
CN112181829B (en) User distribution method, device, terminal and medium for AB experiment
CN113055195B (en) Multi-domain controller cluster based on SDON and SDON system
CN113190347A (en) Edge cloud system and task management method
EP3891930A1 (en) Method and technician allocating system for allocating a field technician
CN114995900B (en) Method and device for deploying multiple micro-service modules and computer-readable storage medium
CN115037625B (en) Network slice processing method and device, electronic equipment and readable storage medium
CN109218432B (en) Distributed processing method and device for intelligent computing cloud service

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
GR01 Patent grant