CN109947482A - A kind of loading method of USB device, storage medium and smart television - Google Patents
A kind of loading method of USB device, storage medium and smart television Download PDFInfo
- Publication number
- CN109947482A CN109947482A CN201711396675.2A CN201711396675A CN109947482A CN 109947482 A CN109947482 A CN 109947482A CN 201711396675 A CN201711396675 A CN 201711396675A CN 109947482 A CN109947482 A CN 109947482A
- Authority
- CN
- China
- Prior art keywords
- usb device
- usb
- identification
- load
- device identification
- 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
Links
Landscapes
- Stored Programmes (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a kind of loading method of USB device, storage medium and smart televisions, which comprises when smart television detects grafting USB device, obtains the device identification of the USB device;The device identification is searched in preset first allocation list, wherein first allocation list is used to store the device identification for the USB device being allowed to access;When finding the device identification, the driver of the USB device is loaded to load the USB device.The present invention by stored in smart television in advance its can matched USB device device identification the first allocation list, and it is operated in system detection to USB device grafting, it is compared by the identification scanned to USB device with the first allocation list, and the driving and related service of the USB device are loaded when comparing successfully, smart television is improved to the compatibility of USB device.
Description
Technical field
The present invention relates to intelligent terminal technical field, in particular to a kind of loading method of USB device, storage medium and intelligence
It can TV.
Background technique
The development of the Internet information technique, demand of the people to smart television are increasingly enhanced, and various artificial intelligence
The application of energy is also following, such as: gesture identification, speech recognition etc.;Especially speech recognition is such using largely
User experience is enriched, these technologies require the support of bottom hardware, and these hardware are all the equipment of USB interface.
The smart television of present most manufacturers production just has determined that the periphery USB of fixed manufacturer in development phase
Equipment, such as: the WIFI network interface card of USB interface, the bluetooth equipment etc. of USB interface.We when development & production TV, these
USB module equipment is bound with TV, although this way is simple.But preset the corresponding USB of USB module
Equipment can not replace periphery according to generation and cost needs so that the peripheral equipment in the USB interface of smart television is fixed
Equipment, reduces the versatility of smart television USB interface, while limiting that reduce smart television raw by replacing peripheral equipment
Produce cost.
Thus the prior art could be improved and improve.
Summary of the invention
The technical problem to be solved in the present invention is that in view of the deficiencies of the prior art, providing a kind of load side of USB device
Method, storage medium and smart television, to solve the problems, such as existing smart television to the poor compatibility of external USB device.
In order to solve the above-mentioned technical problem, the technical solution adopted in the present invention is as follows:
A kind of loading method of USB device comprising:
When smart television detects grafting USB device, the device identification of the USB device is obtained;
The device identification is searched in preset first allocation list, wherein first allocation list is allowed to connect for storing
The device identification of the USB device entered;
When finding the device identification, the driver of the USB device is loaded to load the USB device.
The loading method of the USB device, wherein it is described when smart television detects grafting USB device, described in acquisition
Include: before the device identification of USB device
When smart television booting, start preset USB detection thread, with preset by the detection thread cycle detection
USB port whether grafting USB device.
The loading method of the USB device, wherein it is described when finding the device identification, load the USB device
Driver specifically included with loading the USB device:
When finding the device identification, the device identification is searched in preset second configuration file, wherein described
Two configuration files are used to store the device identification of the USB device loaded;
If not finding the device identification, the device type of the USB device is determined according to the device identification, and is judged
It whether there is corresponding first device identification of the device type in second configuration file;
When not there is no first device identification, the driver of the USB device is loaded to load the USB device.
The loading method of the USB device, wherein it is described when finding the device identification, load the USB device
Driver to load the USB device further include:
When there are first device identification, user is prompted to load the first USB device of the device type, and monitor use
The operational order of family input;
When receiving operational order, first USB device is removed, and load the driver of the USB device to load
The USB device.
The loading method of the USB device, wherein it is described when there are first device identification, prompt user to add
The first USB device of the device type is carried, and the operational order of monitoring users input specifically includes:
When there are first device identification, the of its corresponding first USB device is obtained according to first device identification
One equipment performance;
The second equipment performance of the USB device is extracted, and the first equipment performance is compared with the second equipment performance;
User is prompted accordingly according to the comparison result, and the operational order of monitoring users input.
The loading method of the USB device, wherein the driver of the load USB device is to load the USB
Equipment specifically:
The manufacturer's information of the USB device is determined according to the device identification, and it is corresponding according to the manufacturer's information to search its
Drive file;
The driving file found is loaded, and is that marker is arranged in the driving file according to the manufacturer's information, according to institute
It states marker and loads its corresponding service.
The loading method of the USB device, wherein it is described when finding the device identification, load the USB device
Driver to load the USB device after further include:
When the USB device loads successfully, the device identification is stored in preset second configuration file.
The loading method of the USB device, wherein it is described when finding the device identification, load the USB device
Driver to load the USB device after further include:
The loading result of the USB device is obtained, and the loading result is shown in the display interface of smart television.
A kind of computer readable storage medium, wherein the computer-readable recording medium storage has one or more
Program, one or more of programs can be executed by one or more processor, and to realize, as above any USB is set
Step in standby loading method.
A kind of smart television comprising: processor, memory and communication bus;Being stored on the memory can be by institute
State the computer-readable program of processor execution;
The communication bus realizes the connection communication between processor and memory;
The processor is realized when executing the computer-readable program in the as above loading method of any USB device
Step.
The utility model has the advantages that compared with prior art, the present invention provides a kind of loading method of USB device, storage medium and
Smart television, which comprises when smart television detects grafting USB device, obtain the equipment mark of the USB device
Know;The device identification is searched in preset first allocation list, wherein first allocation list is allowed to access for storing
USB device device identification;When finding the device identification, the driver of the USB device is loaded to load
State USB device.The present invention by stored in smart television in advance its can the device identification of matched USB device first match
Table is set, and is operated in system detection to USB device grafting, is compared by the identification scanned to USB device with the first allocation list,
And the driving and related service of the USB device are loaded when comparing successfully, smart television is improved to the compatibility of USB device
Property.
Detailed description of the invention
Fig. 1 is the flow chart of the loading method preferred embodiment of USB device provided by the invention.
Fig. 2 is the flow chart of one embodiment of S30 in the loading method of USB device provided by the invention.
Fig. 3 is the flow chart of another embodiment of S30 in the loading method of USB device provided by the invention.
Fig. 4 is S34 flow chart in the loading method of USB device provided by the invention.
Fig. 5 is the structure principle chart of smart television preferred embodiment provided by the invention.
Specific embodiment
The present invention provides the loading method, storage medium and smart television of a kind of USB device, for make the purpose of the present invention,
Technical solution and effect are clearer, clear, and the present invention is described in more detail as follows in conjunction with drawings and embodiments.It should
Understand, described herein specific examples are only used to explain the present invention, is not intended to limit the present invention.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, " one
It is a ", " described " and "the" may also comprise plural form.It is to be further understood that being arranged used in specification of the invention
Diction " comprising " refer to that there are the feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or addition
Other one or more features, integer, step, operation, element, component and/or their group.It should be understood that when we claim member
Part is " connected " or when " coupled " to another element, it can be directly connected or coupled to other elements, or there may also be
Intermediary element.In addition, " connection " used herein or " coupling " may include being wirelessly connected or wirelessly coupling.It is used herein to arrange
Diction "and/or" includes one or more associated wholes for listing item or any cell and all combinations.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art
Language and scientific term), there is meaning identical with the general understanding of those of ordinary skill in fields of the present invention.Should also
Understand, those terms such as defined in the general dictionary, it should be understood that have in the context of the prior art
The consistent meaning of meaning, and unless idealization or meaning too formal otherwise will not be used by specific definitions as here
To explain.
With reference to the accompanying drawing, by the description of the embodiment, further explanation of the contents of the invention are made.
Fig. 1 is please referred to, Fig. 1 is the flow chart of the preferred embodiment of the loading method of USB device provided by the invention.It is described
Method includes:
S10, when smart television detects grafting USB device, obtain the device identification of the USB device.
Specifically, the USB device refers to that the USB interface configured by smart television is connected outer with smart television
Peripheral equipment, e.g., USB flash disk, peripheral hardware bluetooth transmitters, peripheral hardware WIFI transmitter etc..The device identification includes at least supplier ID
(VID) and product ID (PID) USB device can be distinguished, and by the VID and PID, i.e., the described VID and PID is
The unique identification of SUB equipment.Wherein, the VID is the unique identification of supplier, and the supply of the USB can be determined according to VID
Quotient;The PID is the identification code of the USB device itself, and the product type of the USB device can be determined according to the PID
And product type etc..In addition, the VID and PID can store the (EEPROM in the non-volatile memory device of UDB equipment
Or Flash) equipment firmware in, and when USB device connects smart television, equipment firmware can be sent out the VID and PID
Smart television is given, so that the smart television gets the VID and PID of the USB device, that is, gets the smart television
Device identification.
In the present embodiment simultaneously, the smart television detects that grafting USB device can be after smart television booting
It detects grafting USB device, is also possible to boot up during all USB devices are enumerated in scanning when smart television booting and examine
Measure USB device.Also, it is described to detect that grafting USB device be by the detection of the USB device of intelligent television system configuration
Thread detects, and the detection thread can judge USB device with the variation of the node device under monitoring system predetermined directory
Plug operation, so that it is determined that access smart television USB device.
Further, described when smart television detects grafting USB device, obtain the USB device device identification it
Before include: to start preset USB detection thread, when smart television booting to preset by the detection thread cycle detection
USB port whether grafting USB device.
Specifically, the detection thread detects inserting for USB device by the device node variation under detection predetermined directory
Pull out operation.Wherein, the predetermined directory can be/dev/bus/usb catalogue, and the device node is that system bottom is each
USB device generates, and for USB device described in unique identification, and when grafting USB device, generating device node works as extraction
When USB device, sweep equipment node.Specifically, after smart television is switched on, start the detection thread cycle detection of USB device
The plug of USB device operates;When detecting grafting USB device, system bottom generates the corresponding device node of the UBS, and
By the device node be stored in predetermined directory (for example);Detecting that system bottom sets the USB when extracting USB device
Standby corresponding device node is deleted, i.e., deletes the device node of the equipment under predetermined directory.So as to pre- by monitoring
If the plug that the node variation under catalogue can detecte USB device is searched.In addition, will do it in smart television starting up
Booting scanning to enumerate all USB devices having connected, and generates setting for all USB devices scanned under predetermined directory
Slave node, so that the grafting operation to USB device is monitored.Certainly, when smart television is switched on, system bottom can empty institute
The all devices node under predetermined directory is stated, there are duplicate device nodes in order to avoiding under predetermined directory, and USB is caused to set
The inaccuracy of standby plug operation process.
In addition, the predetermined directory can establish a file for each USB device, the device node is stored in as it
Corresponding file, and there are two files in each file, are denoted as idProduct file and idVendor file respectively,
In, idProduct file is for storing pid information, and the idVendor file is for storing VID information.That is, working as
After USB device is plugged in smart television, the PID and VID carried is sent to smart television, and reception is beaten PID by smart television
It is stored in the idProduct file of its corresponding file under predetermined directory, and VID is stored in its correspondence under predetermined directory
File idVendor file;It can obtain USB by reading idProduct file and idVendor file in this way and set
Standby PID and VID.
S20, the device identification is searched in preset first allocation list, wherein first allocation list is for storing
The device identification for the USB device being allowed to access.
Specifically, first allocation list is the default setting of smart television, for storing the USB device for allowing to be accessed
Device identification.The device identification further includes vendor module name in addition to including VID and PID, claims sequence number, device class
(for example, 1 is bluetooth, 2 be WIFI, and 3 be combo etc.), the number and client's custom field of vendor module model are used for
Extension etc..Also, the device identification can be stored in the first allocation list using following format.
NAME | ORDER | TYPE | COUNT | VID_PID_PERF | …… | CUSTOM |
Wherein, NAME indicates vendor module title, and ORDER indicates that sequence number, TYPE indicate device class, and COUNT is indicated
The number of vendor module model, VID_PID indicate VID, PID and this device performance parameters of the vendor module;CUSTOM
Indicate client's custom field for extending.For example, Name:RTL8192EU;ORDER:1;TYPE:1;COUNT:;VID_PID_
PERF:0x0bda:0x818b: 80;VID_PID_PERF:0x0bda:0x818c:100;CUSTOM: without customized.
In addition, first configuration file can store with smart television, and starts in smart television and start USB
Pre-set first configuration text is loaded during detection thread (e.g., USB device detection service USBDetectService)
Part, and first configuration file is stored in interim memory, convenient for the device identification progress to grafting USB device is detected
Verifying, to verify the legitimacy of the USB device.Wherein, the legitimacy of the verifying USB device refers to judging the USB
Whether the device identification of equipment is stored in the first configuration file, that is, judges whether the USB device is that smart television allows to connect
The USB device entered.Certainly, it during being verified to the USB device, can be mentioned by the display interface of smart television
Show that USB device described in user belongs in configuration, and the prompt information can be shown in not and influence smart television picture and show
Any position, e.g., the lower left corner, the lower right corner etc..
S30, when finding the device identification, load the driver of the USB device and set with loading the USB
It is standby.
Specifically, it is described check and accept the device identification illustrate the USB device be it is legal, as smart television allow
The USB device of access;The corresponding driver of the USB device is loaded at this time.Wherein, the USB device driver can be pre-
It is first stored in smart television, can be what smart television was obtained according to the device identification by network, e.g., from background service
The pipe network downloading of supplier that device obtains or from the USB device etc..In addition, after getting the driver,
Start to load the driver, and in load driver program, according to the manufacturer of USB device name setting marker with
Determine the type of the USB device, for example, the USB device be bluetooth equipment, then by marker be set as tcl.usb.bt=
Xxx(bcm, rtk, mtk);The USB device is WIFI equipment, then sets tcl.usb.wifi=xxx(rtk for marker,
Mtk).
Further, after driver loads successfully, the equipment that the equipment can be determined according to the device identification position
Type, and be that the USB device loads its corresponding kernel service according to the device type.Described in the corresponding load
The driver of USB device is specifically included with loading the USB device:
The manufacturer's information of the USB device is determined according to the device identification, and it is corresponding according to the manufacturer's information to search its
Drive file;
The driving file found is loaded, and is that marker is arranged in the driving file according to the manufacturer's information, according to institute
It states marker and loads its corresponding service.
Specifically, if detecting, the device type is bluetooth equipment, starts the kernel service of bluetooth
Bluetooth.apk, and pass through the relevant interface of JNI invocation protocol stack.And (e.g., different producers has different protocol stacks
Botong, Realtek, MTK etc.), and the agreement account for be provided in a manner of a library file, for example,
bluetooth.default.so.It is possible to which default is changed to corresponding manufacturer's name, e.g., Botong
Bluetooth.bcm.so, Realtek bluetooth. rtk.so, MTK bluetooth.mtk.so etc., is running in this way
When load different library of protocol stacks files when, can be found in hardware abstraction layer by bluetooth+ corresponding manufacturer name
Corresponding library of protocol stacks can get corresponding protocol stack according to marker in this way.In addition, if detecting, the device type is
WIFI equipment then starts the kernel service wifi service of WIFI, and calls wifi HAL by JNI to start wpa_
Supplicant(is used to interact with WiFi driving and the additional support to agreement and encryption certification of the terminal of user).And it is different
The kernel service of manufacturer be (such as: Realtek, MTK etc.) to be realized by different wpa_supplicant, and hold with BIN
The form of row files provides wpa_supplicant, so as to distinguish each factory by the way that file is changed to corresponding manufacturer's name
The kernel service of quotient, such as: Realtek wpa_supplicant_rtk, MTK wpa_supplicant_mtk etc..So may be used
It is to be found by the corresponding manufacturer's name of wpa_supplicant+ in wifi HAL to load different core service at runtime
Corresponding wp_supplicant.
In the present embodiment simultaneously, after finding the device identification, can also detect is grafting the type
USB device, and in the USB device of non-grafting the type, load its corresponding driver.Correspondingly, as shown in Fig. 2, institute
It states when finding the device identification, loads the driver of the USB device and specifically included with loading the USB device:
S31, when finding the device identification, search the device identification in preset second configuration file, wherein institute
The second configuration file is stated for storing the device identification of the USB device loaded;
If S32, not finding the device identification, the device type of the USB device is determined according to the device identification, and
Judge in second configuration file with the presence or absence of corresponding first device identification of the device type;
S33, when not there is no first device identification, load the driver of the USB device and set with loading the USB
It is standby.
Specifically, second configuration file is pre-set, for storing the equipment mark of the USB device loaded
Know, that is to say, that be stored in second configuration file in being plugged on smart television and the USB of load driver program is set
The first standby device identification.In this way by way of searching the device identification in the second configuration file, it may determine whether
Same money USB device has been loaded, has avoided the repetition of same equipment from loading, so as to avoid the repetition of the USB interface of smart television
It occupies, improves the utilization rate of the USB interface of smart television.In addition, then being prompted described in user when searching the device identification
USB device has loaded, and USB device of this access of user need to only be prompted to load, and does not need to reload driving, and can be with
User extracts the USB device.
It in the present embodiment simultaneously, can be by judging described the when not finding the device identification of the USB device
It whether include the first device identification configured with device type in two configuration files to determine whether smart television loads the type
USB device.Wherein, when not there is no the first device identification, illustrate that smart television does not load the USB device of same type, then directly
The driver for loading the USB device is connect, and loads the USB device.When there are first device identification, it can incite somebody to action
The information alert loaded is to user, and the operation of user carries out corresponding operating.Correspondingly, as shown in figure 3, described ought find
When the device identification, the driver of the USB device is loaded to load the USB device further include:
S34, when there are first device identification, prompt user to load the first USB device of the device type, and supervise
The operational order for listening user to input;
S35, when receiving the operational order of load, remove first USB device, and load the driving of the USB device
Program is to load the USB device.
Specifically, the first USB device that the prompt user has loaded the device type is the display in smart television
Prompt information described in interface display, and it is supplied to user selection interface, USB device to be loaded is needed in order to which user chooses.This
Outside, the USB can be set in the USB device for finding same type by choosing USB device to be loaded for the ease of user
Standby performance is compared with the USB device of the same type loaded, and comparison result is shown in display interface.Correspondingly,
As shown in figure 4, described when there are first device identification, the first USB for prompting user to load the device type is set
It is standby, and the operational order of monitoring users input specifically includes:
S341, when there are first device identification, its corresponding first USB device is obtained according to first device identification
The first equipment performance;
S342, the second equipment performance for extracting the USB device, and the first equipment performance and the second equipment performance are compared
Compared with;
S343, user is prompted accordingly according to the comparison result, and the operational order of monitoring users input.
Specifically, the comparison result can be good for the performance of the USB, or the performance of the first USB device is good,
It can also be that the two performance is the same.Wherein, first equipment performance can be read in the first device identification, and described second sets
Standby performance can be read in the USB device.Also, it is described that corresponding prompt tool is carried out to user according to the comparison result
Body can be with are as follows: when the first equipment performance is higher than the second equipment performance, prompts the performance of USB device described in user poor, confirmation is
No load;When the first equipment performance is lower than the second equipment performance, the better performances of USB device described in prompt user are confirmed whether
Load;When the first equipment performance is equal to the second equipment performance, the performance of USB device described in prompt user is set with the USB loaded
Standby performance is consistent, is confirmed whether to load.
In addition, it is described to load to load the driver of the USB device described when finding the device identification
Going back body after USB device includes: that the device identification is stored in preset second and is matched when the USB device loads successfully
It sets in file.It can guarantee the synchronism of the USB device of the second configuration file and smart television load in this way.Meanwhile it loading
After the complete USB device, loading result can also be shown on display interface, in order to which user understands the USB device
The state of load.Correspondingly, it is described when finding the device identification, the driver of the USB device is loaded to load
After the USB device further include: obtain the loading result of the USB device, and the loading result is shown in intelligent electricity
Depending on display interface.Specifically, the loading result may include loading successfully and load identification, can be with when loading successfully
Prompt user configuration USB device successfully can be used normally;When loading failure, user can be prompted to load USB device failure,
It please retry.
It is described the present invention also provides a kind of computer readable storage medium based on the loading method of above-mentioned USB device
Computer-readable recording medium storage has one or more program, and one or more of programs can be by one or more
Processor executes, the step in loading method to realize the USB device as described in above-described embodiment.
The present invention also provides a kind of smart televisions, as shown in Figure 5 comprising at least one processor (processor)
20;Display screen 21;And memory (memory) 22, can also include communication interface (Communications Interface)
23 and bus 24.Wherein, processor 20, display screen 21, memory 22 and communication interface 23 can be completed mutually by bus 24
Between communication.Display screen 21 is set as preset user in display initial setting mode and guides interface.Communication interface 23 can pass
Defeated information.Processor 20 can call the logical order in memory 22, to execute the method in above-described embodiment.
In addition, the logical order in above-mentioned memory 22 can be realized and as only by way of SFU software functional unit
Vertical product when selling or using, can store in a computer readable storage medium.
Memory 22 is used as a kind of computer readable storage medium, and it is executable to may be configured as storage software program, computer
Program, such as the corresponding program instruction of method or module in the embodiment of the present disclosure.Processor 30 is stored in memory by operation
Software program, instruction or module in 22, thereby executing functional application and data processing, i.e. side in realization above-described embodiment
Method.
Memory 22 may include storing program area and storage data area, wherein storing program area can storage program area, extremely
Application program needed for a few function;Storage data area, which can be stored, uses created data etc. according to terminal device.This
Outside, memory 22 may include high-speed random access memory, can also include nonvolatile memory.For example, USB flash disk, movement
Hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory,
RAM), a variety of media that can store program code such as magnetic or disk, are also possible to transitory memory medium.
In addition, a plurality of instruction processing unit in above-mentioned storage medium and mobile terminal loads and the detailed process executed exists
It has been described in detail in the above method, has just no longer stated one by one herein.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used
To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;
And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and
Range.
Claims (10)
1. a kind of loading method of USB device, characterized in that it comprises:
When smart television detects grafting USB device, the device identification of the USB device is obtained;
The device identification is searched in preset first allocation list, wherein first allocation list is allowed to connect for storing
The device identification of the USB device entered;
When finding the device identification, the driver of the USB device is loaded to load the USB device.
2. the loading method of USB device according to claim 1, which is characterized in that described when smart television detects grafting
When USB device, include: before obtaining the device identification of the USB device
When smart television booting, start preset USB detection thread, with preset by the detection thread cycle detection
USB port whether grafting USB device.
3. the loading method of USB device according to claim 1, which is characterized in that described to find the device identification
When, it loads the driver of the USB device and is specifically included with loading the USB device:
When finding the device identification, the device identification is searched in preset second configuration file, wherein described
Two configuration files are used to store the device identification of the USB device loaded;
If not finding the device identification, the device type of the USB device is determined according to the device identification, and is judged
It whether there is corresponding first device identification of the device type in second configuration file;
When not there is no first device identification, the driver of the USB device is loaded to load the USB device.
4. the loading method of USB device according to claim 3, which is characterized in that described to find the device identification
When, the driver of the USB device is loaded to load the USB device further include:
When there are first device identification, user is prompted to load the first USB device of the device type, and monitor use
The operational order of family input;
When receiving operational order, first USB device is removed, and load the driver of the USB device to load
The USB device.
5. the loading method of USB device according to claim 4, which is characterized in that described when there are the first equipment marks
When knowledge, user is prompted to load the first USB device of the device type, and the operational order of monitoring users input specifically wraps
It includes:
When there are first device identification, the of its corresponding first USB device is obtained according to first device identification
One equipment performance;
The second equipment performance of the USB device is extracted, and the first equipment performance is compared with the second equipment performance;
User is prompted accordingly according to the comparison result, and the operational order of monitoring users input.
6. the loading method of -5 any USB devices according to claim 1, which is characterized in that the load USB device
Driver to load the USB device specifically:
The manufacturer's information of the USB device is determined according to the device identification, and it is corresponding according to the manufacturer's information to search its
Drive file;
The driving file found is loaded, and is that marker is arranged in the driving file according to the manufacturer's information, according to institute
It states marker and loads its corresponding service.
7. according to claim 1 or the loading method of 3 USB devices, which is characterized in that described when finding the equipment mark
When knowledge, after loading the driver of the USB device to load the USB device further include:
When the USB device loads successfully, the device identification is stored in preset second configuration file.
8. the loading method of USB device according to claim 1, which is characterized in that described to find the device identification
When, after loading the driver of the USB device to load the USB device further include:
The loading result of the USB device is obtained, and the loading result is shown in the display interface of smart television.
9. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or
Multiple programs, one or more of programs can be executed by one or more processor, to realize that claim 1-8 such as appoints
Step in the loading method of USB device described in meaning one.
10. a kind of smart television characterized by comprising processor, memory and communication bus;It is stored on the memory
There is the computer-readable program that can be executed by the processor;
The communication bus realizes the connection communication between processor and memory;
The processor realizes the USB device as described in claim 1-8 any one when executing the computer-readable program
Loading method in step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711396675.2A CN109947482B (en) | 2017-12-21 | 2017-12-21 | Loading method of USB (universal serial bus) equipment, storage medium and smart television |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711396675.2A CN109947482B (en) | 2017-12-21 | 2017-12-21 | Loading method of USB (universal serial bus) equipment, storage medium and smart television |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109947482A true CN109947482A (en) | 2019-06-28 |
CN109947482B CN109947482B (en) | 2022-07-29 |
Family
ID=67005769
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711396675.2A Active CN109947482B (en) | 2017-12-21 | 2017-12-21 | Loading method of USB (universal serial bus) equipment, storage medium and smart television |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109947482B (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110457076A (en) * | 2019-09-10 | 2019-11-15 | 广州市金其利信息科技有限公司 | A kind of peripheral equipment management method |
CN111857851A (en) * | 2020-07-27 | 2020-10-30 | 联想(北京)有限公司 | Configuration method and device and electronic equipment |
CN112000374A (en) * | 2020-07-13 | 2020-11-27 | 深圳市智微智能软件开发有限公司 | USB touch screen replacing method, device, equipment and medium applied to android system |
CN112380078A (en) * | 2020-11-25 | 2021-02-19 | 歌尔科技有限公司 | USB equipment communication test method and test device |
CN112684914A (en) * | 2020-12-31 | 2021-04-20 | 深圳雷柏科技股份有限公司 | Kernel-driven-based method for realizing keyboard and mouse function modification and related equipment |
CN113099433A (en) * | 2021-04-14 | 2021-07-09 | 深圳泰科晶显科技有限公司 | Android system-based dynamic method compatible with WIFI and Bluetooth modules of different manufacturers |
CN113515315A (en) * | 2021-07-01 | 2021-10-19 | 深圳创维-Rgb电子有限公司 | WIFI chip driver loading method, device, equipment and storage medium |
CN113791824A (en) * | 2021-08-10 | 2021-12-14 | 浪潮金融信息技术有限公司 | Peripheral driver loading method, system and medium for terminal equipment |
CN114116019A (en) * | 2020-08-26 | 2022-03-01 | 网神信息技术(北京)股份有限公司 | Device control method, device, electronic device, storage medium, and program |
CN115576612A (en) * | 2022-09-02 | 2023-01-06 | 广州市金其利信息科技有限公司 | External device adaptation method and device, intelligent terminal and readable storage medium |
WO2024093542A1 (en) * | 2022-10-31 | 2024-05-10 | 深圳市广和通无线股份有限公司 | Usb drive-free communication method and apparatus, and electronic device and storage medium |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1638344A (en) * | 2004-01-07 | 2005-07-13 | 微软公司 | Configuring of ad hoc wireless network devices using a portable media device |
US6934774B1 (en) * | 1999-12-20 | 2005-08-23 | Fujitsu Limited | Method and system for reliable device configuration in a computer system |
CN1761256A (en) * | 2004-01-07 | 2006-04-19 | 微软公司 | XML schema for network device constitution |
CN103096167A (en) * | 2012-12-24 | 2013-05-08 | 康佳集团股份有限公司 | Starting method and starting system of intelligent television |
CN103491395A (en) * | 2013-08-29 | 2014-01-01 | 广州视源电子科技股份有限公司 | Method for expanding peripheral units of smart television and smart television |
CN103942078A (en) * | 2014-04-30 | 2014-07-23 | 华为技术有限公司 | Method for loading driver and embedded device |
CN104125218A (en) * | 2014-07-04 | 2014-10-29 | 广州金山网络科技有限公司 | Equipment identification method, device and system |
CN105095118A (en) * | 2014-05-19 | 2015-11-25 | 小米科技有限责任公司 | Method and device for using equipment |
WO2015188586A1 (en) * | 2014-06-11 | 2015-12-17 | 西安中兴新软件有限责任公司 | Data transmission method, electronic equipment, usb equipment and storage medium |
CN105809029A (en) * | 2016-03-03 | 2016-07-27 | 北京金山安全软件有限公司 | Method and device for intercepting operation of driver |
CN106095413A (en) * | 2016-05-31 | 2016-11-09 | 青岛海信电器股份有限公司 | The collocation method of a kind of bluetooth driver and device |
CN106203073A (en) * | 2016-07-13 | 2016-12-07 | 浪潮电子信息产业股份有限公司 | Windows white list control method based on file system filter driver |
CN106775833A (en) * | 2016-11-28 | 2017-05-31 | 青岛海信移动通信技术股份有限公司 | device driver loading method, terminal and system |
CN107111568A (en) * | 2015-01-06 | 2017-08-29 | 阿沃森特亨茨维尔有限责任公司 | System and method for driver installation file to be presented when enabling USB equipment |
-
2017
- 2017-12-21 CN CN201711396675.2A patent/CN109947482B/en active Active
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6934774B1 (en) * | 1999-12-20 | 2005-08-23 | Fujitsu Limited | Method and system for reliable device configuration in a computer system |
CN1761256A (en) * | 2004-01-07 | 2006-04-19 | 微软公司 | XML schema for network device constitution |
CN1638344A (en) * | 2004-01-07 | 2005-07-13 | 微软公司 | Configuring of ad hoc wireless network devices using a portable media device |
CN103096167A (en) * | 2012-12-24 | 2013-05-08 | 康佳集团股份有限公司 | Starting method and starting system of intelligent television |
CN103491395A (en) * | 2013-08-29 | 2014-01-01 | 广州视源电子科技股份有限公司 | Method for expanding peripheral units of smart television and smart television |
CN103942078A (en) * | 2014-04-30 | 2014-07-23 | 华为技术有限公司 | Method for loading driver and embedded device |
CN105095118A (en) * | 2014-05-19 | 2015-11-25 | 小米科技有限责任公司 | Method and device for using equipment |
WO2015188586A1 (en) * | 2014-06-11 | 2015-12-17 | 西安中兴新软件有限责任公司 | Data transmission method, electronic equipment, usb equipment and storage medium |
CN104125218A (en) * | 2014-07-04 | 2014-10-29 | 广州金山网络科技有限公司 | Equipment identification method, device and system |
CN107111568A (en) * | 2015-01-06 | 2017-08-29 | 阿沃森特亨茨维尔有限责任公司 | System and method for driver installation file to be presented when enabling USB equipment |
CN105809029A (en) * | 2016-03-03 | 2016-07-27 | 北京金山安全软件有限公司 | Method and device for intercepting operation of driver |
CN106095413A (en) * | 2016-05-31 | 2016-11-09 | 青岛海信电器股份有限公司 | The collocation method of a kind of bluetooth driver and device |
CN106203073A (en) * | 2016-07-13 | 2016-12-07 | 浪潮电子信息产业股份有限公司 | Windows white list control method based on file system filter driver |
CN106775833A (en) * | 2016-11-28 | 2017-05-31 | 青岛海信移动通信技术股份有限公司 | device driver loading method, terminal and system |
Non-Patent Citations (2)
Title |
---|
胡书卫等: "在嵌入式Linux环境下搭建Ad hoc网络", 《仪表技术》 * |
蔡旸: "基于WDM的USB设备功能驱动程序的设计与实现", 《软件》 * |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110457076A (en) * | 2019-09-10 | 2019-11-15 | 广州市金其利信息科技有限公司 | A kind of peripheral equipment management method |
CN110457076B (en) * | 2019-09-10 | 2022-08-12 | 广州市金其利信息科技有限公司 | Peripheral management method |
CN112000374B (en) * | 2020-07-13 | 2024-01-02 | 深圳市智微智能软件开发有限公司 | USB touch screen replacement method, device, equipment and medium applied to android system |
CN112000374A (en) * | 2020-07-13 | 2020-11-27 | 深圳市智微智能软件开发有限公司 | USB touch screen replacing method, device, equipment and medium applied to android system |
CN111857851A (en) * | 2020-07-27 | 2020-10-30 | 联想(北京)有限公司 | Configuration method and device and electronic equipment |
CN114116019A (en) * | 2020-08-26 | 2022-03-01 | 网神信息技术(北京)股份有限公司 | Device control method, device, electronic device, storage medium, and program |
CN112380078A (en) * | 2020-11-25 | 2021-02-19 | 歌尔科技有限公司 | USB equipment communication test method and test device |
CN112684914A (en) * | 2020-12-31 | 2021-04-20 | 深圳雷柏科技股份有限公司 | Kernel-driven-based method for realizing keyboard and mouse function modification and related equipment |
CN112684914B (en) * | 2020-12-31 | 2021-11-19 | 深圳雷柏科技股份有限公司 | Kernel-driven-based method for realizing keyboard and mouse function modification and related equipment |
CN113099433A (en) * | 2021-04-14 | 2021-07-09 | 深圳泰科晶显科技有限公司 | Android system-based dynamic method compatible with WIFI and Bluetooth modules of different manufacturers |
CN113515315A (en) * | 2021-07-01 | 2021-10-19 | 深圳创维-Rgb电子有限公司 | WIFI chip driver loading method, device, equipment and storage medium |
CN113791824A (en) * | 2021-08-10 | 2021-12-14 | 浪潮金融信息技术有限公司 | Peripheral driver loading method, system and medium for terminal equipment |
CN113791824B (en) * | 2021-08-10 | 2023-09-15 | 浪潮金融信息技术有限公司 | Peripheral driver loading method, system and medium of terminal equipment |
CN115576612B (en) * | 2022-09-02 | 2023-05-12 | 广州市金其利信息科技有限公司 | External device adaptation method and device, intelligent terminal and readable storage medium |
CN115576612A (en) * | 2022-09-02 | 2023-01-06 | 广州市金其利信息科技有限公司 | External device adaptation method and device, intelligent terminal and readable storage medium |
WO2024093542A1 (en) * | 2022-10-31 | 2024-05-10 | 深圳市广和通无线股份有限公司 | Usb drive-free communication method and apparatus, and electronic device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109947482B (en) | 2022-07-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109947482A (en) | A kind of loading method of USB device, storage medium and smart television | |
US8972973B2 (en) | Firmware update discovery and distribution | |
CN104166561B (en) | Electronic equipment system starting method and electronic equipment | |
CN101937351B (en) | Method and system for automatically installing application software | |
US8768324B2 (en) | Method of configuring bluetooth SIM access profile of communication device | |
CN103748569A (en) | System and methods for driverless operation of USB device | |
CN101281474B (en) | Method and apparatus for opening appoint terminal port USB equipment | |
CN107704282B (en) | Loading method and device applied to embedded system | |
CN101989205A (en) | Software system upgrading method for universal serial bus (USB) equipment | |
CN110446028A (en) | Set-top box production test method and system | |
TWI476587B (en) | Testing method and testing apparatus for testing function of electronic apparatus | |
CN102833102B (en) | Customer premise equipment system of set-card separated type gateway and data configuration management method | |
CN112367230A (en) | Household appliance control method, mobile terminal, household appliance and household appliance control system | |
CN106775897B (en) | Method and system for starting driver of set top box | |
CN103092648A (en) | Method and system of mirror image upgrade and user device and personal computer | |
CN106293851A (en) | A kind of firmware upgrade method and equipment | |
CN104570967B (en) | Long-range control method and system based on android system | |
CN109376072A (en) | Application development method and apparatus based on third party's Component Gallery | |
CN105159714B (en) | A kind of PMIC initial method and electronic equipment | |
CN104834612A (en) | Method for enabling USB debugging mode in Android mobile phone | |
CN110493644B (en) | Television application upgrading method, television terminal and server | |
CN111381978B (en) | Method for accessing application program, storage medium and intelligent television | |
CN104516743A (en) | Upgrading method and system of embedded device firmware based on ActiveX | |
US8732659B2 (en) | Method, apparatus and storage medium for customizing application | |
CN113365260B (en) | Profile downloading method and device, intelligent terminal and storage medium |
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 |