WO2009036645A1 - Method and system for ims network element charging information and method and system for charging - Google Patents
Method and system for ims network element charging information and method and system for charging Download PDFInfo
- Publication number
- WO2009036645A1 WO2009036645A1 PCT/CN2008/000055 CN2008000055W WO2009036645A1 WO 2009036645 A1 WO2009036645 A1 WO 2009036645A1 CN 2008000055 W CN2008000055 W CN 2008000055W WO 2009036645 A1 WO2009036645 A1 WO 2009036645A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data record
- charging
- record
- billing
- partial
- 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.)
- Ceased
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 specially adapted for data communications, e.g. authentication, authorisation and accounting [AAA] framework
-
- 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 specially adapted for data communications, e.g. authentication, authorisation and accounting [AAA] framework
- H04L12/1428—Invoice generation, e.g. customization, lay-out, database processing, algorithms for calculating the bill or formatting invoices as WWW pages
-
- 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/57—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP for integrated multimedia messaging subsystem [IMS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2215/00—Metering arrangements; Time controlling arrangements; Time indicating arrangements
- H04M2215/20—Technology dependant metering
- H04M2215/208—IMS, i.e. Integrated Multimedia messaging Subsystem
Definitions
- IMS network element billing information comprehensive method and system
- the present invention relates to the field of communications, and in particular, to an IMS network element charging information integration method and system, and a charging method and system. Background technique
- IMS IP Multimedia Subsystem
- NTN Next Generation Network
- IMS implements all-IP, flexible and diverse control for multimedia (such as video telephony, multi-party video conferencing, etc.).
- the offline charging of the IMS refers to collecting the charging information generated by each network element entity in the IMS after the multimedia session and the service start, and transmitting the collected charging information to the billing domain (BD) for batching.
- the process of billing operations such as price and settlement.
- the billing operation in the BD does not affect the session process in real time.
- Users who use the offline charging method generally receive the bills periodically, and the billing items are displayed on the bill for a specific period of time.
- the call session control function (Call Session Control Function, CSCF, Exit Gateway Control Function, BGCF, Media Gateway Control Function, MGCF) is used in the IMS offline charging architecture.
- the application server (AS) and the Media Resource Function Controller (MRFC) and other network elements jointly complete the control of the multimedia session process.
- the CSCF mainly completes the management and routing of the session; BGCF The function is to select an exit point for calls to the circuit switched network.
- the MGCF is used for interworking with traditional circuit switched telecommunication networks; AS and MRFC are mainly used to provide various multimedia services. These network elements are performing multimedia sessions.
- the Charging Trigger Function (CTF) located inside the network element collects these billable event information and converts it into billing event information, and then counts these Charge event information sent to the billing data function (Charging Data Function CDF), the CDF uses these charging event information to generate and update the related Charging Data Record (CDR), and then the CDR is sent. It is processed by the Charging Gateway Function (CGF), and finally sent to the BD for processing such as rating and settlement.
- CTF Charging Trigger Function
- the CDF will generate several partial CDRs for a single multimedia session.
- the CDF will close the current part of the CDR and open the next part of the CDR to continue recording the billing information of this multimedia session. All of the CDRs of a session process form a complete description of the billing information for this session. Therefore, a CDR of an IMS network element cannot completely describe the charging process of an IMS session. Therefore, how to process part of the CDRs generated by the IMS network element for a specific multimedia session in the CGF to generate a concise and complete CDR and submit it to the BD is very important for further efficient quotation and settlement processing of the BD.
- Step S202 The CGF receives the CDR message sent by the CDF, and when the message is marked as a "repeated CDR message", the CDR is directly sent to the BD or discarded. Go to step S202; otherwise, go to step S204. This is because the CDF communicates with the primary CGF and also communicates with one or several standby CGFs. When the primary CGF fails, the CDF selects an alternate CGF to temporarily store CDR messages that are not acknowledged by the primary CGF. Marked as "possible duplicate CDR message".
- Step S204 The CGF extracts the CDR from the received CDR message, and performs format and internal check on the CDR. If the format and content in the CDR are correct, go to step S206. Otherwise, the CGF fills in the corresponding content according to the default rule, and then performs step S206. Step S206, the CGF saves the processed partial CDR to the corresponding CDR file, when the size of the CDR file reaches the specified capacity limit or opens the CDR file. Exceeded the set time interval, then ⁇ ! The CDR file is sent to the BD.
- the prior art has the following disadvantages in the processing of partial CDRs:
- the CGF Since the CGF only checks whether the content of some CDRs is complete, the processed partial CDRs cannot completely reflect the charging related information of the IMS network element for one multimedia session. Moreover, the CGF sends a large number of partial CDRs that are loosely related to each other to the BD, which will increase the processing load of the BD, resulting in a decrease in the efficiency of the billing process. 2.
- Part of the CDR of the IMS network element is a list type data format, including mandatory fields and fields that are changed conditionally. Among the several partial CDRs generated by one IMS network element for one multimedia session, there are many mandatory fields whose contents are the same and remain unchanged during the session. This will result in a large amount of redundant information in the partial CDRs sent by the CGF to the BD, which increases the transmission burden when transmitting these CDR files between the CGF and the BD.
- the CGF has a single error correction mode for some CDRs.
- the present invention provides an IMS network element charging information integration method and system, and a charging method and system, which can all IMS network elements generate a partial CDR for a multimedia session. Correlation and synthesis processing, compressing a large amount of redundant data, and correcting and supplementing some CDRs with format errors and content loss, so that the modified and supplemented partial CDRs are closer to the real part CDRs.
- the IMS network element charging information integration method according to the present invention includes the following steps: Step S302: Receive an accounting data record message from the charging data function entity and check whether the charging data record message is a possible duplicate charging data.
- Step S304 in the received charge data record report If the text is not a duplicate billing data record message, the received plurality of partial billing data records are associated, streamlined, and corrected according to one or more specified fields in the billing data record to obtain comprehensive billing.
- the one or more specified fields include the following fields: a record type, used to indicate the type of the IMS network element, an IMS charging identifier, used to uniquely identify a multimedia session, and a node role, used to indicate a partial charging data record. Whether the caller of the session or the called party of the session is recorded.
- the specified field may further include at least one of the following fields: a record serial number, which is used to determine the order of the partial bills; and a record closing reason for determining whether the merge is completed.
- Step S304 includes: Step a: determining whether the received charging data record is a partial charging data record, and setting the pre-processing status field of the charging data record to be unprepared if not part of the charging data.
- Processing the identifier and sending it to the billing processing domain In the case of partial billing data, determining whether the format and content of the received partial billing data record are correct, in the format and If the content is correct, set the correction flag to the uncorrected flag, and if the format or content is incorrect, judge whether to correct or supplement it. If it can be processed, set the preprocessing status field to not.
- Pre-processing identifier sending the billing data record directly to the billing processing domain; step b, searching for association according to at least one of a record type, an IMS billing identifier, a node role, and a record serial number in the partial billing data record And the processed comprehensive billing data record; step c, in the case of finding the integrated billing data record, correlating the comprehensive billing data records found in the received part of the billing data record field, The record serial number of the charge data record is compared with each entry in the record serial number list in the integrated charge data record, and the record serial number of the partial charge data record is inserted into the record serial number list in the integrated charge data record.
- step d in the case that the modified identification of the partial charging data record is not corrected, the partial charging data record is corrected according to the content in the comprehensive charging data record. Format and content and fill in the contents of the partial billing data record, compress and merge the redundant data in the partial billing data record into the integrated billing data record; and step e, the partial billing data record is not the last In the case of the received charging data record belonging to the session, the process returns to step a, and when the partial charging data record is the last received charging data record belonging to the session, the charging recording data is immediately sent.
- the pre-processing status in the integrated billing data record is set as the pre-processing timeout flag and the integrated billing data record is recorded. Sent to the billing processing domain.
- the charging data redundancy is recorded for the two parts before and after by at least one of the following methods: in the case that the recording closing reason is that the charging data record is opened for more than a predetermined time interval, the latter part of the charging data is recorded.
- the record close time field and the record close reason field are used to update the corresponding field in the previous partial charge data record; in the case where the record close reason is the charge data record capacity overrun, the record of the latter partial charge data record is closed.
- the time field and the record close reason field are used to update the corresponding field in the previous partial charge data record; and in the case where the record close reason is a service change, the field in the latter part of the charge data record is changed after the service change A new integrated billing data record is added to the integrated billing data record.
- the invention provides a charging method using an integrated method of IMS network element charging information.
- the IMS network element charging information integration system comprises: a receiving module, configured to receive an accounting data recording message from the charging data function entity and check whether the charging data recording message is a possible duplicate charging data. Recording a message, it is not possible to record the received data in the charging data.
- the charging data recording message is sent to the pre-processing module, and in the case that the received charging data recording message is a possible repeated charging data recording message,
- the billing data record message is temporarily stored in the mass storage device; the mass storage device is configured to store the billing data record, and the pre-processing module is configured to record the packet in the received billing data.
- the received plurality of partial charging data records are associated, streamlined and corrected according to one or more specified fields in the charging data record, at a predetermined time or predetermined time.
- the obtained integrated charging data record is transmitted to the transmitting module; and the transmitting module is configured to transmit the pre-processed charging data record to the billing processing domain.
- the one or more specified fields include the following fields: a record type, used to indicate the type of the IMS network element, an IMS charging identifier, used to uniquely identify a multimedia session, and a node role, used to indicate a partial charging data record. Whether the caller of the session or the called party of the session is recorded.
- the one or more specified fields further include at least one of the following fields: a record serial number, which is used to determine the order of the partial bills; and a reason for closing the records to determine whether the merge is completed.
- the pre-processing module includes: a judging and marking module, configured to determine whether the received charging data record is a partial charging data record, and pre-processing status field of the charging data record if not part of the charging data
- the pre-processing identifier is not sent and sent to the billing processing domain.
- partial billing data it is judged whether the format and content of the received partial billing data record are correct, and if the format and content are correct, The correction flag is set to be uncorrected. If the format or content is incorrect, it is judged whether it is corrected or supplemented. If it can be processed, the preprocessing status field is set to not preprocessed.
- the fee data record is directly sent to the billing processing domain; the searching module is configured to search for the associated, processed according to at least one of a record type, an IMS billing identifier, a node role, and a record serial number in the partial billing data record.
- Comprehensive billing data record integrated module, used to find comprehensive billing data records, Correlating the comprehensive charging data records found in the received partial charging data record field, and comparing the recording serial number of the partial charging data record with each entry in the recording serial number list in the comprehensive charging data record And inserting the record serial number of the partial charge data record into the record serial number list in the integrated charge data record or discarding the duplicate partial charge data record, and if the integrated charge data record is not found, the part is counted
- the fee data record is temporarily stored in the mass storage device; and the compression module corrects the format of the partial billing data record according to the content in the integrated billing data record if the correction identifier of the partial billing data record is not corrected.
- the compression module records the compression redundancy of the data records of the two parts before and after by using at least one of the following methods: When the record closing reason is that the time when the charging data record is opened exceeds the predetermined time interval, the latter part of the charging data is used.
- the recorded record close time field and the record close reason field are used to update the corresponding field in the previous partial charge data record; in the case where the record close reason is the charge data record capacity overrun, the latter part of the charge data record is used. Recording the closing time field and the recording closing reason field to update the corresponding field in the previous partial charging data record; and in the case where the recording closing reason is a business change, the service is changed after the business change in the latter partial charging data record The field is added to the integrated billing data record as a new consolidated billing data record.
- the invention provides a charging system using an IMS network element charging information comprehensive system.
- FIG. 1 is a schematic diagram of an IMS offline charging system structure
- FIG. 2 is a schematic diagram of a CGF processing part CDR process in the prior art
- FIG. 3 is a flowchart of an IMS network element charging information integration method according to the present invention.
- 4 is a flow chart of processing a partial CDR of a CGF preprocessing module according to the present invention
- FIG. 5 is a schematic structural diagram of each functional module of a CGF according to the present invention
- FIG. 6 is a comprehensive synthesis obtained by CGF performing IMS network element charging information comprehensive processing.
- the format of the CDR DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
- Step S302 Receive a charging data record message from a charging data function entity, and check whether the charging data record message is a possible repeated charging data record message. In the case that the received charging data recording message is a possible repeated charging data recording message, the charging data recording message is stored.
- Step S304 in the case that the received charging data recording message is not a possible charging data recording message, the plurality of parts received are charged according to one or more specified fields in the charging data record. The data records are correlated, refined, and modified to obtain a comprehensive billing data record and to temporarily store the integrated billing data record.
- Step S306 if the predetermined time is reached or the integrated billing data record reaches the predetermined storage capacity, the obtained integrated billing data record is sent to the billing processing domain.
- the one or more specified fields include the following fields: a record type, used to indicate the type of the IMS network element, an IMS charging identifier, used to uniquely identify a multimedia session, and a node role, used to indicate a partial charging data record. Whether the caller of the session or the called party of the session is recorded.
- the one or more specified fields further include at least one of the following fields: a record serial number, used to determine the order of the partial CDRs; and a record closing reason for determining whether the merge is completed.
- Step S304 includes: Step a: determining whether the received charging data record is a partial charging data record, and setting the pre-processing status field of the charging data record to be unprepared if not part of the charging data.
- the identifier is processed and sent to the billing processing domain.
- partial billing data it is judged whether the format and content of the received partial billing data record are correct, and if the format and content are correct, it is judged whether or not it is performed. Amend or supplement, if the correction or supplement can be made, the correction flag is set to not perform "positive identification. If the format or content is incorrect, the pre-processing status field is set to not perform pre-processing identification, and the charging data will be The record is directly sent to the billing processing domain.
- Step b at least one of the record type, the IMS billing identifier, the node role, and the record serial number in the partial billing data record is searched for the associated, processed comprehensive meter Fee data Record.
- Step c in the case that the integrated charging data record is found, correlating the comprehensive charging data records found in the received partial charging data record field, and recording the serial number of the partial charging data record and the comprehensive charging data.
- Each entry in the record sequence number list in the record is compared and the record sequence number of the partial charge data record is inserted into the record sequence number list in the integrated charge data record or the duplicate partial charge data record is discarded. If the integrated billing data record is not found, the partial billing data record is temporarily stored in the mass storage device.
- Step d in the case that the partial billing data "the positive mark is not positive", the format and content of the content correction portion of the chargeable data record in the integrated billing data record and the partial billing data are filled.
- the recorded content is compressed and merged into the integrated charging data record for the redundant data recorded in the partial charging data.
- Step e the partial charging data record is not the last received accounting belonging to the session.
- FIG. 4 is a flow chart showing the integration of IMS network element charging information in the charging gateway function preprocessing module in the embodiment of the present invention. Step S402, receiving a charging data record of the IMS network element sent by the receiving module.
- Step S404 determining whether the received charging data record is a partial charging data record. If not, recording the charging data.
- the preprocessing-Status" field is set to 0, and is sent to the BD, and then the process goes to step S402. If yes, step S406 is performed.
- Step S406 it is judged whether the format and content of the received partial charge data record are correct. The content is correct, the "ReviseFlag" temporary field value is 0, step S410 is performed; if the format and content are incorrect, step S408 is performed.
- Step S408 determining whether the format and content error charging gateway function can be processed, if it can be processed Then the "ReviseFlag" temporary field value is 1, and step S410 is performed; if it cannot be processed, the "preprocessingStatus” field of the charging data record is set to 0, and it is directly sent to the BD, and Go to step S402.
- Step S410 Search for the associated, processed comprehensive billing data record in the storage device according to the "RecordType", "IMSChargingldentify", "Roleof ode” and “RecordSequenceNumber” fields of the partial billing data record. If the associated consolidated billing data record is found, then step S412 is reached.
- Step S412 correlating the partial billing data record with the processed integrated billing data record.
- the RSN value of the partial charging data record is sequentially compared with each entry in the "listOfRSNRange" field in the comprehensive charging data record, and is divided into four cases: Case 1: If the RSN value of the partial charging data record Equal to the integrated billing data record
- Case 3 If there are two or more entries in the list, and the value of the partial CDR RSN is larger than the value of EndRSN in one entry, the value of the StartRSN of the latter entry adjacent to the entry is smaller. Then, an entry (RSN, RSN) is added between the two entries, and the partial accounting data record is associated between the two integrated charging data recording units indicated by the EndRSN and the StartRSN, and then step S414 is performed.
- Case 4 If the value of the partial charging data record RSN falls within a group of entries (including the values of StartRSN and EndRSN) indicating that the repeated partial charging data record is received, the partial charging data record is discarded, and then the steps are changed. S402.
- Step S414 Determine, according to the "ReviseFlag" temporary field, whether the partial billing data record needs to be corrected for a format error or to fill the lost content. If the "ReviseFlag" temporary field value is 1, then go to step S416. If the value is 0, step S418 is performed. Step S416, according to the relevant content in the comprehensive billing data record, " ⁇ " part of the billing data record The recorded format is incorrect, the missing content in the partial billing data record is filled, and then step S418 is performed. Step S418, the redundant data in the partial charging data record is compressed, merged into the integrated charging data record, and step S420 is performed. In step S420, it is determined whether the partial billing data record is the last partial billing data record.
- step S422 the storage device receives and temporarily stores the processed intermediate result, sets a timeout timer, and then proceeds to step S402.
- step S424 sets the "preprocessingStatus" field in the integrated billing data record to 2, transmits the integrated billing data record to the BD, and then proceeds to step S402.
- the charging data is compressed and redundantly for at least two of the following two parts: Case 1, the charging data record is opened for more than a preset time interval.
- the record closing time field and the record closing reason field of the latter part of the charging data record are used to update the corresponding fields in the previous part of the charging data record.
- the value of the "serialCDRIndicator" field is incremented by one in the combined integrated billing data recording unit.
- Case 2 the billing data recording capacity is exceeded.
- the corresponding field in the previous part of the charging data record is updated by the i-recorded closing time field and the recording closing reason field of the latter part of the charging data record.
- the content added in the latter part of the charging data record is added to the content of the corresponding field of the previous part of the charging data record.
- the value of the "serialCDRIndicator” field is incremented by one in the combined integrated billing data recording unit.
- FIG. 5 is a schematic structural diagram of each functional module of the CGF according to the present invention.
- the IMS network element charging information integration system includes: a receiving module 502, configured to receive a charging data recording message transmitted in a charging data function, And it is checked whether the charging data record message is a "repeated accounting data record message".
- the charging data record is extracted from the charging data record message, and then the charging data record is sent to the charging gateway function preprocessing module;
- the fee data record message is temporarily stored in a designated area in the mass storage device, and is further processed by the function of the charging gateway (either sent to the BD or discarded).
- the mass storage device 504 is configured to temporarily store the intermediate result of the "reproducible CDR" text and the CGF preprocessing module processing sent by the receiving module.
- the preprocessing module 506 is configured to receive the billing. In the case that the data record message is not a duplicate charge data record message, the received plurality of partial charge data records are associated, streamlined, and corrected according to one or more specified fields in the charge data record.
- the obtained integrated charging data record is transmitted to the sending module.
- the main functions of the preprocessing module are: Function 1, using "RecordType", “IMS Chargingldentify” in the partial charging data record, The four fields “RoleofNode” and “RecordSequenceNumber, RSN” associate a specific IMS network element with multiple partial charging data records for one multimedia session to form a complete integrated charging data record.
- the redundant information in the partial charging data record is deleted, and the partial charging data is recorded.
- the "CauseForRecordClosing" field in the record further merges some of the billing data records, and then generates a streamlined billing data record.
- the sending module 508 is configured to use the charging gateway.
- the processed billing data record in the function preprocessing module is placed in the corresponding billing data record file and is awaiting to be sent to the billing processing domain.
- one or more specified fields include at least one of the following fields: "RecordType”
- the "" field indicates the type of the IMS network element
- the "IMS Chargingldentify” field uniquely identifies a multimedia tongue
- the "RoleofNode” field indicates that the portion of the billing data record record is the primary
- the calling party is also the charging information of the called party.
- "RecordSequenceNumber, RSN” Field identifies a specific network element for one The serial number of the billing data record for each part of the multimedia session.
- “ReasonforRecordClosing” used to indicate the reason for the closure of partial billing data records.
- the "IMSChargingldentify” field is used to distinguish different IMS sessions
- the "RecordType” field is used to distinguish one multimedia session.
- Different IMS network elements use the "RoleofNode” field to distinguish the calling and called parties of the IMS session, and use the "RSN” field to determine whether the received charging data record is a partial charging data record for describing the IMS session, and An IMS network element is directed to the order in which partial billing data is recorded in a session.
- the charging gateway function can record a specific IMS network element for a part of the charging data of one multimedia session, and associate the partial charging data records of the calling and called sides respectively, and associate these parts.
- the billing data records are arranged in the order of RSN, and finally a comprehensive billing data record containing complete billing information of a multimedia session on a specific IMS network element is generated.
- the original separate partial billing data record becomes an "integrated billing data recording unit" in the integrated billing data record.
- the partial charging data record mentioned below refers to a number of associated partial charging data records of the IMS network element for one multimedia session.
- the pre-processing module includes: a judging and marking module, configured to determine whether the received charging data record is a partial charging data record, and pre-processing status field of the charging data record if not part of the charging data
- the pre-processing identifier is not sent and sent to the billing processing domain.
- partial billing data it is judged whether the format and content of the received partial billing data record are correct, and if the format and content are correct, Set the 1' ⁇ positive flag to the positive ⁇ positive flag. If the format or content is incorrect, set the pre-processing status field to no pre-processing flag, and send the billing data record directly to the billing process.
- a search module configured to search for associated, processed comprehensive billing data according to at least one of a record type, an IMS billing identifier, a node role, and a "record number" in the partial billing data record. Recording; integrated module, used to collect the comprehensive billing data record, the comprehensive billing found in the received partial billing data record field Correlation is performed according to the record, and the record serial number of the partial charge data record is compared with each entry in the record serial number list in the integrated charge data record, and the record serial number of the partial charge data record is inserted into the integrated charge.
- the compression module corrects the content in the integrated charge data record if the correction flag of the partial charge data record is not corrected
- the format and content of the partial billing data record and the contents of the partial billing data record are filled, and the redundant data in the part of the billing data record is compressed and merged into the integrated billing data record, and the partial billing data record is
- the pre-processing status in the integrated charging data record is set to the pre-processing timeout flag and the integrated charging data record is temporarily stored in the transmitting module.
- Partial billing data record compression redundancy Case 1
- the billing data record is opened for more than the preset time interval.
- the record closing time field and the record closing reason field of the latter part of the charging data record are used to update the corresponding fields in the previous part of the charging data record.
- the value of the "serialCDRIndicator" field is set to 1 in the combined integrated billing data recording unit.
- Case 2 the billing data record capacity is exceeded.
- the record closing time field and the record closing reason field of the latter part of the charging data record are used to update the corresponding fields in the previous charging data record.
- the content added in the latter part of the charging data record is added to the content of the corresponding field of the previous part of the charging data record.
- the value of the "serialCDRIndicator" field is set to 1 in the combined integrated billing data recording unit.
- Situation 3 business changes.
- the integrated charging data record in the process is temporarily stored in the storage device function of the charging gateway function, and if the received new partial charging data record is formatted incorrectly or the content is lost, the related charging data record may be utilized.
- the related content in the integrated billing data record comes 1' positive format error and fills in the lost content.
- a new "ReviseFlag" temporary field is added to describe whether the format of the partial billing data record is incorrect or whether the content loss can be corrected.
- a value of 0 indicates that the partial billing data record is correct.
- a value of 1 indicates that there is an error in the partial billing data record, but it can be corrected.
- a new "serialCDRIndicator" field is used to describe that the integrated billing data recording unit is recorded by several original partial billing data. Merged together.
- a "preprocessingStatus” field is added at the head of the billing data record to describe the pre-processing of the partial billing data record.
- the field is an integer value. The value of the field is 0, indicating that the accounting data record is not preprocessed. If the value is 1, the preprocessing of the accounting data record is successful. When the value is 2, Indicates that the accounting data record preprocessing timeout.
- a "listOf SNRange" field is added at the head of the integrated billing data record.
- This field is a list-type data format.
- a table entry i has recorded a pair of RSN numbers (startRSN, endRSN), indicating that the charging gateway function includes RSN from startRSN to endRSN.
- Data recording unit A large amount of redundant information exists in the partial charging data record, and the information can be deleted when the IMS network element charging information is integrated. These redundant information can be divided into two types: The first type is that each partial charging data record contains fields describing the attributes of the IMS network element and the session process attributes. The contents of these fields remain unchanged throughout the session.
- the invention also proposes a charging system using an IMS network element charging information comprehensive system.
- the method for correcting the partial charging data recording format and the lost content proposed in the present invention is closer to the real data, and further optimizes the performance of the charging processing.
- the IMS network element charging information synthesis method proposed in the present invention associates and processes a plurality of partial charging data records generated by one network element for one session and compresses part of the charging data recording redundant information. Therefore, the burden on the secondary processing of the charging data by the BD is alleviated, and the communication overhead of the charging gateway function and the transmission of the charging data recording file between the BDs is reduced.
- This embodiment describes the process of comprehensive processing of IMS network element charging information in the CGF and the format of the complete integrated CDR generated in the CGF for multiple CDRs generated by the service session call control function (Servering-CSCF).
- the S-CSCF For a multimedia call with both voice and live video streams, the S-CSCF generates three partial CDRs. The first is to start the CDR, the reason for the closure is due to the CDR3 ⁇ 4; the reason for the second CDR is closed is because a new media component is generated (the video stream, the default is initiated by the caller); the reason for the closure of the last CDR is due to The session ends. It is assumed that some of the CDRs are normally transmitted and arrived in order.
- the processing procedure of the CGF to the S-CSCF charging information is as follows: Step 1. The CGF receives a partial CDR. Step 2. View the RSN values of some CDRs. The RSN is not equal to 0, indicating that it is a partial CDR.
- Step 3 check if there is a format error or content loss in this part of the CDR. After checking, this part of the CDR is correct. Set the "ReviseFlag” temporary field value to 0. Step 4, use The "RecordType", “IMSChargingldentify”, “RoleofNode” and “RecordSequenceNumber” fields of the partial CDRs are searched into the storage device (303) for the associated, processed integrated CDR. There is no required item in the storage device (303). Then set the "listOfRSNRange” field of this part of the CDR to (1, 1), and then temporarily store some of the CDRs in the storage device (303). Set the timeout timer at the same time. If the set interval is not reached, go to step 5.
- Step 5 same as step 1.
- Step 6 same as step 2.
- Step 7 Same as step 3.
- Step 8. Use the "RecordType", “IMSChargingldentify”, “RoleofNode” and “RecordSequenceNumber” fields of the partial CDR to find the phase in the storage device (303). Linked, processed integrated CDR. At this point, a partial CDR with an RSN value of 1 is found.
- Step 9. Find the "listOfRSNRange” field in the integrated CDR according to the RSN value of the current partial CDR. It is found that EndRSN plus 1 is equal to the current partial CDR.
- the RSN value is associated with two partial CDRs with an RSN value of 1 and an RSN value of 2, and the "listOfRSNRange" field is set to (1, 2).
- Step 10 look at the "ReviseFlag” temporary field, which has a value of 0.
- Step 11 1 Compress the redundancy information between the two partial CDRs. All the information of the partial CDR with the RSN value of 1 is reserved, and the redundant information in the CDR of the partial RSN value is deleted. Then, the RSN is viewed.
- the "ReasonforRecord - Closing" field of the partial CDR with a value of 1 is found to have the value "The time the CDR is open exceeds the preset time interval.” At this point, the two partial CDRs are merged, and the record of the partial CDR with the RSN value of 2 is used.
- the Close Time field and the Record Close Reason field update the corresponding fields in the previous part of the CDR, at which point a new integrated CDR unit is formed, "This is the integrated CDR unit 1.
- Step 12 view the "ReasonforRecordClosing" field of the integrated CDR unit 1, the value of which is "Business change”. At this time, the processed integrated CDR is temporarily stored in the storage device (303).
- Step 13 same as step 1.
- Step 14 the same as step 2.
- Step 15 same as step 3.
- Step 16 using the "RecordType", “IMSChargingldentify”, “RoleofNode” and “RecordSequenceNumber” fields of the partial CDRs to find the associated, processed integrated CDRs in the storage device (303). At this point, the integrated CDR that has been processed is found.
- Step 17 searching for the "listOfRSNRange" field in the integrated CDR according to the value of the RSN. Find
- EndRSN plus 1 is equal to the RSN value of the current partial CDR. Therefore, the integrated CDR unit 1 is associated with a partial CDR with an RSN value of 3, and the "listOfRSN - Range” field is set to (1, 3).
- Step 18 View the value of the "ReviseFlag” temporary field, which is 0, and go to Step 19.
- Step 19 Delete redundant information in the CDR of the part with an RSN value of 3. Then, look at the "Reason - forRecordClosing" field of the Integrated CDR Unit 1 with the value "Business Change".
- this part of the CDR with the RSN value of 3 is listed as a new integrated CDR unit, which is recorded as the integrated CDR unit 2, and describes the new charging related information generated by the service change (in this example, it is added to a list of SDP Media Components).
- Table 4 describes the media information of the video.
- the value of the "serial one CDRIndicator” field is concatenated by 1. Step 20, view the "ReasonforRecordClosing" field of the integrated CDR unit 2, the value is
- FIG. 6 shows a format of a comprehensive CDR obtained by the CGF performing IMS network element charging information comprehensive processing in the embodiment.
- the integrated CDR contains two integrated CDR units.
- the value of the "RSN" field in the integrated CDR unit 1 is 1, and the value of the "SerialCDR -Indicator” field is 2, indicating that the integrated CDR unit 1 is formed by combining two original partial CDRs having RSN values of 1 and 2.
- the value of the "RSN" field in the integrated CDR unit 2 is 3, and the value of the "SerialCDRIndicator” field is 1, indicating that the integrated CDR unit 2 has an original RSN value of 3.
- the initial part of the CDR constitutes.
- the new "preprocessing Status" field value in the integrated CDR is 1 indicating that the preprocessing is successful.
- the "List of RSN Range" field has only one entry with a value of (1, 3), indicating that all the CDRs belonging to this integrated CDR have been received.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Multimedia (AREA)
- Meter Arrangements (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Description
IMS网元计费信息综合方法和系统
及计费方法和系统 技术领域 本发明涉及通信领域, 尤其涉及 IMS 网元计费信息综合方法和系统以 及计费方法和系统。 背景技术
IP多媒体子系统 ( IP multimedia Subsystem, IMS ) 已被认定为下一代 网络(Next Generation Network, NGN ) 控制和业务平面的核心技术。 IMS 实现了全 IP的, 针对多媒体^舌 (如视频电话, 多方视频会议等)的灵活多 样的控制。
IMS的离线计费指的是在多媒体会话和业务开始之后, 收集 IMS 中各 网元实体产生的计费信息,并将收集到的计费信息传送到账单处理域( Billing Domain, BD )进行批价, 结算等计费操作的过程。 BD中的计费操作不会实 时的影响会话的过程。 采用离线计费方式的用户一般是周期性的收到账单, 账单上显示一个特定时期内的计费项目。 如图 1 所示, 在 IMS 离线计费体系结构中由呼叫会话控制功能 (Call Session Control Function , CSCF、 出口网关控制功能 ( Breakout Gateway Control Function , BGCF、 媒体网关控制功能 ( Media Gateway Control Function, MGCF、 应用月良务器( Application Server, AS )和多媒体资源功能 控制器 (Media Resource Function Controller, MRFC ) 等网元共同完成对多 媒体会话过程的控制。 CSCF 主要完成对会话的管理和选路; BGCF 的功能 是为至电路交换网的呼叫选择出口点。 MGCF用于和传统电路交换电信网之 间的互通; AS和 MRFC主要用于提供各种多媒体^舌服务。 这些网元在执 行对多媒体会话的控制操作时, 会产生相应的可计费事件信息。 位于 网元 内部的计费触发功能 (Charging Trigger Function, CTF ) 收集这些可计费事 件信息并转换成计费事件信息, 然后把这些计费事件信息发送到计费数据功 能 ( Charging Data Function, CDF ) 中, CDF利用这些计费事件信息产生和 更新相关的计费数据记录( Charging Data Record, CDR ), 然后 CDR被发送
到计费网关功能( Charging Gateway Function, CGF )进行处理, 最终¾ ^送 到 BD中进行批价、 结算等操作处理。
CDF会针对一次多媒体会话产生若干个部分 CDR。 在多媒体会话进行 过程中, 由于 CDR超时、 CDR容量超限、会话业务改变等原因,将导致 CDF 关闭当前部分 CDR并打开下一个部分 CDR来继续记录这个多媒体会话的计 费信息。 一个会话过程的全部的部分 CDR构成对这次会话计费信息的完整 描述。 因此, IMS网元的一个 CDR不能完整地描述一次 IMS会话的计费过 程。因此,在 CGF中如何处理 IMS网元针对特定多媒体会话产生的部分 CDR, 从而生成一份简明完整的 CDR再提交给 BD, 这对 BD进一步进行高效率的 批价和结算处理是非常重要的。 以下描述与本发明相关的现有技术 现有技术中对部分 CDR的处理在 CGF中进行。 如图 2所示, CDR的 处理过程描述如下: 步骤 S202, CGF接收 CDF发送过来的 CDR报文, 当此报文被标记为 "可能重复的 CDR报文" 时, 则直接送 BD或者丢弃, 转步骤 S202; 否则 转步骤 S204。 这是因为 CDF在与主 CGF通信的同时, 也与一个或几个备用 的 CGF通信, 当主 CGF发生故障时, CDF选择一个备用的 CGF暂存没有 被主 CGF确认的 CDR报文, 这些报文被标记为 "可能重复的 CDR报文"。 步骤 S204, CGF从收到的 CDR报文中取出 CDR, 对 CDR进行格式和 内^ r查。 如果 CDR中格式和内容都正确, 转步骤 S206。 否则 CGF根据默 认的规则补齐相应的内容, 然后执行步骤 S206. 步骤 S206, CGF将经过处理的部分 CDR保存到相应的 CDR文件中, 当 CDR文件的大小达到指定容量限制或打开 CDR文件的时间超过设定的时 间间隔, 则 ^!夺 CDR文件发送到 BD。 现有技术在对部分 CDR的处理中存在以下不足:
1、 由于 CGF仅对部分 CDR的内容是否完整进行检查, 故处理后的部 分 CDR不能完整地反映 IMS网元对一次多媒体会话的计费相关信息。 而且 CGF向 BD发送的是大量的, 彼此关系松散的部分 CDR, 这将加重 BD的处 理负担, 导致计费处理效率下降。
2、 IMS 网元的部分 CDR是一种列表型的数据格式, 包括必选字段和 按条件改变的字段。 一个 IMS 网元针对一次多媒体会话产生的若干个部分 CDR中, 有很多必选字段内容是相同的, 并在会话过程中保持不变。 这将导 致 CGF向 BD发送的部分 CDR中存在大量的冗余信息, 加重了 CGF与 BD 之间传送这些 CDR文件时的传输负担。
3、 CGF对部分 CDR纠错方式单一。 发明内容 鉴于以上所述的一个或多个问题, 本发明提出了 IMS 网元计费信息综 合方法和系统以及计费方法和系统,可以将一个 IMS网元针对一次多媒体会 话产生的全部的部分 CDR进行关联和综合处理, 压缩大量的冗余数据, 对 格式错误和内容丢失的部分 CDR进行修正和补充, 使得修正和补充后的部 分 CDR与真实部分 CDR更加接近。 根据本发明的 IMS网元计费信息综合方法包括以下步骤: 步骤 S302 , 接收来自计费数据功能实体的计费数据记录报文并检验计费数据记录报文中 是否为可能重复的计费数据记录报文, 在所接收到的计费数据记录报文为可 能重复的计费数据记录报文的情况下, 存储计费数据记录报文; 步骤 S304, 在所接收到的计费数据记录报文不是可能重复的计费数据记录报文的情况 下, 根据计费数据记录中的一个或多个指定字段对接收到的多个部分计费数 据记录进行关联、 精简和修正以得到综合计费数据记录并暂存综合计费数据 记录; 以及步骤 S306, 在达到预定时间或综合计费数据记录达到预定存储容 量的情况下, 将得到的综合计费数据记录发送至帐单处理域。 其中, 一个或多个指定字段包括以下字段: 记录类型, 用于指示 IMS 网元的类型; IMS计费标识, 用于唯一地标识一个多媒体会话; 节点角色, 用于指示部分计费数据记录所记录的是会话的主叫方还是会话的被叫方。 指定字段还可以包括以下至少一个字段: 记录序列号, 用于判断部分话 单的顺序; 以及记录关闭原因, 用于判断合并是否完成。 其中, 步骤 S304 包括: 步骤 a, 判断所接收到的计费数据记录是否为 部分计费数据记录, 在不是部分计费数据的情况下将计费数据记录的预处理 状态字段置为未进行预处理标识并发送至帐单处理域, 在为部分计费数据的 情况下, 判断接收到的部分计费数据记录的格式和内容是否正确, 在格式和
内容正确的情况下, 将修正标识置为未进行修正标识, 在格式或内容不正确' 的情况下, 判断是否对其进行修正或补充, 如果可以进行处理, 将预处理状 态字段置为未进行预处理标识, 将计费数据记录直接发送至帐单处理域; 步 骤 b, 根据部分计费数据记录中的记录类型、 IMS计费标识、 节点角色、 以 及记录序列号中的至少一个查找相关联的、 已处理过的综合计费数据记录; 步骤 c, 在找到综合计费数据记录的情况下, 将接收到的部分计费数据记录 域所找到的综合计费数据记录进行关联, 将部分计费数据记录的记录序列号 与综合计费数据记录中的记录序列号列表中的每个表项进行比较并将部分计 费数据记录的记录序列号插入综合计费数据记录中的记录序列号列表中或丟 弃重复的部分计费数据记录, 在没有找到综合计费数据记录的情况下, 将该 部分计费数据记录暂存到大容量存储设备中; 步骤 d, 在部分计费数据记录 的修正标识为未进行修正的情况下, 根据综合计费数据记录中的内容修正部 分计费数据记录的格式和内容以及补齐部分计费数据记录的内容, 对部分计 费数据记录中的冗余数据进行压缩并合并到综合计费数据记录中; 以及步骤 e,在部分计费数据记录不是最后 个接收到的属于会话的计费数据记录的情 况下, 返回执行步骤 a, 在部分计费数据记录是最后一个接收到的属于会话 的计费数据记录的情况下, 将该计费记录数据立即发送至帐单处理域, 在预 定时间后仍未接收到该属于会话的最后一个计费数据记录, 则将综合计费数 据记录中的预处理状态设置为预处理超时标记并将综合计费数据记录发送至 帐单处理域。 其中, 通过以下至少一种方式对前后两个部分计费数据记录压缩冗余: 在记录关闭原因为计费数据记录打开的时间超过预定时间间隔的情况下, 用 后一个部分计费数据记录的记录关闭时间字段和记录关闭原因字段来更新前 一个部分计费数据记录中的对应字段; 在记录关闭原因为计费数据记录容量 超限的情况下, 用后一个部分计费数据记录的记录关闭时间字段和记录关闭 原因字段来更新前一个部分计费数据记录中的对应字段; 以及在记录关闭原 因为业务改变的情况下, 用后一个部分计费数据记录中业务改变后有变化的 字段作为新的综合计费数据记录添加到综合计费数据记录的后面。 本发明提出了一种采用 IMS网元计费信息综合方法的计费方法。 根据本发明的 IMS 网元计费信息综合系统包括: 接收模块, 用于接收 来自计费数据功能实体的计费数据记录报文并检验计费数据记录报文中是否 为可能重复的计费数据记录报文, 在所接收到的计费数据记录报文不是可能
重复的计费数据记录报文的情况下,将计费数据记录报文发送至预处理模块, 在所接收到的计费数据记录报文为可能重复的计费数据记录报文的情况下, 将计费数据记录报文暂存到大容量存储设备中; 大容量存储设备, 用于存储 计费数据记录 4艮文; 预处理模块, 用于在所接收到的计费数据记录报文不是 可能重复的计费数据记录报文的情况下, 根据计费数据记录中的一个或多个 指定字段对接收到的多个部分计费数据记录进行关联、 精简和修正, 在达到 预定时间或预定存储容量的情况下 , 将得到的综合计费数据记录传输至发送 模块; 以及发送模块, 用于将进行预处理后的计费数据记录发送至帐单处理 域。 其中, 一个或多个指定字段包括以下字段: 记录类型, 用于指示 IMS 网元的类型; IMS计费标识, 用于唯一地标识一个多媒体会话; 节点角色, 用于指示部分计费数据记录所记录的是会话的主叫方还是会话的被叫方。 一 个或多个指定字段还包括以下至少一个字段: 记录序列号, 用于判断部分话 单的顺序; 以及 ΐ己录关闭原因, 用于判断合并是否完成。 其中, 预处理模块包括: 判断和标记模块, 用于判断所接收到的计费数 据记录是否为部分计费数据记录, 在不是部分计费数据的情况下将计费数据 记录的预处理状态字段置为未进行预处理标识并发送至帐单处理域, 在为部 分计费数据的情况下, 判断接收到的部分计费数据记录的格式和内容是否正 确, 在格式和内容正确的情况下, 将修正标识置为未进行修正标识, 在格式 或内容不正确的情况下,判断是否对其进行爹正或补充,如果可以进行处理, 将预处理状态字段置为未进行预处理标识, 将计费数据记录直接发送至帐单 处理域; 查找模块, 用于根据部分计费数据记录中的记录类型、 IMS计费标 识、 节点角色、 以及记录序列号中的至少一个查找相关联的、 已处理过的综 合计费数据记录; 综合模块, 用于在找到综合计费数据记录的情况下, 将接 收到的部分计费数据记录域所找到的综合计费数据记录进行关联, 将部分计 费数据记录的记录序列号与综合计费数据记录中的记录序列号列表中的每个 表项进行比较并将部分计费数据记录的记录序列号插入综合计费数据记录中 的记录序列号列表中或丢弃重复的部分计费数据记录, 在没有找到综合计费 数据记录的情况下, 将该部分计费数据记录暂存到大容量存储设备中; 压缩 模块, 在部分计费数据记录的修正标识为未进行修正的情况下, 根据综合计 费数据记录中的内容修正部分计费数据记录的格式和内容以及补齐部分计费 数据记录的内容, 对部分计费数据记录中的冗余数据进行压缩并合并到综合 计费数据记录中, 在部分计费数据记录是最后一个接收到的属于会话的计费
数据记录的情况下, 将该计费记录数据立即发送至帐单处理域, 在预定时间 后仍未接收到该属于会话的最后一个计费数据记录, 将综合计费数据记录中 的预处理状态设置为预处理超时标记并将综合计费数据记录暂存到发送模 块。 其中,压缩模块通过以下至少一种方式对前后两个部分计费数据记录压 缩冗余: 在记录关闭原因为计费数据记录打开的时间超过预定时间间隔的情 况下, 用后一个部分计费数据记录的记录关闭时间字段和记录关闭原因字段 来更新前一个部分计费数据记录中的对应字段; 在记录关闭原因为计费数据 记录容量超限的情况下, 用后一个部分计费数据记录的记录关闭时间字段和 记录关闭原因字段来更新前一个部分计费数据记录中的对应字段; 以及在记 录关闭原因为业务改变的情况下, 用后一个部分计费数据记录中业务改变后 有变化的字段作为新的综合计费数据记录添加到综合计费数据记录的后面。 本发明提出了一种采用 IMS网元计费信息综合系统的计费系统。 通过本发明的方法和系统, 进一步优化计费处理的性能, 减轻了 BD对 计费数据二次处理的负担,减少了 CGF和 BD间传送 CDR文件的通信开销。 附图说明 此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部 分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的 不当限定。 在附图中: 图 1为 IMS离线计费体系结构示意图; 图 2为现有技术中 CGF处理部分 CDR过程示意图; 图 3为才艮据本发明的 IMS网元计费信息综合方法的流程图; 图 4为根据本发明的 CGF预处理模块处理部分 CDR流程图; 图 5为根据本发明的 CGF各功能模块结构示意图; 以及 图 6为 CGF进行 IMS网元计费信息综合处理后得到的综合 CDR的格 式。
具体实施方式 下面参考附图, 详细说明本发明的具体实施方式。 图 3为 居本发明的 IMS网元计费信息综合方法的流程图。 如图 3所 示, 该方法包括以下步骤: 步骤 S302, 接收来自计费数据功能实体的计费数据记录报文并检验计 费数据记录报文中是否为可能重复的计费数据记录报文, 在所接收到的计费 数据记录报文为可能重复的计费数据记录报文的情况下, 存储计费数据记录 报文。 步骤 S304, 在所接收到的计费数据记录报文不是可能重复的计费数据 记录报文的情况下, 根据计费数据记录中的一个或多个指定字段对接收到的 多个部分计费数据记录进行关联、 精筒和修正以得到综合计费数据记录并暂 存综合计费数据记录。 步骤 S306, 在达到预定时间或综合计费数据记录达到预定存储容量的 情况下, 将得到的综合计费数据记录发送至帐单处理域。 其中, 一个或多个指定字段包括以下字段: 记录类型, 用于指示 IMS 网元的类型; IMS计费标识, 用于唯一地标识一个多媒体会话; 节点角色, 用于指示部分计费数据记录所记录的是会话的主叫方还是会话的被叫方。 一 个或多个指定字段还包括以下至少一个字段: 记录序列号, 用于判断部分话 单的顺序; 以及记录关闭原因, 用于判断合并是否完成。 其中, 步骤 S304包括: 步骤 a, 判断所接收到的计费数据记录是否为部分计费数据记录, 在不 是部分计费数据的情况下将计费数据记录的预处理状态字段置为未进行预处 理标识并发送至帐单处理域, 在为部分计费数据的情况下, 判断接收到的部 分计费数据记录的格式和内容是否正确, 在格式和内容正确的情况下, 判断 是否对其进行修正或补充, 如果能够进行修正或补充, 则将修正标识置为未 进行 "正标识, 在格式或内容不正确的情况下, 将预处理状态字段置为未进 行预处理标识, 将计费数据记录直接发送至帐单处理域。 步骤 b, 居部分计费数据记录中的记录类型、 IMS计费标识、 节点角 色、 以及记录序列号中的至少一个查找相关联的、 已处理过的综合计费数据
记录。 步骤 c, 在找到综合计费数据记录的情况下, 将接收到的部分计费数据 记录域所找到的综合计费数据记录进行关联, 将部分计费数据记录的记录序 列号与综合计费数据记录中的记录序列号列表中的每个表项进行比较并将部 分计费数据记录的记录序列号插入综合计费数据记录中的记录序列号列表中 或丢弃重复的部分计费数据记录, 在没有找到综合计费数据记录的情况下, 将该部分计费数据记录暂存到大容量存储设备中。 步骤 d, 在部分计费数据"^己录的 ~正标识为未进行 正的情况下, 居 综合计费数据记录中的内容修正部分计费数据记录的格式和内容以及补齐部 分计费数据记录的内容, 对部分计费数据己录中的冗余数据进 4亍压缩并合并 到综合计费数据记录中。 步骤 e, 在部分计费数据记录不是最后一个接收到的属于会话的计费数 据记录的情况下, 返回执行步骤 a, 在部分计费数据记录是最后一个接收到 的属于会话的计费数据记录的情况下, 将该计费记录数据立即发送至帐单处 理域, 在预定时间后仍未接收到该属于会话的最后一个计费一数据记录, 则将 综合计费数据记录中的预处理状态设置为预处理超时标记并暂存综合计费数 据记录并将综合计费数据记录发送至巾 单处理域。 图 4所示为 居本发明的实施例的在计费网关功能预处理模块中 IMS网 元计费信息综合的流程图。 步骤 S402, 接收由接收模块发送过来的 IMS网元的计费数据记录。 步骤 S404, 判断接收到的计费数据记录是否为部分计费数据记录。如果 不是, 则将这个计费数据记录的 "preprocessing-Status" 字段置 0, 并将之发 送到 BD, 然后转步骤 S402。 如果是, 则执行步骤 S406。 步骤 S406, 判断接收到的部分计费数据记录的格式和内容是否正确。如 果格式和内容正确, 置 "ReviseFlag"临时字段值为 0, 执行步骤 S410; 如果 格式和内容不正确, 则执行步骤 S408。 步骤 S408, 判断此类格式和内容错误计费网关功能是否能处理, 如果能 处理则 "ReviseFlag"临时字段值为 1 , 执行步骤 S410; 如果不能处理则将这 个计费数据记录的 "preprocessingStatus" 字段置 0, 将其直接发送到 BD, 并
转步骤 S402。 步骤 S410 , 根据部分计 费数据记录的 " RecordType " 、 " IMSChargingldentify " , "Roleof ode" 和 " RecordSequenceNumber " 字 段到存储设备中查找相关联的、 已处理过的综合计费数据记录。 如果找到相 关联的综合计费数据记录, 则转步骤 S412。 如果没找到, 则将这个部分计费 数据记录的 "listOfRSNRange" 字段置为 (RSN, RSN ) , 然后转步骤 S422。 步骤 S412 , 将部分计费数据记录与处理过的综合计费数据记录进行关 联。 将部分计费数据记录的 RSN值, 按序与综合计费数据记录中的 "listOfRSNRange" 字段中的每个表项进行比较, 分四种情况: 情况一: 如果部分计费数据记录的 RSN值等于综合计费数据记录
"listOfRSNRange" 字段中某表项的 EndRSN值加 1 , 则将这个部分计费数据 记录关联在综合计费数据记录中 EndRSN所标识的综合计费数据记录单元的 后面, 并用 RSN的值来更新原表项中的 EndRSN, 然后执行 ¾S414。 情况二: 如果部分计费数据记录的 RSN值等于综合计费数据记录 "listOfRSNRange" 字段中某表项的 StartRSN值减 1 , 则将这个部分计费数据 记录插入在 StartRSN所标识的综合计费数据记录单元的前面, 用 RSN来更新 原表项中的 StartRSN, 然后执行步骤 S414。 情况三: 如果列表中存在两个或两个以上表项, 且部分 CDR RSN的值 比一个表项中的 EndRSN的值大, 比该表项相邻的后一表项的 StartRSN值小。 则在这两个表项间新增表项 (RSN, RSN ) , 并将这个部分计费数据记录关 联到 EndRSN和 StartRSN所指示的两个综合计费数据记录单元之间,然后执行 步骤 S414。 情况四: 如果部分计费数据记录 RSN的值落在一组表项以内 (包括 StartRSN和 EndRSN的值)表示接收到重复的部分计费数据记录, 则丢弃这个 部分计费数据记录, 然后转步骤 S402。 步骤 S414, 根据 "ReviseFlag" 临时字段判断部分计费数据记录是否需 要修正格式错误或者补齐丢失内容。 若 "ReviseFlag" 临时字段值为 1 , 则转 步骤 S416。 果值为 0, 则执行步骤 S418。 步骤 S416,根据综合计费数据记录中的相关内容, "ί爹正部分计费数据记
录的格式错误, 补齐部分计费数据记录中丢失的内容, 然后执行步骤 S418。 步骤 S418 ,对部分计费数据记录中的冗余数据进行压缩 , 合并到综合计 费数据记录中, 执行步骤 S420。 步骤 S420,判断这个部分计费数据记录是否是最后一个部分计费数据记 录。如果是最后一个部分计费数据记录, 则表示计费网关功能综合过程结束。 否则, 执行步骤 S422。 步骤 S422,存储设备接收并暂存已处理过的中间结果, 同时设置超时定 时器, 然后转步骤 S402。 当设定的时间间隔到达, 执行步骤 S424。 步骤 S424将综合计费数据记录中 "preprocessingStatus" 字段置为 2, 将 综合计费数据记录发送到 BD, 然后转步骤 S402。 其中, 通过以下至少一种方式对前后两个部分计费数据记录压缩冗余: 情况 1 , 计费数据记录打开的时间超过预设的时间间隔。 此时用后一部 分计费数据记录的记录关闭时间字段和记录关闭原因字段来更新前一部分计 费数据记录中相应的字段。 在合并后的综合计费数据记录单元中将 "serialCDRIndicator" 字段的值加 1。 情况 2, 计费数据记录容量超限。 此时用后一部分计费数据记录的 i己录 关闭时间字段和记录关闭原因字段更新前一部分计費数据记录中相应的字 段。 将后一部分计费数据记录中添加的内容补充到前一部分计费数据记录相 应字段内 容的后面。 在合并后的综合计费数据记录单元中将 "serialCDRIndicator" 字段的值加 1。 情况 3 , 业务改变。 此时需要将后一个部分计费数据记录中业务改变后 有变化的字段作为新的综合计费数据记录单元列在已经综合的计费数据记录 后面。 本发明还提供了一种采用 IMS网元计费信息综合方法的计费方法。 图 5为根据本发明的 CGF各功能模块结构示意图。 如图 5所示, 根据本发 明的 IMS网元计费信息综合系统包括: 接收模块 502,用于接收计费数据功能中传送过来的计费数据记录报文,
并检验这个计费数据记录报文是否是 "可能重复的计费数据记录报文"。如果 不是 "可能重复的计费数据记录报文", 则从这个计费数据记录报文中提取计 费数据记录, 然后将计费数据记录发送到计费网关功能预处理模块; 否则将 这个计费数据记录报文暂存在大容量存储设备中的指定区域, 等待计费网关 功能的进一步处理 (要么被送到 BD要么被丢弃)。 大容量存储设备 504, 用于暂存接收模块发送过来的标记为 "可能重复 的 CDR"¾文" 和 CGF预处理模块处理的中间结果。 预处理模块 506, 用于在所接收到的计费数据记录报文不是可能重复的 计费数据记录报文的情况下, 根据计费数据记录中的一个或多个指定字段对 接收到的多个部分计费数据记录进行关联、 精简和修正, 在达到预定时间或 预定存储容量的情况下, 将得到的综合计费数据记录传输至发送模块。 预处理模块的主要功能有: 功能 1、使用部分计费数据记录中 "RecordType"、 "IMSChargingldentify"、 "RoleofNode" 和 "RecordSequenceNumber, RSN" 这 4个字段将特定 IMS网元 针对一次多媒体会话的多个部分计费数据记录进行关联, 形成一个完整的综合 计费数据记录。 功能 2、 在关联多个部分计费数据记录的同时, 删除部分计费数据记录中 冗余的信息, 并才艮据部分计费数据记录中的 "CauseForRecordClosing" 字段对 部分计费数据记录进行进一步合并, 然后生成一个精简的计费数据记录。 功能 3、 当收到的部分计费数据记录格式出错或内容有丢失时, 将采用计 费网关功能中已经存有的和这个部分计费数据记录相关联的其他部分计费数 据记录的相关信息来修正它的格式错误或补齐它的内容。 发送模块 508, 用于将计费网关功能预处理模块中处理完毕的计费数据记 录放在相应的计费数据记录文件中, 等待发送到帐单处理域。 其中, 一个或多个指定字段包括以下至少一个字段: "RecordType (记录 类型)" 字段指明了 IMS网元的类型、 "IMSChargingldentify ( IMS计费标识)" 字段能唯一地标识一个多媒体^舌, "RoleofNode (节点角色)" 字段指明了这 个部分计费数据记录记录的是主叫方还是会话被叫方的计费信息。 "RecordSequenceNumber (记录序列号), RSN" 字段标识特定网元针对一个
多媒体会话的每个部分计费数据记录的序列号。 "ReasonforRecordClosing (记 录关闭原因) ", 用于指示部分计费数据记录的关闭原因。 因此, 在将特定 IMS 网元 4十对一次多媒体会话的若干个部分计费数据记录关联在一起时, 使用 "IMSChargingldentify" 字段来区分不同的 IMS会话, 使用 "RecordType" 字 段来区分一次多媒体会话的不同 IMS网元,使用 "RoleofNode"字段来区分 IMS 会话的主叫和被叫, 使用 "RSN" 字段来判断接收的计费数据记录是不是用于 描述 IMS会话的部分计费数据记录, 以及表示一个 IMS 网元针对一次会话中 部分计费数据 i己录的顺序。 使用这 4个字段, 计费网关功能可以将特定 IMS网 元针对一次多媒体会话的若干个部分计费数据记录, 分别将主叫和被叫侧的部 分计费数据记录进行关联, 并将这些部分计费数据记录按 RSN 的顺序排列起 来,最终生成一张包含一次多媒体会话在特定 IMS网元上的完整计费信息的综 合计费数据记录。 进行关联后, 原来的单独的部分计费数据记录成为综合计费 数据记录中的一个 "综合计费数据记录单元"。 为了描述方便, 若无特别说明, 下面提到的部分计费数据记录,指的是 IMS网元针对一次多媒体会话的若干个 相关联的部分计费数据记录。 其中, 预处理模块包括: 判断和标记模块, 用于判断所接收到的计费数据 记录是否为部分计费数据记录, 在不是部分计费数据的情况下将计费数据记录 的预处理状态字段置为未进行预处理标识并发送至帐单处理域, 在为部分计费 数据的情况下, 判断接收到的部分计费数据记录的格式和内容是否正确, 在格 式和内容正确的情况下, 将 1'爹正标识置为未进^ ^爹正标识, 在格式或内容不正 确的情况下, 将预处理状态字段置为未进行预处理标识, 将计费数据记录直接 发送至帐单处理域; 查找模块,用于根据部分计费数据记录中的记录类型、 IMS 计费标识、 节点角色、 以及 "^己录序列号中的至少一个查找相关联的、 已处理过 的综合计费数据记录; 综合模块, 用于在找到综合计费数据记录的情况下, 将 接收到的部分计费数据记录域所找到的综合计费数据记录进行关联, 将部分计 费数据记录的记录序列号与综合计费数据记录中的记录序列号列表中的每个 表项进行比较并将部分计费数据记录的记录序列号插入综合计费数据记录中 的记录序列号列表中或丟弃重复的部分计费数据记录; 压缩模块, 在部分计费 数据记录的修正标识为未进行修正的情况下, 根据综合计费数据记录中的内容 修正部分计费数据记录的格式和内容以及补齐部分计费数据记录的内容, 对部 分计费数据记录中的冗余数据进行压缩并合并到综合计费数据记录中, 在部分 计费数据记录是最后一个接收到的计费数据记录的情况下, 将综合计费数据记 录中的预处理状态设置为预处理超时标记并将综合计费数据记录暂存到发送 模块。
由于 "ReasonforRecordClosing" 字段中含有新部分计费数据记录打开的 原因,所以利用这个字段,可以对前后两个部分计费数据记录进一步压缩冗余, 其中, 压缩模块通过以下至少一种方式对前后两个部分计费数据记录压缩冗 余: 情况 1 , 计费数据记录打开的时间超过预设的时间间隔。 此时用后一部分 计费数据记录的记录关闭时间字段和记录关闭原因字段来更新前一部分计费 数据记录中相应的字段。 在合并后的综合计费数据记录单元中将 "serialCDRIndicator" 字段的值力口 1。 情况 2 , 计费数据记录容量超限。 此时用后一部分计费数据记录的记录关 闭时间字段和记录关闭原因字段更新前一部分计费数据记录中相应的字段。 将 后一部分计费数据记录中添加的内容补充到前一部分计费数据记录相应字段 内容的后面。 在合并后的综合计费数据记录单元中将 "serialCDRIndicator" 字 段的值力口 1。 情况 3 , 业务改变。 此时需要将后一个部分计费数据记录中业务改变后有 变化的字段作为新的综合计费数据记录单元列在已经综合的计费数据记录后 面。 将处理过程中的综合计费数据记录暂存在计费网关功能的存储设备中 ,如 果接收到的新的部分计费数据记录发生格式错误或内容丟失, 则可以利用与该 部分计费数据记录相关联的综合计费数据记录中的相关内容来 1' 正格式错误 和补齐丢失的内容。 新增 "ReviseFlag"临时字段用于描述部分计费数据记录的 格式错误或内容丢失是否可以修正。 该字段为 0表示部分计费数据记录正确, 该字段为 1表示部分计费数据记录存在错误, 但是可以被修正。 因为需要将多个部分计费数据记录合并成一个综合计费数据记录单元,所 以新增 "serialCDRIndicator" 字段用于描述这个综合计费数据记录单元是由几 个原始的部分计费数据 i己录合并而成。 为了区别进行了综合处理的计费数据记录和没有进行综合处理的计费数 据记录, 在计费数据记录的头部新增 "preprocessingStatus" 字段用于描述对部 分计费数据记录的预处理情况。 该字段是一个整型值, 该字段取值为 0, 表示 计费数据记录未进行预处理; 该字段取值为 1时, 表示计费数据记录预处理成 功; 该字段取值为 2时, 表示计费数据记录预处理超时。
为解决部分计费数据记录没有按序到达的问题,在综合计费数据记录的头 部新增 "listOf SNRange" 字段。 这个字段是列表型的数据格式, 列表中的一 个表项 i己录了一对 RSN号 ( startRSN, endRSN ) ,表示计费网关功能包含有 RSN 从 startRSN开始, 到 endRSN结束的连续的综合计费数据记录单元。 部分计费数据记录中存在大量的冗余信息, IMS网元计费信息综合时可以 删除这些信息。 这些冗余信息可以分为两种类型: 第一类是每一个部分计费数 据记录都含有描述 IMS网元属性和会话过程属性的字段。 这些字段的内容在整 个会话过程中保持不变, 部分计费数据记录关联后, 只保留 RSN字段为 1的部 分计费数据记录中的这些字段, 在后续到达的部分计费数据记录, 这些字段都 将被删除,例如 "nodeAddress" 、 "privateUserlD" 、 "serviceRequestTimeStamp" 等字段。 第二类是计费网关功能对部分计费数据记录进行综合处理后不再需要 的字段, 这些字段可以完全删除, 例如 "LocalRecordSequenceNumber" 字段, "Retransmission" 字段和 "ReviseFlag"临时字段。 本发明还提出了一种采用 IMS网元计费信息综合系统的计费系统。 本发明中提出的针对部分计费数据记录格式和丢失内容的修正方法更加 接近于真实数据, 进一步优化计费处理的性能。 本发明中提出的 IMS网元计费 信息综合方法, 将一个网元的针对一个会话生成的多个部分计费数据记录进行 了关联和处理并将部分计费数据记录冗余信息进行了压缩,因此减轻了 BD对计 费数据二次处理的负担,减少了计费网关功能和 BD间传送计费数据记录文件的 通信开销。 本实施例针对某一会话在服务会话呼叫控制功能( Servering-CSCF )产生 的多个部分 CDR, 介绍在 CGF中 IMS网元计费信息综合处理的过程以及最后生 成的完整的综合 CDR的格式。 针对一个既有话音又有实时视频流的多媒体通话, S-CSCF产生了三个部 分 CDR。 第一个为开始 CDR, 其关闭原因是由于 CDR¾时; 第二个 CDR的关闭 原因是因为产生了新的媒体成分(视频流,默认是主叫发起的); 最后一个 CDR 的关闭原因是由于会话结束。 假设部分 CDR都是正常传送和按序到达的。 根据本发明实施例的 CGF对 S-CSCF计费信息处理过程如下: 步骤 1, CGF接收到部分 CDR。
步骤 2, 查看部分 CDR的 RSN值。 RSN不等于 0, 表明是一个部分 CDR„ 步骤 3 , 检查这个部分 CDR是否存在格式错误或内容丢失。 经查, 这个部 分 CDR是正确的。 置 "ReviseFlag" 临时字段值为 0。 步骤 4 , 使用部分 CDR的 "RecordType" 、 " IMSChargingldentify " , "RoleofNode" 和 "RecordSequenceNumber" 字段到存储设备(303 ) 中查找 相关联的、 处理过的综合 CDR。 此时存储设备(303 ) 中没有所需的项, 则将 这个部分 CDR的 "listOfRSNRange" 字段置为 (1 , 1 ) , 然后将部分 CDR暂存 在存储设备( 303 ) 中。 同时设置超时定时器, 若设定的时间间隔未到, 执行 步骤 5; 如果设定的时间间隔到达后, 则置部分 CDR中 "preprocessingStatus" 字段为 2, 并将其发送到 DB, 执行步骤 5。 步骤 5 , 同步骤 1。 步骤 6, 同步骤 2。 步骤 7, 同步骤 3。 步骤 8 , 使用部分 CDR的 "RecordType" 、 " IMSChargingldentify " , "RoleofNode" 和 "RecordSequenceNumber" 字段到存储设备( 303 ) 中查找 相关联的、 已处理过的综合 CDR。 此时找到了 RSN值为 1的部分 CDR。 步骤 9, 根据当前部分 CDR的 RSN值查找综合 CDR中的 "listOfRSNRange" 字段。 发现 EndRSN加 1等于当前部分 CDR的 RSN值。 将 RSN值为 1和 RSN值为 2 的两个部分 CDR进行关联, 并置 "listOfRSNRange" 字段为 (1, 2 ) 。 步骤 10, 查看 "ReviseFlag" 临时字段, 其值为 0, 执行步骤 11。 步骤 1 1 , 压缩两个部分 CDR之间的冗余信息。 保留 RSN值为 1的部分 CDR 的全部信息, 删除 RSN值为 2这个部分 CDR中的冗余信息。 然后, 查看 RSN值 为 1的部分 CDR的 "ReasonforRecord - Closing" 字段, 发现其值为 "CDR打开 的时间超过预设的时间间隔" 。 此时将两个部分 CDR合并, 用 RSN值为 2的部 分 CDR的记录关闭时间字段和记录关闭原因字段更新前一部分 CDR中相应的 字段, 此时形成新的综合 CDR单元, "己为 综合 CDR单元 1 。 置 "serialCDRIndicator" 字段为 2。 步骤 12, 查看综合 CDR单元 1的 "ReasonforRecordClosing"字段, 其值为
"业务改变" 。 此时将这个已处理的综合 CDR暂存于存储设备(303 ) 中。 同 时设置超时定时器, 执行步骤 13; 如果设定的时间间隔到达, 则置部分 CDR中 "preprocessingStatus" 字段为 2, 并将其发送到 BD, 执行步骤 13。 步骤 13 , 同步骤 1。 步骤 14, 同步骤 2。 步骤 15 , 同步骤 3。 步骤 16 , 使用部分 CDR的 "RecordType" 、 "IMSChargingldentify" , "RoleofNode" 和 "RecordSequenceNumber" 字段到存储设备( 303 ) 中查找 相关联的、 已进行过处理的综合 CDR。 此时找到了已处理过的综合 CDR。 步骤 17, 根据 RSN的值查找综合 CDR中的 "listOfRSNRange" 字段。 发现
EndRSN加 1等于当前部分 CDR的 RSN值。 所以, 将综合 CDR单元 1和 RSN值为 3 的部分 CDR进行关联, 并置 "listOfRSN - Range" 字段为 (1 , 3 ) 。 步骤 18, 查看 "ReviseFlag" 临时字段值, 为 0, 执行步骤 19。 步骤 19, 删除 RSN值为 3的这个部分 CDR中的冗余信息。 然后, 查看综合 CDR单元 1的 "Reason - forRecordClosing" 字段, 其值为 "业务改变" 。 则将 RSN值为 3的这个部分 CDR单列为一个新的综合 CDR单元, 记为综合 CDR单元 2, 描述业务改变产生的新计费相关信息(本例中表现为增加一个 "List of SDP Media Components " 表项 4 述视频 Ί的媒体信息) 。 并置其 " serial 一 CDRIndicator" 字段值为 1。 步骤 20, 查看综合 CDR单元 2 的 "ReasonforRecordClosing"字段, 其值为
"会话成功终止" 。 则将综合 CDR的 "preprocessingStatus" 字段置 1 , 并将其 发送到 DB。 图 6所示为本实施例中, CGF进行 IMS网元计费信息综合处理后得到的综 合 CDR的格式。 综合 CDR中包含两个综合 CDR单元。 综合 CDR单元 1中 "RSN" 字段值 为 1, 且 "SerialCDR -Indicator" 字段值为 2, 表示综合 CDR单元 1由 RSN值为 1和 2的两个原始部分 CDR合并而成。 综合 CDR单元 2中 "RSN" 字段值为 3 , 且 "SerialCDRIndicator" 字段值为 1 , 表示综合 CDR单元 2由 RSN值为 3的原
始部分 CDR构成。 综合 CDR中新增的 "preprocessing Status"字段值为 1 ,表示预处理成功。
"List of RSN Range" 字段仅有一个表项, 值为 (1 , 3 ) , 表示属于这个综 合 CDR的所有部分 CDR都已收到。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本 领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和 原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护 范围之内。
Claims
权 利 要 求 书
1. 一种 IMS网元计费信息综合方法, 其特征在于, 所述方法包括以下步 骤:
步骤 S302, 接收来自计费数据功能实体的计费数据记录报文并检 验所述计费数据记录报文中是否为可能重复的计费数据记录报文, 在所 接收到的计费数据记录报文为可能重复的计费数据记录报文的情况下, 存储所述计费数据记录报文;
步骤 S304, 在所接收到的计费数据记录报文不是所述可能重复的 计费数据记录 文的情况下, 根据所述计费数据记录中的一个或多个指 定字段对接收到的多个部分计费数据记录进行关联、 精简和修正以得到 综合计费数据记录并暂存所述综合计费数据记录; 以及
步骤 S306, 在达到预定时间或所述综合计费数据记录达到预定存 储容量的情况下, 将得到的所述综合计费数据记录发送至帐单处理域。
2. 根据权利要求 1所述的 IMS网元计费信息综合方法, 其特征在于, 所 述一个或多个指定字段包括以下字段:
i己录类型, 用于指示 IMS网元的类型;
IMS计费标识, 用于唯一地标识一个多媒体会话; 以及 节点角色,用于指示所述部分计费数据记录所记录的是会话的主叫 方还是会话的被叫方。
3. 根据权利要求 2所述的 IMS网元计费信息综合方法, 其特征在于, 所 述一个或多个指定字段还包括以下至少一个字段:
记录序列号, 用于判断部分话单的顺序; 以及
记录关闭原因, 用于判断合并是否完成。
4. 根据权利要求 1至 3中任一项所述的 IMS网元计费信息综合方法, 其 特征在于, 所述步骤 S304包括:
步骤 a, 判断所接收到的计费数据记录是否为部分计费数据记录, 在不是部分计费数据的情况下将所述计费数据记录的预处理状态字段置 为未进行预处理标识并发送至帐单处理域,在为部分计费数据的情况下,
判断接收到的部分计费数据记录的格式和内容是否正确, 在所述格式和 . 内容正确的情况下, 判断是否对其进行修正或补充, 如果能够进行修正 或补充, 则将预处理状态字段置为未进行预处理标识, 将所述计费数据 记录直接发送至所述帐单处理域;
步骤 b,根据所述部分计费数据记录中的记录类型、 IMS计费标识、 节点角色、 以及记录序列号中的至少一个查找相关联的、 已处理过的综 合计费数据记录;
步骤 c, 在找到综合计费数据记录的情况下, 将接收到的部分计费 数据记录域所找到的综合计费数据记录进行关联, 将所述部分计费数据 记录的记录序列号与所述综合计费数据记录中的记录序列号列表中的每 个表项进行比较并将所述部分计费数据记录的记录序列号插入所述综合 计费数据记录中的记录序列号列表中或丢弃重复的部分计费数据记录, 在没有找到综合计费数据记录的情况下 , 将该部分计费数据记录暂存到 大容量存储设备中;
步骤 d, 在所述部分计费数据记录的修正标识为未进行修正的情况 下, 根据所述综合计费数据记录中的内容修正所述部分计费数据记录的 格式和内容以及补齐所述部分计费数据记录的内容, 对所述部分计费数 据记录中的冗余数据进行压缩并合并到所述综合计费数据记录中; 以及 步骤 e, 在所述部分计费数据记录不是最后一个接收到的属于会话 的计费数据记录的情况下, 返回执行步骤 a, 在所述部分计费数据记录 是最后一个接收到的属于会话的计费数据记录的情况下, 将该计费记录 数据立即发送至帐单处理域, 在预定时间后仍未接收到该属于会话的最 后一个计费数据 i己录, 则将所述综合计费数据记录中的预处理状态设置 为预处理超时标记并暂存所述综合计费数据记录并将所述综合计费数据 记录发送至所述巾 单处理域。 根据权利要求 4所述的 IMS网元计费信息综合方法, 其特征在于, 通 过以下至少一种方式对前后两个部分计费数据 i己录压缩冗余:
在所述记录关闭原因为所述计费数据记录打开的时间超过预定时 间间隔的情况下, 用后一个部分计费数据 i己录的 i己录关闭时间字段和 i己 录关闭原因字段来更新前一个部分计费数据记录中的对应字段;
在所述己录关闭原因为所述计费数据记录容量超限的情况下,用后 一个部分计费数据记录的记录关闭时间字段和记录关闭原因字段来更新 前一个部分计费数据记录中的对应字段; 以及 在所述记录关闭原因为业务改变的情况下,用后一个部分计费数据 记录中业务改变后有变化的字段作为新的综合计费数据记录添加到所述 综合计费数据记录的后面。 一种采用权利要求 1至 5中任一项所述的 IMS网元计费信息综合方法 的计费方法。 一种 IMS网元计费信息综合系统, 其特征在于, 所述系统包括:
接收模块,用于接收来自计费数据功能实体的计费数据记录报文并 检验所述计费数据记录报文中是否为可能重复的计费数据记录报文, 在 所接收到的计费数据记录报文不是可能重复的计费数据记录报文的情况 下, 将所述计费数据记录报文发送至预处理模块, 在所接收到的计费数 据记录 4艮文为可能重复的计费数据记录报文的情况下, 将所述计费数据 记录报文暂存到大容量存储设备中;
所述大容量存储设备, 用于存储计费数据记录报文;
所述预处理模块,用于在所接收到的计费数据记录报文不是所述可 能重复的计费数据记录报文的情况下, 根据所述计费数据记录中的一个 或多个指定字段对接收到的多个部分计费数据记录进行关联、 精简和修 正, 在达到预定时间或预定存储容量的情况下, 将得到的综合计费数据 记录传输至发送模块; 以及
所述发送模块,用于将进行预处理后的计费数据记录发送至帐单处 理域。 根据权利要求 7所述的 IMS网元计费信息综合系统, 其特征在于, 所述 一个或多个指定字段包括以下字段:
i己录类型, 用于指示 IMS网元的类型;
IMS计费标识, 用于唯一地标识一个多媒体会话; 以及
节点角色,用于指示所述部分计费数据记录所记录的是会话的主叫 方还是会话的被叫方。
9. 根据权利要求 8所述的 IMS网元计费信息综合系统, 其特征在于, 所述 一个或多个指定字段还包括以下至少一个字段:
记录序列号, 用于判断部分话单的顺序; 以及
记录关闭原因, 用于判断合并是否完成。
10. 根据权利要求 7至 9中任一项所述的 IMS网元计费信息综合系统, 其特 征在于, 所述预处理模块包括:
判断和标记模块,用于判断所接收到的计费数据记录是否为部分计 费数据记录, 在不是部分计费数据的情况下将所述计费数据记录的预处 理状态字段置为未进行预处理标识并发送至帐单处理域, 在为部分计费 数据的情况下,判断接收到的部分计费数据记录的格式和内容是否正确, 在所述格式和内容正确的情况下, 将^ ί爹正标识置为未进^爹正标识, 在 所述格式或内容不正确的情况下, 判断是否对其进行 正或补充, 如果 能够进行修正或补充, 则将预处理状态字段置为未进行预处理标识, 将 所述计费数据记录直接发送至所述帐单处理域;
查找模块, 用于 居所述部分计费数据记录中的记录类型、 IMS计 费标识、 节点角色、 以及记录序列号中的至少一个查找相关联的、 已处 理过的综合计费数据记录;
综合模块, 用于在找到综合计费数据记录的情况下 , 将接收到的部 分计费数据记录域所找到的综合计费数据记录进行关联, 将所述部分计 费数据记录的记录序列号与所述综合计费数据记录中的记录序列号列表 中的每个表项进行比较并将所述部分计费数据 i己录的记录序列号插入所 述综合计费数据记录中的记录序列号列表中或丢弃重复的部分计费数据 记录, 在没有找到综合计费数据记录的情况下, 将该部分计费数据记录 暂存到大容量存储设备中; 以及
压缩模块,在所述部分计费数据记录的修正标识为未进行修正的情 况下, 根据所述综合计费数据记录中的内容修正所述部分计费数据记录 的格式和内容以及补齐所述部分计费数据记录的内容, 对所述部分计费 数据记录中的冗余数据进行压缩并合并到所述综合计费数据记录中, 在 所述部分计费数据记录是最后一个接收到的属于会话的计费数据记录的 情况下, 将该计费记录数据立即发送至帐单处理域, 在预定时间后仍未 接收到该属于会话的最后一个计费数据记录, 将所述综合计费数据记录
中的预处理状态设置为预处理超时标记并将所述综合计费数据记录暂存 到所述发送模块。
11. 根据权利要求 10所述的 IMS网元计费信息综合系统, 其特征在于, 所 述压缩模块通过以下至少一种方式对前后两个部分计费数据 i己录压缩冗 余:
在所述记录关闭原因为所述计费数据记录打开的时间超过预定时 间间隔的情况下, 用后一个部分计费数据记录的记录关闭时间字段和记 录关闭原因字段来更新前一个部分计费数据记录中的对应字段;
在所述记录关闭原因为所述计费数据记录容量超限的情况下,用后 一个部分计费数据记录的记录关闭时间字段和记录关闭原因字段来更新 前一个部分计费数据记录中的对应字段; 以及 在所述记录关闭原因为业务改变的情况下,用后一个部分计费数据 记录中业务改变后有变化的字段作为新的综合计费数据记录添加到所述 综合计费数据记录的后面。
12. —种采用权利要求 7至 10中任一项所述的 IMS网元计费信息综合系统 的计费系统。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN200710153597A CN101127611B (zh) | 2007-09-19 | 2007-09-19 | Ims网元计费信息综合方法和系统及计费方法和系统 |
| CN200710153597.3 | 2007-09-19 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2009036645A1 true WO2009036645A1 (en) | 2009-03-26 |
Family
ID=39095545
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2008/000055 Ceased WO2009036645A1 (en) | 2007-09-19 | 2008-01-08 | Method and system for ims network element charging information and method and system for charging |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN101127611B (zh) |
| WO (1) | WO2009036645A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103067903A (zh) * | 2012-12-31 | 2013-04-24 | 华为技术有限公司 | 计费方法、装置和系统 |
Families Citing this family (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101127611B (zh) * | 2007-09-19 | 2012-09-05 | 中兴通讯股份有限公司 | Ims网元计费信息综合方法和系统及计费方法和系统 |
| CN101729709B (zh) * | 2008-11-03 | 2011-11-30 | 中国移动通信集团广西有限公司 | 一种分话单处理方法及装置 |
| CN102256231A (zh) * | 2011-07-05 | 2011-11-23 | 中兴通讯股份有限公司 | 一种多网元融合计费方法及系统及计费数据网关功能实体 |
| CN102255735B (zh) * | 2011-07-05 | 2013-09-04 | 青岛海信传媒网络技术有限公司 | 一种订单的处理方法及装置 |
| CN103052047B (zh) * | 2012-12-19 | 2016-01-06 | 华为技术有限公司 | 一种基于号码携带业务的在线计费方法、装置及系统 |
| CN103716768A (zh) * | 2014-01-15 | 2014-04-09 | 大唐移动通信设备有限公司 | 处理话单信息的系统方法、装置及系统 |
| CN108289296A (zh) * | 2017-06-30 | 2018-07-17 | 中兴通讯股份有限公司 | 话单输出方法、装置及存储介质 |
| CN109981548B (zh) * | 2017-12-28 | 2021-09-10 | 中移信息技术有限公司 | 一种计费消息的解析方法及装置 |
| CN108429866B (zh) * | 2018-01-31 | 2020-08-14 | 新华三技术有限公司 | 计费报文处理方法、装置和网络设备 |
| CN111929486B (zh) * | 2020-09-14 | 2021-01-12 | 南京奥通智能科技有限公司 | 单回路宽范围测量电压系统和测量方法 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20040037354A (ko) * | 2002-10-28 | 2004-05-07 | 주식회사 케이티프리텔 | 중복호 검사를 포함한 요금 산출 방법 및 시스템 |
| KR20050088596A (ko) * | 2004-03-02 | 2005-09-07 | 삼성전자주식회사 | 이동통신 시스템에서 컨텐츠별 과금을 위한 데이터 생성및 전송방법 |
| CN101009571A (zh) * | 2006-01-25 | 2007-08-01 | 华为技术有限公司 | 一种计费关联的方法 |
| CN101127611A (zh) * | 2007-09-19 | 2008-02-20 | 中兴通讯股份有限公司 | Ims网元计费信息综合方法和系统及计费方法和系统 |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN100499467C (zh) * | 2004-09-10 | 2009-06-10 | 华为技术有限公司 | 一种多媒体子系统信令承载的计费方法 |
| CN100583935C (zh) * | 2005-07-29 | 2010-01-20 | Ut斯达康通讯有限公司 | IMS/PoC系统中群组通信的计费方法 |
-
2007
- 2007-09-19 CN CN200710153597A patent/CN101127611B/zh not_active Expired - Fee Related
-
2008
- 2008-01-08 WO PCT/CN2008/000055 patent/WO2009036645A1/zh not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20040037354A (ko) * | 2002-10-28 | 2004-05-07 | 주식회사 케이티프리텔 | 중복호 검사를 포함한 요금 산출 방법 및 시스템 |
| KR20050088596A (ko) * | 2004-03-02 | 2005-09-07 | 삼성전자주식회사 | 이동통신 시스템에서 컨텐츠별 과금을 위한 데이터 생성및 전송방법 |
| CN101009571A (zh) * | 2006-01-25 | 2007-08-01 | 华为技术有限公司 | 一种计费关联的方法 |
| CN101127611A (zh) * | 2007-09-19 | 2008-02-20 | 中兴通讯股份有限公司 | Ims网元计费信息综合方法和系统及计费方法和系统 |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103067903A (zh) * | 2012-12-31 | 2013-04-24 | 华为技术有限公司 | 计费方法、装置和系统 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN101127611B (zh) | 2012-09-05 |
| CN101127611A (zh) | 2008-02-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2009036645A1 (en) | Method and system for ims network element charging information and method and system for charging | |
| JP5709850B2 (ja) | 完全相関ims課金データ記録を生成する耐障害性の方法 | |
| US8126124B2 (en) | Charging for long duration sessions in communication networks | |
| US8977233B2 (en) | Identification of timestamps for a partial CDR when failover occurs in an offline charging system | |
| US8463672B2 (en) | Method and apparatus for facilitating interim billing for IMS session using time-based interim accounting message to determine interim processing trigger | |
| US9379898B2 (en) | Methods, systems, and computer program products for providing billing and usage data to downstream applications | |
| US8218742B2 (en) | Method of correlating charging data records within an offline charging system | |
| US7010104B1 (en) | Pre-biller capability in enhanced charging collection function (CCF) applications | |
| CN107079043A (zh) | 用于离线计费的cdf跟踪 | |
| WO2009039699A1 (en) | Integrated method of the multi-charging data records in an ip multimedia subsystem | |
| CN103490910B (zh) | 一种实现会话内容计费的方法 | |
| WO2011047568A1 (zh) | 计费信息报告的发送方法及装置 | |
| WO2013063910A1 (zh) | 一种as异常的处理方法及系统 | |
| US6968048B2 (en) | Automatic message accounting record creation system and method | |
| CN1643889A (zh) | 通信终端设备之间通信连接计费的方法 | |
| US20080082455A1 (en) | System and method for communicating charging data records | |
| CN100464583C (zh) | 一种视频呼叫的计费方法 | |
| CN101179403B (zh) | 用于传送计费数据记录的系统和方法 | |
| WO2010031315A1 (zh) | 防止业务控制处理器倒换造成丢失话单的实现方法 | |
| WO2007093099A1 (en) | Method and system for associating and distinguishing the account bill in the fork scene | |
| KR20020040979A (ko) | 인터넷 및 전화요금의 통합 과금 처리방법 |
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: 08700615 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 08700615 Country of ref document: EP Kind code of ref document: A1 |