WO2013178186A2 - Fee deduction method and apparatus - Google Patents

Fee deduction method and apparatus Download PDF

Info

Publication number
WO2013178186A2
WO2013178186A2 PCT/CN2013/080509 CN2013080509W WO2013178186A2 WO 2013178186 A2 WO2013178186 A2 WO 2013178186A2 CN 2013080509 W CN2013080509 W CN 2013080509W WO 2013178186 A2 WO2013178186 A2 WO 2013178186A2
Authority
WO
WIPO (PCT)
Prior art keywords
call
pps
message
access
msc
Prior art date
Application number
PCT/CN2013/080509
Other languages
French (fr)
Chinese (zh)
Other versions
WO2013178186A3 (en
Inventor
郭沛仪
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2013178186A2 publication Critical patent/WO2013178186A2/en
Publication of WO2013178186A3 publication Critical patent/WO2013178186A3/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1432Metric aspects
    • H04L12/1439Metric aspects time-based
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/64On-line charging system [OCS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/82Criteria or parameters used for performing billing operations
    • H04M15/8207Time based data metric aspects, e.g. VoIP or circuit switched packet data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/487Arrangements for providing information services, e.g. recorded voice services or time announcements
    • H04M3/493Interactive information services, e.g. directory enquiries ; Arrangements therefor, e.g. interactive voice response [IVR] systems or voice portals

Definitions

  • the present invention relates to the field of communications, and in particular, to a charging method and apparatus.
  • OCS Online Charging System
  • the charging system framework separates call access and charging control, and can be controlled in real time. User credit, reduce arrears, reduce bad debt costs, and effectively control operational risks.
  • the interaction between the call access and the charging control is mainly through the Diameter Credit Control (DCC) interface message and the Man-Machine Language (MML) interface message.
  • DCC Diameter Credit Control
  • MML Man-Machine Language
  • the Diameter protocol has the advantages of high reliability and good failure mechanism, and is mainly applied to a prepaid Paid Service (PPS) system.
  • PPS prepaid Paid Service
  • the MML interface message has the advantages of easy understanding and simple message interaction, and is mainly applied to an Interactive Voice Response (IVR) system.
  • the current PPS system mainly handles the function of the user to make a call, and completes the real-time charging requirement of the user call.
  • the IVR system mainly provides users with a series of services such as recharge, check balance, transfer, family number management, brand management, connection to a third party or operator. Among these services, services such as top-up, check balance, transfer, etc. are usually free for users.
  • the management of family number, brand management and other services use the method of pay-per-view.
  • the user charges a change every time a change is made. Such billing can be easily solved through the MML interface. Connecting third parties or operators is a special service.
  • FIG. 1 is a flowchart of a charging operation of an IVR system according to the related art. As shown in FIG.
  • Step S102 a user initiates a call, and a mobile switching center (Mobile Switch Center, Referred to as MSC), the IVR service on the Service Control Point (SCP) is triggered according to the Originating CAMEL Subscription Information (O CSI).
  • Step S104 After the MVR message is successfully authenticated by the MML message to the OCS side, the request report BCSM Event (abbreviated as RRBE) and the Connect To Resource (CTR) message are used to establish a playback connection with the MSC. .
  • Step SI 06 after the connection of the playback is successfully established, the IVR service plays the main menu for the user through a Prompt And Collect User Information (P&C) message.
  • P&C Prompt And Collect User Information
  • Step S108 the MSC returns the user's input through P&C_res.
  • Step S110 After receiving the response from the user, the IVR service analyzes the function corresponding to the button input by the user, and finds that the third party or the attendant function is connected, and then sends a Disconnect Forward Connect (DFC) message to cut off the playback. Resource connection.
  • DFC Disconnect Forward Connect
  • step S112 the IVR service performs the call authentication of the connected operator to the OCS side through the initial CCR message (CCRJNITIAL) message, and applies for the time slice.
  • Step S114 the OCS returns the duration of the time slice of the call by responding to the message CCA_INITIAL message.
  • step S116 the JVR service delivers the RRBE, the application charging (Apply Charge, AC for short), and the CO NECT message to the third party or the attendant.
  • step S118 the MSC notifies the IVR service to connect with the third party or the attendant is successful through an event report (BCS, ERB for short) message.
  • step S120 the MSC notifies the message through an Apply Charging Report (ACR) message.
  • ACR Apply Charging Report
  • Step S122 The IVR service sends a second time slice request to the OCS side through a CCR update message (CCRJJPDATE) message.
  • Step S124 the OCS returns the duration of the second time slice by using the response message CCA_UPDATE.
  • Step S126 The IVR service sends an AC, and notifies the MSC to continue the call.
  • Step S130 the IVR service sends an end CCR message according to the duration reported by the MSC.
  • step S132 the OCS returns the deduction result by the response message CCA_TERMINAL.
  • step S134 the IVR service delivers the RC to end the entire call. As can be seen from the above process, from step S116 to step S134, these steps are a complete step of processing a call, and the IVR system performs the real-time deduction function of calling a third party in the above manner, which may cause the processing logic of the IVR system to be complicated. The amount of code is large, and development resources are wasted. In view of the complicated problem of the deduction operation of the IVR system in the related art, an effective solution has not been proposed yet.
  • a method for charging a fee comprising: receiving, by a PPS system, a call of an IVR system to access the PPS system; the PPS system is at the end of the session of the call, according to the session The length of time applies to the online billing system for a deduction.
  • the receiving, by the PPS system, the call of the IVR system to access the PPS system includes: replacing the service key information with the service key information of the PPS system, and replacing the access number of the called party of the call with the PPS.
  • the called number of the system the PPS system receives the replaced service key information sent by the IVR system, and the replaced called number; and the PPS system connects to the called party.
  • the above IVR system replaces the access number of the called party with the called number of the PPS system, and if the configuration format of the access number is a domestic number format, the IVR system sets the attribute value of the access number to be domestic.
  • the above IVR system sets the attribute value of the access number to an international number; if the configuration format of the access number is 00+ country code + number format, The above IVR system sets the attribute value of the access number to be unknown, or the IVR system modifies the configuration format of the access number to the country code + number format, and sets the attribute value of the access number to the international number. .
  • the method further includes: the IVR system acquiring the call time and the access number of the called party And the calling party number is included in the CDR bill.
  • the foregoing PPS system is connected to the called party, and the foregoing PPS system requests the OCS side to access the call authentication of the called party, and applies for accessing a time slice of the called party; the PPS system receives the return of the OCS side.
  • the method further includes: after receiving the call of the current time slice fed back by the MSC, the PPS system applies for the next time slice to the OCS side; the PPS system receives the OCS side.
  • the PPS system sends a notification message to the MSC, where the notification message is used to notify the MSC to continue to perform a call operation; and the PPS system receives the notification of the end of the session of the call returned by the MSC And the length of the session.
  • the method for the PPS system to apply for the deduction of the online charging system according to the duration of the session includes: the PPS system sending a deduction indication message to the OCS side according to the duration of the session returned by the MSC, where the deduction indication message is used to indicate the foregoing The OCS side performs a deduction operation; the PPS system receives the deduction result of the OCS side feedback.
  • a charging device comprising: a call obtaining module, configured to receive a call of an IVR system to access the PPS system; and a charging application module, configured to be At the end of the session of the call, the online charging system is applied for a deduction according to the duration of the session.
  • the call obtaining module includes: a receiving unit configured to receive the replaced service key information sent by the IVR system, and the replaced called number; and a connecting unit configured to connect to the called party.
  • the connection unit includes: an application subunit, configured to request the OCS side to access the call authentication of the called party, and apply to access a time slice of the called party; the duration receiving subunit is configured to receive the OCS side Returning the duration of the time slice; the message delivery subunit is configured to send a connection message to the MSC, where the connection message is used to indicate that the called party is connected; the message receiving subunit is configured to receive the connection returned by the MSC Enter the above successful message of the called party.
  • the device further includes: an application module, configured to apply to the OCS side for the next time slice after receiving the call of the current time slice fed back by the MSC; and the duration receiving module is configured to receive the next one returned by the OCS side The duration of the time slice; the message delivery module is set to send a notification message to the MSC, The notification message is used to notify the MSC to continue to perform a call operation; the duration receiving module is configured to receive the notification of the end of the session of the call returned by the MSC and the duration of the session.
  • an application module configured to apply to the OCS side for the next time slice after receiving the call of the current time slice fed back by the MSC
  • the duration receiving module is configured to receive the next one returned by the OCS side The duration of the time slice
  • the message delivery module is set to send a notification message to the MSC, The notification message is used to notify the MSC to continue to perform a call operation
  • the duration receiving module is configured to receive the notification of the end of the session of the call returned by the MSC and the duration
  • the deduction application module includes: an indication message sending module, configured to send a deduction instruction message to the OCS side according to the duration of the session returned by the MSC, where the deduction indication message is used to indicate that the OCS side performs a deduction operation;
  • the result receiving unit is configured to receive the deduction result of the OCS side feedback.
  • FIG. 3 is a user accessing an operator according to an embodiment of the present invention.
  • FIG. 4 is a structural block diagram of a charging device according to an embodiment of the present invention.
  • FIG. 5 is a block diagram showing a specific structure of a charging device according to an embodiment of the present invention;
  • an embodiment of the present invention provides a method and device for charging. The details will be described below by way of examples.
  • the embodiment provides a deduction method, as shown in the flowchart of the deduction method shown in FIG.
  • the method includes the following steps (step S202 - step S204): Step S202, the PPS system receives the IVR system to access the above The call of the PPS system; Step S204, the PPS system applies for a charge to the online charging system according to the duration of the session when the session of the call ends.
  • Step S202 the PPS system receives the IVR system to access the above The call of the PPS system
  • Step S204 the PPS system applies for a charge to the online charging system according to the duration of the session when the session of the call ends.
  • the deduction fee solves the complicated problem of the deduction operation of the IVR system in the related art, thereby simplifying the processing logic and the processing flow, reducing the amount of code, and reducing the waste of development resources.
  • the call to be accessed to the PPS system includes: The IVR system replaces the service key information with the service key information of the PPS system, and replaces the access number of the called party with the called number of the PPS system; the PPS system receives the IVR system to send The above-mentioned service key information after replacement, and the above-mentioned called number after replacement; the PPS system is connected to the called party.
  • the number attribute is generally set to the domestic attribute, because the operator's number is generally the domestic number.
  • the conversion can be performed according to the following rules:
  • the configuration format is a domestic number format, and the IVR system sets the attribute value of the access number to the domestic number; if the configuration format of the access number is the country code + number format, the IVR system sets the attribute value of the access number to the international number. If the configuration format of the access number is 00+country code+number format, the IVR system sets the attribute value of the access number to unknown, or the IVR system modifies the configuration format of the access number to the country code+number format. , and then set the attribute value of the above access number to an international number.
  • the IVR system After the IVR system accesses the PPS system, the IVR system is processed. Since the data area of the IVR system has been released when accessing the PPS system, the IVR system has no way to monitor the completion of the PPS system, so the access is In the PPS system, the IVR system needs to record the time of accessing the PPS system, the connected third party or the operator's number, and the calling number into the generated CDR bill. When an abnormality occurs in the OCS charging system, You can use the start time in the CDR recorded by the IVR system, the calling number, the connected third party or the operator's number (equivalent to the called number in the PPS system CDR), for the PPS system. Sorting is performed separately.
  • the present embodiment provides a preferred implementation manner, that is, after the PPS system receives the service key information sent by the IVR system and the access number of the called party of the call, the method further includes: an IVR system The acquisition time of the above call, the access number of the called party, and the calling party number are included in the CDR bill.
  • the process of connecting the called party to the called party is basically similar to the process of connecting the called party to the IVR system.
  • the execution subject is converted from the IVR system to the PPS system.
  • the following describes the process of connecting the called party to the PPS system.
  • the PPS system is connected to the called party.
  • the PPS system requests the OCS side to access the call authentication of the called party, and applies for accessing a time slice of the called party;
  • the PPS system receives the duration of the time slice returned by the OCS side;
  • the MSC sends a connection message, where the connection message is used to indicate that the called party is connected; and the PPS system receives the message that the MSC returns the access to the called party successfully.
  • the method further includes: after receiving the call of the current time slice fed back by the MSC, the PPS system applies for the next time slice to the OCS side; and the PPS system receives the foregoing return of the OCS side.
  • the duration of a time slice the PPS system sends a notification message to the MSC, wherein the notification message is used to notify the MSC to continue performing the call operation; and the PPS system receives the notification of the end of the session of the call returned by the MSC and the duration of the session.
  • the PPS system needs to apply for a deduction to the online charging system.
  • the PPS system applies for a deduction to the online charging system according to the duration of the session: the PPS system returns the session according to the foregoing MSC.
  • the time limit is sent to the OCS side, and the deduction instruction message is used to indicate that the OCS side performs the deduction operation; and the PPS system receives the deduction result of the OCS side feedback.
  • Both the IVR system and the PPS system are active and are on the same service control point SCP platform.
  • Step S302 the user initiates a call
  • the MSC triggers the service according to the 0_CSI.
  • the IVR system determines that the called number is the management access code and enters the IVR management process.
  • the IVR system sends an RRBE (O ABANDON, the caller gives up), and the CTR connects to the MSC.
  • Step S306 the IVR system plays the main menu for the user through the P&C message.
  • Step S308 the MSC returns the user's input through P&C_res.
  • the IVR system analyzes the function corresponding to the button input by the user, and finds that it is a third party or an attendant function, and then sends a DFC message, disconnects the playback resource, and prepares to connect the operator.
  • the IVR system needs the third party or operator number of the access code and the service key of the PPS system to be transmitted to the signaling conversion module.
  • the signaling conversion module deletes the data area occupied by the IVR service, and then copies the IDP message received in step 201, and replaces the service key in the copied IDP message with the service key of the PPS, and the called number is replaced.
  • the IDP message generated in this step has no new session number compared to the general message.
  • the session number is extended to the session number of step 201, and the IDP is invisible externally and is an internal message.
  • the number attribute is generally set to the domestic attribute, because the operator's number is generally the domestic number. If the configuration is not the domestic number format, the conversion can be performed according to the following rules:
  • the operator number format is configured as In the domestic number format, the number attribute value is set to the domestic number.
  • the number attribute value is set to the international number.
  • the operator number format is configured in the format of 00+country code+number
  • the number attribute value is set to unknown, or it is normalized on the IVR service side, 00 is removed, and the number attribute value is set to international.
  • the PPS system performs call authentication for connecting the attendant to the OCS side through the initial CCR message (CCR_INITIAL) message, and applies for a time slice.
  • the OCS returns the duration of the time slice of the call by responding to the message CCAJNITIAL message.
  • Step S318, the PPS system sends an RRBE, an application charging (AC), a CONTINUE message to connect to a third party or an attendant.
  • the CONTINUE message is sent here because the called number received by the PPS system is the number that needs to be connected.
  • the MSC informs the PPS system to connect with the third party or the attendant is successful through the ERB (o_answer) message.
  • Step S322 the MSC notifies the PPS system through the ACR message that the first time slice has ended the call.
  • Step S324 the PPS system sends a second time slice request to the OCS side through a CCR update message (CCRJJPDATE) message.
  • CCRJJPDATE CCR update message
  • Step S326, the OCS returns the duration of the second time slice by responding to the message CCA_UPDATE.
  • Step S328 the PPS system sends an AC, and notifies the MSC to continue the call.
  • Step S330 after the user calls the attendant, the MSC returns the time of connecting the third party or the attendant through the ACR and the ERB message, and notifies the end of the service call.
  • Step S332 the PPS system sends an end CCR message (CCR TERMINAL) according to the duration reported by the MSC, and notifies the OCS to perform the deduction.
  • step S334 the OCS returns the deduction result by the response message CCA_TERMINAL.
  • Step S336, the PPS system sends an RC to end the entire call.
  • FIG. 4 is a structural block diagram of a charging device according to an embodiment of the present invention. As shown in FIG. 4, the device includes: a call obtaining module 10 and a charge application module 20. The structure will be described below.
  • the call obtaining module 10 is configured to receive a call that the IVR system wants to access the PPS system.
  • the charge application module 20 is connected to the call acquisition module 10, and is set to be online according to the duration of the session at the end of the session of the call.
  • the billing system applies for a deduction.
  • the access call and the chargeback operation are handled by the PPS system, and the IVR system accesses the call to the PPS system, and then the PPS system goes to the online charging system according to the duration of the session at the end of the session of the call.
  • Applying the deduction fee solves the complicated problem of the deduction operation of the IVR system in the related technology, thereby simplifying the processing logic and processing flow, reducing the amount of code, and reducing the waste of development resources.
  • FIG. 5 is a preferred embodiment according to the present invention.
  • the call acquiring module 10 further includes: a receiving unit 12 and a connecting unit 14 in addition to the modules in FIG. The structure will be described below.
  • the receiving unit 12 is configured to receive the replaced service key information sent by the IVR system, and the replaced called number; the connecting unit 14 is connected to the receiving unit 12 and configured to connect to the called party.
  • this embodiment provides a preferred implementation manner, that is, in the case that the configuration format of the access number is a domestic number format, the IVR system sets the attribute value of the access number to a domestic number; In the case where the configuration format is the country code + number format, the IVR system sets the attribute value of the access number to an international number; in the case where the configuration format of the access number is 00+country code+number format, the IVR system The attribute value of the access number is set to be unknown, or the IVR system modifies the configuration format of the access number to the country code + number format, and then sets the attribute value of the access number to the international number.
  • the connecting unit 18 includes: an application subunit, configured to request access to the call party of the called party to the OCS side, and apply to access the called party. a time slot; a time receiving subunit, configured to receive the duration of the time slice returned by the OCS side; a message sending subunit, configured to send a connection message to the MSC, where the connection message is used to indicate that the called party is connected.
  • the message receiving unit is configured to receive a message that the foregoing MSC returns to access the called party successfully.
  • the device further includes: an application module, configured to apply to the OCS side for the next time slice after receiving the call of the current time slice fed back by the MSC; and the duration receiving module is configured to receive the next one returned by the OCS side a message delivery module, configured to send a notification message to the MSC, where the notification message is used to notify the MSC to continue to perform a call operation; and the duration receiving module is configured to receive the session end of the call returned by the MSC Notifications and the length of the session.
  • an application module configured to apply to the OCS side for the next time slice after receiving the call of the current time slice fed back by the MSC
  • the duration receiving module is configured to receive the next one returned by the OCS side
  • a message delivery module configured to send a notification message to the MSC, where the notification message is used to notify the MSC to continue to perform a call operation
  • the duration receiving module is configured to receive the session end of the call returned by the MSC Notifications and the length of the session.
  • the deduction application module includes: an indication message sending module, configured to be according to the duration of the session returned by the MSC, to the foregoing
  • the OCS side sends a deduction fee indication message, where the deduction instruction message is used to indicate that the OCS side performs a deduction operation
  • the result receiving unit is configured to receive the deduction result of the OCS side feedback.
  • the IVR system is integrated with the PPS system through the signaling conversion module, and when the third-party or the attendant is not well implemented in the IVR system, the problem of charging by the time is not well realized.
  • FIG. 6 is a network element for charging by the user when the user accesses the operator according to the embodiment of the present invention.
  • the message interaction diagram is as shown in Figure 6.
  • the above-mentioned time-based charging process is as follows: First, the user accesses the IVR system by dialing the IVR access code, and the IVR system authenticates the user and then plays the menu for the user to select.
  • the user selects to access a third party or attendant based on the menu options.
  • the IVR system obtains the status, brand, and other information of the user through the MML message to the OCS charging system, and uses the information to determine whether the user is allowed to use the IVR service, and which menu to dial to the user.
  • the IVR system connects the call to the PPS system.
  • the IVR system transmits the number of the third party or operator who needs the access code and the service key of the PPS system to the signaling conversion module.
  • the signaling conversion module connects the call to the prepaid PPS system.
  • the IVR system completes the recording of the CDR and the statistics of the service.
  • the online charging system is authenticated and applied for a long-term operation, and at the end of the session, according to the duration reported by the MSC, the online charging system is applied for a deduction.
  • the accessed PPS system is in the same SCP as the IVR system (Service Control
  • This embodiment mainly generates a virtual IDP message through a signaling conversion module, and needs to access a third party or an attendant in the IVR service, and transmits the number of the third party or the attendant to the PPS service through the IDP message. deal with.
  • the connection and third party or operator's connection and real-time charging requirements are completed by the PPS service.
  • the PPS service can be fully utilized in the IVR service to complete the real-time charging processing capability between the OPS charging processing module and the better accounting abnormality protection capability.
  • the operation of connecting the third party or the operator and the operation of deduction are handled by the PPS system, which greatly reduces the code amount of the IVR system, and for the IVR system, only the configuration needs to be accessed.
  • the processing logic is also much simpler, and the PPS system does not need to be modified. In the event of an emergency, the PPS system can also be processed in accordance with general logic.
  • the present invention ensures the charging processing requirements of the IVR system to connect with a third party or an attendant, and fully multiplexes the existing functions, improves the development efficiency, and saves the development cost.
  • the invention can be widely used in IVR business application systems of various countries and regions in the world. Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices.
  • the computing device may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Meter Arrangements (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Telephonic Communication Services (AREA)

Abstract

Disclosed are a fee deduction method and apparatus. The method comprises: a PPS system receiving a call from an IVR system attempting to access the PPS system; and at the end of a session of the call, the PPS system applying an online charging system for fee deduction according to a time length of the session. By means of the present invention, access calls and fee deduction operations are processed by the PPS system, the IVR system connects the call to the PPS system, and at the end of the session of the call, the PPS applies the online charging system for fee deduction according to the time length of the session, thereby solving a problem of complex fee deduction operations of the IVR system in the related art, further simplifying processing logic and a processing procedure, reducing the amount of code, and reducing the waste of development resources.

Description

扣费方法及装置  Deduction method and device
技术领域 本发明涉及通信领域, 具体而言, 涉及一种扣费方法及装置。 背景技术 在智能网领域中, 在线计费系统 (Online Charging System, 简称为 OCS) 是应用 最广泛的计费系统框架, 这种计费系统框架将呼叫接入与计费控制分离, 可以实时控 制用户信用、 减少欠费、 降低坏帐成本, 有效地控制了运营风险。 呼叫接入与计费控 制之间主要是通过 Diameter协议(Diameter Credit Control, 简称为 DCC)接口消息和 人机接口语言 (Man-Machine Language, 简称为 MML)接口消息进行交互。 Diameter 协议具备可靠性高、 良好的失败机制等优点, 使其主要应用于预付费的呼叫处理业务 (Prepaid Paid Service, 简称为 PPS) 系统中。 MML接口消息的易于理解、 消息交互 简单等优点,使其主要应用于交互式语音应答(Interactive Voice Response,简称为 IVR) 系统中。 目前的 PPS系统主要处理用户的拨打电话的功能,完成用户呼叫的实时计费要求。 IVR系统主要为用户提供了例如充值、 查询余额、 转账、 亲情号码的管理、 品牌的管 理、 连接第三方或者话务员等一系列的服务。 在这些服务中, 充值、 查询余额、 转账 等服务通常是免费供用户使用。 亲情号码的管理、 品牌的管理等服务多采用按次计费 的方式, 用户每进行一次变更收取一次变更的费用, 这样的计费, 可以通过 MML接 口很容易得到解决。 连接第三方或者话务员这些服务比较特殊, 其运营成本要比前面 两个业务要高些, 而且如果用户使用的时间越长, 所需要消耗也越大, 对于这些服务, 就比较倾向于按时长的实时计费, 这样就可以较好的避免用户恶意使用第三方或者话 务员资源, 有效的降低成本。 为了较好地完成 IVR系统中按时长的实时计费功能,需要在 IVR系统中完成一套 DCC消息处理计费逻辑和异常控制流程。图 1是根据相关技术的 IVR系统计费操作的 流程图, 如图 1所示, 该流程包括以下步骤 (步骤 S102-步骤 S134): 步骤 S102, 用户发起呼叫, 移动交换中心 (Mobile Switch Center, 简称为 MSC) 根据始发 CAMEL 签约信息 (Originating CAMEL Subscription Information, 简称为 O CSI) 触发业务控制点 (Service Control Point, 简称为 SCP) 上的 IVR业务。 步骤 S104, IVR业务通过 MML消息到 OCS侧鉴权成功以后, 发送请求报告事 件(Request Report BCSM Event, 简称为 RRBE)和连接到资源(Connect To Resource, 简称为 CTR) 消息与 MSC建立放音连接。 步骤 SI 06, IVR业务在放音的连接建立成功以后, 通过放音收号 (Prompt And Collect User Information, 简称为 P&C) 消息, 为用户播放主菜单。 步骤 S108, MSC通过 P&C_res返回用户的输入。 步骤 S110, IVR业务收到用户的响应以后, 分析用户输入的按键对应的功能, 发 现是连接第三方或者话务员功能, 则发送拆除前向连接(Disconnect Forward Connect, 简称为 DFC) 消息, 切断放音资源连接。 步骤 S112, IVR业务通过初始 CCR消息 (CCRJNITIAL)消息, 到 OCS侧进行 连接话务员的呼叫鉴权, 申请时间片。 步骤 S114, OCS通过响应消息 CCA_INITIAL消息, 返回呼叫的时间片的时长。 步骤 S116JVR业务下发 RRBE、申请计费(Apply Charge,简称为 AC)、CO NECT 消息接续第三方或者话务员。 步骤 S 118, MSC通过事件报告( event Report BCSM, 简称为 ERB )消息通知 IVR 业务与第三方连接或者话务员成功。 步骤 S120, MSC通过计费报告 (Apply Charging Report, 简称为 ACR)消息通知TECHNICAL FIELD The present invention relates to the field of communications, and in particular, to a charging method and apparatus. BACKGROUND In the field of intelligent networks, an Online Charging System (OCS) is the most widely used charging system framework. The charging system framework separates call access and charging control, and can be controlled in real time. User credit, reduce arrears, reduce bad debt costs, and effectively control operational risks. The interaction between the call access and the charging control is mainly through the Diameter Credit Control (DCC) interface message and the Man-Machine Language (MML) interface message. The Diameter protocol has the advantages of high reliability and good failure mechanism, and is mainly applied to a prepaid Paid Service (PPS) system. The MML interface message has the advantages of easy understanding and simple message interaction, and is mainly applied to an Interactive Voice Response (IVR) system. The current PPS system mainly handles the function of the user to make a call, and completes the real-time charging requirement of the user call. The IVR system mainly provides users with a series of services such as recharge, check balance, transfer, family number management, brand management, connection to a third party or operator. Among these services, services such as top-up, check balance, transfer, etc. are usually free for users. The management of family number, brand management and other services use the method of pay-per-view. The user charges a change every time a change is made. Such billing can be easily solved through the MML interface. Connecting third parties or operators is a special service. The operating cost is higher than the previous two services, and if the user spends more time, the consumption is higher. For these services, it tends to be longer. Real-time billing, which can better avoid malicious use of third-party or operator resources, and effectively reduce costs. In order to better complete the real-time charging function according to the duration in the IVR system, it is necessary to complete a set of DCC message processing charging logic and abnormal control flow in the IVR system. 1 is a flowchart of a charging operation of an IVR system according to the related art. As shown in FIG. 1, the flow includes the following steps (step S102 - step S134): Step S102, a user initiates a call, and a mobile switching center (Mobile Switch Center, Referred to as MSC), the IVR service on the Service Control Point (SCP) is triggered according to the Originating CAMEL Subscription Information (O CSI). Step S104: After the MVR message is successfully authenticated by the MML message to the OCS side, the request report BCSM Event (abbreviated as RRBE) and the Connect To Resource (CTR) message are used to establish a playback connection with the MSC. . Step SI 06, after the connection of the playback is successfully established, the IVR service plays the main menu for the user through a Prompt And Collect User Information (P&C) message. Step S108, the MSC returns the user's input through P&C_res. Step S110: After receiving the response from the user, the IVR service analyzes the function corresponding to the button input by the user, and finds that the third party or the attendant function is connected, and then sends a Disconnect Forward Connect (DFC) message to cut off the playback. Resource connection. In step S112, the IVR service performs the call authentication of the connected operator to the OCS side through the initial CCR message (CCRJNITIAL) message, and applies for the time slice. Step S114, the OCS returns the duration of the time slice of the call by responding to the message CCA_INITIAL message. In step S116, the JVR service delivers the RRBE, the application charging (Apply Charge, AC for short), and the CO NECT message to the third party or the attendant. Step S118, the MSC notifies the IVR service to connect with the third party or the attendant is successful through an event report (BCS, ERB for short) message. Step S120, the MSC notifies the message through an Apply Charging Report (ACR) message.
IVR业务, 第一个时间片已经呼叫结束。 步骤 S122, IVR业务通过 CCR更新消息(CCRJJPDATE)消息, 到 OCS侧进行 第二个时间片的申请。 步骤 S124, OCS通过响应消息 CCA_UPDATE, 返回第二个时间片的时长。 步骤 S126, IVR业务下发 AC, 通知 MSC继续呼叫。 步骤 S128, 用户呼叫话务员结束以后, MSC通过 ACR、 ERB消息返回整个连接 第三方或者话务员的时间和通知业务呼叫结束。 步骤 S130, IVR 业务则根据 MSC 上报的时长, 发送结束 CCR 消息In the IVR service, the first time slice has ended the call. Step S122: The IVR service sends a second time slice request to the OCS side through a CCR update message (CCRJJPDATE) message. Step S124, the OCS returns the duration of the second time slice by using the response message CCA_UPDATE. Step S126: The IVR service sends an AC, and notifies the MSC to continue the call. Step S128, after the user calls the attendant, the MSC returns the time of connecting the third party or the attendant through the ACR and the ERB message, and notifies the end of the service call. Step S130, the IVR service sends an end CCR message according to the duration reported by the MSC.
(CCR TERMINAL), 通知 OCS进行扣费。 步骤 S132, OCS通过响应消息 CCA_TERMINAL返回扣费结果。 步骤 S134, IVR业务下发 RC结束整个呼叫。 从上面的流程可以看出, 从步骤 S116至步骤 S134, 这些步骤是处理一个呼叫的 完整步骤, IVR系统采用如上的方式进行呼叫第三方的实时扣费功能, 会造成 IVR 系统的处理逻辑复杂, 代码量大, 开发资源浪费等问题。 针对相关技术中 IVR系统的扣费操作较复杂的问题, 目前尚未提出有效的解决方 案。 发明内容 针对相关技术中 IVR系统的扣费操作较复杂的问题, 本发明实施例提供了一种扣 费方法及装置, 以至少解决上述问题。 根据本发明实施例的一个方面, 提供了一种扣费方法, 该方法包括: PPS系统接 收 IVR系统欲接入到上述 PPS系统的呼叫;该 PPS系统在上述呼叫的会话结束时,根 据上述会话的时长向在线计费系统申请扣费。 上述 PPS系统接收上述 IVR系统欲接入到上述 PPS系统的呼叫包括: 上述 IVR 系统将业务键信息替换为上述 PPS系统的业务键信息, 将上述呼叫的被叫方的接入号 码替换为上述 PPS系统的被叫号码;上述 PPS系统接收上述 IVR系统发送的替换后的 上述业务键信息, 以及替换后的上述被叫号码; 上述 PPS系统连接上述被叫方。 上述 IVR系统将上述被叫方的接入号码替换为上述 PPS系统的被叫号码包括:如 果上述接入号码的配置格式是国内号码格式, 上述 IVR系统将上述接入号码的属性值 设置为国内号码; 如果上述接入号码的配置格式是国家码 +号码格式, 上述 IVR系统 将上述接入号码的属性值设置为国际号码; 如果上述接入号码的配置格式是 00+国家 码 +号码格式, 上述 IVR系统将上述接入号码的属性值设置为未知, 或者, 上述 IVR 系统将上述接入号码的配置格式修改为国家码 +号码格式, 再将上述接入号码的属性 值设置为上述国际号码。 上述 PPS系统接收上述 IVR系统发送的替换后的上述业务键信息, 以及替换后的 上述被叫号码之后, 上述方法还包括: 上述 IVR系统将上述呼叫的获取时间、 上述被 叫方的接入号码以及主叫方号码计入 CDR话单中。 上述 PPS系统连接上述被叫方包括: 上述 PPS系统向 OCS侧请求接入上述被叫 方的呼叫鉴权, 并申请接入上述被叫方的一个时间片; 上述 PPS 系统接收上述 OCS 侧返回的上述时间片的时长; 上述 PPS系统向 MSC下发连接消息, 其中, 上述连接 消息用于指示连接上述被叫方; 上述 PPS系统接收上述 MSC返回的接入上述被叫方 成功的消息。 上述 PPS系统连接上述被叫方之后, 上述方法还包括: 在接收到上述 MSC反馈 的当前时间片的呼叫结束后, 上述 PPS系统向上述 OCS侧申请下一个时间片; 上述 PPS系统接收上述 OCS侧返回的上述下一个时间片的时长; 上述 PPS系统向 MSC下 发通知消息, 其中, 上述通知消息用于通知上述 MSC继续执行呼叫操作; 上述 PPS 系统接收上述 MSC返回的上述呼叫的会话结束的通知以及会话的时长。 上述 PPS系统根据上述会话的时长向在线计费系统申请扣费包括:上述 PPS系统 根据上述 MSC返回的上述会话的时长, 向上述 OCS侧发送扣费指示消息, 上述扣费 指示消息用于指示上述 OCS侧执行扣费操作; 上述 PPS系统接收上述 OCS侧反馈的 扣费结果。 上述 IVR系统与上述 PPS系统都处于激活状态, 且处于同一个业务控制点 SCP 平台上。 根据本发明实施例的另一方面, 提供了一种扣费装置, 该装置包括: 呼叫获取模 块, 设置为接收 IVR系统欲接入到上述 PPS系统的呼叫; 扣费申请模块, 设置为在上 述呼叫的会话结束时, 根据上述会话的时长向在线计费系统申请扣费。 上述呼叫获取模块包括: 接收单元, 设置为接收上述 IVR系统发送的替换后的业 务键信息, 以及替换后的上述被叫号码; 连接单元, 设置为连接上述被叫方。 上述连接单元包括: 申请子单元, 设置为向 OCS侧请求接入上述被叫方的呼叫鉴 权, 并申请接入上述被叫方的一个时间片; 时长接收子单元, 设置为接收上述 OCS侧 返回的上述时间片的时长; 消息下发子单元, 设置为向 MSC 下发连接消息, 其中, 上述连接消息用于指示连接上述被叫方; 消息接收子单元, 设置为接收上述 MSC 返 回的接入上述被叫方成功的消息。 上述装置还包括: 申请模块, 设置为在接收到上述 MSC 反馈的当前时间片的呼 叫结束后, 向上述 OCS侧申请下一个时间片; 时长接收模块, 设置为接收上述 OCS 侧返回的上述下一个时间片的时长; 消息下发模块, 设置为向 MSC 下发通知消息, 其中, 上述通知消息用于通知上述 MSC 继续执行呼叫操作; 时长接收模块, 设置为 接收上述 MSC返回的上述呼叫的会话结束的通知以及会话的时长。 上述扣费申请模块包括: 指示消息发送模块, 设置为根据上述 MSC 返回的上述 会话的时长, 向上述 OCS侧发送扣费指示消息,上述扣费指示消息用于指示上述 OCS 侧执行扣费操作; 结果接收单元, 设置为接收上述 OCS侧反馈的扣费结果。 通过本发明实施例, 将接入呼叫和扣费操作交由 PPS系统处理, IVR系统将呼叫 接入 PPS系统, 然后该 PPS系统在上述呼叫的会话结束时, 根据上述会话的时长向在 线计费系统申请扣费, 解决了相关技术中 IVR系统的扣费操作较复杂的问题, 进而简 化了处理逻辑和处理流程, 减少代码量, 减少开发资源浪费。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发 明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图 中- 图 1是根据相关技术的 IVR系统计费操作的流程图; 图 2是根据本发明实施例的扣费方法的流程图; 图 3是根据本发明实施例的用户接入话务员时按时长计费的信令流程图; 图 4是根据本发明实施例的扣费装置的结构框图; 图 5是根据本发明实施例的扣费装置的具体结构框图; 以及 图 6是根据本发明实施例的用户接入话务员时按时长计费的各网元的消息交互示 意图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不冲突的 情况下, 本申请中的实施例及实施例中的特征可以相互组合。 在相关技术中, IVR系统在进行被叫方 (也可以称为第三方或者话务员等) 的扣 费流程时, 其中的呼叫和扣费步骤如果由 IVR系统执行, 将会导致处理逻辑复杂, 浪 费较多资源。 基于此, 本发明实施例提供了一种扣费方法及装置。 下面通过实施例进 行详细说明。 本实施例提供了一种扣费方法, 如图 2所示的扣费方法的流程图, 该方法包括以 下步骤 (步骤 S202-步骤 S204): 步骤 S202, PPS系统接收 IVR系统欲接入到上述 PPS系统的呼叫; 步骤 S204, PPS系统在上述呼叫的会话结束时, 根据上述会话的时长向在线计费 系统申请扣费。 通过上述方法, 将接入呼叫和扣费操作交由 PPS系统处理, IVR系统将呼叫接入 PPS系统, 然后该 PPS系统在上述呼叫的会话结束时, 根据上述会话的时长向在线计 费系统申请扣费, 解决了相关技术中 IVR系统的扣费操作较复杂的问题, 进而简化了 处理逻辑和处理流程, 减少代码量, 减少开发资源浪费。 (CCR TERMINAL), notify OCS to deduct the fee. In step S132, the OCS returns the deduction result by the response message CCA_TERMINAL. In step S134, the IVR service delivers the RC to end the entire call. As can be seen from the above process, from step S116 to step S134, these steps are a complete step of processing a call, and the IVR system performs the real-time deduction function of calling a third party in the above manner, which may cause the processing logic of the IVR system to be complicated. The amount of code is large, and development resources are wasted. In view of the complicated problem of the deduction operation of the IVR system in the related art, an effective solution has not been proposed yet. SUMMARY OF THE INVENTION In view of the problem that the deduction operation of the IVR system in the related art is complicated, the embodiment of the present invention provides a deduction method and apparatus to solve at least the above problems. According to an aspect of an embodiment of the present invention, a method for charging a fee is provided, the method comprising: receiving, by a PPS system, a call of an IVR system to access the PPS system; the PPS system is at the end of the session of the call, according to the session The length of time applies to the online billing system for a deduction. The receiving, by the PPS system, the call of the IVR system to access the PPS system includes: replacing the service key information with the service key information of the PPS system, and replacing the access number of the called party of the call with the PPS. The called number of the system; the PPS system receives the replaced service key information sent by the IVR system, and the replaced called number; and the PPS system connects to the called party. The above IVR system replaces the access number of the called party with the called number of the PPS system, and if the configuration format of the access number is a domestic number format, the IVR system sets the attribute value of the access number to be domestic. If the configuration format of the access number is the country code + number format, the above IVR system sets the attribute value of the access number to an international number; if the configuration format of the access number is 00+ country code + number format, The above IVR system sets the attribute value of the access number to be unknown, or the IVR system modifies the configuration format of the access number to the country code + number format, and sets the attribute value of the access number to the international number. . After the PPS system receives the replaced service key information sent by the IVR system and the replaced called number, the method further includes: the IVR system acquiring the call time and the access number of the called party And the calling party number is included in the CDR bill. The foregoing PPS system is connected to the called party, and the foregoing PPS system requests the OCS side to access the call authentication of the called party, and applies for accessing a time slice of the called party; the PPS system receives the return of the OCS side. The duration of the foregoing time slice; the PPS system sends a connection message to the MSC, where the connection message is used to indicate that the called party is connected; and the PPS system receives the message that the MSC returns the access to the called party successfully. After the PPS system is connected to the called party, the method further includes: after receiving the call of the current time slice fed back by the MSC, the PPS system applies for the next time slice to the OCS side; the PPS system receives the OCS side. Returning the duration of the next time slice; the PPS system sends a notification message to the MSC, where the notification message is used to notify the MSC to continue to perform a call operation; and the PPS system receives the notification of the end of the session of the call returned by the MSC And the length of the session. The method for the PPS system to apply for the deduction of the online charging system according to the duration of the session includes: the PPS system sending a deduction indication message to the OCS side according to the duration of the session returned by the MSC, where the deduction indication message is used to indicate the foregoing The OCS side performs a deduction operation; the PPS system receives the deduction result of the OCS side feedback. The above IVR system and the above PPS system are both active and are on the same service control point SCP platform. According to another aspect of the present invention, a charging device is provided, the device comprising: a call obtaining module, configured to receive a call of an IVR system to access the PPS system; and a charging application module, configured to be At the end of the session of the call, the online charging system is applied for a deduction according to the duration of the session. The call obtaining module includes: a receiving unit configured to receive the replaced service key information sent by the IVR system, and the replaced called number; and a connecting unit configured to connect to the called party. The connection unit includes: an application subunit, configured to request the OCS side to access the call authentication of the called party, and apply to access a time slice of the called party; the duration receiving subunit is configured to receive the OCS side Returning the duration of the time slice; the message delivery subunit is configured to send a connection message to the MSC, where the connection message is used to indicate that the called party is connected; the message receiving subunit is configured to receive the connection returned by the MSC Enter the above successful message of the called party. The device further includes: an application module, configured to apply to the OCS side for the next time slice after receiving the call of the current time slice fed back by the MSC; and the duration receiving module is configured to receive the next one returned by the OCS side The duration of the time slice; the message delivery module is set to send a notification message to the MSC, The notification message is used to notify the MSC to continue to perform a call operation; the duration receiving module is configured to receive the notification of the end of the session of the call returned by the MSC and the duration of the session. The deduction application module includes: an indication message sending module, configured to send a deduction instruction message to the OCS side according to the duration of the session returned by the MSC, where the deduction indication message is used to indicate that the OCS side performs a deduction operation; The result receiving unit is configured to receive the deduction result of the OCS side feedback. Through the embodiment of the present invention, the access call and the chargeback operation are handled by the PPS system, and the IVR system connects the call to the PPS system, and then the PPS system charges the online according to the duration of the session when the session of the call ends. The system applies for deduction, which solves the complicated problem of the deduction operation of the IVR system in the related technology, thereby simplifying the processing logic and processing flow, reducing the amount of code, and reducing the waste of development resources. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 1 is a flow chart of a charging operation of an IVR system according to the related art; FIG. 2 is a flowchart of a charging method according to an embodiment of the present invention; FIG. 3 is a user accessing an operator according to an embodiment of the present invention. FIG. 4 is a structural block diagram of a charging device according to an embodiment of the present invention; FIG. 5 is a block diagram showing a specific structure of a charging device according to an embodiment of the present invention; A message interaction diagram of each network element that is charged by the duration when the user accesses the attendant in the embodiment of the present invention. BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. In the related art, when the IVR system performs the deduction process of the called party (which may also be called a third party or an attendant, etc.), if the call and deduction steps are performed by the IVR system, the processing logic will be complicated, and the wave More resources. Based on this, an embodiment of the present invention provides a method and device for charging. The details will be described below by way of examples. The embodiment provides a deduction method, as shown in the flowchart of the deduction method shown in FIG. 2, the method includes the following steps (step S202 - step S204): Step S202, the PPS system receives the IVR system to access the above The call of the PPS system; Step S204, the PPS system applies for a charge to the online charging system according to the duration of the session when the session of the call ends. Through the above method, the access call and the deduction operation are handled by the PPS system, and the IVR system connects the call to the PPS system, and then the PPS system applies to the online charging system according to the duration of the session when the session of the call ends. The deduction fee solves the complicated problem of the deduction operation of the IVR system in the related art, thereby simplifying the processing logic and the processing flow, reducing the amount of code, and reducing the waste of development resources.
IVR系统将呼叫接入 PPS系统时, 需要将该呼叫的相关信息发送至 PPS系统, 以 便 PPS系统进行后续的操作流程, 因此, 本实施例提供了一种优选实施方式, 即 PPS 系统接收 IVR系统欲接入到 PPS系统的呼叫包括: IVR系统将业务键信息替换为 PPS 系统的业务键信息, 将呼叫的被叫方的接入号码替换为 PPS系统的被叫号码; PPS系 统接收 IVR系统发送的替换后的上述业务键信息, 以及替换后的上述被叫号码; PPS 系统连接上述被叫方。 在进行被叫方的接入号码替换时, 号码属性一般设置为国内属性, 因为话务员的 号码一般是国内号码, 如果配置的不是国内号码格式, 则可以按如下规则进行转换: 如果接入号码的配置格式是国内号码格式, IVR系统将上述接入号码的属性值设置为 国内号码; 如果接入号码的配置格式是国家码 +号码格式, IVR系统将上述接入号码 的属性值设置为国际号码; 如果接入号码的配置格式是 00+国家码 +号码格式, IVR 系统将上述接入号码的属性值设置为未知, 或者, IVR系统将上述接入号码的配置格 式修改为国家码 +号码格式, 再将上述接入号码的属性值设置为国际号码。 IVR系统将后续业务接入 PPS系统之后, IVR系统就处理完成了, 由于 IVR系统 的数据区在接入 PPS系统的时候已经释放了, IVR系统没有办法监控 PPS系统的完成 情况, 因此在接入 PPS系统以前, IVR系统需要将接入 PPS系统的时间、 所连接的第 三方或者话务员的号码、 主叫号码等信息记入生成的 CDR话单中, 当在 OCS计费系 统发生异常时, 就可以利用 IVR系统所记录的话单中的起始时间、 主叫号码、 所连接 的第三方或者话务员的号码 (相当于 PPS系统话单中的被叫号码), 对 PPS系统的话 单进行分拣, 找到 IVR系统呼叫中, 呼叫话务员的通话话单, 完成离线扣费的操作, 从而尽量减少损失。 基于上述话单记录流程,本实施例提供了一种优选实施方式,即 PPS系统接收 IVR 系统发送的业务键信息,以及上述呼叫的被叫方的接入号码之后,该方法还包括: IVR 系统将上述呼叫的获取时间、 上述被叫方的接入号码以及主叫方号码计入 CDR话单 中。 When the IVR system accesses the call to the PPS system, the information related to the call needs to be sent to the PPS system, so that the PPS system performs the subsequent operation process. Therefore, this embodiment provides a preferred implementation manner, that is, the PPS system receives the IVR system. The call to be accessed to the PPS system includes: The IVR system replaces the service key information with the service key information of the PPS system, and replaces the access number of the called party with the called number of the PPS system; the PPS system receives the IVR system to send The above-mentioned service key information after replacement, and the above-mentioned called number after replacement; the PPS system is connected to the called party. When the access number of the called party is replaced, the number attribute is generally set to the domestic attribute, because the operator's number is generally the domestic number. If the configuration is not the domestic number format, the conversion can be performed according to the following rules: The configuration format is a domestic number format, and the IVR system sets the attribute value of the access number to the domestic number; if the configuration format of the access number is the country code + number format, the IVR system sets the attribute value of the access number to the international number. If the configuration format of the access number is 00+country code+number format, the IVR system sets the attribute value of the access number to unknown, or the IVR system modifies the configuration format of the access number to the country code+number format. , and then set the attribute value of the above access number to an international number. After the IVR system accesses the PPS system, the IVR system is processed. Since the data area of the IVR system has been released when accessing the PPS system, the IVR system has no way to monitor the completion of the PPS system, so the access is In the PPS system, the IVR system needs to record the time of accessing the PPS system, the connected third party or the operator's number, and the calling number into the generated CDR bill. When an abnormality occurs in the OCS charging system, You can use the start time in the CDR recorded by the IVR system, the calling number, the connected third party or the operator's number (equivalent to the called number in the PPS system CDR), for the PPS system. Sorting is performed separately. When the IVR system call is found, the caller's call bill is called, and the offline deduction is completed to minimize the loss. Based on the above-mentioned CDR recording process, the present embodiment provides a preferred implementation manner, that is, after the PPS system receives the service key information sent by the IVR system and the access number of the called party of the call, the method further includes: an IVR system The acquisition time of the above call, the access number of the called party, and the calling party number are included in the CDR bill.
PPS系统连接被叫方的流程与 IVR系统连接被叫方的流程基本类似, 只是执行主 体由 IVR系统转换为 PPS系统, 下面对 PPS系统连接被叫方的流程进行介绍, PPS系 统连接被叫方包括: PPS系统向 OCS侧请求接入上述被叫方的呼叫鉴权, 并申请接入 上述被叫方的一个时间片; PPS系统接收上述 OCS侧返回的上述时间片的时长; PPS 系统向 MSC下发连接消息, 其中, 上述连接消息用于指示连接上述被叫方; PPS系统 接收上述 MSC返回的接入上述被叫方成功的消息。 The process of connecting the called party to the called party is basically similar to the process of connecting the called party to the IVR system. The execution subject is converted from the IVR system to the PPS system. The following describes the process of connecting the called party to the PPS system. The PPS system is connected to the called party. The PPS system requests the OCS side to access the call authentication of the called party, and applies for accessing a time slice of the called party; the PPS system receives the duration of the time slice returned by the OCS side; The MSC sends a connection message, where the connection message is used to indicate that the called party is connected; and the PPS system receives the message that the MSC returns the access to the called party successfully.
PPS系统连接被叫方之后,上述方法还包括:在接收到上述 MSC反馈的当前时间 片的呼叫结束后, PPS系统向上述 OCS侧申请下一个时间片; PPS系统接收上述 OCS 侧返回的上述下一个时间片的时长; PPS系统向 MSC下发通知消息, 其中, 该通知消 息用于通知上述 MSC继续执行呼叫操作; PPS系统接收上述 MSC返回的上述呼叫的 会话结束的通知以及会话的时长。 在 PPS系统连接被叫方之后, PPS系统需要向在线计费系统申请扣费, 具体地, PPS系统根据上述会话的时长向在线计费系统申请扣费包括: PPS系统根据上述 MSC 返回的上述会话的时长, 向上述 OCS侧发送扣费指示消息, 上述扣费指示消息用于指 示上述 OCS侧执行扣费操作; PPS系统接收上述 OCS侧反馈的扣费结果。 IVR系统 与 PPS系统都处于激活状态, 且处于同一个业务控制点 SCP平台上。 下面结合优选实施例和附图对上述实施例的实现过程进行详细说明。 本实施例将 IVR系统与 PPS系统融合在一起, 接入第三方或者话务员时, IVR系 统中不能较好的实现按时长计费。 图 3是根据本发明实施例的用户接入话务员时按时 长计费的信令流程图, 如图 3所示, 该流程包括以下步骤 (步骤 S302-步骤 S336): 步骤 S302, 用户起呼, MSC根据 0_CSI触发业务, SCP收到 IDP消息后, IVR 系统判断被叫号码为管理接入码后, 进入 IVR管理流程。 步骤 S304, IVR系统下发 RRBE (O ABANDON,主叫放弃)、 CTR连接到 MSC。 步骤 S306, IVR系统通过 P&C消息, 为用户播放主菜单。 步骤 S308, MSC通过 P&C_res返回用户的输入。 步骤 S310, IVR系统分析用户输入的按键对应的功能, 发现是连接第三方或者话 务员功能, 则发送 DFC消息, 切断放音资源连接, 准备连接话务员。 步骤 S312, IVR系统需要接入码的第三方或话务员的号码与 PPS系统的业务键传 给信令转换模块。 信令转换模块会将 IVR业务所占用的数据区删除, 然后将 201步骤 所收到的 IDP消息复制一份, 将复制出的 IDP消息中的业务键替换为 PPS的业务键, 被叫号码替换为所需要接入的话务员的号码, 其他参数保持不变, 并将此消息用初始 会话消息的方式发出,这时同一个 SCP平台的 PPS业务就会接收此消息进行后续处理。 这个步骤中产生的 IDP消息与一般的消息相比,没有新的会话号,会话号还是延用 201 步骤的会话号码, 而且这个 IDP在外部是不可见的, 是一个内部消息。 在这一步中, 进行被叫号码替换时, 号码属性一般设置为国内属性, 因为话务员 的号码一般是国内号码, 如果配置的不是国内号码格式, 则可以按如下规则进行转换: 话务员号码格式配置为国内号码格式时, 号码属性值置为国内号码。 话务员号码格式配置为国家码 +号码的格式时, 号码属性值设置为国际号码。 话务员号码格式配置为 00+国家码 +号码的格式时, 号码属性值设置为未知, 或者 在 IVR业务侧进行规整, 将 00去掉, 号码属性值设置为国际。 步骤 S314, PPS系统通过初始 CCR消息 (CCR_INITIAL)消息, 到 OCS侧进行 连接话务员的呼叫鉴权, 申请时间片。 步骤 S316, OCS通过响应消息 CCAJNITIAL消息, 返回呼叫的时间片的时长。 步骤 S318, PPS系统下发 RRBE、 申请计费 (Apply Charge, AC)、 CONTINUE 消息接续第三方或者话务员。 注意, 这里下发的是 CONTINUE消息, 因为 PPS系统 收到的被叫号码就是所需要接续的号码。 步骤 S320, MSC通过 ERB (o_answer) 消息通知 PPS系统与第三方连接或者话 务员成功。 步骤 S322, MSC通过 ACR消息通知 PPS系统, 第一个时间片已经呼叫结束。 步骤 S324, PPS系统通过 CCR更新消息(CCRJJPDATE)消息, 到 OCS侧进行 第二个时间片的申请。 步骤 S326, OCS通过响应消息 CCA_UPDATE, 返回第二个时间片的时长。 步骤 S328, PPS系统下发 AC, 通知 MSC继续呼叫。 步骤 S330, 用户呼叫话务员结束以后, MSC通过 ACR、 ERB消息返回整个连接 第三方或者话务员的时间和通知业务呼叫结束。 步骤 S332, PPS 系统则根据 MSC 上报的时长, 发送结束 CCR 消息 (CCR TERMINAL), 通知 OCS进行扣费。 步骤 S334, OCS通过响应消息 CCA_TERMINAL返回扣费结果。 步骤 S336, PPS系统下发 RC结束整个呼叫。 本实施例的实现过程对 IVR系统的改动较少, 而且与传统的扣费方式相比, 本实 施例提供的方法更加简单, 代码量小, 充分利用了 PPS系统与 IVR系统特点。 对应于上述扣费方法, 本实施例提供了一种扣费装置, 该装置用于实现上述实施 例。 图 4是根据本发明实施例的扣费装置的结构框图, 如图 4所示, 该装置包括: 呼 叫获取模块 10和扣费申请模块 20。 下面对该结构进行说明。 呼叫获取模块 10, 设置为接收 IVR系统欲接入到该 PPS系统的呼叫; 扣费申请模块 20, 连接至呼叫获取模块 10, 设置为在上述呼叫的会话结束时, 根 据上述会话的时长向在线计费系统申请扣费。 通过上述装置, 将接入呼叫和扣费操作交由 PPS系统处理, IVR系统将呼叫接入 到 PPS系统, 然后该 PPS系统在上述呼叫的会话结束时, 根据上述会话的时长向在线 计费系统申请扣费, 解决了相关技术中 IVR系统的扣费操作较复杂的问题, 进而简化 了处理逻辑和处理流程, 减少代码量, 减少开发资源浪费。 After the PPS system is connected to the called party, the method further includes: after receiving the call of the current time slice fed back by the MSC, the PPS system applies for the next time slice to the OCS side; and the PPS system receives the foregoing return of the OCS side. The duration of a time slice; the PPS system sends a notification message to the MSC, wherein the notification message is used to notify the MSC to continue performing the call operation; and the PPS system receives the notification of the end of the session of the call returned by the MSC and the duration of the session. After the PPS system is connected to the called party, the PPS system needs to apply for a deduction to the online charging system. Specifically, the PPS system applies for a deduction to the online charging system according to the duration of the session: the PPS system returns the session according to the foregoing MSC. The time limit is sent to the OCS side, and the deduction instruction message is used to indicate that the OCS side performs the deduction operation; and the PPS system receives the deduction result of the OCS side feedback. Both the IVR system and the PPS system are active and are on the same service control point SCP platform. The implementation process of the above embodiment will be described in detail below in conjunction with the preferred embodiments and the accompanying drawings. In this embodiment, when the IVR system is integrated with the PPS system, when accessing a third party or an attendant, the IVR system cannot achieve a good time-based billing. FIG. 3 is a signaling flowchart of time-based charging when a user accesses an attendant according to an embodiment of the present invention. As shown in FIG. 3, the process includes the following steps (step S302-step S336): Step S302, the user initiates a call, The MSC triggers the service according to the 0_CSI. After the SCP receives the IDP message, the IVR system determines that the called number is the management access code and enters the IVR management process. In step S304, the IVR system sends an RRBE (O ABANDON, the caller gives up), and the CTR connects to the MSC. Step S306, the IVR system plays the main menu for the user through the P&C message. Step S308, the MSC returns the user's input through P&C_res. In step S310, the IVR system analyzes the function corresponding to the button input by the user, and finds that it is a third party or an attendant function, and then sends a DFC message, disconnects the playback resource, and prepares to connect the operator. Step S312, the IVR system needs the third party or operator number of the access code and the service key of the PPS system to be transmitted to the signaling conversion module. The signaling conversion module deletes the data area occupied by the IVR service, and then copies the IDP message received in step 201, and replaces the service key in the copied IDP message with the service key of the PPS, and the called number is replaced. For the number of the attendant to be accessed, the other parameters remain unchanged, and the message is sent in the form of an initial session message. At this time, the PPS service of the same SCP platform receives the message for subsequent processing. The IDP message generated in this step has no new session number compared to the general message. The session number is extended to the session number of step 201, and the IDP is invisible externally and is an internal message. In this step, when the called number is replaced, the number attribute is generally set to the domestic attribute, because the operator's number is generally the domestic number. If the configuration is not the domestic number format, the conversion can be performed according to the following rules: The operator number format is configured as In the domestic number format, the number attribute value is set to the domestic number. When the operator number format is configured as the country code + number format, the number attribute value is set to the international number. When the operator number format is configured in the format of 00+country code+number, the number attribute value is set to unknown, or it is normalized on the IVR service side, 00 is removed, and the number attribute value is set to international. Step S314, the PPS system performs call authentication for connecting the attendant to the OCS side through the initial CCR message (CCR_INITIAL) message, and applies for a time slice. Step S316, the OCS returns the duration of the time slice of the call by responding to the message CCAJNITIAL message. Step S318, the PPS system sends an RRBE, an application charging (AC), a CONTINUE message to connect to a third party or an attendant. Note that the CONTINUE message is sent here because the called number received by the PPS system is the number that needs to be connected. In step S320, the MSC informs the PPS system to connect with the third party or the attendant is successful through the ERB (o_answer) message. Step S322, the MSC notifies the PPS system through the ACR message that the first time slice has ended the call. Step S324, the PPS system sends a second time slice request to the OCS side through a CCR update message (CCRJJPDATE) message. Step S326, the OCS returns the duration of the second time slice by responding to the message CCA_UPDATE. Step S328, the PPS system sends an AC, and notifies the MSC to continue the call. Step S330, after the user calls the attendant, the MSC returns the time of connecting the third party or the attendant through the ACR and the ERB message, and notifies the end of the service call. Step S332, the PPS system sends an end CCR message (CCR TERMINAL) according to the duration reported by the MSC, and notifies the OCS to perform the deduction. In step S334, the OCS returns the deduction result by the response message CCA_TERMINAL. Step S336, the PPS system sends an RC to end the entire call. The implementation process of this embodiment has fewer modifications to the IVR system, and the method provided by the embodiment is simpler and smaller than the traditional deduction method, and fully utilizes the characteristics of the PPS system and the IVR system. Corresponding to the above deduction method, the embodiment provides a deduction device, which is used to implement the above embodiment. FIG. 4 is a structural block diagram of a charging device according to an embodiment of the present invention. As shown in FIG. 4, the device includes: a call obtaining module 10 and a charge application module 20. The structure will be described below. The call obtaining module 10 is configured to receive a call that the IVR system wants to access the PPS system. The charge application module 20 is connected to the call acquisition module 10, and is set to be online according to the duration of the session at the end of the session of the call. The billing system applies for a deduction. Through the above device, the access call and the chargeback operation are handled by the PPS system, and the IVR system accesses the call to the PPS system, and then the PPS system goes to the online charging system according to the duration of the session at the end of the session of the call. Applying the deduction fee solves the complicated problem of the deduction operation of the IVR system in the related technology, thereby simplifying the processing logic and processing flow, reducing the amount of code, and reducing the waste of development resources.
IVR系统将呼叫接入 PPS系统时, 需要将该呼叫的相关信息发送至 PPS系统, 以 便 PPS系统进行后续的操作流程, 因此, 本实施例提供了一种优选实施方式, 图 5是 根据本发明实施例的扣费装置的具体结构框图, 如图 5所示, 该装置除了包括上述图 4中的各个模块之外, 上述呼叫获取模块 10还包括: 接收单元 12和连接单元 14。 下 面对该结构进行说明。 接收单元 12, 设置为接收上述 IVR系统发送的替换后的业务键信息, 以及替换后 的上述被叫号码; 连接单元 14, 连接至接收单元 12, 设置为连接上述被叫方。 在进行被叫方的接入号码替换时, 号码属性一般设置为国内属性, 因为话务员的 号码一般是国内号码, 如果配置的不是国内号码格式, 则可以按一定规则进行转换。 因此, 本实施例提供了一种优选实施方式, 即在上述接入号码的配置格式是国内号码 格式的情况下, IVR系统将上述接入号码的属性值设置为国内号码; 在上述接入号码 的配置格式是国家码+号码格式的情况下, IVR系统将上述接入号码的属性值设置为 国际号码; 在上述接入号码的配置格式是 00+国家码+号码格式的情况下, IVR系统 将上述接入号码的属性值设置为未知, 或者, IVR系统将上述接入号码的配置格式修 改为国家码 +号码格式, 再将上述接入号码的属性值设置为上述国际号码。 When the IVR system accesses the call to the PPS system, the related information of the call needs to be sent to the PPS system, so that the PPS system performs the subsequent operation process. Therefore, this embodiment provides a preferred implementation manner, and FIG. 5 is a preferred embodiment according to the present invention. A specific structural block diagram of the charging device of the embodiment, as shown in FIG. 5, the call acquiring module 10 further includes: a receiving unit 12 and a connecting unit 14 in addition to the modules in FIG. The structure will be described below. The receiving unit 12 is configured to receive the replaced service key information sent by the IVR system, and the replaced called number; the connecting unit 14 is connected to the receiving unit 12 and configured to connect to the called party. When the access number of the called party is replaced, the number attribute is generally set to the domestic attribute, because the operator's number is generally the domestic number. If the configuration is not the domestic number format, the conversion can be performed according to certain rules. Therefore, this embodiment provides a preferred implementation manner, that is, in the case that the configuration format of the access number is a domestic number format, the IVR system sets the attribute value of the access number to a domestic number; In the case where the configuration format is the country code + number format, the IVR system sets the attribute value of the access number to an international number; in the case where the configuration format of the access number is 00+country code+number format, the IVR system The attribute value of the access number is set to be unknown, or the IVR system modifies the configuration format of the access number to the country code + number format, and then sets the attribute value of the access number to the international number.
PPS系统连接被叫方的流程与 IVR系统连接被叫方的流程基本类似, 只是执行主 体由 IVR系统转换为 PPS系统。 因此, 本实施例提供了一种优选实施方式, 即上述连 接单元 18包括: 申请子单元, 设置为向 OCS侧请求接入上述被叫方的呼叫鉴权, 并 申请接入上述被叫方的一个时间片; 时长接收子单元, 设置为接收上述 OCS侧返回的 上述时间片的时长; 消息下发子单元, 设置为向 MSC 下发连接消息, 其中, 上述连 接消息用于指示连接上述被叫方; 消息接收单元, 设置为接收上述 MSC 返回的接入 上述被叫方成功的消息。 上述装置还包括: 申请模块, 设置为在接收到上述 MSC 反馈的当前时间片的呼 叫结束后, 向上述 OCS侧申请下一个时间片; 时长接收模块, 设置为接收上述 OCS 侧返回的上述下一个时间片的时长; 消息下发模块, 设置为向 MSC 下发通知消息, 其中, 上述通知消息用于通知上述 MSC 继续执行呼叫操作; 时长接收模块, 设置为 接收上述 MSC返回的上述呼叫的会话结束的通知以及会话的时长。 在 PPS系统连接被叫方之后, PPS系统需要向在线计费系统申请扣费, 具体地, 上述扣费申请模块包括: 指示消息发送模块, 设置为根据上述 MSC 返回的上述会话 的时长, 向上述 OCS侧发送扣费指示消息, 上述扣费指示消息用于指示上述 OCS侧 执行扣费操作; 结果接收单元, 设置为接收上述 OCS侧反馈的扣费结果。 本实施例通过信令转换模块, 将 IVR系统与 PPS系统融合在一起, 完成了 IVR 系统中不能很好的实现接入第三方或者话务员时,不能较好的实现按时长计费的问题。 本实施例操作简单, 对 IVR系统的改动较少, 而且与传统的扣费方式相比, 本实施例 提供的方法更加简单, 代码量小, 充分利用了 PPS系统与 IVR系统特点。 本实施例对通过信令转换模块处理 IVR系统转接第三方或者话务员的按时长计费 的流程进行描述, 图 6是根据本发明实施例的用户接入话务员时按时长计费的各网元 的消息交互示意图, 如图 6所示, 上述按时长计费流程如下: 第一, 用户通过拨打 IVR接入码接入 IVR系统, IVR系统对用户进行鉴权后拨放 菜单供用户选择。 用户根据菜单选项, 选择接入第三方或者话务员。 在该步骤中, IVR系统会通过 MML消息, 到 OCS计费系统获取用户的状态、 品 牌等信息, 通过这些信息判断出用户是否允许使用 IVR业务, 以及需要拨放给用户的 菜单是哪一个。 第二, IVR系统收到用户输入以后, 将呼叫接入 PPS系统中。 在该步骤中, IVR系统将需要接入码的第三方或话务员的号码与 PPS系统的业务 键传给信令转换模块。 信令转换模块将呼叫接入预付费 PPS系统。 IVR系统在这一步 中要完成话单 CDR的记录和业务的统计。 第三, PPS系统完成时向在线计费系统鉴权和申请长时的操作, 并且在会话结束 时, 根据 MSC上报的时长, 向在线计费系统申请扣费。 在该步骤中, 所接入的 PPS系统要和 IVR系统处于同一个 SCP ( Service ControlThe process of connecting the called party to the PPS system is basically similar to the process of connecting the called party to the IVR system, except that the execution subject is converted from the IVR system to the PPS system. Therefore, the embodiment provides a preferred implementation manner, that is, the connecting unit 18 includes: an application subunit, configured to request access to the call party of the called party to the OCS side, and apply to access the called party. a time slot; a time receiving subunit, configured to receive the duration of the time slice returned by the OCS side; a message sending subunit, configured to send a connection message to the MSC, where the connection message is used to indicate that the called party is connected The message receiving unit is configured to receive a message that the foregoing MSC returns to access the called party successfully. The device further includes: an application module, configured to apply to the OCS side for the next time slice after receiving the call of the current time slice fed back by the MSC; and the duration receiving module is configured to receive the next one returned by the OCS side a message delivery module, configured to send a notification message to the MSC, where the notification message is used to notify the MSC to continue to perform a call operation; and the duration receiving module is configured to receive the session end of the call returned by the MSC Notifications and the length of the session. After the PPS system is connected to the called party, the PPS system needs to apply for a deduction to the online charging system. Specifically, the deduction application module includes: an indication message sending module, configured to be according to the duration of the session returned by the MSC, to the foregoing The OCS side sends a deduction fee indication message, where the deduction instruction message is used to indicate that the OCS side performs a deduction operation; and the result receiving unit is configured to receive the deduction result of the OCS side feedback. In this embodiment, the IVR system is integrated with the PPS system through the signaling conversion module, and when the third-party or the attendant is not well implemented in the IVR system, the problem of charging by the time is not well realized. The operation of the embodiment is simple, and the modification of the IVR system is less, and the method provided by the embodiment is simpler than the traditional deduction method, and the code amount is small, and the characteristics of the PPS system and the IVR system are fully utilized. In this embodiment, the process of processing the IVR system to transfer the third-party or the attendant's time-based charging by the signaling conversion module is described. FIG. 6 is a network element for charging by the user when the user accesses the operator according to the embodiment of the present invention. The message interaction diagram is as shown in Figure 6. The above-mentioned time-based charging process is as follows: First, the user accesses the IVR system by dialing the IVR access code, and the IVR system authenticates the user and then plays the menu for the user to select. The user selects to access a third party or attendant based on the menu options. In this step, the IVR system obtains the status, brand, and other information of the user through the MML message to the OCS charging system, and uses the information to determine whether the user is allowed to use the IVR service, and which menu to dial to the user. Second, after receiving the user input, the IVR system connects the call to the PPS system. In this step, the IVR system transmits the number of the third party or operator who needs the access code and the service key of the PPS system to the signaling conversion module. The signaling conversion module connects the call to the prepaid PPS system. In this step, the IVR system completes the recording of the CDR and the statistics of the service. Third, when the PPS system is completed, the online charging system is authenticated and applied for a long-term operation, and at the end of the session, according to the duration reported by the MSC, the online charging system is applied for a deduction. In this step, the accessed PPS system is in the same SCP as the IVR system (Service Control
Point, 业务控制点) 平台上, 且处于激活状态。 当接入 PPS系统后, PPS系统如果检 查到用户余额不足时, 需要结束会话。 如果收到用户发出的挂机消息时, 也可以结束 整个会话, 如果用户使用完已授权的时长后,可以到在线计费系统再次申请新的会话。 本实施例主要是在能通过一个信令转换模块, 在 IVR业务中需要接入第三方或者 话务员时, 生成一个虚拟的 IDP消息, 通过这个 IDP消息, 将第三方或者话务员的号 码传递给 PPS业务处理。由 PPS业务完成连接第三方或者话务员的接续和实时计费要 求。 这样就可以在 IVR业务中充分利用 PPS业务能较好的完成与 OCS计费处理模块 之间的实时计费处理能力, 以及较完善的计费异常保护能力。 本实施例中, 连接第三 方或者话务员的操作、扣费的操作都交由 PPS系统处理了, 这样大大简少了 IVR系统 的代码量, 而且对于 IVR系统来说, 也只需要配置所接入的 PPS系统的业务键和第三 方或者话务员的号码。 处理逻辑上也简单了许多, 而且 PPS系统也不需要改造。 如果 发生应急, PPS系统也可以按照一般的逻辑进行处理。 另一方面, IVR系统连接第三 方或者话务员的统计也需要移到接入 PPS系统之前,这样就不会造成 IVR系统在呼叫 第三方或者话务员功能时, 统计功能丢失。 从以上的描述中可以看出, 本发明保障了 IVR系统连接第三方或者话务员的计费 处理要求, 而且充分地复用了已具有的功能, 提高了开发效率, 节约了开发成本。 本 发明可广泛地用于世界各个国家、 地区的 IVR业务应用系统中。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而, 可以 将它们存储在存储装置中由计算装置来执行, 并且在某些情况下, 可以以不同于此处 的顺序执行所示出或描述的步骤, 或者将它们分别制作成各个集成电路模块, 或者将 它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明不限制于任 何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技 术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。 Point, Service Control Point) on the platform, and is active. When accessing the PPS system, the PPS system needs to end the session if it detects that the user's balance is insufficient. If the hang-up message sent by the user is received, the entire session can also be ended. If the user has used the authorized time, he can apply for a new session again to the online charging system. This embodiment mainly generates a virtual IDP message through a signaling conversion module, and needs to access a third party or an attendant in the IVR service, and transmits the number of the third party or the attendant to the PPS service through the IDP message. deal with. The connection and third party or operator's connection and real-time charging requirements are completed by the PPS service. In this way, the PPS service can be fully utilized in the IVR service to complete the real-time charging processing capability between the OPS charging processing module and the better accounting abnormality protection capability. In this embodiment, the operation of connecting the third party or the operator and the operation of deduction are handled by the PPS system, which greatly reduces the code amount of the IVR system, and for the IVR system, only the configuration needs to be accessed. The business key of the PPS system and the number of the third party or attendant. The processing logic is also much simpler, and the PPS system does not need to be modified. In the event of an emergency, the PPS system can also be processed in accordance with general logic. On the other hand, the statistics of the IVR system connected to the third party or the attendant also need to be moved before accessing the PPS system, so that the IVR system will not lose the statistical function when calling the third party or the attendant function. As can be seen from the above description, the present invention ensures the charging processing requirements of the IVR system to connect with a third party or an attendant, and fully multiplexes the existing functions, improves the development efficiency, and saves the development cost. The invention can be widely used in IVR business application systems of various countries and regions in the world. Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 书 Claims
1. 一种扣费方法, 包括: 1. A method of deduction, including:
PPS系统接收 IVR系统欲接入到所述 PPS系统的呼叫;  The PPS system receives a call from the IVR system to access the PPS system;
所述 PPS系统在所述呼叫的会话结束时, 根据所述会话的时长向在线计费 系统申请扣费。  The PPS system applies for a deduction to the online charging system according to the duration of the session when the session of the call ends.
2. 根据权利要求 1所述的方法, 其中, 所述 PPS系统接收所述 IVR系统欲接入到 所述 PPS系统的呼叫包括: 2. The method according to claim 1, wherein the receiving, by the PPS system, the call that the IVR system wants to access to the PPS system comprises:
所述 IVR系统将业务键信息替换为所述 PPS系统的业务键信息,将所述呼 叫的被叫方的接入号码替换为所述 PPS系统的被叫号码;  The IVR system replaces the service key information with the service key information of the PPS system, and replaces the access number of the called party of the call with the called number of the PPS system;
所述 PPS系统接收所述 IVR系统发送的替换后的所述业务键信息,以及替 换后的所述被叫号码;  Receiving, by the PPS system, the replaced service key information sent by the IVR system, and the replaced called number;
所述 PPS系统连接所述被叫方。  The PPS system is connected to the called party.
3. 根据权利要求 2所述的方法, 其中, 所述 IVR系统将所述被叫方的接入号码替 换为所述 PPS系统的被叫号码包括: The method according to claim 2, wherein the replacing, by the IVR system, the called party's access number into the called number of the PPS system includes:
如果所述接入号码的配置格式是国内号码格式,所述 IVR系统将所述接入 号码的属性值设置为国内号码;  If the configuration format of the access number is a domestic number format, the IVR system sets an attribute value of the access number to a domestic number;
如果所述接入号码的配置格式是国家码 +号码格式,所述 IVR系统将所述 接入号码的属性值设置为国际号码;  If the configuration format of the access number is a country code + number format, the IVR system sets an attribute value of the access number as an international number;
如果所述接入号码的配置格式是 00十国家码十号码格式,所述 IVR系统将 所述接入号码的属性值设置为未知, 或者, 所述 IVR系统将所述接入号码的配 置格式修改为国家码十号码格式, 再将所述接入号码的属性值设置为所述国际 号码。  If the configuration format of the access number is 00 ten country code ten number format, the IVR system sets the attribute value of the access number to be unknown, or the IVR system configures the access number. It is modified to the country code ten number format, and the attribute value of the access number is set to the international number.
4. 根据权利要求 2所述的方法, 其中, 所述 PPS系统接收所述 IVR系统发送的替 换后的所述业务键信息, 以及替换后的所述被叫号码之后, 所述方法还包括: 所述 IVR系统将所述呼叫的获取时间、所述被叫方的接入号码以及主叫方 号码计入 CDR话单中。 The method according to claim 2, wherein, after the PPS system receives the replaced service key information sent by the IVR system, and the replaced called number, the method further includes: The IVR system counts the acquisition time of the call, the access number of the called party, and the calling party number into the CDR bill.
5. 根据权利要求 2所述的方法, 其中, 所述 PPS系统连接所述被叫方包括: 所述 PPS系统向 OCS侧请求接入所述被叫方的呼叫鉴权, 并申请接入所 述被叫方的一个时间片; The method according to claim 2, wherein the connecting the called party to the PPS system comprises: The PPS system requests the OCS side to access the call authentication of the called party, and applies for accessing a time slice of the called party;
所述 PPS系统接收所述 OCS侧返回的所述时间片的时长;  Receiving, by the PPS system, a duration of the time slice returned by the OCS side;
所述 PPS系统向 MSC下发连接消息, 其中, 所述连接消息用于指示连接 所述被叫方;  The PPS system sends a connection message to the MSC, where the connection message is used to indicate that the called party is connected;
所述 PPS系统接收所述 MSC返回的接入所述被叫方成功的消息。 根据权利要求 2所述的方法, 其中, 所述 PPS系统连接所述被叫方之后, 所述 方法还包括:  The PPS system receives a message returned by the MSC to access the called party successfully. The method according to claim 2, wherein, after the PPS system is connected to the called party, the method further includes:
在接收到所述 MSC反馈的当前时间片的呼叫结束后, 所述 PPS系统向所 述 OCS侧申请下一个时间片;  After receiving the call of the current time slice fed back by the MSC, the PPS system applies for the next time slice to the OCS side;
所述 PPS系统接收所述 OCS侧返回的所述下一个时间片的时长; 所述 PPS系统向 MSC下发通知消息, 其中, 所述通知消息用于通知所述 MSC继续执行呼叫操作;  The PPS system receives the duration of the next time slice returned by the OCS side; the PPS system sends a notification message to the MSC, where the notification message is used to notify the MSC to continue performing a call operation;
所述 PPS系统接收所述 MSC返回的所述呼叫的会话结束的通知以及会话 的时长。 根据权利要求 6所述的方法, 其中, 所述 PPS系统根据所述会话的时长向在线 计费系统申请扣费包括- 所述 PPS系统根据所述 MSC返回的所述会话的时长, 向所述 OCS侧发送 扣费指示消息, 所述扣费指示消息用于指示所述 OCS侧执行扣费操作;  The PPS system receives a notification of the end of the session of the call returned by the MSC and the duration of the session. The method according to claim 6, wherein the PPS system applies for a charge to the online charging system according to the duration of the session, including: the length of the session returned by the PMS system according to the MSC, to the The OCS side sends a deduction fee indication message, where the deduction fee indication message is used to indicate that the OCS side performs a deduction operation;
所述 PPS系统接收所述 OCS侧反馈的扣费结果。 根据权利要求 1至 7中任一项所述的方法, 其中,  The PPS system receives a deduction result fed back by the OCS side. The method according to any one of claims 1 to 7, wherein
所述 IVR系统与所述 PPS系统都处于激活状态,且处于同一个业务控制点 SCP平台上。 一种扣费装置, 包括:  Both the IVR system and the PPS system are in an active state and are on the same service control point SCP platform. A deduction device comprising:
呼叫获取模块, 设置为接收 IVR系统欲接入到所述 PPS系统的呼叫; 扣费申请模块, 设置为在所述呼叫的会话结束时, 根据所述会话的时长向 在线计费系统申请扣费。 根据权利要求 9所述的装置, 其中, 所述呼叫获取模块包括: 接收单元, 设置为接收所述 IVR系统发送的替换后的业务键信息, 以及替 换后的所述被叫号码; a call obtaining module, configured to receive a call that the IVR system wants to access the PPS system; and a charge application module, configured to apply for a charge to the online charging system according to the duration of the session when the session of the call ends . The device according to claim 9, wherein the call acquisition module comprises: a receiving unit, configured to receive the replaced service key information sent by the IVR system, and the replaced called number;
连接单元, 设置为连接所述被叫方。  A connection unit, configured to connect to the called party.
11. 根据权利要求 10所述的装置, 其中, 所述连接单元包括: The device according to claim 10, wherein the connecting unit comprises:
申请子单元, 设置为向 OCS侧请求接入所述被叫方的呼叫鉴权,并申请接 入所述被叫方的一个时间片;  The application subunit is configured to request the OCS side to access the call authentication of the called party, and apply to access a time slice of the called party;
时长接收子单元, 设置为接收所述 OCS侧返回的所述时间片的时长; 消息下发子单元, 设置为向 MSC下发连接消息, 其中, 所述连接消息用 于指示连接所述被叫方;  The time receiving subunit is configured to receive the duration of the time slice returned by the OCS side; the message sending subunit is configured to send a connection message to the MSC, where the connection message is used to indicate that the called party is connected Party
消息接收子单元, 设置为接收所述 MSC返回的接入所述被叫方成功的消 息。  The message receiving subunit is configured to receive a message returned by the MSC to access the called party successfully.
12. 根据权利要求 10所述的装置, 其中, 所述装置还包括: 12. The device according to claim 10, wherein the device further comprises:
申请模块, 设置为在接收到所述 MSC 反馈的当前时间片的呼叫结束后, 向所述 OCS侧申请下一个时间片;  The application module is configured to apply to the OCS side for the next time slice after receiving the call of the current time slice fed back by the MSC;
时长接收模块, 设置为接收所述 OCS侧返回的所述下一个时间片的时长; 消息下发模块, 设置为向 MSC下发通知消息, 其中, 所述通知消息用于 通知所述 MSC继续执行呼叫操作;  The duration receiving module is configured to receive the duration of the next time slice returned by the OCS side; the message sending module is configured to send a notification message to the MSC, where the notification message is used to notify the MSC to continue to execute Call operation
时长接收模块, 设置为接收所述 MSC返回的所述呼叫的会话结束的通知 以及会话的时长。  The duration receiving module is configured to receive a notification of the end of the session of the call returned by the MSC and a duration of the session.
13. 根据权利要求 12所述的装置, 其中, 所述扣费申请模块包括: The device according to claim 12, wherein the debit application module comprises:
指示消息发送模块, 设置为根据所述 MSC返回的所述会话的时长, 向所 述 OCS侧发送扣费指示消息, 所述扣费指示消息用于指示所述 OCS侧执行扣 费操作;  And the indication message sending module is configured to send, according to the duration of the session returned by the MSC, a deduction indication message to the OCS side, where the deduction indication message is used to instruct the OCS side to perform a deduction operation;
结果接收单元, 设置为接收所述 OCS侧反馈的扣费结果。  The result receiving unit is configured to receive the deduction result of the OCS side feedback.
PCT/CN2013/080509 2012-08-08 2013-07-31 Fee deduction method and apparatus WO2013178186A2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210280449.9 2012-08-08
CN201210280449.9A CN103581863B (en) 2012-08-08 2012-08-08 Deduction method and device

Publications (2)

Publication Number Publication Date
WO2013178186A2 true WO2013178186A2 (en) 2013-12-05
WO2013178186A3 WO2013178186A3 (en) 2014-01-23

Family

ID=49673970

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/080509 WO2013178186A2 (en) 2012-08-08 2013-07-31 Fee deduction method and apparatus

Country Status (2)

Country Link
CN (1) CN103581863B (en)
WO (1) WO2013178186A2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106933880B (en) 2015-12-31 2020-08-11 阿里巴巴集团控股有限公司 Label data leakage channel detection method and device
CN105721173A (en) * 2016-04-05 2016-06-29 北京金捷报文化传媒有限公司 Game data transmission method, device and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1674518A (en) * 2004-03-24 2005-09-28 华为技术有限公司 Method for realizing intelligent network payment
CN101448235A (en) * 2008-12-17 2009-06-03 中兴通讯股份有限公司 Method and system for achieving charging in interactive voice response service
CN102075897A (en) * 2009-11-20 2011-05-25 中国移动通信集团江苏有限公司 Method and system for charging mobile data service
WO2011133188A1 (en) * 2009-12-14 2011-10-27 Roamware, Inc. Camel roaming adaptations

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100579255C (en) * 2006-07-26 2010-01-06 中兴通讯股份有限公司 Method for providing service key switching function for intelligent network system
CN101420494B (en) * 2007-10-24 2012-11-21 朗讯科技公司 Method and apparatus for establishing session connection for prepaid user
CN101984650B (en) * 2010-11-09 2014-12-31 中兴通讯股份有限公司 Charging method and system for international virtual private network (IVPN) prepaid service

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1674518A (en) * 2004-03-24 2005-09-28 华为技术有限公司 Method for realizing intelligent network payment
CN101448235A (en) * 2008-12-17 2009-06-03 中兴通讯股份有限公司 Method and system for achieving charging in interactive voice response service
CN102075897A (en) * 2009-11-20 2011-05-25 中国移动通信集团江苏有限公司 Method and system for charging mobile data service
WO2011133188A1 (en) * 2009-12-14 2011-10-27 Roamware, Inc. Camel roaming adaptations

Also Published As

Publication number Publication date
CN103581863B (en) 2018-06-22
CN103581863A (en) 2014-02-12
WO2013178186A3 (en) 2014-01-23

Similar Documents

Publication Publication Date Title
CN101009691B (en) Convergence service control system and method for IMS network and old network
RU2153704C2 (en) Method and device for televoting in intelligent network
EP1647131B1 (en) Services and transactions in a telephony network
US8363802B2 (en) Caller controlled time demarcation system
CN101217384B (en) Method, device and system to realize virtual private network charging
WO2012167676A1 (en) Call charging processing method and system for communication device
WO2010063176A1 (en) Calling charging method based on online charging system and communication system
US6700961B1 (en) Prepaid calling with warning announcement
US9203977B2 (en) Method, apparatus and system for service association based on service nesting charging
WO2008089675A1 (en) A method, system, switch device and service control point for implementing call forward
RU2274961C2 (en) Method for actively establishing connections by means of service controlling node in mobile telecommunications system
WO2010017690A1 (en) A method for processing the abnormity of an online charging system
WO2013178186A2 (en) Fee deduction method and apparatus
WO2010135880A1 (en) Interactive voice response system and realization method thereof
WO2012062076A1 (en) Prepayment service charging method and system for integrated virtual private network (ivpn)
EP2600590B1 (en) Method for realizing nesting of services with different categories and system thereof
WO2011003255A1 (en) Method for implementing callee payment service based on online charging system
WO2015196818A1 (en) Method and apparatus for sending short message
WO2011015154A1 (en) Method, device and system for releasing resources
CN101448235B (en) Method and system for achieving charging in interactive voice response service
WO2016155251A1 (en) Call control method and service control apparatus
CN112153585B (en) Charging system, method, storage medium and electronic device
WO2016082570A1 (en) Call assistance method, apparatus and system
WO2016127637A1 (en) Method for processing voice mail service based on intelligent network, and intelligent network device
CN102510562B (en) Method for nesting services of code division multiple access (CDMA) user on service control point (SCP), SCP and wireless intelligent network

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13797877

Country of ref document: EP

Kind code of ref document: A2

122 Ep: pct application non-entry in european phase

Ref document number: 13797877

Country of ref document: EP

Kind code of ref document: A2