CN103581863B - Deduction method and device - Google Patents
Deduction method and device Download PDFInfo
- Publication number
- CN103581863B CN103581863B CN201210280449.9A CN201210280449A CN103581863B CN 103581863 B CN103581863 B CN 103581863B CN 201210280449 A CN201210280449 A CN 201210280449A CN 103581863 B CN103581863 B CN 103581863B
- Authority
- CN
- China
- Prior art keywords
- calling
- pps systems
- mentioned
- pps
- message
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements for data wireline or wireless communications
- H04L12/1432—Metric aspects
- H04L12/1439—Metric aspects time-based
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
- H04M15/64—On-line charging system [OCS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
- H04M15/82—Criteria or parameters used for performing billing operations
- H04M15/8207—Time based data metric aspects, e.g. VoIP or circuit switched packet data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/24—Accounting or billing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M3/00—Automatic or semi-automatic exchanges
- H04M3/42—Systems providing special services or facilities to subscribers
- H04M3/487—Arrangements for providing information services, e.g. recorded voice services or time announcements
- H04M3/493—Interactive information services, e.g. directory enquiries ; Arrangements therefor, e.g. interactive voice response [IVR] systems or voice portals
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Meter Arrangements (AREA)
- Telephonic Communication Services (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a kind of deduction method and devices.Wherein, this method includes:PPS systems receive the calling that IVR system is intended to be linked into the PPS systems;The PPS systems are deducted fees in the conversation end of above-mentioned calling, according to the duration of above-mentioned session to online charging system application.Pass through the present invention, PPS systems is transferred to handle access calling and operation of deducting fees, IVR system will call and access PPS systems, then the PPS systems are in the conversation end of above-mentioned calling, it is deducted fees according to the duration of above-mentioned session to online charging system application, solves the problems, such as that the operation of deducting fees of IVR system in the relevant technologies is more complicated, and then simplifies processing logic and process flow, size of code is reduced, reduces waste of exploiting natural resources.
Description
Technical field
The present invention relates to the communications field, in particular to a kind of deduction method and device.
Background technology
In intelligent network field, online charging system(Online Charging System, referred to as OCS)It is using most
Extensive charge system frame, this charge system frame are detached access is called with charging control, can control user in real time
Credit reduces arrearage, reduces bad account cost, has efficiently controlled operations risks.Between calling access and charging control mainly
Pass through Diameter(Diameter Credit Control, referred to as DCC)Interface message and man-machine interface language
(Man-Machine Language, referred to as MML)Interface message interacts.It is high, good that Diameter has reliability
The advantages that failure mechanism got well, make main application in the call treatment business of pre-payment(Prepaid Paid Service, letter
Referred to as PPS)In system.Should be readily appreciated that of MML interface messages, the advantages that interacting message is simple, make main application in interactive mode
Voice answer-back(Interactive Voice Response, referred to as IVR)In system.
Current PPS systems mainly handle the function of making a phone call of user, and complete the real time billing requirement of user's calling.
IVR system be mainly user provide for example supplement with money, query the balance, transferring accounts, the management of Familiarity Number, the management of brand, connection
The a series of service such as third party or operator.In these services, it is typically to exempt from the services such as to supplement, query the balance, transferring accounts with money
Take for users to use.Mostly by the way of pay-per-use, user often carries out one for the services such as the management of Familiarity Number, the management of brand
The expense once changed is collected in secondary change, and such charging can be readily available solution by MML interfaces.Connect third party
Or these services of operator are more special, operation cost is higher than the business of front two, and if user uses
Time it is longer, it is required consumption it is also bigger, for these service, just compare the real time billing tended to by duration, thus
User's malice can preferably be avoided to effectively reduce cost using third party or operator's resource.
In order to preferably complete to need to complete in IVR system a set of by the real time billing function of duration in IVR system
DCC Message Processings billing logic and exception control flow.Fig. 1 be according to the flow chart of the IVR system billing operation of the relevant technologies,
As shown in Figure 1, the flow includes the following steps(Step S102- steps S134):
Step S102, user initiate calling, mobile switching centre(Mobile Switch Center, referred to as MSC)Root
According to Originating CAMEL Subscription Information(Originating CAMEL Subscription Information, referred to as O_CSI)It touches
Sending service control point(Service Control Point, referred to as SCP)On IVR business.
After step S104, IVR business is authenticated successfully by MML message to OCS sides, request report event is sent
(Request Report BCSM Event, referred to as RRBE)Be connected to resource(Connect To Resource, referred to as
CTR)Message is established playback with MSC and is connect.
Step S106, IVR business is collected the digits after the connection of playback is successfully established by playback(Prompt And
Collect User Information, referred to as P&C)Message plays main menu for user.
Step S108, MSC return to the input of user by P&C_res.
After step S110, IVR business receives the response of user, the corresponding function of button input by user is analyzed, is found
It is connection third party or operator's function, then sends dismounting forward connection(Disconnect Forward Connect, referred to as
For DFC)Message, cut-out playback resource connection.
Step S112, IVR business passes through initial CCR message(CCR_INITIAL)Message is attached traffic to OCS sides
The calling authorization of member, application time piece.
Step S114, OCS return to the duration of the timeslice of calling by response message CCA_INITIAL message.
Step S116, IVR sending down service RRBE, Apply Charging(Apply Charge, referred to as AC), CONNECT message
Continue third party or operator.
Step S118, MSC are reported by event(Event Report BCSM, referred to as ERB)Message informing IVR business
It is connect with third party or operator is successful.
Step S120, MSC pass through charging report(Apply Charging Report, referred to as ACR)Message informing IVR
Business, first timeslice end of calling.
Step S122, IVR business passes through CCR new informations(CCR_UPDATE)Message carries out second time to OCS sides
The application of piece.
Step S124, OCS return to the duration of second timeslice by response message CCA_UPDATE.
Step S126, IVR sending down service AC, notice MSC continue to call.
Step S128, after user's call operator terminates, MSC returns to entire connection third party by ACR, ERB message
Or the time of operator and notice service call terminate.
The duration that step S130, IVR business is then reported according to MSC sends and terminates CCR message(CCR_TERMINAL), lead to
Know that OCS deducts fees.
Step S132, OCS return to result of deducting fees by response message CCA_TERMINAL.
Step S134, IVR sending down service RC terminates entirely to call.
It can be seen that from flow above from step S116 to step S134, these steps are the complete of one calling of processing
Synchronizing is rapid, and IVR system carries out calling third-party real-time deduction function by the way of as above, can cause the processing of IVR system
Logic is complicated, and size of code is big, the problems such as wasting of exploiting natural resources.
The problem of more complicated is operated for deducting fees for IVR system in the relevant technologies, not yet proposes effective solution party at present
Case.
Invention content
The problem of more complicated is operated for deducting fees for IVR system in the relevant technologies, the present invention provides a kind of charging methods
And device, at least to solve the above problems.
According to an aspect of the invention, there is provided a kind of charging method, this method include:PPS systems receive IVR system
It is intended to be linked into the calling of above-mentioned PPS systems;The PPS systems are in the conversation end of above-mentioned calling, according to the duration of above-mentioned session
It deducts fees to online charging system application.
Above-mentioned PPS systems receive the calling that above-mentioned IVR system is intended to be linked into above-mentioned PPS systems and include:Above-mentioned IVR system will
Business key information replaces with the business key information of above-mentioned PPS systems, and the access code of the callee of above-mentioned calling is replaced with
State the called number of PPS systems;Above-mentioned PPS systems receive the replaced above-mentioned business key information that above-mentioned IVR system is sent, with
And replaced above-mentioned called number;Above-mentioned PPS systems connect above-mentioned callee.
The called number that the access code of above-mentioned callee is replaced with above-mentioned PPS systems by above-mentioned IVR system includes:If
The configuration format of above-mentioned access code is national number form, and the property value of above-mentioned access code is set as by above-mentioned IVR system
National number;If the configuration format of above-mentioned access code is national code+number format, above-mentioned IVR system is by above-mentioned Number for access
The property value of code is set as international number;If the configuration format of above-mentioned access code is 00+ national codes+number format, on
It states IVR system and the property value of above-mentioned access code is set as unknown, alternatively, above-mentioned IVR system matching above-mentioned access code
Form modifying is put as national code+number format, then the property value of above-mentioned access code is set as above-mentioned international number.
Above-mentioned PPS systems receive the replaced above-mentioned business key information that above-mentioned IVR system sends and it is replaced on
After stating called number, the above method further includes:Above-mentioned IVR system meets acquisition time of above-mentioned calling, above-mentioned callee
Enter number and caller rs number is included in CDR tickets.
Above-mentioned PPS systems connect above-mentioned callee and include:Above-mentioned PPS systems access above-mentioned callee's to the request of OCS sides
Calling authorization, and apply for accessing the timeslice of above-mentioned callee;Above-mentioned PPS systems receive the above-mentioned of above-mentioned OCS sides return
The duration of timeslice;Above-mentioned PPS systems issue connection message to MSC, wherein, above-mentioned connection message is used to indicate the above-mentioned quilt of connection
The side of crying;Above-mentioned PPS systems receive the successful message of the above-mentioned callee of access that above-mentioned MSC is returned.
After above-mentioned PPS systems connect above-mentioned callee, the above method further includes:Receiving working as above-mentioned MSC feedbacks
After the end of calling of preceding timeslice, above-mentioned PPS systems apply for next timeslice to above-mentioned OCS sides;On above-mentioned PPS systems receive
State the duration of above-mentioned next timeslice of OCS sides return;Above-mentioned PPS systems to MSC notification message transmissions, wherein, it is above-mentioned logical
Message is known for above-mentioned MSC to be notified to continue to execute call operation;Above-mentioned PPS systems receive the above-mentioned calling that above-mentioned MSC is returned
The notice of conversation end and the duration of session.
Above-mentioned PPS systems according to the duration of above-mentioned session to online charging system application deduct fees including:Above-mentioned PPS systems root
According to the duration of the above-mentioned MSC above-mentioned sessions returned, instruction message of deducting fees, above-mentioned instruction message use of deducting fees are sent to above-mentioned OCS sides
Operation of deducting fees is performed in the above-mentioned OCS sides of instruction;Above-mentioned PPS systems receive the result of deducting fees of above-mentioned OCS sides feedback.
Above-mentioned IVR system and above-mentioned PPS systems are in same service control point (SCP) platform all in state of activation
On.
According to another aspect of the present invention, it provides one kind to deduct fees device, which includes:Acquisition module is called, is used for
Receive the calling that IVR system is intended to be linked into above-mentioned PPS systems;It deducts fees application module, in the conversation end of above-mentioned calling,
It is deducted fees according to the duration of above-mentioned session to online charging system application.
Above-mentioned calling acquisition module includes:Receiving unit, for receiving the replaced service key that above-mentioned IVR system is sent
Information and replaced above-mentioned called number;Connection unit, for connecting above-mentioned callee.
Above-mentioned connection unit includes:Apply for subelement, for accessing the calling authorization of above-mentioned callee to the request of OCS sides,
And apply for accessing the timeslice of above-mentioned callee;Duration receiving subelement, for receive that above-mentioned OCS sides return it is above-mentioned when
Between piece duration;Message issues subelement, for issuing connection message to MSC, wherein, above-mentioned connection message is used to indicate connection
Above-mentioned callee;Message sink subelement, for receiving the successful message of the above-mentioned callee of access that above-mentioned MSC is returned.
Above device further includes:Apply for module, in the end of calling for the current time piece for receiving above-mentioned MSC feedbacks
Afterwards, apply for next timeslice to above-mentioned OCS sides;Duration receiving module, for receiving the above-mentioned next of above-mentioned OCS sides return
The duration of timeslice;Message issues module, for MSC notification message transmissions, wherein, above-mentioned notification message is above-mentioned for notifying
MSC continues to execute call operation;Duration receiving module, for receiving the logical of the conversation end for the above-mentioned calling that above-mentioned MSC is returned
Know and the duration of session.
Above-mentioned application module of deducting fees includes:Instruction message sending module, for the above-mentioned session that is returned according to above-mentioned MSC
Duration sends instruction message of deducting fees to above-mentioned OCS sides, and above-mentioned instruction message of deducting fees is used to indicate above-mentioned OCS sides and performs the behaviour that deducts fees
Make;As a result receiving unit, for receiving the result of deducting fees of above-mentioned OCS sides feedback.
By the present invention, PPS systems is transferred to handle access calling and operation of deducting fees, IVR system will call access PPS systems
System, then the PPS systems are in the conversation end of above-mentioned calling, according to the duration of above-mentioned session to online charging system application button
Take, solve the problems, such as that the operation of deducting fees of IVR system in the relevant technologies is more complicated, and then simplifies processing logic and processing stream
Journey reduces size of code, reduces waste of exploiting natural resources.
Description of the drawings
Attached drawing described herein is used to provide further understanding of the present invention, and forms the part of the application, this hair
Bright illustrative embodiments and their description do not constitute improper limitations of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is the flow chart according to the IVR system billing operation of the relevant technologies;
Fig. 2 is the flow chart of charging method according to embodiments of the present invention;
By the signaling process figure of duration based accounting when Fig. 3 is user access operator according to embodiments of the present invention;
Fig. 4 is the structure diagram of device of deducting fees according to embodiments of the present invention;
Fig. 5 is the concrete structure block diagram of device of deducting fees according to embodiments of the present invention;
Fig. 6 is that user according to embodiments of the present invention is shown when accessing operator by the interacting message of each network element of duration based accounting
It is intended to.
Specific embodiment
Come that the present invention will be described in detail below with reference to attached drawing and in conjunction with the embodiments.It should be noted that do not conflicting
In the case of, the feature in embodiment and embodiment in the application can be combined with each other.
In the related art, IVR system is carrying out callee(It is referred to as third party or operator etc.)Deduct fees
During flow, if calling therein and step of deducting fees are performed by IVR system, it will cause to handle logic complexity, waste more money
Source.Based on this, an embodiment of the present invention provides a kind of deduction method and devices.It is described in detail below by embodiment.
A kind of charging method, the flow chart of charging method as shown in Figure 2 are present embodiments provided, this method includes following
Step(Step S202- steps S204):
Step S202, PPS system receive the calling that IVR system is intended to be linked into above-mentioned PPS systems;
Step S204, PPS system is in the conversation end of above-mentioned calling, according to the duration of above-mentioned session to online charging system
System application is deducted fees.
By the above method, PPS systems is transferred to handle access calling and operation of deducting fees, IVR system will call and access PPS
System, then the PPS systems are in the conversation end of above-mentioned calling, according to the duration of above-mentioned session to online charging system application
It deducts fees, solves the problems, such as that the operation of deducting fees of IVR system in the relevant technologies is more complicated, and then simplifies processing logic and processing stream
Journey reduces size of code, reduces waste of exploiting natural resources.
When IVR system will call access PPS systems, need the relevant information of the calling being sent to PPS systems, so as to
PPS systems carry out subsequent operating process, therefore, present embodiments provide a kind of preferred embodiment, i.e. PPS systems receive
The calling of IVR system PPS systems to be linked into includes:The service key that business key information is replaced with PPS systems by IVR system is believed
The access code of the callee of calling is replaced with the called number of PPS systems by breath;PPS systems receive replacing for IVR system transmission
Above-mentioned business key information and replaced above-mentioned called number after changing;PPS systems connect above-mentioned callee.
When the access code for carrying out callee is replaced, number attribute is traditionally arranged to be domestic attribute, because operator
Number is usually national number, if configuration is not national number form, can be converted according to the following rules:If it connects
The configuration format for entering number is national number form, and the property value of above-mentioned access code is set as national number by IVR system;Such as
The configuration format of fruit access code is national code+number format, and the property value of above-mentioned access code is set as state by IVR system
Border number;If the configuration format of access code is 00+ national codes+number format, IVR system is by the category of above-mentioned access code
Property value is set as unknown, alternatively, the configuration format of above-mentioned access code is revised as national code+number format by IVR system, then
The property value of above-mentioned access code is set as international number.
After follow-up business is accessed PPS systems by IVR system, IVR system is just handled and is completed, due to the number of IVR system
Released when PPS systems are accessed according to area, IVR system have no idea monitoring PPS systems performance, therefore
It accesses before PPS systems, IVR system is needed number of the time for accessing PPS systems, the third party connected or operator
The information such as code, calling number are charged in the CDR tickets of generation, when OCS charge systems are abnormal, it is possible to utilize IVR
The number of initial time, calling number in the ticket that system is recorded, the third party connected or operator(It is equivalent to
Called number in PPS system tickets), the ticket of PPS systems is sorted, is found in IVR system calling, call operator
Call ticket, the operation deducted fees offline is completed, so as to reduce loss to the greatest extent.
Based on above-mentioned ticket writing flow, a kind of preferred embodiment is present embodiments provided, i.e. PPS systems receive IVR
After business key information and the access code of the callee of above-mentioned calling that system is sent, this method further includes:IVR system
Acquisition time, the access code of above-mentioned callee and the caller rs number of above-mentioned calling are included in CDR tickets.
The flow that the flow of PPS systems connection callee connect callee with IVR system is substantially similar, only executive agent
PPS systems are converted to by IVR system, the flow of PPS systems connection callee are introduced below, the connection of PPS systems is called
Side includes:PPS systems access the calling authorization of above-mentioned callee to the request of OCS sides, and apply for accessing one of above-mentioned callee
Timeslice;PPS systems receive the duration for the above-mentioned timeslice that above-mentioned OCS sides return;PPS systems issue connection message to MSC,
In, above-mentioned connection message is used to indicate the above-mentioned callee of connection;PPS systems receive the above-mentioned callee of access that above-mentioned MSC is returned
Successful message.
After PPS systems connection callee, the above method further includes:In the current time piece for receiving above-mentioned MSC feedbacks
End of calling after, PPS systems apply for next timeslice to above-mentioned OCS sides;PPS systems receive the upper of above-mentioned OCS sides return
State the duration of next timeslice;PPS systems to MSC notification message transmissions, wherein, the notification message is for notifying above-mentioned MSC
Continue to execute call operation;PPS systems receive the conversation end for the above-mentioned calling that above-mentioned MSC is returned notice and session when
It is long.
After PPS systems connect callee, PPS systems need to deduct fees to online charging system application, specifically, PPS
System according to the duration of above-mentioned session to online charging system application deduct fees including:PPS systems return above-mentioned according to above-mentioned MSC
The duration of session sends instruction message of deducting fees to above-mentioned OCS sides, and above-mentioned instruction message of deducting fees is used to indicate above-mentioned OCS sides and performs
It deducts fees operation;PPS systems receive the result of deducting fees of above-mentioned OCS sides feedback.IVR system and PPS systems all in state of activation, and
On same service control point (SCP) platform.
The realization process of above-described embodiment is described in detail with reference to preferred embodiments and drawings.
IVR system together with PPS system globe areas, is accessed third party or during operator, in IVR system by the present embodiment
It cannot preferably realize by duration based accounting.Fig. 3 is by duration based accounting when user according to embodiments of the present invention accesses operator
Signaling process figure, as shown in figure 3, the flow includes the following steps(Step S302- steps S336):
Step S302, user rise and exhale, and MSC triggers business according to O_CSI, and after SCP receives IDP message, IVR system judges quilt
After code of calling out the numbers is management access code, into IVR management processes.
Step S304, IVR system issue RRBE(O_ABANDON, caller are abandoned), CTR be connected to MSC.
Step S306, IVR system play main menu by P&C message for user.
Step S308, MSC return to the input of user by P&C_res.
Step S310, IVR system analyze the corresponding function of button input by user, are the discovery that connection third party or traffic
Member's function, then send DFC message, and cut-out playback resource connection prepares connection operator.
Step S312, IVR system need the third party of access code or the number of operator and the service key of PPS systems to be transmitted to
Signaling transfer module.Signaling transfer module can delete the occupied data field of IVR business, then be received 201 steps
IDP message replicates portion, and the service key in the IDP message copied is replaced with to the service key of PPS, and called number replaces with institute
The number of operator accessed is needed, other parameter remains unchanged, and this message is sent out with the mode of initial session message, this
When same SCP platforms PPS business will receive this message carry out subsequent processing.The IDP message that is generated in the step with
General message is compared, and without new session number, session number still adopts the session number of 201 steps, and this IDP is outside
Portion is sightless, is an inside story.
In this step, when carrying out called number replacement, number attribute is traditionally arranged to be domestic attribute, because operator
Number is usually national number, if configuration is not national number form, can be converted according to the following rules:
When operator's number format is configured to national number form, number attribute value is set to national number.
When operator's number format is configured to the form of national code+number, number attribute value is set as international number.
When operator's number format is configured to the form of 00+ national codes+number, number attribute value be set as it is unknown or
It is regular in the progress of IVR business sides, 00 is removed, number attribute value is set as international.
Step S314, PPS system passes through initial CCR message(CCR_INITIAL)Message is attached traffic to OCS sides
The calling authorization of member, application time piece.
Step S316, OCS return to the duration of the timeslice of calling by response message CCA_INITIAL message.
Step S318, PPS system issues RRBE, Apply Charging(Apply Charge, AC), CONTINUE message continue
Tripartite or operator.Note that is issued here is CONTINUE message, because the called number that PPS systems receive is exactly institute
Need connected number.
Step S320, MSC pass through ERB(o_answer)Message informing PPS systems connect with third party or operator into
Work(.
Step S322, MSC are by ACR message informing PPS systems, first timeslice end of calling.
Step S324, PPS system passes through CCR new informations(CCR_UPDATE)Message carries out second time to OCS sides
The application of piece.
Step S326, OCS return to the duration of second timeslice by response message CCA_UPDATE.
Step S328, PPS system issues AC, and notice MSC continues to call.
Step S330, after user's call operator terminates, MSC returns to entire connection third party by ACR, ERB message
Or the time of operator and notice service call terminate.
The duration that step S332, PPS system is then reported according to MSC sends and terminates CCR message(CCR_TERMINAL), lead to
Know that OCS deducts fees.
Step S334, OCS return to result of deducting fees by response message CCA_TERMINAL.
Step S336, PPS system issues RC and terminates entirely to call.
The realization process of the present embodiment is less to the change of IVR system, and compared with traditional mode of deducting fees, this implementation
The method that example provides is simpler, and size of code is small, takes full advantage of PPS systems and IVR system feature.
It corresponding to above-mentioned charging method, present embodiments provides one kind and deducts fees device, which is used to implement above-mentioned implementation
Example.Fig. 4 is the structure diagram of device of deducting fees according to embodiments of the present invention, as shown in figure 4, the device includes:Calling obtains mould
Block 10 and application module 20 of deducting fees.The structure is illustrated below.
Acquisition module 10 is called, for receiving the calling that IVR system is intended to be linked into the PPS systems;
It deducts fees application module 20, calling acquisition module 10 is connected to, in the conversation end of above-mentioned calling, according to upper
The duration for stating session is deducted fees to online charging system application.
By above device, PPS systems is transferred to handle access calling and operation of deducting fees, calling is linked by IVR system
PPS systems, then the PPS systems are in the conversation end of above-mentioned calling, according to the duration of above-mentioned session to online charging system
Application is deducted fees, and solves the problems, such as that the operation of deducting fees of IVR system in the relevant technologies is more complicated, and then simplifies processing logic and place
Flow is managed, reduces size of code, reduces waste of exploiting natural resources.
When IVR system will call access PPS systems, need the relevant information of the calling being sent to PPS systems, so as to
PPS systems carry out subsequent operating process, therefore, present embodiments provide a kind of preferred embodiment, Fig. 5 is according to the present invention
The concrete structure block diagram of the device of deducting fees of embodiment, as shown in figure 5, the device in addition to include the modules in above-mentioned Fig. 4 it
Outside, above-mentioned calling acquisition module 10 further includes:Receiving unit 12 and connection unit 14.The structure is illustrated below.
Receiving unit 12, for receiving replaced business key information that above-mentioned IVR system sends and replaced
State called number;
Connection unit 14 is connected to receiving unit 12, for connecting above-mentioned callee.
When the access code for carrying out callee is replaced, number attribute is traditionally arranged to be domestic attribute, because operator
Number is usually national number, if configuration is not national number form, can be converted by certain rule.Therefore,
A kind of preferred embodiment is present embodiments provided, i.e., is the situation of national number form in the configuration format of above-mentioned access code
Under, the property value of above-mentioned access code is set as national number by IVR system;It is country in the configuration format of above-mentioned access code
In the case of code+number format, the property value of above-mentioned access code is set as international number by IVR system;In above-mentioned Number for access
In the case that the configuration format of code is 00+ national codes+number format, IVR system sets the property value of above-mentioned access code
To be unknown, alternatively, the configuration format of above-mentioned access code is revised as national code+number format by IVR system, then is connect above-mentioned
The property value for entering number is set as above-mentioned international number.
The flow that the flow of PPS systems connection callee connect callee with IVR system is substantially similar, only executive agent
PPS systems are converted to by IVR system.Therefore, a kind of preferred embodiment is present embodiments provided, i.e., above-mentioned connection unit 18 wraps
It includes:Apply for subelement, for accessing the calling authorization of above-mentioned callee to the request of OCS sides, and apply accessing above-mentioned callee's
One timeslice;Duration receiving subelement, for receiving the duration for the above-mentioned timeslice that above-mentioned OCS sides return;Message issues son
Unit, for issuing connection message to MSC, wherein, above-mentioned connection message is used to indicate the above-mentioned callee of connection;Message sink list
Member, for receiving the successful message of the above-mentioned callee of access that above-mentioned MSC is returned.
Above device further includes:Apply for module, in the end of calling for the current time piece for receiving above-mentioned MSC feedbacks
Afterwards, apply for next timeslice to above-mentioned OCS sides;Duration receiving module, for receiving the above-mentioned next of above-mentioned OCS sides return
The duration of timeslice;Message issues land reclamation and cultivation, for MSC notification message transmissions, wherein, above-mentioned notification message is above-mentioned for notifying
MSC continues to execute call operation;Duration receiving module, for receiving the logical of the conversation end for the above-mentioned calling that above-mentioned MSC is returned
Know and the duration of session.
After PPS systems connect callee, PPS systems need to deduct fees to online charging system application, specifically, above-mentioned
Application module of deducting fees includes:Instruction message sending module, for the duration of the above-mentioned session returned according to above-mentioned MSC, to above-mentioned
OCS sides send instruction message of deducting fees, and above-mentioned instruction message of deducting fees is used to indicate above-mentioned OCS sides and performs operation of deducting fees;As a result it receives
Unit, for receiving the result of deducting fees of above-mentioned OCS sides feedback.
The present embodiment by IVR system together with PPS system globe areas, is completed in IVR system by signaling transfer module
When cannot realize access third party or operator well, it is impossible to preferable the problem of realizing by duration based accounting.The present embodiment
It is easy to operate, it is less to the change of IVR system, and also compared with traditional mode of deducting fees, method provided in this embodiment is more
Simply, size of code is small, takes full advantage of PPS systems and IVR system feature.
The present embodiment presses duration based accounting to handle that IVR system transfers third party or operator by signaling transfer module
Flow be described, Fig. 6 is disappearing by each network element of duration based accounting when user according to embodiments of the present invention accesses operator
Breath interaction schematic diagram, as shown in fig. 6, above-mentioned as follows by duration charging flow:
First, user accesses IVR system by dialing IVR access codes, and IVR system is dialled after being authenticated to user puts menu
It is selected for user.User is according to menu option, selection access third party or operator.
In this step, IVR system can obtain the letters such as state, the brand of user to OCS charge systems by MML message
Breath, it is which to judge whether user allows to put to the menu of user using IVR business and needs group by these information
It is a.
Second, after IVR system receives user's input, calling is accessed in PPS systems.
In this step, IVR system will need the third party of access code or the number of operator and the service key of PPS systems
It is transmitted to signaling transfer module.Signaling transfer module will call and access pre-payment PPS systems.IVR system will be completed in this step
The record of ticket CDR and the statistics of business.
Third, operation when authenticating to online charging system when PPS systems are completed and apply for long, and in conversation end
When, the duration that is reported according to MSC is deducted fees to online charging system application.
In this step, the PPS systems accessed will be in same SCP with IVR system(Service Control
Point, service control point)On platform, and it is active.After PPS systems are accessed, if PPS systems check user
When Sorry, your ticket has not enough value, need to terminate session.If receive the on-hook message that user sends out, entire session can also be terminated, if
After user has used the duration authorized, online charging system can be arrived and apply for new session again.
The present embodiment mainly can by a signaling transfer module, needed in IVR business access third party or
During operator, a virtual IDP message is generated, by this IDP message, the number of third party or operator are passed to
PPS business processings.Connection third party is completed by PPS business or operator continues and real time billing requirement.It thus can be with
Make full use of PPS business that can preferably complete the real time billing processing energy between OCS charging processing modules in IVR business
Power and more perfect charging abnormal protection ability.It in the present embodiment, connects the operation of third party or operator, deduct fees
Operation all transfers to PPS systems to handle, the size of code for having lacked IVR system significantly simple in this way, and for IVR system,
Only need to configure the service key of accessed PPS systems and the number of third party or operator.Processing is also simple in logic
Many, and PPS systems are also without transformation.In case of emergent, PPS systems can also be according to general logic at
Reason.On the other hand, the statistics of IVR system connection third party or operator are also required to move on to before access PPS systems, thus
Will not causing IVR system, statistical function is lost when calling third party or operator's function.
As can be seen from the above description, the present invention has ensured the charging of IVR system connection third party or operator
Processing requirement, and the function having had fully has been multiplexed, development efficiency is improved, has saved development cost.The present invention can
It is widely used in world's every country, regional IVR business application systems.
Obviously, those skilled in the art should be understood that each module of the above-mentioned present invention or each step can be with general
Computing device realize that they can concentrate on single computing device or be distributed in multiple computing devices and be formed
Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored
It is performed in the storage device by computing device, and in some cases, it can be to be different from shown in sequence herein performs
The step of going out or describing they are either fabricated to each integrated circuit modules respectively or by multiple modules in them or
Step is fabricated to single integrated circuit module to realize.It to be combined in this way, the present invention is not limited to any specific hardware and softwares.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, that is made any repaiies
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.
Claims (13)
1. a kind of charging method, which is characterized in that including:
PPS systems receive the calling that IVR system is intended to be linked into the PPS systems;
The PPS systems are in the conversation end of the calling, according to the duration of the session to online charging system application button
Take.
2. according to the method described in claim 1, it is characterized in that, the PPS systems receive the IVR system institute to be linked into
The calling for stating PPS systems includes:
Business key information is replaced with the business key information of the PPS systems by the IVR system, by the callee's of the calling
Access code replaces with the called number of the PPS systems;
The PPS systems receive the replaced business key information and the replaced quilt that the IVR system is sent
It calls out the numbers code;
The PPS systems connect the callee.
3. according to the method described in claim 2, it is characterized in that, the IVR system replaces the access code of the callee
The called number for being changed to the PPS systems includes:
If the configuration format of the access code is national number form, the IVR system is by the attribute of the access code
Value is set as national number;
If the configuration format of the access code is national code+number format, the IVR system is by the category of the access code
Property value is set as international number;
If the configuration format of the access code is 00+ national codes+number format, the IVR system is by the access code
Property value be set as unknown, alternatively, the configuration format of the access code is revised as national code+number by the IVR system
Form, then the property value of the access code is set as the international number.
4. according to the method described in claim 2, it is characterized in that, the PPS systems receive the replacement that the IVR system is sent
After the business key information and the replaced called number afterwards, the method further includes:
Acquisition time, the access code of the callee and the caller rs number of the calling are included in CDR by the IVR system
In ticket.
5. according to the method described in claim 2, it is characterized in that, the PPS systems connection callee includes:
The PPS systems access the calling authorization of the callee to the request of OCS sides, and apply for accessing one of the callee
Timeslice;
The PPS systems receive the duration for the timeslice that the OCS sides return;
The PPS systems issue connection message to MSC, wherein, the connection message is used to indicate the connection callee;
The PPS systems receive the successful message of the access callee that the MSC is returned.
6. according to the method described in claim 5, it is characterized in that, after the PPS systems connect the callee, the side
Method further includes:
After the end of calling of current time piece of the MSC feedbacks is received, under the PPS systems are applied to the OCS sides
One timeslice;
The PPS systems receive the duration for next timeslice that the OCS sides return;
The PPS systems to MSC notification message transmissions, wherein, the notification message is for notifying the MSC to continue to execute calling
Operation;
The PPS systems receive the notice of conversation end of the calling and the duration of session that the MSC is returned.
7. according to the method described in claim 6, it is characterized in that, the PPS systems according to the duration of the session to online
Charge system application deduct fees including:
The duration of the session that the PPS systems are returned according to the MSC sends instruction message of deducting fees, institute to the OCS sides
It states instruction message of deducting fees and is used to indicate the OCS sides and perform operation of deducting fees;
The PPS systems receive the result of deducting fees of the OCS sides feedback.
8. method according to any one of claim 1 to 7, which is characterized in that
The IVR system and the PPS systems are in all in state of activation on same service control point (SCP) platform.
The device 9. one kind is deducted fees, which is characterized in that including:
Acquisition module is called, for receiving the calling of IVR system PPS systems to be linked into, wherein, by access calling and the behaviour that deducts fees
The PPS systems is transferred to handle;
It deducts fees application module, in the conversation end of the calling, according to the duration of the session to online charging system
Application is deducted fees.
10. device according to claim 9, which is characterized in that the calling acquisition module includes:
Receiving unit, for receiving replaced business key information and the replaced called number that the IVR system is sent
Code, wherein, replaced service key information includes:The business key information of the PPS systems, replaced called number are described
The called number of PPS systems;
Connection unit, for connecting callee.
11. device according to claim 10, which is characterized in that the connection unit includes:
Apply for subelement, for accessing the calling authorization of the callee to the request of OCS sides, and apply accessing the callee's
One timeslice;
Duration receiving subelement, for receiving the duration for the timeslice that the OCS sides return;
Message issues subelement, for issuing connection message to MSC, wherein, the connection message is used to indicate the connection quilt
The side of crying;
Message sink subelement, for receiving the successful message of the access callee that the MSC is returned.
12. according to the devices described in claim 11, which is characterized in that described device further includes:
Apply for module, for after the end of calling of current time piece of the MSC feedbacks is received, applying to the OCS sides
Next timeslice;
Duration receiving module, for receiving the duration for next timeslice that the OCS sides return;
Message issues module, for MSC notification message transmissions, wherein, the notification message is for notifying the MSC to continue to hold
Row call operation;
Duration receiving module, for receiving the notice of conversation end of the calling and the duration of session that the MSC is returned.
13. device according to claim 12, which is characterized in that the application module of deducting fees includes:
Instruction message sending module for the duration of the session returned according to the MSC, sends to the OCS sides and deducts fees
Instruction message, the instruction message of deducting fees are used to indicate the OCS sides and perform operation of deducting fees;
As a result receiving unit, for receiving the result of deducting fees of the OCS sides feedback.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210280449.9A CN103581863B (en) | 2012-08-08 | 2012-08-08 | Deduction method and device |
PCT/CN2013/080509 WO2013178186A2 (en) | 2012-08-08 | 2013-07-31 | Fee deduction method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210280449.9A CN103581863B (en) | 2012-08-08 | 2012-08-08 | Deduction method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103581863A CN103581863A (en) | 2014-02-12 |
CN103581863B true CN103581863B (en) | 2018-06-22 |
Family
ID=49673970
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210280449.9A Active CN103581863B (en) | 2012-08-08 | 2012-08-08 | Deduction method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103581863B (en) |
WO (1) | WO2013178186A2 (en) |
Families Citing this family (2)
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 |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1674518A (en) * | 2004-03-24 | 2005-09-28 | 华为技术有限公司 | Method for realizing intelligent network payment |
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 |
CN101448235B (en) * | 2008-12-17 | 2012-07-04 | 中兴通讯股份有限公司 | Method and system for achieving charging in interactive voice response service |
CN102075897B (en) * | 2009-11-20 | 2013-12-11 | 中国移动通信集团江苏有限公司 | Method and system for charging mobile data service |
WO2011133188A1 (en) * | 2009-12-14 | 2011-10-27 | Roamware, Inc. | Camel roaming adaptations |
CN101984650B (en) * | 2010-11-09 | 2014-12-31 | 中兴通讯股份有限公司 | Charging method and system for international virtual private network (IVPN) prepaid service |
-
2012
- 2012-08-08 CN CN201210280449.9A patent/CN103581863B/en active Active
-
2013
- 2013-07-31 WO PCT/CN2013/080509 patent/WO2013178186A2/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
WO2013178186A2 (en) | 2013-12-05 |
CN103581863A (en) | 2014-02-12 |
WO2013178186A3 (en) | 2014-01-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
AU2004300755B2 (en) | Services and transactions in a telephony network | |
CN101212792B (en) | Billing information processing method for convergence services | |
CN1158878C (en) | Communication network | |
CN110166983A (en) | A kind of event subscription method and network element device | |
CN103581863B (en) | Deduction method and device | |
CN1340956A (en) | Method and system for implementing pre-payment service of mobile network | |
CN101340635A (en) | Method for processing exception of on-line billing system | |
CN101616391B (en) | Implementing method of paying service of calling party and called party and system | |
CN101984650B (en) | Charging method and system for international virtual private network (IVPN) prepaid service | |
CN1946120B (en) | Method and system for realizing telephone list association | |
CN101001463A (en) | Communication system, service control point and service control method | |
CN101448235B (en) | Method and system for achieving charging in interactive voice response service | |
CN101610489A (en) | A kind of freephone implementation method and system based on OCS | |
CN1158838C (en) | Method for implementing long-distance calling over intelligent mobile network by fixed telephone | |
CN100589590C (en) | Method and device for realizing similar services of multiple virtual operators via one service key | |
CN1447571A (en) | Method for adding value to telecommunication service card and its devices | |
CN100527675C (en) | Method for implementing prepayment service | |
CN105704682A (en) | Call assisting method, device and system | |
CN1976487B (en) | Call control method and intelligent network service system | |
US6980791B2 (en) | Charging control of telecommunication network subscriber | |
CN100407661C (en) | A method for testing intelligent service performance | |
CN105991850B (en) | The processing method and intelligent equipment of Voice Mail Service based on intelligent network | |
CN112153585A (en) | Charging system, method, storage medium and electronic device | |
CN100388711C (en) | System and method for realizing pre-payment user virtual special network service | |
CN101959082A (en) | Service processing method and intelligent network system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |