CN102546671B - A kind of method for message transmission based on DCC diameter letter control agreement - Google Patents
A kind of method for message transmission based on DCC diameter letter control agreement Download PDFInfo
- Publication number
- CN102546671B CN102546671B CN201210059709.XA CN201210059709A CN102546671B CN 102546671 B CN102546671 B CN 102546671B CN 201210059709 A CN201210059709 A CN 201210059709A CN 102546671 B CN102546671 B CN 102546671B
- Authority
- CN
- China
- Prior art keywords
- hop
- message
- rule
- ccr
- cca
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Abstract
The present invention relates to a kind of method for message transmission based on DCC diameter letter control agreement, specifically comprise the following steps: step 1: obtain configuration information and packet; Step 2: what judgement received is CCR message or CCA message, if CCR message carry out step 3; If CCA message carry out step 4; Step 3: process CCR information and sending; Step 4: process CCA information and sending; Step 5: generate daily record.A kind of method for message transmission based on DCC diameter letter control agreement of the present invention, by configuration routing rule, reaches the object forwarding CCR message and CCA message flexibly; Can solve the interacting message problem of the family of network element and OCS Online Charging System with minimum cost, avoiding network element increases the new problem brought again.
Description
Technical field
The present invention relates to a kind of method for message transmission based on DCC diameter letter control agreement, belong to data interaction technology field.
Background technology
Along with telecommunication market competition is more and more fierce, telecom operators not only otherwise disconnected to exploit market, various different value-added service and new business are provided and promote service quality to improve occupation rate of market, meanwhile, the one-tenth needing constantly to reduce operation cost of enterprises particularly arrearage improved enterprise competitiveness originally.
Generally client is divided into prepaid customers and rear client with charge during current telecom operators' market management, charging for prepaid customers adopts Intellight network mode to realize, due to the limitation of intelligent network payment, accounting capabilities is poor, and the strong marketing can not be provided to support; For rear client with charge, because the accounting capabilities of off-line accounting system is stronger, thus abundant set meal can be provided to client, market enabling capabilities is stronger, but there is certain arrears risk, especially in today that high value traffic is on the increase, the risk of arrearage is constantly in improve.Therefore introducing OCS Online Charging System and replace intelligent network payment, and build convergent billing scheme with HOTBILLING and complete all accounting requests, will be telecom operators' best solution.
In OCS Online Charging System, the carrier of data interaction is all message, and CCR message is issued OCS system by network element, and OCS system replys CCA to network element.When network element increases, and charge system dilatation, often need to face multiple network element and send message to multiple OCS system, this just needs directly to dispose a set of Message routing mechanism at network element and OCS system, to solve interacting message problem between network element and OCS system.
Summary of the invention
The present invention is directed to the deficiencies in the prior art, a kind of method for message transmission based on DCC diameter letter control agreement that can forward CCR, CCA message is flexibly provided.
The technical scheme that the present invention solves the problems of the technologies described above is as follows: a kind of method for message transmission based on DCC diameter letter control agreement, specifically comprises the following steps:
Step 1: obtain configuration information and packet;
Step 2: what judgement received is CCR message or CCA message, if CCR message carry out step 3; If CCA message carry out step 4;
Step 3: process CCR information and sending;
Step 4: process CCA information and sending;
Step 5: generate daily record.
The invention has the beneficial effects as follows: a kind of method for message transmission based on DCC diameter letter control agreement of the present invention, by configuration routing rule, reaches the object forwarding CCR message and CCA message flexibly; Can with the interacting message problem between minimum cost solution network element and Online Charging System, avoiding network element increases the new problem brought again.
On the basis of technique scheme, the present invention can also do following improvement.
Further, step 3 specifically comprises the following steps:
Step 3.1: resolve CCR message, obtains charging section;
Step 3.2: according to a number section, obtains corresponding routed path in routing file;
Step 3.3: generate new hop-by-hop hop-by-hop rule according to the hop-by-hop hop-by-hop rule configuration of the transmitting-receiving object of the CCR message received, and replace old hop-by-hop hop-by-hop rule;
Step 3.4: the transmitting-receiving object recording old hop-by-hop hop-by-hop rule, new hop-by-hop hop-by-hop rule and this CCR message, and send CCR message.
Further, described step 4 comprises the following steps:
Step 4.1: obtain the hop-by-hop hop-by-hop Rule Information in CCA message;
Step 4.2: search out original hop-by-hop hop-by-hop rule and the transmitting-receiving object of original CCR message according to the hop-by-hop hop-by-hop rule obtained;
Step 4.3: transmitting-receiving object CCA message being sent to original CCR message, and in internal memory, remove hop-by-hop hop-by-hop Rule Information.
Further, step 5 specifically comprises the following steps:
Step 5.1: generating run daily record;
Step 5.2: generating process daily record.
Described DCC refers to Diameter Credit Control, DCC agreement is the application protocol expanded in Diameter basic agreement, define the billing mechanism for prepaid user, adopt the charging of the dialogue-based and event of credit line control realization, solve the accounting requirements for pre-payment.
Diameter basic agreement is that the application such as Mobile IP (Mobile IP), network insertion service (NAS) provide the most basic service, such as user conversation, charging etc., has the function such as capability negotiation, error notification.Protocol elements is made up of numerous order and AVP (property value to), can transmit discriminating, authorizes and charge information between client computer, agency, server.But regardless of client computer, agency or server, can initiatively send session request, the other side replys, so be also the agreement between peer-entities.Command code, AVP value and kind can need Sum fanction to expand by application.
Accompanying drawing explanation
Fig. 1 is the method for message transmission flow chart based on DCC diameter letter control agreement described in the embodiment of the present invention 1.
Embodiment
Be described principle of the present invention and feature below in conjunction with accompanying drawing, example, only for explaining the present invention, is not intended to limit scope of the present invention.
As shown in Figure 1, a kind of method for message transmission based on DCC diameter letter control agreement described in the embodiment of the present invention 1, specifically comprises the following steps:
Step 1: obtain configuration information and packet;
Step 2: what judgement received is CCR message or CCA message, if CCR message carry out step 3; If CCA message carry out step 7;
Step 3: resolve CCR message, obtains charging section;
Step 4: according to a number section, obtains corresponding routed path in routing file;
Step 5: generate new hop-by-hop hop-by-hop rule according to the hop-by-hop hop-by-hop rule configuration of the transmitting-receiving object of the CCR message received, and replace old hop-by-hop hop-by-hop rule;
Step 6: the transmitting-receiving object recording old hop-by-hop hop-by-hop rule, new hop-by-hop hop-by-hop rule and this CCR message, and send CCR message, continue step 10;
Step 7: obtain the hop-by-hop hop-by-hop Rule Information in CCA message;
Step 8: search out original hop-by-hop hop-by-hop rule and the transmitting-receiving object of original CCR message according to the hop-by-hop hop-by-hop rule obtained;
Step 9: transmitting-receiving object CCA message being sent to original CCR message, and in internal memory, remove hop-by-hop hop-by-hop Rule Information, continue step 10.
Step 10: generating run daily record;
Step 11: generating process daily record.
Below for adopting the profile information of the inventive method, presents configuration be a kind of essential information of form.
Routing rule as:
18609954742,no,vc,11,172.18.31.40,9923,20080808,vc,11,172.18.31.40,9923
Explain:
Be sent on 9923 ports of 172.18.31.40 by 18609954742, can the number of being configured to section.
Hop-by-hop delivery number:
hop_by_hop_hash="20"
Transmitting-receiving object factory:
ne_distionary_list00="172.21.35.185:0:DCC:0:4:0:cf@ocs30.com:cf.si-tech.com:::1"
Explain:
The hop-by-hop hop-by-hop rule that CCR is new is: n*20+4 (representing message number).
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (2)
1., based on a method for message transmission for DCC diameter letter control agreement, it is characterized in that, specifically comprise the following steps:
Step 1: obtain configuration information and packet;
Step 2: what judgement received is CCR message or CCA message, if CCR message carry out step 3; If CCA message carry out step 4;
Step 3: process CCR information and sending; Resolve CCR message, obtain charging section; According to a number section, in routing file, obtain corresponding routed path; The hop-by-hop hop-by-hop rule new according to the hop-by-hop hop-by-hop generate rule of the transmitting-receiving object of the CCR message received, and replace old hop-by-hop hop-by-hop rule; Record the transmitting-receiving object of old hop-by-hop hop-by-hop rule, new hop-by-hop hop-by-hop rule and this CCR message, and send CCR message;
Step 4: obtain the hop-by-hop hop-by-hop Rule Information in CCA message;
Step 5: search out original hop-by-hop hop-by-hop rule and the transmitting-receiving object of original CCR message according to the hop-by-hop hop-by-hop rule obtained;
Step 6: transmitting-receiving object CCA message being sent to original CCR message, and in internal memory, remove hop-by-hop hop-by-hop Rule Information;
Step 7: generate daily record.
2. a kind of method for message transmission based on DCC diameter letter control agreement according to claim 1, it is characterized in that, step 7 specifically comprises the following steps:
Step 7.1: generating run daily record;
Step 7.2: generating process daily record.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210059709.XA CN102546671B (en) | 2012-03-08 | 2012-03-08 | A kind of method for message transmission based on DCC diameter letter control agreement |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210059709.XA CN102546671B (en) | 2012-03-08 | 2012-03-08 | A kind of method for message transmission based on DCC diameter letter control agreement |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102546671A CN102546671A (en) | 2012-07-04 |
CN102546671B true CN102546671B (en) | 2015-09-09 |
Family
ID=46352629
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210059709.XA Active CN102546671B (en) | 2012-03-08 | 2012-03-08 | A kind of method for message transmission based on DCC diameter letter control agreement |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102546671B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107171879B (en) * | 2016-03-07 | 2020-01-07 | 中移信息技术有限公司 | Method and device for detecting online charging interface message |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101257394A (en) * | 2008-04-14 | 2008-09-03 | 北京首信科技有限公司 | Method of on-line real time content charging |
CN101754165A (en) * | 2008-12-01 | 2010-06-23 | 华为技术有限公司 | Routing method, system and device |
CN102142966A (en) * | 2010-06-13 | 2011-08-03 | 华为技术有限公司 | Service nested charging-based service correlation method, device and system |
-
2012
- 2012-03-08 CN CN201210059709.XA patent/CN102546671B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101257394A (en) * | 2008-04-14 | 2008-09-03 | 北京首信科技有限公司 | Method of on-line real time content charging |
CN101754165A (en) * | 2008-12-01 | 2010-06-23 | 华为技术有限公司 | Routing method, system and device |
CN102142966A (en) * | 2010-06-13 | 2011-08-03 | 华为技术有限公司 | Service nested charging-based service correlation method, device and system |
Also Published As
Publication number | Publication date |
---|---|
CN102546671A (en) | 2012-07-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2297986B1 (en) | Synchronizing real-time and off-line accounts for communications | |
US8799092B2 (en) | Methods, apparatus, and systems for supporting purchases of goods and services via prepaid telecommunication accounts | |
CN101843034B (en) | Method, apparatus and system for supporting distributed IMS charging | |
KR20120061807A (en) | Front-end charging system that generates charging data per entity having a revenue share | |
CN102685709B (en) | Method and device for auditing charging | |
CN103327464B (en) | A kind of charging method and system, information processing entity of MTC communication | |
CN101132289A (en) | Integrated billing method, billing system, application server and integrated billing system | |
US9307095B2 (en) | Prepaid short message services revenue capture | |
CN101860838B (en) | Method and system for charging prepayment | |
CN104735635A (en) | Strategy control method and device | |
CN102711074A (en) | Charging method and device | |
US11349996B2 (en) | Offline charging of communications services | |
US20150111530A1 (en) | Method and apparatus for processing charging request | |
CN102546671B (en) | A kind of method for message transmission based on DCC diameter letter control agreement | |
CN101771984A (en) | Method, device and system for charging data service in real time | |
CN114501357B (en) | Method for realizing service opening control of roaming network provider in communication roaming service | |
US20140335842A1 (en) | Customizable task execution flow | |
CN101179774A (en) | Prepaid content accounting system and method | |
CN102724655B (en) | Value-added service demand system and method | |
CN101447878B (en) | Charging method for prepayment service and system thereof | |
KR100476489B1 (en) | System and method for real-time billing about additional service except voice call and data call in mobile phone network | |
CN104702529A (en) | Method, system and equipment for controlling service bandwidths | |
CN102130828A (en) | Authentication server, charging server, quality of service control method and system | |
CN102480363B (en) | Charging method, device and system based on flow or conversation flow | |
EP2101442B1 (en) | Charging processing method, service network element and charging system thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C53 | Correction of patent for invention or patent application | ||
CB02 | Change of applicant information |
Address after: 100085 Haidian District, Zhongguancun, South Street, No. 6,, building information, floor, No. 16 Applicant after: SI-TECH Information Technology Ltd. Address before: 100085 Haidian District, Zhongguancun, South Street, No. 6,, building information, floor, No. 16 Applicant before: Beijing Digital China SI-TECH Information Technology Co., Ltd. |
|
COR | Change of bibliographic data |
Free format text: CORRECT: APPLICANT; FROM: BEIJING DIGITAL CHINA SI-TECH INFORMATION TECHNOLOGY LTD. TO: BEIJING SI-TECH INFORMATION TECHNOLOGY LTD. |
|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |