Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
The embodiment of the invention one provides a kind of method of route, and the concrete implementing procedure of this method comprises as shown in Figure 1:
Step S101, reception user's call request.
Step S102, according to the customer parameter in the described call request to network element route mapping table search purposes network element.
Wherein, customer parameter comprises different parameter types according to the difference of the equipment that receives the customer call request, if that reception user's call request is MSS, then described customer parameter comprises: the GT address of the signatory OCG that triggers of number section, user's signing service key and user under the user; If that receive the user side call request is GGSN, then described customer parameter comprises: number section and information on services under the user.
Network element route mapping table sets in advance, and this network element route mapping table comprises the corresponding relation of purpose network element address and the protocol type of following and described customer parameter.
Concrete, if find described purpose network element, confirm that then described user is 3G subscription, directly trigger Online Charging System OCS by Diameter credit control DCC agreement and carry out real time billing; If do not find described purpose network element, confirm that then described user is 2G user, the OCG that is triggered to described user ascription area by the CAMEL-Subscription-Information of described user on HLR carries out real time billing.
By adopting the method for the route that the embodiment of the invention provides, can realize the network element of originating end to the mapping of purpose network element, be convenient to select which kind of agreement and triggering mode to realize the real time billing flow process.
The embodiment of the invention two
The method for routing of above-described embodiment one is applied to specifically implement in the environment, as the customer call flow process, as shown in Figure 2: for the place of stepping into 3G, build by the scheme of the direct-connected Online Charging System of DCC agreement according to exchange side equipment.For also not carrying out the place that 3G builds, according to existing 2G networking plan, convert the CAP signaling to the DCC agreement by the protocol conversion entity, and then initiate the request of chargeing to OCS.Roam into the situation in 3G network area for 2G user, because 2G user's ownership place is not also finished the construction of 3G network, therefore need exchange side to keep original routing mode, the OCG that is triggered to ownership place realizes the real time billing flow process.
In order to realize above-mentioned twice triggering mode, at network element route mapping table of exchange side MSS (3G equipment) structure, structure is as shown in table 1, can make amendment according to actual conditions.
Table 1:
Sequence number | Field name | |
1 |
msisdnBegin |
2 |
msisdnEnd |
3 |
ServiceKey |
4 |
SourceAddress |
5 |
DestAddress |
6 |
protocolType |
Examples of configurations such as table 2:
Table 2:
msisdnBegin |
msisdnEnd |
ServiceKey |
SourceAddress |
DestAddress |
ProtocolType |
xxx00010000 |
xxx00019999 |
91 |
861381234 |
10.71.xxx.xxx |
DCC |
For finishing the area that 3G builds, after user's calling is routed on the MSS, MSS can be according to the GT address of under the user number section (beginning number to finish number), user's signing service key and the signatory OCG that triggers, inquiry network element route mapping table, the protocol types of obtain the purpose network element address, following etc. directly trigger OCS with the user in 3G area by the DCC agreement and carry out real time billing; And for 2G user, configuration information in table not, after the failure of MSS table of query and routing, according to original triggering mode, the OCG that is triggered to this user ascription area by the CAMEL-Subscription-Information of user on HLR finishes the real time billing flow process.So just can be implemented under the situation of not revising existing network HLR data, finish the selection of two kinds of triggering modes, triggered protocol etc.
After 2G user roams into 3G network, trigger the example user of calling as shown in Figure 3, may further comprise the steps:
Step 301, MSS1 query mappings table is determined triggering mode;
Step 302, MSS1 sends IDP (Initial Detect Point, initialization test point) message to OCG;
Step 303, OCG sends CCR (Credit-Control-Request, credit control request) message (beginning) to OCS;
Step 304, OCS carries out authentication to this user, after budget deducts the fee, returns CCA (Credit-Control-Answer, Credit Control Answer) message (beginning) to OCG, authorizes current professional use;
Step 305, OCG sends RRBE (Request Report BCSM Event, request event report) message to MSS1;
Step 306, OCG sends AC (Apply Charge, Apply Charging) message to MSS1;
Step 307, OCG sends Con (connection) message to MSS1;
Step 308, MSS1 obtains routing iinformation to HLR;
Step 309, HLR replys T_CSI (Termination CAMELSubscriber Information, called user subscription information) is returned to MSS1 by obtaining routing iinformation;
Step 310, MSS1 sends IDP message (MTB) to OCG;
Step 311, OCG sends CCR message (beginning) to OCS;
Step 312, OCS carries out authentication to this user, after budget deducts the fee, returns CCA message (beginning) to OCG;
Step 313, OCS sends RRBE to MSS1;
Step 314, OCS sends AC to MSS1;
Step 315, OCS sends Con to MSS1;
Step 316, MSS1 obtains routing iinformation to HLR;
Step 317, HLR sends PRN (Provide Roaming Number, request roaming number) message to MSC/VLR;
Step 318, MSC/VLR sends the PRN response message to HLR;
Step 319, HLR replys MSRN (Mobile Station RoamingNumber, mobile station roaming number) is returned to MSS1 by obtaining routing iinformation;
Step 320, MSS1 sends the IAM (Initial AddressMessage, initial address message) that carries MSRN to MSC/VLR;
Step 321, MSC/VLR sends ACM (Address Complete Message, Address Complete Message) to MSS1;
Step 322, MSC/VLR sends ANM (Answer Message, response message) message to MSS1;
Step 323, MSS1 sends ACR (Apply Charge Report, Apply Charging Report) message to OCG, carries MO (Mobile Origin, mobile initiating terminal), MT (Mobile Terminal, Mobile Termination end);
Step 324, OCG sends CCR message (renewal) to OCS;
Step 325, OCS carries out authentication to this user, after budget deducts the fee, returns CCA message (renewal) to OCG;
Step 326, OCG sends AC message to MSS1; Wherein step 323 can repeat repeatedly to step 326;
Step 327, MSS1 sends ACR message to OCG, carries MO, MT;
Step 328, MSS1 sends ERB (Event report BCSM, the report of BCSM event) message to OCG;
Step 329, OCG sends RC (Response Charge responds and charges) message to MSS1;
Step 330, OCG sends CCR message (termination) to OCS;
Step 331, OCS returns CCA message (termination) to OCG after this user is carried out wholesale price, credit;
Step 332, MSS1 sends REL (request of taking out stitches) message to MSC/VLR;
Step 333, MSC/VLR sends RLC (response of taking out stitches) message to MSS1.
When the 3G transformation finishes, the structure that can consider to delete this table, and use logic, reduce the unnecessary performance loss.
In the embodiment of the invention, by the transformation to 3G equipment, realize seamlessly transitting from 2G to 3G transformation process real time billing flow process, guarantee the enforcement of real time billing under 2G and the 3G mixed networking situation.Guaranteeing to save cost as much as possible under the prerequisite that seamlessly transits, reduce performance consumption, improve the performance of whole system.
The embodiment of the invention three
What present GPRS (General Packet Radio Service, GPRS) chargeed use is the offline bill charging way, has bigger arrearage risk and loss.The charging of 3G epoch data service is more prone to the real time billing mode.Therefore, after 2G user roams into 3G network, there is the difficult problem on the route equally.
Therefore, for (the Gateway GPRS Supporting Node of the GGSN in the 3G network, Gateway GPRS Support Node) network element, can increase a route mapping table equally newly, deposit the routing iinformation of real time billing mode and the information of following such as standard agreement, the method for routing that the embodiment of the invention one is provided is applied in the GPRS charging flow, as shown in Figure 4.After the user used data service to trigger charging event, GGSN can obtain the network element IP address that will trigger according to information inquiry routing tables such as under the user number section, employed services, and the information such as agreement that need follow of this triggering.If do not inquire corresponding record, then charge according to original offline charging mode.If inquire corresponding record, then be triggered to corresponding network element entity by the agreement of appointment in the record and finish the real time billing function.
The example user may further comprise the steps as shown in Figure 5:
Step 501, GGSN/CCG query mappings table determine that charging way is online charging;
Step 502, GGSN/CCG sends CCR message (beginning) to OCS; The burst use amount that has comprised application in the message.
Burst refers to the division of user's use amount once being done certain particle size.The use amount of burst is set.Before the each online of user, send the use amount request of a burst earlier to charging point.Charging point can return the amount of licensing according to user's remaining sum.Generally under the situation that remaining sum is enough, the use amount of the amount of licensing and client application equates.But under the not enough situation of user balance, the amount of licensing is the use amount of coming out according to user's remaining sum and rate inverse, less than the use amount of application.
Step 503, OCS carries out authentication to this user, the amount of money that this amount of licensing of budget needs, and this part amount of money reserved.If after the not enough deduction of user balance, then carry out inverse according to user's remaining sum and go out remaining use amount, and as the amount of licensing, return CCA message (beginning) to GGSN/CCG;
Step 504, GGSN/CCG allows the user to use according to the amount of licensing and use amount is exercised supervision;
Step 505, GGSN/CCG sends CCR{Update} message (renewal) to OCS; Comprised the already used use amount information of last burst in the CCR{Update} message, and the request use amount of next burst.
Step 506, OCS carries out wholesale price, credit according to already used use amount information to this user, according to the request use amount of next burst, account balance is carried out budget, and reserves this part expense again, returns CCA message (renewal) to GGSN/CCG; Wherein, the updating message of step 505 and step 506 can repeat repeatedly;
Step 507, the user stops using;
Step 508, GGSN/CCG sends CCR message (termination) to OCS; The use information that has comprised last burst in the termination messages.
Step 509, OCS carries out wholesale price, credit to this user, returns CCA message (termination) to GGSN/CCG;
Step 510, GGSN/CCG query mappings table is determined the offline charging mode;
Step 511 generates ticket;
Step 512, GGSN/CCG is to CG (Charging Gateway, charging gateway) transmit telephone bill;
Step 513, account is gathered ticket from CG;
Step 514, account passes to OCS with ticket and charges;
Step 515, OCS returns ticket to account.
In the embodiment of the invention, by the transformation to 3G equipment, realize seamlessly transitting from 2G to 3G transformation process real time billing flow process, guarantee the enforcement of real time billing under 2G and the 3G mixed networking situation.Guaranteeing to save cost as much as possible under the prerequisite that seamlessly transits, reduce performance consumption, improve the performance of whole system.
In addition, the method for routing that the embodiment of the invention provides can also be applied to the routing issue of other networkings of field of telecommunications, other field network element, can initiate network element to the map information of purpose network element by storage in the network element of originating end, information such as purpose network element 1, purpose network element 2, purpose network element 3, and regulation from originating end to purpose network element 1, the information such as standard agreement that need use of purpose network element 2, purpose network element 3, realize from initiating network element to the mapping the purpose network element.By initiating the existing map information of network element storage, can be mapped to a plurality of network elements of destination address.
The embodiment of the invention four
The embodiment of the invention provides a kind of routing device, as shown in Figure 6, comprising:
Receiving element 610 is used for receiving user's call request;
Lookup unit 620 is used for customer parameter according to call request to network element route mapping table search purposes network element.
This routing device also comprises: unit 630 is set, is used for network element route mapping table is set, network element route mapping table comprises the corresponding relation of purpose network element address and the protocol type of following and customer parameter.
In addition, this routing device can also comprise: retransmission unit 640, be used for when lookup unit 620 when described network element route mapping table is found described purpose network element, directly trigger OCS by the DCC agreement and carry out real time billing; When lookup unit 620 was not found described purpose network element in described network element route mapping table, the OCG that is triggered to user ascription area by the CAMEL-Subscription-Information of user on HLR carried out the real time billing flow process.
Wherein, retransmission unit 640 can further include: 3G transmits subelement 641, is used for directly triggering OCS by the DCC agreement and carries out real time billing; 2G transmits subelement 642, carries out real time billing for the OCG that is triggered to user ascription area by the CAMEL-Subscription-Information of user on HLR.
Above-mentioned routing device can be MMS or GGSN.
The routing device that provides by the above embodiment of the invention, can initiate network element to the map information of purpose network element by storage in the network element of originating end, realize the network element of originating end to the mapping of purpose network element, be convenient to select which kind of agreement and triggering mode to realize the real time billing flow process.By the transformation of 3G equipment, realize seamlessly transitting from 2G to 3G transformation process real time billing flow process, guarantee the enforcement of real time billing under 2G and the 3G mixed networking situation.Guaranteeing to save cost as much as possible under the prerequisite that seamlessly transits, reduce performance consumption, improve the performance of whole system.
The embodiment of the invention five
The embodiment of the invention also provides a kind of route system, as shown in Figure 7, comprising:
User terminal 710 is used for sending user's call request to routing device;
Routing device 720 is used for receiving user's call request; According to the customer parameter in the described call request to network element route mapping table search purposes network element.
In addition, routing device 720 also is used for described network element route mapping table is set, and described network element route mapping table comprises the corresponding relation of purpose network element address and the protocol type of following and described customer parameter.
The route system that provides by the above embodiment of the invention, can initiate network element to the map information of purpose network element by storage in the network element of originating end, realize the network element of originating end to the mapping of purpose network element, be convenient to select which kind of agreement and triggering mode to realize the real time billing flow process.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention, can realize by hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above only is preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.