Cloud network resource configuration method based on PSR model, storage medium, equipment and computer program product
Through the cloud network resource configuration method based on the PSR model, the cloud network business orchestration package is analyzed and split, and the configuration is performed using scheduling strategies and rules. The existing cloud network resource configuration system faces high R&D customization, cumbersome business data preparation, and long joint debugging test cycles during the loading and launch of the business products, and the rapid configuration and dynamic resource management are realized, and the efficiency and flexibility of the business operation process are improved.
Patent Information
- Application Number
- CN202411930315.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-26
- Publication Date
- 2025-05-02
AI Technical Summary
During the loading and launching of business products, the existing cloud network resource allocation system faces the problems of high R&D customization, the need to prepare various business data in advance, the long joint debugging test cycle and inflexible abnormal process handling, resulting in a reduced coordination and coordination efficiency of various links during the business operation process, and the large amount of R&D projects and the proportion of non-automated manual links is heavy.
The cloud network resource configuration method based on the PSR model is adopted. By analyzing the orchestration packages of products, resources and services involved in the cloud network business, splitting business links or nodes, and configuring them using scheduling policies and rules. The design module is implemented through the API, and the split business links or nodes are transformed from hard code to a configurable implementation mode to achieve automatic loading and automatic feedback.
It solves the problem of slow demand design and R&D cycle, provides resource service capabilities that can be quickly configured and assembled, realizes dynamic resource management of cloud network resource allocation, comprehensively promotes the rapid loading and launching process of products, improves the flexibility and scalability of cloud network resource allocation, and adapts to the ever-changing cloud network technology and business needs.
Smart Images

Figure CN119917155A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field related to IT business support and software development technology, and in particular, to a cloud network resource configuration method, storage medium, device and computer program product based on a PSR model. Background Art
[0002] The PSR model is abstracted from the product P that provides the smallest saleable unit with features, functions and operational capabilities, the customer-oriented service CFS, and the service capabilities provided by the resource-oriented service RFS. Among them, the network attributes and network services involved in the product P are obtained through the service layer; CFS is the end-to-end network communication capability that customers can perceive, assembled by the resource-oriented service RFS, including end, network, cloud, pipeline and other capabilities; RFS is the professional network communication capability provided by each communication network. As the network architecture of the PSR model is gradually formed, the cloud network resource system, as the main participant in the service opening line, still has a lot of room to play in speeding up the service opening. After a comprehensive analysis of the resource configuration design, research and development, data readiness, joint debugging, and online stages, it can be found that the cloud network resource configuration still faces some urgent problems.
[0003] Under the current model, the cloud network resource system faces pain points in the process of loading and launching business products, such as a high degree of R&D customization, the need to prepare various business data in advance, a long joint debugging and testing cycle, and inflexible abnormal process handling. In addition, demand design is mainly offline, and interface protocol files are usually output in markup language, which is difficult for business demand personnel to understand. The above problems lead to reduced coordination and cooperation efficiency in various links during the business activation process, large R&D workload, and a high proportion of non-automated manual links, which reduces the allocation and application efficiency of cloud network resources. Summary of the invention
[0004] In view of the deficiencies in the prior art, the present invention provides a cloud network resource configuration method, storage medium, device and computer program product based on the PSR model, standardizes the resource configuration API, meets the resource service API capability design and assembly requirements, builds a unified version of cloud network resource configuration, solves the problem of slow demand design and R&D cycle, provides resource service capabilities that can be quickly configured and assembled, realizes dynamic resource management of cloud network resource configuration, and comprehensively promotes and improves the process of rapid product loading and listing.
[0005] To achieve the above purpose, the present invention adopts the following technical solution: a cloud network resource configuration method based on the PSR model, specifically comprising the following steps:
[0006] Step S1: Parse the orchestration packages of products, resources and services in the PSR model related to the cloud network business;
[0007] Step S2: input the parsed orchestration package into the business component, and split the business links or nodes involved in the cloud network business;
[0008] Step S3: The split business links or nodes are configured using scheduling policies and rules, and the design module is implemented using an API to convert the split business links or nodes from hard codes to configurable implementation modes;
[0009] Step S4: Pack all configuration information into a unified file structure and send it to the design loading module;
[0010] Step S5: The design loading module is used to realize automatic loading and automatic feedback of configuration information.
[0011] Furthermore, the scheduling strategy includes: parallel workflow, serial workflow and configuration design of each link in the workflow, and a suitable scheduling strategy is selected according to the characteristics of the split business links or nodes.
[0012] Furthermore, the rules include allocation rules of network resources and generation rules of instance IDs, which are configured through value rules, exception rules and loop rules.
[0013] Furthermore, the configuration process of the value-taking rule includes: configuring the rule name, rule implementation method, rule code and general expression, and configuring the rule type as a link number-taking rule; the configuration process of the exception rule includes: configuring the rule name and rule code, and configuring the rule type as an exception handling rule, including: configuring exception scenarios and execution operations; the configuration process of the loop rule includes: configuring the rule name and rule code, configuring the rule type as a loop execution rule, and configuring the number of loops.
[0014] Furthermore, the API implementation design module includes: program flow design, business flow design or hybrid design.
[0015] Furthermore, the specific process of the program flow design is: encapsulate reusable code logic fragments into API interfaces as basic atomic methods, design the basic atomic methods into workflows according to XPDL or BPMN workflow modeling standards, and load the workflow execution process for scheduling through the Activity process engine.
[0016] Furthermore, the specific process of the business flow design is: assembling and concatenating the resource configuration capabilities of multiple cloud network resource APIs and conventional APIs into a resource-oriented service API to realize the end-to-end network to provide network resource service capabilities.
[0017] Furthermore, the present invention also provides a computer-readable storage medium storing a computer program, wherein the computer program enables a computer to execute the cloud network resource configuration method based on the PSR model.
[0018] Furthermore, the present invention also provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the cloud network resource configuration method based on the PSR model is implemented.
[0019] Furthermore, the present invention also provides a computer program product, including a computer program, which implements the cloud network resource configuration method based on the PSR model when executed by a processor.
[0020] Compared with the prior art, the present invention has the following beneficial effects:
[0021] (1) The cloud network resource configuration method based on the PSR model of the present invention configures the split business links or nodes using scheduling strategies and rules, and can be quickly configured according to business scenarios;
[0022] (2) The cloud network resource configuration method based on the PSR model of the present invention uses an API to implement a design module, converting the split business links or nodes from hard codes to a configurable implementation mode, so that the split business links or nodes in the workflow can be configured through the free combination of atomic capabilities, thereby improving the flexible scalability of cloud network resource configuration, thereby adapting to the ever-changing cloud network technology and business needs;
[0023] (3) The cloud network resource configuration method based on the PSR model of the present invention is compatible with multiple cloud platforms, allowing users to configure on one platform and then implement containerized deployment through Docker technology. The service image can be quickly pulled and deployed to achieve multi-platform compatibility. At the same time, the cloud network resource configuration method greatly reduces the threshold for cloud network resource design, allowing non-professional developers to participate in cloud network design, thereby speeding up the project advancement. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 It is a flow chart of the cloud network resource configuration method based on the PSR model of the present invention;
[0025] Figure 2 A schematic diagram of configuring value rules in the present invention;
[0026] Figure 3 A schematic diagram of configuring anomaly rules in the present invention;
[0027] Figure 4 It is a schematic diagram of configuring the circulation rule in the present invention. DETAILED DESCRIPTION
[0028] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0029] like Figure 1 The flowchart of the cloud network resource configuration method based on the PSR model of the present invention includes the following steps:
[0030] Step S1: parse the orchestration packages of products, resources and services in the PSR model related to the cloud network business.
[0031] Step S2: Input the parsed orchestration package into the business component, split the business links or nodes involved in the cloud network business, and business components with reasonable reusability help reduce coupling, thereby improving operating efficiency.
[0032] Step S3: The split business links or nodes are configured using scheduling strategies and rules, which can be quickly configured according to business scenarios, and the API is used to implement the design module to convert the split business links or nodes from hard codes to configurable implementation modes.
[0033] Scheduling strategies include: parallel workflow, serial workflow, and configuration design of each link in the workflow. Appropriate scheduling strategies are selected according to the characteristics of the split business links or nodes. Scheduling strategies can support various business scenarios in the process design process, including resource configuration with upper and lower dependencies, such as configuring the interconnection IP data first, and then sending the allocated interconnection IP to the corresponding links and ports, or process links that can be executed simultaneously without dependencies, such as allocating circuit codes, interconnection IP data, and VPN data without a sequential relationship, etc., to meet the adaptation of different business scenarios. Rules include network resource allocation rules and instance ID generation rules, which are configured through value rules, exception rules, and loop rules. Rule configuration mainly implements functions such as parameter mapping, allocation, and exception handling. Through rule configuration, the functions originally implemented through code logic can be converted into zero-code or low-code methods, thereby improving configuration and online efficiency.
[0034] like Figure 2 The configuration process of the value-taking rule includes: configuring the rule name, rule implementation method, rule coding and general expression, and configuring the rule type as the link value-taking rule; Figure 3 ,The configuration process of exception rules includes: configuring rule name and rule code, configuring rule type as exception handling rule, including: configuring exception scenario and executing operation; Figure 4 ,The configuration process of loop rules includes : configuring the rule name and rule code, configuring the rule type as loop execution rule, and configuring the number of loops.
[0035] The API implementation design module in the present invention includes: program flow design, business flow design or hybrid design, wherein the specific process of program flow design is: encapsulating reusable code logic fragments into API interfaces as basic atomic methods, combining and designing basic atomic methods into workflows according to XPDL or BPMN workflow modeling standards, and loading the workflow execution process for scheduling through the Activity process engine. The basic atomic method is an abstract IT method, which is independent of the business and is stable; the business logic is changeable and unstable. By utilizing stable basic atomic methods, changeable businesses are realized, so that the business links or nodes split in the workflow are configured through free combination of atomic capabilities, thereby improving the flexible scalability of cloud network resource configuration, thereby adapting to the ever-changing cloud network technology and business needs; the specific process of business flow design is: assembling and concatenating the resource configuration capabilities of multiple cloud network resource APIs and conventional APIs into a resource-oriented service API, so as to realize the end-to-end network providing network resource service capabilities.
[0036] Step S4: Pack all configuration information into a unified file structure and send it to the design loading module;
[0037] Step S5: The design loading module is used to realize automatic loading and automatic feedback of configuration information.
[0038] In one technical solution of the present invention, a cloud network resource configuration method based on the PSR model is compatible with multiple cloud platforms, so that users can design on one platform and then implement containerized deployment through Docker technology. Service images can be quickly pulled and deployed to achieve multi-platform compatibility, reducing the complexity and cost of cross-platform development. At the same time, the cloud network resource configuration method greatly reduces the threshold for cloud network resource design, allowing non-professional developers to participate in cloud network design, thereby speeding up the project.
[0039] In one technical solution of the present invention, when business requirements change, the application can be quickly deployed by simply modifying the corresponding business process links through the process design interface. If there are new business requirements, it is only necessary to add atomic methods corresponding to the new business. After the process design is completed, it can be quickly deployed without a large amount of code modification and joint debugging testing.
[0040] The cloud network resource configuration method based on the PSR model of the present invention operates in a three-layer model mode of products, services, and resources. By opening standardized resource service capabilities, it enables resource-oriented services and cloud network basic resource capabilities carried by different products on the same network segment to be reused as much as possible, and at the same time standardizes the resource service capability API design to facilitate the understanding of business personnel and maintenance personnel who use the resource system. The present invention solves the problems of the existing technology in the resource configuration process, such as numerous rules, lack of top-level design and unified specification constraints, reduces repeated design and development work, reduces hard coding, provides a visual configuration page, reduces research and development workload, and supports flexible design and logical assembly of resource service APIs.
[0041] In a technical solution of the present invention, a computer-readable storage medium is also provided, storing a computer program, wherein the computer program enables a computer to execute the cloud network resource configuration method based on the PSR model.
[0042] In a technical solution of the present invention, an electronic device is also provided, including: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the cloud network resource configuration method based on the PSR model is implemented.
[0043] In a technical solution of the present invention, a computer program product is also provided, including a computer program, which implements the cloud network resource configuration method based on the PSR model when executed by a processor.
[0044] In the embodiments disclosed in the present application, the computer storage medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. The computer storage medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the above. More specific examples of computer storage media can include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above.
[0045] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in this application can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0046] The above are only preferred embodiments of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should be regarded as the protection scope of the present invention.
Claims
1. A cloud network resource configuration method based on the PSR model, characterized in that: The specific steps include: Step S1: Parse the orchestration packages of products, resources and services in the PSR model related to the cloud network business; Step S2: input the parsed orchestration package into the business component, and split the business links or nodes involved in the cloud network business; Step S3: The split business links or nodes are configured using scheduling policies and rules, and the design module is implemented using an API to convert the split business links or nodes from hard codes to a configurable implementation mode; Step S4: Pack all configuration information into a unified file structure and send it to the design loading module; Step S5: The design loading module is used to realize automatic loading and automatic feedback of configuration information.
2. According to a cloud network resource configuration method based on the PSR model according to claim 1, it is characterized in that: The scheduling strategies include: parallel workflow, serial workflow and configuration design of each link in the workflow, and the appropriate scheduling strategy is selected according to the characteristics of the split business links or nodes.
3. According to a cloud network resource configuration method based on the PSR model according to claim 1, it is characterized in that: The rules include network resource allocation rules and instance ID generation rules, which are configured through value rules, exception rules and loop rules.
4. According to a cloud network resource configuration method based on the PSR model according to claim 3, it is characterized in that: The configuration process of the value-taking rule includes: configuring the rule name, rule implementation method, rule code and general expression, and configuring the rule type as a link number-taking rule; the configuration process of the exception rule includes: configuring the rule name and rule code, and configuring the rule type as an exception handling rule, including: configuring exception scenarios and execution operations; the configuration process of the loop rule includes: configuring the rule name and rule code, configuring the rule type as a loop execution rule, and configuring the number of loops.
5. According to a method for configuring cloud network resources based on a PSR model according to claim 1, it is characterized in that: The API implementation design module includes: program flow design, business flow design or mixed design.
6. According to a method for configuring cloud network resources based on a PSR model according to claim 5, it is characterized in that: The specific process of program flow design is: encapsulate reusable code logic fragments into API interfaces as basic atomic methods, design the basic atomic methods into workflows according to XPDL or BPMN workflow modeling standards, and load the workflow execution process for scheduling through the Activity process engine.
7. According to the cloud network resource configuration method based on the PSR model according to claim 5, it is characterized in that: The specific process of the business flow design is: assembling and concatenating the resource configuration capabilities of multiple cloud network resource APIs and conventional APIs into a resource-oriented service API to realize the end-to-end network to provide network resource service capabilities.
8. A computer-readable storage medium storing a computer program, characterized in that: The computer program enables the computer to execute the cloud network resource configuration method based on the PSR model as described in any one of claims 1-7.
9. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the cloud network resource configuration method based on the PSR model as described in any one of claims 1 to 7 is implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the cloud network resource configuration method based on the PSR model described in any one of claims 1 to 7 is implemented.