A method for implementing an application and a business controller
The service controller automatically matches applications and network resources in SDN, which solves the difficulty and efficiency problems of manual matching of resources by application developers, and achieves more efficient application implementation.
Patent Information
- Application Number
- CN202010777562.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2015-06-29
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2035-06-29
AI Technical Summary
In the software-defined network (SDN) ecosystem, application developers need to manually match network resources, which leads to increased development difficulty and reduced efficiency, and is affected by technical capabilities and network technology mastery.
The service controller is introduced to receive the description information of the application server through the northbound interface, determine the target network resource information, and send the calling instructions carrying the network policy to the network controller to automatically match the application and network resources and reduce manual intervention.
It reduces the difficulty of application development and improves the efficiency of application implementation, automatically matches applications and network resources, reduces manual operations, and improves application implementation efficiency.
Smart Images

Figure CN112073214B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a method for implementing an application and a service controller. Background Art
[0002] In the software defined network (SDN) ecosystem, the northbound interface is an important concept.
[0003] like Figure 1 As shown, in the prior art, the network architecture diagram of SDN usually includes a device layer, a control layer, and an application layer. Among them, the application layer and the control layer communicate through the northbound interface, and the control layer and the device layer communicate through the southbound interface. Developers obtain the network resources of the network devices in the device layer from the network control system through the northbound interface, and provide the network resources to the application layer. Application developers can develop applications based on the network resources in the application layer, so that the developed applications are matched with the network resources, and then call the network resources through the northbound interface to implement the application.
[0004] However, in the existing technology, due to the influence of the application developers' own technical capabilities and their mastery of network technology, it is easy for the developed applications to not match the network resources. Application developers need to develop applications based on network resource information, which increases the difficulty of application development and requires manual sending of network policies to the network controller, affecting the efficiency of application implementation. Summary of the invention
[0005] The embodiment of the present invention provides a method for implementing an application and a business controller, which are used to reduce the difficulty of application development and improve the efficiency of application implementation.
[0006] A first aspect of an embodiment of the present invention provides a method for implementing an application, including:
[0007] The service controller receives the description information of the first application sent by the application server through the northbound interface;
[0008] The service controller determines target network resource information according to the description information, where the target network resource information is used to indicate the target network resource required to implement the first application;
[0009] The service controller sends a call instruction carrying a network policy to the network controller, where the call instruction is used to instruct the network controller to call the target network resource according to the network policy to implement the first application.
[0010] In combination with the first aspect of the embodiment of the present invention, in a first implementation manner of the first aspect of the embodiment of the present invention, the service controller sending a call instruction carrying a network policy to the network controller includes:
[0011] When the service controller determines that the target network resource indicated by the target network resource information is currently in an idle state, the service controller sends a call instruction carrying a network policy to the network controller.
[0012] In combination with the first implementation of the first aspect of the embodiment of the present invention, in a second implementation of the first aspect of the embodiment of the present invention, the service controller determines that the target network resource is currently in an idle state, including:
[0013] The service controller determines that the target network resource information is included in the network resource information of the network resource information base, where the network resource information is used to indicate idle network resources of the network device.
[0014] In combination with the second implementation of the first aspect of the embodiment of the present invention, in a third implementation of the first aspect of the embodiment of the present invention, before the service controller determines that the target network resource is currently in an idle state, it also includes:
[0015] The service controller obtains network resource information from the network controller, where the network resource information is used to indicate idle network resources of a network device;
[0016] The service controller stores the network resource information in the network resource information base.
[0017] In combination with the first implementation manner of the first aspect of the embodiment of the present invention, in a fourth implementation manner of the first aspect of the embodiment of the present invention, the service controller determines that the target network resource indicated by the target network resource information is currently in an idle state, including:
[0018] The service controller searches for a state identifier of the target network resource in a network resource information base according to the target network resource information, and determines that the target network resource is currently in an idle state according to the state identifier.
[0019] In combination with the first aspect of the embodiment of the present invention, in a fifth implementation manner of the first aspect of the embodiment of the present invention, the service controller sending a call instruction carrying a network policy to the network controller includes:
[0020] When the service controller determines that the target network resource indicated by the target network resource information is currently in an occupied state, and the priority of the first application is greater than the priority of the second application, and the second application occupies the target network resource, the service controller sends a call instruction carrying the network policy to the network controller;
[0021] The calling instruction is used to instruct the network controller to call the target network resource according to the network policy to implement the first application, including:
[0022] The calling instruction is used to instruct the network controller to release the occupied target network resources according to the network policy, and to call the target network resources to implement the first application.
[0023] In combination with the fifth implementation manner of the first aspect of the embodiment of the present invention, in a sixth implementation manner of the first aspect of the embodiment of the present invention, the service controller determines that the target network resource indicated by the target network resource information is currently in an occupied state, including:
[0024] The service controller determines that the target network resource information is not included in the network resource information of the network resource information base, where the network resource information is used to indicate idle network resources of a network device.
[0025] In combination with the sixth implementation manner of the first aspect of the embodiment of the present invention, in a seventh implementation manner of the first aspect of the embodiment of the present invention, before the service controller determines that the target network resource indicated by the target network resource information is currently in an occupied state, it also includes:
[0026] The service controller obtains network resource information from the network controller, where the network resource information is used to indicate idle network resources of a network device;
[0027] The service controller stores the network resource information in the network resource information base.
[0028] In combination with the fifth implementation of the first aspect of the embodiment of the present invention, in an eighth implementation of the first aspect of the embodiment of the present invention, the service controller determines that the target network resource is currently in an occupied state, including:
[0029] The service controller searches for a state identifier of the target network resource in a network resource library according to the target network resource information, and determines, according to the state identifier, that the target network resource is currently in an occupied state.
[0030] In combination with the eighth implementation manner of the first aspect of the embodiment of the present invention, in a ninth implementation manner of the first aspect of the embodiment of the present invention, before the service controller determines that the target network resource indicated by the target network resource information is currently in an occupied state, it also includes:
[0031] The service controller obtains the target network resource information and a status identifier of the target network resource;
[0032] The service controller stores the target network resource information and the state identifier of the target network resource in a network resource information base.
[0033] In conjunction with the first aspect or the second implementation manner of the first aspect or the third implementation manner of the first aspect or the fourth implementation manner of the first aspect or the fifth implementation manner of the first aspect or the sixth implementation manner of the first aspect or the seventh implementation manner of the first aspect or the eighth implementation manner of the first aspect or the ninth implementation manner of the first aspect of the embodiment of the present invention, in a tenth implementation manner of the first aspect of the embodiment of the present invention, before the service controller sends a call instruction carrying a network policy to the network controller, it also includes:
[0034] The service controller generates the network policy;
[0035] or,
[0036] The service controller receives the network policy sent by the user terminal through the northbound interface.
[0037] A second aspect of an embodiment of the present invention provides a service controller, including:
[0038] A northbound interface, used to receive description information of a first application sent by an application server;
[0039] a determining unit, configured to determine target network resource information according to the description information, wherein the target network resource information is used to indicate a target network resource required to implement the first application;
[0040] The processing unit is used to send a calling instruction carrying a network policy to the network controller, wherein the calling instruction is used to instruct the network controller to call the target network resource according to the network policy to implement the first application.
[0041] In combination with the second aspect of the embodiment of the present invention, in a first implementation method of the second aspect of the embodiment of the present invention, the processing unit is specifically used to send a call instruction carrying the network policy to the network controller when it is determined that the target network resource indicated by the target network resource information is currently in an idle state.
[0042] In combination with the first implementation method of the second aspect of the embodiment of the present invention, in the second implementation method of the second aspect of the embodiment of the present invention, the processing unit is specifically used to determine that the network resource information of the network resource information library contains the target network resource information, and the network resource information is used to indicate the idle network resources of the network device.
[0043] In combination with the second implementation of the second aspect of the embodiment of the present invention, in a third implementation of the second aspect of the embodiment of the present invention, the following further includes:
[0044] A first acquisition unit, configured to acquire network resource information from the network controller, wherein the network resource information is used to indicate idle network resources of a network device;
[0045] The first storage unit is used to store the network resource information in the network resource information library.
[0046] In combination with the first implementation method of the second aspect of the embodiment of the present invention, in the fourth implementation method of the second aspect of the embodiment of the present invention, the processing unit is specifically used to search for the status identifier of the target network resource in the network resource information library based on the target network resource information, and determine that the target network resource is currently in an idle state based on the status identifier.
[0047] In combination with the second aspect of the embodiment of the present invention, in a fifth implementation manner of the second aspect of the embodiment of the present invention, the processing unit is specifically configured to:
[0048] When it is determined that the target network resource indicated by the target network resource information is currently in an occupied state, and the priority of the first application is greater than the priority of the second application, and the second application occupies the target network resource, the service controller sends a call instruction carrying the network policy to the network controller, and the call instruction is used to instruct the network controller to release the occupied target network resource in accordance with the network policy, and call the target network resource to implement the first application.
[0049] In combination with the fifth implementation method of the second aspect of the embodiment of the present invention, in the sixth implementation method of the second aspect of the embodiment of the present invention, the processing unit is specifically used to determine that the target network resource information is absent in the network resource information of the network resource information library, and the network resource information is used to indicate the idle network resources of the network device.
[0050] In combination with the sixth implementation of the second aspect of the embodiment of the present invention, in a seventh implementation of the second aspect of the embodiment of the present invention, the seventh implementation further includes:
[0051] A second acquisition unit, configured to acquire network resource information from the network controller, wherein the network resource information is used to indicate idle network resources of a network device;
[0052] The second storage unit is used to store the network resource information in the network resource information library.
[0053] In combination with the fifth implementation method of the second aspect of the embodiment of the present invention, in the eighth implementation method of the second aspect of the embodiment of the present invention, the processing unit is specifically used to search for the status identifier of the target network resource in the network resource library based on the target network resource information, and the status identifier indicates that the target network resource is currently in an occupied state.
[0054] In conjunction with the eighth implementation of the second aspect of the embodiment of the present invention, in a ninth implementation of the second aspect of the embodiment of the present invention, the following further includes:
[0055] A third acquisition unit, used to acquire the target network resource information and the state identifier of the target network resource;
[0056] The third storage unit is used to store the target network resource information and the state identifier of the target network resource in a network resource information library.
[0057] In combination with the second aspect or the second implementation manner of the second aspect or the third implementation manner of the second aspect or the fourth implementation manner of the second aspect or the fifth implementation manner of the second aspect or the sixth implementation manner of the second aspect or the seventh implementation manner of the second aspect or the eighth implementation manner of the second aspect or the ninth implementation manner of the second aspect of the embodiment of the present invention, in the tenth implementation manner of the second aspect of the embodiment of the present invention, the processing unit is further used to generate the network policy before sending a call instruction carrying the network policy to the network controller; or, to receive the network policy sent by the user terminal through the northbound interface.
[0058] The application of the technical solution of the present invention has the following beneficial effects:
[0059] The business controller receives the description information sent by the application server through the northbound interface, and determines the target network resource information through the description information. The target network resource information is used to indicate the target network resource for implementing the application. Compared with the existing technology, developers do not need to develop applications in combination with network resource information when developing applications. The business controller can automatically match the application with the network resources, thereby reducing the difficulty of application development. The business controller can send a call instruction carrying the network policy to the network controller without manually sending the network policy, thereby improving the efficiency of application implementation. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] Figure 1 A schematic diagram of an SDN network architecture in the prior art;
[0061] Figure 2 This is a schematic diagram of an SDN network architecture in an embodiment of the present invention;
[0062] Figure 3 A schematic diagram of a flow chart of a method for implementing an application in an embodiment of the present invention;
[0063] Figure 4 A flowchart of another method for implementing an application in an embodiment of the present invention;
[0064] Figure 5 A schematic diagram of the structure of a business information model in an embodiment of the present invention;
[0065] Figure 6 This is a schematic diagram of the structure of a service controller in an embodiment of the present invention;
[0066] Figure 7 This is a schematic diagram of the structure of another service controller in an embodiment of the present invention;
[0067] Figure 8 The figure is a schematic diagram of a physical device structure of a service controller in an embodiment of the present invention. DETAILED DESCRIPTION
[0068] The embodiment of the present invention provides a method for implementing an application and a business controller, which are used to reduce the difficulty of application development and improve the efficiency of application implementation.
[0069] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0070] In order to prevent developers (human factors) from affecting the matching of network resources and applications and improve the success rate of application implementation, the embodiments of the present invention propose a new SND architecture and a method for implementing applications in the architecture.
[0071] See also Figure 2 , is a diagram of the SDN architecture provided in an embodiment of the present invention. In an embodiment of the present invention, the original control layer is divided into two parts, one part is a service controller, the service controller includes a northbound interface and communicates with the application layer through the northbound interface, and the other part is a network controller, the network controller includes a southbound interface (not shown in the figure). The method for implementing the application described in the embodiment of the present invention is executed by the service controller.
[0072] See also Figure 3 , a method for implementing an application in an embodiment of the present invention includes:
[0073] 101. A service controller receives description information of a first application sent by an application server through a northbound interface.
[0074] It is understandable that after the application developer develops the first application, the application server can send the description information of the first application to the service controller through the northbound interface.
[0075] The description information may include one or more of the following information: application type, application quality, and application identifier.
[0076] 102. The service controller determines target network resource information according to the description information, where the target network resource information is used to indicate target network resources required to implement the first application.
[0077] It can be understood that a correspondence between the description information and the network resource information is preset in the service controller, and the service controller can use the correspondence to search for the target network resource information corresponding to the description information.
[0078] 103. The service controller sends a call instruction carrying a network policy to the network controller, where the call instruction is used to instruct the network controller to call the target network resource according to the network policy to implement the first application.
[0079] It can be understood that after determining the target network resource information, the target network resource for implementing the first application is determined based on the target network resource information. The business controller can send a call instruction carrying a network policy to the network controller, and enable the network control to call the target network resource according to the network policy to implement the first application.
[0080] In an embodiment of the present invention, the service controller receives description information sent by the application server, and determines the target network resource information through the description information. The target network resource information is used to indicate the target network resource for implementing the application. Then, the service controller sends a call instruction carrying a network policy to the network controller, so that the network controller calls the target network resource according to the network policy to implement the application. Compared with the prior art, developers do not need to develop applications in combination with network resource information, thereby reducing the difficulty of application development. Moreover, the service controller can send a call instruction carrying the network policy to the network controller through the northbound interface, without manually sending the network policy, thereby improving the efficiency of application implementation. Figure 3 Based on the above, the method can be further extended, such as Figure 4As shown, another application implementation method in the embodiment of the present invention includes:
[0081] 201. A service controller receives description information of a first application sent by an application server.
[0082] The description information includes at least one of the following information: application type, application quality, and application identifier.
[0083] Among them, the identification of the application may include the name of the application software, the IP address of the application, the terminal type, etc. The type of the application may include the service type, the playback mode, the video resolution, etc. The quality of the application may include the user experience (English: mean opinion score, abbreviated: MOS) value and the key quality index (English: key quality index, abbreviated: KQI) value. For example, the description information based on the development of the Internet (English: Over The Top, abbreviated: OTT) application includes the playback mode, application software name, resolution, and MOS value, as shown in Table 1 below:
[0084] Table 1
[0085] Playback method Application software name Resolution MOS value Description information 1 live streaming OTT Standard Definition 4 Description information 1 On Demand OTT HD 4
[0086] 202. The service controller determines target network resource information according to the description information, where the target network resource information is used to indicate network resources required by the first application.
[0087] It can be understood that a correspondence between the description information and the network resource information is preset in the service controller, and the service controller can use the correspondence to search for the target network resource information corresponding to the description information.
[0088] The network resource information may include one or more of network status information, network topology information, network function information and network link information. For example, the network resource information corresponding to the OTT application is the network link information, which is used to indicate the network link required to implement the OTT application. The network link information includes bandwidth, packet loss, delay and jitter, as shown in Table 2 below:
[0089] Table 2
[0090] bandwidth Packet loss Latency Jitter Network link information 1 >4Mbps <1s <0.5% <1% Network link information 2 >8Mbps <5s <1% <0.5%
[0091] The correspondence between the description information of the OTT application and the network link information may be preset, as shown in Table 3 below:
[0092] Description information 1 Network link information 1 Description 2 Network link information 2
[0093] Therefore, when the service controller receives description information 1 of the first application sent by the application server, it can be determined that the target network resource information corresponding to the description information 1 is network link information 1 .
[0094] 203. The service controller sends a call instruction carrying a network policy to the network controller, where the call instruction is used to instruct the network controller to call the target network resource according to the network policy to implement the first application.
[0095] It should be noted that after determining the target network resource information, the service controller first determines whether the target network resource indicated by the target network resource information is in an idle state. If the target network resource is in an idle state, a call instruction carrying a network policy is sent to the network controller in accordance with step 203a, so that the network control calls the target network resource according to the network policy to implement the first application. If the target network resource is in an occupied state, a call instruction carrying a network policy is sent to the network controller in accordance with step 203b, so that the network control calls the target network resource according to the network policy to implement the first application.
[0096] 203a. When the service controller determines that the target network resource indicated by the target network resource information is currently in an idle state, the service controller sends a call instruction carrying a network policy to the network controller, so that the network controller calls the target network resource according to the network policy to implement the first application.
[0097] It can be understood that after determining the target network resource information, the service controller determines that the target network resource is in an idle state, and then sends a call instruction carrying a network policy to the network controller, and the network controller calls the target network resource according to the network policy to implement the first application. For example, when the service controller determines that the network link indicated by network link resource 1 is in an idle state, the service controller sends a call instruction to the network controller, so that the network controller calls the network link to implement the OTT application.
[0098] Optionally, in step 203a of this embodiment, the service controller determines that the target network resource indicated by the target network resource information is currently in an idle state in at least two of the following ways:
[0099] 1. The service controller determines that the target network resource information is included in the network resource information of the network resource information base, and the network resource information is used to indicate the idle network resources of the network device.
[0100] It can be understood that the network resource library of the business controller stores network resource information for indicating the idle network resources of the underlying network equipment. Therefore, the business controller can compare the target network resource information with the network resource information in the network resource library. When it is determined that the network resource information of the network resource library contains the target network resource information, it means that the target network resource indicated by the target network resource information is in an idle state.
[0101] Optionally, before the service controller determines that the network resource information in the network resource information base contains the target network resource information, the service controller may pre-build the network resource information base, obtain the network resource information, and then store the network resource information in the network resource information base.
[0102] The service controller may directly obtain the idle network resources of the network device, or may obtain the idle network resources of the network device from the network controller, which is not specifically limited here.
[0103] 2. The service controller searches for a state identifier of the target network resource in a network resource information base according to the target network resource information, and determines that the target network resource is currently in an idle state according to the state identifier.
[0104] The status identifier is used to indicate the status of the network resource, and the status includes occupied or idle.
[0105] It can be understood that the network resource library of the service controller stores all network resource information of the underlying network devices and the corresponding status identifiers of all network resources. The service controller can use the target network resource information to search for the status identifier of the corresponding target network resource in the network resource information library. When the status identifier indicates idle, it means that the target network resource is in an idle state. For example, it can be determined that the target network resource of the OTT application is in an idle state through the network link information and status identifier shown in Table 4 below.
[0106] Table 4
[0107] Network link information 1 idle Network link information 2 Occupancy Network link information 3 idle Network link information 4 Occupancy
[0108] Optionally, before the business controller searches for the status identifier of the target network resource in the network resource information library based on the target network resource information, the business controller can pre-build a network resource information library and obtain all network resource information in the underlying network device, while recording the status identifier of the network resource, and then store the network resource information and the corresponding network resource status identifier in the network resource information library.
[0109] 203b. When the service controller determines that the target network resource indicated by the target network resource information is currently occupied and the priority of the first application is greater than the priority of the second application, and the second application occupies the target network resource, the service controller releases the occupied target network resource and uses the target network resource to implement the first application.
[0110] It can be understood that after the service controller determines that the target network resource is in an occupied state, it continues to determine whether the priority of the first application is greater than the priority of the second application, and the second application occupies the target network resource. If so, the target network resource is called to implement the first application. If not, feedback is given to the application layer that the application cannot be implemented.
[0111] Optionally, in this embodiment, the priority can be set according to the type of application, and then the service controller can compare the priority of the first application and the second application according to the type of application. For example, the priority of the OTT application can be set to be higher than the priority of the interactive network television (Internet Protocol Television, IPTV) application. Therefore, when the first application is an OTT application, if the second application is an IPTV application, it can be determined that the priority of the first application is higher than the priority of the second application.
[0112] It should be noted that in actual applications, the priorities of the first application and the second application may be compared in other ways, which will not be described in detail here.
[0113] Optionally, in step 203b of this embodiment, the service controller may determine that the target network resource indicated by the target network resource information is currently in an occupied state by at least the following two methods:
[0114] 1. The service controller determines that the network resource information in the network resource information base does not contain the target network resource information, and the network resource information is used to indicate idle network resources of the network device.
[0115] Among them, the specific implementation process of the business controller determining that the target network resource is currently in an occupied state can refer to the first method of determining that the target network resource is in an idle state in step 203a. The difference is that when the business controller determines that the target network resource information does not exist in the network resource information of the network resource library, it means that the target network resource indicated by the target network resource information is in an occupied state.
[0116] 2. The service controller searches for a status identifier of the target network resource in a network resource information base based on the target network resource information, and determines that the target network resource is currently in an occupied state based on the status identifier.
[0117] The specific implementation process of the service controller determining that the target network resource is currently in an occupied state can refer to the second method of determining that the target network resource is in an idle state in step 203a, and the difference is that when the network status indicator found by the service controller indicates that it is occupied, it means that the target network resource indicated by the target network resource information is in an occupied state. Optionally, in some embodiments of the present invention, before step 202, the service controller needs to convert the format of the received description information according to the service information model.
[0118] The business information model reference Figure 5 For example, the format of the received OTT application description information is as follows:
[0119]
[0120] The description information of the OTT application is Figure 5 The converted business information model is as follows:
[0121]
[0122] Optionally, in some embodiments of the present invention, before step 203, the service controller needs to obtain a network policy.
[0123] The service controller may generate the network policy by itself, or may obtain the network policy by receiving a message sent by a user terminal.
[0124] It should be noted that, in actual applications, the network policy may also be obtained through other methods, which are not specifically limited here.
[0125] The network policy can be the time period for application implementation. For example, according to the normal work and rest time of users, most applications will stop after 11 pm, and most network resources will be released at this time. For this, the service controller can generate a network policy to control the network controller to implement OTT applications after 10 pm. It should be noted that in actual applications, the network policy can also be the time for application implementation, resource switching during application implementation, etc., which are not limited here.
[0126] The technical solution of the embodiment of the present invention has the following beneficial effects:
[0127] The service controller determines that the target network resource indicated by the target network resource information is in an idle state, so that the controller can call the target network resource to implement the first application, which can fully utilize the idle network resources and improve resource utilization.
[0128] The business controller determines that the target network resource is in an idle state by determining that the network resource information of the network resource library contains the target network resource information and by searching the network resource library for the state identifier corresponding to the target network resource and finding it is in an idle state. This can easily and quickly determine the state of the target network resource and improve the efficiency of application implementation.
[0129] The service controller determines that the target network resource indicated by the target network resource information is in an occupied state, and the priority of the first application is greater than the priority of the second application. The second application occupies the target network resource, releases the target network resource occupied by the second application, and then calls the target network resource to implement the first application, thereby maximizing the value of the network resources when the network resources are insufficient.
[0130] A method for implementing an application in an embodiment of the present invention is described above. A service controller in an embodiment of the present invention is described below. Figure 6 , an embodiment of a service controller 500 in an embodiment of the present invention includes:
[0131] Northbound interface 501, used to receive description information of the first application sent by the application server;
[0132] A determining unit 502, configured to determine target network resource information according to the description information, wherein the target network resource information is used to indicate network resources required by the first application;
[0133] The processing unit 503 is used to send a calling instruction carrying a network policy to the network controller, where the calling instruction is used to instruct the network controller to call the target network resource according to the network policy to implement the first application.
[0134] In some other embodiments of the present invention, the calling unit can specifically call the target network resource to implement the application by determining whether the target resource indicated by the target resource information is in an idle state. Figure 7 In the implementation of the present invention, another embodiment of a service controller 600 includes:
[0135] The northbound interface 601 is used to receive description information of the first application sent by the application server.
[0136] The determination unit 602 is used to determine target network resource information according to the description information, where the target network resource information is used to indicate the network resources required by the first application.
[0137] The processing unit 603 is used to send a calling instruction carrying a network policy to the network controller, where the calling instruction is used to instruct the network controller to call the target network resource according to the network policy to implement the first application.
[0138] Optionally, in some embodiments of the present invention, the processing unit 603 sends a call instruction carrying a network policy to the network controller. Specifically, when it is determined that the target network resource indicated by the target network resource information is currently in an idle state, a call instruction carrying a network policy is sent to the network controller.
[0139] Optionally, in some embodiments of the present invention, the processing unit 603 determines that the target network resource indicated by the target network resource information is currently in an idle state, specifically by determining that the network resource information in the network resource information library contains the target network resource information, and the network resource information is used to indicate the idle network resources of the network device.
[0140] Optionally, in some other embodiments of the present invention, the processing unit 603 determines that the target network resource indicated by the target network resource information is currently in an idle state. Specifically, it can do so by searching for a status identifier of the target network resource in a network resource information library based on the target network resource information, and determining that the target network resource is currently in an idle state based on the status identifier.
[0141] Optionally, in some other embodiments of the present invention, the processing unit 603 sends a call instruction carrying a network policy to the network controller. Specifically, when it is determined that the target network resource indicated by the target network resource information is currently occupied and the priority of the first application is greater than the priority of the second application, and when the second application occupies the target network resource, a call instruction carrying the network policy is sent to the network controller.
[0142] Optionally, in some embodiments of the present invention, the processing unit 603 determines that the target network resource indicated by the target network resource information is currently occupied, specifically by determining that the target network resource information is absent in the network resource information of the network resource information library, and the network resource information is used to indicate the idle network resources of the network device.
[0143] Optionally, in some other embodiments of the present invention, the processing unit 603 determines that the target network resource indicated by the target network resource information is currently in an occupied state. Specifically, this can be done by searching for a status identifier of the target network resource in a network resource library based on the target network resource information, and determining that the target network resource is currently in an occupied state based on the status identifier.
[0144] Optionally, in some embodiments of the present invention, the processing unit 603 is further configured to generate the network policy before sending a call instruction carrying the network policy to the network controller; or, to receive the network policy sent by the user terminal via the northbound direction. Optionally, in some embodiments of the present invention, the service controller 600 may further include a first acquisition unit 604 and a first storage unit 605.
[0145] The first acquisition unit 604 is used to acquire network resource information from the network controller, where the network resource information is used to indicate idle network resources of the network device, and the first storage unit 605 is used to store the network resource information in a network resource information library.
[0146] Optionally, in some embodiments of the present invention, the service controller 600 may further include a second acquisition unit 606 and a second storage unit 607 .
[0147] The second acquisition unit 606 is used to acquire network resource information from the network controller, where the network resource information is used to indicate idle network resources of the network device, and the second storage unit 607 is used to store the network resource information in a network resource information library.
[0148] Optionally, in some embodiments of the present invention, the service controller 600 may further include a third acquisition unit 608 and a third storage unit 609 .
[0149] The third acquisition unit 608 is used to acquire the target network resource information and the state identifier of the target network resource; the third storage unit 609 is used to store the target network resource information and the state identifier of the target network resource in a network resource information library.
[0150] It can be understood that the functions of each functional module in the service controller of the embodiment of the present invention can be specifically implemented according to the method in the above method embodiment, and its specific implementation process can refer to the relevant description in the above method embodiment, which will not be repeated here. In the embodiment of the present invention, the service controller receives the description information sent by the application server through the northbound interface, and determines the target network resource information required to implement the application according to the description information through the determination unit. Compared with the prior art, developers do not need to develop applications in combination with network resource information when developing applications. The service controller can automatically match applications with network resources, thereby reducing the difficulty of application development, and the service controller can send a call instruction carrying a network policy to the network control through the processing unit, without the need to manually send the network policy, thereby improving the efficiency of application implementation.
[0151] The above describes the structure of the service controller from a logical perspective. The following describes the structure of the service controller in the embodiment of the present invention from a physical perspective. The service controller can implement Figure 3 and Figure 4 For the method provided in the corresponding embodiment, please refer to Figure 8 , an embodiment of the present invention provides a service controller 100.
[0152] The service controller 100 may be a microprocessor computer. For example, the service controller 100 may be a general-purpose computer, a custom-made machine, a mobile terminal or a server. The service controller 100 may include a processor 1001, a memory 1002, a communication interface 1003 and a bus 1004; the processor 1001, the memory 1002 and the communication interface 1003 are connected through the bus 1004 and communicate with each other. The memory 1002 is used to store program codes; when the service controller 100 is running, the processor 1001 executes the program codes stored in the memory 1002, so that the service controller 100 executes the method for implementing the application described in the above method embodiment.
[0153] Specifically,
[0154] The bus 1004 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. The bus may be one or more of an address bus, a data bus, and a control bus. For ease of representation, Figure 8 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0155] The memory 1002 is used to store executable program codes, which include computer operation instructions. When the service controller 100 executes the program codes, the service controller 100 can complete Figure 3 Steps 101 to 103 of the embodiment can also be implemented Figure 4 Steps 201 to 203 of the embodiment.
[0156] The processor 1001 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or the processor 1001 may be one or more integrated circuits configured to implement the embodiments of the present invention.
[0157] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0158] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0159] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0160] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0161] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (English: Read-On lyMemory, referred to as: ROM), random access memory (English: Random Access Memory, referred to as: RAM), disk or optical disk and other media that can store program codes.
[0162] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for implementing an application, characterized in that: include: The service controller determines target network resource information according to the description information of the first application, where the target network resource information is used to indicate the target network resources required to implement the first application; The service controller sends a calling instruction to the network controller, where the calling instruction includes a network policy, and the calling instruction is used to instruct the network controller to call the target network resource according to the network policy to implement the first application.
2. The method according to claim 1, characterized in that: The network policy includes a time period for implementation of the first application.
3. The method according to claim 1, characterized in that The first application is an OTT application.
4. The method according to claim 1, characterized in that: The description information of the first application includes at least one of a type of the first application, a quality of the first application, and an identifier of the first application.
5. The method according to claim 4, characterized in that The quality of the first application includes at least one of a user experience value and a key quality indicator KQI value.
6. The method according to claim 1, characterized in that The target network resource information includes at least one of network status information, network topology information, network function information and network link information.
7. The method according to claim 6, characterized in that The network link information includes at least one of bandwidth, packet loss, delay and jitter.
8. The method according to claim 1, characterized in that Before the service controller determines the target network resource information according to the description information of the first application, the method further includes: the service controller receives the description information of the first application sent by the application server through the northbound interface.
9. The method according to claim 1, characterized in that: The service controller determining the target network resource information according to the description information includes: the service controller determining the target network resource information corresponding to the description information of the first application according to a preset correspondence between the description information and the network resource information.
10. The method according to claim 1, characterized in that The service controller sending a call instruction to the network controller includes: When the service controller determines that the target network resource indicated by the target network resource information is currently in an idle state, the service controller sends the calling instruction to the network controller.
11. The method according to claim 10, characterized in that The service controller determining that the target network resource is currently in an idle state includes: The service controller determines that the target network resource information is included in the network resource information of the network resource information base, where the network resource information is used to indicate idle network resources of the network device.
12. The method according to claim 11, characterized in that Before the service controller determines that the target network resource is currently in an idle state, the method further includes: The service controller obtains network resource information from the network controller, where the network resource information is used to indicate idle network resources of a network device; The service controller stores the network resource information in the network resource information base.
13. The method according to claim 10, characterized in that The service controller determining that the target network resource indicated by the target network resource information is currently in an idle state includes: The service controller searches for a state identifier of the target network resource in a network resource information base according to the target network resource information, and determines that the target network resource is currently in an idle state according to the state identifier.
14. The method according to claim 1, characterized in that The service controller sending a call instruction to the network controller includes: When the service controller determines that the target network resource indicated by the target network resource information is currently in an occupied state, and the priority of the first application is greater than the priority of the second application, and the second application occupies the target network resource, the service controller sends the call instruction to the network controller; The calling instruction is used to instruct the network controller to call the target network resource to implement the first application, including: The calling instruction is used to instruct the network controller to release the occupied target network resources and call the target network resources to implement the first application.
15. The method according to claim 14, characterized in that The service controller determining that the target network resource indicated by the target network resource information is currently in an occupied state includes: The service controller determines that the target network resource information is not included in the network resource information of the network resource information base, where the network resource information is used to indicate idle network resources of a network device.
16. The method according to claim 15, characterized in that Before the service controller determines that the target network resource indicated by the target network resource information is currently in an occupied state, the method further includes: The service controller obtains network resource information from the network controller, where the network resource information is used to indicate idle network resources of a network device; The service controller stores the network resource information in the network resource information base.
17. The method according to claim 14, characterized in that The service controller determines that the target network resource is currently in an occupied state, including: The service controller searches for a state identifier of the target network resource in a network resource library according to the target network resource information, and determines, according to the state identifier, that the target network resource is currently in an occupied state.
18. The method according to claim 17, characterized in that Before the service controller determines that the target network resource indicated by the target network resource information is currently in an occupied state, the method further includes: The service controller obtains the target network resource information and a status identifier of the target network resource; The service controller stores the target network resource information and the state identifier of the target network resource in a network resource information base.
19. The method according to claim 1 or 2, characterized in that: Before the service controller sends a call instruction carrying a network policy to the network controller, the method further includes: The service controller generates the network policy; or, The service controller receives the network policy sent by the user terminal through the northbound interface.
20. A service controller, characterized in that: include: A determining unit, configured to determine target network resource information according to description information of the first application, wherein the target network resource information is used to indicate a target network resource required to implement the first application; The processing unit is used to send a calling instruction to the network controller, where the calling instruction includes a network policy, and the calling instruction is used to instruct the network controller to call the target network resource according to the network policy to implement the first application.
21. The service controller according to claim 20, characterized in that: The network policy includes a time period for implementation of the first application.
22. The service controller according to claim 20, characterized in that: The first application is an OTT application.
23. The service controller according to claim 20, characterized in that: The description information of the first application includes at least one of a type of the first application, a quality of the first application, and an identifier of the first application.
24. The service controller according to claim 23, characterized in that: The quality of the first application includes at least one of a user experience value and a key quality indicator KQI value.
25. The service controller according to claim 20, characterized in that: The target network resource information includes at least one of network status information, network topology information, network function information and network link information.
26. The service controller according to claim 25, characterized in that: The network link information includes at least one of bandwidth, packet loss, delay and jitter.
27. The service controller according to claim 20, characterized in that: The service controller also includes a northbound interface for receiving description information of the first application sent by an application server.
28. The service controller according to claim 20, characterized in that: The determining unit is specifically configured to determine the target network resource information corresponding to the description information of the first application according to a preset correspondence relationship between the description information and the network resource information.
29. The service controller according to claim 20, characterized in that: The processing unit is specifically configured to send the calling instruction to the network controller when it is determined that the target network resource indicated by the target network resource information is currently in an idle state.
30. The service controller according to claim 29, characterized in that: The processing unit is specifically used to determine that the network resource information in the network resource information library contains the target network resource information, and the network resource information is used to indicate the idle network resources of the network device.
31. The service controller according to claim 30, characterized in that: Also includes: A first acquisition unit, configured to acquire network resource information from the network controller, wherein the network resource information is used to indicate idle network resources of a network device; The first storage unit is used to store the network resource information in the network resource information library.
32. The service controller according to claim 29, characterized in that: The processing unit is specifically configured to search for a state identifier of the target network resource in a network resource information library according to the target network resource information, and determine, according to the state identifier, that the target network resource is currently in an idle state.
33. The service controller according to claim 20, characterized in that: The processing unit is specifically used for: When it is determined that the target network resource indicated by the target network resource information is currently in an occupied state, and the priority of the first application is greater than the priority of the second application, and the second application occupies the target network resource, the service controller sends the call instruction to the network controller, and the call instruction is used to instruct the network controller to release the occupied target network resource in accordance with the network policy, and call the target network resource to implement the first application.
34. The service controller according to claim 33, characterized in that: The processing unit is specifically used to determine that the target network resource information is not included in the network resource information of the network resource information base, and the network resource information is used to indicate the idle network resources of the network device.
35. The service controller according to claim 34, characterized in that: Also includes: A second acquisition unit, configured to acquire network resource information from the network controller, wherein the network resource information is used to indicate idle network resources of a network device; The second storage unit is used to store the network resource information in the network resource information library.
36. The service controller according to claim 33, characterized in that: The processing unit is specifically configured to search for a state identifier of the target network resource in a network resource library according to the target network resource information, wherein the state identifier indicates that the target network resource is currently in an occupied state.
37. The service controller according to claim 36, characterized in that: Also includes: A third acquisition unit, used to acquire the target network resource information and the state identifier of the target network resource; The third storage unit is used to store the target network resource information and the state identifier of the target network resource in a network resource information library.
38. The service controller according to any one of claims 30 to 31, characterized in that: The processing unit is further configured to generate the network policy before sending a call instruction carrying the network policy to the network controller; or, to receive the network policy sent by the user terminal through a northbound interface.
39. A computer storage medium, characterized in that The computer storage medium stores instructions, and when the instructions are executed by the processor, the method according to any one of claims 1 to 19 is implemented.
40. A system for implementing an application, characterized in that: The system includes a service controller and a network controller; The service controller is used to: determine target network resource information according to description information of the first application, where the target network resource information is used to indicate target network resources required to implement the first application; and send a call instruction to the network controller, where the call instruction includes a network policy, where the call instruction is used to instruct the network controller to call the target network resource according to the network policy to implement the first application; The network controller is used to call the target network resource according to the calling instruction to implement the first application.
