CN103166936A - System for providing third party capacity, opening device and method - Google Patents
System for providing third party capacity, opening device and method Download PDFInfo
- Publication number
- CN103166936A CN103166936A CN2011104242650A CN201110424265A CN103166936A CN 103166936 A CN103166936 A CN 103166936A CN 2011104242650 A CN2011104242650 A CN 2011104242650A CN 201110424265 A CN201110424265 A CN 201110424265A CN 103166936 A CN103166936 A CN 103166936A
- Authority
- CN
- China
- Prior art keywords
- ability
- party
- platform
- open system
- request
- 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.)
- Granted
Links
Images
Landscapes
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a system for providing third party capacity, an opening device and a method. The system comprises the opening device and an adaptation module. The opening device comprises an access module, a capacity register managing module and a route module. The adaptation module is connected with the access module of the opening device. Data flow is transmitted between the opening device and a third party capacity platform through the access module. The capacity register managing module receives a capacity register parameter of the third party capacity platform. The route module generates a capacity route table according to the capacity register parameter of the third party platform, then queries the capacity route table according to an applied capacity call request, and enables the capacity call request to be routed to the third party capacity platform. By the application of the system, the opening device, and the method, the third party capacity platform can be accessed to the opening device conveniently, and a plurality of uniform resource locators (URLs) of the third party capacity platform with no need for maintenance are applied so that the third party capacity can also be invoked.
Description
Technical field
The present invention relates to communication and Internet technical field, relate in particular to a kind of system, open system and method be used to third party's ability is provided.
Background technology
Open system is the hot technology of current mobile Internet.The core of open system is to assemble third-party resource, for the user provides better service.Wherein, third party's ability is important third party's resource.
At present, the method that third party's ability is linked into open system is: according to the interface requirement of open system, third party's ability platform is transformed, third party's ability platform can be linked in open system.
Fig. 1 is the business process map that present application call is linked into third party's ability of open system.
As shown in Figure 1, this flow process comprises:
At first step 1, developer's application platform obtain the mandate of calling of calling third party's ability to open system.
Step 2, open system are after receiving the authorization requests of application platform, and be mutual with third party's ability platform, completes authentication.
Step 3, developer's application platform is directly called third party's ability platform.
Step 4, third party's ability platform is carried out the authentication associative operation to open system.
Step 5, third party's ability platform is called response in authentication by the rear application platform ability of giving.
Step 6, third party's ability platform provide calls successfully record, and requires to call successfully charging to open system.
As seen, be applied in when calling third party's ability, first obtain the mandate of calling of third party's ability by open system, then utilize this to call mandate, directly call GL to third party's ability platform, third party's ability platform is according to the ability call request of using, initiatively carry out relevant authentication operations to open system, according to authenticating result, directly call response to using resettability, and initiatively initiate accounting request to open system.
By such scheme as seen, provide the method for third party's ability to have following defective by open system at present:
One, when third party's ability is linked into open system, need to transform most third party's ability platform, access is inconvenient, and cost is higher, particularly exists in the Internet under the reality of magnanimity ability, can cause the frequent transformation to system, reach the standard grade cycle factory, flow process of ability is complicated, and the manpower and materials of third party's ability platform operator have been proposed excessive demand.
Its two, use the ability call request directly sent to third party's ability platform, the URL of different third party's ability platform is different, therefore using needs to safeguard a plurality of URL, management cost is high.
Its three, authorizing procedure and charging flow all rely on third party's ability platform and initiatively initiate, and open system can not judge and call whether success, can't produce ticket accurately, have the risk of fraud of charging.
Summary of the invention
In view of this, the invention provides a kind of system, open system and method be used to third party's ability is provided, so that third party's ability platform can be linked into open system easily, using does not need the URL that safeguards a plurality of third party's ability platform can call third party's ability yet.
Technical scheme of the present invention specifically is achieved in that
A kind of system be used to third party's ability is provided, this system comprises development platform and adaptation module, described open system comprises access module, ability registration management module and routing module;
Described adaptation module, be connected with third party's ability platform, the data flow of third party's ability platform is adapted to the data flow that meets predetermined protocol, be connected with the access module of open system, by this access module, transmitting data stream between open system and third party's ability platform;
Described ability registration management module, the ability that is used for reception third party ability platform is registered parameter;
Described routing module is used for the ability registration parameter according to described third party's ability platform, the generative capacity routing table, and according to the ability call request of using, the query capability routing table is routed to third party's ability platform with this ability call request.
A kind of open system be used to third party's ability is provided, this open system comprises access module, ability registration management module and routing module;
Described access module is used for being connected with adaptation module, by this adaptation module, with third party's ability platform interaction data stream, receives the ability call request of using;
Described ability registration management module, the ability that is used for reception third party ability platform is registered parameter;
Described routing module, be used for the ability registration parameter according to described third party's ability platform, the generative capacity routing table, according to described ability call request, the query capability routing table, this ability call request is routed to third party's ability platform, and wherein, described third party's ability platform is linked into described open system by described adaptation module.
A kind of method that third party's ability is provided, the method comprises:
Open system receives the ability call request of using;
Open system is according to this ability call request, query capability routing table;
Open system is routed to third party's ability platform according to the Query Result of ability routing table with this ability call request;
Wherein, described ability routing table is generated by the ability registration parameter of open system according to third party's ability platform.
As seen from the above technical solution, the present invention is linked into open system with third party's ability platform by adaptation module, adaptation module wherein, the data flow of third party's ability platform can be adapted to the data flow that meets predetermined protocol, be connected with the access module of open system, by this access module, transmitting data stream between open system and third party's ability platform, because the associative operation of access is all completed by adaptation module, therefore, third party's ability platform is linked into open system and becomes convenient.
In addition, third party's ability platform is registered parameter registration to open system with ability, open system is registered parameter according to the ability of third party's ability platform, the generative capacity routing table, and application can be directly to open system transmitting capacity call request, then by open system query capability routing table, this ability call request is routed to corresponding third party's ability platform, therefore, does not need the URL of a plurality of third party's ability platform of applicating maintenance, correspondence is used for saying, its management cost also reduces greatly.
Description of drawings
Fig. 1 is the business process map that present application call is linked into third party's ability of open system.
Fig. 2 is that the system be used to third party's ability is provided provided by the invention forms schematic diagram.
Fig. 3 is asynchronous ability call flow chart provided by the invention.
Fig. 4 is the open system structure chart be used to third party's ability is provided provided by the invention.
Fig. 5 is the method flow diagram that the invention provides third party's ability.
Fig. 6 is the route processing flow chart of ability call request.
Fig. 7 is the route processing flow chart of readjustment request.
Fig. 8 is the business process map under synchronous charging way.
Fig. 9 is the business process map under asynchronous charging way.
Figure 10 is the business process map under direct charging way.
Embodiment
Fig. 2 is that the system be used to third party's ability is provided provided by the invention forms schematic diagram.
As shown in Figure 2, this system comprises development platform 201 and adaptation module 202, and open system 201 comprises access module 2011, ability registration management module 2012 and routing module 2013.
Ability registration management module 2012, the ability that is used for reception third party ability platform is registered parameter.
Wherein, usually, the adaptation module 202 that is connected with open system 201 has a plurality of, different third party's ability platform to be linked on open system 201 by different adaptation module 202.
Wherein, described predetermined protocol can comprise the REST agreement, and described access module 2011 can comprise the REST interface.
Described ability registration parameter comprises: the URL address of capability names and third party's ability platform; Application is issued in the ability call request of open system and is carried capability names, and routing module 2013 can comprise ability routing table maintenance module and routing inquiring module.
Described ability routing table maintenance module, ability registration parameter according to third party's ability platform, be the capability names generative capacity platform sign ID in described ability registration parameter, the corresponding relation of described capability names and described ability platform ID is stored in the ability information allocation list, the URL address of described ability platform ID and described third party's ability platform is stored in the ability platform route information table.
Described routing inquiring module, according to the capability names of carrying in the ability call request, query capability information configuration table, obtain ability platform ID corresponding to this capability names, according to described ability platform ID query capability platform route information table, obtain the URL address of third party's ability platform, to described third party's ability platform transmitting capacity call request.
Described routing inquiring module, the open system URL address of carrying in the ability call request that application can be sent, replace to the URL address of third party's ability platform, the ability call request after replacing is issued the adaptation module 202 that is connected with described third party's ability platform.
As seen, application can be directly to open system transmitting capacity call request, then by the ability registration parameter of open system according to third party's ability platform, this ability call request is routed to corresponding third party's ability platform, the URL that does not need a plurality of third party's ability platform of applicating maintenance has reduced the management cost of using.
In addition, an ability usually has multiple operation, when an ability has multiple operation, described ability registration parameter also comprises the operations title of ability, correspondingly, use in the ability call request of sending and also carry competent action name, be used for this operation of call capability.
Particularly, after third party's ability platform receives the ability call request, according to the action name that carries in this ability call request, the corresponding operating of executive capability.
If third party's ability platform provides asynchronous ability to call service, so, the ability of third party's ability platform registration parameter also comprises: open system receives the URL of the readjustment request of this third party's ability platform.
Fig. 3 is asynchronous ability call flow chart provided by the invention.
As shown in Figure 3, this flow process comprises:
Step 301, open system receive uses the ability call request that needs asynchronous process of sending, and comprises the URL that this application receives the readjustment request in this ability call request.
Step 302, open system add open system to receive the URL of the readjustment request of third party's ability platform in the described ability call request that receives, and then the ability call request are routed to third party's ability platform.
Step 303, third party's ability platform parses application and receives the URL of readjustment request and the URL of the readjustment request that open system receives this third party's ability platform from the ability call request that receives, carry the URL that described application receives the readjustment request in the readjustment request, receive the URL of the readjustment request of this third party's ability platform according to described open system, described open system is issued in described readjustment request.
Step 304, described open system is resolved described readjustment request, is applied to receive the URL of readjustment request, according to using the URL that receives the readjustment request, application is issued in described readjustment request.
Fig. 4 is the open system structure chart be used to third party's ability is provided provided by the invention.
As shown in Figure 4, this open system comprises access module 401, ability registration management module 402 and routing module 403.
Ability registration management module 402, the ability that is used for reception third party ability platform is registered parameter.
Wherein, access module 401 can comprise the REST interface.
Described ability registration parameter comprises: the URL address of capability names and third party's ability platform; Carry capability names in described ability call request, routing module 403 comprises ability routing table maintenance module and routing inquiring module.
Described ability routing table maintenance module, ability registration parameter according to third party's ability platform, be the capability names generative capacity platform sign ID in described ability registration parameter, the corresponding relation of described capability names and described ability platform ID is stored in the ability information allocation list, the URL address of described ability platform ID and described third party's ability platform is stored in the ability platform route information table.
Described routing inquiring module, according to the capability names of carrying in the ability call request, query capability information configuration table, obtain ability platform ID corresponding to this capability names, according to described ability platform ID query capability platform route information table, obtain the URL address of third party's ability platform, to described third party's ability platform transmitting capacity call request.
Described routing inquiring module, the open system URL address of carrying in the ability call request that application is sent, replace to the URL address of third party's ability platform, ability call request after replacing is issued the adaptation module that is connected with described third party's ability platform, by described adaptation module, the ability call request after described replacement is issued described third party's ability platform.
The ability registration parameter of third party's ability platform also comprises: open system receives the URL of the readjustment request of this third party's ability platform.
described routing inquiring module, reception needs the ability call request of asynchronous process, comprise the URL that this application receives the readjustment request in this ability call request, in the described ability call request that receives, add open system to receive the URL of the readjustment request of third party's ability platform, then the ability call request is routed to third party's ability platform, receive this third party's ability platform and receive according to described open system the readjustment request that the URL of the readjustment request of this third party's ability platform returns, resolve described readjustment request, be applied and receive the URL of readjustment request, according to using the URL that receives the readjustment request, application is issued in described readjustment request.
Described open system can also comprise the transaction module.
Described transaction module, be used for receiving accounting request, carrying out wholesale price processes, return to the wholesale price response to described routing module, carry the field that whether needs charging to confirm in this wholesale price response, when the needs charging is confirmed, after receiving the charging confirmation, carry out charging, when not needing charging to confirm, charging direct according to the wholesale price result.
Wherein, when the needs charging is confirmed, if having received, routing module 403 calls response, and sent charging confirmation (generally sending charging when calling response success confirms) according to the state that calls response to the transaction module, after described transaction module receives this charging confirmation, carry out charging, realized synchronous charging; If routing module 403 has received the readjustment request, and sent charging confirmation (generally sending charging when readjustment is asked successfully confirms) according to the state of readjustment request to the transaction module, after described transaction module receives this charging confirmation, carry out charging, realized asynchronous charging.
If the transaction module does not need charging to confirm, but charging direct according to the wholesale price result realized direct charging.
Transaction module wherein, can also be used for generating Transaction Identifier, transaction status sign and responsive state sign, open system carries Transaction Identifier, transaction status sign or responsive state sign in corresponding message, so that can carry out association to the different messages of same affairs.
Fig. 5 is the method flow diagram that the invention provides third party's ability.
As shown in Figure 5, this flow process comprises:
Ability routing table wherein is to be generated by the ability registration parameter of open system according to third party's ability platform.
Wherein, described ability registration parameter comprises: capability names; Application is issued in the ability call request of open system and is carried capability names.
Open system specifically comprises according to ability registration parameter generative capacity routing table:
Open system is according to the ability registration parameter of third party's ability platform, be the capability names generative capacity platform sign ID in described ability registration parameter, the corresponding relation of described capability names and described ability platform ID is stored in the ability information allocation list, the URL address of described ability platform ID and described third party's ability platform is stored in the ability platform route information table.
As seen, the ability routing table comprises ability information allocation list and ability platform route information table.
Open system query capability routing table is routed to third party's ability platform according to Query Result with this ability call request and specifically comprises:
Open system is according to the capability names of carrying in the ability call request, query capability information configuration table, obtain ability platform ID corresponding to this capability names, according to described ability platform ID query capability platform route information table, obtain the URL address of third party's ability platform, according to the URL address of third party's ability platform to described third party's ability platform transmitting capacity call request.
Open system specifically comprises to described third party's ability platform transmitting capacity call request according to the URL address of third party's ability platform:
The open system URL address of carrying in the ability call request that open system is sent application, replace to the URL address of third party's ability platform, ability call request after replacing is issued the adaptation module that is connected with described third party's ability platform, by described adaptation module, the ability call request after described replacement is issued described third party's ability platform.
If the ability that third party's ability platform provides has multiple operation, so, the ability registration parameter of this third party's ability platform also comprises the operations title of ability, correspondingly, application is issued in the ability call request of open system and is also carried competent action name, also carries competent action name, third party's fame and gain platform analytic ability call request in the ability call request that the 3rd invention ability platform receives, therefrom extract action name, the corresponding operating of executive capability.
If third party's ability platform provides asynchronous ability to call service, so, the ability of this third party's ability platform registration parameter also comprises: open system receives the URL of the readjustment request of this third party's ability platform.
Asynchronous ability call flow about open system provides specifically sees also Fig. 3, does not give unnecessary details herein.
The below to system provided by the invention, open system and method, carries out exemplary illustration for several concrete examples.
One, illustrating the ability registration process:
For example, for the mobile-phone payment ability platform, ability provider need to register the title of mobile-phone payment ability, the name of supposing the mobile-phone payment ability is called mobilePay, also need to register the title of the operations of mobile-phone payment ability, suppose to have one and be operating as the operation that the page is paid, action name is pagePay, and the mobile-phone payment ability platform also needs the URL:http of registered callbacks address mobilePayCallBack and mobile-phone payment ability platform: //www.mobilepay.com; So far, the mobile-phone payment ability platform is completed registration.Wherein, described loopback address is used for the providing capability platform to the interface of open system transmission message.
After ability provider completed above registration operation, open system was the automatic generative capacity ID of this mobile-phone payment ability, formed the URL of calling mobile phone ability to pay page delivery operation:
http://omp.chinamobile.com/adapter/mobilePay/pagePay HTTP/1.1。
Open system also generates the loopback address URL of mobile-phone payment ability platform:
http://www.mobilepay.com/mobilePayCallBack。
Two, illustrating the route flow process:
Route in application call ability process comprises two kinds:
The routing procedure of first ability call request comprises the ability call request from being applied to open system, then the process from the open system to the ability platform.
It two is routing procedures of readjustment request, comprises the readjustment request from the ability platform to the open system, then from open system to the process of using.
Wherein, the ability routing table of using in routing procedure is to complete according to the ability registration parameter that configures in the ability registration process, comprises two tables: ability information allocation list and ability platform route information table.
Wherein, comprise at least capability names and ability platform ID in the ability information allocation list, can also comprise URL address, ability platform title of the readjustment request of open system receiving ability platform etc., specifically referring to table 1.
At least comprise the URL of ability platform ID and ability platform in the ability platform route information table, specifically referring to table 2.
Table 1
Table 2
Ability platform ID | Ability platform URL |
900001 | http://www.smsPlatform.com |
800002 | http://www.mobilePay.com |
Fig. 6 is the route processing flow chart of ability call request.
As shown in Figure 6, this flow process comprises:
Step 601 is used the ability call request is sent to open system.
Step 602, after open system is received capability requests, analysis request URL, and therefrom extract " capability names " part, and according to capability names query capability information configuration table, obtain ability platform ID.
Step 603, open system obtain the URL of ability platform according to ability platform ID query capability platform route information table.
Step 604, open system are replaced the request URL of ability call request becomes ability platform URL.
Step 605 after open system is complete to other section processes of ability call request, sends to ability platform with the ability call request according to ability platform URL.
Wherein, the route messages example of ability call request is as follows:
The ability call request is dealt into the route messages example of open system from application:
The ability call request is dealt into the route messages example of ability platform from open system:
As seen, the www.omp.com/services in http://www.omp.com/services/mobilePay/pagePay is replaced to www.mobilePay.com, just obtained http://www.mobilePay.com/mobilePay/pagePay.
Fig. 7 is the route processing flow chart of readjustment request.
Fig. 7 is applicable to use to ability platform and sends a call request that needs asynchronous process, and ability platform need to return to by a readjustment request and use corresponding result after receiving call request.
As shown in Figure 7, this flow process comprises:
Step 701 is used and is sent an ability call request that needs asynchronous process to open system, comprises in this ability call request message and uses the URL that receives the readjustment request.
Wherein, described URL can be placed in the Header or Body of ability call request message.
Wherein, the route messages example of readjustment request is as follows:
The ability call request is as follows from the message that application is dealt into open system:
As seen, use the loopback address that carries application in the ability call request of issuing open system:<callbackURL〉http://app1.callback.com</callbackURL 〉
The ability call request is as follows from the message that open system is dealt into ability platform:
As seen, open system has added the address of the readjustment request of open system receiving ability platform: OMP_CallbackURL:http in the ability call request: //omp.chinamobile.com/callback/mobilePay.
The readjustment request is as follows from the message that ability platform sends to open system:
As seen, the ability platform request of adjusting back is dealt on the address http://www.omp.com/callback/mobilePay of readjustment request that open system receives this ability platform, and wherein carries the loopback address of application: APP_CallbackURL:http: //app1.callback.com.
The readjustment request is as follows from the message that open system is dealt into application:
As seen, open system is according to the loopback address http://app1.callback.com/ that uses, and application is issued in the request of adjusting back.
In the present invention, the charging way of open system can comprise synchronous charging, asynchronous charging and directly charging.
Under synchronous charging way, the ability call request is synchronous mode, i.e. response by correspondence can judge whether successfully to call.Corresponding to synchronous charging way, the response of calling according to ability exactly determines whether carrying out charging.
Under asynchronous charging way, the ability call request is asynchronous mode, and namely the result called of ability is not by response, but uses by an independent readjustment request notice.Corresponding to asynchronous charging way, the state according to the readjustment request determines whether carrying out charging exactly.
Under direct charging way, no matter ability is called synchronous mode or asynchronous mode, as long as open system receives the ability call request, no matter result is success or failure, and all carries out charging.
Fig. 8 is the business process map under synchronous charging way.
As shown in Figure 8, this flow process comprises:
Step 801, developer's application connects open system, calls its professional ability.
Step 802, the routing module of open system generate MsgID (being used for identifying between the open system internal module and identifying the message that is associated), then trigger the request of charging to the transaction module.
Step 803, whether the transaction module is carried out wholesale price, and returns to response to routing module, need wholesale price to confirm by needcnfm field notice routing module in response, is not synchronously needing under charge mode.
Step 804, for the readjustment request of related ability platform to open system, routing module produces a Transaction Identifier TransactionID.
Wherein, do not need this parameter under synchronous charge mode, this step is only for unified treatment mechanism.
Step 805, routing module carries TransactionID and sends request to adaptation module; The adaptation module that different ability platform is corresponding different, routing module routes requests to corresponding adaptation module.
Step 806, adaptation module are called the professional ability platform that is associated.
Step 807, adaptation module is returned to response to open system, and whether needs to wait for the readjustment request by field need_callback field notice routing module in response.
Do not need to wait for the readjustment request under synchronous charge mode, if need to wait for that readjustment is corresponding, routing module will respond forward pass to using.
Step 808, the routing module of open system sends the charging acknowledge message according to the state of response to authentication module: if successfully send the charging acknowledge message; If the failure would cancel charging.
Fig. 9 is the business process map under asynchronous charging way.
As shown in Figure 9, this flow process comprises:
Step 901, the routing module that developer's application connects open system calls its professional ability.
Step 902, routing module produce MsgID (being used for identifying between the open system internal module and identifying the message that is associated), then trigger the request of charging to the transaction module.
Step 903, the transaction module is carried out wholesale price.
Step 904, whether the transaction module is returned to response to routing module, need wholesale price to confirm by needcnfm field notice routing module in response, needs under asynchronous charge mode.
Step 905, for the result notice of related ability platform to development platform, routing module produces a sign TransactionID.
Step 906, routing module carries TransactionID and sends request to adaptation module; The adaptation module that different ability platform is corresponding different, routing module routes requests to corresponding adaptation module.
Step 907, adaptation module are called the professional ability platform that is associated.
Step 908, adaptation module is returned to response to open system, and whether needs to wait for the readjustment request by field need_callback field notice routing module in response, needs to wait for the readjustment request under this pattern; Then routing module will respond forward pass to using.
Step 909, adaptation module is returned to callback information by the routing module of open system to application.
Step 910, the routing module of open system sends the charging acknowledge message according to the result of callback information to authentication module: if successfully send the charging acknowledge message; If the failure would cancel charging.
Figure 10 is the business process map under direct charging way.
As shown in figure 10, this flow process comprises:
Step 1001, the routing module that developer's application connects open system calls its professional ability.
Step 1002, the routing module of open system produces MsgID, then triggers the request of charging to the transaction module.
Step 1003, whether the transaction module is carried out wholesale price, and returns to response to routing module, need wholesale price to confirm by needcnfm field notice routing module in response, is unwanted under this pattern.
Step 1004, routing module sends the ability call request to adaptation module.The adaptation module that different ability platform is corresponding different, routing module routes requests to corresponding adaptation module.
Step 1005, adaptation module are called the professional ability platform that is associated.
Step 1006, adaptation module is returned to response to open system, and routing module will respond forward pass to using;
As seen, the present invention has the following advantages:
One for the access of third party's ability, provides the third party's ability provider platform of service for main flow REST mode, configurable ability access mechanism is provided, and need not third party's ability provider platform is transformed; The third party's ability provider platform of service is provided for non-mainstream REST mode, the standard access way can be provided, by third party's ability provider according to the s own situation organization development, the progress of ability access can not be subject to exploiting natural resources of platform operation side, reduce the access difficulty, improve third party's ability provider to the enthusiasm of access open system.
Its two, the developer is called the access point of application and unifies, have the ability all to provide by open system, user's perception open system, and the URL that calls is unified, promotes user awareness.
Its three, adopt and directly ability to be called the framework that Business Stream calls and manages, make all abilities call Business Stream and all just can complete via open system, can monitor at any time like this call request and call result, prevent that the charging of third party's ability from swindling.
The above is only preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of making, is equal to replacement, improvement etc., within all should being included in the scope of protection of the invention.
Claims (16)
1. a system that is used for providing third party's ability, is characterized in that, this system comprises open system and adaptation module, and described open system comprises access module, ability registration management module and routing module;
Described adaptation module, be connected with third party's ability platform, the data flow of third party's ability platform is adapted to the data flow that meets predetermined protocol, be connected with the access module of open system, by this access module, transmitting data stream between open system and third party's ability platform;
Described ability registration management module, the ability that is used for reception third party ability platform is registered parameter;
Described routing module is used for the ability registration parameter according to described third party's ability platform, the generative capacity routing table, and according to the ability call request of using, the query capability routing table is routed to third party's ability platform with this ability call request.
2. system according to claim 1, is characterized in that, described ability registration parameter comprises: the URL address of capability names and third party's ability platform; Carry capability names in described ability call request, described routing module comprises ability routing table maintenance module and routing inquiring module;
Described ability routing table maintenance module, ability registration parameter according to third party's ability platform, be the capability names generative capacity platform sign ID in described ability registration parameter, the corresponding relation of described capability names and described ability platform ID is stored in the ability information allocation list, the URL address of described ability platform ID and described third party's ability platform is stored in the ability platform route information table;
Described routing inquiring module, according to the capability names of carrying in the ability call request, query capability information configuration table, obtain ability platform ID corresponding to this capability names, according to described ability platform ID query capability platform route information table, obtain the URL address of third party's ability platform, with the open system URL address of carrying in the ability call request, replace to the URL address of third party's ability platform, the ability call request after replacing is issued the adaptation module that is connected with described third party's ability platform;
Described adaptation module is issued described third party's ability platform with the ability call request after described replacement.
3. system according to claim 2, is characterized in that, this system also comprises third party's ability platform; Described ability registration parameter also comprises the operations title of ability; Also carry competent action name in the ability call request that application is sent;
Third party's ability platform is according to the action name that carries in the ability call request, the corresponding operating of executive capability.
4. system according to claim 2, is characterized in that, this system also comprises third party's ability platform; The ability registration parameter of third party's ability platform also comprises: open system receives the URL of the readjustment request of this third party's ability platform;
Open system receives uses the ability call request that needs asynchronous process of sending, and comprises the URL that this application receives the readjustment request in this ability call request;
Open system adds open system to receive the URL of the readjustment request of third party's ability platform in the described ability call request that receives, and then the ability call request is routed to third party's ability platform;
Third party's ability platform parses application and receives the URL of readjustment request and the URL of the readjustment request that open system receives this third party's ability platform from the ability call request that receives, carry the URL that described application receives the readjustment request in the readjustment request, receive the URL of the readjustment request of this third party's ability platform according to described open system, described open system is issued in described readjustment request;
Described open system is resolved described readjustment request, is applied to receive the URL of readjustment request, according to using the URL that receives the readjustment request, application is issued in described readjustment request.
5. an open system that is used for providing third party's ability, is characterized in that, this open system comprises access module, ability registration management module and routing module;
Described access module is used for being connected with adaptation module, by this adaptation module, with third party's ability platform interaction data stream, receives the ability call request of using;
Described ability registration management module, the ability that is used for reception third party ability platform is registered parameter;
Described routing module, be used for the ability registration parameter according to described third party's ability platform, the generative capacity routing table, according to described ability call request, the query capability routing table, this ability call request is routed to third party's ability platform, and wherein, described third party's ability platform is linked into described open system by described adaptation module.
6. open system according to claim 5, is characterized in that, described ability registration parameter comprises: the URL address of capability names and third party's ability platform; Carry capability names in described ability call request, described routing module comprises ability routing table maintenance module and routing inquiring module;
Described ability routing table maintenance module, ability registration parameter according to third party's ability platform, be the capability names generative capacity platform sign ID in described ability registration parameter, the corresponding relation of described capability names and described ability platform ID is stored in the ability information allocation list, the URL address of described ability platform ID and described third party's ability platform is stored in the ability platform route information table;
Described routing inquiring module, according to the capability names of carrying in the ability call request, query capability information configuration table, obtain ability platform ID corresponding to this capability names, according to described ability platform ID query capability platform route information table, obtain the URL address of third party's ability platform, to described third party's ability platform transmitting capacity call request.
7. development device according to claim 6, is characterized in that,
Described routing inquiring module, with the open system URL address of carrying in the ability call request, replace to the URL address of third party's ability platform, ability call request after replacing is issued the adaptation module that is connected with described third party's ability platform, by described adaptation module, the ability call request after described replacement is issued described third party's ability platform.
8. open system according to claim 6, is characterized in that, the ability registration parameter of third party's ability platform also comprises: open system receives the URL of the readjustment request of this third party's ability platform;
described routing inquiring module, reception needs the ability call request of asynchronous process, comprise the URL that this application receives the readjustment request in this ability call request, in the described ability call request that receives, add open system to receive the URL of the readjustment request of third party's ability platform, then the ability call request is routed to third party's ability platform, receive this third party's ability platform and receive according to described open system the readjustment request that the URL of the readjustment request of this third party's ability platform returns, resolve described readjustment request, be applied and receive the URL of readjustment request, according to using the URL that receives the readjustment request, application is issued in described readjustment request.
9. open system according to claim 5, is characterized in that, described access module comprises the REST interface; Described predetermined protocol comprises the REST agreement.
10. open system according to claim 5, is characterized in that, this open system also comprises the transaction module;
Described routing module is used for the receiving ability call request, sends accounting request to the transaction module, need to determine whether charging to confirm by resolving the wholesale price response, when the needs charging is confirmed, receive call response or readjustment request after, send charging to the transaction module and confirm;
Described transaction module, be used for receiving accounting request, carrying out wholesale price processes, return to the wholesale price response to described routing module, carry the field that whether needs charging to confirm in this wholesale price response, when the needs charging is confirmed, after receiving the charging confirmation, carry out charging, when not needing charging to confirm, charging direct according to the wholesale price result.
11. open system according to claim 5 is characterized in that,
Described transaction module is used for generating Transaction Identifier, transaction status sign and responsive state sign, carries Transaction Identifier, transaction status sign or responsive state sign in corresponding message.
12. the method that third party's ability is provided is characterized in that, the method comprises:
Open system receives the ability call request of using;
Open system is according to this ability call request, query capability routing table;
Open system is routed to third party's ability platform according to the Query Result of ability routing table with this ability call request;
Wherein, described ability routing table is generated by the ability registration parameter of open system according to third party's ability platform.
13. method according to claim 12 is characterized in that, described ability registration parameter comprises: capability names; Carry capability names in described ability call request;
Described generative capacity routing table comprises:
Open system is according to the ability registration parameter of third party's ability platform, be the capability names generative capacity platform sign ID in described ability registration parameter, the corresponding relation of described capability names and described ability platform ID is stored in the ability information allocation list, the URL address of described ability platform ID and described third party's ability platform is stored in the ability platform route information table;
Described query capability routing table is routed to third party's ability platform with this ability call request and comprises:
Open system is according to the capability names of carrying in the ability call request, query capability information configuration table, obtain ability platform ID corresponding to this capability names, according to described ability platform ID query capability platform route information table, obtain the URL address of third party's ability platform, to described third party's ability platform transmitting capacity call request.
14. method according to claim 13 is characterized in that, describedly comprises to described third party's ability platform transmitting capacity call request:
The open system URL address of carrying in the ability call request that open system is sent application, replace to the URL address of third party's ability platform, ability call request after replacing is issued the adaptation module that is connected with described third party's ability platform, by described adaptation module, the ability call request after described replacement is issued described third party's ability platform.
15. method according to claim 12 is characterized in that, described ability registration parameter also comprises the operations title of ability; Also carry competent action name in the ability call request that application is sent; The method also comprises:
Third party's ability platform is according to the action name that carries in the ability call request, the corresponding operating of executive capability.
16. method according to claim 12 is characterized in that, the ability registration parameter of third party's ability platform also comprises: open system receives the URL of the readjustment request of this third party's ability platform; The method also comprises:
Open system receives uses the ability call request that needs asynchronous process of sending, and comprises the URL that this application receives the readjustment request in this ability call request;
Open system adds open system to receive the URL of the readjustment request of third party's ability platform in the described ability call request that receives, and then the ability call request is routed to third party's ability platform;
Third party's ability platform parses application and receives the URL of readjustment request and the URL of the readjustment request that open system receives this third party's ability platform from the ability call request that receives, carry the URL that described application receives the readjustment request in the readjustment request, receive the URL of the readjustment request of this third party's ability platform according to described open system, described open system is issued in described readjustment request;
Described open system is resolved described readjustment request, is applied to receive the URL of readjustment request, according to using the URL that receives the readjustment request, application is issued in described readjustment request.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110424265.0A CN103166936B (en) | 2011-12-15 | 2011-12-15 | A kind of for providing the system of third party's ability, open system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110424265.0A CN103166936B (en) | 2011-12-15 | 2011-12-15 | A kind of for providing the system of third party's ability, open system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103166936A true CN103166936A (en) | 2013-06-19 |
CN103166936B CN103166936B (en) | 2016-01-27 |
Family
ID=48589682
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110424265.0A Active CN103166936B (en) | 2011-12-15 | 2011-12-15 | A kind of for providing the system of third party's ability, open system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103166936B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104808973A (en) * | 2014-01-24 | 2015-07-29 | 阿里巴巴集团控股有限公司 | Screen shooting system and method |
WO2016127885A1 (en) * | 2015-02-13 | 2016-08-18 | 腾讯科技(深圳)有限公司 | Packet management method, apparatus, and system |
CN105930194A (en) * | 2016-05-12 | 2016-09-07 | 中国联合网络通信集团有限公司 | Capability application system and capability application method |
CN108156122A (en) * | 2016-12-06 | 2018-06-12 | 中移(杭州)信息技术有限公司 | Ability introducing method, system and the equipment of ability open platform |
CN108476388A (en) * | 2015-12-31 | 2018-08-31 | 华为技术有限公司 | Handle the method and device of data packet |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1275292A (en) * | 1998-08-10 | 2000-11-29 | 电话通有限公司 | Method and apparatus for routing between network gateways and service centers |
CN101014046A (en) * | 2007-02-02 | 2007-08-08 | 清华大学 | Method for integrating service location with service quality routing in service loading network |
CN101014045A (en) * | 2007-02-02 | 2007-08-08 | 清华大学 | Distributed method of service management in service loading network |
CN102004777A (en) * | 2010-11-19 | 2011-04-06 | 中国科学院软件研究所 | Customizable Web information integration method and system |
US20110202557A1 (en) * | 2010-02-18 | 2011-08-18 | Alon Atsmon | System and method for crowdsourced template based search |
-
2011
- 2011-12-15 CN CN201110424265.0A patent/CN103166936B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1275292A (en) * | 1998-08-10 | 2000-11-29 | 电话通有限公司 | Method and apparatus for routing between network gateways and service centers |
CN101014046A (en) * | 2007-02-02 | 2007-08-08 | 清华大学 | Method for integrating service location with service quality routing in service loading network |
CN101014045A (en) * | 2007-02-02 | 2007-08-08 | 清华大学 | Distributed method of service management in service loading network |
US20110202557A1 (en) * | 2010-02-18 | 2011-08-18 | Alon Atsmon | System and method for crowdsourced template based search |
CN102004777A (en) * | 2010-11-19 | 2011-04-06 | 中国科学院软件研究所 | Customizable Web information integration method and system |
Non-Patent Citations (1)
Title |
---|
高超: "基于移动网络的聚合应用的研究与设计", 《中国优秀硕士学位论文全文数据库 信息科技辑(2010年)》 * |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104808973A (en) * | 2014-01-24 | 2015-07-29 | 阿里巴巴集团控股有限公司 | Screen shooting system and method |
WO2016127885A1 (en) * | 2015-02-13 | 2016-08-18 | 腾讯科技(深圳)有限公司 | Packet management method, apparatus, and system |
US10637676B2 (en) | 2015-02-13 | 2020-04-28 | Tencent Technology (Shenzhen) Company Limited | Method, apparatus, and system for managing follower accounts in groups |
CN108476388A (en) * | 2015-12-31 | 2018-08-31 | 华为技术有限公司 | Handle the method and device of data packet |
US10581623B2 (en) | 2015-12-31 | 2020-03-03 | Huawei Technologies Co., Ltd. | Data packet processing method and apparatus |
CN108476388B (en) * | 2015-12-31 | 2020-08-07 | 华为技术有限公司 | Method and device for processing data packet |
US11336472B2 (en) | 2015-12-31 | 2022-05-17 | Huawei Technologies Co., Ltd. | Data packet processing method and apparatus |
CN105930194A (en) * | 2016-05-12 | 2016-09-07 | 中国联合网络通信集团有限公司 | Capability application system and capability application method |
CN108156122A (en) * | 2016-12-06 | 2018-06-12 | 中移(杭州)信息技术有限公司 | Ability introducing method, system and the equipment of ability open platform |
Also Published As
Publication number | Publication date |
---|---|
CN103166936B (en) | 2016-01-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TW446887B (en) | Push type information distribution method and transfer device thereof | |
US8489509B2 (en) | Method for processing rights object in digital rights management system and method and system for processing rights object using the same | |
JP5027386B2 (en) | Payment system and method | |
CN100430920C (en) | Content transmitting system using agent content service device | |
CN1980243B (en) | Service broker integration layer for supporting telecommunication client service requests | |
EP1473949A2 (en) | Provision of a content delivery service to a user in a messaging system according to the user identification information | |
US20090144167A1 (en) | System and method for managing data and voice connectivity for wireless devices | |
CN101218806A (en) | Information and management service portal for subscribers of communication systems | |
CN103166936B (en) | A kind of for providing the system of third party's ability, open system and method | |
CN102695167A (en) | Mobile subscriber identity management method and apparatus thereof | |
KR101867576B1 (en) | The Agent System and method for LoRaWAN Network Server and oneM2M Platform | |
US20030069855A1 (en) | Control server for supporting the charging of services | |
KR20020018991A (en) | System and method for imposing a differential rate according to utilization a wireless network | |
CN103139306B (en) | Towards the method that the forwarding and business tie-up information interaction of browsing intercept page information obtain | |
CN109309907A (en) | Method, apparatus and its relevant device for charge on traffic | |
CN1750568B (en) | Data service control system and control network and service control method | |
JP2001265938A (en) | Method and system for charging contents and recording medium with contents charging program recorded thereon | |
RU2532875C2 (en) | Service presentation method, device and system | |
JP2003174467A (en) | System management device, system management method and mobile communication system | |
KR20080030374A (en) | Method and apparatus for providing internet service in communication system | |
KR100773788B1 (en) | Wired and Wireless Service Integration Authentication Method, System and Server for Prepaid Users | |
KR101435475B1 (en) | System and Method for Account Service | |
KR100831563B1 (en) | Billing agent system and method for contents provider using subscriber?s accounts mapping | |
WO2014063523A1 (en) | Iptv value-added service management system and method | |
WO2014153720A1 (en) | Charging method, access device, and charging device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |