CN104023046A - Mobile terminal recognition method and device - Google Patents

Mobile terminal recognition method and device Download PDF

Info

Publication number
CN104023046A
CN104023046A CN201410193829.8A CN201410193829A CN104023046A CN 104023046 A CN104023046 A CN 104023046A CN 201410193829 A CN201410193829 A CN 201410193829A CN 104023046 A CN104023046 A CN 104023046A
Authority
CN
China
Prior art keywords
terminal
mobile terminal
redirected
http request
operating system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410193829.8A
Other languages
Chinese (zh)
Other versions
CN104023046B (en
Inventor
严德志
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Shenxinfu Electronic Technology Co Ltd
Original Assignee
Shenzhen Shenxinfu Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Shenxinfu Electronic Technology Co Ltd filed Critical Shenzhen Shenxinfu Electronic Technology Co Ltd
Priority to CN201410193829.8A priority Critical patent/CN104023046B/en
Publication of CN104023046A publication Critical patent/CN104023046A/en
Application granted granted Critical
Publication of CN104023046B publication Critical patent/CN104023046B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a mobile terminal recognition method which includes one of or the combination of the following steps that an http request sent by a terminal is redirected to a preset redirection page, terminal information of the terminal is obtained through the redirection page, and whether the terminal is a mobile terminal is judged according to the terminal information; whether the terminal sends the http request to a preset domain name after being connected with a WiFi network is detected, and if the answer is yes, the terminal is the mobile terminal; whether a UA field in the http request sent by the terminal includes keyword information corresponding to a mobile terminal operation system is detected, and if the answer is yes, the terminal is the mobile terminal; whether an application is an application on the mobile terminal is recognized according to application data sent by the terminal, and if the answer is yes, the terminal is the mobile terminal. The invention further correspondingly discloses a mobile terminal recognition device. By means of the technical scheme, mobile terminal recognition accuracy is improved, and mobile terminal recognition speed is increased.

Description

Mobile terminal recognition method and device
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of mobile terminal recognition method and device.
Background technology
Mobile terminal refers to the computer equipment that can use in movement, comprises the mobile phone smart mobile phone of multiple application (as have) and panel computer etc.
At present, mobile terminal has occupied larger market, and along with the progress of network technology and the development of integrated circuit, mobile terminal has had powerful disposal ability, become an integrated information processing platform, online has become indispensable function of mobile terminal.
The internet behavior of mobile terminal needs normalized management, is the identification to mobile terminal to the matter of utmost importance of mobile terminal Internet access behavior management.In conventional art, http (the Hypertext transfer protocol sending to service end by obtaining terminal, HTML (Hypertext Markup Language)) request header information, judge from information such as mobile terminal titles wherein whether terminal is mobile terminal.And exist at present the application of more non-moving terminal based on browser kernel exploitation, in the http request that wherein certain applications are initiated, also fill some information of mobile terminal, thereby caused traditional recognition methods False Rate higher.
Summary of the invention
Based on this, be necessary to provide a kind of mobile terminal recognition method and device, application this method and device, can reduce erroneous judgement, improves the accuracy rate of mobile terminal identification.
A kind of mobile terminal recognition method, any one in comprising the following steps or multiple combination arbitrarily:
The http request that terminal is sent is redirected to the default redirected page, obtains the end message of described terminal, and judge according to described end message whether described terminal is mobile terminal by the described redirected page;
Sense terminals is being connected to after WiFi network, whether sends http request to default domain name, and if so, described terminal is mobile terminal;
In UA field in the http request that sense terminals sends, whether comprise the key word information that mobile terminal operating system is corresponding, if so, described terminal is mobile terminal;
Whether be application mobile terminal on, if so, described terminal is mobile terminal if identifying application according to the application data sending in terminal.
Therein in an embodiment, the described http request that terminal is sent is redirected to the default redirected page, obtain the end message of described terminal by the described redirected page, and judge that according to described end message whether described terminal is the step of mobile terminal, comprising:
The http request of the GET method of described terminal browser or the transmission of class browser application is redirected to the redirected page;
The described redirected page obtains the DOM object information of described terminal by program code;
Described DOM object information is resolved, obtain the end message of described terminal, and judge according to described end message whether described terminal is mobile terminal.
In an embodiment, the described http request by the GET method of described terminal browser or the transmission of class browser application is redirected to the redirected page, comprising therein:
Within preset time period, the http request of terminal corresponding to a network address is only once redirected, described http request is redirected to the redirected page.
In an embodiment, the described redirected page obtains the DOM object information of described terminal by program code after, the http request that the described redirected page sends described terminal is redirected to described http asks the corresponding page therein.
In an embodiment, described sense terminals is being connected to after WiFi network therein, whether sends to default domain name the step that http asks, and comprising:
The analysis of http head feature is carried out in the http request of the GET method that described terminal is sent, and judges whether described http request asks default domain name or default file.
In an embodiment, in the UA field in the http request that described sense terminals sends, whether comprise the key word information that mobile terminal operating system is corresponding therein, comprise whether meeting following one:
In the http request that described terminal sends, whether UA field comprises the combination of virtual machine title and Android OS name in Android operating system, and if so, described terminal is the mobile terminal that Android operating system is installed;
In the http request that described terminal sends, whether UA field comprises the combination of interface for network programming layer title and the operating system prototype title of IOS operating system, and if so, described terminal is the mobile terminal that IOS operating system is installed.
A kind of mobile terminal recognition device, comprises any one or the multiple combination arbitrarily of the following units:
Redirection mechanism identification module, is redirected to the default redirected page for the http request that terminal is sent, and obtains the end message of described terminal, and judge according to described end message whether described terminal is mobile terminal by the described redirected page;
WiFi connection features identification module, is being connected to after WiFi network for detection of terminal, whether sends http request to default domain name, and if so, described terminal is mobile terminal;
Whether UA feature identification module, comprise key word information that mobile terminal operating system corresponding in the UA field in the http sending request for detection of terminal, and if so, described terminal is mobile terminal;
Whether application characteristic identification module, be the application on mobile terminal for identify application according to the application data sending in terminal, and if so, described terminal is mobile terminal.
In an embodiment, described redirection mechanism identification module, for being redirected to the redirected page by the http request of the GET method of described terminal browser or the transmission of class browser application therein; And for obtain the DOM object information of described terminal by program code; And for described DOM object information is resolved, obtain the end message of described terminal, and judge according to described end message whether described terminal is mobile terminal.
In an embodiment, described redirection mechanism identification module, within preset time period, is only once redirected the http request of terminal corresponding to a network address, and described http request is redirected to the redirected page therein.
In an embodiment, described redirection mechanism identification module, is also redirected to described http for the http request that described terminal is sent and asks the corresponding page therein.
In an embodiment, described WiFi connection features identification module, carries out the analysis of http head feature for the http request of the GET method to described terminal transmission therein, judges whether described http request asks default domain name or default file.
Therein in an embodiment, described UA feature identification module, for judging whether http request UA field that described terminal sends comprises the combination of virtual machine title and Android OS name in Android operating system, if so, described terminal is the mobile terminal that Android operating system is installed; And for judging the http that described terminal sends asks UA field whether to comprise the combination of interface for network programming layer title and the operating system prototype title of IOS operating system, and if so, described terminal is the mobile terminal that IOS operating system is installed.
Above-mentioned mobile terminal recognition method and device, one or more in several ways combine to identify mobile terminal, comprise redirection mechanism RM, WiFi connection features RM, UA feature RM and application characteristic RM, identify the technical scheme of mobile terminal than information such as terminal names in asking by http in conventional art, can reduce erroneous judgement, improve accuracy rate and the recognition speed of mobile terminal identification.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of identifying mobile terminal in an embodiment by redirection mechanism;
Fig. 2 is by the schematic flow sheet of WiFi connection features identification mobile terminal in an embodiment;
Fig. 3 is by the schematic flow sheet of UA feature identification mobile terminal in an embodiment;
Fig. 4 is the structural representation of a mobile terminal recognition device in embodiment.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
In one embodiment of the invention, provide a kind of mobile terminal recognition method.The method can be applied to service end the terminal of online is identified, and identifies mobile terminal wherein.The method can comprise a kind of of following RM or multiple combination arbitrarily:
(1) redirection mechanism RM.Its principle is that the http request that terminal is sent is redirected to the default redirected page, obtains the end message of terminal, and judge according to end message whether terminal is mobile terminal by being redirected the page.
(2) WiFi connection features RM.Mobile terminal is connecting after WiFi network, as different in PC from stationary computer terminal, can send the detection packet whether specific network can be used, utilize this feature, be connected to after WiFi network according to terminal, whether send http request to default domain name, if so, judge that this terminal is as mobile terminal.
(3) UA feature RM.Light-duty operating system (so-called light-duty operating system is installed in mobile terminal, refer to that operating system has following characteristics: have a set of basic computer operating system kernel, have the most the most frequently used function as system bootstrap, graphical interfaces, basic instruction set, network connection, peripheral hardware control, carrying application etc.Light-duty operating system is less demanding to hardware device, only need very little memory space), in the time that mobile terminal sends http request to service end, in http request, in UA field, there will be the key word information that mobile terminal operating system is corresponding, therefore to UA (User Agent, a part for http protocol headers, by terminal automatic filling, comprising some software and hardware information of terminal) field feature analysis can identify mobile terminal, be particularly useful for being provided with the mobile terminal of android (a kind of freedom based on Linux and the operating system of open source code) operating system or IOS (Mobile operating system of Apple's exploitation) operating system.Therefore UA feature RM may be summarized to be: whether comprise the key word information that mobile terminal operating system is corresponding in the UA field in the http request that sense terminals sends, if so, terminal is mobile terminal.
(4) application characteristic RM.Whether be application mobile terminal on, thereby whether identification terminal is mobile terminal if identifying application according to the application data sending in terminal.Concrete, for whether identification application is the application of installing on mobile terminal, can application characteristic rule be handed down to driving by application layer, at packet, through out-of-date, coupling application characteristic also records recognition result at the connection Track Table of packet.
Referring to Fig. 1, be in an embodiment, identify the schematic flow sheet of mobile terminal by redirection mechanism.Its flow process comprises:
Step 102, filters the http request that terminal sends.
Service end is filtered the http request of various terminals.
Step 104, judges whether http request is the http request of GET method.
Concrete, http request comprises GET method (Method, the data attribute that the application such as browser arranges) http request, the http request of POST method etc. (browser etc. are submitted to server with the method for method setup of attribute by form data and are processed, wherein, the client that the http request of GET method is used for terminal is to service end request msg, and the http of POST method request sends data for terminal to service end).The present embodiment carries out the processing of subsequent step to the http request of GET method, to the http of other type processings that beg off from doing, perform step 126.
Step 106, to http, the analysis of http head feature is carried out in request, and whether identification http request is the http GET request (being the http request of GET method) that terminal browser or class browser application are sent.
Concrete, service end asks to carry out the analysis of http head feature to http, the http GET request that identification browser or class browser (http request head and browser are similar, can resolve html language and carry out JavaScript code) send, and be redirected.Wherein, in the present embodiment, the http request that browser or class browser application are sent, its http head feature comprises following a to c:
In a.http request head, Accept field comprises " xhtml+xml ".
B.Accept-Language field non-" */* ".
The number of characters of c.UA (User Agent) field exceedes a threshold values.Through a large amount of tests, this threshold values can but be not limited to 120.
It in hypomere, is for example the head of a http GET request, the number of characters of its UA (User-Agent) field exceedes threshold values, its Accept field comprises " xhtml+xml " (can carry out xhtml and xml language), its Accept-Language field is " zh-cn " (client language version is simplified Chinese character), the http request of the GET method that therefore this http request is sent for browser or class browser application.
“GET/HTTP/1.1
Host:news.baidu.com
User-Agent:Mozilla/5.0(ipad;CPU?OS5_1_1like?Mac?OS?X)AppleWebkit/534.46(KHTML,like?Gecko)Version/5.1Mobile/9B206Safari/7534.48.3
Accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Cache-Control:max-age=0
Accept-Language:zh-cn
Accept-Encoding:gzip,deflate
……”
Step 108, judges whether to be redirected according to http request head feature.
Concrete, according in step 106, http being asked to carry out head feature analysis, the http GET request that if http request is browser or class class browser sends, need to be redirected, it is returned to a sensing and be redirected the link of the page, client to terminal is redirected (again forward network request to other position, in the present embodiment, the http request that client in terminal is sent is repositioned onto the redirected page).Otherwise, execution step 126.
Step 110, judges whether to be redirected to the redirected page.
If so, perform step 120.Perform step if not 112.
Step 120, is redirected the page by the DOM object information of Code obtaining terminal.
Concrete, the redirected page can comprise predetermined JavaScript code, when the client in terminal is redirected to this redirected page, carry out predetermined JavaScript code, to service end or predefined URL (Uniform Resource Locator, URL(uniform resource locator)) the DOM object information of transmitting terminal, wherein DOM (Document Object Model, document dbject model) object includes but not limited to window (window), screen (screen) etc.
Step 122, resolves DOM object information, obtains end message, and judges according to end message whether terminal is mobile terminal.
Concrete, DOM object information is resolved, can obtain the end message of terminal, as operating system, cpu type, whether support activex control, terminal screen resolution etc., and this end message cannot be modified by configuration file, and in conventional art, the information such as terminal name can be modified by configuration file, thus, redirection mechanism RM has improved recognition accuracy, has reduced erroneous judgement.
In the present embodiment, for reducing the computation burden of terminal, and avoid the carrying out that terminal repeats be redirected and cause terminal can not ask parent page, within preset time period, http request to terminal corresponding to consolidated network address is only once redirected, and specifically sees in Fig. 1 that step 112 is to step 118.
Step 112, obtains the IP address of terminal, and calculates the hash value of this IP address.
Concrete, the IP address that obtains terminal, and be the hash value of a unique correspondence by IP address computation according to hash (hashing algorithm, a kind of Message Digest 5) algorithm.
Whether step 114, search in redirection list terminal corresponding in preset time period by hash value and be redirected.
Concrete, in redirection list, record the hash value corresponding to IP address of carrying out redirected terminal, retrieve according to hash value, judge in redirection list whether had this hash value, if so, the terminal of correspondence is redirected.
Step 116, judges in redirection list, whether there is this hash value.
If so, perform step 126, otherwise execution step 118.
Step 118, is redirected to the redirected page, upgrades redirection list.
In addition, in the present embodiment, the code being redirected in the page can be realized flush mechanism, the http request sending by terminal is redirected to this http asks corresponding parent page, as the step 124 in Fig. 1, its implementation comprises reload method (ask corresponding parent page to be kept in buffer memory http, in the time that realization refreshes, read http and ask corresponding parent page from buffer memory) of window object etc.
To sum up, in the present embodiment, the http request that terminal is sent is redirected to the default redirected page, obtain the end message of terminal by being redirected the page, and judge that according to end message whether terminal is mobile terminal, may be summarized to be: the http request of the GET method of terminal browser or the transmission of class browser application is redirected to the redirected page; Be redirected the page obtains terminal DOM object information by program code; DOM object information is resolved, obtain the end message of terminal, and judge according to end message whether terminal is mobile terminal.
Referring to Fig. 2, be in an embodiment, by the schematic flow sheet of WiFi connection features identification mobile terminal.Its flow process comprises:
Step 202, filters the http request that terminal sends.
Service end is filtered the http request of terminal, can be with reference to conventional art.
Step 204, judges whether http request is the http request of GET method.
If so, perform step 206, otherwise return.
Step 206, analyzes http head feature, judges whether http request asks default domain name.
Concrete, can ask the Host field of head to judge the URL of the domain name of terminal request from http.Mobile terminal is connecting after WiFi network, can send detection packet to particular network, the domain name that wherein these specific networks are corresponding comprises: clients1.google.com, clients2.google.com, clients3.google.com ... clients9.google.com, www.airport.us etc.And the mobile terminal that different operating system is installed can further be asked the different files in different domain names, the mobile terminal of windows operating system is for example installed and can be asked ncsi.txt file, the mobile terminal of android operating system is installed and can be asked generate_204, and specify sometimes for the mobile terminal that IOS operating system is installed the file that will ask, as ask success.html, and sometimes can not specify asked file.In hypomere, be for example a http requested part content that the mobile terminal of Android system is installed:
“GET/generate_204HTTP/1.1
User-Agent:Dalvik/1.6.0(Linux;U;Android4.1.2;GT-I9300Build/JZ054k)
Host:clients3.google.com
Connection:keep-Alive
Accept-Encoding:gzip
……”
Wherein, in Host field, the domain name that http asks is clients3.google.com, and the file that this http GET asks is generate_204, can judge that thus this terminal is that the mobile terminal of Android operating system is installed.
Referring to Fig. 3, be in an embodiment, by the schematic flow sheet of UA feature identification mobile terminal.Its flow process comprises:
Step 302, filters the http request that terminal sends.
Step 304, analyzes UA field in http request, and whether judgement wherein comprises the key word information that mobile terminal operating system is corresponding.
Concrete, the present embodiment is analyzed all http requests, comprises http GET request and httpPOST request.Whether because the information of UA field and the operating system of mobile terminal are closely related, whether therefore can from the http request of terminal, have the key word information of mobile terminal operating system to carry out identification terminal is mobile terminal.For example can judge whether UA field in the http request that terminal sends comprises the combination of virtual machine title " Dalvik " and Android OS name " Android " in Android operating system, if comprised, this terminal is that the mobile terminal of android operating system is installed.Again for example, can judge whether UA field in the http request that terminal sends comprises the combination of interface for network programming layer title " CFNetwork " and the operating system prototype title " Darwin " of IOS operating system, if comprised, this terminal is that the mobile terminal of IOS operating system is installed.
In hypomere, ask as example taking a http POST, in its UA field, the key word information that has comprised " Dalvik " and " Android ", the terminal that sends this http request is mobile terminal.
“POST/client.action?
……
Content-Length:11
User-Agent:Dalvik/1.6.0(Linux;U;Android4.0.4;GT-N8010Build/IMM76D)
……”
Above-mentioned mobile terminal recognition method, one or more in several ways combine to identify mobile terminal, comprise redirection mechanism RM, WiFi connection features RM, UA feature RM and application characteristic RM, identify the technical scheme of mobile terminal than information such as terminal names in asking by http in conventional art, can reduce erroneous judgement, improve the accuracy rate of mobile terminal identification.
Referring to Fig. 4, a kind of mobile terminal recognition device is provided in one embodiment, this mobile terminal recognition device can be applied to a server, the terminal that sends http request is identified, thereby judging wherein which terminal is mobile terminal, and then can provide foundation for the management that server carries out specification.The mobile terminal recognition device that the present embodiment provides comprises redirection mechanism identification module 402, WiFi connection features identification module 404, UA feature identification module 406 and application characteristic identification module 408.Need to indicate, in other embodiments, mobile terminal recognition device can only comprise any one or arbitrarily multiple combination of above-mentioned module.
The mobile terminal recognition device that the present embodiment provides, its operation principle is as follows:
Redirection mechanism identification module 402, is redirected to the default redirected page for the http request that terminal is sent, and obtains the end message of terminal, and judge according to end message whether terminal is mobile terminal by being redirected the page.Concrete, in the present embodiment, redirection mechanism identification module 402 is for being redirected to the redirected page by the http request of the GET method of terminal browser or the transmission of class browser application, obtain the DOM object information of terminal by being redirected the program code of the page, and DOM object information is resolved, obtain the end message of terminal, and judge according to end message whether terminal is mobile terminal.In addition,, in the present embodiment, redirection mechanism identification module 402, within preset time period, is only once redirected the http request of terminal corresponding to a network address, and described http request is redirected to the redirected page.Obtain after the DOM object information of terminal at the redirected page, the http request that redirection mechanism recognition unit 402 sends terminal is redirected to http asks corresponding parent page.
WiFi connection features identification module 404, is being connected to after WiFi network for detection of terminal, whether sends http request to default domain name, and if so, described terminal is mobile terminal.
Whether UA feature identification module 406, comprise key word information that mobile terminal operating system corresponding in the UA field in the http sending request for detection of terminal, and if so, terminal is mobile terminal.For example judge whether UA field in the http request that terminal sends comprises the combination of virtual machine title " Dalvik " and " Android " in Android operating system, and if so, terminal is the mobile terminal that Android operating system is installed; For example judge again whether UA field in the http request that terminal sends comprises the combination of interface for network programming layer title " CFNetwork " and the operating system prototype title " Darwin " of IOS operating system, if so, terminal is the mobile terminal that IOS operating system is installed.
Application characteristic identification module 408, whether for being the application on mobile terminal according to the application data identification application sending in terminal, if so, terminal is mobile terminal.
The above embodiment has only expressed several execution mode of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.

Claims (12)

1. a mobile terminal recognition method, is characterized in that, any one during described method comprises the following steps or multiple combination arbitrarily:
The http request that terminal is sent is redirected to the default redirected page, obtains the end message of described terminal, and judge according to described end message whether described terminal is mobile terminal by the described redirected page;
Sense terminals is being connected to after WiFi network, whether sends http request to default domain name, and if so, described terminal is mobile terminal;
In UA field in the http request that sense terminals sends, whether comprise the key word information that mobile terminal operating system is corresponding, if so, described terminal is mobile terminal;
Whether be application mobile terminal on, if so, described terminal is mobile terminal if identifying application according to the application data sending in terminal.
2. method according to claim 1, it is characterized in that, the described http request that terminal is sent is redirected to the default redirected page, obtain the end message of described terminal by the described redirected page, and judge that according to described end message whether described terminal is the step of mobile terminal, comprising:
The http request of the GET method of described terminal browser or the transmission of class browser application is redirected to the redirected page;
The described redirected page obtains the DOM object information of described terminal by program code;
Described DOM object information is resolved, obtain the end message of described terminal, and judge according to described end message whether described terminal is mobile terminal.
3. method according to claim 2, is characterized in that, the described http request by the GET method of described terminal browser or the transmission of class browser application is redirected to the redirected page, comprising:
Within preset time period, the http request of terminal corresponding to a network address is only once redirected, described http request is redirected to the redirected page.
4. according to the method in claim 2 or 3, it is characterized in that, the described redirected page obtains the DOM object information of described terminal by program code after, the http request that the described redirected page sends described terminal is redirected to described http asks the corresponding page.
5. method according to claim 1, is characterized in that, described sense terminals is being connected to after WiFi network, whether sends to default domain name the step that http asks, and comprising:
The analysis of http head feature is carried out in the http request of the GET method that described terminal is sent, and judges whether described http request asks default domain name or default file.
6. method according to claim 1, is characterized in that, in the UA field in the http request that described sense terminals sends, whether comprises the key word information that mobile terminal operating system is corresponding, comprises whether meeting following one:
In the http request that described terminal sends, whether UA field comprises the combination of virtual machine title and Android OS name in Android operating system, and if so, described terminal is the mobile terminal that Android operating system is installed;
In the http request that described terminal sends, whether UA field comprises the combination of interface for network programming layer title and the operating system prototype title of IOS operating system, and if so, described terminal is the mobile terminal that IOS operating system is installed.
7. a mobile terminal recognition device, is characterized in that, described device comprises any one or the arbitrarily multiple combination of the following units:
Redirection mechanism identification module, is redirected to the default redirected page for the http request that terminal is sent, and obtains the end message of described terminal, and judge according to described end message whether described terminal is mobile terminal by the described redirected page;
WiFi connection features identification module, is being connected to after WiFi network for detection of terminal, whether sends http request to default domain name, and if so, described terminal is mobile terminal;
Whether UA feature identification module, comprise key word information that mobile terminal operating system corresponding in the UA field in the http sending request for detection of terminal, and if so, described terminal is mobile terminal;
Whether application characteristic identification module, be the application on mobile terminal for identify application according to the application data sending in terminal, and if so, described terminal is mobile terminal.
8. device according to claim 7, is characterized in that, described redirection mechanism identification module, for being redirected to the redirected page by the http request of the GET method of described terminal browser or the transmission of class browser application; And for obtain the DOM object information of described terminal by program code; And for described DOM object information is resolved, obtain the end message of described terminal, and judge according to described end message whether described terminal is mobile terminal.
9. device according to claim 8, is characterized in that, described redirection mechanism identification module, within preset time period, is only once redirected the http request of terminal corresponding to a network address, and described http request is redirected to the redirected page.
10. device according to claim 8 or claim 9, is characterized in that, described redirection mechanism identification module is also redirected to described http for the http request that described terminal is sent and asks the corresponding page.
11. devices according to claim 7, it is characterized in that, described WiFi connection features identification module, carries out the analysis of http head feature for the http request of the GET method to described terminal transmission, judges whether described http request asks default domain name or default file.
12. devices according to claim 7, it is characterized in that, described UA feature identification module, for judging whether http request UA field that described terminal sends comprises the combination of virtual machine title and Android OS name in Android operating system, if so, described terminal is the mobile terminal that Android operating system is installed; And for judging the http that described terminal sends asks UA field whether to comprise the combination of interface for network programming layer title and the operating system prototype title of IOS operating system, and if so, described terminal is the mobile terminal that IOS operating system is installed.
CN201410193829.8A 2014-05-08 2014-05-08 Mobile terminal recognition method and device Active CN104023046B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410193829.8A CN104023046B (en) 2014-05-08 2014-05-08 Mobile terminal recognition method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410193829.8A CN104023046B (en) 2014-05-08 2014-05-08 Mobile terminal recognition method and device

Publications (2)

Publication Number Publication Date
CN104023046A true CN104023046A (en) 2014-09-03
CN104023046B CN104023046B (en) 2018-03-02

Family

ID=51439615

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410193829.8A Active CN104023046B (en) 2014-05-08 2014-05-08 Mobile terminal recognition method and device

Country Status (1)

Country Link
CN (1) CN104023046B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105592169A (en) * 2014-10-21 2016-05-18 杭州迪普科技有限公司 Terminal identification method and terminal identification device
CN105656730A (en) * 2016-04-12 2016-06-08 北京北信源软件股份有限公司 Network application quick discovery method and system based on TCP data packet
CN106302237A (en) * 2016-08-30 2017-01-04 成都科来软件有限公司 A kind of method utilizing packet content identification mobile terminal
CN106789934A (en) * 2016-11-29 2017-05-31 北京神州绿盟信息安全科技股份有限公司 A kind of network equipment recognition methods and system
CN108600191A (en) * 2018-03-30 2018-09-28 深圳市伟文无线通讯技术有限公司 Advertisement authentication based on mobile router lightweight and url filtering method
CN112351064A (en) * 2020-09-17 2021-02-09 杭州动享互联网技术有限公司 Method for redirecting network request by iOS (Internet operating System) by using AFNetworking

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060264201A1 (en) * 2003-03-10 2006-11-23 Thomson Licensing S.A. Identity mapping mechanism in wlan access control with public authentication servers
CN101778168A (en) * 2010-02-05 2010-07-14 中国电信股份有限公司 Method and system for optimization display of wed pages on browser of mobile terminal
CN102857917A (en) * 2012-08-24 2013-01-02 北京拓明科技有限公司 Method for identifying internet access of mobile phone through personal computer (PC) based on signaling analysis
CN102905045A (en) * 2012-10-26 2013-01-30 北京奇虎科技有限公司 Method and server for providing picture data to computing terminal
CN103346972A (en) * 2013-06-26 2013-10-09 北京傲天动联技术股份有限公司 Flow control device and method based on user terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060264201A1 (en) * 2003-03-10 2006-11-23 Thomson Licensing S.A. Identity mapping mechanism in wlan access control with public authentication servers
CN101778168A (en) * 2010-02-05 2010-07-14 中国电信股份有限公司 Method and system for optimization display of wed pages on browser of mobile terminal
CN102857917A (en) * 2012-08-24 2013-01-02 北京拓明科技有限公司 Method for identifying internet access of mobile phone through personal computer (PC) based on signaling analysis
CN102905045A (en) * 2012-10-26 2013-01-30 北京奇虎科技有限公司 Method and server for providing picture data to computing terminal
CN103346972A (en) * 2013-06-26 2013-10-09 北京傲天动联技术股份有限公司 Flow control device and method based on user terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105592169A (en) * 2014-10-21 2016-05-18 杭州迪普科技有限公司 Terminal identification method and terminal identification device
CN105592169B (en) * 2014-10-21 2019-08-06 杭州迪普科技股份有限公司 Terminal identification method and device
CN105656730A (en) * 2016-04-12 2016-06-08 北京北信源软件股份有限公司 Network application quick discovery method and system based on TCP data packet
CN106302237A (en) * 2016-08-30 2017-01-04 成都科来软件有限公司 A kind of method utilizing packet content identification mobile terminal
CN106789934A (en) * 2016-11-29 2017-05-31 北京神州绿盟信息安全科技股份有限公司 A kind of network equipment recognition methods and system
CN108600191A (en) * 2018-03-30 2018-09-28 深圳市伟文无线通讯技术有限公司 Advertisement authentication based on mobile router lightweight and url filtering method
CN112351064A (en) * 2020-09-17 2021-02-09 杭州动享互联网技术有限公司 Method for redirecting network request by iOS (Internet operating System) by using AFNetworking

Also Published As

Publication number Publication date
CN104023046B (en) 2018-03-02

Similar Documents

Publication Publication Date Title
WO2016173200A1 (en) Malicious website detection method and system
CN104125209B (en) Malice website prompt method and router
US10515142B2 (en) Method and apparatus for extracting webpage information
CN104023046A (en) Mobile terminal recognition method and device
US20150271202A1 (en) Method, device, and system for detecting link layer hijacking, user equipment, and analyzing server
US7987243B2 (en) Method for media discovery
WO2015043383A1 (en) Webpage loading method and device and browser
CN104754073A (en) Resource access method and device
CN104881603A (en) Method and apparatus for detecting webpage redirection vulnerabilities
TW201800962A (en) Webpage file sending method, webpage rendering method and device and webpage rendering system
CN111177519B (en) Webpage content acquisition method, device, storage medium and equipment
US9785710B2 (en) Automatic crawling of encoded dynamic URLs
CN108416021B (en) Browser webpage content processing method and device, electronic equipment and readable medium
WO2017202255A1 (en) Page display method and apparatus, and client device
CN103347092A (en) Method and device for recognizing cacheable file
CN106951270B (en) Code processing method, system and server
CN110808868B (en) Test data acquisition method and device, computer equipment and storage medium
CN104572777A (en) Webpage loading method and device based on UIWebView component
KR20100022920A (en) A web browser system using proxy server of a mobile communication terminal
CN104834588A (en) Permanent residence cross site script vulnerability detection method and apparatus
JP5112401B2 (en) Web action history acquisition system, Web action history acquisition method, gateway device, and program
CN112637361A (en) Page proxy method, device, electronic equipment and storage medium
CN111143722A (en) Method, device, equipment and medium for detecting webpage hidden link
JP5039946B2 (en) Technology for relaying communication between client devices and server devices
CN103825772A (en) Method for identifying user click behavior and gateway equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Nanshan District Xueyuan Road in Shenzhen city of Guangdong province 518000 No. 1001 Nanshan Chi Park building A1 layer

Applicant after: SINFOR Polytron Technologies Inc

Address before: 518052 room 410-413, science and technology innovation service center, No. 1 Qilin Road, Shenzhen, Guangdong, China

Applicant before: Shenxinfu Electronics Science and Technology Co., Ltd., Shenzhen

GR01 Patent grant
GR01 Patent grant