Summary of the invention
The object of the present invention is to provide a kind of prepaid accounting method and system, improve systematic function when assurance user's multimedia service carries out smoothly.
In order to solve the problems of the technologies described above, the invention provides a kind of prepaid accounting method, comprise: MMS Relay/Server is being received when knowing that Online Charging System is in abnormality after request that Multimedia Message sends is carried out in the requirement of pre-payment transmit leg, send described Multimedia Message to the recipient, described Multimedia Message center needle generates interim charging bill to the operation that described pre-payment transmit leg sends described Multimedia Message, after described Online Charging System recovers normal condition, obtain described interim charging bill and the operation that described prepaid user sends described Multimedia Message is deducted fees.
Further, said method can also have following characteristics:
Described MMS Relay/Server is known after described recipient receives described Multimedia Message failure and is known when described Online Charging System is in abnormality, generates interim amendment bill/reimbursement bill; After described Online Charging System recovered normal condition, the deducting fees of operation of obtaining described interim amendment bill/reimbursement bill and described prepaid user being sent described Multimedia Message carried out extra money.
Further, said method can also have following characteristics:
MMS Relay/Server knows after request that Multimedia Message sends is carried out in the requirement of pre-payment transmit leg that the method that Online Charging System is in abnormality is one of following method receiving: after MMS Relay/Server is receiving that Multimedia Message is carried out in the requirement of pre-payment transmit leg, SCP to described Online Charging System sends the authentication request of deducting fees, when receiving the response message that comprises abnormal cause or in setting-up time, not receiving answer, know that Online Charging System is in abnormality; MMS Relay/Server is after receiving that Multimedia Message is carried out in the requirement of pre-payment transmit leg, send authentication request to authentication platform, described authentication platform receives that the back sends the authentication request of deducting fees to the SCP of described Online Charging System, after receiving the response message that comprises abnormal cause or in setting-up time, not receiving answer, notify the described Online Charging System of described MMS Relay/Server to be in abnormality.
Further, said method can also have following characteristics:
Described MMS Relay/Server is known that described recipient receives and known that the method that described Online Charging System is in abnormality is one of following method after the failure of described Multimedia Message: described MMS Relay/Server knows that described recipient receives described Multimedia Message failure back and sends the extra money request to the SCP of described Online Charging System, when receiving the response message that comprises abnormal cause or in setting-up time, not receiving answer, know that Online Charging System is in abnormality; Described MMS Relay/Server knows that described recipient receives described Multimedia Message failure back and sends the extra money request to authentication platform, described authentication platform receives that the back sends this extra money request to the SCP of described Online Charging System, after receiving the response message that comprises abnormal cause or in setting-up time, not receiving answer, notify the described Online Charging System of described MMS Relay/Server to be in abnormality.
Further, said method can also have following characteristics:
Described pre-payment transmit leg is portable terminal or service provider; Described MMS Relay/Server is the MMS Relay/Server of described pre-payment transmit leg ownership.
In order to solve the problems of the technologies described above, the present invention also provides a kind of prepayment charging system, comprising: described system comprises MMS Relay/Server, Online Charging System; Described MMS Relay/Server, be used for receiving when knowing that Online Charging System is in abnormality after request that Multimedia Message sends is carried out in the requirement of pre-payment transmit leg, send described Multimedia Message to the recipient, and the operation that sends described Multimedia Message at described pre-payment transmit leg generates interim charging bill; Described Online Charging System is used for after recovering normal condition, obtains described interim charging bill and the operation that described prepaid user sends described Multimedia Message is deducted fees.
Further, above-mentioned prepayment charging system can also have following characteristics:
Described MMS Relay/Server also is used to know after described recipient receives described Multimedia Message failure and knows when described Online Charging System is in abnormality, generates interim amendment bill/reimbursement bill; Described Online Charging System also is used for after recovering normal condition, and the deducting fees of operation of obtaining described interim amendment bill/reimbursement bill and described prepaid user being sent described Multimedia Message carried out extra money.
Further, above-mentioned prepayment charging system can also have following characteristics:
Described MMS Relay/Server, also be used for after receiving that Multimedia Message is carried out in the requirement of pre-payment transmit leg, SCP to described Online Charging System sends the authentication request of deducting fees, when receiving the response message that comprises abnormal cause or in setting-up time, not receiving answer, know that Online Charging System is in abnormality; Be used to also know that described recipient receives described Multimedia Message failure back and sends the extra money request to the SCP of described Online Charging System, when receiving the response message that comprises abnormal cause or in setting-up time, not receiving answer, know that Online Charging System is in abnormality.
Further, above-mentioned prepayment charging system can also have following characteristics:
Described prepayment charging system also comprises authentication platform; Described MMS Relay/Server also is used for after receiving that Multimedia Message is carried out in the requirement of pre-payment transmit leg, sends authentication request to authentication platform; Be used to also know that described recipient receives described Multimedia Message failure back and sends the extra money request to authentication platform; Also be used for receive that the authentication platform place sends show that described Online Charging System is in the message of abnormality after, know that described Online Charging System is in abnormality; Described authentication platform is after being used to receive the authentication request of described MMS Relay/Server transmission, to the SCP transmission authentication request of deducting fees of described Online Charging System; After also being used to receive the extra money request that described MMS Relay/Server sends, send this extra money request to the SCP of described Online Charging System; Also be used for when receiving the response message that comprises abnormal cause or in setting-up time, do not receive answer, notifying the described Online Charging System of described MMS Relay/Server to be in abnormality.
Further, above-mentioned prepayment charging system can also have following characteristics:
Described pre-payment transmit leg is portable terminal or service provider; Described MMS Relay/Server is the MMS Relay/Server of described pre-payment transmit leg ownership.
The present invention is by strengthening the function of MMS Relay/Server, make MMS Relay/Server guarantee that when Online Charging System is in abnormality user's multimedia service carries out smoothly, and write down interim ticket, after Online Charging System recovers normal condition, still can correctly charge, improve the performance of system and user's experience the use of this multimedia service.
Embodiment
Prepayment charging system comprises MMS Relay/Server and Online Charging System.
MMS Relay/Server writes down interim charging bill in the above-mentioned prepayment charging system when knowing the continuation execution that guarantees multimedia service after Online Charging System is in abnormality, makes Online Charging System recover to use this ticket to charge after the normal condition.The function implementation of this prepayment charging system is as follows:
MMS Relay/Server is used for receiving when knowing that Online Charging System is in abnormality after request that Multimedia Message sends is carried out in the requirement of pre-payment transmit leg, send described Multimedia Message to the recipient, and the operation that sends described Multimedia Message at described pre-payment transmit leg generates interim charging bill.Online Charging System is used for after recovering normal condition, obtains described interim charging bill and the operation that described prepaid user sends described Multimedia Message is deducted fees.
Concrete, MMS Relay/Server is after receiving that Multimedia Message is carried out in the requirement of pre-payment transmit leg, SCP to described Online Charging System sends the authentication request of deducting fees, when receiving the response message that comprises abnormal cause or in setting-up time, not receiving answer, know that Online Charging System is in abnormality.
When the recipient receives the failure of described Multimedia Message in the above-mentioned prepayment charging system, MMS Relay/Server is after knowing that Online Charging System is in abnormality, write down interim amendment bill/reimbursement bill, make Online Charging System recover to use this ticket to carry out extra money after the normal condition, guarantee the charging accuracy of Online Charging System.The function implementation of this prepayment charging system is as follows:
MMS Relay/Server is used to know after described recipient receives described Multimedia Message failure to be known when described Online Charging System is in abnormality, generates interim amendment bill/reimbursement bill.Online Charging System also is used for after recovering normal condition, and the deducting fees of operation of obtaining described interim amendment bill/reimbursement bill and described prepaid user being sent described Multimedia Message carried out extra money.
Concrete, MMS Relay/Server knows that described recipient receives described Multimedia Message failure back and sends the extra money request to the SCP of described Online Charging System, when receiving the response message that comprises abnormal cause or in setting-up time, not receiving answer, know that Online Charging System is in abnormality.
Can also comprise authentication platform in the above-mentioned prepayment charging system.This authentication platform is a unified Service Data Management platform, is used to finish the authentication to miscellaneous service, and the title in each operator is different.
It is as follows that MMS Relay/Server receives that the requirement of pre-payment transmit leg carries out knowing after the request that Multimedia Message sends that Online Charging System is in the implementation of abnormality:
MMS Relay/Server is used for after receiving that Multimedia Message is carried out in the requirement of pre-payment transmit leg, send authentication request to authentication platform, also be used for receive that the authentication platform place sends show that described Online Charging System is in the message of abnormality after, know that described Online Charging System is in abnormality.After authentication platform is used to receive the authentication request of described MMS Relay/Server transmission, SCP to described Online Charging System sends the authentication request of deducting fees, when receiving the response message that comprises abnormal cause or in setting-up time, do not receive answer, notify the described Online Charging System of described MMS Relay/Server to be in abnormality.
MMS Relay/Server knows that described recipient receives that to know that described Online Charging System is in the implementation of abnormality after the failure of described Multimedia Message as follows:
MMS Relay/Server is used to know that described recipient receives described Multimedia Message failure back and sends the extra money request to authentication platform.After authentication platform is used to receive the extra money request of described MMS Relay/Server transmission, SCP to described Online Charging System sends this extra money request, and when receiving the response message that comprises abnormal cause or in setting-up time, do not receive answer, notify the described Online Charging System of described MMS Relay/Server to be in abnormality.
The pre-payment transmit leg is portable terminal or service provider in this prepayment charging system; MMS Relay/Server is the MMS Relay/Server of described pre-payment transmit leg ownership.
As shown in Figure 1, the prepaid accounting method comprises: MMS Relay/Server is being received when knowing that Online Charging System is in abnormality after request that Multimedia Message sends is carried out in the requirement of pre-payment transmit leg, send described Multimedia Message to the recipient, described Multimedia Message center needle generates interim charging bill to the operation that described pre-payment transmit leg sends described Multimedia Message, after described Online Charging System recovers normal condition, obtain described interim charging bill and the operation that described prepaid user sends described Multimedia Message is deducted fees.
MMS Relay/Server knows after request that Multimedia Message sends is carried out in the requirement of pre-payment transmit leg that the method that Online Charging System is in abnormality is one of following method receiving:
One, MMS Relay/Server is after receiving that Multimedia Message is carried out in the requirement of pre-payment transmit leg, SCP to described Online Charging System sends the authentication request of deducting fees, when receiving the response message that comprises abnormal cause or in setting-up time, not receiving answer, know that Online Charging System is in abnormality.
Two, MMS Relay/Server is after receiving that Multimedia Message is carried out in the requirement of pre-payment transmit leg, send authentication request to authentication platform, described authentication platform receives that the back sends the authentication request of deducting fees to the SCP of described Online Charging System, after receiving the response message that comprises abnormal cause or in setting-up time, not receiving answer, notify the described Online Charging System of described MMS Relay/Server to be in abnormality.
When the recipient receives the failure of described Multimedia Message, MMS Relay/Server is after knowing that Online Charging System is in abnormality, write down interim amendment bill/reimbursement bill, make Online Charging System recover to use this ticket to carry out extra money after the normal condition, guarantee the charging accuracy of Online Charging System.Specifically comprise: MMS Relay/Server is known after described recipient receives described Multimedia Message failure and is known when described Online Charging System is in abnormality, generates interim amendment bill/reimbursement bill; After described Online Charging System recovered normal condition, the deducting fees of operation of obtaining described interim amendment bill/reimbursement bill and described prepaid user being sent described Multimedia Message carried out extra money.
MMS Relay/Server is known that described recipient receives and is known that the method that described Online Charging System is in abnormality is one of following method after the failure of described Multimedia Message:
One, MMS Relay/Server knows that described recipient receives described Multimedia Message failure back and sends the extra money request to the SCP of described Online Charging System, when receiving the response message that comprises abnormal cause or in setting-up time, not receiving answer, know that Online Charging System is in abnormality.
Two, MMS Relay/Server knows that described recipient receives described Multimedia Message failure back and sends the extra money request to authentication platform, described authentication platform receives that the back sends this extra money request to the SCP of described Online Charging System, after receiving the response message that comprises abnormal cause or in setting-up time, not receiving answer, notify the described Online Charging System of described MMS Relay/Server to be in abnormality.
Describe the present invention in detail with specific embodiment below.
Specific embodiment one:
Specific embodiment one is applicable to the flow process of the non-forward-shifting service of point-to-point multimedia message of pre-payment mobile phone users.May further comprise the steps as shown in Figure 2:
Step 1, the pre-payment portable terminal sends multimedia message requests message to MMSC, and MMSC carries out (adress analysis, route inspection, black and white lists etc.) after the inspection of this locality, returns response to transmit leg;
Step 2, MMSC judges and judges when the OCS system is in abnormality when the transmit leg user is the prepaid user, generates interim charging bill.
Concrete, MMSC judges when the transmit leg user is the prepaid user, send the authentication request of deducting fees to SCP, when receiving the response message that comprises abnormal cause or in setting-up time, not receiving answer, know that the OCS system is in abnormality (for example OCS can't set up the situation of link), MMSC generates interim charging bill, and continues execution in step 3 according to the flow process of the success of deducting fees.
MMSC judges when the transmit leg user is not the prepaid user, carries out back paying flow process, and idiographic flow does not specifically describe herein.
In this step, the OCS system carries out following flow process: MMSC when being in normal condition judge that the transmit leg user is the prepaid user after, send the authentication request of deducting fees to SCP, SCP deducts fees to the prepaid user according to multimedia message fee in the request message of deducting fees, the relevant ticket of deducting fees of record, return the authentication that the has operating result request-reply message of deducting fees to MMSC, whether the MMSC judgement deducts fees successful, if deduct fees successfully, and continue execution in step 3, if deduct fees failure, write down this failure ticket of deducting fees, and writing down corresponding wrong content, flow process is ended.
Step 3, MMSC to recipient's issuing message, judges that according to the acknowledge message of obtaining that the recipient returns the recipient receives whether success of Multimedia Message according to the 3GPP specification protocol, when receiving successfully, execution in step 4, when taking defeat, execution in step 5.
Step 4, MMSC writes down successful ticket, comprises the content of interim charging bill in this successful ticket, also comprises the deduct fees information of success of SCP.MMSC also receives success message to the transmit leg notice.
Step 5, MMSC when determining that the OCS system is in abnormality, generates interim amendment bill/reimbursement bill after knowing that the recipient receives the Multimedia Message failure.
Concrete, MMSC knows that the recipient receives Multimedia Message failure back and sends the extra money request message to SCP, when receiving the response message that comprises abnormal cause or in setting-up time, not receiving answer, know that Online Charging System is in abnormality, generate interim amendment bill/reimbursement bill.
Specific embodiment two:
Specific embodiment two is applicable to the flow process of the point-to-point multimedia message forward-shifting service of pre-payment mobile phone users.May further comprise the steps as shown in Figure 3:
Step 1, the pre-payment portable terminal sends multimedia message requests message to MMSC, and MMSC carries out (adress analysis, route inspection, black and white lists etc.) after the inspection of this locality, returns response to transmit leg;
Step 2, MMSC judges and judges when the OCS system is in abnormality when the transmit leg user is the prepaid user, generates interim charging bill.
Concrete, MMSC judges when the transmit leg user is the prepaid user, send the authentication request of deducting fees to SCP, when receiving the response message that comprises abnormal cause or in setting-up time, not receiving answer, know that the OCS system is in abnormality (for example OCS can't set up the situation of link), MMSC generates interim charging bill, and continues execution in step 3 according to the flow process of the success of deducting fees.
MMSC judges when the transmit leg user is not the prepaid user, carries out back paying flow process, and idiographic flow does not specifically describe herein.
In this step, the OCS system carries out following flow process: MMSC when being in normal condition judge that the transmit leg user is the prepaid user after, send the authentication request of deducting fees to SCP, SCP deducts fees to the prepaid user according to multimedia message fee in the request message of deducting fees, the relevant ticket of deducting fees of record, return the authentication that the has operating result request-reply message of deducting fees to MMSC, whether the MMSC judgement deducts fees successful, if deduct fees successfully, and continue execution in step 3, if deduct fees failure, write down this failure ticket of deducting fees, and writing down corresponding wrong content, flow process is ended.
Step 3, MMSC is according to recipient user's route, carry out forwarding to before the multimedia message and change after the multimedia message before recipient's multimedia hub MMSC B receives, direct issuing message, do not need pre-payment to deduct fees, after MMSCB finishes and issues, before transmit leg MMS center MMSCA sends, move on to and pass report, carry message and issue state, MMSCA judges whether recipient user's receiving multimedia information is successful, judges according to the acknowledge message of obtaining that the recipient returns whether the recipient receives Multimedia Message successful, when receiving successfully, execution in step 4, when taking defeat, execution in step 5.
Step 4, MMSC writes down successful ticket, comprises the content of interim charging bill in this successful ticket, also comprises the deduct fees information of success of SCP.MMSC also issues the delivery report notice to transmit leg and receives success message.
Step 5, MMSC when determining that the OCS system is in abnormality, generates interim amendment bill/reimbursement bill after knowing that the recipient receives the Multimedia Message failure.
Concrete, MMSC knows that the recipient receives Multimedia Message failure back and sends the extra money request message to SCP, when receiving the response message that comprises abnormal cause or in setting-up time, not receiving answer, know that Online Charging System is in abnormality, generate interim amendment bill/reimbursement bill.
Specific embodiment three:
Specific embodiment three is applicable to the flow process of the point-to-point multimedia message forward-shifting service of SP.Flow process is basic identical in flow process in this specific embodiment three and the specific embodiment one as shown in Figure 4, and difference is that the pre-payment transmit leg is SP in the specific embodiment three, and the pre-payment transmit leg is a portable terminal in the specific embodiment one.
Specific embodiment four:
Specific embodiment four is applicable to the flow process of using external authentication in the non-forward-shifting service of point-to-point multimedia message of pre-payment mobile phone users.This specific embodiment is with the difference of concrete enforcement one, needs via authentication platform when MMSC communicates by letter with SCP in this specific embodiment, but and MMSC and SCP direct communication in the specific embodiment one.
May further comprise the steps as shown in Figure 5:
Step 1, the pre-payment portable terminal sends multimedia message requests message to MMSC, and MMSC carries out (adress analysis, route inspection, black and white lists etc.) after the inspection of this locality, returns response to transmit leg;
Step 2, MMSC judges and judges when the OCS system is in abnormality when the transmit leg user is the prepaid user, generates interim charging bill.
Concrete, MMSC judges when the transmit leg user is the prepaid user, send authentication request to authentication platform, authentication platform receives that the back sends the request of deducting fees of this authentication to SCP, when receiving the response message that comprises abnormal cause or in setting-up time, not receiving answer, be in abnormality (for example OCS can't set up the situation of link) by Authentication Response notice MMSC OCS system, MMSC knows that the OCS system is in abnormality, generate interim charging bill, and continue execution in step 3 according to the flow process of the success of deducting fees.
MMSC judges when the transmit leg user is not the prepaid user, carries out back paying flow process, and idiographic flow does not specifically describe herein.
In this step, the OCS system carries out following flow process: MMSC when being in normal condition judge that the transmit leg user is the prepaid user after, send authentication request to authentication platform, authentication platform receives that the back sends the request of deducting fees of this authentication to SCP, SCP deducts fees to the prepaid user according to multimedia message fee in the request message of deducting fees, the relevant ticket of deducting fees of record returns the authentication that the has operating result request-reply message of deducting fees to authentication platform, authentication platform with this result notification to MMSC.Whether the MMSC judgement deducts fees successful, if deduct fees successfully, and continues execution in step 3, if deduct fees failure, writes down this failure ticket of deducting fees, and writes down corresponding wrong content, and flow process is ended.
Step 3, MMSC to recipient's issuing message, judges that according to the acknowledge message of obtaining that the recipient returns the recipient receives whether success of Multimedia Message according to the 3GPP specification protocol, when receiving successfully, execution in step 4, when taking defeat, execution in step 5.
Step 4, MMSC writes down successful ticket, comprises the content of interim charging bill in this successful ticket, also comprises the deduct fees information of success of SCP.MMSC also receives success message to the transmit leg notice.
Step 5, MMSC when determining that the OCS system is in abnormality, generates interim amendment bill/reimbursement bill after knowing that the recipient receives the Multimedia Message failure.
Concrete, MMSC knows that the recipient receives Multimedia Message failure back and sends the extra money request message to authentication platform, authentication platform receives that the back sends the extra money request message to SCP, when receiving the response message that comprises abnormal cause or in setting-up time, not receiving answer, know that Online Charging System is in abnormality, this OCS system of notice MMSC is in abnormality, and MMSC generates interim amendment bill/reimbursement bill after knowing that the OCS system is in abnormality.
Specific embodiment five:
Specific embodiment five is applicable to the flow process of using external authentication in the point-to-point multimedia message forward-shifting service of pre-payment mobile phone users.This specific embodiment is with the difference of concrete enforcement two as shown in Figure 6, need via authentication platform when MMSC communicates by letter with SCP in this specific embodiment, but and MMSC and SCP direct communication in the specific embodiment two.When communicating by letter with SCP, concrete MMSC, no longer is repeated in this description via identical in the idiographic flow of authentication platform and the specific embodiment four herein.
Specific embodiment six:
Specific embodiment six is applicable to the flow process of using external authentication in the point-to-point multimedia message forward-shifting service of SP.This specific embodiment is with the difference of concrete enforcement three as shown in Figure 7, need via authentication platform when MMSC communicates by letter with SCP in this specific embodiment, but and MMSC and SCP direct communication in the specific embodiment three.When communicating by letter with SCP, concrete MMSC, no longer is repeated in this description via identical in the idiographic flow of authentication platform and the specific embodiment four herein.
In this prepaid accounting method, by strengthening the function of MMS Relay/Server, make MMS Relay/Server guarantee that when Online Charging System is in abnormality user's multimedia service carries out smoothly, and write down interim ticket, after Online Charging System recovers normal condition, still can correctly charge, improve the performance of system and user's experience the use of this multimedia service.
For example, when the OSC system all is in abnormality and recipient and takes defeat in the sending direction recipient sends the process of Multimedia Message, MMSC records interim charging bill and interim amendment bill/reimbursement bill, after the OSC system restoration normal condition, know this interim charging bill and interim amendment bill/reimbursement bill from MMSC, after according to interim charging bill transmit leg being deducted fees, because the recipient does not successfully receive Multimedia Message, according to interim amendment bill/reimbursement bill transmit leg is carried out extra money again, thereby guarantee accurate billing this operation flow.
Again for example, sending direction MMSC request sends Multimedia Message to the recipient, the OSC system is in abnormality, treat that MMSC generates interim charging bill, and after recipient's transmitting multimedia message, the OSC system restoration is normal, and the recipient successfully receives, interim charging bill is known from MMSC in the OSC system, and this transmit leg is deducted fees, and guarantees the accurate billing to this operation flow.
Again for example, sending direction MMSC request sends Multimedia Message to the recipient, the OSC system is in normal condition, after transmit leg deducted fees, MMSC is to recipient's transmitting multimedia message, OSC carries out abnormality, the recipient receives the Multimedia Message failure, after MMSC writes down interim amendment bill/reimbursement bill, OSC system restoration normal condition, know interim amendment bill/reimbursement bill from MMSC after because the recipient does not successfully receive Multimedia Message, according to interim amendment bill/reimbursement bill transmit leg is carried out extra money, guarantee accurate billing this operation flow.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.
One of ordinary skill in the art will appreciate that all or part of step in the said method can instruct related hardware to finish by program, described program can be stored in the computer-readable recording medium, as read-only memory, disk or CD etc.Alternatively, all or part of step of the foregoing description also can use one or more integrated circuits to realize.Correspondingly, each the module/unit in the foregoing description can adopt the form of hardware to realize, also can adopt the form of software function module to realize.The present invention is not restricted to the combination of the hardware and software of any particular form.