CN104144400A - Online application charging method and system - Google Patents

Online application charging method and system Download PDF

Info

Publication number
CN104144400A
CN104144400A CN201310170514.7A CN201310170514A CN104144400A CN 104144400 A CN104144400 A CN 104144400A CN 201310170514 A CN201310170514 A CN 201310170514A CN 104144400 A CN104144400 A CN 104144400A
Authority
CN
China
Prior art keywords
charging
user
interim
gateway
applications client
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
Application number
CN201310170514.7A
Other languages
Chinese (zh)
Other versions
CN104144400B (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.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN201310170514.7A priority Critical patent/CN104144400B/en
Publication of CN104144400A publication Critical patent/CN104144400A/en
Application granted granted Critical
Publication of CN104144400B publication Critical patent/CN104144400B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention discloses an online application charging method and system. The method includes the steps that a charging confirmation instruction is returned to an application client by an online application server; the application client establishes communication with a charging gateway, and a charging confirmation page is pushed to the application client by the charging gateway; after a user sends a confirmation message, the charging gateway sends the user confirmation message to a service management platform; a temporary order relationship is generated by the service management platform, and a temporary charging confirmation ID is allocated; the temporary charging confirmation ID is forwarded to the online application server by the charging gateway through the application client; the online application server sends a charging request to the service management platform through the charging gateway; whether the temporary order relationship totally matched with a user ID, a product ID and the temporary charging confirmation ID in the charging request exists or not is judged by the service management platform through comparison; if the temporary order relationship totally matched with the user ID, the product ID and the temporary charging confirmation ID in the charging request exists, charging is performed based on the charging request. According to the online application charging method and system, user confirmation charging can be achieved on the premise that online application service is not interrupted.

Description

Charging method and the system of online application
Technical field
The present invention relates to the communication technology, especially a kind of charging method of online application and system.
Background technology
Along with intelligent mobile phone terminal is (also referred to as development user terminal), client-based online application is more and more general, for example, in this online application of game on line, mobilephone terminal user is ordered the value-added service of this online application in client and online application server reciprocal process, produces the charging demand in this online application.
In realizing process of the present invention, inventor finds existing the charging way of online application at least to be existed to following problem:
In prior art, directly by the third-party product platform under this online application, to Operator Specific Service management platform or charge system, initiate the request of deducting fees, like this, may produce third party service provider (SP) and send false subscription request to Operator Specific Service management platform or charge system, for example when user orders the value-added service of online application, user is not deducted fees, or when user orders the value-added service of an online application, user is deducted fees more, thereby form the swindle to user, damaged user ' s right.
If send charging to user, confirm short message, because short message is to send to mobile phone terminal outside online application is mutual, short message function of browse realizes by Another application program, in the client that starts online application, user cannot check short message, this just need to first interrupt online application interaction process, then opens Another Application program and browses short message.Thus, the charging confirmation based on short message can make online application produce interruption, thereby affects user's business experience.
Summary of the invention
The embodiment of the present invention one of them technical problem to be solved is: charging method and system that a kind of online application is provided; while making user use online application; if initiate to order value-added service in this online application; do not interrupting under the prerequisite of ongoing online applied business; realize user and confirm to deduct fees, thereby protection user ' s right and user use the business experience of online application.
The charging method of a kind of online application that the embodiment of the present invention provides, comprising:
Online application server receives after the order request information of applications client transmission, the charging amount of money corresponding to Product Identifying ID that user in this order request information asks the value-added service ordered is obtained in inquiry, and to described applications client, return to charging and confirm indication, described charging confirms that indication comprises described product IDs, the described charging amount of money and the sign SPID of application provider;
After applications client and charging gateway establish a communications link, charging gateway pushes charging to applications client and confirms the page, and described charging confirms that the page comprises product IDs, the charging amount of money and acknowledge character, and described acknowledge character is produced at random by described charging gateway;
Applications client receives user and based on charging, confirms that after the acknowledge message of page transmission, charging gateway sends user's acknowledge message to Business Management Platform, and described user's acknowledge message comprises user ID, described product IDs and the described charging amount of money, SPID;
Business Management Platform generates interim order relations and distributes interim charging to confirm ID based on described user's acknowledge message, and described interim order relations comprises interim order relations ID, user ID, product IDs, the charging amount of money and SPID;
Charging gateway confirms that by interim charging ID returns to applications client;
Applications client confirms that by described interim charging ID is transmitted to online application server;
Online application server sends accounting request by charging gateway to Business Management Platform, and described accounting request comprises user ID, product IDs and interim charging confirmation ID;
More whether Business Management Platform exists with user ID, product IDs, interim charging in accounting request is confirmed the interim order relations that ID mates completely;
In response to there is user ID, product IDs, interim charging with accounting request, confirm the interim order relations that ID mates completely, Business Management Platform carries out charging based on described accounting request, in user account corresponding to described user ID, deducts the described charging amount of money.
In a specific embodiment of said method, applications client and charging gateway establish a communications link and are specially:
Applications client establishes a communications link by calling the charging confirmation unit and the charging gateway that set in advance, and sends and confirm request to described charging gateway, and described confirmation request comprises described product IDs and the described charging amount of money.
In a specific embodiment of said method, described charging confirmation unit comprises charging plug-in unit or application programming interfaces API.
In a specific embodiment of said method, charging gateway pushes charging to applications client and confirms that the page comprises:
Charging gateway pushes charging by HTML (Hypertext Markup Language) HTTP or socket Socket agreement to applications client and confirms the page.
In a specific embodiment of said method, also comprise:
After Business Management Platform charging completes, delete the interim order relations that user ID, product IDs, interim charging confirmation ID described and in accounting request mate completely.
The charge system of a kind of online application that the embodiment of the present invention provides, comprises online application server, applications client, charging gateway and Business Management Platform; Wherein:
Described online application server, for receiving after the order request information of applications client transmission, the charging amount of money corresponding to Product Identifying ID that user in this order request information asks the value-added service ordered is obtained in inquiry, and to described applications client, return to charging and confirm indication, described charging confirms that indication comprises described product IDs, the described charging amount of money and the sign SPID of application provider; And to Business Management Platform, sending accounting request by charging gateway, described accounting request comprises user ID, product IDs and interim charging confirmation ID;
Described applications client, for sending order request information to described online application server, confirms indication in response to receiving the charging that described online application server returns, and establishes a communications link with charging gateway; And after receiving the acknowledge message of user based on the transmission of the charging confirmation page, to charging gateway, sending user's acknowledge message, described user's acknowledge message comprises user ID, described product IDs and the described charging amount of money, SPID; And the interim charging that described charging gateway is returned confirms that ID is transmitted to online application server;
Described charging gateway, for after establishing a communications link with described applications client, to described applications client, push charging and confirm the page, described charging confirms that the page comprises product IDs, the charging amount of money and acknowledge character, and described acknowledge character is produced at random by described charging gateway; And send described user's acknowledge message to Business Management Platform; And the interim charging that Business Management Platform is distributed confirms that ID returns to applications client; And send described accounting request to Business Management Platform;
Described Business Management Platform, for generating interim order relations and distributing interim charging to confirm ID based on described user's acknowledge message, described interim order relations comprises interim order relations ID, user ID, product IDs, the charging amount of money and SPID; And more whether exist user ID, product IDs, interim charging in the accounting request sending with charging gateway to confirm the interim order relations that ID mates completely; In response to existing user ID, product IDs, interim charging with accounting request to confirm the interim order relations that ID mates completely, based on described accounting request, carry out charging, in user account corresponding to described user ID, deduct the described charging amount of money.
In a specific embodiment of said system, when described applications client and charging gateway establish a communications link, specifically by calling the charging confirmation unit and the charging gateway that set in advance, establish a communications link, and send and confirm request to described charging gateway, described confirmation request comprises described product IDs and the described charging amount of money.
In a specific embodiment of said system, described charging confirmation unit comprises charging plug-in unit or application programming interfaces API.
In a specific embodiment of said system, described charging gateway specifically pushes charging by HTML (Hypertext Markup Language) HTTP or socket Socket agreement to applications client and confirms the page.
In a specific embodiment of said system, described Business Management Platform, also for after completing in charging, is deleted the interim order relations that user ID, product IDs, interim charging confirmation ID described and in accounting request mate completely.
The charging method of the online application providing based on the above embodiment of the present invention and system, online application server receives after the order request information of applications client transmission, inquiry is obtained user in this order request information and is asked the charging amount of money corresponding to product IDs of the value-added service of order, and to applications client, returns to charging and confirm indication; After applications client and charging gateway establish a communications link, charging gateway pushes charging to applications client and confirms the page, and charging confirms that the page comprises product IDs, the charging amount of money and acknowledge character; Applications client receives user and based on charging, confirms that after the acknowledge message of page transmission, charging gateway sends user's acknowledge message to Business Management Platform; Business Management Platform generates interim order relations and distributes interim charging to confirm ID based on user's acknowledge message; Charging gateway confirms that by interim charging ID returns to applications client; Applications client confirms that by interim charging ID is transmitted to online application server; When online application server sends accounting request by charging gateway to Business Management Platform, more whether Business Management Platform exists with user ID, product IDs, interim charging in accounting request is confirmed the interim order relations that ID mates completely; In response to existing user ID, product IDs, interim charging with accounting request to confirm the interim order relations that ID mates completely, Business Management Platform carries out charging based on accounting request, in user account corresponding to user ID, deducts the charging amount of money.
Compared with prior art, the embodiment of the present invention is because whole charging flow is initiated by same applications client, so can not interrupt ongoing online applied business flow process, while making user use online application, in applications client, use in the process of online application, if initiate to order value-added service in this online application, applications client pushes the charging confirmation page by calling charging gateway, user confirms charging by online mode, by Business Management Platform, distribute an interim charging to confirm sign (Charging AckID), online application server confirms that by this interim charging ID initiates accounting request to Business Management Platform, after Business Management Platform is verified this accounting request, do not interrupting under the prerequisite of ongoing online applied business, realizing user confirms to deduct fees, after only having user to confirm to deduct fees, could initiate actual accounting request to deduct fees by third-party product platform, Secure Billing and anti-swindle security mechanism in online application are provided, guaranteed the fail safe of charging, thereby protection user ' s right and user use the business experience of online application.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Description of the invention provides for example with for the purpose of describing, and is not exhaustively or limit the invention to disclosed form.Many modifications and variations are obvious for the ordinary skill in the art.Selecting and describing embodiment is for better explanation principle of the present invention and practical application, thereby and makes those of ordinary skill in the art can understand the various embodiment with various modifications that the present invention's design is suitable for special-purpose.
Accompanying drawing explanation
The accompanying drawing that forms a part for specification has been described embodiments of the invention, and is used from explanation principle of the present invention together with describing one.
With reference to accompanying drawing, according to detailed description below, can more be expressly understood the present invention, wherein:
Fig. 1 is the flow chart of an embodiment of charging method of the online application of the present invention.
Fig. 2 is the structural representation of an embodiment of charge system of the online application of the present invention.
Embodiment
Now with reference to accompanying drawing, describe various exemplary embodiment of the present invention in detail.It should be noted that: unless illustrate in addition, the parts of setting forth in these embodiments and positioned opposite, numeral expression formula and the numerical value of step do not limit the scope of the invention.
, it should be understood that for convenience of description, the size of the various piece shown in accompanying drawing is not to draw according to actual proportionate relationship meanwhile.
To the description only actually of at least one exemplary embodiment, be illustrative below, never as any restriction to the present invention and application or use.
For the known technology of person of ordinary skill in the relevant, method and apparatus, may not discuss in detail, but in suitable situation, described technology, method and apparatus should be regarded as a part for specification.
In all examples with discussing shown here, it is exemplary that any occurrence should be construed as merely, rather than as restriction.Therefore, other example of exemplary embodiment can have different values.
It should be noted that: in similar label and letter accompanying drawing below, represent similar terms, therefore, once be defined in an a certain Xiang Yi accompanying drawing, in accompanying drawing subsequently, do not need it to be further discussed.
The embodiment of the present invention is applicable to applications client and applies online the charging scene of initiating in online application, comprising:
1, not interrupt under mutual application prerequisite, the interior charging entire flow mechanism of online application that has user to confirm, can effectively prevent that third party SP from swindling charging to user;
2, Secure Billing flow process in complete end-to-end application, mechanism is succinct, and has ensured that by charging gateway the core data of Business Management Platform (or being called charge system) avoids the Internet and invade.
Fig. 1 is the flow chart of an embodiment of charging method of the online application of the present invention.As shown in Figure 1, the charging method of the online application of this embodiment comprises:
110, applications client receives user while using online application, during the subscription request of the order value-added service of initiating in this online application, generate also to online application server transmission order request information, comprising the Product Identifying (ID) of value-added service.
Wherein, value-added service of each product IDs unique identification, user uses in the process of online application can initiate subscription request by clicking the mode of this value-added service, and now applications client can read the product IDs of this value-added service setting in advance.
120, online application server receives after the order request information of applications client transmission, inquire about pre-stored product information, therefrom obtain the charging amount of money corresponding to product IDs that user in this order request information asks the value-added service ordered, and to applications client, return to charging and confirm indication, this charging confirms that indication comprises product IDs, the charging amount of money and the sign SPID of application provider (SP).
The third-party product platform that online application server is wherein SP, for the related service of value-added service of the various online application of this SP is provided, is provided with the SPID of the service of goods that provides value added service in online application server.
130, applications client and charging gateway establish a communications link, and carry out information interaction with charging gateway, and send and confirm request to charging gateway, and this confirmation request comprises described product IDs and the charging amount of money, and SPID.
140, charging gateway pushes charging to applications client and confirms the page, and to show the product information of this less important consumption to user, this charging confirms that the page comprises product IDs, the charging amount of money and acknowledge character.Acknowledge character is wherein produced at random by charging gateway, specifically can show as picture form, is wherein provided with character and needs eye recognition, for preventing that applications client from producing false charging and confirming the page, thereby to user's charge, user is carried out to charging swindle.
150, applications client receives user and based on charging, confirms, after the acknowledge message of page transmission, to charging gateway, to forward this acknowledge message.
160, charging gateway sends user's acknowledge message to Business Management Platform (this Business Management Platform specifically also can be realized by a charge system), and this user's acknowledge message comprises user ID, product IDs and the charging amount of money, SPID.
170, Business Management Platform generates interim order relations and distributes interim charging to confirm ID based on user's acknowledge message, and interim charging is confirmed to ID returns to charging gateway, interim order relations wherein comprises interim order relations ID, user ID, product IDs, the charging amount of money and SPID.
Business Management Platform can be stored after generating above-mentioned interim order relations, interim order relations of interim order relations ID unique identification wherein.
180, charging gateway confirms that by interim charging ID returns to applications client.
190, applications client confirms that by interim charging ID is transmitted to online application server.
200, online application server sends accounting request by charging gateway to Business Management Platform, and this accounting request comprises user ID, product IDs and interim charging confirmation ID.
210, more whether Business Management Platform exists with user ID, product IDs, interim charging in accounting request is confirmed the interim order relations that ID mates completely.
In response to existing user ID, product IDs, interim charging with accounting request to confirm the interim order relations that ID mates completely, confirm the validity of this accounting request, carry out 220 operation.Otherwise, do not carry out the subsequent operation of the present embodiment, or Business Management Platform sends failed response message by charging gateway to online application server.
220, Business Management Platform carries out charging based on accounting request, in user account corresponding to user ID, deducts the charging amount of money.
Charging in online application completes.
The embodiment of the present invention is because whole charging flow is initiated by same applications client, so can not interrupt ongoing online applied business flow process, while making user use online application, in applications client, use in the process of online application, if initiate to order value-added service in this online application, applications client pushes the charging confirmation page by calling charging gateway, user confirms charging by online mode, by Business Management Platform, distribute an interim charging to confirm sign (Charging AckID), online application server confirms that by this interim charging ID initiates accounting request to Business Management Platform, after Business Management Platform is verified this accounting request, do not interrupting under the prerequisite of ongoing online applied business, realizing user confirms to deduct fees, after only having user to confirm to deduct fees, could initiate actual accounting request to deduct fees by third-party product platform, Secure Billing and anti-swindle security mechanism in online application are provided, guaranteed the fail safe of charging, thereby protection user ' s right and user use the business experience of online application.
Concrete example of the charging method embodiment of online application according to the present invention and unrestricted, in operation 130, when applications client and charging gateway establish a communications link, can be specifically that applications client establishes a communications link by calling the charging confirmation unit and the charging gateway that set in advance, and send and confirm request to charging gateway, confirm that request comprises product IDs and the charging amount of money.
Exemplarily, charging confirmation unit can include but not limited to charging plug-in unit or application programming interfaces (Application Program Interface, API).
Another concrete example of the charging method embodiment of online application according to the present invention and unrestricted, in operation 140, charging gateway pushes charging to applications client and confirms that the page can be specifically: charging gateway pushes charging by HTML (Hypertext Markup Language) (Hyper Text Transport Protocol, HTTP) or socket (Socket) agreement to applications client and confirms the page.
In another embodiment of the online charging method of applying of the present invention, after Business Management Platform charging completes, can also delete with user ID, product IDs, interim charging in the accounting request receiving and confirm the interim order relations that ID mates completely.
Fig. 2 is the structural representation of an embodiment of charge system of the online application of the present invention.The charge system of the online application of this embodiment can be used in the present invention the charging method embodiment of above-mentioned each online application.As shown in Figure 2, it comprises online application server 310, applications client 320, charging gateway 330 and Business Management Platform 340.Wherein:
Online application server 310, for the online application server of third party, be arranged in the Internet, for after receiving the order request information of applications client 320 transmissions, the charging amount of money corresponding to product IDs that user in this order request information asks the value-added service ordered is obtained in inquiry, and to applications client 320, return to charging and confirm indication, this charging confirms that indication comprises product IDs, the charging amount of money and SPID; And to Business Management Platform 340, sending accounting request by charging gateway 330, accounting request comprises user ID, product IDs and interim charging confirmation ID.
Exemplarily, online application server 310 specifically can call the accounting request interface arranging on charging gateway 330 and send accounting request to Business Management Platform 340.
Applications client 320, for example, for (being positioned at mobile phone terminal, intelligent subscriber terminal) client application, can apply with mutual the realization online of online application server 310, for sending order request information to online application server 310, in response to receiving the charging that online application server 310 returns, confirm indication, establish a communications link with charging gateway 330; And after receiving the acknowledge message of user based on the transmission of the charging confirmation page, to charging gateway 330, sending user's acknowledge messages, this user's acknowledge message comprises user ID, product IDs and the charging amount of money, SPID; And the interim charging that charging gateway 330 is returned confirms that ID is transmitted to online application server 310.
Charging gateway 330, can open to the Internet billing interface and charging and confirm interface, for after establishing a communications link with applications client 320, to applications client 320, push charging and confirm the page, this charging confirms that the page comprises product IDs, the charging amount of money and acknowledge character, and this acknowledge character is produced at random by charging gateway 330; And send user's acknowledge message to Business Management Platform 340; And the interim charging of Business Management Platform 340 distribution is confirmed to ID returns to applications client 320, and send accounting requests to Business Management Platform 340.
Business Management Platform 340, for the user's acknowledge message sending in response to charging gateway 330, generate interim order relations and distribute interim charging to confirm ID based on user's acknowledge message, this interim order relations comprises interim order relations ID, user ID, product IDs, the charging amount of money and SPID; And more whether exist user ID, product IDs, interim charging in the accounting request sending with charging gateway 330 to confirm the interim order relations that ID mates completely; In response to existing user ID, product IDs, interim charging with accounting request to confirm the interim order relations that ID mates completely, based on accounting request, carry out charging, in user account corresponding to user ID, deduct the charging amount of money.
Alternatively, when Business Management Platform 340 carries out charging based on accounting request, can record charging and the usage log of online application, record the necessary content of ticket institute, for example, timestamp, product or application ID, SPID, the charging amount of money, the message id of an accounting request of unique identification are, the user ID of a mobilephone terminal user of unique identification etc.
The embodiment of the present invention is because whole charging flow is initiated by same applications client, so can not interrupt ongoing online applied business flow process, while making user use online application, in applications client, use in the process of online application, if initiate to order value-added service in this online application, applications client pushes the charging confirmation page by calling charging gateway, user confirms charging by online mode, by Business Management Platform, distribute an interim charging to confirm sign (Charging AckID), online application server confirms that by this interim charging ID initiates accounting request to Business Management Platform, after Business Management Platform is verified this accounting request, do not interrupting under the prerequisite of ongoing online applied business, realizing user confirms to deduct fees, after only having user to confirm to deduct fees, could initiate actual accounting request to deduct fees by third-party product platform, Secure Billing and anti-swindle security mechanism in online application are provided, guaranteed the fail safe of charging, thereby protection user ' s right and user use the business experience of online application.
In addition, in the embodiment of the present invention, charging gateway setting separated with Business Management Platform, billing interface is opened by charging gateway, can realize flow control by charging gateway, and this core of charging realizes by Business Management Platform, be not exposed on public network, thereby can guarantee that core data on Business Management Platform avoids revealing from improper attack and the call charge service core data of the Internet.
Concrete example of the charge system embodiment of online application according to the present invention and unrestricted, when applications client 320 establishes a communications link with charging gateway 330, specifically can establish a communications link with charging gateway 330 by calling the charging confirmation unit (or being called charging confirmation plug-in unit) setting in advance, and send and confirm request to charging gateway 330, this confirmation request comprises product IDs and the charging amount of money.Standardization application plug-in or the API that plug-in unit provides by charging gateway 330 for operator confirmed in charging wherein, rises and comprises charging gateway 330 addresses, interface, can support the communication protocols such as HTTP, Socket.
Exemplarily, charging confirmation unit specifically can include but not limited to charging plug-in unit or API.
According to the present invention, another concrete example of the charge system embodiment of online application is and unrestricted, and charging gateway 330 specifically can push charging to applications client 320 by HTTP or Socket agreement and confirm the page.
In another embodiment of the charge system of the online application of the present invention, Business Management Platform 340 is also used in charging complete after, delete the interim order relations mating completely with user ID, product IDs, interim charging confirmation ID in accounting request.
In this specification, each embodiment all adopts the mode of going forward one by one to describe, and each embodiment stresses is the difference with other embodiment, same or analogous part cross-references between each embodiment.For device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part is referring to the part explanation of embodiment of the method.
May realize in many ways method and system of the present invention.For example, can realize method and system of the present invention by any combination of software, hardware, firmware or software, hardware, firmware.The said sequence that is used for the step of described method is only in order to describe, and the step of method of the present invention is not limited to above specifically described order, unless otherwise specified.In addition, in certain embodiments, can be also the program being recorded in recording medium by the invention process, these programs comprise for realizing the machine readable instructions of the method according to this invention.Thereby the present invention also covers storage for carrying out the recording medium of the program of the method according to this invention.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can complete by the relevant hardware of program command, aforesaid program can be stored in a computer read/write memory medium, this program, when carrying out, is carried out the step that comprises said method embodiment; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CDs.
In the embodiment of the present invention, Business Management Platform is opened charging by charging gateway and is confirmed interface, and provide the applications client plug-in unit of " charging confirmation unit ", online application server is undertaken alternately by triggering applications client charging confirmation unit and charging gateway, charging gateway can be confirmed to be in the situation of user's confirmation, distribute an interim charging to confirm ID, and feeding back to online application server by applications client, application server confirms that by interim charging ID initiates accounting request to Business Management Platform or charge system.Therefore, the embodiment of the present invention has following useful technique effect:
Proposed do not interrupting under mutual online application prerequisite, the interior charging entire flow mechanism of online application that has user to confirm, can effectively prevent that third party SP from swindling user;
Safety issue, problem of service interruption in billing technology in existing online application have been overcome;
Proposed complete End-to-End Security charging flow, mechanism is succinct, and charging confirms that API exploitation is simple, and has ensured that by charging gateway Business Management Platform/charge system core data avoids invading.

Claims (10)

1. a charging method for online application, is characterized in that, comprising:
Online application server receives after the order request information of applications client transmission, the charging amount of money corresponding to Product Identifying ID that user in this order request information asks the value-added service ordered is obtained in inquiry, and to described applications client, return to charging and confirm indication, described charging confirms that indication comprises described product IDs, the described charging amount of money and the sign SPID of application provider;
After applications client and charging gateway establish a communications link, charging gateway pushes charging to applications client and confirms the page, and described charging confirms that the page comprises product IDs, the charging amount of money and acknowledge character, and described acknowledge character is produced at random by described charging gateway;
Applications client receives user and based on charging, confirms that after the acknowledge message of page transmission, charging gateway sends user's acknowledge message to Business Management Platform, and described user's acknowledge message comprises user ID, described product IDs and the described charging amount of money, SPID;
Business Management Platform generates interim order relations and distributes interim charging to confirm ID based on described user's acknowledge message, and described interim order relations comprises interim order relations ID, user ID, product IDs, the charging amount of money and SPID;
Charging gateway confirms that by interim charging ID returns to applications client;
Applications client confirms that by described interim charging ID is transmitted to online application server;
Online application server sends accounting request by charging gateway to Business Management Platform, and described accounting request comprises user ID, product IDs and interim charging confirmation ID;
More whether Business Management Platform exists with user ID, product IDs, interim charging in accounting request is confirmed the interim order relations that ID mates completely;
In response to there is user ID, product IDs, interim charging with accounting request, confirm the interim order relations that ID mates completely, Business Management Platform carries out charging based on described accounting request, in user account corresponding to described user ID, deducts the described charging amount of money.
2. method according to claim 1, is characterized in that, applications client and charging gateway establish a communications link and be specially:
Applications client establishes a communications link by calling the charging confirmation unit and the charging gateway that set in advance, and sends and confirm request to described charging gateway, and described confirmation request comprises described product IDs and the described charging amount of money.
3. method according to claim 2, is characterized in that, described charging confirmation unit comprises charging plug-in unit or application programming interfaces API.
4. method according to claim 2, is characterized in that, charging gateway pushes charging to applications client and confirms that the page comprises:
Charging gateway pushes charging by HTML (Hypertext Markup Language) HTTP or socket Socket agreement to applications client and confirms the page.
5. according to the method described in claim 1 to 4 any one, it is characterized in that, also comprise:
After Business Management Platform charging completes, delete the interim order relations that user ID, product IDs, interim charging confirmation ID described and in accounting request mate completely.
6. a charge system for online application, is characterized in that, comprises online application server, applications client, charging gateway and Business Management Platform; Wherein:
Described online application server, for receiving after the order request information of applications client transmission, the charging amount of money corresponding to Product Identifying ID that user in this order request information asks the value-added service ordered is obtained in inquiry, and to described applications client, return to charging and confirm indication, described charging confirms that indication comprises described product IDs, the described charging amount of money and the sign SPID of application provider; And to Business Management Platform, sending accounting request by charging gateway, described accounting request comprises user ID, product IDs and interim charging confirmation ID;
Described applications client, for sending order request information to described online application server, confirms indication in response to receiving the charging that described online application server returns, and establishes a communications link with charging gateway; And after receiving the acknowledge message of user based on the transmission of the charging confirmation page, to charging gateway, sending user's acknowledge message, described user's acknowledge message comprises user ID, described product IDs and the described charging amount of money, SPID; And the interim charging that described charging gateway is returned confirms that ID is transmitted to online application server;
Described charging gateway, for after establishing a communications link with described applications client, to described applications client, push charging and confirm the page, described charging confirms that the page comprises product IDs, the charging amount of money and acknowledge character, and described acknowledge character is produced at random by described charging gateway; And send described user's acknowledge message to Business Management Platform; And the interim charging that Business Management Platform is distributed confirms that ID returns to applications client; And send described accounting request to Business Management Platform;
Described Business Management Platform, for generating interim order relations and distributing interim charging to confirm ID based on described user's acknowledge message, described interim order relations comprises interim order relations ID, user ID, product IDs, the charging amount of money and SPID; And more whether exist user ID, product IDs, interim charging in the accounting request sending with charging gateway to confirm the interim order relations that ID mates completely; In response to existing user ID, product IDs, interim charging with accounting request to confirm the interim order relations that ID mates completely, based on described accounting request, carry out charging, in user account corresponding to described user ID, deduct the described charging amount of money.
7. system according to claim 6, it is characterized in that, when described applications client and charging gateway establish a communications link, specifically by calling the charging confirmation unit and the charging gateway that set in advance, establish a communications link, and send and confirm request to described charging gateway, described confirmation request comprises described product IDs and the described charging amount of money.
8. system according to claim 7, is characterized in that, described charging confirmation unit comprises charging plug-in unit or application programming interfaces API.
9. system according to claim 7, is characterized in that, described charging gateway specifically pushes charging by HTML (Hypertext Markup Language) HTTP or socket Socket agreement to applications client and confirms the page.
10. according to the system described in claim 6 to 10 any one, it is characterized in that, described Business Management Platform, also for after completing in charging, is deleted the interim order relations that user ID, product IDs, interim charging confirmation ID described and in accounting request mate completely.
CN201310170514.7A 2013-05-10 2013-05-10 The charging method and system of application on site Active CN104144400B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310170514.7A CN104144400B (en) 2013-05-10 2013-05-10 The charging method and system of application on site

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310170514.7A CN104144400B (en) 2013-05-10 2013-05-10 The charging method and system of application on site

Publications (2)

Publication Number Publication Date
CN104144400A true CN104144400A (en) 2014-11-12
CN104144400B CN104144400B (en) 2017-11-07

Family

ID=51853451

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310170514.7A Active CN104144400B (en) 2013-05-10 2013-05-10 The charging method and system of application on site

Country Status (1)

Country Link
CN (1) CN104144400B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104463639A (en) * 2014-12-27 2015-03-25 华为软件技术有限公司 Business implementation method and business operation platform
CN105721894A (en) * 2014-12-05 2016-06-29 中国电信股份有限公司 Method,business platform and system for realizing user authentication charging
CN109756857A (en) * 2019-01-04 2019-05-14 中国联合网络通信集团有限公司 A kind of charging method and system accelerated based on mobile network
CN111309758A (en) * 2020-01-19 2020-06-19 北京金堤科技有限公司 Charging data verification and comparison method and device
CN114584398A (en) * 2022-04-28 2022-06-03 新华三人工智能科技有限公司 Charging management method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101304434A (en) * 2008-05-21 2008-11-12 中国联合通信有限公司 System and method for preventing WAP service from illegally ordering
US20120036075A1 (en) * 2010-08-09 2012-02-09 Microsoft Corporation Determining mobile account to apply marketplace charges
CN102469419A (en) * 2010-10-29 2012-05-23 中国电信股份有限公司 Method and device for charging client on line
CN102572764A (en) * 2010-12-08 2012-07-11 中国电信股份有限公司 On-line charging method of application program in mobile terminal, system thereof and user identification card

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101304434A (en) * 2008-05-21 2008-11-12 中国联合通信有限公司 System and method for preventing WAP service from illegally ordering
US20120036075A1 (en) * 2010-08-09 2012-02-09 Microsoft Corporation Determining mobile account to apply marketplace charges
CN102469419A (en) * 2010-10-29 2012-05-23 中国电信股份有限公司 Method and device for charging client on line
CN102572764A (en) * 2010-12-08 2012-07-11 中国电信股份有限公司 On-line charging method of application program in mobile terminal, system thereof and user identification card

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105721894A (en) * 2014-12-05 2016-06-29 中国电信股份有限公司 Method,business platform and system for realizing user authentication charging
CN104463639A (en) * 2014-12-27 2015-03-25 华为软件技术有限公司 Business implementation method and business operation platform
CN109756857A (en) * 2019-01-04 2019-05-14 中国联合网络通信集团有限公司 A kind of charging method and system accelerated based on mobile network
CN109756857B (en) * 2019-01-04 2021-07-20 中国联合网络通信集团有限公司 Charging method and system based on mobile network acceleration
CN111309758A (en) * 2020-01-19 2020-06-19 北京金堤科技有限公司 Charging data verification and comparison method and device
CN111309758B (en) * 2020-01-19 2024-02-13 北京金堤科技有限公司 Charging data verification comparison method and device
CN114584398A (en) * 2022-04-28 2022-06-03 新华三人工智能科技有限公司 Charging management method and system

Also Published As

Publication number Publication date
CN104144400B (en) 2017-11-07

Similar Documents

Publication Publication Date Title
CN104468518B (en) Business management method, device and system
CN102573112B (en) Telecommunication network capability opening method, system and alliance support platform
CN105814591A (en) Verification information transmission method and terminal
JP2019511762A (en) Message processing method, apparatus and system, and computer storage medium
CN104767613A (en) Signature verification method, device and system
CN106296144A (en) Payment processes server, client and payment processing method
CN110874742B (en) Payment method and device based on block chain and intelligent contract
CN104144400A (en) Online application charging method and system
CN104618101A (en) Data processing method, intermediate server and data processing system
CN106411825A (en) WeChat access token acquisition method and system thereof
CN109191194B (en) Method, device and system for processing card data and storage medium
CN102469419B (en) Method for charging on line, charging gateway and system of online application content
CN101803276B (en) Subscription and charge notice control
CN105338000A (en) Verification method and verification system
CN103179176A (en) Call method, device and system for web application in cloud/cluster environment
CN101304434B (en) System and method for preventing WAP service from illegally ordering
CN104766202A (en) Payment system, payment method and information checking method
CN103957189A (en) Application program interaction method and device
CN104955005A (en) Method and device for depositing for communication terminal
CN103139306B (en) Towards the method that the forwarding and business tie-up information interaction of browsing intercept page information obtain
TW202405714A (en) Payment method, apparatus and system based on 5G messaging application, and device and medium
CN104219263A (en) Push processing method and system for defaulting prompt information
KR20150118672A (en) Method and Apparatus for Processing Payment Based on Mobile
CN101707774A (en) Method and system for user authentication
KR101933551B1 (en) Internet alert message sending service apparatus capable of checking whether a message has been confirmed and operating method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant