[go: up one dir, main page]

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
billing
home gateway
charging
user
network system
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

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Meter Arrangements (AREA)

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

计费方法及系统Billing method and system

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种计费方法及系统。The present invention relates to the field of communication technology, in particular to a charging method and system.

背景技术Background technique

智能化家庭网络是信息时代带给人们的一个高科技产物,它借助现有的计算机网络技术,将家庭内各种家电和设备连网,通过网络为人们提供各种丰富、多样化、个性化、方便、舒适、安全和高效的服务。而智能化家庭网络系统的实现需要设计一个理想的家庭网关。家庭网关是一种能够将所有外部接入网连接到家庭内部的物理接口,使用户可以获得各种家庭服务。Intelligent home network is a high-tech product brought to people by the information age. With the help of existing computer network technology, it connects various home appliances and equipment in the family to the network, and provides people with various rich, diverse and personalized services through the network. , Convenient, comfortable, safe and efficient service. But the realization of intelligent home network system needs to design an ideal home gateway. A home gateway is a physical interface that connects all external access networks to the inside of the home, enabling users to obtain various home services.

目前,对于家庭网关的计费都采用集中管理的方式,即设置一台或以上的后台服务器对家庭网关进行统一的计费管理。At present, the billing of the home gateway adopts a centralized management method, that is, one or more background servers are set up to perform unified billing management on the home gateway.

但是这种集中计费方式,随着家庭网关数量的大量增加,系统计费负担也急剧增加,容易导致计费服务器发生故障;并且一旦计费服务器出现故障,则与之相连的所有家庭网关的计费则不能继续进行,系统的健壮性较差。However, this centralized billing method, along with the large increase in the number of home gateways, the system billing burden will also increase sharply, which will easily cause the billing server to break down; and once the billing server breaks down, all the home gateways connected to it will Billing cannot continue, and the robustness of the system is poor.

发明内容Contents of the invention

本发明提供一种计费方法及系统,用以解决现有技术中计费系统随着家庭网关数量的大量增加,系统计费负担也急剧增加,容易导致计费服务器发生故障、健壮性差的问题。The present invention provides a billing method and system to solve the billing system in the prior art with a large increase in the number of home gateways, the system billing burden also increases sharply, which easily leads to billing server failure and poor robustness .

本发明提供一种计费方法,包括:The present invention provides a billing method, including:

家庭网关接收用户设备发送的拨号请求,并将所述拨号请求发送至网络系统;The home gateway receives the dialing request sent by the user equipment, and sends the dialing request to the network system;

所述网络系统接收所述家庭网关发送的拨号请求,并返回拨号响应;The network system receives the dial request sent by the home gateway, and returns a dial response;

所述家庭网关将所述拨号响应发送至所述用户设备,以使所述用户设备根据所述拨号响应连接网络;The home gateway sends the dial-up response to the user equipment, so that the user equipment connects to the network according to the dial-up response;

所述家庭网关在所述用户设备成功上网后,根据计费策略开始实时监控计费,并实时显示本次上网消费金额。After the user equipment successfully accesses the Internet, the home gateway starts real-time monitoring and charging according to the charging policy, and displays the current online consumption amount in real time.

本发明还提供一种计费系统,包括:家庭网关和网络系统;The present invention also provides a billing system, including: a home gateway and a network system;

所述家庭网关,用于接收用户设备发送的拨号请求,并将所述拨号请求发送至网络系统;在所述网络系统返回拨号响应之后,将所述拨号响应发送至所述用户设备,以使所述用户设备根据所述拨号响应连接网络;在所述用户设备成功上网后,根据计费策略开始实时监控计费,并实时显示本次上网消费金额;The home gateway is configured to receive a dialing request sent by the user equipment, and send the dialing request to a network system; after the network system returns a dialing response, send the dialing response to the user equipment, so that The user equipment connects to the network according to the dial-up response; after the user equipment successfully accesses the Internet, real-time monitoring and charging is started according to the charging policy, and the current online consumption amount is displayed in real time;

所述网络系统,用于接收所述家庭网关发送的拨号请求,并返回拨号响应。The network system is configured to receive the dialing request sent by the home gateway, and return a dialing response.

本发明通过利用家庭网关进行计费,一方面,使得计费在家庭网关即用户侧进行,使用户可以更加方便的查询到自己每次上网所消费的金额;另一方面,当用户规模巨大时,能够有效分担网络系统的压力、健壮性强,使计费系统具备本地化、分布式的优点。The present invention uses the home gateway for billing. On the one hand, the billing is performed on the home gateway, that is, the user side, so that the user can more conveniently inquire about the amount of money he spends each time he surfs the Internet; on the other hand, when the user scale is huge , can effectively share the pressure of the network system, and has strong robustness, so that the billing system has the advantages of localization and distribution.

附图说明Description of drawings

图1为本发明提供的计费方法实施例一流程示意图;FIG. 1 is a schematic flow chart of Embodiment 1 of the billing method provided by the present invention;

图2为本发明提供的计费方法实施例二流程示意图;FIG. 2 is a schematic flow chart of Embodiment 2 of the billing method provided by the present invention;

图3为本发明提供的计费方法实施例三信令示意图;FIG. 3 is a schematic diagram of signaling in Embodiment 3 of the billing method provided by the present invention;

图4为本发明提供的计费系统实施例结构示意图。Fig. 4 is a schematic structural diagram of an embodiment of a billing system provided by the present invention.

具体实施方式detailed description

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

实施例一Embodiment one

如图1所示,为本发明提供的计费方法实施例一流程示意图,具体包括如下步骤:As shown in Figure 1, it is a schematic flow chart of Embodiment 1 of the billing method provided by the present invention, which specifically includes the following steps:

S101、家庭网关接收用户设备发送的拨号请求,并将拨号请求发送至网络系统;S101. The home gateway receives the dialing request sent by the user equipment, and sends the dialing request to the network system;

需要说明的是,用户设备是具有上网功能的终端设备,可以为固定终端设备,例如,台式电脑,也可以为移动终端设备,例如,ipad、iphone等。用户在需要上网时,将采用上述终端设备通过向家庭网关发起拨号请求,家庭网关接收拨号请求后,将其发送至网络系统。It should be noted that the user equipment is a terminal device with an Internet access function, which may be a fixed terminal device, such as a desktop computer, or a mobile terminal device, such as an ipad, iphone, and the like. When the user needs to surf the Internet, he will use the above-mentioned terminal equipment to initiate a dial-up request to the home gateway, and the home gateway will send the dial-up request to the network system after receiving the dial-up request.

S102、网络系统接收家庭网关发送的拨号请求,并返回拨号响应;S102. The network system receives the dialing request sent by the home gateway, and returns a dialing response;

具体来说,可以在拨号请求包含用户名信息;其中,用户名信息可以为用户名和用户上网密码,网络系统可以根据用户名信息确定用户状态,例如,网络系统可以根据用户名查询网络数据库中存储的用户状态信息,如果查询到用户为欠费用户或者未开通网络用户,则不允许用户上网,返回拨号失败响应,如果查询到用户为已开通网络用户且为非欠费用户,则允许用户上网,为用户设备建立和网络之间的连接通道,返回拨号成功响应。这样可以避免一些恶意欠费用户非法上网,实现对用户的有效管理。Specifically, the user name information can be included in the dial-up request; wherein, the user name information can be the user name and the user's online password, and the network system can determine the user status according to the user name information. For example, the network system can query the network database according to the user name. If the user is in arrears or has not subscribed to the network, the user is not allowed to access the Internet, and a dial-up failure response is returned. If the user is inquired to be a network user and is not a user in arrears, the user is allowed to access the Internet. , to establish a connection channel between the user equipment and the network, and return a successful dial-up response. In this way, some malicious arrears users can be prevented from accessing the Internet illegally, and effective management of users can be realized.

S103、家庭网关将拨号响应发送至用户设备,以使用户设备根据拨号响应连接网络;S103. The home gateway sends the dial-up response to the user equipment, so that the user equipment connects to the network according to the dial-up response;

需要说明的是,如果拨号响应为拨号失败响应,则用户设备连接网络失败,如果拨号响应为拨号成功响应,则用户设备连接网络成功,此时,用户可以开始进行上网。It should be noted that, if the dial-up response is a dial-up failure response, the user equipment fails to connect to the network, and if the dial-up response is a dial-up success response, the user equipment successfully connects to the network. At this time, the user can start to surf the Internet.

S104、家庭网关在用户设备成功上网后,根据计费策略开始实时监控计费,并实时显示本次消费金额。S104. After the user equipment successfully accesses the Internet, the home gateway starts real-time monitoring and charging according to the charging policy, and displays the consumption amount in real time.

用户设备成功上网后,触发家庭网关的计费功能,家庭网关根据计费策略开始实时监控计费,并实时显示本次消费金额。或者,用户设备成功上网后,触发家庭网关的计费功能,家庭网关从网络系统获取用户余额,并根据计费策略开始实时监控计费,并实时显示用户可用金额,所述可用金额为用户余额减去本次上网实时消费余额。如果支付模式为预支付,当用户可用金额到达0时,则家庭网关提示用户是否转为后支付模式;或者,当用户可用金额到达0时,家庭网关向网络系统上报用户可用金额,网络系统确定用户可用金额为0,则断开网络。具体来说,家庭网关根据计费策略开始实时监控计费可以采用如下三种方式:After the user equipment successfully accesses the Internet, the billing function of the home gateway is triggered, and the home gateway starts real-time monitoring and billing according to the billing policy, and displays the current consumption amount in real time. Or, after the user equipment successfully accesses the Internet, the charging function of the home gateway is triggered. The home gateway obtains the user balance from the network system, and starts real-time monitoring and charging according to the charging policy, and displays the user's available amount in real time. The available amount is the user's balance Subtract the balance of this online real-time consumption. If the payment mode is pre-payment, when the user's available amount reaches 0, the home gateway prompts the user whether to switch to the post-payment mode; or, when the user's available amount reaches 0, the home gateway reports the user's available amount to the network system, and the network system determines If the amount available to the user is 0, the network will be disconnected. Specifically, the home gateway can start real-time monitoring and charging according to the charging policy in the following three ways:

方式一:如果计费策略为按时计费策略,那么家庭网关将按预设时间周期统计上网时长,根据上网时长计费。Method 1: If the billing policy is billing by hour, the home gateway will count the online time according to the preset time period, and charge according to the online time.

具体来说,如果将按时计费策略定为3元/小时,将预设时间周期可以设为10分钟,那么家庭网关没过10分钟就会进行一次计费,即每10分钟就开始扣除一次费用,扣除的费用为(10/60)*3=0.5元。Specifically, if the hourly billing policy is set to 3 yuan/hour, and the preset time period can be set to 10 minutes, then the home gateway will perform billing every 10 minutes, that is, it will start deducting every 10 minutes Fee, the deducted fee is (10/60)*3=0.5 yuan.

方式二:如果计费策略为按流量计费策略;那么家庭网关将实时监控网络流量,根据网络流量计费;Method 2: If the billing policy is billing by traffic; then the home gateway will monitor the network traffic in real time and bill according to the network traffic;

具体来说:如果按流量计费策略为0.1元/K,那么,用户每使用1K,家庭网关就会扣除0.1元。Specifically: if the traffic-based billing policy is 0.1 yuan/K, then the home gateway will deduct 0.1 yuan for every 1K used by the user.

方式三:如果计费策略为按信令报文计费策略,那么家庭网关将实时统计信令报文,根据信令报文数计费;Method 3: If the billing policy is the billing policy based on signaling packets, then the home gateway will count signaling packets in real time and charge according to the number of signaling packets;

具体来说:如果按信令报文计费策略为每条信令报文为0.1元,那么,用户发送一条信令报文,家庭网关就会扣除0.1元。Specifically: if according to the signaling message charging policy, each signaling message is 0.1 yuan, then the home gateway will deduct 0.1 yuan when the user sends a signaling message.

另外,上述计费策略可以由用户在家庭网关上选择设置,并且网络系统的计费策略与家庭网关保持同步。例如,在家庭网关中预先设置按时计费策略、按流量计费策略和按信令报文计费策略三种策略,用户根据自己需求从上述三种策略中的进行选择。当用户选择的策略为按时计费策略时,则会上报网络系统,网络系统将采用按时计费策略在后台进行计费,以保持与家庭网关同步计费。In addition, the above charging policy can be selected and set by the user on the home gateway, and the charging policy of the network system is kept in sync with the home gateway. For example, three policies of billing by hour, billing by traffic and billing by signaling packet are preset in the home gateway, and users can choose from the above three policies according to their own needs. When the policy selected by the user is the billing by time policy, it will report to the network system, and the network system will use the billing by time policy to perform billing in the background, so as to keep the billing synchronized with the home gateway.

本实施例通过利用家庭网关进行计费,一方面,使得计费在家庭网关即用户侧进行,使用户可以更加方便的查询到自己每次上网所消费的金额;另一方面,当用户规模巨大时,能够有效分担网络系统的压力、健壮性强,使计费系统具备本地化、分布式的优点。This embodiment uses the home gateway for billing. On the one hand, the billing is performed on the home gateway, that is, the user side, so that the user can more conveniently inquire about the amount of money he spends each time he surfs the Internet; on the other hand, when the user scale is huge When , it can effectively share the pressure of the network system and has strong robustness, so that the billing system has the advantages of localization and distribution.

另外,网络系统还可以根据用户名信息确定用户的计费模式,例如,网络系统可以根据用户名查询网络数据库中存储的用户计费模式信息,如果查询到用户的计费模式为本地计费模式,则本发明的计费系统进行计费,如果查询到用户的计费模式为后台计费模式,则采用现有的计费系统进行计费,使计费方式更加灵活,方便用户。In addition, the network system can also determine the user's charging mode according to the user name information. For example, the network system can query the user's charging mode information stored in the network database according to the user name. If the user's charging mode is found to be the local charging mode , then the billing system of the present invention performs billing, and if the billing mode of the user is inquired as the background billing mode, then the existing billing system is used for billing, so that the billing method is more flexible and convenient for users.

实施例二Embodiment two

如图2所示,为本发明提供的计费方法实施例二流程示意图,本实施例在上述实施例一的基础上,进一步增加了家庭网关将消费金额上报网络系统以及网络系统验证家庭网关计费准确性的相关方法步骤,具体包括如下步骤:As shown in Figure 2, it is a schematic flow chart of the second embodiment of the billing method provided by the present invention. On the basis of the first embodiment above, this embodiment further adds that the home gateway reports the consumption amount to the network system and the network system verifies the home gateway. The relevant method steps of cost accuracy, specifically include the following steps:

S201、家庭网关存储消费金额;S201. The home gateway stores the consumption amount;

S202、家庭网关在用户设备下网后,将消费金额生成计费话单,并将计费话单上报至网络系统;S202. After the user equipment is disconnected from the network, the home gateway generates a billing bill for the consumption amount, and reports the billing bill to the network system;

另外,在将计费话单上报至网络系统之前,可以将计费话单加密,以保证计费话单在传输过程中的安全性。In addition, before reporting the charging bill to the network system, the billing bill can be encrypted to ensure the security of the billing bill during transmission.

S203、网络系统接收计费话单,并根据计费话单和自身生成的后台话单进行比对以验证家庭网关计费的准确性。S203. The network system receives the billing bill, and compares the billing bill with the background bill generated by itself to verify the accuracy of the home gateway billing.

需要说明的是,如果网络系统接收的计费话单为加密后的计费话单,则需要先进行解密。It should be noted that if the billing bill received by the network system is an encrypted billing bill, it needs to be decrypted first.

另外,网络系统可以根据运营商的设置或者根据用户的设置,有针对性的抽取一些家庭网关的计费话单,验证这些抽取的家庭网关计费的正确性。例如,如果运营商发现用户的家庭网关计费存在问题,则可以通过设置网络系统参数,使网络系统可以抽取这些的家庭网关计费话单,与后台生成的计费话单进行比对。In addition, the network system can extract billing bills of some home gateways in a targeted manner according to the setting of the operator or the setting of the user, and verify the correctness of the charging of these extracted home gateways. For example, if the operator finds that there is a problem with the user's home gateway billing, the network system can set network system parameters so that the network system can extract these home gateway billing bills and compare them with the billing bills generated in the background.

本实施例不仅可以利用家庭网关进行计费,而且可以利用网络系统进行计费,并生成的后台话单,网络系统将家庭网关产生的话单与后台话单进行比对,可以及时监测和发现家庭网关计费中的违法问题。In this embodiment, not only the home gateway can be used for billing, but also the network system can be used for billing, and the background call list generated, the network system will compare the call list generated by the home gateway with the back-end call list, and can monitor and discover home bills in time. Illegal issues in gateway billing.

下面举一具体实施例,详细说明本发明的技术方案。A specific embodiment is given below to describe the technical solution of the present invention in detail.

实施例三Embodiment Three

如图3所示,为本发明提供的计费方法实施例三信令示意图,具体包括如下步骤:As shown in FIG. 3 , it is a schematic diagram of signaling in Embodiment 3 of the billing method provided by the present invention, which specifically includes the following steps:

S301、用户设备向家庭网关发起上网拨号请求,拨号请求中携带用户信息;S301. The user equipment initiates an Internet access dial-up request to the home gateway, and the dial-up request carries user information;

S302、家庭网关向网络系统发送上网拨号请求;S302. The home gateway sends a dial-up request to the network system;

S303、网络系统确定用户状态,根据用户状态确定是否允许用户上网,若允许用户上网,则建立网络访问通道;S303. The network system determines the status of the user, determines whether to allow the user to access the Internet according to the user status, and establishes a network access channel if the user is allowed to access the Internet;

网络系统根据拨号请求中携带的用户名信息确定用户状态,如果查询到用户为欠费用户或者未开通网络用户,则不允许用户上网,返回拨号失败响应,如果查询到用户为已开通网络用户且为非欠费用户,则允许用户上网,为用户设备建立和网络之间的连接通道,返回拨号成功响应。。The network system determines the user status according to the user name information carried in the dial-up request. If the user is found to be in arrears or has not opened the network, the user is not allowed to access the Internet and returns a dial-up failure response. If the user is found to be a network user and If the user is not in arrears, the user is allowed to surf the Internet, a connection channel between the user device and the network is established, and a successful dial-up response is returned. .

S304、网络系统向家庭网关返回拨号响应;S304. The network system returns a dial-up response to the home gateway;

S305、家庭网关向用户设备发送拨号响应;S305. The home gateway sends a dial-up response to the user equipment;

S306、用户设备成功访问网络;S306. The user equipment successfully accesses the network;

用户设备根据拨号响应访问网络,如果拨号响应为拨号失败响应,则用户设备连接互网络失败,如果拨号响应为拨号成功响应,则用户设备连接互网络成功,此时,用户可以开始进行上网。The user equipment accesses the network according to the dial-up response. If the dial-up response is a dial-up failure response, the user equipment fails to connect to the Internet. If the dial-up response is a dial-up success response, the user equipment successfully connects to the Internet. At this time, the user can start to surf the Internet.

S307、家庭网关根据计费策略实时监控计费,显示消费金额,并保存消费金额;S307. The home gateway monitors the billing in real time according to the billing policy, displays the consumption amount, and saves the consumption amount;

S308、用户设备与网络断开;S308. The user equipment is disconnected from the network;

S309、家庭网关将消费金额生成计费话单,并加密计费话单;S309. The home gateway generates a billing bill with the consumption amount, and encrypts the billing bill;

在用户下线后,家庭网关将消费金额生成计费话单。After the user goes offline, the home gateway will generate a billing bill with the consumption amount.

S310、家庭网关向网络系统上报计费话单;S310. The home gateway reports the billing bill to the network system;

S311、网络系统解密计费话单,验证将计费话单与自身产生的后台计费话单进行比对,验证家庭网关计费是否准确。S311. The network system decrypts the billing bill, verifies and compares the billing bill with the background billing bill generated by itself, and verifies whether the billing by the home gateway is accurate.

实施例四Embodiment four

如图4所示,为本发明提供的计费系统实施例结构示意图,具体包括:家庭网关41和网络系统42;As shown in FIG. 4 , it is a schematic structural diagram of an embodiment of a billing system provided by the present invention, specifically including: a home gateway 41 and a network system 42;

上述家庭网关41,用于接收用户设备发送的拨号请求,并将上述拨号请求发送至网络系统42;在上述网络系统42返回拨号响应之后,将上述拨号响应发送至上述用户设备,以使上述用户设备根据上述拨号响应连接网络;在上述用户设备成功上网后,根据计费策略开始实时监控计费,并实时显示本次上网消费金额;The above-mentioned home gateway 41 is configured to receive the dial-up request sent by the user equipment, and send the above-mentioned dial-up request to the network system 42; after the above-mentioned network system 42 returns a dial-up response, send the above-mentioned dial-up response to the above-mentioned user equipment, so that the above-mentioned user The device connects to the network according to the above-mentioned dial-up response; after the above-mentioned user device successfully accesses the Internet, it starts real-time monitoring and billing according to the billing policy, and displays the current online consumption amount in real time;

上述网络系统42,用于接收上述家庭网关41发送的拨号请求,并返回拨号响应。The aforementioned network system 42 is configured to receive the dialing request sent by the aforementioned home gateway 41 and return a dialing response.

进一步地,上述拨号请求包含用户名信息;上述网络系统42,具体用于:Further, the above-mentioned dial request includes user name information; the above-mentioned network system 42 is specifically used for:

根据用户名信息确定用户状态,根据上述用户状态确定是否允许上述用户上网,若允许上述用户上网,则返回拨号成功响应,若不允许上述用户上网,则返回拨号失败响应。Determine the user status according to the user name information, and determine whether to allow the above-mentioned user to access the Internet according to the above-mentioned user state. If the above-mentioned user is allowed to access the Internet, a dial-up success response is returned; if the above-mentioned user is not allowed to access the Internet, a dial-up failure response is returned.

进一步地,上述计费策略为按时计费策略;相应地,上述家庭网关41,具体用于:按预设时间周期统计上网时长,根据上述上网时长计费;Further, the above-mentioned billing strategy is an on-time billing strategy; correspondingly, the above-mentioned home gateway 41 is specifically used for: counting the duration of surfing the Internet according to a preset time period, and charging according to the duration of surfing the Internet;

或者,or,

上述计费策略为按流量计费策略;相应地,上述家庭网关41,具体用于:实时监控网络流量,根据上述网络流量计费;The above-mentioned billing strategy is a traffic-based billing strategy; correspondingly, the above-mentioned home gateway 41 is specifically used for: monitoring network traffic in real time, and charging according to the above-mentioned network traffic;

或者,or,

上述计费策略为按信令报文计费策略;相应地,上述家庭网关41,具体用于:实时统计信令报文,根据信令报文数计费;The above-mentioned charging strategy is a charging strategy based on signaling packets; correspondingly, the above-mentioned home gateway 41 is specifically used for: real-time statistics of signaling packets, and charging according to the number of signaling packets;

进一步地,上述家庭网关41,还用于:存储消费金额;在上述用户设备下网后,将上述消费金额生成计费话单,并将上述计费话单上报至上述网络系统42;相应地,上述网络系统42,还用于接收上述计费话单,并根据上述计费话单和自身生成的后台话单进行比对以验证上述家庭网关41计费的准确性。Further, the above-mentioned home gateway 41 is also used to: store the consumption amount; after the above-mentioned user equipment is offline, generate a charging bill for the above-mentioned consumption amount, and report the above-mentioned billing bill to the above-mentioned network system 42; correspondingly , the above-mentioned network system 42 is also used to receive the above-mentioned charging bill, and compare the above-mentioned charging bill with the background bill generated by itself to verify the accuracy of the above-mentioned home gateway 41 billing.

进一步地,上述家庭网关41,还用于:将上述计费话单加密;相应地,上述网络系统42,还用于:解密上述计费话单。Further, the above-mentioned home gateway 41 is also used for: encrypting the above-mentioned charging bill; correspondingly, the above-mentioned network system 42 is also used for: decrypting the above-mentioned billing bill.

本实施例所述的计费系统,用于执行上述实施例一、实施例二和实施例三所述的方法步骤,其技术效果类似,这里不再累述。The billing system described in this embodiment is used to execute the method steps described in the first embodiment, the second embodiment and the third embodiment above, and its technical effect is similar, so it will not be repeated here.

需要说明的是:对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence. Because of the present invention, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for realizing the above-mentioned method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the It includes the steps of the above method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.

最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims (4)

1.一种计费方法,其特征在于,包括:1. A billing method, characterized in that, comprising: 家庭网关接收用户设备发送的拨号请求,并将所述拨号请求发送至网络系统;The home gateway receives the dialing request sent by the user equipment, and sends the dialing request to the network system; 所述网络系统接收所述家庭网关发送的拨号请求,并返回拨号响应;The network system receives the dial request sent by the home gateway, and returns a dial response; 所述家庭网关将所述拨号响应发送至所述用户设备,以使所述用户设备根据所述拨号响应连接网络;The home gateway sends the dial-up response to the user equipment, so that the user equipment connects to the network according to the dial-up response; 所述家庭网关在所述用户设备成功上网后,根据计费策略开始实时监控计费,并实时显示本次上网消费金额;After the user equipment successfully accesses the Internet, the home gateway starts real-time monitoring and charging according to the charging strategy, and displays the current online consumption amount in real time; 其中,所述计费策略为按时计费策略;相应地,根据计费策略开始实时监控计费,包括:按预设时间周期统计上网时长,根据所述上网时长计费;或者,所述计费策略为按流量计费策略;相应地,根据计费策略开始实时监控计费,包括:实时监控网络流量,根据所述网络流量计费;或者,所述计费策略为按信令报文计费策略;相应地,根据计费策略开始实时监控计费,包括:实时统计信令报文,根据信令报文数计费;Wherein, the billing policy is an on-time billing policy; correspondingly, starting real-time monitoring and billing according to the billing policy, including: counting the duration of surfing the Internet according to a preset time period, and charging according to the duration of surfing the Internet; or, the counting The charging strategy is a billing strategy based on traffic flow; correspondingly, start real-time monitoring and charging according to the charging strategy, including: real-time monitoring of network traffic, and charging according to the network traffic; or, the charging strategy is based on signaling packets Billing strategy; correspondingly, start real-time monitoring and charging according to the billing strategy, including: real-time statistics of signaling packets, and charging according to the number of signaling packets; 所述实时显示本次上网消费金额之后,还包括:After the real-time display of the current online consumption amount, it also includes: 所述家庭网关存储所述消费金额;The home gateway stores the consumption amount; 所述家庭网关在所述用户设备下网后,将所述消费金额生成计费话单,并将所述计费话单上报至所述网络系统;After the user equipment is disconnected from the network, the home gateway generates a billing bill for the consumption amount, and reports the billing bill to the network system; 所述网络系统接收所述计费话单,并根据所述计费话单和自身生成的后台话单进行比对以验证所述家庭网关计费的准确性;The network system receives the charging bill, and compares the billing bill with the background bill generated by itself to verify the accuracy of the home gateway billing; 在将所述计费话单上报至所述网络系统之前,还包括:Before reporting the charging bill to the network system, it also includes: 所述家庭网关将所述计费话单加密;The home gateway encrypts the billing bill; 相应地,在所述网络系统接收所述计费话单之后,还包括:Correspondingly, after the network system receives the charging bill, it further includes: 所述网络系统解密所述计费话单。The network system decrypts the charging bill. 2.根据权利要求1所述的方法,其特征在于,所述拨号请求包含用户名信息;2. The method according to claim 1, wherein the dialing request includes user name information; 所述网络系统接收所述家庭网关发送的拨号请求,并返回拨号响应,包括:The network system receives the dial request sent by the home gateway, and returns a dial response, including: 根据用户名信息确定用户状态,根据所述用户状态确定是否允许所述用户上网,若允许所述用户上网,则返回拨号成功响应,若不允许所述用户上网,则返回拨号失败响应。Determine the user status according to the user name information, determine whether to allow the user to access the Internet according to the user status, if the user is allowed to access the Internet, then return a dial-up success response, if the user is not allowed to access the Internet, then return a dial-up failure response. 3.一种计费系统,其特征在于,包括:家庭网关和网络系统;3. A billing system, characterized in that it comprises: a home gateway and a network system; 所述家庭网关,用于接收用户设备发送的拨号请求,并将所述拨号请求发送至网络系统;在所述网络系统返回拨号响应之后,将所述拨号响应发送至所述用户设备,以使所述用户设备根据所述拨号响应连接网络;在所述用户设备成功上网后,根据计费策略开始实时监控计费,并实时显示本次上网消费金额;The home gateway is configured to receive a dialing request sent by the user equipment, and send the dialing request to a network system; after the network system returns a dialing response, send the dialing response to the user equipment, so that The user equipment connects to the network according to the dial-up response; after the user equipment successfully accesses the Internet, real-time monitoring and charging is started according to the charging policy, and the current online consumption amount is displayed in real time; 所述网络系统,用于接收所述家庭网关发送的拨号请求,并返回拨号响应;The network system is configured to receive the dialing request sent by the home gateway, and return a dialing response; 其中,所述计费策略为按时计费策略;相应地,所述家庭网关,具体用于:按预设时间周期统计上网时长,根据所述上网时长计费;或者,所述计费策略为按流量计费策略;相应地,所述家庭网关,具体用于:实时监控网络流量,根据所述网络流量计费;或者,所述计费策略为按信令报文计费策略;相应地,所述家庭网关,具体用于:实时统计信令报文,根据信令报文数计费;Wherein, the billing policy is an on-time billing policy; correspondingly, the home gateway is specifically used to: count the duration of the Internet according to a preset time period, and charge according to the duration of the Internet; or, the billing strategy is According to the traffic charging strategy; correspondingly, the home gateway is specifically used to: monitor network traffic in real time, and charge according to the network traffic; or, the charging strategy is a signaling message charging strategy; correspondingly , the home gateway is specifically used for: real-time statistics of signaling packets, charging according to the number of signaling packets; 所述家庭网关,还用于:存储所述消费金额;在所述用户设备下网后,将所述消费金额生成计费话单,并将所述计费话单上报至所述网络系统;相应地,所述网络系统,还用于接收所述计费话单,并根据所述计费话单和自身生成的后台话单进行比对以验证所述家庭网关计费的准确性;The home gateway is further configured to: store the consumption amount; after the user equipment is disconnected from the network, generate a billing bill for the consumption amount, and report the billing bill to the network system; Correspondingly, the network system is further configured to receive the charging bill, and compare the billing bill with the background bill generated by itself to verify the accuracy of the home gateway billing; 所述家庭网关,还用于:将所述计费话单加密;相应地,所述网络系统,还用于:解密所述计费话单。The home gateway is further configured to: encrypt the charging bill; correspondingly, the network system is further configured to: decrypt the billing bill. 4.根据权利要求3所述的系统,其特征在于,所述拨号请求包含用户名信息;4. The system according to claim 3, wherein the dialing request includes user name information; 所述网络系统,具体用于:The network system is specifically used for: 根据用户名信息确定用户状态,根据所述用户状态确定是否允许所述用户上网,若允许所述用户上网,则返回拨号成功响应,若不允许所述用户上网,则返回拨号失败响应。Determine the user status according to the user name information, determine whether to allow the user to access the Internet according to the user status, if the user is allowed to access the Internet, then return a dial-up success response, if the user is not allowed to access the Internet, then return a dial-up 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 中国联合网络通信集团有限公司 Method and device for charging online time
CN107294738B (en) * 2017-06-12 2019-08-27 中国联合网络通信集团有限公司 Method and device for processing communication billing
CN108880934B (en) * 2018-06-04 2020-11-27 网宿科技股份有限公司 A method and device for data traffic statistics based on blockchain
CN110972091B (en) * 2018-09-30 2021-06-08 中国移动通信集团重庆有限公司 Communication charging method, apparatus, device, 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 华为技术有限公司 Method and device for billing according to service access duration
CN102088684B (en) * 2009-12-04 2013-08-07 中国移动通信集团公司 Accounting management system and method
CN102340527A (en) * 2010-07-20 2012-02-01 中国联合网络通信集团有限公司 Realization method of 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
US20170019248A1 (en) Homomorphic Based Method For Distributing Data From One or More Metering Devices To Two or More Third Parties
CN105191210B (en) Method for policy control and charge for D2D service
CN106161378A (en) Security service device, method and business processing device, method and system
JP7653008B2 (en) Secure tokens for controlling access to resources in a resource distribution network - Patents.com
CN103581118A (en) Resource convergence gateway and cross-platform authorization method and system
CN101930516B (en) Method for using license of embedded equipment
CN108881000A (en) Gateway, third-party platform, payment system and method
CN101977116A (en) Flow charging method and client side
CA3157850C (en) Secure tokens for controlling access to a resource in a resource distribution network
CN107800545B (en) A bill calculation system and method based on edge computing
CN103621125B (en) The system and method that OpenID and communication network are integrated
JP7607039B2 (en) Secure tokens for controlling access to resources in a resource distribution network - Patents.com
CN105812428B (en) Family's public resource management method and system
CN104539428B (en) Dynamic reconfiguration method in a kind of cluster coded communication
CN104333854B (en) WiFi charging methods and system
WO2011140753A1 (en) Method, terminal and system for achieving difference charging of fixed wireless phone among cells
CN101848228B (en) Method and system for authenticating computer terminal server ISP identity by using SIM cards
CN109995744A (en) A kind of authorization management method, device and storage medium
CN207184519U (en) A gateway device and payment system
CN105939206B (en) The management method and system of electronic equipment
CN109155913A (en) The determination method and device of method for connecting network, security node
US9497613B1 (en) System, method, and computer program for providing subscriber selected roaming mobile services
CN103685288B (en) Data guard method and equipment
CN103906024A (en) Business processing method, device, mobile communication terminal and SIM card

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