CN102045176A - Method and system for multicast charging - Google Patents

Method and system for multicast charging Download PDF

Info

Publication number
CN102045176A
CN102045176A CN200910235707XA CN200910235707A CN102045176A CN 102045176 A CN102045176 A CN 102045176A CN 200910235707X A CN200910235707X A CN 200910235707XA CN 200910235707 A CN200910235707 A CN 200910235707A CN 102045176 A CN102045176 A CN 102045176A
Authority
CN
China
Prior art keywords
multicast
charging
request message
terminal use
user name
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
Application number
CN200910235707XA
Other languages
Chinese (zh)
Other versions
CN102045176B (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN200910235707.XA priority Critical patent/CN102045176B/en
Publication of CN102045176A publication Critical patent/CN102045176A/en
Application granted granted Critical
Publication of CN102045176B publication Critical patent/CN102045176B/en
Expired - Fee Related 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 provides a method and a system for multicast charging. The method comprises the following steps of: recording a user name and a media access control (MAC) address by using access equipment when the unicast of a terminal user is successfully authenticated; when receiving a multicast join request message sent by the user, acquiring the MAC address and a multicast group address of the terminal user from the multicast joint request message by utilizing a monitoring function, determining the user name and the multicast group address according to the monitored MAC address and the recorded MAC address, sending a charging request which carries the user name and the multicast group address to a multicast charging server; and charging on the basis of duration according to the charging request by using the multicast charging server. By using the scheme, the access equipment utilizes the user name recorded in the unicast authentication process, so when the terminal user joins the multicast, the access equipment can send the charging request which carries the user name to the multicast charging server to support the multicast charging server to accurately charge according to the duration for the terminal user so as to improve the accuracy of the multicast charging.

Description

The method and system that a kind of multicast charges
Technical field
The present invention relates to multicasting technology, particularly relate to the method and system that a kind of multicast charges.
Background technology
In the communications field, clean culture and multicast all are the typical way of Internet Protocol (IP) network data transmission, and wherein, multicast can be saved bandwidth resources effectively than clean culture.
Fig. 1 is the data transfer mode schematic diagram of prior art unicast communication.As shown in Figure 1, suppose that terminal use A, B, C need obtain the IP message from source server, source server must duplicate many parts of IP messages according to terminal use's number, sends to different terminal uses respectively by each router then.
Fig. 2 is the data transfer mode schematic diagram of prior art cast communication.As shown in Figure 2, suppose that terminal use A, B, C need obtain multicast data flow from source server, source server only need be transmitted a multicast packet, and carries out multicast forwarding by each router on the link of needs.
As seen, multicasting technology can avoid unnecessary message to duplicate, thereby has saved bandwidth effectively.
Above the implementation of clean culture and multicast has been carried out simple introduction, in the practical application, can utilize the technology of clean culture and multicast to provide various services, such as transmission of video frequency program etc. for the terminal use.For the ease of managing these services, prior art has taked charging to wait measure to manage.
At present, the charging comparative maturity of unicast technique can adopt monthly payment, by multiple charging ways such as durations; The charging of multicasting technology is then more extensive, can only adopt the monthly payment charging way usually, and can not press the duration charge according to the multicast channel of terminal use's program request.Why on time multicasting technology progress row charges, its key reason is that the terminal use is when certain multicast channel of program request, the multicast of its transmission joins request and does not carry user name in the message, accounting server can't be known the pairing user name of the user of certain multicast channel of program request, can't carry out chargeing by duration to the terminal use exactly.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of method and system of multicast charging, access device can obtain the terminal use's of program request multicast channel user name, and offer multicast server, reached multicast server by duration to the purpose that the user charges, improved the accuracy that multicast charges.
In order to achieve the above object, the technical scheme of the present invention's proposition is:
The method that a kind of multicast charges, this method may further comprise the steps:
The unicast authentication server carries out authentication to the terminal use, notes terminal use's the user name and the corresponding relation of media access control MAC address by access device behind the authentication success;
Access device receives multicast that the terminal use the sends message that joins request, utilize monitor function from multicast joins request message, to obtain terminal use's the MAC Address and the corresponding relation of multicast group address, the MAC Address of noting during with the MAC Address that listens to and authentication success relatively, with the user name of determining the terminal use and the corresponding relation of multicast group address;
Access device sends the charging request that carries user name and multicast group address to the multicast accounting server, and the multicast accounting server withdraws from multicast according to described user name and multicast group address progress row charging on time up to the terminal use.
In the such scheme, receive multicast that the terminal use sends when joining request message at access device, this method further comprises: access device picks up counting, and will be recorded in the current time in real time to monitor in the time attribute that list item increases newly;
The charging request that described access device sends also further comprises the current time of monitoring in the list item time attribute.
In the such scheme, described access device sends the request of charging to the multicast accounting server, and the method for multicast accounting server progress row charging on time comprises:
A, multicast accounting server receive the charging starting request message that carries user name, multicast group address, current time that access device sends, and return the beginning response message that charges;
B, multicast accounting server receive the charging update request message that carries user name, multicast group address, current time that access device sends, and returning charges upgrades response message; Calculate current duration according to the current time in the current time in the charging starting request message and the update request message that charges first; And follow-up when receiving charging update request message at every turn, the difference of the current time in current time in the current charging update request message and the preceding primary charging update request message is added in the described current duration;
C, multicast accounting server receive the charging ending request message that carries user name, multicast group address, current time that access device sends, and returning charges finishes response message; Difference according to the current time in current time in the charging ending request message that receives and the last charging update request message is added in the described current duration;
D, multicast accounting server are according to current duration and be that the rate that described multicast group is provided with is in advance calculated the multicast expense, with the multicast expense that the calculates charging result as the counterpart terminal user of user name institute.
In the such scheme, described charging starting request message, charging update request message, charging ending request message adopt the RADIUS message format, and carry described multicast group address in the vendor specific son field of RADIUS message format attribute Attibutes field.
The present invention also proposes the system that a kind of multicast charges, and this system comprises:
The terminal use is used for carrying out authentication by access device at the unicast authentication server, and sends the multicast message that joins request to access device behind authentication success, withdraws from multicast when finishing;
Access device is used for terminal use's authentication request is transmitted to the unicast authentication server, receives the authentication result of returning; Record terminal use's the user name and the corresponding relation of MAC Address when authentication success; Receive multicast that the terminal use sends when joining request, utilize monitor function from multicast joins request message, to obtain terminal use's the MAC Address and the corresponding relation of multicast group address, the MAC Address of noting during with the MAC Address that listens to and authentication success relatively, with the user name of determining the terminal use and the corresponding relation of multicast group address; And send the charging request carry user name and multicast group address to the multicast accounting server;
The unicast authentication server is used for the terminal use is carried out authentication;
The multicast accounting server is used to receive the charging request that carries user name and multicast group address that access device sends, and according to described user name and multicast group address progress row charging on time, withdraws from multicast up to the terminal use.
In the such scheme, described access device is further used for, and picks up counting when multicast that the terminal use sends joins request message receiving, and will be recorded in the current time in real time to monitor in the time attribute that list item increases newly;
The charging request that described access device sends also further comprises the current time of monitoring in the list item time attribute.
In the such scheme, described access device comprises:
First Transmit-Receive Unit is used for terminal use's authentication request is transmitted to the unicast authentication server, receives the authentication result of returning; When the multicast that receives terminal use's transmission joins request, trigger and monitor analytic unit; Send charging starting request message, charging update request message, the charging ending request message that carries user name, multicast group address, current time to the multicast accounting server, and the charging that reception is returned begins response message, charging is upgraded response message, chargeed and finish response message;
Monitor analytic unit, utilize monitor function from multicast joins request message, to obtain terminal use's the MAC Address and the corresponding relation of multicast group address, with the MAC Address of the MAC Address that listens to and unit records relatively, with the user name of determining the terminal use and the corresponding relation of multicast group address; Pick up counting when multicast that the terminal use sends joins request message receiving, will be recorded in the current time in real time and monitor in the time attribute that list item increases newly;
Memory cell is used for the user name of record terminal use when authentication success and the corresponding relation of MAC Address.
In the such scheme, described multicast accounting server comprises:
Second Transmit-Receive Unit, be used to receive the charging starting request message that carries user name, multicast group address, current time, charging update request message, charging ending request message, and return charging beginning response message, charging renewal response message, charging end response message from access device;
Charging Detail Record unit is used for calculating current duration according to the current time in the current time of charging starting request message and the update request message that charges first; And follow-up when receiving charging update request message at every turn, the difference of the current time in current time in the current charging update request message and the preceding primary charging update request message is added in the described current duration; Also the difference according to the current time in current time in the charging ending request message that receives and the last charging update request message is added in the described current duration; At last according to current duration and be the rate calculating multicast expense that described multicast group is provided with in advance, with the multicast expense that calculates charging result as the counterpart terminal user of user name institute.
In sum, the method and system that a kind of multicast that the present invention proposes charges, because access device has utilized the user name under the unicast authentication process record, so when the terminal use adds multicast, access device can send the charging request that carries user name to the multicast accounting server, with support the multicast accounting server exactly at the terminal use on time the progress row charge, thereby improve the accuracy that multicast charges.
Description of drawings
Fig. 1 is the data transfer mode schematic diagram of prior art unicast communication.
Fig. 2 is the data transfer mode schematic diagram of prior art cast communication.
Fig. 3 is the inventive method flow chart.
Fig. 4 is the mutual message format schematic diagram of embodiment of the invention access device and multicast accounting server.
Fig. 5 is the concrete form schematic diagram of " Attributes " field in the embodiment of the invention message.
Fig. 6 is the concrete form schematic diagram of " vendor specific " field in the embodiment of the invention message.
Fig. 7 is the message flow schematic diagram of the embodiment of the invention.
Fig. 8 is the structural representation of system embodiment of the present invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with the accompanying drawings and the specific embodiments.
Fig. 3 is a flow chart of the present invention.As shown in Figure 3, the present invention realizes that the method that multicast charges comprises:
Step 301: the unicast authentication server carries out authentication to the terminal use, is noted terminal use's user name and corresponding medium access control (MAC) address behind the authentication success by access device.
In the practical application, as long as user access network just need carry out unicast authentication to user's identity usually, such as adopting 802.1X agreement or door (PORTOL) access protocal to carry out unicast authentication.The unicast authentication flow process is roughly: the terminal use sends authentication request to access device; Access device is transmitted to the unicast authentication server with authentication request; The unicast authentication server authenticates the terminal use, and authentication result is returned to access device.Under the terminal user authentication case of successful, access device can be noted terminal use's user name, terminal use's MAC Address.Certainly, access device can also be noted other information, such as on-line time etc.In a word, step 301 of the present invention belongs to the prior art of unicast authentication, and details repeats no more.
Step 302: access device receives multicast that the terminal use the sends message that joins request, utilize monitor function from multicast joins request message, to obtain terminal use's MAC Address and corresponding multicast group address, the MAC Address of noting during with the MAC Address that listens to and authentication success relatively, with user name and the corresponding multicast group address of determining the terminal use.
The present invention's multicast described here message that joins request belongs to a kind of Internet management agreement/multicast monitoring discovery (IGMP/MLD) message, wherein carries terminal use's the MAC Address and the multicast group address of user's program request.Access device utilizes monitor function, and promptly IGMP/MLD SNOOPING function just can therefrom analyze terminal use's MAC Address and multicast group address.At this moment, access device has obtained this corresponding relation of terminal use's MAC Address-user name in verification process, in snoop procedure, obtain this corresponding relation of terminal use's MAC Address-multicast group address again, thereby can obtain corresponding relation between user name-multicast group address by MAC Address.Certainly, the access device of this step can also listen to other information, such as information such as terminal use IP address, port numbers.
The multicast that the it is emphasized that existing multicasting technology message that joins request itself is not carry user name, can't carry out according to duration so follow-up multicast charges.And the present invention utilizes unicast authentication to obtain user name and MAC Address in step 301, utilizes monitoring technique to obtain MAC Address and multicast group address in step 302 again, thereby determines certain multicast group user's of program request user name, so that the follow-up row of progress on time charges.
Step 303: access device sends the charging request that carries user name and multicast group address to the multicast accounting server, and the multicast accounting server withdraws from multicast according to described user name and multicast group address progress row charging on time up to the terminal use.
The multicast accounting server charges by duration according to user name and multicast group address in this step, and this just need carry out timing to the time of user's on-demand multicasting channel.Such as, can when send chargeing request, access device pick up counting, when withdrawing from multicast, the user finishes timing, calculate the duration of twice timing, and the duration that calculates be multiply by rate at this multicast group, obtain this time of terminal use multicast expense.
Also such as, in the monitoring list item of access device, increase a time attribute, pick up counting when multicast joins request message receiving, and will be recorded in the current time in real time and monitor in the time attribute that list item increases newly.Like this, in the charging request that access device sends, also need further to comprise the current time of monitoring in the list item time attribute, multicast accounting server self is not-time, but from determining duration from the acquisition current time the message of access device, message described here can be charging starting request message, charging update request message, charging ending request message.The concrete grammar that the multicast accounting server charges can for:
A, multicast accounting server receive the charging starting request message that carries user name, multicast group address, current time that access device sends, and return the beginning response message that charges.
B, multicast accounting server receive the charging update request message that carries user name, multicast group address, current time that access device sends, and returning charges upgrades response message; Calculate current duration according to the current time in the current time in the charging starting request message and the update request message that charges first; And follow-up when receiving charging update request message at every turn, the difference of the current time in current time in the current charging update request message and the preceding primary charging update request message is added in the described current duration.
C, when the terminal use withdraws from multicast, the multicast accounting server receives the charging ending request message that carries user name, multicast group address, current time that access device sends, returning charges finishes response message; Difference according to the current time in current time in the charging ending request message that receives and the last charging update request message is added in the described current duration.
D, multicast accounting server are according to current duration and be that the rate that described multicast group is provided with is in advance calculated the multicast expense, with the multicast expense that the calculates charging result as the counterpart terminal user of user name institute.
In order to describe the present invention program better, describe with a simple embodiment below.
In the present embodiment, suppose that the multicast type is the source group (SSM/ASM) of assigned source group/arbitrarily, what the multicast accounting server can individualism, also can be and other network elements such as unicast authentication server are shared a physical equipment.No matter be individualism, still to share with other equipment, the multicast accounting server can be easy to obtain the information such as rate as user name, each multicast group address, each multicast channel.If individualism, can directly from the unicast authentication server, this information of user name be imported the multicast accounting server in the practical application.If share a physical equipment, then can directly use the user name in the unicast authentication server with the unicast authentication server.Rate as for each multicast group address and each multicast channel also can be in configured in advance.Because the access device in the present embodiment need carry out alternately with the multicast accounting server, can in access device, dispose the IP address of multicast accounting server in advance.
In addition, the mutual message of access device in the present embodiment and multicast accounting server adopts the RADIUS message format, and its form as shown in Figure 4.Wherein, " Code " field is represented the character of message, represents when its content is " 4 " that message is request (Accounting-Request) class message that charges, and represents when content is " 5 " that message is to charge to respond (Accounting-Response) class message; " Identifier " field is represented a kind of sign of message; " Length " field is represented the total length of message; " Authenticator " field is represented a kind of authentication code; " Attributes " field is represented multiple attribute, and its form as shown in Figure 5.The attribute field that Fig. 5 represents comprises the style number (Type) of certain attribute, the length of this attribute (Length), the value of this attribute (Value).Wherein, " 1 " number attribute representation's user name (User-Name), " 40 " number attribute representation Status Type (Acct-Status-Type) that charges, " 44 " number attribute representation's chargeable session ID number (Acct-Session-Id), " 49 " number attribute representation charges and stops reason (Acct-Terminate-Cause), " 55 " number attribute representation's Time To Event (Event-Timestamp).
Present embodiment can utilize the content that above-mentioned each field is carried needs transmission, such as: when access device send to charge when beginning request/renewal/end message to the multicast accounting server, just terminal use's user name can be filled up in above-mentioned " 1 " number attribute, will be filled up to the current time in above-mentioned " 55 " number attribute.In addition, for the multicast group address with user's program request is filled up to the correct position of message, present embodiment can utilize " 26 " attribute, i.e. " vendor specific "." vendor specific " is generally used for information such as third party producer IP address in the prior art, and present embodiment changes to form shown in Figure 6 with it.In Fig. 6, " vendor specific " number attribute comprises: " Type " field, represent the type of this attribute; " Length " field is represented the length of this attribute; " Vendor Id " field and " Vendor-Id (cont) " field, the expression supplier number; " Vendor type " field and " Vendor length " field are represented multicast channel type and multicast group address length respectively, " Vendor type " content is 130 when IPv4, " Vendor length " is 4 bytes, " Vendor type " content is 131 when IPv6, and " Vendor length " is 16 bytes.In addition, " Vendor type " field and " Vendor length " field can also have a plurality of, to fill in the information of a plurality of multicast channels.
Fig. 7 is the flow chart of present embodiment.As shown in Figure 7, present embodiment may further comprise the steps:
Step 701: the terminal use sends authentication request to access device.
Step 702: access device is transmitted to the unicast authentication server with authentication request.
Step 703: the unicast authentication server authenticates the terminal use, and authentication result is returned to access device, and access device is noted terminal use's user name, terminal use's information such as MAC Address in verification process.
In the practical application, described unicast authentication can authenticate for 802.1X, and access device not only can be noted terminal use's user name, terminal use's MAC Address, can also note information such as on-line time.
Step 704: the terminal use sends the multicast message that joins request to access device.
This step is exactly that the terminal use begins certain multicast channel of program request.
Step 705: access device utilizes monitor function (IGMP/MLD SNOOPING) to obtain terminal use's MAC Address and corresponding multicast group address from multicast joins request message, the MAC Address of noting during with the MAC Address that listens to and authentication success relatively, with user name and the corresponding multicast group address of determining the terminal use; In addition, access device also will be recorded in and monitor in the time attribute field that list item increases newly the current time.
Monitor function described here and monitoring list item are prior art, described monitoring list item generally can comprise fields such as source MAC, source IP address, multicast group address, just present embodiment also needs to increase newly a time attribute field, will record the current time in this attribute field in real time.
Step 706: access device sends the charging starting request message that carries user name, multicast group address, current time to the multicast accounting server, and access device is noted the current time in the charging starting request message.
In the practical application, for fear of user's problem that switching channels brought continually, present embodiment can postpone a period of time transmission charging starting request message in step 706, such as postponing 5 seconds~15 seconds.
Step 707: the multicast accounting server returns the beginning response message that charges to access device.
Step 708: access device sends the charging update request message that carries user name, multicast group address, current time to the multicast accounting server, and access device is noted the current time in the charging update request message.
Step 709: the multicast accounting server returns to charge to access device and upgrades response message.
In the present embodiment, the charging update request message and the renewal response message that charges are a pair of messages, can repeatedly send in actual applications.Such as: under long situation of the time of user's receiving group channel, for the accurate safety of chargeing, access device can send charging update request message to the multicast accounting server each a period of time again.That is to say execution in step 708 and 709 repeatedly in the practical application.Certainly, how often access device sends charging update request message to the multicast accounting server, can be determined voluntarily by the user who uses the present invention program, such as every 12 minutes.
Step 710: the multicast accounting server calculates current duration according to the current time in the current time in the charging starting request message and the update request message that charges first; And follow-up when receiving charging update request message at every turn, the difference of the current time in current time in the current charging update request message and the preceding primary charging update request message is added in the described current duration.
In the present embodiment, because multicast accounting server self is also not-time, but according to the charging that access device sends begin/upgrade/obtain the current time in the ending request message, according to the differences of these message current time current duration that can add up out gradually, that is: the terminal use is from beginning program request duration up to the present.
Step 711: when the terminal use withdraws from multicast, send multicast to access device and withdraw from request.
Step 712: access device sends the charging ending request message that carries user name, multicast group address, current time to the multicast accounting server.
Identical with step 706, for fear of user's problem that switching channels brought continually, present embodiment can postpone a period of time transmission charging ending request message in step 712, such as postponing 5 seconds~15 seconds.
Step 713: the multicast accounting server returns to charge to access device and finishes response message.
Step 714: the multicast accounting server is according to current duration and be that the rate that described multicast group is provided with is in advance calculated the multicast expense, with the multicast expense that the calculates charging result as the counterpart terminal user of user name institute.Here the method for calculating the multicast expense is fairly simple, and the duration that accumulative total is gone out multiply by the rate of this multicast group correspondence and obtains.
Use the present embodiment scheme, access device has utilized the user name under the unicast authentication process record, can send the charging that carries this user name to the multicast accounting server and begin request/renewal/end message, make the multicast accounting server obtain current user name of carrying out the multicast on demand user, clearly press duration charge institute at the user, to realize that multicast service pressed the duration charging.
At said method, the present invention also provides a kind of multicast charge system.Fig. 8 is the structural representation of this system embodiment, and as shown in Figure 8, this multicast charge system comprises:
The terminal use 801, be used for carrying out authentication by access device 802 at unicast authentication server 803, and send the multicasts message that joins request to access device 802 behind authentication success, withdraw from multicast when finishing.
Access device 802 is used for terminal use 801 authentication request is transmitted to unicast authentication server 803, receives the authentication result of returning; Record terminal use's 801 user name and corresponding medium access control (MAC) address when authentication success; Receive multicast that terminal use 801 sends when joining request message, utilize monitor function from multicast joins request message, to obtain terminal use 801 MAC Address and corresponding multicast group address, the MAC Address of noting during with the MAC Address that listens to and authentication success relatively, with user name and the corresponding multicast group address of determining terminal use 801; Send the charging request that carries user name and multicast group address to multicast accounting server 804.
Unicast authentication server 803 is used for the terminal use is carried out authentication.
Multicast accounting server 804 is used to receive the charging request that carries user name and multicast group address that access device 802 sends, and according to described user name and multicast group address progress row charging on time, withdraws from multicast up to terminal use 801.
Described in above-mentioned method, multicast accounting server 804 charges by duration according to user name and multicast group address, and this just need carry out timing to the time of user's on-demand multicasting channel.The method of timing is a lot, and 804 timing of multicast accounting server can be arranged, also can be by access device 802 timing.If carry out timing by access device 802, access device 802 just can be further used for: pick up counting when multicast that the terminal use sends joins request message receiving, and will be recorded in the current time in real time and monitor in the time attribute that list item increases newly.Correspondingly, the charging request of access device 802 transmissions also further comprises the current time of monitoring in the list item time attribute.
If carry out timing by access device 802, as one embodiment of the present of invention, access device 802 can specifically comprise:
First Transmit-Receive Unit 8021 is used for terminal use 801 authentication request is transmitted to unicast authentication server 803, receives the authentication result of returning; When the multicast that receives terminal use's 801 transmissions joins request message, trigger and monitor analytic unit 8022; Send charging starting request message, charging update request message, the charging ending request message that carries user name, multicast group address, current time to multicast accounting server 804, and the charging that reception is returned begins response message, charging is upgraded response message, chargeed and finish response message.
Monitor analytic unit 8022, utilize monitor function from multicast joins request message, to obtain terminal use's MAC Address and corresponding multicast group address, the MAC Address of noting during with the MAC Address that listens to and authentication success relatively, with user name and the corresponding multicast group address of determining the terminal use; Pick up counting when multicast that the terminal use sends joins request message receiving, will be recorded in the current time in real time and monitor in the time attribute that list item increases newly.
Memory cell is used for the user name of record terminal use 801 when authentication success and the MAC Address of correspondence.
Correspondingly, as one embodiment of the present of invention, multicast accounting server 804 can specifically comprise:
Second Transmit-Receive Unit 8041, be used to receive the charging starting request message that carries user name, multicast group address, current time, charging update request message, charging ending request message, and return charging beginning response message, charging renewal response message, charging end response message from access device.
Charging Detail Record unit 8042 is used for calculating current duration according to the current time in the current time of charging starting request message and the update request message that charges first; And follow-up when receiving charging update request message at every turn, the difference of the current time in current time in the current charging update request message and the preceding primary charging update request message is added in the described current duration; Also the difference according to the current time in current time in the charging ending request message that receives and the last charging update request message is added in the described current duration; At last according to current duration and be the rate calculating multicast expense that described multicast group is provided with in advance, with the multicast expense that calculates charging result as the counterpart terminal user of user name institute.
Embodiment is identical with said method, between access device 802 and the multicast accounting server 804 charging of exchange begin/upgrade/the ending request message can adopt the message format of Fig. 4~6, and the flow implementation of employing Fig. 7.Like this, after using the present invention program, because access device 802 has obtained terminal use 801 user name by unicast authentication, write down the current time by in monitoring list item, increasing time attribute, charging by multicast accounting server 804 and to the management of aspects such as the address of multicast channel and rate, thereby united in aspects such as unicast authentication, multicast charging, multicast channel management, reach multicast, further improved the accuracy that multicast charges by the purpose that duration charges.
In sum, more than be preferred embodiment of the present invention only, be not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1. the multicast method of chargeing is characterized in that this method may further comprise the steps:
The unicast authentication server carries out authentication to the terminal use, notes terminal use's the user name and the corresponding relation of media access control MAC address by access device behind the authentication success;
Access device receives multicast that the terminal use the sends message that joins request, utilize monitor function from multicast joins request message, to obtain terminal use's the MAC Address and the corresponding relation of multicast group address, the MAC Address of noting during with the MAC Address that listens to and authentication success relatively, with the user name of determining the terminal use and the corresponding relation of multicast group address;
Access device sends the charging request that carries user name and multicast group address to the multicast accounting server, and the multicast accounting server withdraws from multicast according to described user name and multicast group address progress row charging on time up to the terminal use.
2. method according to claim 1, it is characterized in that, receive multicast that the terminal use sends when joining request message at access device, this method further comprises: access device picks up counting, and will be recorded in the current time in real time to monitor in the time attribute that list item increases newly;
The charging request that described access device sends also further comprises the current time of monitoring in the list item time attribute.
3. method according to claim 2 is characterized in that, described access device sends the request of charging to the multicast accounting server, and the method for multicast accounting server progress row charging on time comprises:
A, multicast accounting server receive the charging starting request message that carries user name, multicast group address, current time that access device sends, and return the beginning response message that charges;
B, multicast accounting server receive the charging update request message that carries user name, multicast group address, current time that access device sends, and returning charges upgrades response message; Calculate current duration according to the current time in the current time in the charging starting request message and the update request message that charges first; And follow-up when receiving charging update request message at every turn, the difference of the current time in current time in the current charging update request message and the preceding primary charging update request message is added in the described current duration;
C, multicast accounting server receive the charging ending request message that carries user name, multicast group address, current time that access device sends, and returning charges finishes response message; Difference according to the current time in current time in the charging ending request message that receives and the last charging update request message is added in the described current duration;
D, multicast accounting server are according to current duration and be that the rate that described multicast group is provided with is in advance calculated the multicast expense, with the multicast expense that the calculates charging result as the counterpart terminal user of user name institute.
4. method according to claim 3, it is characterized in that, described charging starting request message, charging update request message, charging ending request message adopt the RADIUS message format, and carry described multicast group address in the vendor specific son field of RADIUS message format attribute Attibutes field.
5. the system that charges of a multicast is characterized in that this system comprises:
The terminal use is used for carrying out authentication by access device at the unicast authentication server, and sends the multicast message that joins request to access device behind authentication success, withdraws from multicast when finishing;
Access device is used for terminal use's authentication request is transmitted to the unicast authentication server, receives the authentication result of returning; Record terminal use's the user name and the corresponding relation of MAC Address when authentication success; Receive multicast that the terminal use sends when joining request, utilize monitor function from multicast joins request message, to obtain terminal use's the MAC Address and the corresponding relation of multicast group address, the MAC Address of noting during with the MAC Address that listens to and authentication success relatively, with the user name of determining the terminal use and the corresponding relation of multicast group address; And send the charging request carry user name and multicast group address to the multicast accounting server;
The unicast authentication server is used for the terminal use is carried out authentication;
The multicast accounting server is used to receive the charging request that carries user name and multicast group address that access device sends, and according to described user name and multicast group address progress row charging on time, withdraws from multicast up to the terminal use.
6. system according to claim 5 is characterized in that,
Described access device is further used for, and picks up counting when multicast that the terminal use sends joins request message receiving, and will be recorded in the current time in real time to monitor in the time attribute that list item increases newly;
The charging request that described access device sends also further comprises the current time of monitoring in the list item time attribute.
7. system according to claim 6 is characterized in that, described access device comprises:
First Transmit-Receive Unit is used for terminal use's authentication request is transmitted to the unicast authentication server, receives the authentication result of returning; When the multicast that receives terminal use's transmission joins request, trigger and monitor analytic unit; Send charging starting request message, charging update request message, the charging ending request message that carries user name, multicast group address, current time to the multicast accounting server, and the charging that reception is returned begins response message, charging is upgraded response message, chargeed and finish response message;
Monitor analytic unit, utilize monitor function from multicast joins request message, to obtain terminal use's the MAC Address and the corresponding relation of multicast group address, with the MAC Address of the MAC Address that listens to and unit records relatively, with the user name of determining the terminal use and the corresponding relation of multicast group address; Pick up counting when multicast that the terminal use sends joins request message receiving, will be recorded in the current time in real time and monitor in the time attribute that list item increases newly;
Memory cell is used for the user name of record terminal use when authentication success and the corresponding relation of MAC Address.
8. system according to claim 6 is characterized in that, described multicast accounting server comprises:
Second Transmit-Receive Unit, be used to receive the charging starting request message that carries user name, multicast group address, current time, charging update request message, charging ending request message, and return charging beginning response message, charging renewal response message, charging end response message from access device;
Charging Detail Record unit is used for calculating current duration according to the current time in the current time of charging starting request message and the update request message that charges first; And follow-up when receiving charging update request message at every turn, the difference of the current time in current time in the current charging update request message and the preceding primary charging update request message is added in the described current duration; Also the difference according to the current time in current time in the charging ending request message that receives and the last charging update request message is added in the described current duration; At last according to current duration and be the rate calculating multicast expense that described multicast group is provided with in advance, with the multicast expense that calculates charging result as the counterpart terminal user of user name institute.
CN200910235707.XA 2009-10-12 2009-10-12 Method and system for multicast charging Expired - Fee Related CN102045176B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910235707.XA CN102045176B (en) 2009-10-12 2009-10-12 Method and system for multicast charging

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910235707.XA CN102045176B (en) 2009-10-12 2009-10-12 Method and system for multicast charging

Publications (2)

Publication Number Publication Date
CN102045176A true CN102045176A (en) 2011-05-04
CN102045176B CN102045176B (en) 2014-08-20

Family

ID=43910994

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910235707.XA Expired - Fee Related CN102045176B (en) 2009-10-12 2009-10-12 Method and system for multicast charging

Country Status (1)

Country Link
CN (1) CN102045176B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110930185A (en) * 2019-11-15 2020-03-27 新华三技术有限公司 Tester management method, system and device
CN111327431A (en) * 2018-12-14 2020-06-23 华为技术有限公司 Charging policy obtaining method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101052144A (en) * 2007-05-24 2007-10-10 中兴通讯股份有限公司 Method and system for charging MBMS according to flow
CN101114900A (en) * 2006-07-27 2008-01-30 上海贝尔阿尔卡特股份有限公司 Multicast service authentication method and device, system
CN101388784A (en) * 2007-09-13 2009-03-18 华为技术有限公司 Method, device and system for processing multicast service information

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101114900A (en) * 2006-07-27 2008-01-30 上海贝尔阿尔卡特股份有限公司 Multicast service authentication method and device, system
CN101052144A (en) * 2007-05-24 2007-10-10 中兴通讯股份有限公司 Method and system for charging MBMS according to flow
CN101388784A (en) * 2007-09-13 2009-03-18 华为技术有限公司 Method, device and system for processing multicast service information

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111327431A (en) * 2018-12-14 2020-06-23 华为技术有限公司 Charging policy obtaining method and device
US11758372B2 (en) 2018-12-14 2023-09-12 Huawei Technologies Co., Ltd. Charging policy obtaining method and apparatus
CN110930185A (en) * 2019-11-15 2020-03-27 新华三技术有限公司 Tester management method, system and device

Also Published As

Publication number Publication date
CN102045176B (en) 2014-08-20

Similar Documents

Publication Publication Date Title
US8548427B2 (en) System and method for peer-to-peer transfer of multimedia content and reconciliation thereof
US7305010B2 (en) Multicast communication system
US7474669B2 (en) Multicast accounting control system and broadband access server
EP1341341A2 (en) Charging mechanism for multicasting
US7761084B2 (en) Systems and methods for session records correlation
CN105191210B (en) Method for policy control and charge for D2D service
RU2008118165A (en) METHOD FOR DELIVERY OF THE SOURCE OF THE MANUAL OF THE SERVICE FOR THE GENERATION OF THE MANUAL OF THE SERVICE IN THE MOBILE Broadcast Broadcast System
CN101977116A (en) Flow charging method and client side
CN103024719B (en) The mobility management entity system of selection of set of terminal and system
CN101777987B (en) Multimedia meeting service charging method and system
CN102045176B (en) Method and system for multicast charging
EP2563053B1 (en) Method and related device for controlling service charging
CN101106462A (en) Billing system, billing point, billing server and method for capturing billing information
CN102232305A (en) Service processing method, system and device
CN102231668A (en) Multicast service charging method, device and system
BRPI0615719B1 (en) METHOD FOR OPERATING GROUP SERVICES IN A COMMUNICATION NETWORK AND PROVISION FOR OPERATING A GROUP SERVICE OR VARIOUS GROUP SERVICES IN A COMMUNICATION NETWORK
CN102868539A (en) Method and system for managing nationwide billing identification gateways
CN101267590B (en) Service unsubscription method and system, mobile terminal, card and service server
CN101286860B (en) Method, system for maintaining gateway terminal session and terminal service gateway
KR100450747B1 (en) Method for multicast Quality of Service(QoS) management and apparatus
KR100764168B1 (en) Method and apparatus for accounting in portable internet system
CN102420799B (en) User authentication method, device and system
CN103874055A (en) Method and system for transmitting subscriber identity to WAP gateway and PDSN
JP2005323409A (en) Multicast communication system
JP3723803B2 (en) Multicast communication 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

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140820

Termination date: 20201012

CF01 Termination of patent right due to non-payment of annual fee