CN103780401B - Charging method and system - Google Patents

Charging method and system Download PDF

Info

Publication number
CN103780401B
CN103780401B CN201410066653.XA CN201410066653A CN103780401B CN 103780401 B CN103780401 B CN 103780401B CN 201410066653 A CN201410066653 A CN 201410066653A CN 103780401 B CN103780401 B CN 103780401B
Authority
CN
China
Prior art keywords
charging
home gateway
network system
dial
user
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
Application number
CN201410066653.XA
Other languages
Chinese (zh)
Other versions
CN103780401A (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201410066653.XA priority Critical patent/CN103780401B/en
Publication of CN103780401A publication Critical patent/CN103780401A/en
Application granted granted Critical
Publication of CN103780401B publication Critical patent/CN103780401B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of charging method and system, wherein, system includes:Home gateway, for the dial request that receive user equipment sends, and dial request is sent to network system;After network system returns dial response, dial response is sent to user equipment, so that user equipment connects network according to dial response;After user equipment is successfully surfed the Net, monitor in real time charging is started according to charging policy, and shows this online spending amount in real time.Network system, for receiving the dial request of home gateway transmission, and returns dial response;The present invention carries out charging by using home gateway, on the one hand, so that charging be that user side is carried out in home gateway, allow user it is convenient inquire the consumed amount of money of oneself surfing the Net every time;On the other hand, when userbase is huge, pressure, the vigorousness that can effectively share network system is strong, makes charge system possess localization, distributed advantage.

Description

Charging method and system
Technical field
The present invention relates to communication technical field, more particularly to a kind of charging method and system.
Background technology
Intelligent home network is the high-tech product that information age band gives people, and it is by existing computer network Network technology, various household electrical appliances in family and equipment are networked, and provide various abundant, variations, personalized, side for people by network Just, comfortably, service safely and efficiently.And the realization of Intellectualized home network system needs to design a preferable home network Close.Home gateway is a kind of physical interface that all outside access networks can be connected to household internal, obtains user Various home services.
At present, for the charging of home gateway arranges the backstage clothes of or more all by the way of centralized management, that is, Business device carries out unified accounting management to home gateway.
But this centralized charging mode, with the substantial increase of home gateway quantity, system charging burden also drastically increases Plus, it is easily caused accounting server and breaks down;And once accounting server breaks down, then all families being attached thereto The charging of gateway can not then proceed, and the vigorousness of system is poor.
The content of the invention
The present invention provides a kind of charging method and system, to solve in prior art charge system with home gateway number The substantial increase of amount, system charging burden also sharply increase, be easily caused accounting server break down, vigorousness difference ask Topic.
The present invention provides a kind of charging method, including:
The dial request that home gateway receive user equipment sends, and the dial request is sent to network system;
The network system receives the dial request that the home gateway sends, and returns dial response;
The home gateway sends the dial response to the user equipment, so that the user equipment is according to described Dial response connects network;
The home gateway starts monitor in real time charging according to charging policy after the user equipment is successfully surfed the Net, and This online spending amount is shown in real time.
The present invention also provides a kind of charge system, including:Home gateway and network system;
The home gateway, for the dial request that receive user equipment sends, and the dial request is sent to net Network system;After the network system returns dial response, the dial response is sent to the user equipment, so that institute State user equipment and network is connected according to the dial response;After the user equipment is successfully surfed the Net, started according to charging policy Monitor in real time charging, and this online spending amount is shown in real time;
The network system, for receiving the dial request that the home gateway sends, and returns dial response.
The present invention carries out charging by using home gateway, on the one hand, so that charging is that user side is carried out in home gateway, Allow user it is convenient inquire oneself every time the consumed amount of money of online;On the other hand, when userbase is huge, Pressure, the vigorousness that network system can effectively be shared is strong, makes charge system possess localization, distributed advantage.
Description of the drawings
One schematic flow sheet of charging method embodiment that Fig. 1 is provided for the present invention;
Two schematic flow sheet of charging method embodiment that Fig. 2 is provided for the present invention;
Three signalling diagram of charging method embodiment that Fig. 3 is provided for the present invention;
The charge system example structure schematic diagram that Fig. 4 is provided for the present invention.
Specific embodiment
To make purpose, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is The a part of embodiment of the present invention, rather than the embodiment of whole.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Embodiment one
As shown in figure 1, one schematic flow sheet of charging method embodiment provided for the present invention, specifically includes following steps:
The dial request that S101, home gateway receive user equipment send, and dial request is sent to network system;
It should be noted that user equipment is the terminal unit with function of surfing the Net, can be fixed terminal equipment, example Such as, desktop computer, or mobile terminal device, for example, ipad, iphone etc..User, will be using upper when online is needed Terminal unit is stated by dial request being initiated to home gateway, after home gateway receives dial request, sends it to network system System.
S102, network system receive the dial request that home gateway sends, and return dial response;
Specifically, username information can be included in dial request;Wherein, username information can be user name and use Family online password, network system can determine User Status according to username information, and for example, network system can be according to user name The user state information stored in inquiry network data base, if inquiring user for defaulting subscriber or not opening network use Family, then do not allow user to surf the Net, and returns dialing failure response, if inquiring user to open the network user and being non-arrearage User, then allow user to surf the Net, and is that user equipment is set up and the interface channel between network, returns dial-up success response.So Some malicious owing fee user can be avoided illegally to surf the Net, realize the effective management to user.
S103, home gateway send dial response to user equipment, so that user equipment connects net according to dial response Network;
If it should be noted that dial response is dialing failure response, user equipment connection network failure, if dialled Number response for dial-up success response, then user equipment connect network success, now, user can proceed by online.
S104, home gateway start monitor in real time charging according to charging policy after user equipment is successfully surfed the Net, and in real time Show this spending amount.
After user equipment is successfully surfed the Net, the billing function of home gateway is triggered, and home gateway starts reality according to charging policy When monitor charging, and show this spending amount in real time.Or, after user equipment is successfully surfed the Net, trigger the charging of home gateway Function, home gateway obtain user balance from network system, and start monitor in real time charging according to charging policy, and show in real time User's avail, the avail deduct this online real-time consumption remaining sum for user balance.If payment mode is pre- Pay, when user's avail reaches 0, then home gateway prompts the user whether to switch to rear payment mode;Or, when user can When reaching 0 with the amount of money, to network system report of user avail, network system determines that user's avail is 0 to home gateway, Network is disconnected then.Specifically, home gateway monitor in real time charging is started according to charging policy can be to adopt following three kinds of modes:
Mode one:If charging policy is periodic metering strategy, then home gateway will the cycle be statistically at preset timed intervals Net duration, according to online duration charging.
Specifically, if periodic metering strategy is set to 3 yuan/hour, preset time period can be set to 10 minutes, So home gateway did not had 10 minutes will carry out primary charging, i.e., begin to deduct an expense per 10 minutes, and deduction takes With for (10/60) * 3=0.5 it is first.
Mode two:If charging policy is strategy of charging by flow;So home gateway is by monitor in real time network traffics, root According to Network account;
Specifically:If strategy of charging by flow is for 0.1 yuan/K, then, user often uses 1K, home gateway detain Except 0.1 yuan.
Mode three:If charging policy is by signaling message charging policy, then home gateway is by real-time statistics signaling report Text, according to signaling message number charging;
Specifically:If by signaling message charging policy be every signaling message be 0.1 yuan, then, user send one Bar signaling message, home gateway will deduct 0.1 yuan.
In addition, above-mentioned charging policy can be selected to arrange on home gateway by user, and the charging plan of network system It is slightly synchronous with home gateway holding.For example, periodic metering strategy is pre-set in home gateway, charge by flow strategy and by Three kinds of signaling message charging policy is tactful, and user is selected from above-mentioned three kinds the carrying out in tactful according to oneself demand.When user selects When the strategy selected is periodic metering strategy, then can report network system, network system will be entered on backstage using periodic metering strategy Row charging, to keep charging synchronous with home gateway.
The present embodiment carries out charging by using home gateway, on the one hand, so that charging is that user side is entered in home gateway OK, allow user it is convenient inquire oneself every time the consumed amount of money of online;On the other hand, when userbase is huge When, pressure, the vigorousness that can effectively share network system is strong, makes charge system possess localization, distributed advantage.
In addition, network system can be to determine the charge mode of user, for example according to username information, network system can be with The user's charge mode information stored in network data base is inquired about according to user name, if the charge mode for inquiring user is this Ground charge mode, then charge system of the invention carry out charging, if the charge mode for inquiring user is backstage charging pattern, Charging is carried out using existing charge system then, is made charging way more flexible, is facilitated user.
Embodiment two
As shown in Fig. 2 two schematic flow sheet of charging method embodiment provided for the present invention, the present embodiment is in above-mentioned enforcement On the basis of example one, home gateway is further increased by spending amount report network system and network system checking home network The correlation technique step of gateway to charge accuracy, specifically includes following steps:
S201, home gateway storage spending amount;
Spending amount after user equipment is off line is generated charging bill, and charging bill is reported by S202, home gateway To network system;
In addition, before charging bill is reported to network system, charging bill can be encrypted, to ensure charging bill Safety in transmitting procedure.
S203, network system receive charging bill, and are compared according to charging bill and the backstage ticket for itself generating To verify the accuracy of home gateway charging.
If it should be noted that the charging bill that network system is received is the charging bill after encryption, needed advanced Row decryption.
In addition, network system can targetedly extract one according to the setting of operator or the setting according to user The charging bill of a little home gateways, verifies the correctness of these home gateway chargings extracted.For example, if operator finds to use The home gateway charging existing problems at family, then can allow network system to extract these by arranging network system parameter Home gateway charging bill, the charging bill generated with backstage are compared.
The present embodiment not only can carry out charging using home gateway, and can carry out charging using network system, and The backstage ticket of generation, the ticket that home gateway is produced by network system are compared with backstage ticket, can monitor in time and It was found that the illegal problem in home gateway charging.
A specific embodiment is named, technical scheme is described in detail.
Embodiment three
As shown in figure 3, three signalling diagram of charging method embodiment provided for the present invention, specifically includes following steps:
S301, user equipment initiate online dial request to home gateway, and user profile is carried in dial request;
S302, home gateway send online dial request to network system;
S303, network system determine User Status, determine whether that user surfs the Net according to User Status, if allowing user Online, then set up network access passage;
Network system determines User Status according to the username information carried in dial request, if it is deficient to inquire user The network user is not opened at expense family, then do not allow user to surf the Net, and returns dialing failure response, if inquiring user for Open the network user and for non-defaulting subscriber, then allow user to surf the Net, be that user equipment is set up and the interface channel between network, Return dial-up success response..
S304, network system return dial response to home gateway;
S305, home gateway are responded to user equipment Sending dialled number;
S306, user equipment successful access network;
User equipment accesses network according to dial response, if dial response is dialing failure response, user equipment connects Mutual network failure is connect, if dial response is responded for dial-up success, user equipment connects mutual network success, now, Yong Huke To proceed by online.
S307, home gateway show spending amount, and preserve spending amount according to charging policy monitor in real time charging;
S308, user equipment and network disconnect;
Spending amount is generated charging bill, and safety fee countin ticket by S309, home gateway;
After user offline, spending amount is generated charging bill by home gateway.
S310, home gateway report charging bill to network system;
S311, network system decryption charging bill, verify that the backstage charging ticket that charging bill is produced with itself is carried out Compare, whether checking home gateway charging is accurate.
Example IV
As shown in figure 4, the charge system example structure schematic diagram provided for the present invention, specifically includes:Home gateway 41 With network system 42;
Above-mentioned home gateway 41, for receive user equipment send dial request, and by above-mentioned dial request send to Network system 42;After above-mentioned network system 42 returns dial response, above-mentioned dial response is sent to above-mentioned user equipment, So that above-mentioned user equipment connects network according to above-mentioned dial response;After above-mentioned user equipment is successfully surfed the Net, according to charging plan Slightly start monitor in real time charging, and show this online spending amount in real time;
Above-mentioned network system 42, for receiving the dial request of the transmission of above-mentioned home gateway 41, and returns dial response.
Further, above-mentioned dial request includes username information;Above-mentioned network system 42, specifically for:
User Status are determined according to username information, above-mentioned user's online are determined whether according to above-mentioned User Status, If allowing above-mentioned user to surf the Net, dial-up success response is returned, if not allowing above-mentioned user's online, return dialing and unsuccessfully ring Should.
Further, above-mentioned charging policy is periodic metering strategy;Correspondingly, above-mentioned home gateway 41, specifically for:Press Preset time period counts online duration, according to above-mentioned online duration charging;
Or,
Above-mentioned charging policy is strategy of charging by flow;Correspondingly, above-mentioned home gateway 41, specifically for:Monitor in real time Network traffics, according to above-mentioned Network account;
Or,
Above-mentioned charging policy is by signaling message charging policy;Correspondingly, above-mentioned home gateway 41, specifically for:In real time Statistics signaling message, according to signaling message number charging;
Further, above-mentioned home gateway 41, is additionally operable to:Storage spending amount;After above-mentioned user equipment is off line, will be upper State spending amount and generate charging bill, and above-mentioned charging bill is reported to into above-mentioned network system 42;Correspondingly, above-mentioned network system System 42, is additionally operable to receive above-mentioned charging bill, and according to above-mentioned charging bill and the backstage ticket for itself generating compare with Verify the accuracy of 41 charging of above-mentioned home gateway.
Further, above-mentioned home gateway 41, is additionally operable to:Above-mentioned charging bill is encrypted;Correspondingly, above-mentioned network system 42, it is additionally operable to:Decrypt above-mentioned charging bill.
Charge system described in the present embodiment, for performing described in above-described embodiment one, embodiment two and embodiment three Method and step, its technique effect are similar to, and are described again here.
It should be noted that:For aforesaid each method embodiment, in order to be briefly described, therefore which is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention do not limited by described sequence of movement because According to the present invention, some steps can adopt other orders or while carry out.Secondly, those skilled in the art should also know Know, embodiment described in this description belongs to preferred embodiment, involved action and module are not necessarily of the invention It is necessary.
One of ordinary skill in the art will appreciate that:Realize that all or part of step of said method embodiment can pass through Completing, aforesaid program can be stored in a computer read/write memory medium the related hardware of programmed instruction, the program Upon execution, perform the step of including said method embodiment;And aforesaid storage medium includes:ROM, RAM, magnetic disc or light Disk etc. is various can be with the medium of store program codes.
Finally it should be noted that:Above example only to illustrate technical scheme, rather than a limitation;Although With reference to the foregoing embodiments the present invention has been described in detail, it will be understood by those within the art that:Which still may be used To modify to the technical scheme described in foregoing embodiments, or equivalent is carried out to which part technical characteristic; And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and Scope.

Claims (4)

1. a kind of charging method, it is characterised in that include:
The dial request that home gateway receive user equipment sends, and the dial request is sent to network system;
The network system receives the dial request that the home gateway sends, and returns dial response;
The home gateway sends the dial response to the user equipment, so that the user equipment is according to the dialing Response connection network;
The home gateway starts monitor in real time charging according to charging policy after the user equipment is successfully surfed the Net, and in real time Show this online spending amount;
Wherein, the charging policy is periodic metering strategy;Correspondingly, monitor in real time charging is started according to charging policy, including: At preset timed intervals the cycle statistics online duration, according to the online duration charging;Or, the charging policy is to charge by flow Strategy;Correspondingly, monitor in real time charging is started according to charging policy, including:Monitor in real time network traffics, according to the network flow Gauge takes;Or, the charging policy is by signaling message charging policy;Correspondingly, monitor in real time is started according to charging policy Charging, including:Real-time statistics signaling message, according to signaling message number charging;
It is described show in real time this online spending amount after, also include:
The home gateway stores the spending amount;
The spending amount is generated charging bill after the user equipment is off line by the home gateway, and by the charging Bill report is to the network system;
The network system receives the charging bill, and is compared according to the charging bill and the backstage ticket for itself generating To with the accuracy of the checking home gateway charging;
Before the charging bill is reported to the network system, also include:
The charging bill is encrypted by the home gateway;
Correspondingly, after the network system receives the charging bill, also include:
The network system decrypts the charging bill.
2. method according to claim 1, it is characterised in that the dial request includes username information;
The network system receives the dial request that the home gateway sends, and returns dial response, including:
User Status are determined according to username information, user's online are determined whether according to the User Status, if permitting Perhaps described user's online, then return dial-up success response, if not allowing user's online, returns dialing failure response.
3. a kind of charge system, it is characterised in that include:Home gateway and network system;
The home gateway, for the dial request that receive user equipment sends, and the dial request is sent to network system System;After the network system returns dial response, the dial response is sent to the user equipment, so that the use Family equipment connects network according to the dial response;After the user equipment is successfully surfed the Net, started in real time according to charging policy Monitoring charging, and this online spending amount is shown in real time;
The network system, for receiving the dial request that the home gateway sends, and returns dial response;
Wherein, the charging policy is periodic metering strategy;Correspondingly, the home gateway, specifically for:It is all at preset timed intervals Phase counts online duration, according to the online duration charging;Or, the charging policy is strategy of charging by flow;Correspondingly, The home gateway, specifically for:Monitor in real time network traffics, according to the Network account;Or, the charging policy It is by signaling message charging policy;Correspondingly, the home gateway, specifically for:Real-time statistics signaling message, according to signaling report Literary number charging;
The home gateway, is additionally operable to:Store the spending amount;After the user equipment is off line, by the spending amount Charging bill is generated, and the charging bill is reported to into the network system;Correspondingly, the network system, is additionally operable to connect The charging bill is received, and compares to verify the home network according to the charging bill and the backstage ticket for itself generating The accuracy of gateway to charge;
The home gateway, is additionally operable to:The charging bill is encrypted;Correspondingly, the network system, is additionally operable to:Decryption institute State charging bill.
4. system according to claim 3, it is characterised in that the dial request includes username information;
The network system, specifically for:
User Status are determined according to username information, user's online are determined whether according to the User Status, if permitting Perhaps described user's online, then return dial-up success response, if not allowing user's online, returns dialing failure response.
CN201410066653.XA 2014-02-26 2014-02-26 Charging method and system Active CN103780401B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410066653.XA CN103780401B (en) 2014-02-26 2014-02-26 Charging method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410066653.XA CN103780401B (en) 2014-02-26 2014-02-26 Charging method and system

Publications (2)

Publication Number Publication Date
CN103780401A CN103780401A (en) 2014-05-07
CN103780401B true CN103780401B (en) 2017-04-05

Family

ID=50572275

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410066653.XA Active CN103780401B (en) 2014-02-26 2014-02-26 Charging method and system

Country Status (1)

Country Link
CN (1) CN103780401B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104022889A (en) * 2014-06-23 2014-09-03 中国联合网络通信集团有限公司 Method and device for charging net flow
CN104065491A (en) * 2014-07-04 2014-09-24 中国联合网络通信集团有限公司 Internet surfing time billing method and device
CN107294738B (en) * 2017-06-12 2019-08-27 中国联合网络通信集团有限公司 The treating method and apparatus of communication charge
CN108880934B (en) * 2018-06-04 2020-11-27 网宿科技股份有限公司 Data flow statistical method and device based on block chain
CN110972091B (en) * 2018-09-30 2021-06-08 中国移动通信集团重庆有限公司 Communication charging method, device, equipment, medium and terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6754712B1 (en) * 2001-07-11 2004-06-22 Cisco Techonology, Inc. Virtual dial-up protocol for network communication
CN101237331B (en) * 2007-12-27 2011-11-02 华为技术有限公司 CDR file generation method, transmission method, system and device
CN101227301B (en) * 2007-12-27 2011-01-12 华为技术有限公司 Device and method for charging based on business visit time
CN102088684B (en) * 2009-12-04 2013-08-07 中国移动通信集团公司 Accounting management system and method
CN102340527A (en) * 2010-07-20 2012-02-01 中国联合网络通信集团有限公司 Realization method for home portal and home gateway

Also Published As

Publication number Publication date
CN103780401A (en) 2014-05-07

Similar Documents

Publication Publication Date Title
CN103780401B (en) Charging method and system
CN103987060A (en) Flow sharing platform
CN105191210B (en) Method for policy control and charge for D2D service
CN102739409A (en) Internet traffic charging device and method
CN103647788B (en) A kind of node security authentication method in intelligent grid
US11915330B2 (en) Secure tokens for controlling access to a resource in a resource distribution network
CA3157850C (en) Secure tokens for controlling access to a resource in a resource distribution network
CN104094272A (en) Method for communication of energy consumption-specific measurement data elements between a smart meter device and a computer system of a utility company and/or operator of a measuring system
CN101977116A (en) Flow charging method and client side
CN100561929C (en) The wide band post-paid service implementation method
CN103782547B (en) System and method for controlling operation of consumption appliances
JP4753521B2 (en) Method and apparatus for monitoring permissions of electrical devices connected to a network
CN103327490B (en) Outlet the Internet WIFI accesses system and method
US11790349B2 (en) Secure tokens for controlling access to a resource in a resource distribution network
CN105812428B (en) Family's public resource management method and system
CN104955174B (en) A kind of intelligent router and its login method
CN104080076A (en) Business using method based on NFC
CN110532794A (en) A kind of electric energy method for processing business, device, equipment and readable storage medium storing program for executing
CN104219737A (en) System and method for implementing networking transfer service
CN104954266B (en) Intelligent router and its login method
WO2013053401A1 (en) Method, metering equipment, user device, and system for providing of metering information
CN105939206B (en) The management method and system of electronic equipment
CN117765662A (en) Multi-mode shared electricity service system and service method
CN115348016A (en) Electric automobile charging network password management system
CN104243262A (en) System and method for achieving networking transferring service

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant