A service generation method and device, electronic equipment and storage medium

By defining the network topology model and abstracting it into atomic capabilities, services can be directly generated, solving the problem of excessively long development cycles for 5G private network services and achieving rapid and efficient service generation.

CN117295027BActive Publication Date: 2026-06-12CHINA MOBILE GRP FUJIAN CO LTD +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA MOBILE GRP FUJIAN CO LTD
Filing Date
2022-06-20
Publication Date
2026-06-12

Smart Images

  • Figure CN117295027B_ABST
    Figure CN117295027B_ABST
Patent Text Reader

Abstract

The application discloses a service generation method and device, electronic equipment and storage medium, and belongs to the field of network service operation. The method comprises the following steps: acquiring a target service scene corresponding to a target service, determining a networking network model corresponding to the target service scene; determining all first network resources corresponding to the networking network model; abstracting L first configuration operations for configuring all the first network resources into L first atomic capabilities; abstracting M second configuration operations for configuring all network configurations according to all the first network resources into M second atomic capabilities; determining all network characteristics required by the target service scene, and abstracting N third configuration operations for configuring all the network characteristics according to all the first network resources into N third atomic capabilities; and obtaining the target service by combining the L first atomic capabilities, the M second atomic capabilities and the N third atomic capabilities.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of network service operation, and specifically relates to a service generation method, apparatus, electronic device and storage medium. Background Technology

[0002] The activation of existing 5G private network services requires the construction of 5G slicing networks based on the customized requirements of industry customers. These requirements include customized aspects such as security, isolation, bandwidth, latency, reliability, enhanced computing power, and enhanced coverage. The network needs to plan and deploy services end-to-end for business orders, from wireless, transmission, and core components, and form 5G slicing network services through script integration.

[0003] Currently, most business operation support systems are provided by software development vendors. When a new service needs to be launched, various business departments and network support departments of the operator need to analyze the business model, identify the departments involved, and determine the possible network solutions. These business processes and network solutions are then passed on to the support system development vendor. The vendor needs to understand these business processes and translate them into technical implementation. This process involves a long chain of communication and significant information loss. Only after the system is developed and launched can the accuracy of the information transmission be verified. Furthermore, the business environment may change over time, which is highly detrimental to the commercial launch of new services.

[0004] The current operations support platform involves many business departments, many steps, long processes, and slow response times, from collecting business requirements, analyzing requirements, and designing network solutions to system development, business debugging, business activation, and business launch. This results in an excessively long business development cycle. Summary of the Invention

[0005] This application provides a service generation method, apparatus, electronic device, and storage medium that can solve the problem of excessively long service development cycles.

[0006] In a first aspect, embodiments of this application provide a method for generating a service. The method includes: obtaining a target service scenario corresponding to a target service; determining a network model corresponding to the target service scenario, wherein the network model includes at least two controllable network nodes and network connection relationships between the at least two controllable network nodes; determining all first network resources corresponding to the network model based on the network model; abstracting L first configuration operations that configure all the first network resources into L first atomic capabilities, wherein the L first atomic capabilities are used to provide all the first network resources required by the target service scenario; and determining all network configurations corresponding to the network model. The process involves: abstracting M second configuration operations, which yield all network configurations based on all first network resource configurations, into M second atomic capabilities, where the M second atomic capabilities provide all network configurations corresponding to the target service scenario; determining all network characteristics required by the target service scenario; and abstracting N third configuration operations, which yield all network characteristics based on all first network resource configurations, into N third atomic capabilities, where the N third atomic capabilities provide the network characteristics required by the target service scenario; and obtaining the target service by combining the L first atomic capabilities, the M second atomic capabilities, and the N third atomic capabilities, where L, M, and N are all positive integers.

[0007] Secondly, embodiments of this application provide a service generation apparatus, comprising: a modeling module, configured to acquire a target service scenario corresponding to a target service, and determine a network model corresponding to the target service scenario, wherein the network model includes at least two controllable network nodes and network connection relationships between the at least two controllable network nodes; a determining module, configured to determine all first network resources corresponding to the network model based on the network model; a first abstracting module, configured to abstract L first configuration operations that configure all the first network resources into L first atomic capabilities, wherein the L first atomic capabilities are used to provide all the first network resources required by the target service scenario; and a second abstracting module, configured to determine a network model corresponding to the network model. The system comprises: a first network resource configuration module and a third abstraction module; a third abstraction module; and a fourth combination module; and a fifth combination module. The first abstraction module determines all network configurations required by the target service scenario and abstracts N third configuration operations based on all first network resource configurations into N third atomic capabilities, wherein the N third atomic capabilities are used to provide the network characteristics required by the target service scenario. The third abstraction module determines all network characteristics required by the target service scenario and abstracts N third configuration operations based on all first network resource configurations into N third atomic capabilities, wherein the N third atomic capabilities are used to provide the network characteristics required by the target service scenario. The fifth combination module determines the target service by combining the L first atomic capabilities, the M second atomic capabilities, and the N third atomic capabilities. L, M, and N are all positive integers.

[0008] Thirdly, embodiments of this application provide an electronic device including a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the method described in the first aspect.

[0009] Fourthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method described in the first aspect.

[0010] In this embodiment, by obtaining the target service scenario corresponding to the target service, a network model corresponding to the target service scenario is determined. The network model includes at least two controllable network nodes and the network connection relationship between the at least two controllable network nodes. Based on the network model, all first network resources corresponding to the network model are determined. L first configuration operations that configure all the first network resources are abstracted into L first atomic capabilities, where the L first atomic capabilities are used to provide all the first network resources required by the target service scenario. All network configurations corresponding to the network model are determined, and M second configuration operations that configure all network configurations based on all the first network resources are abstracted into M second atomic capabilities. The system comprises several sub-capabilities, wherein the M second atomic capabilities are used to provide all network configurations corresponding to the target service scenario; based on the target service scenario, all network characteristics for the network model are determined, and N third configuration operations that configure all network characteristics based on all first network resources are abstracted into N third atomic capabilities, wherein the N third atomic capabilities are used to provide the network characteristics required by the target service scenario; by combining the L first atomic capabilities, the M second atomic capabilities, and the N third atomic capabilities, the target service is obtained. This allows for direct generation of services by combining and encapsulating the first, second, and third atomic capabilities, solving the problem of excessively long service development cycles, simplifying service generation steps, and improving service development efficiency. Attached Figure Description

[0011] Figure 1 This is a flowchart illustrating a service generation method provided in an embodiment of this application;

[0012] Figure 2 This is a schematic diagram of an atomic capability combination provided in an embodiment of this application;

[0013] Figure 3 This is a schematic diagram of the structure of a service generation device provided in an embodiment of this application;

[0014] Figure 4 This is a schematic diagram of the structure of an electronic device according to another embodiment of this application. Detailed Implementation

[0015] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0016] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0017] The following description, in conjunction with the accompanying drawings, details a service generation method, apparatus, electronic device, and storage medium provided in this application through specific embodiments and application scenarios.

[0018] Figure 1 This illustration shows a service generation method provided by an embodiment of the present invention. This method can be executed by an electronic device, which may include a server and / or terminal devices, etc. In other words, the method can be executed by software or hardware installed on the electronic device, and the method includes the following steps:

[0019] Step 102: Obtain the target service scenario corresponding to the target service, and determine the network model corresponding to the target service scenario.

[0020] Specifically, after obtaining the target service, it is necessary to analyze the target service to obtain the target service scenario. Based on the target service scenario, the network model corresponding to the target service scenario is determined. The network model includes at least two controllable network nodes and the network connection relationship between at least two controllable network nodes.

[0021] Step 104: Based on the network topology model, determine all first network resources corresponding to the network topology model.

[0022] Specifically, network resources are used to provide the network services required by the business. The network model is analyzed to identify all the primary network resources involved in the network model. For example, the primary network resources involved in the network model include: network elements, Internet Protocol (IP), Virtual Local Area Network (VLAN), etc.

[0023] Step 106: Abstract the L first configuration operations that configure all the first network resources into L first atomic capabilities.

[0024] Atomic ability has the following characteristics:

[0025] 1) Atomic capabilities have business attributes and are mainly used to support network service development and 5G private network services.

[0026] 2) Atomic capabilities are atomic and can describe a specific network function. Atomic capabilities are orthogonal to each other, independent of each other, and have virtually no functional overlap.

[0027] 3) There may be dependencies between atomic capabilities.

[0028] 4) Atomic capabilities can be reused and arranged to form different network services.

[0029] 5) Atomic capabilities do not need to directly expose application programming interfaces (APIs) to external systems; they can be encapsulated through network services before being exposed to the outside world.

[0030] 6) Atomic capabilities can be automatically parsed and executed in the running state, possessing the ability to execute automatically.

[0031] Specifically, the design involves L first configuration operations that configure all first network resources, and these L first configuration operations are abstracted into L first atomic capabilities. These L first atomic capabilities are used to provide all the first network resources required by the target business scenario. By configuring the first network resources, the first network resources can provide the network services required by the target business.

[0032] Step 108: Determine all network configurations corresponding to the network topology model, and abstract the M second configuration operations obtained from all the first network resource configurations into M second atomic capabilities.

[0033] Specifically, the network configurations involving all first network resources in the network topology model can be analyzed to form baselined second configuration operations. For example, when configuring the N3 interface of a base station, the M second configuration operations that configure all network configurations based on all first network resources can be abstracted into M second atomic capabilities. Among them, the M second atomic capabilities are used to provide all network configurations corresponding to the target service scenario. As long as the target service scenario uses this network topology model, the corresponding second atomic capabilities can be used to provide the corresponding network configurations and realize basic service characteristics.

[0034] Step 110: Determine all network characteristics required by the target service scenario, and abstract the N third configuration operations that configure all network characteristics based on all the first network resources into N third atomic capabilities.

[0035] Specifically, the target business scenario is analyzed to identify its network characteristic requirements, such as access control, traffic offloading, network location, and network timing. These network characteristics can be implemented by configuring the first network resources. The N third configuration operations that configure all network characteristics based on all the first network resources are abstracted into N third atomic capabilities. These N third atomic capabilities are used to provide the network characteristics required by the target business scenario. By calling the third atomic capabilities on the support of the target business scenario, the network characteristics required by the target business scenario can be provided.

[0036] Step 112: The target service is obtained by combining the L first atomic capabilities, the M second atomic capabilities, and the N third atomic capabilities.

[0037] Specifically, the state of a first network resource can be realized through the actions of a first atomic capability, such as creating, modifying, or terminating a first network resource. The transitions between states follow certain business rules. Network configuration can be realized through the actions of a second atomic capability, such as creating, modifying, or terminating a network configuration. The state of a network characteristic can be realized through the actions of a third atomic capability, such as creating, modifying, or terminating a network characteristic. In this way, the target service can be obtained by combining L first atomic capabilities, M second atomic capabilities, and N third atomic capabilities. For the first, second, and third atomic capabilities, the names, descriptions, and tags of the atomic capabilities can be set accordingly to facilitate the rapid combination and generation of the target service.

[0038] Some parameters of certain atomic capabilities require manual input / output or input / output from other modules of the system. The input mainly provides some necessary parameters for the atomic capability, and the output mainly outputs the results after the atomic capability is executed, such as dynamically displaying network deployment progress and instance generation information.

[0039] Where L, M, and N are all positive integers.

[0040] This invention provides a service generation method that, by acquiring the target service scenario corresponding to the target service, determines the network model corresponding to the target service scenario; determines all first network resources corresponding to the network model; abstracts L first configuration operations of configuring all first network resources into L first atomic capabilities; abstracts M second configuration operations of configuring all network configurations based on all first network resources into M second atomic capabilities; determines all network characteristics required by the target service scenario, and abstracts N third configuration operations of configuring all network characteristics based on all first network resources into N third atomic capabilities; and obtains the target service by combining the L first atomic capabilities, M second atomic capabilities, and N third atomic capabilities. This method directly combines the abstracted L first atomic capabilities, M second atomic capabilities, and N third atomic capabilities to obtain the target service, shortening the target service development cycle, solving the problem of excessively long target service development cycles, simplifying the target service generation steps, and improving the development efficiency of the target service.

[0041] In one implementation, determining all first network resources corresponding to the network topology model based on the network topology model includes:

[0042] Establish a network resource model, wherein the network resource model includes all second network resources used to provide network services;

[0043] All first network resources corresponding to the network topology model are determined from the network resource model.

[0044] Specifically, after acquiring the target business, a network resource model can be established by analyzing typical business scenarios. The network resource model includes all secondary network resources used to provide network services. Based on all secondary network resources, all network resource types corresponding to all secondary network resources can be determined, such as spatial resources, physical resources, and logical resources. The same network resource model includes the network resource attribute information corresponding to secondary network resources of the same type. When abstracting atomic capabilities, the atomic capabilities corresponding to network resources of the same type have certain common characteristics.

[0045] After establishing the network resource model, the required primary network resource can be determined from all network resource models based on the network topology model. In this way, by establishing the network resource model, all primary network resources are supported, making it easy to determine the primary network resources required for the target business scenario and the attribute information of the primary network resources. This reduces the time spent searching for resources during the development of the target business and improves the efficiency of the target business development.

[0046] In one implementation, obtaining the target service by combining the L first atomic capabilities, the M second atomic capabilities, and the N third atomic capabilities includes:

[0047] The L first atomic capabilities are encapsulated into L first building blocks;

[0048] The M second atomic capabilities are encapsulated into M second building blocks;

[0049] The N third atomic capabilities are encapsulated into N third building blocks;

[0050] The target service is obtained by combining the L first building blocks, the M second building blocks, and the N third building blocks.

[0051] Specifically, after obtaining L first atomic capabilities, M second atomic capabilities, and N third atomic capabilities, the L first atomic capabilities can be encapsulated into L first building blocks, the M second atomic capabilities into M second building blocks, and the N third atomic capabilities into N third building blocks. These building blocks can then be visualized. Business support personnel can drag and drop these building blocks to combine them, allowing electronic devices to generate the target business function. This enables the target business function to be completed within a graphical interface, facilitating rapid development, supporting quick modification and expansion, shortening the target business function development cycle, solving the problem of excessively long development cycles, simplifying the generation steps, and improving development efficiency.

[0052] This invention is based on the telecommunications industry's recognized layering of communication networks. The top layer is the Product layer, which forms products for industry users, representing the content that telecommunications customers can purchase. The next layer is the Customer Facing Service (CFS), which mainly consists of business processes and service combinations, representing how services are assembled from the customer's perspective. The next layer is the Resource Facing Service (RFS), which mainly defines the service-oriented operation of network resources, representing how the network is configured from the perspective of network devices. The bottom layer is the Network Resource layer, which defines the network resources required to compose services, indicating which network resources are used to provide services to customers.

[0053] This invention primarily involves designing and adjusting business processes in CFS, implementing new business logic through drag-and-drop; and combining encapsulated atomic capabilities through drag-and-drop when designing business logic in RFS.

[0054] After determining the network topology and obtaining the first, second, and third atomic capabilities, target services can be assembled using network service templates and drag-and-drop operations. This process creates resource-oriented services, as illustrated in the example. Figure 2 As shown, there are first atomic capabilities A1, A2, and A3; second atomic capabilities B1 and B2; and third atomic capabilities C1, C2, and C3. The dependencies between these atomic capabilities are as follows: Figure 2 As shown, in the business design panel, atomic capabilities can be set in the business template through drag-and-drop operations to form the target business.

[0055] After obtaining the target business, you can design the process by dragging and dropping the service flow in the graphical interface to form a customer-oriented service. By combining the resource-oriented service and the customer-oriented service, you can form a process from the target business demand end to the target business development completion end.

[0056] After RFS and CFS are formed, a Network Service Template can be generated from RFS / CFS and published to the runtime. This template information can be queried and subscribed to by the Business Support System through interfaces or files, so that when the order processing system receives a request from an industry customer, it will call the corresponding atomic capabilities to generate the service.

[0057] In one implementation, determining the network model corresponding to the target service scenario includes:

[0058] Based on the target business scenario, determine the networking scheme corresponding to the target business scenario;

[0059] The networking scheme is abstracted into the networking network model.

[0060] Specifically, after receiving the target service, the target service scenario can be analyzed to obtain the network requirements corresponding to the target service, such as latency, bandwidth, network reliability, and isolation. Based on the service scenario and network requirements, an end-to-end networking solution is formed. After obtaining the networking solution, it is abstracted to obtain a network model. In this way, by abstracting the networking solution into a network model, the controllable network nodes and the network connection relationships between them can be clearly determined, thus improving the efficiency of service development.

[0061] It should be noted that the service generation method provided in this application embodiment can be executed by a service generation device or a control module within that device for executing the service generation method. This application embodiment uses the execution of the service generation method by a service generation device as an example to illustrate the service generation device provided in this application embodiment.

[0062] Figure 3 This is a schematic diagram of the structure of a service generation apparatus according to an embodiment of the present invention. Figure 3 As shown, the business generation device 300 includes: a modeling module 310, a determination module 320, a first abstraction module 330, a second abstraction module 340, a third abstraction module 350, and a combination module 360.

[0063] Modeling module 310 is used to acquire the target service scenario corresponding to the target service and determine the network model corresponding to the target service scenario, wherein the network model includes at least two controllable network nodes and the network connection relationship between the at least two controllable network nodes; determining module 320 is used to determine all first network resources corresponding to the network model based on the network model; first abstracting module 330 is used to abstract L first configuration operations configured to obtain all the first network resources into L first atomic capabilities, wherein the L first atomic capabilities are used to provide all the first network resources required by the target service scenario; second abstracting module 340 is used to determine all network configurations corresponding to the network model and to abstract the configurations based on all the first network resources. The M second configuration operations for all network configurations are abstracted into M second atomic capabilities, wherein the M second atomic capabilities are used to provide all network configurations corresponding to the target service scenario; the third abstraction module 350 is used to determine all network characteristics for the network model according to the target service scenario, and abstract the N third configuration operations for all network characteristics obtained from all first network resource configurations into N third atomic capabilities, wherein the N third atomic capabilities are used to provide the network characteristics required by the target service scenario; the combination module 360 ​​is used to combine the L first atomic capabilities, the M second atomic capabilities and the N third atomic capabilities to obtain the target service; wherein L, M and N are all positive integers and L, M and N are all determined according to the network model.

[0064] In one implementation, the determining module 320 is configured to establish a network resource model, wherein the network resource model includes all second network resources for providing network services; and determine all first network resources corresponding to the network model from the network resource model.

[0065] In one implementation, the combination module 360 ​​is used to encapsulate the L first atomic capabilities into L first building blocks; encapsulate the M second atomic capabilities into M second building blocks; encapsulate the N third atomic capabilities into N third building blocks; and obtain the target service by combining the L first building blocks, the M second building blocks, and the N third building blocks.

[0066] In one implementation, the modeling module 310 is used to determine a networking scheme corresponding to the target business scenario based on the target business scenario; and to abstract the networking scheme into the networking network model.

[0067] The service generation device in this application embodiment can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. For example, mobile electronic devices can be mobile phones, tablets, laptops, PDAs, in-vehicle electronic devices, wearable devices, ultra-mobile personal computers (UMPCs), netbooks, or personal digital assistants (PDAs), etc., while non-mobile electronic devices can be servers, network-attached storage (NAS), personal computers (PCs), televisions (TVs), ATMs, or self-service machines, etc. This application embodiment does not impose specific limitations.

[0068] The service generation device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit the specific operating system used.

[0069] The service generation apparatus provided in this application embodiment can achieve Figure 1 To avoid repetition, the various processes implemented in the method embodiments will not be described again here.

[0070] Optionally, such as Figure 4This application embodiment also provides an electronic device 400, including a processor 401 and a memory 402. The memory 402 stores a program or instructions that can run on the processor 401. When the program or instructions are executed by the processor 401, they perform the following: obtaining a target service scenario corresponding to a target service; determining a network model corresponding to the target service scenario, wherein the network model includes at least two controllable network nodes and network connection relationships between the at least two controllable network nodes; determining all first network resources corresponding to the network model based on the network model; and abstracting L first configuration operations for configuring all the first network resources into L first atomic capabilities, wherein the L first atomic capabilities are used to provide all the first network resources required by the target service scenario. The system first determines all network configurations corresponding to the network model and abstracts M second configuration operations, which are obtained from all first network resource configurations, into M second atomic capabilities. These M second atomic capabilities are used to provide all network configurations corresponding to the target service scenario. Based on the target service scenario, the system determines all network characteristics for the network model and abstracts N third configuration operations, which are obtained from all first network resources, into N third atomic capabilities. These N third atomic capabilities are used to provide the network characteristics required by the target service scenario. The target service is obtained by combining L first atomic capabilities, M second atomic capabilities, and N third atomic capabilities. L, M, and N are all positive integers.

[0071] In one implementation, a network resource model is established, wherein the network resource model includes all second network resources for providing network services; and all first network resources corresponding to the network topology model are determined from the network resource model.

[0072] In one implementation, the L first atomic capabilities are encapsulated into L first building blocks; the M second atomic capabilities are encapsulated into M second building blocks; the N third atomic capabilities are encapsulated into N third building blocks; and the target service is obtained by combining the L first building blocks, the M second building blocks, and the N third building blocks.

[0073] In one implementation, determining the network model corresponding to the target service scenario includes: determining a networking scheme corresponding to the target service scenario based on the target service scenario; and abstracting the networking scheme into the network model.

[0074] The specific execution steps can be found in the various steps of the above-described business generation method embodiment, and can achieve the same technical effect. To avoid repetition, they will not be repeated here.

[0075] It should be noted that the electronic devices in the embodiments of this application include: servers, terminals, or other devices besides terminals.

[0076] The above electronic device structure does not constitute a limitation on the electronic device. An electronic device may include more or fewer components than illustrated, or combine certain components, or arrange them differently. For example, an input unit may include a Graphics Processing Unit (GPU) and a microphone, and a display unit may use a liquid crystal display (LCD), organic light-emitting diode (OLED), or other similar display panels. User input units include at least one of a touch panel and other input devices. A touch panel is also called a touchscreen. Other input devices may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be elaborated further here.

[0077] Memory can be used to store software programs and various data. Memory can primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area can store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, memory can include volatile memory or non-volatile memory, or both. Non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (Synchlink DRAM, SLDRAM), and direct memory bus RAM (DRRAM).

[0078] The processor may include one or more processing units; optionally, the processor integrates an application processor and a modem processor, wherein the application processor mainly handles operations related to the operating system, user interface, and applications, while the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into the processor.

[0079] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described service generation method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.

[0080] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as ROM, RAM, magnetic disk, or optical disk.

[0081] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-mentioned service generation method embodiment and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0082] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.

[0083] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0084] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0085] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. A method for generating business logic, characterized in that, include: Obtain the target business scenario corresponding to the target business, and determine the network model corresponding to the target business scenario, wherein the network model includes at least two controllable network nodes and the network connection relationship between the at least two controllable network nodes; Based on the network topology model, determine all first network resources corresponding to the network topology model; The L first configuration operations that configure all the first network resources are abstracted into L first atomic capabilities, wherein the L first atomic capabilities are used to provide all the first network resources required by the target service scenario; Determine all network configurations corresponding to the network topology model, and abstract the M second configuration operations that obtain all network configurations based on all first network resource configurations into M second atomic capabilities, wherein the M second atomic capabilities are used to provide all network configurations corresponding to the target service scenario; Determine all network characteristics required by the target service scenario, and abstract N third configuration operations that obtain all network characteristics based on all first network resource configurations into N third atomic capabilities, wherein the N third atomic capabilities are used to provide the network characteristics required by the target service scenario; The target service is obtained by combining the L first atomic capabilities, the M second atomic capabilities, and the N third atomic capabilities; Wherein, L, M and N are all positive integers.

2. The generation method according to claim 1, characterized in that, The step of determining all first network resources corresponding to the network topology model based on the network topology model includes: Establish a network resource model, wherein the network resource model includes all second network resources used to provide network services; All first network resources corresponding to the network topology model are determined from the network resource model.

3. The generation method according to claim 1, characterized in that, The process of obtaining the target service by combining the L first atomic capabilities, the M second atomic capabilities, and the N third atomic capabilities includes: The L first atomic capabilities are encapsulated into L first building blocks; The M second atomic capabilities are encapsulated into M second building blocks; The N third atomic capabilities are encapsulated into N third building blocks; The target service is obtained by combining the L first building blocks, the M second building blocks, and the N third building blocks.

4. The generation method according to claim 1, characterized in that, The determination of the network model corresponding to the target service scenario includes: Based on the target business scenario, determine the networking scheme corresponding to the target business scenario; The networking scheme is abstracted into the networking network model.

5. A business generation apparatus, characterized in that, include: The modeling module is used to obtain the target business scenario corresponding to the target business and determine the network model corresponding to the target business scenario. The network model includes at least two controllable network nodes and the network connection relationship between the at least two controllable network nodes. The determining module is used to determine all first network resources corresponding to the network topology model based on the network topology model. The first abstraction module is used to abstract the L first configuration operations that configure all the first network resources into L first atomic capabilities, wherein the L first atomic capabilities are used to provide all the first network resources required by the target service scenario; The second abstract module is used to determine all network configurations corresponding to the network topology model, and to abstract the M second configuration operations that obtain all network configurations based on all first network resource configurations into M second atomic capabilities, wherein the M second atomic capabilities are used to provide all network configurations corresponding to the target service scenario; The third abstraction module is used to determine all network characteristics required by the target business scenario, and to abstract N third configuration operations that obtain all network characteristics based on all first network resource configurations into N third atomic capabilities, wherein the N third atomic capabilities are used to provide the network characteristics required by the target business scenario. The combination module is used to obtain the target service by combining the L first atomic capabilities, the M second atomic capabilities, and the N third atomic capabilities; Wherein, L, M and N are all positive integers.

6. The generating apparatus according to claim 5, characterized in that, The determining module is used for: Establish a network resource model, wherein the network resource model includes all second network resources used to provide network services; All first network resources corresponding to the network topology model are determined from the network resource model.

7. The generating apparatus according to claim 5, characterized in that, The combined module is used for: The L first atomic capabilities are encapsulated into L first building blocks; The M second atomic capabilities are encapsulated into M second building blocks; The N third atomic capabilities are encapsulated into N third building blocks; The target service is obtained by combining the L first building blocks, the M second building blocks, and the N third building blocks.

8. The generating apparatus according to claim 5, characterized in that, The modeling module is used for: Based on the target business scenario, determine the networking scheme corresponding to the target business scenario; The networking scheme is abstracted into the networking network model.

9. An electronic device, characterized in that, It includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the service generation method as described in any one of claims 1-4.

10. A readable storage medium, characterized in that, The storage medium stores a program or instructions, which, when executed by a processor, implement the steps of the service generation method as described in any one of claims 1-4.