WO2014173277A1 - 网络中开展业务的方法、装置及系统 - Google Patents
网络中开展业务的方法、装置及系统 Download PDFInfo
- Publication number
- WO2014173277A1 WO2014173277A1 PCT/CN2014/075877 CN2014075877W WO2014173277A1 WO 2014173277 A1 WO2014173277 A1 WO 2014173277A1 CN 2014075877 W CN2014075877 W CN 2014075877W WO 2014173277 A1 WO2014173277 A1 WO 2014173277A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- service
- information
- flow
- business
- message
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/51—Discovery or management thereof, e.g. service location protocol [SLP] or web services
-
- 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/5041—Network service management, e.g. ensuring proper service fulfilment according to agreements characterised by the time relationship between creation and deployment of a service
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
-
- 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
- H04L47/24—Traffic characterised by specific attributes, e.g. priority or QoS
- H04L47/2425—Traffic characterised by specific attributes, e.g. priority or QoS for supporting services specification, e.g. SLA
-
- 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
- H04L47/24—Traffic characterised by specific attributes, e.g. priority or QoS
- H04L47/2441—Traffic characterised by specific attributes, e.g. priority or QoS relying on flow classification, e.g. using integrated services [IntServ]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/70—Admission control; Resource allocation
- H04L47/80—Actions related to the user profile or the type of traffic
- H04L47/803—Application aware
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/61—Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
- H04L65/612—Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for unicast
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/80—Responding to QoS
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/563—Data redirection of data network streams
Definitions
- OTT Over The Top
- the user terminal accesses the OTT application located in the IDC, which is a typical user Internet access mode.
- the 0TT application can have the client software installed on the user terminal. However, due to network conditions, when a large number of user terminals access the 0TT application, the user terminal passes. If the browser is still accessed through the 0TT client, there will be a stagnant wait, which will affect the user experience.
- some large-scale 0TT applications may use the Content Delivery Network (CDN) service mode, that is, when the user accesses the center OTT application, their access will be redirected to close.
- CDN Content Delivery Network
- a distributed 0TT application of the user can reduce the bandwidth pressure of the central 0TT application, and can reduce the bad experience such as stagnant waiting to some extent.
- this service model still cannot meet the needs of the rapid development of 0TT applications. Therefore, there is an urgent need for a new business model that supports 0TT applications to meet the needs of the 0TT application to begin development.
- Embodiments of the present invention provide a method, an apparatus, and a system for conducting a service in a network, which are used to provide A new business model to meet the development needs of 0TT applications.
- the first aspect provides a control device, including:
- a collaboration unit configured to receive a service request for requesting to perform a service, where the service request includes service deployment information for requesting to deploy the first service, service flow identification information for identifying the first packet flow, and service flow guidance information;
- control unit configured to send the service deployment information to the computing device, and send the service flow identification information and the service flow guidance information to the identification guiding device.
- control unit is further configured to send a service chain identifier to the identification guiding device.
- control unit is specifically configured to send a load command message to the computing device, and
- the identification guiding device sends a flow control message, where the loading command message includes the service deployment information, the flow control message, the service flow identification information, and the service flow guiding information.
- control unit is further used
- the resource adjustment message is sent to the computing device, where the resource adjustment message includes information about resources currently occupied by the running file required to deploy the first service.
- control unit includes: a first control module and Second control module;
- the cooperation unit is further configured to send a first control message to the first control module, and send a second control message to the second control module, where the first control message includes the service flow identification information and the Traffic flow-oriented information, where the second control message includes the service deployment information;
- the first control module is configured to send the flow control message to the identification guiding device according to the first control message
- the second control module is configured to send the load command message to the computing device according to the second control message.
- the service flow guiding letter includes at least one of the following information:
- An internet protocol IP address of the computing device An internet protocol IP address of the computing device, port information of the computing device, and identification information of a running file required to deploy the first service.
- the service deployment information includes address information of a running file required to deploy the first service.
- the address information of the running file includes: accessing the path information of the running file, and the running file File name information, or Uniform Resource Locator URL information pointing to the run file.
- the service flow identification information includes at least one of the following information:
- a second aspect provides a computing device, including:
- a first receiving unit configured to receive, by the control device, service deployment information for requesting deployment of the first service
- a deployment unit configured to run, according to the service deployment information, an operation file required to deploy the first service, to deploy the first service
- a second receiving unit configured to receive a first packet flow sent by the identification guiding device, where the first packet flow includes a service chain identifier
- the method is: loading and running, according to the service deployment information, a plurality of service components for deploying the first service, to deploy the first service;
- the service determining unit is specifically configured to: query a service routing table according to the service chain identifier, and determine a usage order of the multiple service processing components and the multiple service processing components from the multiple service components, where
- the plurality of service processing components are service components of the plurality of service components for implementing the plurality of service processes;
- the processing unit is specifically configured to: process the first “text stream” by using the plurality of service processing units according to an order of use of the plurality of service processing units.
- the service determining unit is configured to query a service routing table according to the service chain identifier, from the multiple Determining the order of use of the plurality of service processing components and the plurality of service processing components in the service component includes:
- the first service processing component is configured to perform a first service process in the multiple service processes
- the second service processing component is configured to perform a second service process in the multiple service processes
- the service determining unit is configured to query the second service routing entry according to the second ingress port to determine the arrival
- the outbound ports of the two service processing components include:
- the first receiving unit is further configured to receive the information sent by the control device. a source adjustment message, where the resource adjustment message includes information about a resource that the running file currently needs to occupy;
- the deployment unit is further configured to adjust resources occupied by the running file according to the resource adjustment message.
- the service deployment information includes address information of the running file.
- the computing device is a server device
- the service determining unit is implemented in a virtual switch Vswi tch of the server device.
- the third aspect provides an identification guiding device, including:
- a receiving unit configured to receive, by the control device, service flow identification information and service flow guiding information for identifying the first packet flow
- An identifying unit configured to identify, according to the service flow identification information, the first packet flow from the received packet flow
- a configuration unit configured to add a service chain identifier to the first >3 ⁇ 4 stream
- a guiding unit configured to direct the first packet flow carrying the service chain identifier to the computing device according to the service flow guiding information.
- the service flow direction information includes at least one of the following information:
- An internet protocol IP address of the computing device An internet protocol IP address of the computing device, port information of the computing device, and identification information of a running file required to deploy the first service.
- a fourth aspect provides a system for conducting a service in a network, comprising: any one of the control devices provided by the first aspect, any of the computing devices provided by the second aspect, and any of the identification guiding devices provided by the third aspect.
- a fifth aspect provides a system for conducting a service in a network, including: any one of the control devices provided by the first aspect, further comprising an identification guiding device and a computing device;
- the identification guiding device is used for: Receiving, by the control device, service flow identification information and service flow guidance information for identifying the first packet flow;
- a sixth aspect provides a system for conducting a service in a network, comprising: a control device, a computing device, and an identification device;
- the control device is configured to receive a service request for requesting to perform a service, where the service request includes service deployment information for requesting deployment of the first service and service flow identification information for identifying the first packet flow;
- the identifying means is configured to identify the first packet flow from the received packet flow according to the service flow identification information
- the computing device is configured to run, according to the service deployment information, an operation file required to deploy the first service, to deploy the first service, and after the first service is deployed, identify the The first packet flow performs processing of the first service.
- the identifying apparatus is further configured to add a service chain identifier to the first packet flow
- the computing device is specifically configured to:
- the computing device determines, according to the service chain identifier, a part that needs to be performed on the first packet flow a plurality of service processes of the first service and a sequence package for executing the plurality of service processes includes:
- the seventh aspect provides a method for conducting a service in a network, including:
- the service request includes service deployment information for requesting deployment of the first service, service flow identification information for identifying the first packet flow, and service flow guidance information;
- the method further includes: sending a service chain identifier to the identification guiding device.
- the sending the service deployment information to the computing device, and sending the The service flow identification information and the service flow guidance information include:
- the method further includes: The computing device sends a resource adjustment message, where the resource adjustment message includes information about resources currently occupied by the running file required to deploy the first service.
- the service flow guiding information includes at least one of the following information:
- An internet protocol IP address of the computing device An internet protocol IP address of the computing device, port information of the computing device, and identification information of a running file required to deploy the first service.
- the service deployment information includes address information of a running file required to deploy the first service.
- the address information of the running file includes: accessing the path information of the running file, and the running file File name information, or Uniform Resource Locator URL information pointing to the run file.
- the service flow identification information includes the following information At least one of:
- the eighth aspect provides a method for conducting a service in a network, including:
- the running, by the service deployment information, the operation file required to deploy the first service, to deploy the first service includes:
- Determining, according to the service chain identifier, a plurality of service processes that are required to be performed on the first packet flow, and performing the multiple service processes in the sequence of the first service include:
- Determining a service routing table according to the service chain identifier determining, from the plurality of service components, a usage order of the plurality of service processing components and the plurality of service processing components, where the multiple service locations
- the processing component is a service component for implementing the multiple service processing among the multiple service components; performing the multiple service processing on the content flow according to the sequence includes: The order in which the service processing components are used, the first message stream is processed using the plurality of service processing components.
- the querying the service routing table according to the service chain identifier, determining from the multiple service components includes:
- the first service processing component is configured to perform a first service process in the multiple service processes
- the second service processing component is configured to perform a second service process in the multiple service processes
- the determining, by the second ingress port, the second service routing entry, determining that the second service processing component is reached Outgoing ports include:
- the method further includes:
- the service deployment information includes address information of the running file.
- a ninth aspect provides a method for conducting a service in a network, including:
- the service flow direction information includes at least one of the following information:
- An internet protocol IP address of the computing device An internet protocol IP address of the computing device, port information of the computing device, and identification information of a running file required to deploy the first service.
- the tenth aspect provides a method for conducting a service in a network, including:
- the service request includes service deployment information for requesting deployment of the first service, and service flow identification information and service flow guidance information for identifying the first packet flow;
- the eleventh aspect provides a method for conducting a service in a network, including:
- the first service processing is performed on the identified first packet flow.
- the method before performing the processing of the first service on the identified first packet flow, the method includes:
- the processing of the first service includes:
- the determining, according to the service chain identifier, that the first packet flow needs to be performed includes: querying a service routing table according to the service chain identifier, determining a plurality of service processing components from the plurality of service components, and the An order of use of the plurality of service processing components, wherein the plurality of service processing components are service components for implementing the plurality of service processes among the plurality of service components; according to the use of the plurality of service processing components In sequence, the first message stream is processed using the plurality of service processing components.
- the control device receives a service request for performing a service, and provides service deployment information for requesting the deployment of the first service in the service request to the computing device, where the computing device runs the operation file required for deploying the first service, and
- the service flow identification information and the service flow guidance information for identifying the first packet flow in the service request are provided to the identification guiding device, and the first packet flow is identified by the identification guiding device, and is directed to the computing device, and then deployed
- the computing device of the service performs the processing of the first service on the first packet flow, and implements the first service.
- the technical solution of the present invention allows the operation file to be loaded and run when the service is deployed, and provides an open service mode, which allows the operator to develop new business functions from the device manufacturer and reduce the time required for the new service function to be carried out. Meet the needs of the rapid development of 0TT applications.
- BRIEF DESCRIPTION OF THE DRAWINGS In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description of the drawings used in the embodiments or the prior art description will be briefly described below. The drawings are some embodiments of the invention, and to those of ordinary skill in the art, Other drawings may also be obtained from these drawings without the inventive labor.
- FIG. 1 is a schematic structural diagram of a control device according to an embodiment of the present invention.
- FIG. 2 is a schematic structural diagram of another control device according to an embodiment of the present invention.
- FIG. 3 is a schematic structural diagram of a computing device according to an embodiment of the present invention.
- FIG. 4 is a schematic structural diagram of an identification guiding device according to an embodiment of the present invention.
- FIG. 5 is a schematic structural diagram of a system for performing a service in a network according to an embodiment of the present invention
- FIG. 6 is a schematic structural diagram of another system for performing a service in a network according to an embodiment of the present invention
- FIG. 8 is a schematic structural diagram of a system for performing a service in a network according to an embodiment of the present invention
- FIG. 9 is a schematic structural diagram of a sof tBNG system according to an embodiment of the present invention; ;
- FIG. 10 is a schematic diagram of a uploading process for a network disk based on a lender according to an embodiment of the present invention
- FIG. 11 is a schematic structural diagram of a sof tBNG system for implementing a network disk service according to an embodiment of the present invention
- FIG. 12 is a schematic structural diagram of a system for performing a service in a network according to an embodiment of the present invention
- FIG. 13 is a flowchart of a method for performing a service in a network according to an embodiment of the present invention
- FIG. 15 is a flowchart of a method for performing a service in a network according to an embodiment of the present invention
- FIG. 16 is a flowchart of another method for performing a service in a network according to an embodiment of the present invention
- FIG. 17 is a flowchart of a method for performing a service in a network according to an embodiment of the present invention
- FIG. 18 is a flowchart of still another method for performing a service in a network according to an embodiment of the present invention.
- FIG. 1 is a schematic structural diagram of a control device according to an embodiment of the present invention.
- the apparatus includes: a cooperation unit 11 and a control unit 12.
- the collaboration unit 11 is configured to receive a service request for requesting to perform a service, where the service request includes service deployment information for requesting deployment of the first service, service flow identification information for identifying the first packet flow, and service flow guidance information.
- the control unit 12 is connected to the collaboration unit 11 and configured to send the service deployment information received by the collaboration unit 11 to the computing device, and send the service flow identification information and the service flow guidance information received by the collaboration unit 11 to the identification guiding device. .
- the service deployment information may include address information of the running file required for deploying the first service, but is not limited thereto.
- the information may be further related to the first service to be deployed, such as user information and service. Feature information, etc.
- the address information of the running file required to deploy the first service may be path information of the running file and file name information of the running file, or a uniform resource locator (Uniform Resource) pointing to the running file. Loca tor, referred to as URL) information, etc.
- Uniform Resource Uniform Resource
- the service flow identification information is used to indicate the packet flow that needs to be identified.
- the packet flow that needs to be identified is the packet flow of the first service to be deployed.
- the packet flow of the first service is referred to as a first packet flow, and correspondingly, the service flow identification information is used to indicate a first packet flow that needs to be identified.
- the service flow identification information may include, but is not limited to, at least one of the following information: receiving physical port information of the first packet flow (ie, source physical port information of the first packet flow), receiving the first The logical port information of the packet flow (that is, the source logical port information of the first packet flow), the URL information accessed by the first packet stream, and the first Internet protocol (Internet Protocol, Referred to as IP address, destination IP address, source transport layer port information, and destination transport layer port information.
- Internet Protocol Internet Protocol, Referred to as IP address, destination IP address, source transport layer port information, and destination transport layer port information.
- the service flow guiding information is used to indicate that the first packet flow is directed to a computing device responsible for deploying the first service.
- the service flow direction information includes, but is not limited to, at least one of the following: an IP address of the computing device, port information of the computing device, and identification information of a running file required to deploy the first service, such as file name information.
- the identification guiding device After the identification guiding device receives the service flow identification information and the service flow guidance information, the first message flow is identified from the received message flow according to the service flow identification information, and is identified according to the service flow guidance information.
- the first message stream is directed to the computing device.
- the computing device After receiving the service deployment information, the computing device runs the running file required to deploy the first service according to the service deployment information, so as to deploy the first
- the service performs the processing of the first service on the first packet flow sent by the identification guiding device.
- the first packet flow may need to undergo multiple service processing.
- the control unit 12 is further configured to send the service chain identifier to the identification guide device in addition to the service flow identification information and the service flow guidance information.
- the service chain identifier is used to indicate a sequence of multiple service processing and multiple service processing of the first service performed on the first packet flow.
- the service chain identifier may be a virtual local area network (VLAN) label, a multi-protocol label switching (MPLS) label, and a virtual extended local area network (Virtual extensible local area).
- VLAN virtual local area network
- MPLS multi-protocol label switching
- VXLAN virtual extended local area network
- VNI VXLAN Network Identifier
- the identification guide adds the service chain identifier to the first message stream for transmission to the computing device.
- the computing device obtains the service chain identifier from the first packet flow, and determines, according to the service chain identifier, a plurality of service processes belonging to the first service that are to be executed on the first packet flow, and an order in which the multiple service processes are performed. And then performing the plurality of service processing on the first packet flow in the stated order.
- control unit 12 sends the service deployment information to the computing device, and the sending the service flow identification information and the service flow guiding information to the identification guiding device includes:
- the control unit 12 is specifically configured to send a load command message to the computing device, and send a flow control message to the identification guiding device, where the load command message includes the service deployment information, the flow control message, the service flow identification information, and The service flow directs information.
- control unit 12 is further configured to send a resource adjustment message to the computing device, where the resource adjustment message includes information about resources currently required to be used by the running file required to deploy the first service. Based on this, the computing device can adjust the information of the resources occupied by the running file according to the information about the resources currently occupied by the running file included in the resource adjustment message.
- an implementation structure of the control unit 12 includes: a first control module 121 and a second control module 122.
- the collaboration unit 11 is further configured to send a first control message to the first control module 121, and send a second control message to the second control module 122, where the first control message includes service flow identification information and service flow guidance information.
- the second control message includes service deployment information.
- the first control module 121 is configured to receive the first control message sent by the collaboration unit 11, and according to The first control message sends a load command message to the identification guide.
- the second control module 122 is configured to receive the second control message sent by the collaboration unit 11, and send a load command message to the computing device according to the second control message.
- the second control module 122 is further configured to send a resource adjustment message to the computing device.
- the control device provided by the embodiment by receiving the service request, provides the service deployment information, the service flow identification information, and the service flow guidance information included in the service request to the computing device and the identification guiding device, so that the computing device deploys the first service and identifies
- the guiding device identifies the message flow of the first service and directs it to the computing device for processing.
- the control device provided by the embodiment provides the open operation mode by allowing the operator to develop the new service mode from the device manufacturer.
- the business function can reduce the time required for new business functions to be carried out, and meet the needs of the rapid development of 0TT applications.
- FIG. 3 is a schematic structural diagram of a computing device according to an embodiment of the present invention. As shown in FIG. 3, the computing device includes: a first receiving unit 31, a deployment unit 32, a second receiving unit 33, a service determining unit 34, and a processing unit 35.
- the first receiving unit 31 is configured to receive, by the control device, service deployment information for requesting to deploy the first service.
- the deployment unit 32 is connected to the first receiving unit 31, and is configured to run, according to the service deployment information received by the first receiving unit 31, a running file required to deploy the first service, to deploy the first service.
- the second receiving unit 33 is configured to receive a first packet flow sent by the identifier, where the first stream includes a service chain identifier.
- the service determining unit 34 is configured to be connected to the second receiving unit 33, and configured to determine, according to the service chain identifier received by the second receiving unit 33, a plurality of services that belong to the first service that are required to be performed on the first packet flow. Processing and executing the order of the plurality of business processes.
- the processing unit 35 is connected to the service determining unit 34, and configured to perform the plurality of service processing on the text stream according to the sequence determined by the service determining unit 34.
- the control device in this embodiment can be realized by the structure shown in Fig. 1 or Fig. 2, but is not limited thereto.
- the control device is mainly responsible for controlling the computing device and the identification guiding device to complete the deployment of the first service and the processing of the "3 ⁇ 4 stream" of the first service.
- the service deployment information may include address information of the running file required to deploy the first service, but is not limited thereto, and may further include another one related to the first service to be deployed. Some information, such as user information, business feature information, and so on.
- the address information of the running file required to deploy the first service may be path information for accessing the running file and file name information of the running file, or URL information pointing to the running file, and the like. Based on this, the deployment unit 32 may obtain the running file according to the address information of the running file included in the service deployment information, and then run the running file to deploy the first service.
- the stream of the first service is referred to as the first stream.
- the first packet flow needs to undergo multiple service processing.
- the control device transmits the service chain identifier to the identification guide device.
- the identification guiding device identifies the first packet flow from the received message flow according to the service flow identification information sent by the control device, adds the service chain identifier sent by the control device to the first packet flow, and according to the control device
- the sent service flow directing information sends the first packet flow carrying the service chain identifier to the second receiving unit 33.
- the service chain identifier is used to indicate a sequence of multiple service processing and multiple service processing of the first service performed on the first packet flow. Based on this, the service determining unit 34 determines, according to the indication of the service chain identifier, a sequence of multiple service processes belonging to the first service and performing the multiple service processes that need to be performed on the first packet flow; The processing unit 35 performs the plurality of service processing on the first packet flow according to the sequence determined by the service determining unit 34.
- the service chain identifier may be a VLAN tag, an MPLS label, a VNI in a VXLAN package, or carried in an information field added to the original message.
- the deployment unit 32 runs the running file required to deploy the first service according to the service deployment information, to deploy the first service, including:
- the deployment unit 32 is specifically configured to load and run a plurality of service components for deploying the first service according to the service deployment information to deploy the first service.
- the plurality of service components described herein are specifically carried by the running files required to deploy the first service. That is, the deployment unit 32 is specifically configured to load and run a plurality of service components carried by the running file required for deploying the first service according to the service deployment information, to deploy the first service.
- the service determining unit 34 determines, according to the service chain identifier, a sequence of multiple service processes belonging to the first service and performing the multiple service processes that need to be performed on the first packet flow, including:
- the service determining unit 34 is specifically configured to query the service routing table according to the service chain identifier, and determine, from the plurality of service components, the use of the multiple service processing components and the multiple service processing components.
- the plurality of service processing components are the service components of the plurality of service components for implementing the plurality of service processes.
- the processing unit 35 performs the multiple service processing on the first packet flow according to the sequence determined by the service determining unit 34, including:
- the processing unit 35 is specifically configured to process the first stream using the plurality of service processing units determined by the service determining unit 34 according to the order of use of the plurality of service processing units determined by the service determining unit 34.
- the service determining unit 34 is configured to query the service routing table according to the service chain identifier, and determine, by using the multiple service components, the usage order of the multiple service processing components and the multiple service processing components, including:
- the service determining unit 34 is specifically configured to: determine, according to the service chain identifier and the first ingress port, the first service routing entry, to determine an egress port that reaches the first service processing component, where the first ingress port is to receive the first An ingress port of the packet flow, where the first service processing component is configured to perform a first service process in the multiple service processes;
- the second service processing component is configured to perform a second service process in the multiple service processes
- the service determining unit 34 is configured to query the second service routing entry according to the second ingress port, and determine that the egress port that reaches the second service processing component includes:
- the service determining unit 34 is specifically configured to determine an egress port that reaches the second service component according to the service chain identifier and the second ingress port querying the second service routing entry.
- the first receiving unit 31 is configured to receive, by using a service deployment information sent by the control device, a resource adjustment message sent by the control device, where the resource adjustment message is cancelled.
- the information includes information about the resources currently required to be used by the running file required to deploy the first service.
- the deployment unit 32 is configured to adjust the information according to the resource adjustment message received by the first receiving unit 31, in addition to the running configuration file required to deploy the first service, according to the service deployment information received by the first receiving unit 31. The resources used by the running file.
- the computing device of this embodiment may be a server device, but is not limited thereto. If the computing device of the embodiment is a server device, the service determining unit 34 may be implemented in a virtual switch (Vswi tch) of the server device, but is not limited thereto.
- Vswi tch virtual switch
- the computing device receives the service deployment information sent by the control device, runs the running file of the first service according to the service deployment information, and receives the service chain identifier sent by the identification guiding device under the control of the control device.
- the packet flow of the first service is determined based on the service chain identifier, and the sequence of the service processing and the service processing performed on the first packet flow is performed, and then the first service is processed in the first packet flow according to the sequence.
- the computing device of the present embodiment can cooperate with the identification guiding device under the control of the control device, and run the running file of the required deployed service when the service needs to be deployed, so as to complete the deployment of the service, and The processing of the packet flow of the deployed service is completed, and an open service mode is provided, which allows the operator to develop new service functions from the device manufacturer, and can reduce the time required for the new service function to be implemented, and satisfies the 0TT application. Rapid development needs.
- FIG. 4 is a schematic structural diagram of an identification guiding device according to an embodiment of the present invention. As shown in FIG. 4, the apparatus includes: a receiving unit 41, an identifying unit 42, a configuration unit 43, and a guiding unit 44.
- the receiving unit 41 is configured to receive service flow identification information and service flow guiding information, which are sent by the control device and used to identify the first packet flow.
- the identifying unit 42 is connected to the receiving unit 41, and is configured to identify the first packet stream from the received packet stream according to the service flow identification information received by the receiving unit 41.
- the configuration unit 43 is connected to the identification unit 42 and is configured to add a service chain identifier to the first stream identified by the identification unit 42.
- the guiding unit 44 is connected to the receiving unit 41 and the configuration unit 43 for guiding the first packet flow carrying the service chain identifier to the computing device according to the service flow guiding information received by the receiving unit 41.
- control device in this embodiment can be realized by the structure shown in Fig. 1 or Fig. 2, but is not limited thereto.
- the computing device of this embodiment can be implemented by the structure shown in FIG. 3, but is not limited thereto.
- the identification is performed.
- the guiding device sends the service flow identification information and the service flow guiding information included in the service request, so that the identification guiding device identifies the packet flow of the first service to be deployed (ie, the first packet flow) from the received packet flow. And directed to the computing device.
- the control device further sends the service deployment information included in the service request to the computing device, so that the computing device runs the running file of the first service to be deployed, to deploy the first service, and after deploying the first service, The message stream is processed.
- the service flow identification information is used to indicate the first packet flow to be identified, and the first packet flow is the packet flow of the first service to be deployed.
- the service flow identification information may include, but is not limited to, at least one of the following information: receiving physical port information of the first packet flow (ie, source physical port information of the first packet flow), receiving the first Logical port information of the packet flow (ie, source logical port information of the first packet flow), URL information accessed by the first stream, and the source IP address, destination IP address, and source transmission of the stream source Layer port information and destination transport layer port information.
- the identifying unit 42 can identify the first packet stream from the received message stream according to the traffic flow identification information. For example, if the service flow identification information is the source physical port information or the logical port information of the first packet flow, the identifying unit 42 may receive the received packet flow according to the physical port information or the logical port information.
- the packet flow from the physical port indicated by the physical port information or the logical port indicated by the logical port information is determined to be the first packet flow.
- the service flow identification information is the URL information of the specified access
- the identifying unit 42 may determine, according to the URL information, the webpage indicated by the URL information from the received each message flow.
- the packet flow is the first packet flow.
- the service flow guiding information is used to indicate that the first packet flow is directed to a computing device responsible for deploying the first service.
- the service flow direction information includes, but is not limited to, at least one of the following: an IP address of the computing device, port information of the computing device, and identification information of a running file required to deploy the first service, such as file name information. Based on this, the guiding unit 44 may specifically direct the first packet flow to the corresponding computing device according to the service flow guiding information.
- the computing device After receiving the service deployment information, the computing device runs the running file required to deploy the first service according to the service deployment information, to deploy the first service, and performs the first packet flow sent by the guiding unit 44 of the identification guiding device.
- the processing of a business After receiving the service deployment information, the computing device runs the running file required to deploy the first service according to the service deployment information, to deploy the first service, and performs the first packet flow sent by the guiding unit 44 of the identification guiding device. The processing of a business.
- the first packet flow may need to undergo multiple service processing.
- the identification guiding device knows that the first packet stream needs to undergo multiple service processing, so the first packet stream is configured by its configuration unit 43.
- the service chain identifier is added to indicate the sequence of processing multiple services and performing multiple service processes belonging to the first service performed on the first packet flow.
- the first packet stream sent by the directing unit 44 to the computing device carries the service chain identifier.
- the computing device may obtain the service chain identifier from the first packet flow, and determine, according to the service chain identifier, multiple service processing belonging to the first service that needs to be performed on the first packet flow, and perform the multiple service processing. The sequence, and then performing the plurality of service processes on the first packet flow in the stated order.
- the identification guiding device may specifically receive the service chain identifier sent by the control device, but is not limited thereto.
- the foregoing service chain identifier may be a VLAN tag, an MPLS label, a VNI in a VXLAN package, or carried in an information domain added to the original message.
- the identification guiding device receives the service flow identification information and the service flow guiding information sent by the control device, and identifies the packet flow of the first service to be deployed from the received packet flow according to the service flow identification information. And in the case that multiple service processing is required for the packet flow, the service chain identifier is added to the packet flow, and then the packet flow carrying the service chain identifier is directed to the computing device according to the service flow guiding information, so that The computing device that has deployed the first service under the control of the control device completes the processing of the packet flow of the first service.
- the identification guiding device provided by the embodiment is controlled by the control device and cooperates with the computing device, so that when the service needs to be deployed, the running file of the service to be deployed is allowed to run, and the service deployment and corresponding packet flow are completed.
- the processing provides an open business model, allowing operators to develop new business functions from the device vendors themselves, reducing the time required for new business functions to be developed, and meeting the needs of rapid development of 0TT applications.
- FIG. 5 is a schematic structural diagram of a system for performing a service in a network according to an embodiment of the present invention.
- the system includes: a control device 51, an identification guide 52, and a computing device 53.
- the solid line with an arrow indicates the control flow in which the control device 51 controls the computing device 53 and the identification guide 52
- the dotted line with an arrow indicates the flow of the message.
- the control device 51 can be implemented by using the structure shown in FIG. 1 or FIG. 2, and details are not described herein again.
- the identification guide 52 is used to:
- the computing device 53 is used to:
- the computing device 53 in the system provided in this embodiment can perform a service processing on the first packet stream, in addition to performing multiple service processing on the first packet stream, compared with the computing device provided in FIG. .
- the identification guiding device 52 in the system provided by the embodiment may be added to the first packet stream instead of the first packet stream, in addition to the identification guiding device provided in FIG.
- the service chain identifier, that is, the first packet stream can be directly directed to the computing device
- the identification guiding device 52 directly directs the identified first message flow to the computing device 53, and the computing device 53 performs the processing of the first service on the first message flow, reference may be made to the computing device 20 in the following embodiments. The description of the guiding device 30 will not be repeated here.
- FIG. 6 is a schematic structural diagram of another system for performing a service in a network according to an embodiment of the present invention. As shown in FIG. 6, the system includes: a control device 10, a computing device 20, and an identification guide device 30.
- the control device 10 is configured to receive a service request for requesting to perform a service, where the service request includes service deployment information for requesting the deployed first service, service flow identification information for identifying the first packet flow, and service flow guiding information. .
- the service deployment information is mainly used to provide information about a running file required for the service requested to be deployed, and may include, for example, address information of a running file required for the service requesting the deployment.
- the service requested to be deployed is referred to as a first service.
- the service deployment information may include address information of the running file required to deploy the first service, but is not limited thereto, and may further include other information related to the first service, such as user information, service feature information, and the like. .
- the address information of the running file may be path information for accessing the running file and file name information of the running file, or URL information pointing to the running file, and the like.
- the service flow identification information is used to indicate the packet flow that needs to be identified.
- the packet flow that needs to be identified is the packet flow of the first service that is requested to be deployed.
- the packet flow of the first service is referred to as the first packet flow
- the service flow identification information is mainly used to indicate the first packet flow that needs to be identified.
- the service flow identification information may include, but is not limited to, at least one of the following information: receiving physical port information of the first packet flow (ie, source physical port information of the first packet flow), receiving the first Logical port information of the packet flow (ie, source logical port information of the first packet flow), URL information accessed by the first stream, and the source IP address, destination IP address, and source transmission of the stream source Layer port information and destination transport layer port information.
- the service flow guiding information is used to indicate that the first packet flow is directed to the computing device 20 that deploys the first service.
- the service flow guidance information includes, but is not limited to, at least one of the following: an IP address of the computing device 20, port information of the computing device 20, and identification information of the running file, for example, the identification information may be the operation File name, URL information, etc.
- the control device 10 provides an application programming interface (API) for externally, and the "communication" refers to a device or a person requesting to deploy the first service.
- the control device 10 can provide an API to the administrator, or can provide an API to the 0TT application server, etc.
- the API mainly implements two functions: one is for providing address information of a running file required for deploying the first service; Providing information for identifying and guiding the first packet flow, that is, service flow identification information and service flow guidance information.
- the two main functions of the API may be implemented by the foregoing service request, that is, carrying the service request Service deployment information, the service flow identification information, and the service flow guidance information.
- the foregoing service request may be carried by an API message, or may be carried by two or more API messages.
- the service deployment information, the service flow identification information, and the service flow guidance information may also be in one API messages, carried in two or more API messages.
- control device 10 is further configured to control, according to the service deployment information, the operation file required by the computing device 20 to deploy the first service, and according to the The service flow identification information and the service flow guidance information are controlled, and the control identification guiding device 30 identifies the first message flow, and directs the identified first message flow to the computing device 20.
- the computing device 20 is configured to receive service deployment information sent by the control device 10, according to
- the service deployment information runs an operation file required to deploy the first service, and performs processing of the first service on the first packet flow sent by the identification guiding device 30.
- the identification guiding device 30 is configured to receive the service flow identification information and the service flow guiding information sent by the control device 10, and identify the first packet flow from the received message flow according to the service flow identification information, and according to the service flow guiding information, The identified first message stream is directed to computing device 20.
- the packet flow received by the identification guiding device 30 may be from the user side link or from the network side link, that is, the network link connected to the identification guiding device 30 may include a user side link, and may also include a network side. link.
- the solid line with the arrow indicates the control flow for the control device 10 to control the computing device 20 and the identification guide device 30, and the dotted line with the arrow indicates the flow of the message.
- the control device 10 of the present embodiment can be implemented by using the structure shown in FIG. 1 or FIG. 2, and the computing device of the present embodiment can be implemented by using the structure shown in FIG. 3.
- the identification guiding device 30 of this embodiment can be implemented.
- the implementation is implemented by the structure shown in FIG. 4, but is not limited thereto.
- the control device receives the service request, and controls, according to the service deployment information in the service request, the running file required for the computing device to run the first service, and the service flow identification information and the service flow guiding information according to the service request.
- the control identification device is configured to identify the first packet flow and direct the identified first packet flow to the computing device deploying the first service, so that the computing device performs the first service processing on the first packet flow.
- the system for performing services in the network provided in this embodiment combines the network with the running files required for the deployment service, and allows the running files to be loaded and run when the service is deployed, instead of being required by the device manufacturer as in the prior art. Developed and installed in the device, it provides an open business system, allowing operators to develop new business functions from the device vendors themselves, reducing the time required for new business functions to be developed, and meeting the needs of rapid development of 0TT applications.
- FIG. 7 is a schematic structural diagram of another system for conducting a service in a network according to an embodiment of the present invention.
- the system includes: a control device 10, a computing device 20, and an identification guiding device 30; wherein, the control device 10 includes: an orchestration unit 11 and a control unit 12; The first control module 121 and the second control module 122 are included.
- the solid line with an arrow indicates the control flow for which the control device 10 controls the computing device 20 and the identification guide device 30, and the dotted line with an arrow indicates the flow of the message.
- the collaboration unit 11 is configured to provide an external API, and is configured to receive a service request for requesting to perform a service, where the service request includes service deployment information for requesting deployment of the first service, and is used to identify the first Service flow identification information and service flow guidance information of the message flow.
- the service request includes service deployment information for requesting deployment of the first service, and is used to identify the first Service flow identification information and service flow guidance information of the message flow.
- the cooperation unit 11 is further configured to send a first control message to the first control module 121, and send a second control message to the second control module 122, where the first control message includes service flow identification information and service flow guidance information, and The second control message includes service deployment information.
- the second control module 122 is configured to receive a second control message sent by the collaboration unit 11 , send a load command message to the computing device 20 according to the second control message, and control the computing device 20 to run the required operation for deploying the first service.
- Running a file, the load command message includes the service deployment information. .
- the computing device 20 is specifically configured to receive the loading command message sent by the second control module 122, obtain the running file according to the service deployment information in the loading command message, load the running file, and run. For example, if the address information of the running file in the service deployment information is the path information of the running file and the file name of the running file, the computing device 20 may specifically obtain the running according to the path information and the file name. file. If the address information of the running file in the service deployment information is the URL information of the running file, the computing device 20 may specifically access the URL to obtain the running file.
- the collaboration unit 11 may be further configured to send a resource adjustment message to the second control module 122, so that the second control module 122 controls the computing device 20 to adjust resources occupied by the running file, where the resource adjustment
- the message includes information about the resources that the running file currently needs to occupy. It is explained here that the cooperation unit 1 1 can know the information of the resources required to run the file.
- the second control module 122 is further configured to receive the resource adjustment message sent by the collaboration unit 11, and control the computing device 20 to adjust the resource occupied by the operation according to the resource adjustment message.
- the first control module 121 is configured to receive the first control message sent by the collaboration unit 1 1 , send a flow control message to the identification guiding device 30 according to the first control message, and control the identification guiding device 30 to receive the received message stream. Identifying the first packet flow, and directing the identified first packet flow to the computing device 20; the flow control message includes the service flow identification information and the service flow guidance information.
- the identification guiding device 30 is specifically configured to receive the message flow, and receive the flow control message sent by the first control module 121, according to the service flow identification information in the flow control message, from the received message flow. Identifying the first packet flow, and directing the identified first packet flow to the computing device 20 according to the service flow guiding information in the flow control message. For example, if the business The flow identification information is the source physical port information or the logical port information of the first packet flow, and the identification guiding device 30 may determine the physical port information from the received packet flow according to the physical port information or the logical port information. The indicated physical port or the packet flow from the logical port indicated by the logical port information is the first packet flow.
- the identification guiding device 30 may determine, according to the URL information, the webpage indicated by the accessed URL information from the received >3 ⁇ 4 stream.
- the packet flow is the first packet flow.
- the identification guiding device 30 may be a flow classification module, that is, the function of the identification guiding device 30 is implemented by the flow classification module.
- the traffic classification module is mainly used to identify the 1-4 layers of the packet flow. Therefore, the situation is mainly applied to a scenario in which only 1-4 layers of the packet are identified.
- the identification and guidance device 30 may include a flow classification module and a Deep Packet Test (DPI) module, that is, the function of the identification guide device 30 is implemented by the flow classification module and the DPI module.
- the traffic classification module is mainly used to identify the 1-4 layers of the packet flow
- the DPI is mainly used to identify the packet flow 4-7 layers, so the situation is mainly applied to the deep recognition of the packet. In the scene.
- the system in which the service is performed in the network shown in Figure 7 includes a plurality of computing devices 20, i.e., computing device 20 can actually deploy multiple instances.
- the collaboration unit 11 can also be configured to send a computing device selection policy to the second control module 122, for the second control module 122 to determine, from the plurality of computing devices 20, the first service for deployment according to the computing device selection policy.
- Computing device 20 the second control module 122 is further configured to determine, from the plurality of computing devices 20, according to the computing device selection policy sent by the collaboration unit 11 before the control computing device 20 runs the running file required to deploy the first service.
- a computing device 20 for deploying a first service The determined computing device 20 for deploying the first service may be one or multiple.
- the computing device selection policy may include a computing device load balancing policy, that is, selecting the computing device 20 for deploying the first service for the purpose of implementing computing device load balancing; calculating the device range policy, that is, calculating from a certain range
- the computing device 20 for selecting the first service is selected in the device 20;
- the device priority policy is calculated, that is, the computing device 20 for deploying the first service is selected from the plurality of computing devices 20 according to the priority of the computing device;
- the policy is specified, that is, directly specifying one or some of the computing devices 20 for deploying the first service, for example, the address or feature of the computing device 20 for deploying the first service, and the like.
- the process in which the collaboration unit 11 sends the computing device selection policy to the second control module 122 may be the same process as the process of sending the second control message to the second control module 122. It is an independent process.
- the system for performing services in the network of Figure 7 includes a plurality of identification guides 30, i.e., the identification guides 30 can actually deploy multiple instances.
- the first control module 121 can also be used to determine the identification guide 30 for identifying the first message stream from the plurality of identification guides 30 before transmitting the flow control message to the identification guide 30.
- the identified navigation device 30 for identifying the first message stream may be one or more.
- the processing of the first service performed on the first packet flow may be different according to the service that is requested to be deployed. Some services only need to perform one service processing on the first stream, and some services need to perform multiple service processing on the first packet stream to complete.
- the corresponding first packet flow includes a service chain identifier, where the service chain identifier is used to indicate that the first service is performed on the first packet flow.
- the plurality of services process and execute the order of the plurality of business processes.
- the service chain identifier can be identified by using a VLAN tag, using an MPLS label, using a VN ID in the VXLAN, or encapsulating a service packet header in the original packet, and carrying the service chain identifier in the service packet header.
- the control device 10 also transmits a service chain identifier to the identification guide device 30.
- the first control module 121 of the control device 10 can transmit the service chain identifier to the identification guide device 30.
- the identification guiding device 30 also adds the service chain identifier to the identified first stream, and directs the stream carrying the service chain identifier to the computing device 20.
- the computing device 20 can be specifically controlled by the control device 10.
- the computing device 20 is specifically configured to receive service deployment information sent by the control device 10, and load and run according to the service deployment information, for deploying the first service
- the plurality of service components carried by the required running file are configured to deploy the first service; and receive the first packet flow that is sent by the identification guiding device 30, including the service chain identifier, and query the service routing table according to the service chain identifier, Determining, in the plurality of service components, a usage order of the plurality of service processing components and the plurality of service processing components, wherein the plurality of service processing components are used to implement the plurality of the plurality of service components
- the computing device 20 queries the service routing table according to the service chain identifier, and determines, by using the multiple service components, the usage sequence of the multiple service processing components and the multiple service processing components, including:
- the computing device 20 determines, according to the service chain identifier and the first ingress port, the first service routing entry, the egress port that arrives at the first service processing component, where the first ingress port receives the incoming end of the first packet flow.
- the first service processing component is configured to perform a first service process in the multiple service processes;
- the second service processing component is configured to perform a second service process in the multiple service processes
- the computing device 20 queries the second service routing entry according to the second ingress port, and determines that the egress port that reaches the second service processing component includes:
- the computing device 20 determines the egress port that reaches the second service component according to the service chain identifier and the second ingress port querying the second service routing entry.
- computing device 20 in various embodiments of the present invention can be a server device or a circuit board.
- control device 10 in the embodiments of the present invention can be deployed on a server device.
- the identification guiding device 30 in each embodiment of the present invention can be deployed on a network device.
- the network device can be, but is not limited to, a router or an Ethernet switch.
- control device 10 the computing device 20, and the identification guide 30 can be deployed on the same device.
- control device 10, computing device 20, and identification guide 30 can be deployed on a plurality of different devices.
- FIG. 8 shows a method including three computing devices and one identification guide.
- the system includes: a control device 80, a computing device 81, a computing device 82, a computing device 83, an identification guide 84, and an identification guide 85.
- the control device 80 includes: a cooperation unit 11 and a control unit 12; the control unit 12 includes a first control module 121 and a second control module 122.
- the first control module 121 needs to transmit a flow control message including the traffic flow identification information and the traffic flow guidance information to each of the identification guides.
- the second control module 122 needs to send a load command message including service deployment information to each computing device. Further, the first control module 121 also needs to send service routing information to the computing device when needed.
- the identification guides 84 and 85 simultaneously receive the message stream, perform service identification, and the identification guides 84 and 85 respectively transmit the messages belonging to the first message stream to the computing device 81, which is processing After the packet belongs to the first packet flow, the first packet is sent to the network after the processing.
- the second packet flow needs to perform multiple service processing.
- the identification guiding devices 84 and 85 identify the packets belonging to the second packet flow, since the second packet flow needs to perform multiple service processing, the second packet flow has the service chain identifier, so the identification guide
- the devices 84 and 85 tag the message belonging to the second message stream with the service chain identity and then transmit it to the computing device 82.
- the computing device 82 can identify the service chain identifier, and use the service routing information sent by the first control module 121 (which can be obtained by searching the routing table) according to the sequence of performing the multiple service processing indicated by the service chain identifier.
- the service process processes the second message stream, and finally the computing device 82 outputs the processed second message stream to the computing device 83.
- the computing device 83 completes the final processing of the second packet stream and sends the processed second stream to the network.
- a broadband network gateway (BNG) device is generally located in a metropolitan area network, it belongs to the outermost edge of the IP network, and is closer to any IDC than the user, and is not limited by the metropolitan area network egress bandwidth. It is more advantageous to reduce the stagnation waiting during the application of the 0TT application. Therefore, the system for performing services in the network provided by the embodiment may be deployed in a network composed of BNG devices. As the network function is virtualized, the network composed of the BNG device provided in this embodiment will include a standardized information technology (IT) server, which is deployed together with the BNG device, or with G. The devices are deployed in the same metro/region.
- IT information technology
- the BNG device generally refers to a router that has an access control function, and the server mainly includes functions such as access control and routing control.
- the new type of BNG device includes a network or system including a standard server, and the embodiment of the present invention Unifiedly referred to as the soft BNG (sof tBNG) system.
- a sof tBNG system consists of: one or more routers, and one or more servers.
- the router in Figure 9 can be used as the above BNG device.
- the server can be connected to the router through a physical link or a logical pipe.
- Figure 9 shows the server connected to the route through a physical link.
- the logical pipeline includes, but is not limited to, an MPLS tunnel, a general routing protocol encapsulation (GRE) tunnel, or a path defined by the same VLAN in the Ethernet.
- the router is connected to an external network link, and the network link includes a user-side link and a network-side link, and implements network interworking and fast packet flow forwarding.
- the server implements some complex control logic, such as access control functions, routing control functions, and so on. Based on the sof tBNG system shown in Figure 9, the above-mentioned control device 10 can be deployed on the server, the computing device 20 can be deployed on the server, and the identification and guiding device 30 can be deployed on the router
- the network disk service is a type of user accessing a network disk webpage through the Internet, uploading its own files, or downloading files shared by itself or others, using storage in the network instead of storage on the user's personal device.
- This 0TT service can provide users with important file backup, file sharing, and remote file porting.
- the 0TT access bandwidth of the network operator and the network disk 0TT center is limited, a large number of downloads will be filled with the 0TT access bandwidth, and other large uploads and downloads will be affected by the 0TT access bandwidth being occupied at the same time.
- the experience of the network disk service to users is not good.
- the bandwidth of the user access side line is limited, which also reduces the user experience.
- the system for performing services in the network provided by the foregoing embodiment of the present invention can accelerate the network disk service and enhance the user experience.
- the network disk 0TT control center dynamically loads a virtual function in the computing device by using the API capability provided by the system (ie, the sof tBNG system) in the network provided by the embodiment of the present invention, and the capability of supporting the loading and running of the service component.
- a business component called a web helper (he l per ).
- the virtual business component refers to the business department implemented in the form of a virtual machine. Pieces.
- the network disk helper acts as the user's upload server, interacts with the network disk 0TT control center, completes the upload confirmation of the user, and then transmits the file uploaded by the user to the network disk 0TT control center. Since the network disk he 1 per is distributed in the metropolitan area network of the user's city, and is not subject to the 0TT access bandwidth limitation signed between the 0TT control center and the operator of the network disk, the upload speed of the user is greatly accelerated, and the background transmission can be accelerated. Staggered the peak of the Internet, so it can also reduce the bandwidth pressure of the network disk 0TT control center.
- the operator re-sells the bandwidth to sell the service platform by operating a system that operates in a network such as softBNG, and obtains a profit by attracting a large number of 0TT applications to use the service platform, and can also reduce the investment in the core network bandwidth.
- the user uploading process based on the network disk helper is as shown in FIG. 10, including:
- the user terminal performs control interaction and authentication and authorization with the network disk 0TT control center.
- the network disk 0TT control center notifies the user of the network disk helper information.
- the user terminal establishes a connection with the network disk helper.
- the user terminal uploads file data to the network disk helper.
- the user terminal uploads file data to the network disk helper and can be divided into multiple times.
- the network disk helper returns an upload success message to the user terminal.
- the network disk helper uploads file data to the network disk 0TT control center in the background.
- 4 d dbank is the network disk 0TT.
- the dbank control center accesses the API provided by the softBNG system, for example, it can be accessed by using API messages like the following:
- Ttp //dbank. com/remote VMF/de bank-helper. img ⁇ / ⁇
- the above API message uses the Extensible Markup Language (XML) format, which mainly defines a virtual service component dbank-helper, and the central processing unit (Central Processing Unit, CPU for short) of the virtual service component. ), memory, storage, and network interface bandwidth requirements, and indicate the location of the dbank-helper's run file, which is equivalent to specifying the path to the dbank-helper's run file.
- XML Extensible Markup Language
- CPU Central Processing Unit
- the API message in the XML format further defines a service flow path ( ⁇ pathes> ⁇ /pathes> tag), which includes a service flow identification information ( ⁇ entry> ⁇ /entry> tag) and a service flow guidance information actionX/action; ⁇ ), wherein the service flow direction information indicates that the 4 stream is sent to the path defined by the dbank-path, and the path is defined later, and the path indicates that the packet stream is sent to the dbank-helper virtual service component.
- FIG. 11 is a schematic structural diagram of a soft BNG system implementing a network disk service according to an embodiment of the present invention; Intention.
- the control device is deployed on the first server, and is responsible for processing the foregoing API message (corresponding to the service request in the foregoing embodiment); the computing device is deployed on the second server; and the identification guiding device is deployed on the first router. On two boards.
- the first server selects a computing device as the computing device according to the service deployment information, that is, ⁇ VirtualAp l ance> in the API message, using the cpu/mem/storage/bandwidth ⁇ - specified therein, and assumes that the selected device is selected as the computing device.
- the computing device is deployed on the second server, and the second server is in the XEN virtual machine environment.
- the first server sends the location information of the running file of the dbank-helper in the service deployment information, that is, the content of the ⁇ loadFile> tag, to the second server by using the first message (corresponding to the loading command message in the foregoing embodiment).
- the second server loads the dbank-helper virtual business component based on the first message, wherein the process of loading the dbank-helper belongs to a loading process, that is, the establishment and operation of the new virtual machine hosting the dbank-helper is completed at the same time.
- the dbank-helper in the machine is loaded and running, and the virtual network card of the new virtual machine is connected to a port vportl of the virtual switch Vswitch inside the second server. force.
- the dbank-helper virtual business component starts running.
- the second server returns the identifier of the virtual machine and the port information of the Vswitch connected to the virtual network card to the first server.
- the first server sends a second message (corresponding to the flow control message in the above embodiment) to the first router.
- the first router has two boards, called slot1 and slot2.
- An identification guide is implemented on each of the two boards.
- the navigation recognition yellow paper includes a stream classification module and a DPI module.
- the stream classification module completes the Hypertext Transfer Protocol (HTTP)/secure hypertext transmission.
- HTTPS Secure Hypertext Transfer Protocol
- the protocol detects the HTTP/HTTPS message sent to the DPI module, and the DPI module completes the URL matching function.
- the identification guide can also be done separately by the flow classification module.
- the second message includes stream matching information and URL matching information as follows:
- the service flow identification information here refers to Match: TCP/80, TCP/8080, and match: *. dbank.com/*;
- the service flow directing information here refers to Action: forward to path 'dbank-path', Ip: 192.168.10.110.
- the foregoing flow matching information and URL matching information are obtained by decomposing the above API message at the implementation level, and may also be implemented in other manners.
- the second message mainly includes service flow identification information and service flow guidance information.
- the traffic flow-oriented information is represented by the service flow path, and the internal address of the dbank-helper, that is, 192.168.10.110, can also be directly indicated.
- the first router After receiving the second message, the first router obtains the flow matching information and the URL matching information from the second message, configures the two information into slotl, and configures the two information into slot2.
- the flow matching information can be configured into a flow table module (flowtable).
- the two slots on the first router receive the packet flow from the external port, and firstly use the previously configured flow matching information to identify the protocol as the Transmission Control Protocol (TCP) and the packets with the destination port number 80 and 8080.
- TCP Transmission Control Protocol
- the packet whose port is 80 represents the HTTP packet
- the packet whose port is 8080 represents the HTTPS packet.
- the matching packet is processed.
- the URL request message of dbank.com/* the URL request message is added with a message header, and the carrying information "path: dbank-path, in: entry” is sent to the address 192.168.10.110.
- the first server further sends a third message (corresponding to the service routing information sent in the foregoing embodiment) to the Vswitch in the second server.
- the Vswitch is deployed in the foregoing embodiment.
- the third message that is, the foregoing service routing information, may include the following two routing information:
- Route entry Information Path: dbank-path, in: entry, nextpath: nul 1 target: vpor tl
- Route entry information Path: nul 1, in: vpor tl nextpath: nul 1 target: normal forward
- the service determining unit in the Vswitch receives the packet with the path information, matches the path/source port information according to the first routing information, and performs the actions indicated by the nextpath and the target.
- the service determination unit in the Vswitch matches the ath: dbank-path, in: entry, where in: entry indicates that the message is directly from the identification guide; nextpath: nul 1 indicates removal The added service ⁇ ; target indicates the destination to be sent, in this case to the port vportl.
- the service determining unit located in the Vswitch removes the service packet header and sends it to the vportl of the Vvswitch, which is sent to the virtual service component where the dbank-helper is located.
- the second server receives the above two routing information, it can store it in the corresponding service routing table. Based on this, the service determining unit in the Vswitch can obtain corresponding routing information by querying the corresponding service routing table.
- the dbank-helper sends a message to the ath: null, in: vportl, which is the second routing information. Since the dbank-helper in this example has no subsequent processing, it only needs to go through normal forwarding, so nextpath: nul 1 means There is no need to add a service port identifier, target: normal forward means to perform normal network >3 ⁇ 4 text forwarding according to the destination address of the network header.
- nextpath needs to be specified as nextpath: dbank-path, target: Y, such an entry passes through the control device (specifically, it can be in the control device)
- the collaboration unit and the first control module are configured to the Vswitch to instruct the service determination unit to transmit the message to the next service component.
- the two routing information is a specific implementation manner in which the service chain identifier indicates that multiple service components sequentially process the packet flow, and the packet flow sequence is directed to each service component for processing, indicating how the Vswitch processes the dbank.
- the first routing information indicates that the packet sent from the entry carrying the dbank-path flag is removed, and the path header is removed, and then forwarded to the port vportl; the second routing information indicates that the packet sent from the port vport1 is not Increase the path header and forward it in standard mode.
- two routing information is used to guide the sequence of message flow.
- the processing of each service component is only a schematic description. In practice, a more concise information coding may be used to implement the service chain identification and achieve the same purpose.
- the Vswitch located in the second server can correctly send the two packets sent by the first router to the dbank-helper, and can continue to pass the IP address processed by the dbank-helper. Forward, and then to the dbank control center.
- dbank-he 1 per can have its own external address, for example, it can be 212.150.5.147, and dbank-helper can use this external address to communicate directly with the outside world.
- dbank-helper can add its own external address in these files, so that the dbank control center can conveniently locate the dbank-helper, thus implementing the process shown in FIG.
- Dbank-helper can use the service chain implementation mechanism mentioned in this article to obtain a message whose access destination address is directed to the dbank control center.
- the external address of the dbank-helper can be configured by the first server (ie, the control device).
- the system for performing services in the network provided by the embodiment of the present invention actually provides a system architecture for implementing service programming online, and implementing the architecture system to facilitate dynamic injection of various services (for example, 0TT applications). Combined with network traffic, it provides a new business model. Based on this, operators can operate a service platform similar to the sof tBNG system based on this business model, and charge for the use of the service platform, bringing a new profit-making method.
- FIG. 12 is a schematic structural diagram of another system for performing a service in a network according to an embodiment of the present invention. As shown in FIG. 12, the system includes a control device 1201, an identification device 1202, and a computing device 1203.
- the control device 1201 is configured to receive a service request for requesting to perform a service, where the service request includes service deployment information for requesting deployment of the first service and service flow identification information for identifying the first packet flow.
- the identifying device 1202 is configured to identify the first packet flow from the received packet flow according to the service flow identification information received by the control device 1201.
- the computing device 1203 is configured to run the running file required to deploy the first service according to the service deployment information received by the control device 1201, to deploy the first service, and after the first service is deployed, identify The first packet flow is performed to perform processing of the first service.
- Fig. 12 The dotted line with an arrow in Fig. 12 indicates the flow of the message.
- the service deployment information may include address information of the running file required for deploying the first service, but is not limited thereto.
- the information may be further related to the first service to be deployed, such as user information and service. Feature information, etc.
- the address information of the running file required to deploy the first service may be path information for accessing the running file and file name information of the running file, or URL information pointing to the running file.
- the service flow identification information is used to indicate the packet flow that needs to be identified.
- the packet flow that needs to be identified is the packet flow of the first service to be deployed.
- the packet flow of the first service is referred to as a first packet flow, and correspondingly, the service flow identification information is used to indicate a first packet flow that needs to be identified.
- the service flow identification information may include, but is not limited to, at least one of the following information: receiving physical port information of the first packet flow (ie, source physical port information of the first packet flow), receiving the first Logical port information of the packet flow (ie, source logical port information of the first packet flow), URL information accessed by the first stream, and the source IP address, destination IP address, and source transmission of the stream source Layer port information and destination transport layer port information.
- the control device 1201 provides an API externally, and the "external" refers to a device or a person requesting to deploy the first service.
- the control device 1201 may provide an API to an administrator, or may provide an API or the like to the 0TT application server.
- the API mainly implements two functions: one is to provide address information for running files needed to deploy the first service; one is for providing the first report The identification information of the stream, that is, the traffic stream identification information.
- the two main functions of the API may be implemented by using the foregoing service request, that is, carrying the service deployment information and the service flow identification information in the service request.
- the foregoing service request may be carried by an API message, or may be carried by two or more API messages. Accordingly, the service deployment information and the service flow identification information may also be in one API message, two. Or carried in multiple API messages.
- the processing of the first service performed on the first packet flow may be different according to the service that is requested to be deployed. Some services only need to perform one service processing on the first stream, and some services need to perform multiple service processing on the first packet stream to complete.
- the identifying device 1202 is further configured to add a service chain identifier to the first packet flow, where the service chain identifier is used to indicate that the first packet service belongs to the first service The order in which the plurality of services process and execute the plurality of business processes.
- the computing device 1203 is specifically configured to load and run a plurality of service components for deploying the first service, to deploy the first service, and determine, according to the service chain identifier, that the first packet flow is required. Executing a plurality of service processes belonging to the first service and performing an order of the plurality of service processes; performing the plurality of service processes on the first packet flow according to the sequence.
- the service chain identifier can be identified by using the VLAN tag, using the MPLS label, using the VN ID in the VXLAN, or encapsulating a service packet header in the original packet, and carrying the service chain identifier in the service packet header.
- the computing device 1203 determines, according to the service chain identifier, a sequence of multiple service processes that are required to be performed on the first packet flow and performs the multiple service processes, including:
- the computing device 1203 is specifically configured to: according to the service chain identifier query service routing table, determine a usage order of the multiple service processing components and the multiple service processing components from the multiple service components, where the multiple services
- the processing component is a service component of the plurality of service components for implementing the plurality of service processes
- each device can be deployed on the same device.
- the control device receives a service request for performing a service, and the computing device runs an operation file required to deploy the first service, and the identification device identifies the first report.
- the stream is forwarded to the computing device, and the first packet is processed by the computing device that has deployed the first service to perform the first service, so that the first service is implemented, and the running is allowed to be run and run when the service is deployed.
- FIG. 13 is a flowchart of a method for conducting a service in a network according to an embodiment of the present invention. As shown in FIG. 13, the method includes:
- Receive a service request for requesting a service where the service request includes service deployment information for requesting deployment of the first service, service flow identification information for identifying the first packet flow, and service flow guidance information.
- the step 1302 includes: sending a load command message to the computing device, and sending a flow control message to the identifier guiding device, where the load command message includes the service deployment information, where the flow control message is The service flow identification information and the service flow guidance information.
- the service deployment information may include address information of the running file required for deploying the first service, but is not limited thereto.
- the information may be further related to the first service to be deployed, such as user information and service. Feature information, etc.
- the address information of the running file required to deploy the first service may be path information for accessing the running file and file name information of the running file, or URL information pointing to the running file.
- the service flow identification information is used to indicate the packet flow that needs to be identified.
- the packet flow that needs to be identified is the packet flow of the first service to be deployed.
- the packet flow of the first service is referred to as a first packet flow, and correspondingly, the service flow identification information is used to indicate a first packet flow that needs to be identified.
- the service flow identification information may include, but is not limited to, at least one of the following information: receiving physical port information of the first packet flow (ie, source physical port information of the first packet flow), receiving the first Logical port information of the packet flow (ie, source logical port information of the first packet flow), URL information accessed by the first stream, and the source IP address, destination IP address, and source transmission of the stream source Layer port information and destination transport layer port information.
- the service flow guiding information is used to indicate that the first packet flow is directed to a computing device responsible for deploying the first service.
- the traffic flow guidance information includes, but is not limited to, at least one of the following information:
- the identification guiding device After the identification guiding device receives the service flow identification information and the service flow guidance information, the first message flow is identified from the received message flow according to the service flow identification information, and is identified according to the service flow guidance information.
- the first message stream is directed to the computing device.
- the computing device After receiving the service deployment information, the computing device runs the running file required to deploy the first service according to the service deployment information, to deploy the first service, and performs the first service processing on the first packet flow sent by the identification guiding device. .
- the first packet flow may need to undergo multiple service processing.
- the method further includes:
- the service chain identifier is used to indicate a sequence of multiple service processes and multiple service processes belonging to the first service performed on the first packet flow.
- the service chain identifier may be a VLAN tag, an MPLS label, a VNI in a VXLAN package, or carried in an information domain added to the original message.
- the identification guide adds the service chain identifier to the first message stream for transmission to the computing device.
- the computing device obtains the service chain identifier from the first packet flow, and determines, according to the service chain identifier, a plurality of service processes belonging to the first service that are to be executed on the first packet flow, and an order in which the multiple service processes are performed. And then performing the plurality of service processing on the first packet flow in the stated order.
- the method further includes: sending a resource adjustment message to the computing device, where the resource adjustment message includes information about resources currently occupied by the running file required to deploy the first service.
- the method for performing the service in the network provided in this embodiment may be performed by the control device shown in FIG. 1 or FIG. 2 in the foregoing embodiment, and details are not described herein.
- the method of this embodiment provides an open service mode, which allows the operator to develop new business functions from the device manufacturer, and can reduce the time required for the development of the new service function, and meets the rapid development of the 0TT application.
- FIG. 15 is a flowchart of still another method for conducting a service in a network according to an embodiment of the present invention. As shown in FIG. 15, the method includes:
- Run according to the service deployment information, a running file required to deploy the first service, To deploy the first service.
- the step 1 502 is to run the running file required to deploy the first service according to the service deployment information, to deploy the first service, including:
- the plurality of service components are multiple service components carried by the running file required for deploying the first service.
- step 1 504 that is, determining, according to the service chain identifier, a sequence of multiple service processes belonging to the first service and performing the multiple service processes that are to be performed on the first packet flow includes:
- the multiple service processing components include two service processing components, which are a first service processing component and a second service processing component respectively.
- multiple service processing includes two service processing.
- the querying the service routing table according to the service chain identifier, determining the usage order of the multiple service processing components and the multiple service processing components from the multiple service components includes:
- the first service processing component is configured to perform a first service process in the multiple service processes
- the second service processing component is configured to execute a second service of the plurality of service processes Reason
- the querying the second service routing entry according to the second ingress, determining that the egress port that reaches the second service processing component includes:
- the method further includes:
- the service deployment information includes address information of the running file, but is not limited thereto, and may further include other information related to the first service to be deployed, such as user information and service feature information. Wait.
- the address information of the running file required to deploy the first service may be path information for accessing the running file and file name information of the running file, or URL information pointing to the running file.
- the method of this embodiment provides an open service mode, which allows the operator to develop new business functions from the device manufacturer, and can reduce the time required for the development of the new service function, and meets the rapid development of the 0TT application.
- FIG. 16 is a flowchart of still another method for conducting a service in a network according to an embodiment of the present invention. As shown in FIG. 16, the method includes:
- the first packet flow is identified from the received packet flow according to the service flow identification information.
- the first packet flow carrying the service chain identifier is directed to the computing device according to the service flow direction information.
- the method provided in this embodiment can be implemented by the identification guiding device shown in FIG. 4 above, and details are not described herein.
- the above service flow guiding information includes at least one of the following information: An internet protocol IP address of the computing device, port information of the computing device, and identification information of a running file required to deploy the first service.
- the method of this embodiment provides an open service mode, which allows the operator to develop new business functions from the device manufacturer, and can reduce the time required for the development of the new service function, and meets the rapid development of the 0TT application.
- FIG. 17 is a flowchart of still another method for conducting a service in a network according to an embodiment of the present invention. As shown in FIG. 17, the method includes:
- the first packet flow is identified from the received packet flow according to the service flow identification information.
- the method provided in this embodiment may be implemented by the system for performing services in the network shown in Figure 5 above, and details are not described herein.
- the method of this embodiment provides an open service mode, which allows the operator to develop new business functions from the device manufacturer, and can reduce the time required for the development of the new service function, and meets the rapid development of the 0TT application.
- FIG. 18 is a flowchart of still another method for conducting a service in a network according to an embodiment of the present invention. As shown in FIG. 18, the method includes:
- the first packet flow is identified from the received packet flow according to the service flow identification information.
- the method performs the performing on the identified first packet flow
- the processing of the first business includes:
- the service chain identifier is used to indicate a sequence of multiple service processes belonging to the first service and performing the plurality of service processes performed on the first packet flow.
- step 1803 that is, running the running file required to deploy the first service according to the service deployment information, to deploy the first service, and after the first service is deployed, the identified The processing of the first service by the first "text stream" includes:
- sequence of determining, according to the service chain identifier, the plurality of service processes that are required to be performed on the first packet flow and performing the multiple service processes includes:
- the method for performing the service in the network provided in this embodiment may be implemented by the system for performing services in the network provided in the embodiment shown in FIG. 12, but is not limited thereto, and may be implemented by other systems.
- the method for developing a service in a network provided by the embodiment of the present invention provides an open service mode, which allows an operator to develop a new service function from a device manufacturer, and can reduce the time required for a new service function to be implemented, and satisfies the 0TT application. Rapid development needs.
- the aforementioned program can be stored in a computer readable storage medium.
- the program when executed, performs the steps including the foregoing method embodiments; and the foregoing storage medium includes: R0M, RAM, disk or optical disk, and the like, which can store program codes. Medium.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Business, Economics & Management (AREA)
- Marketing (AREA)
- Entrepreneurship & Innovation (AREA)
- Human Resources & Organizations (AREA)
- Economics (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明实施例提供一种网络中开展业务的方法、装置及系统。控制装置包括:协同单元,用于接收请求开展业务的业务请求,所述业务请求包括用于请求部署第一业务的业务部署信息、用于识别第一报文流的业务流识别信息和业务流导向信息;控制单元,用于向计算装置发送所述业务部署信息,向识别导向装置发送所述业务流识别信息和所述业务流导向信息。本发明技术方案提供一种新的业务模式,可以满足OTT应用的发展需求。
Description
网络中开展业务的方法、 装置及系统 本申请要求于 2013 年 4 月 23 日提交中国专利局、 申请号为 CN 201310143348. 发明名称为 "网络中开展业务的方法、 装置及系统" 的中 国专利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域 本发明实施例涉及通信技术, 尤其涉及一种网络中开展业务的方法、 装 置及系统。 背景技术 运行于网络之上的互联网 (Interne t )应用通常被称为越顶 (Over The Top ,简称为 OTT )应用。大量 OTT应用部署于互联网数据中心( Internet Da ta Center , 简称为 IDC ), IDC位于网络核心层。 用户终端访问位于 IDC中的 OTT 应用, 是典型的用户上网模式, 0TT应用可以有客户端软件安装于用户终端, 但由于网络条件的限制, 当大量用户终端访问 0TT应用时, 不论用户终端是 通过浏览器还是通过 0TT客户端进行访问, 都会出现停滞等待的情况, 影响 用户体验。
基于上述问题, 一些规模较大的 0TT应用, 可能会使用内容分发网络 ( Content De l ivery Ne twork, 简称为 CDN ) 的服务模式, 即用户访问中心 OTT 应用时, 其访问会被重定向到靠近用户的一个分布 0TT应用, 这种方式可以减 轻中心 0TT应用的带宽压力,一定程度上可以减轻停滞等待等不良体验。但是, 在互联网迅速发展的今天, 这种服务模式仍不能满足 0TT应用快速发展的需 要。 因此, 急需一种支持 0TT应用的新的业务模式, 用以满足 0TT应用开始发 展的需要。
发明内容 本发明实施例提供一种网络中开展业务的方法、 装置及系统, 用以提供
一种新的业务模式, 以满足 0TT应用的发展需求。
第一方面提供一种控制装置, 包括:
协同单元, 用于接收请求开展业务的业务请求, 所述业务请求包括用于 请求部署第一业务的业务部署信息、 用于识别第一报文流的业务流识别信息 和业务流导向信息;
控制单元, 用于向计算装置发送所述业务部署信息, 向识别导向装置发 送所述业务流识别信息和所述业务流导向信息。
结合第一方面, 在第一方面的第一种可能的实现方式中, 所述控制单元 还用于向所述识别导向装置发送业务链标识。
结合第一方面或第一方面的第一种可能的实现方式, 在第一方面的第二 种可能的实现方式中, 所述控制单元具体用于向所述计算装置发送加载命令 消息, 并向所述识别导向装置发送流控制消息; 其中, 所述加载命令消息包 括所述业务部署信息, 所述流控制消息所述业务流识别信息和所述业务流导 向信息。
结合第一方面或第一方面的第一种可能的实现方式或第一方面的第二种 可能的实现方式, 在第一方面的第三种可能的实现方式中, 所述控制单元, 还用于向所述计算装置发送资源调整消息, 所述资源调整消息包括部署所述 第一业务所需的运行文件当前需要占用的资源的信息。
结合第一方面的第二种可能的实现方式或第一方面的第三种可能的实现 方式, 在第一方面的第四种可能的实现方式中, 所述控制单元包括: 第一控 制模块和第二控制模块;
所述协同单元, 还用于向所述第一控制模块发送第一控制消息, 向所述 第二控制模块发送第二控制消息, 所述第一控制消息包括所述业务流识别信 息和所述业务流导向信息, 所述第二控制消息包括所述业务部署信息;
所述第一控制模块, 用于根据所述第一控制消息向所述识别导向装置发 送所述流控制消息;
所述第二控制模块, 用于根据所述第二控制消息向所述计算装置发送所 述加载命令消息。
结合第一方面或第一方面的第一种可能的实现方式或第一方面的第二种 可能的实现方式或第一方面的第三种可能的实现方式或第一方面的第四种可 能的实现方式, 在第一方面的第五种可能的实现方式中, 所述业务流导向信
息包括以下信息中的至少一个:
所述计算装置的网际协议 IP地址、 所述计算装置的端口信息和部署所述 第一业务所需的运行文件的标识信息。
结合第一方面或第一方面的第一种可能的实现方式或第一方面的第二种 可能的实现方式或第一方面的第三种可能的实现方式或第一方面的第四种可 能的实现方式或第一方面的第五种可能的实现方式, 在第一方面的第六种可 能的实现方式中, 所述业务部署信息包括部署所述第一业务所需的运行文件 的地址信息。
结合第一方面的第六种可能的实现方式, 在第一方面的第七种可能的实 现方式中, 所述运行文件的地址信息包括: 访问所述运行文件的路径信息和 所述运行文件的文件名信息, 或指向所述运行文件的统一资源定位符 URL信 息。
结合第一方面或第一方面的第一种可能的实现方式或第一方面的第二种 可能的实现方式或第一方面的第三种可能的实现方式或第一方面的第四种可 能的实现方式或第一方面的第五种可能的实现方式或第一方面的第六种可能 的实现方式或第一方面的第七种可能的实现方式, 在第一方面的第八种可能 的实现方式中, 所述业务流识别信息包括以下信息中的至少一个:
接收所述第一报文流的物理端口信息、 接收所述第一报文流的逻辑端口 信息、 所述第一 ^艮文流访问的 URL信息以及所述第一 文流的源 IP地址、 目 的 IP地址、 源传输层端口和目的传输层端口信息。
第二方面提供一种计算装置, 包括:
第一接收单元, 用于接收控制装置发送的用于请求部署第一业务的业务 部署信息;
部署单元, 用于根据所述业务部署信息运行部署所述第一业务所需的运 行文件, 以部署所述第一业务;
第二接收单元, 用于接收识别导向装置发送的第一报文流, 所述第一报 文流包括业务链标识;
业务确定单元, 用于根据所述业务链标识确定需要对所述第一报文流执 行的属于所述第一业务的多个业务处理和执行所述多个业务处理的顺序; 处理单元, 用于根据所述顺序对所述第一 文流执行所述多个业务处理。 结合第二方面, 在第二方面的第一种可能的实现方式中, 所述部署单元
具体用于: 根据所述业务部署信息, 加载并运行用于部署所述第一业务的多 个业务部件, 以部署所述第一业务;
所述业务确定单元具体用于: 根据所述业务链标识查询业务路由表, 从 所述多个业务部件中确定多个业务处理部件和所述多个业务处理部件的使用 顺序, 其中, 所述多个业务处理部件为所述多个业务部件中的用于实现所述 多个业务处理的业务部件;
所述处理单元具体用于: 根据所述多个业务处理部件的使用顺序, 使用 所述多个业务处理部件对所述第一 "^文流进行处理。
结合第二方面的第一种可能的实现方式, 在第二方面的第二种可能的实 现方式中, 所述业务确定单元用于根据所述业务链标识查询业务路由表, 从 所述多个业务部件中确定多个业务处理部件和所述多个业务处理部件的使用 顺序包括:
根据所述业务链标识和第一入端口查询第一业务路由表项, 确定到达第 一业务处理部件的出端口, 所述第一入端口为接收所述第一报文流的入端口, 所述第一业务处理部件用于执行所述多个业务处理中的第一业务处理;
将所述第一 >¾文流导向所述第一业务处理部件;
接收经过所述第一业务处理的第一报文流;
根据第二入端口查询第二业务路由表项, 确定到达第二业务处理部件的 出端口, 所述第二入端口为接收所述经过所述第一业务处理的第一报文流的 入端口, 所述第二业务处理部件用于执行所述多个业务处理中的第二业务处 理;
将所述经过所述第一业务处理的第一报文流导向所述第二业务处理部 件。
结合第二方面的第二种可能的实现方式, 在第二方面的第三种可能的实 现方式中, 所述业务确定单元用于根据第二入端口查询第二业务路由表项, 确定到达第二业务处理部件的出端口包括:
根据所述业务链标识和所述第二入端口查询第二业务路由表项, 确定到 达第二业务部件的出端口。
结合第二方面或第二方面的第一种可能的实现方式或第二方面的第二种 可能的实现方式或第二方面的第三种可能的实现方式, 在第二方面的第四种 可能的实现方式中, 所述第一接收单元, 还用于接收所述控制装置发送的资
源调整消息, 所述资源调整消息包括所述运行文件当前需要占用的资源的信 息;
所述部署单元, 还用于根据所述资源调整消息调整所述运行文件占用的 资源。
结合第二方面或第二方面的第一种可能的实现方式或第二方面的第二种 可能的实现方式或第二方面的第三种可能的实现方式或第二方面的第四种可 能的实现方式, 在第二方面的第五种可能的实现方式中, 所述业务部署信息 包括所述运行文件的地址信息。
结合第二方面或第二方面的第一种可能的实现方式或第二方面的第二种 可能的实现方式或第二方面的第三种可能的实现方式或第二方面的第四种可 能的实现方式或第二方面的第五种可能的实现方式, 在第二方面的第六种可 能的实现方式中, 所述计算装置是服务器设备;
所述业务确定单元实现于所述服务器设备的虚拟交换机 Vswi tch中。 第三方面提供一种识别导向装置, 包括:
接收单元, 用于接收控制装置发送的用于识别第一报文流的业务流识别 信息和业务流导向信息;
识别单元, 用于根据所述业务流识别信息从接收到的报文流中识别出所 述第一报文流;
配置单元, 用于为所述第一 >¾文流添加业务链标识;
导向单元, 用于根据所述业务流导向信息将携带所述业务链标识的所述 第一报文流导向至计算装置。
结合第三方面, 在第三方面的第一种可能的实现方式中, 所述业务流导 向信息包括以下信息中的至少一个:
所述计算装置的网际协议 IP地址、 所述计算装置的端口信息和部署所述 第一业务所需的运行文件的标识信息。
第四方面提供一种网络中开展业务的系统, 包括: 第一方面提供的任一 控制装置、 第二方面提供的任一计算装置和第三方面提供的任一识别导向装 置。
第五方面提供一种网络中开展业务的系统, 包括: 第一方面提供的任一 控制装置, 还包括识别导向装置和计算装置;
所述识别导向装置用于:
接收所述控制装置发送的用于识别第一报文流的业务流识别信息和业务 流导向信息;
根据所述业务流识别信息从接收到的报文流中识别出所述第一报文流; 根据所述业务流导向信息将所述第一报文流导向至所述计算装置; 所述计算装置用于:
接收所述控制装置发送的用于请求部署第一业务的业务部署信息; 根据所述业务部署信息运行部署所述第一业务所需的运行文件, 以部署 所述第一业务;
接收所述识别导向装置发送的所述第一报文流;
对所述第一报文流进行所述第一业务的处理。
第六方面提供一种网络中开展业务的系统, 包括: 控制装置、 计算装置 和识别装置;
所述控制装置, 用于接收请求开展业务的业务请求, 所述业务请求包括 用于请求部署第一业务的业务部署信息和用于识别第一报文流的业务流识别 信息;
所述识别装置, 用于根据所述业务流识别信息从接收到的报文流中识别 出所述第一报文流;
所述计算装置, 用于根据所述业务部署信息运行部署所述第一业务所需 的运行文件, 以部署所述第一业务, 在部署了所述第一业务后, 对识别出的 所述第一报文流进行所述第一业务的处理。
结合第六方面, 在第六方面的第一种可能的实现方式中, 所述识别装置 还用于在所述第一报文流中添加业务链标识;
所述计算装置具体用于:
加载并运行用于部署所述第一业务的多个业务部件, 以部署所述第一业 务;
根据所述业务链标识确定需要对所述第一报文流执行的属于所述第一业 务的多个业务处理和执行所述多个业务处理的顺序;
根据所述顺序对所述第一报文流执行所述多个业务处理。
结合第六方面的第一种可能的实现方式, 在第六方面的第二种可能的实 现方式中, 所述计算装置根据所述业务链标识确定需要对所述第一报文流执 行的属于所述第一业务的多个业务处理和执行所述多个业务处理的顺序包
括:
根据所述业务链标识查询业务路由表, 从所述多个业务部件中确定多个 业务处理部件和所述多个业务处理部件的使用顺序, 其中, 所述多个业务处 理部件为所述多个业务部件中的用于实现所述多个业务处理的业务部件; 根据所述多个业务处理部件的使用顺序, 使用所述多个业务处理部件对 所述第一报文流进行处理。
第七方面提供一种网络中开展业务的方法, 包括:
接收请求开展业务的业务请求, 所述业务请求包括用于请求部署第一业 务的业务部署信息、 用于识别第一报文流的业务流识别信息和业务流导向信 息;
向计算装置发送所述业务部署信息, 向识别导向装置发送所述业务流识 别信息和所述业务流导向信息。
结合第七方面, 在第七方面的第一种可能的实现方式中, 所述方法还包 括: 向所述识别导向装置发送业务链标识。
结合第七方面或第七方面的第一种可能的实现方式, 在第七方面的第二 种可能的实现方式中, 所述向计算装置发送所述业务部署信息, 向识别导向 装置发送所述业务流识别信息和所述业务流导向信息包括:
向所述计算装置发送加载命令消息, 并向所述识别导向装置发送流控制 消息; 其中, 所述加载命令消息包括所述业务部署信息, 所述流控制消息所 述业务流识别信息和所述业务流导向信息。
结合第七方面或第七方面的第一种可能的实现方式或第七方面的第二种 可能的实现方式, 在第七方面的第三种可能的实现方式中, 所述方法还包括: 向所述计算装置发送资源调整消息, 所述资源调整消息包括部署所述第 一业务所需的运行文件当前需要占用的资源的信息。
结合第七方面或第七方面的第一种可能的实现方式或第七方面的第二种 可能的实现方式或第七方面的第三种可能的实现方式, 在第七方面的第四种 可能的实现方式中, 所述业务流导向信息包括以下信息中的至少一个:
所述计算装置的网际协议 IP地址、 所述计算装置的端口信息和部署所述 第一业务所需的运行文件的标识信息。
结合第七方面或第七方面的第一种可能的实现方式或第七方面的第二种 可能的实现方式或第七方面的第三种可能的实现方式或第七方面的第四种可
能的实现方式, 在第七方面的第五种可能的实现方式中, 所述业务部署信息 包括部署所述第一业务所需的运行文件的地址信息。
结合第七方面的第五种可能的实现方式, 在第七方面的第六种可能的实 现方式中, 所述运行文件的地址信息包括: 访问所述运行文件的路径信息和 所述运行文件的文件名信息, 或指向所述运行文件的统一资源定位符 URL信 息。
结合第七方面或第七方面的第一种可能的实现方式或第七方面的第二种 可能的实现方式或第七方面的第三种可能的实现方式或第七方面的第四种可 能的实现方式或第七方面的第五种可能的实现方式或第七方面的第六种可能 的实现方式, 在第七方面的第七种可能的实现方式中, 所述业务流识别信息 包括以下信息中的至少一个:
接收所述第一报文流的物理端口信息、 接收所述第一报文流的逻辑端口 信息、 所述第一 ^艮文流访问的 URL信息以及所述第一 文流的源 IP地址、 目 的 IP地址、 源传输层端口和目的传输层端口信息。
第八方面提供一种网络中开展业务的方法, 包括:
接收用于请求部署第一业务的业务部署信息;
根据所述业务部署信息运行部署所述第一业务所需的运行文件, 以部署 所述第一业务;
接收第一报文流, 所述第一报文流包括业务链标识;
根据所述业务链标识确定需要对所述第一报文流执行的属于所述第一业 务的多个业务处理和执行所述多个业务处理的顺序;
根据所述顺序对所述第一报文流执行所述多个业务处理。
结合第八方面, 在第八方面的第一种可能的实现方式中, 所述根据所述 业务部署信息运行部署所述第一业务所需的运行文件, 以部署所述第一业务 包括:
根据所述业务部署信息, 加载并运行用于部署所述第一业务的多个业务 部件, 以部署所述第一业务;
所述根据所述业务链标识确定需要对所述第一报文流执行的属于所述第 一业务的多个业务处理和执行所述多个业务处理的顺序包括:
根据所述业务链标识查询业务路由表, 从所述多个业务部件中确定多个 业务处理部件和所述多个业务处理部件的使用顺序, 其中, 所述多个业务处
理部件为所述多个业务部件中的用于实现所述多个业务处理的业务部件; 所述根据所述顺序对所述第 文流执行所述多个业务处理包括: 根据所述多个业务处理部件的使用顺序, 使用所述多个业务处理部件对 所述第一报文流进行处理。
结合第八方面的第一种可能的实现方式, 在第八方面的第二种可能的实 现方式中, 所述根据所述业务链标识查询业务路由表, 从所述多个业务部件 中确定多个业务处理部件和所述多个业务处理部件的使用顺序包括:
根据所述业务链标识和第一入端口查询第一业务路由表项, 确定到达第 一业务处理部件的出端口, 所述第一入端口为接收所述第一报文流的入端口, 所述第一业务处理部件用于执行所述多个业务处理中的第一业务处理;
将所述第一 >¾文流导向所述第一业务处理部件;
接收经过所述第一业务处理的第一报文流;
根据第二入端口查询第二业务路由表项, 确定到达第二业务处理部件的 出端口, 所述第二入端口为接收所述经过所述第一业务处理的第一报文流的 入端口, 所述第二业务处理部件用于执行所述多个业务处理中的第二业务处 理;
将所述经过所述第一业务处理的第一报文流导向所述第二业务处理部 件。
结合第八方面的第二种可能的实现方式, 在第八方面的第三种可能的实 现方式中, 所述根据第二入端口查询第二业务路由表项, 确定到达第二业务 处理部件的出端口包括:
根据所述业务链标识和所述第二入端口查询第二业务路由表项, 确定到 达第二业务部件的出端口。
结合第八方面或第八方面的第一种可能的实现方式或第八方面的第二种 可能的实现方式或第八方面的第三种可能的实现方式, 在第八方面的第四种 可能的实现方式中, 所述方法还包括:
接收资源调整消息, 所述资源调整消息包括所述运行文件当前需要占用 的资源的信息;
根据所述资源调整消息调整所述运行文件占用的资源。
结合第八方面或第八方面的第一种可能的实现方式或第八方面的第二种 可能的实现方式或第八方面的第三种可能的实现方式或第八方面的第四种可
能的实现方式, 在第八方面的第五种可能的实现方式中, 所述业务部署信息 包括所述运行文件的地址信息。
第九方面提供一种网络中开展业务的方法, 包括:
接收用于识别第一报文流的业务流识别信息和业务流导向信息; 根据所述业务流识别信息从接收到的报文流中识别出所述第一报文流; 为所述第一报文流添加业务链标识;
根据所述业务流导向信息将携带所述业务链标识的所述第一报文流导向 至计算装置。
结合第九方面, 在第九方面的第一种可能的实现方式中, 所述业务流导 向信息包括以下信息中的至少一个:
所述计算装置的网际协议 IP地址、 所述计算装置的端口信息和部署所述 第一业务所需的运行文件的标识信息。
第十方面提供一种网络中开展业务的方法, 包括:
接收请求开展业务的业务请求, 所述业务请求包括用于请求部署第一业 务的业务部署信息和用于识别第一报文流的业务流识别信息和业务流导向信 息;
根据所述业务流识别信息从接收到的报文流中识别出所述第一报文流; 根据所述业务流导向信息将所述第一报文流导向至计算装置;
根据所述业务部署信息运行部署所述第一业务所需的运行文件, 以部署 所述第一业务, 并在部署了所述第一业务后, 对导向的所述第一报文流执行 所述第一业务的处理。
第十一方面提供一种网络中开展业务的方法, 包括:
接收请求开展业务的业务请求, 所述业务请求包括用于请求部署第一业 务的业务部署信息和用于识别第一报文流的业务流识别信息;
根据所述业务流识别信息从接收到的报文流中识别出所述第一报文流; 根据所述业务部署信息运行部署所述第一业务所需的运行文件, 以部署 所述第一业务, 在部署了所述第一业务后, 对识别出的所述第一报文流进行 所述第一业务的处理。
结合第十一方面, 在第十一方面的第一种可能的实现方式中, 在对识别 出的所述第一报文流进行所述第一业务的处理之前包括:
在所述第一报文流中添加业务链标识;
所述根据所述业务部署信息运行部署所述第一业务所需的运行文件, 以 部署所述第一业务, 在部署了所述第一业务后, 对识别出的所述第一报文流 进行所述第一业务的处理包括:
加载并运行用于部署所述第一业务的多个业务部件, 以部署所述第一业 务;
根据所述业务链标识确定需要对所述第一报文流执行的属于所述第一业 务的多个业务处理和执行所述多个业务处理的顺序;
根据所述顺序对所述第一报文流执行所述多个业务处理。
结合第十一方面的第一种可能的实现方式, 在第十一方面的第二种可能 的实现方式中, 所述根据所述业务链标识确定需要对所述第一报文流执行的 属于所述第一业务的多个业务处理和执行所述多个业务处理的顺序包括: 根据所述业务链标识查询业务路由表, 从所述多个业务部件中确定多个 业务处理部件和所述多个业务处理部件的使用顺序, 其中, 所述多个业务处 理部件为所述多个业务部件中的用于实现所述多个业务处理的业务部件; 根据所述多个业务处理部件的使用顺序, 使用所述多个业务处理部件对 所述第一报文流进行处理。
在本发明技术方案中, 由控制装置接收请求开展业务的业务请求, 将业 务请求中请求部署第一业务的业务部署信息提供给计算装置, 计算装置运行 部署第一业务所需的运行文件, 将业务请求中的用于识别第一报文流的业务 流识别信息和业务流导向信息提供给识别导向装置, 由识别导向装置识别出 第一报文流, 并导向计算装置, 再由已经部署第一业务的计算装置对第一报 文流进行第一业务的处理, 实现开展所述第一业务。 本发明技术方案允许在 部署业务时才加载并运行有关运行文件, 提供了一种开放式的业务模式, 允 许运营商脱离设备厂商自己开发新的业务功能, 可以减少新业务功能开展需 要的时间, 满足了 0TT应用快速发展的需求。 附图说明 为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作一简单地介绍, 显而易见地, 下 面描述中的附图是本发明的一些实施例, 对于本领域普通技术人员来讲, 在
不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。
图 1为本发明实施例提供的一种控制装置的结构示意图;
图 2为本发明实施例提供的另一种控制装置的结构示意图;
图 3为本发明实施例提供的一种计算装置的结构示意图;
图 4为本发明实施例提供的一种识别导向装置的结构示意图;
图 5为本发明实施例提供的一种网络中开展业务的系统结构示意图; 图 6为本发明实施例提供的另一种网络中开展业务的系统结构示意图; 图 7为本发明实施例提供的又一种网络中开展业务的系统结构示意图; 图 8为本发明实施例提供的又一种网络中开展业务的系统结构示意图; 图 9为本发明实施例提供的一种 sof tBNG系统的结构示意图;
图 10为本发明实施例提供的用于基于网盘 he lper的上传流程示意图; 图 11为本发明实施例提供的 sof tBNG系统实现网盘业务时的一种结构示 意图;
图 12为本发明实施例提供的又一种网络中开展业务的系统结构示意图; 图 13为本发明实施例提供的一种网络中开展业务的方法流程图; 图 14为本发明实施例提供的另一种网络中开展业务的方法流程图; 图 15为本发明实施例提供的又一种网络中开展业务的方法流程图; 图 16为本发明实施例提供的又一种网络中开展业务的方法流程图; 图 17为本发明实施例提供的又一种网络中开展业务的方法流程图; 图 18为本发明实施例提供的又一种网络中开展业务的方法流程图。
具体实施方式 为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本发 明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于 本发明中的实施例, 本领域普通技术人员在没有作出创造性劳动前提下所获 得的所有其他实施例, 都属于本发明保护的范围。
图 1为本发明实施例提供的一种控制装置的结构示意图。 如图 1所示, 所述装置包括: 协同单元 11和控制单元 12。
协同单元 11 , 用于接收请求开展业务的业务请求, 所述业务请求包括用 于请求部署第一业务的业务部署信息、 用于识别第一报文流的业务流识别信 息和业务流导向信息。
控制单元 12 , 与协同单元 11连接, 用于向计算装置发送协同单元 11接 收的所述业务部署信息, 向识别导向装置发送协同单元 11接收的所述业务流 识别信息和所述业务流导向信息。
其中, 所述业务部署信息可以包括部署第一业务所需的运行文件的地址 信息, 但并不限于此, 例如还可以包括与所要部署的第一业务有关的其他一 些信息, 例如用户信息、 业务特征信息等。 可选的, 部署第一业务所需的运 行文件的地址信息可以是访问所述运行文件的路径信息和该运行文件的文件 名信息, 或者是指向所述运行文件的统一资源定位符 (Uniform Resource Loca tor , 简称为 URL )信息等。
上述业务流识别信息主要用于指示需要识别出的报文流, 在本实施例中, 所述需要识别出的报文流也就是需要部署的第一业务的报文流。 为简化描述, 在本发明实施例中, 将所述第一业务的报文流称为第一报文流, 相应的, 上 述业务流识别信息主要用于指示需要识别的第一报文流。
所述业务流识别信息可以包括但不限于以下信息中的至少一个: 接收所 述第一报文流的物理端口信息 (即该第一报文流的来源物理端口信息) 、 接 收所述第一报文流的逻辑端口信息(即该第一报文流的来源逻辑端口信息) 、 所述第一 4艮文流访问的 URL 信息和所述第一 ^艮文流源网际协议( Internet Protocol , 简称为 IP )地址、 目的 IP地址、 源传输层端口信息以及目的传输 层端口信息。
上述业务流导向信息主要用于指示将所述第一报文流导向负责部署第一 业务的计算装置。
所述业务流导向信息包括但不限于以下信息中的至少一个: 计算装置的 IP地址、 所述计算装置的端口信息和部署第一业务所需的运行文件的标识信 息, 例如文件名信息等。
其中, 识别导向装置接收到业务流识别信息和业务流导向信息后, 根据 该业务流识别信息从接收到的报文流中识别出第一报文流, 并根据业务流导 向信息将识别出的第一报文流导向计算装置。 计算装置接收到业务部署信息 后, 根据该业务部署信息, 运行部署第一业务所需的运行文件, 以部署第一
业务, 并对识别导向装置发送的第一报文流进行第一业务的处理。 在一可选实施方式中, 第一报文流可能需要经过多个业务处理。 基于此, 控制单元 12除了用于向识别导向装置发送业务流识别信息和业务流导向信息 之外, 还用于向识别导向装置发送业务链标识。 该业务链标识用于指示对第 一报文流执行的属于第一业务的多个业务处理和执行多个业务处理的顺序。
在实现上, 该业务链标识可以是虚拟局域网 (Virtual Local Area Network, 简称为 VLAN)标签、 多协议标签交换( Mul t i_Protocol Label Switching, 简称为 MPLS )标签, 虚拟扩展本地局域网 (Virtual extensible Local Area Network,简称为 VXLAN)封装中的 VXLAN网络标识( VXLAN Network Identifier, 简称为 VNI ) , 或在增加于原报文之外的信息域中携带。 关于 VXLAN可参见 IETF draft: draft_mahalingam_duU_dcops_vxlan_03. txt。
基于此, 识别导向装置会将业务链标识添加到第一报文流中发送给计算 装置。 计算装置从第一报文流中获取业务链标识, 并根据该业务链标识, 确 定需要对第一报文流执行的属于第一业务的多个业务处理和执行所述多个业 务处理的顺序, 然后按照所述顺序, 对第一报文流执行所述多个业务处理。
在一可选实施方式中, 控制单元 12向计算装置发送所述业务部署信息, 向识别导向装置发送所述业务流识别信息和所述业务流导向信息包括:
控制单元 12具体可用于向计算装置发送加载命令消息, 并向识别导向装 置发送流控制消息; 其中, 所述加载命令消息包括所述业务部署信息, 所述 流控制消息所述业务流识别信息和所述业务流导向信息。
基于上述, 在一可选实施方式中, 控制单元 12还用于向计算装置发送资 源调整消息, 所述资源调整消息包括部署第一业务所需的运行文件当前需要 占用的资源的信息。 基于此, 计算装置可以根据该资源调整消息包含的所述 运行文件当前需要占用的资源的信息, 调整所述运行文件所占用的资源的信 息。
基于上述, 如图 2所示, 所述控制单元 12的一种实现结构包括: 第一控 制模块 121和第二控制模块 122。
基于此, 协同单元 11还用于向第一控制模块 121发送第一控制消息, 向 第二控制模块 122发送第二控制消息, 所述第一控制消息包括业务流识别信 息和业务流导向信息, 所述第二控制消息包括业务部署信息。
第一控制模块 121 , 用于接收协同单元 11发送的第一控制消息, 并根据
第一控制消息向识别导向装置发送加载命令消息。
第二控制模块 122 , 用于接收协同单元 11发送的第二控制消息, 并根据 第二控制消息向计算装置发送加载命令消息。
进一步, 第二控制模块 122还用于向计算装置发送资源调整消息。
本实施例提供的控制装置, 通过接收业务请求, 并将业务请求包括的业 务部署信息、 业务流识别信息和业务流导向信息提供给计算装置和识别导向 装置, 使得计算装置部署第一业务, 识别导向装置识别第一业务的报文流并 导向计算装置进行处理。 本实施例提供的控制装置在开展业务时, 才通过业 务部署信息控制计算装置记载并运行部署业务所需的运行文件, 提供了一种 开放式的业务模式, 允许运营商脱离设备厂商自己开发新的业务功能, 可以 减少新业务功能开展需要的时间, 满足了 0TT应用快速发展的需求。
图 3为本发明实施例提供的一种计算装置的结构示意图。 如图 3所示, 所述计算装置包括: 第一接收单元 31、 部署单元 32、 第二接收单元 33、 业务 确定单元 34和处理单元 35。
第一接收单元 31 , 用于接收控制装置发送的用于请求部署第一业务的业 务部署信息。
部署单元 32 , 与第一接收单元 31连接, 用于根据第一接收单元 31接收 的所述业务部署信息运行部署所述第一业务所需的运行文件, 以部署所述第 一业务。
第二接收单元 33 , 用于接收识别导向装置发送的第一报文流, 所述第一 才艮文流包括业务链标识。
业务确定单元 34 , 与第二接收单元 33连接, 用于根据第二接收单元 33 接收的所述业务链标识确定需要对所述第一报文流执行的属于所述第一业务 的多个业务处理和执行所述多个业务处理的顺序。
处理单元 35 , 与业务确定单元 34连接, 用于根据业务确定单元 34确定 的所述顺序对所述第 文流执行所述多个业务处理。
本实施例中的控制装置可以釆用图 1或图 2所示的结构实现, 但不限于 此。 控制装置主要负责控制计算装置和识别导向装置完成对第一业务的部署 和对第一业务的"¾文流的处理。
其中, 所述业务部署信息可以包括部署第一业务所需的运行文件的地址 信息, 但并不限于此, 例如还可以包括与所要部署的第一业务有关的其他一
些信息, 例如用户信息、 业务特征信息等。 可选的, 部署第一业务所需的运 行文件的地址信息可以是访问所述运行文件的路径信息和该运行文件的文件 名信息, 或者是指向所述运行文件的 URL信息等。 基于此, 部署单元 32具体 可根据业务部署信息包括的所述运行文件的地址信息, 获取所述运行文件, 然后运行所述运行文件, 以部署所述第一业务。
在本实施例中, 将第一业务的 文流称为第一 文流。 在一可选实施方 式中, 第一报文流需要经过多个业务处理。 于是, 控制装置除了向识别导向 装置发送业务流识别信息和业务流导向信息之外, 还向识别导向装置发送业 务链标识。 识别导向装置根据控制装置发送的业务流识别信息从接收的报文 流中识别出第一报文流, 将控制装置发送的业务链标识添加到所述第一报文 流中, 并根据控制装置发送的业务流导向信息将携带有业务链标识的第一报 文流发送给第二接收单元 33。
在本实施例中, 业务链标识用于指示对第一报文流执行的属于第一业务 的多个业务处理和执行多个业务处理的顺序。 基于此, 业务确定单元 34根据 所述业务链标识的指示, 确定需要对所述第一报文流执行的属于所述第一业 务的多个业务处理和执行所述多个业务处理的顺序; 而处理单元 35则根据业 务确定单元 34确定的所述顺序对所述第一报文流执行所述多个业务处理。
在实现上, 该业务链标识可以是 VLAN标签、 MPLS标签, VXLAN封装中的 VNI , 或在增加于原报文之外的信息域中携带。
在一可选实施方式中, 部署单元 32根据所述业务部署信息运行部署所述 第一业务所需的运行文件, 以部署所述第一业务包括:
部署单元 32具体用于根据所述业务部署信息, 加载并运行用于部署所述 第一业务的多个业务部件, 以部署所述第一业务。 这里所述的多个业务部件 具体由部署第一业务所需的运行文件承载。 即部署单元 32具体用于根据所述 业务部署信息, 加载并运行由部署第一业务所需的运行文件承载的多个业务 部件, 以部署第一业务。
相应的, 业务确定单元 34根据所述业务链标识确定需要对所述第一报文 流执行的属于所述第一业务的多个业务处理和执行所述多个业务处理的顺序 包括:
业务确定单元 34具体用于根据所述业务链标识查询业务路由表, 从所述 多个业务部件中确定多个业务处理部件和所述多个业务处理部件的使用顺
序, 其中, 所述多个业务处理部件为所述多个业务部件中的用于实现所述多 个业务处理的业务部件。
相应的, 处理单元 35根据业务确定单元 34确定的所述顺序, 对所述第 一报文流执行所述多个业务处理包括:
处理单元 35具体用于根据业务确定单元 34确定的所述多个业务处理部 件的使用顺序, 使用业务确定单元 34确定的所述多个业务处理部件对所述第 一才艮文流进行处理。
进一步可选的, 业务确定单元 34用于根据所述业务链标识查询业务路由 表, 从所述多个业务部件中确定多个业务处理部件和所述多个业务处理部件 的使用顺序包括:
业务确定单元 34具体用于: 根据所述业务链标识和第一入端口查询第一 业务路由表项, 确定到达第一业务处理部件的出端口, 所述第一入端口为接 收所述第一报文流的入端口, 所述第一业务处理部件用于执行所述多个业务 处理中的第一业务处理;
将所述第 文流导向所述第一业务处理部件;
接收经过所述第一业务处理的第一报文流;
根据第二入端口查询第二业务路由表项, 确定到达第二业务处理部件的 出端口, 所述第二入端口为接收所述经过所述第一业务处理的第一报文流的 入端口, 所述第二业务处理部件用于执行所述多个业务处理中的第二业务处 理;
将所述经过所述第一业务处理的第一报文流导向所述第二业务处理部 件。
进一步, 业务确定单元 34用于根据第二入端口查询第二业务路由表项, 确定到达第二业务处理部件的出端口包括:
业务确定单元 34具体用于根据所述业务链标识和所述第二入端口查询第 二业务路由表项, 确定到达第二业务部件的出端口。
在此说明, 上述仅给出了需要对第一报文流执行的多个业务处理包括两 个业务处理的情况, 但并不限于此, 当需要对第一报文流执行的多个业务处 理包括两个以上的业务处理时, 可按照上述类似的处理方式进行处理。
在一可选实施方式中, 第一接收单元 31除了用于接收控制装置发送的业 务部署信息之外, 还用于接收控制装置发送的资源调整消息, 该资源调整消
息包括部署第一业务所需的运行文件当前需要占用的资源的信息。 基于此, 部署单元 32除了根据第一接收单元 31接收的业务部署信息, 运行部署第一 业务所需的运行文件之外 ,还用于根据第一接收单元 31接收的资源调整消息 , 调整所述运行文件占用的资源。
在具体实现上, 本实施例的计算装置可以是服务器设备, 但不限于此。 如果本实施例的计算装置为服务器设备, 则上述业务确定单元 34可以实现于 所述服务器设备的虚拟交换机(Vswi tch ) 中, 但不限于此。
本实施例提供的计算装置, 接收控制装置发送的业务部署信息, 根据所 述业务部署信息运行部署第一业务的运行文件, 并接收识别导向装置在控制 装置的控制下发送的携带有业务链标识的第一业务的报文流, 基于业务链标 识确定需要对第一报文流执行的业务处理和执行业务处理的顺序, 然后按照 所述顺序对第一报文流进行第一业务的处理。 由此可见, 本实施例的计算装 置可以在控制装置的控制下, 并与识别导向装置相配合, 在需要部署业务的 时候才运行所需部署的业务的运行文件, 以完成业务的部署, 并完成对所部 署的业务的报文流的处理, 提供了一种开放式的业务模式, 允许运营商脱离 设备厂商自己开发新的业务功能, 可以减少新业务功能开展需要的时间, 满 足了 0TT应用快速发展的需求。
图 4为本发明实施例提供的一种识别导向装置的结构示意图。 如图 4所 示, 所述装置包括: 接收单元 41、 识别单元 42、 配置单元 43和导向单元 44。
接收单元 41 , 用于接收控制装置发送的用于识别第一报文流的业务流识 别信息和业务流导向信息。
识别单元 42 , 与接收单元 41连接, 用于根据接收单元 41接收的所述业 务流识别信息从接收到的报文流中识别出所述第一报文流。
配置单元 43 , 与识别单元 42连接, 用于为识别单元 42识别出的所述第 一才艮文流添加业务链标识。
导向单元 44 , 与接收单元 41和配置单元 43连接, 用于根据接收单元 41 接收的所述业务流导向信息将携带所述业务链标识的所述第一报文流导向至 计算装置。
本实施例中的控制装置可以釆用图 1或图 2所示的结构实现, 但不限于 此。 本实施例的计算装置可以釆用图 3所示结构实现, 但不限于此。
在本实施例中, 当控制装置接收到请求开展业务的业务请求后, 向识别
导向装置发送该业务请求包括的业务流识别信息和业务流导向信息, 以使识 别导向装置从接收的报文流中识别出需要部署的第一业务的报文流(即第一 报文流) 并导向计算装置。 另外, 控制装置还向计算装置发送该业务请求包 括的业务部署信息, 以使计算装置运行需要部署的第一业务的运行文件, 以 部署第一业务, 并在部署第一业务后, 对第一报文流进行处理。
上述业务流识别信息主要用于指示需要识别的第一报文流, 第一报文流 也就是需要部署的第一业务的报文流。
所述业务流识别信息可以包括但不限于以下信息中的至少一个: 接收所 述第一报文流的物理端口信息 (即该第一报文流的来源物理端口信息) 、 接 收所述第一报文流的逻辑端口信息(即该第一报文流的来源逻辑端口信息) 、 所述第一^艮文流访问的 URL信息和所述第 文流源 IP地址、 目的 IP地址、 源传输层端口信息以及目的传输层端口信息。 基于此, 识别单元 42可以根据 业务流识别信息, 从接收到的报文流中识别出所述第一报文流。 举例说明: 例如, 如果所述业务流识别信息为第一报文流的来源物理端口信息或逻 辑端口信息, 则识别单元 42可以根据该物理端口信息或逻辑端口信息, 从接 收的各报文流中确定来自于所述物理端口信息所指示的物理端口或来自于逻 辑端口信息所指示的逻辑端口的报文流为所述第一报文流。 又例如, 如果所 述业务流识别信息为指定访问的 URL信息, 则识别单元 42可以才艮据该 URL信 息, 从接收的各报文流中确定用于访问所述 URL信息所指示的网页的报文流 为所述第一报文流。
上述业务流导向信息主要用于指示将所述第一报文流导向负责部署第一 业务的计算装置。
所述业务流导向信息包括但不限于以下信息中的至少一个: 计算装置的 IP地址、 所述计算装置的端口信息和部署第一业务所需的运行文件的标识信 息, 例如文件名信息等。基于此, 导向单元 44具体可以根据业务流导向信息, 将第一报文流导向相应的计算装置。
计算装置接收到业务部署信息后, 根据该业务部署信息, 运行部署第一 业务所需的运行文件, 以部署第一业务, 并对识别导向装置的导向单元 44发 送的第一报文流进行第一业务的处理。
在本实施例中, 第一报文流可能需要经过多个业务处理。 识别导向装置 知道第一报文流需要经过多个业务处理, 故通过其配置单元 43在第一报文流
中添加业务链标识, 用于指示对第一报文流执行的属于第一业务的多个业务 处理和执行多个业务处理的顺序。 这样, 导向单元 44发送给计算装置的第一 报文流就携带有业务链标识。 计算装置可以从第一报文流中获取业务链标识, 并根据该业务链标识, 确定需要对第一报文流执行的属于第一业务的多个业 务处理和执行所述多个业务处理的顺序, 然后按照所述顺序, 对第一报文流 执行所述多个业务处理。
在此说明, 识别导向装置具体可以接收控制装置发送的业务链标识, 但 不限于此。
在实现上, 上述业务链标识可以是 VLAN标签、 MPLS标签, VXLAN封装中 的 VNI , 或在增加于原报文之外的信息域中携带。
本实施例提供的识别导向装置, 接收控制装置发送的业务流识别信息和 业务流导向信息, 根据业务流识别信息从接收到的报文流中识别出需要部署 的第一业务的报文流, 并在需要对该报文流进行多个业务处理的情况下, 在 该报文流中添加业务链标识, 然后根据业务流导向信息将携带有业务链标识 的报文流导向计算装置, 以使已经在控制装置的控制下部署了第一业务的计 算装置完成对该第一业务的报文流的处理。 本实施例提供的识别导向装置, 在控制装置的控制下, 并与计算装置相配合, 使得在需要部署业务时, 才允 许运行需要部署的业务的运行文件, 完成业务的部署和相应报文流的处理, 提供了一种开放式的业务模式, 允许运营商脱离设备厂商自己开发新的业务 功能, 可以减少新业务功能开展需要的时间, 满足了 0TT应用快速发展的需 求。
图 5 为本发明实施例提供的一种网络中开展业务的系统结构示意图。 如 图 5所示, 所述系统包括: 控制装置 51、 识别导向装置 52和计算装置 53。 在图 5中, 带箭头的实线所示为控制装置 51对计算装置 53和识别导向装置 52进行控制的控制流, 而带箭头的虚线所示为报文流向。
其中, 控制装置 51可釆用图 1或图 2所示结构实现, 在此不再赘述。 识别导向装置 52用于:
接收控制装置 51发送的用于识别第一报文流的业务流识别信息和业务流 导向信息;
根据所述业务流识别信息从接收到的报文流中识别出所述第一报文流; 根据所述业务流导向信息将所述第一报文流导向至计算装置 53。
计算装置 53用于:
接收控制装置 51发送的用于请求部署第一业务的业务部署信息; 根据所述业务部署信息运行部署所述第一业务所需的运行文件, 以部署 所述第一业务;
接收识别导向装置 52发送的所述第一报文流;
对所述第一报文流进行所述第一业务的处理。
关于业务流识别信息、 业务流导向信息、 业务部署信息、 第一业务以及 第一文件等详细描述可参见前述实施例的描述。
本实施例提供的系统中的计算装置 53与上述图 3提供的计算装置相比, 除了可以对第一报文流执行多个业务处理之外, 也可以对第一报文流执行一 个业务处理。
本实施例提供的系统中的识别导向装置 52与上述图 4提供的识别导向装 置相比, 除了可以在第一报文流中添加业务链标识之外, 还可以不在第一报 文流中添加业务链标识, 即还可以直接将识别出的第一报文流导向计算装置
53。
关于识别导向装置 52直接将识别出的第一报文流导向计算装置 53 ,以及 计算装置 53对第一报文流执行第一业务的处理的过程可参见下述实施例中关 于计算装置 20和识别导向装置 30的描述, 在此不再赘述。
图 6 为本发明实施例提供的另一种网络中开展业务的系统结构示意图。 如图 6所示, 所述系统包括: 控制装置 10、 计算装置 20和识别导向装置 30。
控制装置 10, 用于接收请求开展业务的业务请求, 所述业务请求包括用 于请求部署的第一业务的业务部署信息、 用于识别第一报文流的业务流识别 信息和业务流导向信息。
其中, 所述业务部署信息主要用于提供指向请求部署的业务所需的运行 文件的信息, 例如可以包括请求部署的业务所需的运行文件的地址信息。 为 便于描述, 在本发明实施例中, 将请求部署的业务称为第一业务。
其中, 所述业务部署信息可以包括部署第一业务所需的运行文件的地址 信息, 但并不限于此, 例如还可以包括与第一业务有关的其他一些信息, 例 如用户信息、 业务特征信息等。 可选的, 所述运行文件的地址信息可以是访 问所述运行文件的路径信息和该运行文件的文件名信息, 或者是指向所述运 行文件的 URL信息等。
上述业务流识别信息主要用于指示需要识别出的报文流, 在本实施例中, 所述需要识别出的报文流也就是请求部署的第一业务的报文流。 为简化描述, 在本发明实施例中, 将第一业务的报文流称为第一报文流, 则上述业务流识 别信息主要用于指示需要识别的第一报文流。
所述业务流识别信息可以包括但不限于以下信息中的至少一个: 接收所 述第一报文流的物理端口信息 (即该第一报文流的来源物理端口信息) 、 接 收所述第一报文流的逻辑端口信息(即该第一报文流的来源逻辑端口信息) 、 所述第一^艮文流访问的 URL信息和所述第 文流源 IP地址、 目的 IP地址、 源传输层端口信息以及目的传输层端口信息。
上述业务流导向信息主要用于指示将所述第一报文流导向部署第一业务 的计算装置 20。
所述业务流导向信息包括但不限于以下信息中的至少一个: 计算装置 20 的 IP地址、 所述计算装置 20的端口信息和所述运行文件的标识信息, 例如 该标识信息可以是所述运行文件的文件名称、 URL信息等
在本实施例中, 控制装置 10 —方面对外提供应用程序编程接口 ( Appl icat ion Programming Interface, 简称为 API ) , 所述 "对夕卜,, 是指 请求部署第一业务的设备或人。 例如, 控制装置 10可以向管理员提供 API , 或者可以向 0TT应用服务器提供 API等。 该 API主要实现两个功能: 一个是 用于提供部署第一业务所需的运行文件的地址信息; 一个是用于提供第一报 文流的识别与导向的信息, 即业务流识别信息和业务流导向信息。 该 API 的 两个主要功能可以通过上述业务请求来实现, 即在所述业务请求中携带所述 业务部署信息、 所述业务流识别信息和所述业务流导向信息。
在此说明, 上述业务请求可以通过一个 API 消息来 7 载, 也可以通过两 个或多个 API 消息来承载, 相应的, 上述业务部署信息、 业务流识别信息和 业务流导向信息也可以在一个 API消息、 两个或多个 API消息中携带。
进一步, 在获取业务部署信息、 业务流识别信息和业务流导向信息之后, 控制装置 10还用于根据所述业务部署信息, 控制计算装置 20运行部署第一 业务所需的运行文件, 并根据所述业务流识别信息和所述业务流导向信息, 控制识别导向装置 30识别第一报文流, 并将识别出的所述第一报文流导向计 算装置 20。
相应的, 计算装置 20, 用于接收控制装置 10发送的业务部署信息, 根据
所述业务部署信息运行部署所述第一业务所需的运行文件, 并对识别导向装 置 30发送的第一报文流进行第一业务的处理。
识别导向装置 30 ,用于接收控制装置 10发送的业务流识别信息和业务流 导向信息, 根据业务流识别信息从所接收的报文流中识别第一报文流, 并根 据业务流导向信息将识别出的第一报文流导向计算装置 20。 这里识别导向装 置 30接收的报文流可以来自于用户侧链路, 也可以来自于网络侧链路, 即识 别导向装置 30所连接的网络链路可以包括用户侧链路, 也可以包括网络侧链 路。
在图 6中, 带箭头的实线所示为控制装置 10对计算装置 20和识别导向 装置 30进行控制的控制流, 而带箭头的虚线所示为报文流向。
在此说明,本实施例的控制装置 10可以釆用图 1或图 2所示的结构实现, 本实施例的计算装置可以釆用图 3 所示结构实现, 本实施例的识别导向装置 30可釆用图 4所示结构实现, 但不限于此。
在本实施例中, 由控制装置接收业务请求, 并根据业务请求中的业务部 署信息控制计算装置运行部署第一业务所需的运行文件, 根据业务请求中的 业务流识别信息和业务流导向信息控制识别导向装置, 识别出第一报文流并 将识别出的第一报文流导向部署第一业务的计算装置, 使得计算装置对第一 报文流进行第一业务的处理。 本实施例提供的网络中开展业务的系统, 将网 络与部署业务所需的运行文件进行了结合, 允许在部署业务时才加载并运行 有关运行文件, 而不用像现有技术那样必须由设备厂家开发并设置在设备中, 提供了一种开放式的业务系统, 允许运营商脱离设备厂商自己开发新的业务 功能, 可以减少新业务功能开展需要的时间, 满足了 0TT应用快速发展的需 求。
图 Ί 为本发明实施例提供的又一种网络中开展业务的系统结构示意图。 如图 7所示, 所述系统包括: 控制装置 1 0、 计算装置 20和识别导向装置 30; 其中, 控制装置 1 0包括: 协同 (Orches t ra tor )单元 11和控制单元 12 ; 控 制单元 12包括第一控制模块 121和第二控制模块 122。 同理, 在图 7中, 带 箭头的实线所示为控制装置 1 0对计算装置 20和识别导向装置 30进行控制的 控制流, 而带箭头的虚线所示为报文流向。
协同单元 11 , 用于提供对外的 API , 主要用于接收请求开展业务的业务 请求, 所述业务请求包括请求部署第一业务的业务部署信息、 用于识别第一
报文流的业务流识别信息和业务流导向信息。 关于业务请求包括的各种信息 的详细描述可参见图 6所示实施例, 在此不再赘述。
进一步, 协同单元 11还用于向第一控制模块 121发送第一控制消息, 向 第二控制模块 122发送第二控制消息, 其中, 第一控制消息包括业务流识别 信息和业务流导向信息, 而第二控制消息包括业务部署信息。
第二控制模块 122 , 用于接收协同单元 1 1发送的第二控制消息, 根据所 述第二控制消息向计算装置 20发送加载命令消息, 控制计算装置 20运行部 署所述第一业务所需的运行文件, 所述加载命令消息包括所述业务部署信 息。 。
相应的, 计算装置 20具体可用于接收第二控制模块 122发送的所述加载 命令消息, 根据所述加载命令消息中的业务部署信息, 获取所述运行文件, 加载所述运行文件并运行。 例如, 如果所述业务部署信息中所述运行文件的 地址信息为访问该运行文件的路径信息和该运行文件的文件名, 则计算装置 20具体可以根据该路径信息和文件名, 获取所述运行文件。 如果所述业务部 署信息中所述运行文件的地址信息为指向该运行文件的 URL信息, 则计算装 置 20具体可以访问该 URL , 获取所述运行文件。
在一可选实施方式中, 协同单元 1 1还可用于向第二控制模块 122发送资 源调整消息, 以供第二控制模块 122控制计算装置 20调整所述运行文件占用 的资源, 所述资源调整消息包括所述运行文件当前需要占用的资源的信息。 在此说明, 协同单元 1 1可以获知所述运行文件所需的资源的信息。
第二控制模块 122 , 还用于接收协同单元 11发送的资源调整消息, 根据 所述资源调整消息控制计算装置 20调整所述运行占用的资源。
第一控制模块 121 , 用于接收协同单元 1 1发送的所述第一控制消息, 根 据第一控制消息向识别导向装置 30发送流控制消息, 控制识别导向装置 30 从所接收的报文流中识别所述第一报文流, 并将识别出的所述第一报文流导 向计算装置 20; 所述流控制消息包括所述业务流识别信息和所述业务流导向 信息。
相应的, 识别导向装置 30具体可用于接收报文流, 并接收第一控制模块 121 发送的所述流控制消息, 根据所述流控制消息中的业务流识别信息, 从所接 收的报文流中识别所述第一报文流, 并根据所述流控制消息中的业务流导向 信息, 将所识别出的所述第一报文流导向计算装置 20。 例如, 如果所述业务
流识别信息为第一报文流的来源物理端口信息或逻辑端口信息, 则识别导向 装置 30可以根据该物理端口信息或逻辑端口信息, 从接收的报文流中确定来 自于所述物理端口信息所指示的物理端口或来自于逻辑端口信息所指示的逻 辑端口的报文流为所述第一报文流。 又例如, 如果所述业务流识别信息为指 定访问的 URL信息, 则识别导向装置 30可以才艮据该 URL信息, 从接收的 >¾文 流中确定用于访问所述 URL信息所指示的网页的报文流为所述第一报文流。 在此说明, 在具体实现上, 识别导向装置 30可以是流分类模块, 即由流分类 模块实现识别导向装置 30的功能。 其中, 流分类模块主要用于对报文流进行 1-4层的识别,所以这种情况主要应用于只需对报文进行 1-4层识别的场景中。 或者, 识别导向装置 30 可以包括流分类模块和深度包检测 (Deep Packe t Ins pec t ion, 简称为 DPI )模块, 即由流分类模块和 DPI模块共同实现识别导 向装置 30的功能。 其中, 流分类模块主要用于对报文流进行 1-4层的识别, 而 DPI主要用于对报文流进行 4-7层的识别, 所以这种情况主要应用于需对 报文深度识别的场景中。
进一步, 在一可选实施方式中, 图 7 所示网络中开展业务的系统包括多 个计算装置 20 , 即计算装置 20 可以实际部署多个实例。 基于此, 协同单元 11还可用于向第二控制模块 122发送计算装置选择策略, 以供第二控制模块 122根据所述计算装置选择策略, 从多个计算装置 20中确定用于部署第一业 务的计算装置 20。相应的, 第二控制模块 122还用于在控制计算装置 20运行 部署所述第一业务所需的运行文件之前, 根据协同单元 11发送的计算装置选 择策略从所述多个计算装置 20中确定用于部署第一业务的计算装置 20。其中, 所确定的用于部署第一业务的计算装置 20可以是一个, 也可以是多个。
可选的, 计算装置选择策略可以包括计算装置负载均衡策略, 即以实现 计算装置负载均衡为目的来选择用于部署第一业务的计算装置 20; 计算装置 范围策略, 即从一定范围内的计算装置 20内选择用于部署第一业务的计算装 置 20; 计算装置优先级策略, 即按照计算装置的优先级, 从多个计算装置 20 中选择用于部署第一业务的计算装置 20; 计算装置指定策略, 即直接指定某 个或某些计算装置 20用于部署第一业务, 例如可以指定用于部署第一业务的 计算装置 20的地址或特征等。
在此说明, 协同单元 11向第二控制模块 122发送计算装置选择策略的过 程, 与向第二控制模块 122发送第二控制消息的过程可以是同一过程, 也可
以是独立的过程。
进一步, 在一可选实施方式中, 图 7 所述网络中开展业务的系统包括多 个识别导向装置 30 , 即识别导向装置 30可以实际部署多个实例。 基于此, 第 一控制模块 121还可用于在向识别导向装置 30发送流控制消息之前, 从多个 识别导向装置 30中确定用于识别第一报文流的识别导向装置 30。 其中, 所确 定的用于识别第一报文流的识别导向装置 30可以是一个或多个。
进一步, 根据请求部署的业务的不同, 对第一报文流进行的第一业务的 处理也会有所不同。 有些业务只需对第一 文流进行一个业务处理即可完成, 有些业务需要对第一报文流进行多个业务处理才能完成。
对于需要进行多个业务处理才能完成的第一业务, 其对应的第一报文流 包括业务链标识, 该业务链标识用于指示对所述第一报文流执行的属于所述 第一业务的多个业务处理和执行所述多个业务处理的顺序。 该业务链标识可 以使用 VLAN标签标识, 使用 MPLS标签标识, 使用 VXLAN中的 VN ID标识, 或者给原报文封装一个业务报文头, 业务报文头中携带该业务链标识。
基于上述业务链标识, 控制装置 10还会向识别导向装置 30发送业务链 标识, 基于图 7所示结构, 具体可由控制装置 1 0的第一控制模块 121向识别 导向装置 30发送业务链标识。 识别导向装置 30还会将业务链标识添加到识 别出的第一 "^文流中,并将携带有业务链标识的第 文流导向计算装置 20。 计算装置 20具体可以在控制装置 10的控制下, 运行部署第一业务所需的运 行文件, 根据第一报文流中的业务链标识, 确定需要对所述第一报文流执行 的属于所述第一业务的多个业务处理和执行所述多个业务处理的顺序, 然后 按照所述顺序对所述第一报文流执行所述多个业务处理。
基于上述业务链标识, 在一可选实施方式中, 计算装置 20具体可用于接 收控制装置 10发送的业务部署信息, 根据所述业务部署信息, 加载并运行用 于由部署所述第一业务所需的运行文件承载的多个业务部件, 以部署所述第 一业务; 并接收识别导向装置 30发送的包括业务链标识的第一报文流, 根据 所述业务链标识查询业务路由表, 从所述多个业务部件中确定多个业务处理 部件和所述多个业务处理部件的使用顺序, 其中, 所述多个业务处理部件为 所述多个业务部件中的用于实现所述多个业务处理的业务部件; 根据所述多 个业务处理部件的使用顺序, 使用所述多个业务处理部件对所述第一报文流 进行处理。
进一步可选的, 计算装置 20根据所述业务链标识查询业务路由表, 从所 述多个业务部件中确定多个业务处理部件和所述多个业务处理部件的使用顺 序包括:
计算装置 20根据所述业务链标识和第一入端口查询第一业务路由表项, 确定到达第一业务处理部件的出端口, 所述第一入端口为接收所述第一报文 流的入端口, 所述第一业务处理部件用于执行所述多个业务处理中的第一业 务处理;
将所述第一 >¾文流导向所述第一业务处理部件;
接收经过所述第一业务处理的第一报文流;
根据第二入端口查询第二业务路由表项, 确定到达第二业务处理部件的 出端口, 所述第二入端口为接收所述经过所述第一业务处理的第一报文流的 入端口, 所述第二业务处理部件用于执行所述多个业务处理中的第二业务处 理;
将所述经过所述第一业务处理的第一报文流导向所述第二业务处理部 件。
进一步可选的, 计算装置 20根据第二入端口查询第二业务路由表项, 确 定到达第二业务处理部件的出端口包括:
计算装置 20根据所述业务链标识和所述第二入端口查询第二业务路由表 项, 确定到达第二业务部件的出端口。
在此说明, 在具体实现上, 本发明各实施例中的计算装置 20可以是服务 器设备或电路板。
在此说明, 在具体实现上, 本发明各实施例中的控制装置 10可部署于服 务器设备上。
在此说明, 在具体实现上, 本发明各实施例中的识别导向装置 30可部署 于网络设备上。 所述网络设备可以是但不限于路由器或以太网交换机。
进一步, 本方明实施例提供的网络中开展业务的系统可部署于同一设备 上实现, 也可以部署于多个不同的设备上实现。 也就是说, 控制装置 10、 计 算装置 20和识别导向装置 30可以部署于同一设备上实现。 或者, 控制装置 10、 计算装置 20和识别导向装置 30可以部署于多个不同的设备上实现。
进一步, 为了使本领域技术人员更加清楚的理解本发明实施例提供的网 络中开展业务的系统, 图 8给出了一种同时包括 3个计算装置和 1个识别导
向装置的系统。 如图 8所示, 所述系统包括: 控制装置 80、 计算装置 81、 计 算装置 82、 计算装置 83、 识别导向装置 84和识别导向装置 85。 其中, 控制 装置 80包括: 协同单元 11和控制单元 12; 控制单元 12 包括第一控制模块 121和第二控制模块 122。
第一控制模块 121 需要向每个识别导向装置发送包括所述业务流识别信 息和业务流导向信息的流控制消息。 第二控制模块 122 需要向每个计算装置 发送包括业务部署信息的加载命令消息。 进一步, 在有需要的时候, 第一控 制模块 121还需要向计算装置发送业务路由信息。 关于图 8所示各模块或单 元的其他功能描述可参见前述实施例, 在此不再赘述。
下面以图 8 所示结构为例, 简单说明一种需要对报文流进行多个业务处 理才能完成的业务处理过程。
假设在图 8中, 识别导向装置 84和 85同时接收报文流, 执行业务识别, 识别导向装置 84和 85将属于第一报文流的报文分别发送到计算装置 81 , 计 算装置 81在处理完属于第一报文流的报文后, 发送处理后第一报文流到网络 中。
在本实施例中, 假设第二报文流需要执行多个业务处理。 则识别导向装 置 84和 85将属于第二报文流的报文识别出来后, 由于第二报文流需要执行 多个业务处理, 所以第二报文流是有业务链标识的, 故识别导向装置 84和 85 将属于第二报文流的报文打上业务链标识, 然后发送到计算装置 82。 计算装 置 82可以识别业务链标识, 并根据该业务链标识所指示的执行多个业务处理 的顺序, 按照第一控制模块 121 发送的业务路由信息 (具体可以通过查找路 由表获取) , 使用多个业务处理对第二报文流进行处理, 最后计算装置 82输 出处理后的第二报文流到计算装置 83。计算装置 83完成对第二报文流的最终 处理, 并发送处理后第二 4艮文流到网络中。
同理, 在图 8 中, 带箭头的实线所示为控制流, 而带箭头的虚线所示为 报文流。
在一可选实施方式中,考虑到宽带网络网关(BNG )设备一般位于城域网, 属于 IP网络的最边缘, 距离用户相比任何 IDC都近, 且不受城域网出口带宽 限制, 因此更有利于减少用户在开展 0TT应用过程中出现停滞等待等情况, 故本方明实施例提供的网络中开展业务的系统可部署于由 BNG设备构成的网 络中。
随着网络功能虚拟化, 本实施例提供的由 BNG设备构成的网络将包含有 标准化信息技术( Informa t ion Techno l ogy, 简称为 IT )服务器, 这些 IT服 务器与 BNG设备一同部署, 或与 G设备部署在同一城域 /地区。 BNG设备通 常是指增加了接入控制功能的路由器, 而服务器主要包含接入控制, 路由控 制等功能, 这种新型的由 BNG设备构成的包括标准服务器的网络或系统, 本 发明实施例将其统一称为软 BNG ( sof tBNG ) 系统。
如图 9所示, 一种 sof tBNG系统的组成包括: 一个或多个路由器, 以及 一个或多个服务器。 图 9中的路由器可以作为上述 BNG设备。 其中, 服务器 可以通过物理链路或者逻辑管道与路由器相连接。 图 9 中给出的是服务器通 过物理链路与路由相连接的情况。 所述逻辑管道包括但不限于: MPLS 隧道、 通用路由协议封装 ( Gener i c Rout ing Encapsu la t ion , 简称为 GRE ) 隧道或 以太网中同一个 VLAN所界定的通路。 路由器连接对外的网络链路, 所述网络 链路包括用户侧链路和网络侧链路, 实现网络互通和快速报文流的转发。 服 务器实现一些复杂控制逻辑, 例如接入控制功能、 路由控制功能等。 基于图 9 所示 sof tBNG系统, 上述控制装置 1 0可以部署于服务器上, 计算装置 20可 以部署于服务器上, 识别导向装置 30可以部署于路由器上。
下面结合实际应用场景并结合图 9所示 sof tBNG系统, 对本发明实施例 提供的网络中开展业务的系统的功能做进一步说明。
网盘业务, 或称为网盘 0TT, 是用户通过互联网访问某网盘网页, 上传自 已的文件, 或下载自已或别人共享的文件, 利用网络中的存储代替用户个人 设备上的存储的一种互联网应用。 这种 0TT业务可给用户提供重要文件备份、 文件分享、 异地文件携带等便利。
由于网络运营商与网盘 0TT中心的 0TT接入带宽受限, 大量的下载会挤 满这个 0TT接入带宽, 而其他大量的上传下载会同时受到这个 0TT接入带宽 被挤占的影响, 因此, 目前网盘业务给用户的体验并不好。 另外, 用户接入 侧线路带宽受限, 也会降低用户的体验。
通过本发明上述实施例提供的网络中开展业务的系统, 可以为网盘业务 加速, 提升用户的体验。 具体的, 网盘 0TT控制中心利用本发明实施例提供 的网络中开展业务的系统(即 sof tBNG系统)提供的 API 能力, 以及支持业 务部件加载并运行等能力, 在计算装置中动态加载一虚拟业务部件, 可称为 网盘帮助者 (he l per ) 。 虚拟业务部件是指釆用虚拟机的形式实现的业务部
件。 网盘 helper作为用户的上传服务器, 与网盘 0TT控制中心交互, 先完成 对用户的上传确认, 然后再后台传送用户上传的文件到网盘 0TT控制中心。 由于网盘 he 1 per分布部署于用户所在城市的城域网, 且不受网盘 0TT控制中 心与运营商之间签约的 0TT接入带宽限制, 将大大加速用户的上传速度, 而 后台传送可以错开上网高峰, 因此还可以减少网盘 0TT控制中心的带宽压力。 进一步, 运营商通过运营 softBNG这种网络中开展业务的系统, 改卖带宽为 卖业务平台, 通过吸引大量 0TT应用使用该业务平台, 获得营利, 同时还可 以减少对核心网带宽的投资。
例如, 用户基于网盘 helper的上传流程如图 10所示, 包括:
901、 用户终端与网盘 0TT控制中心进行控制交互与认证授权。
902、 网盘 0TT控制中心通知用户网盘 helper信息。
903、 用户终端与网盘 helper建立连接。
904、 用户终端向网盘 helper上传文件数据。 用户终端向网盘 helper上 传文件数据可分为多次进行。
905、 网盘 helper与网盘 0TT控制中心交互上传文件的文件描述信息。
906、 网盘 helper向用户终端返回上传成功消息。
907、 网盘 helper在后台向网盘 0TT控制中心上传文件数据。
下面介绍网盘 helper是如何加载到 softBNG系统中, 并建立以上业务流 的。 4叚设 dbank是网盘 0TT。
首先, dbank控制中心访问 softBNG系统提供的 API, 例如可以釆用类似 如下 API消息进行访问:
<?xml version="l.0" encoding="UTF-8" ?>
<VirtualAppl iance >
<name>dbank-hel er</name>
File>
<vir tual-env>XEN Express</ vir tual-env>
ba ndw i d t h Λ ?墨 / ba ndw i d t h >
</ VirtualAppl iance >
<pathes>
<entry>
<match>
<protocol>HTTP I HTTPS</protocol>
<ur 1>*. dbank. com/ *</ur 1>
</match>
<act ion>
</ act ion>
</ entry>
<path>
<name>dbank-path</ name>
<VirtualAppl iance >dbank-helper</ Vir tua lAppl iance > </path>
</ athes>
以上 API 消息釆用了可扩展标记语言 ( Extensible Markup Language, 简称为 XML)格式, 其中主要定义了一个虚拟业务部件 dbank-helper, 及该 虚拟业务部件的中央处理器 (Central Processing Unit, 简称为 CPU ) 、 内 存、 存储及网络接口带宽的需求, 并指明 dbank-helper的运行文件的位置, 相当于指明了访问 dbank-helper的运行文件的路径信息。
另外,上述 XML格式的 API消息还定义了业务流路径(<pathes></pathes> 标签), 其中包括业务流识别信息(<entry></entry>标签)及业务流导向信息 actionX/action;^^签), 其中业务流导向信息指示将 4艮文流发送到 dbank-path定义的路径, 该路径在后面有定义, 该路径指示将报文流发送到 dbank-helper这个虚拟业务部件。
图 11为本发明实施例提供的 softBNG系统实现网盘业务时的一种结构示
意图。 如图 11所示, 控制装置部署于第一服务器上, 负责处理上述 API消息 (相当于前述实施例中的业务请求) ; 计算装置部署于第二服务器上; 识别 导向装置部署于第一路由器的两个电路板上。
具体的, 第一服务器基于业务部署信息, 即 API 消息中的 <VirtualAp l iance> ^, 利用其内指明的 cpu/mem/ storage/bandwidth ^-, 选择一个计算装置作为计算装置, 假设选出的计算装置部署于第二服务器上, 第二服务器釆用 XEN虚拟机环境。
第一服务器将业务部署信息中 dbank-helper的运行文件的位置信息, 即 (<loadFile>标签内容), 通过第一消息 (相当于上述实施例中的加载命令消 息)发送给第二服务器, 第二服务器基于第一消息加载 dbank-helper这个虚 拟业务部件, 其中, 该加载 dbank-helper的过程属于一次加载过程, 即同时 完成了承载该 dbank-helper 的新虚拟机的建立和运行于该新虚拟机内的 dbank-helper 的加载运行, 并将该新虚拟机的虚拟网卡连接到第二服务器内 部的虚拟交换机 Vswitch的一个端口 vportl上。 力。载完成后, dbank-helper 这个虚拟业务部件开始运行。 第二服务器返回虚拟机的标识及虚拟网卡所连 接的 Vswitch的端口信息给第一服务器。
第一服务器发送第二消息 (相当于上述实施例中的流控制消息)给第一 路由器, 第一路由器有两个电路板, 分别称为 slotl和 slot2。 两个电路板上 各实现一个识别导向装置。 在本实施例中, 导向识别学黄纸包括一个流分类 模块和一个 DPI 模块, 在本实施例中, 流分类模块完成对超文本传输协议 ( Hypertext Transfer Protocol,简称为 HTTP )/安全超文本传输协议( Secure Hypertext Transfer Protocol, 简称为 HTTPS ) 4艮文检测, 然后将检测到的 HTTP/HTTPS报文送到 DPI模块, 由 DPI模块完成 URL匹配功能。 在其他情况 下, 识别导向装置也可以由流分类模块单独完成。 第二消息包括流匹配信息 和 URL匹配信息如下:
流匹配信息: Match: TCP/80, TCP/8080 Action: forward to URL match URL 匹 西己信息、: match: *. dbank. com/ * Act ion: forward to path 'dbank-path' , ip: 192.168.10.110
所述业务流识别信息, 这里指 Match: TCP/80, TCP/8080, 以及 match: *. dbank. com/*; 所述业务流导向信息, 这里指 Action: forward to path 'dbank-path' , ip: 192.168.10.110。
上述流匹配信息和 URL 匹配信息是对上面的 API消息进行适配实现层面 的分解获得的, 还可以有其它方式的实现。 由上述可见, 第二消息主要包含 业务流识别信息和业务流导向信息。 这里, 业务流导向信息釆用业务流路径 进行表示, 另外也可以直接指示 dbank-helper 的内部地址, 即 192.168.10.110。
第一路由器接收到第二消息后, 从第二消息中获取流匹配信息和 URL 匹 配信息, 将这两个信息配置到 slotl 中, 并将这两个信息配置到 slot2 中。 可选的, 流匹配信息可以被配置到流表模块(flowtable) 中。
第一路由器上两个 slot从外部端口接收报文流, 首先利用之前配置的流 匹配信息, 识别协议为传输控制协议(Transmission Control Protocol, 简 称为 TCP) , 目标端口为 80及 8080端口的报文(端口为 80的报文代表 HTTP 报文, 端口为 8080的报文代表 HTTPS报文) , 再根据之前配置的 URL匹配信 息对这样的报文进行匹配处理, 当发现匹配字符串模式 "*. dbank. com/*" 的 URL 请求报文后, 将该 URL 请求报文加一个报文头, 携带信息 "path: dbank-path, in: entry" 发向地址 192.168.10.110。
在本实施例中, 第一服务器还发送第三消息 (相当于上述实施例中发送 的业务路由信息)到第二服务器中的 Vswitch, 在本实施例中, Vswitch上部 署有上述实施例中的业务确定单元。 第三消息,即上述的业务路由信息可以包 括如下两条路由信息:
第 一路由 (route entry) 信息: Path: dbank-path, in: entry, nextpath: nul 1 target: vpor tl
第二路由 (route entry)信息: Path: nul 1, in: vpor tl nextpath: nul 1 target: normal forward
Vswitch中的业务确定单元接收带有 path信息的报文, 根据第一路由信 息, 匹配 path/源端口信息,执行 nextpath和 target指示的动作。如本例中, Vswitch中的业务确定单元匹配到 ath: dbank-path, in: entry的才艮文,其中, in: entry表示这个 ^艮文直接来源于识别导向装置; nextpath: nul 1 表示去除 增加的业务 ^艮文头; target表示送向的目标, 本例中送向端口 vportl。 基于 第一路由信息, 位于 Vswitch 的业务确定单元将业务报文头去除后, 送到 Vvswitch的 vportl, 即送给 dbank-helper所在的虚拟业务部件。 在此说明, 第二服务器接收到上述两条路由信息后, 可以将其存储到相应的业务路由表
中,基于此, Vswitch中的业务确定单元可以通过查询相应的业务路由表获取 对应的路由信息。
dbank—helper发出的才艮文, ^夺匹配到 ath: null, in: vportl, 即第二路 由信息, 由于本例中 dbank-helper 无后续处理, 只需要走正常转发, 所以 nextpath: nul 1表示不需要添力口业务链标识, target: normal forward表示根 据网络 文头目的地址进行正常的网络 >¾文转发。
如果 dbank-helper后续仍有业务部件 Y需要继续处理该网络流 4艮文, 则 nextpath需要指明为 nextpath: dbank-path, target: Y, 这样的表项通过控制 装置 (具体可以是控制装置中的协同单元和第一控制模块)设置到 Vswitch, 用以指示业务确定单元将报文传送到下一个业务部件。
上述两条路由信息是在所述业务链标识指示多个业务部件对报文流进行 顺序处理时, 实现报文流顺序导向各个业务部件进行处理的一种具体实施方 式, 指示了 Vswitch 如何处理 dbank 报文流。 第一路由信息指示对携带 dbank-path标记的, 从 entry发来的报文, 去除 path报文头, 然后转发到端 口 vportl;第二路由信息指示对从端口 vportl发送出来的 4艮文,不增加 path 报文头, 釆用标准方式转发。 这里通过两条路由信息来实现报文流顺序导向 各个业务部件进行处理只是一种示意说明, 实际应用中可能会釆用更简洁的 信息编码来实现所述业务链标识, 并达到同样目的。
基于上述两条路由信息, 位于第二服务器的 Vswitch 可以正确将第一路 由器的两个 slot发送的 ^艮文送达 dbank-helper,并且还可以将 dbank-helper 处理后的 4艮文继续通过 IP转发, 进而送达 dbank控制中心。
在此说明, dbank-he 1 per 可以有自 己的外部地址, 例如可以是 212.150.5.147, 且 dbank-helper 可以釆用该外部地址直接与外界通信。 对 于目的地址是指向 dbank控制中心的 ^艮文, 对应步骤 901, dbank-helper可 以在这些 ^艮文中添加自已的外部地址, 使得 dbank 控制中心方便定位 dbank-helper, 从而实现图 10所示流程。 Dbank-helper可以利用本文提到的 业务链实现机制获得访问目的地址是指向 dbank 控制中心的报文。 dbank-helper的外部地址可由第一服务器(即控制装置) 配置。
综上可见, 本发明实施例提供的网络中开展业务的系统, 实际上提供了 一个可在线实现业务编程的系统架构, 实现该架构系统有助于实现各种业务 (例如 0TT应用)的动态注入和网络流量的联合, 提供了一种新的业务模式。
基于此, 运营商可基于这种业务模式运营类似 sof tBNG 系统的业务平台, 通 过对业务平台的使用进行收费, 带来新的营利方式。
图 12为本发明实施例提供的又一种网络中开展业务的系统结构示意图。 如图 12所示,所述系统包括:控制装置 1201、识别装置 1202和计算装置 1203。
控制装置 1201 , 用于接收请求开展业务的业务请求, 所述业务请求包括 用于请求部署第一业务的业务部署信息和用于识别第一报文流的业务流识别 信息。
识别装置 1202 ,用于根据控制装置 1201接收的所述业务流识别信息从接 收到的报文流中识别出所述第一报文流。
计算装置 1203 ,用于根据控制装置 1201接收的所述业务部署信息运行部 署所述第一业务所需的运行文件, 以部署所述第一业务, 在部署了所述第一 业务后, 对识别出的所述第一报文流进行所述第一业务的处理。
图 12中带箭头的虚线表示报文流向。
其中, 所述业务部署信息可以包括部署第一业务所需的运行文件的地址 信息, 但并不限于此, 例如还可以包括与所要部署的第一业务有关的其他一 些信息, 例如用户信息、 业务特征信息等。 可选的, 部署第一业务所需的运 行文件的地址信息可以是访问所述运行文件的路径信息和该运行文件的文件 名信息, 或者是指向所述运行文件的 URL信息等。
上述业务流识别信息主要用于指示需要识别出的报文流, 在本实施例中, 所述需要识别出的报文流也就是需要部署的第一业务的报文流。 为简化描述, 在本发明实施例中, 将所述第一业务的报文流称为第一报文流, 相应的, 上 述业务流识别信息主要用于指示需要识别的第一报文流。
所述业务流识别信息可以包括但不限于以下信息中的至少一个: 接收所 述第一报文流的物理端口信息 (即该第一报文流的来源物理端口信息) 、 接 收所述第一报文流的逻辑端口信息(即该第一报文流的来源逻辑端口信息) 、 所述第一^艮文流访问的 URL信息和所述第 文流源 IP地址、 目的 IP地址、 源传输层端口信息以及目的传输层端口信息。
在本实施例中, 控制装置 1201—方面对外提供 API , 所述 "对外" 是指 请求部署第一业务的设备或人。 例如,控制装置 1201可以向管理员提供 API , 或者可以向 0TT应用服务器提供 API等。 该 API主要实现两个功能: 一个是 用于提供部署第一业务所需的运行文件的地址信息; 一个是用于提供第一报
文流的识别信息, 即业务流识别信息。 该 API 的两个主要功能可以通过上述 业务请求来实现, 即在所述业务请求中携带所述业务部署信息和所述业务流 识别信息。
在此说明, 上述业务请求可以通过一个 API 消息来 7 载, 也可以通过两 个或多个 API 消息来承载, 相应的, 上述业务部署信息和业务流识别信息也 可以在一个 API消息、 两个或多个 API消息中携带。
进一步, 根据请求部署的业务的不同, 对第一报文流进行的第一业务的 处理也会有所不同。 有些业务只需对第一 文流进行一个业务处理即可完成, 有些业务需要对第一报文流进行多个业务处理才能完成。
在一可选实施方式中, 识别装置 1202还用于在第一报文流中添加业务链 标识, 该业务链标识用于指示对所述第一报文流执行的属于所述第一业务的 多个业务处理和执行所述多个业务处理的顺序。 基于此, 计算装置 1203具体 可用于加载并运行用于部署所述第一业务的多个业务部件, 以部署所述第一 业务; 根据所述业务链标识确定需要对所述第一报文流执行的属于所述第一 业务的多个业务处理和执行所述多个业务处理的顺序; 根据所述顺序对所述 第一报文流执行所述多个业务处理。
该业务链标识可以使用 VLAN标签标识, 使用 MPLS标签标识, 使用 VXLAN 中的 VN ID标识, 或者给原报文封装一个业务报文头, 业务报文头中携带该 业务链标识。
进一步可选的, 计算装置 1203根据所述业务链标识确定需要对所述第一 报文流执行的属于所述第一业务的多个业务处理和执行所述多个业务处理的 顺序包括:
计算装置 1203具体用于根据所述业务链标识查询业务路由表, 从所述多 个业务部件中确定多个业务处理部件和所述多个业务处理部件的使用顺序, 其中, 所述多个业务处理部件为所述多个业务部件中的用于实现所述多个业 务处理的业务部件;
根据所述多个业务处理部件的使用顺序, 使用所述多个业务处理部件对 所述第一报文流进行处理。
本实施例提供的系统, 其中各装置可以部署于同一设备上实现。
在本实施例提供的系统中, 由控制装置接收请求开展业务的业务请求, 计算装置运行部署第一业务所需的运行文件, 由识别导向装置识别出第一报
文流, 并导向计算装置, 再由已经部署第一业务的计算装置对第一报文流进 行第一业务的处理, 实现开展所述第一业务, 允许在部署业务时才加载并运 行有关运行文件, 提供了一种开放式的业务模式, 允许运营商脱离设备厂商 自己开发新的业务功能, 可以减少新业务功能开展需要的时间, 满足了 0TT 应用快速发展的需求。
图 13为本发明实施例提供的一种网络中开展业务的方法流程图。如图 13 所示, 所述方法包括:
1301、 接收请求开展业务的业务请求, 所述业务请求包括用于请求部署 第一业务的业务部署信息、 用于识别第一报文流的业务流识别信息和业务流 导向信息。
1302、 向计算装置发送所述业务部署信息, 向识别导向装置发送所述业 务流识别信息和业务流导向信息。
可选的, 步骤 1302包括: 向所述计算装置发送加载命令消息, 并向所述 识别导向装置发送流控制消息; 其中, 所述加载命令消息包括所述业务部署 信息, 所述流控制消息所述业务流识别信息和所述业务流导向信息。
其中, 所述业务部署信息可以包括部署第一业务所需的运行文件的地址 信息, 但并不限于此, 例如还可以包括与所要部署的第一业务有关的其他一 些信息, 例如用户信息、 业务特征信息等。 可选的, 部署第一业务所需的运 行文件的地址信息可以是访问所述运行文件的路径信息和该运行文件的文件 名信息, 或者是指向所述运行文件的 URL信息等。
上述业务流识别信息主要用于指示需要识别出的报文流, 在本实施例中, 所述需要识别出的报文流也就是需要部署的第一业务的报文流。 为简化描述, 在本发明实施例中, 将所述第一业务的报文流称为第一报文流, 相应的, 上 述业务流识别信息主要用于指示需要识别的第一报文流。
所述业务流识别信息可以包括但不限于以下信息中的至少一个: 接收所 述第一报文流的物理端口信息 (即该第一报文流的来源物理端口信息) 、 接 收所述第一报文流的逻辑端口信息(即该第一报文流的来源逻辑端口信息) 、 所述第一^艮文流访问的 URL信息和所述第 文流源 IP地址、 目的 IP地址、 源传输层端口信息以及目的传输层端口信息。
上述业务流导向信息主要用于指示将所述第一报文流导向负责部署第一 业务的计算装置。
所述业务流导向信息包括但不限于以下信息中的至少一个: 计算装置的
IP地址、 所述计算装置的端口信息和部署第一业务所需的运行文件的标识信 息, 例如文件名信息等。
其中, 识别导向装置接收到业务流识别信息和业务流导向信息后, 根据 该业务流识别信息从接收到的报文流中识别出第一报文流, 并根据业务流导 向信息将识别出的第一报文流导向计算装置。 计算装置接收到业务部署信息 后, 根据该业务部署信息, 运行部署第一业务所需的运行文件, 以部署第一 业务, 并对识别导向装置发送的第一报文流进行第一业务的处理。
在一可选实施方式中, 第一报文流可能需要经过多个业务处理。 如图 14 所示, 所述方法还包括:
1 303、 向识别导向装置发送业务链标识。
所述业务链标识用于指示对第一报文流执行的属于第一业务的多个业务 处理和执行多个业务处理的顺序。在实现上,该业务链标识可以是 VLAN标签、 MPLS标签, VXLAN封装中的 VNI , 或在增加于原报文之外的信息域中携带。
基于此, 识别导向装置会将业务链标识添加到第一报文流中发送给计算 装置。 计算装置从第一报文流中获取业务链标识, 并根据该业务链标识, 确 定需要对第一报文流执行的属于第一业务的多个业务处理和执行所述多个业 务处理的顺序, 然后按照所述顺序, 对第一报文流执行所述多个业务处理。
在此说明, 上述步骤 1 302和步骤 1 303的先后顺序不受限制, 两个步骤 也可以并行执行。
进一步, 所述方法还包括: 向计算装置发送资源调整消息, 所述资源调 整消息包括部署所述第一业务所需的运行文件当前需要占用的资源的信息。
本实施例提供的网络中开展业务的方法流程可由上述实施例图 1 或图 2 所示的控制装置完成, 具体不再赘述。
本实施例的方法提供了一种开放式的业务模式, 允许运营商脱离设备厂 商自己开发新的业务功能, 可以减少新业务功能开展需要的时间, 满足了 0TT 应用快速发展的需求。
图 15为本发明实施例提供的又一种网络中开展业务的方法流程图。 如图 15所示, 所述方法包括:
1501、 接收用于请求部署第一业务的业务部署信息。
1502、 根据所述业务部署信息运行部署所述第一业务所需的运行文件,
以部署所述第一业务。
1503、 接收第一报文流, 所述第一报文流包括业务链标识。
1504、 根据所述业务链标识确定需要对所述第一报文流执行的属于所述 第一业务的多个业务处理和执行所述多个业务处理的顺序。
1505、 根据所述顺序对所述第一 文流执行所述多个业务处理。
在一可选实施方式中, 步骤 1 502 , 即根据所述业务部署信息运行部署所 述第一业务所需的运行文件, 以部署所述第一业务包括:
根据所述业务部署信息, 加载并运行用于部署所述第一业务的多个业务 部件, 以部署所述第一业务。 其中, 所述多个业务部件是由部署第一业务所 需的运行文件承载的多个业务部件。
相应的, 步骤 1 504 , 即根据所述业务链标识确定需要对所述第一报文流 执行的属于所述第一业务的多个业务处理和执行所述多个业务处理的顺序包 括:
根据所述业务链标识查询业务路由表, 从所述多个业务部件中确定多个 业务处理部件和所述多个业务处理部件的使用顺序, 其中, 所述多个业务处 理部件为所述多个业务部件中的用于实现所述多个业务处理的业务部件; 所述根据所述顺序对所述第 文流执行所述多个业务处理包括: 根据所述多个业务处理部件的使用顺序, 使用所述多个业务处理部件对 所述第一报文流进行处理。
进一步可选的, 多个业务处理部件包括两个业务处理部件, 分别为第一 业务处理部件和第二业务处理部件; 相应的, 多个业务处理包括两个业务处 理。 基于此, 上述根据所述业务链标识查询业务路由表, 从所述多个业务部 件中确定多个业务处理部件和所述多个业务处理部件的使用顺序包括:
根据所述业务链标识和第一入端口查询第一业务路由表项, 确定到达第 一业务处理部件的出端口, 所述第一入端口为接收所述第一报文流的入端口, 所述第一业务处理部件用于执行所述多个业务处理中的第一业务处理;
将所述第一 >¾文流导向所述第一业务处理部件;
接收经过所述第一业务处理的第一报文流;
根据第二入端口查询第二业务路由表项, 确定到达第二业务处理部件的 出端口, 所述第二入端口为接收所述经过所述第一业务处理的第一报文流的 入端口, 所述第二业务处理部件用于执行所述多个业务处理中的第二业务处
理;
将所述经过所述第一业务处理的第一报文流导向所述第二业务处理部 件。
进一步可选的, 所述根据第二入端口查询第二业务路由表项, 确定到达 第二业务处理部件的出端口包括:
根据所述业务链标识和所述第二入端口查询第二业务路由表项, 确定到 达第二业务部件的出端口。
本实施例提供的方法可由上述图 3所示计算装置来实施, 具体不再详述。 在一可选实施方式中, 所述方法还包括:
接收资源调整消息, 所述资源调整消息包括所述运行文件当前需要占用 的资源的信息;
根据所述资源调整消息调整所述运行文件占用的资源。
在本实施例中, 所述业务部署信息包括所述运行文件的地址信息, 但并 不限于此, 例如还可以包括与所要部署的第一业务有关的其他一些信息, 例 如用户信息、 业务特征信息等。 可选的, 部署第一业务所需的运行文件的地 址信息可以是访问所述运行文件的路径信息和该运行文件的文件名信息, 或 者是指向所述运行文件的 URL信息等。
本实施例的方法提供了一种开放式的业务模式, 允许运营商脱离设备厂 商自己开发新的业务功能, 可以减少新业务功能开展需要的时间, 满足了 0TT 应用快速发展的需求。
图 16为本发明实施例提供的又一种网络中开展业务的方法流程图。 如图 16所示, 所述方法包括:
1601、 接收用于识别第一报文流的业务流识别信息和业务流导向信息。
1602、 根据所述业务流识别信息从接收到的报文流中识别出所述第一报 文流。
1603、 为所述第一报文流添加业务链标识。
1604、 根据所述业务流导向信息将携带所述业务链标识的所述第一报文 流导向至计算装置。
本实施例提供的方法可由上述图 4 所示识别导向装置实施, 具体不再赘 述。
上述业务流导向信息包括以下信息中的至少一个:
所述计算装置的网际协议 IP地址、 所述计算装置的端口信息和部署所述 第一业务所需的运行文件的标识信息。
本实施例的方法提供了一种开放式的业务模式, 允许运营商脱离设备厂 商自己开发新的业务功能, 可以减少新业务功能开展需要的时间, 满足了 0TT 应用快速发展的需求。
图 17为本发明实施例提供的又一种网络中开展业务的方法流程图。 如图 17所示, 所述方法包括:
1701、 接收请求开展业务的业务请求, 所述业务请求包括用于请求部署 第一业务的业务部署信息和用于识别第一报文流的业务流识别信息和业务流 导向信息。
1702、 根据所述业务流识别信息从接收到的报文流中识别出所述第一报 文流。
1703、 根据所述业务流导向信息将所述第一报文流导向至计算装置。
1704、 根据所述业务部署信息运行部署所述第一业务所需的运行文件, 以部署所述第一业务, 并在部署了所述第一业务后, 对导向的所述第一报文 流执行所述第一业务的处理。
本实施例提供的方法可由上述图 5 所示网络中开展业务的系统实施, 具 体不再赘述。
本实施例的方法提供了一种开放式的业务模式, 允许运营商脱离设备厂 商自己开发新的业务功能, 可以减少新业务功能开展需要的时间, 满足了 0TT 应用快速发展的需求。
图 18为本发明实施例提供的又一种网络中开展业务的方法流程图。 如图 18所示, 所述方法包括:
1801、 接收请求开展业务的业务请求, 所述业务请求包括用于请求部署 第一业务的业务部署信息和用于识别第一报文流的业务流识别信息。
1802、 根据所述业务流识别信息从接收到的报文流中识别出所述第一报 文流。
1803、 根据所述业务部署信息运行部署所述第一业务所需的运行文件, 以部署所述第一业务, 在部署了所述第一业务后, 对识别出的所述第一报文 流进行所述第一业务的处理。
在一可选实施方式中, 所述方法在对识别出的所述第一报文流进行所述
第一业务的处理之前包括:
在所述第一报文流中添加业务链标识。 该业务链标识用于指示对所述第 一报文流执行的属于所述第一业务的多个业务处理和执行所述多个业务处理 的顺序。
基于上述, 步骤 1803 , 即根据所述业务部署信息运行部署所述第一业务 所需的运行文件, 以部署所述第一业务, 在部署了所述第一业务后, 对识别 出的所述第一 "^文流进行所述第一业务的处理包括:
加载并运行用于部署所述第一业务的多个业务部件, 以部署所述第一业 务;
根据所述业务链标识确定需要对所述第一报文流执行的属于所述第一业 务的多个业务处理和执行所述多个业务处理的顺序;
根据所述顺序对所述第一报文流执行所述多个业务处理。
进一步可选的, 所述根据所述业务链标识确定需要对所述第一报文流执 行的属于所述第一业务的多个业务处理和执行所述多个业务处理的顺序包 括:
根据所述业务链标识查询业务路由表, 从所述多个业务部件中确定多个 业务处理部件和所述多个业务处理部件的使用顺序, 其中, 所述多个业务处 理部件为所述多个业务部件中的用于实现所述多个业务处理的业务部件; 根据所述多个业务处理部件的使用顺序, 使用所述多个业务处理部件对 所述第一报文流进行处理。
本实施例提供的网络中开展业务的方法, 可由上述图 12所示实施例提供 的网络中开展业务的系统来实施, 但并不限于此, 也可以由其他系统来实施。
更多关于本发明上述实施例提供的网络中开展业务的系统开展业务的流 程, 可参见上述系统实施例的描述, 在此不再赘述。
本发明实施例提供的网络中开展业务的方法, 提供了一种开放式的业务 模式, 允许运营商脱离设备厂商自己开发新的业务功能, 可以减少新业务功 能开展需要的时间, 满足了 0TT应用快速发展的需求。
本领域普通技术人员可以理解: 实现上述各方法实施例的全部或部分步 骤可以通过程序指令相关的硬件来完成。 前述的程序可以存储于一计算机可 读取存储介质中。 该程序在执行时, 执行包括上述各方法实施例的步骤; 而 前述的存储介质包括: R0M、 RAM, 磁碟或者光盘等各种可以存储程序代码的
介质。
最后应说明的是: 以上各实施例仅用以说明本发明的技术方案, 而非对 其限制; 尽管参照前述各实施例对本发明进行了详细的说明, 本领域的普通 技术人员应当理解: 其依然可以对前述各实施例所记载的技术方案进行修改, 或者对其中部分或者全部技术特征进行等同替换; 而这些修改或者替换, 并 不使相应技术方案的本质脱离本发明各实施例技术方案的范围。
Claims
1、 一种控制装置, 其特征在于, 包括:
协同单元, 用于接收请求开展业务的业务请求, 所述业务请求包括用于 请求部署第一业务的业务部署信息、 用于识别第一报文流的业务流识别信息 和业务流导向信息;
控制单元, 用于向计算装置发送所述业务部署信息, 向识别导向装置发 送所述业务流识别信息和所述业务流导向信息。
2、 根据权利要求 1所述的控制装置, 其特征在于, 所述控制单元还用于 向所述识别导向装置发送业务链标识。
3、 根据权利要求 1或 2所述的控制装置, 其特征在于, 所述控制单元具 体用于向所述计算装置发送加载命令消息, 并向所述识别导向装置发送流控 制消息; 其中, 所述加载命令消息包括所述业务部署信息, 所述流控制消息 所述业务流识别信息和所述业务流导向信息。
4、 根据权利要求 1至 3中任一项所述的控制装置, 其特征在于, 所述控制单元, 还用于向所述计算装置发送资源调整消息, 所述资源调 整消息包括部署所述第一业务所需的运行文件当前需要占用的资源的信息。
5、 根据权利要求 3或 4所述的控制装置, 其特征在于, 所述控制单元包 括: 第一控制模块和第二控制模块;
所述协同单元, 还用于向所述第一控制模块发送第一控制消息, 向所述 第二控制模块发送第二控制消息, 所述第一控制消息包括所述业务流识别信 息和所述业务流导向信息, 所述第二控制消息包括所述业务部署信息;
所述第一控制模块, 用于根据所述第一控制消息向所述识别导向装置发 送所述流控制消息;
所述第二控制模块, 用于根据所述第二控制消息向所述计算装置发送所 述加载命令消息。
6、 根据权利要求 1-5任一项所述的控制装置, 其特征在于, 所述业务流 导向信息包括以下信息中的至少一个:
所述计算装置的网际协议 IP地址、 所述计算装置的端口信息和部署所述 第一业务所需的运行文件的标识信息。
7、 根据权利要求 1-6任一项所述的控制装置, 其特征在于, 所述业务部
署信息包括部署所述第一业务所需的运行文件的地址信息。
8、 根据权利要求 7所述的控制装置, 其特征在于, 所述运行文件的地址 信息包括: 访问所述运行文件的路径信息和所述运行文件的文件名信息, 或 指向所述运行文件的统一资源定位符 URL信息。
9、 根据权利要求 1-8任一项所述的控制装置, 其特征在于, 所述业务流 识别信息包括以下信息中的至少一个:
接收所述第一报文流的物理端口信息、 接收所述第一报文流的逻辑端口 信息、 所述第一 ^艮文流访问的 URL信息以及所述第一 文流的源 IP地址、 目 的 IP地址、 源传输层端口和目的传输层端口信息。
10、 一种计算装置, 其特征在于, 包括:
第一接收单元, 用于接收控制装置发送的用于请求部署第一业务的业务 部署信息;
部署单元, 用于根据所述业务部署信息运行部署所述第一业务所需的运 行文件, 以部署所述第一业务;
第二接收单元, 用于接收识别导向装置发送的第一报文流, 所述第一报 文流包括业务链标识;
业务确定单元, 用于根据所述业务链标识确定需要对所述第一报文流执 行的属于所述第一业务的多个业务处理和执行所述多个业务处理的顺序; 处理单元, 用于根据所述顺序对所述第一 文流执行所述多个业务处理。
11、 根据权利要求 10所述的计算装置, 其特征在于,
所述部署单元具体用于: 根据所述业务部署信息, 加载并运行用于部署 所述第一业务的多个业务部件, 以部署所述第一业务;
所述业务确定单元具体用于: 根据所述业务链标识查询业务路由表, 从 所述多个业务部件中确定多个业务处理部件和所述多个业务处理部件的使用 顺序, 其中, 所述多个业务处理部件为所述多个业务部件中的用于实现所述 多个业务处理的业务部件;
所述处理单元具体用于: 根据所述多个业务处理部件的使用顺序, 使用 所述多个业务处理部件对所述第一 流进行处理。
12、 根据权利要求 11所述的计算装置, 其特征在于, 所述业务确定单元 用于根据所述业务链标识查询业务路由表, 从所述多个业务部件中确定多个 业务处理部件和所述多个业务处理部件的使用顺序包括:
根据所述业务链标识和第一入端口查询第一业务路由表项, 确定到达第 一业务处理部件的出端口, 所述第一入端口为接收所述第一报文流的入端口, 所述第一业务处理部件用于执行所述多个业务处理中的第一业务处理;
将所述第一 >¾文流导向所述第一业务处理部件;
接收经过所述第一业务处理的第一报文流;
根据第二入端口查询第二业务路由表项, 确定到达第二业务处理部件的 出端口, 所述第二入端口为接收所述经过所述第一业务处理的第一报文流的 入端口, 所述第二业务处理部件用于执行所述多个业务处理中的第二业务处 理;
将所述经过所述第一业务处理的第一报文流导向所述第二业务处理部 件。
13、 根据权利要求 12所述的计算装置, 其特征在于, 所述业务确定单元 用于根据第二入端口查询第二业务路由表项, 确定到达第二业务处理部件的 出端口包括:
根据所述业务链标识和所述第二入端口查询第二业务路由表项, 确定到 达第二业务部件的出端口。
14、 根据权利要求 10-13中任一项所述的计算装置, 其特征在于, 所述第一接收单元, 还用于接收所述控制装置发送的资源调整消息, 所 述资源调整消息包括所述运行文件当前需要占用的资源的信息;
所述部署单元, 还用于根据所述资源调整消息调整所述运行文件占用的 资源。
15、 根据权利要求 10-14 中任一项所述的计算装置, 其特征在于, 所述 业务部署信息包括所述运行文件的地址信息。
16、 根据权利要求 10-15中任一项所述的计算装置, 其特征在于, 所述计算装置是服务器设备;
所述业务确定单元实现于所述服务器设备的虚拟交换机 Vswi tch中。
17、 一种识别导向装置, 其特征在于, 包括:
接收单元, 用于接收控制装置发送的用于识别第一报文流的业务流识别 信息和业务流导向信息;
识别单元, 用于根据所述业务流识别信息从接收到的报文流中识别出所 述第一报文流;
配置单元, 用于为所述第一 >¾文流添加业务链标识;
导向单元, 用于根据所述业务流导向信息将携带所述业务链标识的所述 第一报文流导向至计算装置。
18、 根据权利要求 17所述的识别导向装置, 其特征在于, 所述业务流导 向信息包括以下信息中的至少一个:
所述计算装置的网际协议 IP地址、 所述计算装置的端口信息和部署所述 第一业务所需的运行文件的标识信息。
19、 一种网络中开展业务的系统, 其特征在于, 包括: 权利要求 1-9任 一项所述的控制装置、 权利要求 10-16 任一项所述的计算装置和权利要求 17-18任一项所述的识别导向装置。
20、 一种网络中开展业务的系统, 其特征在于, 包括权利要求 1-9任一 项所述的控制装置, 还包括识别导向装置和计算装置;
所述识别导向装置用于:
接收所述控制装置发送的用于识别第一报文流的业务流识别信息和业务 流导向信息;
根据所述业务流识别信息从接收到的报文流中识别出所述第一报文流; 根据所述业务流导向信息将所述第一报文流导向至所述计算装置; 所述计算装置用于:
接收所述控制装置发送的用于请求部署第一业务的业务部署信息; 根据所述业务部署信息运行部署所述第一业务所需的运行文件, 以部署 所述第一业务;
接收所述识别导向装置发送的所述第一报文流;
对所述第一报文流进行所述第一业务的处理。
21、 一种网络中开展业务的系统, 其特征在于, 包括: 控制装置、 计算 装置和识别装置;
所述控制装置, 用于接收请求开展业务的业务请求, 所述业务请求包括 用于请求部署第一业务的业务部署信息和用于识别第一报文流的业务流识别 信息;
所述识别装置, 用于根据所述业务流识别信息从接收到的报文流中识别 出所述第一报文流;
所述计算装置, 用于根据所述业务部署信息运行部署所述第一业务所需
的运行文件, 以部署所述第一业务, 在部署了所述第一业务后, 对识别出的 所述第一报文流进行所述第一业务的处理。
22、 根据权利要求 21所述的系统, 其特征在于,
所述识别装置还用于在所述第一报文流中添加业务链标识;
所述计算装置具体用于:
加载并运行用于部署所述第一业务的多个业务部件, 以部署所述第一业 务;
根据所述业务链标识确定需要对所述第一报文流执行的属于所述第一业 务的多个业务处理和执行所述多个业务处理的顺序;
根据所述顺序对所述第一报文流执行所述多个业务处理。
23、 根据权利要求 22所述的系统, 其特征在于, 所述计算装置根据所述 业务链标识确定需要对所述第一报文流执行的属于所述第一业务的多个业务 处理和执行所述多个业务处理的顺序包括:
根据所述业务链标识查询业务路由表, 从所述多个业务部件中确定多个 业务处理部件和所述多个业务处理部件的使用顺序, 其中, 所述多个业务处 理部件为所述多个业务部件中的用于实现所述多个业务处理的业务部件; 根据所述多个业务处理部件的使用顺序, 使用所述多个业务处理部件对 所述第一报文流进行处理。
24、 一种网络中开展业务的方法, 其特征在于, 包括:
接收请求开展业务的业务请求, 所述业务请求包括用于请求部署第一业 务的业务部署信息、 用于识别第一报文流的业务流识别信息和业务流导向信 息;
向计算装置发送所述业务部署信息, 向识别导向装置发送所述业务流识 别信息和所述业务流导向信息。
25、 根据权利要求 24所述的方法, 其特征在于, 还包括:
向所述识别导向装置发送业务链标识。
26、 根据权利要求 24或 25所述的方法, 其特征在于, 所述向计算装置 发送所述业务部署信息, 向识别导向装置发送所述业务流识别信息和所述业 务流导向信息包括:
向所述计算装置发送加载命令消息, 并向所述识别导向装置发送流控制 消息; 其中, 所述加载命令消息包括所述业务部署信息, 所述流控制消息所
述业务流识别信息和所述业务流导向信息。
27、 根据权利要求 24-26中任一项所述方法, 其特征在于, 还包括: 向所述计算装置发送资源调整消息, 所述资源调整消息包括部署所述第 一业务所需的运行文件当前需要占用的资源的信息。
28、 根据权利要求 24-27任一项所述的方法, 其特征在于, 所述业务流 导向信息包括以下信息中的至少一个:
所述计算装置的网际协议 IP地址、 所述计算装置的端口信息和部署所述 第一业务所需的运行文件的标识信息。
29、 根据权利要求 24-28任一项所述的方法, 其特征在于, 所述业务部 署信息包括部署所述第一业务所需的运行文件的地址信息。
30、 根据权利要求 29所述的方法, 其特征在于, 所述运行文件的地址信 息包括: 访问所述运行文件的路径信息和所述运行文件的文件名信息, 或指 向所述运行文件的统一资源定位符 URL信息。
31、 根据权利要求 24-30任一项所述的方法, 其特征在于, 所述业务流 识别信息包括以下信息中的至少一个:
接收所述第一报文流的物理端口信息、 接收所述第一报文流的逻辑端口 信息、 所述第一 ^艮文流访问的 URL信息以及所述第一 文流的源 IP地址、 目 的 IP地址、 源传输层端口和目的传输层端口信息。
32、 一种网络中开展业务的方法, 其特征在于, 包括:
接收用于请求部署第一业务的业务部署信息;
根据所述业务部署信息运行部署所述第一业务所需的运行文件, 以部署 所述第一业务;
接收第一报文流, 所述第一报文流包括业务链标识;
根据所述业务链标识确定需要对所述第一报文流执行的属于所述第一业 务的多个业务处理和执行所述多个业务处理的顺序;
根据所述顺序对所述第一报文流执行所述多个业务处理。
33、 根据权利要求 32所述的方法, 其特征在于, 所述根据所述业务部署 信息运行部署所述第一业务所需的运行文件, 以部署所述第一业务包括: 根据所述业务部署信息, 加载并运行用于部署所述第一业务的多个业务 部件, 以部署所述第一业务;
所述根据所述业务链标识确定需要对所述第一报文流执行的属于所述第
一业务的多个业务处理和执行所述多个业务处理的顺序包括:
根据所述业务链标识查询业务路由表, 从所述多个业务部件中确定多个 业务处理部件和所述多个业务处理部件的使用顺序, 其中, 所述多个业务处 理部件为所述多个业务部件中的用于实现所述多个业务处理的业务部件; 所述根据所述顺序对所述第 文流执行所述多个业务处理包括: 根据所述多个业务处理部件的使用顺序, 使用所述多个业务处理部件对 所述第一报文流进行处理。
34、 根据权利要求 33所述的方法, 其特征在于, 所述根据所述业务链标 识查询业务路由表, 从所述多个业务部件中确定多个业务处理部件和所述多 个业务处理部件的使用顺序包括:
根据所述业务链标识和第一入端口查询第一业务路由表项, 确定到达第 一业务处理部件的出端口, 所述第一入端口为接收所述第一报文流的入端口, 所述第一业务处理部件用于执行所述多个业务处理中的第一业务处理;
将所述第一 "^文流导向所述第一业务处理部件;
接收经过所述第一业务处理的第一报文流;
根据第二入端口查询第二业务路由表项, 确定到达第二业务处理部件的 出端口, 所述第二入端口为接收所述经过所述第一业务处理的第一报文流的 入端口, 所述第二业务处理部件用于执行所述多个业务处理中的第二业务处 理;
将所述经过所述第一业务处理的第一报文流导向所述第二业务处理部 件。
35、 根据权利要求 34所述的方法, 其特征在于, 所述根据第二入端口查 询第二业务路由表项, 确定到达第二业务处理部件的出端口包括:
根据所述业务链标识和所述第二入端口查询第二业务路由表项, 确定到 达第二业务部件的出端口。
36、 根据权利要求 32-35中任一项所述的方法, 其特征在于, 还包括: 接收资源调整消息, 所述资源调整消息包括所述运行文件当前需要占用 的资源的信息;
根据所述资源调整消息调整所述运行文件占用的资源。
37、 根据权利要求 32-36 中任一项所述的方法, 其特征在于, 所述业务 部署信息包括所述运行文件的地址信息。
38、 一种网络中开展业务的方法, 其特征在于, 包括:
接收用于识别第一报文流的业务流识别信息和业务流导向信息; 根据所述业务流识别信息从接收到的报文流中识别出所述第一报文流; 为所述第一报文流添加业务链标识;
根据所述业务流导向信息将携带所述业务链标识的所述第一报文流导向 至计算装置。
39、 根据权利要求 38所述的方法, 其特征在于, 所述业务流导向信息包 括以下信息中的至少一个:
所述计算装置的网际协议 IP地址、 所述计算装置的端口信息和部署所述 第一业务所需的运行文件的标识信息。
40、 一种网络中开展业务的方法, 其特征在于, 包括:
接收请求开展业务的业务请求, 所述业务请求包括用于请求部署第一业 务的业务部署信息和用于识别第一报文流的业务流识别信息和业务流导向信 息;
根据所述业务流识别信息从接收到的报文流中识别出所述第一报文流; 根据所述业务流导向信息将所述第一报文流导向至计算装置;
根据所述业务部署信息运行部署所述第一业务所需的运行文件, 以部署 所述第一业务, 并在部署了所述第一业务后, 对导向的所述第一报文流执行 所述第一业务的处理。
41、 一种网络中开展业务的方法, 其特征在于, 包括:
接收请求开展业务的业务请求, 所述业务请求包括用于请求部署第一业 务的业务部署信息和用于识别第一报文流的业务流识别信息;
根据所述业务流识别信息从接收到的报文流中识别出所述第一报文流; 根据所述业务部署信息运行部署所述第一业务所需的运行文件, 以部署 所述第一业务, 在部署了所述第一业务后, 对识别出的所述第一报文流进行 所述第一业务的处理。
42、 根据权利要求 41所述的方法, 其特征在于, 在对识别出的所述第一 报文流进行所述第一业务的处理之前包括:
在所述第一报文流中添加业务链标识;
所述根据所述业务部署信息运行部署所述第一业务所需的运行文件, 以 部署所述第一业务, 在部署了所述第一业务后, 对识别出的所述第一报文流
进行所述第一业务的处理包括:
加载并运行用于部署所述第一业务的多个业务部件, 以部署所述第一业 务;
根据所述业务链标识确定需要对所述第一报文流执行的属于所述第一业 务的多个业务处理和执行所述多个业务处理的顺序;
根据所述顺序对所述第一报文流执行所述多个业务处理。
43、 根据权利要求 42所述的方法, 其特征在于, 所述根据所述业务链标 识确定需要对所述第一报文流执行的属于所述第一业务的多个业务处理和执 行所述多个业务处理的顺序包括:
根据所述业务链标识查询业务路由表, 从所述多个业务部件中确定多个 业务处理部件和所述多个业务处理部件的使用顺序, 其中, 所述多个业务处 理部件为所述多个业务部件中的用于实现所述多个业务处理的业务部件; 根据所述多个业务处理部件的使用顺序, 使用所述多个业务处理部件对 所述第一报文流进行处理。
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP14787685.8A EP2983328B1 (en) | 2013-04-23 | 2014-04-22 | Method, device, and system for service development in network |
| US14/920,599 US10554764B2 (en) | 2013-04-23 | 2015-10-22 | Method, device and system for carrying out service in network |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310143348.1 | 2013-04-23 | ||
| CN201310143348.1A CN103269280B (zh) | 2013-04-23 | 2013-04-23 | 网络中开展业务的方法、装置及系统 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US14/920,599 Continuation US10554764B2 (en) | 2013-04-23 | 2015-10-22 | Method, device and system for carrying out service in network |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2014173277A1 true WO2014173277A1 (zh) | 2014-10-30 |
Family
ID=49012890
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2014/075877 Ceased WO2014173277A1 (zh) | 2013-04-23 | 2014-04-22 | 网络中开展业务的方法、装置及系统 |
Country Status (4)
| Country | Link |
|---|---|
| US (1) | US10554764B2 (zh) |
| EP (1) | EP2983328B1 (zh) |
| CN (1) | CN103269280B (zh) |
| WO (1) | WO2014173277A1 (zh) |
Families Citing this family (23)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103269280B (zh) | 2013-04-23 | 2017-12-15 | 华为技术有限公司 | 网络中开展业务的方法、装置及系统 |
| US10069649B2 (en) * | 2013-11-06 | 2018-09-04 | Citrix Systems, Inc. | Systems and methods for performing service tag switching in an application delivery controller |
| CN103716374B (zh) * | 2013-12-04 | 2017-10-17 | 宇龙计算机通信科技(深圳)有限公司 | 分享文件的方法和服务器 |
| CN104811326A (zh) * | 2014-01-24 | 2015-07-29 | 中兴通讯股份有限公司 | 一种管理业务链的方法、系统及装置 |
| EP3116177B1 (en) | 2014-03-24 | 2020-02-26 | Huawei Technologies Co. Ltd. | Service implementation method for nfv system, and communications unit |
| CN103905447B (zh) * | 2014-04-01 | 2017-06-27 | 华为技术有限公司 | 业务链路选择控制方法以及设备 |
| CN104980374B (zh) | 2014-04-04 | 2018-07-03 | 华为技术有限公司 | 一种业务路由报文的封装方法、业务转发实体及控制平面 |
| CN106688257B (zh) * | 2014-04-30 | 2020-05-19 | 阿弗梅德网络公司 | 优化移动网络中的容量扩张 |
| CN105099919B (zh) * | 2014-05-15 | 2018-07-31 | 华为技术有限公司 | 报文处理方法及装置 |
| CN104283891B (zh) * | 2014-10-27 | 2017-12-08 | 新华三技术有限公司 | 将业务功能节点接入业务链网络的方法和装置 |
| CN104636184B (zh) | 2014-12-29 | 2018-05-01 | 上海华为技术有限公司 | 虚拟机实例的部署方法和装置及设备 |
| CN105813117B (zh) * | 2014-12-29 | 2020-01-17 | 中国移动通信集团公司 | 一种灵活提供网络设备功能的方法、设备和系统 |
| CN105577801B (zh) | 2014-12-31 | 2019-01-11 | 华为技术有限公司 | 一种业务加速方法及装置 |
| US10645013B2 (en) * | 2015-04-02 | 2020-05-05 | Nicira, Inc | Data flow identifiers |
| CN106656536B (zh) | 2015-11-03 | 2020-02-18 | 阿里巴巴集团控股有限公司 | 一种用于处理服务调用信息的方法与设备 |
| CN105429820B (zh) * | 2015-11-05 | 2018-10-09 | 武汉烽火网络有限责任公司 | 基于软件定义网络的深度包检测系统及方法 |
| CN106254235B (zh) * | 2016-07-27 | 2020-02-14 | 上海华为技术有限公司 | 一种负荷分担的方法及其设备 |
| WO2018026380A1 (en) * | 2016-08-05 | 2018-02-08 | Intel Corporation | Systems and methods for data service request classification and routing |
| CN107124375B (zh) * | 2017-03-27 | 2020-02-18 | 网宿科技股份有限公司 | Cdn网络带宽资源的错峰调度方法、系统以及服务器 |
| CN111045751B (zh) * | 2019-12-27 | 2023-09-19 | 中国银行股份有限公司 | 多服务配置链式处理方法及装置 |
| CN112153675B (zh) * | 2020-09-01 | 2023-06-23 | 中国联合网络通信集团有限公司 | 一种业务开通方法及装置 |
| CN114328038B (zh) * | 2020-10-10 | 2026-03-27 | 腾讯科技(深圳)有限公司 | 一种远程捕获进程信息的方法、相关设备及存储介质 |
| CN114374649A (zh) * | 2020-10-15 | 2022-04-19 | 中国移动通信有限公司研究院 | 混合路由方法、装置和网络设备 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102440028A (zh) * | 2010-05-13 | 2012-05-02 | 华为技术有限公司 | 互联网流量内容分发的系统、设备及其方法 |
| US20130036177A1 (en) * | 2011-08-05 | 2013-02-07 | Michael Leeder | Methods, systems, and computer readable media for managing social interaction histories |
| CN102970751A (zh) * | 2012-11-21 | 2013-03-13 | 华为技术有限公司 | 一种lte网络下完成业务协商的方法、装置及系统 |
| CN103269280A (zh) * | 2013-04-23 | 2013-08-28 | 华为技术有限公司 | 网络中开展业务的方法、装置及系统 |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN100454893C (zh) * | 2005-03-21 | 2009-01-21 | 中兴通讯股份有限公司 | 一种快速组播的实现方法 |
| US7855982B2 (en) * | 2007-11-19 | 2010-12-21 | Rajesh Ramankutty | Providing services to packet flows in a network |
| EP2716011A1 (en) * | 2011-06-01 | 2014-04-09 | Interdigital Patent Holdings, Inc. | Content delivery network interconnection (cdni) mechanism |
| US9668161B2 (en) * | 2012-07-09 | 2017-05-30 | Cisco Technology, Inc. | System and method associated with a service flow router |
-
2013
- 2013-04-23 CN CN201310143348.1A patent/CN103269280B/zh active Active
-
2014
- 2014-04-22 EP EP14787685.8A patent/EP2983328B1/en active Active
- 2014-04-22 WO PCT/CN2014/075877 patent/WO2014173277A1/zh not_active Ceased
-
2015
- 2015-10-22 US US14/920,599 patent/US10554764B2/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102440028A (zh) * | 2010-05-13 | 2012-05-02 | 华为技术有限公司 | 互联网流量内容分发的系统、设备及其方法 |
| US20130036177A1 (en) * | 2011-08-05 | 2013-02-07 | Michael Leeder | Methods, systems, and computer readable media for managing social interaction histories |
| CN102970751A (zh) * | 2012-11-21 | 2013-03-13 | 华为技术有限公司 | 一种lte网络下完成业务协商的方法、装置及系统 |
| CN103269280A (zh) * | 2013-04-23 | 2013-08-28 | 华为技术有限公司 | 网络中开展业务的方法、装置及系统 |
Also Published As
| Publication number | Publication date |
|---|---|
| US10554764B2 (en) | 2020-02-04 |
| EP2983328A1 (en) | 2016-02-10 |
| EP2983328A4 (en) | 2016-04-13 |
| US20160044118A1 (en) | 2016-02-11 |
| EP2983328B1 (en) | 2021-07-28 |
| CN103269280B (zh) | 2017-12-15 |
| CN103269280A (zh) | 2013-08-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2014173277A1 (zh) | 网络中开展业务的方法、装置及系统 | |
| US11456956B2 (en) | Systems and methods for dynamic connection paths for devices connected to computer networks | |
| US9800551B2 (en) | AVC Bi-directional correlation using an overlay fabric header | |
| JP6001790B2 (ja) | 固定アクセスネットワークとueとにおける動作方法 | |
| US20210266234A1 (en) | Over The Top Access Framework and Distributed NFVI Architecture | |
| WO2014008820A1 (zh) | 业务处理方法、设备及系统 | |
| EP3588875B1 (en) | Web services across virtual routing and forwarding | |
| CN112202930B (zh) | 一种移动设备接入sd-wan网络方法、pop和系统 | |
| US20190394088A1 (en) | Network device configuration versioning | |
| CN105323229A (zh) | 一种基于cpe的数据传输方法、网元、平台及系统 | |
| EP4373051A1 (en) | Apparatuses, methods and non-transitory computer-readable storage mediums for network access to residential gateways | |
| JP6920537B2 (ja) | Bras転送・制御分離アーキテクチャにおけるユーザ認証 | |
| CN105591967A (zh) | 一种数据传输方法和装置 | |
| WO2019041332A1 (zh) | 一种加速网络传输优化方法以及系统 | |
| CN109150725B (zh) | 流量疏导方法及服务器 | |
| US20250317392A1 (en) | Selective choice of nat methods based on application type using sd-wan centralized policies | |
| US11902052B1 (en) | Separate PFCP session model for network access by residential gateways | |
| US12452103B2 (en) | Combined PFCP session model for network access by residential gateways | |
| US12177123B1 (en) | Routing ingress traffic for logically isolated networks destined for IP blocks without any network address translation | |
| US20240314077A1 (en) | Apparatuses, methods and non-transitory computer-readable storage mediums for network access | |
| CN121239488A (zh) | 服务链sfc的认证方法、装置、通信设备、介质和产品 | |
| CN121890053A (zh) | 用于在网络中控制通信的方法、装置和系统 | |
| CN117640488A (zh) | 路由配置方法、装置、设备及存储介质 |
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: 14787685 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2014787685 Country of ref document: EP |