CN100341276C - Method for making business platform having external service ability - Google Patents

Method for making business platform having external service ability Download PDF

Info

Publication number
CN100341276C
CN100341276C CNB031542921A CN03154292A CN100341276C CN 100341276 C CN100341276 C CN 100341276C CN B031542921 A CNB031542921 A CN B031542921A CN 03154292 A CN03154292 A CN 03154292A CN 100341276 C CN100341276 C CN 100341276C
Authority
CN
China
Prior art keywords
module
application program
correspondent
api
business platform
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.)
Expired - Fee Related
Application number
CNB031542921A
Other languages
Chinese (zh)
Other versions
CN1585338A (en
Inventor
唐小光
何代义
刘茂征
王巍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB031542921A priority Critical patent/CN100341276C/en
Publication of CN1585338A publication Critical patent/CN1585338A/en
Application granted granted Critical
Publication of CN100341276C publication Critical patent/CN100341276C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The present invention discloses a method for making a service platform have the service capacity of opening to the outside world. The method has the scheme that an ICP application program module triggers a local application programming interface module and provides a service platform mark for the interface module; the connection between the application programming interface module and a communication agent module is established, and the service platform mark is at least transmitted to a communication agent; the network connection between the communication agent module and the corresponding service platform is established according to the service platform mark, and the communication agent module distributes a handle to the application program module; the application program module provides the service for users, and when the service capacity of the service platform is needed, the application program module triggers the application programming interface module; the interface module makes use of the handle to carry out the interaction with the corresponding service platform by the communication agent module, and consequently, the service platform processes the corresponding service.

Description

The method of business platform opening professional ability
Technical field
The present invention relates to the data network technology, particularly a kind of method of business platform opening professional ability.
Background technology
Along with developing rapidly of data network, the road of charge has been gone in increasing content service, variation has also taken place in operation mode, user, operator, service provider form a complete value chain: the service provider provides content service, operator provides open business platform, open charging ability, network equipment ability to the service provider, the user uses content by business platform, operator finishes user's charging, and charge to the user, be divided into the service provider, finally form the situation of tripartite multi-win, and promote the benign cycle of value chain.
Industry has proposed to make up the standard of the open service platform on the data network, and the OSA (Open Service Access) of 3GPP, the Parlay standard of Parlay working group etc. are typically arranged.
The architecture of OSA and Parlay is similar, adopt OO distributed thought, the open interface of standard is provided to application, purpose is to provide the business platform with open and autgmentability to operator, smoothly miscellaneous service is incorporated in the network of oneself fast in each developing stage, and to the hiding network details of third party's service developer, the extensibility and the flexibility that improve system.
As shown in Figure 1, the OSA architecture is divided into three layers of operation layer (Application), frame part (Framework) and service capability servers (Service Capability Server).The application program of operation layer can be the business that the third party develops, and also can be the business that Virtual network operator oneself provides, and these business can realize on one or more application servers; Frame part makes business application can utilize the professional ability of bearer network for operation layer provides some basic operating mechanisms.The Service Capability Feature SCF of OSA and the operating mechanism that framework provides all are to define with interface API; Service capability server provides the service ability feature SCF of bearer network to business application.
Frame part and service capability server constitute the open service platform of operator, and third party's service developer is utilized the API development of new applications, and it is incorporated business platform.
The architecture of this opening has following advantage:
1) clear in structure, stratification is strong;
2) network capabilities separates with professional ability, and exploitation new business need not to pay close attention to network details, the development efficiency height;
3) externally provide standard interface;
4) architecture is flexible, and opening and extensibility are strong.
OSA and Parly are the standards that is applied to the 3G mobile network, but the core concept that its business is separated with control is applicable to all data networks.
At present, business such as cellphone subscriber's online, mobile dream network have realized operator unified (Service Provider SP) have carried out the technology of content charging for the service provider.Basic thought is that business platform provides unified charging message, and during the content of user capture SP, the application program of SP sends charging message to charging platform, carries billing parameters such as charging category and rate in the interface, is chargeed by charging platform.SP finishes content charging by the charging ability of interface message use business platform.But there is following shortcoming in this technology:
(1), require the application program of SP and business platform to adopt message communicating, increased the complexity of SP exploitation;
(2), billing interface is simple, must be carried billing parameters such as charging category and rate by SP in message, business platform can only utilize limited billing parameter to charge, and can't support complicated charging policy;
(3), only opened simple billing interface, SP can not make full use of other ability of business platform.
Summary of the invention
The object of the present invention is to provide a kind of method of business platform opening professional ability, to solve in the prior art because of using business platform to have the problem that can not make full use of the business platform ability by interface message.
Technical scheme of the present invention comprises step:
A, application program module trigger local API module, and provide service platform ID to this interface module;
B, described API module and Correspondent module connect, and transmit described service platform ID to Correspondent at least;
C, Correspondent module are set up network according to service platform ID with the corresponding business platform and are connected, and distribute a handle for described application program module;
D, application program module provide service to the user, and when needing the professional ability of business platform, trigger described API module, this interface module utilizes described handle mutual by agent communication module and corresponding service platform, carries out corresponding service processing by this business platform.
According to technique scheme:
Described API module comprises: registration class API module, cancellation class API module, charging class API module, the class of deducting fees API module and event notice class API module.
When the charging policy of application program module was safeguarded by business platform, step D comprised the steps:
Charging in D11, the application program module triggering charging class API module begins the API module and begins request to Correspondent module transmission charging;
D12, Correspondent module begin request according to the handle of this application program to corresponding service platform transmission charging;
D13, business platform find user's service charging policy, set up chargeable session and sign, and begin to charge;
The charging that D14, application program module regularly trigger in the charging class API module continues the API module, sends to charge to business platform by the Correspondent module and continues request;
D15, business platform find chargeable session according to the chargeable session sign, calculate the expense in this metering period and deduct fees according to traffic carrying capacity.
When application program module by oneself safeguarding charging policy and when chargeing, application program module is reserved and is deducted fees, directly deducts fees or the increase expense by the triggering class API module of deducting fees.
Step D comprised the steps: when reservation was deducted fees
D21, application program module calculate the expense that the user may consume according to predetermined policy, and the reservation expense API module that triggers in the class API module of deducting fees sends reservation request to the Correspondent module;
D22, Correspondent module send reservation request according to handle to the corresponding service platform;
D23, business platform are searched user balance, reservation expense from this remaining sum, and set up and reserve session and reserve session identification;
D24, application program module calculate actual cost in user's use, and the API module of deducting fees from reserve that triggers in the class API module of deducting fees sends the request of deducting fees by the Correspondent module to business platform;
D25, business platform find corresponding reservation session according to user's reservation session identification, deduct the fee from reserve.
Step D comprises the steps: when directly deducting fees
D31, application program module calculate user's expense after the user uses, and the API module of directly deducting fees that triggers in the class API module of deducting fees sends the request of directly deducting fees to the Correspondent module;
D32, Correspondent module send the request of directly deducting fees according to handle to the corresponding service platform;
The D33 business platform deducts the fee from user's account.
Step D comprises the steps: during the increase expense
D41, application program reward the amount of money of giving the user according to rewarding regular calculating, and the increase expense API module that triggers in the class API module of deducting fees send the increase fee request after the user uses;
D42, Correspondent module send to the corresponding service platform according to handle increases fee request;
D45, business platform increase expense to user account.
When business platform has event notice, this event notice is sent to the Correspondent module, receive event notice from the Correspondent module by application program module.
When the application program module winding-up, trigger to nullify and withdraw from the API module in the class API module, disconnect the connection of having set up and also reclaim resource.
The Correspondent module is by TCP/IP and business platform communication.
The present invention has following beneficial effect:
(1) open interface take the form of API (API), thereby reduced the development difficulty of ICP application program;
(2) do not comprise billing parameter in the billing interface, all charging policy are kept at business platform, and business platform finds charging policy according to the service identification in the charging message, thereby can make full use of the abundant charging policy of business platform;
(3) the class API (API) of deducting fees can satisfy the demand that charging ability ICP is arranged;
(4) increase expense API (API) and can utilize ICP to carry out distinctive content service, reward the user, stimulate customer consumption.
Description of drawings
Fig. 1 is the OSA architectural schematic;
Fig. 2 is application program module of the present invention and the mutual structural representation of business platform;
Fig. 3 is the flow chart that calls initialization interface;
The flow chart of Fig. 4 for chargeing;
Fig. 5 is for reserving the flow chart of deducting fees;
Fig. 6 is the flow chart of directly deducting fees;
Fig. 7 is an increase expense flow chart;
Fig. 8 is for receiving event flow diagram.
Embodiment
For the professional ability of abundant open service platform, the present invention realizes by providing with lower interface:
(1) provides API (being called for short API) mode, reduce ICP (InternetContent Provider, ICP) difficulty of use business platform open ability.By API, the ICP application program can communicate with business platform, obtains the charging ability, and need not to be concerned about concrete communication protocol.
(2) provide easy-to-use billing interface, charging policy is kept in the business platform, and the ICP application program need not to indicate charge information in interface, is chargeed by the charging policy of business platform according to content service.
(3) provide the interface of deducting fees, have the ICP of charging ability to calculate customer charge, call the interface of deducting fees and finish by business platform and deduct fees.
(4) provide event notification interface, when the user that makes a difference uses the incident of content, business platform proactive notification ICP application program.
Consult shown in Figure 2ly, business platform opening interface takes the form of API, and these API of the application call of ICP and business platform are mutual, finish content charging.
API comprises two parts: the local API of a cover, a Correspondent.The local opening API of ICP application call, opening API is by internal agreement and the Correspondent communication that operates in the ICP territory.Correspondent is by TCP/IP and business platform communication, and a Correspondent can connect a plurality of business platforms.Local API comprises following a few class:
Registration, cancellation class: be used for the ICP application program and connect, disconnect connection to business platform;
The charging class: business platform is safeguarded charging policy, charges according to the charging request of ICP application program;
The class of deducting fees: charging policy is at the ICP place, ICP application computes expense, and business platform is deducted fees according to the request of ICP;
Event notice class: ICP uses this type of API to obtain event notice from business platform.
The main course of work is: the ICP application program module triggers registration class API module, and provides service platform ID to this interface module; Registration class API module and Correspondent module connect, and transmit described service platform ID and/or other parameter to Correspondent; The Correspondent module is set up network according to service platform ID with the corresponding business platform and is connected, and distributes a handle for described application program module; The ICP application program module provides service to the user, and when needing the professional ability of business platform, trigger the API module, this interface module utilizes described handle mutual by agent communication module and corresponding service platform, carries out corresponding service processing by this business platform.
Be elaborated below in conjunction with accompanying drawing:
1, registration, cancellation class API
Registration class API comprises initialization API, is that the ICP application program must be called initialization API before using charging API, is used to obtain effective handle.Nullify class API and comprise and withdraw from API, after finishing to use charging and fee-deducting API, ICP need call and withdraw from API and close service identification.
Initialization API is used to distribute unique handle, and Correspondent is distinguished and which business platform communication with this handle.The ICP application program must successfully be called a deuterzooid API before calling other API.At each different business platform, only need call once.If called repeatedly for same business platform, the handle that at every turn returns all is the same.
The input parameter of initialization API comprises service platform ID, and return parameters is a unique handle.
Withdraw from API and be used to close handle.When no longer with the business platform communication, call and withdraw from API, close corresponding handle, discharge respective resources.If after closing, calling of the API that uses this handle arranged again, then return failure.
The input parameter that withdraws from API comprises handle.
Consult shown in Figure 3ly, it is as follows to call initialization API flow process:
(1) input parameter during flow process ICP application call initialization API: service platform ID;
(2) Correspondent is set up network with the corresponding service platform and is connected, and is that ICP distributes a handle, and sign is connected with this business platform foundation;
(3) must comprise handle in each function that the ICP application program is called in the subsequent charging process, which business platform Correspondent is distinguished to this sends the request of charging;
(4) when the ICP application program finish to be chargeed, must call and withdraw from API and close handle, discharge resource;
(5) Correspondent disconnects and being connected with the network of handle corresponding service platform;
(6) if close the handle failure, the ICP application program continues to call this function after can waiting for certain hour.
2, charging class API
If an ICP needs operator's maintenance content charging policy, and, ICP charges for carrying out generation, when each user used content service, the application program of ICP need be called the charging function and report charging event to the business platform of operator, finishes charging by business platform so.Charging class API comprises charge the beginning API and the continuation API that charges
ICP application call charging beginning API informing business platform begins to charge, and obtains the chargeable session sign.The main input parameter that begins API that charges comprises handle, user ID, service identification, and return value comprises the chargeable session sign.
Business is carried out in the process, and the ICP application program is regularly called the continuation API that charges and reported consumption information, and the session service platform calculates the expense of this metering period and deducts fees; During service ending, the ICP application call is chargeed and is continued API informing business platform end charging, reports the consumption information of last metering period, and business platform charges for the last time, finishes this chargeable session.Whether billing parameter comprises: handle, session id, consumption, be the charging end.
Consult Fig. 4, the flow process of charging is as follows:
(1) flow process ICP at first calls initialization API and obtains handle;
(2) bring into use content service when (as beginning recreation) the user, the ICP application call is chargeed and is begun API, input billing parameter: handle, user ID, service identification;
(3) to be identified by handle be to send to charge to which business platform to begin request to Correspondent;
(4) after business platform receives that charging begins request, find user's service charging policy, set up chargeable session, begin to charge.And charge to the Correspondent loopback and to begin response, comprise in the response that chargeable session ID, charging continuation message report the time interval;
(5) the Correspondent processing of beginning API of finish chargeing is returned chargeable session ID and charging continues to report the time interval to the ICP application program;
(6) in user's use, the ICP application program is regularly called to charge and is continued API, the input billing parameter: handle, chargeable session sign, traffic carrying capacity (flow, entry number), and will whether be that the last item charging message sign is changed to "No";
(7) to be identified by handle be to send to charge to which business platform to continue request to Correspondent;
(8) after business platform is received and charge to be continued request, find user's chargeable session, calculate the expense of this metering period of user and deduct fees,, return success and reply if deduct fees successfully according to traffic carrying capacity according to session id; Otherwise returning failure replys.
If business platform reports the charging of not receiving ICP in the time interval to continue request at the charging message of agreement, with the chargeable session deletion, subsequent charging request is handled failure;
(9) Correspondent finishes the processing of continuation API of chargeing, and returns result;
(10) if charging failure, the ICP application program can stop to provide service to the user;
(11) when the user initiatively stops business, the ICP application program is called for the last time to charge and is continued API, the input billing parameter: handle, chargeable session sign, traffic carrying capacity (flow, entry number), and will whether be that the last item charging message sign is changed to "No";
(12) to be identified by handle be which business platform to send the charging ending request to Correspondent;
(13) business platform finds user's chargeable session according to session id, calculates customer charge and also deducts fees, the deletion chargeable session.To the Correspondent back response;
(14) Correspondent finishes the processing of continuation API of chargeing, and returns result.
3, the class API that deducts fees
If the ICP application program oneself is safeguarded charging policy and is chargeed, only deduct fees to link service provider's (ISP) business platform request, then when each user used content service, the ICP application program was used the function of deducting fees, and needn't report charge beginning and end to business platform.
When content of consumption is professional, occur the situation that Sorry, your ticket has not enough value for fear of the prepaid user, but ICP application program cost of use spare interface is deducted fees.The ICP application program can be reserved certain amount of money (amount of money size is determined according to the content service feature by the ICP application program) to the business platform request when the user brings into use, the expense of reservation only is used for the deducting fees of this business of this ICP application program.Reserving in the amount of money to the business platform request and deducting fees in the customer consumption back ICP application program that finishes, if the customer consumption amount of money greater than reserving the amount of money, then business platform has at first been detained and has been reserved the amount of money when deducting fees, and deducts all the other expenses then from user account number; If the customer consumption amount of money is less than reserving the amount of money, then business platform returns user account number to remaining cost automatically when closing reservation.
Reservation expense API: for the employing mode ICP application program of deducting fees, if the user is the prepaid user, overdraws and provide better quality of service to guarantee in order to prevent the user, the ICP application program needs to reserve earlier to re-use to user's expense.For postpaid service user's reservation request, business platform returns success.The time that this function will provide the desirable expense of reservation, acceptable minimum expense and wish to reserve.When user balance was not enough, business platform was all kept for this ICP application program to all remaining sums.Generally when customer consumption finishes, to call to return and reserve API, remaining reservation is restored in the user balance.
Reservation expense API input parameter: handle, user ID, service identification, reservation zero-time, the effective duration of reservation expense, expectation reserved value, acceptable minimum reservation value.
Return value: reserve session identification, the actual amount of money of reserving.
API deducts fees from reserve: deduct the fee from reserve the amount of money.Carry the expense that to deduct and user's consumption record.In the return parameters of this function, take back the expense of actual deduction, remaining expense and reservation expense remaining effective time.
Return and reserve API: close reservation, remaining expense is restored in the user balance in the amount of money reserving.
API directly deducts fees: be under postpaid service user's the situation the user, need not reserve, directly deduct fees to certain user, carry the detailed description of deducting fees, so that generate ticket.The ICP application program also can be without this API, and whether pay in the back needn't to judge the user, the API that deducts fees of the reservation above unified the use.
The API input parameter of directly deducting fees: handle, user ID, service identification, the amount of money of deducting fees.
Return value: the expense of actual deduction.
Increase expense API: directly for certain user increases expense, this expense is from the ICP application program.This API is applicable to professional with lottery or advertising business, gives user's amount of money award from the ICP account number.
Input parameter: handle, user ID, service identification, the increase amount of money
Consult Fig. 5, reserve that the flow process of deducting fees relates to reservation expense API, the API that deducts fees from reserve, close and reserve API, its flow process is as follows:
(1) bring into use content service when (as beginning recreation) the user, the ICP application program is calculated the user in advance according to certain rule can consumable expense, call reservation expense api function and reserve, input parameter comprises handle, user ID, service identification, reservation amount of money zero-time, reserves amount of money available duration via, expectation reserved value, the acceptable minimum reservation amount of money;
(2) to be identified by handle be to send reservation request to business platform to Correspondent;
(3) business platform is searched user balance after receiving reservation request, reserves according to following rule: if remaining sum is returned failure less than accepting minimum value; If remaining sum is less than desired value, and, then remaining sum is all reserved more than or equal to inserting minimum value; Otherwise reservation desired value.Reserve successfully, then set up and reserve session, reserve response, comprise in the response and reserve session id, the actual amount of money of reserving to the Correspondent loopback;
(4) Correspondent finishes the processing of reservation expense API, returns result to the ICP application program, and output parameter is to reserve the session id and the actual amount of money of reserving;
(5) in user's use, the ICP application computes goes out user's actual cost, call the API that deducts fees from reserve, the requested service platform is deducted fees from user's the reservation amount of money, and input parameter comprises handle, reserves session identification, consumes record, actual cost;
(6) to be identified by handle be to send the request of deducting fees to the business platform of which ISP to Correspondent;
(7) business platform finds user's reservation session, deducts the fee from reserve, if reservation expense deficiency is deducted remainder from user balance, and calculates residue reservation available duration via.Business platform is to the Correspondent back response, comprises in the response actually deducting the fee and remaining the reservation available duration via;
If business platform is not received the request of deducting fees in reserving available duration, then will reserve return, and session is reserved in deletion.
(8) result is returned in the Correspondent processing of API that finishes to deduct fees from reserve, and output parameter is actually to deduct the fee and remain the reservation expense;
(9) if the expense deficiency, the ICP application program can stop to provide service to the user;
(10) when the user stops business, after the ICP application computes goes out expense, can call the API that deducts fees from reserve deducts fees for the last time, and the closing reservation that is provided with in the input parameter identifies, after expression is deducted fees and finished, will remain to reserve and return, also can decline this sign, after having called the API that from reserve, deducts fees, call return reservation API again and close reservation;
(11) to be identified by handle be to send to which business platform to close reservation request to Correspondent;
(12) business platform finds user's reservation session, will reserve return, and session is reserved in deletion.To the Correspondent back response;
(13) Correspondent finishes to return the processing of reserving API, and returns result.
Consult shown in Figure 6ly, the flow process of directly deducting fees is as follows:
(1) directly deduct fees flow process ICP application program after the user uses, calculate user's expense, call the API that directly deducts fees, input parameter comprises handle, user ID, service identification, consumption record, expense.
(2) to be identified by handle be to send the request of directly deducting fees to the business platform of which ISP to Correspondent.
(3) business platform deducts the fee from user account, when customer charge is not enough, user balance is all deducted.To the Correspondent return response, the expense of actual deduction is described then.
(4) the Correspondent processing of API that finishes directly to deduct fees is returned result to the ICP application program, and output parameter is the expense of actual deduction.
Consult shown in Figure 7ly, when the ICP application program is rewarded the user, can call increase expense API and go up to user's account and increase the amount of money, its flow process is as follows:
(1) the ICP application program calculates the amount of money of rewarding to the user according to rewarding rule after the user uses, and calls increase expense API, and input parameter comprises handle, user ID, service identification, consumption record, amount of money award.
(2) to be identified by handle be to send to which business platform to increase fee request to Correspondent.
(3) business platform increases expense to user account, then to the Correspondent return response.
(4) Correspondent finishes the processing of increase expense API, returns result to the ICP application program.
4, event notice class API
The application program of ICP can receive the event notice that initiatively sends from business platform,, customer charge deficiency off line as the user etc., the processing different according to concrete event implementation.Event notice class API comprises reception incident API.
The event notice that reception is initiatively sent from business platform, ICP application program need not this message is replied.Have a plurality of business platforms and all can send incident, if the ICP application program is interested in the incident of a plurality of business platforms, then at first need call initialization API and obtain handle, call reception incident API at each handle then and obtain the incident that each business platform is sent at each service platform ID ISPID (being the sign of ISP).
Consult shown in Figure 8ly, it is as follows to receive the incident flow process:
(1) the ICP application call receives incident API, and input parameter is a handle.
(2) Correspondent prepares to receive the event notice which business platform sends by handle identification.
When (3) user is off line when taking place, expense deficiency etc. needed the incident of notice ICP, business platform sent event notice to Correspondent.
(4) Correspondent returns event identifier to ICP.
(5) the ICP application program is implemented respective handling according to event type.

Claims (20)

1, a kind of method of business platform opening professional ability is characterized in that comprising step:
A, application program module trigger local API module, and provide service platform ID to this interface module;
B, described API module and Correspondent module connect, and transmit described service platform ID to Correspondent at least;
C, Correspondent module are set up network according to service platform ID with the corresponding business platform and are connected, and distribute a handle for described application program module;
D, application program module provide service to the user, and when needing the professional ability of business platform, trigger described API module, this interface module utilizes described handle mutual by agent communication module and corresponding service platform, carries out corresponding service processing by this business platform.
2, the method for claim 1, it is characterized in that described API module comprises: registration class API module, cancellation class API module, charging class API module, the class of deducting fees API module and event notice class API module.
3, method as claimed in claim 2 is characterized in that, when the charging policy of application program module was safeguarded by business platform, step D comprised the steps:
Charging in D11, the application program module triggering charging class API module begins the API module and begins request to Correspondent module transmission charging;
D12, Correspondent module begin request according to the handle of this application program to corresponding service platform transmission charging;
D13, business platform find user's service charging policy, set up chargeable session and sign, and begin to charge;
The charging that D14, application program module regularly trigger in the charging class API module continues the API module, sends to charge to business platform by the Correspondent module and continues request;
D15, business platform find chargeable session according to the chargeable session sign, calculate the expense in this metering period and deduct fees according to traffic carrying capacity.
4, method as claimed in claim 3 is characterized in that, if business platform does not receive that in the given time the charging of application program module continues request, then deletes chargeable session.
5, method as claimed in claim 3, it is characterized in that, application program module is when triggering charging continuation API module, and whether for the last item charging message is provided with corresponding mark, whether business platform is the last item charging message according to this marker for judgment according to.
As claim 3,4 or 5 described methods, it is characterized in that 6, if deduct fees failure, application program module then stops to provide service to the user.
7, the method for claim 1 is characterized in that, when application program module by oneself safeguarding charging policy and when chargeing, application program module is reserved and is deducted fees, directly deducts fees or the increase expense by the triggering class API module of deducting fees.
8, method as claimed in claim 7 is characterized in that, when reservation was deducted fees, step D comprised the steps:
D21, application program module calculate the expense that the user may consume according to predetermined policy, and the reservation expense API module that triggers in the class API module of deducting fees sends reservation request to the Correspondent module;
D22, Correspondent module send reservation request according to handle to the corresponding service platform;
D23, business platform are searched user balance, reservation expense from this remaining sum, and set up and reserve session and reserve session identification;
D24, application program module calculate actual cost in user's use, and the API module of deducting fees from reserve that triggers in the class API module of deducting fees sends the request of deducting fees by the Correspondent module to business platform;
D25, business platform find corresponding reservation session according to user's reservation session identification, deduct the fee from reserve.
9, method as claimed in claim 8 is characterized in that, when reserving expense among the step D23, if user's remaining sum less than the minimum value that can accept the expense of reserving, is then returned failure; If user's remaining sum is less than desired value, and, then user's remaining sum is all reserved more than or equal to the minimum value that can accept the expense of reserving; Otherwise reservation desired value.
10, method as claimed in claim 8 is characterized in that, among the step D25, deducts the fee from reserve and reservation expense when not enough, then deducts insufficient section in the user balance, and calculates residue and reserve available duration.
11, method as claimed in claim 8 is characterized in that, if business platform is not received the request of deducting fees in reserving available duration, then will reserve return, and session is reserved in deletion.
12, as the arbitrary described method of claim 8 to 11, it is characterized in that, when the user stops business, after the end of deducting fees, will remain to reserve and return and close reservation.
13, method as claimed in claim 7 is characterized in that, when directly deducting fees, step D comprises the steps:
D31, application program module calculate user's expense after the user uses, and the API module of directly deducting fees that triggers in the class API module of deducting fees sends the request of directly deducting fees to the Correspondent module;
D32, Correspondent module send the request of directly deducting fees according to handle to the corresponding service platform;
The D33 business platform deducts the fee from user's account.
14, method as claimed in claim 7 is characterized in that, when increasing expense, step D comprises the steps:
D41, application program reward the amount of money of giving the user according to rewarding regular calculating, and the increase expense API module that triggers in the class API module of deducting fees send the increase fee request after the user uses;
D42, Correspondent module send to the corresponding service platform according to handle increases fee request;
D45, business platform increase expense to user account.
15, method as claimed in claim 1 or 2 is characterized in that, when business platform has event notice this event notice is sent to the Correspondent module, receives event notice by application program module from the Correspondent module.
16, method as claimed in claim 15 is characterized in that, application program module receives event notice and comprises the steps:
Reception event application DLL (dynamic link library) module and Correspondent in the application program module trigger event notice class API module are mutual;
The Correspondent module is judged the event notice of preparing to receive which business platform transmission according to handle;
When business platform when Correspondent sends event notice, Correspondent returns event identifier to application program module, application program module is implemented respective handling according to event type.
17, method as claimed in claim 2 is characterized in that, trigger to nullify to withdraw from the API module in the class API module when the application program module winding-up, disconnects the connection of having set up and also reclaims resource.
18, method as claimed in claim 2 is characterized in that, the local API module described in the steps A is meant the initialization API module that triggers in the registration class API module.
19, the method for claim 1 is characterized in that the Correspondent module is by TCP/IP and business platform communication.
20, the method for claim 1 is characterized in that a Correspondent is connected with a plurality of business platforms.
CNB031542921A 2003-08-19 2003-08-19 Method for making business platform having external service ability Expired - Fee Related CN100341276C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB031542921A CN100341276C (en) 2003-08-19 2003-08-19 Method for making business platform having external service ability

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB031542921A CN100341276C (en) 2003-08-19 2003-08-19 Method for making business platform having external service ability

Publications (2)

Publication Number Publication Date
CN1585338A CN1585338A (en) 2005-02-23
CN100341276C true CN100341276C (en) 2007-10-03

Family

ID=34597964

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB031542921A Expired - Fee Related CN100341276C (en) 2003-08-19 2003-08-19 Method for making business platform having external service ability

Country Status (1)

Country Link
CN (1) CN100341276C (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101341694B (en) * 2006-11-28 2011-09-14 中兴通讯股份有限公司 Combined routing inquiry method of ASON
CN102111276B (en) * 2009-12-29 2015-03-04 北京四达时代软件技术股份有限公司 Real-time charging method and system
CN102694770A (en) * 2011-03-22 2012-09-26 中兴通讯股份有限公司 System and method for multi-type resource management in business platform
CN109787780B (en) * 2017-11-10 2021-08-31 华为技术有限公司 Charging method based on API content and capability open function entity

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1117616A (en) * 1994-06-30 1996-02-28 美国电报电话公司 Applications programming interface for distributed processing in networks
CN1351793A (en) * 1999-05-24 2002-05-29 诺基亚有限公司 Connection handle
US20020101993A1 (en) * 2001-02-01 2002-08-01 Eleazar Eskin Mobile computing and communication
WO2002069586A2 (en) * 2001-02-23 2002-09-06 Danger, Inc. System, apparatus and method for location-based instant messaging
CN1435039A (en) * 2000-03-30 2003-08-06 高通股份有限公司 Method and apparatus for detecting specified events in mobile station

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1117616A (en) * 1994-06-30 1996-02-28 美国电报电话公司 Applications programming interface for distributed processing in networks
CN1351793A (en) * 1999-05-24 2002-05-29 诺基亚有限公司 Connection handle
CN1435039A (en) * 2000-03-30 2003-08-06 高通股份有限公司 Method and apparatus for detecting specified events in mobile station
US20020101993A1 (en) * 2001-02-01 2002-08-01 Eleazar Eskin Mobile computing and communication
WO2002069586A2 (en) * 2001-02-23 2002-09-06 Danger, Inc. System, apparatus and method for location-based instant messaging

Also Published As

Publication number Publication date
CN1585338A (en) 2005-02-23

Similar Documents

Publication Publication Date Title
CN1262140C (en) Method and system for charging communication systems
CN1200536C (en) Method for realizing content fee-conunting process
CN1901460A (en) Billing method for an information communication network
CN100346655C (en) Charge information processing method
CN1859136A (en) Charging system and charging method
CN1794637A (en) Charge network and charge agency device and charge method
CN101047989A (en) Strategy and charging control method at user roaming state
CN1867025A (en) Method for carrying out charging control on pre-payment user
CN1859534A (en) Charging method and system for traffic service
CN1303571A (en) Service provision support system
CN1266580A (en) Method for charging communications services
CN100344095C (en) Charge metering association and charge managing method for concentrated speech business
CN1992763A (en) Method for realizing prepayment of digital trunking system
CN101035002A (en) Credit control client terminal, credit control server, charging system and charging method
CN1859533A (en) Telecommunication service charging system and method
CN1290353C (en) Charging information collecting and charging method of digital cluster system
CN100341276C (en) Method for making business platform having external service ability
CN1745539A (en) Prepaid wise network service
CN1853368A (en) Charging method and charging units
CN1798222A (en) Method and equipment for controlling dialogue
CN1474538A (en) Method for realizing charge informing of network terminal based on initial conversation protocol
CN1946122A (en) Method, Device and system for realizing uniform fee charging
CN101075885A (en) Method and device for processing signaling flow in content charge
CN1977501A (en) Communication charge calculation system for mobile telephone communications, communication charge calculation method, information server, mobile telephone terminal, and programs therefor
CN1422060A (en) Method of opening control point business capacity of intelligent network service to the third party

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20071003