WO2021244441A1 - Service configuration method and apparatus therefor - Google Patents
Service configuration method and apparatus therefor Download PDFInfo
- Publication number
- WO2021244441A1 WO2021244441A1 PCT/CN2021/096918 CN2021096918W WO2021244441A1 WO 2021244441 A1 WO2021244441 A1 WO 2021244441A1 CN 2021096918 W CN2021096918 W CN 2021096918W WO 2021244441 A1 WO2021244441 A1 WO 2021244441A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- service
- configuration
- communication service
- realization
- network device
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/50—Network service management, e.g. ensuring proper service fulfilment according to agreements
- H04L41/5003—Managing SLA; Interaction between SLA and QoS
- H04L41/5009—Determining service level performance parameters or violations of service level contracts, e.g. violations of agreed response time or mean time between failures [MTBF]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
Definitions
- This application relates to the field of communication technology, and in particular to a service configuration method and device.
- the embodiments of the present application provide a service configuration method and device, which can generate configuration commands, which is beneficial to improve the configuration efficiency of configuring the communication service to be configured in the network device.
- an embodiment of the present application provides a service configuration method.
- the method includes: a service device obtains an input parameter for a communication service to be configured; determines the service type of the configured communication service; and according to the service type and the input parameter, Obtain the configuration parameters of the configured communication service; and according to the configuration parameters of the to-be-configured communication service, generate a configuration command for the network device, where the network device is a device for configuring the to-be-configured communication service; and send the configuration command to the Internet equipment.
- the configuration command for configuring the communication service to be configured can be automatically generated according to the input parameters. Compared with the manual input of the configuration command, it is beneficial to improve the configuration efficiency of the communication service to be configured. On the other hand, compared with manual input of configuration commands, the probability of errors in automatically generating configuration commands is lower, which is beneficial to improve the configuration success rate of the communication services to be configured.
- the specific implementation manner of generating the configuration command for the network device according to the configuration parameters of the communication service to be configured may be: determining the configuration rule information of the communication service to be configured; Configure the configuration rule information of the communication service and the configuration parameters of the communication service to be configured to generate a configuration command for the network device.
- the specific implementation manner for obtaining the configuration parameters of the communication service to be configured according to the service type and the input parameters may be: determining the service realization model corresponding to the service type; The input parameters are converted into configuration parameters required by the service realization model, and the configuration parameters required by the service realization model are configuration parameters of the communication service to be configured.
- the service realization model includes configuration rule information of the communication service to be configured.
- the number of devices used to configure the communication service to be configured is at least one; the service implementation model further includes at least one implementation component, and one implementation component corresponds to one network device;
- the configuration rule information of the communication service to be configured includes the configuration rule information of each of the realization components, and the configuration parameter of the communication service to be configured includes the configuration parameters of each realization component;
- the configuration rule information and the configuration parameters of the communication service to be configured, the specific implementation manner for generating the configuration command for the network device may be: for each implementation component, according to the configuration rule information of the implementation component, and the The configuration parameters of the realization component are generated, and the configuration command of the realization component is generated;
- the specific implementation manner of sending the configuration command to the network device may be: sending the configuration command of each realization component to the realization component Corresponding network equipment.
- the configuration rule information of the communication service to be configured includes the configuration rule information of each realization component.
- the configuration rule information in the service realization model needs to be modified so that the When the communication service that realizes the model configuration can meet the needs of users, the configuration rule information of some realization components in the service realization model can be modified. In this way, it is helpful to improve the efficiency of modification.
- the method further includes: in the case of detecting a modification operation for the target realization component in the business realization model, modifying the configuration rule information of the target realization component; The configuration rule information of the target realization component and the configuration rule information of other realization components in the service realization model except for the target realization component to obtain the modified service realization model.
- the configuration rule information in the service realization model needs to be modified so that the communication service configured according to the modified service realization model can meet the user needs, the service realization model can be implemented Modify the configuration rule information of the target realization component in the. In this way, it is helpful to improve the efficiency of modification.
- the service realization model includes a verification script; the method further includes: sending the verification script to the network device; the verification script is used to determine that the communication service to be configured is in the Whether the configuration in the network device is successful.
- the existing problems can be determined in a more timely manner, which is beneficial to faster Solve the problem and successfully configure the communication service in the network device.
- the service realization model includes a monitoring strategy; the method further includes: sending the monitoring strategy to an analysis device; the analysis device is used to perform all operations on the network device according to the monitoring strategy.
- the information obtained by the communication service to be configured is analyzed to obtain analysis information; the analysis information from the analysis device is received, and the analysis information is used to determine whether the communication service to be configured is successfully configured.
- the monitoring strategy includes a key performance indicator (KPI) of the network device
- the analysis information includes an analysis result of the KPI
- the analysis result of the KPI is used to indicate all Whether the value of the KPI is abnormal; if the value of the KPI is abnormal, the communication service to be configured is not successfully configured in the network device.
- KPI key performance indicator
- the monitoring strategy includes alarm information of the network device, and the alarm information includes an alarm type; the analysis information includes whether the network device generates an alarm of the alarm type; if the network device generates an alarm of the alarm type; If the device generates an alarm of the alarm type, the communication service to be configured is not successfully configured in the network device.
- the specific implementation manner for obtaining the input parameters of the communication service to be configured may be: obtaining the input parameters of the communication service to be configured input in the parameter input interface corresponding to the service intent model;
- the model is described by business language (or called user language);
- the specific implementation manner for determining the service type of the communication service to be configured may be: determining the service type corresponding to the service intent model as the communication service to be configured business type.
- the method further includes: receiving the business intent model and the business realization model from a modeling device.
- the service device includes configuration rule information of multiple implementation components; the method further includes: creating the service implementation model according to the configuration rule information of at least one implementation component of the multiple implementation components .
- an embodiment of the present application provides a service configuration device, which has the function of implementing the method described in the first aspect.
- the functions can be realized by hardware, or by hardware executing corresponding software.
- the hardware or software includes one or more modules corresponding to the above-mentioned functions.
- an embodiment of the present application provides another service configuration device.
- the device includes a memory and a processor.
- the memory stores program instructions.
- the processor is connected to the memory through a bus.
- the processor calls the program instructions stored in the memory to make The device executes the method described in the first aspect.
- an embodiment of the present application provides a computer-readable storage medium for storing computer program instructions used by the service configuration device described in the second aspect, which includes the program used to execute the program involved in the first aspect.
- an embodiment of the present application provides a computer program product, which includes a program, which implements the method described in the first aspect when the program is executed.
- FIG. 1 is a schematic diagram of the architecture of a communication system provided by an embodiment of the present application.
- FIG. 2 is a schematic flowchart of a service configuration method provided by an embodiment of the present application.
- FIG. 3 is a schematic flowchart of another service configuration method provided by an embodiment of the present application.
- FIG. 4 is a schematic flowchart of another service configuration method provided by an embodiment of the present application.
- FIG. 5 is a schematic structural diagram of a service configuration device provided by an embodiment of the present application.
- Fig. 6 is a schematic structural diagram of another service configuration apparatus provided by an embodiment of the present application.
- FIG. 1 is a schematic diagram of the architecture of a communication system provided by an embodiment of the application.
- the communication system may include, but is not limited to, one service device and one network device.
- the number and form of the devices shown in FIG. 1 are only used as examples and do not constitute a limitation to the embodiment of the present application. In actual applications, it may include two or more Network equipment.
- the communication system shown in FIG. 1 includes a service device 101 and a network device 102 as an example.
- the service device 101 may be used to generate a configuration command for the network device 102, and send the configuration command to the network device 102.
- This configuration command is used to configure the communication service to be configured.
- the communication service to be configured may include, but is not limited to, communication services such as communication packages or 5th generation mobile networks (5G) network slicing.
- the embodiment of the present application takes the communication service to be configured as a communication package as an example for description, but it does not constitute a limitation to the embodiment of the present application.
- the network device 102 can be used to configure the communication service to be configured according to the configuration command from the service device 101.
- the service device 101 may generate a configuration command for the network device 102 in the following manner: obtain input parameters for the communication service to be configured; determine the service type of the communication service to be configured; according to the service type and the input Parameters to obtain the configuration parameters of the communication service to be configured; and according to the configuration parameters of the communication service to be configured, a configuration command for the network device 102 is generated.
- the input parameter may be a parameter input by the user in the parameter input interface.
- the input parameter can be described in a business language (or user language) that the user can understand, so that the user (such as a business person who configures a communication service) can better understand the meaning of the input parameter, which is beneficial to improve the communication service to be configured The configuration efficiency.
- different communication services to be configured may have the same or different service types.
- the service type may include, but is not limited to, campus data package, unlimited data package, fixed-rate data package (such as 199 package, 299 package, etc.), campus call package, unlimited call package, and fixed-rate call package.
- the configuration parameters obtained according to the service type and input parameters may be parameters described in machine language.
- the service device 101 After the service device 101 obtains the configuration parameters, it can generate a configuration command for the network device according to the configuration parameters.
- the service device can obtain the configuration command required to configure the aforementioned communication service to be configured according to the corresponding relationship between the configuration parameter and the configuration command.
- a communication service to be configured can be configured through one or more network devices.
- the network device 102 may be a device for configuring the aforementioned communication service to be configured, and the number of the network device 102 may be one or more.
- the service device can automatically generate configuration commands for configuring the communication services to be configured according to the input parameters. Compared with manually inputting the configuration commands, it is beneficial to improve the configuration efficiency of the communication services to be configured. On the other hand, compared with manual input of configuration commands, the probability of errors in automatically generating configuration commands is lower, which is beneficial to improve the configuration success rate of the communication services to be configured.
- the service device 101 in the embodiment of the present application may be composed of a processor, a memory, and a network interface.
- the service device 101 may be a terminal device or a server.
- the network device 102 may be all network elements involved in configuring the communication service to be configured.
- the network device 102 may include but is not limited to: policy and charging enforcement function (PCEF) One or more of the policy and charging rules function unit (PCRF), mobility management entity (MME), or service provider gateway (service provider gateway, SPGW).
- PCEF policy and charging enforcement function
- PCRF policy and charging rules function unit
- MME mobility management entity
- SPGW service provider gateway
- the network device 102 may include, but is not limited to: one or more of a user plane function entity (UPF) and a session management function entity (session management function, SMF). It should be noted that this application can also be applied to future communication systems (for example, 6G or other communication systems). Accordingly, the network device 102 includes network elements involved in configuring communication services in the future communication system. The embodiment of the present application does not limit the specific technology and specific device form adopted by the service device 101 and the network device 102.
- UPF user plane function entity
- SMF session management function entity
- FIG. 2 is a schematic flowchart of a service configuration method provided by an embodiment of the present application.
- This method describes in detail how the service device automatically generates configuration commands for configuring the communication services to be configured according to the input parameters.
- the execution subject of step S201 to step S205 is the service device, or the chip in the service device
- the execution subject of step S206 is the network device, or the chip in the network device
- the following uses the service device and network device as the service configuration method Take an example of the executive body of.
- the method may include but is not limited to the following steps:
- Step S201 The service device obtains input parameters for the communication service to be configured.
- the user can operate the service device to input input parameters for the communication service to be configured.
- the user can input the input parameter through the input device of the service device (such as a keyboard, a mouse, a scanner, a light pen, a handwriting input board, a voice input device, etc.).
- the expression form of the input parameter may be text or voice, which is not limited in this application.
- the input parameter may be input by the user in the parameter input interface displayed in the service device.
- the service device may also obtain input parameters for the communication service to be configured from other devices, and the other device stores the input parameters for the communication service to be configured.
- the input parameter can be described in a business language that the user can understand, so that the user (such as a business person configuring a communication service) can better understand the meaning of the input parameter, thereby helping to improve the configuration efficiency of the communication service to be configured.
- the communication service to be configured is a communication package (such as a fixed-rate traffic package)
- the input parameters may include, but are not limited to, quota (Quota), traffic consumption condition (Condition), uplink and downlink bandwidth (Action), etc.
- the quota can be used to limit or control the traffic used by the user or user group within a preset period (such as daily or monthly, etc.).
- the quota can be used to limit or control the number of minutes (or number of short messages) used by the user or user group within a preset period (such as daily or monthly, etc.).
- the subsequent traffic used by the user or user group can be restricted or controlled.
- the upstream bandwidth of the user when surfing the Internet can be 5Mbit/s, and the downstream bandwidth can be 10Mbit/s; quota*60% ⁇ the traffic used by the user or user group When ⁇ quota*100%, the user’s upstream bandwidth when surfing the Internet can be reduced to 2Mbit/s, and the downstream bandwidth can be reduced to 4Mbit/s; when the user or user group has used traffic> quota*100%, the user’s upstream bandwidth when surfing the Internet It can be reduced to 1Mbit/s, and the downlink bandwidth can be reduced to 2Mbit/s.
- Step S202 The service device determines the service type of the communication service to be configured.
- the service device can determine the service type of the communication service to be configured.
- different communication services to be configured may have the same or different service types.
- the service type can include but is not limited to: campus data package, unlimited data package, fixed-rate data package (such as 199 package, 299 package, etc.), campus call package, unlimited call package, fixed-rate call package .
- the service types can include but are not limited to: enhanced mobile broadband (eMBB), ultra-reliable and low latency communications (URLLC), large-scale Internet of Things (massive machine type communications, mMTC).
- Step S203 The service device obtains the configuration parameter of the communication service to be configured according to the service type and the input parameter.
- the configuration parameter determined by the service device according to the service type and the input parameter may be the parameter required to configure the aforementioned communication service to be configured.
- the configuration parameters may include parameters converted from input parameters.
- the configuration parameters may also include default parameters used to configure the configuration required for the communication service to be configured. There may be one or more default parameters for each communication service to be configured. If the default parameter does not need to be changed, the user does not need to input the default parameter when inputting the input parameter of the communication service to be configured.
- the configuration parameter may be a parameter described in machine language.
- Step S204 The service device generates a configuration command for the network device according to the configuration parameters of the communication service to be configured, and the network device is a device for configuring the communication service to be configured.
- the service device After the service device obtains the configuration parameter, it can generate a configuration command for the network device according to the configuration parameter.
- the configuration parameter there may be one or more configuration commands corresponding to each configuration parameter.
- the service device can obtain the configuration commands required to configure the aforementioned communication services to be configured according to the correspondence between the configuration parameters and the configuration commands.
- a communication service to be configured can be configured through one or more network devices.
- the network devices used to configure different communication services may be the same or different, which is not limited in the embodiment of the present application.
- the network device may be a device for configuring the aforementioned communication service to be configured, and the number of network devices may be one or more. It should also be noted that when the number of network devices is multiple, the configuration commands for different network devices generated according to the configuration parameters of the communication service to be configured may be partially the same or completely different.
- the service device generates a configuration command for the network device according to the configuration parameters of the communication service to be configured.
- the specific implementation manner may be: the service device determines the configuration rule information of the communication service to be configured; Configure the configuration rule information of the communication service and the configuration parameters of the communication service to be configured to generate a configuration command for the network device.
- the configuration rule information of the communication service to be configured may be used to indicate the relevant rules for configuring the communication service to be configured.
- the configuration rule information of the communication service to be configured may be used to indicate which parameters are required to configure the communication service to be configured and how to configure the required parameters.
- the service device can generate a configuration command for the network device in combination with the configuration parameters of the communication service to be configured, and then execute the configuration process in the network device according to the configuration command.
- the configuration rule information of the communication service to be configured may be stored in the service device in advance.
- the service device may determine the configuration rule information for configuring the aforementioned communication service to be configured according to the product document (or user manual) of the network device.
- the configuration rule information of the to-be-configured communication service may include configuration rule information corresponding to the configuration of the to-be-configured communication service in the multiple network devices. It should be noted that, in order to successfully configure the to-be-configured communication service, it is necessary to successfully configure the to-be-configured communication service in the multiple network devices.
- the configuration rule information corresponding to each network device of the plurality of network devices configuring the communication service to be configured is different.
- Step S205 The service device sends the configuration command to the network device.
- the configuration command can be sent to the network device, so that the network device configures the aforementioned communication service to be configured according to the configuration command.
- the service device can generate information for each network device (of the multiple network devices) according to the configuration parameters of the communication service to be configured. Configuration commands.
- the service device can send the configuration commands of each network device to the corresponding network device. For example, when the service device generates a configuration command for network device 1 and a configuration command for network device 2, the service device can send the configuration command for network device 1 to network device 1, and send the configuration command for network device 2 to Network equipment 2.
- Step S206 The network device configures the aforementioned communication service to be configured according to the configuration command.
- the network device After receiving the configuration command from the service device, the network device can configure the aforementioned communication service to be configured according to the configuration command.
- the configuration command for configuring the communication service to be configured can be automatically generated according to the input parameters. Compared with manually inputting the configuration command, it is beneficial to improve the configuration efficiency of the communication service to be configured. On the other hand, compared with manual input of configuration commands, the probability of errors in automatically generating configuration commands is lower, which is beneficial to improve the configuration success rate of the communication services to be configured.
- FIG. 3 is a schematic flowchart of another service configuration method provided by an embodiment of the present application.
- This method describes in detail how the service device determines the service realization model corresponding to the service type of the communication service to be configured, and how to convert the input parameters of the communication service to be configured into configuration parameters according to the service realization model.
- the execution subject of step S301 to step S307 is the service device, or the chip in the service device
- the execution subject of step S308 is the network device, or the chip in the network device
- the service device and network device are used as the service configuration method below.
- the method may include but is not limited to the following steps:
- Step S301 The service device obtains input parameters for the communication service to be configured.
- Step S302 The service device determines the service type of the communication service to be configured.
- step S301 to step S302 please refer to the specific description of step S201 to step S202 in FIG. 2 respectively, which will not be repeated here.
- Step S303 The service device determines the service realization model corresponding to the service type.
- each service type may correspond to a service realization model, and the service realization model may be used to generate configuration parameters of the communication service to be configured belonging to the service type.
- the business realization model can be described in machine language.
- the service realization model corresponding to the service type may be created by the service device, or may be sent to the service device by other devices, which is not limited in the embodiment of the present application.
- Step S304 The service device converts the input parameter into the configuration parameter required by the service realization model, and the configuration parameter required by the service realization model is the configuration parameter of the communication service to be configured.
- the service realization model can identify input parameters and convert the input parameters into configuration parameters required by the service realization model. For example, when the user needs to configure a communication service to be configured, and the configuration parameters required to successfully configure the communication service to be configured include configuration parameter a and configuration parameter b, in order to obtain configuration parameter a and configuration parameter b, the user can input Convert input parameter a into configuration parameter a, and enter input parameter b that can be converted into configuration parameter b.
- the input parameter a and the configuration parameter a may have a corresponding relationship
- the input parameter b may have a corresponding relationship with the configuration parameter b, so that the service device can convert the input parameter a into the configuration parameter a, and convert the input parameter b Is the configuration parameter b.
- the service device can convert the input parameter into a configuration parameter described in machine language through the service realization model, so that the service device can generate a configuration for configuring the communication service to be configured according to the configuration parameter. Order.
- Step S305 The service device determines the configuration rule information of the communication service to be configured.
- Step S306 The service device generates a configuration command for the network device according to the configuration rule information of the communication service to be configured and the configuration parameters of the communication service to be configured; the network device is a device for configuring the communication service to be configured.
- Step S307 The service device sends the configuration command to the network device.
- Step S308 The network device configures the aforementioned communication service to be configured according to the configuration command.
- steps S305 to S306 can refer to the specific description of step S204 in FIG. 2
- steps S307 to S308 can refer to the specific description of steps S205 to S206 in FIG. 2 respectively, which will not be repeated here.
- the foregoing service implementation model may include a verification script, and the verification script may be used to determine whether the foregoing communication service to be configured is successfully configured in the network device.
- the service device may send the verification script to the network device.
- the network device can run the verification script to verify whether the communication service to be configured is successfully configured in the network device. In this way, it can be determined in time whether the communication service to be configured is successfully configured in the network device.
- the existing problems can be determined in a more timely manner, which is conducive to faster resolution The problem then successfully configures the communication service in the network device.
- the service implementation model may include multiple verification scripts, and different network devices may correspond to different verification scripts. It is understandable that the network device can send the verification script to the network device corresponding to the verification script. It should be noted that, when all network devices used to configure the communication service to be configured are successfully configured, it means that the communication service to be configured is successfully configured. By sending the verification script to the network device corresponding to the verification script, it is beneficial to more quickly determine the network device that caused the failure of the configuration of the communication service to be configured.
- the service device may send the monitoring strategy to the analysis device.
- the analysis device can be used to analyze the information obtained by the network device performing the communication service (that is, the aforementioned communication service to be configured) according to the monitoring strategy, obtain the analysis information, and send the analysis information to the service device.
- the analysis information can be used To determine whether the communication service to be configured is successfully configured. After the service device receives the analysis information from the analysis device, it can determine whether the communication service to be configured is successfully configured according to the analysis information.
- the information obtained by the network device performing the communication service can be sent by the network device to the analysis device.
- the information obtained by the network device performing the communication service may be a change table of the total traffic counted by the network device within a preset period of time (such as 1 hour or 1 day, etc.). For example, if the content of the data package is that as the total data consumed by the user increases, the uplink and downlink bandwidth of the user when surfing the Internet is reduced, and if the data package is successfully configured in the network device, the network device will change over time. The total traffic counted within the set time period may become less and less.
- the analysis device synthesizes the information obtained by each network device of the multiple network devices performing the communication service to determine whether the communication service is actually configured successfully, which is beneficial to improve the accuracy of the judgment.
- the number of analysis devices can be one or more.
- the analysis device may be composed of a processor, a memory, and a network interface.
- the analysis device may be a terminal device or a server.
- the monitoring strategy may include the key performance indicator (KPI) of the network device
- the aforementioned analysis information may include the analysis result of the KPI
- the analysis result of the KPI may be used to indicate the value of the KPI Whether it is abnormal; if the value of the KPI is abnormal, the communication service to be configured is not successfully configured in the network device.
- the KPI may include one or more of the data service download rate or the number of users who select the traffic package.
- the abnormal value of the KPI can mean that the data service download rate varies with the data service download rate.
- the change in time has not decreased. At this time, it can indicate that the traffic package has not been successfully configured in the network device.
- the normal value of KPI can mean that the download rate of data services decreases with time.
- the abnormal value of the KPI may mean that the number of users who have selected the data package is lower than the preset value.
- the normal value of the KPI can mean that the number of users who choose the data package is not less than the preset value.
- the preset value can be set by default by the analysis device, or can be set and changed according to user operations, which is not limited in the embodiment of the present application.
- the monitoring strategies in different service implementation models may be different, and different monitoring strategies may include completely the same KPIs, partially the same KPIs, or completely different KPIs.
- the monitoring strategy may include alarm information of the network device, and the alarm information may include an alarm type; the aforementioned analysis information may include whether the network device generates an alarm of the alarm type; if the network device generates an alarm of the alarm type If an alarm is issued, the communication service to be configured has not been successfully configured in the network device.
- the alarm generated by the network device may indicate that the network device has a software or hardware failure.
- the network device when the communication service to be configured is not successfully configured in the network device, the network device will be caused to generate an alarm of the alarm type included in the aforementioned alarm information. Therefore, if the network device generates an alarm of this alarm type, it indicates that the communication service to be configured has not been successfully configured in the network device.
- the alarm type in the above-mentioned alarm information may include an alarm type caused by the unsuccessful configuration of the communication service to be configured in the network device, and the alarm information may include one or more alarm types.
- the alarm type may include, but is not limited to, a network failure type, a network interface failure type, a processor failure type, or a memory failure type.
- the service device can combine the KPI analysis result (and/or verification script) to determine whether the communication service to be configured is configured in the network device success.
- the foregoing service realization model may include one or more solutions in which the communication service is not successfully configured.
- Each solution can correspond to an unconfigured successful performance of a communication service. For example, if the unsuccessful configuration of the communication service performance is to generate an alarm of a certain alarm type, the service device can send the solution corresponding to the performance to the network device, so that the communication service is successfully configured and cleared in the network device Alert.
- a specific implementation manner of step S301 may be: the service device obtains the input parameters of the communication service to be configured input in the parameter input interface corresponding to the business intent model, and the business intent model may be described by the business language.
- the business intent model can be regarded as an abstract representation of a type of communication business that users can understand. In this way, different communication services can be configured through a business intent model.
- a business intent model may correspond to a parameter input interface. When a user inputs a parameter in a parameter input interface, it can indicate that the user needs to configure the communication service through the business intention model corresponding to the parameter input interface.
- step S302 may be: the service device determines the service type corresponding to the service intent model as the service type of the communication service to be configured.
- determining the business intention model by the service device is equivalent to determining the user's intention, that is, the service type of the communication service that the user needs to configure.
- the service device may receive the business intent model and the business realization model from the modeling device. That is, the business intent model and the business realization model can be created by the modeling device.
- the business intent model can be created through the extensible markup language (XML) language, and the topology and orchestration specification for cloud applications (TOSCA), JS object notation (javascript object) notation, JSON) language.
- the modeling device may be composed of a processor, a memory, and a network interface.
- the modeling device may be a terminal device or a server.
- the business intention model and/or the business implementation model may be created by the service device.
- the service device may include configuration rule information of multiple implementation components; the service device may create a business implementation model according to the configuration rule information of at least one implementation component of the multiple implementation components.
- multiple implementation components Node
- the realization component may refer to the processing node in the process of configuring the communication service to be configured.
- the implementation components may include, but are not limited to, a quota (Quota) component, a traffic consumption condition (Condition) component, an uplink and downlink bandwidth (Action) component, a communication component, a judgment component, and so on.
- the implementation components can be business-related components (such as Quota components, Condition components, and Action components), or components that implement communication services but are decoupled from the business (such as communication components, judgment components).
- each component can be configured separately.
- the service device can create a business realization model according to the configuration rule information of at least one of the aforementioned multiple realization components.
- the at least one implementation component may include implementation components that will be involved in the process of configuring a communication service belonging to a service type (corresponding to the service realization model).
- business realization model (or business intent model) mentioned in the embodiment of this application is only used as an example, and the model used to realize the same function may have different names, which is not limited in the embodiment of this application.
- the business realization model can be called an imperative model, and the business intent model can be called a declarative model.
- the user can conveniently input the input parameters of the communication service to be configured. Moreover, the user who inputs the input parameter does not need to have professional knowledge, which is beneficial to reduce user requirements.
- the service device can convert the input parameter into a configuration parameter described in machine language through the service realization model, so that the service device can generate a configuration for configuring the communication service to be configured according to the configuration parameter. Order.
- step S401 to step S407 is the service device, or the chip in the service device
- the execution subject of step S408 is the network device, or the chip in the network device
- the following uses the service device and network device as the service configuration method Take an example of the executive body of.
- the method may include but is not limited to the following steps:
- Step S401 The service device obtains input parameters for the communication service to be configured.
- Step S402 The service device determines the service type of the communication service to be configured.
- Step S403 The service device determines the service realization model corresponding to the service type.
- Step S404 The service device converts the input parameter into the configuration parameter required by the service realization model, and the configuration parameter required by the service realization model is the configuration parameter of the communication service to be configured.
- step S401 to step S402 please refer to the detailed description of step S201 to step S202 in FIG. 2 respectively.
- step S403 to step S404 please refer to the detailed description of step S303 to step S304 in FIG. 3 respectively. , I won’t repeat it here.
- Step S405 The service device determines the configuration rule information of the communication service to be configured; the service implementation model includes the configuration rule information of the communication service to be configured; the number of devices used to configure the communication service to be configured is at least one; the service The implementation model also includes at least one implementation component, and one implementation component corresponds to a network device; the configuration rule information of the communication service to be configured includes the configuration rule information of each realization component, and the configuration parameter of the communication service to be configured includes the configuration parameter of each realization component. Configuration parameters.
- the service realization model may include one or more configuration rule information of the communication service to be configured.
- the service types of the multiple communication services to be configured are the same.
- the configuration rule information of different communication services to be configured among the multiple communication services to be configured may be the same or different. For example, the quotas (that is, input parameters) of the 199 traffic package and the 299 traffic package (that is, the communication service to be configured) are different, but the configuration rule information can be the same.
- the configuration rule information of unlimited traffic package a (limiting the upstream and downstream bandwidth) and unlimited traffic package b (unlimiting the upstream and downstream bandwidth) can be different: the configuration rule information of unlimited traffic package a needs to indicate the limited upstream and downstream bandwidth, unlimited traffic The configuration rule information of package b does not need to indicate the uplink and downlink bandwidth, and only the default is not to limit the uplink and downlink bandwidth.
- the network device corresponding to each realization component in the service realization model is the device used to configure the realization component.
- Different implementation components can correspond to different network devices, or the same network device.
- Step S406 For each implementation component, the service device generates a configuration command of the implementation component according to the configuration rule information of the implementation component and the configuration parameters of the implementation component.
- the service device when the business realization model includes realization component 1 and realization component 2, the service device generates the configuration command of realization component 1 according to the configuration rule information of realization component 1 and the configuration parameters of realization component 1. And according to the configuration rule information of the realization component 2 and the configuration parameters of the realization component 2, the configuration command of the realization component 2 is generated.
- each implementation component included in the business implementation model can be configured separately, and the configuration process of each implementation component does not affect each other.
- the various implementation components included in the business implementation model may have a sequence relationship, and the sequence relationship may be used to indicate the sequence of configuration. That is, the partial realization components in the business realization model need to be configured on the basis of the completion of the configuration of other realization components (that is, the other realization components in the service realization model except for the partial realization components).
- the service device can also reuse the stored implementation component to create a new business implementation model. In this way, there are Conducive to improving the efficiency of business realization model creation.
- the service device modifies the configuration rule information of the target realization component in the case of detecting the modification operation for the target realization component in the business realization model; realizes the configuration of the component according to the modified target The rule information, and the configuration rule information of other realization components in the business realization model except the target realization component, obtain the modified business realization model.
- the service realization model can be The goal is to modify the configuration rule information of the component. In this way, it is helpful to improve the efficiency of modification.
- Step S407 The service device sends the configuration command of each implementation component to the network device corresponding to the implementation component.
- the service device After the service device generates the configuration command of each realization component in the service realization model, it may send the configuration command of each realization component to the network device corresponding to the realization component, so that the network device can configure the realization component.
- the service device may send the configuration command of realization component 1 to the first network device.
- a network device and sends the configuration command for implementing component 2 to the second network device.
- Step S408 The network device configures the implementation component according to the configuration command of the implementation component.
- the network device After the network device receives the configuration command (of the realization component) from the service device, it can configure the realization component according to the configuration command of the realization component. After each network device has completed the configuration of the corresponding implementation components, the foregoing configuration of the communication service to be configured is completed.
- the configuration rule information of the communication service to be configured includes the configuration rule information of each implementation component.
- the configuration rule information in the service implementation model needs to be modified so that the When the communication service configured by the service realization model can meet the needs of users, the configuration rule information of some realization components in the service realization model can be modified. In this way, it is helpful to improve the efficiency of modification.
- FIG. 5 is a schematic structural diagram of a service configuration apparatus provided by an embodiment of the present application.
- the service configuration apparatus 50 is used to execute the steps performed by the service device in the method embodiments corresponding to FIGS. 2 to 4, and the service configuration
- the device 50 may include:
- the processing module 501 is configured to obtain input parameters for the communication service to be configured; determine the service type of the configured communication service; obtain the configuration parameters of the configured communication service according to the service type and the input parameters; and according to the communication service to be configured
- the communication module 502 is configured to send the configuration command to the network device.
- the processing module 501 may be specifically used to: determine the configuration rule information of the communication service to be configured; and according to the configuration rule information of the communication service to be configured and the configuration parameters of the communication service to be configured, generate a Configuration commands for network devices.
- the processing module 501 may be specifically used to: determine the service realization model corresponding to the service type; convert the aforementioned input parameters into the configuration parameters required by the service realization model, and the configuration parameters required by the service realization model It is the configuration parameter of the communication service to be configured.
- the service realization model may include configuration rule information of the communication service to be configured.
- the number of devices used to configure the communication service to be configured is at least one; the service realization model also includes at least one realization component, and one realization component corresponds to one network device; the configuration rules of the communication service to be configured
- the information includes the configuration rule information of each implementation component, and the configuration parameters of the communication service to be configured include the configuration parameters of each implementation component; the processing module 501 can be specifically used to: for each implementation component, according to the configuration rule information of the implementation component , And the configuration parameters of the realization component, generate the configuration command of the realization component; send the configuration command of each realization component to the network device corresponding to the realization component.
- the processing module 501 may also be used to: in the case of detecting a modification operation for the target realization component in the foregoing business realization model, modify the configuration rule information of the target realization component; The configuration rule information of the target realization component, and the configuration rule information of other realization components in the business realization model except the target realization component, obtain the modified business realization model.
- the foregoing service realization model includes a verification script; the communication module 502 may also be used to: send the verification script to the foregoing network device; the verification script is used to determine whether the communication service to be configured is in the network device. The configuration is successful.
- the foregoing service realization model includes a monitoring strategy; the communication module 502 may also be used to: send the monitoring strategy to an analysis device; the analysis device is used to execute the communication service to be configured on the network device according to the monitoring strategy The obtained information is analyzed to obtain analysis information; the analysis information from the analysis device is received, and the analysis information is used to determine whether the communication service to be configured is successfully configured.
- the monitoring strategy includes the key performance indicator KPI of the network device, the analysis information includes the analysis result of the KPI, and the analysis result of the KPI is used to indicate whether the value of the KPI is abnormal; If the value is abnormal, the communication service to be configured is not successfully configured in the network device.
- the monitoring strategy includes alarm information of the network device, and the alarm information includes an alarm type; the analysis information includes whether the network device generates an alarm of the alarm type; if the network device generates an alarm of the alarm type , The communication service to be configured is not successfully configured in the network device.
- the processing module 501 may be specifically used to: obtain the input parameters of the communication service to be configured input in the parameter input interface corresponding to the business intent model; the business intent model is described by the business language; the business intent model The corresponding service type is determined as the service type of the communication service to be configured.
- the communication module 502 may also be used to: receive the business intent model and the business realization model from the modeling device.
- the service configuration device 50 includes configuration rule information of multiple implementation components; the processing module 501 can also be used to: create the foregoing business implementation based on the configuration rule information of at least one implementation component of the multiple implementation components Model.
- FIG. 6 is a schematic structural diagram of another service configuration device provided by an embodiment of the present application.
- the service configuration device 60 may include a network interface 601, a processor 602, and a memory 603.
- the network interface 601, a processor 602, and a memory 603 can be connected to each other through one or more communication buses, and can also be connected in other ways.
- the related functions implemented by the processing module 501 and the communication module 502 shown in FIG. 5 may be implemented by the same processor 602, or may be implemented by multiple different processors 602.
- the network interface 601 may be used to send data and/or signaling, and receive data and/or signaling.
- the network interface 601 can be used to send configuration commands to the network device.
- the processor 602 is configured to perform corresponding functions of the service device in the methods described in FIGS. 2 to 4.
- the processor 602 may include one or more processors.
- the processor 602 may be one or more central processing units (CPU), network processors (NP), hardware chips, or any of them. combination.
- the processor 602 is a CPU, the CPU may be a single-core CPU or a multi-core CPU.
- the memory 603 is used to store program codes and the like.
- the memory 603 may include a volatile memory (volatile memory), such as a random access memory (random access memory, RAM); the memory 603 may also include a non-volatile memory (non-volatile memory), such as a read-only memory (read-only memory).
- volatile memory volatile memory
- non-volatile memory non-volatile memory
- read-only memory read-only memory
- ROM read-only memory
- flash memory flash memory
- HDD hard disk drive
- SSD solid-state drive
- the memory 603 may also include a combination of the foregoing types of memories.
- the processor 602 may call the program code stored in the memory 603 to perform the following operations:
- the configuration parameters of the configured communication service are obtained;
- the processor 602 may specifically perform the following operations: determine the configuration rule information of the communication service to be configured; and generate according to the configuration rule information of the communication service to be configured and the configuration parameters of the communication service to be configured Configuration commands for network devices.
- the processor 602 may specifically perform the following operations: determine the service realization model corresponding to the service type; convert the aforementioned input parameters into the configuration parameters required by the service realization model, and the configuration required by the service realization model
- the parameter is the configuration parameter of the communication service to be configured.
- the service realization model may include configuration rule information of the communication service to be configured.
- the number of devices used to configure the communication service to be configured is at least one; the service realization model also includes at least one realization component, and one realization component corresponds to one network device; the configuration rules of the communication service to be configured
- the information includes the configuration rule information of each implementation component, and the configuration parameters of the communication service to be configured include the configuration parameters of each implementation component; the processor 602 can specifically perform the following operations: for each implementation component, according to the configuration rules of the implementation component Information, and the configuration parameters of the realization component, generate the configuration command of the realization component; send the configuration command of each realization component to the network device corresponding to the realization component.
- the processor 602 may also perform the following operations: in the case of detecting a modification operation for the target realization component in the foregoing business realization model, modify the configuration rule information of the target realization component; The configuration rule information of the target realization component and the configuration rule information of other realization components in the business realization model except the target realization component, to obtain the modified business realization model.
- the foregoing service implementation model includes a verification script; the network interface 601 may also perform the following operations: send the verification script to the foregoing network device; the verification script is used to determine that the communication service to be configured is in the network device Whether the configuration is successful.
- the foregoing service implementation model includes a monitoring strategy; the network interface 601 can also perform the following operations: sending the monitoring strategy to an analysis device; the analysis device is used to perform communication to be configured on the network device according to the monitoring strategy The information obtained by the service is analyzed to obtain analysis information; the analysis information from the analysis device is received, and the analysis information is used to determine whether the communication service to be configured is successfully configured.
- the monitoring strategy includes the key performance indicator KPI of the network device, the analysis information includes the analysis result of the KPI, and the analysis result of the KPI is used to indicate whether the value of the KPI is abnormal; If the value is abnormal, the communication service to be configured is not successfully configured in the network device.
- the monitoring strategy includes alarm information of the network device, and the alarm information includes an alarm type; the analysis information includes whether the network device generates an alarm of the alarm type; if the network device generates an alarm of the alarm type , The communication service to be configured is not successfully configured in the network device.
- the processor 602 may specifically perform the following operations: obtain the input parameters of the communication service to be configured input in the parameter input interface corresponding to the business intent model; the business intent model is described by the business language; the business intent The service type corresponding to the model is determined as the service type of the communication service to be configured.
- the network interface 601 may also perform the following operations: receiving the business intention model and the business implementation model from the modeling device.
- the service configuration device 60 includes configuration rule information of multiple implementation components; the processor 602 may also perform the following operations: create the foregoing service according to the configuration rule information of at least one implementation component of the multiple implementation components Implement the model.
- processor 602 may also perform operations corresponding to the service device in the embodiment shown in FIG. 2 to FIG. 4. For details, please refer to the description in the method embodiment, which is not repeated here.
- the embodiment of the present application also provides a computer-readable storage medium, which can be used to store the computer program instructions used by the service configuration device in the embodiment shown in FIG. .
- the above-mentioned computer-readable storage medium includes, but is not limited to, flash memory, hard disk, and solid-state hard disk.
- the embodiments of the present application also provide a computer program product.
- the computer product When the computer product is run by a computing device, it can execute the method designed for the service device in the above-mentioned embodiments of FIG. 2 to FIG. 4.
- a chip which includes a processor and a memory.
- the memory includes a processor and a memory.
- the memory is used to store a computer program.
- the processor is used to call and run the computer program from the memory.
- the computer program is used to implement the method in the above method embodiment.
- the computer program product includes one or more computer programs.
- the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
- the computer program may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
- the computer program may be downloaded from a website, computer, server, or data center.
- the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrated with one or more available media.
- the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a high-density digital video disc (digital video disc, DVD)), or a semiconductor medium (for example, a solid state disk, SSD)) etc.
- At least one in this application can also be described as one or more, and the multiple can be two, three, four or more, which is not limited in this application.
- the technical feature is distinguished by “first”, “second”, “third”, “A”, “B”, “C”, and “D”, etc.
- first”, “Second”, “Third”, “A”, “B”, “C” and “D” there is no order or size order among the technical features.
- the corresponding relationships shown in the tables in this application can be configured or pre-defined.
- the value of the information in each table is only an example, and can be configured to other values, which is not limited in this application.
- the corresponding relationship shown in some rows may not be configured.
- appropriate deformation adjustments can be made based on the above table, such as splitting, merging, and so on.
- the names of the parameters shown in the titles in the above tables may also adopt other names that can be understood by the communication device, and the values or expressions of the parameters may also be other values or expressions that can be understood by the communication device.
- other data structures can also be used, such as arrays, queues, containers, stacks, linear tables, pointers, linked lists, trees, graphs, structures, classes, heaps, hash tables, or hash tables. Wait.
- the pre-definition in this application can be understood as definition, pre-definition, storage, pre-storage, pre-negotiation, pre-configuration, curing, or pre-fired.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
The embodiments of the present application disclose a service configuration method and an apparatus therefor. Said method comprises: acquiring input parameters for a communication service to be configured; determining the service type of said communication service; according to the service type and the input parameters, obtaining configuration parameters of said communication service; according to the configuration parameters of said communication service, generating a configuration command for a network device, the network device being a device for configuring said communication service; and sending the configuration command to the network device. By implementing the embodiments of the present application, a configuration command can be generated, being beneficial for improving the configuration efficiency of configuring a communication service to be configured in a network device.
Description
本申请要求于2020年5月30日提交中国专利局、申请号为202010482835.0、申请名称为“一种业务配置方法及其装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on May 30, 2020, the application number is 202010482835.0, and the application name is "a business configuration method and device", the entire content of which is incorporated into this application by reference middle.
本申请涉及通信技术领域,尤其涉及一种业务配置方法及其装置。This application relates to the field of communication technology, and in particular to a service configuration method and device.
目前,针对运营商提供的通信网络,不同的用户有不同的网络需求。例如,金牌用户、银牌用户和铜牌用户等对网络的带宽、流量等方面有不同的诉求。运营商通过开发不同的通信业务,并在网络设备中配置所开发的通信业务,可以满足不同用户的网络需求。Currently, different users have different network requirements for the communication networks provided by operators. For example, gold medal users, silver medal users, and bronze medal users have different demands on network bandwidth and traffic. Operators can meet the network needs of different users by developing different communication services and configuring the developed communication services in network equipment.
但是,目前只能通过人工输入配置命令,以实现在网络设备中配置通信业务。这样会使得在网络设备中配置通信业务的效率较低。However, at present, it is only possible to manually input configuration commands to configure communication services in network devices. This will make the configuration of communication services in the network equipment less efficient.
发明内容Summary of the invention
本申请实施例提供一种业务配置方法及其装置,可以生成配置命令,有利于提高在网络设备中配置待配置通信业务的配置效率。The embodiments of the present application provide a service configuration method and device, which can generate configuration commands, which is beneficial to improve the configuration efficiency of configuring the communication service to be configured in the network device.
第一方面,本申请实施例提供了一种业务配置方法,该方法包括:服务设备获取针对待配置通信业务的输入参数;确定该配置通信业务的业务类型;根据该业务类型和该输入参数,得到该配置通信业务的配置参数;并根据该待配置通信业务的配置参数,生成针对网络设备的配置命令,该网络设备为用于配置该待配置通信业务的设备;将该配置命令发送至该网络设备。In the first aspect, an embodiment of the present application provides a service configuration method. The method includes: a service device obtains an input parameter for a communication service to be configured; determines the service type of the configured communication service; and according to the service type and the input parameter, Obtain the configuration parameters of the configured communication service; and according to the configuration parameters of the to-be-configured communication service, generate a configuration command for the network device, where the network device is a device for configuring the to-be-configured communication service; and send the configuration command to the Internet equipment.
在该技术方案中,可以根据输入参数,自动化生成用于配置待配置通信业务的配置命令,相较于人工输入配置命令,有利于提高待配置通信业务的配置效率。另一方面,相较于人工输入配置命令,自动化生成配置命令出错的概率较低,从而有利于提高待配置通信业务的配置成功率。In this technical solution, the configuration command for configuring the communication service to be configured can be automatically generated according to the input parameters. Compared with the manual input of the configuration command, it is beneficial to improve the configuration efficiency of the communication service to be configured. On the other hand, compared with manual input of configuration commands, the probability of errors in automatically generating configuration commands is lower, which is beneficial to improve the configuration success rate of the communication services to be configured.
在一种实现方式中,所述根据所述待配置通信业务的配置参数,生成针对网络设备的配置命令的具体实施方式可以为:确定所述待配置通信业务的配置规则信息;根据所述待配置通信业务的配置规则信息,以及所述待配置通信业务的配置参数,生成针对网络设备的配置命令。In an implementation manner, the specific implementation manner of generating the configuration command for the network device according to the configuration parameters of the communication service to be configured may be: determining the configuration rule information of the communication service to be configured; Configure the configuration rule information of the communication service and the configuration parameters of the communication service to be configured to generate a configuration command for the network device.
在一种实现方式中,所述根据所述业务类型和所述输入参数,得到所述待配置通信业务的配置参数的具体实施方式可以为:确定所述业务类型对应的业务实现模型;将所述输入参数转换为所述业务实现模型所需的配置参数,所述业务实现模型所需的配置参数为所述待配置通信业务的配置参数。In an implementation manner, the specific implementation manner for obtaining the configuration parameters of the communication service to be configured according to the service type and the input parameters may be: determining the service realization model corresponding to the service type; The input parameters are converted into configuration parameters required by the service realization model, and the configuration parameters required by the service realization model are configuration parameters of the communication service to be configured.
在一种实现方式中,所述业务实现模型包括所述待配置通信业务的配置规则信息。In an implementation manner, the service realization model includes configuration rule information of the communication service to be configured.
在一种实现方式中,用于配置所述待配置通信业务的设备的数量为至少一个;所述业务实现模型还包括至少一个实现组件,一个所述实现组件对应一个所述网络设备;所述待 配置通信业务的配置规则信息包括每个所述实现组件的配置规则信息,所述待配置通信业务的配置参数包括每个所述实现组件的配置参数;所述根据所述待配置通信业务的配置规则信息,以及所述待配置通信业务的配置参数,生成针对网络设备的配置命令的具体实施方式可以为:针对每个所述实现组件,根据所述实现组件的配置规则信息,以及所述实现组件的配置参数,生成所述实现组件的配置命令;将所述配置命令发送至所述网络设备的具体实施方式可以为:将每个所述实现组件的配置命令发送至与所述实现组件对应的网络设备。In an implementation manner, the number of devices used to configure the communication service to be configured is at least one; the service implementation model further includes at least one implementation component, and one implementation component corresponds to one network device; The configuration rule information of the communication service to be configured includes the configuration rule information of each of the realization components, and the configuration parameter of the communication service to be configured includes the configuration parameters of each realization component; The configuration rule information and the configuration parameters of the communication service to be configured, the specific implementation manner for generating the configuration command for the network device may be: for each implementation component, according to the configuration rule information of the implementation component, and the The configuration parameters of the realization component are generated, and the configuration command of the realization component is generated; the specific implementation manner of sending the configuration command to the network device may be: sending the configuration command of each realization component to the realization component Corresponding network equipment.
在该技术方案中,待配置通信业务的配置规则信息包括每个实现组件的配置规则信息,当随着用户需求的变化,需要修改业务实现模型中的配置规则信息,以使根据修改后的业务实现模型配置的通信业务能够满足用户需求时,可以对该业务实现模型中的部分实现组件的配置规则信息进行修改。通过这种方式,有利于提高修改效率。In this technical solution, the configuration rule information of the communication service to be configured includes the configuration rule information of each realization component. As user needs change, the configuration rule information in the service realization model needs to be modified so that the When the communication service that realizes the model configuration can meet the needs of users, the configuration rule information of some realization components in the service realization model can be modified. In this way, it is helpful to improve the efficiency of modification.
在一种实现方式中,所述方法还包括:在检测到针对所述业务实现模型中的目标实现组件的修改操作的情况下,对所述目标实现组件的配置规则信息进行修改;根据修改后的所述目标实现组件的配置规则信息,以及所述业务实现模型中除所述目标实现组件以外的其他实现组件的配置规则信息,得到修改后的所述业务实现模型。In an implementation manner, the method further includes: in the case of detecting a modification operation for the target realization component in the business realization model, modifying the configuration rule information of the target realization component; The configuration rule information of the target realization component and the configuration rule information of other realization components in the service realization model except for the target realization component to obtain the modified service realization model.
在该技术方案中,当随着用户需求的变化,需要修改业务实现模型中的配置规则信息,以使根据修改后的业务实现模型配置的通信业务能够满足用户需求时,可以对该业务实现模型中的目标实现组件的配置规则信息进行修改。通过这种方式,有利于提高修改效率。In this technical solution, when user needs change, the configuration rule information in the service realization model needs to be modified so that the communication service configured according to the modified service realization model can meet the user needs, the service realization model can be implemented Modify the configuration rule information of the target realization component in the. In this way, it is helpful to improve the efficiency of modification.
在一种实现方式中,所述业务实现模型包括验证脚本;所述方法还包括:将所述验证脚本发送至所述网络设备;所述验证脚本用于确定所述待配置通信业务在所述网络设备中是否配置成功。In an implementation manner, the service realization model includes a verification script; the method further includes: sending the verification script to the network device; the verification script is used to determine that the communication service to be configured is in the Whether the configuration in the network device is successful.
在该技术方案中,可以及时确定待配置通信业务在网络设备中是否配置成功,在待配置通信业务在网络设备中配置失败的情况下,可以更加及时地确定存在的问题,从而有利于更快解决问题进而在网络设备中成功配置通信业务。In this technical solution, it can be determined in time whether the communication service to be configured is successfully configured in the network device. In the case that the communication service to be configured fails to be configured in the network device, the existing problems can be determined in a more timely manner, which is beneficial to faster Solve the problem and successfully configure the communication service in the network device.
在一种实现方式中,所述业务实现模型包括监控策略;所述方法还包括:将所述监控策略发送至分析设备;所述分析设备用于根据所述监控策略对所述网络设备执行所述待配置通信业务所得到的信息进行分析,得到分析信息;接收来自所述分析设备的分析信息,所述分析信息用于确定所述待配置通信业务是否配置成功。In an implementation manner, the service realization model includes a monitoring strategy; the method further includes: sending the monitoring strategy to an analysis device; the analysis device is used to perform all operations on the network device according to the monitoring strategy. The information obtained by the communication service to be configured is analyzed to obtain analysis information; the analysis information from the analysis device is received, and the analysis information is used to determine whether the communication service to be configured is successfully configured.
在一种实现方式中,所述监控策略包括所述网络设备的关键性能指标(key performance indicator,KPI),所述分析信息包括所述KPI的分析结果,所述KPI的分析结果用于指示所述KPI的取值是否异常;若所述KPI的取值异常,则所述待配置通信业务在所述网络设备中未配置成功。In an implementation manner, the monitoring strategy includes a key performance indicator (KPI) of the network device, the analysis information includes an analysis result of the KPI, and the analysis result of the KPI is used to indicate all Whether the value of the KPI is abnormal; if the value of the KPI is abnormal, the communication service to be configured is not successfully configured in the network device.
在一种实现方式中,所述监控策略包括所述网络设备的告警信息,所述告警信息包括告警类型;所述分析信息包括所述网络设备是否产生所述告警类型的告警;若所述网络设备产生所述告警类型的告警,则所述待配置通信业务在所述网络设备中未配置成功。In an implementation manner, the monitoring strategy includes alarm information of the network device, and the alarm information includes an alarm type; the analysis information includes whether the network device generates an alarm of the alarm type; if the network device generates an alarm of the alarm type; If the device generates an alarm of the alarm type, the communication service to be configured is not successfully configured in the network device.
在一种实现方式中,所述获取针对待配置通信业务的输入参数的具体实施方式可以为:获取在业务意图模型对应的参数输入界面中输入的待配置通信业务的输入参数;所述业务意图模型由业务语言(或称为用户语言)描述;确定所述待配置通信业务的业务类型的具 体实施方式可以为:将所述业务意图模型对应的业务类型,确定为所述待配置通信业务的业务类型。In an implementation manner, the specific implementation manner for obtaining the input parameters of the communication service to be configured may be: obtaining the input parameters of the communication service to be configured input in the parameter input interface corresponding to the service intent model; The model is described by business language (or called user language); the specific implementation manner for determining the service type of the communication service to be configured may be: determining the service type corresponding to the service intent model as the communication service to be configured business type.
在一种实现方式中,所述方法还包括:接收来自建模设备的所述业务意图模型和所述业务实现模型。In an implementation manner, the method further includes: receiving the business intent model and the business realization model from a modeling device.
在一种实现方式中,所述服务设备包括多个实现组件的配置规则信息;所述方法还包括:根据所述多个实现组件中的至少一个实现组件的配置规则信息创建所述业务实现模型。In an implementation manner, the service device includes configuration rule information of multiple implementation components; the method further includes: creating the service implementation model according to the configuration rule information of at least one implementation component of the multiple implementation components .
第二方面,本申请实施例提供了一种业务配置装置,该装置具有实现第一方面所述的方法的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。In the second aspect, an embodiment of the present application provides a service configuration device, which has the function of implementing the method described in the first aspect. The functions can be realized by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-mentioned functions.
第三方面,本申请实施例提供另一种业务配置装置,该装置包括存储器和处理器,存储器中存储有程序指令,处理器通过总线与存储器连接,处理器调用存储器中存储的程序指令以使该装置执行第一方面所述的方法。In the third aspect, an embodiment of the present application provides another service configuration device. The device includes a memory and a processor. The memory stores program instructions. The processor is connected to the memory through a bus. The processor calls the program instructions stored in the memory to make The device executes the method described in the first aspect.
第四方面,本申请实施例提供一种计算机可读存储介质,用于储存为第二方面所述的业务配置装置所用的计算机程序指令,其包含用于执行上述第一方面所涉及的程序。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium for storing computer program instructions used by the service configuration device described in the second aspect, which includes the program used to execute the program involved in the first aspect.
第五方面,本申请实施例提供一种计算机程序产品,该程序产品包括程序,所述程序被执行时实现上述第一方面所述的方法。In a fifth aspect, an embodiment of the present application provides a computer program product, which includes a program, which implements the method described in the first aspect when the program is executed.
图1是本申请实施例提供的一种通信系统的架构示意图;FIG. 1 is a schematic diagram of the architecture of a communication system provided by an embodiment of the present application;
图2是本申请实施例提供的一种业务配置方法的流程示意图;2 is a schematic flowchart of a service configuration method provided by an embodiment of the present application;
图3是本申请实施例提供的另一种业务配置方法的流程示意图;FIG. 3 is a schematic flowchart of another service configuration method provided by an embodiment of the present application;
图4是本申请实施例提供的又一种业务配置方法的流程示意图;FIG. 4 is a schematic flowchart of another service configuration method provided by an embodiment of the present application;
图5是本申请实施例提供的一种业务配置装置的结构示意图;FIG. 5 is a schematic structural diagram of a service configuration device provided by an embodiment of the present application;
图6是本申请实施例提供的另一种业务配置装置的结构示意图。Fig. 6 is a schematic structural diagram of another service configuration apparatus provided by an embodiment of the present application.
为了更好的理解本申请实施例公开的一种业务配置方法,下面首先对本申请实施例适用的通信系统进行描述。In order to better understand a service configuration method disclosed in the embodiment of the present application, the following first describes the communication system to which the embodiment of the present application is applicable.
请参见图1,图1为本申请实施例提供的一种通信系统的架构示意图。该通信系统可包括但不限于一个服务设备和一个网络设备,图1所示的设备数量和形态仅用于举例并不构成对本申请实施例的限定,实际应用中可以包括两个或两个以上的网络设备。图1所示的通信系统以包括一个服务设备101和一个网络设备102为例。Please refer to FIG. 1. FIG. 1 is a schematic diagram of the architecture of a communication system provided by an embodiment of the application. The communication system may include, but is not limited to, one service device and one network device. The number and form of the devices shown in FIG. 1 are only used as examples and do not constitute a limitation to the embodiment of the present application. In actual applications, it may include two or more Network equipment. The communication system shown in FIG. 1 includes a service device 101 and a network device 102 as an example.
其中,服务设备101可以用于生成针对网络设备102的配置命令,并将该配置命令发送至网络设备102。该配置命令用于配置待配置通信业务,待配置通信业务可以包括但不限于通信套餐或第五代移动通信技术(5th generation mobile networks,5G)网络切片等通信业务。本申请实施例以待配置通信业务为通信套餐为例进行说明,但并不构成对本申请实施例的限定。相应的,网络设备102可以用于根据来自服务设备101的配置命令配置待配置通信业务。The service device 101 may be used to generate a configuration command for the network device 102, and send the configuration command to the network device 102. This configuration command is used to configure the communication service to be configured. The communication service to be configured may include, but is not limited to, communication services such as communication packages or 5th generation mobile networks (5G) network slicing. The embodiment of the present application takes the communication service to be configured as a communication package as an example for description, but it does not constitute a limitation to the embodiment of the present application. Correspondingly, the network device 102 can be used to configure the communication service to be configured according to the configuration command from the service device 101.
在本申请实施例中,服务设备101可以通过如下方式生成针对网络设备102的配置命令:获取针对待配置通信业务的输入参数;确定该待配置通信业务的业务类型;根据该业务类型和该输入参数,得到该待配置通信业务的配置参数;并根据该待配置通信业务的配置参数,生成针对网络设备102的配置命令。In the embodiment of the present application, the service device 101 may generate a configuration command for the network device 102 in the following manner: obtain input parameters for the communication service to be configured; determine the service type of the communication service to be configured; according to the service type and the input Parameters to obtain the configuration parameters of the communication service to be configured; and according to the configuration parameters of the communication service to be configured, a configuration command for the network device 102 is generated.
其中,输入参数可以是用户在参数输入界面中输入的参数。该输入参数可以通过用户能够理解的业务语言(或称为用户语言)描述,以便于用户(如配置通信业务的业务人员)更好地理解该输入参数的意义,进而有利于提高待配置通信业务的配置效率。Among them, the input parameter may be a parameter input by the user in the parameter input interface. The input parameter can be described in a business language (or user language) that the user can understand, so that the user (such as a business person who configures a communication service) can better understand the meaning of the input parameter, which is beneficial to improve the communication service to be configured The configuration efficiency.
在本申请实施例中,不同待配置通信业务可以具有相同或者不同的业务类型。当待配置通信业务为通信套餐时,业务类型可以包括但不限于校园流量套餐、无限流量套餐、定额流量套餐(如199套餐、299套餐等)、校园通话套餐、无限通话套餐、定额通话套餐。根据业务类型和输入参数得到的配置参数,可以为通过机器语言描述的参数。In the embodiments of the present application, different communication services to be configured may have the same or different service types. When the communication service to be configured is a communication package, the service type may include, but is not limited to, campus data package, unlimited data package, fixed-rate data package (such as 199 package, 299 package, etc.), campus call package, unlimited call package, and fixed-rate call package. The configuration parameters obtained according to the service type and input parameters may be parameters described in machine language.
服务设备101在得到配置参数之后,可以根据该配置参数生成针对网络设备的配置命令。在本申请实施例中,针对每个配置参数可以对应有一条或多条配置命令。服务设备可以根据配置参数和配置命令之间的对应关系,得到配置前述待配置通信业务所需的配置命令。After the service device 101 obtains the configuration parameters, it can generate a configuration command for the network device according to the configuration parameters. In the embodiment of the present application, there may be one or more configuration commands corresponding to each configuration parameter. The service device can obtain the configuration command required to configure the aforementioned communication service to be configured according to the corresponding relationship between the configuration parameter and the configuration command.
在本申请实施例中,一项待配置通信业务可以通过一个或多个网络设备完成配置。其中,该网络设备102可以为用于配置前述待配置通信业务的设备,网络设备102的数量可以为一个或多个。In this embodiment of the present application, a communication service to be configured can be configured through one or more network devices. The network device 102 may be a device for configuring the aforementioned communication service to be configured, and the number of the network device 102 may be one or more.
通过实施本申请实施例,服务设备可以根据输入参数,自动化生成用于配置待配置通信业务的配置命令,相较于人工输入配置命令,有利于提高待配置通信业务的配置效率。另一方面,相较于人工输入配置命令,自动化生成配置命令出错的概率较低,从而有利于提高待配置通信业务的配置成功率。By implementing the embodiments of the present application, the service device can automatically generate configuration commands for configuring the communication services to be configured according to the input parameters. Compared with manually inputting the configuration commands, it is beneficial to improve the configuration efficiency of the communication services to be configured. On the other hand, compared with manual input of configuration commands, the probability of errors in automatically generating configuration commands is lower, which is beneficial to improve the configuration success rate of the communication services to be configured.
本申请实施例中的服务设备101可以由处理器、存储器和网络接口组成,具体的,服务设备101可以是终端设备或者服务器。网络设备102可以为配置待配置通信业务所涉及的所有网元。具体的,当应用于第四代移动通信技术(the 4th generation mobile communication technology,4G)系统中时,网络设备102可以包括但不限于:策略及计费执行功能(policy and charging enforcement function,PCEF)、策略与计费规则功能单元(policy and charging rules function,PCRF)、移动性管理实体(mobility management entity,MME)或服务提供方网关(service provider gateway,SPGW)中的一个或多个。当应用于5G系统中时,网络设备102可以包括但不限于:用户面功能实体(user plane function,UPF)、会话管理功能实体(session management function,SMF)中的一个或多个。需要说明的是,本申请还可以应用于未来通信系统(例如6G或者其他的通信系统中),相应的,网络设备102包括未来通信系统中用于配置通信业务所涉及的网元。本申请的实施例对服务设备101、网络设备102所采用的具体技术和具体设备形态不做限定。The service device 101 in the embodiment of the present application may be composed of a processor, a memory, and a network interface. Specifically, the service device 101 may be a terminal device or a server. The network device 102 may be all network elements involved in configuring the communication service to be configured. Specifically, when applied to the 4th generation mobile communication technology (4G) system, the network device 102 may include but is not limited to: policy and charging enforcement function (PCEF) One or more of the policy and charging rules function unit (PCRF), mobility management entity (MME), or service provider gateway (service provider gateway, SPGW). When applied in a 5G system, the network device 102 may include, but is not limited to: one or more of a user plane function entity (UPF) and a session management function entity (session management function, SMF). It should be noted that this application can also be applied to future communication systems (for example, 6G or other communication systems). Accordingly, the network device 102 includes network elements involved in configuring communication services in the future communication system. The embodiment of the present application does not limit the specific technology and specific device form adopted by the service device 101 and the network device 102.
可以理解的是,本申请实施例描述的通信系统是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着系统架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。It is understandable that the communication system described in the embodiments of the present application is to illustrate the technical solutions of the embodiments of the present application more clearly, and does not constitute a limitation on the technical solutions provided by the embodiments of the present application. Those of ordinary skill in the art will know that With the evolution of the system architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are equally applicable to similar technical problems.
下面结合附图对本申请所提供的业务配置方法及其装置进行详细地介绍。The service configuration method and device provided by the present application will be described in detail below with reference to the accompanying drawings.
请参见图2,图2是本申请实施例提供的一种业务配置方法的流程示意图。该方法详细描述了服务设备如何根据输入参数,自动化生成用于配置待配置通信业务的配置命令。其中,步骤S201~步骤S205的执行主体为服务设备,或者为服务设备中的芯片,步骤S206的执行主体为网络设备,或者为网络设备中的芯片,以下以服务设备、网络设备为业务配置方法的执行主体为例进行说明。如图2所示,该方法可以包括但不限于如下步骤:Please refer to FIG. 2, which is a schematic flowchart of a service configuration method provided by an embodiment of the present application. This method describes in detail how the service device automatically generates configuration commands for configuring the communication services to be configured according to the input parameters. Among them, the execution subject of step S201 to step S205 is the service device, or the chip in the service device, the execution subject of step S206 is the network device, or the chip in the network device, the following uses the service device and network device as the service configuration method Take an example of the executive body of. As shown in Figure 2, the method may include but is not limited to the following steps:
步骤S201:服务设备获取针对待配置通信业务的输入参数。Step S201: The service device obtains input parameters for the communication service to be configured.
具体的,当用户需要配置待配置通信业务时,可以通过操作服务设备以输入针对该待配置通信业务的输入参数。例如,用户可以通过服务设备的输入设备(如键盘,鼠标,扫描仪,光笔,手写输入板,语音输入装置等)以输入该输入参数。可选的,该输入参数的表现形式可以为文本或者语音,本申请对此不做限定。当输入参数的表现形式为文本时,输入参数可以是用户在服务设备中显示的参数输入界面中输入的。在一种实现方式中,服务设备还可以从其他设备中获取针对待配置通信业务的输入参数,该其他设备中存储有针对待配置通信业务的输入参数。Specifically, when the user needs to configure the communication service to be configured, the user can operate the service device to input input parameters for the communication service to be configured. For example, the user can input the input parameter through the input device of the service device (such as a keyboard, a mouse, a scanner, a light pen, a handwriting input board, a voice input device, etc.). Optionally, the expression form of the input parameter may be text or voice, which is not limited in this application. When the expression form of the input parameter is text, the input parameter may be input by the user in the parameter input interface displayed in the service device. In an implementation manner, the service device may also obtain input parameters for the communication service to be configured from other devices, and the other device stores the input parameters for the communication service to be configured.
其中,该输入参数可以通过用户能够理解的业务语言描述,以便于用户(如配置通信业务的业务人员)更好地理解该输入参数的意义,进而有利于提高待配置通信业务的配置效率。例如,当待配置通信业务为通信套餐(如定额流量套餐)时,输入参数可以包括但不限于配额(Quota)、流量消耗条件(Condition)、上下行带宽(Action)等。其中,当通信套餐为流量套餐时,配额可以用于对用户或用户组在预设期限内(如每天或每月等)使用的流量进行限制或者控制。例如,当用户在一个月内使用的总流量达到月配额(如2000MB)时,可以阻断该用户的流量,或者可以降低该用户上网时的上下行带宽,或者可以对超过月配额的流量进行额外的收费等。当通信套餐为通话(或者短信)套餐时,配额可以用于对用户或用户组在预设期限内(如每天或每月等)使用的通话分钟数(或者短信数量)进行限制或者控制。例如,当用户在一个月内使用的总通话分钟数(或者总短信数量)达到月配额时,可以对超过月配额的通话分钟数(或者短信数量)进行额外的收费等。当用户或用户组已使用的流量满足流量消耗条件时,可以对用户或者用户组后续使用流量进行限制或者控制。例如,用户或用户组已使用的流量≤配额*60%时,用户上网时的上行带宽可以为5Mbit/s,下行带宽可以为10Mbit/s;配额*60%<用户或用户组已使用的流量≤配额*100%时,用户上网时的上行带宽可以降为2Mbit/s,下行带宽可以降为4Mbit/s;用户或用户组已使用的流量>配额*100%时,用户上网时的上行带宽可以降为1Mbit/s,下行带宽可以降为2Mbit/s。Wherein, the input parameter can be described in a business language that the user can understand, so that the user (such as a business person configuring a communication service) can better understand the meaning of the input parameter, thereby helping to improve the configuration efficiency of the communication service to be configured. For example, when the communication service to be configured is a communication package (such as a fixed-rate traffic package), the input parameters may include, but are not limited to, quota (Quota), traffic consumption condition (Condition), uplink and downlink bandwidth (Action), etc. Wherein, when the communication package is a traffic package, the quota can be used to limit or control the traffic used by the user or user group within a preset period (such as daily or monthly, etc.). For example, when the total traffic used by a user in a month reaches the monthly quota (such as 2000MB), the user’s traffic can be blocked, or the upstream and downstream bandwidth of the user can be reduced when surfing the Internet, or the traffic exceeding the monthly quota can be checked. Additional charges etc. When the communication package is a call (or short message) package, the quota can be used to limit or control the number of minutes (or number of short messages) used by the user or user group within a preset period (such as daily or monthly, etc.). For example, when the total number of call minutes (or total number of short messages) used by the user in a month reaches the monthly quota, additional charges may be charged for the number of call minutes (or number of short messages) that exceeds the monthly quota. When the traffic used by the user or user group meets the traffic consumption conditions, the subsequent traffic used by the user or user group can be restricted or controlled. For example, when the traffic used by the user or user group is less than or equal to the quota*60%, the upstream bandwidth of the user when surfing the Internet can be 5Mbit/s, and the downstream bandwidth can be 10Mbit/s; quota*60%<the traffic used by the user or user group When ≤quota*100%, the user’s upstream bandwidth when surfing the Internet can be reduced to 2Mbit/s, and the downstream bandwidth can be reduced to 4Mbit/s; when the user or user group has used traffic> quota*100%, the user’s upstream bandwidth when surfing the Internet It can be reduced to 1Mbit/s, and the downlink bandwidth can be reduced to 2Mbit/s.
步骤S202:该服务设备确定该待配置通信业务的业务类型。Step S202: The service device determines the service type of the communication service to be configured.
服务设备在获取针对待配置通信业务的输入参数之后,可以确定所述待配置通信业务的业务类型。在本申请实施例中,不同待配置通信业务可以具有相同或者不同的业务类型。当待配置通信业务为通信套餐时,业务类型可以包括但不限于:校园流量套餐、无限流量套餐、定额流量套餐(如199套餐、299套餐等)、校园通话套餐、无限通话套餐、定额通话套餐。当待配置通信业务为5G网络切片时,业务类型可以包括但不限于:增强移动 宽带(enhance mobile broadband,eMBB)、低时延高可靠连接(ultra-reliable and low latency communications,URLLC)、大规模物联网(massive machine type communications,mMTC)。After obtaining the input parameters for the communication service to be configured, the service device can determine the service type of the communication service to be configured. In the embodiments of the present application, different communication services to be configured may have the same or different service types. When the communication service to be configured is a communication package, the service type can include but is not limited to: campus data package, unlimited data package, fixed-rate data package (such as 199 package, 299 package, etc.), campus call package, unlimited call package, fixed-rate call package . When the communication service to be configured is a 5G network slice, the service types can include but are not limited to: enhanced mobile broadband (eMBB), ultra-reliable and low latency communications (URLLC), large-scale Internet of Things (massive machine type communications, mMTC).
步骤S203:该服务设备根据该业务类型和该输入参数,得到该待配置通信业务的配置参数。Step S203: The service device obtains the configuration parameter of the communication service to be configured according to the service type and the input parameter.
服务设备根据该业务类型和该输入参数确定的配置参数可以为配置前述待配置通信业务所需配置的参数。具体的,配置参数可以包括由输入参数转化而成的参数。可选的,除了由输入参数转化而成的参数以外,该配置参数还可以包括用于配置该待配置通信业务所需配置的默认参数。对于每项待配置通信业务可以存在一个或多个默认参数,若不需要改变该默认参数,则用户在输入该待配置通信业务的输入参数时,不用输入该默认参数。通过这种方式,在输入少量输入参数的情况下,也可以完整配置通信业务;并且减少输入参数的数量,还有利于降低输入参数错误的概率,从而有利于提高配置通信业务的效率。在本申请实施例中,配置参数可以为通过机器语言描述的参数。The configuration parameter determined by the service device according to the service type and the input parameter may be the parameter required to configure the aforementioned communication service to be configured. Specifically, the configuration parameters may include parameters converted from input parameters. Optionally, in addition to the parameters transformed from the input parameters, the configuration parameters may also include default parameters used to configure the configuration required for the communication service to be configured. There may be one or more default parameters for each communication service to be configured. If the default parameter does not need to be changed, the user does not need to input the default parameter when inputting the input parameter of the communication service to be configured. In this way, in the case of inputting a small number of input parameters, the communication service can be completely configured; and reducing the number of input parameters is also beneficial to reducing the probability of input parameter errors, thereby helping to improve the efficiency of configuring the communication service. In the embodiment of the present application, the configuration parameter may be a parameter described in machine language.
步骤S204:该服务设备根据该待配置通信业务的配置参数,生成针对网络设备的配置命令,该网络设备为用于配置该待配置通信业务的设备。Step S204: The service device generates a configuration command for the network device according to the configuration parameters of the communication service to be configured, and the network device is a device for configuring the communication service to be configured.
服务设备在得到配置参数之后,可以根据该配置参数生成针对网络设备的配置命令。在本申请实施例中,针对每个配置参数可以对应有一条或多条配置命令。服务设备根据配置参数和配置命令之间的对应关系,可以得到配置前述待配置通信业务所需的配置命令。After the service device obtains the configuration parameter, it can generate a configuration command for the network device according to the configuration parameter. In the embodiment of the present application, there may be one or more configuration commands corresponding to each configuration parameter. The service device can obtain the configuration commands required to configure the aforementioned communication services to be configured according to the correspondence between the configuration parameters and the configuration commands.
在本申请实施例中,一项待配置通信业务可以通过一个或多个网络设备完成配置。需要说明的是,用于配置不同的通信业务的网络设备可以相同,也可以不同,本申请实施例对此不做限定。其中,该网络设备可以为用于配置前述待配置通信业务的设备,网络设备的数量可以为一个或多个。还需要说明的是,当网络设备的数量为多个时,根据待配置通信业务的配置参数生成的针对不同网络设备的配置命令可以部分相同,或者完全不同。In this embodiment of the present application, a communication service to be configured can be configured through one or more network devices. It should be noted that the network devices used to configure different communication services may be the same or different, which is not limited in the embodiment of the present application. Wherein, the network device may be a device for configuring the aforementioned communication service to be configured, and the number of network devices may be one or more. It should also be noted that when the number of network devices is multiple, the configuration commands for different network devices generated according to the configuration parameters of the communication service to be configured may be partially the same or completely different.
在一种实现方式中,服务设备根据该待配置通信业务的配置参数,生成针对网络设备的配置命令的具体实施方式可以为:服务设备确定该待配置通信业务的配置规则信息;并根据该待配置通信业务的配置规则信息,以及该待配置通信业务的配置参数,生成针对网络设备的配置命令。In an implementation manner, the service device generates a configuration command for the network device according to the configuration parameters of the communication service to be configured. The specific implementation manner may be: the service device determines the configuration rule information of the communication service to be configured; Configure the configuration rule information of the communication service and the configuration parameters of the communication service to be configured to generate a configuration command for the network device.
其中,该待配置通信业务的配置规则信息可以用于指示配置该待配置通信业务的相关规则。例如,该待配置通信业务的配置规则信息可以用于指示配置该待配置通信业务需要哪些参数,以及如何配置所需的参数。进一步的,服务设备结合该待配置通信业务的配置参数,可以生成针对网络设备的配置命令,进而在网络设备中按照配置命令执行配置过程。Wherein, the configuration rule information of the communication service to be configured may be used to indicate the relevant rules for configuring the communication service to be configured. For example, the configuration rule information of the communication service to be configured may be used to indicate which parameters are required to configure the communication service to be configured and how to configure the required parameters. Further, the service device can generate a configuration command for the network device in combination with the configuration parameters of the communication service to be configured, and then execute the configuration process in the network device according to the configuration command.
在一种实现方式中,该待配置通信业务的配置规则信息可以预先存储于该服务设备中。可选的,服务设备可以根据网络设备的产品文档(或使用手册)确定用于配置前述待配置通信业务的配置规则信息。当该待配置通信业务需要通过多个网络设备完成配置时,该待配置通信业务的配置规则信息可以包括在该多个网络设备中配置该待配置通信业务所对应的配置规则信息。需要说明的是,为了成功配置该待配置通信业务,需要在该多个网络设备中均成功配置该待配置通信业务。可选的,该多个网络设备中的各个网络设备配置该待配置通信业务所对应的配置规则信息不同。In an implementation manner, the configuration rule information of the communication service to be configured may be stored in the service device in advance. Optionally, the service device may determine the configuration rule information for configuring the aforementioned communication service to be configured according to the product document (or user manual) of the network device. When the to-be-configured communication service needs to be configured through multiple network devices, the configuration rule information of the to-be-configured communication service may include configuration rule information corresponding to the configuration of the to-be-configured communication service in the multiple network devices. It should be noted that, in order to successfully configure the to-be-configured communication service, it is necessary to successfully configure the to-be-configured communication service in the multiple network devices. Optionally, the configuration rule information corresponding to each network device of the plurality of network devices configuring the communication service to be configured is different.
步骤S205:该服务设备将该配置命令发送至该网络设备。Step S205: The service device sends the configuration command to the network device.
由于通信业务由网络设备配置,服务设备在生成配置命令之后,可以将该配置命令发送给网络设备,以便该网络设备按照配置命令配置前述待配置通信业务。需要说明的是,当用于配置该待配置通信业务的网络设备为多个时,服务设备根据该待配置通信业务的配置参数,可以生成针对(该多个网络设备中的)各个网络设备的配置命令。相应的,服务设备可以将各个网络设备的配置命令发给相应的网络设备。例如,服务设备生成针对网络设备1的配置命令和针对网络设备2的配置命令时,服务设备可以将针对网络设备1的配置命令发送给网络设备1,并将针对网络设备2的配置命令发送给网络设备2。Since the communication service is configured by the network device, after the service device generates the configuration command, the configuration command can be sent to the network device, so that the network device configures the aforementioned communication service to be configured according to the configuration command. It should be noted that, when there are multiple network devices used to configure the communication service to be configured, the service device can generate information for each network device (of the multiple network devices) according to the configuration parameters of the communication service to be configured. Configuration commands. Correspondingly, the service device can send the configuration commands of each network device to the corresponding network device. For example, when the service device generates a configuration command for network device 1 and a configuration command for network device 2, the service device can send the configuration command for network device 1 to network device 1, and send the configuration command for network device 2 to Network equipment 2.
步骤S206:该网络设备根据该配置命令配置前述待配置通信业务。Step S206: The network device configures the aforementioned communication service to be configured according to the configuration command.
网络设备接收到来自该服务设备的配置命令之后,可以根据该配置命令配置前述待配置通信业务。After receiving the configuration command from the service device, the network device can configure the aforementioned communication service to be configured according to the configuration command.
通过实施本申请实施例,可以根据输入参数,自动化生成用于配置待配置通信业务的配置命令,相较于人工输入配置命令,有利于提高待配置通信业务的配置效率。另一方面,相较于人工输入配置命令,自动化生成配置命令出错的概率较低,从而有利于提高待配置通信业务的配置成功率。By implementing the embodiments of the present application, the configuration command for configuring the communication service to be configured can be automatically generated according to the input parameters. Compared with manually inputting the configuration command, it is beneficial to improve the configuration efficiency of the communication service to be configured. On the other hand, compared with manual input of configuration commands, the probability of errors in automatically generating configuration commands is lower, which is beneficial to improve the configuration success rate of the communication services to be configured.
请参见图3,图3是本申请实施例提供的另一种业务配置方法的流程示意图。该方法详细描述了服务设备如何确定待配置通信业务的业务类型对应的业务实现模型,以及如何根据该业务实现模型,将待配置通信业务的输入参数转换为配置参数。其中,步骤S301~步骤S307的执行主体为服务设备,或者为服务设备中的芯片,步骤S308的执行主体为网络设备,或者为网络设备中的芯片,以下以服务设备、网络设备为业务配置方法的执行主体为例进行说明。如图3所示,该方法可以包括但不限于如下步骤:Please refer to FIG. 3, which is a schematic flowchart of another service configuration method provided by an embodiment of the present application. This method describes in detail how the service device determines the service realization model corresponding to the service type of the communication service to be configured, and how to convert the input parameters of the communication service to be configured into configuration parameters according to the service realization model. Among them, the execution subject of step S301 to step S307 is the service device, or the chip in the service device, the execution subject of step S308 is the network device, or the chip in the network device, and the service device and network device are used as the service configuration method below. Take an example of the executive body of. As shown in Figure 3, the method may include but is not limited to the following steps:
步骤S301:服务设备获取针对待配置通信业务的输入参数。Step S301: The service device obtains input parameters for the communication service to be configured.
步骤S302:该服务设备确定该待配置通信业务的业务类型。Step S302: The service device determines the service type of the communication service to be configured.
需要说明的是,步骤S301~步骤S302的执行过程可分别参见图2中步骤S201~步骤S202的具体描述,此处不再赘述。It should be noted that, for the execution process of step S301 to step S302, please refer to the specific description of step S201 to step S202 in FIG. 2 respectively, which will not be repeated here.
步骤S303:该服务设备确定该业务类型对应的业务实现模型。Step S303: The service device determines the service realization model corresponding to the service type.
在本申请实施例中,每种业务类型可以对应有一个业务实现模型,该业务实现模型可以用于生成属于该业务类型的待配置通信业务的配置参数。可选的,业务实现模型可以通过机器语言描述。在一种实现方式中,业务类型对应的业务实现模型可以由该服务设备创建得到的,也可以由其他设备发送给服务设备,本申请实施例对此不作限定。In the embodiment of the present application, each service type may correspond to a service realization model, and the service realization model may be used to generate configuration parameters of the communication service to be configured belonging to the service type. Optionally, the business realization model can be described in machine language. In an implementation manner, the service realization model corresponding to the service type may be created by the service device, or may be sent to the service device by other devices, which is not limited in the embodiment of the present application.
步骤S304:该服务设备将该输入参数转换为该业务实现模型所需的配置参数,该业务实现模型所需的配置参数为前述待配置通信业务的配置参数。Step S304: The service device converts the input parameter into the configuration parameter required by the service realization model, and the configuration parameter required by the service realization model is the configuration parameter of the communication service to be configured.
在本申请实施例中,该业务实现模型可以识别输入参数,并将该输入参数转换为该业务实现模型所需的配置参数。例如,当用户需要配置一项待配置通信业务,且为了成功配置该待配置通信业务需要的配置参数包括配置参数a和配置参数b时,为了得到配置参数a和配置参数b,用户可以输入可转换为配置参数a的输入参数a,并输入可以转换为配置参数b的输入参数b。其中,输入参数a与配置参数a之间可以具有对应关系,输入参数b与配置参数b之间可以具有对应关系,从而服务设备可以将输入参数a转换为配置参数a, 并将输入参数b转换为配置参数b。In the embodiment of the present application, the service realization model can identify input parameters and convert the input parameters into configuration parameters required by the service realization model. For example, when the user needs to configure a communication service to be configured, and the configuration parameters required to successfully configure the communication service to be configured include configuration parameter a and configuration parameter b, in order to obtain configuration parameter a and configuration parameter b, the user can input Convert input parameter a into configuration parameter a, and enter input parameter b that can be converted into configuration parameter b. Among them, the input parameter a and the configuration parameter a may have a corresponding relationship, and the input parameter b may have a corresponding relationship with the configuration parameter b, so that the service device can convert the input parameter a into the configuration parameter a, and convert the input parameter b Is the configuration parameter b.
通过这种方式,由于输入参数可通过业务语言描述,因此用户可以便捷输入待配置通信业务的输入参数。并且,输入该输入参数的用户不用具备专业知识,即有利于降低用户要求。另外,即使输入参数通过业务语言描述,服务设备也可以通过业务实现模型将该输入参数转换为通过机器语言描述的配置参数,以便于服务设备根据该配置参数生成用于配置待配置通信业务的配置命令。In this way, since the input parameters can be described in business language, the user can conveniently input the input parameters of the communication service to be configured. Moreover, the user who inputs the input parameter does not need to have professional knowledge, which is beneficial to reduce user requirements. In addition, even if the input parameter is described in business language, the service device can convert the input parameter into a configuration parameter described in machine language through the service realization model, so that the service device can generate a configuration for configuring the communication service to be configured according to the configuration parameter. Order.
步骤S305:该服务设备确定该待配置通信业务的配置规则信息。Step S305: The service device determines the configuration rule information of the communication service to be configured.
步骤S306:该服务设备根据该待配置通信业务的配置规则信息,以及该待配置通信业务的配置参数,生成针对网络设备的配置命令;该网络设备为用于配置该待配置通信业务的设备。Step S306: The service device generates a configuration command for the network device according to the configuration rule information of the communication service to be configured and the configuration parameters of the communication service to be configured; the network device is a device for configuring the communication service to be configured.
步骤S307:该服务设备将该配置命令发送至该网络设备。Step S307: The service device sends the configuration command to the network device.
步骤S308:该网络设备根据该配置命令配置前述待配置通信业务。Step S308: The network device configures the aforementioned communication service to be configured according to the configuration command.
需要说明的是,步骤S305~S306的执行过程可参见图2中步骤S204的具体描述,步骤S307~S308的执行过程可分别参见图2中步骤S205~S206的具体描述,此处不再赘述。It should be noted that the execution process of steps S305 to S306 can refer to the specific description of step S204 in FIG. 2, and the execution process of steps S307 to S308 can refer to the specific description of steps S205 to S206 in FIG. 2 respectively, which will not be repeated here.
在一种实现方式中,前述业务实现模型可以包括验证脚本,该验证脚本可以用于确定前述待配置通信业务在网络设备中是否配置成功。具体的,服务设备可以将该验证脚本发送至网络设备。网络设备接收到该验证脚本之后,可以运行该验证脚本以验证待配置通信业务在网络设备中是否配置成功。通过这种方式,可以及时确定待配置通信业务在网络设备中是否配置成功,在待配置通信业务在网络设备中配置失败的情况下,可以更加及时地确定存在的问题,从而有利于更快解决问题进而在网络设备中成功配置通信业务。In an implementation manner, the foregoing service implementation model may include a verification script, and the verification script may be used to determine whether the foregoing communication service to be configured is successfully configured in the network device. Specifically, the service device may send the verification script to the network device. After receiving the verification script, the network device can run the verification script to verify whether the communication service to be configured is successfully configured in the network device. In this way, it can be determined in time whether the communication service to be configured is successfully configured in the network device. In the case that the communication service to be configured fails to be configured in the network device, the existing problems can be determined in a more timely manner, which is conducive to faster resolution The problem then successfully configures the communication service in the network device.
在一种实现方式中,当用于配置待配置通信业务的网络设备为多个时,业务实现模型可以包括多个验证脚本,不同网络设备可以对应不同的验证脚本。可以理解的是,网络设备可以将验证脚本发送至与该验证脚本对应的网络设备。需要说明的是,在用于配置待配置通信业务的所有网络设备中均配置成功时,表示待配置通信业务配置成功。通过将验证脚本发送至与该验证脚本对应的网络设备,有利于更快速地确定造成待配置通信业务配置失败的网络设备。In an implementation manner, when there are multiple network devices used to configure the communication service to be configured, the service implementation model may include multiple verification scripts, and different network devices may correspond to different verification scripts. It is understandable that the network device can send the verification script to the network device corresponding to the verification script. It should be noted that, when all network devices used to configure the communication service to be configured are successfully configured, it means that the communication service to be configured is successfully configured. By sending the verification script to the network device corresponding to the verification script, it is beneficial to more quickly determine the network device that caused the failure of the configuration of the communication service to be configured.
在一种实现方式中,除了通过验证脚本确定待配置通信业务是否配置成功以外,还可以通过业务实现模型包括的监控策略确定待配置通信业务是否配置成功。该监控策略可以用于监控通信业务的运行情况。在一种实现方式中,服务设备可以将该监控策略发送至分析设备。该分析设备可以用于根据该监控策略对网络设备执行通信业务(即前述待配置通信业务)所得到的信息进行分析,得到分析信息,并将该分析信息发送至服务设备,该分析信息可以用于确定该待配置通信业务是否配置成功。该服务设备在接收到来自该分析设备的分析信息之后,可以根据该分析信息确定该待配置通信业务是否配置成功。In an implementation manner, in addition to determining whether the communication service to be configured is successfully configured through the verification script, it is also possible to determine whether the communication service to be configured is configured successfully through the monitoring strategy included in the service realization model. This monitoring strategy can be used to monitor the operation of communication services. In an implementation manner, the service device may send the monitoring strategy to the analysis device. The analysis device can be used to analyze the information obtained by the network device performing the communication service (that is, the aforementioned communication service to be configured) according to the monitoring strategy, obtain the analysis information, and send the analysis information to the service device. The analysis information can be used To determine whether the communication service to be configured is successfully configured. After the service device receives the analysis information from the analysis device, it can determine whether the communication service to be configured is successfully configured according to the analysis information.
其中,网络设备执行通信业务所得到的信息可以由该网络设备发送给分析设备。当通信业务为流量套餐时,网络设备执行通信业务所得到的信息可以为预设时长内(如1小时或1天等)该网络设备统计的总流量的变化表等。例如,若该流量套餐的内容为随着用户消耗的总流量增加,降低该用户上网时的上下行带宽时,若在网络设备中成功配置该流量套餐,则随着时间变化该网络设备在预设时长内统计的总流量可能会越来越少。Wherein, the information obtained by the network device performing the communication service can be sent by the network device to the analysis device. When the communication service is a traffic package, the information obtained by the network device performing the communication service may be a change table of the total traffic counted by the network device within a preset period of time (such as 1 hour or 1 day, etc.). For example, if the content of the data package is that as the total data consumed by the user increases, the uplink and downlink bandwidth of the user when surfing the Internet is reduced, and if the data package is successfully configured in the network device, the network device will change over time. The total traffic counted within the set time period may become less and less.
当网络设备的数量为多个时,仅根据一个网络设备执行通信业务所得到的信息不能准确判断该通信业务实际是否配置成功。分析设备通过综合该多个网络设备中各个网络设备执行通信业务所得到的信息,以判断该通信业务实际是否配置成功,有利于提高判断的准确性。需要说明的是,分析设备的数量可以为一个或多个。当多个网络设备中各个网络设备执行通信业务所得到的信息较多时,可以通过多个分析设备配合分析以尽快获得分析信息。此时,该多个分析设备可以看作一个大数据分析系统。在本申请实施例中,分析设备可以由处理器、存储器和网络接口组成,具体的,分析设备可以是终端设备或者服务器。When the number of network devices is multiple, it is impossible to accurately determine whether the communication service is actually configured successfully based on the information obtained by only one network device performing the communication service. The analysis device synthesizes the information obtained by each network device of the multiple network devices performing the communication service to determine whether the communication service is actually configured successfully, which is beneficial to improve the accuracy of the judgment. It should be noted that the number of analysis devices can be one or more. When each of the multiple network devices obtains a lot of information from performing communication services, multiple analysis devices can be used to cooperate and analyze to obtain analysis information as soon as possible. At this time, the multiple analysis devices can be regarded as one big data analysis system. In the embodiment of the present application, the analysis device may be composed of a processor, a memory, and a network interface. Specifically, the analysis device may be a terminal device or a server.
在一种实现方式中,监控策略可以包括网络设备的关键性能指标(key performance indicator,KPI),前述分析信息可以包括该KPI的分析结果,该KPI的分析结果可以用于指示该KPI的取值是否异常;若该KPI的取值异常,则该待配置通信业务在该网络设备中未配置成功。当通信业务为流量套餐时,KPI可以包括数据业务下载速率或选择流量套餐的用户数中的一种或多种。例如,若该流量套餐的内容为随着用户消耗的总流量增加,降低该用户上网时的上下行带宽,且KPI为数据业务下载速率时,KPI的取值异常可以指:数据业务下载速率随着时间的变化并未降低,此时,可以表明该流量套餐在网络设备中未配置成功。KPI的取值正常可以指:数据业务下载速率随着时间的变化降低。又如,KPI为选择流量套餐的用户数时,KPI的取值异常可以指:选择流量套餐的用户数低于预设值,此时,可以表明该流量套餐在网络设备中未配置成功。KPI的取值正常可以指:选择该流量套餐的用户数不低于预设值。其中,该预设值可以由分析设备默认设置,或者可以根据用户操作设置及更改,本申请实施例对此不做限定。In one implementation, the monitoring strategy may include the key performance indicator (KPI) of the network device, the aforementioned analysis information may include the analysis result of the KPI, and the analysis result of the KPI may be used to indicate the value of the KPI Whether it is abnormal; if the value of the KPI is abnormal, the communication service to be configured is not successfully configured in the network device. When the communication service is a traffic package, the KPI may include one or more of the data service download rate or the number of users who select the traffic package. For example, if the content of the traffic package is that as the total traffic consumed by the user increases, the uplink and downlink bandwidth of the user when surfing the Internet is reduced, and when the KPI is the data service download rate, the abnormal value of the KPI can mean that the data service download rate varies with the data service download rate. The change in time has not decreased. At this time, it can indicate that the traffic package has not been successfully configured in the network device. The normal value of KPI can mean that the download rate of data services decreases with time. For another example, when the KPI is the number of users who have selected a data package, the abnormal value of the KPI may mean that the number of users who have selected the data package is lower than the preset value. At this time, it can indicate that the data package has not been successfully configured in the network device. The normal value of the KPI can mean that the number of users who choose the data package is not less than the preset value. Wherein, the preset value can be set by default by the analysis device, or can be set and changed according to user operations, which is not limited in the embodiment of the present application.
在一种实现方式中,若该KPI的取值正常,则可以表明该待配置通信业务在该网络设备中配置成功。在一种实现方式中,不同业务实现模型中的监控策略可以不同,不同监控策略可以包括完全相同的KPI、部分相同的KPI或者完全不同的KPI。In an implementation manner, if the value of the KPI is normal, it can indicate that the communication service to be configured is successfully configured in the network device. In an implementation manner, the monitoring strategies in different service implementation models may be different, and different monitoring strategies may include completely the same KPIs, partially the same KPIs, or completely different KPIs.
在一种实现方式中,监控策略可以包括网络设备的告警信息,该告警信息可以包括告警类型;前述分析信息可以包括该网络设备是否产生该告警类型的告警;若该网络设备产生该告警类型的告警,则待配置通信业务在该网络设备中未配置成功。In one implementation, the monitoring strategy may include alarm information of the network device, and the alarm information may include an alarm type; the aforementioned analysis information may include whether the network device generates an alarm of the alarm type; if the network device generates an alarm of the alarm type If an alarm is issued, the communication service to be configured has not been successfully configured in the network device.
网络设备产生告警可以表示该网络设备发生软件或者硬件故障。在本申请实施例中,当待配置通信业务在该网络设备中未配置成功时,会使得该网络设备产生前述告警信息中包括的告警类型的告警。因此,若该网络设备产生该告警类型的告警,则表明待配置通信业务在该网络设备中未配置成功。其中,上述告警信息中的告警类型可以包括在网络设备中未成功配置待配置通信业务所引发的告警类型,告警信息可以包括一种或多种告警类型。例如,告警类型可以包括但不限于网络故障类型、网络接口故障类型、处理器故障类型或存储器故障类型。The alarm generated by the network device may indicate that the network device has a software or hardware failure. In the embodiment of the present application, when the communication service to be configured is not successfully configured in the network device, the network device will be caused to generate an alarm of the alarm type included in the aforementioned alarm information. Therefore, if the network device generates an alarm of this alarm type, it indicates that the communication service to be configured has not been successfully configured in the network device. Wherein, the alarm type in the above-mentioned alarm information may include an alarm type caused by the unsuccessful configuration of the communication service to be configured in the network device, and the alarm information may include one or more alarm types. For example, the alarm type may include, but is not limited to, a network failure type, a network interface failure type, a processor failure type, or a memory failure type.
在一种实现方式中,若该网络设备未产生该告警类型的告警,则可以确定待配置通信业务在该网络设备中已配置成功。在一种实现方式中,若该网络设备未产生该告警类型的告警,则服务设备可以结合KPI的分析结果(和/或验证脚本),以确定该待配置通信业务在该网络设备中是否配置成功。In an implementation manner, if the network device does not generate an alarm of the alarm type, it can be determined that the communication service to be configured has been successfully configured in the network device. In one implementation, if the network device does not generate an alarm of the alarm type, the service device can combine the KPI analysis result (and/or verification script) to determine whether the communication service to be configured is configured in the network device success.
在一种实现方式中,前述业务实现模型可以包括通信业务未配置成功的一种或多种解决方案。每种解决方案可以对应一种通信业务未配置成功的表现。例如,若未能成功配置 通信业务的表现为产生某告警类型的告警,则服务设备可以将该表现对应的解决方案发送至该网络设备,以使得在该网络设备中成功配置该通信业务并清除告警。In an implementation manner, the foregoing service realization model may include one or more solutions in which the communication service is not successfully configured. Each solution can correspond to an unconfigured successful performance of a communication service. For example, if the unsuccessful configuration of the communication service performance is to generate an alarm of a certain alarm type, the service device can send the solution corresponding to the performance to the network device, so that the communication service is successfully configured and cleared in the network device Alert.
在一种实现方式中,步骤S301的具体实施方式可以为:服务设备获取在业务意图模型对应的参数输入界面中输入的待配置通信业务的输入参数,该业务意图模型可以由业务语言描述。其中,业务意图模型可以看作对用户能理解的一类通信业务进行抽象表示。这样可以通过一个业务意图模型配置不同的通信业务。在本申请实施例中,一个业务意图模型可以对应有一个参数输入界面。当用户在某参数输入界面中输入参数时,即可以表明该用户需要通过该参数输入界面对应的业务意图模型配置通信业务。In an implementation manner, a specific implementation manner of step S301 may be: the service device obtains the input parameters of the communication service to be configured input in the parameter input interface corresponding to the business intent model, and the business intent model may be described by the business language. Among them, the business intent model can be regarded as an abstract representation of a type of communication business that users can understand. In this way, different communication services can be configured through a business intent model. In the embodiment of the present application, a business intent model may correspond to a parameter input interface. When a user inputs a parameter in a parameter input interface, it can indicate that the user needs to configure the communication service through the business intention model corresponding to the parameter input interface.
在一种实现方式中,步骤S302的具体实施方式可以为:服务设备将业务意图模型对应的业务类型,确定为该待配置通信业务的业务类型。换言之,服务设备确定业务意图模型相当于确定用户意图,即用户所需配置的通信业务的业务类型。In an implementation manner, the specific implementation manner of step S302 may be: the service device determines the service type corresponding to the service intent model as the service type of the communication service to be configured. In other words, determining the business intention model by the service device is equivalent to determining the user's intention, that is, the service type of the communication service that the user needs to configure.
在一种实现方式中,服务设备可以接收来自建模设备的业务意图模型和业务实现模型。即业务意图模型和业务实现模型可以由建模设备创建。在一种实现方式中,可以通过可扩展标记语言(extensible markup language,XML)语言创建业务意图模型,通过云应用拓扑编排标准(topology and orchestration specification for cloud applications,TOSCA)、JS对象简谱(javascript object notation,JSON)语言。在本申请实施例中,建模设备可以由处理器、存储器和网络接口组成,具体的,建模设备可以是终端设备或者服务器。In one implementation manner, the service device may receive the business intent model and the business realization model from the modeling device. That is, the business intent model and the business realization model can be created by the modeling device. In one implementation, the business intent model can be created through the extensible markup language (XML) language, and the topology and orchestration specification for cloud applications (TOSCA), JS object notation (javascript object) notation, JSON) language. In the embodiment of the present application, the modeling device may be composed of a processor, a memory, and a network interface. Specifically, the modeling device may be a terminal device or a server.
在另一种实现方式中,业务意图模型和/或业务实现模型可以由服务设备创建。可选的,服务设备可以包括多个实现组件的配置规则信息;该服务设备可以根据该多个实现组件中的至少一个实现组件的配置规则信息创建业务实现模型。在本申请实施例中,在配置待配置通信业务的过程中,可以涉及多个实现组件(Node)。实现组件可以指配置待配置通信业务过程中的处理节点。例如,实现组件可以包括但不限于配额(Quota)组件、流量消耗条件(Condition)组件、上下行带宽(Action)组件、通信组件、判断组件等。需要说明的是,实现组件可以是关于业务的组件(如Quota组件、Condition组件、Action组件),也可以是为实现通信业务但是与业务解耦的组件(如通信组件、判断组件)。在配置待配置通信业务的过程中,每个组件可以单独进行配置。当配置待配置通信业务的过程中会涉及的所有实现组件均配置完成后,可以表明该待配置通信业务配置完成。因此,服务设备可以根据前述多个实现组件中的至少一个实现组件的配置规则信息创建业务实现模型。其中,所述至少一个实现组件可以包括在配置属于(该业务实现模型对应的)业务类型的通信业务的过程中,会涉及的实现组件。In another implementation manner, the business intention model and/or the business implementation model may be created by the service device. Optionally, the service device may include configuration rule information of multiple implementation components; the service device may create a business implementation model according to the configuration rule information of at least one implementation component of the multiple implementation components. In the embodiment of the present application, in the process of configuring the communication service to be configured, multiple implementation components (Node) may be involved. The realization component may refer to the processing node in the process of configuring the communication service to be configured. For example, the implementation components may include, but are not limited to, a quota (Quota) component, a traffic consumption condition (Condition) component, an uplink and downlink bandwidth (Action) component, a communication component, a judgment component, and so on. It should be noted that the implementation components can be business-related components (such as Quota components, Condition components, and Action components), or components that implement communication services but are decoupled from the business (such as communication components, judgment components). In the process of configuring the communication service to be configured, each component can be configured separately. When all implementation components involved in the process of configuring the communication service to be configured are configured, it can be indicated that the configuration of the communication service to be configured is completed. Therefore, the service device can create a business realization model according to the configuration rule information of at least one of the aforementioned multiple realization components. Wherein, the at least one implementation component may include implementation components that will be involved in the process of configuring a communication service belonging to a service type (corresponding to the service realization model).
需要说明的是,本申请实施例中提及的业务实现模型(或者业务意图模型)仅用于举例,用于实现相同功能的模型可以有不同的名称,本申请实施例对此不作限定。例如,业务实现模型可以叫做命令式模型,业务意图模型可以叫做声明式模型。It should be noted that the business realization model (or business intent model) mentioned in the embodiment of this application is only used as an example, and the model used to realize the same function may have different names, which is not limited in the embodiment of this application. For example, the business realization model can be called an imperative model, and the business intent model can be called a declarative model.
通过实施本申请实施例,由于输入参数可通过业务语言描述,因此用户可以便捷输入待配置通信业务的输入参数。并且,输入该输入参数的用户不用具备专业知识,即有利于降低用户要求。另外,即使输入参数通过业务语言描述,服务设备也可以通过业务实现模型将该输入参数转换为通过机器语言描述的配置参数,以便于服务设备根据该配置参数生成用于配置待配置通信业务的配置命令。By implementing the embodiments of the present application, since the input parameters can be described in business language, the user can conveniently input the input parameters of the communication service to be configured. Moreover, the user who inputs the input parameter does not need to have professional knowledge, which is beneficial to reduce user requirements. In addition, even if the input parameter is described in business language, the service device can convert the input parameter into a configuration parameter described in machine language through the service realization model, so that the service device can generate a configuration for configuring the communication service to be configured according to the configuration parameter. Order.
请参见图4,图4是本申请实施例提供的又一种业务配置方法的流程示意图。其中,步骤S401~步骤S407的执行主体为服务设备,或者为服务设备中的芯片,步骤S408的执行主体为网络设备,或者为网络设备中的芯片,以下以服务设备、网络设备为业务配置方法的执行主体为例进行说明。该方法可以包括但不限于如下步骤:Please refer to FIG. 4, which is a schematic flowchart of another service configuration method provided by an embodiment of the present application. Among them, the execution subject of step S401 to step S407 is the service device, or the chip in the service device, the execution subject of step S408 is the network device, or the chip in the network device, the following uses the service device and network device as the service configuration method Take an example of the executive body of. The method may include but is not limited to the following steps:
步骤S401:服务设备获取针对待配置通信业务的输入参数。Step S401: The service device obtains input parameters for the communication service to be configured.
步骤S402:该服务设备确定该待配置通信业务的业务类型。Step S402: The service device determines the service type of the communication service to be configured.
步骤S403:该服务设备确定该业务类型对应的业务实现模型。Step S403: The service device determines the service realization model corresponding to the service type.
步骤S404:该服务设备将该输入参数转换为该业务实现模型所需的配置参数,该业务实现模型所需的配置参数为该待配置通信业务的配置参数。Step S404: The service device converts the input parameter into the configuration parameter required by the service realization model, and the configuration parameter required by the service realization model is the configuration parameter of the communication service to be configured.
需要说明的是,步骤S401~步骤S402的执行过程可分别参见图2中步骤S201~步骤S202的具体描述,步骤S403~步骤S404的执行过程可分别参见图3中步骤S303~步骤S304的具体描述,此处不再赘述。It should be noted that, for the execution process of step S401 to step S402, please refer to the detailed description of step S201 to step S202 in FIG. 2 respectively. For the execution process of step S403 to step S404, please refer to the detailed description of step S303 to step S304 in FIG. 3 respectively. , I won’t repeat it here.
步骤S405:该服务设备确定该待配置通信业务的配置规则信息;该业务实现模型包括该待配置通信业务的配置规则信息;用于配置该待配置通信业务的设备的数量为至少一个;该业务实现模型还包括至少一个实现组件,一个实现组件对应一个网络设备;该待配置通信业务的配置规则信息包括每个实现组件的配置规则信息,该待配置通信业务的配置参数包括每个实现组件的配置参数。Step S405: The service device determines the configuration rule information of the communication service to be configured; the service implementation model includes the configuration rule information of the communication service to be configured; the number of devices used to configure the communication service to be configured is at least one; the service The implementation model also includes at least one implementation component, and one implementation component corresponds to a network device; the configuration rule information of the communication service to be configured includes the configuration rule information of each realization component, and the configuration parameter of the communication service to be configured includes the configuration parameter of each realization component. Configuration parameters.
在本申请实施例中,业务实现模型可以包括一项或多项待配置通信业务的配置规则信息。其中,所述多项待配置通信业务的业务类型相同。所述多项待配置通信业务中的不同待配置通信业务的配置规则信息可以相同,也可以不同。例如,199流量套餐和299流量套餐(即待配置通信业务)的配额(即输入参数)不同,但配置规则信息可以相同。又如,无限流量套餐a(限制上下行带宽)和无限流量套餐b(不限制上下行带宽)的配置规则信息可以不同:无限流量套餐a的配置规则信息需要指示限制的上下行带宽,无限流量套餐b的配置规则信息不需要指示上下行带宽,仅默认为不限制上下行带宽即可。In the embodiment of the present application, the service realization model may include one or more configuration rule information of the communication service to be configured. Wherein, the service types of the multiple communication services to be configured are the same. The configuration rule information of different communication services to be configured among the multiple communication services to be configured may be the same or different. For example, the quotas (that is, input parameters) of the 199 traffic package and the 299 traffic package (that is, the communication service to be configured) are different, but the configuration rule information can be the same. For another example, the configuration rule information of unlimited traffic package a (limiting the upstream and downstream bandwidth) and unlimited traffic package b (unlimiting the upstream and downstream bandwidth) can be different: the configuration rule information of unlimited traffic package a needs to indicate the limited upstream and downstream bandwidth, unlimited traffic The configuration rule information of package b does not need to indicate the uplink and downlink bandwidth, and only the default is not to limit the uplink and downlink bandwidth.
业务实现模型中的各个实现组件对应的网络设备为用于配置该实现组件的设备。不同实现组件可以对应不同网络设备,或者相同网络设备。The network device corresponding to each realization component in the service realization model is the device used to configure the realization component. Different implementation components can correspond to different network devices, or the same network device.
需要说明的是,关于服务设备确定所述待配置通信业务的配置规则信息的执行过程可参见图3中步骤S305的具体描述,此处不再赘述。It should be noted that, for the execution process of the service device determining the configuration rule information of the communication service to be configured, refer to the specific description of step S305 in FIG. 3, which will not be repeated here.
步骤S406:针对每个实现组件,服务设备根据该实现组件的配置规则信息,以及该实现组件的配置参数,生成该实现组件的配置命令。Step S406: For each implementation component, the service device generates a configuration command of the implementation component according to the configuration rule information of the implementation component and the configuration parameters of the implementation component.
例如,当业务实现模型包括实现组件1和实现组件2时,服务设备根据实现组件1的配置规则信息,以及实现组件1的配置参数,生成该实现组件1的配置命令。并根据实现组件2的配置规则信息,以及实现组件2的配置参数,生成该实现组件2的配置命令。For example, when the business realization model includes realization component 1 and realization component 2, the service device generates the configuration command of realization component 1 according to the configuration rule information of realization component 1 and the configuration parameters of realization component 1. And according to the configuration rule information of the realization component 2 and the configuration parameters of the realization component 2, the configuration command of the realization component 2 is generated.
在一种实现方式中,业务实现模型包括的各个实现组件可以单独进行配置,各个实现组件的配置过程互不影响。在另一种实现方式中,业务实现模型包括的各个实现组件之间可以具有顺序关系,该顺序关系可以用于指示配置的先后顺序。即业务实现模型中的部分实现组件需要在其他实现组件(即该业务实现模型中除所述部分实现组件之外的其他实现 组件)完成配置的基础上进行配置。In an implementation manner, each implementation component included in the business implementation model can be configured separately, and the configuration process of each implementation component does not affect each other. In another implementation manner, the various implementation components included in the business implementation model may have a sequence relationship, and the sequence relationship may be used to indicate the sequence of configuration. That is, the partial realization components in the business realization model need to be configured on the basis of the completion of the configuration of other realization components (that is, the other realization components in the service realization model except for the partial realization components).
需要说明的是,当业务实现模型由服务设备根据存储的实现组件的配置规则信息创建得到时,该服务设备还可以复用存储的实现组件以创建新的业务实现模型,通过这种方式,有利于提高业务实现模型的创建效率。It should be noted that when the service implementation model is created by the service device according to the stored configuration rule information of the implementation component, the service device can also reuse the stored implementation component to create a new business implementation model. In this way, there are Conducive to improving the efficiency of business realization model creation.
在一种实现方式中,服务设备在检测到针对业务实现模型中的目标实现组件的修改操作的情况下,对该目标实现组件的配置规则信息进行修改;根据修改后的该目标实现组件的配置规则信息,以及该业务实现模型中除该目标实现组件以外的其他实现组件的配置规则信息,得到修改后的业务实现模型。通过这种方式,当随着用户需求的变化,需要修改业务实现模型中的配置规则信息,以使根据修改后的业务实现模型配置的通信业务能够满足用户需求时,可以对该业务实现模型中的目标实现组件的配置规则信息进行修改。通过这种方式,有利于提高修改效率。In one implementation, the service device modifies the configuration rule information of the target realization component in the case of detecting the modification operation for the target realization component in the business realization model; realizes the configuration of the component according to the modified target The rule information, and the configuration rule information of other realization components in the business realization model except the target realization component, obtain the modified business realization model. In this way, when the configuration rule information in the service realization model needs to be modified as the user needs change, so that the communication service configured according to the modified service realization model can meet the user needs, the service realization model can be The goal is to modify the configuration rule information of the component. In this way, it is helpful to improve the efficiency of modification.
步骤S407:该服务设备将每个实现组件的配置命令发送至与该实现组件对应的网络设备。Step S407: The service device sends the configuration command of each implementation component to the network device corresponding to the implementation component.
服务设备在生成业务实现模型中的每个实现组件的配置命令之后,可以将每个实现组件的配置命令发送至与该实现组件对应的网络设备,以便该网络设备对该实现组件进行配置。After the service device generates the configuration command of each realization component in the service realization model, it may send the configuration command of each realization component to the network device corresponding to the realization component, so that the network device can configure the realization component.
例如,当业务实现模型包括实现组件1和实现组件2,且实现组件1与第一网络设备对应,实现组件2与第二网络设备对应时,服务设备可以将实现组件1的配置命令发送至第一网络设备,并将实现组件2的配置命令发送至第二网络设备。For example, when the service realization model includes realization component 1 and realization component 2, and realization component 1 corresponds to the first network device, and realization component 2 corresponds to the second network device, the service device may send the configuration command of realization component 1 to the first network device. A network device, and sends the configuration command for implementing component 2 to the second network device.
步骤S408:该网络设备根据该实现组件的配置命令配置该实现组件。Step S408: The network device configures the implementation component according to the configuration command of the implementation component.
网络设备在接收到来自服务设备的(实现组件的)配置命令之后,可以根据该实现组件的配置命令配置该实现组件。当各个网络设备均完成对相应实现组件的配置之后,前述待配置通信业务配置完成。After the network device receives the configuration command (of the realization component) from the service device, it can configure the realization component according to the configuration command of the realization component. After each network device has completed the configuration of the corresponding implementation components, the foregoing configuration of the communication service to be configured is completed.
在本申请实施例中,待配置通信业务的配置规则信息包括每个实现组件的配置规则信息,当随着用户需求的变化,需要修改业务实现模型中的配置规则信息,以使根据修改后的业务实现模型配置的通信业务能够满足用户需求时,可以对该业务实现模型中的部分实现组件的配置规则信息进行修改。通过这种方式,有利于提高修改效率。In the embodiment of the present application, the configuration rule information of the communication service to be configured includes the configuration rule information of each implementation component. As user needs change, the configuration rule information in the service implementation model needs to be modified so that the When the communication service configured by the service realization model can meet the needs of users, the configuration rule information of some realization components in the service realization model can be modified. In this way, it is helpful to improve the efficiency of modification.
请参见图5,图5是本申请实施例提供的一种业务配置装置的结构示意图,业务配置装置50用于执行图2-图4对应的方法实施例中服务设备所执行的步骤,业务配置装置50可以包括:Please refer to FIG. 5. FIG. 5 is a schematic structural diagram of a service configuration apparatus provided by an embodiment of the present application. The service configuration apparatus 50 is used to execute the steps performed by the service device in the method embodiments corresponding to FIGS. 2 to 4, and the service configuration The device 50 may include:
处理模块501,用于获取针对待配置通信业务的输入参数;确定该配置通信业务的业务类型;根据该业务类型和该输入参数,得到该配置通信业务的配置参数;并根据该待配置通信业务的配置参数,生成针对网络设备的配置命令,该网络设备为用于配置该待配置通信业务的设备;The processing module 501 is configured to obtain input parameters for the communication service to be configured; determine the service type of the configured communication service; obtain the configuration parameters of the configured communication service according to the service type and the input parameters; and according to the communication service to be configured The configuration parameters of, generate a configuration command for the network device, the network device is the device used to configure the communication service to be configured;
通信模块502,用于将该配置命令发送至该网络设备。The communication module 502 is configured to send the configuration command to the network device.
在一种实现方式中,处理模块501具体可以用于:确定该待配置通信业务的配置规则信息;并根据该待配置通信业务的配置规则信息,以及该待配置通信业务的配置参数,生 成针对网络设备的配置命令。In an implementation manner, the processing module 501 may be specifically used to: determine the configuration rule information of the communication service to be configured; and according to the configuration rule information of the communication service to be configured and the configuration parameters of the communication service to be configured, generate a Configuration commands for network devices.
在一种实现方式中,处理模块501具体可以用于:确定该业务类型对应的业务实现模型;将前述输入参数转换为该业务实现模型所需的配置参数,该业务实现模型所需的配置参数为待配置通信业务的配置参数。In an implementation manner, the processing module 501 may be specifically used to: determine the service realization model corresponding to the service type; convert the aforementioned input parameters into the configuration parameters required by the service realization model, and the configuration parameters required by the service realization model It is the configuration parameter of the communication service to be configured.
在一种实现方式中,该业务实现模型可以包括待配置通信业务的配置规则信息。In an implementation manner, the service realization model may include configuration rule information of the communication service to be configured.
在一种实现方式中,用于配置该待配置通信业务的设备的数量为至少一个;该业务实现模型还包括至少一个实现组件,一个实现组件对应一个网络设备;该待配置通信业务的配置规则信息包括每个实现组件的配置规则信息,该待配置通信业务的配置参数包括每个实现组件的配置参数;处理模块501具体可以用于:针对每个实现组件,根据该实现组件的配置规则信息,以及该实现组件的配置参数,生成该实现组件的配置命令;将每个实现组件的配置命令发送至与该实现组件对应的网络设备。In an implementation manner, the number of devices used to configure the communication service to be configured is at least one; the service realization model also includes at least one realization component, and one realization component corresponds to one network device; the configuration rules of the communication service to be configured The information includes the configuration rule information of each implementation component, and the configuration parameters of the communication service to be configured include the configuration parameters of each implementation component; the processing module 501 can be specifically used to: for each implementation component, according to the configuration rule information of the implementation component , And the configuration parameters of the realization component, generate the configuration command of the realization component; send the configuration command of each realization component to the network device corresponding to the realization component.
在一种实现方式中,处理模块501还可以用于:检测到针对前述业务实现模型中的目标实现组件的修改操作的情况下,对该目标实现组件的配置规则信息进行修改;根据修改后的目标实现组件的配置规则信息,以及该业务实现模型中除该目标实现组件以外的其他实现组件的配置规则信息,得到修改后的业务实现模型。In an implementation manner, the processing module 501 may also be used to: in the case of detecting a modification operation for the target realization component in the foregoing business realization model, modify the configuration rule information of the target realization component; The configuration rule information of the target realization component, and the configuration rule information of other realization components in the business realization model except the target realization component, obtain the modified business realization model.
在一种实现方式中,前述业务实现模型包括验证脚本;通信模块502还可以用于:将该验证脚本发送至前述网络设备;该验证脚本用于确定该待配置通信业务在该网络设备中是否配置成功。In an implementation manner, the foregoing service realization model includes a verification script; the communication module 502 may also be used to: send the verification script to the foregoing network device; the verification script is used to determine whether the communication service to be configured is in the network device. The configuration is successful.
在一种实现方式中,前述业务实现模型包括监控策略;通信模块502还可以用于:将该监控策略发送至分析设备;该分析设备用于根据该监控策略对该网络设备执行待配置通信业务所得到的信息进行分析,得到分析信息;接收来自该分析设备的分析信息,该分析信息用于确定该待配置通信业务是否配置成功。In an implementation manner, the foregoing service realization model includes a monitoring strategy; the communication module 502 may also be used to: send the monitoring strategy to an analysis device; the analysis device is used to execute the communication service to be configured on the network device according to the monitoring strategy The obtained information is analyzed to obtain analysis information; the analysis information from the analysis device is received, and the analysis information is used to determine whether the communication service to be configured is successfully configured.
在一种实现方式中,该监控策略包括该网络设备的关键性能指标KPI,该分析信息包括该KPI的分析结果,该KPI的分析结果用于指示该KPI的取值是否异常;若该KPI的取值异常,则该待配置通信业务在该网络设备中未配置成功。In one implementation, the monitoring strategy includes the key performance indicator KPI of the network device, the analysis information includes the analysis result of the KPI, and the analysis result of the KPI is used to indicate whether the value of the KPI is abnormal; If the value is abnormal, the communication service to be configured is not successfully configured in the network device.
在一种实现方式中,该监控策略包括该网络设备的告警信息,该告警信息包括告警类型;该分析信息包括该网络设备是否产生该告警类型的告警;若该网络设备产生该告警类型的告警,则该待配置通信业务在该网络设备中未配置成功。In one implementation, the monitoring strategy includes alarm information of the network device, and the alarm information includes an alarm type; the analysis information includes whether the network device generates an alarm of the alarm type; if the network device generates an alarm of the alarm type , The communication service to be configured is not successfully configured in the network device.
在一种实现方式中,处理模块501具体可以用于:获取在业务意图模型对应的参数输入界面中输入的待配置通信业务的输入参数;该业务意图模型由业务语言描述;将该业务意图模型对应的业务类型,确定为该待配置通信业务的业务类型。In an implementation manner, the processing module 501 may be specifically used to: obtain the input parameters of the communication service to be configured input in the parameter input interface corresponding to the business intent model; the business intent model is described by the business language; the business intent model The corresponding service type is determined as the service type of the communication service to be configured.
在一种实现方式中,通信模块502还可以用于:接收来自建模设备的业务意图模型和业务实现模型。In an implementation manner, the communication module 502 may also be used to: receive the business intent model and the business realization model from the modeling device.
在一种实现方式中,该业务配置装置50包括多个实现组件的配置规则信息;处理模块501还可以用于:根据该多个实现组件中的至少一个实现组件的配置规则信息创建前述业务实现模型。In an implementation manner, the service configuration device 50 includes configuration rule information of multiple implementation components; the processing module 501 can also be used to: create the foregoing business implementation based on the configuration rule information of at least one implementation component of the multiple implementation components Model.
需要说明的是,图5对应的实施例中未提及的内容以及各个模块执行步骤的具体实现方式可参见图2-图4所示实施例以及前述内容,此处不再赘述。It should be noted that the content not mentioned in the embodiment corresponding to FIG. 5 and the specific implementation of the execution steps of each module can be referred to the embodiment shown in FIG. 2 to FIG. 4 and the foregoing content, which will not be repeated here.
在一种实现方式中,图5中的各个模块所实现的相关功能可以结合处理器与网络接口来实现。参见图6,图6是本申请实施例提供的另一种业务配置装置的结构示意图,该业务配置装置60可以包括网络接口601、处理器602和存储器603,网络接口601、处理器602和存储器603可以通过一条或多条通信总线相互连接,也可以通过其它方式相连接。图5所示的处理模块501、通信模块502所实现的相关功能可以通过同一个处理器602来实现,也可以通过多个不同的处理器602来实现。In an implementation manner, the related functions implemented by each module in FIG. 5 can be implemented in combination with a processor and a network interface. Referring to FIG. 6, FIG. 6 is a schematic structural diagram of another service configuration device provided by an embodiment of the present application. The service configuration device 60 may include a network interface 601, a processor 602, and a memory 603. The network interface 601, a processor 602, and a memory 603 can be connected to each other through one or more communication buses, and can also be connected in other ways. The related functions implemented by the processing module 501 and the communication module 502 shown in FIG. 5 may be implemented by the same processor 602, or may be implemented by multiple different processors 602.
网络接口601可以用于发送数据和/或信令,以及接收数据和/或信令。应用在本申请实施例中,网络接口601可以用于将配置命令发送至网络设备。The network interface 601 may be used to send data and/or signaling, and receive data and/or signaling. In the embodiment of the present application, the network interface 601 can be used to send configuration commands to the network device.
处理器602被配置为执行图2-图4所述方法中服务设备相应的功能。该处理器602可以包括一个或多个处理器,例如该处理器602可以是一个或多个中央处理器(central processing unit,CPU),网络处理器(network processor,NP),硬件芯片或者其任意组合。在处理器602是一个CPU的情况下,该CPU可以是单核CPU,也可以是多核CPU。The processor 602 is configured to perform corresponding functions of the service device in the methods described in FIGS. 2 to 4. The processor 602 may include one or more processors. For example, the processor 602 may be one or more central processing units (CPU), network processors (NP), hardware chips, or any of them. combination. In the case that the processor 602 is a CPU, the CPU may be a single-core CPU or a multi-core CPU.
存储器603用于存储程序代码等。存储器603可以包括易失性存储器(volatile memory),例如随机存取存储器(random access memory,RAM);存储器603也可以包括非易失性存储器(non-volatile memory),例如只读存储器(read-only memory,ROM),快闪存储器(flash memory),硬盘(hard disk drive,HDD)或固态硬盘(solid-state drive,SSD);存储器603还可以包括上述种类的存储器的组合。The memory 603 is used to store program codes and the like. The memory 603 may include a volatile memory (volatile memory), such as a random access memory (random access memory, RAM); the memory 603 may also include a non-volatile memory (non-volatile memory), such as a read-only memory (read-only memory). Only memory (ROM), flash memory (flash memory), hard disk drive (HDD), or solid-state drive (SSD); the memory 603 may also include a combination of the foregoing types of memories.
处理器602可以调用存储器603中存储的程序代码以执行以下操作:The processor 602 may call the program code stored in the memory 603 to perform the following operations:
获取针对待配置通信业务的输入参数;Obtain input parameters for the communication service to be configured;
确定该配置通信业务的业务类型;Determine the service type of the configuration communication service;
根据该业务类型和该输入参数,得到该配置通信业务的配置参数;According to the service type and the input parameters, the configuration parameters of the configured communication service are obtained;
根据该待配置通信业务的配置参数,生成针对网络设备的配置命令,该网络设备为用于配置该待配置通信业务的设备;Generate a configuration command for a network device according to the configuration parameters of the communication service to be configured, where the network device is a device used to configure the communication service to be configured;
将该配置命令发送至该网络设备。Send the configuration command to the network device.
在一种实现方式中,处理器602具体可以执行以下操作:确定该待配置通信业务的配置规则信息;并根据该待配置通信业务的配置规则信息,以及该待配置通信业务的配置参数,生成针对网络设备的配置命令。In an implementation manner, the processor 602 may specifically perform the following operations: determine the configuration rule information of the communication service to be configured; and generate according to the configuration rule information of the communication service to be configured and the configuration parameters of the communication service to be configured Configuration commands for network devices.
在一种实现方式中,处理器602具体可以执行以下操作:确定该业务类型对应的业务实现模型;将前述输入参数转换为该业务实现模型所需的配置参数,该业务实现模型所需的配置参数为待配置通信业务的配置参数。In an implementation manner, the processor 602 may specifically perform the following operations: determine the service realization model corresponding to the service type; convert the aforementioned input parameters into the configuration parameters required by the service realization model, and the configuration required by the service realization model The parameter is the configuration parameter of the communication service to be configured.
在一种实现方式中,该业务实现模型可以包括待配置通信业务的配置规则信息。In an implementation manner, the service realization model may include configuration rule information of the communication service to be configured.
在一种实现方式中,用于配置该待配置通信业务的设备的数量为至少一个;该业务实现模型还包括至少一个实现组件,一个实现组件对应一个网络设备;该待配置通信业务的配置规则信息包括每个实现组件的配置规则信息,该待配置通信业务的配置参数包括每个实现组件的配置参数;处理器602具体可以执行以下操作:针对每个实现组件,根据该实现组件的配置规则信息,以及该实现组件的配置参数,生成该实现组件的配置命令;将每个实现组件的配置命令发送至与该实现组件对应的网络设备。In an implementation manner, the number of devices used to configure the communication service to be configured is at least one; the service realization model also includes at least one realization component, and one realization component corresponds to one network device; the configuration rules of the communication service to be configured The information includes the configuration rule information of each implementation component, and the configuration parameters of the communication service to be configured include the configuration parameters of each implementation component; the processor 602 can specifically perform the following operations: for each implementation component, according to the configuration rules of the implementation component Information, and the configuration parameters of the realization component, generate the configuration command of the realization component; send the configuration command of each realization component to the network device corresponding to the realization component.
在一种实现方式中,处理器602还可以执行以下操作:检测到针对前述业务实现模型中的目标实现组件的修改操作的情况下,对该目标实现组件的配置规则信息进行修改;根据修改后的目标实现组件的配置规则信息,以及该业务实现模型中除该目标实现组件以外的其他实现组件的配置规则信息,得到修改后的业务实现模型。In an implementation manner, the processor 602 may also perform the following operations: in the case of detecting a modification operation for the target realization component in the foregoing business realization model, modify the configuration rule information of the target realization component; The configuration rule information of the target realization component and the configuration rule information of other realization components in the business realization model except the target realization component, to obtain the modified business realization model.
在一种实现方式中,前述业务实现模型包括验证脚本;网络接口601还可以执行以下操作:将该验证脚本发送至前述网络设备;该验证脚本用于确定该待配置通信业务在该网络设备中是否配置成功。In an implementation manner, the foregoing service implementation model includes a verification script; the network interface 601 may also perform the following operations: send the verification script to the foregoing network device; the verification script is used to determine that the communication service to be configured is in the network device Whether the configuration is successful.
在一种实现方式中,前述业务实现模型包括监控策略;网络接口601还可以执行以下操作:将该监控策略发送至分析设备;该分析设备用于根据该监控策略对该网络设备执行待配置通信业务所得到的信息进行分析,得到分析信息;接收来自该分析设备的分析信息,该分析信息用于确定该待配置通信业务是否配置成功。In an implementation manner, the foregoing service implementation model includes a monitoring strategy; the network interface 601 can also perform the following operations: sending the monitoring strategy to an analysis device; the analysis device is used to perform communication to be configured on the network device according to the monitoring strategy The information obtained by the service is analyzed to obtain analysis information; the analysis information from the analysis device is received, and the analysis information is used to determine whether the communication service to be configured is successfully configured.
在一种实现方式中,该监控策略包括该网络设备的关键性能指标KPI,该分析信息包括该KPI的分析结果,该KPI的分析结果用于指示该KPI的取值是否异常;若该KPI的取值异常,则该待配置通信业务在该网络设备中未配置成功。In one implementation, the monitoring strategy includes the key performance indicator KPI of the network device, the analysis information includes the analysis result of the KPI, and the analysis result of the KPI is used to indicate whether the value of the KPI is abnormal; If the value is abnormal, the communication service to be configured is not successfully configured in the network device.
在一种实现方式中,该监控策略包括该网络设备的告警信息,该告警信息包括告警类型;该分析信息包括该网络设备是否产生该告警类型的告警;若该网络设备产生该告警类型的告警,则该待配置通信业务在该网络设备中未配置成功。In one implementation, the monitoring strategy includes alarm information of the network device, and the alarm information includes an alarm type; the analysis information includes whether the network device generates an alarm of the alarm type; if the network device generates an alarm of the alarm type , The communication service to be configured is not successfully configured in the network device.
在一种实现方式中,处理器602具体可以执行以下操作:获取在业务意图模型对应的参数输入界面中输入的待配置通信业务的输入参数;该业务意图模型由业务语言描述;将该业务意图模型对应的业务类型,确定为该待配置通信业务的业务类型。In an implementation manner, the processor 602 may specifically perform the following operations: obtain the input parameters of the communication service to be configured input in the parameter input interface corresponding to the business intent model; the business intent model is described by the business language; the business intent The service type corresponding to the model is determined as the service type of the communication service to be configured.
在一种实现方式中,网络接口601还可以执行以下操作:接收来自建模设备的业务意图模型和业务实现模型。In an implementation manner, the network interface 601 may also perform the following operations: receiving the business intention model and the business implementation model from the modeling device.
在一种实现方式中,该业务配置装置60包括多个实现组件的配置规则信息;处理器602还可以执行以下操作:根据该多个实现组件中的至少一个实现组件的配置规则信息创建前述业务实现模型。In an implementation manner, the service configuration device 60 includes configuration rule information of multiple implementation components; the processor 602 may also perform the following operations: create the foregoing service according to the configuration rule information of at least one implementation component of the multiple implementation components Implement the model.
进一步地,处理器602还可以执行图2-图4所示实施例中服务设备对应的操作,具体可参见方法实施例中的描述,此处不再赘述。Further, the processor 602 may also perform operations corresponding to the service device in the embodiment shown in FIG. 2 to FIG. 4. For details, please refer to the description in the method embodiment, which is not repeated here.
本领域技术人员还可以了解到本申请实施例列出的各种说明性逻辑块(illustrative logical block)和步骤(step)可以通过电子硬件、电脑软件,或两者的结合进行实现。这样的功能是通过硬件还是软件来实现取决于特定的应用和整个系统的设计要求。本领域技术人员可以对于每种特定的应用,可以使用各种方法实现所述的功能,但这种实现不应被理解为超出本申请实施例保护的范围。Those skilled in the art can also understand that the various illustrative logical blocks and steps listed in the embodiments of the present application can be implemented by electronic hardware, computer software, or a combination of the two. Whether such a function is realized by hardware or software depends on the specific application and the design requirements of the entire system. Those skilled in the art can use various methods to implement the described functions for each specific application, but such implementation should not be construed as going beyond the protection scope of the embodiments of the present application.
本申请实施例还提供一种计算机可读存储介质,可以用于存储图5所示实施例中业务配置装置所用的计算机程序指令,其包含用于执行上述实施例中为服务设备所设计的程序。The embodiment of the present application also provides a computer-readable storage medium, which can be used to store the computer program instructions used by the service configuration device in the embodiment shown in FIG. .
上述计算机可读存储介质包括但不限于快闪存储器、硬盘、固态硬盘。The above-mentioned computer-readable storage medium includes, but is not limited to, flash memory, hard disk, and solid-state hard disk.
本申请实施例还提供一种计算机程序产品,该计算机产品被计算设备运行时,可以执行上述图2-图4实施例中为服务设备所设计的方法。The embodiments of the present application also provide a computer program product. When the computer product is run by a computing device, it can execute the method designed for the service device in the above-mentioned embodiments of FIG. 2 to FIG. 4.
在本申请实施例中还提供一种芯片,包括处理器和存储器,该存储器用包括处理器和存储器,该存储器用于存储计算机程序,该处理器用于从存储器中调用并运行该计算机程序,该计算机程序用于实现上述方法实施例中的方法。In the embodiment of the present application, a chip is also provided, which includes a processor and a memory. The memory includes a processor and a memory. The memory is used to store a computer program. The processor is used to call and run the computer program from the memory. The computer program is used to implement the method in the above method embodiment.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机程序。在计算机上加载和执行所述计算机程序时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机程序可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机程序可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,高密度数字视频光盘(digital video disc,DVD))、或者半导体介质(例如,固态硬盘(solid state disk,SSD))等。In the foregoing embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented by software, it can be implemented in the form of a computer program product in whole or in part. The computer program product includes one or more computer programs. When the computer program is loaded and executed on the computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer program may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer program may be downloaded from a website, computer, server, or data center. Transmission to another website, computer, server, or data center via wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrated with one or more available media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a high-density digital video disc (digital video disc, DVD)), or a semiconductor medium (for example, a solid state disk, SSD)) etc.
本领域普通技术人员可以理解:本申请中涉及的第一、第二等各种数字编号仅为描述方便进行的区分,并不用来限制本申请实施例的范围,也表示先后顺序。A person of ordinary skill in the art can understand that the various digital numbers such as first and second involved in the present application are only for easy distinction for description, and are not used to limit the scope of the embodiments of the present application, but also indicate a sequence.
本申请中的至少一个还可以描述为一个或多个,多个可以是两个、三个、四个或者更多个,本申请不做限制。在本申请实施例中,对于一种技术特征,通过“第一”、“第二”、“第三”、“A”、“B”、“C”和“D”等区分该种技术特征中的技术特征,该“第一”、“第二”、“第三”、“A”、“B”、“C”和“D”描述的技术特征间无先后顺序或者大小顺序。At least one in this application can also be described as one or more, and the multiple can be two, three, four or more, which is not limited in this application. In the embodiments of this application, for a technical feature, the technical feature is distinguished by "first", "second", "third", "A", "B", "C", and "D", etc. For the technical features in “First”, “Second”, “Third”, “A”, “B”, “C” and “D”, there is no order or size order among the technical features.
本申请中各表所示的对应关系可以被配置,也可以是预定义的。各表中的信息的取值仅仅是举例,可以配置为其他值,本申请并不限定。在配置信息与各参数的对应关系时,并不一定要求必须配置各表中示意出的所有对应关系。例如,本申请中的表格中,某些行示出的对应关系也可以不配置。又例如,可以基于上述表格做适当的变形调整,例如,拆分,合并等等。上述各表中标题示出参数的名称也可以采用通信装置可理解的其他名称,其参数的取值或表示方式也可以通信装置可理解的其他取值或表示方式。上述各表在实现时,也可以采用其他的数据结构,例如可以采用数组、队列、容器、栈、线性表、指针、链表、树、图、结构体、类、堆、散列表或哈希表等。The corresponding relationships shown in the tables in this application can be configured or pre-defined. The value of the information in each table is only an example, and can be configured to other values, which is not limited in this application. When configuring the correspondence between the information and the parameters, it is not necessarily required to configure all the correspondences indicated in the tables. For example, in the table in this application, the corresponding relationship shown in some rows may not be configured. For another example, appropriate deformation adjustments can be made based on the above table, such as splitting, merging, and so on. The names of the parameters shown in the titles in the above tables may also adopt other names that can be understood by the communication device, and the values or expressions of the parameters may also be other values or expressions that can be understood by the communication device. When the above tables are implemented, other data structures can also be used, such as arrays, queues, containers, stacks, linear tables, pointers, linked lists, trees, graphs, structures, classes, heaps, hash tables, or hash tables. Wait.
本申请中的预定义可以理解为定义、预先定义、存储、预存储、预协商、预配置、固化、或预烧制。The pre-definition in this application can be understood as definition, pre-definition, storage, pre-storage, pre-negotiation, pre-configuration, curing, or pre-fired.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。A person of ordinary skill in the art may be aware that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered as going beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装 置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and conciseness of the description, the specific working process of the system, device and unit described above can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific implementations of this application, but the protection scope of this application is not limited to this. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in this application. Should be covered within the scope of protection of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.
Claims (18)
- 一种业务配置方法,应用于服务设备,其特征在于,所述方法包括:A service configuration method applied to a service device, characterized in that the method includes:获取针对待配置通信业务的输入参数;Obtain input parameters for the communication service to be configured;确定所述待配置通信业务的业务类型;Determining the service type of the communication service to be configured;根据所述业务类型和所述输入参数,得到所述待配置通信业务的配置参数;Obtaining the configuration parameters of the communication service to be configured according to the service type and the input parameters;根据所述待配置通信业务的配置参数,生成针对网络设备的配置命令,所述网络设备为用于配置所述待配置通信业务的设备;Generating a configuration command for a network device according to the configuration parameters of the communication service to be configured, where the network device is a device used to configure the communication service to be configured;将所述配置命令发送至所述网络设备。Sending the configuration command to the network device.
- 根据权利要求1所述的方法,其特征在于,所述根据所述待配置通信业务的配置参数,生成针对网络设备的配置命令,包括:The method according to claim 1, wherein the generating a configuration command for a network device according to the configuration parameters of the communication service to be configured comprises:确定所述待配置通信业务的配置规则信息;Determining the configuration rule information of the communication service to be configured;根据所述待配置通信业务的配置规则信息,以及所述待配置通信业务的配置参数,生成针对网络设备的配置命令。According to the configuration rule information of the communication service to be configured and the configuration parameters of the communication service to be configured, a configuration command for the network device is generated.
- 根据权利要求2所述的方法,其特征在于,所述根据所述业务类型和所述输入参数,得到所述待配置通信业务的配置参数,包括:The method according to claim 2, wherein the obtaining the configuration parameters of the communication service to be configured according to the service type and the input parameters comprises:确定所述业务类型对应的业务实现模型;Determine the service realization model corresponding to the service type;将所述输入参数转换为所述业务实现模型所需的配置参数,所述业务实现模型所需的配置参数为所述待配置通信业务的配置参数。The input parameters are converted into configuration parameters required by the service realization model, and the configuration parameters required by the service realization model are the configuration parameters of the communication service to be configured.
- 根据权利要求3所述的方法,其特征在于,所述业务实现模型包括所述待配置通信业务的配置规则信息。The method according to claim 3, wherein the service realization model includes configuration rule information of the communication service to be configured.
- 根据权利要求4所述的方法,其特征在于,用于配置所述待配置通信业务的设备的数量为至少一个;所述业务实现模型还包括至少一个实现组件,一个所述实现组件对应一个所述网络设备;所述待配置通信业务的配置规则信息包括每个所述实现组件的配置规则信息,所述待配置通信业务的配置参数包括每个所述实现组件的配置参数;The method according to claim 4, wherein the number of devices used to configure the communication service to be configured is at least one; the service realization model further comprises at least one realization component, and one realization component corresponds to one The network device; the configuration rule information of the communication service to be configured includes the configuration rule information of each of the realization components, and the configuration parameter of the communication service to be configured includes the configuration parameters of each of the realization components;所述根据所述待配置通信业务的配置规则信息,以及所述待配置通信业务的配置参数,生成针对网络设备的配置命令,包括:The generating a configuration command for a network device according to the configuration rule information of the communication service to be configured and the configuration parameters of the communication service to be configured includes:针对每个所述实现组件,根据所述实现组件的配置规则信息,以及所述实现组件的配置参数,生成所述实现组件的配置命令;For each implementation component, generate a configuration command of the implementation component according to the configuration rule information of the implementation component and the configuration parameters of the implementation component;将所述配置命令发送至所述网络设备,包括:Sending the configuration command to the network device includes:将每个所述实现组件的配置命令发送至与所述实现组件对应的网络设备。The configuration command of each realization component is sent to the network device corresponding to the realization component.
- 根据权利要求5所述的方法,其特征在于,所述方法还包括:The method according to claim 5, wherein the method further comprises:在检测到针对所述业务实现模型中的目标实现组件的修改操作的情况下,对所述目标 实现组件的配置规则信息进行修改;In the case of detecting a modification operation for the target realization component in the business realization model, modify the configuration rule information of the target realization component;根据修改后的所述目标实现组件的配置规则信息,以及所述业务实现模型中除所述目标实现组件以外的其他实现组件的配置规则信息,得到修改后的所述业务实现模型。According to the modified configuration rule information of the target realization component and the configuration rule information of other realization components in the service realization model except for the target realization component, the modified service realization model is obtained.
- 根据权利要求3~6中任一项所述的方法,其特征在于,所述业务实现模型包括验证脚本;所述方法还包括:The method according to any one of claims 3 to 6, wherein the service realization model comprises a verification script; and the method further comprises:将所述验证脚本发送至所述网络设备;所述验证脚本用于确定所述待配置通信业务在所述网络设备中是否配置成功。The verification script is sent to the network device; the verification script is used to determine whether the communication service to be configured is successfully configured in the network device.
- 根据权利要求3~7中任一项所述的方法,其特征在于,所述业务实现模型包括监控策略;所述方法还包括:The method according to any one of claims 3-7, wherein the service realization model includes a monitoring strategy; the method further includes:将所述监控策略发送至分析设备;所述分析设备用于根据所述监控策略对所述网络设备执行所述待配置通信业务所得到的信息进行分析,得到分析信息;Sending the monitoring strategy to an analysis device; the analysis device is configured to analyze the information obtained by the network device from executing the communication service to be configured according to the monitoring strategy to obtain analysis information;接收来自所述分析设备的分析信息,所述分析信息用于确定所述待配置通信业务是否配置成功。Receive analysis information from the analysis device, where the analysis information is used to determine whether the communication service to be configured is successfully configured.
- 根据权利要求8所述的方法,其特征在于,所述监控策略包括所述网络设备的关键性能指标KPI,所述分析信息包括所述KPI的分析结果,所述KPI的分析结果用于指示所述KPI的取值是否异常;若所述KPI的取值异常,则所述待配置通信业务在所述网络设备中未配置成功。The method according to claim 8, wherein the monitoring strategy includes the key performance indicator KPI of the network device, the analysis information includes the analysis result of the KPI, and the analysis result of the KPI is used to indicate all Whether the value of the KPI is abnormal; if the value of the KPI is abnormal, the communication service to be configured is not successfully configured in the network device.
- 根据权利要求8所述的方法,其特征在于,所述监控策略包括所述网络设备的告警信息,所述告警信息包括告警类型;所述分析信息包括所述网络设备是否产生所述告警类型的告警;若所述网络设备产生所述告警类型的告警,则所述待配置通信业务在所述网络设备中未配置成功。The method according to claim 8, wherein the monitoring strategy includes alarm information of the network device, the alarm information includes an alarm type; the analysis information includes whether the network device generates the alarm type Alarm; if the network device generates an alarm of the alarm type, the communication service to be configured is not successfully configured in the network device.
- 根据权利要求3~10中任一项所述的方法,其特征在于,所述获取针对待配置通信业务的输入参数,包括:The method according to any one of claims 3 to 10, wherein the obtaining input parameters for the communication service to be configured comprises:获取在业务意图模型对应的参数输入界面中输入的待配置通信业务的输入参数;所述业务意图模型由业务语言描述;Acquiring the input parameters of the communication service to be configured entered in the parameter input interface corresponding to the business intent model; the business intent model is described by the business language;确定所述待配置通信业务的业务类型,包括:Determining the service type of the communication service to be configured includes:将所述业务意图模型对应的业务类型,确定为所述待配置通信业务的业务类型。The service type corresponding to the service intent model is determined as the service type of the communication service to be configured.
- 根据权利要求11所述的方法,其特征在于,所述方法还包括:The method according to claim 11, wherein the method further comprises:接收来自建模设备的所述业务意图模型和所述业务实现模型。Receive the business intent model and the business realization model from the modeling device.
- 根据权利要求11所述的方法,其特征在于,所述服务设备包括多个实现组件的配置规则信息;所述方法还包括:The method according to claim 11, wherein the service device includes configuration rule information of multiple implementation components; the method further comprises:根据所述多个实现组件中的至少一个实现组件的配置规则信息创建所述业务实现模型。The business realization model is created according to the configuration rule information of at least one realization component of the plurality of realization components.
- 一种业务配置装置,其特征在于,包括用于执行如权利要求1~13中任一项所述的方法的单元。A service configuration device, characterized by comprising a unit for executing the method according to any one of claims 1-13.
- 一种业务配置装置,其特征在于,所述装置包括处理器和存储器,所述存储器中存储有程序指令,所述处理器执行所述存储器中存储的程序指令,以使所述装置执行如权利要求1~13中任一项所述的方法。A service configuration device, characterized in that the device includes a processor and a memory, and program instructions are stored in the memory, and the processor executes the program instructions stored in the memory so that the device executes The method of any one of 1-13 is required.
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令被业务配置装置执行时使所述业务配置装置执行如权利要求1~13中任一项所述的方法。A computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, the computer program includes program instructions, and when the program instructions are executed by a service configuration device, the service configuration device executes The method of any one of claims 1-13.
- 一种包含指令的计算机程序产品,其特征在于,当其在计算机上运行时,使得计算机执行如权利要求1~13中任一项所述的方法。A computer program product containing instructions, which is characterized in that when it runs on a computer, the computer executes the method according to any one of claims 1-13.
- 一种通信系统,其特征在于,包括:执行如权利要求1~13中任一项所述方法的服务设备和与所述服务设备通信的其他设备。A communication system, characterized by comprising: a service device that executes the method according to any one of claims 1 to 13 and other devices that communicate with the service device.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010482835.0 | 2020-05-30 | ||
CN202010482835.0A CN113746657A (en) | 2020-05-30 | 2020-05-30 | Service configuration method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021244441A1 true WO2021244441A1 (en) | 2021-12-09 |
Family
ID=78727812
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/096918 WO2021244441A1 (en) | 2020-05-30 | 2021-05-28 | Service configuration method and apparatus therefor |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN113746657A (en) |
WO (1) | WO2021244441A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115412605A (en) * | 2022-08-02 | 2022-11-29 | 中国电信股份有限公司 | Network message sending method and network equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101242305A (en) * | 2008-02-25 | 2008-08-13 | 中兴通讯股份有限公司 | Parameter configuration method and device for network device |
CN101465758A (en) * | 2009-01-14 | 2009-06-24 | 华为技术有限公司 | Method for managing equipment, system and network management server |
CN107919973A (en) * | 2016-10-08 | 2018-04-17 | 华为技术有限公司 | Method and apparatus for Configuration network device parameter |
CN108667638A (en) * | 2017-03-28 | 2018-10-16 | 华为技术有限公司 | A kind of network service configuration method and network management device |
CN109870991A (en) * | 2019-03-26 | 2019-06-11 | 京东方科技集团股份有限公司 | Configuration method, the device and system of device parameter |
CN110474792A (en) * | 2018-05-11 | 2019-11-19 | 华为技术有限公司 | Network collocating method, equipment and system |
CN111181758A (en) * | 2019-08-01 | 2020-05-19 | 腾讯科技(深圳)有限公司 | Configuration file generation method and device |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100440809C (en) * | 2006-11-13 | 2008-12-03 | 杭州华三通信技术有限公司 | Method and device for service configuration of network equipment |
CN103368781B (en) * | 2013-07-29 | 2016-08-31 | 成都广达新网科技股份有限公司 | A kind of cluster Network Management Equipment method of automatic configuration based on XML |
WO2017132995A1 (en) * | 2016-02-05 | 2017-08-10 | 广东欧珀移动通信有限公司 | Service transmission method and device |
CN107889259A (en) * | 2016-09-30 | 2018-04-06 | 中兴通讯股份有限公司 | The indicating means and device of configuration information, base station, terminal |
EP3609161B1 (en) * | 2017-05-22 | 2021-08-04 | Huawei Technologies Co., Ltd. | Network slice creating method and apparatus, and communication system |
CN109218060B (en) * | 2017-07-07 | 2023-04-07 | 中兴通讯股份有限公司 | Method and device for driving flow table by service configuration |
CN108365974A (en) * | 2018-01-17 | 2018-08-03 | 南京邮电大学 | A method of it is configured for network element device multi-service automatized script |
CN111131516B (en) * | 2019-12-31 | 2022-09-27 | 中国联合网络通信集团有限公司 | Service configuration method and device |
-
2020
- 2020-05-30 CN CN202010482835.0A patent/CN113746657A/en active Pending
-
2021
- 2021-05-28 WO PCT/CN2021/096918 patent/WO2021244441A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101242305A (en) * | 2008-02-25 | 2008-08-13 | 中兴通讯股份有限公司 | Parameter configuration method and device for network device |
CN101465758A (en) * | 2009-01-14 | 2009-06-24 | 华为技术有限公司 | Method for managing equipment, system and network management server |
CN107919973A (en) * | 2016-10-08 | 2018-04-17 | 华为技术有限公司 | Method and apparatus for Configuration network device parameter |
CN108667638A (en) * | 2017-03-28 | 2018-10-16 | 华为技术有限公司 | A kind of network service configuration method and network management device |
CN110474792A (en) * | 2018-05-11 | 2019-11-19 | 华为技术有限公司 | Network collocating method, equipment and system |
CN109870991A (en) * | 2019-03-26 | 2019-06-11 | 京东方科技集团股份有限公司 | Configuration method, the device and system of device parameter |
CN111181758A (en) * | 2019-08-01 | 2020-05-19 | 腾讯科技(深圳)有限公司 | Configuration file generation method and device |
Also Published As
Publication number | Publication date |
---|---|
CN113746657A (en) | 2021-12-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022011862A1 (en) | Method and system for communication between o-ran and mec | |
CN108776934B (en) | Distributed data calculation method and device, computer equipment and readable storage medium | |
EP3072260B1 (en) | Methods, systems, and computer readable media for a network function virtualization information concentrator | |
CN111258627B (en) | Interface document generation method and device | |
CN110704518A (en) | Business data processing method and device based on Flink engine | |
WO2019206100A1 (en) | Feature engineering programming method and apparatus | |
RU2697648C2 (en) | Traffic classification system | |
CN110795147A (en) | Interface protocol file management method and device | |
WO2024148833A1 (en) | Container multi-network-interface-card network configuration method, apparatus, and device, and storage medium | |
WO2021244441A1 (en) | Service configuration method and apparatus therefor | |
CN110019158A (en) | A kind of method and apparatus of monitoring data quality | |
JP7405955B2 (en) | Communication methods and devices for multiple management areas | |
CN114928574B (en) | Information transmission method, apparatus, electronic device, and computer-readable medium | |
US11902804B2 (en) | Fault triage and management with restricted third-party access to a tenant network | |
CN108093036A (en) | A kind of method and device for obtaining resource | |
US9547747B2 (en) | Distributed internet protocol network analysis model with real time response performance | |
WO2021073413A1 (en) | Method and apparatus for sending system performance parameters, management device, and storage medium | |
CN113778818A (en) | Method, apparatus, device and computer readable medium for optimizing system | |
CN113726855B (en) | Service aggregation method, device, electronic equipment and computer-readable storage medium | |
WO2022111311A1 (en) | Network slicing method and apparatus, electronic device, and storage medium | |
US11455558B2 (en) | Method and system for managing events using automated rule generation | |
CN110852537B (en) | Quality of service detection method and device | |
Pencheva et al. | Programmability of policy control at the edge of the mobile network | |
EP4440065A1 (en) | Method and apparatus for model transmission state analysis in subscription network, and readable storage medium | |
CN118227189B (en) | Data processing method and abnormality prompting method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21818913 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21818913 Country of ref document: EP Kind code of ref document: A1 |