CN102075386B - Identification method and device - Google Patents
Identification method and device Download PDFInfo
- Publication number
- CN102075386B CN102075386B CN201010624701.4A CN201010624701A CN102075386B CN 102075386 B CN102075386 B CN 102075386B CN 201010624701 A CN201010624701 A CN 201010624701A CN 102075386 B CN102075386 B CN 102075386B
- Authority
- CN
- China
- Prior art keywords
- access
- user
- wireless routing
- field information
- agent field
- 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.)
- Expired - Fee Related
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
技术领域 technical field
本发明实施例涉及通信技术,尤其涉及一种识别方法及装置。Embodiments of the present invention relate to communication technologies, and in particular to an identification method and device.
背景技术 Background technique
当前网络运营中存在多种平台类型共享同一无线路由接入设备访问因特网的应用场景,即一个用户通过运营商申请上网业务之后,可以通过使用具有网络地址转换(Network Address Translate,简称NAT)功能的无线路由接入设备,实现多个终端共享运营商为该用户分配的同一无线路由接入设备访问因特网。In the current network operation, there are application scenarios where multiple types of platforms share the same wireless routing access device to access the Internet, that is, after a user applies for Internet access services through the operator, he can use the Network Address Translate (NAT for short) function The wireless routing access device enables multiple terminals to share the same wireless routing access device assigned by the operator to access the Internet.
在上述应用场景下,网关设备无法识别出当前是否存在多种平台类型共享同一无线路由接入设备访问因特网,网关设备只能按照一个终端进行控制和计费,影响了控制和计费的准确性。In the above application scenarios, the gateway device cannot identify whether there are multiple types of platforms sharing the same wireless router access device to access the Internet, and the gateway device can only control and bill according to one terminal, which affects the accuracy of control and billing .
发明内容 Contents of the invention
本发明实施例提供一种识别方法及装置,用以准确识别出当前是否存在多种平台类型共享同一无线路由接入设备访问因特网。Embodiments of the present invention provide an identification method and device for accurately identifying whether there are currently multiple platform types sharing the same wireless routing access device to access the Internet.
本发明实施例提供了一种识别方法,包括:An embodiment of the present invention provides an identification method, including:
获取User-Agent字段信息;Get User-Agent field information;
根据所述User-Agent字段信息,识别出当前是否存在多种平台类型共享同一无线路由接入设备访问因特网。According to the information in the User-Agent field, it is identified whether there are currently multiple platform types sharing the same wireless routing access device to access the Internet.
本发明实施例还提供了一种识别装置,包括:The embodiment of the present invention also provides an identification device, including:
获取模块,用于获取User-Agent字段信息;Obtaining module, used to obtain User-Agent field information;
识别模块,用于根据所述User-Agent字段信息,识别出当前是否存在多种平台类型共享同一无线路由接入设备访问因特网。The identification module is used to identify whether there are currently multiple platform types sharing the same wireless routing access device to access the Internet according to the information in the User-Agent field.
由上述技术方案可知,本发明实施例通过获取User-Agent字段信息,使得能够根据获取的User-Agent字段信息,准确识别出当前是否存在多种平台类型共享同一无线路由接入设备访问因特网,从而使得网关设备能够根据多种平台类型共享同一无线路由接入设备访问因特网对应的控制策略,对上述无线路由接入设备访问因特网进行控制和计费,保证了控制和计费的准确性。It can be seen from the above technical solution that, by obtaining the User-Agent field information, the embodiments of the present invention can accurately identify whether there are currently multiple platform types sharing the same wireless routing access device to access the Internet according to the obtained User-Agent field information, thereby The gateway device is able to control and charge the above-mentioned wireless routing access device accessing the Internet according to the control strategy corresponding to the same wireless routing access device accessing the Internet based on multiple platform types, ensuring the accuracy of control and charging.
附图说明 Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1为本发明实施例一提供的识别方法的流程示意图;FIG. 1 is a schematic flowchart of an identification method provided by Embodiment 1 of the present invention;
图2为本发明实施例二提供的识别方法的流程示意图;FIG. 2 is a schematic flowchart of the identification method provided by Embodiment 2 of the present invention;
图3为本发明实施例三提供的识别方法的流程示意图;FIG. 3 is a schematic flow chart of an identification method provided by Embodiment 3 of the present invention;
图4为本发明实施例四提供的识别方法的流程示意图;FIG. 4 is a schematic flowchart of an identification method provided in Embodiment 4 of the present invention;
图5为本发明实施例五提供的识别装置的结构示意图;FIG. 5 is a schematic structural diagram of an identification device provided in Embodiment 5 of the present invention;
图6为本发明实施例六提供的识别装置的结构示意图。FIG. 6 is a schematic structural diagram of an identification device provided by Embodiment 6 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所示,本实施例的识别方法可以包括以下步骤:Fig. 1 is a schematic flowchart of the identification method provided by Embodiment 1 of the present invention. As shown in Fig. 1, the identification method of this embodiment may include the following steps:
步骤101、获取用户信息代理(User-Agent)字段信息;
具体地,本步骤具体可以网关设备接收来自同一无线路由接入设备的HTTP访问请求报文,对上述HTTP访问请求报文进行解析,获取User-Agent字段信息。具体可以为对上述HTTP访问请求报文进行深度报文解析(DeepPacket Inspection,简称DPI),获取上述HTTP访问请求报文中包含的User-Agent字段信息。其中,上述User-Agent字段信息可以包括标识终端型号的类型(product tokens)信息和标识终端操作系统的注释(comments)信息。Specifically, in this step, the gateway device may receive the HTTP access request message from the same wireless routing access device, analyze the above HTTP access request message, and obtain the User-Agent field information. Specifically, it may perform Deep Packet Inspection (DPI for short) on the above HTTP access request message to obtain the User-Agent field information included in the above HTTP access request message. Wherein, the above User-Agent field information may include type (product tokens) information identifying the terminal model and comment (comments) information identifying the terminal operating system.
可选地,本步骤具体还可以为报表服务器或策略控制和计费规则功能实体(Policy and Charging Rules Function,简称PCRF)接收来自网关设备的User-Agent字段信息,所述User-Agent字段信息是所述网关设备在接收到来自同一无线路由接入设备的HTTP访问请求报文,对所述HTTP访问请求报文进行解析,获取User-Agent字段信息之后,向所述报表服务器或所述PCRF发送的。Optionally, this step may specifically receive the User-Agent field information from the gateway device for the report server or Policy and Charging Rules Function (Policy and Charging Rules Function, PCRF), and the User-Agent field information is After receiving the HTTP access request message from the same wireless routing access device, the gateway device parses the HTTP access request message and obtains the User-Agent field information, and then sends the report server or the PCRF of.
步骤102、根据上述User-Agent字段信息,识别出当前是否存在多种平台类型共享同一无线路由接入设备访问因特网。
本领域技术人员可以理解的是:每一个不同的用户信息代理(User-Agent)字段信息可以认为是一种平台类型。因为User-Agent字段信息一般是浏览器来根据操作系统类型、终端类型、终端的软件版本和兼容能力等信息给出的,所以即使是一台终端,在使用不同的浏览器软件的时候,也会存在有多个User-Agent字段信息的情况,因此会被认作是不同的平台类型。Those skilled in the art can understand that: each different user information agent (User-Agent) field information can be regarded as a platform type. Because the information in the User-Agent field is generally given by the browser based on information such as the operating system type, terminal type, terminal software version, and compatibility, so even if it is a terminal, when using different browser software, the There may be multiple User-Agent field information, so they will be considered as different platform types.
本实施例中,通过获取User-Agent字段信息,使得能够根据获取的User-Agent字段信息,准确识别出当前是否存在多种平台类型共享同一无线路由接入设备访问因特网,从而使得网关设备能够根据多种平台类型共享同一无线路由接入设备访问因特网对应的控制策略,对上述无线路由接入设备访问因特网进行控制和计费,保证了控制和计费的准确性。In this embodiment, by obtaining the User-Agent field information, it is possible to accurately identify whether there are currently multiple platform types sharing the same wireless router access device to access the Internet according to the obtained User-Agent field information, so that the gateway device can be based on Various types of platforms share the corresponding control strategy for accessing the Internet by the same wireless routing access device, and control and bill the above-mentioned wireless routing access device accessing the Internet, ensuring the accuracy of control and billing.
图2为本发明实施例二提供的识别方法的流程示意图,如图2所示,本实施例的识别方法可以包括以下步骤:FIG. 2 is a schematic flow chart of the identification method provided by Embodiment 2 of the present invention. As shown in FIG. 2, the identification method of this embodiment may include the following steps:
步骤201、网关设备接收来自同一无线路由接入设备的HTTP访问请求报文;
步骤202、网关设备转发上述HTTP访问请求报文;
步骤203、网关设备对上述HTTP访问请求报文进行DPI,获取User-Agent字段信息;
步骤204、网关设备向报表服务器发送上述无线路由接入设备的国际移动用户识别码(International Mobile Subscriber Identifier,简称IMSI)和上述User-Agent字段信息;
具体地,本步骤中网关设备获取无线路由接入设备的IMSI的方法可以参见现有技术中的相关描述,此处不再赘述。Specifically, for the method for the gateway device to obtain the IMSI of the wireless router access device in this step, reference may be made to related descriptions in the prior art, which will not be repeated here.
步骤205、报表服务器根据上述无线路由接入设备的IMSI,获知与上述无线路由接入设备的IMSI对应的User-Agent字段信息列表;
其中,User-Agent字段信息列表就是在报表服务器第一次接收到步骤204中由网关设备发送的IMSI和User-Agent字段信息之后,根据上述无线路由接入设备的IMSI存储并生成的列表,后续在接收到网关设备发送的IMSI和User-Agent字段信息后,报表服务器可以根据IMSI检索已经存在的User-agent字段信息列表。Wherein, the User-Agent field information list is after the report server receives the IMSI and User-Agent field information sent by the gateway device in
步骤206、报表服务器判断通过上述步骤204获取的User-Agent字段信息是否在与上述无线路由接入设备的IMSI对应的User-Agent字段信息列表中,若是,则结束;否则,则执行步骤207;
步骤207、报表服务器判断当前获取的与上述无线路由接入设备的IMSI对应的User-Agent字段信息的个数是否大于预先设置的访问阈值,若是,则执行步骤209和步骤210;否则,则执行步骤208;
因为User-Agent字段信息一般是浏览器来根据操作系统类型、终端类型、终端的软件版本和兼容能力等信息给出的,所以即使是一台终端,在使用不同的浏览器软件的时候,也会存在有多个User-Agent字段信息的情况。为了能够更好的识别用户是使用不同的终端,因此本发明实施例可以预先设置一个访问阈值,来确定平台类型(一个终端下,也可能会有多种平台类型)的数量。假设一个用户只能使用到访问阈值个数的平台类型,那么大于这个访问阈值的平台类型,就意味着有多个用户在共享上网。Because the information in the User-Agent field is generally given by the browser based on information such as the operating system type, terminal type, terminal software version, and compatibility, so even if it is a terminal, when using different browser software, the There may be multiple User-Agent field information. In order to better identify users using different terminals, an access threshold may be preset in this embodiment of the present invention to determine the number of platform types (one terminal may also have multiple platform types). Assuming that a user can only use a platform type with an access threshold, then a platform type greater than this access threshold means that multiple users are sharing the Internet.
具体地,本步骤中,报表服务器当前获取的与上述无线路由接入设备的IMSI对应的User-Agent字段信息可以包括User-Agent字段信息列表中的User-Agent字段信息和网关设备当前上报的User-Agent字段信息。Specifically, in this step, the User-Agent field information corresponding to the IMSI of the wireless routing access device currently obtained by the report server may include the User-Agent field information in the User-Agent field information list and the User-Agent field information currently reported by the gateway device. -Agent field information.
步骤208、报表服务器将User-Agent字段信息存储到与上述无线路由接入设备的IMSI对应的User-Agent字段信息列表中;
步骤209、报表服务器识别出当前存在多种平台类型共享同一无线路由接入设备访问因特网;
步骤210、运营商根据报表服务器的识别结果(即当前存在多种平台类型共享同一无线路由接入设备访问因特网),通过PCRF向网关设备下发对应的控制策略,以使网关设备对上述无线路由接入设备访问因特网进行控制和计费。
其中,上述控制策略具体可以包括但不限于下列策略中的至少一项:Among them, the above-mentioned control strategies may specifically include but not limited to at least one of the following strategies:
1、降低带宽限制用户业务;1. Reduce bandwidth and limit user services;
2、指示网关设备将用户重定向到门户(Portal)页面,显示告警信息等。2. Instruct the gateway device to redirect the user to a portal (Portal) page, display alarm information, and the like.
需要说明的是:本实施例是后处理机制,网关设备不管报表服务器的识别结果如何,均按正常流程转发本次的HTTP访问请求报文,如果网关设备获取到运营商根据报表服务器的识别结果,通过PCRF下发的对应的控制策略,网关设备则从下一次业务开始对上述无线路由接入设备访问因特网进行控制和计费。因此,本实施例中的步骤202与上述步骤203~步骤210的执行没有先后顺序。It should be noted that this embodiment is a post-processing mechanism. Regardless of the identification result of the report server, the gateway device forwards the HTTP access request message according to the normal process. , through the corresponding control strategy issued by the PCRF, the gateway device will control and charge the access of the wireless router access device to the Internet from the next service. Therefore, the execution of
本实施例中,通过网关设备对接收到的来自同一无线路由接入设备的HTTP访问请求报文进行解析,获取并向报表服务器发送User-Agent字段信息,使得报表服务器能够根据获取的User-Agent字段信息,准确识别出当前是否存在多种平台类型共享同一无线路由接入设备访问因特网,从而使得网关设备可以根据运营商配置的多种平台类型共享同一无线路由接入设备访问因特网对应的控制策略,对上述无线路由接入设备对应的终端无线路由接入设备访问因特网进行控制和计费,保证了控制和计费的准确性。In this embodiment, the gateway device parses the received HTTP access request message from the same wireless routing access device, obtains and sends User-Agent field information to the report server, so that the report server can Field information to accurately identify whether there are currently multiple platform types sharing the same wireless routing access device to access the Internet, so that the gateway device can share the same wireless routing access device to access the Internet according to the corresponding control strategy of multiple platform types configured by the operator , controlling and charging the Internet access of the terminal wireless routing access device corresponding to the above wireless routing access device, ensuring the accuracy of control and charging.
图3为本发明实施例三提供的识别方法的流程示意图,如图3所示,本实施例的识别方法可以包括以下步骤:Fig. 3 is a schematic flowchart of the identification method provided by Embodiment 3 of the present invention. As shown in Fig. 3, the identification method of this embodiment may include the following steps:
步骤301、网关设备接收来自同一无线路由接入设备的HTTP访问请求报文;
步骤302、网关设备对上述HTTP访问请求报文进行DPI,获取User-Agent字段信息;
步骤303、网关设备根据上述无线路由接入设备的IMSI,获知与上述无线路由接入设备的IMSI对应的User-Agent字段信息列表;
其中,User-Agent字段信息列表就是在网关设备第一次获取到步骤302中解析出的User-Agent字段信息之后,根据上述无线路由接入设备的IMSI存储并生成的列表,后续在解析出User-Agent字段信息后,网关设备可以根据IMSI检索已经存在的User-agent字段信息列表。Among them, the User-Agent field information list is the list stored and generated according to the IMSI of the above-mentioned wireless routing access device after the gateway device obtains the User-Agent field information parsed in
具体地,本步骤中网关设备获取无线路由接入设备的IMSI的方法可以参见现有技术中的相关描述,此处不再赘述。Specifically, for the method for the gateway device to obtain the IMSI of the wireless router access device in this step, reference may be made to related descriptions in the prior art, which will not be repeated here.
步骤304、网关设备判断通过上述步骤302获取的User-Agent字段信息是否在与上述无线路由接入设备的IMSI对应的User-Agent字段信息列表中,若是,则执行步骤307;否则,则执行步骤305;
步骤305、网关设备判断当前获取的与上述无线路由接入设备的IMSI对应的User-Agent字段信息的个数是否大于预先设置的访问阈值,若是,则执行步骤308和步骤309;否则,则执行步骤306和步骤307;
因为User-Agent字段信息一般是浏览器来根据操作系统类型、终端类型、终端的软件版本和兼容能力等信息给出的,所以即使是一台终端,在使用不同的浏览器软件的时候,也会存在有多个User-Agent字段信息的情况。为了能够更好的识别用户是使用不同的终端,因此本发明实施例可以预先设置一个访问阈值,来确定平台类型(一个终端下,也可能会有多种平台类型)的数量。假设一个用户只能使用到访问阈值个数的平台类型,那么大于这个访问阈值的平台类型,就意味着有多个用户在共享上网。Because the information in the User-Agent field is generally given by the browser based on information such as the operating system type, terminal type, terminal software version, and compatibility, so even if it is a terminal, when using different browser software, the There may be multiple User-Agent field information. In order to better identify users using different terminals, an access threshold may be preset in this embodiment of the present invention to determine the number of platform types (one terminal may also have multiple platform types). Assuming that a user can only use a platform type with an access threshold, then a platform type greater than this access threshold means that multiple users are sharing the Internet.
具体地,本步骤中,网关设备当前获取的与上述无线路由接入设备的IMSI对应的User-Agent字段信息可以包括User-Agent字段信息列表中的User-Agent字段信息和网关设备当前解析出的User-Agent字段信息。Specifically, in this step, the User-Agent field information corresponding to the IMSI of the wireless routing access device currently acquired by the gateway device may include the User-Agent field information in the User-Agent field information list and the currently parsed User-Agent field information of the gateway device. User-Agent field information.
步骤306、网关设备将User-Agent字段信息存储到与上述无线路由接入设备的IMSI对应的User-Agent字段信息列表中;
步骤307、网关设备转发上述HTTP访问请求报文;
步骤308、网关设备识别出当前存在多种平台类型共享同一无线路由接入设备访问因特网;
步骤309、网关设备根据识别结果(即当前存在多种平台类型共享同一无线路由接入设备访问因特网),在网关设备上匹配对应的控制策略,以使网关设备对上述无线路由接入设备访问因特网进行控制和计费。
其中,上述控制策略具体可以包括但不限于下列策略中的至少一项:Among them, the above-mentioned control strategies may specifically include but not limited to at least one of the following strategies:
1、降低带宽限制用户业务;1. Reduce bandwidth and limit user services;
2、将用户重定向到门户(Portal)页面,显示告警信息等。2. Redirect the user to the portal (Portal) page, display alarm information, etc.
可替换地,本实施例的步骤308中,网关设备识别出当前存在多种平台类型共享同一无线路由接入设备访问因特网之后,还可以不执行步骤309,网关设备还可以向报表服务器发送识别结果(即当前存在多种平台类型共享同一无线路由接入设备访问因特网),使得运营商能够根据报表服务器获取的识别结果,通过PCRF向网关设备下发对应的控制策略,以使网关设备对上述无线路由接入设备访问因特网进行控制和计费,或者Alternatively, in
可替换地,本实施例的步骤308中,网关设备识别出当前存在多种平台类型共享同一无线路由接入设备访问因特网之后,还可以不执行步骤309,网关设备还可以向PCRF发送识别结果(即当前存在多种平台类型共享同一无线路由接入设备访问因特网),使得PCRF能够根据报表服务器获取的识别结果,向网关设备下发对应的控制策略,以使网关设备对上述无线路由接入设备访问因特网进行控制和计费。Alternatively, in
本实施例中,通过网关设备对接收到的来自同一无线路由接入设备的HTTP访问请求报文进行解析,获取User-Agent字段信息,使得网关设备或PCRF能够根据获取的User-Agent字段信息,准确识别出当前是否存在多种平台类型共享同一无线路由接入设备访问因特网,从而使得网关设备可以根据多种平台类型共享同一无线路由接入设备访问因特网对应的控制策略,对上述无线路由接入设备对应的终端无线路由接入设备访问因特网进行控制和计费,保证了控制和计费的准确性。In this embodiment, the gateway device parses the received HTTP access request message from the same wireless routing access device to obtain the User-Agent field information, so that the gateway device or PCRF can, according to the obtained User-Agent field information, Accurately identify whether there are multiple platform types sharing the same wireless routing access device to access the Internet, so that the gateway device can control the above wireless routing access devices according to the control strategy corresponding to the multiple platform types sharing the same wireless routing access device accessing the Internet The terminal wireless router corresponding to the device accesses the Internet for control and billing, which ensures the accuracy of control and billing.
图4为本发明实施例四提供的识别方法的流程示意图,如图4所示,本实施例的识别方法可以包括以下步骤:Fig. 4 is a schematic flowchart of the identification method provided by Embodiment 4 of the present invention. As shown in Fig. 4, the identification method of this embodiment may include the following steps:
步骤401、网关设备接收来自同一无线路由接入设备的HTTP访问请求报文;
步骤402、网关设备对上述HTTP访问请求报文进行DPI,获取User-Agent字段信息;
步骤403、网关设备向PCRF发送上述无线路由接入设备的国际移动用户识别码(International Mobile Subscriber Identifier,简称IMSI)和User-Agent字段信息;
具体地,网关设备可以通过Gx接口利用自定义的属性值对(AVP)向PCRF上报上述无线路由接入设备的IMSI和解析出的User-Agent字段信息。Specifically, the gateway device may report the IMSI of the wireless routing access device and the parsed User-Agent field information to the PCRF through the Gx interface using a custom attribute-value pair (AVP).
具体地,本步骤中,网关设备还可以进一步判断上述User-Agent字段信息是否为未获取过的User-Agent字段信息,如果是,则执行本步骤,否则,则继续等待下一次获取User-Agent字段信息。Specifically, in this step, the gateway device can further determine whether the above-mentioned User-Agent field information is the User-Agent field information that has not been obtained, and if so, perform this step, otherwise, continue to wait for the next User-Agent acquisition field information.
步骤404、PCRF根据上述无线路由接入设备的IMSI,获知与上述无线路由接入设备的IMSI对应的User-Agent字段信息列表;
其中,User-Agent字段信息列表就是在PCRF第一次获取到步骤403中由网关设备发送的IMSI和User-Agent字段信息之后,根据上述无线路由接入设备的I MSI存储并生成的列表,后续在接收到网关设备发送的IMSI和User-Agent字段信息后,PCRF可以根据IMSI检索已经存在的User-agent字段信息列表。Wherein, the User-Agent field information list is after the PCRF obtains the IMSI and the User-Agent field information sent by the gateway device in
具体地,本步骤中网关设备获取无线路由接入设备的IMSI的方法可以参见现有技术中的相关描述,此处不再赘述。Specifically, for the method for the gateway device to obtain the IMSI of the wireless router access device in this step, reference may be made to related descriptions in the prior art, which will not be repeated here.
步骤405、PCRF判断通过上述步骤403获取的User-Agent字段信息是否在与上述无线路由接入设备的IMSI对应的User-Agent字段信息列表中,若是,则执行步骤408;否则,则执行步骤406;
步骤406、PCRF判断当前获取的与上述无线路由接入设备的IMSI对应的User-Agent字段信息的个数是否大于预先设置的访问阈值,若是,则执行步骤409和步骤410;否则,则执行步骤407和步骤408;
因为User-Agent字段信息一般是浏览器来根据操作系统类型、终端类型、终端的软件版本和兼容能力等信息给出的,所以即使是一台终端,在使用不同的浏览器软件的时候,也会存在有多个User-Agent字段信息的情况。为了能够更好的识别用户是使用不同的终端,因此本发明实施例可以预先设置一个访问阈值,来确定平台类型(一个终端下,也可能会有多种平台类型)的数量。假设一个用户只能使用到访问阈值个数的平台类型,那么大于这个访问阈值的平台类型,就意味着有多个用户在共享上网。Because the information in the User-Agent field is generally given by the browser based on information such as the operating system type, terminal type, terminal software version, and compatibility, so even if it is a terminal, when using different browser software, the There may be multiple User-Agent field information. In order to better identify users using different terminals, an access threshold may be preset in this embodiment of the present invention to determine the number of platform types (one terminal may also have multiple platform types). Assuming that a user can only use a platform type with an access threshold, then a platform type greater than this access threshold means that multiple users are sharing the Internet.
具体地,本步骤中,PCRF网关设备当前获取的与上述无线路由接入设备的IMSI对应的User-Agent字段信息可以包括User-Agent字段信息列表中的User-Agent字段信息和网关设备当前上报的User-Agent字段信息。Specifically, in this step, the User-Agent field information corresponding to the IMSI of the above-mentioned wireless routing access device currently obtained by the PCRF gateway device may include the User-Agent field information in the User-Agent field information list and the currently reported by the gateway device. User-Agent field information.
步骤407、PCRF将User-Agent字段信息存储到与上述无线路由接入设备的IMSI对应的User-Agent字段信息列表中;
步骤408、PCRF指示网关设备转发上述HTTP访问请求报文;
步骤409、PCRF识别出当前存在多种平台类型共享同一无线路由接入设备访问因特网;
步骤410、PCRF根据识别结果(即当前存在多种平台类型共享同一无线路由接入设备访问因特网),向网关设备下发对应的控制策略,以使网关设备对上述无线路由接入设备访问因特网进行控制和计费。
其中,上述控制策略具体可以包括但不限于下列策略中的至少一项:Among them, the above-mentioned control strategies may specifically include but not limited to at least one of the following strategies:
1、降低带宽限制用户业务;1. Reduce bandwidth and limit user services;
2、指示网关设备将用户重定向到门户(Portal)页面,显示告警信息等。2. Instruct the gateway device to redirect the user to a portal (Portal) page, display alarm information, and the like.
本实施例中,通过网关设备对接收到的来自同一无线路由接入设备的HTTP访问请求报文进行解析,获取并向PCRF发送User-Agent字段信息,使得PCRF能够根据获取的User-Agent字段信息,准确识别出当前存在多种平台类型共享同一无线路由接入设备访问因特网,从而使得网关设备可以根据PCRF下发的多种平台类型共享同一无线路由接入设备访问因特网对应的控制策略,对上述无线路由接入设备对应的终端无线路由接入设备访问因特网进行控制和计费,保证了控制和计费的准确性。In this embodiment, the gateway device parses the received HTTP access request message from the same wireless routing access device, obtains and sends the User-Agent field information to the PCRF, so that the PCRF can , accurately identify that there are currently multiple platform types sharing the same wireless routing access device to access the Internet, so that the gateway device can use the corresponding control strategy for multiple platform types sharing the same wireless routing access device to access the Internet according to the PCRF. The terminal wireless routing access device corresponding to the wireless routing access device accesses the Internet for control and billing, which ensures the accuracy of control and billing.
本实施例的识别方法可以适用于多种无线接入网,例如:演进通用移动通信系统(Universal Mobile Telecommunication System,简称UMTS)陆地无线接入网(Evolved Universal Mobile Telecommunication SystemTerritorial Radio Access Network,简称E-UTRAN)、UMTS陆地无线接入网(UMTS Territorial Radio Access Network,简称UTRAN)、全球移动通信系统(Global System for Mobile Communications,简称GSM)/提高数据速率的GSM演进技术(Enhanced Data rate for GSM Evolution,简称EDGE)无线接入网(GSM EDGE Radio Access Network,简称GERAN)等网络。The identification method in this embodiment can be applied to various radio access networks, for example: Evolved Universal Mobile Telecommunications System (UMTS for short) Terrestrial Radio Access Network (Evolved Universal Mobile Telecommunications System Territorial Radio Access Network, E- UTRAN), UMTS Territorial Radio Access Network (UTRAN for short), Global System for Mobile Communications (GSM for short)/Enhanced Data rate for GSM Evolution, EDGE for short) wireless access network (GSM EDGE Radio Access Network, GERAN for short) and other networks.
其中的网关设备可以为E-UTRAN中的分组数据网络网关(PacketData Network Gateway,简称P-GW),还可以为UTRAN/GERAN中的网关通用分组无线服务(General Packet Radio Service,简称GPRS)支持节点(Gateway GPRS Supporting Node,简称GGSN)等网元。The gateway device can be a packet data network gateway (PacketData Network Gateway, P-GW for short) in E-UTRAN, and can also be a gateway general packet radio service (General Packet Radio Service, GPRS for short) support node in UTRAN/GERAN (Gateway GPRS Supporting Node, referred to as GGSN) and other network elements.
需要说明的是:对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的控制和管理,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that: for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should know that the present invention is not controlled by the described action sequence and management, as certain steps may be performed in another order or simultaneously in accordance with the present invention. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the foregoing embodiments, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments.
图5为本发明实施例五提供的多种平台类型共享同一无线路由接入设备访问因特网的识别装置的结构示意图,如图5所示,本实施例的多种平台类型共享同一无线路由接入设备访问因特网的识别装置可以包括获取模块51和识别模块52。其中,获取模块51获取User-Agent字段信息,识别模块52根据上述User-Agent字段信息,识别出当前是否存在多种平台类型共享同一无线路由接入设备访问因特网。Figure 5 is a schematic structural diagram of an identification device for multiple platform types sharing the same wireless router access device to access the Internet provided by Embodiment 5 of the present invention. As shown in Figure 5, multiple platform types in this embodiment share the same wireless router access The device for identifying devices accessing the Internet may include an
上述本发明实施例一中方法、本发明实施例二中报表服务器、本发明实施例三中网关设备和本发明实施例四中PCRF的功能均可以由本发明实施例提供的多种平台类型共享同一无线路由接入设备访问因特网的识别装置实现。The functions of the method in the first embodiment of the present invention, the report server in the second embodiment of the present invention, the gateway device in the third embodiment of the present invention, and the functions of the PCRF in the fourth embodiment of the present invention can all be shared by the multiple platform types provided by the embodiments of the present invention. The identification device for wireless routing access equipment to access the Internet is realized.
本实施例中,通过获取模块获取User-Agent字段信息,使得识别模块能够根据获取模块获取的User-Agent字段信息,准确识别出当前是否存在多种平台类型共享同一无线路由接入设备访问因特网,从而可以根据多种平台类型共享同一无线路由接入设备访问因特网对应的控制策略,对上述无线路由接入设备对应的终端无线路由接入设备访问因特网进行控制和计费,保证了控制和计费的准确性。In this embodiment, the User-Agent field information is acquired by the acquisition module, so that the identification module can accurately identify whether there are currently multiple platform types sharing the same wireless router access device to access the Internet according to the User-Agent field information acquired by the acquisition module. Therefore, according to the control strategy corresponding to the same wireless routing access device accessing the Internet shared by multiple platform types, the access to the Internet of the terminal wireless routing access device corresponding to the above wireless routing access device can be controlled and charged, ensuring control and charging accuracy.
图6为本发明实施例六提供的多种平台类型共享同一无线路由接入设备访问因特网的识别装置的结构示意图,如图6所示,与上一实施例相比,本实施例的多种平台类型共享同一无线路由接入设备访问因特网的识别装置中的识别模块52还可以进一步包括阈值判断单元61、第一访问识别单元62和第二访问识别单元63。其中,阈值判断单元61判断获取模块51当前获取的与上述无线路由接入设备的IMSI对应的User-Agent字段信息的个数是否大于预先设置的访问阈值,第一访问识别单元62用于若上述阈值判断单元判断出获取模块51当前获取的与上述无线路由接入设备的IMSI对应的User-Agent字段信息的个数小于或等于预先设置的访问阈值,识别出当前不存在多种平台类型共享同一无线路由接入设备访问因特网,第二访问识别单元63若上述阈值判断单元判断出获取模块51当前获取的与上述无线路由接入设备的IMSI对应的User-Agent字段信息的个数大于预先设置的访问阈值,识别出当前存在多种平台类型共享同一无线路由接入设备访问因特网。Fig. 6 is a schematic structural diagram of an identification device for multiple platform types sharing the same wireless routing access device to access the Internet provided by Embodiment 6 of the present invention. As shown in Fig. 6, compared with the previous embodiment, the various The
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for realizing the above-mentioned method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the It includes the steps of the above method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其控制和管理;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than its control and management; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or to perform equivalent replacements for some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and spirit of the technical solutions of the various embodiments of the present invention. scope.
Claims (6)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201010624701.4A CN102075386B (en) | 2010-12-29 | 2010-12-29 | Identification method and device |
| PCT/CN2011/083516 WO2012088997A1 (en) | 2010-12-29 | 2011-12-06 | Method and device for identification |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201010624701.4A CN102075386B (en) | 2010-12-29 | 2010-12-29 | Identification method and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN102075386A CN102075386A (en) | 2011-05-25 |
| CN102075386B true CN102075386B (en) | 2013-11-06 |
Family
ID=44033739
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201010624701.4A Expired - Fee Related CN102075386B (en) | 2010-12-29 | 2010-12-29 | Identification method and device |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN102075386B (en) |
| WO (1) | WO2012088997A1 (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102075386B (en) * | 2010-12-29 | 2013-11-06 | 华为技术有限公司 | Identification method and device |
| RU2598581C2 (en) * | 2012-06-20 | 2016-09-27 | Хуавей Текнолоджиз Ко., Лтд. | Method, node, mobile terminal and system for identifying network tethering behavior |
| CN104683124B (en) * | 2013-11-26 | 2018-11-20 | 华为技术有限公司 | Terminal type recognition methods and device |
| US9591021B2 (en) * | 2014-08-20 | 2017-03-07 | Mcafee, Inc. | Zero day threat detection using host application/program to user agent mapping |
| CN119496827B (en) * | 2024-11-19 | 2025-09-23 | 惠州大亚湾区慧清信息技术有限公司 | Intelligent Internet of things gateway management system and management method |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101035031A (en) * | 2007-04-03 | 2007-09-12 | 华为技术有限公司 | Method and device for detecting the number of the shared access host |
| WO2010041784A1 (en) * | 2008-10-10 | 2010-04-15 | Plustech Inc. | A method for allowing and blocking a user pc which can use internet at the same time in a private network thereof a method for analyzing and detecting a judgement about whether nat(network address translation) can be used or not using a traffic data, and the number of terminals sharing nat |
| US7761558B1 (en) * | 2006-06-30 | 2010-07-20 | Google Inc. | Determining a number of users behind a set of one or more internet protocol (IP) addresses |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| GB2418751A (en) * | 2004-10-02 | 2006-04-05 | Hewlett Packard Development Co | Managing memory across a plurality of partitions |
| CN101433050A (en) * | 2006-05-02 | 2009-05-13 | 艾利森电话股份有限公司 | Method for registering multi-contact device |
| CN102075386B (en) * | 2010-12-29 | 2013-11-06 | 华为技术有限公司 | Identification method and device |
-
2010
- 2010-12-29 CN CN201010624701.4A patent/CN102075386B/en not_active Expired - Fee Related
-
2011
- 2011-12-06 WO PCT/CN2011/083516 patent/WO2012088997A1/en not_active Ceased
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7761558B1 (en) * | 2006-06-30 | 2010-07-20 | Google Inc. | Determining a number of users behind a set of one or more internet protocol (IP) addresses |
| CN101035031A (en) * | 2007-04-03 | 2007-09-12 | 华为技术有限公司 | Method and device for detecting the number of the shared access host |
| WO2010041784A1 (en) * | 2008-10-10 | 2010-04-15 | Plustech Inc. | A method for allowing and blocking a user pc which can use internet at the same time in a private network thereof a method for analyzing and detecting a judgement about whether nat(network address translation) can be used or not using a traffic data, and the number of terminals sharing nat |
Also Published As
| Publication number | Publication date |
|---|---|
| CN102075386A (en) | 2011-05-25 |
| WO2012088997A1 (en) | 2012-07-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9288828B2 (en) | Method, apparatus and system for accessing service by mobile station | |
| US9641346B2 (en) | Method and apparatus for performing charging control to application-layer data | |
| US9603058B2 (en) | Methods, systems, and computer readable media for triggering a service node to initiate a session with a policy and charging rules function | |
| KR101621346B1 (en) | Method, node, mobile terminal and system for identifying network tethering behavior | |
| KR101296048B1 (en) | Online charging architecture in lte/epc communication networks | |
| US8965962B2 (en) | Diameter session audits | |
| CN102075386B (en) | Identification method and device | |
| CN103781043A (en) | Charging control method, device and system for roaming user data business | |
| US9036631B2 (en) | Identifying Gn/Gp mode at PCRF | |
| CN101483584B (en) | Method and apparatus for policy and charging rule functional entity information maintenance | |
| US20170257490A1 (en) | Charging control apparatus, method, and system | |
| CN102232305B (en) | Service processing method, system and device | |
| CN108260118A (en) | A kind of processing method of network selection strategy, PCRF, MME and system | |
| US9450768B2 (en) | Subscriber-specific tracing in communications | |
| CN102694879B (en) | Business recognition method, equipment and system | |
| CN103858403B (en) | Process the message related to multiple potential entities | |
| US12039544B2 (en) | Adaptive M2M billing | |
| CN104094618B (en) | Access control method, device and system | |
| WO2016029698A1 (en) | Policy control method and system and gateway | |
| CN103369494B (en) | A kind of service control method and device |
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 | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20131106 |