CN104134033B - A kind of method and device for recognizing user equipment - Google Patents

A kind of method and device for recognizing user equipment Download PDF

Info

Publication number
CN104134033B
CN104134033B CN201410367965.4A CN201410367965A CN104134033B CN 104134033 B CN104134033 B CN 104134033B CN 201410367965 A CN201410367965 A CN 201410367965A CN 104134033 B CN104134033 B CN 104134033B
Authority
CN
China
Prior art keywords
user equipment
hardware information
device type
cloud server
driving configuration
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.)
Expired - Fee Related
Application number
CN201410367965.4A
Other languages
Chinese (zh)
Other versions
CN104134033A (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.)
Guangzhou Cheetah Network Technology Co ltd
Original Assignee
Kingsoft Guangzhou Network 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 Kingsoft Guangzhou Network Technology Co Ltd filed Critical Kingsoft Guangzhou Network Technology Co Ltd
Priority to CN201410367965.4A priority Critical patent/CN104134033B/en
Publication of CN104134033A publication Critical patent/CN104134033A/en
Application granted granted Critical
Publication of CN104134033B publication Critical patent/CN104134033B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/90335Query processing

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a kind of method for recognizing user equipment, including:The driving configuration documentation of the first user equipment is obtained, and judges whether include default keyword in the driving configuration documentation, if, it is determined that the type of first user equipment is the target device type corresponding to the default keyword;Obtain the hardware information in the driving configuration documentation of first user equipment;Hardware information in the target device type and the driving configuration documentation is uploaded into cloud server, so that the device type of other user equipmenies is identified as the target device type by the cloud server when it is determined that the hardware information of other user equipmenies is identical with the hardware information in the driving configuration documentation.Correspondingly, the embodiment of the invention also discloses a kind of device for recognizing user equipment.Using the present invention, it is possible to achieve recognize the device type of unknown subscriber's equipment by cloud server.

Description

A kind of method and device for recognizing user equipment
Technical field
The present invention relates to field of computer technology, more particularly to a kind of method and device for recognizing user equipment.
Background technology
With continuing to develop for electronic technology, increasing electronic equipment arises at the historic moment, wherein, such as smart mobile phone, flat The electronic equipment of plate computer, MP3 player, electronic reader and handheld device etc. can set up cable modem with PC Letter, to realize data transfer.Pass through data wire, such as USB (Universal Serial Bus, general string in above-mentioned electronic equipment Row bus) data wire, during connection PC, if PC can recognize that the type of electronic equipment, user will be significantly improved Experience, such as user by smart mobile phone by USB data line grafting PC after, PC can recognize that its be intelligence Can mobile phone.
Wherein, user by electronic equipment by after data wire grafting PC, it is necessary in electronic equipment and PC Set up under conditions of data communication, such as mobile phone and PC enter under conditions of mobile phone debugging mode, and PC could be known Do not go out the type of electronic equipment, still, in general, data can't be voluntarily set up after electronic device docking PC Communication, cause in this condition PC can not recognize the device type of electronic equipment, reduce the experience of user.
The content of the invention
Technical problem to be solved of the embodiment of the present invention is that there is provided a kind of method and dress for recognizing user equipment Put, it is possible to achieve the device type of unknown subscriber's equipment is recognized by cloud server, with recognition speed is fast and degree of accuracy height The characteristics of, lift the experience of user.
In order to solve the above-mentioned technical problem, the embodiments of the invention provide a kind of method for recognizing user equipment, including:
The driving configuration documentation of the first user equipment is obtained, and whether is judged in the driving configuration documentation including default Keyword, if, it is determined that the type of first user equipment is the target device class corresponding to the default keyword Type;
Obtain the hardware information in the driving configuration documentation of first user equipment;
Hardware information in the target device type and the driving configuration documentation is uploaded into cloud server, so that The cloud server is it is determined that the hardware information and the hardware information in the driving configuration documentation of other user equipmenies When identical, the device type of other user equipmenies is identified as the target device type.
Correspondingly, the embodiment of the present invention additionally provides a kind of device for recognizing user equipment, including:
Document acquisition module, for obtaining the driving configuration documentation of the first user equipment, and judges the driving configuration text Whether include default keyword in shelves, if, it is determined that the type of first user equipment is the default keyword Corresponding target device type;
Data obtaining module, the hardware information in driving configuration documentation for obtaining first user equipment;
Information uploading module, for the hardware information in the target device type and the driving configuration documentation to be uploaded To cloud server, so that the cloud server is it is determined that the hardware information and the driving configuration documentation of other user equipmenies In the hardware information it is identical when, the device type of other user equipmenies is identified as the target device type.
Implement the embodiment of the present invention, have the advantages that:The embodiment of the present invention is according to the first user equipment of lookup Driving configuration documentation in keyword, determine the target device type of the first user equipment, then obtain the first user equipment The hardware information in configuration documentation is driven, and the hardware in the target device type of determination and the driving configuration documentation obtained is believed Breath uploads to cloud server to associate preservation, it is possible to achieve after other unknown user equipment grafting PCs, even if The user equipment does not set up data communication with PC, only knows the user equipment in the driving configuration documentation of PC Hardware information under the conditions of, the device type of user equipment can be also identified by cloud server, with recognition speed it is fast and The characteristics of degree of accuracy is high, lifts the experience of user.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of method for recognizing user equipment provided in an embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the method for another identification user equipment provided in an embodiment of the present invention;
Fig. 3 is a kind of structural representation of device for recognizing user equipment provided in an embodiment of the present invention;
Fig. 4 is a kind of demonstration schematic diagram of driving configuration documentation provided in an embodiment of the present invention;
Fig. 5 is a kind of content schematic diagram of driving configuration documentation provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
The user equipment provided in the embodiment of the present invention includes smart mobile phone, tablet personal computer, MP3 player, electronic reading The electronic equipment of device and handheld device etc., can set up wire communication with PC, to realize data transfer.It may be noted that , the first user equipment and second user equipment in the embodiment of the present invention are two different above-mentioned user equipmenies.
The device of the identification user equipment provided in the embodiment of the present invention, hereinafter referred to as " apparatus of the present invention ", including individual Computer is built in PC.The cloud server provided in the embodiment of the present invention is located in internet or after LAN Platform, can store and exchange data.
Fig. 1 is a kind of schematic flow sheet for the method for recognizing user equipment in the embodiment of the present invention.This implementation as shown in the figure The flow of the method for identification user equipment in example can include:
S101, obtains the driving configuration documentation of the first user equipment, and judges whether include in the driving configuration documentation Default keyword, if, it is determined that the type of first user equipment is the target corresponding to the default keyword Device type.
The driving configuration documentation can be INF (Device INFormation, the activation bit) texts of Windows systems Part, in Windows systems, INF files are often used as suffix name using " .inf ".INF files include hardware device information or Script is to control hardware operation, and that specify the driving of hardware device, how this is installed in system, installed in which file And how itself relevant information etc. is added in registration table.Wherein, above-mentioned hardware device can include the outside of PC Equipment, such as camera and microphone.It is pointed out that the user equipment that data communication can be set up with PC is generally comprised There is said external equipment, such as smart mobile phone just includes camera.Usually, only it is mounted with that hardware is set on PC After standby driver, hardware device can just be recognized by PC.
Optionally, the driving configuration documentation of the first user equipment can be previously generated by the following method:Apparatus of the present invention Data wire foundation and the communication connection of the first user equipment are first passed through, then passes through communication connection the first user equipment of installation of foundation Driver to generate the driving configuration documentation of the first user equipment.It is pointed out that the driving journey of the first user equipment Sequence includes the driver of the various hardware devices in the first user equipment, and the driver of such as smart mobile phone includes having shooting The driver of the hardware devices such as head, microphone and memory.In addition, apparatus of the present invention are installing the first user equipment After driver, the driving configuration documentation of the first user equipment will be automatically generated.For example, referring to a kind of drive shown in Fig. 4 The demonstration schematic diagram of dynamic configuration documentation, after the driver of Samsung mobile phone is installed, it will given birth to automatically in equipment manager Into " SANSUNG Mobile USB Composite Device ", wherein " SANSUNG Mobile USB Composite Device " includes the driving configuration documentation " oem61.inf " of Samsung mobile phone.
Specifically, apparatus of the present invention obtain the driving configuration documentation of the first user equipment, and judge in driving configuration documentation Whether default keyword is included, if, it is determined that the type of the first user equipment is the target corresponding to default keyword Device type.It is pointed out that default keyword at least one, and each default keyword has corresponding target , usually, only there is a default keyword in device type in the driving configuration documentation of same user equipment.
During implementing, still by taking the driving configuration documentation " oem61.inf " of Samsung mobile phone as an example, referring to Fig. 5, figure 5 be the part selected parts content in the driving configuration documentation " oem61.inf " of Samsung mobile phone, where it is assumed that default in the presence of one Keyword is " Mobile ", and corresponding target device type is " mobile phone ", then apparatus of the present invention are by searching for driving configuration text Shelves understand that driving configuration documentation includes default keyword " Mobile ", and then determine that the first user equipment is mobile phone.Need , it is noted that default keyword and the corresponding target device type of keyword can be stored in the keyword number of apparatus of the present invention According in storehouse, keyword database can be constantly updated by internet.
S102, obtains the hardware information in the driving configuration documentation of first user equipment.
The hardware information includes VID (Vendor Identification, production firm's identification information), PID (Product Identification, product identification information) or SN (Serial Number, sequence number) etc..Usually, user In the driving configuration documentation of equipment in addition to recording the hardware information of hardware device of itself, it can also record same type of other Whole hardware informations of the hardware device of user equipment.
Specifically, apparatus of the present invention obtain the hardware information in the driving configuration documentation of the first user equipment.
During implementing, still by taking the driving configuration documentation " oem61.inf " of Samsung mobile phone as an example, referring to Fig. 5, false If some hardware device corresponding VID and PID of Samsung mobile phone be figure shown in " USB VID_04E8&PID_6860 ", that Driving configuration documentation can also find other hardware devices corresponding VID and PID, for example " USB VID_04E8&PID_ 6861 " etc., whole VID and PID that apparatus of the present invention will be obtained in driving configuration documentation.
S103, cloud service is uploaded to by the hardware information in the target device type and the driving configuration documentation Device, so that the cloud server is it is determined that described hard in the hardware information and the driving configuration documentation of other user equipmenies When part information is identical, the device type of other user equipmenies is identified as the target device type.
Specifically, apparatus of the present invention are by the target device type of the first user equipment of determination and the configuration documentation obtained Hardware information upload to cloud server, the target device type is associated preservation with hardware information, works as cloud by cloud server When end server gets the hardware information of other user equipmenies, however, it is determined that the hardware information of other user equipmenies and the first user The hardware information of equipment is identical, then this user equipment can be identified as into target device type.It is pointed out that cloud service The target device type and hardware information that device association is preserved have multigroup, can be uploaded by multiple different apparatus of the present invention, similarly, its The hardware information of its user equipment can also be uploaded by multiple different apparatus of the present invention.
During implementing, still by taking the driving configuration documentation " oem61.inf " of Samsung mobile phone as an example, referring to Fig. 5, false If A devices obtain the hardware information of other hardware devices in the driving configuration documentation of Samsung mobile phone, for example " USB VID_ 04E8&PID_6861 ", and uploaded to cloud server, cloud server will " USB VID_04E8&PID_6861 " and " mobile phone " association is preserved, hereafter, and one unknown user equipment of grafting on B devices, B devices obtain the unknown user equipment Hardware information " after USB VID_04E8&PID_6861 ", uploaded to cloud server, then cloud server will be sent out Existing unknown user equipment hardware information " USB VID_04E8&PID_6861 " and " mobile phone " be associated, therefore can be true The type of fixed unknown user equipment is mobile phone.
Further alternative, the type of the user equipment of determination can be returned to apparatus of the present invention, this hair by cloud server Bright device, which is pushed, is shown to user, so that user knows the type of the user equipment of grafting.
The embodiment of the present invention determines the first use according to the keyword driven in configuration documentation of the first user equipment of lookup The target device type of family equipment, then the hardware information in the driving configuration documentation of the first user equipment is obtained, and by determination Target device type uploads to cloud server to associate preservation, Ke Yishi with the hardware information in the driving configuration documentation obtained After present other unknown user equipment grafting PCs, even if the user equipment does not set up data communication with PC, Only know under the conditions of hardware information of the user equipment in the driving configuration documentation of PC, can also pass through cloud server The device type of user equipment is identified, with recognition speed is fast and the characteristics of the high degree of accuracy, the experience of lifting user.
Fig. 2 is the schematic flow sheet of the method for another identification user equipment in the embodiment of the present invention, can be included:
S201, the communication connection with the first user equipment is set up by data wire.
The data wire can be USB data line.Specifically, apparatus of the present invention can be set up and first by USB data line The communication connection of user equipment.
S202, installs the driver of first user equipment to generate the first use by the communication connection of foundation The driving configuration documentation of family equipment.
The driving configuration documentation can be INF (Device INFormation, the activation bit) texts of Windows systems Part, in Windows systems, INF files are often used as suffix name using " .inf ".INF files include hardware device information or Script is to control hardware operation, and that specify the driving of hardware device, how this is installed in system, installed in which file And how itself relevant information etc. is added in registration table.Wherein, above-mentioned hardware device can include the outside of PC Equipment, such as camera and microphone.It is pointed out that the user equipment that data communication can be set up with PC is generally comprised There is said external equipment, such as smart mobile phone just includes camera.Usually, only it is mounted with that hardware is set on PC After standby driver, hardware device can just be recognized by PC.
It is pointed out that the driver of the first user equipment includes the various hardware devices in the first user equipment Driver, the driving of hardware device such as the driver of smart mobile phone includes having camera, microphone and memory Program.In addition, apparatus of the present invention are after the driver of the first user equipment is installed, the first user equipment will be automatically generated Driving configuration documentation.For example, refer to a kind of demonstration schematic diagram of driving configuration documentation shown in Fig. 4, when installing Samsung After the driver of mobile phone, it will " SANSUNG Mobile USB Composite are automatically generated in equipment manager Device ", wherein " SANSUNG Mobile USB Composite Device " include the driving configuration documentation of Samsung mobile phone “oem61.inf”。
S203, obtains the driving configuration documentation of the first user equipment, and judges whether include in the driving configuration documentation Default keyword, if, it is determined that the type of first user equipment is the target corresponding to the default keyword Device type.
Specifically, apparatus of the present invention obtain the driving configuration documentation of the first user equipment, and judge in driving configuration documentation Whether default keyword is included, if, it is determined that the type of the first user equipment is the target corresponding to default keyword Device type.It is pointed out that default keyword at least one, and each default keyword has corresponding target , usually, only there is a default keyword in device type in the driving configuration documentation of same user equipment.
During implementing, still by taking the driving configuration documentation " oem61.inf " of Samsung mobile phone as an example, referring to Fig. 5, figure 5 be the part selected parts content in the driving configuration documentation " oem61.inf " of Samsung mobile phone, where it is assumed that default in the presence of one Keyword is " Mobile ", and corresponding target device type is " mobile phone ", then apparatus of the present invention are by searching for driving configuration text Shelves understand that driving configuration documentation includes default keyword " Mobile ", and then determine that the first user equipment is mobile phone.Need , it is noted that default keyword and the corresponding target device type of keyword can be stored in the keyword number of apparatus of the present invention According in storehouse, keyword database can be constantly updated by internet.
S204, obtains the hardware information in the driving configuration documentation of first user equipment.
The hardware information includes VID (Vendor Identification, production firm's identification information), PID (Product Identification, product identification information) and SN (Serial Number, sequence number) etc. one of which or It is a variety of.Usually, it can also remember in addition to recording the hardware information of hardware device of itself in the driving configuration documentation of user equipment Record the hardware information of the hardware device of same type of other user equipmenies.
Specifically, apparatus of the present invention obtain whole hardware informations in the driving configuration documentation of the first user equipment.
During implementing, still by taking the driving configuration documentation " oem61.inf " of Samsung mobile phone as an example, referring to Fig. 5, false If some hardware device corresponding VID and PID of Samsung mobile phone be figure shown in " USB VID_04E8&PID_6860 ", that Driving configuration documentation can also find other hardware devices corresponding VID and PID, for example " USB VID_04E8&PID_ 6861 " etc., whole VID and PID that apparatus of the present invention will be obtained in driving configuration documentation.
S205, cloud service is uploaded to by the hardware information in the target device type and the driving configuration documentation Device.
Specifically, apparatus of the present invention are by the target device type of the first user equipment of determination and the configuration documentation obtained Hardware information upload to cloud server, the target device type is associated preservation with hardware information by cloud server.Need , it is noted that target device type and hardware information that cloud server association is preserved have multigroup, can be by multiple this different hairs Bright device is uploaded.
S206, when detecting the access of second user equipment, obtains the hardware information of the second user equipment.
The second user equipment is unknown user equipment.Second user apparatus connecting is detected to originally specifically, working as During invention device, apparatus of the present invention obtain the hardware information of second user equipment.
S207, the cloud server is uploaded to by the hardware information of the second user equipment, so that the high in the clouds takes Device of being engaged in recognizes the device type of the second user equipment according to the hardware information of the second user equipment, and returns to described the The device type of two user equipmenies.
Specifically, the hardware information of the second user equipment got is uploaded to cloud server, cloud by apparatus of the present invention End server searches the target device type for associating and preserving with the hardware information according to the hardware information of second user equipment, will look into The target device type found and returns to second user equipment as the device type of second user equipment to apparatus of the present invention Device type.
During implementing, still by taking the driving configuration documentation " oem61.inf " of Samsung mobile phone as an example, referring to Fig. 5, false If apparatus of the present invention obtain the hardware information of other hardware devices in the driving configuration documentation of Samsung mobile phone, for example " USB VID_04E8&PID_6861 ", and uploaded to cloud server, cloud server is by " USB VID_04E8&PID_6861 " " mobile phone " association is preserved, and hereafter, unknown subscriber's apparatus connecting is in apparatus of the present invention, and apparatus of the present invention obtain the unknown subscriber The hardware information of equipment " after USB VID_04E8&PID_6861 ", is uploaded to cloud server, then cloud server will Can find unknown subscriber's equipment hardware information " USB VID_04E8&PID_6861 " and " mobile phone " be associated, therefore can To determine that the type of unknown subscriber's equipment is mobile phone.
S208, obtains the target device type for the second user equipment that the cloud server is returned.
Specifically, apparatus of the present invention obtain the target device type for the second user equipment that cloud server is returned.For example Mobile phone, tablet personal computer or mobile hard disk etc..
S209, the target device type of the second user equipment is pushed and is shown to user.
Specifically, the target device type of second user equipment is shown to by apparatus of the present invention by default display window User, so that user knows the device type of the second user equipment of current grafting.
The embodiment of the present invention determines the first use according to the keyword driven in configuration documentation of the first user equipment of lookup The target device type of family equipment, then the hardware information in the driving configuration documentation of the first user equipment is obtained, and by determination Target device type uploads to cloud server to associate preservation, Ke Yishi with the hardware information in the driving configuration documentation obtained After now unknown second user apparatus connecting PC, lead to even if second user equipment does not set up data with PC Letter, only knows under the conditions of hardware information of the second user equipment in the driving configuration documentation of PC, can also pass through high in the clouds Server identifies the device type of second user equipment, with recognition speed is fast and the characteristics of the high degree of accuracy, lifts user's Experience.
Fig. 3 is a kind of structural representation for the device for recognizing user equipment in the embodiment of the present invention.It is of the invention as shown in the figure The device of identification user equipment in embodiment can at least include document acquisition module 310, data obtaining module 320 and letter Uploading module 330 is ceased, wherein:
Document acquisition module 310, for obtaining the driving configuration documentation of the first user equipment, and judges the driving configuration Whether include default keyword in document, if, it is determined that the type of first user equipment is the default key Target device type corresponding to word.
The driving configuration documentation can be INF (Device INFormation, the activation bit) texts of Windows systems Part, in Windows systems, INF files are often used as suffix name using " .inf ".INF files include hardware device information or Script is to control hardware operation, and that specify the driving of hardware device, how this is installed in system, installed in which file And how itself relevant information etc. is added in registration table.Wherein, above-mentioned hardware device can include the outside of PC Equipment, such as camera and microphone.It is pointed out that the user equipment that data communication can be set up with PC is generally comprised There is said external equipment, such as smart mobile phone just includes camera.Usually, only it is mounted with that hardware is set on PC After standby driver, hardware device can just be recognized by PC.
Specifically, document acquisition module 310 obtains the driving configuration documentation of the first user equipment, and judge driving configuration text Whether include default keyword in shelves, if, it is determined that the type of the first user equipment is corresponding to default keyword Target device type.It is pointed out that default keyword at least one, and each default keyword has corresponding , usually, only there is a default keyword in target device type in the driving configuration documentation of same user equipment.
During implementing, still by taking the driving configuration documentation " oem61.inf " of Samsung mobile phone as an example, referring to Fig. 5, figure 5 be the part selected parts content in the driving configuration documentation " oem61.inf " of Samsung mobile phone, where it is assumed that default in the presence of one Keyword is " Mobile ", and corresponding target device type is " mobile phone ", then document acquisition module 310 is matched somebody with somebody by searching for driving Put document and understand that driving configuration documentation includes default keyword " Mobile ", and then determine that the first user equipment is mobile phone. It is pointed out that default keyword and the corresponding target device type of keyword can be stored in the key of apparatus of the present invention In word database, keyword database can be constantly updated by internet.
Data obtaining module 320, the hardware information in driving configuration documentation for obtaining first user equipment.
The hardware information includes VID (Vendor Identification, production firm's identification information), PID (Product Identification, product identification information) and SN (Serial Number, sequence number) etc. one of which or It is a variety of.Usually, it can also remember in addition to recording the hardware information of hardware device of itself in the driving configuration documentation of user equipment Record the hardware information of the hardware device of same type of other user equipmenies.
Specifically, data obtaining module 320 obtains whole hardware informations in the driving configuration documentation of the first user equipment.
During implementing, still by taking the driving configuration documentation " oem61.inf " of Samsung mobile phone as an example, referring to Fig. 5, false If some hardware device corresponding VID and PID of Samsung mobile phone be figure shown in " USB VID_04E8&PID_6860 ", that Driving configuration documentation can also find other hardware devices corresponding VID and PID, for example " USB VID_04E8&PID_ 6861 " etc., whole VID and PID that data obtaining module 320 will be obtained in driving configuration documentation.
Information uploading module 330, for by the hardware information in the target device type and the driving configuration documentation Cloud server is uploaded to, so that the cloud server is it is determined that the hardware information of other user equipmenies is configured with the driving When the hardware information in document is identical, the device type of other user equipmenies is identified as the target device class Type.
Specifically, information uploading module 330 by the target device type of the first user equipment of determination and obtain configuration Hardware information in document uploads to cloud server, and the target device type is associated guarantor with hardware information by cloud server Deposit, when cloud server gets the hardware information of other user equipmenies, however, it is determined that the hardware information of other user equipmenies with The hardware information of first user equipment is identical, then this user equipment can be identified as into target device type.It is pointed out that The target device type and hardware information that cloud server association is preserved have multigroup, can be in multiple different apparatus of the present invention Pass, similarly, the hardware information of other user equipmenies can also be uploaded by multiple different apparatus of the present invention.
During implementing, still by taking the driving configuration documentation " oem61.inf " of Samsung mobile phone as an example, referring to Fig. 5, false If A devices obtain the hardware information of other hardware devices in the driving configuration documentation of Samsung mobile phone, for example " USB VID_ 04E8&PID_6861 ", information uploading module 330 is uploaded to cloud server, and cloud server is by " USB VID_04E8& PID_6861 " associates preservation with " mobile phone ", hereafter, and one unknown user equipment of grafting on B devices, B devices obtain this not The hardware information for the user equipment known " after USB VID_04E8&PID_6861 ", is uploaded to cloud server, then high in the clouds Server will be apparent that unknown user equipment hardware information " USB VID_04E8&PID_6861 " and " mobile phone " be associated , therefore can determine that the type of unknown user equipment is mobile phone.
Optionally, referring to Fig. 3, the device of the identification user equipment in the embodiment of the present invention can also include as shown in the figure Communication connection module 340 and document creation module 350, wherein:
Communication connection module 340, for setting up the communication connection with first user equipment by data wire.
The data wire can be USB data line.Specifically, communication connection module 340 can by USB data line set up with The communication connection of first user equipment.
Document creation module 350, the driving of first user equipment is installed for the communication connection by foundation Program is to generate the driving configuration documentation of first user equipment.
The driver of first user equipment includes the driver of the various hardware devices in the first user equipment, The driver of hardware device such as the driver of smart mobile phone includes having camera, microphone and memory.Specifically , document creation module 350 will automatically generate the first user equipment after the driver of the first user equipment is installed Drive configuration documentation.For example, refer to a kind of demonstration schematic diagram of driving configuration documentation shown in Fig. 4, when installing Samsung hand After the driver of machine, it will " SANSUNG Mobile USB Composite are automatically generated in equipment manager Device ", wherein " SANSUNG Mobile USB Composite Device " include the driving configuration documentation of Samsung mobile phone “oem61.inf”。
It is again optional, referring to Fig. 3, the device of the identification user equipment in the embodiment of the present invention can also be wrapped as shown in the figure Include device type acquisition module 360 and push display module 370, wherein:
Data obtaining module 320 is additionally operable to that the hardware information is uploaded into cloud server in information uploading module 330 Afterwards, when detecting the access of second user equipment, the hardware information of the second user equipment is obtained.Wherein, described second User equipment is unknown user equipment.
Described information uploading module 330 is additionally operable to the hardware information of the second user equipment uploading to the high in the clouds clothes Business device, so that the cloud server recognizes the mesh of the second user equipment according to the hardware information of the second user equipment Marking device type, and return to the target device type of the second user equipment.
Specifically, the hardware information of the second user equipment got is uploaded to high in the clouds by described information uploading module 330 Server, cloud server searches the target device for associating and preserving with the hardware information according to the hardware information of second user equipment Type, using the target device type found as second user equipment device type, and to device type acquisition module 360 Return to the device type of second user equipment.
During implementing, still by taking the driving configuration documentation " oem61.inf " of Samsung mobile phone as an example, referring to Fig. 5, false If data obtaining module 320 obtains the hardware information of other hardware devices in the driving configuration documentation of Samsung mobile phone, such as " USB VID_04E8&PID_6861 ", information uploading module 330 is uploaded to cloud server, and cloud server is by " USB VID_04E8&PID_6861 " associates preservation with " mobile phone ", hereafter, and unknown subscriber's apparatus connecting is in apparatus of the present invention, and information is obtained Modulus block 320 obtain unknown subscriber's equipment hardware information " USB after VID_04E8&PID_6861 ", information uploading module 330 are uploaded to cloud server, then cloud server will be apparent that hardware information " the USB of unknown subscriber's equipment VID_04E8&PID_6861 " and " mobile phone " are associated, therefore can determine that the type of unknown subscriber's equipment is mobile phone.
Device type acquisition module 360, the mesh for obtaining the second user equipment that the cloud server is returned Marking device type.
Specifically, device type acquisition module 360 obtains the target device for the second user equipment that cloud server is returned Type.Such as mobile phone, tablet personal computer or mobile hard disk.
Display module 370 is pushed, user is shown to for the target device type of the second user equipment to be pushed.
Specifically, push display module 370 passes through default display window by the target device type of second user equipment User is shown to, so that user knows the device type of the second user equipment of current grafting.
The embodiment of the present invention determines the first use according to the keyword driven in configuration documentation of the first user equipment of lookup The target device type of family equipment, then the hardware information in the driving configuration documentation of the first user equipment is obtained, and by determination Target device type uploads to cloud server to associate preservation, Ke Yishi with the hardware information in the driving configuration documentation obtained After present other unknown user equipment grafting PCs, even if the user equipment does not set up data communication with PC, Only know under the conditions of hardware information of the user equipment in the driving configuration documentation of PC, can also pass through cloud server The device type of user equipment is identified, with recognition speed is fast and the characteristics of the high degree of accuracy, the experience of lifting user.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means to combine specific features, structure, material or the spy that the embodiment or example are described Point is contained at least one embodiment of the present invention or example.In this manual, to the schematic representation of above-mentioned term not Identical embodiment or example must be directed to.Moreover, specific features, structure, material or the feature of description can be with office Combined in an appropriate manner in one or more embodiments or example.In addition, in the case of not conflicting, the skill of this area Art personnel can be tied the not be the same as Example or the feature of example and non-be the same as Example or example described in this specification Close and combine.
In addition, term " first ", " second " are only used for describing purpose, and it is not intended that indicating or implying relative importance Or the implicit quantity for indicating indicated technical characteristic.Thus, define " first ", the feature of " second " can express or Implicitly include at least one this feature.In the description of the invention, " multiple " are meant that at least two, such as two, three It is individual etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, represent to include Module, fragment or the portion of the code of one or more executable instructions for the step of realizing specific logical function or process Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not be by shown or discussion suitable Sequence, including according to involved function by it is basic simultaneously in the way of or in the opposite order, carry out perform function, this should be of the invention Embodiment person of ordinary skill in the field understood.
Represent in flow charts or logic and/or step described otherwise above herein, for example, being considered use In the order list for the executable instruction for realizing logic function, it may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system including the system of processor or other can be held from instruction The system of row system, device or equipment instruction fetch and execute instruction) use, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicate, propagate or pass Defeated program is for instruction execution system, device or equipment or the dress for combining these instruction execution systems, device or equipment and using Put.The more specifically example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wirings Connecting portion (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read-only storage (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device, and portable optic disk is read-only deposits Reservoir (CDROM).In addition, can even is that can be in the paper of printing described program thereon or other are suitable for computer-readable medium Medium, because can then enter edlin, interpretation or if necessary with it for example by carrying out optical scanner to paper or other media His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned In embodiment, the software that multiple steps or method can in memory and by suitable instruction execution system be performed with storage Or firmware is realized.If, and in another embodiment, can be with well known in the art for example, realized with hardware Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal Discrete logic, the application specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that to realize all or part of step that above-described embodiment method is carried Rapid to can be by program to instruct the hardware of correlation to complete, described program can be stored in a kind of computer-readable storage medium In matter, the program upon execution, including one or a combination set of the step of embodiment of the method.In addition, in each embodiment of the invention In each functional unit can be integrated in a processing module or unit is individually physically present, can also two Individual or two or more unit is integrated in a module.Above-mentioned integrated module can both be realized in the form of hardware, also may be used To be realized in the form of software function module.If the integrated module realized using in the form of software function module and as Independent production marketing in use, can also be stored in a computer read/write memory medium.
Storage medium mentioned above can be read-only storage, disk or CD etc..Although having been shown and retouching above Embodiments of the invention are stated, it is to be understood that above-described embodiment is exemplary, it is impossible to be interpreted as the limit to the present invention System, one of ordinary skill in the art can be changed to above-described embodiment, change, replace and become within the scope of the invention Type.
Above disclosure is only preferred embodiment of present invention, can not limit the right model of the present invention with this certainly Enclose, therefore the equivalent variations made according to the claims in the present invention, still belong to the scope that the present invention is covered.

Claims (8)

1. a kind of method for recognizing user equipment, it is characterised in that methods described includes:
Communication connection with the first user equipment is set up by data wire;
The driver for installing first user equipment by the communication connection of foundation is set with generating first user Standby driving configuration documentation;
The driving configuration documentation of first user equipment is obtained, and judges whether include in advance in the driving configuration documentation If keyword, if, it is determined that the type of first user equipment is that the target corresponding to the default keyword is set Standby type;
Obtain the hardware information in the driving configuration documentation of first user equipment;
Hardware information in the target device type and the driving configuration documentation is uploaded into cloud server, so that described Cloud server is it is determined that the hardware information of other user equipmenies is identical with the hardware information in the driving configuration documentation When, the device type of other user equipmenies is identified as the target device type.
2. the method as described in claim 1, it is characterised in that the hardware information includes production firm identification information VID, production Product identification information PID and sequence number SN one or more of which.
3. the method as described in claim 1, it is characterised in that it is described by the hardware information upload to cloud server it Afterwards, in addition to:
When detecting the access of second user equipment, the hardware information of the second user equipment is obtained;
The hardware information of the second user equipment is uploaded into the cloud server, so that the cloud server is according to institute The hardware information for stating second user equipment recognizes the target device type of the second user equipment, and returns to the second user The target device type of equipment.
4. method as claimed in claim 3, it is characterised in that the hardware information by the second user equipment is uploaded to After the cloud server, in addition to:
Obtain the target device type for the second user equipment that the cloud server is returned;
The target device type of the second user equipment is pushed and is shown to user.
5. a kind of device for recognizing user equipment, it is characterised in that described device includes:
Communication connection module, for setting up the communication connection with the first user equipment by data wire;
Document creation module, the driver of first user equipment is installed with life for the communication connection by foundation Into the driving configuration documentation of first user equipment;
Document acquisition module, for obtaining the driving configuration documentation of first user equipment, and judges that the driving is matched somebody with somebody Whether put in document includes default keyword, if, it is determined that the type of first user equipment is the default pass Target device type corresponding to keyword;
Data obtaining module, the hardware information in driving configuration documentation for obtaining first user equipment;
Information uploading module, for the hardware information in the target device type and the driving configuration documentation to be uploaded into cloud Server is held, so that the cloud server is it is determined that in the hardware information and the driving configuration documentation of other user equipmenies When the hardware information is identical, the device type of other user equipmenies is identified as the target device type.
6. device as claimed in claim 5, it is characterised in that the hardware information includes production firm identification information VID, production Product identification information PID and sequence number SN one or more of which.
7. device as claimed in claim 5, it is characterised in that
Described information acquisition module, is additionally operable to upload to the hardware information after cloud server in information uploading module, When detecting the access of second user equipment, the hardware information of the second user equipment is obtained;
Described information uploading module, is additionally operable to the hardware information of the second user equipment uploading to the cloud server, So that the cloud server recognizes that the target of the second user equipment is set according to the hardware information of the second user equipment Standby type, and return to the target device type of the second user equipment.
8. device as claimed in claim 7, it is characterised in that described device also includes:
Device type acquisition module, the target device class for obtaining the second user equipment that the cloud server is returned Type;
Display module is pushed, user is shown to for the target device type of the second user equipment to be pushed.
CN201410367965.4A 2014-07-29 2014-07-29 A kind of method and device for recognizing user equipment Expired - Fee Related CN104134033B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410367965.4A CN104134033B (en) 2014-07-29 2014-07-29 A kind of method and device for recognizing user equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410367965.4A CN104134033B (en) 2014-07-29 2014-07-29 A kind of method and device for recognizing user equipment

Publications (2)

Publication Number Publication Date
CN104134033A CN104134033A (en) 2014-11-05
CN104134033B true CN104134033B (en) 2017-11-07

Family

ID=51806708

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410367965.4A Expired - Fee Related CN104134033B (en) 2014-07-29 2014-07-29 A kind of method and device for recognizing user equipment

Country Status (1)

Country Link
CN (1) CN104134033B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105867832B (en) * 2015-01-19 2020-07-24 张维加 User and application oriented computer and intelligent equipment acceleration method and device
CN106713045A (en) * 2016-12-30 2017-05-24 上海浦东软件园汇智软件发展有限公司 Terminal device driving component configuration method and device
CN109358726A (en) * 2018-12-24 2019-02-19 四川易简天下科技股份有限公司 Modularization assiatant all-in-one machine and its recognition methods, Artificial Intelligence Control
CN109889487B (en) * 2018-12-29 2021-11-12 奇安信科技集团股份有限公司 Processing method and device for external equipment access terminal
CN112035387A (en) * 2020-08-31 2020-12-04 京东数字科技控股股份有限公司 Electronic equipment recognition device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101686458A (en) * 2008-09-28 2010-03-31 华为技术有限公司 Terminal configuration, management method and terminal device
CN102222053A (en) * 2011-06-20 2011-10-19 迈奔灵动科技(北京)有限公司 Drive identification method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4666589B2 (en) * 2005-03-02 2011-04-06 京セラミタ株式会社 USB device, USB system and USB control program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101686458A (en) * 2008-09-28 2010-03-31 华为技术有限公司 Terminal configuration, management method and terminal device
CN102222053A (en) * 2011-06-20 2011-10-19 迈奔灵动科技(北京)有限公司 Drive identification method and system

Also Published As

Publication number Publication date
CN104134033A (en) 2014-11-05

Similar Documents

Publication Publication Date Title
CN104135520B (en) A kind of method and device for identifying android terminal
US9954964B2 (en) Content suggestion for posting on communication network
CN104134033B (en) A kind of method and device for recognizing user equipment
US10353943B2 (en) Computerized system and method for automatically associating metadata with media objects
US9743251B2 (en) Adding location names using private frequent location data
US20230376527A1 (en) Generating congruous metadata for multimedia
CN109949797A (en) A kind of generation method of training corpus, device, equipment and storage medium
CN108416003A (en) A kind of picture classification method and device, terminal, storage medium
CN104239382B (en) Contextual intelligent tagging for content retrieval
US9565301B2 (en) Apparatus and method for providing call log
US10049114B2 (en) Electronic device, method and storage medium
CN106250916B (en) Method and device for screening pictures and terminal equipment
US20200372253A1 (en) Identifying cable ends using augmented reality
CN107291949A (en) Information search method and device
CN107688541A (en) File reviewing method, device, server and computer-readable recording medium
CN107247722A (en) File scanning method and device and intelligent terminal
US11321397B2 (en) Composition engine for analytical models
CN108537057A (en) Method and apparatus for handling photograph album browse request
US11354071B2 (en) Navigation printing with voice tagging
US20160357822A1 (en) Using locations to define moments
CN110020260A (en) The generation of label and search method and system
CN108763440A (en) A kind of image searching method, device, terminal and storage medium
CN113361404A (en) Method, apparatus, device, storage medium and program product for recognizing text
US20190347477A1 (en) Workflow creation by image analysis
Banerjee et al. Batch metadata assignment to archival photograph collections using facial recognition software

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 510623 07, 08A unit, fifteenth floor of agile center, 26 Huaxia Road, Tianhe District, Guangzhou, Guangdong.

Patentee after: Guangzhou cheetah Network Technology Co.,Ltd.

Address before: 510623 01-B sixth unit, Guangzhou bank building, 30 Zhujiang East Road, Tianhe District, Guangzhou, Guangdong.

Patentee before: GUANGZHOU KINGSOFT NETWORK TECHNOLOGY Co.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171107