CN107968997A - A kind of mobile terminal recognition method, device, gateway device and storage medium - Google Patents

A kind of mobile terminal recognition method, device, gateway device and storage medium Download PDF

Info

Publication number
CN107968997A
CN107968997A CN201711147976.1A CN201711147976A CN107968997A CN 107968997 A CN107968997 A CN 107968997A CN 201711147976 A CN201711147976 A CN 201711147976A CN 107968997 A CN107968997 A CN 107968997A
Authority
CN
China
Prior art keywords
url
information
data packet
mobile terminal
parameter name
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.)
Pending
Application number
CN201711147976.1A
Other languages
Chinese (zh)
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.)
NSFOCUS Information Technology Co Ltd
Beijing NSFocus Information Security Technology Co Ltd
Original Assignee
NSFOCUS Information Technology Co Ltd
Beijing NSFocus Information Security 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 NSFOCUS Information Technology Co Ltd, Beijing NSFocus Information Security Technology Co Ltd filed Critical NSFOCUS Information Technology Co Ltd
Priority to CN201711147976.1A priority Critical patent/CN107968997A/en
Publication of CN107968997A publication Critical patent/CN107968997A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/16Gateway arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of mobile terminal recognition method, device, gateway device and storage medium, the described method includes:The received data packet for coming from mobile terminal is inscribed for setting time length, obtains the parameter name of the universal resource locator url of the data packet;Extract the International Mobile Station Equipment Identification code IMEI information of the parameter name of the url or mobile equipment mark code MEID information;According to the IMEI information or MEID information of extraction, mobile terminal is identified.Since in embodiments of the present invention, the IMEI information or MEID information of each mobile terminal are unique, according to the IMEI information or MEID information of the data packet of extraction, can identify specific mobile terminal.

Description

A kind of mobile terminal recognition method, device, gateway device and storage medium
Technical field
The present invention relates to mobile terminal identification technology field, more particularly to a kind of mobile terminal recognition method, device, gateway Equipment and storage medium.
Background technology
Some gateway devices such as fire wall has asset identification function, it is necessary to collect by the equipment feelings in protected network environment Operating system, the browser species information of condition, such as PC.With the popularization of mobile terminal, to access the mobile terminal of Intranet into Row identification, there has also been certain demand.In addition, some broadband networks operator is for the mobile end for controlling each account while accessing The quantity at end, it is also desirable to which management and control is identified to the mobile terminal of access.So as current most popular Android Mobile terminal, has identified it certain necessity.
In the prior art, the identification of mobile terminal depend on operating system (Operating System, OS) fingerprint, The identification technologies such as browser fingerprint.These technologies only can recognize that the species of mobile terminal, such as OS Type, browser class Type, company brand, terminal models etc., it is impossible to multiple mobile terminals of the same brand with model are distinguished, such as in same network In the two used at the same time mobile terminals with brand with model, the prior art is that None- identified goes out to have two mobile terminals.
The content of the invention
An embodiment of the present invention provides a kind of mobile terminal recognition method, device, gateway device and storage medium, to solve The species of identification mobile terminal is certainly only capable of in the prior art, the problem of None- identified specific mobile terminal.
An embodiment of the present invention provides a kind of mobile terminal recognition method, and applied to gateway device, this method includes:
The received data packet for coming from mobile terminal is inscribed for setting time length, obtains the unified money of the data packet The parameter name of source finger URL url;
Extract the International Mobile Station Equipment Identification code IMEI information of the parameter name of the url or mobile equipment mark code MEID letters Breath;
According to the IMEI information or MEID information of extraction, mobile terminal is identified.
Further, before the parameter name of the url for obtaining the data packet, the method further includes:
It is hypertext transfer protocol http data packets to determine the data packet.
Further, before the IMEI information or MEID information of the parameter name of the extraction url, the method is also wrapped Include:
The received data packet for coming from mobile terminal is inscribed for setting time length, obtain the data packet url and Host host domain names;Being included in the parameter name for including url, url and the rule file of host domain names that determine to previously generate should The parameter name and host domain names of url, url of data packet.
Further, previously generating the process of the rule file of the parameter name for including url, url and host domain names includes:
For default each mobile application, packet capturing analysis is carried out to the network communication data of the mobile application, determines institute State the http data packets in network communication data, and will meet in the http data packets comprising IMEI information or MEID information Mobile application is as target mobile application;
Obtain each data packet of the target mobile application during startup and use;
The parameter name of the url comprising IMEI information or MEID information in each data packet is extracted, according to the url's Parameter name, and the corresponding url and host domain names create-rule file of each data packet comprising IMEI information or MEID information.
An embodiment of the present invention provides a kind of mobile terminal identification device, described device includes:
Acquisition module, for the received data packet for coming from mobile terminal to be inscribed for setting time length, obtaining should The parameter name of the url of data packet;
Extraction module, for the IMEI information or MEID information of the parameter name for extracting the url;
Identification module, for the IMEI information or MEID information according to extraction, identifies mobile terminal.
Further, described device further includes:
First determining module, for determining that the data packet is http data packets.
Further, described device further includes:
Second determining module, for the received data packet for coming from mobile terminal to be inscribed for setting time length, is obtained Take the url and host host domain names of the data packet;The parameter name for including url, url that determines to previously generate and host domain names The parameter name and host domain names of url, url comprising the data packet in rule file.
Further, described device further includes:
Generation module, for for default each mobile application, being grabbed to the network communication data of the mobile application Bag analysis, determines the http data packets in the network communication data, and will meet in the http data packets and believe comprising IMEI Breath or the mobile application of MEID information are as target mobile application;It is every during startup and use to obtain target mobile application A data packet;The parameter name of the url comprising IMEI information or MEID information in each data packet is extracted, according to the url Parameter name, and the corresponding url and host domain names create-rule text of each data packet comprising IMEI information or MEID information Part.
An embodiment of the present invention provides a kind of gateway device, including processor, communication interface, memory and communication bus, Wherein, processor, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor, during for performing the program stored on memory, the step of realizing mobile terminal recognition method.
An embodiment of the present invention provides a kind of computer-readable recording medium, the computer-readable recording medium memory storage There is the step of computer program, the computer program realizes mobile terminal recognition method when being executed by processor.
Mobile terminal recognition method, device, gateway device and the storage medium provided according to embodiments of the present invention, due to In the embodiment of the present invention, the received data packet for coming from mobile terminal is inscribed for setting time length, extracts the data packet IMEI information or MEID information, the IMEI information or MEID information of each mobile terminal are unique, therefore, according to extraction IMEI information or MEID information, can identify specific mobile terminal.
Brief description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this For the those of ordinary skill in field, without creative efforts, other can also be obtained according to these attached drawings Attached drawing.
Fig. 1 is a kind of mobile terminal identification process schematic diagram that the embodiment of the present invention 1 provides;
Fig. 2 is a kind of mobile terminal identification process schematic diagram that the embodiment of the present invention 2 provides;
Fig. 3 is a kind of mobile terminal identification process schematic diagram that the embodiment of the present invention 3 provides;
Fig. 4 is the rule for previously generating the parameter name for including url, url and host domain names that the embodiment of the present invention 4 provides The process schematic of file;
Fig. 5 is a kind of gateway device schematic diagram that the embodiment of the present invention 5 provides;
Fig. 6 is a kind of mobile terminal identification device structure diagram provided in an embodiment of the present invention.
Embodiment
Below in conjunction with attached drawing, the present invention is described in further detail, it is clear that described embodiment is only this The a part of embodiment of invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art exist The all other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Embodiment 1:
Fig. 1 is a kind of mobile terminal identification process schematic diagram provided in an embodiment of the present invention, which comprises the following steps:
S101:The received data packet for coming from mobile terminal is inscribed for setting time length, obtains the data packet The parameter name of universal resource locator (Uniform Resource Locator, url).
Mobile terminal recognition method provided in an embodiment of the present invention is applied to gateway device.Since mobile terminal and IMEI are believed Breath or MEID information are there are correspondence, and gateway device is in order to identify mobile terminal, it is thus necessary to determine that in setting time length The IMEI information come from the data packet of mobile terminal or MEID information received, IMEI information or MEID in data packet Information is included in the parameter name of url, therefore, before definite IMEI information or MEID information, it is necessary first to determine data packet In url parameter name.Wherein, setting time length can be 5 minutes, 8 minutes, 10 minutes etc..
In data transmission procedure, data packet can enter gateway device, and gateway device docks received data packet and solved Analysis, obtains the parameter name of the url in data packet.
S102:Extract International Mobile Station Equipment Identification code (the International Mobile of the parameter name of the url Equipment Identity, IMEI) information or mobile equipment mark code (Mobile Equipment Identifier, MEID) information.
System used in mobile terminal, such as Android android system have opening, and the movement in mobile terminal should IMEI information or MEID information can be carried in the transmitting procedure of data packet, therefore, gateway device can be obtained in data packet IMEI information or MEID information.
Since the IMEI information in data packet or MEID information are included in the parameter name of url, gateway device is obtaining number After parameter name according to the url in bag, IMEI information or MEID information can be extracted from the parameter name of url.
S103:According to the IMEI information or MEID information of extraction, mobile terminal is identified.
IMEI information or MEID information have the characteristics that uniqueness, and IMEI information or MEID information can be as mobile terminals Identification information, each mobile terminal correspond to unique IMEI information or MEID information.Gateway device is extracting data packet After IMEI information or MEID information, according to the IMEI information or MEID information extracted, it can identify specific mobile whole End.
For example, the IMEI information or MEID information extracted are 864601022415589, then the mobile terminal identified is i.e. For 864601022415589 corresponding specific mobile terminals.
Due in embodiments of the present invention, for the data packet for coming from mobile terminal received, extracting the data packet IMEI information or MEID information, the IMEI information or MEID information of each mobile terminal are unique, therefore, according to extraction IMEI information or MEID information, can identify specific mobile terminal.
Embodiment 2:
Due to this case provide mobile terminal recognition method be by determine data packet in IMEI information or MEID information, And then identify mobile terminal.IMEI information or MEID information are contained in hypertext transfer protocol http data packets, if net It is not http data packets to close the data packet that equipment receives, then need not can not obtain url even if parsing to resolve packet yet Parameter name, can thus waste the resource of gateway device, gateway device only docks received http resolve packets, ability The parameter name of url is obtained, and then extracts the IMEI information or MEID information of the parameter name of url.Therefore, in order to save gateway device Resource, on the basis of above-described embodiment, in embodiments of the present invention, it is described obtain the data packet url parameter name it Before, the method further includes:
It is http data packets to determine the data packet.
After gateway device receives data packet, before the parameter name for the url for obtaining data packet, it is thus necessary to determine that receive Data packet is http data packets.Specifically, it can sentence according to whether being included in data packet with the relevant key-strings of http Whether disconnected data packet is http data packets.Such as with the relevant key-strings of http be " http/1.1 ", for what is received Data packet, judges whether include character string as " http/1.1 " in the data packet, if being comprising, it is determined that the data packet Http data packets, otherwise determine that the data packet is not http data packets.Wherein, it is " http/ with the relevant key-strings of http 1.1 " simply one of citings, in embodiments of the present invention, pair are not defined with the relevant key-strings of http.
Specifically, determining that data packet belongs to the prior art for the process of http data packets, no longer the process is carried out herein Repeat.
Gateway device obtains the parameter of the url of the data packet after the data packet for determining to receive is http data packets Name.
Fig. 2 is a kind of mobile terminal identification process schematic diagram provided in an embodiment of the present invention, which comprises the following steps:
S201:The received data packet for coming from mobile terminal is inscribed for setting time length, determines that the data packet is Http data packets.
S202:Obtain the parameter name of the url of the data packet.
S203:Extract the IMEI information or MEID information of the parameter name of url.
S204:According to the IMEI information or MEID information of extraction, mobile terminal is identified.
Due in embodiments of the present invention, after gateway device receives data packet, obtaining the parameter name of the url of data packet Before, the data packet for determining to receive is http data packets.Gateway device is http data packets in the data packet for determining to receive Afterwards, the step of carrying out obtaining the parameter name of the url of the data packet.Therefore, the resource of gateway device has been saved.
Embodiment 3:
Gateway device obtain data packet url parameter name after, carry out extraction url parameter name IMEI information or The step of MEID information.But be not that the parameter name of each url includes IMEI information or MEID information, for not comprising The parameter name of the url of IMEI information or MEID information, then the step of need not carrying out extracting IMEI information or MEID information.Cause This, it is in embodiments of the present invention, described on the basis of the various embodiments described above in order to further save the resource of gateway device Before the IMEI information or MEID information of extracting the parameter name of the url, the method further includes:
The received data packet for coming from mobile terminal is inscribed for setting time length, obtain the data packet url and Host host domain names;Being included in the parameter name for including url, url and the rule file of host domain names that determine to previously generate should The parameter name and host domain names of url, url of data packet.
Regular file is previously generated in gateway device, the parameter name and host domain names of url, url are included in rule file, Wherein, the parameter name of the entitled url comprising IMEI information or MEID information of parameter of the url in the rule file previously generated. Gateway device can be directed in setting time length and receive before the IMEI information or MEID information of the parameter name of extraction url To the data packet for coming from mobile terminal, obtain the parameter name and host domain names of url, url of the data packet, judge pre- Mr. Into the parameter name for including url, url and host domain names rule file in whether comprising the data packet url, url ginseng Several and host domain names, if comprising, it is determined that IMEI information or MEID information are included in the parameter name of the url of the data packet, At this time, the step of carrying out extracting the IMEI information or MEID information of the parameter name of the url of the data packet.If in rule file not The parameter name and host domain names of url, url comprising the data packet, it is determined that do not include in the parameter name of the url of the data packet IMEI information or MEID information, at this point it is possible to filter out the data packet, do not carry out subsequent treatment to the data packet.
Fig. 3 is a kind of mobile terminal identification process schematic diagram provided in an embodiment of the present invention, which comprises the following steps:
S301:The received data packet for coming from mobile terminal is inscribed for setting time length, determines that the data packet is Http data packets, obtain the parameter name of the url of the data packet.
S302:The received data packet for coming from mobile terminal is inscribed for setting time length, obtains the data packet Url and host host domain names;Wrapped in the parameter name for including url, url and the rule file of host domain names that determine to previously generate The parameter name and host domain names of url, url containing the data packet.
S303:Extract the IMEI information or MEID information of the parameter name of url.
S304:According to the IMEI information or MEID information of extraction, mobile terminal is identified.
Since in embodiments of the present invention, received data packet is inscribed for setting time length in gateway device, obtaining should After the parameter name and host domain names of url, url of data packet, the parameter name for including url, url that determines to previously generate and The parameter name and host domain names of url, url comprising the data packet in the rule file of host domain names, and then extract the data packet Url parameter name IMEI information or MEID information, therefore, further save the resource of gateway device.
Embodiment 4:
In order to guarantee to extract IMEI information or MEID information from data packet, on the basis of the various embodiments described above On, in embodiments of the present invention, previously generate the process bag of the rule file of the parameter name for including url, url and host domain names Include:
For default each mobile application, packet capturing analysis is carried out to the network communication data of the mobile application, determines institute State the http data packets in network communication data, and will meet in the http data packets comprising IMEI information or MEID information Mobile application is as target mobile application;
Obtain each data packet of the target mobile application during startup and use;
The parameter name of the url comprising IMEI information or MEID information in each data packet is extracted, according to the url's Parameter name, and the corresponding url and host domain names create-rule file of each data packet comprising IMEI information or MEID information.
Gateway device is preset with multiple mobile applications, wherein, default mobile application is wide to be used on mobile terminal Mobile application, such as the mobile application such as mobile phone QQ, wechat, mobile phone Taobao, U.S. group, iqiyi.com, youku.com's video, Jingdone district.For Default each mobile application, carries out packet capturing analysis to the network communication data of the mobile application, determines the net of the mobile application Http data packets in network communication data.Wherein it is determined that the mistake of the http data packets in the network communication data of the mobile application Journey belongs to the prior art, and no longer the process is repeated herein.
For default each mobile application, determine http data packets in the network communication data of the mobile application it Afterwards, using the mobile application met comprising IMEI information or MEID information in http data packets as target mobile application, specifically, By parsing http data packets, it can be determined that whether IMEI information or MEID information are included in http data packets, if comprising, Using the mobile application as target mobile application.
According to definite each target mobile application, it is every during startup and use to obtain each target mobile application A data packet, for each data packet, judges the parameter for whether including the url of IMEI information or MEID information in the data packet Name, if it is, by the parameter name for the url that IMEI information or MEID information are included in the data packet, and include IMEI information Or the corresponding url and host domain names of each data packet of MEID information are stored in rule file.For example, definite target movement Using for mobile phone QQ and wechat, then each data packet of mobile phone QQ and wechat during startup and use is obtained, extracts mobile phone The parameter name of the url of QQ and wechat comprising IMEI information or MEID information in each data packet during startup and use, By the parameter name of url, and corresponding url and host domain names of each data packet comprising IMEI information or MEID information are stored in In rule file.
Fig. 4 is the rule provided in an embodiment of the present invention for previously generating the parameter name for including url, url and host domain names The process schematic of file, the process comprise the following steps:
S401:For default each mobile application, packet capturing analysis is carried out to the network communication data of the mobile application, really Http data packets in the fixed network communication data, and will meet in the http data packets and believe comprising IMEI information or MEID The mobile application of breath is as target mobile application.
S402:Obtain each data packet of the target mobile application during startup and use.
S403:The parameter name of the url comprising IMEI information or MEID information in each data packet is extracted, according to described The parameter name of url, and the corresponding url and host domain names create-rule of each data packet comprising IMEI information or MEID information File.
Mobile terminal identification process is illustrated below by a specific example.
For example, the target mobile application that gateway device determines is mobile phone QQ and wechat, existed by obtaining mobile phone QQ and wechat Start and use during each data packet, the parameter of the url included in the rule file of generation is entitled " IMEI ", and url is " commdatav2 ", host domain names are " mcgi.v.qq.com " etc..If wrapped in some data packet that gateway device receives The parameter of the url contained is entitled " IMEI ", and url is " commdatav2 ", and host domain names are " mcgi.v.qq.com ", then explanation is pre- The ginseng of url, url comprising the data packet in the parameter name for including url, url and the rule file of host domain names that first generate Several and host domain names.IMEI=864601022415589 in the data packet, then the IMEI information extracted are 864601022415589.The IMEI information or MEID information of each mobile terminal are unique, are grown according to the setting time of extraction The IMEI information or MEID information included in received data packet is inscribed in degree, can identify specific mobile terminal.
Since in embodiments of the present invention, gateway device is when previously generating rule file, first by http data packets Mobile application comprising IMEI information or MEID information as target mobile application, and then obtain target mobile application starting and Each data packet during use, will include the parameter name of the url of IMEI information or MEID information in each data packet, and The corresponding url and host domain names of each data packet comprising IMEI information or MEID information are stored in rule file.Therefore, pin Received data packet is docked, if wrapped in the parameter name for including url, url and the rule file of host domain names that previously generate The parameter name and host domain names of url, url containing the data packet, then can ensure the data packet be include IMEI information or MEID information.
Embodiment 5:
A kind of gateway device is additionally provided on the basis of the various embodiments described above, in the embodiment of the present invention, as shown in figure 5, Including:Processor 501, communication interface 502, memory 503 and communication bus 504, wherein, processor 501, communication interface 502, Memory 503 completes mutual communication by communication bus 504;
Computer program is stored with the memory 503, when described program is performed by the processor 501 so that The processor 501 performs following steps:
The received data packet for coming from mobile terminal is inscribed for setting time length, obtains the unified money of the data packet The parameter name of source finger URL url;
Extract the International Mobile Station Equipment Identification code IMEI information of the parameter name of the url or mobile equipment mark code MEID letters Breath;
According to the IMEI information or MEID information of extraction, mobile terminal is identified.
Based on same inventive concept, a kind of gateway device is additionally provided in the embodiment of the present invention, due to above-mentioned gateway device The principle solved the problems, such as is similar to mobile terminal recognition method, therefore the implementation of above-mentioned gateway device may refer to the reality of method Apply, overlaps will not be repeated.
Gateway device provided in an embodiment of the present invention be specifically as follows desktop computer, portable computer, smart mobile phone, Tablet computer, personal digital assistant (Personal Digital Assistant, PDA), network side equipment etc..
The communication bus that above-mentioned gateway device is mentioned can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, controlling bus etc..For just Only represented in expression, figure with a thick line, it is not intended that an only bus or a type of bus.
Communication interface 502 is used for the communication between above-mentioned gateway device and other equipment.
Memory can include random access memory (Random Access Memory, RAM), can also include non-easy The property lost memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Alternatively, memory may be used also To be at least one storage device for being located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit, network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal Processing, DSP), special collection Into circuit, field programmable gate array either other programmable logic device, discrete gate or transistor logic, discrete hard Part component etc..
When processor performs the program stored on memory in embodiments of the present invention, it is inscribed for setting time length The received data packet for coming from mobile terminal, extracts the IMEI information or MEID information of the data packet, each mobile terminal IMEI information or MEID information are unique, therefore, according to the IMEI information or MEID information of extraction, can be identified specific Mobile terminal.
Embodiment 6:
On the basis of the various embodiments described above, the embodiment of the present invention additionally provides a kind of computer storage readable storage medium Matter, the computer-readable recording medium memory contains the computer program that can be performed by gateway device, when described program is in institute State when being run on gateway device so that the gateway device realizes following steps when performing:
The received data packet for coming from mobile terminal is inscribed for setting time length, obtains the unified money of the data packet The parameter name of source finger URL url;
Extract the International Mobile Station Equipment Identification code IMEI information of the parameter name of the url or mobile equipment mark code MEID letters Breath;
According to the IMEI information or MEID information of extraction, mobile terminal is identified.
Based on same inventive concept, a kind of computer-readable recording medium is additionally provided in the embodiment of the present invention, due to place The principle and mobile terminal that reason device is solved the problems, such as in the computer program stored on performing above computer readable storage medium storing program for executing Recognition methods is similar, therefore processor can be with the implementation for the computer program for performing the storage of above computer readable storage medium storing program for executing Referring to the implementation of method, overlaps will not be repeated.
Above computer readable storage medium storing program for executing can be any usable medium that the processor in gateway device can access Or data storage device, include but not limited to magnetic storage such as floppy disk, hard disk, tape, magneto-optic disk (MO) etc., optical memory Such as CD, DVD, BD, HVD and semiconductor memory such as ROM, EPROM, EEPROM, nonvolatile memory (NAND FLASH), solid state hard disc (SSD) etc..
The computer-readable recording medium memory storage computer program provided in embodiments of the present invention, computer program quilt When processor performs, the received data packet for coming from mobile terminal is inscribed for setting time length, extracts the data packet IMEI information or MEID information, the IMEI information or MEID information of each mobile terminal are unique, therefore, according to extraction IMEI information or MEID information, can identify specific mobile terminal.
Fig. 6 is a kind of mobile terminal identification device structure diagram provided in an embodiment of the present invention, which includes:
Acquisition module 61, for the received data packet for coming from mobile terminal to be inscribed for setting time length, obtains The parameter name of the url of the data packet;
Extraction module 62, for the IMEI information or MEID information of the parameter name for extracting the url;
Identification module 63, for the IMEI information or MEID information according to extraction, identifies mobile terminal.
Described device further includes:
First determining module 64, for determining that the data packet is http data packets.
Described device further includes:
Second determining module 65, for the received data packet for coming from mobile terminal to be inscribed for setting time length, Obtain the url and host host domain names of the data packet;The parameter name for including url, url and host domain names for determining to previously generate Rule file in comprising the data packet url, url parameter name and host domain names.
Described device further includes:
Generation module 66, for for default each mobile application, being carried out to the network communication data of the mobile application Packet capturing is analyzed, and determines the http data packets in the network communication data, and will meet and IMEI is included in the http data packets The mobile application of information or MEID information is as target mobile application;Target mobile application is obtained during startup and use Each data packet;The parameter name of the url comprising IMEI information or MEID information in each data packet is extracted, according to described The parameter name of url, and the corresponding url and host domain names create-rule of each data packet comprising IMEI information or MEID information File.
An embodiment of the present invention provides a kind of mobile terminal recognition method, device, gateway device and storage medium, the side Method includes:The received data packet for coming from mobile terminal is inscribed for setting time length, obtains the ginseng of the url of the data packet It is several;Extract the IMEI information or MEID information of the parameter name of the url;According to the IMEI information or MEID information of extraction, know Other mobile terminal.Due in embodiments of the present invention, the received number for coming from mobile terminal being inscribed for setting time length According to bag, the IMEI information or MEID information of the data packet are extracted, the IMEI information or MEID information of each mobile terminal are unique , therefore, according to the IMEI information or MEID information of extraction, it can identify specific mobile terminal.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or square frame in journey and/or square frame and flowchart and/or the block diagram.These computer programs can be provided The processors of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices, which produces, to be used in fact The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or The instruction performed on other programmable devices is provided and is used for realization in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a square frame or multiple square frames.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation Property concept, then can make these embodiments other change and modification.So appended claims be intended to be construed to include it is excellent Select embodiment and fall into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art God and scope.In this way, if these modifications and changes of the present invention belongs to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising including these modification and variations.

Claims (10)

  1. A kind of 1. mobile terminal recognition method, it is characterised in that applied to gateway device, the described method includes:
    The received data packet for coming from mobile terminal is inscribed for setting time length, the unified resource for obtaining the data packet is determined The parameter name of position symbol url;
    Extract the International Mobile Station Equipment Identification code IMEI information of the parameter name of the url or mobile equipment mark code MEID information;
    According to the IMEI information or MEID information of extraction, mobile terminal is identified.
  2. 2. the method as described in claim 1, it is characterised in that described before the parameter name of the url for obtaining the data packet Method further includes:
    It is hypertext transfer protocol http data packets to determine the data packet.
  3. 3. the method as described in claim 1, it is characterised in that the IMEI information of the parameter name of the extraction url or Before MEID information, the method further includes:
    The received data packet for coming from mobile terminal is inscribed for setting time length, obtains the url and host of the data packet Host domain names;The data are included in the parameter name for including url, url and the rule file of host domain names that determine to previously generate The parameter name and host domain names of url, url of bag.
  4. 4. method as claimed in claim 3, it is characterised in that previously generate the parameter name for including url, url and host domains The process of the rule file of name includes:
    For default each mobile application, packet capturing analysis is carried out to the network communication data of the mobile application, determines the net Http data packets in network communication data, and the movement comprising IMEI information or MEID information in the http data packets will be met Using as target mobile application;
    Obtain each data packet of the target mobile application during startup and use;
    The parameter name of the url comprising IMEI information or MEID information in each data packet is extracted, according to the parameter of the url Name, and the corresponding url and host domain names create-rule file of each data packet comprising IMEI information or MEID information.
  5. 5. a kind of mobile terminal identification device, it is characterised in that described device includes:
    Acquisition module, for the received data packet for coming from mobile terminal to be inscribed for setting time length, obtains the data The parameter name of the url of bag;
    Extraction module, for the IMEI information or MEID information of the parameter name for extracting the url;
    Identification module, for the IMEI information or MEID information according to extraction, identifies mobile terminal.
  6. 6. device as claimed in claim 5, it is characterised in that described device further includes:
    First determining module, for determining that the data packet is http data packets.
  7. 7. device as claimed in claim 5, it is characterised in that described device further includes:
    Second determining module, for the received data packet for coming from mobile terminal to be inscribed for setting time length, obtaining should The url and host host domain names of data packet;The parameter name for including url, url and the rule of host domain names for determining to previously generate The parameter name and host domain names of url, url comprising the data packet in file.
  8. 8. device as claimed in claim 7, it is characterised in that described device further includes:
    Generation module, for for default each mobile application, packet capturing point to be carried out to the network communication data of the mobile application Analysis, determines the http data packets in the network communication data, and will meet in the http data packets comprising IMEI information or The mobile application of MEID information is as target mobile application;Obtain every number of the target mobile application during startup and use According to bag;The parameter name of the url comprising IMEI information or MEID information in each data packet is extracted, according to the ginseng of the url It is several, and the corresponding url and host domain names create-rule file of each data packet comprising IMEI information or MEID information.
  9. A kind of 9. gateway device, it is characterised in that including processor, communication interface, memory and communication bus, wherein, processing Device, communication interface, memory complete mutual communication by communication bus;
    Memory, for storing computer program;
    Processor, during for performing the program stored on memory, realizes that claim 1-4 any one of them method walks Suddenly.
  10. 10. a kind of computer-readable recording medium, it is characterised in that the computer-readable recording medium memory contains computer Program, the computer program realize claim 1-4 any one of them method and steps when being executed by processor.
CN201711147976.1A 2017-11-17 2017-11-17 A kind of mobile terminal recognition method, device, gateway device and storage medium Pending CN107968997A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711147976.1A CN107968997A (en) 2017-11-17 2017-11-17 A kind of mobile terminal recognition method, device, gateway device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711147976.1A CN107968997A (en) 2017-11-17 2017-11-17 A kind of mobile terminal recognition method, device, gateway device and storage medium

Publications (1)

Publication Number Publication Date
CN107968997A true CN107968997A (en) 2018-04-27

Family

ID=62000176

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711147976.1A Pending CN107968997A (en) 2017-11-17 2017-11-17 A kind of mobile terminal recognition method, device, gateway device and storage medium

Country Status (1)

Country Link
CN (1) CN107968997A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109495538A (en) * 2018-09-19 2019-03-19 北京奇安信科技有限公司 A kind of detection method and device of shared access terminal quantity

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090221302A1 (en) * 2008-02-28 2009-09-03 Vesa Pekka Luiro Method, apparatus and computer program for reverse load balancing for the provision of services to client devices
US7756515B1 (en) * 2007-03-16 2010-07-13 At&T Mobility Ii Llc Systems and methods of merchandising content to mobile telephones based on subscriber's purchase history
CN107105428A (en) * 2016-02-23 2017-08-29 中国移动通信集团内蒙古有限公司 The method and device in quick completion end message storehouse
CN107292154A (en) * 2017-06-09 2017-10-24 北京奇安信科技有限公司 A kind of terminal feature recognition methods and system
CN107301192A (en) * 2016-04-14 2017-10-27 中国移动通信集团河北有限公司 A kind of terminal identification method and identification server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7756515B1 (en) * 2007-03-16 2010-07-13 At&T Mobility Ii Llc Systems and methods of merchandising content to mobile telephones based on subscriber's purchase history
US20090221302A1 (en) * 2008-02-28 2009-09-03 Vesa Pekka Luiro Method, apparatus and computer program for reverse load balancing for the provision of services to client devices
CN107105428A (en) * 2016-02-23 2017-08-29 中国移动通信集团内蒙古有限公司 The method and device in quick completion end message storehouse
CN107301192A (en) * 2016-04-14 2017-10-27 中国移动通信集团河北有限公司 A kind of terminal identification method and identification server
CN107292154A (en) * 2017-06-09 2017-10-24 北京奇安信科技有限公司 A kind of terminal feature recognition methods and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109495538A (en) * 2018-09-19 2019-03-19 北京奇安信科技有限公司 A kind of detection method and device of shared access terminal quantity

Similar Documents

Publication Publication Date Title
CN103607385B (en) Method and apparatus for security detection based on browser
CN104113551B (en) A kind of platform authorization method, platform service end and applications client and system
US9203804B2 (en) Method and system for defending against malware and method for updating filtering table thereof
CN106878108B (en) Network flow playback test method and device
CN104036160A (en) Web browsing method, device and browser
CN104412565B (en) For relating to the method that the socket of bearer independent protocol manages
CN104702564A (en) Tethering user identification method and device
CN113114707B (en) Rule filtering method for power chip Ethernet controller
US11206277B1 (en) Method and apparatus for detecting abnormal behavior in network
CN110336781A (en) A kind of method and apparatus based on browser identification terminal uniqueness
CN106605231A (en) Accounts control
CN110909361A (en) Vulnerability detection method and device and computer equipment
CN114157568B (en) Browser secure access method, device, equipment and storage medium
CN112817816B (en) Embedded point processing method and device, computer equipment and storage medium
CN107294986B (en) A kind of method, apparatus and system of access HTTPS websites
CN107968997A (en) A kind of mobile terminal recognition method, device, gateway device and storage medium
CN111125704B (en) Webpage Trojan horse recognition method and system
CN105144073A (en) Removable storage device identity and configuration information
CN113141332A (en) Command injection identification method, system, equipment and computer storage medium
CN110633432A (en) Method, device, terminal equipment and medium for acquiring data
CN110262856B (en) Application program data acquisition method, device, terminal and storage medium
CN108040064A (en) Data transmission method, device, electronic equipment and storage medium
CN109388686A (en) A kind of user identifier method and device
CN107241333A (en) Recognition methods, system, Network Security Device and the server of exception request
US11657143B2 (en) Request control device, request control method, and request control program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180427