Diameter credit control (DDC) protocol-based method and system for charging telecommunication service in real time

The invention relates to a diameter credit control (DDC) protocol-based method and a DDC protocol-based system for charging a telecommunication service in real time. The method comprises the following steps that: 1, a network element node sends a charging message to an intelligent routing agent node; 2, the intelligent routing agent node receives the charging message, converts the format of the charging message and forwards the charging message to a target online charging system (OCS) node of the charging message; 3, the OCS node receives the charging message, performs operation and returns a control message to the intelligent routing agent node; 4, the intelligent routing agent node receives the control message, converts the format of the control message and forwards the control message to a target network element node of the control message; and 5, after receiving the control message, the network element node performs operation according to the control message. An OCS system can be introduced into a network, and the reformation of the network element node in the network is avoided simultaneously.