CN109905293A - A kind of terminal device recognition methods, system and storage medium - Google Patents

A kind of terminal device recognition methods, system and storage medium Download PDF

Info

Publication number
CN109905293A
CN109905293A CN201910186331.1A CN201910186331A CN109905293A CN 109905293 A CN109905293 A CN 109905293A CN 201910186331 A CN201910186331 A CN 201910186331A CN 109905293 A CN109905293 A CN 109905293A
Authority
CN
China
Prior art keywords
information
terminal device
equipment
access
facility information
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
CN201910186331.1A
Other languages
Chinese (zh)
Other versions
CN109905293B (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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo 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 Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201910186331.1A priority Critical patent/CN109905293B/en
Publication of CN109905293A publication Critical patent/CN109905293A/en
Priority to PCT/CN2019/130735 priority patent/WO2020181897A1/en
Application granted granted Critical
Publication of CN109905293B publication Critical patent/CN109905293B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4604LAN interconnection over a backbone network, e.g. Internet, Frame Relay
    • H04L12/462LAN interconnection over a bridge based backbone
    • H04L12/4625Single bridge functionality, e.g. connection of two networks over a single bridge

Abstract

The invention discloses a kind of terminal device recognition methods, system and storage mediums.Its method includes: to obtain its equipment identification information and apparatus characteristic information in terminal device access;It is identified using following at least one identification method: searching the associated facility information of equipment identification information of the terminal device in equipment information database;Apparatus characteristic information is matched using scheduled regularity collection, facility information is obtained according to matching result;Equipment information database updates in the following ways: obtaining the equipment identification information of each terminal device accessed, and a plurality of user agent's information of each terminal device accessed according to scheduled Rule;Each terminal device is identified using a plurality of user agent's information of acquisition, obtains facility information, and the equipment identification information of each terminal device is associated with respective facility information and is saved in equipment information database.The discrimination of terminal device recognition methods provided in an embodiment of the present invention is higher.

Description

A kind of terminal device recognition methods, system and storage medium
Technical field
The present invention relates to technical field of data processing more particularly to a kind of terminal device recognition methods, system and storage to be situated between Matter.
Background technique
The purpose of to realize security protection, creation user's portrait etc., the equipment such as router are often to accessing its terminal Equipment carries out equipment identification.
Current device identification method is mainly host name (hostname) information of real-time acquisition terminal equipment, using pre- The regularity collection first obtained matches host name information, carries out equipment identification according to matching result.
Since the user of terminal device can arbitrarily modify host name information, in reality, user modifies host name information It is common operation.Origin host name information often Portable device information, and may no longer be taken in modified host name information Carrying device information, or even the facility information of mistake is carried, cause the discrimination of existing device identification method lower.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind State device identification method, system and the storage medium of problem.
In a first aspect, the embodiment of the invention provides a kind of device identification methods, comprising:
In terminal device access, the equipment identification information and apparatus characteristic information of the terminal device of access are obtained;
It is identified using the terminal device of the following at least one identification method to access:
The associated facility information of equipment identification information of the terminal device of access is searched in equipment information database, Obtain facility information of the facility information found as the terminal device accessed;
The apparatus characteristic information is matched using scheduled regularity collection, access is obtained according to matching result The facility information of the terminal device;
The equipment information database updates in the following ways:
Obtain the equipment identification information of each terminal device accessed, and the institute accessed according to scheduled Rule State a plurality of user agent's information of each terminal device;
The each terminal device accessed is identified using a plurality of user agent's information of acquisition, has been accessed Each terminal device facility information, and by the equipment identification information of each terminal device accessed and respectively Facility information association be saved in equipment information database.
Method provided in an embodiment of the present invention pre-establishes equipment information database, and utilizes the terminal device accessed A plurality of user agent's information acquisition apparatus information, equipment identification information is associated with facility information and is saved in facility information data In library.By a plurality of user agent's information acquisition apparatus information, can reduce or even avoid user agent's information to modify and can not The case where obtaining facility information.Based on this, when being identified to terminal device, can not only be believed with the equipment feature of acquisition terminal Breath, and facility information is obtained using the matching of regularity collection, it can be with the equipment identification information of acquisition terminal equipment, and look into accordingly Equipment information database is looked for obtain facility information.The embodiment of the present invention and non-used single identification method progress equipment identification, and It is that bonding apparatus information database carries out equipment identification, improves equipment discrimination.
With reference to first aspect, in the first implementation of first aspect of the embodiment of the present invention, it is described use with down toward After a kind of few identification method identifies the terminal device of access, the method also includes:
It is standardized according to facility information of the scheduled mapping ruler to the terminal device of access;
Treated by being equipped with the terminal device outputting standardization of destination application facility information.
Due to information format difference of different, each terminal device production firms of mapping ruler etc., end for recognizing Often there is format disunity in the facility information of end equipment, and information indicates not intuitive, so that user is difficult to quickly according to equipment The problem of validation of information terminal device.For this purpose, method provided in an embodiment of the present invention believes equipment according to scheduled mapping ruler Breath is standardized, the facility information uniform format after standardization, and information representation mode is intuitive, for example, by using with Family mother tongue is convenient for user fast as expression way etc. by the facility information after standardization in specified display screen display Speed confirmation terminal device.
The first implementation with reference to first aspect, in second of implementation of first aspect of the embodiment of the present invention In, it is described that the apparatus characteristic information is matched using scheduled regularity collection, access is obtained according to matching result The facility information of the terminal device, comprising:
Using multiple regularity collection respectively to part in the apparatus characteristic information of the terminal device of access or complete Portion's information is matched, and the matching result of each regularity collection is respectively obtained, and the matching result of successful match includes setting Standby information;
If at least one regularity collection successful match, according to the matching result of each regularity collection and scheduled credible Degree power readjustment rule determines the confidence level weight of each matching result;
Each matching result is merged according to the confidence level weight of each matching result, the terminal accessed The facility information of equipment.
Method provided in an embodiment of the present invention, the apparatus characteristic information of acquisition may include much information, for example, host name is believed Breath, user agent's information etc..It is possible to using different regularity collection in apparatus characteristic information each information or A combination thereof is matched, to guarantee to get comprehensive facility information to the maximum extent.Further, due to different The possible difference of value with the identical facility information that mode obtains, such as the equipment matched using different regularity collection Board is different, then just needing therefrom to make a choice, the embodiment of the present invention is dynamically determined the credible of matching result according to matching result Weight is spent, and then the facility information in matching result is merged according to confidence level weight, obtains the equipment letter of terminal device Breath, to improve discrimination and accuracy of identification.
Second of implementation with reference to first aspect, in the third implementation of first aspect of the embodiment of the present invention In, if it fails to match for all regularity collection, the terminal device of access is known otherwise further include:
By the apparatus characteristic information input equipment identification model of the terminal device of access, mould is identified using the equipment The facility information for the terminal device that type is accessed, the equipment identification model are to utilize the training of equipment feature samples information It obtains, the equipment feature samples information includes apparatus characteristic information and the label for indicating facility information.
Method provided in an embodiment of the present invention, for the facility information of quick outlet terminal equipment, therefore, to assure that identify To facility information.Therefore, using regularity can not identification terminal equipment facility information when, i.e., using pre-selection training Facility information identification model handles apparatus characteristic information, obtains facility information.
Second of implementation with reference to first aspect, in the 4th kind of implementation of first aspect of the embodiment of the present invention In, the terminal device of access is identified, further includes:
By the equipment identification information of the terminal device of access and by searching in the cache database pre-established Equipment identification information is matched;
If successful match, the facility information of the terminal device of access is obtained according to matching result.
Method provided in an embodiment of the present invention to further speed up recognition speed, and is avoided due to apparatus characteristic information Change leads to recognition failures, can also be added in cache database according to history recognition result, subsequent only to need according to equipment Identification information matches in cache database, obtains facility information according to matching result.Due to the root cached in cache database Therefore facility information can be rapidly and accurately obtained according to the information that history recognition result determines.In addition, since device identification is believed Breath immobilizes, and using the equipment identification information of terminal device rather than apparatus characteristic information carries out database matching, avoid due to Apparatus characteristic information change leads to recognition failures.
The 4th kind of implementation with reference to first aspect, in the 5th kind of implementation of first aspect of the embodiment of the present invention In, the method also includes:
If detecting, scheduled error correction trigger condition is triggered, and sends error correction request message, institute to correction process client The equipment identification information and apparatus characteristic information for stating the terminal device including access in error correction request message further include triggering The information of the error correction trigger condition;
The correction instruction that the correction process client returns is received, and following according to the instruction of correction instruction execution At least one operation:
At least one confidence level weight adjustment rule is adjusted;
Update the regularity of at least one regularity concentration;
Update at least one mapping ruler.
Method provided in an embodiment of the present invention, to obtain preferable user experience, the preferential speed for guaranteeing identification facility information The facility information of degree, output may be imperfect or inaccurate.In the present embodiment, scheduled trigger condition can met Under, correction process is carried out, to improve the accuracy of recognition result.
The 5th kind of implementation with reference to first aspect, in the 6th kind of implementation of first aspect of the embodiment of the present invention In, the error correction trigger condition includes following at least one:
The facility information of the terminal device of access does not include target information;
The facility information amendment message of destination application feedback is received, carries and repairs in the facility information amendment message Facility information after just.
With reference to first aspect, the first implementation of first aspect, second of implementation of first aspect, first party The third implementation in face, the 4th kind of implementation of first aspect, the 5th kind of implementation or first party of first aspect The 6th kind of implementation in face, in the 7th kind of implementation of first aspect of the embodiment of the present invention, the apparatus characteristic information Including user agent's information and/or host name information.
With reference to first aspect, the first implementation of first aspect, second of implementation of first aspect, first party The third implementation in face, the 4th kind of implementation of first aspect, the 5th kind of implementation or first party of first aspect The 6th kind of implementation in face, in the 8th kind of implementation of first aspect of the embodiment of the present invention, the facility information includes Following at least one: equipment brand message, device type information, device model information.
With reference to first aspect, the first implementation of first aspect, second of implementation of first aspect, first party The third implementation in face, the 4th kind of implementation of first aspect, the 5th kind of implementation or first party of first aspect The 6th kind of implementation in face, it is described to be connect in terminal device in the 9th kind of implementation of first aspect of the embodiment of the present invention It is fashionable, obtain the equipment identification information and apparatus characteristic information of the terminal device of access, comprising:
When terminal device accesses for the first time, the equipment identification information and fisrt feature letter of the terminal device of access are obtained Breath.
With reference to first aspect, the first implementation of first aspect, second of implementation of first aspect, first party The third implementation in face, the 4th kind of implementation of first aspect, the 5th kind of implementation or first party of first aspect The 6th kind of implementation in face, it is described to be obtained according to scheduled rule in the provided in an embodiment of the present invention ten kind of implementation Take a plurality of user agent's information of each terminal device accessed, comprising:
Persistently obtain user agent's information of the predetermined quantity of each terminal device accessed.
Second aspect, the embodiment of the present invention provide a kind of terminal device identifying system, comprising:
Information acquisition unit, in terminal device access, obtaining the device identification letter of the terminal device of access Breath and apparatus characteristic information;
Equipment identifies execution unit, for being carried out using the terminal device of the following at least one identification method to access Identification:
The associated facility information of equipment identification information of the terminal device of access is searched in equipment information database, Obtain facility information of the facility information found as the terminal device accessed;
The apparatus characteristic information is matched using scheduled regularity collection, access is obtained according to matching result The facility information of the terminal device;
Equipment information database updating unit, for obtaining the equipment identification information of each terminal device accessed, and According to a plurality of user agent's information for each terminal device that scheduled Rule has accessed;Utilize the described more of acquisition User agent's information identifies each terminal device accessed, the equipment of each terminal device accessed Information, and the equipment identification information of each terminal device accessed is associated with respective facility information and is saved in equipment Information database.
System provided in an embodiment of the present invention pre-establishes equipment information database, and utilizes the terminal device accessed A plurality of user agent's information acquisition apparatus information, equipment identification information is associated with facility information and is saved in facility information data In library.By a plurality of user agent's information acquisition apparatus information, can reduce or even avoid user agent's information to modify and can not The case where obtaining facility information.Based on this, when being identified to terminal device, can not only be believed with the equipment feature of acquisition terminal Breath, and facility information is obtained using the matching of regularity collection, it can be with the equipment identification information of acquisition terminal equipment, and look into accordingly Equipment information database is looked for obtain facility information.The embodiment of the present invention and non-used single identification method progress equipment identification, and It is that bonding apparatus information database carries out equipment identification, improves equipment discrimination.
In conjunction with second aspect, in the first implementation of second aspect of the embodiment of the present invention, the system also includes:
Standardization unit, for according to scheduled mapping ruler to the facility information of the terminal device of access into Row standardization;
Information output unit, for the terminal device outputting standardization by being equipped with destination application, treated sets Standby information.
Due to information format difference of different, each terminal device production firms of mapping ruler etc., end for recognizing Often there is format disunity in the facility information of end equipment, and information indicates not intuitive, so that user is difficult to quickly according to equipment The problem of validation of information terminal device.For this purpose, system provided in an embodiment of the present invention believes equipment according to scheduled mapping ruler Breath is standardized, the facility information uniform format after standardization, and information representation mode is intuitive, for example, by using with Family mother tongue is convenient for user fast as expression way etc. by the facility information after standardization in specified display screen display Speed confirmation terminal device.
In conjunction with the first implementation of second aspect, in second of implementation of second aspect of the embodiment of the present invention In, in order to match using scheduled regularity collection to the apparatus characteristic information, access is obtained according to matching result The facility information of the terminal device, the equipment identification execution unit are used for:
Using multiple regularity collection respectively to part in the apparatus characteristic information of the terminal device of access or complete Portion's information is matched, and the matching result of each regularity collection is respectively obtained, and the matching result of successful match includes setting Standby information;
If at least one regularity collection successful match, according to the matching result of each regularity collection and scheduled credible Degree power readjustment rule determines the confidence level weight of each matching result;
Each matching result is merged according to the confidence level weight of each matching result, the terminal accessed The facility information of equipment.
System provided in an embodiment of the present invention, the apparatus characteristic information of acquisition may include much information, for example, host name is believed Breath, user agent's information etc..It is possible to using different regularity collection in apparatus characteristic information each information or A combination thereof is matched, to guarantee to get comprehensive facility information to the maximum extent.Further, due to different The possible difference of value with the identical facility information that mode obtains, such as the equipment matched using different regularity collection Board is different, then just needing therefrom to make a choice, the embodiment of the present invention is dynamically determined the credible of matching result according to matching result Weight is spent, and then the facility information in matching result is merged according to confidence level weight, obtains the equipment letter of terminal device Breath, to improve discrimination and accuracy of identification.
In conjunction with second of implementation of second aspect, in the third implementation of second aspect of the embodiment of the present invention In, if it fails to match for all regularity collection, the equipment identification execution unit is also used to:
By the apparatus characteristic information input equipment identification model of the terminal device of access, mould is identified using the equipment The facility information for the terminal device that type is accessed, the equipment identification model are to utilize the training of equipment feature samples information It obtains, the equipment feature samples information includes apparatus characteristic information and the label for indicating facility information.
System provided in an embodiment of the present invention, for the facility information of quick outlet terminal equipment, therefore, to assure that identify To facility information.Therefore, using regularity can not identification terminal equipment facility information when, i.e., using pre-selection training Facility information identification model handles apparatus characteristic information, obtains facility information.
In conjunction with second of implementation of second aspect, in the 4th kind of implementation of second aspect of the embodiment of the present invention In, the equipment identification execution unit is also used to:
By the equipment identification information of the terminal device of access and by searching in the cache database pre-established Equipment identification information is matched;
If successful match, the facility information of the terminal device of access is obtained according to matching result.
System provided in an embodiment of the present invention to further speed up recognition speed, and is avoided due to apparatus characteristic information Change leads to recognition failures, can also be added in cache database according to history recognition result, subsequent only to need according to equipment Identification information matches in cache database, obtains facility information according to matching result.Due to the root cached in cache database Therefore facility information can be rapidly and accurately obtained according to the information that history recognition result determines.In addition, since device identification is believed Breath immobilizes, and using the equipment identification information of terminal device rather than apparatus characteristic information carries out database matching, avoid due to Apparatus characteristic information change leads to recognition failures.
In conjunction with the 4th kind of implementation of second aspect, in the 5th kind of implementation of second aspect of the embodiment of the present invention In, the system also includes error correction units, it is used for:
If detecting, scheduled error correction trigger condition is triggered, and sends error correction request message, institute to correction process client The equipment identification information and apparatus characteristic information for stating the terminal device including access in error correction request message further include triggering The information of the error correction trigger condition;
The correction instruction that the correction process client returns is received, and following according to the instruction of correction instruction execution At least one operation:
At least one confidence level weight adjustment rule is adjusted;
Update the regularity of at least one regularity concentration;
Update at least one mapping ruler.
System provided in an embodiment of the present invention, to obtain preferable user experience, the preferential speed for guaranteeing identification facility information The facility information of degree, output may be imperfect or inaccurate.In the present embodiment, scheduled trigger condition can met Under, correction process is carried out, to improve the accuracy of recognition result.
In conjunction with the 5th kind of implementation of second aspect, in the 6th kind of implementation of second aspect of the embodiment of the present invention In, the error correction trigger condition includes following at least one:
The facility information of the terminal device of access does not include target information;
The facility information amendment message of destination application feedback is received, carries and repairs in the facility information amendment message Facility information after just.
In conjunction with second aspect, the first implementation of second aspect, second of implementation of second aspect, second party The third implementation in face, the 4th kind of implementation of second aspect, the 5th kind of implementation or second party of second aspect The 6th kind of implementation in face, in the 7th kind of implementation of second aspect of the embodiment of the present invention, the apparatus characteristic information It further include host name information.
In conjunction with second aspect, the first implementation of second aspect, second of implementation of second aspect, second party The third implementation in face, the 4th kind of implementation of second aspect, the 5th kind of implementation or second party of second aspect The 6th kind of implementation in face, in the 8th kind of implementation of second aspect of the embodiment of the present invention, the facility information includes Following at least one: equipment brand message, device type information, device model information.
In conjunction with second aspect, the first implementation of second aspect, second of implementation of second aspect, second party The third implementation in face, the 4th kind of implementation of second aspect, the 5th kind of implementation or second party of second aspect The 6th kind of implementation in face, in the 9th kind of implementation of second aspect of the embodiment of the present invention, the information acquisition unit For:
When terminal device accesses for the first time, the equipment identification information and equipment feature letter of the terminal device of access are obtained Breath.
In conjunction with second aspect, the first implementation of second aspect, second of implementation of second aspect, second party The third implementation in face, the 4th kind of implementation of second aspect, the 5th kind of implementation or second party of second aspect The 6th kind of implementation in face has been accessed to obtain in the tenth kind of implementation of second aspect of the embodiment of the present invention The equipment identification information of each terminal device, the equipment information database updating unit are used for:
Persistently obtain user agent's information of the predetermined quantity of each terminal device accessed.
The third aspect, the embodiment of the present invention provide a kind of computer system, comprising:
One or more processors;
Memory;
One or more application program, wherein one or more of application programs are stored in the memory and quilt It is configured to be executed by one or more of processors, realizes the method as described in any implementation of first aspect.
Fourth aspect, the embodiment of the present invention provide a kind of computer readable storage medium, for being stored as above-mentioned third party The instruction of application program used in computer system described in face.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows system architecture diagram according to an embodiment of the invention;
Fig. 2 shows device identification method flow charts according to an embodiment of the invention;
Fig. 3 shows equipment information database update method flow chart according to an embodiment of the invention;
Fig. 4 shows software architecture schematic diagram according to an embodiment of the invention;
Fig. 5 shows the system block diagram provided according to an embodiment of the present invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
Method provided in an embodiment of the present invention can with but not only limit be applied to system shown in FIG. 1 in.Within the system, road It is used to acquire and report the information of the terminal device 102 of access by device 101, Cloud Server 103 according to router 101 for reporting Information terminal 102 is identified, obtain its facility information, and the terminal device 104 by being equipped with destination application Export the facility information of the terminal device 102 of couple in router 101.
Wherein, the router 101 in Fig. 1 may be replaced by other IOT (Internet of Things, Internet of Things) and set Standby or intelligent mobile terminal (such as smart phone, tablet computer).
Wherein, the terminal device 102 of access refers to couple in router 101 to be connected to the terminal of local area network or internet Equipment, such as intelligent mobile terminal (smart phone, tablet computer), intelligent appliance equipment, Intelligent office equipment etc..
Wherein, destination application refers to the application program that is communicated and can be controlled it with router 101.
It should be pointed out that in other application scenarios or implementation, it can also be by the separate server on internet Or the function that the equipment in local area network replaces above-mentioned Cloud Server to realize, the embodiment of the present invention are not construed as limiting this.
Method provided in an embodiment of the present invention is described in detail below in conjunction with Fig. 2.
As shown in Fig. 2, device identification method provided in an embodiment of the present invention includes following operation:
Step 201, terminal device access when, obtain the equipment identification information and equipment feature of the terminal device of access Information.
In the embodiment of the present invention, equipment identification information is the mark for distinguishing different terminal equipment, accesses the every of same equipment The equipment identification information of a terminal device is different.It preferably, certainly, can also using MAC Address as equipment identification information To use other information as equipment identification information.
Specifically, router (or other equipment) is after having detected terminal device access, i.e., it is true to the terminal device The communication information (such as HTTP message) reported is parsed, and equipment identification information and apparatus characteristic information are therefrom obtained.
In the embodiment of the present invention, apparatus characteristic information refers to the information for being able to reflect facility information, such as host name (Hostname), user agent (user agent) information, DNS information etc..
In the embodiment of the present invention, it is preferred that only when terminal device accesses for the first time, obtain its equipment identification information and set Standby characteristic information.Due to after the terminal device accesses for the first time, process shown in Fig. 3 can effectively identify that it is complete under Facility information and be saved in facility information library, therefore, when the subsequent terminal device accesses again, only obtain its device identification Equipment identification can be realized in information.
The terminal device of access is identified using following at least one identification method:
Step 202a, the equipment identification information that the above-mentioned terminal device of access is searched in equipment information database is associated Facility information obtains facility information of the facility information found as the terminal device accessed;
Step 202b, above equipment characteristic information is matched using scheduled regularity collection, according to matching result Obtain the facility information of the above-mentioned terminal device of access.
It should be pointed out that the embodiment of the present invention is not defined the execution sequence of step 202a and step 202b.By It is more acurrate, comprehensive in the query result of equipment information database, and inquiry velocity is very fast, it is preferred that step 202a is first carried out, When not recognizing facility information, step 202b is continued to execute, if obtaining facility information by step 202a, is not executed Step 202b.It is of course also possible to parallel execution of steps 202a and step 202b, using the facility information exported at first as above-mentioned end The facility information of end equipment.
In the embodiment of the present invention, it is preferred that server executes above-mentioned steps 202a and step 202b beyond the clouds, to improve place Manage speed.Certainly, above-mentioned steps 202a and step 202b can also be realized in other equipment, for example, by expanding router Memory, on the router realize above-mentioned steps 202a and step 202b;In another example adding device identification service device in systems (separate server rather than Cloud Server on local area network or internet), by the device identification service device execute step 202a and Step 202b.
Wherein, as shown in figure 3, equipment information database updates in the following ways:
The equipment identification information for each terminal device that step 301, acquisition have accessed, and according to scheduled Rule A plurality of user agent's information of each terminal device of access.
Specifically, by taking system shown in FIG. 1 as an example, the information reporting that is executed the step 301 by router, and will acquire.
Wherein, equipment identification information can terminal device carry out access authentication when acquisition, can also be from terminal device It is obtained in the communication information (such as HTTP message) of report.If being obtained from the communication information that terminal device reports, both can only obtain Once, equipment identification information can also be obtained together when obtaining user agent's information every time.
The embodiment of the present invention is not defined above-mentioned pre-defined rule, in practical applications, can be according to concrete application field Scape needs to formulate pre-defined rule, for example, persistently obtaining user's generation of the predetermined quantity of each terminal device accessed Manage information.
The embodiment of the present invention is not defined predetermined quantity, can according to actual needs or experience in practical application It determines.Preferably, which is 200.
Step 302 identifies each terminal device accessed using a plurality of user agent's information of acquisition, obtains Believe to the facility information of each terminal device accessed, and by the device identification of each terminal device accessed Breath is associated with respective facility information is saved in equipment information database.
In the embodiment of the present invention, it is preferred that equipment information database saves beyond the clouds.Certainly, equipment information database It can be stored in local, for example, being router exented memory, equipment information database is stored in exented memory, in another example, Addition storage equipment, equipment information database is stored in the storage equipment in local area network.
In the embodiment of the present invention, it is preferred that server executes above-mentioned steps 302 beyond the clouds, to improve processing speed.When So, above-mentioned steps 302 can also be realized in other equipment, for example, being realized on the router by the memory for expanding router Above-mentioned steps 302;In another example add in systems device identification service device (separate server on local area network or internet and Non- Cloud Server), step 302 is executed by the device identification service device.
Method provided in an embodiment of the present invention pre-establishes equipment information database, and utilizes the terminal device accessed A plurality of user agent's information acquisition apparatus information, equipment identification information is associated with facility information and is saved in facility information data In library.By a plurality of user agent's information acquisition apparatus information, can reduce or even avoid user agent's information to modify and can not The case where obtaining facility information.Based on this, when being identified to terminal device, can not only be believed with the equipment feature of acquisition terminal Breath, and facility information is obtained using the matching of regularity collection, it can be with the equipment identification information of acquisition terminal equipment, and look into accordingly Equipment information database is looked for obtain facility information.The embodiment of the present invention and non-used single identification method progress equipment identification, and It is that bonding apparatus information database carries out equipment identification, improves equipment discrimination.
In the embodiment of the present invention, the facility information obtained by treatment process shown in Fig. 2 directly can be exported and be shown To user.But the user information that is recognized by apparatus characteristic information is often due to mapping ruler is different, each terminal device is raw The reasons such as the information format difference of manufacturer are produced, there are format disunities, and information indicates not intuitive, so that user is difficult to quick root The problem of confirming terminal device according to facility information.
For this purpose, mapping ruler can be pre-established in a kind of implementation to be standardized to facility information.Tool Body, it can be standardized in identification process or when establishing rule base, database, figure can also utilized Method shown in 2 is standardized after obtaining facility information.
By taking the latter as an example, after being identified using the terminal device of any one identification method to access, according to Scheduled mapping ruler is standardized the facility information of the terminal device of access;By being equipped with target application The terminal device outputting standardization of program treated facility information.
In the embodiment of the present invention, mapping ruler reflects the facility information before standardization and the equipment after standardization is believed The corresponding relationship of breath.For example, the facility information before standardization are as follows: APPLE (equipment brand), setting after corresponding standardization Standby information are as follows: apple (equipment brand);In another example the facility information before standardizing are as follows: PHONE (device type), it is corresponding Facility information after standardization are as follows: mobile phone (device type);Further for example, the facility information before standardization are as follows: A1660 (is set Standby model), the facility information after corresponding standardization are as follows: apple 7 (device model).
To further increase visualization level, the facility information after standardizing further includes equipment figure.For example, brand figure Mark, type icon, model icon etc..
In the embodiment of the present invention, the granularity of different facility informations is different.By taking brand, type, model as an example, wherein product The granularity of board is maximum, and the granularity of model is minimum, and in course of standardization process, the smallest facility information of granularity is corresponding sets for selection Standby figure is added in the standardized equipment information of final output.
Method provided in an embodiment of the present invention is standardized facility information according to scheduled mapping ruler, standard Change treated facility information uniform format, and information representation mode is intuitive, for example, by using user's mother tongue as expression way etc. Deng quickly confirming terminal device convenient for user by the facility information after standardization in specified display screen display.
On the basis of above-mentioned any means embodiment, there are many implementations of above-mentioned steps 202b.
Wherein, if apparatus characteristic information is single equipment characteristic information, such as UA information or HOSTNAME information then can be with It is matched using the corresponding regularity collection of the single equipment characteristic information.
In order to improve discrimination, it is preferred that apparatus characteristic information generally includes a variety of.In practical application, to improve data Treatment effeciency needs to be defined the data format of apparatus characteristic information, and the embodiment of the present invention is not to apparatus characteristic information Data format is defined, can be determine according to actual needs.For example and without limitation, apparatus characteristic information includes following two A field: UA information field and HOSTNAME information field.By taking UA information field as an example, the value of UA information field is sky, table Show and do not get UA information, if not empty, value is UA information.
Correspondingly, if in apparatus characteristic information including much information, it is preferred that above-mentioned steps 202b is specifically using multiple Regularity collection respectively matches information some or all of in the apparatus characteristic information of the terminal device of access, respectively To the matching result of each regularity collection, the matching result of successful match includes facility information;If at least one regularity Collect successful match, each matching is determined according to the matching result of each regularity collection and scheduled confidence level weight adjustment rule As a result confidence level weight;Each matching result is merged according to the confidence level weight of each matching result, is accessed The terminal device facility information.
In the embodiment of the present invention, as described above, facility information also may include it is a variety of, correspondingly, the data of facility information Format may include multiple fields, and the value of each field corresponds to a kind of facility information.It is above-mentioned according to each matching result can Reliability weight merges each matching result, obtains the facility information of terminal device, and specific implementation, which may is that, to be looked into The aiming field value of each field of facility information is looked for, the aiming field value is the target for including in object matching result The value of field, the object matching result are that confidence level weight is highest in all matching results including the aiming field Matching result.
Further, if it fails to match for all regularity collection, the equipment feature of the terminal device of access is believed Input equipment identification model is ceased, it is described using the facility information for the terminal device that the equipment identification model is accessed Equipment identification model is obtained using the training of equipment feature samples information, and the equipment feature samples information includes equipment feature Information and the label for indicating facility information.
On the basis of above-mentioned any means embodiment, the terminal device of access is identified, further includes:
By the equipment identification information of the terminal device of access and by searching in the cache database pre-established Equipment identification information is matched;
If successful match, the facility information of the terminal device of access is obtained according to matching result.
Preferably, above-mentioned treatment process executes before step 202a and step 202b.
The embodiment of the present invention is not defined the quantity of cache database and storage location.In one implementation Cache database includes facility information cache database and/or characteristic information cache database, and the facility information is data cached Association saves equipment identification information and facility information in library, in the characteristic information data library association save equipment identification information and Apparatus characteristic information.
Wherein, above-mentioned two cache database can be maintained in cloud, can also be stored in local.
During specific implementation, it can be identified simultaneously using the two cache databases, it can also be according to scheduled Execution sequence is successively identified using the two cache databases.
Further, if with the equipment identification information successful match in the facility information cache database, according to matching As a result obtain the facility information of the terminal device implementation can with but be not limited only to: it is data cached from the facility information Facility information of the associated facility information of the equipment identification information as the terminal device is obtained in library;
If obtaining institute according to matching result with the equipment identification information successful match in the characteristic information cache database State the facility information of terminal device implementation can with but be not limited only to: obtain institute from the characteristic information cache database State the associated apparatus characteristic information of equipment identification information;Believed using the equipment feature of the scheduled regularity set to acquisition Breath is matched;If successful match, facility information of the facility information for matching and obtaining as the terminal device is obtained.
In above-mentioned any embodiment for carrying out equipment identification using cache database, using the equipment identification information and Apparatus characteristic information identifies the terminal device, after obtaining the facility information of the terminal device, a kind of realization side In formula, after detecting target information in the facility information, the facility information is associated with equipment identification information and is saved in The facility information cache database in another implementation, detects target information from the facility information, will be described Equipment identification information is associated with the apparatus characteristic information to be saved in the characteristic information cache database.
Preferably, if using above equipment information database successful match, facility information and equipment identification information are closed UNPROFOR is stored to the facility information cache database;If being detected from the facility information using other modes successful match The equipment identification information is associated with the apparatus characteristic information and is saved in the characteristic information cache database by target information In.Wherein, target information can with but be not limited only to be equipment brand, device type and device model.
On the basis of above-mentioned any means embodiment, error correction may be incorporated into.Specifically, if detecting scheduled Error correction trigger condition is triggered, and sends error correction request message to correction process client, includes access in error correction request message The equipment identification information and apparatus characteristic information of the terminal device further include the information for triggering the error correction trigger condition;It connects The correction instruction that the correction process client returns is received, and following at least one behaviour is executed according to the instruction of the correction instruction Make:
At least one confidence level weight adjustment rule is adjusted;
Update the regularity of at least one regularity concentration;
Update at least one mapping ruler.
Wherein, the error correction trigger condition includes following at least one:
Condition 1, access the facility information of the terminal device do not include target information;
Condition 2, the facility information amendment message for receiving destination application feedback, the facility information are corrected in message Carry revised facility information.
Correspondingly, the information of the above-mentioned triggering condition 1 is the incomplete information of facility information that instruction recognizes;
The information of the above-mentioned triggering condition 2 is the incorrect information of facility information that instruction recognizes.
The software architecture for realizing method provided in an embodiment of the present invention is illustrated with a specific embodiment below, it should , it is noted that the software architecture that the embodiment provides is only for example and without limitation, it, can be according to concrete scene in practical application It needs and/or the software architecture of different function module division mode, the embodiment of the present invention is built in the condition of hardware device limitation etc. This is not construed as limiting.
As shown in figure 4, software architecture provided in this embodiment includes following part:
Data acquisition
By taking system shown in FIG. 1 as an example, data acquisition is carried out by router.In this embodiment, data acquisition point For two parts, a part is that data acquire under line, and a part is on-line data acquisition.
Wherein, data acquisition refers to that router persistently makes a reservation for the UA information of the terminal device accessed under line The acquisition of quantity, and by collected UA information reporting to cloud.
Wherein, when on-line data acquisition refers to that terminal device is first connected to router, router acquires the terminal device The multiword segment information of real-time report, such as: mac, hostname, user-agent, op60 etc., and by these information reportings to cloud End is identified.
In the embodiment of the present invention, if cloud is each router independent maintenance cache database, then, for accessing for the first time The terminal device of router, facility information can not appear in cache database, and therefore, router is specifically to adopt online The information reporting collected identifies engine to the online equipment in cloud.If cloud, can be according to multiple roads when safeguarding cache database The recognition result of information is reported to safeguard same cache database by device, then, even if certain terminal device couple in router for the first time A, if but its once elder sister's router B, and cache database is associated with the two routers, then, router can first by Cache database of the information reporting that online acquisition arrives to cloud.
Cloud looks into caching
It is to construct caching query mechanism and cache garbage collection machine based on the cache database pre-established that cloud, which looks into caching mechanism, System.
When receiving the information that router reports, by matching cache database, realization is quick, precisely identifies equipment. At the same time, the caching mechanism of foundation can be effectively prevented reported data inconsequent on the contrary equipment recognition failures situations such as.
If looking into caching mechanism by cloud obtains facility information, facility information Input knowledge library is directly standardized place It manages and exports;Otherwise, information router reported is sent to online recognition engine and continues equipment identifying processing.
Correspondingly, above-mentioned cache garbage collection mechanism refers to, if the facility information that online recognition engine recognizes includes equipment Board, device type and device model report information (mac, hostname, ua etc.) to be saved in cache database for corresponding, To expand cache database.
Engine is identified under line
According to scheduled time cycle (such as using a consecutive days as the period), the UA that will be acquired and stored to cloud under line Information carries out equipment identification, and the facility information recognized and the association of corresponding equipment identification information are saved in facility information number According in library.
Wherein, it may is that UA information by comparing using the implementation that above-mentioned UA information carries out facility information identification, from It is middle to obtain effective UA information;It parses effective UA information and obtains facility information.
Specifically, obtaining the most UA information of number of iterations as effective UA information, the repetition by comparing UA information Quantity refers to the quantity of the identical UA information of the information content.
Wherein, the implementation that parsing effective UA information obtains facility information may is that from effective UA Target keywords are extracted in information;According to the incidence relation of the target keywords and facility information that pre-establish, extraction is obtained Facility information of the associated facility information of target keywords as the terminal device.
Online equipment identifies engine
Online equipment identification engine is that (router is directly reported or looked into through cloud the data information that acquires in real time of receiving router Inputted after caching) it is identified, and recognition result is exported and is standardized to next stage.
Wherein, online equipment identification engine specifically uses following four kinds of equipment identification methods:
Match cognization is carried out based on equipment information database, identifies that obtained facility information includes equipment brand, equipment Type and device model;
Carry out match cognization based on Hostname regularity library, identify obtained facility information include equipment brand and Device type optionally includes device model;
Match cognization is carried out based on UA regularity library, identifies that obtained facility information includes equipment brand and equipment type Number;
Match cognization is carried out based on equipment identification model, identifies that obtained facility information includes equipment brand and equipment class Type.
Wherein, it is obtained based on hostname regularity collection, based on ua regularity collection and/or based on equipment identification model Facility information need to by fusion after export.
Knowledge base
Receive online recognition engine output facility information after, facility information is standardized, and export give before End (destination application) is shown.
Where it is assumed that the facility information of online recognition engine output are as follows: brand: huawei, model: MLA UL00.
By exporting result after standardization: brand: Huawei, model: the awn of wheat 5.
Error correction study
If the recognition result of online recognition engine is wrong, then the information of terminal device can enter " intellectual product-error correction Practise platform ", carry out desk checking.Based on check results, the library that reversely expands knowledge updates hostname and UA regularity library. After Policy Updates, the equipment is identified again, exports correct recognition result.Equipment identification closed loop is consequently formed (to know Error-identification verification-model modification-identification is not accurate).
It should be pointed out that the purpose for carrying out equipment identification is therefore, can be beaten to user's presentation device information in user Destination application (or at related displaying interface of user's invocation target application program) is opened, which issues Facility information request message carries out real-time information collection according to the device request message and equipment identifies.It certainly, is raising exhibition Show speed, can also carry out equipment identification to it, and the facility information recognized is pushed away after the connection of the terminal device of access It gives destination application and is stored in local, destination application is opened up when needing to show from locally facility information is transferred Show.
If being updated by error correction to facility information, then, destination application (i.e. front end) shows updated Facility information.
The embodiment of the present invention also provides a kind of terminal device identifying system, as shown in Figure 5, comprising:
Information acquisition unit 501, for obtaining the device identification of the terminal device of access in terminal device access Information and apparatus characteristic information;
Equipment identifies execution unit 502, for the terminal device using following at least one identification method to access It is identified:
The associated facility information of equipment identification information of the terminal device of access is searched in equipment information database, Obtain facility information of the facility information found as the terminal device accessed;
The apparatus characteristic information is matched using scheduled regularity collection, access is obtained according to matching result The facility information of the terminal device;
Equipment information database updating unit 503, for obtaining the equipment identification information of each terminal device accessed, And a plurality of user agent's information of each terminal device accessed according to scheduled Rule;Using described in acquisition A plurality of user agent's information identifies that each terminal device accessed, each terminal device accessed are set Standby information, and the equipment identification information of each terminal device accessed is associated with to be saved in respective facility information and is set Standby information database.
Optionally, the system also includes:
Standardization unit, for according to scheduled mapping ruler to the facility information of the terminal device of access into Row standardization;
Information output unit, for the terminal device outputting standardization by being equipped with destination application, treated sets Standby information.
Optionally, it in order to be matched using scheduled regularity collection to the apparatus characteristic information, is tied according to matching Fruit obtains the facility information of the terminal device of access, and the equipment identification execution unit is used for:
Using multiple regularity collection respectively to part in the apparatus characteristic information of the terminal device of access or complete Portion's information is matched, and the matching result of each regularity collection is respectively obtained, and the matching result of successful match includes setting Standby information;
If at least one regularity collection successful match, according to the matching result of each regularity collection and scheduled credible Degree power readjustment rule determines the confidence level weight of each matching result;
Each matching result is merged according to the confidence level weight of each matching result, the terminal accessed The facility information of equipment.
Optionally, if it fails to match for all regularity collection, the equipment identification execution unit is also used to:
By the apparatus characteristic information input equipment identification model of the terminal device of access, mould is identified using the equipment The facility information for the terminal device that type is accessed, the equipment identification model are to utilize the training of equipment feature samples information It obtains, the equipment feature samples information includes apparatus characteristic information and the label for indicating facility information.
Optionally, the equipment identification execution unit is also used to:
By the equipment identification information of the terminal device of access and by searching in the cache database pre-established Equipment identification information is matched;
If successful match, the facility information of the terminal device of access is obtained according to matching result.
Optionally, the system also includes error correction units, are used for:
If detecting, scheduled error correction trigger condition is triggered, and sends error correction request message, institute to correction process client The equipment identification information and apparatus characteristic information for stating the terminal device including access in error correction request message further include triggering The information of the error correction trigger condition;
The correction instruction that the correction process client returns is received, and following according to the instruction of correction instruction execution At least one operation:
At least one confidence level weight adjustment rule is adjusted;
Update the regularity of at least one regularity concentration;
Update at least one mapping ruler.
Optionally, the error correction trigger condition includes following at least one:
The facility information of the terminal device of access does not include target information;
The facility information amendment message of destination application feedback is received, carries and repairs in the facility information amendment message Facility information after just.
Optionally, the apparatus characteristic information further includes host name information.
Optionally, the facility information comprises at least one of the following: equipment brand message, device type information, equipment type Number information.
Optionally, the information acquisition unit is used for:
When terminal device accesses for the first time, the equipment identification information and equipment feature letter of the terminal device of access are obtained Breath.
Optionally, in order to obtain the equipment identification information of each terminal device accessed, the equipment information database Updating unit is used for:
Persistently obtain user agent's information of the predetermined quantity of each terminal device accessed.
The embodiment of the present invention also provides a kind of computer system, comprising:
One or more processors;
Memory;
One or more application program, wherein one or more of application programs are stored in the memory and quilt It is configured to be executed by one or more of processors, realizes method described in above-mentioned any embodiment.
The embodiment of the present invention also provides a kind of computer readable storage medium, for being stored as used in above-mentioned computer system Application program instruction.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein. Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments in this include institute in other embodiments Including certain features rather than other feature, but the combination of the feature of different embodiment means in the scope of the present invention Within and form different embodiments.For example, in the following claims, embodiment claimed it is any it One can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice Microprocessor or digital signal processor (DSP) Lai Shixian according to the system in the embodiment of the present invention in some or all portions The some or all functions of part.The present invention is also implemented as a part or complete for executing method as described herein The device or device program (for example, computer program and computer program product) in portion.It is such to realize program of the invention It can store on a computer-readable medium, or may be in the form of one or more signals.Such signal can be with It downloads from internet website, is perhaps provided on the carrier signal or is provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame Claim.
The embodiment of the invention provides:
A1, a kind of terminal device recognition methods, comprising:
In terminal device access, the equipment identification information and apparatus characteristic information of the terminal device of access are obtained;
It is identified using the terminal device of the following at least one identification method to access:
The associated facility information of equipment identification information of the terminal device of access is searched in equipment information database, Obtain facility information of the facility information found as the terminal device accessed;
The apparatus characteristic information is matched using scheduled regularity collection, access is obtained according to matching result The facility information of the terminal device;
The equipment information database updates in the following ways:
Obtain the equipment identification information of each terminal device accessed, and the institute accessed according to scheduled Rule State a plurality of user agent's information of each terminal device;
The each terminal device accessed is identified using a plurality of user agent's information of acquisition, has been accessed Each terminal device facility information, and by the equipment identification information of each terminal device accessed and respectively Facility information association be saved in equipment information database.
A2, according to A1 the method, it is described using following at least one identification method to the terminal device of access into After row identification, the method also includes:
It is standardized according to facility information of the scheduled mapping ruler to the terminal device of access;
Treated by being equipped with the terminal device outputting standardization of destination application facility information.
A3, the method according to A2, it is described using scheduled regularity collection to the apparatus characteristic information carry out Match, the facility information of the terminal device of access obtained according to matching result, comprising:
Using multiple regularity collection respectively to part in the apparatus characteristic information of the terminal device of access or complete Portion's information is matched, and the matching result of each regularity collection is respectively obtained, and the matching result of successful match includes setting Standby information;
If at least one regularity collection successful match, according to the matching result of each regularity collection and scheduled credible Degree power readjustment rule determines the confidence level weight of each matching result;
Each matching result is merged according to the confidence level weight of each matching result, the terminal accessed The facility information of equipment.
A4, method according to a3, if it fails to match for all regularity collection, to the terminal device of access into Row is known otherwise further include:
By the apparatus characteristic information input equipment identification model of the terminal device of access, mould is identified using the equipment The facility information for the terminal device that type is accessed, the equipment identification model are to utilize the training of equipment feature samples information It obtains, the equipment feature samples information includes apparatus characteristic information and the label for indicating facility information.
A5, method according to a3 identify the terminal device of access, further includes:
By the equipment identification information of the terminal device of access and by searching in the cache database pre-established Equipment identification information is matched;
If successful match, the facility information of the terminal device of access is obtained according to matching result.
A6, method according to a5, the method also includes:
If detecting, scheduled error correction trigger condition is triggered, and sends error correction request message, institute to correction process client The equipment identification information and apparatus characteristic information for stating the terminal device including access in error correction request message further include triggering The information of the error correction trigger condition;
The correction instruction that the correction process client returns is received, and following according to the instruction of correction instruction execution At least one operation:
At least one confidence level weight adjustment rule is adjusted;
Update the regularity of at least one regularity concentration;
Update at least one mapping ruler.
A7, the method according to A6, the error correction trigger condition includes following at least one:
The facility information of the terminal device of access does not include target information;
The facility information amendment message of destination application feedback is received, carries and repairs in the facility information amendment message Facility information after just.
A8, according to the described in any item methods of A1-A7, the apparatus characteristic information includes user agent's information and/or master Machine name information.
A9, according to the described in any item methods of A1-A7, the facility information comprises at least one of the following: equipment brand letter Breath, device type information, device model information.
A10, according to the described in any item methods of A1-A7, it is described in terminal device access, obtain the terminal of access The equipment identification information and apparatus characteristic information of equipment, comprising:
When terminal device accesses for the first time, the equipment identification information and equipment feature letter of the terminal device of access are obtained Breath.
A11, according to the described in any item methods of A1-A7, it is described accessed according to scheduled Rule it is described each A plurality of user agent's information of terminal device, comprising:
Persistently obtain user agent's information of the predetermined quantity of each terminal device accessed.
B12, a kind of terminal device identifying system, comprising:
Information acquisition unit, in terminal device access, obtaining the device identification letter of the terminal device of access Breath and apparatus characteristic information;
Equipment identifies execution unit, for being carried out using the terminal device of the following at least one identification method to access Identification:
The associated facility information of equipment identification information of the terminal device of access is searched in equipment information database, Obtain facility information of the facility information found as the terminal device accessed;
The apparatus characteristic information is matched using scheduled regularity collection, access is obtained according to matching result The facility information of the terminal device;
Equipment information database updating unit, for obtaining the equipment identification information of each terminal device accessed, and According to a plurality of user agent's information for each terminal device that scheduled Rule has accessed;Utilize the described more of acquisition User agent's information identifies each terminal device accessed, the equipment of each terminal device accessed Information, and the equipment identification information of each terminal device accessed is associated with respective facility information and is saved in equipment Information database.
B13, the system according to B12, the system also includes:
Standardization unit, for according to scheduled mapping ruler to the facility information of the terminal device of access into Row standardization;
Information output unit, for the terminal device outputting standardization by being equipped with destination application, treated sets Standby information.
B14, system according to b13, in order to be carried out using scheduled regularity collection to the apparatus characteristic information Matching obtains the facility information of the terminal device of access according to matching result, and the equipment identification execution unit is used for:
Using multiple regularity collection respectively to part in the apparatus characteristic information of the terminal device of access or complete Portion's information is matched, and the matching result of each regularity collection is respectively obtained, and the matching result of successful match includes setting Standby information;
If at least one regularity collection successful match, according to the matching result of each regularity collection and scheduled credible Degree power readjustment rule determines the confidence level weight of each matching result;
Each matching result is merged according to the confidence level weight of each matching result, the terminal accessed The facility information of equipment.
B15, system according to b14, if it fails to match for all regularity collection, the equipment identifies execution unit It is also used to:
By the apparatus characteristic information input equipment identification model of the terminal device of access, mould is identified using the equipment The facility information for the terminal device that type is accessed, the equipment identification model are to utilize the training of equipment feature samples information It obtains, the equipment feature samples information includes apparatus characteristic information and the label for indicating facility information.
B16, the system according to B15, the equipment identification execution unit are also used to:
By the equipment identification information of the terminal device of access and by searching in the cache database pre-established Equipment identification information is matched;
If successful match, the facility information of the terminal device of access is obtained according to matching result.
B17, the system according to B16, the system also includes error correction units, are used for:
If detecting, scheduled error correction trigger condition is triggered, and sends error correction request message, institute to correction process client The equipment identification information and apparatus characteristic information for stating the terminal device including access in error correction request message further include triggering The information of the error correction trigger condition;
The correction instruction that the correction process client returns is received, and following according to the instruction of correction instruction execution At least one operation:
At least one confidence level weight adjustment rule is adjusted;
Update the regularity of at least one regularity concentration;
Update at least one mapping ruler.
B18, the system according to B17, the error correction trigger condition includes following at least one:
The facility information of the terminal device of access does not include target information;
The facility information amendment message of destination application feedback is received, carries and repairs in the facility information amendment message Facility information after just.
B19, according to the described in any item systems of B12-B18, the apparatus characteristic information further includes host name information.
B20, according to the described in any item systems of B12-B18, the facility information comprises at least one of the following: equipment brand Information, device type information, device model information.
B21, according to the described in any item systems of B12-B18, the information acquisition unit is used for:
When terminal device accesses for the first time, the equipment identification information and equipment feature letter of the terminal device of access are obtained Breath.
B22, according to the described in any item systems of B12-B18, in order to obtain the equipment mark of each terminal device accessed Know information, the equipment information database updating unit is used for:
Persistently obtain user agent's information of the predetermined quantity of each terminal device accessed.
C23, a kind of computer system, comprising:
One or more processors;
Memory;
One or more application program, wherein one or more of application programs are stored in the memory and quilt It is configured to be executed by one or more of processors, realizes such as the described in any item methods of A1-A11.
D24, a kind of computer readable storage medium are answered used in computer system described in above-mentioned C23 for being stored as With the instruction of program.

Claims (10)

1. a kind of terminal device recognition methods characterized by comprising
In terminal device access, the equipment identification information and apparatus characteristic information of the terminal device of access are obtained;
It is identified using the terminal device of the following at least one identification method to access:
The associated facility information of equipment identification information of the terminal device of access is searched in equipment information database, is obtained Facility information of the facility information found as the terminal device of access;
The apparatus characteristic information is matched using scheduled regularity collection, is obtained according to matching result described in accessing The facility information of terminal device;
The equipment information database updates in the following ways:
The equipment identification information of each terminal device accessed is obtained, and has been accessed according to scheduled Rule described each A plurality of user agent's information of a terminal device;
The each terminal device accessed, the institute accessed are identified using a plurality of user agent's information of acquisition The facility information of each terminal device is stated, and the equipment identification information of each terminal device accessed is set with respective Standby information association is saved in equipment information database.
2. method according to claim 1, which is characterized in that it is described using following at least one identification method to the institute of access It states after terminal device identified, the method also includes:
It is standardized according to facility information of the scheduled mapping ruler to the terminal device of access;
Treated by being equipped with the terminal device outputting standardization of destination application facility information.
3. according to the method described in claim 2, it is characterized in that, described special to the equipment using scheduled regularity collection Reference breath is matched, and the facility information of the terminal device of access is obtained according to matching result, comprising:
Believed respectively some or all of in the apparatus characteristic information of the terminal device of access using multiple regularity collection Breath is matched, and the matching result of each regularity collection is respectively obtained, and the matching result of successful match includes equipment letter Breath;
If at least one regularity collection successful match, weighed according to the matching result of each regularity collection and scheduled confidence level Readjustment rule determines the confidence level weight of each matching result;
Each matching result is merged according to the confidence level weight of each matching result, the terminal device accessed Facility information.
4. according to the method described in claim 3, it is characterized in that, if all regularity collection it fails to match, to access The terminal device is known otherwise further include:
By the apparatus characteristic information input equipment identification model of the terminal device of access, obtained using the equipment identification model To the facility information of the terminal device of access, the equipment identification model is obtained using the training of equipment feature samples information , the equipment feature samples information includes apparatus characteristic information and the label for indicating facility information.
5. according to the method described in claim 3, it is characterized in that, the terminal device to access identifies, further includes:
By the equipment identification information of the terminal device of access and by searching for the equipment in the cache database pre-established Identification information is matched;
If successful match, the facility information of the terminal device of access is obtained according to matching result.
6. according to the method described in claim 5, it is characterized in that, the method also includes:
If detecting, scheduled error correction trigger condition is triggered, and sends error correction request message to correction process client, described to entangle Include the equipment identification information and apparatus characteristic information of the terminal device of access in wrong request message, further includes described in triggering The information of error correction trigger condition;
The correction instruction that the correction process client returns is received, and following at least according to the instruction of correction instruction execution A kind of operation:
At least one confidence level weight adjustment rule is adjusted;
Update the regularity of at least one regularity concentration;
Update at least one mapping ruler.
7. according to the method described in claim 6, it is characterized in that, the error correction trigger condition includes following at least one:
The facility information of the terminal device of access does not include target information;
The facility information amendment message of destination application feedback is received, after carrying amendment in the facility information amendment message Facility information.
8. a kind of terminal device identifying system characterized by comprising
Information acquisition unit, for terminal device access when, obtain the terminal device of access equipment identification information and Apparatus characteristic information;
Equipment identifies execution unit, for being known using following at least one identification method to the terminal device of access Other:
The associated facility information of equipment identification information of the terminal device of access is searched in equipment information database, is obtained Facility information of the facility information found as the terminal device of access;
The apparatus characteristic information is matched using scheduled regularity collection, is obtained according to matching result described in accessing The facility information of terminal device;
Equipment information database updating unit, for obtaining the equipment identification information of each terminal device accessed, and according to The a plurality of user agent's information for each terminal device that scheduled Rule has accessed;Utilize a plurality of use of acquisition Family proxy information identifies each terminal device accessed, the equipment letter of each terminal device accessed Breath, and the equipment identification information of each terminal device accessed is associated with respective facility information and is saved in equipment letter Cease database.
9. a kind of computer system characterized by comprising
One or more processors;
Memory;
One or more application program, wherein one or more of application programs are stored in the memory and are configured To be executed by one or more of processors, the method according to claim 1 to 7 is realized.
10. a kind of computer readable storage medium, which is characterized in that for being stored as computer described in the claims 9 The instruction of application program used in system.
CN201910186331.1A 2019-03-12 2019-03-12 Terminal equipment identification method, system and storage medium Active CN109905293B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910186331.1A CN109905293B (en) 2019-03-12 2019-03-12 Terminal equipment identification method, system and storage medium
PCT/CN2019/130735 WO2020181897A1 (en) 2019-03-12 2019-12-31 Terminal device identification method, system, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910186331.1A CN109905293B (en) 2019-03-12 2019-03-12 Terminal equipment identification method, system and storage medium

Publications (2)

Publication Number Publication Date
CN109905293A true CN109905293A (en) 2019-06-18
CN109905293B CN109905293B (en) 2021-06-08

Family

ID=66946966

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910186331.1A Active CN109905293B (en) 2019-03-12 2019-03-12 Terminal equipment identification method, system and storage medium

Country Status (2)

Country Link
CN (1) CN109905293B (en)
WO (1) WO2020181897A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110418174A (en) * 2019-07-26 2019-11-05 秒针信息技术有限公司 Determination method, apparatus, electronic equipment and the storage medium of terminal equipment type
CN111107064A (en) * 2019-12-04 2020-05-05 北京奇虎科技有限公司 Terminal equipment identification method, device, equipment and readable storage medium
CN111131178A (en) * 2019-12-04 2020-05-08 北京奇虎科技有限公司 Terminal equipment identification method, device, equipment and computer storage medium
CN111177483A (en) * 2019-12-04 2020-05-19 北京奇虎科技有限公司 Terminal device identification method, device and computer readable storage medium
CN111324327A (en) * 2020-02-20 2020-06-23 华为技术有限公司 Screen projection method and terminal equipment
WO2020181897A1 (en) * 2019-03-12 2020-09-17 北京奇虎科技有限公司 Terminal device identification method, system, and storage medium
CN112039729A (en) * 2020-08-28 2020-12-04 中移(杭州)信息技术有限公司 Device identification method, server, electronic device, and storage medium
CN113162824A (en) * 2021-04-13 2021-07-23 深圳市奇虎智能科技有限公司 Method, system, storage medium and computer equipment for identifying equipment under sub-routing by router

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610264A (en) * 2009-07-24 2009-12-23 深圳市永达电子股份有限公司 The management method of a kind of firewall system, safety service platform and firewall system
CN102223255A (en) * 2011-07-05 2011-10-19 迈普通信技术股份有限公司 Method and system for quickly synchronizing information of network management system and network equipment based on simple network management protocol (SNMP)
CN102857493A (en) * 2012-06-30 2013-01-02 华为技术有限公司 Content filtering method and device
CN103475577A (en) * 2013-09-29 2013-12-25 小米科技有限责任公司 Method, device and network equipment for obtaining characteristic information
CN103533060A (en) * 2013-10-17 2014-01-22 华为技术有限公司 Processing method and device of local proxy
CN104639667A (en) * 2014-12-31 2015-05-20 北京奇虎科技有限公司 Equipment identification method, equipment identification device and equipment identification system based on MAC address
CN105338023A (en) * 2014-07-11 2016-02-17 北京华为数字技术有限公司 Intelligent equipment control method, apparatus and system
CN105636195A (en) * 2014-11-04 2016-06-01 中兴通讯股份有限公司 Terminal position information acquisition method, apparatus and system
CN106330520A (en) * 2015-07-02 2017-01-11 中兴通讯股份有限公司 Method and device of extracting feature information of terminal equipment
CN107301192A (en) * 2016-04-14 2017-10-27 中国移动通信集团河北有限公司 A kind of terminal identification method and identification server
CN108363811A (en) * 2018-03-09 2018-08-03 北京京东金融科技控股有限公司 Device identification method and device, electronic equipment, storage medium
WO2018170916A1 (en) * 2017-03-24 2018-09-27 Motorola Mobility Llc Pucch format indication and resource allocation
CN108737333A (en) * 2017-04-17 2018-11-02 腾讯科技(深圳)有限公司 A kind of data detection method and device
CN109117172A (en) * 2017-06-23 2019-01-01 中国移动通信集团广东有限公司 A kind of method and device of the terminal versions number identification of target terminal
CN109246163A (en) * 2017-07-10 2019-01-18 中国电信股份有限公司 End message recognition methods and device
CN109309728A (en) * 2018-10-26 2019-02-05 金蝶软件(中国)有限公司 A kind of data processing method and relevant apparatus

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106712986A (en) * 2015-07-31 2017-05-24 深圳触云科技有限公司 Method of recognizing intelligent terminal
US10375194B2 (en) * 2015-10-30 2019-08-06 The Nielsen Company (Us), Llc Methods and apparatus to prevent illicit proxy communications from affecting a monitoring result
CN107578272A (en) * 2017-08-10 2018-01-12 上海斐讯数据通信技术有限公司 A kind of method and device for kinsfolk's portrait
CN109905293B (en) * 2019-03-12 2021-06-08 北京奇虎科技有限公司 Terminal equipment identification method, system and storage medium

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610264A (en) * 2009-07-24 2009-12-23 深圳市永达电子股份有限公司 The management method of a kind of firewall system, safety service platform and firewall system
CN102223255A (en) * 2011-07-05 2011-10-19 迈普通信技术股份有限公司 Method and system for quickly synchronizing information of network management system and network equipment based on simple network management protocol (SNMP)
CN102857493A (en) * 2012-06-30 2013-01-02 华为技术有限公司 Content filtering method and device
CN103475577A (en) * 2013-09-29 2013-12-25 小米科技有限责任公司 Method, device and network equipment for obtaining characteristic information
CN103533060A (en) * 2013-10-17 2014-01-22 华为技术有限公司 Processing method and device of local proxy
CN105338023A (en) * 2014-07-11 2016-02-17 北京华为数字技术有限公司 Intelligent equipment control method, apparatus and system
CN105636195A (en) * 2014-11-04 2016-06-01 中兴通讯股份有限公司 Terminal position information acquisition method, apparatus and system
CN104639667A (en) * 2014-12-31 2015-05-20 北京奇虎科技有限公司 Equipment identification method, equipment identification device and equipment identification system based on MAC address
CN106330520A (en) * 2015-07-02 2017-01-11 中兴通讯股份有限公司 Method and device of extracting feature information of terminal equipment
CN107301192A (en) * 2016-04-14 2017-10-27 中国移动通信集团河北有限公司 A kind of terminal identification method and identification server
WO2018170916A1 (en) * 2017-03-24 2018-09-27 Motorola Mobility Llc Pucch format indication and resource allocation
CN108737333A (en) * 2017-04-17 2018-11-02 腾讯科技(深圳)有限公司 A kind of data detection method and device
CN109117172A (en) * 2017-06-23 2019-01-01 中国移动通信集团广东有限公司 A kind of method and device of the terminal versions number identification of target terminal
CN109246163A (en) * 2017-07-10 2019-01-18 中国电信股份有限公司 End message recognition methods and device
CN108363811A (en) * 2018-03-09 2018-08-03 北京京东金融科技控股有限公司 Device identification method and device, electronic equipment, storage medium
CN109309728A (en) * 2018-10-26 2019-02-05 金蝶软件(中国)有限公司 A kind of data processing method and relevant apparatus

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
TJOKORDA AGUNG BUDI WIRAYUDA: "Implementation of feature extraction based hand geometry in biometric identification system", 《2013 2ND IAPR ASIAN CONFERENCE ON PATTERN RECOGNITION》 *
毕浩然: "基于设备识别的网络扫描工具Kscan的设计与实现", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020181897A1 (en) * 2019-03-12 2020-09-17 北京奇虎科技有限公司 Terminal device identification method, system, and storage medium
CN110418174A (en) * 2019-07-26 2019-11-05 秒针信息技术有限公司 Determination method, apparatus, electronic equipment and the storage medium of terminal equipment type
CN110418174B (en) * 2019-07-26 2021-07-27 秒针信息技术有限公司 Method and device for determining type of terminal equipment, electronic equipment and storage medium
CN111107064A (en) * 2019-12-04 2020-05-05 北京奇虎科技有限公司 Terminal equipment identification method, device, equipment and readable storage medium
CN111131178A (en) * 2019-12-04 2020-05-08 北京奇虎科技有限公司 Terminal equipment identification method, device, equipment and computer storage medium
CN111177483A (en) * 2019-12-04 2020-05-19 北京奇虎科技有限公司 Terminal device identification method, device and computer readable storage medium
CN111107064B (en) * 2019-12-04 2022-07-12 北京奇虎科技有限公司 Terminal equipment identification method, device, equipment and readable storage medium
CN111324327A (en) * 2020-02-20 2020-06-23 华为技术有限公司 Screen projection method and terminal equipment
CN112039729A (en) * 2020-08-28 2020-12-04 中移(杭州)信息技术有限公司 Device identification method, server, electronic device, and storage medium
CN113162824A (en) * 2021-04-13 2021-07-23 深圳市奇虎智能科技有限公司 Method, system, storage medium and computer equipment for identifying equipment under sub-routing by router

Also Published As

Publication number Publication date
CN109905293B (en) 2021-06-08
WO2020181897A1 (en) 2020-09-17

Similar Documents

Publication Publication Date Title
CN109905293A (en) A kind of terminal device recognition methods, system and storage medium
US10237295B2 (en) Automated event ID field analysis on heterogeneous logs
CN109951354A (en) A kind of terminal device recognition methods, system and storage medium
CN110032575A (en) Data query method, apparatus, equipment and storage medium
US9483386B2 (en) Information interaction test device and method based on automatic generation of associated test cases
EP2172839A1 (en) Methods for identifying and/or analyzing concepts and systems thereof
CN108090064A (en) A kind of data query method, apparatus, data storage server and system
US10963888B2 (en) Payment complaint method, device, server and readable storage medium
CN105893097A (en) Method and device for processing option information of BIOS (basic input output system)
CN110276074B (en) Distributed training method, device, equipment and storage medium for natural language processing
CN109905292A (en) A kind of terminal device recognition methods, system and storage medium
KR20190095099A (en) Transaction system error detection method, apparatus, storage medium and computer device
CN112269706B (en) Interface parameter verification method, device, electronic equipment and computer readable medium
CN110222028A (en) A kind of data managing method, device, equipment and storage medium
CN111881042A (en) Automatic test script generation method and device and electronic equipment
CN105302556B (en) Realize the method and system and server unit calculated
KR20220108190A (en) Subscription data push method and apparatus in Internet of Things, device and storage medium
CN111475468A (en) Log access method, device, equipment and storage medium of newly added system
CN111061733A (en) Data processing method and device, electronic equipment and computer readable storage medium
CN109213782A (en) Configuration, display methods, device and the communication equipment of search interface
CN114968822A (en) Interface testing method and device, computer equipment and storage medium
CN110471708B (en) Method and device for acquiring configuration items based on reusable components
EP4196952A1 (en) Universal blockchain data model
CN113190562A (en) Report generation method and device and electronic equipment
CN112835494A (en) Voice recognition result error correction method and device

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
GR01 Patent grant
GR01 Patent grant