WO2015062026A1 - 应用服务器、终端设备、网络能力调用***及方法 - Google Patents
应用服务器、终端设备、网络能力调用***及方法 Download PDFInfo
- Publication number
- WO2015062026A1 WO2015062026A1 PCT/CN2013/086327 CN2013086327W WO2015062026A1 WO 2015062026 A1 WO2015062026 A1 WO 2015062026A1 CN 2013086327 W CN2013086327 W CN 2013086327W WO 2015062026 A1 WO2015062026 A1 WO 2015062026A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- service
- operator
- network capability
- network
- capability
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 238000013515 script Methods 0.000 claims abstract description 124
- 238000012545 processing Methods 0.000 claims abstract description 29
- 230000008569 process Effects 0.000 claims description 18
- 230000010354 integration Effects 0.000 claims description 13
- 238000004891 communication Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 7
- 239000008186 active pharmaceutical agent Substances 0.000 description 4
- 238000004590 computer program Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- SPBWHPXCWJLQRU-FITJORAGSA-N 4-amino-8-[(2r,3r,4s,5r)-3,4-dihydroxy-5-(hydroxymethyl)oxolan-2-yl]-5-oxopyrido[2,3-d]pyrimidine-6-carboxamide Chemical compound C12=NC=NC(N)=C2C(=O)C(C(=O)N)=CN1[C@@H]1O[C@H](CO)[C@@H](O)[C@H]1O SPBWHPXCWJLQRU-FITJORAGSA-N 0.000 description 2
- 102100021677 Baculoviral IAP repeat-containing protein 2 Human genes 0.000 description 2
- 102100021662 Baculoviral IAP repeat-containing protein 3 Human genes 0.000 description 2
- 101000896157 Homo sapiens Baculoviral IAP repeat-containing protein 2 Proteins 0.000 description 2
- 101000896224 Homo sapiens Baculoviral IAP repeat-containing protein 3 Proteins 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000013475 authorization Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000006866 deterioration Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
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/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
Definitions
- the present invention relates to the field of computer and communication technologies, and in particular, to an application server, a terminal device, and a network capability calling system and method. Background technique
- FIG 1 shows the current network capability open architecture.
- the telecom operators provide the capability open platform to open network capabilities to mobile Internet service providers. These network capabilities are generally opened in the form of Application Programming Interface (API). Give the capability interface. After the service provider invokes these APIs, the operator's capability open platform implements specific network operations through interaction with existing network devices.
- the network capability interface usually includes: service identification information (for the network to distinguish the service) and parameter information such as operations required for the service, such as QoS request, exemption request, and the like.
- Figure 2 is an example of a third-party application calling network capability API.
- the scenario is that after an e-book website sells an e-book to a user, it is hoped that the mobile operator can process the e-book download freely, and the e-book website This traffic is paid for, so that users do not have to worry about downloading e-books, causing traffic to exceed the threshold and generating high communication costs.
- the process is as follows:
- the user equipment sends an HTTP request to the application server, requesting to download the e-book; (2) the application service determines that the user belongs to the mobile operator, and the capability to the corresponding operator
- the open platform calls the billing deduction API, which includes service information (e-book identification information, such as IP quintuple), server identifier, and the size of the e-book (for example, an e-book size is 5M);
- the operator capability open platform verifies the application server, and determines that the application server has the right to invoke the API.
- the capability open platform sends an access authorization request message, including service information, application server identifier, to the mobile operator's Policy and Charging Rules Function (PCRF) through the Rx interface defined by the network standard. Instructions, and e-book file size;
- PCRF Policy and Charging Rules Function
- the PCRF formulates a Policy and Charging Control (PCC) rule according to the Rx interface message, where the rule includes service identification information (IP quintuple), charging identifier, and application server identifier, and The traffic threshold of the rule (generated by the file size), and the PCRF sends the rule to the gateway through the Gx interface defined by the network standard;
- PCC Policy and Charging Control
- the user equipment starts to download the e-book from the application server (website);
- the gateway detects the data packet, and according to the identification information in the PCC rule obtained in step (4), it is learned that the data packet is a service flow corresponding to the e-book, and the PCC rule is executed;
- the gateway sends the charging data to the charging system, including the charging identifier, the traffic information corresponding to the charging identifier, and the application server identifier, and the charging system performs charging according to the charging system.
- the identifier is freely processed for the user's download traffic, and charges are applied to the application server.
- the application server needs to trigger the business logic for each user. Take Figure 2 as an example. If the website has tens of thousands of users downloading e-books at the same time, the website needs to call tens of thousands of billing deductions for APL. Secondly, since users belong to different operators, and different operators provide different capability open platforms, the billing deduction API method provided by them will be different. In this way, the application server needs to judge that the user belongs to the operator, and then the corresponding capability. The open platform invokes the corresponding API, which also requires the application service to introduce new judgment logic. For example, the user's phone number is first obtained, and the operator to which the user belongs is known according to the number.
- the cost here includes the additional processing cost of the server, such as requiring additional CPU resources, storing the resource network bandwidth to call the network capability API, and including additional development costs. For example, you need to modify the software of an existing application server to implement complex business logic. Because the implementation cost is too high, it actually hinders the third-party application server from calling the operator's network capability API. Summary of the invention
- the embodiments of the present invention provide an application server, a terminal device, and a network capability calling system and method, so as to solve the problem that the application server in the prior art is complicated to implement and costly.
- an application server including:
- a network capability interface integration unit configured to integrate network capability call information provided by an operator into a webpage page on the application server, and link the network capability call information with a service of a corresponding service in the webpage page or a service
- the script binding, the network capability invocation information includes: a network capability interface required by the corresponding service, and address information of an operator capability open platform;
- a network capability interface sending unit configured to send the webpage page to the terminal device, so that when the terminal device processes the service link or processes the service script, the address information of the platform is opened according to the operator capability
- the network capability interface is invoked to the operator capability open platform.
- the network capability interface integration unit is specifically configured to bind respective network capability call information of different operators to a service link or a service script of the corresponding service, so that The terminal device identifies different operators and calls the network of the corresponding carrier. ability.
- the network capability interface integration unit is specifically configured to bind respective network capability call information of different operators to a service link or a service script of the corresponding service, and An operator option is provided in the webpage for the user to select, so that the terminal device identifies the different operators, and invokes the corresponding network capability interface according to the address information of the associated operator capability open platform.
- the network capability interface integration unit is specifically configured to bind respective network capability call information of different operators to a service link or a service script of the corresponding service, where The operator identification script is used to identify the operator to which the terminal device belongs, so that the terminal device invokes the corresponding network capability interface according to the address information of the associated operator capability open platform. .
- the network capability interface includes: at least one of a quality of service interface, a charging interface, and a network status query interface.
- a terminal device including:
- a page obtaining unit configured to receive a webpage page delivered by the application server, where the webpage page includes a service link or a service script of a service that is bound to the network capability call information provided by the operator, where the network capability call information includes: Address information of the network capability interface and the operator capability open platform;
- a service parsing unit configured to parse the webpage page when processing the service link or processing the service script, obtaining address information of the network capability interface and an operator capability open platform; and a network capability requesting unit, configured to operate according to The address information of the business capability open platform invokes the network capability interface to request the corresponding network capability from the operator.
- the webpage page includes a service link or a service script of the requested service that is bound to network capability call information of different operators, so that the service parsing unit identifies Different operators call the network capabilities of the operator to which the terminal device belongs.
- the webpage page further provides an operator option, and the webpage page includes a service link of the requested service that is bound to network capability call information of different operators.
- a service script where the service parsing unit is configured to parse the network capability interface corresponding to the operator selected by the user and the operator capability open platform according to the operator selected by the user when processing the service link or executing the service script. Address information.
- the webpage page includes a service link or a service script of the requested service that is bound to network capability call information of different operators, and the service link of the requested service Or an operator identification script is further integrated in the service script, where the service parsing unit is specifically configured to execute the operator identification script when the service link or the service script is processed, to identify the operator to which the terminal device belongs, and parse The network capability interface corresponding to the operator and the address information of the operator capability open platform are obtained.
- the network capability interface includes: at least one of a quality of service interface, a charging interface, and a network status query interface.
- the third aspect provides a network capability calling system, including: an operator network capability open platform, the application server according to any one of the above, and the terminal device according to any one of the foregoing; the application server
- the network capability invocation information provided by the network capability open platform is integrated into a webpage page of the related service, the terminal device downloads the webpage page and parses the application, and invokes the network capability according to the address information of the operator capability open platform.
- the interface is configured to request a corresponding network capability from the operator network capability open platform.
- the fourth aspect provides a method for calling a network capability, including:
- the application server integrates network capability call information provided by the operator into a webpage page on the application server, and binds the network capability call information to a service link or a service script of a corresponding service in the webpage page,
- the network capability invocation information includes: a network capability interface required by the corresponding service and address information of an operator capability open platform; and processing the service link or processing the service script according to the operator capability opening platform
- the address information invokes the network capability interface to the operator capability open platform.
- the application server binding the network capability calling information to a service link or a service script of a corresponding service in the webpage page, specifically:
- the application server binding the network capability calling information to a service link or a service script of a corresponding service in the webpage page, specifically:
- the corresponding network capability interface is invoked according to the address information of the associated operator capability open platform.
- the application server binding the network capability calling information to a service link or a service script of a corresponding service in the webpage page, specifically:
- the associated carrier so that the terminal device invokes the corresponding network capability interface according to the address information of the associated operator capability open platform.
- the network capability interface includes: at least one of a quality of service interface, a charging interface, and a network status query interface.
- the fifth aspect provides a method for calling a network capability, including:
- the terminal device receives a webpage page delivered by the application server, where the webpage page includes a service link or a service script of a service bound to the network capability call information provided by the operator, where the network
- the capability invocation information includes: a network capability interface and address information of the operator capability open platform; the terminal device parses the webpage page when processing the service link or processing the service script, and obtaining the network capability interface and the capability of the operator to be open Address information of the platform;
- the terminal device invokes the network capability interface according to the address information of the operator capability open platform to request the corresponding network capability from the operator.
- the webpage page includes a service link or a service script of the requested service that is bound to network capability call information of different operators, so that the terminal device recognizes different The operator calls the network capability of the operator to which the terminal device belongs.
- the webpage page further provides an operator option, and the webpage page includes a service link of the requested service that is bound to network capability call information of different operators.
- a service script where the service parsing unit is configured to parse the network capability interface corresponding to the operator selected by the user and the operator capability open platform according to the operator selected by the user when processing the service link or executing the service script. Address information.
- the webpage page includes a service link or a service script of the requested service that is bound to network capability call information of different operators, and the service link of the requested service Or an operator identification script is further integrated in the service script, where the service parsing unit is specifically configured to execute the operator identification script when the service link or the service script is processed, to identify the operator to which the terminal device belongs, and parse The network capability interface corresponding to the operator and the address information of the operator capability open platform are obtained.
- the network capability interface includes: at least one of a QoS interface, a charging interface, and a network status query interface, where the operator network capability open platform provides the network capability interface Corresponding network capabilities.
- the application server integrates the network capability interface of the network capability provided by the operator into the corresponding webpage page, and the terminal device triggers the call of the network capability interface through the webpage page parsing, thereby reducing the processing complexity of the application server. Reduce the implementation cost of the application server.
- FIG. 1 is a schematic diagram of an open architecture of a network capability in the prior art
- FIG. 2 is a flow chart of the ability to invoke the billing deduction network based on the existing network capability open architecture
- FIG. 3 is a schematic structural diagram of an application server according to an embodiment of the present invention.
- FIG. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
- FIG. 5 is a schematic diagram of an open network architecture of an embodiment of the present invention.
- FIG. 6 is a flowchart of a method for calling a network capability according to an embodiment of the present invention.
- FIG. 7 is a flowchart of another method for calling a network capability according to an embodiment of the present invention.
- FIG. 8 is a flow chart showing the capability of invoking a billing deduction network using the network capability open architecture of the present invention.
- FIG. 9 is a flow chart of invoking network state query capability by using the network capability open architecture of the present invention.
- FIG. 10 is a flow chart showing the ability to invoke bandwidth request using the network capability open architecture of the present invention.
- FIG. 11 is a schematic diagram showing the hardware structure of the application server of the present invention. detailed description
- the first embodiment of the present invention provides an application server.
- the application server includes a network capability interface integration unit 310 and a network capability interface delivery unit 320.
- the network capability interface integration unit 310 is configured to integrate the network capability call information provided by the operator into a webpage page on the application server, that is, an HTML page. And binding the network capability call information to a service link (URL) or a business script of a corresponding service in the webpage page.
- a service link URL
- a business script of a corresponding service in the webpage page.
- the network capability invocation information includes: a network capability interface required by the corresponding service and address information of an operator capability open platform, so that the service link is processed (eg, clicked) or executed in the terminal device.
- the network capability interface is invoked to the operator capability open platform according to the address information.
- the application server provides the service description information corresponding to the network capability interface, for example, the IP five-element for the corresponding service. Group, service identifier, and description information of other attributes of the corresponding service. This makes the network capability invoked when the service is executed. For example: In the process of downloading an e-book, the terminal device invokes the billing deduction network capability to charge and deduct the traffic for downloading the e-book.
- the address information of the operator capability open platform may be the URL of the capability open platform.
- the terminal device is usually equipped with a browser. In order to facilitate the terminal device call, the operator capability opens the platform to provide a force interface for the browser to parse the JAVA script and the RESTFUL code.
- the network capabilities provided by the carrier usually include the carrier's charging capability, network status query, and service quality. The corresponding interfaces are: accounting interface, network status query interface, and quality of service interface.
- the server provides different network capability interfaces for the service for different operators.
- the network capability interface integration unit 310 may bind the network capability calling information of different operators to the service link or the service script of the corresponding service, so that the terminal device recognizes different The operator calls the network capabilities of the corresponding carrier.
- the network capability interface integration unit 310 can provide an operator option in the web page for the user to select. For example: the same is the network capability of requesting network status query. Different operators provide different users with different network capability interfaces for requesting network status query, and the address information of different operators' operator capability open platforms is different. .
- the application server integrates the network capability invocation information provided by the different operators to provide the network status query into the webpage of the corresponding service, and binds to the service link or the business script of the service.
- the operator option is provided on the webpage for the user to select, for example, the mobile link and the Unicom link can be separately provided for the service, and the network capability interface and the operator capability of the network bandwidth are respectively provided by the respective operators.
- the address information of the platform for example: the same is the network capability of requesting network status query. Different operators provide different users with different network capability interfaces for requesting network status query, and the address information of different operators' operator capability open platforms is different.
- the application server integrates the network capability invocation information provided by the different operators
- the network capability interface integration unit 310 may also bind network capability calling information of different operators to service links or service scripts of the corresponding services, and in the service link or service.
- An operator identification script for identifying the operator to which the terminal device belongs is integrated in the script, so that the terminal device invokes the network capability interface of the corresponding operator according to the address information of the corresponding operator capability open platform.
- the operator identification script invokes the system API of the terminal device to obtain the operator information to which the terminal device belongs.
- the script can have the following format:
- the application server of this embodiment can open the network energy provided by the platform according to the capability of the operator. Whether the interface is charged or free is used to determine whether to register with the operator's capability open platform. If the network capacity is charged, the application server needs to be registered to obtain the right to use the network capability interface. If it is free, the network can be used without using it. Capability interface.
- the application server of the embodiment integrates the network capability calling information into the HTML page for providing the service, and then does not need to perform additional processing for each terminal device, and the related calling operation is distributed to each terminal device, thereby compressing the application server. Handling complexity and reducing the implementation cost of the application server.
- a second embodiment of the present invention provides a terminal device, as shown in FIG. 4, including: a webpage obtaining unit 410, configured to receive a webpage page delivered by an application server.
- the application server integrates the network capability call information into the webpage of the corresponding service. Therefore, the webpage page includes a service link or a service script of the requested service that is bound to the network capability call information provided by the operator, where the network
- the capability call information includes: network capability interface and address information of the operator capability open platform.
- the network capability interface includes service description information corresponding thereto, such as an IP quintuple for the corresponding service, a service identifier, and description information of other attributes of the corresponding service.
- the network capabilities provided by the operator usually include the carrier's charging capability, network status query, and service quality.
- the corresponding interfaces include: accounting interface, network status query interface, and quality of service interface.
- the terminal device may actively send a request to the application server, that is, when the user needs a certain service, the webpage in the terminal device requests the corresponding webpage page of the service. It can also be a web page that receives the active push of the application server. For example: In the scenario where the terminal device downloads the e-book, some e-books are e-books serialized by the episode, and an episode is updated one week. After updating the episode, the application server pushes the e-book download to the terminal device that downloaded the e-book. Page, so that users can download in time. For some subscription services (such as news, weather), the terminal device can receive the web page of the service through the application server push.
- the application server For some subscription services (such as news, weather), the terminal device can receive the web page of the service through the application server push.
- the service parsing unit 420 is configured to parse the webpage page when the service link or the service script is processed, and obtain the address information of the network capability interface and the operator capability open platform.
- the network capability requesting unit 430 is configured to invoke the network capability interface according to the address information of the operator capability open platform to request the corresponding network capability from the operator.
- the request can be carried on the HTTP or HTTPs protocol, that is, the terminal device performs the corresponding service by using the requested operator while performing the corresponding service, for example, in the case of the background art, the operator is requested to execute while downloading the e-book.
- the ability to deduct billing for download traffic is carried on the HTTP or HTTPs protocol, that is, the terminal device performs the corresponding service by using the requested operator while performing the corresponding service, for example, in the case of the background art, the operator is requested to execute while downloading the e-book. The ability to deduct billing for download traffic.
- the webpage includes a service link or a service script of the requested service that is bound to the network capability call information of the different operators, so that the service resolution unit identifies different operators, and invokes the operator of the terminal device.
- Network capabilities
- the service parsing unit 420 may parse the network capability interface corresponding to the operator selected by the user and the address information of the operator capability open platform according to the operator selected by the user.
- the webpage page includes a service link or a service script of the requested service that is bound to the network capability call information of different operators, and the service of the requested service
- the service parsing unit 420 may further execute the operator identification script to identify the operator to which the terminal device belongs, and parse the network capability corresponding to the operator. Address information of the interface and operator capability open platform.
- the page obtaining unit 410, the service parsing unit 420, and the network capability requesting unit 430 may be clients that implement the above functions in the terminal device.
- the above unit may be a corresponding functional unit of a browser in the terminal device. Because the current terminal browser itself has the ability to parse JAVA scripts or RESTFUL style APIs, no changes can be made to the terminal device.
- the terminal device browser invokes a network capability interface with an open network capability
- the application server distributes the centralized network capability interface call to the user terminal device, and For the terminal device, only one network capability interface needs to be invoked each time the service is performed, and the added additional processing capability is negligible, and the application server can save a lot of processing power (directly proportional to the number of users supported by the application server).
- a third embodiment of the present invention provides a network capability calling system, and the architecture thereof is as shown in FIG. 5, including: an operator network capability open platform, the application server according to any one of the foregoing, and any one of the foregoing
- the terminal device integrates network capability call information provided by the operator network capability open platform into a webpage page of a related service, and the terminal device downloads the webpage page and parses the application server,
- the network capability interface is invoked according to the address information of the operator capability open platform to request the corresponding network capability from the operator network capability open platform.
- a fourth embodiment of the present invention provides a network capability calling method based on the foregoing network capability calling system, where the execution entity is an application server, as shown in FIG. 6, including:
- Step S610 The application server integrates network capability call information provided by the operator into a webpage page on the application server, and binds the network capability call information to a service link or a service script of a corresponding service in the webpage page.
- the network capability invocation information includes: a network capability interface required by the corresponding service and address information of an operator capability open platform.
- the terminal device processes the service link or processes the service script, the network capability interface is invoked to the operator capability open platform according to the address information of the operator capability open platform.
- the application server binding the network capability invocation information to the service link or the service script of the corresponding service in the webpage page specifically includes: respectively, the network capability calling information of different operators and the corresponding service
- the service link or service script is bound to enable the terminal device to identify different operators and invoke the network capabilities of the corresponding carrier.
- the following two methods are included: 1.
- the application server binds the respective network capability calling information of different operators to the service link or service script of the corresponding service, and provides an operator option for the user in the webpage page. Selecting, so that the terminal device can identify different operators, and open the platform according to the capabilities of the carrier to which it belongs.
- the address information invokes the corresponding network capability interface.
- the application server binds the network capability call information of the different operators to the service link or the service script of the corresponding service, and integrates the operator identification script in the service link or the service script, where the operator identifies the script.
- the operator belongs to identify the terminal to which the terminal device belongs, so that the terminal device invokes the corresponding network capability interface according to the address information of the associated operator capability open platform.
- a fifth embodiment of the present invention provides a network capability calling method based on the foregoing network capability calling system, where the executing entity is a mobile terminal, as shown in FIG. 7, including:
- Step S710 The terminal device receives a webpage page that is sent by the application server, where the webpage page includes a service link or a service script of a service that is bound to the network capability call information provided by the operator, where the network capability call information includes: Address information of the capability interface and the operator capability open platform.
- the network capabilities provided by the carrier usually include the carrier's charging capability, network status query, and service quality.
- the corresponding interfaces are: accounting interface, network status query interface, and quality of service interface.
- Step S720 The terminal device parses the webpage page when processing the service link or processing the service script, and obtains address information of the network capability interface and the operator capability open platform.
- Step S730 The terminal device invokes the network capability interface according to the address information of the operator capability open platform to request the corresponding network capability from the operator.
- the webpage includes a service link or a service script of the requested service that is bound to the network capability call information of different operators, so that the terminal device identifies different operators, and invokes a network of the operator to which the terminal device belongs. ability.
- the webpage page further includes an operator option
- the webpage page includes a service link or a service script of the requested service that is bound to the network capability call information of different operators
- the step S720 specifically includes: The network capability interface corresponding to the operator selected by the user and the address information of the operator capability open platform are parsed according to the operator selected by the user.
- the webpage page includes a service link or a service script of the requested service that is bound to the network capability invocation information of different operators, and the service link or the service script of the requested service is also collected.
- the operator identification script is generated.
- the step S720 specifically includes: performing the operator identification script to identify an operator to which the terminal device belongs, to parse the network capability interface corresponding to the operator and the address information of the operator capability open platform. .
- the present invention is further illustrated by three specific scenarios:
- Scenario 1 is downloaded as a charging e-book, and the application server replaces the user to pay the e-book traffic fee to the mobile operator to encourage the user to download.
- the process is as follows:
- the application server registers with the mobile operator's capability open platform. During the registration process, the capability open platform assigns an application service identifier to the application server to uniquely identify the application on the capability open platform;
- the application server integrates the network capability API into the HTML page.
- the billing deduction API provided by the capability open platform is integrated into the link page of the charging e-book, and the capability open platform is provided for the convenience of the terminal side calling.
- the JAVA script or the RESTFUL-style billing deduction API, and the API contains the address information of the capability open platform, and the address information may be the URL of the capability open platform. Since the billing deduction API requires business information, the application server needs to provide the service description corresponding to the API when integrating the API into the HTML page (for example, the IP quintuple for the e-book download and the e-book file large d, etc.) .
- the application server binds the API to the paid e-book URL.
- steps (1) and (2) are independent of the user terminal device, and the application server only needs to complete one operation.
- the HTML page of the Integrated Network Capability API is for all users, rather than generating separate HTML pages for each user.
- the application server returns an HTML page, including a charging e-book download address (URL) and a billing deduction API bound thereto, the billing deduction API including an application service identifier (e-book website), business information (charge) The IP quintuple of the e-book download and the file size) and the address information (URL) of the capability open platform;
- the user browser requests the capability open platform to perform billing reduction for the e-book traffic, including the service identification information of the e-book, and the e-book file.
- the size, and the identity of the application service, the request can be carried over the HTTP or HTTPs protocol;
- the application server only needs to register with the network capability open platform once, and integrates the network capability API into the HTML page, and then does not need to perform additional processing for each user who downloads the e-book, and the related calling operations are dispersed to Performed on each terminal, thereby simplifying the processing complexity of the application service.
- the application server provides video on demand services (HD, SD, etc.) with different resolutions.
- the application server hopes to provide high-resolution video when the network is idle according to the current user wireless network status.
- the open network status query API enables the service to adapt to the network and avoid further deterioration when the network is congested. It is also beneficial for the operator to smoothly use the network. Therefore, in the scenario 1, the capability of the operator is different.
- the open platform can provide this API to third-party applications for free. The specific process is as follows:
- the application server Since the Network Status Query API is provided free of charge, the application server does not need to register with the Competency Open Platform to obtain the right to use the API.
- the video download server binds the network status query API and the video link (may be multiple). Since the open platform of different operators provides the network status query API, the format of the API is different, and the corresponding open platform address is different. In order to avoid judging that the user belongs to the mobile operator, the application server may integrate the network status query API of multiple capability open platforms into the video download page. At the same time, the application server can instruct the browser to display the operator selection information on the page;
- the application server returns an HTML page, which includes a video on-demand address (URL) and a network status query API bound to multiple capability open platforms.
- the network status query API formats may be different, but they all include respective capability open platforms. Address information;
- the terminal browser displays the selection information on the HTML page, for example, displaying the Chinese mobile user selection link 1 and the China Unicom user selecting the link 2, the user knows that belongs to the operator, and clicks the corresponding link to watch the video. ;
- the browser queries the current open platform of the user to query the current network status
- the capability open platform determines the identity of the user according to the source IP address of the request, and returns the status of the wireless network where the user is currently located; if the user incorrectly selects the operator in step (4), for example, the mobile user selects The link corresponding to the Unicom user, the connectivity open platform of China Unicom will determine that the user does not belong to the Unicom operator according to the source IP of the request message, and directly returns the error information;
- the browser requests a video download from the video server, and includes the network status information obtained in step (6), and the video server provides a video corresponding to the resolution to the user according to the network status information.
- the application server can integrate the network capability APIs of multiple operators into an HTML page.
- the user selects the corresponding carrier and triggers the network to be invoked to the corresponding network capability open platform.
- the capability API the application server avoids the complex processing of handling different operator users and calling to their respective capability open platforms, thus simplifying the server implementation.
- the application server provides the distance education or telemedicine service.
- the application server wants the network to provide guaranteed bandwidth. For example, IMbits/s ensures that the video calls of both parties can be smoothly performed to ensure the effect of education or medical services. .
- the bandwidth request API needs to provide additional wireless resources for the service, so the API is chargeable and can bring additional revenue to the operator. The specific process is as follows:
- the application server Since the bandwidth request API is a charge, the application server needs to register with the capability open platform. To obtain the right to use the API, since the application server can provide services to users of different operators, the application server registers with the capability open platform of different operators. For the embodiment, if the user targeted by the application server may come from For the two operators, the application server first registers with the capability open platform 1 of the operator, and the capability open platform assigns an application service identifier 1 to the application server to uniquely identify the application service on the capability open platform 1;
- the application server registers with the capability open platform 2, and the capability open platform 2 assigns an application service identifier 2 to the application server to uniquely identify the application service on the capability open platform 2, and the application identifier 1 and Application ID 2 is independent and can be different;
- the application server integrates the bandwidth request API provided by the capability open platform 1 and the capability open platform 2 into the video call page, and the bandwidth request API includes the address information of the respective capability open platform.
- the specific implementation integrated into the video call page is a description of the service information required by the application server to bind the bandwidth request API and the video call script and provide the bandwidth request API, such as server address information of the video call, bandwidth information required for the video call, and application. Service identification information, etc.
- the application server does not instruct the browser to present the operator selection information to the user, but adds a script to trigger the browser to call the system API to obtain the operator information of the terminal.
- the script can have the following format
- the user requests an HTML page of the video call through HTTP, such as establishing a video call with a teacher or doctor;
- the application server returns an HTML page, where the HTML page includes a video session description information list, the list includes an address of the communication peer end, and a video encoding format set supported by the peer end, and the page further includes script information for triggering the video call service and Multiple capabilities of binding The bandwidth request API of the platform;
- the terminal browser Before calling the script of the video call service, the terminal browser first calls the operator selection script added by the application server, and obtains the operator information from the terminal, for example, obtains the network operator information from the setting information of the Android mobile phone, according to The information selects a corresponding bandwidth request API;
- the browser calls the bandwidth request API to the capability open platform to which the user belongs, including the address information of the capability open platform, the service description information, and the application identifier information.
- the user belongs to the operator 1, so the address information is The capability open platform 1 , the application identification information is the application identifier 1;
- the capability open platform 1 authenticates the application identifier and authorizes the application to invoke the bandwidth request and return the authorized bandwidth value
- the browser invokes a subsequent voice call script, such as opening a local camera, selecting an appropriate video encoding format and resolution according to the authorized uplink bandwidth, and returning the confirmed session description to the application server according to the authorized downlink bandwidth.
- a subsequent voice call script such as opening a local camera, selecting an appropriate video encoding format and resolution according to the authorized uplink bandwidth, and returning the confirmed session description to the application server according to the authorized downlink bandwidth.
- Information to inform the peer to choose the appropriate video encoding format and resolution
- the user terminal and the peer end start a video call, and the video stream is mutually transmitted through a real-time media transmission protocol.
- the application server can integrate the network capability APIs of multiple operators into an HTML page, and instruct the browser to invoke the system API to obtain the terminal operator in the page. According to the operator, the network capability API of the corresponding capability platform is invoked, thereby realizing the implementation of the server.
- the application server of the foregoing embodiment may be as shown in FIG. 11, including at least one processor 1110 (for example, a CPU), at least one network interface 1120 or other communication interface, and the memory 1130 and at least one.
- a communication bus 1140 is used to implement connection communication between these devices.
- the processor 1110 is configured to execute executable modules, such as computer programs, stored in the memory 1130.
- the memory 1130 may include a high-speed random access memory (RAM), and may also include a non-volatile memory. For example at least one disk storage.
- the communication connection between the system gateway and at least one other network element is implemented by at least one network interface 1120 (which may be wired or wireless), and may use an Internet, a wide area network, a local network, a metropolitan area network, or the like.
- the memory 1130 stores a program that can be executed by the processor 1110, the program comprising:
- the calling information includes: the network capability interface of the corresponding service and the address information of the operator capability open platform; sending the webpage page to the terminal device, so that the terminal device processes the service link or processes the service
- the script invokes the network capability interface according to the address information of the operator capability open platform to the operator capability open platform.
- aspects of the present invention, or possible implementations of various aspects can be embodied as a system, method, or computer program product.
- aspects of the invention, or possible implementations of various aspects may be in the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, etc.), or a combination of software and hardware aspects, They are collectively referred to herein as "circuits," “modules,” or “systems.”
- aspects of the invention, or possible implementations of various aspects may take the form of a computer program product, which is a computer readable program code stored in a computer readable medium.
- the computer readable medium can be a computer readable signal medium or a computer readable storage medium.
- the computer readable storage medium includes, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing, such as random access memory (RAM), read only memory (ROM), Erase programmable read-only memory (EPROM or flash memory), optical fiber, portable read-only memory (CD-ROM).
- a processor in a computer reads computer readable program code stored in a computer readable medium, such that the processor is capable of performing the work specified in each step of the flowchart, or a combination of steps It is possible to operate; to generate a device that implements the functional actions specified in each block of the block diagram or a combination of blocks.
- the computer readable program code can execute entirely on the user's computer, partly on the user's computer, as a separate software package, partly on the user's computer and partly on the remote computer, or entirely on the remote computer or server. .
- the functions noted in the various steps of the flowcharts or in the blocks of the block diagrams may not occur in the order noted in the drawings. For example, two steps, or two blocks shown in succession may be executed substantially concurrently, or the blocks may sometimes be performed in the reverse order, depending upon the functionality involved.
- the spirit and scope of the invention may be understood that the present invention cover the modifications and the modifications of the invention
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Telephonic Communication Services (AREA)
Abstract
本发明公开了一种应用服务器,包括:用于将运营商提供的网络能力调用信息集成到所述应用服务器上的网页页面中,并将所述网络能力调用信息与所述网页页面中相应业务的业务链接或业务脚本绑定,所述网络能力调用信息包括:所述相应业务所需的网络能力接口及运营商能力开放平台的地址信息;网络能力接口下发单元,用于将所述网页页面下发给终端设备。还公开了一种终端设备、网络能力调用***及方法。本发明实施例中,应用服务器将运营商提供的网络能力的网络能力接口集成到相应的网页页面中,由终端设备通过页面解析触发对网络能力接口调用,从而减少应用服务器的处理复杂性,降低了应用服务器的实现成本。
Description
应用服务器、 终端设备、 网络能力调用***及方法 技术领域
本发明涉及计算机及通信技术领域, 尤其涉及一种应用服务器、 终端设 备、 网络能力调用***及方法。 背景技术
随着移动互联网业务的兴起以及传统电路域语音业务的衰落,移动网络 运营商需要新的利润增长点以运营电信网络。 为了避免沦为管道提供者, 出 现增量不增收的情况,移动网络运营商考虑向移动互联网的应用或者内容提 供者开放电信网络能力, 比如计费能力,服务质量( Quality of Service, QoS ) 能力等, 通过开放上述网络运营商特有的能力给第三方, 获取额外的收入, 从而实现电信运营商与应用服务商之间的双贏。
图 1为目前的网络能力开放架构, 电信运营商提供能力开放平台向移动 互联网业务提供者开放网络能力, 这些网络能力一般以应用程序编程接口 ( Application Programming Interface, API ) 的方式开放出去, 即网给能力接 口。 当业务提供者调用这些 API后,运营商的能力开放平台通过和现有网络 设备之间的交互, 实现具体的网络操作。 网络能力接口通常包括: 业务标识 信息(用于网络区分该业务)以及针对该业务需要做的操作等参数信息, 比 如 QoS请求, 免计费请求等。
图 2为一个第三方应用调用网络能力 API的例子,其场景为某个电子书 网站在出售电子书给用户后, 希望移动运营商对于下载电子书的流量进行免 费处理, 而由电子书网站对该流量进行付费, 这样可以使用户不用担心自己 下载电子书导致流量超过阈值而产生高额的通信费用。 其过程如下:
( 1 )用户设备向应用服务器发送 HTTP请求, 要求下载电子书; ( 2 )应用服务判断该用户属于那个移动运营商, 向对应运营商的能力
开放平台调用计费扣减 API, 包含业务信息(电子书标识信息, 比如 IP五元 组), 服务器标识, 该电子书的大小 (比如某本电子书大小为 5M );
( 3 )运营商能力开放平台验证该应用服务器, 确定该应用服务器有权 调用该 API。 能力开放平台通过网络标准定义的 Rx接口, 向移动运营商的 网元策略与计费规则功能单元 ( Policy and Charging Rules Function, PCRF ) 发送接入授权请求消息, 包含业务信息, 应用服务器标识, 免费指示, 以及 电子书文件大小;
( 4 ) PCRF根据该 Rx接口消息, 制定策略和计费控制 (Policy and Charging Control, PCC )规则, 该规则包含业务标识信息 ( IP五元组), 计 费标识, 以及应用服务器标识, 以及针对该规则的流量阈值(由文件大小生 成), PCRF通过网络标准定义的 Gx接口, 将该规则发送给网关;
( 5 )用户设备开始从应用服务器(网站) 下载电子书;
( 6 ) 网关检测数据报文, 根据步骤(4 )获取的 PCC规则里的标识信 息得知这些数据报文为电子书对应的业务流, 则执行该 PCC规则;
( 7 )根据步骤(6 )里 PCC规则的执行结果, 网关向计费***发送计 费数据, 包含计费标识,该计费标识对应的流量信息, 以及应用服务器标识, 计费***根据计费标识对于该用户的下载流量进行免费处理, 同时针对该应 用服务器进行收费。
通过上述过程可以发现,运营商通过开放计费扣减 API, 从第三方应用 服务器获取了额外的收入, 而对于第三方应用服务器来说虽然付出了额外的 流量费用, 但是方便了用户下载电子书, 第三方应用服务器可以通过多出售 电子书获得的收入弥补流量费用从而实现双贏。
上述现有技术主要有两个缺陷:
首先应用服务器需要针对每个用户进行业务逻辑的触发, 以图 2为例, 口该网站同时有几万用户下载电子书, 则网站需要调用几万次计费扣减 APL
其次由于用户属于不同的运营商, 而不同运营商会提供不同的能力开放 平台, 其提供的计费扣减 API方式也会不同, 这样需要应用服务器判断该用 户属于那个运营商, 再向对应的能力开放平台调用对应的 API, 这也需要应 用服务引入新的判断逻辑, 比如首先要获取用户的电话号码, 根据该号码得 知该用户所属运营商。
以上两个缺点导致应用服务器实现复杂, 增加了实现成本, 这里的成本 即包括服务器额外的处理成本, 比如需要额外的 CPU资源, 存储资源网络 带宽去调用网络能力 API, 也包括额外的开发成本, 比如需要修改现有应用 服务器的软件实现复杂的业务逻辑。 由于实现成本过高, 实际上阻碍了第三 方应用服务器调用运营商的网络能力 API。 发明内容
本发明实施例提供应用服务器、 终端设备、 网络能力调用***及方法, 以解决现有技术中应用服务器实现复杂, 成本高的问题。
为了解决上述技术问题, 本发明实施例公开了如下技术方案: 第一方面, 提供一种应用服务器, 包括:
网络能力接口集成单元, 用于将运营商提供的网络能力调用信息集成到 所述应用服务器上的网页页面中, 并将所述网络能力调用信息与所述网页页 面中相应业务的业务链接或业务脚本绑定, 所述网络能力调用信息包括: 所 述相应业务所需的网络能力接口及运营商能力开放平台的地址信息;
网络能力接口下发单元, 用于将所述网页页面下发给终端设备, 以使在 所述终端设备处理所述业务链接或处理所述业务脚本时根据所述运营商能 力开放平台的地址信息向所述运营商能力开放平台调用所述网络能力接口。
在第一方面的第一种可能的实现方式中, 所述网络能力接口集成单元具 体用于将不同运营商各自的网络能力调用信息与所述相应业务的业务链接 或业务脚本绑定, 以使终端设备识别不同的运营商, 调用对应运营商的网络
能力。
在第一方面的第二种可能的实现方式中, 所述网络能力接口集成单元具 体用于将不同运营商各自的网络能力调用信息与所述相应业务的业务链接 或业务脚本绑定, 并在所述网页页面中提供运营商选项以供用户选择, 以使 终端设备识别不同的运营商,根据所属的运营商能力开放平台的地址信息调 用相应的网络能力接口。
在第一方面的第三种可能的实现方式中, 所述网络能力接口集成单元具 体用于将不同运营商各自的网络能力调用信息与所述相应业务的业务链接 或业务脚本绑定, 在所述业务链接或业务脚本中集成运营商识别脚本, 所述 运营商识别脚本用于识别终端设备所属的运营商, 以使终端设备根据所属的 运营商能力开放平台的地址信息调用相应的网络能力接口。
在第一方面的第四种可能的实现方式中, 所述网络能力接口包括: 服务 质量接口、 计费接口、 网络状况查询接口中的至少一个。
第二方面, 提供一种终端设备, 包括:
页面获取单元, 用于接收应用服务器下发的网页页面, 所述网页页面中 包含有与运营商提供的网络能力调用信息绑定的业务的业务链接或业务脚 本, 所述网络能力调用信息包括: 网络能力接口及运营商能力开放平台的地 址信息;
业务解析单元, 用于在处理所述业务链接或处理所述业务脚本时解析所 述网页页面, 获得所述网络能力接口及运营商能力开放平台的地址信息; 网络能力请求单元, 用于根据运营商能力开放平台的地址信息调用所述 网络能力接口, 以向所述运营商请求相应的网络能力。
在第二方面的第一种可能的实现方式中, 所述网页页面中包含与不同运 营商的网络能力调用信息绑定的所请求业务的业务链接或业务脚本, 以使所 述业务解析单元识别不同的运营商,调用所述终端设备所属运营商的网络能 力。
在第二方面的第二种可能的实现方式中, 所述网页页面中还提供运营商 选项,且所述网页页面中包含与不同运营商的网络能力调用信息绑定的所请 求业务的业务链接或业务脚本, 所述业务解析单元具体用于在处理所述业务 链接或者执行业务脚本时根据用户选择的运营商解析出所述用户选择的运 营商对应的网络能力接口及运营商能力开放平台的地址信息。
在第二方面的第三种可能的实现方式中, 所述网页页面中包含与不同运 营商的网络能力调用信息绑定的所请求业务的业务链接或业务脚本, 所述所 请求业务的业务链接或业务脚本中还集成有运营商识别脚本, 所述业务解析 单元具体用于在处理所述业务链接或者执行业务脚本时执行所述运营商识 别脚本, 以识别终端设备所属的运营商, 并解析出所述运营商对应的网络能 力接口及运营商能力开放平台的地址信息。
在第二方面的第四种可能的实现方式中, 所述网络能力接口包括: 服务 质量接口、 计费接口、 网络状况查询接口中的至少一个。
第三方面, 提供一种网络能力调用***, 包括: 运营商网络能力开放平 台、 如上述任一项所述应用服务器及如上述任一项所述终端设备; 所述应用 服务器将所述运营商网络能力开放平台提供的网络能力调用信息集成到相 关业务的网页页面中,所述终端设备向所述应用服务器下载所述网页页面并 解析, 根据运营商能力开放平台的地址信息调用所述网络能力接口, 以向所 述运营商网络能力开放平台请求相应的网络能力。
第四方面, 提供一种网络能力调用方法, 包括:
应用服务器将运营商提供的网络能力调用信息集成到所述应用服务器 上的网页页面中, 并将所述网络能力调用信息与所述网页页面中相应业务的 业务链接或业务脚本绑定, 所述网络能力调用信息包括: 所述相应业务所需 的网络能力接口及运营商能力开放平台的地址信息; 处理所述业务链接或处理所述业务脚本时根据所述运营商能力开放平台的
地址信息向所述运营商能力开放平台调用所述网络能力接口。
在第四方面的第一种可能的实现方式中, 所述应用服务器将所述网络能 力调用信息与所述网页页面中相应业务的业务链接或业务脚本绑定具体包 括:
将不同运营商各自的网络能力调用信息与所述相应业务的业务链接或 业务脚本绑定, 以使终端设备识别不同的运营商, 调用对应运营商的网络能 力。
在第四方面的第二种可能的实现方式中, 所述应用服务器将所述网络能 力调用信息与所述网页页面中相应业务的业务链接或业务脚本绑定具体包 括:
将不同运营商各自的网络能力调用信息与所述相应业务的业务链接或 业务脚本绑定, 并在所述网页页面中提供运营商选项以供用户选择, 以使终 端设备识别不同的运营商,根据所属的运营商能力开放平台的地址信息调用 相应的网络能力接口。
在第四方面的第三种可能的实现方式中, 所述应用服务器将所述网络能 力调用信息与所述网页页面中相应业务的业务链接或业务脚本绑定具体包 括:
将不同运营商各自的网络能力调用信息与所述相应业务的业务链接或 业务脚本绑定, 在所述业务链接或业务脚本中集成运营商识别脚本, 所述运 营商识别脚本用于识别终端设备所属的运营商, 以使终端设备根据所属的运 营商能力开放平台的地址信息调用相应的网络能力接口。
在第四方面的第四种可能的实现方式中, 所述网络能力接口包括: 服务 质量接口、 计费接口、 网络状况查询接口中的至少一个。 第五方面、 提供一种网络能力调用方法, 包括:
终端设备接收应用服务器下发的网页页面, 所述网页页面中包含有与运 营商提供的网络能力调用信息绑定的业务的业务链接或业务脚本, 所述网络
能力调用信息包括: 网络能力接口及运营商能力开放平台的地址信息; 终端设备在处理所述业务链接或处理所述业务脚本时解析所述网页页 面, 获得所述网络能力接口及运营商能力开放平台的地址信息;
终端设备根据运营商能力开放平台的地址信息调用所述网络能力接口, 以向所述运营商请求相应的网络能力。
在第五方面的第一种可能的实现方式中, 所述网页页面中包含与不同运 营商的网络能力调用信息绑定的所请求业务的业务链接或业务脚本, 以使所 述终端设备识别不同的运营商, 调用所述终端设备所属运营商的网络能力。
在第五方面的第二种可能的实现方式中, 所述网页页面中还提供运营商 选项,且所述网页页面中包含与不同运营商的网络能力调用信息绑定的所请 求业务的业务链接或业务脚本, 所述业务解析单元具体用于在处理所述业务 链接或者执行业务脚本时根据用户选择的运营商解析出所述用户选择的运 营商对应的网络能力接口及运营商能力开放平台的地址信息。
在第五方面的第三种可能的实现方式中, 所述网页页面中包含与不同运 营商的网络能力调用信息绑定的所请求业务的业务链接或业务脚本,所述所 请求业务的业务链接或业务脚本中还集成有运营商识别脚本, 所述业务解析 单元具体用于在处理所述业务链接或者执行业务脚本时执行所述运营商识 别脚本, 以识别终端设备所属的运营商, 并解析出所述运营商对应的网络能 力接口及运营商能力开放平台的地址信息。
在第五方面的第四种可能的实现方式中, 所述网络能力接口包括: 服务 质量接口、 计费接口、 网络状况查询接口中的至少一个, 运营商网络能力开 放平台提供所述网络能力接口对应的网络能力。
本发明实施例中,应用服务器将运营商提供的网络能力的网络能力接口 集成到相应的网页页面中, 由终端设备通过网页页面解析触发对网络能力接 口调用,从而减少应用服务器的处理复杂性,降低了应用服务器的实现成本。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作一筒单地介绍, 显而易见地, 下 面描述中的附图是本发明的一些实施例, 对于本领域普通技术人员来讲, 在 不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。
图 1是现有技术中网络能力开放架构示意图;
图 2是基于现有的网络能力开放架构的调用计费减扣网络能力的流程 图;
图 3是本发明实施例的应用服务器的结构示意图;
图 4是本发明实施例的终端设备结构示意图;
图 5是本发明实施例的网络能力开放架构示意图;
图 6是本发明实施例的一种网络能力调用方法流程图;
图 7是本发明实施例的另一种网络能力调用方法流程图;
图 8 是采用本发明的网络能力开放架构调用计费减扣网络能力的流程 图;
图 9 是采用本发明的网络能力开放架构调用网络状态查询能力的流程 图;
图 10是采用本发明的网络能力开放架构调用带宽请求能力的流程图; 图 11是本发明的应用服务器的硬件结构示意图。 具体实施方式
为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本发 明实施例中的附图, 对本发明实施例中的技术方案进行清楚地描述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于本发明 中的实施例, 本领域普通技术人员在没有做出创造性劳动前提下所获得的所 有其他实施例, 都属于本发明保护的范围。
下面结合附图和实施例, 对本发明的具体实施方式作进一步详细描述。 以下实施例用于说明本发明, 但不用来限制本发明的范围。
本发明的第一个实施例提供了一种应用服务器, 如图 3所示, 该应用服 务器包括网络能力接口集成单元 310和网络能力接口下发单元 320。
网络能力接口集成单元 310用于将运营商提供的网络能力调用信息集成 到所述应用服务器上的网页页面中, 即 HTML 页面中。 并将所述网络能力 调用信息与所述网页页面中相应业务的业务链接 ( URL )或业务脚本绑定。 端设备处理所述业务链接或处理所述业务脚本时根据所述运营商能力开放 平台的地址信息向所述运营商能力开放平台调用所述网络能力接口。
所述网络能力调用信息包括: 所述相应业务所需的网络能力接口及运营 商能力开放平台的地址信息, 以使在终端设备中处理(如: 点击)所述业务 链接或执行所述业务脚本时根据地址信息向运营商能力开放平台调用所述 网络能力接口。在将所述网络能力接口与所述网页页面中相应业务的业务链 接(URL )或业务脚本绑定时, 应用服务器将提供该网络能力接口对应的业 务描述信息, 比如针对相应业务的 IP五元组, 业务标识, 以及该相应业务 其它属性的描述信息。 使得在执行该业务时调用该网络能力。 例如: 终端设 备在下载电子书的过程中, 调用计费减扣网络能力, 对下载电子书的流量进 行计费减扣。
运营商能力开放平台的地址信息可以为能力开放平台的 URL。终端设备 通常都安装有浏览器, 为了便于终端设备调用, 运营商能力开放平台提供的 力接口, 以便于浏览器解析 JAVA脚本和 RESTFUL代码。 运营商提供的网 络能力通常包括运营商的计费能力, 网络状况查询, 服务质量等, 相应的接 口为: 计费接口, 网络状况查询接口及服务质量接口。
由于不同的终端设备可能和不同的运营商签约, 对于同一个业务, 应用
服务器对于不同的运营商会提供该业务的不同的网络能力接口。 为了区分不 同运营商的终端设备, 进一步地, 所述网络能力接口集成单元 310可以将不 同运营商的网络能力调用信息与所述相应业务的业务链接或业务脚本绑定, 以使终端设备识别不同的运营商, 调用对应运营商的网络能力。
具体地, 网络能力接口集成单元 310可以在所述网页页面中提供运营商 选项以供用户选择。 例如: 同样是请求提供网络状况查询的网络能力, 不同 的运营商为各自的用户提供了不同的请求提供网络状况查询的网络能力接 口, 而且不同运营商的运营商能力开放平台的地址信息也不同。 此时, 应用 服务器将不同运营商提供网络状况查询的网络能力调用信息集成到对应业 务的网页页面中, 并与该业务的业务链接或业务脚本绑定。 在该网页页面中 提供运营商选项以供用户选择, 如: 可以分别对该业务提供移动的链接、 联 通的链接,各自绑定各自运营商的请求提供网络带宽的网络能力接口及运营 商能力开放平台的地址信息。
为了区分不同运营商的终端设备, 所述网络能力接口集成单元 310还可 以将不同运营商的网络能力调用信息与所述相应业务的业务链接或业务脚 本绑定, 并在所述业务链接或业务脚本中集成用于识别终端设备所属运营商 的运营商识别脚本,使得终端设备根据相应运营商能力开放平台的地址信息 调用相应运营商的网络能力接口。 如:
该运营商识别脚本调用终端设备的*** API 获取终端设备所属的运营 商信息。 该脚本可以有如下格式:
System. getCurrentOperator (Operator information);
^口果 Operator information =运营商 1 ;
调用网络能力接口 API1。
^口果 Operator information =运营商 2;
调用网络能力接口 API2。
本实施例的应用服务器可以根据运营商的能力开放平台提供的网络能
力接口是收费还是免费来决定是否在运营商的能力开放平台注册, 若是收费 的网络能力, 在应用服务器需要注册才能获得该网络能力接口的使用权, 若 是免费的, 则不需也可以使用网络能力接口。
本实施例的应用服务器将网络能力调用信息集成到提供业务的 HTML 页面, 后续不用再针对每个终端设备做额外处理, 相关的调用操作分散到各 个终端设备上进行, 从而筒化了应用服务器的处理复杂性, 降低了应用服务 器的实现成本。
本发明的第二个实施例提供了一种终端设备, 如图 4所示, 包括: 网页获取单元 410, 用于接收应用服务器下发的网页页面。 应用服务器 将网络能力调用信息集成到对应业务的网页页面中, 因此, 所述网页页面中 包含有与运营商提供的网络能力调用信息绑定的所请求业务的业务链接或 业务脚本, 所述网络能力调用信息包括: 网络能力接口及运营商能力开放平 台的地址信息。 网络能力接口包括与其对应的业务描述信息, 比如针对相应 业务的 IP五元组, 业务标识, 以及该相应业务其它属性的描述信息。 运营 商提供的网络能力通常包括运营商的计费能力,网络状况查询,服务质量等, 相应的接口包括: 计费接口, 网络状况查询接口及服务质量接口等。
终端设备在获取网页页面时, 可以是主动向应用服务器发送请求, 即用 户对某个业务有需求时,通过终端设备中的浏览器请求该业务相应的网页页 面。 还可以是接收应用服务器的主动推送的网页页面。 例如: 在终端设备下 载电子书的场景中, 一些电子书是剧集连载的电子书, 一周更新一集, 当更 新一集后, 应用服务器向下载过该电子书的终端设备推送该电子书下载页 面, 以使用户及时下载。 对于一些订阅业务(如: 新闻、 天气), 终端设备 都可以通过应用服务器推送的方式来接收该业务的网页页面。
业务解析单元 420, 用于在处理所述业务链接或处理所述业务脚本时, 解析所述网页页面, 获得所述网络能力接口及运营商能力开放平台的地址信 息。
网络能力请求单元 430, 用于根据运营商能力开放平台的地址信息调用 所述网络能力接口, 以向所述运营商请求相应的网络能力。 该请求可以承载 在 HTTP或者 HTTPs协议上, 即终端设备在执行相应业务的同时使用请求 的运营商执行相应的网络能力, 如: 背景技术中的案例, 在下载电子书的同 时, 请求运营商执行对其下载流量减扣计费的能力。
所述网页页面中包含与不同运营商的网络能力调用信息绑定的所请求 业务的业务链接或业务脚本, 以使所述业务解析单元识别不同的运营商, 调 用所述终端设备所属运营商的网络能力。
具体地, 若应用服务器在所述网页页面中还提供运营商选项, 且所述网 页页面中包含与不同运营商的网络能力调用信息绑定的所请求业务的业务 链接或业务脚本时, 所述业务解析单元 420可以根据用户选择的运营商解析 出所述用户选择的运营商对应的网络能力接口及运营商能力开放平台的地 址信息。
若应用服务器在将网络能力调用信息集成到网页页面,使所述网页页面 中包含与不同运营商的网络能力调用信息绑定的所请求业务的业务链接或 业务脚本, 并在所请求业务的业务链接或业务脚本中还集成有运营商识别脚 本时, 所述业务解析单元 420还可以执行所述运营商识别脚本, 以识别终端 设备所属的运营商, 并解析出所述运营商对应的网络能力接口及运营商能力 开放平台的地址信息。
本实施例中, 页面获取单元 410、 业务解析单元 420和网络能力请求单 元 430可以是在终端设备中实现上述功能的客户端。 优选地, 上述单元可以 是终端设备中的浏览器相应的功能单元。 因为现在的终端浏览器本身具有解 析 JAVA脚本或者 RESTFUL风格 API的能力, 可以不对终端设备做任何改 动。
本实施例中, 通过终端设备浏览器调用网络能力开放的网络能力接口, 应用服务器就把集中的网络能力接口调用分散到用户的终端设备上进行,对
于终端设备来说, 每次进行业务只需要调用一次网络能力接口, 其增加的额 外处理能力微不足道, 而对于应用服务器来说就能节省大量的处理能力(和 应用服务器支持的用户数成正比)。
本发明的第三个实施例提供了一种网络能力调用***, 其架构示意如图 5所示, 包括: 运营商网络能力开放平台、 如上述任一项所述应用服务器及 如上述任一项所述终端设备; 所述应用服务器将所述运营商网络能力开放平 台提供的网络能力调用信息集成到相关业务的网页页面中, 所述终端设备向 所述应用服务器下载所述网页页面并解析,根据运营商能力开放平台的地址 信息调用所述网络能力接口, 以向所述运营商网络能力开放平台请求相应的 网络能力。
本发明的第四个实施例提供了一种基于上述网络能力调用***的网络 能力调用方法, 执行主体为应用服务器, 如图 6所示, 包括:
步骤 S610, 应用服务器将运营商提供的网络能力调用信息集成到所述 应用服务器上的网页页面中, 并将所述网络能力调用信息与所述网页页面中 相应业务的业务链接或业务脚本绑定, 所述网络能力调用信息包括: 所述相 应业务所需的网络能力接口及运营商能力开放平台的地址信息。 所述终端设备处理所述业务链接或处理所述业务脚本时根据所述运营商能 力开放平台的地址信息向所述运营商能力开放平台调用所述网络能力接口。
步骤 S610中, 所述应用服务器将所述网络能力调用信息与所述网页页 面中相应业务的业务链接或业务脚本绑定具体包括: 将不同运营商各自的网 络能力调用信息与所述相应业务的业务链接或业务脚本绑定, 以使终端设备 识别不同的运营商,调用对应运营商的网络能力。具体可包括以下两种方式: 一、应用服务器将不同运营商各自的网络能力调用信息与所述相应业务 的业务链接或业务脚本绑定, 并在所述网页页面中提供运营商选项以供用户 选择, 以使终端设备识别不同的运营商, 根据所属的运营商能力开放平台的
地址信息调用相应的网络能力接口。
二、应用服务器将不同运营商各自的网络能力调用信息与所述相应业务 的业务链接或业务脚本绑定,在所述业务链接或业务脚本中集成运营商识别 脚本, 所述运营商识别脚本用于识别终端设备所属的运营商, 以使终端设备 根据所属的运营商能力开放平台的地址信息调用相应的网络能力接口。
本发明的第五个实施例提供了一种基于上述网络能力调用***的网络 能力调用方法, 执行主体为移动终端, 如图 7所示, 包括:
步骤 S710, 终端设备接收应用服务器下发的网页页面, 所述网页页面 中包含有与运营商提供的网络能力调用信息绑定的业务的业务链接或业务 脚本, 所述网络能力调用信息包括: 网络能力接口及运营商能力开放平台的 地址信息。
运营商提供的网络能力通常包括运营商的计费能力, 网络状况查询, 服 务质量等, 相应的接口为: 计费接口, 网络状况查询接口及服务质量接口。
步骤 S720, 终端设备在处理所述业务链接或处理所述业务脚本时解析 所述网页页面, 获得所述网络能力接口及运营商能力开放平台的地址信息。
步骤 S730, 终端设备根据运营商能力开放平台的地址信息调用所述网 络能力接口, 以向所述运营商请求相应的网络能力。
所述网页页面中包含与不同运营商的网络能力调用信息绑定的所请求 业务的业务链接或业务脚本, 以使所述终端设备识别不同的运营商, 调用所 述终端设备所属运营商的网络能力。
具体地, 所述网页页面中还提供运营商选项, 且所述网页页面中包含与 不同运营商的网络能力调用信息绑定的所请求业务的业务链接或业务脚本, 所述步骤 S720具体包括: 根据用户选择的运营商解析出所述用户选择的运 营商对应的网络能力接口及运营商能力开放平台的地址信息。
所述网页页面中包含与不同运营商的网络能力调用信息绑定的所请求 业务的业务链接或业务脚本, 所述所请求业务的业务链接或业务脚本中还集
成有运营商识别脚本, 所述步骤 S720具体包括: 执行所述运营商识别脚本 识别终端设备所属的运营商, 以解析出所述运营商对应的网络能力接口及运 营商能力开放平台的地址信息。
下面以三个具体场景来进一步说明本发明:
场景 1 , 如图 8所示, 以收费电子书下载, 由应用服务器代替用户向移 动运营商付电子书流量费以鼓励用户下载为例, 其流程如下:
( 1 )应用服务器注册到移动运营商的能力开放平台, 在注册过程中, 能力开放平台给应用服务器分配一个应用服务标识, 以在能力开放平台唯一 标识该应用 务;
( 2 ) 应用服务器将网络能力 API集成到 HTML页面中,针对本例即把 能力开放平台提供的计费扣减 API集成到收费电子书的链接页面中,为了便 于终端侧调用, 能力开放平台提供 JAVA脚本或者 RESTFUL风格的计费扣 减 API, 并且该 API包含能力开放平台的地址信息, 该地址信息可以为能力 开放平台的 URL。 由于计费扣减 API需要业务信息, 应用服务器在把 API 集成到 HTML页面时需要提供该 API对应的业务描述(比如针对电子书下 载的 IP五元组以及该电子书文件大 d、等信息)。应用服务器把该 API和收费 电子书 URL绑定。
需要说明的是, 步骤(1 )和(2 )和用户终端设备无关, 应用服务器只 需要完成一次操作即可实现。 集成网络能力 API的 HTML页面是针对所有 用户的, 而不是针对每个用户都要单独生成 HTML页面。
( 3 ) 用户通过 HTTP请求收费电子书的下载地址;
( 4 ) 应用服务器返回 HTML页面, 包含收费电子书下载地址(URL ) 以及与之绑定的计费扣减 API, 该计费扣减 API包含应用服务标识(电子书 网站), 业务信息(收费电子书下载的 IP五元组以及文件大小) 以及能力开 放平台的地址信息 (URL );
( 5 ) 当用户点击付费电子书下载链接时, 用户设备上的浏览器根据计
费扣减 API和电子书链接的绑定关系, 触发 API的调用;
( 6 ) 根据计费扣减 API包含的能力开放平台地址信息(URL ), 用户浏 览器向能力开放平台请求对于该电子书流量进行计费减免, 包含该电子书的 业务识别信息, 电子书文件大小, 以及该应用服务的标识, 该请求可以承载 在 HTTP或者 HTTPs协议上;
( 7 ) 因为终端侧调用计费扣减包含的信息和现有技术里应用服务器侧 调用包含相同的信息, 后续处理同现有技术;
通过该场景可以看出, 应用服务器只需向网络能力开放平台注册一次, 并将网络能力 API集成到 HTML页面, 后续不用再针对每个下载电子书的 用户做额外处理, 相关的调用操作分散到各个终端上进行, 从而筒化了应用 服务的处理复杂性。
场景 2, 如图 9所示, 本场景中应用服务器提供了不同解析度的视频点 播服务(高清, 标清等), 应用服务器希望能够根据当前用户无线网络状况, 在网络空闲时提供高解析度视频,在拥塞时提供低解析度视频以保证用户能 够流畅的观看视频。 对于运营商来说, 开放网络状况查询 API, 使得业务能 够适配网络, 在网络拥塞时避免进一步恶化, 对于运营商平滑利用网络也是 有好处的, 所以以场景 1不同的是, 运营商的能力开放平台可以免费提供该 API给第三方应用。 其具体流程如下:
( 1 ) 由于网络状况查询 API是免费提供的, 应用服务器不需要向能力 开放平台注册以获得使用该 API 的权利。 视频下载服务器将网络状况查询 API 和视频链接(可以是多个)绑定, 由于不同运营商的能力开放平台都提 供了网络状况查询 API, 其 API的格式不同, 对应的能力开放平台地址也不 同, 应用服务器为了避免判断用户属于那个移动运营商, 可以把多个能力开 放平台的网络状况查询 API集成到视频下载页面中。同时应用月良务器可以在 页面中指示浏览器显示运营商选择信息;
( 2 )用户通过 HTTP请求视频点播的 HTML页面;
( 3 ) 应用服务器返回 HTML页面, 包含视频点播地址( URL )以及与 之绑定多个能力开放平台的网络状态查询 API, 这些网络状态查询 API格式 可以不同, 但是其都包含各自能力开放平台的地址信息;
( 4 ) 根据下载的页面, 终端浏览器在 HTML页面上显示选择信息, 比 如显示***用户选择链接 1 , ***用户选择链接 2, 用户自己知道 属于那个运营商, 则点击对应的链接观看视频;
( 5 ) ^^据用户选择的结果, 浏览器向该用户所属的能力开放平台查询 当前的网络状态;
( 6 )能力开放平台根据发起请求的源 IP地址等信息确定该用户的标识, 返回该用户当前所在无线网络的状态; 如果在步骤(4 )里用户错误选择了 运营商, 比如移动用户选择了联通用户对应的链接, 则联通的能力开放平台 会会根据请求消息的源 IP确定该用户不属于联通运营商, 直接返回错误信 息;
( 7 )浏览器向视频服务器请求视频下载, 包含步骤(6 )得到的网络状 态信息, 视频服务器根据其网络状态信息, 提供对应解析度的视频给用户。
通过本场景可以看出, 对于属于不同运营商的用户, 应用服务器可以将 多个运营商的网络能力 API集成到 HTML页面中, 由用户选择对应运营商, 并触发向对应网络能力开放平台调用网络能力 API, 应用服务器避免了处理 不同运营商用户以及向各自的能力开放平台进行调用的复杂处理,从而筒化 了服务器实现。
场景 3 ,如图 10所示,应用服务器提供给了远程教育或者远程医疗服务, 应用服务器希望网络提供保障的带宽, 比如 IMbits/s保证双方视频通话可以 流畅的进行以确保教育或者医疗服务的效果。 对于运营商来说, 带宽请求 API需要为该业务提供额外的无线资源, 所以该 API是收费的, 可以为运营 商带来额外收入。 其具体流程如下:
( 1 ) 由于带宽请求 API是收费, 应用服务器需要向能力开放平台注册
以获得使用该 API的权利,由于该应用服务器可以向不同运营商的用户提供 服务,该应用服务器向不同运营商的能力开放平台进行注册,针对本实施例, 假如该应用服务器针对的用户可能来自于两个运营商,应用服务器首先向运 营商的能力开放平台 1进行注册, 能力开放平台给应用服务器分配一个应用 服务标识 1 , 以在能力开放平台 1唯一标识该应用服务;
( 2 ) 同理, 应用服务器向能力开放平台 2进行注册, 能力开放平台 2 给应用服务器分配一个应用服务标识 2, 以在能力开放平台 2唯一标识该应 用服务, 需要说明的是应用标识 1和应用标识 2是独立的, 可以不同;
( 3 )应用服务器将能力开放平台 1和能力开放平台 2提供的带宽请求 API 集成到视频通话页面中,带宽请求 API包含各自能力开放平台的地址信 息。集成到视频通话页面中的具体实现为应用服务器将带宽请求 API和视频 通话脚本绑定并提供带宽请求 API所需的业务信息描述,比如视频通话的服 务器地址信息、 视频通话所需带宽信息、 应用服务标识信息等。 与实施例 2 不同的是,在本实施例应用服务器不会指示浏览器将运营商选择信息呈现给 用户, 而是加入一段脚本, 触发浏览器调用*** API获取终端所述运营商信 息。 该脚本可以有如下格式
System. getCurrentOperator (Operator information);
^口果 Operator information =运营商 1,
调用带宽请求 API1
^口果 Operator information =运营商 2,
调用带宽请求 API2。
( 4 )用户通过 HTTP请求视频通话的 HTML页面, 比如和某位教师或 者医生建立视频通话;
( 5 )应用服务器返回 HTML页面, HTML页面包含视频会话描述信息 列表, 该列表包括通信对端的地址, 以及对端支持的视频编码格式集合等, 该页面还包括触发视频通话业务的脚本信息以及与之绑定的多个能力开放
平台的带宽请求 API;
( 6 )终端浏览器在调用视频通话业务的脚本前, 首先调用应用服务器 加入的运营商选择脚本, 从终端获取所述运营商信息, 比如从安卓手机的设 置信息中获取网络运营商信息, 根据该信息选择对应的带宽请求 API;
( 7 )浏览器向该用户所属的能力开放平台调用带宽请求 API, 包含能 力开放平台的地址信息, 业务描述信息, 应用标识信息, 针对本实施例, 用 户属于运营商 1 , 所以其地址信息为能力开放平台 1 , 应用标识信息为应用 标识 1;
( 8 ) 能力开放平台 1认证该应用标识, 并授权该应用可以调用带宽请 求, 返回授权的带宽值;
( 9 )根据返回的带宽值, 浏览器调用后续的语音通话脚本, 比如打开 本地摄像头, 根据授权上行带宽选择合适的视频编码格式和解析度, 根据授 权的下行带宽向应用服务器返回确认的会话描述信息, 以通知对端选择合适 的视频编码格式和解析度
( 11 )根据确定的会话描述信息, 用户终端和对端开始进行视频通话, 通过实时媒体传输协议相互传递视频流。
通过本场景可以看出, 对于属于不同运营商的用户, 应用服务器可以将 多个运营商的网络能力 API集成到 HTML页面中, 并在页面中指示浏览器 调用*** API获取终端所述运营商,根据所述运营商调用相应能力平台的网 络能力 API, 从而筒化了服务器的实现。
本发明的另一个实施例中, 上述实施例的应用服务器可以为如图 11 所 示, 包括至少一个处理器 1110 (例如: CPU ), 至少一个网络接口 1120或者 其他通信接口, 存储器 1130和至少一个通信总线 1140, 用于实现这些装置 之间的连接通信。 处理器 1110用于执行存储器 1130中存储的可执行模块, 例如计算机程序。存储器 1130可能包含高速随机存取存储器( Random Access Memory, RAM ), 也可能还包括非不稳定的存储器( non- volatile memory ),
例如至少一个磁盘存储器。通过至少一个网络接口 1120 (可以是有线或者无 线)实现该***网关与至少一个其他网元之间的通信连接,可以使用互联网、 广域网、 本地网、 城域网等。
在一些实施方式中,存储器 1130存储了程序,该程序可以被处理器 1110 执行, 该程序包括:
将运营商提供的网络能力调用信息集成到所述应用服务器上的网页页 面中, 并将所述网络能力调用信息与所述网页页面中相应业务的业务链接或 业务脚本绑定, 所述网络能力调用信息包括: 所述相应业务的网络能力接口 及运营商能力开放平台的地址信息; 将所述网页页面下发给终端设备, 以使 在所述终端设备处理所述业务链接或处理所述业务脚本时根据所述运营商 能力开放平台的地址信息向所述运营商能力开放平台调用所述网络能力接 口。
本领域普通技术人员将会理解, 本发明的各个方面、 或各个方面的可能 实现方式可以被具体实施为***、 方法或者计算机程序产品。 因此, 本发明 的各方面、 或各个方面的可能实现方式可以采用完全硬件实施例、 完全软件 实施例 (包括固件、驻留软件等等), 或者组合软件和硬件方面的实施例的形 式, 在这里都统称为"电路"、 "模块 "或者 "***"。 此外, 本发明的各方面、 或各个方面的可能实现方式可以采用计算机程序产品的形式,计算机程序产 品是指存储在计算机可读介质中的计算机可读程序代码。
计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。 计算机可读存储介质包含但不限于电子、 磁性、 光学、 电磁、 红外或半导体 ***、 设备或者装置, 或者前述的任意适当组合, 如随机存取存储器 (RAM), 只读存储器 (ROM)、 可擦除可编程只读存储器(EPROM或者快闪 存储器)、 光纤、 便携式只读存储器 (CD-ROM)。
计算机中的处理器读取存储在计算机可读介质中的计算机可读程序代 码, 使得处理器能够执行在流程图中每个步骤、 或各步骤的组合中规定的功
能动作;生成实施在框图的每一块、或各块的组合中规定的功能动作的装置。 计算机可读程序代码可以完全在用户的计算机上执行、部分在用户的计 算机上执行、 作为单独的软件包、 部分在用户的计算机上并且部分在远程计 算机上, 或者完全在远程计算机或者服务器上执行。 也应该注意, 在某些替 代实施方案中, 在流程图中各步骤、 或框图中各块所注明的功能可能不按图 中注明的顺序发生。 例如, 依赖于所涉及的功能, 接连示出的两个步骤、 或 两个块实际上可能被大致同时执行,或者这些块有时候可能被以相反顺序执 行。 发明的精神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权利要 求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在内。
Claims
1、 一种应用服务器, 其特征在于, 包括:
网络能力接口集成单元,用于将运营商提供的网络能力调用信息集成到 所述应用服务器上的网页页面中, 并将所述网络能力调用信息与所述网页页 面中相应业务的业务链接或业务脚本绑定, 所述网络能力调用信息包括: 所 述相应业务所需的网络能力接口及运营商能力开放平台的地址信息;
网络能力接口下发单元, 用于将所述网页页面下发给终端设备, 以使在 所述终端设备处理所述业务链接或处理所述业务脚本时根据所述运营商能 力开放平台的地址信息向所述运营商能力开放平台调用所述网络能力接口。
2、 如权利要求 1所述的应用服务器, 其特征在于, 所述网络能力接口 集成单元具体用于将不同运营商各自的网络能力调用信息与所述相应业务 的业务链接或业务脚本绑定, 以使终端设备识别不同的运营商, 调用对应运 营商的网络能力。
3、 如权利要求 2所述的应用服务器, 其特征在于, 所述网络能力接口 集成单元具体用于将不同运营商各自的网络能力调用信息与所述相应业务 的业务链接或业务脚本绑定, 并在所述网页页面中提供运营商选项以供用户 选择, 以使终端设备识别不同的运营商, 根据所属的运营商能力开放平台的 地址信息调用相应的网络能力接口。
4、 如权利要求 2所述的应用服务器, 其特征在于, 所述网络能力接口 集成单元具体用于将不同运营商各自的网络能力调用信息与所述相应业务 的业务链接或业务脚本绑定,在所述业务链接或业务脚本中集成运营商识别 脚本, 所述运营商识别脚本用于识别终端设备所属的运营商, 以使终端设备 根据所属的运营商能力开放平台的地址信息调用相应的网络能力接口。
5、 如权利要求 1~4中任一项所述的应用服务器, 其特征在于, 所述网 络能力接口包括: 服务质量接口、 计费接口、 网络状况查询接口中的至少一 个。
6、 一种终端设备, 其特征在于, 包括:
页面获取单元, 用于接收应用服务器下发的网页页面, 所述网页页面中 包含有与运营商提供的网络能力调用信息绑定的业务的业务链接或业务脚 本, 所述网络能力调用信息包括: 网络能力接口及运营商能力开放平台的地 址信息;
业务解析单元, 用于在处理所述业务链接或处理所述业务脚本时解析所 述网页页面, 获得所述网络能力接口及运营商能力开放平台的地址信息; 网络能力请求单元, 用于根据运营商能力开放平台的地址信息调用所述 网络能力接口, 以向所述运营商请求相应的网络能力。
7、 如权利要求 6所述的终端设备, 其特征在于, 所述网页页面中包含 与不同运营商的网络能力调用信息绑定的所请求业务的业务链接或业务脚 本, 以使所述业务解析单元识别不同的运营商, 调用所述终端设备所属运营 商的网络能力。
8、 如权利要求 7所述的终端设备, 其特征在于, 所述网页页面中还提 供运营商选项,且所述网页页面中包含与不同运营商的网络能力调用信息绑 定的所请求业务的业务链接或业务脚本, 所述业务解析单元具体用于在处理 所述业务链接或者执行业务脚本时根据用户选择的运营商解析出所述用户 选择的运营商对应的网络能力接口及运营商能力开放平台的地址信息。
9、 如权利要求 7所述的终端设备, 其特征在于, 所述网页页面中包含 与不同运营商的网络能力调用信息绑定的所请求业务的业务链接或业务脚 本, 所述所请求业务的业务链接或业务脚本中还集成有运营商识别脚本, 所 述业务解析单元具体用于在处理所述业务链接或者执行业务脚本时执行所 述运营商识别脚本, 以识别终端设备所属的运营商, 并解析出所述运营商对 应的网络能力接口及运营商能力开放平台的地址信息。
10、 如权利要求 6~9中任一项所述的终端设备, 其特征在于, 所述网络 能力接口包括:服务质量接口、计费接口、 网络状况查询接口中的至少一个,
运营商网络能力开放平台提供所述网络能力接口对应的网络能力。
11、 一种网络能力调用***, 其特征在于, 包括: 运营商网络能力开放 平台、 如权利要求 1~5中任一项所述应用服务器及如权利要求 6~10中任一 项所述终端设备; 所述应用服务器将所述运营商网络能力开放平台提供的网 络能力调用信息集成到相关业务的网页页面中, 所述终端设备向所述应用服 务器下载所述网页页面并解析,根据运营商能力开放平台的地址信息调用所 述网络能力接口, 以向所述运营商网络能力开放平台请求相应的网络能力。
12、 一种网络能力调用方法, 其特征在于, 包括步骤:
应用服务器将运营商提供的网络能力调用信息集成到所述应用服务器 上的网页页面中, 并将所述网络能力调用信息与所述网页页面中相应业务的 业务链接或业务脚本绑定, 所述网络能力调用信息包括: 所述相应业务所需 的网络能力接口及运营商能力开放平台的地址信息; 处理所述业务链接或处理所述业务脚本时根据所述运营商能力开放平台的 地址信息向所述运营商能力开放平台调用所述网络能力接口。
13、 如权利要求 12所述的网络能力调用方法, 其特征在于, 所述应用 服务器将所述网络能力调用信息与所述网页页面中相应业务的业务链接或 业务脚本绑定具体包括:
将不同运营商各自的网络能力调用信息与所述相应业务的业务链接或 业务脚本绑定, 以使终端设备识别不同的运营商, 调用对应运营商的网络能 力。
14、 如权利要求 13所述的网络能力调用方法, 其特征在于, 所述应用 服务器将所述网络能力调用信息与所述网页页面中相应业务的业务链接或 业务脚本绑定具体包括:
将不同运营商各自的网络能力调用信息与所述相应业务的业务链接或 业务脚本绑定, 并在所述网页页面中提供运营商选项以供用户选择, 以使终
端设备识别不同的运营商,根据所属的运营商能力开放平台的地址信息调用 相应的网络能力接口。
15、 如权利要求 13所述的网络能力调用方法, 其特征在于, 所述应用 服务器将所述网络能力调用信息与所述网页页面中相应业务的业务链接或 业务脚本绑定具体包括:
将不同运营商各自的网络能力调用信息与所述相应业务的业务链接或 业务脚本绑定, 在所述业务链接或业务脚本中集成运营商识别脚本, 所述运 营商识别脚本用于识别终端设备所属的运营商, 以使终端设备根据所属的运 营商能力开放平台的地址信息调用相应的网络能力接口。
16、如权利要求 12~15中任一项所述的网络能力调用方法,其特征在于, 所述网络能力接口包括: 服务质量接口、 计费接口、 网络状况查询接口中的 至少一个。
17、 一种网络能力调用方法, 其特征在于, 包括:
终端设备接收应用服务器下发的网页页面, 所述网页页面中包含有与运 营商提供的网络能力调用信息绑定的业务的业务链接或业务脚本, 所述网络 能力调用信息包括: 网络能力接口及运营商能力开放平台的地址信息;
终端设备在处理所述业务链接或处理所述业务脚本时解析所述网页页 面, 获得所述网络能力接口及运营商能力开放平台的地址信息;
终端设备根据运营商能力开放平台的地址信息调用所述网络能力接口, 以向所述运营商请求相应的网络能力。
18、 如权利要求 17所述的网络能力调用方法, 其特征在于, 所述网页 页面中包含与不同运营商的网络能力调用信息绑定的所请求业务的业务链 接或业务脚本, 以使所述终端设备识别不同的运营商, 调用所述终端设备所 属运营商的网络能力。
19、 如权利要求 18所述的网络能力调用方法, 其特征在于, 所述网页 页面中还提供运营商选项,且所述网页页面中包含与不同运营商的网络能力
调用信息绑定的所请求业务的业务链接或业务脚本, 所述业务解析单元具体 用于在处理所述业务链接或者执行业务脚本时根据用户选择的运营商解析 出所述用户选择的运营商对应的网络能力接口及运营商能力开放平台的地 址信息。
20、 如权利要求 18所述的网络能力调用方法, 其特征在于, 所述网页 页面中包含与不同运营商的网络能力调用信息绑定的所请求业务的业务链 接或业务脚本,所述所请求业务的业务链接或业务脚本中还集成有运营商识 别脚本,所述业务解析单元具体用于在处理所述业务链接或者执行业务脚本 时执行所述运营商识别脚本, 以识别终端设备所属的运营商, 并解析出所述 运营商对应的网络能力接口及运营商能力开放平台的地址信息。
21、如权利要求 17~20中任一项所述的网络能力调用方法,其特征在于, 所述网络能力接口包括: 服务质量接口、 计费接口、 网络状况查询接口中的 至少一个, 运营商网络能力开放平台提供所述网络能力接口对应的网络能 力。
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201380003938.2A CN104854841B (zh) | 2013-10-31 | 2013-10-31 | 应用服务器、终端设备、网络能力调用***及方法 |
PCT/CN2013/086327 WO2015062026A1 (zh) | 2013-10-31 | 2013-10-31 | 应用服务器、终端设备、网络能力调用***及方法 |
EP13896262.6A EP3065374B1 (en) | 2013-10-31 | 2013-10-31 | Network capability invoking method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2013/086327 WO2015062026A1 (zh) | 2013-10-31 | 2013-10-31 | 应用服务器、终端设备、网络能力调用***及方法 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2015062026A1 true WO2015062026A1 (zh) | 2015-05-07 |
Family
ID=53003149
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2013/086327 WO2015062026A1 (zh) | 2013-10-31 | 2013-10-31 | 应用服务器、终端设备、网络能力调用***及方法 |
Country Status (3)
Country | Link |
---|---|
EP (1) | EP3065374B1 (zh) |
CN (1) | CN104854841B (zh) |
WO (1) | WO2015062026A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019091149A1 (zh) * | 2017-11-10 | 2019-05-16 | 华为技术有限公司 | 基于api内容的计费方法及能力开放功能实体 |
CN109981544A (zh) * | 2017-12-28 | 2019-07-05 | ***通信集团浙江有限公司 | 能力开放***及对点击拨号业务能力的开放方法 |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105491557B (zh) * | 2014-09-15 | 2020-04-21 | 中兴通讯股份有限公司 | 一种实现能力开放的***、方法及能力开放平台 |
CN109547654B (zh) * | 2017-09-22 | 2021-06-04 | ***通信集团浙江有限公司 | 呼叫能力开放方法、装置、设备及存储介质 |
CN110545307B (zh) * | 2019-07-19 | 2022-09-27 | 中移(杭州)信息技术有限公司 | 边缘计算平台、调用方法及计算机可读存储介质 |
CN111356157A (zh) * | 2020-03-15 | 2020-06-30 | 腾讯科技(深圳)有限公司 | 实现网络能力开放的方法及相关设备 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101155332A (zh) * | 2006-09-29 | 2008-04-02 | 中国电信股份有限公司 | 一种移动通信业务平台体系架构及其实现方法 |
CN102202045A (zh) * | 2011-03-09 | 2011-09-28 | 深圳市同洲电子股份有限公司 | 广电网络中实现互联网络接入的方法、***及装置 |
CN102573112A (zh) * | 2010-12-07 | 2012-07-11 | 中国电信股份有限公司 | 电信网络能力开放方法、***及联盟支撑平台 |
CN103036729A (zh) * | 2012-12-31 | 2013-04-10 | 华为技术有限公司 | 一种开放网络能力的***、方法和相关网元 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050249190A1 (en) * | 2004-05-06 | 2005-11-10 | Oliver Birch | Using a CCXML service node to provide call processing functionality for a parlay gateway |
CN100417146C (zh) * | 2005-04-30 | 2008-09-03 | 华为技术有限公司 | 一种鉴权和计费的方法及外部用户接口网关 |
US20070005725A1 (en) * | 2005-06-30 | 2007-01-04 | Morris Robert P | Method and apparatus for browsing network resources using an asynchronous communications protocol |
US20080091800A1 (en) * | 2006-10-13 | 2008-04-17 | Xerox Corporation | Local user interface support of remote services |
-
2013
- 2013-10-31 CN CN201380003938.2A patent/CN104854841B/zh active Active
- 2013-10-31 EP EP13896262.6A patent/EP3065374B1/en active Active
- 2013-10-31 WO PCT/CN2013/086327 patent/WO2015062026A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101155332A (zh) * | 2006-09-29 | 2008-04-02 | 中国电信股份有限公司 | 一种移动通信业务平台体系架构及其实现方法 |
CN102573112A (zh) * | 2010-12-07 | 2012-07-11 | 中国电信股份有限公司 | 电信网络能力开放方法、***及联盟支撑平台 |
CN102202045A (zh) * | 2011-03-09 | 2011-09-28 | 深圳市同洲电子股份有限公司 | 广电网络中实现互联网络接入的方法、***及装置 |
CN103036729A (zh) * | 2012-12-31 | 2013-04-10 | 华为技术有限公司 | 一种开放网络能力的***、方法和相关网元 |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019091149A1 (zh) * | 2017-11-10 | 2019-05-16 | 华为技术有限公司 | 基于api内容的计费方法及能力开放功能实体 |
CN109787780A (zh) * | 2017-11-10 | 2019-05-21 | 华为技术有限公司 | 基于api内容的计费方法及能力开放功能实体 |
CN109787780B (zh) * | 2017-11-10 | 2021-08-31 | 华为技术有限公司 | 基于api内容的计费方法及能力开放功能实体 |
CN109981544A (zh) * | 2017-12-28 | 2019-07-05 | ***通信集团浙江有限公司 | 能力开放***及对点击拨号业务能力的开放方法 |
CN109981544B (zh) * | 2017-12-28 | 2021-11-23 | ***通信集团浙江有限公司 | 能力开放***及对点击拨号业务能力的开放方法 |
Also Published As
Publication number | Publication date |
---|---|
EP3065374A4 (en) | 2016-11-09 |
CN104854841B (zh) | 2018-07-31 |
EP3065374A1 (en) | 2016-09-07 |
EP3065374B1 (en) | 2018-12-12 |
CN104854841A (zh) | 2015-08-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9014663B2 (en) | Sponsored data plan management | |
US9344864B2 (en) | Redirection method and redirection apparatus under policy and charging control | |
CA2838263C (en) | System and method for adjusting the amount of data bandwidth provided to a mobile device | |
WO2015062026A1 (zh) | 应用服务器、终端设备、网络能力调用***及方法 | |
US9432825B2 (en) | Systems and methods for integrating a service access gateway with billing and revenue management systems | |
US20120195196A1 (en) | SYSTEM AND METHOD FOR QoS CONTROL OF IP FLOWS IN MOBILE NETWORKS | |
JP7190031B2 (ja) | 通信システムにおいてアプリケーションごとにポリシルールを実行するための方法およびデバイス | |
US8832250B2 (en) | Method and server for agent service applied to widget | |
US20150003299A1 (en) | Method and apparatus for performing charging control to a sponsored data application | |
WO2014172858A1 (zh) | 一种进行应用计费的方法、计费设备和*** | |
EP3062563A1 (en) | Network access selection method and terminal | |
WO2013091410A1 (zh) | 网络接入方法、***及设备 | |
US20160041956A1 (en) | Quality of service control method, application server, and terminal | |
US10700879B2 (en) | Charging method and device, access device, service quality control method and device | |
US10129320B2 (en) | QoS improvement method, apparatus, and system | |
US10205659B2 (en) | Information transmission using direct HPCRF communications | |
WO2017084394A1 (zh) | 漫游计费方法、相关装置及在线计费*** | |
US10044834B2 (en) | Systems, methods and computer program products for enabling a communication device to provide session improvement requests to a server of a network operator's access network | |
JP2004302531A (ja) | コンテンツ配信システム | |
JP2004140486A (ja) | ユーザオンデマンド型通信制御システム | |
KR20120083033A (ko) | 무선통신시스템에서 응용 프로그램의 서비스 품질 서비스를 지원하기 위한 시스템 및 방법 | |
JP2005070884A (ja) | 課金ポリシー生成装置、メタデータ配信サーバ、有料情報配信サーバ、有料情報配信システム、課金ポリシー生成方法、及び、有料情報課金方法 | |
US20160234349A1 (en) | Enhanced protocol conversion in a telecommunications network for providing services having improved quality of service | |
CN118056382A (zh) | 用于更新计费资源的计费功能和方法 | |
KR100946909B1 (ko) | 통신 네트워크에서 인터페이스 수행 장치 및 방법 |
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: 13896262 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
REEP | Request for entry into the european phase |
Ref document number: 2013896262 Country of ref document: EP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2013896262 Country of ref document: EP |