WO2012159291A1 - Method for identifying type of terminal and wireless access network device - Google Patents
Method for identifying type of terminal and wireless access network device Download PDFInfo
- Publication number
- WO2012159291A1 WO2012159291A1 PCT/CN2011/076260 CN2011076260W WO2012159291A1 WO 2012159291 A1 WO2012159291 A1 WO 2012159291A1 CN 2011076260 W CN2011076260 W CN 2011076260W WO 2012159291 A1 WO2012159291 A1 WO 2012159291A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- terminal
- keyword
- type
- access network
- network device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/22—Processing or transfer of terminal data, e.g. status or physical capabilities
Definitions
- the present invention relates to mobile communication technologies, and in particular, to a method for identifying a terminal type and a wireless access network device. Background technique
- the embodiments of the present invention provide a method for identifying a terminal type and a radio access network device, which implements identification of a terminal type on a radio access network side.
- An embodiment of the present invention provides a method for identifying a terminal type, including:
- the radio access network device receives the packet sent by the terminal
- the radio access network device parses the packet to obtain a keyword indicating a terminal type; the radio access network device determines the type of the terminal according to the keyword.
- An embodiment of the present invention provides a radio access network device, including:
- a receiver configured to receive a message sent by the terminal
- a first processor configured to parse a packet received by the receiver to obtain a keyword indicating a terminal type
- the embodiment of the present invention identifies the packet sent by the terminal by using the radio access network device, and determines the terminal type according to the identification result, so that the radio access network can be identified. Do not leave the terminal type, and then you can differentiate the terminal.
- FIG. 1 is a schematic flow chart of a method according to a first embodiment of the present invention
- FIG. 2 is a schematic flow chart of a method according to a second embodiment of the present invention.
- FIG. 3 is a schematic structural diagram of a radio access network device according to a third embodiment of the present invention. detailed description
- FIG. 1 is a schematic flowchart of a method according to a first embodiment of the present invention, including:
- Step 11 The radio access network device receives the packet sent by the terminal.
- the packet sent by the terminal is an end-to-end protocol (Peer-Peer Protocol).
- the protocol stack corresponding to the PPP packet may include: PPP, Internet Protocol (IP), and Transmission Control Protocol (Transmission Control Protocol). TCP) and HyperText Transfer Protocol (HTTP), hereinafter abbreviated as PPP/IP/TCP/HTTP.
- Step 12 The radio access network device parses the packet to obtain a keyword indicating the type of the terminal.
- the radio access network device parses the packet to obtain a hypertext transfer protocol request
- the radio access network device parses the HTTP GET part to obtain a user agent (UserAgent) field, and the UserAgent field includes a keyword indicating a terminal type.
- the PPP packet sent by the terminal adopts the HTTP request (GET) method
- the PPP packet includes an HTTP GET part.
- the GET method is a method in which a terminal requests a resource from a server in HTTP.
- the format is usually "GET" followed by the requested content.
- the HTTP GET part may include a UserAgent field, and the UserAgent field includes a keyword indicating a terminal type.
- Step 13 The radio access network device determines the type of the terminal according to the keyword.
- the keyword in the UserAgent field can be matched with the pre-configured terminal type field in a matching manner, and the type represented by the successfully matched terminal type field is used as the type of the terminal.
- it may include:
- the keyword is the Microsoft terminal operating system Windows CE, it is determined that the terminal is a mobile version of the Microsoft Windows Mobile terminal; or
- the terminal is a Google operating system Andriod terminal
- the keyword is an Apple iPhone, determining that the terminal is an Apple iPhone terminal; or
- the keyword is the Microsoft network terminal operating system Windows NT, determining that the terminal is a data card terminal;
- the keyword is a vendor model, it is determined that the terminal is a normal mobile phone.
- the Windows CE operating system is the foundation of Microsoft's embedded and mobile computing platform. It is an open, scalable 32-bit embedded operating system based on handheld computers. Child device operating system.
- the corresponding keyword is Windows CE.
- the Android operating system is the name of the open source mobile operating system based on the Linux platform announced by Google.
- the platform consists of the operating system, middleware, user interface and application software.
- the corresponding keyword is Android.
- the iPhone is a handheld device that combines a camera phone, a personal digital assistant, a media player, and a wireless communication device. It was announced by Apple Inc.
- the terminal is an iPhone, the corresponding keyword is the iPhone.
- the Windows NT operating system is a network operating system introduced by Microsoft for workstations, network servers, and mainframe computers.
- the corresponding keyword is Windows NT.
- the radio access network device identifies the packet sent by the terminal, and determines the terminal type according to the identification result, so that the terminal type can be identified on the radio access network side, and the terminal can be differentiated.
- the embodiment of the present invention does not require special customization, and the scope of application can be expanded with respect to the prior art.
- FIG. 2 is a schematic flowchart of a method according to a second embodiment of the present invention.
- a radio access network device is used as a base station controller as an example. Referring to FIG. 2, this embodiment includes:
- Step 201 The base station controller receives the PPP packet sent by the terminal.
- the base station controller transparently transmits the received PPP (the corresponding protocol stack is a PPP/IP/TCP/HTTP) message, and in the embodiment of the present invention, in order to implement terminal identification in the radio access network, The base station controller performs deep packet inspection (DPI) on the received PPP packet. Details as follows:
- Step 202 Parse the PPP packet layer by layer according to the IP, TCP, and HTTP headers to obtain the "HTTP Request (GET)" part.
- the terminal When the terminal uses the HTTP GET method, it can carry a keyword indicating the terminal type in the "UserAgent” field of the "HTTP GET” section.
- a keyword indicating the terminal type in the "UserAgent” field of the "HTTP GET” section For example, for a Windows Mobile terminal, its “UserAgent” field will contain the keyword “Windows CE”; for an Android terminal, its “UserAgent” field will contain the keyword “Andriod”; for iPhone terminals, its “UserAgent” field will contain the key The word “iPhone”; for a data card terminal, its "UserAgent” field will contain The key word “Windows NT”; for a normal mobile phone, its "UserAgent” field will contain the keyword “vendor model", for example "HW-C7300".
- Step 203 Determine whether the HTTP GET part can be obtained. If yes, execute step 204, no, and go to step 209.
- the HTTP GET part can be obtained. For example, by parsing the PPP message, it is determined whether there is a "GET" string to determine whether the HTTP GET part can be obtained.
- Step 204 Determine whether the HTTP GET part includes a UserAgent (UserAgent) field. If yes, go to Step 205. Otherwise, go to Step 208.
- UserAgent UserAgent
- the UserAgent field By parsing the HTTP GET part, it can be determined whether the UserAgent field can be obtained. For example, by analyzing whether the "UserAgent" string exists, it is determined whether the GET request part contains the UserAgent field.
- Step 205 Perform string matching and judge whether it is successful. If successful, perform step 206. Otherwise, perform step 207.
- the keyword in the UserAgent field is matched with the pre-configured terminal type field. If it matches a certain field, the matching is successful. If the matching with all the pre-configured fields fails, the matching fails.
- Step 206 The identification is successful, and the terminal type is determined.
- the terminal type field that successfully matches is used as the type field of the terminal. For example, if the keyword in the UserAgent domain matches "Microsoft Terminal Operating System Windows CE", it indicates that the terminal is a "Windows CE" terminal, that is, a mobile version of Microsoft Terminal (Windows Mobile Terminal).
- Step 207 The identification is completed and it is determined that it is unrecognizable.
- Step 208 Complete the identification and determine that there is no client information.
- Step 209 End the parsing of the PPP packet and continue to parse the next PPP packet.
- the type information of the terminal is carried in the domain.
- the terminal type can be identified by the radio access network side by identifying it in the base station controller, and the terminal type identification can be completed without special configuration.
- the device may be a base station controller, where the device includes a receiver 31, a first processor 32, and a second processor 33.
- first processor 32 and the second processor 33 described above may be integrated in one processor.
- the first processor 32 may include: a third processor, configured to parse the message received by the receiver to obtain a hypertext transfer control protocol request HTTP GET part; and a fourth processor, the HTTP GET part A user agent UserAgent field is obtained by parsing, and the UserAgent field includes a keyword indicating the type of the terminal.
- the third processor may be specifically configured to sequentially parse the IP, TCP, and HTTP protocols in the file, to obtain the HTTP GET request part.
- the second processor 33 may be specifically configured to sequentially match the keyword in the UserAgent field with the pre-configured terminal type field, and use the type represented by the successfully matched terminal type field as the type of the terminal.
- the second processor 33 is specifically configured to: if the keyword is a soft terminal operating system Windows CE, determine that the terminal is a mobile version of a Microsoft Windows Mobile terminal; or if the keyword is a Google operation System Andriod, determining that the terminal is a Google operating system Andriod terminal; or, if the keyword is an Apple iPhone, determining that the terminal is an Apple iPhone terminal; or, if the keyword is a Microsoft network terminal operating system Windows NT, determining that the terminal is a data card terminal; or, if the keyword is a vendor model, determining that the terminal is a normal mobile phone.
- the radio access network device identifies the packet sent by the terminal, and determines the terminal type according to the identification result, so that the terminal type can be identified on the radio access network side, and the terminal can be differentiated.
- the embodiment of the present invention does not require special customization, and the scope of application can be expanded with respect to the prior art.
- the foregoing program may be stored in a computer readable storage medium, and when executed, the program includes The foregoing steps of the method embodiment; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
Description
识别终端类型的方法及无线接入网设备 技术领域 Method for identifying terminal type and wireless access network device
本发明涉及移动通信技术, 尤其涉及一种识别终端类型的方法及无线接 入网设备。 背景技术 The present invention relates to mobile communication technologies, and in particular, to a method for identifying a terminal type and a wireless access network device. Background technique
随着通信技术的发展, 出现了不同类型的终端, 例如, 普通手机、 智能 手机、 数据卡等。 运营商期望在无线接入网侧对这些不同类型的终端进行区 分服务, 以实现对不同类型的终端进行不同的差分服务。 但是, 现有技术中 缺乏相应解决方案。 发明内容 With the development of communication technologies, different types of terminals have emerged, such as ordinary mobile phones, smart phones, data cards, and the like. Operators expect to differentiate these different types of terminals on the radio access network side to implement different differentiated services for different types of terminals. However, there is a lack of corresponding solutions in the prior art. Summary of the invention
本发明实施例是提供一种识别终端类型的方法及无线接入网设备, 实现 在无线接入网侧对终端类型的识别。 The embodiments of the present invention provide a method for identifying a terminal type and a radio access network device, which implements identification of a terminal type on a radio access network side.
本发明实施例提供了一种识别终端类型的方法, 包括: An embodiment of the present invention provides a method for identifying a terminal type, including:
无线接入网设备接收终端发送的报文; The radio access network device receives the packet sent by the terminal;
无线接入网设备对所述报文进行解析获取表明终端类型的关键字; 无线接入网设备根据所述关键字确定终端的类型。 The radio access network device parses the packet to obtain a keyword indicating a terminal type; the radio access network device determines the type of the terminal according to the keyword.
本发明实施例提供一种无线接入网设备, 包括: An embodiment of the present invention provides a radio access network device, including:
接收机, 用于接收终端发送的报文; a receiver, configured to receive a message sent by the terminal;
第一处理器, 用于对所述接收机接收的报文进行解析获取表明终端类型 的关键字; a first processor, configured to parse a packet received by the receiver to obtain a keyword indicating a terminal type;
第二处理器,用于根据所述第一处理器得到的所述关键字确定终端类型。 由上述技术方案可知, 本发明实施例通过无线接入网设备对终端发送的 报文进行识别, 并根据识别结果确定终端类型, 可以实现在无线接入网侧识 别出终端类型, 进而可以对终端进行差分服务。 附图说明 And a second processor, configured to determine a terminal type according to the keyword obtained by the first processor. According to the foregoing technical solution, the embodiment of the present invention identifies the packet sent by the terminal by using the radio access network device, and determines the terminal type according to the identification result, so that the radio access network can be identified. Do not leave the terminal type, and then you can differentiate the terminal. DRAWINGS
为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例描述中 所需要使用的附图作一简单地介绍, 显而易见地, 下面描述中的附图是本发 明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动性的 前提下, 还可以根据这些附图获得其他的附图。 In order to more clearly illustrate the technical solutions in the embodiments of the present invention, a brief description of the drawings to be used in the description of the embodiments will be briefly made. It is obvious that the drawings in the following description are some embodiments of the present invention. It will be apparent to those skilled in the art that other drawings may be obtained from these drawings without the inventive labor.
图 1为本发明第一实施例的方法流程示意图; 1 is a schematic flow chart of a method according to a first embodiment of the present invention;
图 2为本发明第二实施例的方法流程示意图; 2 is a schematic flow chart of a method according to a second embodiment of the present invention;
图 3为本发明第三实施例的无线接入网设备的结构示意图。 具体实施方式 FIG. 3 is a schematic structural diagram of a radio access network device according to a third embodiment of the present invention. detailed description
为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本发 明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于 本发明中的实施例, 本领域普通技术人员在没有做出创造性劳动前提下所获 得的所有其他实施例, 都属于本发明保护的范围。 The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
图 1为本发明第一实施例的方法流程示意图, 包括: FIG. 1 is a schematic flowchart of a method according to a first embodiment of the present invention, including:
步骤 11 : 无线接入网设备接收终端发送的报文。 Step 11: The radio access network device receives the packet sent by the terminal.
例如, 终端发送的艮文为端对端协议(Peer-Peer Protocol 艮文。 该 PPP 报文对应的协议栈可以包括: PPP、 互联网协议(Internet Protocol, IP ) 、 传 输控制协议 ( Transmission Control Protocol , TCP ) 和超文本传输协议 ( HyperText Transfer Protocol, HTTP ) , 以下简写为 PPP/IP/TCP/HTTP。 For example, the packet sent by the terminal is an end-to-end protocol (Peer-Peer Protocol). The protocol stack corresponding to the PPP packet may include: PPP, Internet Protocol (IP), and Transmission Control Protocol (Transmission Control Protocol). TCP) and HyperText Transfer Protocol (HTTP), hereinafter abbreviated as PPP/IP/TCP/HTTP.
步骤 12: 无线接入网设备对所述报文进行解析获取表明终端类型的关键 字。 Step 12: The radio access network device parses the packet to obtain a keyword indicating the type of the terminal.
例如, 可以具体包括: 所述无线接入网设备对所述报文进行解析获得超文本传输协议请求For example, it may specifically include: The radio access network device parses the packet to obtain a hypertext transfer protocol request
( HTTP GET )部分; (HTTP GET) section;
所述无线接入网设备对所述 HTTP GET 部分进行解析获得用户代理 ( UserAgent )域, 所述 UserAgent域中包括表明终端类型的关键字。 The radio access network device parses the HTTP GET part to obtain a user agent (UserAgent) field, and the UserAgent field includes a keyword indicating a terminal type.
具体地,终端发送的 PPP报文采用 HTTP的请求( GET )方法时,该 PPP 报文中包括 HTTP GET部分。 GET方法是 HTTP中终端向服务器请求资源的 方法, 通常格式是 "GET" 字段后面加上请求的内容。 Specifically, when the PPP packet sent by the terminal adopts the HTTP request (GET) method, the PPP packet includes an HTTP GET part. The GET method is a method in which a terminal requests a resource from a server in HTTP. The format is usually "GET" followed by the requested content.
该 HTTP GET部分可以包括 UserAgent域, 所述 UserAgent域中包括表 明终端类型的关键字。 The HTTP GET part may include a UserAgent field, and the UserAgent field includes a keyword indicating a terminal type.
此时, 可以依次解析 IP、 TCP和 HTTP报文头, 得到所述 UserAgent域。 步骤 13: 无线接入网设备根据所述关键字确定终端的类型。 At this point, the IP, TCP, and HTTP headers can be parsed in turn to obtain the UserAgent domain. Step 13: The radio access network device determines the type of the terminal according to the keyword.
可以采用匹配的方式, 将 UserAgent域中的关键字与预配置的终端类型 字段依次匹配, 将匹配成功的终端类型字段所代表的类型作为所述终端的类 型。 The keyword in the UserAgent field can be matched with the pre-configured terminal type field in a matching manner, and the type represented by the successfully matched terminal type field is used as the type of the terminal.
具体可以包括: Specifically, it may include:
如果所述关键字为微软终端操作系统 Windows CE,则确定所述终端为移 动版微软 Windows Mobile终端; 或者, If the keyword is the Microsoft terminal operating system Windows CE, it is determined that the terminal is a mobile version of the Microsoft Windows Mobile terminal; or
如果所述关键字为谷歌操作系统 Andriod,则确定所述终端为谷歌操作系 统 Andriod终端; 或者, If the keyword is the Google operating system Andriod, it is determined that the terminal is a Google operating system Andriod terminal; or
如果所述关键字为苹果 iPhone, 则确定所述终端为苹果 iPhone终端; 或 者, If the keyword is an Apple iPhone, determining that the terminal is an Apple iPhone terminal; or
如果所述关键字为微软网络终端操作系统 Windows NT,则确定所述终端 为数据卡终端; 或者, If the keyword is the Microsoft network terminal operating system Windows NT, determining that the terminal is a data card terminal; or
如果所述关键字为厂商型号, 则确定所述终端为普通手机。 If the keyword is a vendor model, it is determined that the terminal is a normal mobile phone.
其中, Windows CE操作系统是微软公司嵌入式、 移动计算平台的基础, 它是一个开放的、 可升级的 32位嵌入式操作系统, 是基于掌上型电脑类的电 子设备操作系统。 当终端采用该 Windows CE操作系统时对应的关键字则为 Windows CE。 Android操作系统是谷歌 ( Google ) 宣布的基于 Linux平台的 开源手机操作系统的名称, 该平台由操作系统、 中间件、 用户界面和应用软 件组成, 当终端采用 Android操作系统时对应的关键字则为 Android。 iPhone 是结合照相手机、 个人数码助理、媒体播放器以及无线通信设备的掌上设备, 由苹果公司宣布推出, 当终端为 iPhone时对应的关键字为 iPhone。 Windows NT操作系统是微软推出的面向工作站、网络服务器和大型计算机的网络操作 系统, 当终端采用 Windows NT操作系统时对应的关键字为 Windows NT。 Among them, the Windows CE operating system is the foundation of Microsoft's embedded and mobile computing platform. It is an open, scalable 32-bit embedded operating system based on handheld computers. Child device operating system. When the terminal adopts the Windows CE operating system, the corresponding keyword is Windows CE. The Android operating system is the name of the open source mobile operating system based on the Linux platform announced by Google. The platform consists of the operating system, middleware, user interface and application software. When the terminal adopts the Android operating system, the corresponding keyword is Android. The iPhone is a handheld device that combines a camera phone, a personal digital assistant, a media player, and a wireless communication device. It was announced by Apple Inc. When the terminal is an iPhone, the corresponding keyword is the iPhone. The Windows NT operating system is a network operating system introduced by Microsoft for workstations, network servers, and mainframe computers. When the terminal adopts the Windows NT operating system, the corresponding keyword is Windows NT.
本实施例通过无线接入网设备对终端发送的报文进行识别, 并根据识别 结果确定终端类型, 可以实现在无线接入网侧识别出终端类型, 进而可以对 终端进行差分服务。 并且, 进一步地, 本发明实施例并不需要特别的定制, 相对于现有技术能够扩大适用范围。 In this embodiment, the radio access network device identifies the packet sent by the terminal, and determines the terminal type according to the identification result, so that the terminal type can be identified on the radio access network side, and the terminal can be differentiated. Moreover, further, the embodiment of the present invention does not require special customization, and the scope of application can be expanded with respect to the prior art.
图 2为本发明第二实施例的方法流程示意图, 本实施例将以无线接入网 设备为基站控制器为例。 参见图 2, 本实施例包括: FIG. 2 is a schematic flowchart of a method according to a second embodiment of the present invention. In this embodiment, a radio access network device is used as a base station controller as an example. Referring to FIG. 2, this embodiment includes:
步骤 201: 基站控制器接收终端发送的 PPP报文。 Step 201: The base station controller receives the PPP packet sent by the terminal.
现有技术中, 基站控制器会对接收的 PPP (对应的协议栈为 PPP/IP/TCP/HTTP )报文进行透明传输, 而本发明实施例中为了在无线接入 网内实现终端识别, 则基站控制器会对接收的 PPP报文进行深度报文检测 ( deep packet inspection, DPI ) 。 具体如下: In the prior art, the base station controller transparently transmits the received PPP (the corresponding protocol stack is a PPP/IP/TCP/HTTP) message, and in the embodiment of the present invention, in order to implement terminal identification in the radio access network, The base station controller performs deep packet inspection (DPI) on the received PPP packet. details as follows:
步骤 202: 按照 IP、 TCP和 HTTP的报文头逐层解析 PPP报文, 以获取 "HTTP请求(GET ) " 部分。 Step 202: Parse the PPP packet layer by layer according to the IP, TCP, and HTTP headers to obtain the "HTTP Request (GET)" part.
终端在使用 HTTP 的 GET 方法时, 可以在 "HTTP GET" 部分的 "UserAgent"域中携带表明终端类型的关键字。 例如, 对于 Windows Mobile 终端, 其 "UserAgent"域会包含关键字 "Windows CE" ; 对于 Andriod终端, 其 "UserAgent"域会包含关键字 "Andriod";对于 iPhone终端,其 "UserAgent" 域会包含关键字 "iPhone" ; 对于数据卡终端, 其 "UserAgent" 域会包含关 键字 "Windows NT" ; 对于普通手机, 其 "UserAgent" 域会包含关键字 "厂 商型号" , 例如 "HW-C7300" 。 When the terminal uses the HTTP GET method, it can carry a keyword indicating the terminal type in the "UserAgent" field of the "HTTP GET" section. For example, for a Windows Mobile terminal, its "UserAgent" field will contain the keyword "Windows CE"; for an Android terminal, its "UserAgent" field will contain the keyword "Andriod"; for iPhone terminals, its "UserAgent" field will contain the key The word "iPhone"; for a data card terminal, its "UserAgent" field will contain The key word "Windows NT"; for a normal mobile phone, its "UserAgent" field will contain the keyword "vendor model", for example "HW-C7300".
步骤 203: 判断是否能获取 HTTP GET部分,若是,执行步骤 204,否贝 , 执行步骤 209。 Step 203: Determine whether the HTTP GET part can be obtained. If yes, execute step 204, no, and go to step 209.
通过解析可以确定是否能够获取 HTTP GET部分, 例如, 通过解析 PPP 报文, 判断是否存在 "GET" 字符串来确定出是否能够得到获取 HTTP GET 部分。 Through parsing, it can be determined whether the HTTP GET part can be obtained. For example, by parsing the PPP message, it is determined whether there is a "GET" string to determine whether the HTTP GET part can be obtained.
步骤 204: 判断 HTTP GET部分是否包含用户代理(UserAgent )域, 若 是, 执行步骤 205, 否则, 执行步骤 208。 Step 204: Determine whether the HTTP GET part includes a UserAgent (UserAgent) field. If yes, go to Step 205. Otherwise, go to Step 208.
通过解析 HTTP GET部分可以确定出是否能够得到 UserAgent域,例如, 通过解析判断是否存在 "UserAgent" 字符串来确定 GET请求部分是否包含 UserAgent域。 By parsing the HTTP GET part, it can be determined whether the UserAgent field can be obtained. For example, by analyzing whether the "UserAgent" string exists, it is determined whether the GET request part contains the UserAgent field.
步骤 205: 进行字符串匹配, 并判断是否成功, 若成功, 执行步骤 206, 否则, 执行步骤 207。 Step 205: Perform string matching and judge whether it is successful. If successful, perform step 206. Otherwise, perform step 207.
例如, 将所述 UserAgent域中的关键字与预配置的终端类型字段依次匹 配, 如果与某一字段匹配上, 则表明匹配成功, 如果与预配置的所有字段均 匹配不上, 则匹配失败。 For example, the keyword in the UserAgent field is matched with the pre-configured terminal type field. If it matches a certain field, the matching is successful. If the matching with all the pre-configured fields fails, the matching fails.
步骤 206: 识别成功, 确定出终端类型。 Step 206: The identification is successful, and the terminal type is determined.
具体地, 将匹配成功的终端类型字段作为所述终端的类型字段。 例如, 如果该 UserAgent域中的关键字与 "微软终端操作系统 Windows CE"匹配上, 则表明该终端为 "Windows CE" 终端, 即移动版微软终端( Windows Mobile 终端) 。 Specifically, the terminal type field that successfully matches is used as the type field of the terminal. For example, if the keyword in the UserAgent domain matches "Microsoft Terminal Operating System Windows CE", it indicates that the terminal is a "Windows CE" terminal, that is, a mobile version of Microsoft Terminal (Windows Mobile Terminal).
步骤 207: 完成识别并确定出无法识别。 Step 207: The identification is completed and it is determined that it is unrecognizable.
步骤 208: 完成识别并确定出无客户端信息。 Step 208: Complete the identification and determine that there is no client information.
步骤 209: 结束该 PPP报文的解析, 继续解析下一个 PPP报文。 Step 209: End the parsing of the PPP packet and continue to parse the next PPP packet.
由于终端在使用 HTTP GET方法时,在 HTTP GET请求部分的 UserAgent 域中会携带终端的类型信息, 本实施例通过在基站控制器中对其进行识别, 可以实现无线接入网侧对终端类型的识别, 可以不需要特别配置完成终端类 型的识别。 UserAgent in the HTTP GET request section when the terminal is using the HTTP GET method The type information of the terminal is carried in the domain. In this embodiment, the terminal type can be identified by the radio access network side by identifying it in the base station controller, and the terminal type identification can be completed without special configuration.
图 3为本发明第三实施例的无线接入网设备的结构示意图, 该设备可以 为基站控制器, 该设备包括接收机 31、 第一处理器 32和第二处理器 33; 接 收机 31用于接收终端发送的报文;第一处理器 32用于对所述接收机 31接收 的报文进行解析获取表明终端类型的关键字;第二处理器 33用于根据所述第 一处理器 32得到的所述关键字确定终端类型。 3 is a schematic structural diagram of a radio access network device according to a third embodiment of the present invention. The device may be a base station controller, where the device includes a receiver 31, a first processor 32, and a second processor 33. Receiving a message sent by the terminal; the first processor 32 is configured to parse the message received by the receiver 31 to obtain a keyword indicating a terminal type; the second processor 33 is configured to be used according to the first processor 32. The resulting keyword determines the terminal type.
可选地, 上述第一处理器 32与第二处理器 33的功能可以集成在一个处 理器中。 Alternatively, the functions of the first processor 32 and the second processor 33 described above may be integrated in one processor.
其中, 第一处理器 32可以包括: 第三处理器, 用于对所述接收机接收的 报文进行解析获得超文本传输控制协议请求 HTTP GET部分; 第四处理器, 对所述 HTTP GET部分进行解析获得用户代理 UserAgent域,所述 UserAgent 域中包括表明终端类型的关键字。 The first processor 32 may include: a third processor, configured to parse the message received by the receiver to obtain a hypertext transfer control protocol request HTTP GET part; and a fourth processor, the HTTP GET part A user agent UserAgent field is obtained by parsing, and the UserAgent field includes a keyword indicating the type of the terminal.
具体地, 所述第三处理器可以具体用于依次解析所述^艮文中的 IP、 TCP 和 HTTP协议 ^艮文头 , 得到所述 HTTP GET请求部分。 Specifically, the third processor may be specifically configured to sequentially parse the IP, TCP, and HTTP protocols in the file, to obtain the HTTP GET request part.
另外, 所述第二处理器 33可以具体用于将所述 UserAgent域中的关键字 与预配置的终端类型字段依次匹配, 将匹配成功的终端类型字段所代表的类 型作为所述终端的类型。 In addition, the second processor 33 may be specifically configured to sequentially match the keyword in the UserAgent field with the pre-configured terminal type field, and use the type represented by the successfully matched terminal type field as the type of the terminal.
具体地, 所述第二处理器 33具体用于: 如果所述关键字为 软终端操作 系统 Windows CE , 则确定所述终端为移动版微软 Windows Mobile终端; 或 者,如果所述关键字为谷歌操作系统 Andriod, 则确定所述终端为谷歌操作系 统 Andriod终端; 或者, 如果所述关键字为苹果 iPhone, 则确定所述终端为 苹果 iPhone终端; 或者, 如果所述关键字为微软网络终端操作系统 Windows NT, 则确定所述终端为数据卡终端; 或者, 如果所述关键字为厂商型号, 则 确定所述终端为普通手机。 本实施例通过无线接入网设备对终端发送的报文进行识别, 并根据识别 结果确定终端类型, 可以实现在无线接入网侧识别出终端类型, 进而可以对 终端进行差分服务。 并且, 进一步地, 本发明实施例并不需要特别的定制, 相对于现有技术能够扩大适用范围。 Specifically, the second processor 33 is specifically configured to: if the keyword is a soft terminal operating system Windows CE, determine that the terminal is a mobile version of a Microsoft Windows Mobile terminal; or if the keyword is a Google operation System Andriod, determining that the terminal is a Google operating system Andriod terminal; or, if the keyword is an Apple iPhone, determining that the terminal is an Apple iPhone terminal; or, if the keyword is a Microsoft network terminal operating system Windows NT, determining that the terminal is a data card terminal; or, if the keyword is a vendor model, determining that the terminal is a normal mobile phone. In this embodiment, the radio access network device identifies the packet sent by the terminal, and determines the terminal type according to the identification result, so that the terminal type can be identified on the radio access network side, and the terminal can be differentiated. Moreover, further, the embodiment of the present invention does not require special customization, and the scope of application can be expanded with respect to the prior art.
可以理解的是, 上述方法及设备中的相关特征可以相互参考。 另外, 上 述实施例中的 "第一" 、 "第二" 等是用于区分各实施例, 而并不代表各实 施例的优劣。 It can be understood that related features in the above methods and devices can be referred to each other. In addition, "first", "second", and the like in the above embodiments are used to distinguish the embodiments, and do not represent the advantages and disadvantages of the embodiments.
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步骤 可以通过程序指令相关的硬件来完成, 前述的程序可以存储于计算机可读取 存储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述的 存储介质包括: ROM, RAM,磁碟或者光盘等各种可以存储程序代码的介质。 A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to program instructions. The foregoing program may be stored in a computer readable storage medium, and when executed, the program includes The foregoing steps of the method embodiment; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对其 限制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的普通技术 人员应当理解: 其依然可以对前述各实施例所记载的技术方案进行修改, 或 者对其中部分技术特征进行等同替换; 而这些修改或者替换, 并不使相应技 术方案的本质脱离本发明各实施例技术方案的精神和范围。 It should be noted that the above embodiments are only for explaining the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art that: The technical solutions described in the foregoing embodiments are modified, or some of the technical features are equivalently replaced. The modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201180001092.XA CN103609193B (en) | 2011-06-24 | 2011-06-24 | The method and wireless access network equipment of identification terminal type |
| PCT/CN2011/076260 WO2012159291A1 (en) | 2011-06-24 | 2011-06-24 | Method for identifying type of terminal and wireless access network device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2011/076260 WO2012159291A1 (en) | 2011-06-24 | 2011-06-24 | Method for identifying type of terminal and wireless access network device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2012159291A1 true WO2012159291A1 (en) | 2012-11-29 |
Family
ID=47216539
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2011/076260 Ceased WO2012159291A1 (en) | 2011-06-24 | 2011-06-24 | Method for identifying type of terminal and wireless access network device |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN103609193B (en) |
| WO (1) | WO2012159291A1 (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105656683A (en) * | 2016-02-03 | 2016-06-08 | 北京星网锐捷网络技术有限公司 | Method and device for terminal type identification |
| CN105871466A (en) * | 2016-05-25 | 2016-08-17 | 全球能源互联网研究院 | Wide-area stable communication devices and method having intelligent identification function |
| CN108834122A (en) * | 2018-07-02 | 2018-11-16 | Oppo(重庆)智能科技有限公司 | A kind of bluetooth recognition method, apparatus, equipment and storage medium |
| CN109245963A (en) * | 2018-10-22 | 2019-01-18 | 杭州迪普科技股份有限公司 | The recognition methods of network terminal type and relevant device |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101662477A (en) * | 2009-09-29 | 2010-03-03 | 华为技术有限公司 | Method for searching user data and device thereof |
| CN101977239A (en) * | 2010-11-11 | 2011-02-16 | 华为技术有限公司 | Method for making strategy, strategy server and gateway |
| CN102033926A (en) * | 2010-12-15 | 2011-04-27 | 百度在线网络技术(北京)有限公司 | Page content processing method and device |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN100531212C (en) * | 2006-01-21 | 2009-08-19 | 华为技术有限公司 | System and method of consulting device information |
| CN101207507B (en) * | 2006-12-20 | 2010-06-02 | 中国电信股份有限公司 | System for managing mobile terminal capability information |
| CN100471299C (en) * | 2007-03-13 | 2009-03-18 | 华为技术有限公司 | Data business content adaptation method, system and portal system |
| US8339954B2 (en) * | 2008-05-16 | 2012-12-25 | Cisco Technology, Inc. | Providing trigger based traffic management |
| CN101437221A (en) * | 2008-12-18 | 2009-05-20 | 中国移动通信集团浙江有限公司 | Method for processing mobile number book data based on OMA SyncML protocol |
-
2011
- 2011-06-24 WO PCT/CN2011/076260 patent/WO2012159291A1/en not_active Ceased
- 2011-06-24 CN CN201180001092.XA patent/CN103609193B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101662477A (en) * | 2009-09-29 | 2010-03-03 | 华为技术有限公司 | Method for searching user data and device thereof |
| CN101977239A (en) * | 2010-11-11 | 2011-02-16 | 华为技术有限公司 | Method for making strategy, strategy server and gateway |
| CN102033926A (en) * | 2010-12-15 | 2011-04-27 | 百度在线网络技术(北京)有限公司 | Page content processing method and device |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105656683A (en) * | 2016-02-03 | 2016-06-08 | 北京星网锐捷网络技术有限公司 | Method and device for terminal type identification |
| CN105656683B (en) * | 2016-02-03 | 2019-05-21 | 北京星网锐捷网络技术有限公司 | A kind of terminal type recognition methods and device |
| CN105871466A (en) * | 2016-05-25 | 2016-08-17 | 全球能源互联网研究院 | Wide-area stable communication devices and method having intelligent identification function |
| CN105871466B (en) * | 2016-05-25 | 2021-10-29 | 全球能源互联网研究院 | A wide area stable communication device and method with intelligent identification function |
| CN108834122A (en) * | 2018-07-02 | 2018-11-16 | Oppo(重庆)智能科技有限公司 | A kind of bluetooth recognition method, apparatus, equipment and storage medium |
| CN109245963A (en) * | 2018-10-22 | 2019-01-18 | 杭州迪普科技股份有限公司 | The recognition methods of network terminal type and relevant device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103609193A (en) | 2014-02-26 |
| CN103609193B (en) | 2017-11-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11093981B2 (en) | Smart broadcasting device | |
| US8036598B1 (en) | Peer-to-peer transfer of files with back-office completion | |
| US10110538B2 (en) | Method and apparatus for message transmission | |
| CN103384369B (en) | A kind of set up the method for data cube computation, Apparatus and system | |
| WO2018177124A1 (en) | Service processing method and device, data sharing system and storage medium | |
| CN102394872A (en) | Data communication coordination | |
| CN102355501B (en) | A kind of data processing method, access examination & verification equipment and system | |
| JP2014146349A (en) | File folder transmission on network | |
| EP2807868A1 (en) | Method and apparatus for automatic service discovery and connectivity | |
| CN102217337B (en) | Method, apparatus and mobile terminal for updating service content of unstructured supplementary service data | |
| CN102571941B (en) | Cloud point-to-point data transmission method and system | |
| WO2022267635A1 (en) | Method and apparatus for data exchange | |
| WO2014179950A1 (en) | File uploading method, client, and server | |
| CN102983942A (en) | Data transmission method and equipment | |
| CN104683124A (en) | Terminal type identification method and device | |
| CN103198248A (en) | Information processor, information processing method, and program | |
| WO2012159291A1 (en) | Method for identifying type of terminal and wireless access network device | |
| WO2017080450A1 (en) | Multi-media data download method, client, server, system and storage medium | |
| WO2014085959A1 (en) | Batch file transmission method and device | |
| CN112181147A (en) | Wearable device interaction method, device and electronic device based on applet | |
| CN104980807A (en) | Method and terminal for multimedia interaction | |
| WO2013013578A1 (en) | Method for updating data card, personal computer and data card | |
| WO2012163177A1 (en) | Method for processing multimedia file and network side device in communication system | |
| CN107018209A (en) | A kind of method and device for realizing Internet of Things cloud platform | |
| WO2017049971A1 (en) | Packet transmission method and gateway |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 11866109 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 11866109 Country of ref document: EP Kind code of ref document: A1 |