CN102546671A - Message transmission method based on diameter credit control (DCC) protocol - Google Patents
Message transmission method based on diameter credit control (DCC) protocol Download PDFInfo
- Publication number
- CN102546671A CN102546671A CN201210059709XA CN201210059709A CN102546671A CN 102546671 A CN102546671 A CN 102546671A CN 201210059709X A CN201210059709X A CN 201210059709XA CN 201210059709 A CN201210059709 A CN 201210059709A CN 102546671 A CN102546671 A CN 102546671A
- Authority
- CN
- China
- Prior art keywords
- hop
- message
- ccr
- rule
- 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.)
- Granted
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention relates to a message transmission method based on a diameter credit control (DCC) protocol. The method comprises the following steps of: 1, acquiring configuration information and data packets; 2, determining a received message is a credit control request (CCR) message or a credit control answer (CCA) message, if the received message is the CCR message, performing step 3, and if the received message is the CCA message, performing step 4; 3, processing the CCR message and transmitting the processed CCR message; 4, processing the CCA message and transmitting the processed CCA message; and 5, generating a log. According to the message transmission method based on the DDC protocol, the aim of flexibly forwarding the CCR message and the CCA message is fulfilled by configuring a routing rule; and the problem about message interaction between a network element and an online charging system (OCS) can be solved at minimum cost, and new problems caused by increasing the network element again are solved.
Description
Technical field
The present invention relates to a kind of method for message transmission, belong to the data interaction technical field based on DCC diameter letter control agreement.
Background technology
Along with the telecommunication market competition more and more fierce; Telecom operators not only otherwise break off and to open up market; Various value-added service and new business are provided and promote service quality and improve occupation rate of market; Simultaneously, need constantly to reduce operation cost of enterprises particularly the one-tenth of arrearage improved enterprise competitiveness originally.
Generally the client is divided into prepaid customers and back client with charge during telecom operators' market management at present; Adopt Intellight network mode to realize for the charging of prepaid customers; Because the limitation that intelligent network charges, the charging ability is poor, can not provide the strong marketing to support; For the back client with charge,, thereby can abundant set meal be provided to the client because the charging ability of off-line accounting system is more intense; The market enabling capabilities is more intense; But have certain arrearage risk, especially in today that the high value business is on the increase, the risk of arrearage is constantly improving.Therefore introducing the OCS Online Charging System and replace the intelligent network charging, and make up all charging requests of convergent billing scheme completion with HOTBILLING, will be telecom operators' best solution.
In the OCS Online Charging System, the carrier of data interaction all is a message, and network element is issued the OCS system with CCR message, and the OCS system replys CCA and gives network element.When network element increases, and the charge system dilatation, often need face a plurality of network elements and send message and give a plurality of OCS system, this just need directly dispose one with the OCS system at network element and overlap the message routing mechanism, with interacting message problem between solution network element and the OCS system.
Summary of the invention
The present invention is directed to the deficiency of prior art, a kind of method for message transmission based on DCC diameter letter control agreement that can transmit CCR, CCA message flexibly is provided.
The technical scheme that the present invention solves the problems of the technologies described above is following: a kind of method for message transmission based on DCC diameter letter control agreement specifically may further comprise the 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: handle the CCR information and sending;
Step 4: handle the 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 through the configuration routing rule, reaches the purpose of flexible forwarding CCR message and CCA message; Can solve the interacting message problem of the family of network element and Online Charging System with the cost of minimum, avoid network element to increase the new problem of bringing once more.
On the basis of technique scheme, the present invention can also do following improvement.
Further, step 3 specifically may further comprise the steps:
Step 3.1: resolve CCR message, obtain the charging section;
Step 3.2:, in routing file, obtain corresponding routed path according to number section;
Step 3.3: the hop-by-hop hop-by-hop rule configuration according to the transmitting-receiving object of the CCR message of receiving generates new hop-by-hop hop-by-hop rule, and replaces old hop-by-hop hop-by-hop rule;
Step 3.4: write down regular, the new hop-by-hop hop-by-hop rule of old hop-by-hop hop-by-hop and the transmitting-receiving object of this CCR message, and send CCR message.
Further, said step 4 may further comprise the steps:
Step 4.1: obtain the hop-by-hop hop-by-hop Rule Information in the CCA message;
Step 4.2: search out the 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 of obtaining;
Step 4.3: CCA message is sent to the transmitting-receiving object of original CCR message, and in internal memory, removes hop-by-hop hop-by-hop Rule Information.
Further, step 5 specifically may further comprise the steps:
Step 5.1: generating run daily record;
Step 5.2: generate and handle daily record.
Said DCC refers to Diameter Credit Control; The DCC agreement is the application protocol of on the Diameter basic agreement, expanding; Defined billing mechanism, adopted credit line control to realize the charging of dialogue-based and incident, solved charging demand for pre-payment to the prepaid user.
The Diameter basic agreement provides the most basic service for mobile IP (Mobile IP), network insertion service application such as (NAS), and for example user conversation, charging etc. has functions such as capability negotiation, error notification.Protocol elements is made up of numerous orders and AVP (property value to), can between client computer, agency, server, transmit discriminating, mandate and charge information.But no matter client computer, agency or server can initiatively send conversation request, the other side replys, so also be the agreement between the peer-entities.Command code, AVP value and kind can be expanded by application need and rule.
Description of drawings
Fig. 1 is the embodiment of the invention 1 a described method for message transmission flow chart based on DCC diameter letter control agreement.
Embodiment
Below in conjunction with accompanying drawing principle of the present invention and characteristic are described, institute gives an actual example and only is used to explain the present invention, is not to be used to limit scope of the present invention.
As shown in Figure 1, the embodiment of the invention 1 described a kind of method for message transmission based on DCC diameter letter control agreement specifically may further comprise the 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, obtain the charging section;
Step 4:, in routing file, obtain corresponding routed path according to number section;
Step 5: the hop-by-hop hop-by-hop rule configuration according to the transmitting-receiving object of the CCR message of receiving generates new hop-by-hop hop-by-hop rule, and replaces old hop-by-hop hop-by-hop rule;
Step 6: write down regular, the new hop-by-hop hop-by-hop rule of old hop-by-hop hop-by-hop and the transmitting-receiving object of this CCR message, and send CCR message, continue step 10;
Step 7: obtain the hop-by-hop hop-by-hop Rule Information in the CCA message;
Step 8: search out the 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 of obtaining;
Step 9: CCA message is sent to the transmitting-receiving object of original CCR message, and in internal memory, removes hop-by-hop hop-by-hop Rule Information, continue step 10.
Step 10: generating run daily record;
Step 11: generate and handle daily record.
Below for adopting the profile information of the inventive method, what presents disposed is 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:
Send on 9923 ports of 172.18.31.40 18609954742, can the number of being configured to section.
Hop-by-hop delivery number:
hop_by_hop_hash="20"
The transmitting-receiving object factory:
ne_distionary_list00="172.21.35.185:0:DCC:0:4:0:cfocs30.com:cf.si-tech.com:::1"
Explain:
The hop-by-hop hop-by-hop rule that CCR is new is: n*20+4 (expression message number).
The above is merely preferred embodiment of the present invention, and is in order to restriction the present invention, not all within spirit of the present invention and principle, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (4)
1. the method for message transmission based on DCC diameter letter control agreement is characterized in that, specifically may further comprise the 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: handle the CCR information and sending;
Step 4: handle the CCA information and sending;
Step 5: generate daily record.
2. according to claim 1, it is characterized in that step 3 specifically may further comprise the steps:
Step 3.1: resolve CCR message, obtain the charging section;
Step 3.2:, in routing file, obtain corresponding routed path according to number section;
Step 3.3: the hop-by-hop hop-by-hop rule according to the transmitting-receiving object of the CCR message of receiving generates new hop-by-hop hop-by-hop rule, and replaces old hop-by-hop hop-by-hop rule;
Step 3.4: write down regular, the new hop-by-hop hop-by-hop rule of old hop-by-hop hop-by-hop and the transmitting-receiving object of this CCR message, and send CCR message.
3. according to claim 1, it is characterized in that said step 4 may further comprise the steps:
Step 4.1: obtain the hop-by-hop hop-by-hop Rule Information in the CCA message;
Step 4.2: search out the 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 of obtaining;
Step 4.3: CCA message is sent to the transmitting-receiving object of original CCR message, and in internal memory, removes hop-by-hop hop-by-hop Rule Information.
4. according to claim 1, it is characterized in that step 5 specifically may further comprise the steps:
Step 5.1: generating run daily record;
Step 5.2: generate and handle 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 true CN102546671A (en) | 2012-07-04 |
CN102546671B 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) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107171879A (en) * | 2016-03-07 | 2017-09-15 | 中国移动(深圳)有限公司 | A kind of detection method and device of 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 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107171879A (en) * | 2016-03-07 | 2017-09-15 | 中国移动(深圳)有限公司 | A kind of detection method and device of online charging interface message |
CN107171879B (en) * | 2016-03-07 | 2020-01-07 | 中移信息技术有限公司 | Method and device for detecting online charging interface message |
Also Published As
Publication number | Publication date |
---|---|
CN102546671B (en) | 2015-09-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11494837B2 (en) | Virtualized policy and charging system | |
US10057775B2 (en) | Virtualized policy and charging system | |
US20130226790A1 (en) | System and Method for Adding Funds to a Prepaid Account for a Mobile Device Associated with Multiple Communication Profiles | |
US20110145139A1 (en) | Methods, apparatus, and systems for supporting purchases of goods and services via prepaid telecommunication accounts | |
CN102685709B (en) | Method and device for auditing charging | |
JP5989134B2 (en) | Method and apparatus for performing billing control for sponsored data applications | |
CN103220651A (en) | Method and equipment for carrying out charging control on application layer data | |
WO2014018425A2 (en) | Virtualized policy & charging system | |
US20110269422A1 (en) | System and Method for Routing a Message to a Mobile Device Associated with Multiple Communication Profiles | |
US20110269472A1 (en) | System and Method for Routing a Call to a Mobile Device Associated with Multiple Communication Profiles | |
US20230027934A1 (en) | Virtualized Policy & Charging System | |
CN102137450B (en) | Strategy control method and device as well as gateway | |
CN104735635A (en) | Strategy control method and device | |
CN108401231A (en) | A kind of charging method, device and system | |
CN102711074A (en) | Charging method and device | |
US11349996B2 (en) | Offline charging of communications services | |
WO2019101082A1 (en) | Value-added service implementation method and device, and industry application authentication center | |
JP6508660B2 (en) | Charge control device, method and system | |
CN101771984A (en) | Method, device and system for charging data service in real time | |
WO2018018604A1 (en) | Data service control method, relevant device and system | |
CN102546671B (en) | A kind of method for message transmission based on DCC diameter letter control agreement | |
US10298777B2 (en) | Methods and apparatus to determine a telecommunications account status | |
US20140335842A1 (en) | Customizable task execution flow | |
US10256985B2 (en) | System and method for managing and selecting from multiple mobile data top-up product options | |
US20150178716A1 (en) | Components, system, platform and methodologies for mediating and provisioning services and product delivery and orchestrating, mediating and authenticating transactions and interactions |
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 of 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 |