CN106055340A - Driver control method and device - Google Patents

Driver control method and device Download PDF

Info

Publication number
CN106055340A
CN106055340A CN201610409452.4A CN201610409452A CN106055340A CN 106055340 A CN106055340 A CN 106055340A CN 201610409452 A CN201610409452 A CN 201610409452A CN 106055340 A CN106055340 A CN 106055340A
Authority
CN
China
Prior art keywords
driver
terminal unit
information
described terminal
hardware identifier
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610409452.4A
Other languages
Chinese (zh)
Inventor
杨勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Baoqu Technology Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201610409452.4A priority Critical patent/CN106055340A/en
Publication of CN106055340A publication Critical patent/CN106055340A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides a method and a device for controlling a driving program, wherein the method comprises the following steps: acquiring information of the terminal equipment, wherein the information of the terminal equipment comprises an operating system version and a hardware identifier of the terminal equipment; determining a set of drivers corresponding to the information of the terminal device; and selecting a target driver from the set of drivers according to a preset rule. By the driver control method and device, the driver which is most suitable for the terminal equipment is selected according to the information of the terminal equipment, the installation efficiency and accuracy of the driver are improved, and the reliable and healthy operation of the terminal equipment is guaranteed.

Description

Driver control method and device
Technical field
The application relates to communication technical field, particularly relates to a kind of driver control method and device.
Background technology
Generally, each manufacturer, can be to driving in order to ensure the compatibility of hardware device and strengthen the function of terminal unit Program is upgraded.And the service that user provides for the driver after enjoying upgrading, can be to the driving on terminal unit Program is upgraded.
But, when upgrading driver, operating system is generally according to the driving journey of the latest edition inquired Sequence is installed, and causes some to be mounted with the terminal unit of latest edition driver, is not normally functioning this driving journey on the contrary The hardware device that ordered pair is answered.
Summary of the invention
The application is intended to solve one of above-mentioned technical problem the most to a certain extent.
To this end, the first of the application purpose is to propose a kind of driver control method, the method sets according to terminal Standby information have chosen the driver being best suitable for terminal unit, improves installation effectiveness and the accuracy of driver, ensures The operation reliable, healthy of terminal unit.
Second purpose of the application is to propose the control device of a kind of driver.
For reaching above-mentioned purpose, the application first aspect embodiment proposes a kind of driver control method, including:
Obtaining the information of terminal unit, the information of described terminal unit includes operating system version and the hardware of terminal unit Mark;
Determine the set of the driver corresponding with the information of described terminal unit;
According to default rule, from the set of described driver, choose target drives program.
The driver control method of the embodiment of the present application, obtains the information including terminal unit, and then determines and terminal The set of the driver that the information of equipment is corresponding, and according to default rule, in the set of slave driver, choose target and drive Dynamic program.The method determines the set of driver according to the information of terminal unit, and chooses in the set of slave driver It is suitable for the target drives program of terminal unit, improves installation effectiveness and the accuracy of driver, ensured terminal unit Reliably, healthy operation.
It addition, in an embodiment of the application, described determine the driving journey corresponding with the information of described terminal unit The set of sequence, comprises determining that the driving of the different editions that operating system version and hardware identifier with described terminal unit mate The set of program.
In an embodiment of the application, the described collection determining the driver corresponding with the information of described terminal unit Close, including:
According to the operating system version of described terminal unit, determine the mark of installed drivers in described terminal unit Know;
Determine corresponding with the information of described terminal unit, and do not include the driver of described installed drivers Set.
In an embodiment of the application, the collection of the driver that the described information determining described terminal unit is corresponding Close, including:
Judge whether at least two hardware identifier of described terminal unit meets the relation preset;
If meeting, it is determined that corresponding with the information of described terminal unit, and only include described at least two hardware identifier In the set of driver corresponding to any one hardware identifier.
In an embodiment of the application, the rule that described basis is preset, from the set of described driver, choose Target drives program, including:
The feedback information of the driver according to different editions, determines the driver of different editions and the letter of terminal unit The optimum matching relation of breath;
Driver according to described different editions and the optimum matching relation of the information of terminal unit, choose and described end The driver of the target version of the information matches of end equipment.
In an embodiment of the application, also include:
Obtain the version information having installed driver in terminal unit;
If it is determined that any one driver in described terminal unit meets with the information of terminal unit most preferably mates pass System,
Then stop any one driver described is updated prompting.
For reaching above-mentioned purpose, the application second aspect embodiment proposes a kind of driver and controls device, including:
First acquisition module, for obtaining the information of terminal unit, the information of described terminal unit includes terminal unit Operating system version and hardware identifier;
Determine module, for determining the set of the driver corresponding with the information of described terminal unit;
Choose module, for according to the rule preset, from the set of described driver, choosing target drives program.
The driver of the embodiment of the present application controls device, obtains operating system version and the hardware mark including terminal unit The information of the terminal unit known, and then determine the set of the driver corresponding with the information of terminal unit, and according to default Rule, in the set of slave driver, chooses target drives program.This device determines driver according to the information of terminal unit Set, and the set of slave driver is chosen the target drives program being best suitable for terminal unit, improves driver Installation effectiveness and accuracy, ensured the operation reliable, healthy of terminal unit.
It addition, in an embodiment of the application, described determine module, specifically for:
Determine the driver of the different editions that operating system version and hardware identifier with described terminal unit mate Set.
In an embodiment of the application, described determine module, including:
First determines unit, for according to the operating system version of described terminal unit, determines in described terminal unit The mark of the driver installed;
First filters unit, corresponding with the information of described terminal unit for determining, and does not includes described mounted The set of the driver of driver.
In an embodiment of the application, described determine module, including:
Judging unit, for judging whether at least two hardware identifier of described terminal unit meets the relation preset;
Second filters unit, for meeting default relation at least two hardware identifier judging described terminal unit Time, determine corresponding with the information of described terminal unit, and only include any one hardware in described at least two hardware identifier The set of the driver that mark is corresponding.
In an embodiment of the application, described in choose module, including:
Second determines unit, for the feedback information of the driver according to different editions, determines the driving of different editions The optimum matching relation of the information of program and terminal unit;
Choose unit, most preferably mate pass for the information according to the driver of described different editions and terminal unit System, chooses the driver of the target version of information matches with described terminal unit.
In an embodiment of the application, described device also includes:
Second acquisition module, for obtaining the version information having installed driver in terminal unit;
Processing module, for described second determine any one driver that unit determines in described terminal unit with When the information of terminal unit meets optimum matching relation, stop any one driver described is updated prompting.
Accompanying drawing explanation
The application above-mentioned and/or that add aspect and advantage will become from the following description of the accompanying drawings of embodiments Substantially with easy to understand, wherein:
Fig. 1 is the flow chart of the driver control method according to one embodiment of the application;
Fig. 2 is the flow chart of the driver control method according to one specific embodiment of the application;
Fig. 3 is the structural representation that the driver according to one embodiment of the application controls device;
Fig. 4 is the structural representation that the driver according to one specific embodiment of the application controls device;
Fig. 5 is the structural representation that the driver according to another embodiment of the application controls device;
Fig. 6 is the structural representation that the driver according to another embodiment of the application controls device;
Fig. 7 is the structural representation that the driver according to another embodiment of the application controls device.
Detailed description of the invention
Embodiments herein is described below in detail, and the example of described embodiment is shown in the drawings, the most from start to finish Same or similar label represents same or similar element or has the element of same or like function.Below with reference to attached The embodiment that figure describes is exemplary, it is intended to be used for explaining the application, and it is not intended that restriction to the application.
Below with reference to the accompanying drawings driver control method and the device of the embodiment of the present application are described.
Fig. 1 is the flow chart of the driver control method according to one embodiment of the application.
As it is shown in figure 1, this driver control method includes:
S110, obtains the information of terminal unit, and the information of terminal unit includes the operating system version of terminal unit and hard Part identifies.
Specifically, the executive agent of the driver control method that the embodiment of the present application provides is that the embodiment of the present application carries The driver of confession controls device, and this device can be configured in the terminal unit of any hardware having and needing driven by program In.
It should be noted that the type of terminal unit can have various ways, can be such as mobile phone or computer sets Standby etc..
Generally, driver refers to a kind of separate procedure that computer can be made to communicate with equipment.Be equivalent to hardware Interface, operating system only by this interface, could control the work of relevant hardware devices, when the driving of a certain hardware device Program fails correct installation, then this hardware device just cisco unity malfunction.
Specifically, driver controls device, generally after receiving driver mount request, can obtain terminal unit Information.
Wherein, driver mount request, can be that user sends, it is also possible to be that the operating system of terminal unit is at liter Automatically trigger during Ji.This is not construed as limiting by the embodiment of the present application.
In a kind of possible way of realization, in driver mount request, the mark of driver to be installed may be carried Know.Wherein, the mark of driver to be installed can be the title of driver to be installed, it is also possible to be driver to be installed Icon, or, it is also possible to be that other arbitrarily can uniquely identify the mark of this driver to be installed.
S120, determines the set of the driver corresponding with the information of terminal unit.
Generally, the different operating system of the terminal unit driver version corresponding with hardware identifier may have multiple, because of This, in the present embodiment, in the set of the driver determined according to the information of terminal unit, potentially include the driving of multiple version Program.I.e. above-mentioned steps 120, including:
Determine the driver of the different editions that operating system version and hardware identifier with described terminal unit mate Set.
Specifically, for same hardware device, the driver version of its correspondence may have a lot, and various version The operating system of terminal unit that is suitable for of driver may be also different, therefore, driver controls device, can according to from In the driver of numerous versions, select driving of each version mated with operating system version and the hardware identifier of terminal unit Dynamic program composition driver set.
Introduce in detail below, under different situations, according to the information of terminal unit, obtain implementing of driver set Mode.
Example one:
According to the operating system version of described terminal unit, determine the mark of installed drivers in described terminal unit Know;
Determine corresponding with the information of described terminal unit, and do not include the driver of described installed drivers Set.
For example, when user after having become new Windows operating system by the operating system update of terminal, installing During driver, driver controls device and determines that Windows operating system carries sound card driver, video driver, Therefore driver control device can determine need to be mounted driving according to the version of Windows operating system and hardware identifier Dynamic program set, and this set do not include sound card driver, video driver, thus saves what user installation drove Time.
Example two:
Owing to some similar hardware in terminal unit may can use identical driver, therefore above-mentioned steps 120, it is also possible to realize in the following ways:
Judge whether at least two hardware identifier of described terminal unit meets the relation preset;
If meeting, it is determined that corresponding with the information of described terminal unit, and only include described at least two hardware identifier In the set of driver corresponding to any one hardware identifier.
Wherein, the hardware device that this preset relation characterizes at least two hardware identifier corresponding can share same driver Drive.
Concrete, driver controls can to prestore in device device identification right that can share same driver Answer relation table, and then after receiving driver mount request again, i.e. judge that at least two hardware identifier corresponding to mount request is The no corresponding relation met in the mapping table prestored, if, then explanation the two hardware identifier can share one Driver, thus driver mark corresponding for wherein any one hardware device mark can be filtered from set, enter And avoid same driver is repeatedly obtained and repeatedly install.
Such as, when the CPU model of terminal unit is AMD, hardware ID be PCI the driving of VEN_1002&DEV_9903 Program, with hardware ID be PCI the hardware of VEN_1002&DEV_9903&SUBSYS_397B17AA can common drive program.Cause This, driver controls device, is determining that the CPU model of terminal unit is AMD, and include ID be PCI VEN_1002&DEV_ 99 and PCI the hardware of VEN_1002&DEV_9903&SUBSYS_397B17AA time, i.e. in the set of program to be installed only The driving retaining any one hardware identifier corresponding identifies.
S130, according to default rule, in the set of slave driver, chooses target drives program.
Owing to, in the driving set that determines according to terminal device information, may have multiple version for same driver Driver, and the driver of some version is not likely to be optimum version, thus causes the experience of user the highest.
Therefore to make user obtain more preferable experience, can be according to the set of default regular slave driver In, choose the target drives program of applicable terminal unit further.
Wherein it is desired to explanation, according to the difference of application scenarios, the set of driver is chosen target drives journey The rule of sequence is the most different, such as according to user, the feedback information of the driver of different editions can be selected target drives journey Sequence, or, can according to the driver of different editions component selections target drives program etc..
In sum, the driver control method of the embodiment of the present application, first obtain the operation system including terminal unit The information of the terminal unit of system version and hardware identifier, and then determine the set of the driver corresponding with terminal device information, And according to default rule, in the set of slave driver, choose target drives program.The method is according to the information of terminal unit Determine the set of driver, and the set of slave driver is chosen the target drives program being best suitable for terminal unit, improve The installation effectiveness of driver and accuracy, ensured the operation reliable, healthy of terminal unit.
Based on above example, in order to more clearly illustrate in above-described embodiment, how according to the rule preset, from driving In the set of dynamic program, choose target drives program, below in conjunction with the accompanying drawings 2, with according to user's driving journey to different versions As a example by the feedback information of sequence chooses target drives program, it is described in detail, is described as follows:
Fig. 2 is the flow chart of the driver control method according to one specific embodiment of the application, as in figure 2 it is shown, should The control method of driver includes:
S210, receives driver mount request, and mount request includes the mark of driver to be installed.
Concrete, in the present embodiment, if user is only that certain driver is updated or is reinstalled, drive Presetting apparatus, can receive the mount request including that this driver identifies.
S220, obtains the information of terminal unit, and the information of terminal unit includes the operating system version of terminal unit and hard Part identifies.
S230, determines the set of the driver corresponding with the mark of driver to be installed and terminal device information.
Concrete, owing to driver to be installed may have multiple, each corresponding driving of driver to be installed The version of dynamic program has been likely to multiple, therefore only according to the mark of driver to be installed, obtains the collection of driver During conjunction, be likely to be due to need to obtain driver quantity is more and acquisition speed is relatively slow, the speed of driver is installed in impact.
And same hardware device to for the driver of different operating system different, different hardware equipment is corresponding Driver is the most different, and therefore, in order to save the time that user installation drives, the set of the driver in the present embodiment also may be used Determine according to end message.
Specifically, after receiving the mount request of driver, in addition it is also necessary to obtaining the information of terminal unit, this terminal sets Standby information includes version and the related hardware mark of the operating system of terminal unit.
And then, determine the set of the driver corresponding with the mark of driver to be installed and terminal device information.Its In, this driver set potentially includes multiple multiple drivers corresponding with the information of terminal unit.
S240, according to the feedback information of the driver of different editions, determines that the driver of different editions sets with terminal The optimum matching relation of standby information.
S250, according to driver and the optimum matching relation of the information of terminal unit of different editions, chooses and terminal The driver of the target version of the information matches of equipment.
Specifically, driver controls device, can be previously according to user's feedback letter to the driver of different editions Breath, determines the driver of different editions and the optimum matching relation of terminal device information.Thus, when reality is applied, can root According to the information of terminal unit, inquire about optimum matching relation, to obtain the driving of the target version of the information matches with terminal unit Program, what the driver of this target version was corresponding is the driver of the preferable version of user feedback.
Wherein it is desired to it is noted that the driving journey of the driver of the above-mentioned target version preferable version that is user feedback Sequence, is the driver of operating system and the hardware device being best suitable for terminal unit, but is not necessarily the driving journey of latest edition Sequence.
Therefore, during in order to avoid not being the driver of latest edition at the driver of target version, user is to above-mentioned Target drives program is upgraded, and causes the driver of the version after upgrading can not provide the user good functive Testing, the driver control method of the present embodiment also includes:
Obtain the version information having installed driver in terminal unit;
If it is determined that the information of any one driver in terminal unit and terminal unit meets optimum matching relation, then Stop any one driver is updated prompting.
Specifically, if driver controls device and determines and installed in terminal unit, any one drives journey Sequence meets optimum matching relation with the information of terminal unit, then can stop this driver is updated prompting, thus protect The version having demonstrate,proved the driver run on present terminal equipment is best suitable for himself information.
Such as, the NIC driver of entitled Broadcom NetLink (TM) Gigabit Ethernet series, Under win10x64 environment, if installation (upgrading) is to up-to-date driver, cannot use normally, matched is optimal NIC driver is below win8.1.Therefore driver controls device, however, it is determined that the NIC driver of terminal unit For below win8.1, then can stop this driver is updated prompting, in order to avoid user is updating this trawl performance journey After sequence, it is impossible to normally use network card equipment.
In sum, the driver control method of the embodiment of the present application, according to the feedback of the driver of different editions Information, determines the driver of different editions and the optimum matching relation of terminal unit, according to the driver of different editions with The optimum matching relation of terminal unit, chooses the driver of the target version of information matches with terminal unit.Ensure choosing The target drives program taken is to be suitable for the driver of terminal unit, improves Consumer's Experience, further ensures terminal unit Operation reliable, healthy.
In order to realize above-described embodiment, the application also proposed a kind of driver and controls device.
Fig. 3 is the structural representation that the driver according to one embodiment of the application controls device, as it is shown on figure 3, should Driver controls device and includes:
First acquisition module 310, for obtaining the information of terminal unit, the information of terminal unit includes the behaviour of terminal unit Make system version and hardware identifier.
Determine module 320, for determining the set of the driver corresponding with the information of terminal unit.
Choose module 330, for according to the rule preset, in the set of slave driver, choosing target drives program.
Specifically, after receiving the mount request of driver, the first acquisition module 310 i.e. must obtain terminal unit Information, the information of this terminal unit includes the version of the operating system of terminal unit and related hardware mark.
And then, determine that module 320 determines the set of the driver corresponding with the information of terminal unit.Specifically, really Cover half block 320 determines the collection of the driver of the different editions that the operating system version with terminal unit and hardware identifier match Close.
For same hardware device, the driver version of its correspondence may have a lot, and the driving of various version The operating system of the terminal unit that program is suitable for may be also different, accordingly, it is determined that module 320, can be according to driving journey to be installed The mark of sequence, in the driver of multi version of comforming, selects the operating system version with terminal unit and hardware identifier to mate The driver composition driver set of each version.
Introduce in detail below, under different situations, according to the information of terminal unit, obtain implementing of driver set Mode.
Example one: Fig. 4 is the structural representation that the driver according to one specific embodiment of the application controls device, as Shown in Fig. 4, on the basis of as shown in Figure 3, determine that module 320 includes that first determines that unit 321 and first filters unit 322.
Wherein, first determines unit 321, for according to the operating system version of terminal unit, determines in terminal unit The mark of the driver installed;
First filters unit 322, corresponding with the information of terminal unit for determining, and does not includes mounted driving journey The set of the driver of sequence.
Example two, owing to some similar hardware in terminal unit may can use identical driver, therefore root Shown in Fig. 5, on the basis of as shown in Figure 3, determine that module 320 may also include judging unit 323 and second and filters unit 324, wherein:
Judging unit 323, for judging whether at least two hardware identifier of terminal unit meets the relation preset;
Second filters unit 324, is used for when at least two hardware identifier judging terminal unit meets default relation, Determine corresponding with the information of terminal unit, and only include corresponding the driving of any one hardware identifier at least two hardware identifier The set of dynamic program.
Wherein, the hardware device that this preset relation characterizes at least two hardware identifier corresponding can share same driver Drive.
Concrete, driver controls can to prestore in device device identification right that can share same driver Answer relation table, and then after receiving driver mount request again, it is judged that unit 323 judges that at least two corresponding to mount request is hard Part identifies whether to meet the corresponding relation in the mapping table prestored, if, then explanation the two hardware identifier is permissible Share a driver, thus second filter unit 324 can be by driving corresponding for wherein any one hardware device mark Program identification filters from set, and then avoids repeatedly obtaining same driver and repeatedly install.
Further, choose module 330, for according to the rule preset, in the set of slave driver, choosing target Driver.
Owing to, in the driving set that determines according to terminal device information, may have multiple version for same driver Driver, and the driver of some version is not likely to be optimum version, thus causes the experience of user the highest.
Therefore to make user obtain more preferable experience, choosing module 330 can be according to default rule from driving In the set of dynamic program, choose the target drives program of applicable terminal unit further.
Wherein it is desired to explanation, according to the difference of application scenarios, the set of driver is chosen target drives journey The rule of sequence is the most different, and such as choosing module 330 can select the feedback information of the driver of different editions according to user Target drives program, or, choose module 330 can according to the driver of different editions component selections target drives program Etc..
In sum, the driver of the embodiment of the present application controls device, first obtains the operation system including terminal unit The information of the terminal unit of system version and hardware identifier, and then determine the collection of the driver corresponding with the information of terminal unit Close, and according to default rule, in the set of slave driver, choose target drives program.This device is according to terminal unit Information determines the set of driver, and chooses the target drives program being best suitable for terminal unit in the set of slave driver, Improve installation effectiveness and the accuracy of driver, ensure the operation reliable, healthy of terminal unit.
Based on above example, in order to more clearly illustrate in above-described embodiment, how according to the rule preset, from driving In the set of dynamic program, choose target drives program, below in conjunction with the accompanying drawings 6, with according to user's driving journey to different versions As a example by the feedback information of sequence chooses target drives program, it is described in detail, is described as follows:
Fig. 6 is the structural representation that the driver according to another embodiment of the application controls device, as shown in Figure 6, On the basis of as shown in Figure 3, choose module 330 and also include that second determines unit 331 and choose unit 332.
Wherein, second determines unit 331, for the feedback information of the driver according to different editions, determines different version This driver and the optimum matching relation of the information of terminal unit;
Choose unit 332, for the optimum matching relation of the driver according to different editions with the information of terminal unit, Choose the driver of the target version of information matches with terminal unit.
Specifically, second determines that unit 331 can be previously according to user's feedback letter to the driver of different editions Breath, determines the driver of different editions and the optimum matching relation of terminal device information.Thus, when reality is applied, choose Unit 332 can inquire about optimum matching relation according to the information of terminal unit, to obtain the target of the information matches with terminal unit The driver of version, what the driver of this target version was corresponding is the driver of the preferable version of user feedback.
Wherein it is desired to it is noted that the driving journey of the driver of the above-mentioned target version preferable version that is user feedback Sequence, is the driver of operating system and the hardware device being best suitable for terminal unit, but is not necessarily the driving journey of latest edition Sequence.
Therefore, during in order to avoid not being the driver of latest edition at the driver of target version, user is to above-mentioned Target drives program is upgraded, and causes the driver of the version after upgrading can not provide the user good functive Testing, the driver of the present embodiment controls device and also includes the second acquisition module and processing module:
Specifically, Fig. 7 is the structural representation that the driver according to another embodiment of the application controls device, such as figure Shown in 7, on the basis of as shown in Figure 6, this driver controls device and also includes: the second acquisition module 340 and processing module 350。
Wherein, the second acquisition module 340, for obtaining the version information having installed driver in terminal unit;
Processing module 350, for determining, second, any one driver and end that unit 332 determines in terminal unit When the information of end equipment meets optimum matching relation, stop any one driver is updated prompting.
Specifically, if second determines in the terminal unit that unit 331 obtains according to the second acquisition module 340 and install The version information of driver, determines that any one driver meets optimum matching relation with the information of terminal unit, then locates Reason module 350 can stop this driver is updated prompting, thus ensure that the driving run on present terminal equipment The version of program is best suitable for himself information.
It should be noted that the aforementioned explanation to method for upgrading software embodiment is also applied for the software of this embodiment Update device, here is omitted.
In sum, the driver of the embodiment of the present application controls device, according to the feedback of the driver of different editions Information, determines the driver of different editions and the optimum matching relation of terminal unit, according to the driver of different editions with The optimum matching relation of terminal unit, chooses the driver of the target version of information matches with terminal unit.Ensure choosing The target drives program taken is to be suitable for the driver of terminal unit, improves Consumer's Experience, further ensures terminal unit Operation reliable, healthy.
In the description of this specification, reference term " embodiment ", " some embodiments ", " example ", " specifically show Example " or the description of " some examples " etc. means to combine this embodiment or example describes specific features, structure, material or spy Point is contained at least one embodiment or the example of the application.In this manual, to the schematic representation of above-mentioned term not Identical embodiment or example must be directed to.And, the specific features of description, structure, material or feature can be in office One or more embodiments or example combine in an appropriate manner.Additionally, in the case of the most conflicting, the skill of this area The feature of the different embodiments described in this specification or example and different embodiment or example can be tied by art personnel Close and combination.
Additionally, term " first ", " second " are only used for describing purpose, and it is not intended that instruction or hint relative importance Or the implicit quantity 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 present application, " multiple " are meant that at least two, such as two, three Individual etc., unless otherwise expressly limited specifically.
In flow chart or at this, any process described otherwise above or method description are construed as, and expression includes One or more is for realizing the module of code, fragment or the portion of the executable instruction of the step of specific logical function or process Point, and the scope of the preferred implementation of the application includes other realization, wherein can not by shown or discuss suitable Sequence, including according to involved function by basic mode simultaneously or in the opposite order, performs function, and this should be by the application Embodiment person of ordinary skill in the field understood.
Represent in flow charts or the logic described otherwise above at this and/or step, for example, it is possible to be considered as to use In the sequencing list of the executable instruction realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (system such as computer based system, including processor or other can hold from instruction Row system, device or equipment instruction fetch also perform the system instructed) use, or combine these instruction execution systems, device or set Standby and use.For the purpose of this specification, " computer-readable medium " can be any can to comprise, store, communicate, propagate or pass Defeated program is for instruction execution system, device or equipment or combines these instruction execution systems, device or equipment and the dress that uses Put.The more specifically example (non-exhaustive list) of computer-readable medium includes following: have the electricity of one or more wiring Connecting portion (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read only memory (ROM), erasable read only memory (EPROM or flash memory), the fiber device edited, and portable optic disk is read-only deposits Reservoir (CDROM).It addition, computer-readable medium can even is that and can print the paper of described program thereon or other are suitable Medium, because then can carry out editing, interpreting or if desired with it such as by paper or other media are carried out optical scanning His suitable method is processed to electronically obtain described program, is then stored in computer storage.
Should be appreciated that each several part of the application can realize by hardware, software, firmware or combinations thereof.Above-mentioned In embodiment, the software that multiple steps or method in memory and can be performed by suitable instruction execution system with storage Or firmware realizes.Such as, if realized with hardware, with the most the same, available well known in the art under Any one or their combination in row technology realize: have the logic gates for data signal realizes logic function Discrete logic, there is the special IC of suitable combination logic gate circuit, programmable gate array (PGA), on-the-spot Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that and realize all or part of step that above-described embodiment method is carried Suddenly the program that can be by completes to instruct relevant hardware, and described program can be stored in a kind of computer-readable storage medium In matter, this program upon execution, including one or a combination set of the step of embodiment of the method.
Additionally, each functional unit in each embodiment of the application can be integrated in first processing module, also Can be that unit is individually physically present, it is also possible to two or more unit are integrated in a module.Above-mentioned integrated Module both can realize to use the form of hardware, it would however also be possible to employ the form of software function module realizes.Described integrated mould If block is using the form realization of software function module and as independent production marketing or use, it is also possible to be stored in a meter In calculation machine read/write memory medium.
Storage medium mentioned above can be read only memory, disk or CD etc..Although having shown that above and retouching State embodiments herein, it is to be understood that above-described embodiment is exemplary, it is impossible to be interpreted as the limit to the application System, above-described embodiment can be changed, revise, replace and become in scope of the present application by those of ordinary skill in the art Type.

Claims (10)

1. a driver control method, it is characterised in that comprise the following steps:
Obtaining the information of terminal unit, the information of described terminal unit includes operating system version and the hardware mark of terminal unit Know;
Determine the set of the driver corresponding with the information of described terminal unit;
According to default rule, from the set of described driver, choose target drives program.
2. the method for claim 1, it is characterised in that described determine the driving corresponding with the information of described terminal unit The set of program, including:
Determine the set of the driver of the different editions that operating system version and hardware identifier with described terminal unit mate.
3. method as claimed in claim 1 or 2, it is characterised in that described determine corresponding with the information of described terminal unit The set of driver, including:
According to the operating system version of described terminal unit, determine the mark of installed drivers in described terminal unit;
Determine corresponding with the information of described terminal unit, and do not include the collection of the driver of described installed drivers Close.
4. method as claimed in claim 1 or 2, it is characterised in that described determine corresponding with the information of described terminal unit The set of driver, including:
Judge whether at least two hardware identifier of described terminal unit meets the relation preset;
If meeting, it is determined that corresponding with the information of described terminal unit, and only include described at least two hardware identifier is appointed The set of the driver that the hardware identifier of anticipating is corresponding.
5. the method for claim 1, it is characterised in that the rule that described basis is preset, from the collection of described driver In conjunction, choose target drives program, including:
The feedback information of the driver according to different editions, determines the driver of different editions and the information of terminal unit Optimum matching relation;
Driver according to described different editions and the optimum matching relation of the information of terminal unit, choose and set with described terminal The driver of the target version of standby information matches.
6. method as claimed in claim 5, it is characterised in that also include:
Obtain the version information having installed driver in terminal unit;
If it is determined that the information of any one driver in described terminal unit and terminal unit meets optimum matching relation, then Stop any one driver described is updated prompting.
7. a driver controls device, it is characterised in that including:
First acquisition module, for obtaining the information of terminal unit, the information of described terminal unit includes the operation of terminal unit System version and hardware identifier;
Determine module, for determining the set of driver corresponding to the information of described terminal unit;
Choose module, for according to the rule preset, from the set of described driver, choosing target drives program.
8. device as claimed in claim 7, it is characterised in that described determine module, specifically for:
Determine the set of the driver of the different editions that operating system version and hardware identifier with described terminal unit mate.
9. as claimed in claim 7 or 8 device, it is characterised in that described determine module, including:
First determines unit, for the operating system version according to described terminal unit, determines in described terminal unit and installs The mark of driver;
First filters unit, corresponding with the information of described terminal unit for determining, and does not includes described mounted driving The set of the driver of program.
10. as claimed in claim 7 or 8 device, it is characterised in that described determine module, including:
Judging unit, for judging whether at least two hardware identifier of described terminal unit meets the relation preset;
Second filters unit, is used for when at least two hardware identifier judging described terminal unit meets default relation, really Fixed corresponding with the information of described terminal unit, and only include any one hardware identifier pair in described at least two hardware identifier The set of the driver answered.
CN201610409452.4A 2016-06-12 2016-06-12 Driver control method and device Pending CN106055340A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610409452.4A CN106055340A (en) 2016-06-12 2016-06-12 Driver control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610409452.4A CN106055340A (en) 2016-06-12 2016-06-12 Driver control method and device

Publications (1)

Publication Number Publication Date
CN106055340A true CN106055340A (en) 2016-10-26

Family

ID=57170795

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610409452.4A Pending CN106055340A (en) 2016-06-12 2016-06-12 Driver control method and device

Country Status (1)

Country Link
CN (1) CN106055340A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106990990A (en) * 2017-04-06 2017-07-28 上海烟草集团有限责任公司 Resource dynamic maintaining system based on resource distribution Driver Library
CN107704282A (en) * 2017-09-15 2018-02-16 北京东土科技股份有限公司 A kind of loading method and device applied to embedded system
CN108089885A (en) * 2017-12-28 2018-05-29 Tcl移动通信科技(宁波)有限公司 A kind of USB driving installation processes method, mobile terminal and storage medium
CN108228259A (en) * 2017-12-28 2018-06-29 珠海市君天电子科技有限公司 Installation method, server, client and the electronic equipment of hardware driving
CN109062581A (en) * 2018-07-18 2018-12-21 珠海奔图电子有限公司 Processing method, device and the equipment of the driver of terminal equipment side
CN109510898A (en) * 2018-12-21 2019-03-22 北京金山安全软件有限公司 Method and device for customizing call interface
CN111857851A (en) * 2020-07-27 2020-10-30 联想(北京)有限公司 Configuration method and device and electronic equipment
CN113961253A (en) * 2021-09-29 2022-01-21 阿里巴巴(中国)有限公司 Driver calling method and device, electronic equipment and storage medium
CN117215602A (en) * 2023-10-30 2023-12-12 广州鼎甲计算机科技有限公司 Method, device, computer equipment and storage medium for updating drive program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101382894A (en) * 2007-09-05 2009-03-11 北京软通科技有限责任公司 Method, system, computer, and server for downloading computer hardware device driver
US20120054734A1 (en) * 2010-08-31 2012-03-01 Apple Inc. Device software upgrade using a dynamically sized partition
CN102681875A (en) * 2012-05-15 2012-09-19 浪潮电子信息产业股份有限公司 General automatic updating method for drive program
CN102860054A (en) * 2010-04-23 2013-01-02 赛艺公司 Method and system for proximity-based, peer-initiated device configuration

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101382894A (en) * 2007-09-05 2009-03-11 北京软通科技有限责任公司 Method, system, computer, and server for downloading computer hardware device driver
CN102860054A (en) * 2010-04-23 2013-01-02 赛艺公司 Method and system for proximity-based, peer-initiated device configuration
US20120054734A1 (en) * 2010-08-31 2012-03-01 Apple Inc. Device software upgrade using a dynamically sized partition
CN102681875A (en) * 2012-05-15 2012-09-19 浪潮电子信息产业股份有限公司 General automatic updating method for drive program

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106990990A (en) * 2017-04-06 2017-07-28 上海烟草集团有限责任公司 Resource dynamic maintaining system based on resource distribution Driver Library
CN107704282A (en) * 2017-09-15 2018-02-16 北京东土科技股份有限公司 A kind of loading method and device applied to embedded system
CN108089885A (en) * 2017-12-28 2018-05-29 Tcl移动通信科技(宁波)有限公司 A kind of USB driving installation processes method, mobile terminal and storage medium
CN108228259A (en) * 2017-12-28 2018-06-29 珠海市君天电子科技有限公司 Installation method, server, client and the electronic equipment of hardware driving
CN109062581A (en) * 2018-07-18 2018-12-21 珠海奔图电子有限公司 Processing method, device and the equipment of the driver of terminal equipment side
CN109062581B (en) * 2018-07-18 2023-07-25 珠海奔图电子有限公司 Terminal equipment side driver processing method, device and equipment
CN109510898A (en) * 2018-12-21 2019-03-22 北京金山安全软件有限公司 Method and device for customizing call interface
CN109510898B (en) * 2018-12-21 2021-04-27 北京金山安全软件有限公司 Call interface self-defining method, device, equipment and storage medium
CN111857851A (en) * 2020-07-27 2020-10-30 联想(北京)有限公司 Configuration method and device and electronic equipment
CN113961253A (en) * 2021-09-29 2022-01-21 阿里巴巴(中国)有限公司 Driver calling method and device, electronic equipment and storage medium
CN113961253B (en) * 2021-09-29 2024-04-09 阿里巴巴(中国)有限公司 Driving program calling method, device, electronic equipment and storage medium
CN117215602A (en) * 2023-10-30 2023-12-12 广州鼎甲计算机科技有限公司 Method, device, computer equipment and storage medium for updating drive program

Similar Documents

Publication Publication Date Title
CN106055340A (en) Driver control method and device
US6754723B2 (en) System comprising host device that determines compatibility of firmware for connected peripheral device and downloads optimum firmware if peripheral device is not compatible
US8621053B2 (en) Firmware update apparatus and program
US10416985B2 (en) Method and apparatus for multi cycle vehicle software update compliance handling
CN100386727C (en) Computer-readable program product, process and apparatus for installing device driver
CN112666927A (en) Upgrading method and upgrading system for vehicle Electronic Control Unit (ECU)
CN109445810A (en) Information upgrade method, device and the storage medium of automatic driving vehicle
CN110244966A (en) A kind of BOOTLOADER program online updating method based on UDS
KR102639949B1 (en) Method and subsystem for installing a software update in a vehicle
CN102999349B (en) A kind of method for upgrading software
CN103984581A (en) Firmware upgrading method and device of chip
CN107704282B (en) Loading method and device applied to embedded system
WO2006115290A1 (en) Program version management taking into account system stability
CN109766105A (en) Drive programe installation method, device, server and computer readable storage medium
CN105468384A (en) Vehicle-mounted controller programming system and method, server and programming terminal
CN106126274A (en) Control method and device for application program data in mobile terminal and mobile terminal
CN107807624B (en) Method for refreshing application program in controller
CN110297649A (en) Method, system and the equipment of software upgrading are carried out to the electronic control unit of vehicle
CN101499009B (en) Method, system and medium for installing peripheral software driver
CN105159720A (en) Method and system for installing hardware device driver
CN113535225B (en) Environment configuration file processing method, device, equipment and medium of application software
CN108733398A (en) A kind of processing method and processing device of software upgrading
JP2014050137A (en) Inverter device
CN116431186A (en) Upgrading method, device and medium of vehicle-mounted ECU
CN114484761A (en) Method and device for controlling wire controller and wire controller

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20181210

Address after: 519030 Room 105-53811, No. 6 Baohua Road, Hengqin New District, Zhuhai City, Guangdong Province

Applicant after: Zhuhai Leopard Technology Co.,Ltd.

Address before: 100085 East District, Second Floor, 33 Xiaoying West Road, Haidian District, Beijing

Applicant before: BEIJING KINGSOFT INTERNET SECURITY SOFTWARE Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20161026