CN1200535C - Method and device for in-line real-time charge - Google Patents

Method and device for in-line real-time charge Download PDF

Info

Publication number
CN1200535C
CN1200535C CN 01103271 CN01103271A CN1200535C CN 1200535 C CN1200535 C CN 1200535C CN 01103271 CN01103271 CN 01103271 CN 01103271 A CN01103271 A CN 01103271A CN 1200535 C CN1200535 C CN 1200535C
Authority
CN
China
Prior art keywords
data
signaling
call
computing
conversation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN 01103271
Other languages
Chinese (zh)
Other versions
CN1366397A (en
Inventor
吴江洪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN 01103271 priority Critical patent/CN1200535C/en
Publication of CN1366397A publication Critical patent/CN1366397A/en
Application granted granted Critical
Publication of CN1200535C publication Critical patent/CN1200535C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Meter Arrangements (AREA)

Abstract

The present invention provides a method and a device for the on-line real-time charging. The device works aiming at the international signaling no. 7. The method comprises the following steps of the signaling collection, the signaling analysis, the call data extraction, the call data filtration, the call note algorithm, the call bill recording operation, etc. The data can be formed in the process of calling, and when the call is put through, the call bill is generated to realize the on-line charging. Simultaneously, the counting time unit can be accurate to the millisecond level, and moreover, the device is not dependent on an exchanger in the process of the operation. Thus, the method and the device have general applicability.

Description

The method and apparatus that a kind of online in real time is chargeed
Technical field
The present invention relates to the method and apparatus that a kind of online in real time is chargeed, especially based on the method and apparatus of the online charging of international signalling system No.7.
Background technology
What current communication charge adopted is the online charging system, toll telephone, local telephone and mobile phone carry out communication traffic by switch, by the cell stores telephone expenses in the switch, regularly with online batch processing, the online collecting ticket of carrying out of outer computer.This kind charging method can only form complete ticket after user's on-hook, the ticket of Chan Shenging not only lags behind like this, and the counting unit time can't be accurate to Millisecond, make per-second calculation and obtain telephone bill in real time and exist impassable technology barrier, the communication dealer can't in time release the charge preferential policy, responds the demand of the common people based on the rate aspect; And because the brand and model difference of switch, the data form of storage has nothing in common with each other, and online with it computer must cooperate it to adjust just can collect ticket, very inconvenient.
Summary of the invention
The method and apparatus that the object of the invention is to provide a kind of online in real time to charge can collect counting unit time of real-time Millisecond precision, forms data when customer call, begins conversation and promptly produces ticket, and do not rely on switch and carry out operation.
The method that a kind of online in real time of indication of the present invention is chargeed may further comprise the steps:
1, signal collecting: G703 standard interface signal is become the data-interface of standard, and extract signaling data;
2, signaling is resolved: will decipher according to the defined No. 7 signal standards protocol suites of ITUT from binary data that step 1 obtains and be converted to ASC II sign indicating number;
3, call data extract: the data relevant with calling are extracted from the data centralization that step 2 obtains;
4, filter calls data: the call data concentration filter that obtains from step 3 goes out and the relevant data of conversing, and includes to converse, begin the data conversing or finish to converse;
5, message registration computing: the record of having conversed is carried out single step progression computing with the charge unit duration, message registrations all in the system is traveled through following algorithm:
1) judges whether to begin conversation;
2) record of having conversed is carried out single step progression computing with the charge unit duration;
3) end of conversation stops computing, sends data and continues step 6, and former record empties;
6, recording call list: the dynamic mapping that is the user's communication state.
A kind of online in real time message accounting comprises:
1, signaling acquisition device: G703 standard interface signal is become the data-interface of standard, and extract signaling data;
2, signaling resolver: binary data are deciphered being converted to ASC II sign indicating number according to the defined No. 7 signal standards protocol suites of ITUT;
3, call data extraction element: the data relevant with calling are extracted from data centralization;
4, filter calls data set: go out and the relevant data of conversation at the call data concentration filter, include and converse, begin the data conversing or finish to converse;
5, call recording device: the record of having conversed is carried out single step progression computing with the charge unit duration, message registrations all in the system is traveled through following algorithm:
1) judges whether to begin conversation;
2) record of having conversed is carried out single step progression computing with the charge unit duration;
3) end of conversation stops computing, sends data and continues step 6, and former record empties;
6, ticket writing device: the dynamic mapping that is the user's communication state.
Because the data of gathering are the standard signal data that become by the electrical signal conversion based on international signalling system No.7, method and apparatus of the present invention has general versatility, be separated from the past the communication dealer to the dependence of switch, need be not different with model and adjust for the brand that cooperates switch; Because the present invention produces data when calling out, begin conversation and promptly produce ticket, realized online charging, and can be as accurate as the counting unit time of Millisecond; Because the signal data that collects can be converted to ASC II sign indicating number, the communication dealer can utilize it to carry out various computings, to cooperate various operation demands simultaneously.
Description of drawings
Fig. 1 is the flow chart of online in real time charging method among the present invention;
Fig. 2 is the structure chart of online in real time message accounting among the present invention.
Below the present invention is done detailed narration.
Embodiment
As shown in Figure 1, the present invention relates to a kind of online in real time charging method, may further comprise the steps: step 1, signal collecting: G703 standard interface model is become the data-interface of standard, and extract signaling data.This step can be understood as the data extract based on the CCITT-G703 interface, and provides based on the data-interface of standard TCP/IP and provide data for other step.The data that provide are the source code flow of signalling system No.7.Because Signaling System 7(SS-7) is a kind of international standardized universal common channel signalling system, its the most suitable integrated digital network of forming by digital SPC exchange and digital transmission equipment, can satisfy the present and the future and transmit the requirement of calling out transaction information between control, remote control, maintenance management signaling and the processor, provide signaling to be transmitted in the correct order and the unlikely reliable method of losing or repeating.So Signaling System 7(SS-7) can satisfy the requirement of multiple communication service, current groundwork is used to be had: the interoffice signaling that transmits telephone network; The interoffice signaling of transfer circuit switched data network; Transmit the interoffice signaling of integrated services digital network; Transmit relevant information in various operations, administration and maintenance centers; All not free field for the charging demand of supporting that the present invention mentions, when this step collects signaling data, is stamped time tag to signaling in real time in the signaling message.
Step 2, signaling are resolved: will decipher according to the defined signalling system No.7 standard set of ITU-T from binary data that step 1 is obtained and be converted to ASCII character.The signalling system No.7 standard set of ITU-T definition defined signalling system No.7 in the network operation the data organization form and explained the meaning of respective field.According to the signalling system No.7 protocol suite, those skilled in the art can operation such as decipher to relevant signaling data.
Step 3, call data extract: the data centralization of the data relevant with calling from step 2 extracted.With calling out relevant data extract is data format according to standard signalling system No.7 protocol definition, the data field (usually can for time, numbers of calling and called parties, link information etc. according to concrete charge system to the require degree of information can dwindle or enlarge range of information) relevant with calling extracted.Because some signaling is relevant with calling control in the signaling message, some signaling has nothing to do with calling control.The present invention mainly extracts the signaling message relevant with calling out control.In the specific implementation, the person of ordinary skill in the field will carry out data extract according to various technical specifications according to the difference of concrete agreement.The extracting mode of Telephone User Part can carry out based on " Chinese inland telephone network NO7 aspect technical specification ", the extracting mode of ISDN User Part can be based on " domestic NO.7 signaling method technical specification ISUP (ISUP) " and " domestic NO.7 signaling method technical specification ISUP (ISUP) (additional modifications part) ", the extracting mode of GSM MAP can carry out based on " 900MHZ TDMA digital mobile communication network MAP standard ", the extracting mode of GSM Base Station Subsystem Application Part can be based on " 900MHZ TDMA digital mobile communication network mobile services switching centre and base station sub-system interface technical specification " and " 900 1800MHz TDMA digital mobile cellular telecommunication net mobile services switching centres and base station sub-system interface second stage technical specification ", the extracting mode of CDMA MAP can be based on " specification requirement of 800MHZ CDMA digital mobile cellular telecommunication net MAP ", the extracting mode of CDMABSSAP agreement can be based on " 800MHZ CDMA digital mobile cellular telecommunication network interface specification requirement: mobile switching centre and base station sub-system interface ", the extracting mode of Intelligent Network Application Protocol can be based on " post and telecommunications network technology system Intelligent Network Application Protocol ", and the extracting mode of GPRS agreement can be based on " TDMA digital mobile cellular telecommunication Netcom packet wireless business (GPRS) tunnel protocol technical specification ".Such as in Telephone User Part, according to protocol specification, the signaling that comprises of once conversing is generally IAI, ACM, ANC, CLF, RLG etc.Wherein IAI comprises numbers of calling and called parties, and ANC represents the conversation beginning, and the signaling time can be used as the time started of charging, and as required, CLF or RLG can be used as the concluding time of charging.The signalling system No.7 protocols has only stipulated that various signalings are as the purposes of calling out control.
Step 4, filter calls data: the call data concentration filter that obtains from step 3 goes out and the relevant data of conversing, and includes to converse, begin the data conversing or finish to converse.Different in each bar signaling message with the construction meeting of calling out relevant data based concrete charge system.Whether the additional information that can comprise numbers of calling and called parties and network control as field such as chargeing.Coding and the deposit data position of these fields in different agreements will be different.The protocol-dependent technical specification of signalling system No.7 all has detailed definition to each field.This step filters out the data relevant with conversation that charge system requires by the mode of signaling technology normalized definition.
Step 5, message registration computing: the record of having conversed is carried out single step progression computing with the charge unit duration, message registrations all in the system is traveled through following algorithm:
Step 51: in a charge unit duration, message registration is once traveled through the beginning that is once traveling through entering, the internal memory of initialization message registration.
Message registration can carry out self-defined according to standard agreement and concrete demand.Following field can be arranged.
Field name Actual field name
Time started start_time
Concluding time end_time
The duration of call (second) anc_time
Calling number calling
Called number called
Step 52: judge whether to begin conversation.
According to the signaling protocol rules, all signalings are filtered, judge and represent whether the signaling that begins to converse arrives.If arrive, the time assignment of signaling is given the time started of ticket.Calling number that signaling is carried and called number information assignment are given the respective field of ticket.
Step 53: the duration of call+one a charge unit duration=new duration of call, i.e. single step progression computing.
When a metering period arrives, the duration of call and charge unit duration are carried out addition, obtain the new duration of call.Finish single step progression computing.
Step 54: judge whether to finish conversation.
According to the signaling protocol rules, all signalings are filtered, whether the signaling of judging the expression end of conversation arrives.If arrive, the time assignment of signaling is given the concluding time of ticket.
Step 55: send the ticket writing data.
Ticket writing is sent continuation step 6, and former record empties.
Step 56: withdraw from this traversal, experience entering traversal next time behind the charge unit duration.
After experiencing a charge unit duration, from the filter calls data set, obtain and call out relevant signaling data, enter traversal next time.
Step 6, recording call list: the dynamic mapping that is the user's communication state, finger records user's current talking state faithfully online to a kind of dynamically recording mode of user's current talking state, after user's communication finishes, generate the user's communication ticket in real time, thereby realize online real time billing.
As shown in Figure 2, the device that online in real time is chargeed among the present invention comprises:
Signaling acquisition device 1: G703 standard interface model is become the data-interface of standard, and extract signaling data.This device can be understood as the data extract based on the CCITT-G703 interface, and provides based on the data-interface of standard TCP/IP and provide data for other device.The data that provide are the source code flow of signalling system No.7.Because Signaling System 7(SS-7) is a kind of international standardized universal common channel signalling system, its the most suitable integrated digital network of forming by digital SPC exchange and digital transmission equipment, can satisfy the present and the future and transmit the requirement of calling out transaction information between control, remote control, maintenance management signaling and the processor, provide signaling to be transmitted in the correct order and the unlikely reliable method of losing or repeating.So Signaling System 7(SS-7) can satisfy the requirement of multiple communication service, current groundwork is used to be had: the interoffice signaling that transmits telephone network; The interoffice signaling of transfer circuit switched data network; Transmit the interoffice signaling of integrated services digital network; Transmit relevant information in various operations, administration and maintenance centers; All not free field for the charging demand of supporting that the present invention mentions, when this device collects signaling data, is stamped time tag to signaling in real time in the signaling message.
Signaling resolver 2: binary data are deciphered being converted to ASC II sign indicating number according to the defined No. 7 signal standards protocol suites of ITUT.The signalling system No.7 standard set of ITU-T definition defined signalling system No.7 in the network operation the data organization form and explained the meaning of respective field.According to the signalling system No.7 protocol suite, those skilled in the art can operation such as decipher to relevant signaling data.
Call data extraction element 3: the data relevant with calling are extracted from data centralization.With calling out relevant data extract is data format according to standard signalling system No.7 protocol definition, the data field (usually can for time, numbers of calling and called parties, link information etc. according to concrete charge system to the require degree of information can dwindle or enlarge range of information) relevant with calling extracted.Because some signaling is relevant with calling control in the signaling message, some signaling has nothing to do with calling control.The present invention mainly extracts the signaling message relevant with calling out control.In the specific implementation, the person of ordinary skill in the field will carry out data extract according to various technical specifications according to the difference of concrete agreement.The extracting mode of Telephone User Part can carry out based on " Chinese inland telephone network NO7 aspect technical specification ", the extracting mode of ISDN User Part can be based on " domestic NO.7 signaling method technical specification ISUP (ISUP) " and " domestic NO.7 signaling method technical specification ISUP (ISUP) (additional modifications part) ", the extracting mode of GSM MAP can carry out based on " 900MHZ TDMA digital mobile communication network MAP standard ", the extracting mode of GSM Base Station Subsystem Application Part can be based on " 900MHZ TDMA digital mobile communication network mobile services switching centre and base station sub-system interface technical specification " and " 9001800MHz TDMA digital mobile cellular telecommunication net mobile services switching centre and base station sub-system interface second stage technical specification ", the extracting mode of CDMA MAP can be based on " specification requirement of 800MHZCDMA digital mobile cellular telecommunication net MAP ", the extracting mode of CDMA Base Station Subsystem Application Part can be based on " 800MHZ CDMA digital mobile cellular telecommunication network interface specification requirement: mobile switching centre and base station sub-system interface ", the extracting mode of Intelligent Network Application Protocol can be based on " post and telecommunications network technology system Intelligent Network Application Protocol ", and the extracting mode of GPRS agreement can be based on " TDMA digital mobile cellular telecommunication Netcom packet wireless business (GPRS) tunnel protocol technical specification ".
Filter calls data set 4: go out and the relevant data of conversation at the call data concentration filter, include and converse, begin the data conversing or finish to converse.Different in each bar signaling message with the construction meeting of calling out relevant data based concrete charge system.Whether the additional information that can comprise numbers of calling and called parties and network control as field such as chargeing.Coding and the deposit data position of these fields in different agreements will be different.The protocol-dependent technical specification of signalling system No.7 all has detailed definition to each field.This step filters out the data relevant with conversation that charge system requires by the mode of signaling technology normalized definition.Such as in Telephone User Part, according to protocol specification, the signaling that comprises of once conversing is generally IAI, ACM, ANC, CLF, RLG etc.Wherein IAI comprises numbers of calling and called parties, and ANC represents the conversation beginning, and the signaling time can be used as the time started of charging, and as required, CLF or RLG can be used as the concluding time of charging.The signalling system No.7 protocols has only stipulated that various signalings are as the purposes of calling out control.
Call recording device 5: the record of having conversed is carried out single step progression computing with the charge unit duration, message registrations all in the system is traveled through following algorithm:
1) judges whether to begin conversation;
2) record of having conversed is carried out single step progression computing with the charge unit duration;
3) end of conversation stops computing, sends data to the ticket writing device, and former record empties.
Ticket writing device 6: the dynamic mapping that is the user's communication state, finger records user's current talking state faithfully online to a kind of dynamically recording mode of user's current talking state, after user's communication finishes, generate the user's communication ticket in real time, thereby realize online real time billing.

Claims (2)

1, a kind of method of online in real time charging is characterized in that may further comprise the steps:
(1) signal collecting: G703 standard interface signal is become the data-interface of standard, and extract signaling data;
(2) signaling is resolved: will decipher according to the defined signalling system No.7 standard set of ITU-T from binary data that step 1 is obtained and be converted to ASCII character;
(3) call data extract: the data centralization of the data relevant with calling from step 2 extracted;
(4) filter calls data: the call data concentration filter that obtains from step 3 goes out and the relevant data of conversing, and includes to converse, begin the data conversing or finish to converse;
(5) message registration computing: the record of having conversed is carried out single step progression computing with the charge unit duration, message registrations all in the system is traveled through following algorithm:
1) judges whether to begin conversation;
2) record of having conversed is carried out single step progression computing with the charge unit duration;
3) end of conversation stops computing, sends data and continues step 6, and former record empties;
(6) recording call list: the dynamic mapping that is the user's communication state.
2, a kind of online in real time message accounting is characterized in that comprising:
(1) signaling acquisition device: G703 standard interface signal is become the data-interface of standard, and extract signaling data;
(2) signaling resolver: binary data are deciphered being converted to ASC II sign indicating number according to the defined No. 7 signal standards protocol suites of ITUT;
(3) call data extraction element: the data relevant with calling are extracted from data centralization;
(4) filter calls data set: go out and the relevant data of conversation at the call data concentration filter, include and converse, begin the data conversing or finish to converse;
(5) call recording device: the record of having conversed is carried out single step progression computing with the charge unit duration, message registrations all in the system is traveled through following algorithm:
1) judges whether to begin conversation;
2) record of having conversed is carried out single step progression computing with the charge unit duration;
3) end of conversation stops computing, sends data to the ticket writing device, and former record empties;
(6) ticket writing device: the dynamic mapping that is the user's communication state.
CN 01103271 2001-01-19 2001-01-19 Method and device for in-line real-time charge Expired - Fee Related CN1200535C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 01103271 CN1200535C (en) 2001-01-19 2001-01-19 Method and device for in-line real-time charge

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 01103271 CN1200535C (en) 2001-01-19 2001-01-19 Method and device for in-line real-time charge

Publications (2)

Publication Number Publication Date
CN1366397A CN1366397A (en) 2002-08-28
CN1200535C true CN1200535C (en) 2005-05-04

Family

ID=4653191

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 01103271 Expired - Fee Related CN1200535C (en) 2001-01-19 2001-01-19 Method and device for in-line real-time charge

Country Status (1)

Country Link
CN (1) CN1200535C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459745B (en) * 2007-12-10 2012-03-21 华为技术有限公司 Correcting method and device for fee charging

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100340093C (en) * 2003-08-15 2007-09-26 广州合晟科技有限公司 Speech sound business real time recording and analysis system and its method
CN102999602A (en) * 2012-11-20 2013-03-27 北京思特奇信息技术股份有限公司 Data parsing method and system
CN116599782B (en) * 2023-06-05 2024-04-02 深圳众投互联信息技术有限公司 Multi-dimensional voice call ticket data filtering system based on data analysis

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459745B (en) * 2007-12-10 2012-03-21 华为技术有限公司 Correcting method and device for fee charging

Also Published As

Publication number Publication date
CN1366397A (en) 2002-08-28

Similar Documents

Publication Publication Date Title
CN1105460C (en) Real-time network for distributed telecommunications accounting system
CN1150728A (en) Call charging information providing method, control device, switch, terminal and network
CN1376357A (en) Prepaid services in a communications system
BG61361B1 (en) System of controlling modular public telephones
CN100444655C (en) A SMS transfer implementation method
CN107295491A (en) The method and system of automatic screening calling subscribe during call forwarding
CN1200535C (en) Method and device for in-line real-time charge
CN100341288C (en) Method of unifying accounts of intelligent network users
CN100426824C (en) Method of carrying out intelligent service of personal portable telephone system
CN1314043A (en) Method for the real-time billing of telecommunication links when a subscriber is located outside is home network
CN100588199C (en) Communication controlling system based on No.7 signalling network, method and service controller structure thereof
CN1738344A (en) Charging method for intelligence service
CN1798041A (en) Charging method in communication system
CN1553608A (en) Charging method for CDMA intelligent net system
CN102118519A (en) Method and system for realizing telephone dialing in session initiation protocol integrated access device (SIP IAD) and device
CN101080042B (en) A method for realizing closed group service
CN1859528A (en) System and method for realizing communication net quasi real time charging
CN101043562A (en) Fee counting method for CDMA intelligent network service
CN1084991C (en) Method for structuring and carrying out public telephone network
CN1558345A (en) Method and system for parking registration, parking space enquiry and traffic enquiry using mobile telephone
CN1812446A (en) Switchboard realizing method
CN101060646B (en) A device, method for the management of several countries' intelligent services and intelligent network system
CN110381453B (en) Incoming call reminding method and system for one-number double-terminal
CN100388738C (en) Method of one-way short message pick-up based on MAP layer protocol
CN1218554C (en) Method for accessing internet via SIM card and wireless terminal adapter thereof

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20050504

Termination date: 20100119