[go: up one dir, main page]

CN103052049A - Method, device and system for adjusting user access business - Google Patents

Method, device and system for adjusting user access business Download PDF

Info

Publication number
CN103052049A
CN103052049A CN2012105919988A CN201210591998A CN103052049A CN 103052049 A CN103052049 A CN 103052049A CN 2012105919988 A CN2012105919988 A CN 2012105919988A CN 201210591998 A CN201210591998 A CN 201210591998A CN 103052049 A CN103052049 A CN 103052049A
Authority
CN
China
Prior art keywords
terminal device
internet service
address
charging
response message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012105919988A
Other languages
Chinese (zh)
Other versions
CN103052049B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201210591998.8A priority Critical patent/CN103052049B/en
Publication of CN103052049A publication Critical patent/CN103052049A/en
Priority to PCT/CN2013/089210 priority patent/WO2014101663A1/en
Application granted granted Critical
Publication of CN103052049B publication Critical patent/CN103052049B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/81Dynamic pricing, e.g. change of tariff during call
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1453Methods or systems for payment or settlement of the charges for data transmission involving significant interaction with the data transmission network
    • H04L12/1467Methods or systems for payment or settlement of the charges for data transmission involving significant interaction with the data transmission network involving prepayment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1485Tariff-related aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/83Notification aspects
    • H04M15/85Notification aspects characterised by the type of condition triggering a notification
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/83Notification aspects
    • H04M15/85Notification aspects characterised by the type of condition triggering a notification
    • H04M15/852Low balance or limit reached
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/83Notification aspects
    • H04M15/85Notification aspects characterised by the type of condition triggering a notification
    • H04M15/854Available credit
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M17/00Prepayment of wireline communication systems, wireless communication systems or telephone systems
    • H04M17/02Coin-freed or check-freed systems, e.g. mobile- or card-operated phones, public telephones or booths

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明提供一种调整用户访问业务的方法、装置及系统,通过控制管理系统确定终端设备的用户余额信息为欠费或余额不足时,且当该终端设备访问的互联网业务需要计费,确定对该终端设备的访问请求需要进行重定向,实现了根据用户的数据业务资费情况,对用户发起的访问业务进行相应调整,在保证数据业务资费的运营安全的同时,提高了用户体验。

Figure 201210591998

The present invention provides a method, device and system for adjusting user access services. When the control management system determines that the user balance information of the terminal equipment is in arrears or insufficient balance, and when the Internet service accessed by the terminal equipment needs to be billed, determine the The access request of the terminal device needs to be redirected, so that the access service initiated by the user can be adjusted accordingly according to the user's data service charge situation, and the user experience is improved while ensuring the operation security of the data service charge.

Figure 201210591998

Description

调整用户访问业务的方法、装置及系统Method, device and system for adjusting user access to services

技术领域 technical field

本发明涉及通信技术领域,尤其涉及一种调整用户访问业务的方法、装置及系统。The invention relates to the field of communication technology, in particular to a method, device and system for adjusting user access services.

背景技术 Background technique

移动数据通信是移动通信与数据通信两种电信技术的结合物,在全球蜂房移动电话迅速发展的今天,数据信息的传递从简单的寻呼进入到多媒体的信息业务,数据传输的方式也越来越多,高速、有效、可靠的无线数据传输技术的成熟,便携式计算机和各种数据终端处理能力与通信功能的日益完善,使移动数据通信的发展具备了更加有利的条件。Mobile data communication is a combination of two telecommunication technologies, mobile communication and data communication. With the rapid development of mobile phones in the world today, the transfer of data information has changed from simple paging to multimedia information services, and the way of data transmission is becoming more and more More and more, the maturity of high-speed, effective and reliable wireless data transmission technology, and the increasingly perfect processing capabilities and communication functions of portable computers and various data terminals have provided more favorable conditions for the development of mobile data communications.

其与以语音为核心的移动通信业务相比,移动数据通信存在支持大带宽和支持高速下载两点区别。随着移动互联网的发展,数据业务在运营商的运营收入中占的比重越来越高,进而,为了保障运营安全,运营商对用户的数据业务资费的使用情况进行及时监测,并相应的对用户发起的访问业务进行调整就显得十分必要。Compared with mobile communication services with voice as the core, mobile data communication has two differences: supporting large bandwidth and supporting high-speed download. With the development of the mobile Internet, the proportion of data services in the operating income of operators is getting higher and higher. Furthermore, in order to ensure the safety of operations, operators will monitor the usage of users' data service charges in a timely manner and make corresponding adjustments It is very necessary to adjust the access service initiated by the user.

目前,控制执行系统和控制管理系统之间使用的计费协议不支持根据用户的业务资费情况,对用户发起的访问业务进行相应调整的机制。At present, the billing protocol used between the control execution system and the control management system does not support the mechanism of adjusting the access service initiated by the user according to the service charge of the user.

发明内容 Contents of the invention

本发明实施例提供一种调整用户访问业务的方法、装置及系统,用于根据用户的业务资费情况,对用户发起的访问业务进行相应调整,以便于在保证业务资费的运营安全的同时,提高用户体验。Embodiments of the present invention provide a method, device, and system for adjusting user access services, which are used to adjust the access services initiated by users according to the user's service charges, so as to ensure the operation security of service charges and improve user experience.

第一方面,本发明实施例提供一种调整用户访问业务的方法,包括:In the first aspect, an embodiment of the present invention provides a method for adjusting user access services, including:

接收控制执行系统发送的对终端设备进行计费的请求消息,所述请求消息中携带所述终端设备的计费标识和用于确定所述终端设备访问的互联网业务是否需要计费的信息;receiving a request message for charging the terminal device sent by the control execution system, the request message carrying the charging identifier of the terminal device and information for determining whether the Internet service accessed by the terminal device needs to be charged;

根据所述计费标识确定所述终端设备的用户余额信息;determining the user balance information of the terminal device according to the charging identifier;

当所述终端设备的用户余额信息为欠费或余额不足时,根据所述用于确定所述终端设备访问的互联网业务是否需要计费的信息确定所述终端设备访问的互联网业务是否需要计费;When the user balance information of the terminal device is in arrears or insufficient balance, determine whether the Internet service accessed by the terminal device needs to be charged according to the information for determining whether the Internet service accessed by the terminal device needs to be charged ;

当所述终端设备访问的互联网业务需要计费,确定对所述终端设备的访问请求需要进行重定向;When the Internet service accessed by the terminal device needs to be charged, it is determined that the access request to the terminal device needs to be redirected;

根据确定的需要重定向的结果,向所述控制执行系统返回计费响应消息,以使得所述控制执行系统根据所述计费响应消息对所述终端设备的访问请求进行处理。Returning a charging response message to the control execution system according to the determined redirection result, so that the control execution system processes the access request of the terminal device according to the charging response message.

在第一方面的第一种可能的实现方式中,所述根据确定的重定向的结果,向所述控制执行系统返回计费响应消息,以使得所述控制执行系统根据所述计费响应消息对所述终端设备的访问请求进行处理,包括:In a first possible implementation manner of the first aspect, according to the determined redirection result, return a charging response message to the control execution system, so that the control execution system Processing the access request of the terminal device includes:

根据确定的需要重定向的结果,向所述控制执行系统返回计费响应消息,所述计费响应消息中携带重定向的地址,所述重定向的地址为免费的互联网业务的地址,以使得所述控制执行系统根据所述免费的互联网业务的地址将所述终端设备的访问请求重定向到所述免费的互联网业务的地址指向的互联网业务。According to the result of determining that redirection is required, return a charging response message to the control execution system, where the charging response message carries a redirected address, and the redirected address is an address of a free Internet service, so that The control execution system redirects the access request of the terminal device to the Internet service pointed to by the address of the free Internet service according to the address of the free Internet service.

在第一方面的第二种可能的实现方式中,所述方法还包括:In a second possible implementation manner of the first aspect, the method further includes:

当所述终端设备访问的互联网业务不需要计费,确定对所述终端设备的访问请求不需要进行重定向;When the Internet service accessed by the terminal device does not require charging, it is determined that the access request for the terminal device does not need to be redirected;

根据确定的不需要重定向的结果,向所述控制执行系统返回计费响应消息,以使得所述控制执行系统将所述终端设备的访问请求发送到所述访问请求对应的服务器。Returning a charging response message to the control execution system according to the determined result that no redirection is needed, so that the control execution system sends the access request of the terminal device to the server corresponding to the access request.

第二方面,本发明实施例还提供一种调整用户访问业务的方法,包括:In the second aspect, the embodiment of the present invention also provides a method for adjusting user access services, including:

向控制管理系统发送对终端设备进行计费的请求消息,所述请求消息中携带所述终端设备的计费标识和用于确定所述终端设备访问的互联网业务是否需要计费的信息,以使得所述控制管理系统根据所述计费标识确定所述终端设备的用户余额信息,并当所述终端设备的用户余额信息为欠费或余额不足时,根据所述用于确定所述终端设备访问的互联网业务是否需要计费的信息确定所述终端设备访问的互联网业务是否需要计费,当所述终端设备访问的互联网业务需要计费,确定对所述终端设备的访问请求需要进行重定向;Sending a request message for charging the terminal device to the control management system, the request message carrying the charging identifier of the terminal device and information for determining whether the Internet service accessed by the terminal device needs to be charged, so that The control management system determines the user balance information of the terminal device according to the charging identification, and when the user balance information of the terminal device is in arrears or insufficient balance, according to the method for determining that the terminal device accesses determining whether the Internet service accessed by the terminal device needs to be charged, and when the Internet service accessed by the terminal device requires charging, it is determined that the access request of the terminal device needs to be redirected;

接收所述控制管理系统根据确定的需要重定向的结果返回的计费响应消息;receiving the charging response message returned by the control management system according to the result of determining that redirection is required;

根据所述计费响应消息对所述终端设备的访问请求进行处理。Processing the access request of the terminal device according to the charging response message.

在第二方面的第一种可能的实现方式中,所述接收所述控制管理系统根据确定的需要重定向的结果返回的计费响应消息;根据所述计费响应消息对所述终端设备的访问请求进行处理,包括:In the first possible implementation manner of the second aspect, the receiving the charging response message returned by the control management system according to the determined redirection result; Access requests are processed, including:

接收所述控制管理系统根据确定的需要重定向的结果返回的计费响应消息,所述计费响应消息中携带重定向的地址,所述重定向的地址为免费的互联网业务的地址;Receiving a charging response message returned by the control management system according to the determined result of redirection, where the charging response message carries a redirected address, and the redirected address is an address of a free Internet service;

向所述终端设备返回所述免费的互联网业务的地址,以使得所述终端设备根据所述免费的互联网业务的地址与所述互联网业务的地址指向的服务器建立连接。Returning the address of the free Internet service to the terminal device, so that the terminal device establishes a connection with the server pointed to by the address of the Internet service according to the address of the free Internet service.

结合第二方面的第一种可能的实现方式,在第三种可能的实现方式中,所述免费的互联网业务的地址为免费的充值网页的地址;With reference to the first possible implementation of the second aspect, in a third possible implementation, the address of the free Internet service is the address of the free recharge webpage;

在向所述终端设备返回所述免费的互联网业务的地址,以使得所述终端设备根据所述免费的互联网业务的地址与所述互联网业务的地址指向的服务器建立连接之前,还包括:Before returning the address of the free Internet service to the terminal device, so that the terminal device establishes a connection with the server pointed to by the address of the Internet service according to the address of the free Internet service, the method further includes:

根据所述终端设备的的访问请求中携带的所述终端设备访问的互联网业务的统一资源定位符确定所述终端设备访问的互联网业务是页面类请求业务。According to the uniform resource locator of the Internet service accessed by the terminal device carried in the access request of the terminal device, it is determined that the Internet service accessed by the terminal device is a page type request service.

第三方面,本发明实施例还提供一种控制管理装置,包括:In a third aspect, an embodiment of the present invention further provides a control management device, including:

接收模块,用于接收控制执行系统发送的对终端设备进行计费的请求消息,所述请求消息中携带所述终端设备的计费标识和用于确定所述终端设备访问的互联网业务是否需要计费的信息;A receiving module, configured to receive a request message sent by the control execution system for charging the terminal device, the request message carrying the charging identifier of the terminal device and used to determine whether the Internet service accessed by the terminal device needs to be charged. fee information;

余额确定模块,用于根据所述接收模块接收的所述终端设备的计费标识确定所述终端设备的用户余额信息;A balance determination module, configured to determine the user balance information of the terminal device according to the charging identifier of the terminal device received by the receiving module;

计费确定模块,用于当所述余额确定模块确定所述终端设备的用户余额信息为欠费或余额不足时,根据所述接收模块接收的所述用于确定所述终端设备访问的互联网业务是否需要计费的信息确定所述终端设备访问的互联网业务是否需要计费;A billing determination module, configured to, when the balance determination module determines that the user balance information of the terminal device is in arrears or insufficient balance, according to the Internet service used to determine the access of the terminal device received by the receiving module The information of whether charging is required determines whether the Internet service accessed by the terminal device needs charging;

重定向确定模块,用于当所述计费确定模块确定所述终端设备访问的互联网业务需要计费时,确定对所述终端设备的访问请求需要进行重定向;A redirect determination module, configured to determine that the access request to the terminal device needs to be redirected when the charging determination module determines that the Internet service accessed by the terminal device requires charging;

发送模块,用于根据所述重定向确定模块确定的需要重定向的结果,向所述控制执行系统返回计费响应消息,以使得所述控制执行系统根据所述计费响应消息对所述终端设备的访问请求进行处理。A sending module, configured to return a charging response message to the control execution system according to the redirection-required result determined by the redirection determination module, so that the control execution system charges the terminal according to the charging response message Device access requests are processed.

在第三方面的第一种可能的实现方式中,所述发送模块具体用于根据所述重定向确定模块确定的需要重定向的结果,向所述控制执行系统返回计费响应消息,所述计费响应消息中携带重定向的地址,所述重定向的地址为免费的互联网业务的地址,以使得所述控制执行系统根据所述免费的互联网业务的地址将所述终端设备的访问请求重定向到所述免费的互联网业务的地址指向的互联网业务。In a first possible implementation manner of the third aspect, the sending module is specifically configured to return a charging response message to the control execution system according to the redirection result determined by the redirection determining module, the The charging response message carries a redirected address, and the redirected address is an address of a free Internet service, so that the control execution system redirects the access request of the terminal device according to the address of the free Internet service An Internet service directed to the address of the free Internet service.

在第三方面的第二种可能的实现方式中,所述重定向确定模块还用于当所述终端设备访问的互联网业务不需要计费,确定对所述终端设备的访问请求不需要进行重定向;In a second possible implementation manner of the third aspect, the redirection determining module is further configured to determine that the access request for the terminal device does not need to be re-applied when the Internet service accessed by the terminal device does not require charging. orientation;

所述发送模块还用于根据所述重定向确定模块确定的不需要重定向的结果,向所述控制执行系统返回计费响应消息,以使得所述控制执行系统将所述终端设备的访问请求发送到所述访问请求对应的服务器。The sending module is further configured to return a charging response message to the control execution system according to the result determined by the redirection determination module that no redirection is required, so that the control execution system sends the access request of the terminal device to sent to the server corresponding to the access request.

第四方面,本发明实施例还提供一种控制执行装置,包括:In a fourth aspect, the embodiment of the present invention also provides a control execution device, including:

发送模块,用于向控制管理系统发送对终端设备进行计费的请求消息,所述请求消息中携带所述终端设备的计费标识和用于确定所述终端设备访问的互联网业务是否需要计费的信息,以使得所述控制管理系统根据所述计费标识确定所述终端设备的用户余额信息,并当所述终端设备的用户余额信息为欠费或余额不足时,根据所述用于确定所述终端设备访问的互联网业务是否需要计费的信息确定所述终端设备访问的互联网业务是否需要计费,当所述终端设备访问的互联网业务需要计费,确定对所述终端设备的访问请求需要进行重定向;A sending module, configured to send a request message for charging the terminal device to the control and management system, the request message carrying the charging identifier of the terminal device and used to determine whether the Internet service accessed by the terminal device needs to be charged information, so that the control management system determines the user balance information of the terminal device according to the charging identification, and when the user balance information of the terminal device is in arrears or insufficient balance, according to the The information on whether the Internet service accessed by the terminal device needs to be charged determines whether the Internet service accessed by the terminal device needs to be charged, and when the Internet service accessed by the terminal device needs to be charged, determine the access request for the terminal device Redirection is required;

接收模块,用于接收所述控制管理系统根据确定的需要重定向的结果返回的计费响应消息;A receiving module, configured to receive the charging response message returned by the control management system according to the determined result of redirection;

执行模块,用于根据所述接收模块接收的计费响应消息对所述终端设备的访问请求进行处理。An executing module, configured to process the access request of the terminal device according to the charging response message received by the receiving module.

在第四方面的第一种可能的实现方式中,所述接收模块具体用于接收所述控制管理系统根据确定的需要重定向的结果返回的计费响应消息,所述计费响应消息中携带重定向的地址,所述重定向的地址为免费的互联网业务的地址;In a first possible implementation manner of the fourth aspect, the receiving module is specifically configured to receive the charging response message returned by the control management system according to the determined redirection result, and the charging response message carries A redirected address, which is an address of a free Internet service;

所述执行模块具体用于向所述终端设备返回所述免费的互联网业务的地址,以使得所述终端设备根据所述免费的互联网业务的地址与所述互联网业务的地址指向的服务器建立连接。The execution module is specifically configured to return the address of the free Internet service to the terminal device, so that the terminal device establishes a connection with the server pointed to by the address of the Internet service according to the address of the free Internet service.

第五方面,本发明实施例还提供一种调整用户访问业务的系统,包括:In the fifth aspect, the embodiment of the present invention also provides a system for adjusting user access services, including:

上述第三方面任一所述的控制管理装置,和上述第四方面任一所述的控制执行装置。The control management device according to any one of the above third aspects, and the control execution device according to any one of the above fourth aspects.

在本发明实施例提供的调整用户访问业务的方法、装置及系统,通过控制管理系统确定终端设备的用户余额信息为欠费或余额不足时,且当该终端设备访问的互联网业务需要计费,确定对该终端设备的访问请求需要进行重定向,实现了根据用户的业务资费情况,对用户发起的访问业务进行相应调整,保证了业务资费的运营安全,同时,提高了用户体验。In the method, device and system for adjusting user access services provided by the embodiments of the present invention, when the control management system determines that the user balance information of the terminal equipment is in arrears or insufficient balance, and when the Internet service accessed by the terminal equipment needs to be billed, It is determined that the access request of the terminal device needs to be redirected, so that the access service initiated by the user can be adjusted accordingly according to the user's service charge situation, ensuring the operation security of the service charge, and at the same time, improving the user experience.

附图说明 Description of drawings

图1为本发明的应用环境构架图;Fig. 1 is the framework diagram of the application environment of the present invention;

图2为本发明实施例调整用户访问业务的方法的一个实施例的流程示意图;FIG. 2 is a schematic flowchart of an embodiment of a method for adjusting user access to services in an embodiment of the present invention;

图3为本发明实施例调整用户访问业务的方法的另一个实施例的流程示意图;FIG. 3 is a schematic flowchart of another embodiment of a method for adjusting user access to services according to an embodiment of the present invention;

图4为本发明实施例调整用户访问业务的方法的另一个实施例的流程示意图;FIG. 4 is a schematic flowchart of another embodiment of a method for adjusting user access to services according to an embodiment of the present invention;

图5为本发明实施例调整用户访问业务的方法的另一个实施例的流程示意图;FIG. 5 is a schematic flowchart of another embodiment of a method for adjusting user access to services according to an embodiment of the present invention;

图6为本发明实施例调整用户访问业务的方法的另一个实施例的流程示意图,FIG. 6 is a schematic flowchart of another embodiment of a method for adjusting user access to services according to an embodiment of the present invention,

图7为本发明实施例调整用户访问业务的方法的另一个实施例的流程示意图;FIG. 7 is a schematic flowchart of another embodiment of a method for adjusting user access to services according to an embodiment of the present invention;

图8为本发明实施例调整用户访问业务的方法的另一个实施例的流程示意图;FIG. 8 is a schematic flowchart of another embodiment of a method for adjusting user access services according to an embodiment of the present invention;

图9为本发明实施例控制管理装置的一个结构示意图;FIG. 9 is a schematic structural diagram of a control management device according to an embodiment of the present invention;

图10为本发明实施例控制管理装置的另一个结构示意图;FIG. 10 is another structural schematic diagram of a control management device according to an embodiment of the present invention;

图11为本发明实施例控制执行装置的一个结构示意图;Fig. 11 is a schematic structural diagram of a control execution device according to an embodiment of the present invention;

图12为本发明实施例控制执行装置的另一个结构示意图;Fig. 12 is another structural schematic diagram of the control execution device according to the embodiment of the present invention;

图13为本发明实施例调整用户访问业务的系统的一个结构示意图。FIG. 13 is a schematic structural diagram of a system for adjusting user access services according to an embodiment of the present invention.

具体实施方式 Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。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.

图1为本发明的应用环境构架图。如图1所示,包括:终端设备,终端设备通过控制执行系统与业务提供(Service Provider,SP)服务器通信,该终端设备可以是任何一种可与用户通过键盘、鼠标、遥控器、触摸屏、声控设备或图像识别设备进行人机交互的电子产品,包括但不限于计算机、手机、平板电脑等。Fig. 1 is a framework diagram of the application environment of the present invention. As shown in Figure 1, it includes: a terminal device, which communicates with a service provider (Service Provider, SP) server through a control execution system. Electronic products that use voice-activated devices or image recognition devices for human-computer interaction, including but not limited to computers, mobile phones, tablet computers, etc.

控制执行系统,控制执行系统通过和控制管理系统的信息交互,基于控制管理系统下发的各种计费与控制策略对终端设备的访问请求进行各种控制。例如,控制执行系统可以接收控制管理系统下发的计费话单输出请求,根据计费策略,按照终端设备请求的不同的业务生成不同格式的话单文件,供控制管理系统做帐务处理、查询和统计使用;此外,控制执行系统还可以根据控制管理系统下发的控制接入命令,对终端设备的接入请求或使用带宽进行控制。其中,该控制执行系统在通用分组无线业务(General Packet Radio Service,GPRS)通信系统中可以位于网关GPRS支持节点(Gateway GPRS Support Node,GGSN);在演进分组核心网(Evolved Packet Core network,EPC)通信系统中可以位于的分组数据网关(Packet Gateway,P-GW);在码分多址接入系统(Code Division MultipleAccess,CDMA)通信系统中可以位于分组数据服务节点(Packet Data ServingNode,PDSN)等。The control execution system, through the information interaction with the control management system, the control execution system performs various controls on the access requests of terminal devices based on various charging and control policies issued by the control management system. For example, the control execution system can receive the billing bill output request issued by the control management system, and generate bill files in different formats according to the different services requested by the terminal equipment according to the billing policy, for the control management system to do accounting processing and query and statistical usage; in addition, the control execution system can also control the access request or bandwidth usage of terminal equipment according to the access control command issued by the control management system. Wherein, the control execution system can be located in the Gateway GPRS Support Node (GGSN) in the General Packet Radio Service (GPRS) communication system; in the Evolved Packet Core network (EPC) The packet data gateway (Packet Gateway, P-GW) that can be located in the communication system; can be located in the packet data serving node (Packet Data ServingNode, PDSN) etc. in the code division multiple access system (Code Division Multiple Access, CDMA) communication system .

控制管理系统,控制管理系统可以参与计费过程控制,解决用户实时信用控制、预付费使用数据业务和增值业务实时计费等问题。控制管理系统可以是在线计费系统(Online Charging System,OCS)等或者其它实现类似功能的系统。在通信网络中,控制管理系统可以独立部署,也可以作为控制执行系统的一部分部署。Control management system, the control management system can participate in the control of the billing process, solve the problems of real-time credit control of users, real-time billing of prepaid data services and value-added services, etc. The control management system may be an online charging system (Online Charging System, OCS) or other systems that implement similar functions. In the communication network, the control management system can be deployed independently or as a part of the control execution system.

业务提供(Service Provider,SP)服务器用于为用户提供访问资源,例如,应用服务器(Application Server,AS)或网络Web服务器等。A service provider (Service Provider, SP) server is used to provide users with access to resources, for example, an application server (Application Server, AS) or a network Web server.

本发明的技术方案可以用于多种通信系统,如可以用于CDMA系统、宽带码分多址接入(Wideband Code Division Multiple Access,WCDMA)系统或GPRS等通信系统。The technical scheme of the present invention can be used in various communication systems, such as CDMA system, Wideband Code Division Multiple Access (WCDMA) system or communication systems such as GPRS.

图2为本发明实施例调整用户访问业务的方法的一个实施例的流程示意图,该实施例的方法的执行主体可以为控制管理系统,如图2所示,该方法包括:Fig. 2 is a schematic flow diagram of an embodiment of a method for adjusting user access services according to an embodiment of the present invention. The execution subject of the method of this embodiment may be a control management system, as shown in Fig. 2 , the method includes:

步骤101、接收控制执行系统发送的对终端设备进行计费的请求消息,所述请求消息中携带所述终端设备的计费标识和用于确定所述终端设备访问的互联网业务是否需要计费的信息;Step 101: Receive a request message for charging the terminal device sent by the control execution system, where the request message carries the charging identifier of the terminal device and information used to determine whether the Internet service accessed by the terminal device needs to be charged. information;

在本发明实施例中,当控制执行系统接收到终端设备发送的访问请求后,该控制执行系统向控制管理系统发送对终端设备进行计费的请求消息。In the embodiment of the present invention, after the control execution system receives the access request sent by the terminal device, the control execution system sends a request message for charging the terminal device to the control management system.

其中,终端设备发送的访问请求可以是域名系统(Domain Name System,DNS)查询请求,也可以是超文本传输协议(Hypertext transfer protocol,HTTP)访问请求。Wherein, the access request sent by the terminal device may be a domain name system (Domain Name System, DNS) query request, or a hypertext transfer protocol (Hypertext transfer protocol, HTTP) access request.

其中,所述用于确定所述终端设备访问的互联网业务是否需要计费的信息,可以是控制执行系统在确定该终端设备访问的互联网业务是否需要计费的信息后,将该终端设备访问的互联网业务是否需要计费的信息上报给控制管理系统;也可以是该控制执行系统将终端设备访问的互联网业务的信息发送给控制管理系统,该控制管理系统根据该终端设备访问的互联网业务的信息确定该终端设备访问的互联网业务是否需要计费。Wherein, the information for determining whether the Internet service accessed by the terminal device needs to be charged may be the information that the control execution system accesses the terminal device after determining whether the Internet service accessed by the terminal device needs to be charged. Whether the Internet service needs to be charged is reported to the control management system; or the control execution system sends the information of the Internet service accessed by the terminal device to the control management system, and the control management system according to the information of the Internet service accessed by the terminal device Determine whether the Internet service accessed by the terminal device needs to be charged.

需要说明的是,对终端设备进行计费的请求消息用于控制管理系统根据该请求消息对该终端设备访问的互联网业务实现业务批价,信用控制和计费等。It should be noted that the request message for charging the terminal device is used to control the management system to implement service rating, credit control, and charging for Internet services accessed by the terminal device according to the request message.

此外,还需要说明的是,终端设备的计费标识用于该控制管理系统根据该计费标识确定该终端设备的用户余额信息。其中,该计费标识可以是电话号码。In addition, it should be noted that the charging identifier of the terminal device is used by the control management system to determine the user balance information of the terminal device according to the charging identifier. Wherein, the charging identifier may be a telephone number.

步骤102、根据所述计费标识确定所述终端设备的用户余额信息;Step 102. Determine the user balance information of the terminal device according to the charging identifier;

具体的,控制管理系统可以根据该计费标识查询用户费用数据库,得到该终端设备的用户余额信息。Specifically, the control management system can query the user fee database according to the charging identifier, and obtain the user balance information of the terminal device.

步骤103、当所述终端设备的用户余额信息为欠费或余额不足时,根据所述用于确定所述终端设备访问的互联网业务是否需要计费的信息确定所述终端设备访问的互联网业务是否需要计费;Step 103: When the user balance information of the terminal device is in arrears or insufficient balance, determine whether the Internet service accessed by the terminal device needs to be billed according to the information for determining whether the Internet service accessed by the terminal device needs to be charged. Billing is required;

其中,用户余额信息为欠费包括:余额少于零或余额为零;Among them, the user balance information is arrears including: the balance is less than zero or the balance is zero;

用户余额信息为余额不足包括:余额大于零但少于设定的阀值。例如,可以设定用户的余额少于5元大于零为余额不足。The user balance information includes insufficient balance: the balance is greater than zero but less than the set threshold. For example, it can be set that the user's balance is less than 5 yuan and greater than zero as insufficient balance.

步骤104、当所述终端设备访问的互联网业务需要计费,确定对所述终端设备的访问请求需要进行重定向;Step 104. When the Internet service accessed by the terminal device needs to be charged, it is determined that the access request to the terminal device needs to be redirected;

步骤105、根据确定的需要重定向的结果,向所述控制执行系统返回计费响应消息,以使得所述控制执行系统根据所述计费响应消息对所述终端设备的访问请求进行处理。Step 105: Return a charging response message to the control execution system according to the determined redirection result, so that the control execution system processes the access request of the terminal device according to the charging response message.

其中,所述根据确定的需要重定向的结果,向所述控制执行系统返回计费响应消息,以使得所述控制执行系统根据所述计费响应消息对所述终端设备的访问请求进行处理,具体可以为:Wherein, returning a charging response message to the control execution system according to the determined redirection result, so that the control execution system processes the access request of the terminal device according to the charging response message, Specifically, it can be:

根据确定的需要重定向的结果,向所述控制执行系统返回计费响应消息,所述计费响应消息中携带重定向的地址,所述重定向的地址为免费的互联网业务的地址,以使得所述控制执行系统根据所述免费的互联网业务的地址将所述终端设备的访问请求重定向到所述免费的互联网业务的地址指向的互联网业务。According to the result of determining that redirection is required, return a charging response message to the control execution system, where the charging response message carries a redirected address, and the redirected address is an address of a free Internet service, so that The control execution system redirects the access request of the terminal device to the Internet service pointed to by the address of the free Internet service according to the address of the free Internet service.

此外,所述方法还包括:Additionally, the method includes:

当所述终端设备访问的互联网业务不需要计费,确定对所述终端设备的访问请求不需要进行重定向;根据确定的不需要重定向的结果,向所述控制执行系统返回计费响应消息,以使得所述控制执行系统将所述终端设备的访问请求发送到所述访问请求对应的服务器。When the Internet service accessed by the terminal device does not require charging, it is determined that the access request of the terminal device does not need to be redirected; according to the result of determining that no redirection is required, return a charging response message to the control execution system , so that the control execution system sends the access request of the terminal device to the server corresponding to the access request.

此外,需要说明的是,所述免费的互联网业务的地址可以为免费的充值网页的地址;或者为免费的导航Web服务器的地址。In addition, it should be noted that the address of the free Internet service may be the address of the free recharge web page; or the address of the free navigation Web server.

在本发明实施例中,控制管理系统确定终端设备的用户余额信息为欠费或余额不足时,且当该终端设备访问的互联网业务需要计费,确定对该终端设备的访问请求需要进行重定向,实现了根据用户的业务资费情况,对用户发起的访问业务进行相应调整,保证了业务资费的运营安全,同时,提高了用户体验。In the embodiment of the present invention, when the control management system determines that the user balance information of the terminal device is in arrears or insufficient balance, and when the Internet service accessed by the terminal device needs to be billed, it determines that the access request of the terminal device needs to be redirected According to the user's service charge situation, the access service initiated by the user is adjusted accordingly, ensuring the operation security of the service charge, and at the same time, improving the user experience.

图3为本发明实施例调整用户访问业务的方法的另一个实施例的流程示意图,该实施例的方法的执行主体可以为控制执行系统,如图3所示,该方法包括:Fig. 3 is a schematic flow diagram of another embodiment of the method for adjusting user access services in the embodiment of the present invention. The execution subject of the method in this embodiment may be a control execution system, as shown in Fig. 3 , the method includes:

步骤201、向控制管理系统发送对终端设备进行计费的请求消息,所述请求消息中携带所述终端设备的计费标识和用于确定所述终端设备访问的互联网业务是否需要计费的信息,以使得所述控制管理系统根据所述计费标识确定所述终端设备的用户余额信息,并当所述终端设备的用户余额信息为欠费或余额不足时,根据所述用于确定所述终端设备访问的互联网业务是否需要计费的信息确定所述终端设备访问的互联网业务是否需要计费,当所述终端设备访问的互联网业务需要计费,确定对所述终端设备的访问请求需要进行重定向;Step 201: Send a request message for charging the terminal device to the control and management system, the request message carrying the charging identifier of the terminal device and information for determining whether the Internet service accessed by the terminal device needs to be charged , so that the control management system determines the user balance information of the terminal device according to the charging identification, and when the user balance information of the terminal device is in arrears or insufficient balance, according to the Whether the Internet service accessed by the terminal device needs to be charged determines whether the Internet service accessed by the terminal device needs to be charged. When the Internet service accessed by the terminal device needs to be charged, it is determined that the access request for the terminal device needs to be charged. redirect;

其中,所述用于确定所述终端设备访问的互联网业务是否需要计费的信息、终端设备的计费标识和对终端设备进行计费的请求消息在步骤101中已经说明,此处不再赘述。Wherein, the information for determining whether the Internet service accessed by the terminal device needs to be charged, the charging identifier of the terminal device, and the request message for charging the terminal device have been described in step 101, and will not be repeated here. .

此外,用户余额信息为欠费包括:余额少于零或余额为零;In addition, the user balance information is arrears including: the balance is less than zero or the balance is zero;

用户余额信息为余额不足包括:余额大于零但少于设定的阀值。例如,可以设定用户的余额少于5元大于零为余额不足。The user balance information includes insufficient balance: the balance is greater than zero but less than the set threshold. For example, it can be set that the user's balance is less than 5 yuan and greater than zero as insufficient balance.

在本发明实施例中,当控制执行系统接收到终端设备发送的访问请求后,该控制执行系统向控制管理系统发送对终端设备进行计费的请求消息。其中,终端设备发送的访问请求可以是DNS查询请求,也可以是HTTP访问请求。In the embodiment of the present invention, after the control execution system receives the access request sent by the terminal device, the control execution system sends a request message for charging the terminal device to the control management system. Wherein, the access request sent by the terminal device may be a DNS query request or an HTTP access request.

步骤202、接收所述控制管理系统根据确定的需要重定向的结果返回的计费响应消息;Step 202, receiving the charging response message returned by the control management system according to the determined redirection result;

步骤203、根据所述计费响应消息对所述终端设备的访问请求进行处理。Step 203, process the access request of the terminal device according to the charging response message.

其中,接收所述控制管理系统根据确定的需要重定向的结果返回的计费响应消息;根据所述计费响应消息对所述终端设备的访问请求进行处理,具体可以为:Wherein, receiving the charging response message returned by the control management system according to the determined redirection result; processing the access request of the terminal device according to the charging response message, which may specifically be:

接收所述控制管理系统根据确定的需要重定向的结果返回的计费响应消息,所述计费响应消息中携带重定向的地址,所述重定向的地址为免费的互联网业务的地址,向所述终端设备返回所述免费的互联网业务的地址,以使得所述终端设备根据所述免费的互联网业务的地址与所述互联网业务的地址指向的服务器建立连接。Receiving the charging response message returned by the control management system according to the determined result of redirection, the charging response message carries the redirected address, the redirected address is the address of the free Internet service, and sends to the The terminal device returns the address of the free Internet service, so that the terminal device establishes a connection with the server pointed to by the address of the Internet service according to the address of the free Internet service.

此外,当所述免费的互联网业务的地址为免费的充值网页的地址时,在向所述终端设备返回所述免费的互联网业务的地址,以使得所述终端设备根据所述免费的互联网业务的地址与所述互联网业务的地址指向的服务器建立连接之前,还包括:In addition, when the address of the free Internet service is the address of the free recharge webpage, the address of the free Internet service is returned to the terminal device, so that the terminal device Before the address establishes a connection with the server pointed to by the address of the Internet service, it also includes:

根据所述终端设备的的访问请求中携带的所述终端设备访问的互联网业务的统一资源定位符确定所述终端设备访问的互联网业务是页面类请求业务。According to the uniform resource locator of the Internet service accessed by the terminal device carried in the access request of the terminal device, it is determined that the Internet service accessed by the terminal device is a page type request service.

当所述免费的互联网业务的地址为免费的导航Web服务器的地址时,该方法可以进一步包括:When the address of the free Internet service is the address of a free navigation Web server, the method may further include:

接收所述终端设备发送的重定向访问请求消息,所述重定向访问请求消息中携带所述终端设备访问的互联网业务的统一资源定位符;将所述重定向访问请求消息转发给所述导航Web服务器,以使得所述导航Web服务器根据所述互联网业务的统一资源定位符判断所述终端设备访问的互联网业务是页面类请求业务还是非页面类请求业务;若是页面类请求业务,接收所述导航Web服务器返回的重定向访问响应消息,所述重定向访问响应消息中携带免费的Web页面的地址;向所述终端设备返回所述重定向访问响应消息,以使得所述终端设备根据所述免费的Web页面的地址与所述Web页面的地址指向的服务器建立连接。receiving the redirection access request message sent by the terminal device, the redirection access request message carrying the uniform resource locator of the Internet service accessed by the terminal device; forwarding the redirection access request message to the navigation Web server, so that the navigation Web server judges according to the uniform resource locator of the Internet service whether the Internet service accessed by the terminal device is a page-type request service or a non-page-type request service; if it is a page-type request service, receive the navigation The redirection access response message returned by the Web server, the address of the free Web page is carried in the redirection access response message; the redirection access response message is returned to the terminal device, so that the terminal device is based on the free The address of the web page is connected to the server pointed to by the address of the web page.

在本发明实施例中,控制执行系统将终端设备的计费标识和用于确定终端设备访问的互联网业务是否计费的信息上报给控制管理系统,以使得控制管理系统确定终端设备的用户余额信息为欠费或余额不足,且当该终端设备访问的互联网业务需要计费时,确定对该终端设备的访问请求需要进行重定向,控制执行系统根据控制管理系统返回的计费响应消息对终端设备的访问请求进行处理,实现了根据用户的业务资费情况,对用户发起的访问业务进行相应调整,保证了业务资费的运营安全,同时,提高了用户体验。In the embodiment of the present invention, the control execution system reports the charging identifier of the terminal device and the information used to determine whether the Internet service accessed by the terminal device is charged to the control management system, so that the control management system can determine the user balance information of the terminal device In case of arrears or insufficient balance, and when the Internet service accessed by the terminal device needs to be billed, it is determined that the access request of the terminal device needs to be redirected, and the control execution system will send a message to the terminal device according to the charging response message returned by the control management system. The access request is processed, and the access service initiated by the user is adjusted accordingly according to the service charge of the user, which ensures the operation security of the service charge and improves the user experience at the same time.

图4为本发明实施例调整用户访问业务的方法的另一个实施例的流程示意图,在本发明实施例中,以终端设备的用户余额信息为欠费或余额不足时,通过域名访问基于超文本传输协议(Hypertext Transfer Protocol,HTTP)的计费的互联网业务为例,对本发明的技术方案进行说明,如图4所示,该方法包括:Fig. 4 is a schematic flow chart of another embodiment of the method for adjusting user access services in the embodiment of the present invention. In the embodiment of the present invention, when the user balance information of the terminal device is considered to be in arrears or insufficient balance, the domain name access is based on hypertext The billing Internet service of transmission protocol (Hypertext Transfer Protocol, HTTP) is example, and the technical scheme of the present invention is described, as shown in Figure 4, this method comprises:

步骤301、终端设备与控制执行系统完成分组数据协议(Packet DataProtocol,PDP)上下文激活;Step 301, the terminal device and the control execution system complete packet data protocol (Packet Data Protocol, PDP) context activation;

需要说明的是,用户若需要通过终端设备访问SP服务器提供的互联网业务,在该终端设备附着网络时,该终端设备需要和该网络的控制执行系统间建立数据链路,该控制执行系统通过给该终端设备分配一个网际协议(InternetProtocol,IP)地址,使该终端设备能够与网络通信。It should be noted that if a user needs to access the Internet service provided by the SP server through a terminal device, when the terminal device is attached to the network, the terminal device needs to establish a data link with the control execution system of the network. The terminal device is assigned an Internet Protocol (Internet Protocol, IP) address, so that the terminal device can communicate with the network.

此外,还需要说明的是,在终端设备与控制执行系统完成PDP上下文激活的过程中,终端设备会上报计费标识,例如,该终端设备的电话号码。控制执行系统会在PDP上下文列表中创建一个PDP上下文记录,并将该计费标识和为该终端设备分配的IP地址关联起来,启动计费。In addition, it should be noted that during the process of activating the PDP context between the terminal device and the control execution system, the terminal device will report the charging identifier, for example, the phone number of the terminal device. The control execution system will create a PDP context record in the PDP context list, associate the charging identifier with the IP address assigned to the terminal device, and start charging.

步骤302、该终端设备向控制执行系统发送DNS查询请求消息;Step 302, the terminal device sends a DNS query request message to the control execution system;

需要说明的是,在终端设备与控制执行系统完成PDP上下文激活后,用户可以通过该终端设备访问SP服务器提供的互联网业务。例如,用户可以通过该终端设备上的浏览器客户端访问SP服务器提供的网页。It should be noted that after the terminal device and the control execution system complete the activation of the PDP context, the user can access the Internet service provided by the SP server through the terminal device. For example, the user can access the webpage provided by the SP server through the browser client on the terminal device.

步骤303、该控制执行系统根据该DNS查询请求消息,判断该终端设备访问的互联网业务属于计费业务;Step 303, the control execution system judges that the Internet service accessed by the terminal device belongs to the billing service according to the DNS query request message;

需要说明的是,互联网业务的提供商可以通过SP服务器提供各种类型的互联网业务,终端设备可以访问该互联网业务,该互联网业务的类型包括但不限于:免费业务和计费业务。It should be noted that the Internet service provider can provide various types of Internet services through the SP server, and the terminal equipment can access the Internet services. The types of the Internet services include but are not limited to: free services and billing services.

还需要说明的是,该DNS查询请求消息中还携带有终端设备访问的互联网业务的域名,该控制执行系统可以根据该互联网业务的域名判断该终端设备访问的该互联网业务是计费业务还是免费业务。It should also be noted that the DNS query request message also carries the domain name of the Internet service accessed by the terminal device, and the control execution system can judge whether the Internet service accessed by the terminal device is a chargeable service or a free service based on the domain name of the Internet service. business.

具体的,可以在控制执行系统上预先配置一个免费业务的互联网业务的域名列表或计费业务的互联网业务的域名列表,当控制执行系统接收到终端设备发送的DNS查询请求消息时,从该DNS查询请求消息中解析得到该DNS查询请求消息中携带的终端设备访问的互联网业务的域名,根据该互联网业务的域名,匹配免费业务的互联网业务的域名列表或计费业务的互联网业务的域名列表,确定终端设备访问的互联网业务是否需要计费。Specifically, a domain name list of free Internet services or a domain name list of charged Internet services can be pre-configured on the control execution system. When the control execution system receives the DNS query request message sent by the terminal device, it will query The domain name of the Internet service accessed by the terminal device carried in the DNS query request message is analyzed in the query request message, and according to the domain name of the Internet service, the domain name list of the free service Internet service or the domain name list of the billing service Internet service is matched, Determine whether the Internet service accessed by the terminal device needs to be charged.

需要说明的是,控制执行系统上预先配置的免费业务的互联网业务的域名列表或计费业务的互联网业务的域名列表,可以是人工预先在控制执行系统上配置,也可以人工在控制管理系统配置,通过控制管理系统将该免费业务的互联网业务的域名列表或计费业务的互联网业务的域名列表传输到控制执行系统预先储存。It should be noted that the pre-configured domain name list of the free Internet service or the domain name list of the billing Internet service on the control execution system can be manually pre-configured on the control execution system, or manually configured in the control management system The control management system transmits the domain name list of the Internet service for free service or the domain name list of the Internet service for billing service to the control execution system for pre-storage.

此外,该预先配置的免费业务的互联网业务的域名列表或计费业务的互联网业务的域名列表也可以配置在控制管理系统上,当控制执行系统接收到终端设备发送的访问请求时,将该访问请求发送给控制管理系统,该控制管理系统可以根据该访问请求中携带的该终端设备访问的互联网业务的域名确定终端设备访问的互联网业务是否需要计费。In addition, the pre-configured domain name list of Internet services for free services or the domain name list of Internet services for charging services can also be configured on the control management system. When the control execution system receives the access request sent by the terminal device, the access The request is sent to the control management system, and the control management system can determine whether the Internet service accessed by the terminal device needs to be charged according to the domain name of the Internet service accessed by the terminal device carried in the access request.

此外,还需要说明的是,上述域名列表可以通过计费组的方式实现,即通过计费组匹配终端设备访问的互联网业务的域名,并将匹配的计费组发送给控制管理系统,控制管理系统根据该计费组确定终端设备访问的互联网业务是否计费。In addition, it should be noted that the above list of domain names can be implemented in the form of billing groups, that is, the billing groups match the domain names of Internet services accessed by terminal devices, and send the matched billing groups to the control management system to control and manage The system determines whether the Internet service accessed by the terminal device is charged according to the charging group.

步骤304、该控制执行系统向控制管理系统发送计费请求消息,该计费请求消息中携带该终端设备的计费标识和用于确定该终端设备访问的互联网业务属于计费业务的信息;Step 304, the control execution system sends a charging request message to the control management system, the charging request message carries the charging identifier of the terminal device and information for determining that the Internet service accessed by the terminal device belongs to the charging service;

需要说明的是,该终端设备发送的DNS查询请求消息中还携带有该终端设备的IP地址,在该控制执行系统接收到该终端设备发送的DNS查询请求消息时,可以从该DNS查询请求消息中解析得到该终端设备的IP地址,该控制执行系统根据该终端设备的IP地址和该终端设备的计费标识的关联关系,确定该终端设备的计费标识,控制执行系统将该计费标识携带在计费请求消息中发送给控制管理系统。It should be noted that the DNS query request message sent by the terminal device also carries the IP address of the terminal device, and when the control execution system receives the DNS query request message sent by the terminal device, it can obtain The IP address of the terminal equipment is obtained by parsing in the middle, the control execution system determines the charging identification of the terminal equipment according to the association relationship between the IP address of the terminal equipment and the charging identification of the terminal equipment, and the control execution system determines the charging identification of the terminal equipment. It is carried in the charging request message and sent to the control management system.

步骤305、该控制管理系统根据该终端设备的计费标识和用于确定该终端设备访问的互联网业务属于计费业务的信息,确定对该终端设备的DNS查询请求重定向到免费的互联网业务;Step 305, the control management system determines that the DNS query request for the terminal device is redirected to a free Internet service according to the charging identifier of the terminal device and the information used to determine that the Internet service accessed by the terminal device belongs to the charging service;

其中,免费的互联网业务可以是在线充值业务,也可以是其它免费的互联网业务。Wherein, the free Internet service may be an online recharge service, or other free Internet services.

具体的,控制管理系统从接收到的计费请求消息中解析得到用户的计费标识和该终端设备访问的互联网业务属于计费业务的信息,根据该用户的计费标识查询用户费用数据库,得到该终端设备的用户余额信息,根据该该终端设备的用户余额信息和该终端设备访问的互联网业务属于计费业务的信息确定对该终端设备的DNS查询请求重定向到免费的互联网业务,Specifically, the control and management system analyzes the received charging request message to obtain the user's charging ID and the information that the Internet service accessed by the terminal device belongs to the charging service, and queries the user fee database according to the user's charging ID to obtain According to the user balance information of the terminal device and the information that the Internet service accessed by the terminal device belongs to the billing service, it is determined that the DNS query request of the terminal device is redirected to a free Internet service,

使得用户在该终端设备在欠费的情况下,可以访问免费的互联网业务,提供给了用户灵活的业务访问方式,进而提高了用户体验,此外,同时避免用户在终端设备的余额不足的情况下访问计费业务,产生欠费,对运营商的收益造成损失,为保障运营商的运营安全提供了灵活的方式。It enables users to access free Internet services when the terminal equipment is in arrears, provides users with flexible service access methods, and improves user experience. Access to the billing service will cause arrears and cause losses to the operator's revenue, providing a flexible way to ensure the operator's operational security.

步骤306、该控制管理系统向该控制执行系统返回计费响应消息,其中,该计费响应消息中携带用于指示该控制执行系统对该终端设备的DNS查询请求执行重定向的信息;Step 306, the control management system returns a charging response message to the control execution system, wherein the charging response message carries information for instructing the control execution system to perform redirection of the DNS query request of the terminal device;

其中,需要说明的是,该计费响应消息中携带用于指示该控制执行系统对该终端设备的DNS查询请求执行重定向的信息可以通过下列方式实现、Wherein, it should be noted that the information carried in the charging response message for instructing the control execution system to perform redirection of the DNS query request of the terminal device can be implemented in the following manner,

方式一、该计费响应消息中携带重定向的地址,例如,DNS地址或IP地址;Method 1. The charging response message carries a redirected address, for example, a DNS address or an IP address;

方式二、该计费响应消息中携带重定向的标识,使得控制执行系统根据该重定向的标识确定重定向的地址。Mode 2: The charging response message carries a redirection identifier, so that the control execution system determines the redirection address according to the redirection identifier.

步骤307、该控制执行系统向该终端设备返回DNS查询响应消息,其中,该DNS查询响应消息中携带重定向的地址,该重定向的地址指向免费的互联网业务;Step 307, the control execution system returns a DNS query response message to the terminal device, wherein the DNS query response message carries a redirected address, and the redirected address points to a free Internet service;

需要说明的是,对于步骤306中的方式一而言,可以预先在控制管理系统中配置重定向的地址,在该控制管理系统确定要对终端设备的DNS查询请求进行重定向时,将该重定向的地址下发给控制执行系统,进而该控制执行系统将该重定向的地址下发给终端设备。It should be noted that, for method one in step 306, the redirected address can be pre-configured in the control management system, and when the control management system determines that the DNS query request of the terminal device is to be redirected, the redirected address The directed address is sent to the control execution system, and then the control execution system sends the redirected address to the terminal device.

对于步骤306中的方式二而言,可以在控制执行系统中预先配置的重定向的地址,在该控制执行系统接收到控制管理系统返回的携带用于指示该控制执行系统对该终端设备的DNS查询请求执行重定向的信息的响应消息时,将该预先配置的重定向的地址下发给终端设备。For method 2 in step 306, the redirection address can be pre-configured in the control execution system, and the control execution system receives the DNS returned by the control management system to instruct the control execution system to the terminal device. When querying the response message requesting the redirection information, the pre-configured redirection address is delivered to the terminal device.

步骤308、该终端设备根据该指向免费的互联网业务的重定向的地址,与提供免费的互联网业务的服务器建立连接。Step 308: The terminal device establishes a connection with a server providing free Internet services according to the redirected address pointing to the free Internet services.

在本发明实施例中,控制管理系统在终端设备的用户余额信息为欠费或余额不足,以及该终端设备访问的互联网业务为计费业务时,确定将该终端设备的DNS访问请求重定向到免费的互联网业务,使得用户在该终端设备在欠费的情况下,可以访问免费的互联网业务,提供给了用户灵活的业务访问方式,进而提高了用户体验,此外,同时避免用户在终端设备的余额不足的情况下访问计费业务,产生欠费,对运营商的收益造成损失,为保障运营商的运营安全提供了灵活的方式。In the embodiment of the present invention, the control management system determines to redirect the DNS access request of the terminal device to Free Internet services allow users to access free Internet services when the terminal equipment is in arrears, providing users with flexible service access methods, thereby improving user experience, and avoiding the need for users to pay for the terminal equipment at the same time. When the balance is insufficient, the access to the billing service will cause arrears, which will cause losses to the operator's revenue, and provide a flexible way to ensure the operator's operational security.

进一步的,基于上述实施例,重定向的地址可以是一个免费的导航Web服务器的地址,该导航Web服务器可以由运营商提供,该导航Web服务器可以提供多个免费的互联网业务的接口,以便于用户根据兴趣选择互联网业务,如图5所示,该方法包括:Further, based on the foregoing embodiments, the redirected address may be the address of a free navigation Web server, which may be provided by an operator, and which may provide multiple free Internet service interfaces, so as to facilitate The user selects an Internet service according to interests, as shown in Figure 5, the method includes:

步骤401、终端设备接收到控制执行系统返回DNS查询响应消息,其中,该DNS查询响应消息中携带重定向的地址,该重定的地址为导航Web服务器的地址;Step 401, the terminal device receives a DNS query response message returned by the control execution system, wherein the DNS query response message carries a redirected address, and the redirected address is the address of the navigation Web server;

步骤402、该终端设备向该控制执行系统发送HTTP请求消息,该HTTP请求消息中携带该终端设备访问的互联网业务的统一资源定位符(Uniform UniversalResource Locator,URL);Step 402, the terminal device sends an HTTP request message to the control execution system, and the HTTP request message carries the uniform resource locator (Uniform Universal Resource Locator, URL) of the Internet service accessed by the terminal device;

步骤403、该控制执行系统将该HTTP请求消息转发给该导航Web服务器;Step 403, the control execution system forwards the HTTP request message to the navigation Web server;

步骤404、该导航Web服务器根据该HTTP请求消息中携带的互联网业务的URL判断该终端设备访问互联网业务的是页面类请求业务还是非页面类请求业务,如果是页面类请求,则执行步骤405至步骤407;如果是非页面类请求,则执行步骤408至步骤409;Step 404, the navigation Web server judges whether the terminal device accesses the Internet service based on the URL of the Internet service carried in the HTTP request message, whether it is a page-type request service or a non-page-type request service, and if it is a page-type request, then execute steps 405 to Step 407; if it is a non-page request, execute steps 408 to 409;

其中,导航Web服务器可以根据该HTTP请求消息中携带的互联网业务的URL判断该终端设备访问的互联网业务的是页面类请求业务还是非页面类请求业务。例如,页面类请求的URL包含超文本标记语言(Hypertext Marked Language,HTLM)标识;图片类请求的URL会包含联合图像专家组(Joint PhotographicExperts Group,JPG)标识或图像互换格式(Graphics Interchange Format,GIF)标识;视频类请求的URL会包含FLV(flash video)标识;因此,导航Web服务器可以通过URL中的上述标识确定终端设备的访问的互联网业务的是页面类请求业务还是非页面类请求业务。Wherein, the navigation Web server can determine whether the Internet service accessed by the terminal device is a page-type request service or a non-page-type request service according to the URL of the Internet service carried in the HTTP request message. For example, the URL requested by the page class contains the Hypertext Markup Language (Hypertext Marked Language, HTLM) logo; the URL requested by the image class contains the Joint Photographic Experts Group (Joint Photographic Experts Group, JPG) logo or the Graphics Interchange Format (Graphics Interchange Format, GIF) logo; the URL of the video request will contain the FLV (flash video) logo; therefore, the navigation web server can determine whether the Internet service accessed by the terminal device is a page request service or a non-page request service through the above identifier in the URL .

步骤405、该导航Web服务器向该控制执行系统返回302HTTP重定向响应消息,其中,该302HTTP重定向响应消息中携带免费充值页面的地址;Step 405, the navigation web server returns a 302 HTTP redirect response message to the control execution system, wherein the 302 HTTP redirect response message carries the address of the free recharge page;

步骤406、该控制执行系统向该终端设备转发该302HTTP重定向响应消息;Step 406, the control execution system forwards the 302 HTTP redirection response message to the terminal device;

步骤407、该终端设备根据该302HTTP重定向响应消息中携带的免费的充值页面的地址,与该充值页面的地址指向的服务器建立连接。Step 407: The terminal device establishes a connection with the server pointed to by the address of the recharge page according to the address of the free recharge page carried in the 302 HTTP redirection response message.

需要说明的是,当终端设备的用户余额信息为欠费或余额不足,且访问的互联网业务为计费业务时,控制执行系统将该终端设备的DNS访问请求重定向到导航Web服务器,当该终端设备访问的互联网业务为页面类请求业务时,该导航Web服务器将该终端设备的访问请求重定向到免费的充值页面,使得用户在欠费或余额不足的情况下,可以进行在线充值,提高了用户体验。It should be noted that when the user balance information of the terminal device is in arrears or insufficient balance, and the Internet service accessed is a billing service, the control execution system redirects the DNS access request of the terminal device to the navigation Web server. When the Internet service accessed by the terminal device is a page-type request service, the navigation web server redirects the access request of the terminal device to the free recharge page, so that the user can recharge online in the case of arrears or insufficient balance, improving user experience.

步骤408、该导航Web服务器向该控制执行系统下发HTTP访问失败响应消息,其中,该HTTP访问失败响应消息中携带了用于提醒该终端设备的用户及时充值的信息;Step 408, the navigation web server sends an HTTP access failure response message to the control execution system, wherein the HTTP access failure response message carries information for reminding the user of the terminal device to recharge in time;

步骤409、该控制执行系统向该终端设备转发该HTTP访问失败响应消息。Step 409, the control execution system forwards the HTTP access failure response message to the terminal device.

具体的,该终端设备在接收到该HTTP访问失败响应消息后,从该HTTP访问失败响应消息中解析到用于提醒该终端设备的用户及时充值的信息,并显示给用户,以便于提醒用户及时进行充值。Specifically, after receiving the HTTP access failure response message, the terminal device parses the information used to remind the user of the terminal device to recharge in time from the HTTP access failure response message, and displays it to the user, so as to remind the user to recharge in time. Make recharge.

在本发明实施例中,终端设备的用户余额信息为欠费或余额不足,且访问的互联网业务为计费业务时,控制执行系统将该终端设备的DNS访问请求重定向到导航Web服务器,当该终端设备访问的互联网业务为非页面类请求业务时,该导航Web服务器阻断该请求,并向该终端设备返回HTTP访问失败响应消息,该HTTP访问失败响应消息中携带用于提醒该终端设备的用户及时充值的信息,使得用户在访问失败的情况下,可以知道访问失败的原因,提高了用户体验。In the embodiment of the present invention, when the user balance information of the terminal device is arrears or insufficient balance, and the Internet service accessed is a billing service, the control execution system redirects the DNS access request of the terminal device to the navigation Web server. When the Internet service accessed by the terminal device is a non-page request service, the navigation web server blocks the request, and returns an HTTP access failure response message to the terminal device, and the HTTP access failure response message carries a message for reminding the terminal device The timely recharge information of users allows users to know the reason for access failure in the case of access failure, which improves user experience.

图6为本发明实施例调整用户访问业务的方法的另一个实施例的流程示意图,在本发明实施例中,以终端设备通过IP访问基于HTTP的计费的互联网业务为例,对本发明的技术方案进行说明,如图6所示,该方法包括:Fig. 6 is a schematic flowchart of another embodiment of the method for adjusting user access services in the embodiment of the present invention. In the embodiment of the present invention, the terminal device accesses Internet services based on HTTP charging through IP as an example, and the technology of the present invention The scheme is described, as shown in Figure 6, the method includes:

步骤501、终端设备与控制执行系统完成PDP上下文激活;Step 501, the terminal device and the control execution system complete PDP context activation;

其中,终端设备与控制执行系统完成PDP上下文激活的方式,在步骤301中已经说明,本实施例不再赘述Wherein, the manner in which the terminal device and the control execution system completes the activation of the PDP context has been described in step 301, and will not be repeated in this embodiment.

步骤502、该终端设备向该控制执行系统发送HTTP请求消息;Step 502, the terminal device sends an HTTP request message to the control execution system;

其中,用户可以在终端设备的浏览器中输入需要访问的互联网业务的IP地址,以触发该终端设备向控制执行系统发送HTTP请求消息。其中,该HTTP请求消息中携带有该终端设备要访问的互联网业务页的域名。Wherein, the user can input the IP address of the Internet service to be accessed in the browser of the terminal device, so as to trigger the terminal device to send an HTTP request message to the control execution system. Wherein, the HTTP request message carries the domain name of the Internet service page to be accessed by the terminal device.

步骤503、该控制执行系统根据该HTTP请求消息,判断该终端设备访问的互联网业务属于计费业务;Step 503, the control execution system judges that the Internet service accessed by the terminal device belongs to the charging service according to the HTTP request message;

其中,控制执行系统接收到终端设备发送的HTTP请求消息后,解析该HTTP请求消息,得到HTTP请求消息中携带的该终端设备要访问的互联网业务的域名,该控制执行系统可以根据该互联网业务的域名判断该终端设备访问的该互联网业务是计费业务还是免费业务。Wherein, after the control execution system receives the HTTP request message sent by the terminal device, it parses the HTTP request message, and obtains the domain name of the Internet service to be accessed by the terminal device carried in the HTTP request message, and the control execution system can according to the Internet service The domain name judges whether the Internet service accessed by the terminal device is a chargeable service or a free service.

需要说明的是,根据互联网业务的域名判断该终端设备访问的该互联网业务是计费业务还是免费业务的方式在步骤303中已经说明,此处不再赘述。It should be noted that the manner of judging whether the Internet service accessed by the terminal device is a chargeable service or a free service according to the domain name of the Internet service has been described in step 303 and will not be repeated here.

步骤504、该控制执行系统向控制管理系统发送计费请求消息,该计费请求消息中携带该终端设备的计费标识和用于确定该终端设备访问的互联网业务属于计费业务的信息;Step 504, the control execution system sends a charging request message to the control management system, the charging request message carries the charging identifier of the terminal device and information for determining that the Internet service accessed by the terminal device belongs to the charging service;

需要说明的是,在控制执行系统接收到终端设备发送的HTTP请求消息时,从该HTTP请求消息的头域中解析得到该终端设备的IP地址,该控制执行系统根据该终端设备的IP地址和该终端设备的计费标识的关联关系,确定该终端设备的计费标识,控制执行系统将该计费标识携带在计费请求消息中发送给控制管理系统。It should be noted that, when the control execution system receives the HTTP request message sent by the terminal device, it parses the header field of the HTTP request message to obtain the IP address of the terminal device, and the control execution system according to the IP address of the terminal device and The association relationship of the charging ID of the terminal device determines the charging ID of the terminal device, and the control execution system carries the charging ID in the charging request message and sends it to the control management system.

步骤505、该控制管理系统根据该终端设备的计费标识和用于确定该终端设备访问的互联网业务属于计费业务的信息确定对该终端设备的HTTP请求重定向到免费的互联网业务;Step 505, the control management system determines that the HTTP request to the terminal device is redirected to a free Internet service according to the charging identifier of the terminal device and the information used to determine that the Internet service accessed by the terminal device belongs to a charging service;

其中,免费的互联网业务可以是在线充值业务,也可以是其它免费的互联网业务。Wherein, the free Internet service may be an online recharge service, or other free Internet services.

具体的,控制管理系统从接收到的计费请求消息中解析得到用户的计费标识和该终端设备访问的互联网业务属于计费业务的信息,根据该用户的计费标识查询用户费用数据库,得到该终端设备的用户余额信息,根据该该终端设备的用户余额信息和用于确定该终端设备访问的互联网业务属于计费业务的信息确定对该终端设备的HTTP请求重定向到免费的互联网业务,使得用户在该终端设备在欠费的情况下,可以访问免费的互联网业务,提供给了用户灵活的业务访问方式,进而提高了用户体验,同时,避免用户在终端设备的用户余额信息为余额不足的情况下访问计费业务,产生欠费,对运营商的收益造成损失,为保障运营商的运营安全提供了灵活的方式。Specifically, the control and management system analyzes the received charging request message to obtain the user's charging ID and the information that the Internet service accessed by the terminal device belongs to the charging service, and queries the user fee database according to the user's charging ID to obtain The user balance information of the terminal device, according to the user balance information of the terminal device and the information used to determine that the Internet service accessed by the terminal device belongs to the billing service, determine that the HTTP request to the terminal device is redirected to a free Internet service, It enables users to access free Internet services when the terminal equipment is in arrears, provides users with flexible service access methods, and improves user experience. At the same time, it prevents the user's user balance information on the terminal equipment from being insufficient Under the circumstances of accessing the billing service, arrears will occur, which will cause losses to the operator's revenue, and provide a flexible way to ensure the operator's operational security.

步骤506、该控制管理系统向该控制执行系统返回计费响应消息,其中,该计费响应消息中携带用于指示该控制执行系统对该终端设备的HTTP请求执行重定向的信息;Step 506: The control management system returns a charging response message to the control execution system, wherein the charging response message carries information for instructing the control execution system to redirect the HTTP request of the terminal device;

其中,需要说明的是,该计费响应消息中携带用于指示该控制执行系统对该终端设备的HTTP请求执行重定向的信息的方式在步骤306中已经说明,此处步骤赘述。It should be noted that the manner in which the charging response message carries information for instructing the control execution system to perform redirection of the HTTP request of the terminal device has been described in step 306, and the steps are repeated here.

步骤507、该控制执行系统根据该HTTP请求消息中携带的该终端设备要访问的互联网业务页的URL判断该终端设备访问的互联网业务是页面类请求业务还是非页面类请求业务,如果是页面类请求业务,则执行步骤508和步骤509;如果是非页面类请求业务,则执行步骤510;Step 507, the control execution system judges whether the Internet service accessed by the terminal device is a page-type request service or a non-page-type request service according to the URL of the Internet service page to be accessed by the terminal device carried in the HTTP request message. To request a service, execute step 508 and step 509; if it is a non-page request service, execute step 510;

其中,当控制执行系统接收到控制管理系统返回的响应消息后,根据该响应消息中携带的用于指示该控制执行系统对该终端设备的HTTP请求执行重定向的信息,获知需要对该终端设备的HTTP请求执行重定向时,则该控制执行系统根据该终端设备发送的HTTP请求消息中携带的该终端设备要访问的互联网业务页的URL判断该终端设备访问的互联网业务是页面类请求业务还是非页面类请求业务。Wherein, when the control execution system receives the response message returned by the control management system, according to the information carried in the response message for instructing the control execution system to redirect the HTTP request of the terminal device, it knows that the When the HTTP request redirection is executed, the control execution system judges whether the Internet service accessed by the terminal device is a page type request service or Non-page request business.

需要说明的是,控制执行系统可以根据该HTTP请求消息中携带的互联网业务的URL判断该终端设备访问的互联网业务的是页面类请求业务还是非页面类请求业务。例如,页面类请求的URL包含HTLM标识;图片类请求的URL会包含JPG或GIF标识;视频类请求的URL会包含FLV标识;因此,控制执行系统可以通过URL中的上述标识确定终端设备的访问的互联网业务的是页面类请求业务还是非页面类请求业务。It should be noted that the control execution system can determine whether the Internet service accessed by the terminal device is a page-type request service or a non-page-type request service according to the URL of the Internet service carried in the HTTP request message. For example, the URL requested by the page class contains the HTLM logo; the URL requested by the image class will contain the JPG or GIF logo; the URL requested by the video class will contain the FLV logo; therefore, the control execution system can determine the access of the terminal device through the above logos in the URL Whether the Internet service is a page-type request service or a non-page-type request service.

步骤508、该控制执行系统向该终端设备返回302HTTP重定向响应消息,其中,该302HTTP重定向响应消息中携带免费的Web页面的地址;Step 508, the control execution system returns a 302 HTTP redirect response message to the terminal device, wherein the 302 HTTP redirect response message carries the address of the free Web page;

需要说明的是,免费的Web页面的地址可以是免费的充值页面的地址,也可以是其它免费的页面的地址。It should be noted that the address of the free web page may be the address of the free recharge page, or the address of other free pages.

若免费的Web页面的地址是免费的充值页面的地址,可以使得当终端设备的用户余额信息为余额不足或欠费,且访问的互联网业务为计费业务时,控制执行系统将该终端设备的HTTP请求重定向到免费的充值页面,使得用户在余额不足或欠费的情况下,可以进行在线充值,提高了用户体验。If the address of the free web page is the address of the free recharge page, it can be made that when the user balance information of the terminal device is insufficient or in arrears, and the Internet service accessed is a billing service, the control execution system will use the terminal device's The HTTP request is redirected to the free recharge page, so that the user can recharge online when the balance is insufficient or in arrears, which improves the user experience.

步骤509、该终端设备根据该免费的Web页面的地址,与该免费的Web页面的地址指向的服务器建立连接。Step 509, the terminal device establishes a connection with the server pointed to by the address of the free Web page according to the address of the free Web page.

在本发明实施例中,控制管理系统在终端设备的用户余额信息为欠费或余额不足,以及该终端设备访问的互联网业务为计费业务时,控制执行系统根据该终端设备访问的互联网业务是页面类请求业务,确定将该终端设备的HTTP请求重定向到免费的Web页面,使得用户在该终端设备在欠费的情况下,可以访问免费的互联网业务,提供给了用户灵活的业务访问方式,进而提高了用户体验,同时,避免用户在终端设备的用户余额信息为余额不足的情况下访问计费业务,产生欠费,对运营商的收益造成损失,为保障运营商的运营安全提供了灵活的方式。此外,在终端设备访问的互联网业务是页面类请求业务时,才将该终端设备的HTTP请求重定向到免费的Web页面,避免在终端设备访问的互联网业务是非页面类请求业务时,向该终端设备返回Web页面,该终端设备不能识别该Web页面的问题。In the embodiment of the present invention, when the user balance information of the terminal device is in arrears or insufficient balance, and the Internet service accessed by the terminal device is a billing service, the control execution system determines whether the Internet service accessed by the terminal device is For page type request services, it is determined to redirect the HTTP request of the terminal device to a free web page, so that the user can access free Internet services when the terminal device is in arrears, providing users with flexible service access methods , thereby improving the user experience, and at the same time, avoiding the user's access to the billing service when the user balance information of the terminal device is insufficient, resulting in arrears, causing losses to the operator's revenue, and providing a guarantee for the operator's operational security. flexible way. In addition, when the Internet service accessed by the terminal device is a page-type request service, the HTTP request of the terminal device is redirected to a free Web page, so as to avoid sending a request to the terminal device when the Internet service accessed by the terminal device is a non-page request service. The device returns a web page, and the terminal device cannot recognize the problem with the web page.

步骤510、该控制执行系统向该终端设备返回HTTP访问失败响应消息,其中,该HTTP访问失败响应消息中携带了用于提醒该终端设备的用户及时充值的信息。Step 510, the control execution system returns an HTTP access failure response message to the terminal device, wherein the HTTP access failure response message carries information for reminding the user of the terminal device to recharge in time.

具体的,该终端设备在接收到该HTTP访问失败响应消息后,从该HTTP访问失败响应消息中解析到用于提醒该终端设备的用户及时充值的信息,并显示给用户,以便于提醒用户及时进行充值。Specifically, after receiving the HTTP access failure response message, the terminal device parses the information used to remind the user of the terminal device to recharge in time from the HTTP access failure response message, and displays it to the user, so as to remind the user to recharge in time. Make recharge.

在终端设备访问的互联网业务是非页面类请求业务时,将该终端设备的HTTP请求阻断,并向该终端设备返回HTTP访问失败响应消息,该HTTP访问失败响应消息中携带用于提醒该终端设备的用户进行及时充值的信息,使得用户在访问失败的情况下,可以知道访问失败的原因,提高了用户体验。When the Internet service accessed by the terminal device is a non-page request service, the HTTP request of the terminal device is blocked, and an HTTP access failure response message is returned to the terminal device, and the HTTP access failure response message carries information for reminding the terminal device The user can recharge in time, so that the user can know the reason for the access failure when the access fails, and the user experience is improved.

图7为本发明实施例调整用户访问业务的方法的另一个实施例的流程示意图,在本发明实施例中,以终端设备的用户余额信息为欠费或余额不足时,通过域名访问基于HTTP的免费的互联网业务为例,对本发明的技术方案进行说明,如图7所示,该方法包括:Fig. 7 is a schematic flow chart of another embodiment of the method for adjusting user access services in the embodiment of the present invention. In the embodiment of the present invention, when the user balance information of the terminal device is considered as arrears or insufficient balance, the HTTP-based Free Internet service is taken as an example, and the technical solution of the present invention is described, as shown in Figure 7, the method includes:

步骤601、终端设备与控制执行系统完成分组数据协议PDP上下文激活;Step 601, the terminal device and the control execution system complete the packet data protocol PDP context activation;

其中,终端设备与控制执行系统完成PDP上下文激活的方式,在步骤301中已经说明,本实施例不再赘述Wherein, the manner in which the terminal device and the control execution system completes the activation of the PDP context has been described in step 301, and will not be repeated in this embodiment.

步骤602、该终端设备向控制执行系统发送DNS查询请求消息;Step 602, the terminal device sends a DNS query request message to the control execution system;

步骤603、该控制执行系统根据该DNS查询请求消息,判断该终端设备访问的互联网业务属于免费业务;Step 603, the control execution system determines that the Internet service accessed by the terminal device is a free service according to the DNS query request message;

其中,该控制执行系统根据该DNS查询请求消息,判断该终端设备访问的互联网业务属于免费业务还是计费业务的方式,在步骤303中已经说明,本实施例不再赘述Wherein, the method of the control execution system judging whether the Internet service accessed by the terminal device is a free service or a chargeable service according to the DNS query request message has been explained in step 303, and will not be repeated in this embodiment

步骤604、该控制执行系统向控制管理系统发送计费请求消息,该计费请求消息中携带该终端设备的计费标识和用于确定该终端设备访问的互联网业务属于免费业务的信息;Step 604, the control execution system sends a charging request message to the control management system, the charging request message carries the charging identifier of the terminal device and information for determining that the Internet service accessed by the terminal device is a free service;

步骤605、该控制管理系统根据该终端设备的计费标识和用于确定该终端设备访问的互联网业务属于免费业务的信息,确定对该终端设备的DNS查询请求不重定向到免费的互联网业务;Step 605, the control management system determines that the DNS query request for the terminal device is not redirected to a free Internet service according to the charging identifier of the terminal device and the information used to determine that the Internet service accessed by the terminal device is a free service;

需要说明的是,由于终端设备在访问免费的互联网业务的情况下,无论终端设备的用户余额信息的情况如何,都不会产生费用,因此,不需要将该终端设备的DNS查询请求重定向到免费的互联网业务。It should be noted that, when a terminal device accesses free Internet services, no charges will be incurred regardless of the user balance information of the terminal device, so there is no need to redirect the DNS query request of the terminal device to free internet business.

步骤606、该控制管理系统向该控制执行系统返回计费响应消息,其中,该计费响应消息中携带该终端设备的用户余额信息;Step 606: The control management system returns a charging response message to the control execution system, wherein the charging response message carries the user balance information of the terminal device;

步骤607、该控制执行系统将该终端设备的DNS查询请求消息转发给DNS服务器;Step 607, the control execution system forwards the DNS query request message of the terminal device to the DNS server;

其中,当该控制管理系统向该控制执行系统返回的计费响应消息中没有携带重定向的信息时,该控制执行系统将该终端设备发送的DNS查询请求消息转发给对应的DNS服务器。Wherein, when the charging response message returned by the control management system to the control execution system does not carry redirection information, the control execution system forwards the DNS query request message sent by the terminal device to the corresponding DNS server.

步骤608、DNS服务器将向该控制执行系统返回DNS查询响应消息;Step 608, the DNS server returns a DNS query response message to the control execution system;

其中,该DNS服务器根据该DNS查询响应消息中携带的终端设备访问的互联网业务的域名进行DNS解析,得到该互联网业务的域名对应的IP地址,将该IP地址携带在DNS查询响应消息中返回给控制执行系统。Wherein, the DNS server performs DNS resolution according to the domain name of the Internet service accessed by the terminal device carried in the DNS query response message, obtains the IP address corresponding to the domain name of the Internet service, and carries the IP address in the DNS query response message and returns to Control Execution System.

步骤609、该控制执行系统向该终端设备返回DNS查询响应消息;Step 609, the control execution system returns a DNS query response message to the terminal device;

步骤610、该终端设备根据该DNS查询响应消息中携带的IP地址向该控制执行系统发送HTTP请求消息;Step 610, the terminal device sends an HTTP request message to the control execution system according to the IP address carried in the DNS query response message;

步骤611、该控制执行系统将该HTTP请求消息转发给该IP地址对应的Web服务器;Step 611, the control execution system forwards the HTTP request message to the Web server corresponding to the IP address;

在本发明实施例中,Web服务器提供用于终端设备访问的互联网业务信息。In the embodiment of the present invention, the Web server provides Internet service information for terminal equipment to access.

步骤612、该Web服务器向该控制执行系统返回HTTP响应消息;Step 612, the web server returns an HTTP response message to the control execution system;

步骤613、该控制执行系统根据该HTTP响应消息中携带的该终端设备访问的互联网业务的URL判断该终端设备访问的互联网业务是页面类请求业务还是非页面类请求业务;若是页面类请求业务,则执行步骤614和步骤615;若是非页面类请求业务,则执行步骤616;Step 613, the control execution system determines whether the Internet service accessed by the terminal device is a page request service or a non-page request service according to the URL of the Internet service accessed by the terminal device carried in the HTTP response message; if it is a page request service, Then execute step 614 and step 615; if it is a non-page class request service, then execute step 616;

需要说明的是,控制执行系统根据该HTTP响应消息中携带的该终端设备访问的互联网业务的URL判断该终端设备访问的互联网业务是页面类请求业务还是非页面类请求业务的方式在步骤404中已经说明,此处不再赘述。It should be noted that the control execution system judges whether the Internet service accessed by the terminal device is a page type request service or a non-page type request service according to the URL of the Internet service accessed by the terminal device carried in the HTTP response message in step 404 It has already been explained and will not be repeated here.

步骤614、该控制执行系统在该HTTP响应消息中携带用于提醒该终端设备的用户及时充值的信息;Step 614, the control execution system carries information for reminding the user of the terminal device to recharge in time in the HTTP response message;

步骤615、该控制执行系统将HTTP响应消息返回给终端设备。Step 615, the control execution system returns the HTTP response message to the terminal device.

具体的,该终端设备在接收到该HTTP访问失败响应消息后,从该HTTP访问失败响应消息中解析到用于提醒该终端设备的用户及时充值的信息,并显示在屏幕上,以便于提醒用户及时进行充值。Specifically, after receiving the HTTP access failure response message, the terminal device parses from the HTTP access failure response message to remind the user of the terminal device to recharge in time, and displays it on the screen, so as to remind the user Recharge in time.

步骤616、该控制执行系统向所述终端设备返回访问失败响应消息,所述访问失败响应消息中携带用于提醒该终端设备的用户及时充值的信息,以使得所述终端设备将所述及时充值的信息显示在屏幕上。Step 616: The control execution system returns an access failure response message to the terminal device, and the access failure response message carries information for reminding the user of the terminal device to recharge in time, so that the terminal device will recharge in time information is displayed on the screen.

在本发明实施例中,当终端设备的用户余额信息为余额不足或欠费,且访问的互联网业务为免费业务时,对该终端设备发送的DNS查询请求不进行重定向,但该控制执行系统在该HTTP响应消息中携带用于提醒该终端设备的用户及时充值的信息,提醒用户及时进行充值,避免影响用户访问计费的互联网业务的使用,提高了用户体验。In the embodiment of the present invention, when the user balance information of the terminal device is insufficient or in arrears, and the Internet service accessed is a free service, the DNS query request sent by the terminal device is not redirected, but the control execution system The HTTP response message carries information for reminding the user of the terminal device to recharge in time, reminding the user to recharge in time, avoiding affecting the use of Internet services for user access and billing, and improving user experience.

图8为本发明实施例调整用户访问业务的方法的另一个实施例的流程示意图,在本发明实施例中,以终端设备的用户余额信息为欠费或余额不足时,通过IP访问基于HTTP的免费的互联网业务为例,对本发明的技术方案进行说明,如图8所示,该方法包括:Fig. 8 is a schematic flow chart of another embodiment of the method for adjusting user access services in the embodiment of the present invention. In the embodiment of the present invention, when the user balance information of the terminal device is considered as arrears or insufficient balance, the HTTP-based service is accessed through IP. Free Internet service is taken as an example, and the technical solution of the present invention is described, as shown in Figure 8, the method includes:

步骤701、终端设备与控制执行系统完成分组数据协议PDP上下文激活;Step 701, the terminal device and the control execution system complete the packet data protocol PDP context activation;

其中,终端设备与控制执行系统完成PDP上下文激活的方式,在步骤301中已经说明,本实施例不再赘述。The manner in which the terminal device and the control execution system completes the activation of the PDP context has been described in step 301, and will not be repeated in this embodiment.

步骤702、该终端设备向该控制执行系统发送HTTP请求消息;Step 702, the terminal device sends an HTTP request message to the control execution system;

其中,终端设备向控制执行系统发送HTTP请求消息的方式,在步骤502中已经说明,本实施例不再赘述。Wherein, the manner in which the terminal device sends the HTTP request message to the control execution system has been described in step 502, and will not be repeated in this embodiment.

步骤703、该控制执行系统根据该HTTP请求消息,判断该终端设备访问的互联网业务属于免费业务;Step 703, the control execution system determines that the Internet service accessed by the terminal device is a free service according to the HTTP request message;

其中,该该控制执行系统根据该HTTP请求消息,判断该终端设备访问的互联网业务属于免费业务还是计费业务的方式,在步骤503中已经说明,本实施例不再赘述。Wherein, the manner in which the control execution system judges whether the Internet service accessed by the terminal device is a free service or a chargeable service according to the HTTP request message has been described in step 503, and will not be repeated in this embodiment.

步骤704、该控制执行系统向控制管理系统发送计费请求消息,该计费请求消息中携带该终端设备的计费标识和用于确定该终端设备访问的互联网业务属于免费业务的信息;Step 704, the control execution system sends a charging request message to the control management system, the charging request message carries the charging identifier of the terminal device and information for determining that the Internet service accessed by the terminal device is a free service;

步骤705、控制管理系统根据该计费请求消息中携带的终端设备的计费标识确定该终端设备的用户余额信息;Step 705, the control management system determines the user balance information of the terminal device according to the charging identification of the terminal device carried in the charging request message;

其中,控制管理系统根据该计费请求消息中携带的终端设备的计费标识确定该终端设备的用户余额信息的方式,在步骤605中已经说明,本实施例不再赘述。Wherein, the manner in which the control management system determines the user balance information of the terminal device according to the charging identifier of the terminal device carried in the charging request message has been explained in step 605, and will not be repeated in this embodiment.

步骤706、该控制管理系统根据该计费请求消息中携带的用于确定该终端设备访问的互联网业务属于免费业务的信息,确定对该终端设备的HTTP请求不进行重定向;Step 706, the control management system determines not to redirect the HTTP request of the terminal device according to the information carried in the charging request message for determining that the Internet service accessed by the terminal device is a free service;

需要说明的是,由于终端设备在访问免费的互联网业务的情况下,无论终端设备的用户余额信息的情况如何,都不会产生费用,因此,不需要将该终端设备的HTTP请求重定向到免费的互联网业务。It should be noted that, when a terminal device accesses a free Internet service, no charges will be incurred regardless of the user balance information of the terminal device. Therefore, there is no need to redirect the HTTP request of the terminal device to the free Internet service. internet business.

步骤707、该控制管理系统向该控制执行系统返回计费响应消息,其中,该计费响应消息中携带该终端设备的用户余额信息;Step 707, the control management system returns a charging response message to the control execution system, wherein the charging response message carries the user balance information of the terminal device;

步骤708、该控制执行系统将该HTTP请求消息转发给对应Web服务器;Step 708, the control execution system forwards the HTTP request message to the corresponding Web server;

在本发明实施例中,Web服务器提供用于终端设备访问的互联网业务信息。In the embodiment of the present invention, the Web server provides Internet service information for terminal equipment to access.

其中,当该控制管理系统向该控制执行系统返回的计费响应消息中没有携带重定向的信息时,该控制执行系统将该终端设备发送的HTTP请求消息转发给Web服务器。Wherein, when the charging response message returned by the control management system to the control execution system does not carry redirection information, the control execution system forwards the HTTP request message sent by the terminal device to the Web server.

步骤709、该Web服务器向该控制执行系统返回HTTP响应消息;Step 709, the web server returns an HTTP response message to the control execution system;

步骤710、该控制执行系统根据该HTTP响应消息携带的该终端设备访问的互联网业务的URL判断该终端设备访问的互联网业务是页面类请求业务还是非页面类请求业务,若是页面类请求业务,则执行步骤711和步骤712;若是非页面类请求业务,则执行步骤713;Step 710, the control execution system judges whether the Internet service accessed by the terminal device is a page-type request service or a non-page-type request service according to the URL of the Internet service accessed by the terminal device carried in the HTTP response message, and if it is a page-type request service, then Execute step 711 and step 712; if it is a non-page type request service, then execute step 713;

需要说明的是,控制执行系统根据该HTTP响应消息中携带的该终端设备访问的互联网业务的URL判断该终端设备访问的互联网业务是页面类请求业务还是非页面类请求业务的方式在步骤404中已经说明,此处不再赘述。It should be noted that the control execution system judges whether the Internet service accessed by the terminal device is a page type request service or a non-page type request service according to the URL of the Internet service accessed by the terminal device carried in the HTTP response message in step 404 It has already been explained and will not be repeated here.

步骤711、该控制执行系统在该HTTP响应消息中携带用于提醒该终端设备的用户及时充值的信息;Step 711, the control execution system carries information for reminding the user of the terminal device to recharge in time in the HTTP response message;

步骤712、该控制执行系统将该HTTP响应消息返回给该终端设备。Step 712, the control execution system returns the HTTP response message to the terminal device.

具体的,该终端设备在接收到该HTTP访问失败响应消息后,从该HTTP访问失败响应消息中解析到该及时充值的信息,并显示在屏幕上,用于提醒用户及时进行充值。Specifically, after receiving the HTTP access failure response message, the terminal device parses the timely recharge information from the HTTP access failure response message, and displays the information on the screen to remind the user to recharge in time.

步骤713、该控制执行系统向所述终端设备返回访问失败响应消息,所述访问失败响应消息中携带用于提醒该终端设备的用户及时充值的信息,以使得所述终端设备将所述及时充值的信息显示在屏幕上。Step 713: The control execution system returns an access failure response message to the terminal device, and the access failure response message carries information for reminding the user of the terminal device to recharge in time, so that the terminal device will recharge in time information is displayed on the screen.

在本发明实施例中,当终端设备的用户余额信息为余额不足或欠费,且访问的互联网业务为免费业务时,对该终端设备发送的HTTP请求不进行重定向,若该终端设备访问的互联网业务为页面类请求业务时,该控制执行系统在该HTTP响应消息中携带用于提醒该终端设备的用户进行及时充值的信息,使得用户能够及时的进行充值,避免影响用户的使用,提高了用户体验。In the embodiment of the present invention, when the user balance information of the terminal device is insufficient or in arrears, and the Internet service accessed is a free service, the HTTP request sent by the terminal device is not redirected, if the terminal device accesses When the Internet service is a page-type request service, the control execution system carries information for reminding the user of the terminal device to recharge in time in the HTTP response message, so that the user can recharge in time, avoiding affecting the use of the user, and improving the user experience. user experience.

基于上述实施例,其中,若该计费控制服务器接收到访问请求是访问基于非HTTP的互联网业务的访问请求,该计费控制服务器可以直接阻断该访问请求,并返回给该终端设备访问失败的响应消息,其中,当该终端设备的用户余额信息为余额不足或欠费时,该响应消息中可以携带用于提醒该终端设备的用户及时充值的信息。Based on the above-mentioned embodiment, wherein, if the access request received by the charging control server is an access request to access a non-HTTP-based Internet service, the charging control server may directly block the access request and return the access failure to the terminal device. A response message, wherein, when the user balance information of the terminal device is insufficient or in arrears, the response message may carry information for reminding the user of the terminal device to recharge in time.

图9为本发明实施例控制管理装置的一个结构示意图,如图9所示,该控制管理装置90包括:接收模块901,余额确定模块902,计费确定模块903、重定向确定模块904和发送模块905。Figure 9 is a schematic structural diagram of a control management device according to an embodiment of the present invention. As shown in Figure 9, the control management device 90 includes: a receiving module 901, a balance determination module 902, a billing determination module 903, a redirection determination module 904 and a sending Module 905.

接收模块901用于接收控制执行系统发送的对终端设备进行计费的请求消息,所述请求消息中携带所述终端设备的计费标识和用于确定所述终端设备访问的互联网业务是否需要计费的信息;The receiving module 901 is configured to receive a request message for charging the terminal device sent by the control execution system, the request message carries the charging identifier of the terminal device and is used to determine whether the Internet service accessed by the terminal device needs to be charged. fee information;

余额确定模块902用于根据所述接收模块901接收的所述终端设备的计费标识确定所述终端设备的用户余额信息;The balance determination module 902 is configured to determine the user balance information of the terminal device according to the charging identification of the terminal device received by the receiving module 901;

计费确定模块903用于当所述余额确定模块902确定所述终端设备的用户余额信息为欠费或余额不足时,根据所述接收模块901接收的所述用于确定所述终端设备访问的互联网业务是否需要计费的信息确定所述终端设备访问的互联网业务是否需要计费;The billing determining module 903 is configured to, when the balance determining module 902 determines that the user balance information of the terminal device is in arrears or insufficient balance, according to the information received by the receiving module 901 for determining the access of the terminal device The information on whether Internet services need to be charged determines whether the Internet services accessed by the terminal device need to be charged;

重定向确定模块904用于当所述计费确定模块903确定所述终端设备访问的互联网业务需要计费时,确定对所述终端设备的访问请求需要进行重定向;The redirect determination module 904 is configured to determine that the access request of the terminal device needs to be redirected when the charging determination module 903 determines that the Internet service accessed by the terminal device requires charging;

发送模块905用于根据所述重定向确定模块904确定的需要重定向的结果,向所述控制执行系统返回计费响应消息,以使得所述控制执行系统根据所述计费响应消息对所述终端设备的访问请求进行处理。The sending module 905 is configured to return a charging response message to the control execution system according to the result determined by the redirection determination module 904 that the redirection is required, so that the control execution system performs the charging response message according to the charging response message. Access requests from terminal devices are processed.

在本发明实施例中,控制管理装置确定终端设备的用户余额信息为欠费或余额不足时,且当该终端设备访问的互联网业务需要计费时,确定对该终端设备的访问请求需要进行重定向,实现了根据用户的业务资费情况,对用户发起的访问业务进行相应调整,在保证数据业务资费的运营安全的同时,提高了用户体验。In the embodiment of the present invention, when the control and management device determines that the user balance information of the terminal equipment is in arrears or insufficient balance, and when the Internet service accessed by the terminal equipment needs to be billed, it determines that the access request of the terminal equipment needs to be repeated. Orientation, which realizes corresponding adjustments to the access services initiated by users according to the user's service charges, and improves user experience while ensuring the operation security of data service charges.

其中,所述发送模块905具体用于根据所述重定向确定模块904确定的需要重定向的结果,向所述控制执行系统返回计费响应消息,所述计费响应消息中携带重定向的地址,所述重定向的地址为免费的互联网业务的地址,以使得所述控制执行系统根据所述免费的互联网业务的地址将所述终端设备的访问请求重定向到所述免费的互联网业务的地址指向的互联网业务。Wherein, the sending module 905 is specifically configured to return a charging response message to the control execution system according to the redirection result determined by the redirection determining module 904, and the charging response message carries the redirected address , the redirected address is an address of a free Internet service, so that the control execution system redirects the access request of the terminal device to the address of the free Internet service according to the address of the free Internet service Pointing to internet business.

当所述终端设备的用户余额信息为欠费或余额不足,且所述终端设备访问的互联网业务为计费业务时,确定对所述终端设备的访问请求进行重定向到免费的互联网业务,使得用户在该终端设备欠费的情况下,可以访问免费网页,提供给了用户灵活的访问业务,进而提高了用户体验。When the user balance information of the terminal device is arrears or insufficient balance, and the Internet service accessed by the terminal device is a billing service, it is determined to redirect the access request of the terminal device to a free Internet service, so that When the terminal device is in arrears, the user can access the free webpage, which provides the user with flexible access services, thereby improving the user experience.

此外,所述重定向确定模块904还用于所述终端设备访问的互联网业务不需要计费时,确定对所述终端设备的访问请求不需要进行重定向;In addition, the redirection determination module 904 is also used to determine that the access request to the terminal device does not need to be redirected when the Internet service accessed by the terminal device does not require billing;

所述发送模块905还用于根据所述重定向确定模块904确定的不需要重定向的结果,向所述控制执行系统返回计费响应消息,以使得所述控制执行系统将所述终端设备的访问请求发送到所述访问请求对应的服务器。The sending module 905 is further configured to return a charging response message to the control execution system according to the result determined by the redirection determination module 904 that no redirection is required, so that the control execution system sends the terminal device's The access request is sent to the server corresponding to the access request.

图10为本发明实施例控制管理装置的另一个结构示意图,如图10所示,包括至少一个处理器1001(例如CPU),至少一个网络接口1002或者其他通信接口,存储器1003,和至少一个通信总线1004,用于实现这些装置之间的连接通信。处理器1001用于执行存储器1003中存储的可执行模块,例如计算机程序。存储器1003可能包含高速随机存取存储器(RAM:Random Access Memory),也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。通过至少一个网络接口1002(可以是有线或者无线)实现该系统网关与至少一个其他网元之间的通信连接,可以使用互联网,广域网,本地网,城域网等。Fig. 10 is another schematic structural diagram of a control management device according to an embodiment of the present invention. As shown in Fig. 10 , it includes at least one processor 1001 (such as a CPU), at least one network interface 1002 or other communication interfaces, memory 1003, and at least one communication The bus 1004 is used to realize connection and communication between these devices. The processor 1001 is used to execute executable modules, such as computer programs, stored in the memory 1003 . The memory 1003 may include a high-speed random access memory (RAM: Random Access Memory), and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory. The communication connection between the system gateway and at least one other network element is realized through at least one network interface 1002 (which can be wired or wireless), and the Internet, wide area network, local network, metropolitan area network, etc. can be used.

在一些实施方式中,存储器1003存储了程序指令,程序指令可以被处理器1001执行,其中,程序指令包括接收模块901,余额确定模块902,计费确定模块903、重定向确定模块904和发送模块905,各模块的具体实现参见图9所揭示的相应模块,这里不再赘述。In some implementations, the memory 1003 stores program instructions, which can be executed by the processor 1001, wherein the program instructions include a receiving module 901, a balance determining module 902, a billing determining module 903, a redirection determining module 904 and a sending module 905. For the specific implementation of each module, refer to the corresponding modules disclosed in FIG. 9 , which will not be repeated here.

图11为本发明实施例控制执行装置的一个结构示意图,如图11所示,该控制执行装置110包括:发送模块1101,接收模块1102和执行模块1103。FIG. 11 is a schematic structural diagram of a control execution device according to an embodiment of the present invention. As shown in FIG. 11 , the control execution device 110 includes: a sending module 1101 , a receiving module 1102 and an execution module 1103 .

发送模块1101,用于向控制管理系统发送对终端设备进行计费的请求消息,所述请求消息中携带所述终端设备的计费标识和用于确定所述终端设备访问的互联网业务是否需要计费的信息,以使得所述控制管理系统根据所述计费标识确定所述终端设备的用户余额信息,并当所述终端设备的用户余额信息为欠费或余额不足时,根据所述用于确定所述终端设备访问的互联网业务是否需要计费的信息确定所述终端设备访问的互联网业务是否需要计费,当所述终端设备访问的互联网业务需要计费,确定对所述终端设备的访问请求需要进行重定向;The sending module 1101 is configured to send a request message for charging the terminal device to the control and management system, the request message carries the charging identifier of the terminal device and is used to determine whether the Internet service accessed by the terminal device needs to be charged. charge information, so that the control management system determines the user balance information of the terminal device according to the charging identification, and when the user balance information of the terminal device is in arrears or insufficient balance, according to the Determine whether the Internet service accessed by the terminal device needs to be charged. Determine whether the Internet service accessed by the terminal device needs to be charged. When the Internet service accessed by the terminal device needs to be charged, determine the access to the terminal device. The request needs to be redirected;

接收模块1102,用于接收所述控制管理系统根据确定的需要重定向的结果返回的计费响应消息;The receiving module 1102 is configured to receive the charging response message returned by the control management system according to the determined result of redirection;

执行模块1103,用于根据所述接收模块接收的计费响应消息对所述终端设备的访问请求进行处理。The executing module 1103 is configured to process the access request of the terminal device according to the charging response message received by the receiving module.

在本发明实施例中,控制执行装置将终端设备的计费标识和用于确定终端设备访问的互联网业务是否计费的信息上报给控制管理系统,以使得控制管理系统确定终端设备的用户余额信息为欠费或余额不足时,且当该终端设备访问的互联网业务需要计费,确定对该终端设备的访问请求需要进行重定向,控制执行系统根据控制管理系统返回的计费响应消息对终端设备的访问请求进行处理,实现了根据用户的业务资费情况,对用户发起的访问业务进行相应调整,在保证业务资费运营安全的同时,提高了用户体验。In the embodiment of the present invention, the control execution device reports the charging identification of the terminal equipment and the information used to determine whether the Internet service accessed by the terminal equipment is charged to the control management system, so that the control management system can determine the user balance information of the terminal equipment When it is in arrears or the balance is insufficient, and when the Internet service accessed by the terminal device needs to be billed, it is determined that the access request of the terminal device needs to be redirected, and the control execution system will return the billing response message to the terminal device according to the charging response message returned by the control management system. According to the user's business tariff situation, the access service initiated by the user is adjusted accordingly, and the user experience is improved while ensuring the security of the business tariff operation.

其中,所述接收模块1102具体用于接收所述控制管理系统根据确定的需要重定向的结果返回的计费响应消息,所述计费响应消息中携带重定向的地址,所述重定向的地址为免费的互联网业务的地址;Wherein, the receiving module 1102 is specifically configured to receive the charging response message returned by the control management system according to the determined redirection result, the charging response message carries the redirected address, and the redirected address Addresses for free Internet businesses;

所述执行模块1103具体用于向所述终端设备返回所述免费的互联网业务的地址,以使得所述终端设备根据所述免费的互联网业务的地址与所述互联网业务的地址指向的服务器建立连接。The execution module 1103 is specifically configured to return the address of the free Internet service to the terminal device, so that the terminal device establishes a connection with the server pointed to by the address of the Internet service according to the address of the free Internet service .

当所述终端设备的用户余额信息为欠费或余额不足,且所述终端设备访问的互联网业务为计费业务时,确定对所述终端设备的访问请求进行重定向到免费的互联网业务,使得用户在该终端设备欠费的情况下,可以访问免费网页,提供给了用户灵活的访问业务,进而提高了用户体验。When the user balance information of the terminal device is arrears or insufficient balance, and the Internet service accessed by the terminal device is a billing service, it is determined to redirect the access request of the terminal device to a free Internet service, so that When the terminal device is in arrears, the user can access the free webpage, which provides the user with flexible access services, thereby improving the user experience.

此外,当所述免费的互联网业务的地址为免费的导航Web服务器的地址时,In addition, when the address of the free Internet service is the address of the free navigation Web server,

所述接收模块1102还用于接收所述终端设备发送的重定向访问请求消息,所述重定向访问请求消息中携带所述终端设备访问的互联网业务的统一资源定位符;The receiving module 1102 is further configured to receive a redirection access request message sent by the terminal device, where the redirection access request message carries the Uniform Resource Locator of the Internet service accessed by the terminal device;

所述发送模块1101还用于将所述重定向访问请求消息转发给所述导航Web服务器,以使得所述导航Web服务器根据所述互联网业务的统一资源定位符判断所述终端设备访问的互联网业务是页面类请求业务还是非页面类请求业务;The sending module 1101 is further configured to forward the redirected access request message to the navigation Web server, so that the navigation Web server can determine the Internet service accessed by the terminal device according to the uniform resource locator of the Internet service Is it a page request service or a non-page request service;

若是页面类请求业务时,If the page class requests business,

所述接收模块1102还用于接收所述导航Web服务器返回的重定向访问响应消息,所述重定向访问响应消息中携带免费的Web页面的地址;The receiving module 1102 is also configured to receive a redirection access response message returned by the navigation Web server, where the redirection access response message carries the address of a free Web page;

所述发送模块1101还用于向所述终端设备返回所述重定向访问响应消息,以使得所述终端设备根据所述免费的Web页面的地址与所述Web页面的地址指向的服务器建立连接。The sending module 1101 is further configured to return the redirection access response message to the terminal device, so that the terminal device establishes a connection with the server pointed to by the address of the Web page according to the address of the free Web page.

此外,当所述免费的互联网业务的地址为免费的充值网页的地址时,In addition, when the address of the free Internet service is the address of the free recharge web page,

所述执行模块1103还用于根据所述终端设备的的访问请求中携带的所述终端设备访问的互联网业务的统一资源定位符确定所述终端设备访问的互联网业务是页面类请求业务。The execution module 1103 is further configured to determine that the Internet service accessed by the terminal device is a page type request service according to the uniform resource locator of the Internet service accessed by the terminal device carried in the access request of the terminal device.

通过导航Web服务器判断终端设备访问的互联网业务是页面类请求业务还是非页面类请求业务,在页面类请求业务的情况下返回免费的Web页面的地址,避免了终端设备在请求非页面类请求业务请求时,返回给该终端设备免费的Web页面的地址,终端设备无法识别该Web页面的问题。By navigating the web server, it is judged whether the Internet service accessed by the terminal device is a page request service or a non-page request service, and in the case of a page request service, the address of the free web page is returned, which prevents the terminal device from requesting a non-page request service When requesting, the address of the free Web page is returned to the terminal device, and the terminal device cannot recognize the problem of the Web page.

图12为本发明实施例控制执行装置的另一个结构示意图,如图12所示,包括至少一个处理器1201(例如CPU),至少一个网络接口1202或者其他通信接口,存储器1203,和至少一个通信总线1204,用于实现这些装置之间的连接通信。处理器1201用于执行存储器1203中存储的可执行模块,例如计算机程序。存储器1203可能包含高速随机存取存储器(RAM:Random Access Memory),也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。通过至少一个网络接口1202(可以是有线或者无线)实现该系统网关与至少一个其他网元之间的通信连接,可以使用互联网,广域网,本地网,城域网等。Fig. 12 is another schematic structural diagram of the control execution device according to the embodiment of the present invention. As shown in Fig. 12, it includes at least one processor 1201 (such as CPU), at least one network interface 1202 or other communication interfaces, memory 1203, and at least one communication The bus 1204 is used to realize connection and communication between these devices. The processor 1201 is used to execute executable modules, such as computer programs, stored in the memory 1203 . The memory 1203 may include a high-speed random access memory (RAM: Random Access Memory), and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory. The communication connection between the system gateway and at least one other network element is realized through at least one network interface 1202 (which may be wired or wireless), and the Internet, wide area network, local network, metropolitan area network, etc. can be used.

在一些实施方式中,存储器1203存储了程序指令,程序指令可以被处理器1201执行,其中,程序指令包括发送模块1101,接收模块1102和执行模块1103,各模块的具体实现参见图11所揭示的相应模块,这里不再赘述。In some implementations, the memory 1203 stores program instructions that can be executed by the processor 1201, wherein the program instructions include a sending module 1101, a receiving module 1102, and an executing module 1103. For the specific implementation of each module, refer to the disclosure disclosed in FIG. 11 The corresponding modules will not be repeated here.

图13为本发明实施例调整用户访问业务的系统的一个结构示意图,如图13所示,该调整用户访问业务的系统包括控制执行装置1300和控制管理装置1400;FIG. 13 is a schematic structural diagram of a system for adjusting user access services according to an embodiment of the present invention. As shown in FIG. 13 , the system for adjusting user access services includes a control execution device 1300 and a control management device 1400;

其中,该控制执行装置1300可以实现图9和图10所示的控制执行装置的功能;控制管理装置1400可以实现图11和图12所示的控制管理装置的功能。Wherein, the control execution device 1300 can realize the functions of the control execution device shown in FIG. 9 and FIG. 10 ; the control management device 1400 can realize the functions of the control management device shown in FIG. 11 and FIG. 12 .

所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的系统、装置和模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and module can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的模块、单元及步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art can realize that the modules, units and steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the hardware and software In the above description, the components and steps of each example have been generally described according to their functions. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.

在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或模块可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口、装置、模块或单元的间接耦合或通信连接,也可以是电的,机械的或其它的形式连接。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or modules can be Incorporation may either be integrated into another system, or some features may be omitted, or not implemented. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, modules or units, and may also be electrical, mechanical or other forms of connection.

所述作为分离部件说明的模块或单元可以是或者也可以不是物理上分开的,作为模块或单元显示的部件可以是或者也可以不是物理模块或单元,即可以位于一个地方,或者也可以分布到多个网络模块或单元上。可以根据实际的需要选择其中的部分或者全部模块或单元来实现本发明实施例方案的目的。The modules or units described as separate components may or may not be physically separated, and the components displayed as modules or units may or may not be physical modules or units, that is, they may be located in one place, or may also be distributed to on multiple network modules or units. Part or all of the modules or units can be selected according to actual needs to achieve the purpose of the solutions of the embodiments of the present invention.

另外,在本发明各个实施例中的各功能模块或单元可以集成在一个处理模块或单元中,也可以是各个模块或单元单独物理存在,也可以是两个或两个以上模块或单元集成在一个模块或单元中。上述集成的模块或单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional module or unit in each embodiment of the present invention may be integrated into one processing module or unit, each module or unit may exist separately physically, or two or more modules or units may be integrated in one processing module or unit. in a module or unit. The above-mentioned integrated modules or units can be implemented in the form of hardware or in the form of software functional units.

所述集成的模块或单元如果以软件功能模块或单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分,或者该技术方案的全部或部分可以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated module or unit is realized in the form of a software function module or unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disc, etc., which can store program codes. .

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person familiar with the technical field can easily think of various equivalents within the technical scope disclosed in the present invention. Modifications or replacements shall all fall within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims (19)

1.一种调整用户访问业务的方法,其特征在于,包括:1. A method for adjusting user access services, comprising: 接收控制执行系统发送的对终端设备进行计费的请求消息,所述请求消息中携带所述终端设备的计费标识和用于确定所述终端设备访问的互联网业务是否需要计费的信息;receiving a request message for charging the terminal device sent by the control execution system, the request message carrying the charging identifier of the terminal device and information for determining whether the Internet service accessed by the terminal device needs to be charged; 根据所述计费标识确定所述终端设备的用户余额信息;determining the user balance information of the terminal device according to the charging identifier; 当所述终端设备的用户余额信息为欠费或余额不足时,根据所述用于确定所述终端设备访问的互联网业务是否需要计费的信息确定所述终端设备访问的互联网业务是否需要计费;When the user balance information of the terminal device is in arrears or insufficient balance, determine whether the Internet service accessed by the terminal device needs to be charged according to the information for determining whether the Internet service accessed by the terminal device needs to be charged ; 当所述终端设备访问的互联网业务需要计费,确定对所述终端设备的访问请求需要进行重定向;When the Internet service accessed by the terminal device needs to be charged, it is determined that the access request to the terminal device needs to be redirected; 根据确定的需要重定向的结果,向所述控制执行系统返回计费响应消息,以使得所述控制执行系统根据所述计费响应消息对所述终端设备的访问请求进行处理。Returning a charging response message to the control execution system according to the determined redirection result, so that the control execution system processes the access request of the terminal device according to the charging response message. 2.根据权利要求1所述的方法,其特征在于,所述根据确定的需要重定向的结果,向所述控制执行系统返回计费响应消息,以使得所述控制执行系统根据所述计费响应消息对所述终端设备的访问请求进行处理,包括:2. The method according to claim 1, characterized in that, according to the determined result of redirection, a charging response message is returned to the control execution system, so that the control execution system according to the charging The response message processes the access request of the terminal device, including: 根据确定的需要重定向的结果,向所述控制执行系统返回计费响应消息,所述计费响应消息中携带重定向的地址,所述重定向的地址为免费的互联网业务的地址,以使得所述控制执行系统根据所述免费的互联网业务的地址将所述终端设备的访问请求重定向到所述免费的互联网业务的地址指向的互联网业务。According to the result of determining that redirection is required, return a charging response message to the control execution system, where the charging response message carries a redirected address, and the redirected address is an address of a free Internet service, so that The control execution system redirects the access request of the terminal device to the Internet service pointed to by the address of the free Internet service according to the address of the free Internet service. 3.根据权利要求2所述的方法,其特征在于,所述免费的互联网业务的地址为免费的充值网页的地址;或者3. The method according to claim 2, wherein the address of the free Internet service is the address of a free recharge webpage; or 为免费的导航Web服务器的地址。The address of the free Navigator web server. 4.根据权利要求1至3任一所述的方法,其特征在于,所述方法还包括:4. The method according to any one of claims 1 to 3, wherein the method further comprises: 当所述终端设备访问的互联网业务不需要计费,确定对所述终端设备的访问请求不需要进行重定向;When the Internet service accessed by the terminal device does not require charging, it is determined that the access request for the terminal device does not need to be redirected; 根据确定的不需要重定向的结果,向所述控制执行系统返回计费响应消息,以使得所述控制执行系统将所述终端设备的访问请求发送到所述访问请求对应的服务器。Returning a charging response message to the control execution system according to the determined result that no redirection is needed, so that the control execution system sends the access request of the terminal device to the server corresponding to the access request. 5.根据权利要求4所述的方法,其特征在于,所述计费响应消息中携带所述终端设备的用户余额信息,以使得所述控制执行系统根据所述用户余额信息确定用于提醒所述终端设备的用户及时充值的信息,并将所述及时充值的信息发送给所述终端设备用于显示在屏幕上。5. The method according to claim 4, wherein the charging response message carries the user balance information of the terminal device, so that the control execution system determines the user balance information for reminding the terminal device according to the user balance information. The user of the terminal device timely recharges information, and sends the timely recharge information to the terminal device for display on the screen. 6.一种调整用户访问业务的方法,其特征在于,包括:6. A method for adjusting user access services, comprising: 向控制管理系统发送对终端设备进行计费的请求消息,所述请求消息中携带所述终端设备的计费标识和用于确定所述终端设备访问的互联网业务是否需要计费的信息,以使得所述控制管理系统根据所述计费标识确定所述终端设备的用户余额信息,并当所述终端设备的用户余额信息为欠费或余额不足时,根据所述用于确定所述终端设备访问的互联网业务是否需要计费的信息确定所述终端设备访问的互联网业务是否需要计费,当所述终端设备访问的互联网业务需要计费,确定对所述终端设备的访问请求需要进行重定向;Sending a request message for charging the terminal device to the control management system, the request message carrying the charging identifier of the terminal device and information for determining whether the Internet service accessed by the terminal device needs to be charged, so that The control management system determines the user balance information of the terminal device according to the charging identification, and when the user balance information of the terminal device is in arrears or insufficient balance, according to the method for determining that the terminal device accesses determining whether the Internet service accessed by the terminal device needs to be charged, and when the Internet service accessed by the terminal device requires charging, it is determined that the access request of the terminal device needs to be redirected; 接收所述控制管理系统根据确定的需要重定向的结果返回的计费响应消息;receiving the charging response message returned by the control management system according to the result of determining that redirection is required; 根据所述计费响应消息对所述终端设备的访问请求进行处理。Processing the access request of the terminal device according to the charging response message. 7.根据权利要求6所述的方法,其特征在于,所述接收所述控制管理系统根据确定的需要重定向的结果返回的计费响应消息;根据所述计费响应消息对所述终端设备的访问请求进行处理,包括:7. The method according to claim 6, characterized in that, receiving the charging response message returned by the control management system according to the result determined to be redirected; charging the terminal device according to the charging response message Access requests are processed, including: 接收所述控制管理系统根据确定的需要重定向的结果返回的计费响应消息,所述计费响应消息中携带重定向的地址,所述重定向的地址为免费的互联网业务的地址;Receiving a charging response message returned by the control management system according to the determined result of redirection, where the charging response message carries a redirected address, and the redirected address is an address of a free Internet service; 向所述终端设备返回所述免费的互联网业务的地址,以使得所述终端设备根据所述免费的互联网业务的地址与所述互联网业务的地址指向的服务器建立连接。Returning the address of the free Internet service to the terminal device, so that the terminal device establishes a connection with the server pointed to by the address of the Internet service according to the address of the free Internet service. 8.根据权利要求7所述的方法,其特征在于,所述免费的互联网业务的地址为免费的充值网页的地址。8. The method according to claim 7, wherein the address of the free Internet service is an address of a free recharge web page. 9.根据权利要求8所述的方法,其特征在于,在向所述终端设备返回所述免费的互联网业务的地址,以使得所述终端设备根据所述免费的互联网业务的地址与所述互联网业务的地址指向的服务器建立连接之前,还包括:9. The method according to claim 8, characterized in that, returning the address of the free Internet service to the terminal device, so that the terminal device can communicate with the Internet according to the address of the free Internet service Before establishing a connection to the server pointed to by the address of the business, it also includes: 根据所述终端设备的的访问请求中携带的所述终端设备访问的互联网业务的统一资源定位符确定所述终端设备访问的互联网业务是页面类请求业务。According to the uniform resource locator of the Internet service accessed by the terminal device carried in the access request of the terminal device, it is determined that the Internet service accessed by the terminal device is a page type request service. 10.根据权利要求7所述的方法,其特征在于,所述免费的互联网业务的地址为免费的导航Web服务器的地址。10. The method according to claim 7, wherein the address of the free Internet service is an address of a free navigation Web server. 11.根据权利要求10所述的方法,其特征在于,所述方法进一步包括:11. The method of claim 10, further comprising: 接收所述终端设备发送的重定向访问请求消息,所述重定向访问请求消息中携带所述终端设备访问的互联网业务的统一资源定位符;receiving a redirected access request message sent by the terminal device, where the redirected access request message carries a uniform resource locator of an Internet service accessed by the terminal device; 将所述重定向访问请求消息转发给所述导航Web服务器,以使得所述导航Web服务器根据所述互联网业务的统一资源定位符判断所述终端设备访问的互联网业务是页面类请求业务还是非页面类请求业务;Forwarding the redirected access request message to the navigation Web server, so that the navigation Web server judges whether the Internet service accessed by the terminal device is a page-type request service or a non-page service according to the uniform resource locator of the Internet service class request business; 若是页面类请求业务,接收所述导航Web服务器返回的重定向访问响应消息,所述重定向访问响应消息中携带免费的Web页面的地址;If it is a page type request service, receiving the redirection access response message returned by the navigation Web server, the address of the free Web page is carried in the redirection access response message; 向所述终端设备返回所述重定向访问响应消息,以使得所述终端设备根据所述免费的Web页面的地址与所述Web页面的地址指向的服务器建立连接。Returning the redirection access response message to the terminal device, so that the terminal device establishes a connection with the server pointed to by the address of the Web page according to the address of the free Web page. 12.一种控制管理装置,其特征在于,包括:12. A control management device, characterized in that it comprises: 接收模块,用于接收控制执行系统发送的对终端设备进行计费的请求消息,所述请求消息中携带所述终端设备的计费标识和用于确定所述终端设备访问的互联网业务是否需要计费的信息;A receiving module, configured to receive a request message sent by the control execution system for charging the terminal device, the request message carrying the charging identifier of the terminal device and used to determine whether the Internet service accessed by the terminal device needs to be charged. fee information; 余额确定模块,用于根据所述接收模块接收的所述终端设备的计费标识确定所述终端设备的用户余额信息;A balance determination module, configured to determine the user balance information of the terminal device according to the charging identifier of the terminal device received by the receiving module; 计费确定模块,用于当所述余额确定模块确定所述终端设备的用户余额信息为欠费或余额不足时,根据所述接收模块接收的所述用于确定所述终端设备访问的互联网业务是否需要计费的信息确定所述终端设备访问的互联网业务是否需要计费;A billing determination module, configured to, when the balance determination module determines that the user balance information of the terminal device is in arrears or insufficient balance, according to the Internet service used to determine the access of the terminal device received by the receiving module The information of whether charging is required determines whether the Internet service accessed by the terminal device needs charging; 重定向确定模块,用于当所述计费确定模块确定所述终端设备访问的互联网业务需要计费时,确定对所述终端设备的访问请求需要进行重定向;A redirect determination module, configured to determine that the access request to the terminal device needs to be redirected when the charging determination module determines that the Internet service accessed by the terminal device requires charging; 发送模块,用于根据所述重定向确定模块确定的需要重定向的结果,向所述控制执行系统返回计费响应消息,以使得所述控制执行系统根据所述计费响应消息对所述终端设备的访问请求进行处理。A sending module, configured to return a charging response message to the control execution system according to the redirection-required result determined by the redirection determination module, so that the control execution system charges the terminal according to the charging response message Device access requests are processed. 13.根据权利要求12所述的控制管理装置,其特征在于,13. The control management device according to claim 12, characterized in that: 所述发送模块具体用于根据所述重定向确定模块确定的需要重定向的结果,向所述控制执行系统返回计费响应消息,所述计费响应消息中携带重定向的地址,所述重定向的地址为免费的互联网业务的地址,以使得所述控制执行系统根据所述免费的互联网业务的地址将所述终端设备的访问请求重定向到所述免费的互联网业务的地址指向的互联网业务。The sending module is specifically configured to return a charging response message to the control execution system according to the redirection result determined by the redirection determining module, the charging response message carries a redirected address, and the redirection The directed address is the address of the free Internet service, so that the control execution system redirects the access request of the terminal device to the Internet service pointed to by the address of the free Internet service according to the address of the free Internet service . 14.根据权利要求12所述的控制管理装置,其特征在于,14. The control management device according to claim 12, characterized in that: 所述重定向确定模块还用于当所述终端设备访问的互联网业务不需要计费时,确定对所述终端设备的访问请求不需要进行重定向;The redirection determination module is also used to determine that the access request of the terminal device does not need to be redirected when the Internet service accessed by the terminal device does not require charging; 所述发送模块还用于根据所述重定向确定模块确定的不需要重定向的结果,向所述控制执行系统返回计费响应消息,以使得所述控制执行系统将所述终端设备的访问请求发送到所述访问请求对应的服务器。The sending module is further configured to return a charging response message to the control execution system according to the result determined by the redirection determination module that no redirection is required, so that the control execution system sends the access request of the terminal device to sent to the server corresponding to the access request. 15.一种控制执行装置,其特征在于,包括:15. A control execution device, characterized in that it comprises: 发送模块,用于向控制管理系统发送对终端设备进行计费的请求消息,所述请求消息中携带所述终端设备的计费标识和用于确定所述终端设备访问的互联网业务是否需要计费的信息,以使得所述控制管理系统根据所述计费标识确定所述终端设备的用户余额信息,并当所述终端设备的用户余额信息为欠费或余额不足时,根据所述用于确定所述终端设备访问的互联网业务是否需要计费的信息确定所述终端设备访问的互联网业务是否需要计费,当所述终端设备访问的互联网业务需要计费,确定对所述终端设备的访问请求需要进行重定向;A sending module, configured to send a request message for charging the terminal device to the control and management system, the request message carrying the charging identifier of the terminal device and used to determine whether the Internet service accessed by the terminal device needs to be charged information, so that the control management system determines the user balance information of the terminal device according to the charging identification, and when the user balance information of the terminal device is in arrears or insufficient balance, according to the The information on whether the Internet service accessed by the terminal device needs to be charged determines whether the Internet service accessed by the terminal device needs to be charged, and when the Internet service accessed by the terminal device needs to be charged, determine the access request for the terminal device Redirection is required; 接收模块,用于接收所述控制管理系统根据确定的需要重定向的结果返回的计费响应消息;A receiving module, configured to receive the charging response message returned by the control management system according to the determined result of redirection; 执行模块,用于根据所述接收模块接收的计费响应消息对所述终端设备的访问请求进行处理。An executing module, configured to process the access request of the terminal device according to the charging response message received by the receiving module. 16.根据权利要求15所述的控制执行装置,其特征在于,16. The control execution device according to claim 15, wherein: 所述接收模块具体用于接收所述控制管理系统根据确定的需要重定向的结果返回的计费响应消息,所述计费响应消息中携带重定向的地址,所述重定向的地址为免费的互联网业务的地址;The receiving module is specifically configured to receive the charging response message returned by the control management system according to the determined redirection result, the charging response message carries a redirected address, and the redirected address is a free the address of the Internet business; 所述执行模块具体用于向所述终端设备返回所述免费的互联网业务的地址,以使得所述终端设备根据所述免费的互联网业务的地址与所述互联网业务的地址指向的服务器建立连接。The execution module is specifically configured to return the address of the free Internet service to the terminal device, so that the terminal device establishes a connection with the server pointed to by the address of the Internet service according to the address of the free Internet service. 17.根据权利要求16所述的控制执行装置,其特征在于,当所述免费的互联网业务的地址为免费的导航Web服务器的地址时,17. The control execution device according to claim 16, wherein when the address of the free Internet service is the address of a free navigation Web server, 所述接收模块还用于接收所述终端设备发送的重定向访问请求消息,所述重定向访问请求消息中携带所述终端设备访问的互联网业务的统一资源定位符;The receiving module is further configured to receive a redirection access request message sent by the terminal device, where the redirection access request message carries the Uniform Resource Locator of the Internet service accessed by the terminal device; 所述发送模块还用于将所述重定向访问请求消息转发给所述导航Web服务器,以使得所述导航Web服务器根据所述互联网业务的统一资源定位符判断所述终端设备访问的互联网业务是页面类请求业务还是非页面类请求业务;The sending module is further configured to forward the redirected access request message to the navigation Web server, so that the navigation Web server judges according to the uniform resource locator of the Internet service that the Internet service accessed by the terminal device is Page request service or non-page request service; 若是页面类请求业务时,If the page class requests business, 所述接收模块还用于接收所述导航Web服务器返回的重定向访问响应消息,所述重定向访问响应消息中携带免费的Web页面的地址;The receiving module is further configured to receive a redirection access response message returned by the navigation Web server, wherein the redirection access response message carries the address of a free Web page; 所述发送模块还用于向所述终端设备返回所述重定向访问响应消息,以使得所述终端设备根据所述免费的Web页面的地址与所述Web页面的地址指向的服务器建立连接。The sending module is further configured to return the redirection access response message to the terminal device, so that the terminal device establishes a connection with the server pointed to by the address of the Web page according to the address of the free Web page. 18.根据权利要求16所述的控制执行装置,其特征在于,当所述免费的互联网业务的地址为免费的充值网页的地址时,18. The control execution device according to claim 16, wherein when the address of the free Internet service is the address of a free recharge web page, 所述执行模块还用于根据所述终端设备的的访问请求中携带的所述终端设备访问的互联网业务的统一资源定位符确定所述终端设备访问的互联网业务是页面类请求业务。The execution module is further configured to determine that the Internet service accessed by the terminal device is a page type request service according to the uniform resource locator of the Internet service accessed by the terminal device carried in the access request of the terminal device. 19.一种调整用户访问业务的系统,其特征在于,包括如权利要求12至14任一所述的控制管理装置,和如权利要求15至18任一所述的控制执行装置。19. A system for adjusting user access services, characterized by comprising the control management device according to any one of claims 12 to 14, and the control execution device according to any one of claims 15 to 18.
CN201210591998.8A 2012-12-31 2012-12-31 Adjust the method for user's access service, Apparatus and system Expired - Fee Related CN103052049B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201210591998.8A CN103052049B (en) 2012-12-31 2012-12-31 Adjust the method for user's access service, Apparatus and system
PCT/CN2013/089210 WO2014101663A1 (en) 2012-12-31 2013-12-12 Method, apparatus, and system for adjusting user service access

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210591998.8A CN103052049B (en) 2012-12-31 2012-12-31 Adjust the method for user's access service, Apparatus and system

Publications (2)

Publication Number Publication Date
CN103052049A true CN103052049A (en) 2013-04-17
CN103052049B CN103052049B (en) 2016-08-24

Family

ID=48064522

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210591998.8A Expired - Fee Related CN103052049B (en) 2012-12-31 2012-12-31 Adjust the method for user's access service, Apparatus and system

Country Status (2)

Country Link
CN (1) CN103052049B (en)
WO (1) WO2014101663A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014101663A1 (en) * 2012-12-31 2014-07-03 华为技术有限公司 Method, apparatus, and system for adjusting user service access
CN104363572A (en) * 2014-11-07 2015-02-18 华为技术有限公司 Redirecting method, charging device, access device and redirecting system
CN104954490A (en) * 2015-06-30 2015-09-30 北京奇虎科技有限公司 Method for network access in overdue state as well as mobile terminal
CN104954495A (en) * 2015-06-30 2015-09-30 北京奇虎科技有限公司 Network access method in charge overdue and out-of-service state, distribution server as well as system
CN106330470A (en) * 2016-08-18 2017-01-11 中国联合网络通信集团有限公司 Method and device for urging payment on fixed network
CN108923940A (en) * 2018-07-02 2018-11-30 中国联合网络通信集团有限公司 A kind of network bandwidth method of adjustment and system
CN111372207A (en) * 2018-12-25 2020-07-03 华为技术有限公司 Processing method for arrearage user and related equipment
CN116016427A (en) * 2022-12-29 2023-04-25 武汉绿色网络信息服务有限责任公司 Method, device, gateway and medium for terminal in local area network to access operator resources

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1438769A (en) * 2003-01-28 2003-08-27 张�杰 Special network system and information service based on same and electronic business method
CN101217705A (en) * 2008-01-09 2008-07-09 华为技术有限公司 Method, system and device for realizing USSD service
CN101783846A (en) * 2009-01-15 2010-07-21 中兴通讯股份有限公司 Charging service processing method and charging gateway
CN102811130A (en) * 2011-06-03 2012-12-05 华为软件技术有限公司 Redirection method and redirection device under policy and charging control

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101923533B (en) * 2009-06-11 2013-03-20 华为技术有限公司 Method, device and system for processing prepaid service access
WO2011101066A1 (en) * 2010-02-16 2011-08-25 Telefonaktiebolaget Lm Ericsson Nodes for improved credit validation
CN102215471A (en) * 2011-06-15 2011-10-12 中兴通讯股份有限公司 Value added service subscription and charging method, system and value added service management platform
CN103052049B (en) * 2012-12-31 2016-08-24 华为技术有限公司 Adjust the method for user's access service, Apparatus and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1438769A (en) * 2003-01-28 2003-08-27 张�杰 Special network system and information service based on same and electronic business method
CN101217705A (en) * 2008-01-09 2008-07-09 华为技术有限公司 Method, system and device for realizing USSD service
CN101783846A (en) * 2009-01-15 2010-07-21 中兴通讯股份有限公司 Charging service processing method and charging gateway
CN102811130A (en) * 2011-06-03 2012-12-05 华为软件技术有限公司 Redirection method and redirection device under policy and charging control

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014101663A1 (en) * 2012-12-31 2014-07-03 华为技术有限公司 Method, apparatus, and system for adjusting user service access
CN104363572A (en) * 2014-11-07 2015-02-18 华为技术有限公司 Redirecting method, charging device, access device and redirecting system
CN104954490A (en) * 2015-06-30 2015-09-30 北京奇虎科技有限公司 Method for network access in overdue state as well as mobile terminal
CN104954495A (en) * 2015-06-30 2015-09-30 北京奇虎科技有限公司 Network access method in charge overdue and out-of-service state, distribution server as well as system
CN104954490B (en) * 2015-06-30 2019-02-19 北京奇虎科技有限公司 A method and mobile terminal for network access in arrears shutdown state
CN106330470A (en) * 2016-08-18 2017-01-11 中国联合网络通信集团有限公司 Method and device for urging payment on fixed network
CN108923940A (en) * 2018-07-02 2018-11-30 中国联合网络通信集团有限公司 A kind of network bandwidth method of adjustment and system
CN108923940B (en) * 2018-07-02 2021-07-09 中国联合网络通信集团有限公司 A kind of network bandwidth adjustment method and system
CN111372207A (en) * 2018-12-25 2020-07-03 华为技术有限公司 Processing method for arrearage user and related equipment
CN111372207B (en) * 2018-12-25 2022-04-12 华为技术有限公司 Processing method for arrearage user and related equipment
CN116016427A (en) * 2022-12-29 2023-04-25 武汉绿色网络信息服务有限责任公司 Method, device, gateway and medium for terminal in local area network to access operator resources

Also Published As

Publication number Publication date
WO2014101663A1 (en) 2014-07-03
CN103052049B (en) 2016-08-24

Similar Documents

Publication Publication Date Title
US8131256B2 (en) Generating and providing access and content charges for different services to a user device in a communication system
CN103052049A (en) Method, device and system for adjusting user access business
EP1880538B1 (en) Services in a communication system
US10075303B2 (en) Method and apparatus for performing charging control to a sponsored data application
CN1867024A (en) Charging information transmitting method
CN101069206A (en) System and method for managing access for an end user in a network environment
US9295070B2 (en) Quality of service level adaptation for visual services in mobile communication networks
WO2008039036A1 (en) Apparatus and method for interfacing in a communication system
CN104854841B (en) Application server, terminal device, network capabilities calling system and method
CN109996201A (en) A kind of Network Access Method and the network equipment
US10700879B2 (en) Charging method and device, access device, service quality control method and device
CN100395980C (en) Method and system for realizing WAP traffic billing fee reminder function
CN102802145B (en) Network service billing method, device and system
JP2002345030A (en) Website access service providing system
EP1989821A1 (en) Context-based processing of data flows for differentiated charging
RU2634917C2 (en) Method of service quality management, application server and terminal device
CN106817392B (en) A data processing method and system
JP6086335B2 (en) Content download method, related device, and system
WO2014153720A1 (en) Charging method, access device, and charging device
WO2015062036A1 (en) Data processing method, device and system
JP6050526B2 (en) Communication cost calculation method, management device, and network system
KR100946909B1 (en) Apparatus and method for performing interfaces in telecommunication networks
JP2005333213A (en) Information providing system, information providing system control method, and gateway server device
KR20060084329A (en) Method and system for providing invoice with visual effect for virtual machine
KR20060133665A (en) Data communication fee processing method and system according to called party's communication fee paying service

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160824

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