[go: up one dir, main page]

CN111222861B - Method, device and computing device for recharging after arrears - Google Patents

Method, device and computing device for recharging after arrears Download PDF

Info

Publication number
CN111222861B
CN111222861B CN201811428882.6A CN201811428882A CN111222861B CN 111222861 B CN111222861 B CN 111222861B CN 201811428882 A CN201811428882 A CN 201811428882A CN 111222861 B CN111222861 B CN 111222861B
Authority
CN
China
Prior art keywords
webpage
address
recharge
user
terminal device
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
CN201811428882.6A
Other languages
Chinese (zh)
Other versions
CN111222861A (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 Mobile Communications Group Co Ltd
China Mobile Group Qinghai Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Qinghai 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 Mobile Communications Group Co Ltd, China Mobile Group Qinghai Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201811428882.6A priority Critical patent/CN111222861B/en
Publication of CN111222861A publication Critical patent/CN111222861A/en
Application granted granted Critical
Publication of CN111222861B publication Critical patent/CN111222861B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/085Payment architectures involving remote charge determination or related payment systems
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/22Payment schemes or models
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0641Electronic shopping [e-shopping] utilising user interfaces specially adapted for shopping
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/40Business processes related to the transportation industry

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Finance (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Development Economics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Primary Health Care (AREA)
  • Tourism & Hospitality (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a recharging method, device and computing equipment after arrearage, which are used for solving the technical problem of lower recharging efficiency in the prior art. The method comprises the following steps: receiving a webpage use request sent by a terminal device, wherein the webpage use request comprises an address of a webpage which is requested to be accessed by a user of the terminal device and APN information; determining that the user is arrearage user according to the APN information of the user; redirecting the address of the webpage which is requested to be accessed into the address of the recharging webpage according to the redirection rule; and sending the recharging page resource of the recharging webpage to the terminal equipment, so that the terminal equipment displays the recharging webpage according to the recharging page resource and carries out online recharging based on the recharging webpage.

Description

一种欠费后的充值方法、装置及计算设备Method, device and computing device for recharging after arrears

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种欠费后的充值方法、装置及计算设备。The invention relates to the technical field of communications, in particular to a method, device and computing device for recharging after arrears.

背景技术Background technique

随着科技和网络的不断发展,人们在日常生活中越来越广泛的使用终端设备进行通话、视频、看娱乐节目等活动,为人们的生活带来相当多的便利,然而,当通讯资费(例如话费)将要使用完或已经使用完时,用户需要及时充值,若通讯资费使用完或者欠费之后,则可能停机而影响正常的通讯功能,例如,用户使用终端设备(例如手机)通话可能会被阻止,当然也无法再使用数据流量,此时用户需要去往当地营业厅通过柜面充值或者找到有无线网络的地方才能在线充值,进而恢复手机的通讯功能。With the continuous development of technology and network, people use terminal equipment more and more widely in daily life to carry out activities such as calling, video, watching entertainment programs, etc., which brings considerable convenience to people's life. However, when communication charges (such as When the call charge) is about to be used up or has been used up, the user needs to recharge in time. If the communication charge is used up or in arrears, it may stop and affect the normal communication function. Block, of course, can no longer use the data flow, at this time the user needs to go to the local business hall to recharge through the counter or find a place with wireless network to recharge online, and then restore the communication function of the mobile phone.

现有技术中,用户需要去往营业厅或者通过其它方式才可以进行充值,这样的话,需要用户花费较多的时间,且充值过程繁琐,所以充值效率较低,有时候无法及时充值。In the prior art, the user needs to go to a business hall or use other methods to recharge. In this case, the user needs to spend a lot of time, and the recharging process is cumbersome, so the recharging efficiency is low, and sometimes it cannot be recharged in time.

发明内容Contents of the invention

本发明实施例提供一种欠费后的充值方法、装置及计算设备,用于解决现有技术中的充值效率较低的技术问题。Embodiments of the present invention provide a method, device and computing device for recharging after arrears, which are used to solve the technical problem of low recharging efficiency in the prior art.

第一方面,提供一种欠费后的充值方法,所述方法包括:In the first aspect, a method for recharging after arrears is provided, the method includes:

接收终端设备发送的网页使用请求,其中,所述网页使用请求包括所述终端设备的用户请求访问的网页的地址和用户APN信息;receiving a webpage use request sent by the terminal device, wherein the webpage use request includes the address of the webpage requested by the user of the terminal device and user APN information;

根据所述用户APN信息,确定所述用户为欠费用户;According to the APN information of the user, determine that the user is an arrears user;

根据重定向规则,将所述请求访问的网页的地址重定向为充值网页的地址;According to the redirection rule, redirecting the address of the requested webpage to the address of the recharge webpage;

将所述充值网页的充值页面资源发送给所述终端设备,以使所述终端设备根据所述充值页面资源显示所述充值网页并基于所述充值网页在线充值。Sending the recharging page resource of the recharging webpage to the terminal device, so that the terminal device displays the recharging webpage according to the recharging page resource and recharges online based on the recharging webpage.

可选的,所述网页使用请求是基于短信中的网页链接地址触发的,或者,所述网页使用请求是基于浏览器触发的。Optionally, the web page use request is triggered based on the web page link address in the short message, or the web page use request is triggered based on a browser.

可选的,所述根据重定向规则,将所述请求访问的网页的地址重定向为充值网页的地址,包括:Optionally, according to the redirection rule, redirecting the address of the requested webpage to the address of the recharge webpage includes:

检测所述请求访问的网页的地址是否属于预定地址集合;Detecting whether the address of the webpage requesting access belongs to a predetermined address set;

若属于,则将所述请求访问的网页的地址重定向为所述充值网页的地址。If so, redirecting the address of the webpage requesting access to the address of the recharge webpage.

可选的,所述根据重定向规则,将所述请求访问的网页的地址重定向为充值网页的地址,包括:Optionally, according to the redirection rule, redirecting the address of the requested webpage to the address of the recharge webpage includes:

将所述请求访问的网页的地址重定向为跳板网页的地址,其中,所述跳板网页包括预定显示内容,或者,所述跳板网页的地址包括预定地址信息;Redirecting the address of the webpage requesting access to the address of the springboard webpage, wherein the springboard webpage includes predetermined display content, or, the address of the springboard webpage includes predetermined address information;

将所述跳板网页的地址重定向为所述充值网页的地址。Redirecting the address of the springboard webpage to the address of the recharge webpage.

可选的,所述将所述请求访问的网页的地址重定向为跳板网页的地址,包括:Optionally, the redirecting the address of the webpage requesting access to the address of the springboard webpage includes:

控制所述终端设备显示所述跳板网页;controlling the terminal device to display the springboard webpage;

在所述跳板网页显示达到预定时长时,将所述跳板网页的地址重定向为所述充值网页的地址。When the springboard webpage is displayed for a predetermined duration, the address of the springboard webpage is redirected to the address of the recharge webpage.

可选的,所述将所述充值网页的充值页面资源发送给所述终端设备,包括:Optionally, the sending the recharge page resource of the recharge webpage to the terminal device includes:

确定所述用户的电话号码和欠费信息;Determine the phone number and arrears information of the user;

将所述电话号码、所述欠费信息与所述充值页面资源发送给所述终端设备,以使所述终端设备在所述充值网页中显示所述电话号码和所述欠费信息。Sending the phone number, the arrears information, and the recharge page resource to the terminal device, so that the terminal device displays the phone number and the arrears information on the recharge web page.

可选的,在将所述充值网页的充值页面资源发送给所述终端设备之后,所述方法还包括:Optionally, after sending the recharge page resource of the recharge webpage to the terminal device, the method further includes:

接收所述终端设备发送的确认充值请求,其中,所述确认充值请求包括待充值的电话号码、充值金额和支付方式;Receive a confirmation recharge request sent by the terminal device, wherein the confirmation recharge request includes a phone number to be recharged, a recharge amount, and a payment method;

确定与所述支付方式对应的支付网页;determining the payment web page corresponding to the payment method;

将所述支付网页的支付页面资源发送给所述终端设备,以使所述终端设备基于所述支付网页完成对所述待充值的电话号码的所述充值金额的支付。Sending the payment page resource of the payment webpage to the terminal device, so that the terminal device completes the payment of the recharge amount of the phone number to be recharged based on the payment webpage.

第二方面,提供一种欠费后的充值装置,所述装置包括:In a second aspect, a device for recharging after arrears is provided, the device includes:

接收模块,用于接收终端设备发送的网页使用请求,其中,所述网页使用请求包括所述终端设备的用户请求访问的网页的地址和用户APN信息;A receiving module, configured to receive a webpage use request sent by a terminal device, wherein the webpage use request includes the address of the webpage that the user of the terminal device requests to visit and user APN information;

确定模块,用于根据所述用户APN信息,确定所述用户为欠费用户;A determining module, configured to determine that the user is an arrears user according to the user's APN information;

重定向模块,用于根据重定向规则,将所述请求访问的网页的地址重定向为充值网页的地址;A redirection module, configured to redirect the address of the requested webpage to the address of the recharge webpage according to the redirection rule;

充值模块,用于将所述充值网页的充值页面资源发送给所述终端设备,以使所述终端设备根据所述充值页面资源显示所述充值网页并基于所述充值网页在线充值。The recharging module is configured to send the recharging page resource of the recharging webpage to the terminal device, so that the terminal device displays the recharging webpage according to the recharging page resource and recharges online based on the recharging webpage.

可选的,所述网页使用请求是基于短信中的网页链接地址触发的,或者,所述网页使用请求是基于浏览器触发的。Optionally, the web page use request is triggered based on the web page link address in the short message, or the web page use request is triggered based on a browser.

可选的,所述重定向模块,用于:Optionally, the redirection module is used for:

检测所述请求访问的网页的地址是否属于预定地址集合;Detecting whether the address of the webpage requesting access belongs to a predetermined address set;

若属于,则将所述请求访问的网页的地址重定向为所述充值网页的地址。If so, redirecting the address of the webpage requesting access to the address of the recharge webpage.

可选的,所述重定向模块,用于:Optionally, the redirection module is used for:

将所述请求访问的网页的地址重定向为跳板网页的地址,其中,所述跳板网页包括预定显示内容,或者,所述跳板网页的地址包括预定地址信息;Redirecting the address of the webpage requesting access to the address of the springboard webpage, wherein the springboard webpage includes predetermined display content, or, the address of the springboard webpage includes predetermined address information;

将所述跳板网页的地址重定向为所述充值网页的地址。Redirecting the address of the springboard webpage to the address of the recharge webpage.

可选的,所述重定向模块,用于:Optionally, the redirection module is used for:

控制所述终端设备显示所述跳板网页;controlling the terminal device to display the springboard webpage;

在所述跳板网页显示达到预定时长时,将所述跳板网页的地址重定向为所述充值网页的地址。When the springboard webpage is displayed for a predetermined duration, the address of the springboard webpage is redirected to the address of the recharge webpage.

可选的,所述充值模块,用于:Optionally, the recharge module is used for:

确定所述用户的电话号码和欠费信息;Determine the phone number and arrears information of the user;

将所述电话号码、所述欠费信息与所述充值页面资源发送给所述终端设备,以使所述终端设备在所述充值网页中显示所述电话号码和所述欠费信息。Sending the phone number, the arrears information, and the recharge page resource to the terminal device, so that the terminal device displays the phone number and the arrears information on the recharge web page.

可选的,所述装置还包括支付模块,用于:Optionally, the device also includes a payment module for:

接收所述终端设备发送的确认充值请求,其中,所述确认充值请求包括待充值的电话号码、充值金额和支付方式;Receive a confirmation recharge request sent by the terminal device, wherein the confirmation recharge request includes a phone number to be recharged, a recharge amount, and a payment method;

确定与所述支付方式对应的支付网页;determining the payment web page corresponding to the payment method;

将所述支付网页的支付页面资源发送给所述终端设备,以使所述终端设备基于所述支付网页完成对所述待充值的电话号码的所述充值金额的支付。Sending the payment page resource of the payment webpage to the terminal device, so that the terminal device completes the payment of the recharge amount of the phone number to be recharged based on the payment webpage.

第三方面,提供一种计算设备,所述计算设备包括:In a third aspect, a computing device is provided, and the computing device includes:

存储器,用于存储程序指令;memory for storing program instructions;

处理器,用于调用所述存储器中存储的程序指令,按照获得的程序指令执行第一方面中的任一方法包括的步骤。The processor is configured to call the program instructions stored in the memory, and execute the steps included in any one of the methods in the first aspect according to the obtained program instructions.

第四方面,提供一种存储介质,所述存储介质存储有计算机可执行指令,所述计算机可执行指令用于使计算机执行第一方面中的任一方法包括的步骤。In a fourth aspect, a storage medium is provided, the storage medium stores computer-executable instructions, and the computer-executable instructions are used to cause a computer to execute the steps included in any one of the methods in the first aspect.

本发明实施例中,当接收到终端设备发送的网页使用请求时,可以根据网页使用请求中包括的用户APN信息来判断用户是否是欠费用户,当确定用户为欠费用户时则可以为该用户提供一种能够在线充值的方式,即,可以根据重定向规则将网页使用请求中包括的用户请求访问的网页的地址重定向为充值网页的地址,进而再将充值网页的充值页面资源发送给终端设备,以使终端设备根据充值页面资源显示充值网页,进而使得用户可以基于充值网页完成在线充值,也就是说,本发明实施例提供了一种基于网页使用请求而触发的在线充值方式,对于欠费用户而言,即使由于欠费而无法通过移动流量进行在线充值,但是却可以通过网页使用请求而触发的方式进入到充值页面并进行在线充值,这样的话,在用户欠费时可以实现及时的充值缴费,确保充值的及时性,从而可以尽快地恢复通讯功能,并且,由于无需像现有技术那样去往营业厅或者找到无线网络才能进行充值,充值过程简单高效,所以可以提高充值效率,增强用户的使用体验。相当于是,通过本发明实施例的技术方案,可以为欠费用户提供绿色充值通道,这样可以在一定程度上增加用户粘度,提升品牌形象。In the embodiment of the present invention, when receiving the web page use request sent by the terminal device, it can be judged whether the user is an arrears user according to the user APN information included in the web page use request, and when it is determined that the user is an arrears user, it can be the The user provides a way to recharge online, that is, according to the redirection rules, the address of the webpage requested by the user included in the webpage usage request can be redirected to the address of the recharge webpage, and then the recharge page resources of the recharge webpage can be sent to The terminal device, so that the terminal device displays the recharge webpage according to the recharge page resource, so that the user can complete the online recharge based on the recharge webpage. That is to say, the embodiment of the present invention provides an online recharge method triggered based on a webpage use request. For users who are in arrears, even if they cannot recharge online through mobile traffic due to arrears, they can enter the recharge page and perform online recharge by triggering a web page usage request. To ensure the timeliness of recharge, so that the communication function can be restored as soon as possible, and because there is no need to go to the business hall or find a wireless network to recharge, the recharge process is simple and efficient, so the recharge efficiency can be improved. Enhance user experience. It is equivalent to that, through the technical solutions of the embodiments of the present invention, a green recharge channel can be provided for users who are in arrears, which can increase user viscosity to a certain extent and improve brand image.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only of the present invention. some examples.

图1为现有停机业务的运营商侧的场景示意图;FIG. 1 is a schematic diagram of a scene on the operator side of an existing downtime service;

图2为本发明实施例中的应用场景示意图;FIG. 2 is a schematic diagram of an application scenario in an embodiment of the present invention;

图3为本发明实施例中的欠费后充值的方法的流程图;Fig. 3 is a flowchart of a method for recharging after arrears in an embodiment of the present invention;

图4为本发明实施例中的充值网页在终端设备中显示的示意图;4 is a schematic diagram of a recharge webpage displayed in a terminal device in an embodiment of the present invention;

图5为本发明实施例中的支付网页在终端设备中显示的示意图;5 is a schematic diagram of a payment webpage displayed in a terminal device in an embodiment of the present invention;

图6为本发明实施例中的终端设备中的一种支付方式的支付示意图;FIG. 6 is a payment schematic diagram of a payment method in a terminal device in an embodiment of the present invention;

图7为本发明实施例中的终端设备中的另一种支付方式的支付示意图;Fig. 7 is a payment schematic diagram of another payment method in the terminal device in the embodiment of the present invention;

图8为本发明实施例中的终端设备中的另一种支付方式的支付示意图;Fig. 8 is a payment schematic diagram of another payment method in the terminal device in the embodiment of the present invention;

图9为本发明实施例中的欠费后充值的装置的示意图;Fig. 9 is a schematic diagram of a device for recharging after arrears in an embodiment of the present invention;

图10为本发明实施例中的计算设备的结构示意图。FIG. 10 is a schematic structural diagram of a computing device in an embodiment of the present invention.

具体实施方式Detailed ways

为使本发明的目的、技术方案和优点更加清楚明白,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。在不冲突的情况下,本发明中的实施例及实施例中的特征可以相互任意组合。并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。In order to make the purpose, technical solutions and advantages 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 accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only 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 making creative efforts belong to the protection scope of the present invention. In the case of no conflict, the embodiments and the features in the embodiments of the present invention can be combined arbitrarily with each other. Also, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

本发明的说明书和权利要求书及上述附图中的术语“第一”和“第二”是用于区别不同对象,而非用于描述特定顺序。此外,术语“包括”以及它们任何变形,意图在于覆盖不排他的保护。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish different objects, rather than to describe a specific order. Furthermore, the term "comprises", as well as any variations thereof, is intended to cover non-exclusive protections. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally further includes For other steps or units inherent in these processes, methods, products or apparatuses.

本发明实施例中,“多个”可以表示至少两个,例如可以是两个、三个或者更多个,本申请实施例不做限制。另外,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,在不做特别说明的情况下,一般表示前后关联对象是一种“或”的关系。In the embodiment of the present invention, "multiple" may mean at least two, for example, two, three or more, which is not limited in this embodiment of the present application. In addition, the term "and/or" in this article is only an association relationship describing associated objects, which means that there may be three relationships, for example, A and/or B may mean: A exists alone, A and B exist at the same time, There are three cases of B alone. In addition, the character "/" in this article, unless otherwise specified, generally indicates that the contextual objects are an "or" relationship.

现有技术中停机业务的运营商侧的场景示意图,请参见图1所示,首先,由业务运营支撑系统(Business&Operation Support System,BOSS)判断用户是否为欠费用户,若确定用户为欠费用户,则通知归属签约用户服务器(Home Subscriber Server,HSS)或归属位置寄存器(Home Location Register,HLR)将欠费用户网络接入点名称(Access PointName,APN)修改为特殊APN,然后服务GPRS支持节点(Serving GPRS Support Node、SGSN)或关键控制节点(Mobility Management Entity、MME)从HSS或HLR处获得欠费用户特殊APN,然后通用网关(universal gateway,UGW)/网关GPRS支持节点(Gateway GPRS SupportNode,GGSN)根据该欠费用户特殊APN匹配访问控制列表(Access Control List,ACL)阻断规则,进而欠费用户使用终端设备使用移动网络即流量被阻断,导致欠费用户无法上网,进而欠费用户无法访问网页。Please refer to Figure 1 for a schematic diagram of the scene on the operator side of the downtime service in the prior art. First, the business operation support system (Business&Operation Support System, BOSS) judges whether the user is an arrears user, and if it is determined that the user is an arrears user , then notify the Home Subscriber Server (Home Subscriber Server, HSS) or Home Location Register (Home Location Register, HLR) to modify the arrears user network access point name (Access PointName, APN) to a special APN, and then serve the GPRS support node (Serving GPRS Support Node, SGSN) or key control node (Mobility Management Entity, MME) obtains the special APN of arrears users from HSS or HLR, and then the universal gateway (universal gateway, UGW)/gateway GPRS support node (Gateway GPRS SupportNode, GGSN) matches the access control list (ACL) blocking rules according to the special APN of the arrears user, and then the arrears user uses the terminal device to use the mobile network, that is, the traffic is blocked, causing the arrears user to be unable to access the Internet, and then the arrears Users cannot access web pages.

现有技术中,用户在欠费后可以选择身边能够正常上网的其他用户替自己充值,或者找到可以使用无线网络的地方连接无线网络后进行在线充值,还可以去往营业厅通过柜面充值的方式完成充值,这样的话,需要用户花费较多的时间,且充值过程繁琐,所以,现有技术中存在充值效率低的技术问题。In the existing technology, after arrears, the user can choose other users around him who can access the Internet to recharge for himself, or find a place where the wireless network can be used to connect to the wireless network and recharge online, or go to the business hall to recharge through the counter In this way, the user needs to spend more time, and the recharging process is cumbersome. Therefore, there is a technical problem of low recharging efficiency in the prior art.

鉴于此,本发明提供了一种欠费后充值的方法,通过本发明实施例中的方法可以解决前述的充值效率低的问题,也就是说,欠费用户可以自己直接在终端设备上进入充值页面进行在线充值,整个充值过程简单快捷,提高了充值效率,进而提升用户的充值体验。In view of this, the present invention provides a method for recharging after arrears, through the method in the embodiment of the present invention can solve the aforementioned problem of low recharging efficiency, that is to say, users who are in arrears can directly enter the recharging method on the terminal device Online recharging on the page, the whole recharging process is simple and fast, which improves the recharging efficiency and improves the user's recharging experience.

下面结合说明书附图介绍本发明实施例提供的技术方案。The following describes the technical solutions provided by the embodiments of the present invention in conjunction with the drawings in the description.

在介绍本发明实施例提供的方案之前,先介绍本发明的应用场景,请参见图2所示,如前所述,首先由BOSS判断用户为欠费用户,然后BOSS可以为用户签约欠费充值业务,进一步的,BOSS还将通知HSS或HLR将欠费用户APN修改为特殊APN,然后SGSN或MME从HSS或HLR处获得欠费用户特殊APN,并将该特殊APN发送UGW或GGSN,然后UGW向策略与计费规则功能单元(Policy and Charging Rules Function,PCRF)发送请求策略,请求策略中携带有用户欠费特殊APN,进而PCRF判断欠费用户APN是否为特殊APN,若是的话,则下发业务限制以及重定向规则至UGW或GGSN,然后当UGW检测到用户发送的网页使用请求时,则将用户请求访问的网页的地址重定向到充值页面的地址,进而欠费用户可以在充值页面进行在线充值。Before introducing the solution provided by the embodiment of the present invention, first introduce the application scenario of the present invention, please refer to Figure 2, as mentioned above, firstly, the BOSS judges that the user is an arrears user, and then the BOSS can sign up for the user to recharge the arrears business, further, BOSS will notify HSS or HLR to modify the APN of the arrears user to a special APN, and then SGSN or MME will obtain the special APN of the arrears user from HSS or HLR, and send the special APN to UGW or GGSN, and then UGW Send a request policy to the policy and charging rules function (Policy and Charging Rules Function, PCRF), the request policy carries the special APN of the user's arrears, and then PCRF judges whether the APN of the arrears user is a special APN, and if so, sends it Business restrictions and redirection rules are sent to UGW or GGSN, and then when UGW detects a webpage usage request sent by a user, it redirects the address of the webpage that the user requests to visit to the address of the recharge page, and then the arrears users can make payment on the recharge page Recharge online.

在前述的应用场景中,BOSS可以通知HSS或HLR将欠费用户APN修改为特殊APN,具体的,可以为修改现有的停机业务系统中对用户APN匹配的ACL,放通ACL设置的阻塞,进而打开防火墙对欠费用户特殊APN(Temp.qhAPN)地址池的阻断,即防火墙不再阻断欠费用户特殊APN下的流量的使用。In the aforementioned application scenarios, the BOSS can notify the HSS or HLR to modify the APN of the arrears users to a special APN. Specifically, it can modify the ACL that matches the user APN in the existing downtime service system, and release the blocking set by the ACL. Then open the blocking of the firewall to the special APN (Temp.qhAPN) address pool of the arrears users, that is, the firewall no longer blocks the use of the traffic under the special APN of the arrears users.

在前述的应用场景中,PCRF会向用户发送短信提醒通知,设置短信的预定发送周期,具体的,预定发送周期可以是一天一次也可以是一周几次,本发明实施例中不做限制。进一步地,本发明实施例中,对向用户发送短信提醒通知时,还添加有短信抑制,防止提醒短信发送过多,可以设置短信抑制周期为每天一次,即一天之内如果发送过提醒短信则在该天之内不再发送。In the foregoing application scenario, the PCRF will send a short message reminder to the user, and set the scheduled sending cycle of the short message. Specifically, the scheduled sending cycle can be once a day or several times a week, which is not limited in the embodiment of the present invention. Further, in the embodiment of the present invention, when sending SMS reminder notifications to users, SMS suppression is also added to prevent too many reminder messages from being sent. The SMS suppression cycle can be set to once a day, that is, if a reminder message is sent within a day Do not send again within that day.

进一步地,请参见图3,本发明实施例提供一种欠费后的充值方法,该方法的具体流程描述如下。Further, referring to FIG. 3 , an embodiment of the present invention provides a method for recharging after arrears, and the specific flow of the method is described as follows.

步骤301:接收终端设备发送的网页使用请求,其中,网页使用请求包括终端设备的用户请求访问的网页的地址和用户APN信息。Step 301: Receive a webpage use request sent by a terminal device, wherein the webpage use request includes an address of a webpage requested by a user of the terminal device and user APN information.

在本发明实施例中,接收到用户使用终端设备发送的网页使用请求,具体的,网页使用请求中包括终端设备对应的用户请求访问的网页的地址和用户APN信息,进一步地,在本发明的具体实施过程网页的地址可以是统一资源定义符(Uniform Resource Locator,URL)地址,也可以是互联网协议地址(Internet Protocol Address,IP)地址,当然还可以是其它可以打开请求访问的网页的地址。In the embodiment of the present invention, the webpage use request sent by the user using the terminal device is received. Specifically, the webpage use request includes the address of the webpage corresponding to the terminal device that the user requests to visit and the user APN information. Further, in the present invention The address of the webpage in the specific implementation process may be a Uniform Resource Locator (Uniform Resource Locator, URL) address, or an Internet Protocol Address (Internet Protocol Address, IP) address, and of course it may also be the address of other webpages that can be opened and requested for access.

在本发明实施例中,前述的网页使用请求可以是基于短信中的网页链接地址触发的,进一步地,可以是由运营商向欠费用户发送的提醒短信中的网页链接地址而触发的网页使用请求,例如以运营商为中国移动青海省分公司为例,中国移动青海省分公司向欠费用户发送的短信可以是:“尊敬的客户,您的手机现已欠费,为了不影响您的正常使用,请通过手机网络(非wifi)使用免流量充值绿色通道http://dx.10086.cn/lvsejf或到当地营业网点交费,具体欠费情况请详询10086”。然后,用户可以基于中国移动青海省分公司发送的短信中的http://dx.10086.cn/lvseif链接地址来触发网页使用请求,进而接收到用户使用终端设备发送的网页使用请求。In the embodiment of the present invention, the aforementioned web page use request may be triggered based on the web page link address in the text message, and further, the web page use request may be triggered by the web page link address in the reminder text message sent by the operator to the arrears user. For example, if the operator is China Mobile Qinghai Branch as an example, the text message sent by China Mobile Qinghai Branch to the arrears user can be: "Dear customer, your mobile phone is now in arrears. In order not to affect your For normal use, please use the mobile phone network (not wifi) to use the free data recharge green channel http://dx.10086.cn/lvsejf or go to the local business outlet to pay the fee. For details about the arrears, please refer to 10086". Then, the user can trigger a webpage usage request based on the http://dx.10086.cn/lvseif link address in the short message sent by China Mobile Qinghai Provincial Branch, and then receive the webpage usage request sent by the user using the terminal device.

进一步地,基于短信中的网页链接地址而触发网页使用请求的方式,由于是运营商向用户发送的链接地址,从而可以让用户更加确定相信链接地址的真实性,可以使用户更好的了解自己的通讯资费情况,以便及时进行充值操作,提升用户的体验,也就是说,基于短信中的网页链接地址而出发网页使用请求的方式,可以为用户在了解通讯资费的情况下及时的进行充值操作。Further, the method of triggering the request for using the webpage based on the webpage link address in the short message, because it is the link address sent by the operator to the user, can make the user more sure that the authenticity of the link address can make the user better understand himself In order to recharge in a timely manner and improve user experience, that is to say, the method of sending a web page usage request based on the webpage link address in the text message can help users recharge in a timely manner while knowing the communication charges .

在具体的实施过程中,前述的网页使用请求还可以是基于浏览器触发的,例如,用户在不知道自己是否为欠费的情况下,使用终端设备中的浏览器浏览常用网页,进而触发网页使用请求,这样的触发网页使用请求的方式,是比较方便用户的。另外,还可以是运营商向用户发送了短信,用户可以使用终端设备中的常用网页触发网页使用请求还可以基于短信中的链接地址而触发网页使用请求,进一步的,具体的网页使用请求的触发方式,本发明实施例中不做限制,根据实际实施情况选择。In the specific implementation process, the aforementioned web page use request can also be triggered based on the browser. For example, the user uses the browser in the terminal device to browse the commonly used web pages without knowing whether he is in arrears, and then triggers the web page Using requests, such a method of triggering web page usage requests, is more convenient for users. In addition, it can also be that the operator sends a short message to the user, and the user can trigger the web page use request by using the common web page in the terminal device, or trigger the web page use request based on the link address in the short message. Further, the triggering of the specific web page use request The mode is not limited in the embodiment of the present invention, and is selected according to actual implementation conditions.

步骤302:根据用户APN信息,确定用户为欠费用户。Step 302: According to the user's APN information, determine that the user is an arrears user.

如前所述,在具体的实施过程中,当接收到终端设备发送的网页使用请求时,还可以根据网页使用请求中包括终端设备的用户APN来确定用户是否为欠费用户,进一步地,APN指一种网络接入技术,是通过终端设备例如手机上网时必须配置的一个参数,它决定了终端设备通过哪种接入方式来访问网络,对于终端设备的使用用户来说,可以访问的外部网络类型有很多,例如:因特网(Internet)、无线应用通讯协议(Wireless ApplicationProtocol,WAP)网站、集团企业内部网络、行业内部专用网络,而不同的APN所能访问的范围以及接入的方式是不同的,具体的,在本发明实施例中,用户APN是指运营商分配移动网络。As mentioned above, in the specific implementation process, when receiving the web page use request sent by the terminal device, it can also be determined whether the user is an arrears user according to the user APN of the terminal device included in the web page use request. Further, the APN Refers to a network access technology, which is a parameter that must be configured when surfing the Internet through a terminal device such as a mobile phone. It determines which access method the terminal device uses to access the network. For the user of the terminal device, the external There are many types of networks, such as: Internet (Internet), Wireless Application Protocol (WAP) website, group enterprise internal network, industry internal private network, and different APNs can access different ranges and access methods. Specifically, in this embodiment of the present invention, the user APN refers to the mobile network allocated by the operator.

进一步的,可以根据用户APN信息,确定用户为欠费用户,具体的,在实际实施过程中,发送网络使用请求的终端设备对应的用户也可能是可以正常使用移动网络的用户,而这些用户是没有进行欠费后充值的需求的,因此,为了更精准的服务用户,需要根据网页使用请求中包括的用户APN信息来确定出用户是否为欠费用户,从而更有针对性的为用户服务,从而提升用户体验。Further, according to the user APN information, it can be determined that the user is an arrears user. Specifically, in the actual implementation process, the user corresponding to the terminal device that sends the network use request may also be a user who can normally use the mobile network, and these users are There is no need to recharge after arrears. Therefore, in order to serve users more accurately, it is necessary to determine whether the user is an arrears user based on the user APN information included in the web page usage request, so as to serve users more targetedly. Thereby improving user experience.

步骤303:根据重定向规则,将请求访问的网页的地址重定向为充值网页的地址。Step 303: According to the redirection rule, redirect the address of the requested webpage to the address of the recharge webpage.

在本发明实施例中,如前所述,当确定发送网页使用请求的终端设备对应的用户有充值需求即该用户为欠费用户时,获取重定向规则,然后根据重定向规则,将前述的请求访问的网页的地址重定向为充值网页的地址,具体的,重定向就是通过各种方法将各种网络请求重新定个方向转到其它位置,即将欠费用户请求访问的网页的地址重定向为充值网页的地址。In the embodiment of the present invention, as mentioned above, when it is determined that the user corresponding to the terminal device that sends the web page usage request has a recharge demand, that is, the user is an arrears user, the redirection rule is obtained, and then the aforementioned The address of the web page requested to be accessed is redirected to the address of the recharge web page. Specifically, redirection is to redirect various network requests to other locations through various methods, that is, to redirect the address of the web page requested by the arrears user It is the address of the recharge web page.

在本发明实施例中,大致可以采用检测请求访问的网页地址是否属于预定地址集合和将请求访问的网页的地址重定向为跳板网页的地址,进而在重定向为充值网页的地址两种方式来重定向为充值网页的地址的方式。其中,检测请求访问的网页地址是否属于预定地址集合从而将请求访问的网页地址重定向到充值网页的地址的方式,由于是判断用户请求访问的网页的地址是否属于预定地址集合,若用户请求访问的网页的地址属于预定地址集合,则将请求访问的网页的地址重定向为充值网页的地址,该方式可以为不同的欠费用户的使用网页习惯,提供更好的服务,进一步地,该方式无需再进入到一个其他的网页,可以使用户在浏览自己熟悉的网页的时候进入到充值页面,提高在线充值的效率,进而提升用户充值体验;将请求访问的网页的地址重定向为跳板网页的地址,例如是运营商的品牌展示网页,然后将跳板网页的地址重定向为充值网页的地址的方式,也就是说,在前述的方式上还提供了另一种可选的方案,增强方案的适用性和灵活性,并且由于是向用户展示运营商的品牌网页,可以让用户更加相信网页的可靠性,进一步地提升用户的使用体验。In the embodiment of the present invention, two methods can be used: detecting whether the address of the webpage that requests access belongs to a predetermined address set and redirecting the address of the webpage that requests access to the address of the springboard webpage, and then redirecting it to the address of the recharge webpage. The method of redirecting to the address of the recharge web page. Among them, the method of detecting whether the webpage address requested to visit belongs to a predetermined address set and thereby redirecting the webpage address requested to visit to the address of the recharge webpage, because it is to judge whether the address of the webpage that the user requests to visit belongs to the predetermined address set, if the user requests to visit If the address of the web page belongs to the predetermined address set, the address of the requested web page is redirected to the address of the recharge web page. This method can provide better services for different users who are in arrears for using web pages. Further, this method There is no need to enter another webpage, so that users can enter the recharge page when browsing familiar webpages, improve the efficiency of online recharge, and then improve the user recharge experience; redirect the address of the requested webpage to the springboard webpage The address, for example, is the brand display webpage of the operator, and then redirects the address of the springboard webpage to the address of the recharge webpage. Applicability and flexibility, and because the operator's brand webpage is displayed to users, it can make users more confident in the reliability of the webpage and further improve the user experience.

为了便于本领域技术人员理解,以下列举几种可能的方式来说明如何根据重定向规则将请求访问的网页的地址重定向为充值网页的地址,应该理解的是,以下举例只是示意性的说明,其并不对本发明实施例构成限定,除去以下所列举的方式,在具体实施过程中还可以再采用其它的方式,本文中并不穷举。In order to facilitate the understanding of those skilled in the art, several possible ways are listed below to illustrate how to redirect the address of the requested webpage to the address of the recharge webpage according to the redirection rules. It should be understood that the following example is only a schematic illustration. It does not limit the embodiments of the present invention, except for the methods listed below, other methods can also be used in the specific implementation process, which are not exhaustive in this article.

第一种方式the first way

先检测请求访问的网页的地址是否属于预定地址集合,在请求访问的网页的地址属于预定地址集合时,则可以将请求访问的网页的地址重定向为充值网页的地址。First detect whether the address of the webpage requested to visit belongs to the predetermined address set, and when the address of the webpage requested to visit belongs to the predetermined address set, then the address of the webpage requested to be accessed can be redirected to the address of the recharge webpage.

在第一种方式中,首先可以检测请求访问的网页的地址是否属于预定地址集合,具体的,在本发明实施例中,预定地址集合是基于网元的识别功能,将欠费用户常用的网站的门户地址识别出来,从而预定地址集合中包括该欠费用户常用的网站的门户地址,例如预定地址集合可以是百度浏览器的门户地址、可以是谷歌浏览器的门户地址,还可以是火狐浏览器的门户地址等等,进一步地,该地址可以是URL地址也可以是IP地址,当检测到请求访问的网页的地址属于预定地址集合,则将请求访问的网页的地址重定向为充值网页的地址。In the first method, firstly, it can be detected whether the address of the webpage requesting to visit belongs to the predetermined address set. Specifically, in the embodiment of the present invention, the predetermined address set is based on the identification function of the network element, and the website frequently used by the arrears user will be The portal address is identified, so that the predetermined address set includes the portal address of the website commonly used by the arrears user. For example, the predetermined address set can be the portal address of Baidu browser, the portal address of Google Chrome, or the browser of Firefox The portal address of the server, etc., further, the address can be a URL address or an IP address, and when it is detected that the address of the web page that requests access belongs to a predetermined address set, the address of the web page that requests access is redirected to the address of the recharge web page address.

例如,假设用户已欠费,但用户不知晓,那么用户照常使用终端设备发送百度浏览器门户地址对应的网页使用请求,该网页使用请求中包括终端设备的用户请求访问的百度浏览器门户地址对应的网页的URL地址和用户APN信息,然后根据用户APN信息,可以确定出用户是欠费用户,进而根据网络使用请求中包括的请求访问的百度浏览器门户地址对应的网页的URL地址,检测百度浏览器门户地址对应的网页的URL地址是否在预定地址集合中,当检测到百度浏览器门户地址对应的网页的URL地址在预定地址集合中时,则将请求访问的百度浏览器门户地址对应的网页的URL地址重定向到充值网页的URL地址。For example, assuming that the user is in arrears, but the user does not know, then the user uses the terminal device to send a webpage usage request corresponding to the Baidu browser portal address as usual. The URL address of the web page and the user APN information, and then according to the user APN information, it can be determined that the user is an arrears user, and then according to the URL address of the web page corresponding to the Baidu browser portal address requested to be accessed included in the network usage request, Baidu Whether the URL address of the webpage corresponding to the browser portal address is in the predetermined address collection, when detecting that the URL address of the webpage corresponding to the Baidu browser portal address is in the predetermined address collection, then the Baidu browser portal address corresponding to the request for access The URL address of the webpage is redirected to the URL address of the recharge webpage.

上述方式,可以让欠费用户使用终端设备中任一常用的浏览器的门户地址对应的网页的时候,可以将前述的欠费用户任一常用的浏览器的门户地址重定向为充值网页的地址,从而可以为用户提供更有针对性的服务,进而为用户提供更便捷的充值方式,提升用户的充值体验。The above method allows the arrears user to use the webpage corresponding to the portal address of any commonly used browser in the terminal device, and the aforementioned portal address of any commonly used browser of the arrears user can be redirected to the address of the recharge web page , so as to provide users with more targeted services, and then provide users with a more convenient recharge method and improve the user's recharge experience.

第二种方式the second way

将请求访问的网页的地址重定向为跳板网页的地址,然后将跳板网页的地址重定向为充值网页的地址,其中,跳板网页中包括预定显示内容,或者,跳板网页的地址中包括预定地址信息。Redirecting the address of the webpage requesting access to the address of the springboard webpage, and then redirecting the address of the springboard webpage to the address of the recharge webpage, wherein the springboard webpage includes predetermined display content, or the address of the springboard webpage includes predetermined address information .

在第二种方式中,请求访问的网页的地址是基于短信中链接地址触发的,前述的短信可以是运营商在确定用户为欠费用户后发送的充值链接,然后将欠费用户请求访问的网页的地址重定向为跳板网页的地址,其中,跳板网页的网页内容为预定显示内容例如可以是运营商的品牌展示页,或者是跳板网页的地址中包括预定地址信息例如可以是跳板网页的地址信息中包括运营商的信息,进一步地,控制终端设备显示跳板网页,在跳板网页显示达到预定时长时,在本发明实施例中,预定时长可以是几秒,也可以是十几秒,具体的预定时长不做限制,然后将跳板网页的地址重定向为充值网页的地址。In the second method, the address of the webpage requesting access is triggered based on the link address in the short message. The aforementioned short message can be a recharge link sent by the operator after determining that the user is an arrears user, and then the arrears user requests access The address of the webpage is redirected to the address of the springboard webpage, wherein the webpage content of the springboard webpage is predetermined display content, such as the brand display page of the operator, or the address of the springboard webpage includes predetermined address information, such as the address of the springboard webpage The information includes the information of the operator. Further, the terminal device is controlled to display the springboard webpage. When the springboard webpage is displayed for a predetermined duration, in the embodiment of the present invention, the predetermined duration can be several seconds or more than ten seconds. There is no limit to the scheduled time, and then the address of the springboard webpage is redirected to the address of the recharge webpage.

例如,假设用户在终端设备中点击短信中的链接地址而触发网络使用请求,然后根据网络使用请求中用户APN信息确定用户为欠费用户,然后将欠费请求访问的网页的地址重定向为跳板网页的地址,假设跳板网页的预定显示内容为中国移动青海省分公司的品牌展示内容,且跳板网页显示预定时长为5秒,那么在终端设备中的中国移动青海省分公司的品牌展示内容的显示时长达到5秒时,将跳板网页的地址重定向为充值网页的地址。For example, assume that the user clicks on the link address in the text message in the terminal device to trigger a network usage request, and then determine that the user is an arrears user according to the user's APN information in the network usage request, and then redirect the address of the web page visited by the arrears request as a springboard The address of the webpage, assuming that the scheduled display content of the springboard webpage is the brand display content of China Mobile Qinghai Branch, and the scheduled display time of the springboard webpage is 5 seconds, then the brand display content of China Mobile Qinghai Branch in the terminal device When the display time reaches 5 seconds, the address of the springboard webpage is redirected to the address of the recharge webpage.

上述方式,通过设置跳板网页不仅可以保护充值网页免于不必要的访问造成对充值网页的攻击,还可以让欠费用户相信充值方式的可靠,从而提升运营商的品牌形象,提升用户充值体验。In the above way, by setting the springboard webpage, not only can the recharge webpage be protected from unnecessary visits to cause attacks on the recharge webpage, but also can make the arrears users believe that the recharge method is reliable, thereby enhancing the brand image of the operator and improving the user's recharge experience.

步骤304:将充值网页的充值页面资源发送给终端设备,以使终端设备根据充值页面资源显示充值网页并基于充值网页在线充值。Step 304: Send the recharge page resource of the recharge webpage to the terminal device, so that the terminal device displays the recharge webpage according to the recharge page resource and recharges online based on the recharge webpage.

本发明实施例中,当将请求访问的网页的地址重定向为充值网页之后,还可以将充值网页的充值页面资源发送给终端设备,以使终端设备根据充值页面资源显示充值网页,进而用户可以在终端设备中基于充值网页进行在线充值,以及时充值缴费,从而尽快恢复通讯功能。In the embodiment of the present invention, after redirecting the address of the requested webpage to the recharge webpage, the recharge page resource of the recharge webpage can also be sent to the terminal device, so that the terminal device can display the recharge webpage according to the recharge page resource, and then the user can In the terminal device, online recharging is performed based on the recharging webpage, and recharging and payment are made in a timely manner, so as to restore the communication function as soon as possible.

在具体的实施过程中,当将请求访问的网页的地址重定向为充值网页之后,还可以确定前述的欠费用户的电话号码和欠费信息,具体的,欠费信息中包括欠费金额,然后将电话号码、欠费信息以及充值页面资源发送给终端设备,以使终端设备在充值网页中显示欠费用户的电话号码和欠费金额,也就是说,欠费用户可以在终端设备的显示界面中的充值网页中看到自己的电话号码和欠费金额。In the specific implementation process, after redirecting the address of the webpage requested for access to the recharge webpage, the phone number and arrears information of the aforesaid arrears user can also be determined. Specifically, the arrears information includes the arrears amount, Then send the phone number, arrears information, and recharge page resources to the terminal device, so that the terminal device displays the phone number and arrears amount of the user who owes the bill on the recharge web page. You can see your phone number and arrears on the recharge page in the interface.

进一步地,在将前述的电话号码和欠费信息以及充值页面资源发送给终端设备之后,还可以接收终端设备发送的确认充值请求,其中,确认充值请求包括待充值的电话号码、充值金额和支付方式,然后根据确认充值请求中的支付方式确定与该支付方式对应的支付网页,进而将支付网页的支付页面资源发送给终端设备,然后用户可以使用终端设备基于支付网页完成对待充值的电话号码的充值金额的支付,即完成在线充值。Further, after the aforementioned phone number, arrears information, and recharge page resources are sent to the terminal device, a confirmation recharge request sent by the terminal device may also be received, wherein the confirmation recharge request includes the phone number to be recharged, the recharge amount, and the payment amount. method, and then determine the payment webpage corresponding to the payment method according to the payment method in the confirmation recharge request, and then send the payment page resource of the payment webpage to the terminal device, and then the user can use the terminal device to complete the phone number to be recharged based on the payment webpage The payment of the recharge amount is to complete the online recharge.

在具体的实施过程中,终端设备在充值网页中显示欠费用户的电话号码和欠费金额的方式可以是在终端设备的显示界面弹出提示框,其中,提示框中包含用户的电话号码和欠费金额,例如,假设以运营商为中国移动青海省分公司为例,当终端设备已经接收到欠费用户的电话号码、欠费信息以及充值页面资源,那么终端设备的显示界面会弹出提示框,提示框中的信息为:用户号码:13969272780;欠费金额为:6.3元。In the specific implementation process, the terminal device may display the phone number and the amount owed by the user on the recharge web page by popping up a prompt box on the display interface of the terminal device, wherein the prompt box contains the user's phone number and the amount owed. For example, assuming that the operator is China Mobile Qinghai Branch as an example, when the terminal device has received the phone number of the arrears user, the arrears information, and the resource of the recharge page, the display interface of the terminal device will pop up a prompt box , the information in the prompt box is: user number: 13969272780; arrears amount: 6.3 yuan.

进一步地,当终端设备中出现提示框时,用户可以点击确定,此时终端设备的显示桌面显示内容如图4所示,显示有充值号码输入框区域401,用于欠费用户输入待充值的手机号码;选择充值金额充值区域402,其中,选择充值金额充值区域402分为上下两部分,上部分为固定金额充值区域,有三种选择充值金额,分别为充30元、充50元、充100元,同时充值金额较大时还显示有优惠方式,例如可以是如图4所示的充50元送0.5元,充100元送4元,下部分为用户可以自定义输入充值金额的区域,用户可以选择手动输入充值金额,具体的,手动输入充值金额可以是10元到500元之间的整数;充值金额显示区域403,用于显示用户想要充值的金额,以便欠费用户再次确认充值金额;充值确认区域404,用于确定用户进入到支付界面。Further, when a prompt box appears in the terminal device, the user can click OK. At this time, the displayed desktop display content of the terminal device is shown in FIG. Mobile phone number; select the recharge amount recharge area 402, wherein the recharge area 402 for selecting the recharge amount is divided into upper and lower parts, the upper part is a fixed amount recharge area, and there are three options for recharge amounts, which are respectively recharge 30 yuan, recharge 50 yuan, and recharge 100 yuan At the same time, when the recharge amount is large, there is also a preferential method. For example, as shown in Figure 4, it can be 0.5 yuan for 50 yuan, and 4 yuan for 100 yuan. The lower part is the area where users can customize the recharge amount. The user can choose to manually input the recharge amount, specifically, the manual input recharge amount can be an integer between 10 yuan and 500 yuan; the recharge amount display area 403 is used to display the amount that the user wants to recharge, so that the arrears user can confirm the recharge again Amount; recharge confirmation area 404, used to confirm that the user enters the payment interface.

进一步地,当欠费用户点击充值确认区域404之后,终端设备的显示界面如图5所示,其中包括:确认信息显示区域501,用于显示欠费用户在前述的如图4所述的终端设备的显示界面进行操作的信息,例如:充值号码、订单号、到账金额、支付金额、以及支付类型;支付方式选择区域502,用于欠费用户根据自己的支付习惯进行支付方式的选择,具体的,支付方式可以是银行卡支付、可以是支付宝支付、还可以是微信支付等方式;支付金额确定区域503,用于欠费用户再次确认支付金额及方式,在具体的实施过程中,当欠费用户使用前述的三种支付方式的任一方式支付完后,终端设备的显示界面将会显示支付成功的信息,即欠费用户完成在线充值。Further, after the arrears user clicks the recharge confirmation area 404, the display interface of the terminal device is as shown in Figure 5, which includes: a confirmation information display area 501, which is used to display The information for operation on the display interface of the device, such as: recharge number, order number, credit amount, payment amount, and payment type; payment method selection area 502, used for arrears users to choose payment methods according to their own payment habits, Specifically, the payment method can be bank card payment, Alipay payment, WeChat payment, etc.; the payment amount determination area 503 is used for the arrears user to confirm the payment amount and method again. In the specific implementation process, when After the arrears user pays using any of the aforementioned three payment methods, the display interface of the terminal device will display the information that the payment is successful, that is, the arrears user has completed the online recharge.

在具体的实施过程中,当欠费用户选择使用银行卡的支付方式支付且在支付金额确定区域503确定之后,终端设备的显示界面如图6所示,欠费用户还可以选择添加银行卡,然后进行支付,当确定支付成功即充值成功;当欠费用户选择使用支付宝的支付方式支付且在支付金额确定区域503确定之后,终端设备的显示界面如图7所示,欠费用户可以选择使用余额宝中的余额进行支付,当确认欠费用户支付之后,即欠费用户在线充值成功;当欠费用户选择使用微信支付方式支付且在支付金额确定区域503确定之后,终端设备的显示界面如图8所示,进一步地,用户可以选择使用零钱支付,还可以如图8所示选择添加银行卡进行支付,当确定欠费用户支付之后,即表明欠费用户在线充值成功。In the specific implementation process, when the arrears user chooses to use the payment method of the bank card to pay and after the payment amount determination area 503 is determined, the display interface of the terminal device is shown in Figure 6, and the arrears user can also choose to add a bank card, Then pay, when it is determined that the payment is successful, the recharge is successful; when the arrears user chooses to use the payment method of Alipay to pay and after the payment amount determination area 503 is determined, the display interface of the terminal device is as shown in Figure 7, and the arrears user can choose to use The balance in Yu’E Bao is used for payment. When the payment by the arrears user is confirmed, the online recharge of the arrears user is successful; when the arrears user chooses to use the WeChat payment method to pay and after the payment amount determination area 503 is confirmed, the display interface of the terminal device is as follows: As shown in Figure 8, further, the user can choose to use change to pay, and can also choose to add a bank card for payment as shown in Figure 8. When it is determined that the arrears user pays, it indicates that the arrears user has successfully recharged online.

所以,通过上述方法,当接收到终端设备发送的网页使用请求时,可以根据网页使用请求中包括的用户APN信息来判断用户是否是欠费用户,当确定用户为欠费用户时则可以为该用户提供一种能够在线充值的方式,即,可以根据重定向规则将网页使用请求中包括的用户请求访问的网页的地址重定向为充值网页的地址,进而再将充值网页的充值页面资源发送给终端设备,以使终端设备根据充值页面资源显示充值网页,进而使得用户可以基于充值网页完成在线充值,也就是说,本发明实施例提供了一种基于网页使用请求而触发的在线充值方式,对于欠费用户而言,即使由于欠费而无法通过移动流量进行在线充值,但是却可以通过网页使用请求而触发的方式进入到充值页面并进行在线充值,这样的话,在用户欠费时可以实现及时的充值缴费,确保充值的及时性,从而可以尽快地恢复通讯功能,并且,由于无需像现有技术那样去往营业厅或者找到无线网络才能进行充值,充值过程简单高效,所以可以提高充值效率,增强用户的使用体验。相当于是,通过本发明实施例的技术方案,可以为欠费用户提供绿色充值通道,这样可以在一定程度上增加用户粘度,提升品牌形象。Therefore, through the above method, when receiving the web page use request sent by the terminal device, it can be judged whether the user is an arrears user according to the user APN information included in the web page use request, and when it is determined that the user is an arrears user, it can be the The user provides a way to recharge online, that is, according to the redirection rules, the address of the webpage requested by the user included in the webpage usage request can be redirected to the address of the recharge webpage, and then the recharge page resources of the recharge webpage can be sent to The terminal device, so that the terminal device displays the recharge webpage according to the recharge page resource, so that the user can complete the online recharge based on the recharge webpage. That is to say, the embodiment of the present invention provides an online recharge method triggered based on a webpage use request. For users who are in arrears, even if they cannot recharge online through mobile traffic due to arrears, they can enter the recharge page and perform online recharge by triggering a web page usage request. To ensure the timeliness of recharge, so that the communication function can be restored as soon as possible, and because there is no need to go to the business hall or find a wireless network to recharge, the recharge process is simple and efficient, so the recharge efficiency can be improved. Enhance user experience. It is equivalent to that, through the technical solutions of the embodiments of the present invention, a green recharge channel can be provided for users who are in arrears, which can increase user viscosity to a certain extent and improve brand image.

基于同一发明构思,本发明实施例提供了一种用于欠费后充值的装置,该欠费后充值的装置能够实现前述的欠费后充值方法对应的功能。该欠费后充值的装置可以是硬件结构、软件模块、或硬件结构加软件模块。该欠费后充值的装置可以由芯片系统实现,芯片系统可以由芯片构成,也可以包含芯片和其他分立器件。请参见图9所示,该欠费后充值的装置包括接收模块901、确定模块902、重定向模块903和充值模块904。其中:Based on the same inventive concept, an embodiment of the present invention provides a device for recharging after arrears, the device for recharging after arrears can realize the functions corresponding to the aforementioned method for recharging after arrears. The device for recharging after arrears can be a hardware structure, a software module, or a hardware structure plus a software module. The device for recharging after arrears can be realized by a chip system, and the chip system can be composed of chips, and can also include chips and other discrete devices. Please refer to FIG. 9 , the device for recharging after arrears includes a receiving module 901 , a determining module 902 , a redirection module 903 and a recharging module 904 . in:

接收模块901,用于接收终端设备发送的网页使用请求,其中,网页使用请求包括终端设备的用户请求访问的网页的地址和用户APN信息;The receiving module 901 is configured to receive a webpage use request sent by the terminal device, wherein the webpage use request includes the address of the webpage that the user of the terminal device requests to visit and user APN information;

确定模块902,用于根据用户APN信息,确定用户为欠费用户;A determining module 902, configured to determine that the user is an arrears user according to the user's APN information;

重定向模块903,用于根据重定向规则,将请求访问的网页的地址重定向为充值网页的地址;A redirection module 903, configured to redirect the address of the requested webpage to the address of the recharge webpage according to the redirection rule;

充值模块904,用于将充值网页的充值页面资源发送给终端设备,以使终端设备根据充值页面资源显示充值网页并基于充值网页在线充值。The recharging module 904 is configured to send the recharging page resource of the recharging webpage to the terminal device, so that the terminal device displays the recharging webpage according to the recharging page resource and recharges online based on the recharging webpage.

在一种可能的实施方式中,网页使用请求是基于短信中的网页链接地址触发的,或者,网页使用请求是基于浏览器触发的。In a possible implementation manner, the web page use request is triggered based on the web page link address in the short message, or the web page use request is triggered based on the browser.

在一种可能的实施方式中,重定向模块903用于检测请求访问网页的地址是否属于预定地址集合;若属于,则将请求访问网页的地址重定向为充值网页的地址。In a possible implementation manner, the redirection module 903 is configured to detect whether the address requesting to access the webpage belongs to a predetermined address set; if so, redirect the address requesting to access the webpage to the address of the recharge webpage.

在一种可能的实施方式中,重定向模块903用于将请求访问网页的地址重定向为跳板网页的地址,其中,跳板网页包括预定显示内容,或者,跳板网页的地址包括预定地址信息;将跳板网页的地址重定向为充值网页的地址。In a possible implementation manner, the redirection module 903 is configured to redirect the address of the webpage requesting access to the address of the springboard webpage, wherein the springboard webpage includes predetermined display content, or the address of the springboard webpage includes predetermined address information; The address of the springboard web page is redirected to the address of the recharge web page.

在一种可能的实施方式中,重定向模块903用于控制终端设备显示跳板网页;在跳板网页显示达到预定时长时,将跳板网页的地址重定向为充值网页的地址。In a possible implementation manner, the redirection module 903 is configured to control the terminal device to display the springboard webpage; when the springboard webpage is displayed for a predetermined duration, redirect the address of the springboard webpage to the address of the recharge webpage.

在一种可能的实施方式中,充值模块904用于确定用户的电话号码和欠费信息;将电话号码、欠费信息与充值页面资源发送给终端设备,以使终端设备在充值网页中显示电话号码和欠费信息。In a possible implementation, the recharging module 904 is used to determine the user's phone number and arrears information; and send the phone number, arrears information, and recharge page resources to the terminal device, so that the terminal device displays the phone number in the recharge webpage. number and arrears information.

在一种可能的实施方式中,本发明实施例中的欠费后充值的装置还包括支付模块,用于接收终端设备发送的确认充值请求,其中,确认充值请求包括待充值的电话号码、充值金额和支付方式;确定与支付方式对应的支付网页;将支付网页的支付页面资源发送给终端设备,以使终端设备基于支付网页完成对待充值的电话号码的充值金额的支付。In a possible implementation, the device for recharging after arrears in the embodiment of the present invention further includes a payment module, configured to receive a confirmation recharge request sent by the terminal device, wherein the confirmation recharge request includes the phone number to be recharged, the recharge Amount and payment method; determine the payment webpage corresponding to the payment method; send the payment page resource of the payment webpage to the terminal device, so that the terminal device completes the payment of the recharge amount of the phone number to be recharged based on the payment webpage.

前述的欠费后的充值方法的实施例涉及的各步骤的所有相关内容均可以援引到本发明实施例中的欠费后的充值装置所对应的功能模块的功能描述,在此不再赘述。All relevant content of the steps involved in the above-mentioned embodiment of the method for recharging after arrears can be referred to the functional description of the functional modules corresponding to the device for recharging after arrears in the embodiment of the present invention, and will not be repeated here.

本发明实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,另外,在本发明各个实施例中的各功能模块可以集成在一个处理器中,也可以是单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。The division of modules in the embodiments of the present invention is schematic, and is only a logical function division. In actual implementation, there may be other division methods. In addition, each functional module in each embodiment of the present invention can be integrated into a processing In the controller, it can also be physically present separately, or two or more modules can be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules.

基于同一发明构思,本发明实施例提供一种计算设备,请参见图10所示,该计算设备包括至少一个处理器1001,以及与至少一个处理器连接的存储器1002,本发明实施例中不限定处理器1001与存储器1002之间的具体连接介质,图10中是以处理器1001和存储器1002之间通过总线1000连接为例,总线1000在图10中以粗线表示,其它部件之间的连接方式,仅是进行示意性说明,并不引以为限。总线1000可以分为地址总线、数据总线、控制总线等,为便于表示,图10中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。Based on the same inventive concept, an embodiment of the present invention provides a computing device, as shown in FIG. 10 , the computing device includes at least one processor 1001 and a memory 1002 connected to at least one processor, which is not limited in this embodiment of the present invention The specific connection medium between the processor 1001 and the memory 1002. In FIG. 10, the bus 1000 is used as an example to connect the processor 1001 and the memory 1002. The bus 1000 is represented by a thick line in FIG. 10, and the connection between other components The method is only for illustrative purposes and is not intended to be limiting. The bus 1000 can be divided into an address bus, a data bus, a control bus, etc. For convenience of illustration, only one thick line is used in FIG. 10 , but it does not mean that there is only one bus or one type of bus.

在本发明实施例中,存储器1002存储有可被至少一个处理器1001执行的指令,至少一个处理器1001通过执行存储器1002存储的指令,可以执行前述的欠费后充值的方法中所包括的步骤。In the embodiment of the present invention, the memory 1002 stores instructions executable by at least one processor 1001, and at least one processor 1001 executes the instructions stored in the memory 1002 to perform the steps included in the aforementioned method for recharging after arrears .

其中,处理器1001是计算设备的控制中心,可以利用各种接口和线路连接整个计算设备的各个部分,通过运行或执行存储在存储器1002内的指令以及调用存储在存储器1002内的数据,计算设备的各种功能和处理数据,从而对计算设备进行整体监控。Among them, the processor 1001 is the control center of the computing device, which can use various interfaces and lines to connect various parts of the entire computing device, and by running or executing instructions stored in the memory 1002 and calling data stored in the memory 1002, the computing device Various functions and processing data of various functions, so as to monitor the computing equipment as a whole.

可选的,处理器1001可包括一个或多个处理单元,处理器1001可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1001中。在一些实施例中,处理器1001和存储器1002可以在同一芯片上实现,在一些实施例中,它们也可以在独立的芯片上分别实现。Optionally, the processor 1001 may include one or more processing units, and the processor 1001 may integrate an application processor and a modem processor. The tuner processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 1001 . In some embodiments, the processor 1001 and the memory 1002 can be implemented on the same chip, and in some embodiments, they can also be implemented on independent chips.

处理器1001可以是通用处理器,例如中央处理器(CPU)、数字信号处理器、专用集成电路、现场可编程门阵列或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件,可以实现或者执行本发明实施例中公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。The processor 1001 may be a general-purpose processor, such as a central processing unit (CPU), a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component. Realize or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the methods disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.

存储器1002作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块。存储器1002可以包括至少一种类型的存储介质,例如可以包括闪存、硬盘、多媒体卡、卡型存储器、随机访问存储器(Random AccessMemory,RAM)、静态随机访问存储器(Static Random Access Memory,SRAM)、可编程只读存储器(Programmable Read Only Memory,PROM)、只读存储器(Read Only Memory,ROM)、带电可擦除可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、磁性存储器、磁盘、光盘等等。存储器1002是能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。本发明实施例中的存储器1002还可以是电路或者其它任意能够实现存储功能的装置,用于存储程序指令和/或数据。The memory 1002, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs and modules. The memory 1002 may include at least one type of storage medium, such as flash memory, hard disk, multimedia card, card-type memory, random access memory (Random Access Memory, RAM), static random access memory (Static Random Access Memory, SRAM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Magnetic Memory, Disk, discs and more. The memory 1002 is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 1002 in the embodiment of the present invention may also be a circuit or any other device capable of implementing a storage function, and is used for storing program instructions and/or data.

通过对处理器1001进行设计编程,可以将前述实施例中介绍的欠费后充值的方法所对应的代码固化到芯片内,从而使芯片在运行时能够执行前述的欠费后充值的方法的步骤,如何对处理器1001进行设计编程为本领域技术人员所公知的技术,这里不再赘述。By designing and programming the processor 1001, the code corresponding to the method of recharging after arrears described in the foregoing embodiments can be solidified into the chip, so that the chip can execute the steps of the method of recharging after arrears during operation How to design and program the processor 1001 is well known to those skilled in the art, and will not be repeated here.

基于同一发明构思,本发明实施例还提供一种存储介质,该存储介质存储有计算机指令,当该计算机指令在计算机上运行时,使得计算机执行如前述的欠费后充值的方法的步骤。Based on the same inventive concept, an embodiment of the present invention also provides a storage medium, the storage medium stores computer instructions, and when the computer instructions are run on the computer, the computer executes the steps of the aforementioned method for recharging after arrears.

在一些可能的实施方式中,本发明提供的欠费后充值的方法的各个方面还可以实现为一种程序产品的形式,其包括程序代码,当所述程序产品在设备上运行时,所述程序代码用于使该设备执行本说明书上述描述的根据本发明各种示例性实施方式的欠费后充值的方法中的步骤。In some possible implementations, various aspects of the method for recharging after arrears provided by the present invention can also be implemented in the form of a program product, which includes program code. When the program product runs on the device, the The program code is used to make the device execute the steps in the method for recharging after arrears according to various exemplary embodiments of the present invention described above in this specification.

本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, systems, or computer program products. Accordingly, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) having computer-usable program code embodied therein.

本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.

显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.

Claims (9)

1.一种欠费后的充值方法,其特征在于,所述方法包括:1. A recharge method after arrears, characterized in that the method comprises: 接收终端设备发送的网页使用请求,其中,所述网页使用请求包括所述终端设备的用户请求访问的网页的地址和用户接入点名称APN信息;Receiving a webpage use request sent by the terminal device, wherein the webpage use request includes the address of the webpage requested by the user of the terminal device and APN information of the user access point name; 根据所述用户接入点名称APN信息,确定所述用户为欠费用户;According to the user access point name APN information, determine that the user is an arrears user; 根据重定向规则,将所述请求访问的网页的地址重定向为充值网页的地址,包括:检测所述请求访问的网页的地址是否属于预定地址集合,所述预定地址集合是基于所述用户的历史网站使用情况确定的;若属于,则将所述请求访问的网页的地址重定向为所述充值网页的地址;According to the redirection rule, redirecting the address of the webpage requesting access to the address of the recharge webpage includes: detecting whether the address of the webpage requesting access belongs to a predetermined address set, and the predetermined address set is based on the user's determined by historical website usage; if so, redirect the address of the requested web page to the address of the recharge web page; 将所述充值网页的充值页面资源发送给所述终端设备,以使所述终端设备根据所述充值页面资源显示所述充值网页并基于所述充值网页在线充值。Sending the recharging page resource of the recharging webpage to the terminal device, so that the terminal device displays the recharging webpage according to the recharging page resource and recharges online based on the recharging webpage. 2.如权利要求1所述的方法,其特征在于,所述网页使用请求是基于短信中的网页链接地址触发的,和/或,所述网页使用请求是基于浏览器触发的。2. The method according to claim 1, wherein the web page use request is triggered based on a web page link address in the short message, and/or the web page use request is triggered based on a browser. 3.如权利要求1或2所述的方法,其特征在于,所述根据重定向规则,将所述请求访问的网页的地址重定向为充值网页的地址,包括:3. The method according to claim 1 or 2, wherein, according to the redirection rule, redirecting the address of the requested webpage to the address of the recharge webpage comprises: 将所述请求访问的网页的地址重定向为跳板网页的地址,其中,所述跳板网页包括预定显示内容,或者,所述跳板网页的地址包括预定地址信息;Redirecting the address of the webpage requesting access to the address of the springboard webpage, wherein the springboard webpage includes predetermined display content, or, the address of the springboard webpage includes predetermined address information; 将所述跳板网页的地址重定向为所述充值网页的地址。Redirecting the address of the springboard webpage to the address of the recharge webpage. 4.如权利要求3所述的方法,其特征在于,所述将所述请求访问的网页的地址重定向为跳板网页的地址,包括:4. The method according to claim 3, wherein said redirecting the address of the webpage requesting access to the address of the springboard webpage comprises: 控制所述终端设备显示所述跳板网页;controlling the terminal device to display the springboard webpage; 在所述跳板网页显示达到预定时长时,将所述跳板网页的地址重定向为所述充值网页的地址。When the springboard webpage is displayed for a predetermined duration, the address of the springboard webpage is redirected to the address of the recharge webpage. 5.如权利要求1或2所述的方法,其特征在于,所述将所述充值网页的充值页面资源发送给所述终端设备,包括:5. The method according to claim 1 or 2, wherein the sending the recharge page resource of the recharge webpage to the terminal device comprises: 确定所述用户的电话号码和欠费信息;Determine the phone number and arrears information of the user; 将所述电话号码、所述欠费信息与所述充值页面资源发送给所述终端设备,以使所述终端设备在所述充值网页中显示所述电话号码和所述欠费信息。Sending the phone number, the arrears information, and the recharge page resource to the terminal device, so that the terminal device displays the phone number and the arrears information on the recharge webpage. 6.如权利要求1或2所述的方法,其特征在于,在将所述充值网页的充值页面资源发送给所述终端设备之后,所述方法还包括:6. The method according to claim 1 or 2, characterized in that, after sending the recharge page resource of the recharge webpage to the terminal device, the method further comprises: 接收所述终端设备发送的确认充值请求,其中,所述确认充值请求包括待充值的电话号码、充值金额和支付方式;Receive a confirmation recharge request sent by the terminal device, wherein the confirmation recharge request includes a phone number to be recharged, a recharge amount, and a payment method; 确定与所述支付方式对应的支付网页;determining the payment web page corresponding to the payment method; 将所述支付网页的支付页面资源发送给所述终端设备,以使所述终端设备基于所述支付网页完成对所述待充值的电话号码的所述充值金额的支付。Sending the payment page resource of the payment webpage to the terminal device, so that the terminal device completes the payment of the recharge amount of the phone number to be recharged based on the payment webpage. 7.一种欠费后的充值装置,其特征在于,所述装置包括:7. A recharge device after arrears, characterized in that the device comprises: 接收模块,用于接收终端设备发送的网页使用请求,其中,所述网页使用请求包括所述终端设备的用户请求访问的网页的地址和用户接入点名称APN信息;A receiving module, configured to receive a webpage use request sent by the terminal device, wherein the webpage use request includes the address of the webpage requested by the user of the terminal device and APN information of the user access point name; 确定模块,用于根据所述用户接入点名称APN信息,确定所述用户为欠费用户;A determination module, configured to determine that the user is an arrears user according to the user access point name APN information; 重定向模块,用于根据重定向规则,将所述请求访问的网页的地址重定向为充值网页的地址,包括:检测所述请求访问的网页的地址是否属于预定地址集合,所述预定地址集合是基于所述用户的历史网站使用情况确定的;若属于,则将所述请求访问的网页的地址重定向为所述充值网页的地址;A redirection module, configured to redirect the address of the webpage requesting access to the address of the recharge webpage according to redirection rules, including: detecting whether the address of the webpage requesting access belongs to a predetermined address set, the predetermined address set It is determined based on the historical website usage of the user; if it is, redirect the address of the requested web page to the address of the recharge web page; 充值模块,用于将所述充值网页的充值页面资源发送给所述终端设备,以使所述终端设备根据所述充值页面资源显示所述充值网页并基于所述充值网页在线充值。The recharging module is configured to send the recharging page resource of the recharging webpage to the terminal device, so that the terminal device displays the recharging webpage according to the recharging page resource and recharges online based on the recharging webpage. 8.一种计算设备,其特征在于,所述计算设备包括:8. A computing device, characterized in that the computing device comprises: 存储器,用于存储程序指令;memory for storing program instructions; 处理器,用于调用所述存储器中存储的程序指令,按照获得的程序指令执行权利要求1-6任一所述的方法包括的步骤。The processor is configured to call the program instructions stored in the memory, and execute the steps included in the method according to any one of claims 1-6 according to the obtained program instructions. 9.一种存储介质,其特征在于,所述存储介质存储有计算机可执行指令,所述计算机可执行指令用于使计算机执行权利要求1-6任一所述的方法包括的步骤。9. A storage medium, wherein the storage medium stores computer-executable instructions, and the computer-executable instructions are used to make a computer execute the steps included in the method according to any one of claims 1-6.
CN201811428882.6A 2018-11-27 2018-11-27 Method, device and computing device for recharging after arrears Active CN111222861B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811428882.6A CN111222861B (en) 2018-11-27 2018-11-27 Method, device and computing device for recharging after arrears

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811428882.6A CN111222861B (en) 2018-11-27 2018-11-27 Method, device and computing device for recharging after arrears

Publications (2)

Publication Number Publication Date
CN111222861A CN111222861A (en) 2020-06-02
CN111222861B true CN111222861B (en) 2023-06-23

Family

ID=70828925

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811428882.6A Active CN111222861B (en) 2018-11-27 2018-11-27 Method, device and computing device for recharging after arrears

Country Status (1)

Country Link
CN (1) CN111222861B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111818472A (en) * 2020-06-05 2020-10-23 北京思特奇信息技术股份有限公司 Method for realizing user recharging and answering based on halt triggering network redirection
CN113438613B (en) * 2021-06-07 2022-12-20 中国联合网络通信集团有限公司 Abnormal user payment method, device, system and medium
CN114268915B (en) * 2021-12-10 2023-06-20 中国联合网络通信集团有限公司 Billing service processing method, device, system and storage medium
CN114189919A (en) * 2021-12-24 2022-03-15 上海立可芯半导体科技有限公司 Network access management method and system of mobile equipment and mobile equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104243506A (en) * 2013-06-06 2014-12-24 中兴通讯股份有限公司 Browser redirection method and device

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050114559A1 (en) * 2003-11-20 2005-05-26 Miller George B. Method for efficiently processing DMA transactions
JP6074550B2 (en) * 2014-06-30 2017-02-01 華為技術有限公司Huawei Technologies Co.,Ltd. Web page push method and apparatus, and terminal
CN105813166B (en) * 2014-12-30 2019-04-02 中国电信股份有限公司 To the access control method and system, communication equipment for shutting down user
CN105577966A (en) * 2015-05-29 2016-05-11 宇龙计算机通信科技(深圳)有限公司 Data service processing method and device and terminal
CN105848117B (en) * 2015-07-31 2019-05-17 维沃移动通信有限公司 Recharge method and recharging device
CN105868244A (en) * 2015-12-10 2016-08-17 乐视致新电子科技(天津)有限公司 Link mark based webpage display method, mobile terminal and intelligent terminal
CN105516955A (en) * 2016-02-25 2016-04-20 北京首信科技股份有限公司 Self-help payment method of defaulting subscriber in Telecom 4G (fourth generation) mobile network
CN106970966A (en) * 2017-03-22 2017-07-21 许遥 The access method of target web is jumped to by network picture
CN107241521B (en) * 2017-05-25 2020-03-17 北京小米移动软件有限公司 Web page access method and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104243506A (en) * 2013-06-06 2014-12-24 中兴通讯股份有限公司 Browser redirection method and device

Also Published As

Publication number Publication date
CN111222861A (en) 2020-06-02

Similar Documents

Publication Publication Date Title
CN111222861B (en) Method, device and computing device for recharging after arrears
US10798252B2 (en) System and method for providing user notifications
US10200541B2 (en) Wireless end-user device with divided user space/kernel space traffic policy system
US11070681B2 (en) Platform for enabling sponsors to sponsor functions of a computing device
KR101669936B1 (en) System and method for provisioning internet access to a computing device
US20250106325A1 (en) System and method for providing user notifications
US9386165B2 (en) System and method for providing user notifications
US7860484B2 (en) Automated billing and distribution platform for application providers
US9014663B2 (en) Sponsored data plan management
KR20140009171A (en) System and method for providing user notifications
US9544195B1 (en) Bandwidth monitoring for data plans
US9888290B1 (en) Service denial notification in secure socket layer (SSL) processing
US10313532B2 (en) Platform for enabling users to sign up for sponsored functions on computing devices
JP2010538512A (en) Providing and charging data services in roaming network environments
CN107241521A (en) web access method and device
US20140372286A1 (en) Platform for enabling sponsored functions of a computing device
US20110196728A1 (en) Service level communication advertisement business
US20110166943A1 (en) Policy-based advertisement engine
CN106161793A (en) Originating method based on contact person's packet and device
CN104657223A (en) Resource data processing method and device
US11601704B2 (en) Notification for account management
CN103518349A (en) Charging method, access device and charging device
KR101607408B1 (en) A method for automatically installing application to be provided by a company and a computer-readable storage medium thereof
CN113438613A (en) Abnormal user payment method and device

Legal Events

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