CN101345636B - Transmitting and receiving method of charging document based on content charging, and charging server - Google Patents

Transmitting and receiving method of charging document based on content charging, and charging server Download PDF

Info

Publication number
CN101345636B
CN101345636B CN2008101420508A CN200810142050A CN101345636B CN 101345636 B CN101345636 B CN 101345636B CN 2008101420508 A CN2008101420508 A CN 2008101420508A CN 200810142050 A CN200810142050 A CN 200810142050A CN 101345636 B CN101345636 B CN 101345636B
Authority
CN
China
Prior art keywords
node
information
content
territory
charging
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2008101420508A
Other languages
Chinese (zh)
Other versions
CN101345636A (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.)
Medium shift information technology Co., Ltd.
Original Assignee
China Mobile Shenzhen Co Ltd
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 China Mobile Shenzhen Co Ltd filed Critical China Mobile Shenzhen Co Ltd
Priority to CN2008101420508A priority Critical patent/CN101345636B/en
Publication of CN101345636A publication Critical patent/CN101345636A/en
Application granted granted Critical
Publication of CN101345636B publication Critical patent/CN101345636B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to a transmitting and receiving method and a charging server based on charging files of content charge aiming at defects that F-format is not suitable for charging modes based on the content adopted by the prior data operation charging model based on the content charging technology. The transmitting method based on the charging files of the content charge comprises: receiving original charging information based on the content charge; encapsulating the original charging information based on the content charge according to BER coding mode, generating the charging files based on the content charge and transmitting. The invention also provides a receiving method and a charging server based on the charging files of the content charge. The charging files based on the content charge provided by the invention have excellent expansibility and flexibility due to F-format. The charging files in the invention are suitable for complex environment based on the content charge, meanwhile the coding mode of BER with variable length is small in space usage and strict in coding rules.

Description

The sending, receiving method of the billing document of content-based charging and accounting server
Technical field
The present invention relates to content-based billing technology, more particularly, relate to a kind of sending, receiving method and accounting server of billing document of content-based charging.
Background technology
Along with the progress of mobile communication technology and carrying out energetically of mobile data services, for content relevance and the accuracy that promotes the data service billing strategy, increasing operator has adopted the service billing pattern of content charging to the data business, content charging is meant that operator filters and analyze by the packet that the user is used, discern and distinguish content type and attribute that user data transmits then, and relevant information is sent to charge system charges.With traditional charge system to all uniform service adopt time or flow wholesale price different be that content charging is carried out wholesale price according to the content value and the flow of value-added service, all business is not adopted unified charging linear module.
When the user uses the data service of content-based charging in roam procedure, need roam clearance.The roaming clearance implementation method of existing data service roughly can be divided into following steps:
A. visit message area and carry out original charge information collection;
B. visit message area and generate billing document according to billing model.
C. visit message area and in special time, the content charging message file is sent to the ownership message area.
D. belonging to message area decodes and verification accordingly to content charge information file.
E. clearing and bill generate.
Because the billing model of available data business unifies the employing time or flow carries out charge accounting, required charging key element is simpler; Billing model adopts the text formatting file; General Definition ticket length is fixed value.And strict difinition field position and field length etc., ancillary rules is many.
Content charging is meant according to access way, class of business, flow, duration, incident (click etc.), service quality QoS (Qualityof service), and charging is discerned in combination.Complete content charges and comprise the combination of following message: the flow information of different business (content); The temporal information of different business (content); The event information of different business (content); The information charge of different business (content).Development along with mobile data services, class of business is more and more, the charging key element of content-based charging is along with the increase of class of business also increases synchronously, corresponding charging regulation is also all the more complicated, the corresponding with it charge information by content charging roaming clearance rolls up too, and therefore existing fixed length text formatting billing model is applied to content charging and has following shortcoming:
A. the fixed length text formatting shortcoming that do not possess autgmentability is difficult to realize the mutual of charge information for the charging key element of content charging complexity;
B. charge information handle complicated because the f format location field is by conditions such as field original position and field lengths, class of business increase or other changes in demand after when causing billing model to change, the processing of corresponding whole file all needs to change;
C. because the non-tree of fixed length text formatting also is very not directly perceived for representing of charging key element.
Therefore, need a kind of billing scheme of content-based charging, can overcome the above-mentioned defective that prior art exists.
Summary of the invention
The technical problem to be solved in the present invention is, the f format that is adopted at available data service billing model is not suitable for the defective of content-based charging way, and a kind of sending, receiving method and accounting server of billing document of content-based charging is provided.
The technical solution adopted for the present invention to solve the technical problems is: the sending, receiving method and the accounting server of constructing a kind of billing document of content-based charging.
A kind of sending method of billing document of content-based charging comprises the steps:
The original charge information of S1, the content-based charging of reception;
S2, encapsulate, generate the billing document of content-based charging and send based on the original charge information of BER coded system to described content-based charging.
In the sending method of the billing document of content-based charging of the present invention, the billing document of described content-based charging comprises a plurality of nodes, and each node comprises Tag territory, Length territory and Value territory.
In the sending method of the billing document of content-based charging of the present invention, described step S2 further comprises:
S21, from the original charge information of described content-based charging, extract the value of this node, this node Value territory of generation according to the function of each node;
S22, calculate the length in the Value territory of each node respectively, generate the Length territory of this node;
S23, generate the Tag territory of each node respectively, and, finish the generation of this node thus according to of Tag territory, Length territory and the combination of Value territory of BER coded system with this node;
S24, each node combination that will generate generate the billing document and the transmission of described content-based charging.
In the sending method of the billing document of content-based charging of the present invention, among described step S23, be each node generation Tag territory according to the Tag table.
The present invention also provides a kind of method of reseptance of billing document of content-based charging, comprises the steps:
The billing document of S1, the content-based charging of reception;
S2, the billing document of described content-based charging is carried out decapsulation, obtain the original charge information of content-based charging based on the BER decoding process.
In the method for reseptance of the billing document of content-based charging of the present invention, the billing document of described content-based charging comprises a plurality of nodes, and each node comprises Tag territory, Length territory and Value territory.
In the method for reseptance of the billing document of content-based charging of the present invention, described step S2 further comprises:
S21, for each node in the billing document of described content-based charging, carry out following steps:
S22, the Tag territory of extracting this node, the function of definite this node in view of the above;
S23, the Length territory of extracting this node, the length in definite this node Value territory in view of the above;
S24, according to the length in this node Value territory from the billing document of described content-based charging
Extract the Value territory of this node;
S25, according to the function of each node with the combination of the value in the Value territory of all nodes, obtain the original charge information of described content-based charging.
The present invention also provides a kind of accounting server, comprising:
Package module is used to receive the original charge information of content-based charging, encapsulates based on the original charge information of BER coded system to described content-based charging, generates the billing document of content-based charging and sends.
In accounting server of the present invention, described accounting server comprises:
Memory module is used to store the Tag table;
The billing document of described content-based charging comprises a plurality of nodes, and each node comprises Tag territory, Length territory and Value territory, and described package module is used to carry out following operation:
From the original charge information of described content-based charging, extract the value of this node, this node Value territory of generation according to the function of each node;
Calculate the length in the Value territory of each node respectively, generate the Length territory of this node;
Generate the Tag territory of each node respectively according to the Tag table, and, finish the generation of this node thus according to of Tag territory, Length territory and the combination of Value territory of BER coded system with this node;
Each node combination with generating generates the billing document and the transmission of described content-based charging.
In accounting server of the present invention, described accounting server comprises:
Decapsulation module is used for:
For each node in the billing document of described content-based charging, carry out following operation:
Extract the Tag territory of this node, determine the function of this node in view of the above;
Extract the Length territory of this node, determine the length in this node Value territory in view of the above;
From the billing document of described content-based charging, extract the Value territory of this node according to the length in this node Value territory;
Function according to each node makes up the value in the Value territory of all nodes, obtains the original charge information of described content-based charging.
Implement technical scheme of the present invention, have following beneficial effect: therefore the billing document of content-based charging provided by the invention has splendid autgmentability and flexibility owing to adopt U format.Therefore, billing document provided by the invention can adapt to the complex environment of content-based charging.Simultaneously, the coded system of BER variable-length, it is little to take up room; Possesses strict coding rule, for the validity of data provides sound assurance.
Description of drawings
The invention will be further described below in conjunction with drawings and Examples, in the accompanying drawing:
Fig. 1 is the data structure schematic diagram according to the billing document of the content-based charging of a preferred embodiment of the present invention;
Fig. 2 is the hierarchical structure schematic diagram according to the billing document of the content-based charging of a preferred embodiment of the present invention;
Fig. 3 is the hierarchical structure schematic diagram according to the content charging ticket detail record of a preferred embodiment of the present invention;
Fig. 4 is the hierarchical structure schematic diagram according to the GPRS conversation essential information of a preferred embodiment of the present invention;
Fig. 5 is the hierarchical structure schematic diagram according to the network information of a preferred embodiment of the present invention;
Fig. 6 is the hierarchical structure schematic diagram that uses information according to the business of a preferred embodiment of the present invention;
Fig. 7 is the flow chart according to the transfer approach of the billing document of the content-based charging of a preferred embodiment of the present invention;
Fig. 8 is the structural representation according to the accounting server of a preferred embodiment of the present invention;
Fig. 9 is the transmission schematic diagram according to the billing document of the content-based charging of a preferred embodiment of the present invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
The invention provides a kind of transfer approach of billing document, the original charge information that at first will receive (for example switch gather original charge information) adopts the BER encoding scheme to be packaged into the billing document of content-based charging, and then this billing document is transmitted between accounting server.Before the transfer approach of the billing document of formally describing content-based charging provided by the invention, at first describe and adopt the BER encoding scheme to encapsulate the data structure of the billing document of the content-based charging that obtains according to original charge information in conjunction with Fig. 1~Fig. 6.
Fig. 1 is the data structure schematic diagram according to the billing document of the content-based charging of a preferred embodiment of the present invention.As shown in Figure 1, the data structure that the present invention is based on the billing document of content charging comprises one-level node 102, one-level node 102 is further divided into a plurality of two-level nodes 104~108 again, and at least a portion in the two-level node 104~108 can be further divided into three grades of nodes 110~116 respectively again.Simultaneously, among each node shown in Figure 1, the frame of broken lines node is non-leaf node, and this category node comprises child node; The solid box node is a leaf node, and this category node does not comprise child node.It is restraint joint that the node that the lower left corner indicates letter " C " is indicated this node, and its constraints will define in data dictionary; It is optional node that the node that the lower left corner indicates letter " O " is indicated this node, among itself and the nonessential billing document that appears at content-based charging; It is forced node that the node that the lower left corner indicates letter ' M ' is indicated this node, and it must appear among the billing document of content-based charging; It is duplicate node that the node that the lower right corner indicates letter " R " is indicated this node, one or many can occur in billing document, if but this duplicate node is optional node or restraint joint, then this node can occur 0 time or repeatedly; It is to repel node that the node that the upper right corner indicates letter " o " is indicated this node, and a plurality of child nodes of repelling node each other of same node can only occur one.
By data structure shown in Figure 1 as can be seen, owing to may have duplicate node and optional node in the billing document of content-based charging, therefore the length of the billing document of content-based charging is variable.In addition, will show further also in the following description that different types of service makes that the form of some node also is variable in the billing document, is variable thereby also can cause the length of the billing document of content-based charging.In addition, above-mentioned billing document is by to obtaining from processing such as the original charge information such as but not limited to switch encapsulate, the implication of the restraint joint above is, for some business, equipment such as switch can obtain information specific when the user uses these professional, for example device identification etc., at this moment, this category information will appear among the billing document.And, may not possess the ability of extracting this type of information for other equipment, then among its billing document, will not comprise this type of information.Therefore, the node that the comprises this information appearance of in billing document, having ready conditions.
Below just the billing document that the present invention is based on content charging is described in conjunction with instantiation.
Fig. 2 is the hierarchical structure schematic diagram according to the billing document 200 of the content-based charging of a preferred embodiment of the present invention.As shown in Figure 2, billing document 200 comprises document control information (Batch ControlInformation) 202, content charging ticket detail record 204 and audit control information (Audit ControlInformation) 206.
Document control information 202 comprises information such as the information, file sequence number of the information, file recipient (as the ownership message area) in file transmit leg (as the roam charge district).Document control information 202 is forced nodes, also is non-leaf node.
Record the details of ticket (as data services such as multimedia message, WAP business, DM (DeviceManagement, wireless terminal management) business) in the content charging ticket detail record 204.Content charging ticket detail record 204 is forced nodes, and it is a duplicate node, it also is non-leaf node, in a CDR file, content charging ticket detail record 204 can occur more than once, and the ticket information node also is variable according to rule, is variable thereby cause the length of the billing document 200 of content-based charging.The structure of related content charging bill detail record 204 will be described in detail hereinafter.
Audit control information 206 mainly comprises the generation time the earliest (Earliest Call Timestamp) of all ticket clauses and subclauses in the billing document 200, generation time (Latest Call Timestamp), ticket clauses and subclauses sum (Call Event Details Count) the latest, data uplink total amount (Total Data UpLink Volume), data downstream total amount (Total Data DownLink Volume), total cost (Total Charge), and other information explanations (Operator Specific Information).Audit control information 206 is forced nodes, also is non-leaf node.
As indicated above, record the conversation detail record of (comprising data service etc.) in the content charging ticket detail record 204.Below just the structure of content charging bill detail record is described in detail in conjunction with Fig. 3.
Fig. 3 is the hierarchical structure schematic diagram according to the content charging ticket detail record 300 of a preferred embodiment of the present invention.As shown in Figure 3, content charging ticket detail record 300 comprises that GPRS conversation essential information (GPRS Basic Call Information) 302, GPRS network information (GPRS Network Location) 304, device identifying information (Equipment Identify) 306, gprs service use information (GPRSService Used) 308, the amount of money (Charge) 310 and other information (Operator Specific Information) 312.Wherein, GPRS conversation essential information 302, GPRS network information 304, gprs service use information 308, the amount of money 310 to be forced node, and it still is duplicate node that gprs service uses information 308, and device identifying information 306 is restraint joints, wherein records device identifier.Other information 312 are optional nodes.Simultaneously, it is non-leaf nodes that GPRS conversation essential information 302, GPRS network information 304, device identifying information 306, gprs service use information 308, the amount of money 310, other information (OperatorSpecific Information) the 312nd, leaf node.
By the structure of content charging ticket detail record 300 as seen, by use the concrete type of service of sign in the information 308 at gprs service, the CDR file of content-based charging provided by the invention can adapt to dissimilar business, for example MMS, WAP business and DM business etc.Be not difficult to find out that thus the billing document of content-based charging provided by the invention has splendid autgmentability and flexibility.Therefore, billing document provided by the invention can adapt to the complex environment of content-based charging.
Should note, the GPRS conversation essential information 302 of different business and the content and the length of GPRS network information 304 also differ from one another, therefore GPRS conversation essential information 302 and GPRS network information 304 are variable lengths, and this length that also causes the present invention is based on the CDR file of content charging is variable.
Record the concrete professional operating position of user in the GPRS conversation essential information, hereinafter constipation closes Fig. 4 its structure is described in detail.
Fig. 4 is the hierarchical structure schematic diagram according to the GPRS conversation essential information 400 of a preferred embodiment of the present invention.As shown in Figure 4, GPRS conversation essential information 400 comprises GPRS user basic information (GPRSChargeable Subscriber) 402, GPRS network access information (GPRS Destination) 404, call start time (Record Event Opening TimeStamp) 406, air time (Total CallEvent Duration) 408, network system types (System Type) 410, reason (Cause For Record Closing) 414 is ended in charging identifier (ChargingID) 412 and conversation, and above-mentioned node is forced node, and GPRS user basic information 402 and GPRS network access information 404 are leaf nodes.It should be noted that in the specific implementation process GPRS conversation essential information 400 also can comprise other information, the structure among Fig. 4 should not be construed as and is used to limit the scope of the invention.
Fig. 5 is the hierarchical structure schematic diagram according to the network information 500 of a preferred embodiment of the present invention.As shown in Figure 5, the network information 500 comprises GGSN address (GGSN Address) 502, SGSN address (SGSNAddress) 504 and visit message area code (Visit Provice Code) 506, and above-mentioned node is forced node.It should be noted that in the specific implementation process conversation essential information 500 also can comprise other information, the structure among Fig. 5 should not be construed as and is used to limit the scope of the invention.
Fig. 6 is the hierarchical structure schematic diagram that uses information 600 according to the business of a preferred embodiment of the present invention.As shown in Figure 6, professional use information 600 comprises professional zero-time (Service UsedStartTimeStamp) 602, overall traffic use duration (Service used Duration) 604, overall traffic use data uplink flow (Service Used Data UpLink volume) 606, overall traffic use data downstream flow (Service Used Data DownLink volume) 608 and the concrete business use details (GPRS Service Usage) 610 of using.Wherein, concrete business uses details 610 to be leaf node, and it can further comprise service code (Service Code), duration (Duration), data uplink flow (Data UpLink volume), data downstream flow information such as (Data DownLink Volume); It is forced nodes that professional use zero-time 602, overall traffic use data uplink flow 606, overall traffic to use data downstream flow 608, it is restraint joints that overall traffic is used duration 604 and specifically professional use details 610, and concrete professional use details 610 still is a duplicate node.
By above describing as can be seen, the structure of the billing document of content-based charging provided by the invention has splendid flexibility, can expand easily with the expansion of business.In addition, the billing document of content-based charging provided by the invention is a kind of billing document of elongated structure, and this billing document generates by original charge information being carried out the BER encapsulation.
This billing document the present invention is based on the mutual universal standard ASN.1 of ID (abstract syntax notation one, Abstract SyntaxNotation One) billing document of content-based charging defined, so that can transmit between accounting server.In the specific implementation process, the present invention uses the BER (Basic Encoding Rules, Basic Encoding Rules) based on ASN.1 to encapsulate original charge information, obtains the billing document of content-based charging.
BER adopts the TLV coded system to come original charge information is encapsulated, and wherein TLV represents Tag (label), Length (length) and Value (value) respectively.For each node in the billing document, for example document control information 102, ticket detail record 104 etc., at first from original charge information, extract occurrence, generate the Value territory, length according to the Value territory generates the Length territory then, add the Tag territory at last, wherein record the sign of each node in the Tag territory, be used to indicate the function of this node.
The BER encoding scheme is used the length in Length domain representation Value territory.In the specific implementation process, the BER encoding scheme can adopt fixed length mode and random length mode dual mode to encode, and the billing document of content-based charging provided by the invention is a U format.In the random length mode, the content in Length territory is fixed as 0x80, but the Value territory ends up with two 0x00.The length in Value territory will be set according to concrete follow-up field contents value thus, realize the random length coding of billing document thus.In addition, also can carry out nestedly in the Value territory, for example the Value territory can further comprise Tag territory, Length territory and Value territory.The content of relevant BER coded system has been made detailed description in the prior art, so this paper repeats no more.
Based on the data structure and the BER packaged type of the billing document of above-described content-based charging, the invention provides a kind of transfer approach of billing document of content-based charging, below just be described in detail in conjunction with Fig. 7.
Fig. 7 is the flow chart according to the transfer approach 700 of the billing document of the content-based charging of a preferred embodiment of the present invention.As shown in Figure 7, method 700 starts from step 702.
Subsequently, at next step 704, the transmit leg accounting server receives original charge information (for example from switch), based on the BER coded system original charge information is encapsulated, and obtains the billing document of content-based charging.Wherein, the concrete encapsulation process of original charge information comprises, particular content according to each node of describing among Fig. 2~Fig. 6, from original charge information, extract the occurrence of each node correspondence respectively, generate the Value territory, generate the Length territory according to the length in this Value territory then and be added on before the Value territory of generation, generate Tag territory and sky according to the Tag table again and be added in before the Length territory of generation, generate each node in the billing document thus.Record the sign of each node in the Tag table, this sign is used to indicate the function of this node.At last, with each node combination, generate the billing document of content-based charging.Done clearly about the content of the content of original billing document and BER coded system and to have described, therefore repeated no more herein at preamble.
Subsequently, at next step 706, the transmit leg accounting server mails to recipient's accounting server with the billing document of content-based charging.
Subsequently, at next step 708, recipient's accounting server receives the billing document from the content-based charging of transmit leg accounting server.
Subsequently, at next step 710, recipient's accounting server carries out decapsulation based on the BER coded system to the encapsulation billing document, obtains original charge information.Concrete decapsulation process comprises according to each node in the billing document of the content-based charging of Tag table identification, from the billing document of content-based charging, extract the Value territory of this node subsequently according to the Length territory of this node, and the Value territory of all nodes that will extract recombinates, and obtains original charge information.
At last, method 700 ends at step 712.
The present invention also provides a kind of accounting server, is used for the billing document that the present invention is based on content charging is encapsulated and decapsulation, hereinafter just is described in greater detail in conjunction with Fig. 8.
Fig. 8 is the structural representation according to the accounting server 800 of a preferred embodiment of the present invention.As shown in Figure 8, accounting server 800 comprises package module 802, memory module 806 and decapsulation module 812.
Store the Tag table in the memory module 806, wherein record the sign of each node, this sign is used to indicate the function of this node.
Package module 802 is used to receive original charge information 804 (for example extracting original charge information from switch), particular content according to each node of describing among Fig. 2~Fig. 6, from original charge information, extract the occurrence of each node correspondence respectively, generate the Value territory, generate the Length territory according to the length in this Value territory then and be added on before the Value territory of generation, generate Tag territory and sky according to Tag table again and be added in before the Length territory of generation, generate each node in the billing document thus.Record the sign of each node in the Tag table, this sign is used to indicate the function of this node.At last,, generate the billing document 810 of content-based charging, mail to other accounting servers each node combination.
Decapsulation module is used to receive the billing document 810 of the content-based charging that other accounting servers send, according to each node in the billing document 810 of the content-based charging of Tag table identification, from the billing document 810 of content-based charging, extract the Value territory of this node subsequently according to the Length territory of this node, and the Value territory of all nodes that will extract recombinates, and obtains original charge information 804.
Fig. 9 is the transmission schematic diagram according to the billing document of the content-based charging of a preferred embodiment of the present invention.As shown in Figure 9, comprising first communication network 900 and second communication network 906.Be provided with first switch 902 and first accounting server 904 in first communication network 900; Be provided with second switch 908 and second accounting server 910 in the second communication network 906.
First accounting server 904 is gathered the first original charge information 912 from first switch 902, the billing document 916 that generates content-based charging after encapsulating mails to second accounting server 910.The billing document 916 of 910 pairs of content-based chargings of second accounting server carries out decapsulation, obtains the first original charge information 912.In like manner, second accounting server 910 is gathered the second original charge information 914 from second switch 908, and the billing document 918 that generates content-based charging mails to first accounting server 904.The billing document 918 of 904 pairs of content-based chargings of first accounting server carries out decapsulation, obtains the second original charge information 914.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1. the sending method of the billing document of a content-based charging is characterized in that, comprises the steps:
The original charge information of S1, the content-based charging of reception;
S2, encapsulate, generate the billing document of content-based charging and send based on the original charge information of BER coded system to described content-based charging; The billing document of described content-based charging comprises document control information, content charging ticket detail record and the audit control information that is forced node, and wherein content charging ticket detail record is a duplicate node; Described content charging ticket detail record comprises that GPRS conversation essential information, GPRS network information, device identifying information, gprs service use information, the amount of money and other information, and wherein GPRS conversation essential information, GPRS network information, gprs service use information, the amount of money to be forced node, and gprs service uses information to be duplicate node, the concrete type of service of sign in the described gprs service use information, described device identifying information is a restraint joint, wherein record device identifier, other information are optional nodes; Described gprs service use information comprises professional zero-time, overall traffic use duration, overall traffic use data uplink flow, overall traffic use data downstream flow and the concrete professional use details of using, wherein, it is forced node that professional use zero-time, overall traffic use data uplink flow, overall traffic to use the data downstream flow, it is restraint joint that overall traffic is used duration and specifically professional use details, and concrete professional use details is a duplicate node; Each node comprises Tag territory, Length territory and Value territory.
2. the sending method of the billing document of content-based charging according to claim 1 is characterized in that, described step S2 further comprises:
S21, from the original charge information of described content-based charging, extract the value of this node, this node Value territory of generation according to the function of each node;
S22, calculate the length in the Value territory of each node respectively, generate the Length territory of this node;
S23, generate the Tag territory of each node respectively, and, finish the generation of this node thus according to of Tag territory, Length territory and the combination of Value territory of BER coded system with this node;
S24, each node combination that will generate generate the billing document and the transmission of described content-based charging.
3. the sending method of the billing document of content-based charging according to claim 2 is characterized in that, among described step S23, generates the Tag territory according to the Tag table for each node.
4. the method for reseptance of the billing document of a content-based charging is characterized in that, comprises the steps:
The billing document of S1, the content-based charging of reception;
S2, the billing document of described content-based charging is carried out decapsulation, obtain the original charge information of content-based charging based on the BER decoding process; The billing document of described content-based charging comprises document control information, content charging ticket detail record and the audit control information that is forced node, and wherein content charging ticket detail record is a duplicate node; Described content charging ticket detail record comprises that GPRS conversation essential information, GPRS network information, device identifying information, gprs service use information, the amount of money and other information, and wherein GPRS conversation essential information, GPRS network information, gprs service use information, the amount of money to be forced node, and gprs service uses information to be duplicate node, the concrete type of service of sign in the described gprs service use information, described device identifying information is a restraint joint, wherein record device identifier, other information are optional nodes; Described gprs service use information comprises professional zero-time, overall traffic use duration, overall traffic use data uplink flow, overall traffic use data downstream flow and the concrete professional use details of using, wherein, it is forced node that professional use zero-time, overall traffic use data uplink flow, overall traffic to use the data downstream flow, it is restraint joint that overall traffic is used duration and specifically professional use details, and concrete professional use details is a duplicate node; Each node comprises Tag territory, Length territory and Value territory.
5. the method for reseptance of the billing document of content-based charging according to claim 4 is characterized in that, described step S2 further comprises:
S21, for each node in the billing document of described content-based charging, carry out following steps:
S22, the Tag territory of extracting this node, the function of definite this node in view of the above;
S23, the Length territory of extracting this node, the length in definite this node Value territory in view of the above;
S24, the Value territory of from the billing document of described content-based charging, extracting this node according to the length in this node Value territory;
S25, according to the function of each node with the combination of the value in the Value territory of all nodes, obtain the original charge information of described content-based charging.
6. an accounting server is characterized in that, comprising:
Package module, be used to receive the original charge information of content-based charging, and described package module encapsulates based on the original charge information of BER coded system to described content-based charging, generate the billing document and the transmission of content-based charging, the billing document of described content-based charging comprises document control information, content charging ticket detail record and the audit control information that is forced node, and wherein content charging ticket detail record is a duplicate node; Described content charging ticket detail record comprises that GPRS conversation essential information, GPRS network information, device identifying information, gprs service use information, the amount of money and other information, and wherein GPRS conversation essential information, GPRS network information, gprs service use information, the amount of money to be forced node, and gprs service uses information to be duplicate node, the concrete type of service of sign in the described gprs service use information, described device identifying information is a restraint joint, wherein record device identifier, other information are optional nodes; Described gprs service use information comprises professional zero-time, overall traffic use duration, overall traffic use data uplink flow, overall traffic use data downstream flow and the concrete professional use details of using, wherein, it is forced node that professional use zero-time, overall traffic use data uplink flow, overall traffic to use the data downstream flow, it is restraint joint that overall traffic is used duration and specifically professional use details, and concrete professional use details is a duplicate node.
7. accounting server according to claim 6 is characterized in that, described accounting server comprises:
Memory module is used to store the Tag table;
The billing document of described content-based charging comprises a plurality of nodes, and each node comprises Tag territory, Length territory and Value territory, and described package module is used to carry out following operation:
From the original charge information of described content-based charging, extract the value of this node, this node Value territory of generation according to the function of each node;
Calculate the length in the Value territory of each node respectively, generate the Length territory of this node;
Generate the Tag territory of each node respectively according to the Tag table, and, finish the generation of this node thus according to of Tag territory, Length territory and the combination of Value territory of BER coded system with this node;
Each node combination with generating generates the billing document and the transmission of described content-based charging.
8. accounting server according to claim 7 is characterized in that, described accounting server comprises:
Decapsulation module is used for:
For each node in the billing document of described content-based charging, carry out following operation:
Extract the Tag territory of this node, determine the function of this node in view of the above;
Extract the Length territory of this node, determine the length in this node Value territory in view of the above;
According to the length in this node Value territory from the billing document of described content-based charging
Extract the Value territory of this node;
Function according to each node makes up the value in the Value territory of all nodes, obtains the original charge information of described content-based charging.
CN2008101420508A 2008-08-21 2008-08-21 Transmitting and receiving method of charging document based on content charging, and charging server Active CN101345636B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101420508A CN101345636B (en) 2008-08-21 2008-08-21 Transmitting and receiving method of charging document based on content charging, and charging server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101420508A CN101345636B (en) 2008-08-21 2008-08-21 Transmitting and receiving method of charging document based on content charging, and charging server

Publications (2)

Publication Number Publication Date
CN101345636A CN101345636A (en) 2009-01-14
CN101345636B true CN101345636B (en) 2011-12-28

Family

ID=40247533

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101420508A Active CN101345636B (en) 2008-08-21 2008-08-21 Transmitting and receiving method of charging document based on content charging, and charging server

Country Status (1)

Country Link
CN (1) CN101345636B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102036211B (en) * 2009-09-29 2014-08-06 中国移动通信集团安徽有限公司 Charging processing method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1286554A (en) * 1999-10-29 2001-03-07 深圳市中兴通讯股份有限公司 On-line message accounting device and method for mobile communication network
EP1492321A1 (en) * 2003-06-24 2004-12-29 Openwave Systems Inc. System and method for extending billing services to applications on a carrier's network
CN1885780A (en) * 2005-06-24 2006-12-27 朗迅科技公司 Centralized off-line charge and on-line charge

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1286554A (en) * 1999-10-29 2001-03-07 深圳市中兴通讯股份有限公司 On-line message accounting device and method for mobile communication network
EP1492321A1 (en) * 2003-06-24 2004-12-29 Openwave Systems Inc. System and method for extending billing services to applications on a carrier's network
CN1885780A (en) * 2005-06-24 2006-12-27 朗迅科技公司 Centralized off-line charge and on-line charge

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
吕谦、黄本雄.ASN.1及其两种编码方式(BER和PER)的对比研究.《数据通信》.2001,(第3期),第18-21页. *

Also Published As

Publication number Publication date
CN101345636A (en) 2009-01-14

Similar Documents

Publication Publication Date Title
KR101022924B1 (en) Method and radio communication device for the transmission-efficient editing of multimedia news
US7328000B2 (en) Transaction-based service billing in a telecommunication system
US20080243619A1 (en) Method and system for delivery of advertising content in short message service (SMS) messages
CN1901543B (en) Method and system for transportation of derived call records to a central repository
CN100589599C (en) Information group transmitting system and method
CN100349475C (en) Method of short message service
CN101127942B (en) Method, system and management center server for providing mobile service
CN103297936A (en) Method and device for storing short messages
CN1968090B (en) Method and system for obtaining user terminal authentication information by data service center
CN100474949C (en) Electronic sign of multimedia news
Brownlee et al. Accounting attributes and record formats
CN101345636B (en) Transmitting and receiving method of charging document based on content charging, and charging server
CN100499495C (en) A remote login implementation method based on SNMP protocol
CN103891325A (en) NAI subscription-ID hint digit handling
CN101160814B (en) Method for monitoring the minus flow and a charging system
KR100427699B1 (en) Processing method of packet data in imt-2000 system
CN100574521C (en) The MMS information source tracing method
CN103079179A (en) Message transmission method and device
CN101448207B (en) Method and device for sending delivery reports of multimedia messages
CN102026140B (en) Charging information processing method and equipment and communication system
EP1691504B1 (en) A method for creating and parsing service voice broadcasting requests in a bearer and control separated network
CN1984086B (en) Method and system for controlling multi-medium message
CN101677433A (en) Method for realizing purpose of carrying inserted advertisement in short message on communication network
CN101304554A (en) MMS service system and MMS tracing center
CN105704695B (en) A kind of MCDN charging method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 518048 Guangdong province Futian District Shenzhen City Binhe Road, No. 9023, building 11, 41 layers of the country through the

Patentee after: Medium shift information technology Co., Ltd.

Address before: 518048 Futian District Binhe Road, Shenzhen, Guangdong Province, ten building, Xinzhou mansion, Xinzhou

Patentee before: China Mobile (Shenzhen) Co., Ltd.