CN103609193B - The method and wireless access network equipment of identification terminal type - Google Patents
The method and wireless access network equipment of identification terminal type Download PDFInfo
- Publication number
- CN103609193B CN103609193B CN201180001092.XA CN201180001092A CN103609193B CN 103609193 B CN103609193 B CN 103609193B CN 201180001092 A CN201180001092 A CN 201180001092A CN 103609193 B CN103609193 B CN 103609193B
- Authority
- CN
- China
- Prior art keywords
- terminal
- keyword
- type
- determining
- access network
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 25
- 230000005540 biological transmission Effects 0.000 claims description 6
- 238000012546 transfer Methods 0.000 claims description 5
- 238000004891 communication Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
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
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
The present invention provides a kind of method and wireless access network equipment of identification terminal type.This method includes:The message that wireless access network equipment receiving terminal is sent(11);Wireless access network equipment carries out parsing to the message and obtains the keyword for showing terminal type(12);Wireless access network equipment determines the type of terminal according to the keyword(13).The present invention can realize to be identified in wireless access net side to terminal type.
Description
Technical Field
The present invention relates to mobile communication technologies, and in particular, to a method for identifying a terminal type and a radio access network device.
Background
With the development of communication technology, different types of terminals, such as a general mobile phone, a smart phone, a data card, etc., have appeared. Operators expect to perform differentiated services on different types of terminals on the radio access network side so as to perform different differentiated services on different types of terminals. However, the prior art lacks a corresponding solution.
Disclosure of Invention
The embodiment of the invention provides a method for identifying a terminal type and wireless access network equipment, which realize the identification of the terminal type on a wireless access network side.
The embodiment of the invention provides a method for identifying a terminal type, which comprises the following steps:
the wireless access network equipment receives a message sent by a terminal;
the wireless access network equipment analyzes the message to obtain a keyword indicating the type of the terminal;
and the wireless access network equipment determines the type of the terminal according to the keyword.
An embodiment of the present invention provides a wireless access network device, including:
the receiver is used for receiving the message sent by the terminal;
the first processor is used for analyzing the message received by the receiver to obtain a keyword indicating the type of the terminal;
and the second processor is used for determining the type of the terminal according to the keyword obtained by the first processor.
According to the technical scheme, the embodiment of the invention identifies the message sent by the terminal through the wireless access network equipment, and determines the terminal type according to the identification result, so that the terminal type can be identified on the wireless access network side, and further the differential service can be carried out on the terminal.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
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
In order to make the objects, 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 with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic flow chart of a method according to a first embodiment of the present invention, which includes:
step 11: and the wireless access network equipment receives the message sent by the terminal.
For example, the message sent by the terminal is an end-to-end Protocol (Peer-Peer Protocol) message. The protocol stack corresponding to the PPP packet may include: PPP, Internet Protocol (IP), Transmission Control Protocol (TCP), and HyperText transfer Protocol (HTTP), which are hereinafter abbreviated as PPP/IP/TCP/HTTP.
Step 12: and the wireless access network equipment analyzes the message to obtain a keyword indicating the type of the terminal.
For example, it may specifically include:
the wireless access network equipment analyzes the message to obtain a hypertext transfer protocol request (HTTP GET) part;
and the wireless access network equipment analyzes the HTTP GET part to obtain a user agent (Useragent) domain, wherein the Useragent domain comprises keywords indicating the type of the terminal.
Specifically, when the PPP message sent by the terminal adopts a request (GET) method of HTTP, the PPP message includes an HTTP GET part. The GET method is a method in HTTP in which a terminal requests a server for a resource, and is usually in the format of a "GET" field followed by the content of the request.
The HTTP GET portion may include a usergent field including a keyword indicating a terminal type.
At this time, the IP, TCP, and HTTP headers may be sequentially parsed to obtain the user agent domain.
Step 13: and the wireless access network equipment determines the type of the terminal according to the keyword.
The keywords in the UserAgent domain can be sequentially matched with the pre-configured terminal type field in a matching mode, and the type represented by the successfully matched terminal type field is used as the type of the terminal.
The method specifically comprises the following steps:
if the keyword is a Microsoft terminal operating system (Windows CE), determining that the terminal is a Mobile version Microsoft Windows Mobile terminal; or,
if the keyword is the Google operating system Andriod, determining that the terminal is the 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,
and if the keyword is the manufacturer model, determining that the terminal is a common mobile phone.
The Windows CE operating system is the foundation of Microsoft corporation embedded and mobile computing platform, is an open and upgradable 32-bit embedded operating system, and is an electronic equipment operating system based on palm computers. When the terminal adopts the Windows CE operating system, the corresponding keyword is Windows CE. The Android operating system is the name of an open source mobile phone operating system based on a Linux platform announced by Google (Google), the platform consists of an operating system, middleware, a user interface and application software, and when the Android operating system is adopted by a terminal, corresponding keywords are Android. An iPhone is a handheld device that combines a camera phone, a personal digital assistant, a media player, and a wireless communication device, and is announced by apple inc. The Windows NT operating system is a network operating system which is launched by Microsoft and faces to a workstation, a network server and a large computer, and when the Windows NT operating system is adopted by a terminal, a corresponding keyword is Windows NT.
In the embodiment, the message sent by the terminal is identified through the wireless access network equipment, and the terminal type is determined according to the identification result, so that the terminal type can be identified on the wireless access network side, and further, the terminal can be subjected to differential service. Furthermore, the embodiment of the present invention does not require special customization, and the application range can be expanded compared to the prior art.
Fig. 2 is a schematic flow chart of a method according to a second embodiment of the present invention, which takes a radio access network device as an example of a base station controller. Referring to fig. 2, the present embodiment includes:
step 201: the base station controller receives PPP messages sent by the terminal.
In the prior art, a base station controller performs transparent transmission on a received PPP (the corresponding protocol stack is PPP/IP/TCP/HTTP) packet, whereas in the embodiment of the present invention, in order to implement terminal identification in a wireless access network, the base station controller performs Deep Packet Inspection (DPI) on the received PPP packet. The method comprises the following specific steps:
step 202: and analyzing the PPP message layer by layer according to message headers of IP, TCP and HTTP to obtain a 'HTTP request (GET)' part.
When using the GET method of HTTP, the terminal may carry a keyword indicating the terminal type in the "user agent" field of the "HTTP GET" part. For example, for a Windows Mobile terminal, its "user agent" field would contain the keyword "Windows CE"; for an Andriod terminal, the "user agent" field of the Andriod terminal contains a keyword "Andriod"; for an iPhone terminal, its "UserAgent" field will contain the keyword "iPhone"; for a data card terminal, the "user agent" field of the data card terminal contains a keyword "Windows NT"; for a common mobile phone, the "user agent" field of the mobile phone contains a keyword "manufacturer model", such as "HW-C7300".
Step 203: it is determined whether the HTTP GET portion can be obtained, if so, step 204 is performed, otherwise, step 209 is performed.
Whether the HTTP GET portion can be acquired can be determined by parsing, for example, by parsing the PPP message and determining whether a "GET" string exists to determine whether the HTTP GET portion can be acquired.
Step 204: it is determined whether the HTTP GET portion includes a user agent (user agent) field, if so, step 205 is performed, otherwise, step 208 is performed.
Whether a Useragent field is available can be determined by parsing the HTTP GET portion, e.g., whether the GET request portion contains a Useragent field is determined by parsing to determine whether a "Useragent" string exists.
Step 205: and matching the character strings, judging whether the character strings are successful, if so, executing a step 206, otherwise, executing a step 207.
For example, the keywords in the user agent domain are sequentially matched with the fields of the preconfigured terminal types, if the keywords are matched with a certain field, the matching is successful, and if the keywords are not matched with all the fields of the preconfigured terminal types, the matching is failed.
Step 206: and successfully identifying and determining the type of the terminal.
Specifically, a successfully matched terminal type field is used as the type field of the terminal. For example, if the keyword in the user agent domain matches with "microsoft terminal operating system Windows CE", it indicates that the terminal is a "Windows CE" terminal, i.e. a Mobile version microsoft terminal (Windows Mobile terminal).
Step 207: and completing recognition and determining that the recognition cannot be carried out.
Step 208: and finishing the identification and determining that no client information exists.
Step 209: and finishing the analysis of the PPP message and continuously analyzing the next PPP message.
Since the terminal carries the type information of the terminal in the user agent field of the HTTP GET request part when using the HTTP GET method, the present embodiment identifies the terminal in the base station controller, so that the identification of the terminal type at the wireless access network side can be realized, and the identification of the terminal type can be completed without special configuration.
Fig. 3 is a schematic structural diagram of a radio access network device according to a third embodiment of the present invention, where the device may be a base station controller, and the device includes a receiver 31, a first processor 32, and a second processor 33; the receiver 31 is configured to receive a message sent by a terminal; the first processor 32 is configured to analyze the message received by the receiver 31 to obtain a keyword indicating a terminal type; the second processor 33 is configured to determine the terminal type according to the keyword obtained by the first processor 32.
Alternatively, the functions of the first processor 32 and the second processor 33 may be integrated into one processor.
Among them, the first processor 32 may include: a third processor, configured to parse the message received by the receiver to obtain a HTTP GET part of a HTTP transmission control protocol request; and the fourth processor analyzes the HTTP GET part to obtain a user agent Useragent domain, wherein the Useragent domain comprises keywords indicating the type of the terminal.
Specifically, the third processor may be specifically configured to sequentially analyze IP, TCP, and HTTP protocol headers in the message to obtain the HTTP GET request component.
In addition, the second processor 33 may be specifically configured to match the keywords in the user agent domain with preconfigured terminal type fields in sequence, and use a type represented by a successfully matched terminal type field as the type of the terminal.
In particular, the second processor 33 is specifically configured to: if the keyword is a Microsoft terminal operating system (Windows CE), determining that the terminal is a Mobile version Microsoft Windows Mobile terminal; or if the keyword is the Google operating system Andriod, determining that the terminal is the 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 the manufacturer model, determining that the terminal is a common mobile phone.
In the embodiment, the message sent by the terminal is identified through the wireless access network equipment, and the terminal type is determined according to the identification result, so that the terminal type can be identified on the wireless access network side, and further, the terminal can be subjected to differential service. Furthermore, the embodiment of the present invention does not require special customization, and the application range can be expanded compared to the prior art.
It will be appreciated that the relevant features of the method and apparatus described above are referred to one another. In addition, "first", "second", and the like in the above embodiments are for distinguishing the embodiments, and do not represent merits of the embodiments.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (7)
1. A method for identifying a terminal type, comprising:
the wireless access network equipment receives a message sent by a terminal;
the wireless access network equipment analyzes the message to obtain a keyword indicating the type of the terminal;
the wireless access network equipment determines the type of the terminal according to the keyword;
the analyzing the message by the radio access network equipment to obtain the keyword indicating the terminal type comprises the following steps:
the wireless access network equipment analyzes the message to obtain a hypertext transfer protocol request HTTP GET part;
the wireless access network equipment analyzes the HTTP GET part to obtain a user agent Useragent domain, wherein the Useragent domain comprises keywords indicating the type of the terminal;
wherein, the determining the type of the terminal according to the keyword comprises:
and sequentially matching the keywords in the UserAgent domain with a pre-configured terminal type field, and taking the type represented by the successfully matched terminal type field as the type of the terminal.
2. The method of claim 1, wherein the packet is an end-to-end protocol (PPP) packet.
3. The method of claim 1, wherein parsing the packet by the radio access network device to obtain an HTTP GET portion comprises:
and sequentially analyzing the internet protocol IP, the transmission control protocol TCP and the hypertext transmission protocol HTTP message headers in the message to obtain the HTTP GET part.
4. The method according to any one of claims 1-3, wherein the determining the type of the terminal according to the keyword comprises:
if the keyword is a Microsoft Windows CE, determining that the terminal is a Mobile Microsoft Windows Mobile terminal; or,
if the keyword is the Google operating system Andriod, determining that the terminal is the 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 terminal operating system Windows NT, determining that the terminal is a data card terminal; or,
and if the keyword is the manufacturer model, determining that the terminal is a common mobile phone.
5. A radio access network device, comprising:
the receiver is used for receiving the message sent by the terminal;
the first processor is used for analyzing the message received by the receiver to obtain a keyword indicating the type of the terminal;
the second processor is used for determining the type of the terminal according to the keyword obtained by the first processor;
wherein the first processor comprises:
a third processor, configured to parse the message received by the receiver to obtain a hypertext transfer protocol request http get part;
the fourth processor analyzes the HTTP GET part to obtain a user agent domain, wherein the user agent domain comprises keywords indicating the type of the terminal;
the second processor is specifically configured to match the keyword with a preconfigured terminal type field in sequence, and use a type represented by the successfully matched terminal type field as the type of the terminal.
6. The device according to claim 5, wherein the third processor is specifically configured to parse internet protocol, IP, transmission control protocol, TCP, and hypertext transfer protocol, HTTP, headers in the message in sequence to obtain the HTTP GET portion.
7. The device of any of claims 5-6, wherein the second processor is specifically configured to:
if the keyword is a Microsoft Windows CE, determining that the terminal is a Mobile Microsoft Windows Mobile terminal; or,
if the keyword is the Google operating system Andriod, determining that the terminal is the 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,
and if the keyword is the manufacturer model, determining that the terminal is a common mobile phone.
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 (2)
Publication Number | Publication Date |
---|---|
CN103609193A CN103609193A (en) | 2014-02-26 |
CN103609193B true CN103609193B (en) | 2017-11-17 |
Family
ID=47216539
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201180001092.XA Active CN103609193B (en) | 2011-06-24 | 2011-06-24 | The method and wireless access network equipment of identification terminal type |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103609193B (en) |
WO (1) | WO2012159291A1 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105656683B (en) * | 2016-02-03 | 2019-05-21 | 北京星网锐捷网络技术有限公司 | A kind of terminal type recognition methods and device |
CN105871466B (en) * | 2016-05-25 | 2021-10-29 | 全球能源互联网研究院 | 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 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1859393A (en) * | 2006-01-21 | 2006-11-08 | 华为技术有限公司 | System and method of consulting device information |
CN101026800A (en) * | 2007-03-13 | 2007-08-29 | 华为技术有限公司 | Data business content adapting method. system and portal system |
CN101207507A (en) * | 2006-12-20 | 2008-06-25 | 中国电信股份有限公司 | System for managing mobile terminal capability information |
CN101437221A (en) * | 2008-12-18 | 2009-05-20 | 中国移动通信集团浙江有限公司 | Method for processing mobile number book data based on OMA SyncML protocol |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8339954B2 (en) * | 2008-05-16 | 2012-12-25 | Cisco Technology, Inc. | Providing trigger based traffic management |
CN101662477B (en) * | 2009-09-29 | 2012-11-07 | 华为技术有限公司 | Method for searching user data and device thereof |
CN101977239B (en) * | 2010-11-11 | 2015-04-22 | 华为技术有限公司 | Method for making strategy, strategy server and gateway |
CN102033926B (en) * | 2010-12-15 | 2013-09-04 | 百度在线网络技术(北京)有限公司 | Page content processing method and device |
-
2011
- 2011-06-24 CN CN201180001092.XA patent/CN103609193B/en active Active
- 2011-06-24 WO PCT/CN2011/076260 patent/WO2012159291A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1859393A (en) * | 2006-01-21 | 2006-11-08 | 华为技术有限公司 | System and method of consulting device information |
CN101207507A (en) * | 2006-12-20 | 2008-06-25 | 中国电信股份有限公司 | System for managing mobile terminal capability information |
CN101026800A (en) * | 2007-03-13 | 2007-08-29 | 华为技术有限公司 | Data business content adapting method. system and portal system |
CN101437221A (en) * | 2008-12-18 | 2009-05-20 | 中国移动通信集团浙江有限公司 | Method for processing mobile number book data based on OMA SyncML protocol |
Also Published As
Publication number | Publication date |
---|---|
CN103609193A (en) | 2014-02-26 |
WO2012159291A1 (en) | 2012-11-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11809952B2 (en) | Computer configured to display multimedia content | |
US9479343B2 (en) | Engine for processing content rules associated with locations in a page | |
US10028319B2 (en) | Wi-fi connection method and wi-fi connection system for mobile terminal | |
CN103155513B (en) | Accelerate the method and apparatus of certification | |
CN103259795B (en) | Perform registration logs in automatically method, mobile terminal and server | |
EP3179790B1 (en) | Method and apparatus for determining location of target portable device | |
US8036598B1 (en) | Peer-to-peer transfer of files with back-office completion | |
US20110191764A1 (en) | Systems, methods, and apparatuses for facilitating distribution of firmware updates | |
WO2018018697A1 (en) | Method and system for identifying spam message from false base station | |
US9208392B2 (en) | Methods and apparatus for progressive pattern matching in a mobile environment | |
WO2015021873A1 (en) | Method, platform server, and system of data pushing | |
CN103609193B (en) | The method and wireless access network equipment of identification terminal type | |
CN107302597A (en) | Message official documents and correspondence method for pushing and device | |
WO2019072037A1 (en) | Access information pushing method and device | |
WO2015003570A1 (en) | Data downloading method,device and system thereof | |
CN112241621A (en) | Method and device for identifying client environment through user agent | |
CN112148962A (en) | Method and device for pushing information | |
CN111338642B (en) | Method, device, terminal and storage medium for determining application download path | |
CN112788078B (en) | Data transmission method, receiving device, sending device and computer equipment | |
CN111159509B (en) | Data processing method and related product | |
CN109218374B (en) | Application interaction method and device | |
CN112287373B (en) | Data processing method, device, storage medium and network access point equipment | |
CN110248326A (en) | A kind of data processing method and its device | |
US20040068569A1 (en) | System and method for identifying portable devices by a web server | |
CN110728586A (en) | Data sharing method and device and application popularization method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |