WO2018040746A1 - Procédé, dispositif et appareil électronique d'installation de pilote - Google Patents

Procédé, dispositif et appareil électronique d'installation de pilote Download PDF

Info

Publication number
WO2018040746A1
WO2018040746A1 PCT/CN2017/092355 CN2017092355W WO2018040746A1 WO 2018040746 A1 WO2018040746 A1 WO 2018040746A1 CN 2017092355 W CN2017092355 W CN 2017092355W WO 2018040746 A1 WO2018040746 A1 WO 2018040746A1
Authority
WO
WIPO (PCT)
Prior art keywords
installation package
driver
hardware device
device information
hardware
Prior art date
Application number
PCT/CN2017/092355
Other languages
English (en)
Chinese (zh)
Inventor
魏铮
闫亚闯
Original Assignee
北京金山安全软件有限公司
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 北京金山安全软件有限公司 filed Critical 北京金山安全软件有限公司
Publication of WO2018040746A1 publication Critical patent/WO2018040746A1/fr

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • 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

Definitions

  • the present invention relates to the field of electronic technologies, and in particular, to a method and device for installing a driver, and an electronic device.
  • the so-called driver refers to a hardware device (for example, a printer, a network card, a sound card, etc.) driver, which is a special program that enables a computer and a hardware device to communicate.
  • the operating system of the computer can control the operation of the hardware device through the driver. If the driver for a hardware device is not installed, the hardware device will not work properly.
  • the way to install the driver can be divided into an online installation and an offline installation.
  • the online installation generally uploads the hardware device information to the server, and then downloads and installs the driver information returned by the server; and the offline installation is a large number. After the common driver installation package is packaged, copy it to your computer and install the driver for the hardware device.
  • the embodiment of the invention provides a method and a device for installing a driver and an electronic device, which can realize the installation of the driver by combining the offline installation package and the server, thereby providing the installation efficiency of the driver.
  • a first aspect of the embodiments of the present invention provides a method for installing a driver, including:
  • the first hardware device information is represented as information that the hardware device that drives the installation package exists in the offline installation package based on the current hardware environment
  • the second hardware device information is represented as being based on the current hardware environment.
  • the information of the hardware device that drives the installation package does not exist in the offline installation package.
  • the obtaining, in the offline installation package, the driver installation package corresponding to the first hardware device information in the current hardware environment including:
  • the current hardware environment includes at least one hardware device information that does not have a driver installed;
  • the obtaining, in the offline installation package, the driver installation package corresponding to the first hardware device information in the current hardware environment including:
  • the current hardware environment includes at least one hardware device information of an installed driver
  • the sending the second hardware device information to the server, and receiving the driver installation package corresponding to the second hardware device information returned by the server includes:
  • the installing includes:
  • it also includes:
  • the offline installation package is updated according to the update data.
  • a second aspect of the embodiments of the present invention provides a device for installing a driver, including:
  • a first obtaining unit configured to obtain, in an offline installation package, a driver installation package corresponding to the first hardware device information in a current hardware environment
  • a second acquiring unit configured to acquire second hardware device information in the current hardware environment
  • a third acquiring unit configured to: when the network connection is detected, send the second hardware device information to the server, and receive a driver installation package corresponding to the second hardware device information returned by the server;
  • a driver installation unit configured to install a driver installation package corresponding to the first hardware device information and a driver installation package corresponding to the second hardware device information
  • the first hardware device information is represented as information that the hardware device that drives the installation package exists in the offline installation package based on the current hardware environment
  • the second hardware device information is represented as being based on the current hardware environment.
  • the information of the hardware device that drives the installation package does not exist in the offline installation package.
  • the first acquiring unit includes:
  • a first information acquiring unit configured to acquire a current hardware environment, where the current hardware environment includes at least one hardware device information that does not have a driver installed;
  • the first installation package obtaining unit is configured to search for and obtain a driver installation package corresponding to the first hardware device information in the offline installation package based on the hardware device information of the at least one uninstalled driver.
  • the first acquiring unit includes:
  • a second information acquiring unit configured to acquire a current hardware environment, where the current hardware environment includes at least one hardware device information of the installed driver
  • a first version number obtaining unit configured to search for and obtain a first version number of the update driver installation package corresponding to the first hardware device information in the offline installation package based on the hardware device information of the at least one installed driver;
  • a second installation package obtaining unit configured to acquire an update driver installation package corresponding to the first version number if a current version number of the installed driver corresponding to the first hardware device information is lower than the first version number .
  • the third obtaining unit includes:
  • a second version number obtaining unit configured to: when the network connection is detected, send the second hardware device information to the server, and receive an update driver installation package corresponding to the second hardware device information returned by the server Second version number;
  • a third installation package obtaining unit configured to acquire an update driver installation package corresponding to the second version number if a current version number of the installed driver corresponding to the second hardware device information is lower than the second version number .
  • the driver installation unit is specifically configured to install an update driver installation package corresponding to the first hardware device information and an update driver installation package corresponding to the second hardware device information.
  • it also includes:
  • a request sending unit configured to: when the network connection is detected, send an update request for the offline installation package to the server, and receive update data of the offline installation package returned by the server;
  • an installation package update unit configured to update the offline installation package according to the update data.
  • a third aspect of the embodiments of the present invention provides an electronic device, the server including a processor and a memory, wherein the memory is configured to store executable program code; the processor reads the memory by reading the memory The executable code to run the program corresponding to the executable code to perform the following steps:
  • the first hardware device information is represented as information that the hardware device that drives the installation package exists in the offline installation package based on the current hardware environment
  • the second hardware device information is represented as being based on the current hardware environment.
  • the information of the hardware device that drives the installation package does not exist in the offline installation package.
  • the embodiment of the present invention further provides a storage medium for storing an application, where the application is used to execute a method for installing a driver provided by an embodiment of the present invention.
  • an embodiment of the present invention provides an application program for performing a method for installing a driver provided by an embodiment of the present invention.
  • the driver installation package corresponding to the first hardware device information in the current hardware environment is obtained in the offline installation package, and the second hardware device information in the current hardware environment is obtained, and when the network connection is detected, Sending the second hardware device information to the server, and receiving the driver installation package corresponding to the second hardware device information returned by the server, and installing the driver installation package corresponding to the first hardware device information and the driver installation package corresponding to the second hardware device information.
  • FIG. 1 is a schematic flowchart of a method for installing a driver according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of another method for installing a driver according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of another method for installing a driver according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a device for installing a driver according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of another apparatus for installing a driver according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a first acquiring unit according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of another first acquiring unit according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of a third acquiring unit according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • the installation method of the driver provided by the embodiment of the present invention can be applied to a driver installation scenario of a hardware device in a computer, for example, obtaining a driver installation package corresponding to the first hardware device information in a current hardware environment of the computer in an offline installation package; Acquiring the second hardware device information in the current hardware environment; when detecting the network connection, sending the second hardware device information to the server, and receiving the driver installation corresponding to the second hardware device information returned by the server And installing a driver installation package corresponding to the first hardware device information and a driver installation package corresponding to the second hardware device information.
  • the installation of the driver of the hardware device is realized, and the installation of the driver is incomplete due to the separate installation package, and the server is not connected due to the separate use of the server.
  • the network causes the driver to be unable to be installed, which improves the efficiency of installing the driver.
  • the server involved in the embodiment of the present invention may be a background device for installing a driver or the like, and the electronic device involved It can be any device with storage and communication functions, such as: tablet, mobile phone, personal computer (PC), laptop, car device, network TV, etc.
  • the installation device of the driver involved can be any A device with storage and communication capabilities, or a driver installation module embedded in any device with storage and communication capabilities.
  • FIG. 1 is a schematic flowchart diagram of a method for installing a driver according to an embodiment of the present invention. As shown in FIG. 1, the method of the embodiment of the present invention may include the following steps S101 to S104.
  • the installation device of the driver acquires, in the offline installation package, a driver installation package corresponding to the first hardware device information in the current hardware environment, where the first hardware device information is represented as being based on the current hardware environment.
  • Information about the hardware devices that drive the installation package exists in the offline installation package.
  • the current hardware environment may include information of a hardware device on which the driver has been installed, in which case the installation device of the driver acquires, from the offline installation package, the hardware device information corresponding to the installed driver.
  • the driver installation package, the information of the hardware device corresponding to the driver installation package found in the offline installation package is the first hardware device information.
  • the current hardware environment may include information of a hardware device not having a driver installed, in which case the installing device of the driver acquires the hardware device with the driver not installed from the offline installation package
  • the driver installation package corresponding to the information, and the information of the hardware device corresponding to the driver installation package found in the offline installation package is the first hardware device information.
  • the offline installation package contains driver installation packages related to various hardware devices, which enables the driver installation package to be obtained from the offline installation package without connecting to the network.
  • the hardware device information may include, but is not limited to, operating system version information, a hardware identification code
  • the operating system version information may include UNIX, LINUX, Windows, Apple operating system (Mac OS X), and Symbian operation.
  • the hardware identification can be through hardware type, hardware
  • the name and/or hardware identification code indicates, for example, a hard disk identification code (ID) indicating a hardware identification, a media access control (MAC) address indicating a network card identification, and the like.
  • ID hard disk identification code
  • MAC media access control
  • the installation device of the driver acquires the second hardware device information in the current hardware environment.
  • the second hardware device information is represented as information that the hardware device that drives the installation package does not exist in the offline installation package based on the current hardware environment. Since the first hardware device information is represented as information that the hardware device that drives the installation package exists in the offline installation package based on the current hardware environment, the second hardware device information indicates that the current hardware environment is Information of the hardware device other than the first hardware device information.
  • the installation device of the driver sends the acquired second hardware device information to the server, so that the server searches for a driver installation package corresponding to the second hardware device information, and The server returns the found driver installation package to the installation device of the driver, and correspondingly, the driver installation device receives the driver installation package returned by the server.
  • the driver installation package not found in the offline installation package can be obtained from the server to install the driver of each hardware device in the current hardware environment.
  • the driver installation package returned by the server may be fed back through a link or a web address, so that the installation device of the driver can download the driver installation package through the returned link or network, after the download is completed. Install the driver installation package.
  • the installation device of the driver installs the driver installation package corresponding to the first hardware device information and the driver installation package corresponding to the second hardware device information.
  • the embodiment of the present invention does not limit the sequence before and after the installation of the driver installation package corresponding to the first hardware device information and the driver installation package corresponding to the second hardware device information.
  • the installation device of the driver performs the installation of the driver installation package corresponding to the first hardware device information after performing the step S101 to obtain the driver installation package corresponding to the first hardware device information, or
  • the installation device of the driver installs the driver installation package corresponding to the second hardware device information after receiving the driver installation package fed back by the server.
  • the installation device of the driver completes the installation of the driver in the current hardware environment by combining the offline installation package and the server.
  • the driver installation package corresponding to the first hardware device information in the current hardware environment is obtained in the offline installation package, and the second hardware device information in the current hardware environment is obtained, and when the network connection is detected, Sending the second hardware device information to the server, and receiving the driver installation package corresponding to the second hardware device information returned by the server, and installing the driver installation package corresponding to the first hardware device information and the driver installation package corresponding to the second hardware device information.
  • FIG. 2 is a schematic flowchart diagram of another method for installing a driver according to an embodiment of the present invention. As shown in FIG. 2, the method in the embodiment of the present invention may include the following steps S201 to S207.
  • the installation device of the driver acquires a current hardware environment, and the current hardware environment includes at least one hardware device information that does not have a driver installed.
  • the hardware device information may include, but is not limited to, operating system version information, a hardware identifier, and the operating system version information may include UNIX, LINUX, Windows, Mac OS X, Symbian, Android, Kylin OS, and the like.
  • Identification information of each version for example, Windows 7 64-bit representation of operating system version information; the hardware identification may be represented by a hardware type, a hardware name, and/or a hardware identification code, for example, a hard disk ID indicating a hardware identification, and a MAC address representation Network card identification, etc.
  • the installation device of the driver searches for and acquires a driver installation package corresponding to the first hardware device information in the offline installation package based on the hardware device information of the at least one driver not installed.
  • the first hardware device information is represented as information that the hardware device that drives the installation package exists in the offline installation package based on the current hardware environment, and the installation device of the driver acquires the offline installation package.
  • the driver installation package corresponding to the hardware device information of the driver is not installed, and the information of the hardware device corresponding to the driver installation package found in the offline installation package is the first hardware device information.
  • the installation device of the driver acquires the second hardware device information in the current hardware environment.
  • the second hardware device information is represented as information that the hardware device that drives the installation package does not exist in the offline installation package based on the current hardware environment. Since the first hardware device information is represented as information that the hardware device that drives the installation package exists in the offline installation package based on the current hardware environment, the second hardware device information indicates that the current hardware environment is The information of the hardware device other than the first hardware device information, that is, the second hardware device information is information including a hardware device that is not found in the offline installation package and that does not have a driver installed.
  • the installation device of the driver sends the acquired second hardware device information to the server, so that the server searches for a driver installation package corresponding to the second hardware device information, and The server returns the found driver installation package to the installation device of the driver, and correspondingly, the driver installation device receives the driver installation package returned by the server.
  • the driver installation package not found in the offline installation package can be obtained from the server to install the driver of each hardware device in the current hardware environment.
  • the second hardware device information is automatically sent to the server, which enhances the intelligence and convenience of the driver installation.
  • the driver installation package returned by the server may be fed back through a link or a web address, so that the installation device of the driver can download the driver installation package by using the returned link or the web address, after the download is completed. Install the driver installation package.
  • the installation device of the driver installs the driver installation package corresponding to the first hardware device information and the driver installation package corresponding to the second hardware device information.
  • the embodiment of the present invention does not limit the sequence before and after the installation of the driver installation package corresponding to the first hardware device information and the driver installation package corresponding to the second hardware device information.
  • the installation device of the driver performs the installation of the driver installation package corresponding to the first hardware device information after performing the step S202 to obtain the driver installation package corresponding to the first hardware device information, or
  • the installation device of the driver installs the driver installation package corresponding to the second hardware device information after receiving the driver installation package fed back by the server.
  • the installation device of the driver completes the installation of the driver in the current hardware environment by combining the offline installation package and the server.
  • the installation device of the driver when the network connection is detected, sends an update request for the offline installation package to the server, so that the server returns the update data of the offline installation package.
  • the server since the offline installation package includes a driver installation package corresponding to each hardware device information, after sending an update request of the offline installation package to the server, the server may package the latest version of the driver installation package of each hardware device into an update. Data is sent to the installation device of the driver, the installation device of the driver receives update data of the offline installation package returned by the server, and the installation device of the driver updates the offline installation package.
  • the installation device of the driver updates the offline installation package according to the update data.
  • the installation device of the driver detects the version number of the driver installation package corresponding to each hardware device information in the updated update data, and the version number of the driver installation package that is fed back is higher than the current version number in the offline installation package.
  • the update step is not performed; and, when the driver installation package corresponding to the hardware device information does not exist in the offline installation package, the driver installation package is saved to the offline installation package. .
  • the installation device of the driver can obtain as many driver installation packages corresponding to the first hardware device information from the offline installation package, and can ensure The obtained driver installation package is updated to the latest version, which is more convenient for users to use and enhance user stickiness.
  • the driver installation package corresponding to the first hardware device information in the current hardware environment is obtained in the offline installation package, and the second hardware device information in the current hardware environment is obtained, and when the network connection is detected, Service The device sends the second hardware device information, and receives the driver installation package corresponding to the second hardware device information returned by the server, and installs the driver installation package corresponding to the first hardware device information and the driver installation package corresponding to the second hardware device information.
  • Service The device sends the second hardware device information, and receives the driver installation package corresponding to the second hardware device information returned by the server, and installs the driver installation package corresponding to the first hardware device information and the driver installation package corresponding to the second hardware device information.
  • FIG. 3 is a schematic flowchart diagram of another method for installing a driver according to an embodiment of the present invention. As shown in FIG. 3, the method in the embodiment of the present invention may include the following steps S301 to S307.
  • the driver installation device acquires a current hardware environment, and the current hardware environment includes at least one hardware device information of the installed driver.
  • the hardware device information may include, but is not limited to, operating system version information, a hardware identifier, and the operating system version information may include UNIX, LINUX, Windows, Mac OS X, Symbian, Android, Kylin OS, and the like.
  • Identification information of each version for example, Windows 7 64-bit representation of operating system version information; the hardware identification may be represented by a hardware type, a hardware name, and/or a hardware identification code, for example, a hard disk ID indicating a hardware identification, and a MAC address representation Network card identification, etc.
  • the installation device of the driver searches for and obtains the first version number of the update driver installation package corresponding to the first hardware device information in the offline installation package based on the hardware device information of the at least one installed driver.
  • the update driver installation package is the highest version number corresponding to the first hardware device information, and the most popular version or the most stable version of the driver installation package, regardless of the situation, The installation device of the driver obtains the first version number corresponding to the update driver installation package.
  • the installation device of the driver acquires the update driver installation corresponding to the first version number.
  • the package is updated to complete the driver installation package corresponding to the first hardware device information.
  • the installing device of the driver does not perform the step of acquiring a driver installation package.
  • the installation device of the driver acquires the second hardware device information in the current hardware environment.
  • the second hardware device information is represented as information that the hardware device that drives the installation package does not exist in the offline installation package based on the current hardware environment. Since the first hardware device information is represented as information that the hardware device that drives the installation package exists in the offline installation package based on the current hardware environment, the second hardware device information indicates that the current hardware environment is The information of the hardware device other than the first hardware device information, that is, the second hardware device information is information including a hardware device that is not found in the offline installation package and has the driver installed.
  • the installing device of the driver when detecting the network connection, sends the second hardware device information to the server, so that the server searches for an update driver installation package corresponding to the second hardware device information. a second version number, and the server returns the second version number of the updated update driver installation package to the installation device of the driver, and correspondingly, the installation device of the driver receives the second returned by the server version number.
  • the update driver installation package is the driver version package of the highest version number corresponding to the second hardware device information, and the most popular version or the most stable version of the driver installation package, in either case, The installation device of the driver acquires a second version number corresponding to the update driver installation package.
  • the second hardware device information is automatically sent to the server, which enhances the intelligence and convenience of the driver installation.
  • the installation device of the driver acquires the update driver installation corresponding to the second version number.
  • the package is updated to complete the driver installation package corresponding to the first hardware device information.
  • the driver installation package obtained by the installation device of the driver to the server may download the update driver installation package by means of a link or a web address.
  • the installing device of the driver does not perform the step of obtaining an update driver installation package.
  • the installation device of the driver installs an update driver installation package corresponding to the first hardware device information and an update driver installation package corresponding to the second hardware device information.
  • the embodiment of the present invention does not limit the sequence before and after the installation of the update driver installation package corresponding to the first hardware device information and the update driver installation package corresponding to the second hardware device information.
  • the installation device of the driver acquires the first hard in step S303. After the update driver installation package corresponding to the piece of device information, performing an installation of the update driver installation package corresponding to the first hardware device information, or after the installation device of the driver receives the update driver installation package fed back by the server, The update driver installation package corresponding to the second hardware device information is installed.
  • the installation device of the driver completes the installation of the driver in the current hardware environment by combining the offline installation package and the server.
  • the installation device of the driver can obtain as many driver installation packages corresponding to the first hardware device information from the offline installation package, and can ensure The obtained driver installation package is updated to the latest version, which is more convenient for users to use and enhance user stickiness.
  • the driver installation package corresponding to the first hardware device information in the current hardware environment is obtained in the offline installation package, and the second hardware device information in the current hardware environment is obtained, and when the network connection is detected, Sending the second hardware device information to the server, and receiving the driver installation package corresponding to the second hardware device information returned by the server, and installing the driver installation package corresponding to the first hardware device information and the driver installation package corresponding to the second hardware device information.
  • the hardware device update driver for the installed driver is realized, which avoids the incomplete update of the driver due to the separate installation package, and the use of the server alone. Failure to connect to the network results in an inability to update the driver and improves the efficiency of updating the driver.
  • FIG. 4 is a schematic structural diagram of a device for installing a driver according to an embodiment of the present invention.
  • the installation apparatus 1 of the driver of the embodiment of the present invention may include: a first acquisition unit 11, a second acquisition unit 12, a third acquisition unit 13, and a drive installation unit 14.
  • the first obtaining unit 11 is configured to obtain, in the offline installation package, a driver installation package corresponding to the first hardware device information in the current hardware environment.
  • the first acquiring unit 11 acquires, in an offline installation package, a driver installation package corresponding to the first hardware device information in the current hardware environment, where the first hardware device information is represented as being based on the current hardware environment.
  • Information about the hardware device that drives the installation package exists in the offline installation package.
  • the current hardware environment may include information of a hardware device on which the driver has been installed.
  • the first obtaining unit 11 acquires, from the offline installation package, the hardware device information corresponding to the installed driver.
  • the driver installation package, the information of the hardware device corresponding to the driver installation package found in the offline installation package is the first hardware device information.
  • the current hardware environment may include information of a hardware device not having a driver installed, in which case the first obtaining unit 11 acquires the hardware device with the driver not installed from the offline installation package.
  • the driver installation package corresponding to the information, and the information of the hardware device corresponding to the driver installation package found in the offline installation package is the first hardware device information.
  • the offline installation package contains driver installation packages related to various hardware devices, which enables the driver installation package to be obtained from the offline installation package without connecting to the network to implement the driver. installation.
  • the hardware device information may include, but is not limited to, operating system version information, a hardware identifier, and the operating system version information may include UNIX, LINUX, Windows, Mac OS X, Symbian, Android, Kylin OS, and the like.
  • Identification information of each version for example, Windows 7 64-bit representation of operating system version information; the hardware identification may be represented by a hardware type, a hardware name, and/or a hardware identification code, for example, a hard disk ID indicating a hardware identification, and a MAC address representation Network card identification, etc.
  • the second obtaining unit 12 is configured to acquire second hardware device information in the current hardware environment.
  • the second acquiring unit 12 acquires the second hardware device information in the current hardware environment.
  • the second hardware device information is represented as information that the hardware device that drives the installation package does not exist in the offline installation package based on the current hardware environment. Since the first hardware device information is represented as information that the hardware device that drives the installation package exists in the offline installation package based on the current hardware environment, the second hardware device information indicates that the current hardware environment is Information of the hardware device other than the first hardware device information.
  • the third obtaining unit 13 is configured to: when the network connection is detected, send the second hardware device information to the server, and receive a driver installation package corresponding to the second hardware device information returned by the server.
  • the third acquiring unit 13 sends the acquired second hardware device information to the server, so that the server searches for the driver installation package corresponding to the second hardware device information, and The server returns the found driver installation package to the installation device 1 of the driver, and correspondingly, the third acquisition unit 13 receives the driver installation package returned by the server.
  • the driver installation package not found in the offline installation package can be obtained from the server to install the driver of each hardware device in the current hardware environment.
  • the driver installation package returned by the server may be fed back through a link or a web address, so that the third obtaining unit 13 may download the driver installation package through the returned link or network, after the download is completed. Install the driver installation package.
  • the driver installation unit 14 is configured to install the driver installation package corresponding to the first hardware device information and the driver installation package corresponding to the second hardware device information.
  • the driver installation unit 14 installs a driver installation package corresponding to the first hardware device information and a driver installation package corresponding to the second hardware device information.
  • the embodiment of the present invention does not limit the sequence before and after the installation of the driver installation package corresponding to the first hardware device information and the driver installation package corresponding to the second hardware device information.
  • the driver installation unit 14 after the first acquisition unit 11 acquires the driver installation package corresponding to the first hardware device information, the driver installation unit 14 performs installation of the driver installation package corresponding to the first hardware device information.
  • the driver installation unit 14 installs the driver installation package corresponding to the second hardware device information after receiving the driver installation package fed back by the server.
  • the installation device 1 of the driver thus completes the installation of the driver in the current hardware environment by combining the offline installation package and the server.
  • the driver installation package corresponding to the first hardware device information in the current hardware environment is obtained in the offline installation package, and the second hardware device information in the current hardware environment is obtained, and when the network connection is detected, Sending the second hardware device information to the server, and receiving the driver installation package corresponding to the second hardware device information returned by the server, and installing the driver installation package corresponding to the first hardware device information and the driver installation package corresponding to the second hardware device information.
  • FIG. 5 is a schematic structural diagram of another apparatus for installing a driver according to an embodiment of the present invention.
  • the installation apparatus 1 of the driver of the embodiment of the present invention may include: a first acquisition unit 11, a second acquisition unit 12, a third acquisition unit 13, a driver installation unit 14, a request transmission unit 15, The data receiving unit 16 and the package update unit 17.
  • the first obtaining unit 11 is configured to obtain, in the offline installation package, a driver installation package corresponding to the first hardware device information in the current hardware environment.
  • the first acquiring unit 11 includes a first information acquiring unit 111 and a first installation package acquiring unit 112. Please refer to Figure 6 for details.
  • the first information acquiring unit 111 is configured to acquire a current hardware environment, where the current hardware environment includes at least one hardware device information that does not have a driver installed.
  • the first information acquiring unit 111 acquires a current hardware environment, where the current hardware environment includes at least one hardware device information that does not have a driver installed.
  • the hardware device information may include, but is not limited to, operating system version information, a hardware identifier, and the operating system version information may include UNIX, LINUX, Windows, Mac OS X, Symbian, Android, Kylin OS, and the like.
  • Identification information of each version for example, Windows 7 64-bit representation of operating system version information; the hardware identification may be represented by a hardware type, a hardware name, and/or a hardware identification code, for example, a hard disk ID indicating a hardware identification, and a MAC address representation Network card identification, etc.
  • the first installation package obtaining unit 112 is configured to search for and obtain a driver installation package corresponding to the first hardware device information in the offline installation package based on the hardware device information of the at least one uninstalled driver.
  • the first installation package obtaining unit 112 searches for and acquires a driver installation package corresponding to the first hardware device information in the offline installation package based on the hardware device information of the at least one driver that is not installed.
  • the first hardware device information is represented as information that the hardware device that drives the installation package exists in the offline installation package based on the current hardware environment, and the first installation package acquiring unit 112 is from the offline installation package.
  • Obtaining a driver installation package corresponding to the hardware device information of the uninstalled driver, and the information of the hardware device corresponding to the driver installation package found in the offline installation package is the first hardware device information.
  • the first acquiring unit 11 includes a first information acquiring unit 113, a first version number obtaining unit 114, and a second installation package acquiring unit 115. Please refer to Figure 7 for details.
  • the second information acquiring unit 113 is configured to acquire a current hardware environment, where the current hardware environment includes at least one hardware device information of the installed driver.
  • the second information acquiring unit 113 acquires a current hardware environment, where the current hardware environment includes at least one hardware device information of the installed driver.
  • the first version number obtaining unit 114 is configured to search for and obtain the first version number of the update driver installation package corresponding to the first hardware device information in the offline installation package based on the hardware device information of the at least one installed driver;
  • the first version number obtaining unit 114 searches for and obtains the first version number of the update driver installation package corresponding to the first hardware device information in the offline installation package based on the hardware device information of the at least one installed driver.
  • the update driver installation package is the highest version number corresponding to the first hardware device information, and the most popular version or the most stable version of the driver installation package in the offline installation package, regardless of the situation.
  • the first version number obtaining unit 114 acquires a first version number corresponding to the update driver installation package.
  • the second installation package obtaining unit 115 is configured to acquire an update driver installation corresponding to the first version number if the current version number of the installed driver corresponding to the first hardware device information is lower than the first version number package.
  • the second installation package obtaining unit 115 acquires the update corresponding to the first version number.
  • the installation package is driven to complete the update of the driver installation package corresponding to the first hardware device information.
  • the second installation package obtaining unit 115 does not perform the step of acquiring the driver installation package. .
  • the second obtaining unit 12 is configured to acquire second hardware device information in the current hardware environment.
  • the second acquiring unit 12 acquires the second hardware device information in the current hardware environment.
  • the second hardware device information is represented as information that the hardware device that drives the installation package does not exist in the offline installation package based on the current hardware environment. Since the first hardware device information is represented as information that the hardware device that drives the installation package exists in the offline installation package based on the current hardware environment, the second hardware device information indicates that the current hardware environment is The information of the hardware device other than the first hardware device information, that is, the second hardware device information is information including a hardware device that is not found in the offline installation package and that does not have a driver installed.
  • the third obtaining unit 13 is configured to: when the network connection is detected, send the second hardware device information to the server, and receive a driver installation package corresponding to the second hardware device information returned by the server.
  • the third obtaining unit 13 sends the acquired second hardware device information to the server, so that the server searches Driving the installation package corresponding to the second hardware device information, and the server returns the found driver installation package to the driver
  • the device 1 is installed, and accordingly, the first acquisition unit 11 receives a driver installation package returned by the server.
  • the driver installation package not found in the offline installation package can be obtained from the server to install the driver of each hardware device in the current hardware environment.
  • the driver installation package returned by the server may be fed back through a link or a web address, so that the third obtaining unit 13 may download the driver installation package by using the returned link or the web address, after the download is completed. Install the driver installation package.
  • the third obtaining unit 13 includes a second version number obtaining unit 131 and a third installation package acquiring unit 132. Please refer to Figure 8 for details.
  • the second version number obtaining unit 131 is configured to: when the network connection is detected, send the second hardware device information to the server, and receive an update driver installation package corresponding to the second hardware device information returned by the server Second version number;
  • the second version number obtaining unit 131 sends the second hardware device information to the server, so that the server searches for an update driver installation corresponding to the second hardware device information. a second version number of the package, and the server returns the second version number of the updated driver installation package to the installation device 1 of the driver, and correspondingly, the second version number acquisition unit 131 receives the The second version number returned by the server.
  • the update driver installation package is the driver version package of the highest version number corresponding to the second hardware device information, and the most popular version or the most stable version of the driver installation package, in either case,
  • the second version number obtaining unit 131 acquires a second version number corresponding to the update driver installation package.
  • the third installation package obtaining unit 132 is configured to acquire an update driver installation corresponding to the second version number if the current version number of the installed driver corresponding to the second hardware device information is lower than the second version number package.
  • the third installation package obtaining unit 132 acquires the update corresponding to the second version number.
  • the installation package is driven to complete the update of the driver installation package corresponding to the first hardware device information.
  • the driver installation package acquired by the third installation package obtaining unit 132 to the server may be to download the update driver installation package by means of a link or a web address.
  • the third installation package obtaining unit 132 does not perform the process of acquiring the update driver installation package. step.
  • the driver installation unit 14 is configured to install the driver installation package corresponding to the first hardware device information and the driver installation package corresponding to the second hardware device information.
  • the driver installation unit 14 drives the installation package corresponding to the first hardware device information and the driver installation package corresponding to the second hardware device information. Install it.
  • the driving installation unit 14 is specifically configured to An update driver installation package corresponding to the hardware device information and an update driver installation package corresponding to the second hardware device information are installed.
  • the sequence before and after the installation of the driver installation package corresponding to the first hardware device information and the driver installation package corresponding to the second hardware device information is not limited.
  • the driver installation unit 14 performs installation of the driver installation package corresponding to the first hardware device information, or After receiving the driver installation package fed back by the server, installing the driver installation package corresponding to the second hardware device information.
  • the installation device 1 of the driver thus completes the installation of the driver in the current hardware environment by combining the offline installation package and the server.
  • the request sending unit 15 is configured to send an update request for the offline installation package to the server when the network connection is detected.
  • the request sending unit 15 sends an update request for the offline installation package to the server, so that the server returns the update data of the offline installation package.
  • the server since the offline installation package includes a driver installation package corresponding to each hardware device information, after sending an update request of the offline installation package to the server, the server may package the latest version of the driver installation package of each hardware device into an update. The data is sent to the mounting device 1 of the driver.
  • the data receiving unit 16 is configured to receive update data of the offline installation package returned by the server.
  • the data receiving unit 16 receives the update data of the offline installation package returned by the server.
  • the installation package updating unit 17 is configured to update the offline installation package according to the update data.
  • the installation package updating unit 17 updates the offline installation package according to the update data.
  • the installation package updating unit 17 detects the version number of the driver installation package corresponding to each hardware device information in the feedback update data, and the version number of the driven driver installation package is higher than the current version number in the offline installation package.
  • the update step is not performed; and, when the driver installation package corresponding to the hardware device information does not exist in the offline installation package, the driver installation package is saved to the offline installation package. .
  • the installation device 1 of the driver can acquire as many driver installation packages corresponding to the first hardware device information from the offline installation package in the network unconnected state, and can Ensure that the driver installation package obtained is updated to the latest version, which is more convenient for users to use and enhance user stickiness.
  • the driver installation package corresponding to the first hardware device information in the current hardware environment is obtained in the offline installation package, and the second hardware device information in the current hardware environment is obtained, and when the network connection is detected, Sending the second hardware device information to the server, and receiving the driver installation package corresponding to the second hardware device information returned by the server, and installing the driver installation package corresponding to the first hardware device information and the driver installation package corresponding to the second hardware device information.
  • the driver is installed for the driver hardware device not installed, the driver installation is incomplete due to the offline installation package alone, and the server is used separately.
  • the failure to connect to the network results in the inability to install the driver, which improves the efficiency of the driver installation.
  • FIG. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • the electronic device 1000 may include at least one processor 1001, such as a CPU, at least one network interface 1004, a user interface 1003, a memory 1005, and at least one communication bus 1002.
  • the communication bus 1002 is used to implement connection communication between these components.
  • the user interface 1003 can include a display and a keyboard.
  • the optional user interface 1003 can also include a standard wired interface and a wireless interface.
  • the network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a WI-FI interface).
  • the memory 1005 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.
  • the memory 1005 can also optionally be at least one storage device located remotely from the aforementioned processor 1001.
  • a memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a driver installation application.
  • the user interface 1003 is mainly used to provide an input interface for the user, and obtains an operation request of the user for the driver; and the processor 1001 can be used to call the installation of the driver stored in the memory 1005.
  • the first hardware device information is represented as information that the hardware device that drives the installation package exists in the offline installation package based on the current hardware environment
  • the second hardware device information is represented as being based on the current hardware environment.
  • the information of the hardware device that drives the installation package does not exist in the offline installation package.
  • the processor 1001 obtains a driver installation package corresponding to the first hardware device information in the current hardware environment in the offline installation package, and specifically performs the following steps:
  • the current hardware environment includes at least one hardware device information that does not have a driver installed;
  • the processor 1001 obtains the driver installation package corresponding to the first hardware device information in the current hardware environment in the offline installation package, and specifically performs the following steps:
  • the current hardware environment includes at least one hardware device information of an installed driver
  • the processor 1001 sends the second hardware device information to the server when the network connection is detected, and receives the driver corresponding to the second hardware device information returned by the server. Install the package and perform the following steps:
  • the processor 1001 is configured to install the driver installation package corresponding to the first hardware device information and the driver installation package corresponding to the second hardware device information, and specifically perform the following steps:
  • the processor 1001 also performs the following steps:
  • the offline installation package is updated according to the update data.
  • the module or unit in the embodiment of the present invention may be implemented by a general-purpose integrated circuit, such as a CPU (Central Processing Unit) or an ASIC (Application Specific Integrated Circuit).
  • a general-purpose integrated circuit such as a CPU (Central Processing Unit) or an ASIC (Application Specific Integrated Circuit).
  • modules or units in the terminal in the embodiment of the present invention may be combined, divided, and deleted according to actual needs.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

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

Abstract

L'invention concerne un procédé, un dispositif et un appareil électronique d'installation de pilote. Le procédé comporte les étapes consistant à: acquérir, à partir d'un paquetage d'installation hors ligne, un paquetage d'installation de pilote correspondant à des premières informations d'appareil matériel dans un environnement matériel actuel (S101); acquérir des deuxièmes informations d'appareil matériel dans l'environnement matériel actuel (S102); suite à la détection d'une connexion de réseau, envoyer à un serveur les deuxièmes informations d'appareil matériel, et recevoir un paquetage d'installation de pilote correspondant aux deuxièmes informations d'appareil matériel issues de la réponse du serveur (S103); et installer le paquetage d'installation de pilote correspondant aux premières informations d'appareil matériel et le paquetage d'installation de pilote correspondant aux deuxièmes informations d'appareil matériel (S104). Le procédé combine un paquetage d'installation hors ligne et un serveur pour réaliser l'installation de pilotes, renforçant ainsi le rendement de l'installation de pilotes.
PCT/CN2017/092355 2016-08-30 2017-07-10 Procédé, dispositif et appareil électronique d'installation de pilote WO2018040746A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610772740.6 2016-08-30
CN201610772740.6A CN106325879A (zh) 2016-08-30 2016-08-30 一种驱动程序的安装方法及装置、电子设备

Publications (1)

Publication Number Publication Date
WO2018040746A1 true WO2018040746A1 (fr) 2018-03-08

Family

ID=57789291

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/092355 WO2018040746A1 (fr) 2016-08-30 2017-07-10 Procédé, dispositif et appareil électronique d'installation de pilote

Country Status (2)

Country Link
CN (1) CN106325879A (fr)
WO (1) WO2018040746A1 (fr)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111580847A (zh) * 2020-06-15 2020-08-25 长沙景嘉微电子股份有限公司 Gpu驱动更新方法、装置及计算机存储介质、电子设备
CN112579111A (zh) * 2020-12-30 2021-03-30 深圳市欢太科技有限公司 安装包的安装方法及装置、电子设备、存储介质
CN115981696A (zh) * 2023-03-17 2023-04-18 杭州康晟健康管理咨询有限公司 一种生理传感器通信驱动更新方法、医疗芯片和系统

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106325879A (zh) * 2016-08-30 2017-01-11 北京金山安全软件有限公司 一种驱动程序的安装方法及装置、电子设备
CN106959830B (zh) * 2017-03-14 2020-07-03 北京三快在线科技有限公司 设备初始化方法、装置及打印设备
CN108762766A (zh) * 2018-06-08 2018-11-06 山东超越数控电子股份有限公司 一种飞腾1500a平台下银河麒麟系统支持万兆网卡的方法
CN110007973B (zh) * 2019-03-26 2021-07-16 联想(北京)有限公司 一种信息处理方法及电子设备
CN113448630A (zh) * 2021-03-24 2021-09-28 深圳怡化电脑股份有限公司 一种驱动程序处理方法、装置、电子设备和介质
CN113703853A (zh) * 2021-08-24 2021-11-26 新华三智能终端有限公司 一种网络设备初始化方法及装置

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020078142A1 (en) * 2000-12-20 2002-06-20 Microsoft Corporation Method and system for enabling offline detection of software updates
US20020174264A1 (en) * 2001-05-17 2002-11-21 David Fuller System and method for obtaining driver software and documentation for a detected hardware and software configuration
CN104714814A (zh) * 2013-12-13 2015-06-17 贝壳网际(北京)安全技术有限公司 驱动程序的安装方法和客户端装置
CN104750504A (zh) * 2013-12-26 2015-07-01 贝壳网际(北京)安全技术有限公司 驱动信息的提供方法和装置
CN104881314A (zh) * 2015-06-29 2015-09-02 北京金山安全软件有限公司 一种安装驱动程序的方法及驱动程序安装装置
CN106325879A (zh) * 2016-08-30 2017-01-11 北京金山安全软件有限公司 一种驱动程序的安装方法及装置、电子设备

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070101342A1 (en) * 2005-10-31 2007-05-03 Microsoft Corporation Automated device driver management
US8368915B1 (en) * 2006-06-23 2013-02-05 Open Invention Network, Llc System and method for printer driver management in an enterprise network
CN103019750B (zh) * 2011-09-20 2016-11-23 北京奇虎科技有限公司 一种驱动程序的更新重载方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020078142A1 (en) * 2000-12-20 2002-06-20 Microsoft Corporation Method and system for enabling offline detection of software updates
US20020174264A1 (en) * 2001-05-17 2002-11-21 David Fuller System and method for obtaining driver software and documentation for a detected hardware and software configuration
CN104714814A (zh) * 2013-12-13 2015-06-17 贝壳网际(北京)安全技术有限公司 驱动程序的安装方法和客户端装置
CN104750504A (zh) * 2013-12-26 2015-07-01 贝壳网际(北京)安全技术有限公司 驱动信息的提供方法和装置
CN104881314A (zh) * 2015-06-29 2015-09-02 北京金山安全软件有限公司 一种安装驱动程序的方法及驱动程序安装装置
CN106325879A (zh) * 2016-08-30 2017-01-11 北京金山安全软件有限公司 一种驱动程序的安装方法及装置、电子设备

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111580847A (zh) * 2020-06-15 2020-08-25 长沙景嘉微电子股份有限公司 Gpu驱动更新方法、装置及计算机存储介质、电子设备
CN111580847B (zh) * 2020-06-15 2023-09-22 长沙景嘉微电子股份有限公司 Gpu驱动更新方法、装置及计算机存储介质、电子设备
CN112579111A (zh) * 2020-12-30 2021-03-30 深圳市欢太科技有限公司 安装包的安装方法及装置、电子设备、存储介质
CN115981696A (zh) * 2023-03-17 2023-04-18 杭州康晟健康管理咨询有限公司 一种生理传感器通信驱动更新方法、医疗芯片和系统
CN115981696B (zh) * 2023-03-17 2023-06-06 杭州康晟健康管理咨询有限公司 一种生理传感器通信驱动更新方法、医疗芯片和系统

Also Published As

Publication number Publication date
CN106325879A (zh) 2017-01-11

Similar Documents

Publication Publication Date Title
WO2018040746A1 (fr) Procédé, dispositif et appareil électronique d'installation de pilote
US10348861B2 (en) Software upgrade method and terminal
US20210192579A1 (en) Smart broadcasting device
EP2682863B1 (fr) Installation d'applications à distance
CN109992311B (zh) 操作系统的启动方法、装置、存储介质及客户端
KR101885133B1 (ko) 디지털 디바이스에서 어플리케이션 자동 인스톨 기능을 제공하기 위한 장치 및 방법
US20110302574A1 (en) Update management server, electronic apparatus, update management system, and method therefor
US9727507B2 (en) USB device remote control method and system
KR20090090801A (ko) 휴대 단말기의 펌웨어 업데이트 방법 및 장치
CN106020875B (zh) 嵌入式终端的固件更新管理方法和装置
WO2014089734A1 (fr) Terminal et procédé de restauration d'un programme d'application
JP6359652B2 (ja) 情報の伝送方法、装置および機器
CN107168765B (zh) 一种远程编译软件的方法及系统
WO2017071358A1 (fr) Procédé et appareil de mise à niveau de logiciel
JP2013089239A (ja) 電子システムおよびそれを用いた管理方法
WO2023124328A1 (fr) Module de communication sans fil et son procédé de récupération de fonction, dispositif électronique et support de stockage
US10120697B2 (en) Mobile device support for sensors in peripherals
US9465599B2 (en) Method, device and system for installing terminal software
US9723480B2 (en) Information processing device, server device, data communication system, data communication method, and computer-readable storage medium storing data communication program
WO2018006884A1 (fr) Procédé, dispositif et terminal utilisateur pour installation de logiciels
CN111459524A (zh) 软件的升级方法、装置、系统
WO2020258782A1 (fr) Procédé de transmission de données applicable à un lecteur de carte bluetooth, et appareil électronique
CN104468499A (zh) 在跨数据处理设备传送多媒体文件前确定格式兼容性
CN105991729B (zh) 一种安装包下载方法及服务器
WO2020064000A1 (fr) Procédé et appareil d'affichage d'une boîte de message, terminal et support d'informations

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17845049

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 21.06.2019)

122 Ep: pct application non-entry in european phase

Ref document number: 17845049

Country of ref document: EP

Kind code of ref document: A1