CN107463393B - Peripheral device and driver installation method and system thereof - Google Patents

Peripheral device and driver installation method and system thereof Download PDF

Info

Publication number
CN107463393B
CN107463393B CN201610394679.6A CN201610394679A CN107463393B CN 107463393 B CN107463393 B CN 107463393B CN 201610394679 A CN201610394679 A CN 201610394679A CN 107463393 B CN107463393 B CN 107463393B
Authority
CN
China
Prior art keywords
driver
processing terminal
setting information
information processing
user setting
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.)
Active
Application number
CN201610394679.6A
Other languages
Chinese (zh)
Other versions
CN107463393A (en
Inventor
田彧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fuji Film Industry Development Shanghai Co ltd
Original Assignee
Fuji Xerox Industry Development China 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 Fuji Xerox Industry Development China Co Ltd filed Critical Fuji Xerox Industry Development China Co Ltd
Priority to CN201610394679.6A priority Critical patent/CN107463393B/en
Publication of CN107463393A publication Critical patent/CN107463393A/en
Application granted granted Critical
Publication of CN107463393B publication Critical patent/CN107463393B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers

Abstract

The present invention provides a method for automatically installing a driver for a peripheral device on an information processing terminal, the peripheral device being connected to the information processing terminal, the method including: in response to detecting the connection of the peripheral device, loading a driver maintenance module in the peripheral device to perform a driver maintenance process, the driver maintenance process comprising: detecting whether a driver is installed in the information processing terminal; and in response to not detecting the driver, downloading and installing the driver applicable to the operating system of the information processing terminal via the network when the information processing terminal is in the networked state, and acquiring and installing the driver applicable to the operating system of the information processing terminal from the database of the peripheral device when the information processing terminal is in the non-networked state.

Description

Peripheral device and driver installation method and system thereof
Technical Field
The present invention relates to peripheral device driver installation, and more particularly, to a method and system for automatically installing a peripheral device driver.
Background
When a general home printer is used initially, a USB and a computer are connected to install a driver. It is still a complicated matter for many people unfamiliar with computers to install drivers. Furthermore, the current driver still needs to be installed from the CD or downloaded from the network, and once the CD is damaged and lost, it is more troublesome to find the driver from the network.
Therefore, there is a need in the art for a solution that enables automatic installation of drivers.
Disclosure of Invention
The following presents a simplified summary of one or more aspects in order to provide a basic understanding of such aspects. This summary is not an extensive overview of all contemplated aspects, and is intended to neither identify key or critical elements of all aspects nor delineate the scope of any or all aspects. Its sole purpose is to present some concepts of one or more aspects in a simplified form as a prelude to the more detailed description that is presented later.
According to another aspect of the present invention, there is provided a method for automatically installing a driver for a peripheral device connected to an information processing terminal on the information processing terminal, the method including:
in response to detecting the connection of the peripheral device, loading a driver maintenance module in the peripheral device to perform a driver maintenance process, the driver maintenance process comprising:
detecting whether a driver is installed in the information processing terminal; and
in response to not detecting the driver, the driver applicable to the operating system of the information processing terminal is downloaded and installed via the network when the information processing terminal is in the networked state, and the driver applicable to the operating system of the information processing terminal is acquired and installed from the database of the peripheral device when the information processing terminal is in the non-networked state.
In one example, the driver maintenance process further comprises: and comparing the downloaded driver with the driver which is currently stored in the database and is suitable for the operating system of the information processing terminal, wherein the driver downloaded through the network is the driver with the latest version, and if the driver is not consistent with the driver, saving the downloaded driver to the database to cover the currently stored driver which is suitable for the operating system of the information processing terminal.
In one example, the driver maintenance process further comprises: in response to detecting the driver, it is determined whether the detected driver is the latest version while the information processing terminal is in the networked state, and if not, the latest version of the driver applicable to the operating system of the information processing terminal is downloaded and installed via the network.
In one example, the driver maintenance process further comprises: and saving the downloaded driver of the latest version to the database so as to cover the currently stored driver suitable for the operating system of the information processing terminal.
In one example, the method further comprises: in response to detecting the connection of the peripheral device, loading a setup information maintenance module in the peripheral device to perform a setup information maintenance process, the setup information maintenance process including:
and after the driver is installed, retrieving user setting information from the database, and if the user setting information exists in the database, acquiring the user setting information from the database to restore the user setting information to the information processing terminal.
In one example, the setting information maintenance processing further includes: if the user setting information does not exist in the database, the user setting information is searched from a server through a network when the information processing terminal is in a networking state, and if the user setting information exists in the server, the user setting information is downloaded from the server to be restored to the information processing terminal.
In one example, the setting information maintenance processing further includes: and saving the user setting information downloaded from the server to the database.
In one example, the setting information maintenance processing further includes: in response to detecting the driver, comparing the user setting information detected in the information processing terminal with the user setting information stored in the database, and if not, updating the user setting information in the database with the user setting information detected in the information processing terminal.
In one example, the setting information maintenance processing further includes: in response to detecting the driver, when the information processing terminal is in a networked state, comparing the user setting information detected in the information processing terminal with the user setting information stored in the server, and if not, updating the user setting information in the server with the user setting information detected in the information processing terminal.
In one example, the peripheral device is a printer.
According to another aspect of the present invention, there is provided a peripheral device for automatically installing a driver, the peripheral device being connected to an information processing terminal, the peripheral device including:
a database having at least one driver for the peripheral device and adapted for use with at least one operating system; and
a driver maintenance module loaded by the information processing terminal to perform driver detection, in response to no driver being detected, the driver maintenance module being loaded to download and install a driver applicable to an operating system of the information processing terminal via a network when the information processing terminal is in a networked state, and the driver maintenance module being loaded to acquire and install a driver applicable to the operating system of the information processing terminal from the database when the information processing terminal is in a non-networked state.
In one example, the driver downloaded via the network is the latest version of the driver, and the driver maintenance module is further loaded to compare the downloaded driver with the driver currently stored in the database and adapted to the operating system of the information processing terminal, and if not, to save the downloaded driver to the database to overwrite the currently stored driver adapted to the operating system of the information processing terminal.
In one example, in response to detecting a driver, the driver maintenance module is loaded to determine whether the detected driver is of the latest version while the information processing terminal is in the networked state, and if not, the driver maintenance module is loaded to download and install the latest version of the driver applicable to the operating system of the information processing terminal via the network.
In one example, the driver maintenance module is loaded to save the downloaded latest version of the driver to the database to overwrite the currently stored driver applicable to the operating system of the information processing terminal.
In one example, the database is further configured to store user setting information, and the peripheral device further includes a setting information maintenance module loaded by the information processing terminal to retrieve the user setting information from the database after installing a driver, and if the user setting information exists in the database, the setting information maintenance module is loaded to acquire the user setting information from the database to restore to the information processing terminal.
In one example, if the user setting information does not exist in the database, the setting information maintenance module is loaded to retrieve the user setting information from a server via a network when the information processing terminal is in a networked state, and if the user setting information exists in the server, the setting information maintenance module is loaded to download the user setting information from the server to be restored to the information processing terminal.
In one example, the setting information maintenance module is loaded to further save the user setting information downloaded from the server to the database.
In one example, in response to detecting the driver, the setting information maintenance module is loaded to compare the user setting information detected in the information processing terminal with the user setting information stored in the database, and if not, update the user setting information in the database with the user setting information detected in the information processing terminal.
In one example, in response to detecting the driver, the setting information maintenance module is loaded to compare the user setting information detected in the information processing terminal with the user setting information stored in the server while the information processing terminal is in the networked state, and if not, update the user setting information in the server with the user setting information detected in the information processing terminal.
In one example, the peripheral device is a printer.
According to another aspect of the present invention, there is provided an automatic driver installation system including:
the peripheral equipment comprises a database and a driver maintenance module, wherein the database stores at least one driver which is used for the peripheral equipment and is suitable for at least one operating system;
the information processing terminal is connected to the peripheral equipment and comprises a loading module, wherein the loading module automatically loads a driver maintenance module of the peripheral equipment to execute driver detection in response to the detection of the connection of the peripheral equipment, and loads the driver maintenance module to download and install a driver applicable to an operating system of the information processing terminal through a network when the information processing terminal is in a networking state and loads the driver maintenance module to acquire and install the driver applicable to the operating system of the information processing terminal from the database when the information processing terminal is in a non-networking state.
In one example, the driver downloaded via the network is the latest version of the driver, and the loading module further loads the driver maintenance module to compare the downloaded driver with the driver currently stored in the database and adapted to the operating system of the information processing terminal, and if not, saves the downloaded driver to the database to overwrite the currently stored driver adapted to the operating system of the information processing terminal.
In one example, in response to detecting a driver, the loading module loads the driver maintenance module to determine whether the detected driver is the latest version while the information processing terminal is in the networked state, and if not, loads the driver maintenance module to download and install the latest version of the driver applicable to the operating system of the information processing terminal via the network.
In one example, the loading module further loads the driver maintenance module to save the downloaded latest version of the driver to the database to overwrite the currently stored driver applicable to the operating system of the information processing terminal.
In one example, the database is further configured to store user setting information, the peripheral device further includes a setting information maintenance module, and in response to detecting connection of the peripheral device, the loading module automatically loads the setting information maintenance module of the peripheral device to retrieve the user setting information from the database after installing a driver, and if the user setting information exists in the database, loads the setting information maintenance module to obtain the user setting information from the database to be restored to the information processing terminal.
In one example, the system further comprises: the server is used for storing user setting information; if the user setting information does not exist in the database, the loading module loads the setting information maintenance module to retrieve the user setting information from the server through the network when the information processing terminal is in a networking state, and if the user setting information exists in the server, the loading module loads the setting information maintenance module to download the user setting information from the server to restore to the information processing terminal.
In one example, the loading module further loads the setting information maintenance module to save the user setting information downloaded from the server to the database.
In one example, in response to detecting the driver, the loading module loads the setting information maintenance module to compare the user setting information detected in the information processing terminal with the user setting information stored in the database, and if not, updates the user setting information in the database with the user setting information detected in the information processing terminal.
In one example, in response to detecting the driver, the loading module loads the setting information maintenance module to compare the user setting information detected in the information processing terminal with the user setting information stored in the server while the information processing terminal is in the networked state, and if not, updates the user setting information in the server with the user setting information detected in the information processing terminal.
In one example, the peripheral device is a printer.
Drawings
The above features and advantages of the present disclosure will be better understood upon reading the detailed description of embodiments of the disclosure in conjunction with the following drawings. In the drawings, components are not necessarily drawn to scale, and components having similar relative characteristics or features may have the same or similar reference numerals.
FIG. 1 is a block diagram illustrating an automatic driver installation system in accordance with an aspect of the present invention;
FIG. 2 is a flow diagram illustrating a driver maintenance process according to an embodiment of the invention;
FIG. 3 is a flowchart illustrating a driver maintenance process according to another embodiment of the invention; and
fig. 4 is a flowchart illustrating a setting information maintenance process according to an aspect of the present invention.
Detailed Description
The invention is described in detail below with reference to the figures and specific embodiments. It is noted that the aspects described below in connection with the figures and the specific embodiments are only exemplary and should not be construed as imposing any limitation on the scope of the present invention.
FIG. 1 is a block diagram illustrating an automatic driver installation system 100 in accordance with an aspect of the subject invention.
As shown in fig. 1, system 100 may include an information processing terminal 110 and a peripheral device 120. Information processing terminal 110 may be any suitable device having information processing capabilities and requiring a driver to drive peripheral device 120. By way of example, the information processing terminal 110 may be a computer, a smartphone, a tablet computer, or the like.
The peripheral device 120 may be any device that requires a driver to be driven, such as a printer or the like. The information processing terminal 110 and the peripheral device 120 may be connected together through respective interfaces 111, 121. Typically, the interface 111 and the interface 121 may be USB interfaces, and the information processing terminal 110 and the peripheral device 120 may be connected together by a USB connection line, in which case the peripheral device 120 is a peripheral device of the information processing terminal 110 as the name implies.
In order to enable normal use of the peripheral device 120, an appropriate driver needs to be installed on the information processing terminal 110. For example, on one hand, different drivers are required for different peripheral devices 120, such as different types or models of peripheral devices 120; on the other hand, even with the same peripheral device 120 in detail, different driver versions are required for different operating systems of the information processing terminal 110. By way of example, the operating system of the information processing terminal 110 may include various suitable operating systems, such as a Windows operating system, an iOS operating system, an android operating system, and so forth.
As shown, peripheral device 120 may include a driver maintenance module 122 and a database 124. At least one driver for the peripheral device 120 is stored in the database 124 at the time of shipment from the peripheral device 120, and the at least one driver is applicable to at least one operating system. For example, 3 drivers for the peripheral device 120 may be stored in the database 124, and are respectively suitable for the Windows operating system, the iOS operating system, and the android operating system.
The information processing terminal 110 may include a loading module 112, and the loading module 112 is configured to automatically load the running driver maintenance module 122 by the loading module 112 upon detecting that the information processing terminal 110 and the peripheral device 120 are connected together through the interfaces 111, 121, so as to run the functions of the driver maintenance module 122 in the information processing terminal 110. For example, in practice, the loading module 112 may load the driver maintenance module 122 into the processing resources (e.g., memory and processing cores) of the information processing terminal 110 to perform its functions.
According to an aspect of the present invention, the loading module 112 performs a driver check on the information processing terminal 110 after loading the driver maintenance module 122 to check whether it has installed a driver. If the information processing terminal 110 does not have a driver installed, the driver maintenance module 122 continues to be loaded to automatically acquire a driver suitable for the operating system of the information processing terminal 110.
In one example, when the information processing terminal 110 is in a networked state, a driver appropriate for its operating system is downloaded and installed via a network. For example, the driver may be downloaded from a vendor website of peripheral device 120. The priority download through the network can ensure that the latest driver version is installed in the information processing terminal 110.
At this time, the driver downloaded through the network may be compared with a driver currently stored in the database 124 of the peripheral device 120 suitable for the current operating system of the information processing terminal 110. This is intended to confirm whether the driver version stored in the database 124 is the latest version. If the two are not the same, it indicates that the driver stored in the database 124 is not the latest version, so the downloaded driver is saved to the database 124 to overwrite the currently stored driver suitable for the operating system of the information processing terminal 110.
When the information processing terminal 110 is in the non-networking state, a driver appropriate for its operating system can be acquired from the database 124 and installed. This ensures that automatic installation of the driver can be automatically achieved even if the information processing terminal 110 has no network.
Preferably, if the result of the driver detection is that the information processing terminal 110 has installed the driver, the driver maintenance module 122 may be further loaded to determine whether the detected driver is in a permitted version, for example, whether the detected driver is consistent by comparison with the latest version detected on the network, and if not, the latest version of the driver may be downloaded via the network and installed on the information processing terminal 110, and at the same time, the downloaded latest version of the driver may be saved to the database 124 of the peripheral device 120 to overwrite the currently stored driver applicable to the operating system of the information processing terminal 110.
In addition to the driver, user setting information on the use of the peripheral device 120 by the user needs to be set in the information processing terminal 110. Taking the peripheral device 120 as a printer as an example, the user needs to set many print setting information such as single-sided printing, whether to zoom printing, and the like.
To this end, the peripheral device 120 may further include a setting information maintenance module. The aforementioned database 124 may store user setting information. Similarly, the loading module 112 automatically loads the setting information maintenance module 123 upon detecting the connection of the information processing terminal 110 to the peripheral device 120.
After the foregoing detection that the driver is not installed in the information processing terminal 110, and thus the driver is acquired to perform installation, the user setting information is definitely not set in the information processing terminal 110 at this time. Accordingly, the setting information maintenance module 123 retrieves the user setting information from the database 124 of the peripheral device 120 after being loaded. If the user setting information exists in the database 124, the user setting information is directly acquired from the database 124 to be restored to the information processing terminal 110.
Preferably, the system 100 may further include a server 130, and the server 130 may store user setting information of the user, for example, after the user newly sets the user setting information, the user setting information may be uploaded to the server 130 for subsequent use.
In this example, if no user-set information exists in database 124, such as peripheral device 120 is a new device purchased by a user, the first use may not have user-set information in database 124. At this time, when the information processing terminal 110 is in the networked state, the setting information maintenance module 124 may be further loaded to retrieve the user setting information from the server 130 via the network, and if the user setting information exists in the server 130, download the user setting information from the server 130 to be restored to the information processing terminal 110. Further, the downloaded user setting information may be saved to the database 124 of the peripheral device 120 for subsequent use.
If it is detected that the driver has been installed on the information processing terminal 110 at the time of performing the driver detection, the user setting information should typically have been set on the information processing terminal 110. In order to ensure that the user setting information in the database 124 and the server 130 is up-to-date, the user setting information in the database 124 and the server 130 may be updated with the current user setting information in the information processing terminal 110.
For example, in response to detecting a driver, the setting information maintenance module 123 may be loaded to compare the user setting information detected in the information processing terminal 110 with the user setting information (if any) stored in the database, and if not, update the user setting information in the database 124 with the user setting information detected in the information processing terminal 110. Meanwhile, if the information processing terminal 110 is in the networked state, the user setting information detected in the information processing terminal 110 may be compared with the user setting information stored in the server 130, and if not, the user setting information in the server 130 may be updated with the user setting information detected in the information processing terminal 110.
FIG. 2 is a flow diagram illustrating a driver maintenance process 200 according to one embodiment of the invention. The driver maintenance process 200 is executed when the information processing terminal 110 newly detects the connection of the information processing terminal 110 to the peripheral device 120.
As shown in fig. 2, after the driver maintenance module is loaded, the driver maintenance process includes the following processes:
step 201: whether the information processing terminal has installed the driver is detected.
If the driver is detected, the process is ended; if no driver is detected, processing proceeds to step 202.
Step 202: and judging whether the information processing terminal is in a networking state or not.
If the information processing terminal is in the networking state, the process goes to step 204, otherwise, the process goes to step 203;
step 203: a driver program suitable for an operating system of an information processing terminal is acquired from a database of a peripheral device and installed.
Step 204: a driver program suitable for an operating system of an information processing terminal is downloaded and installed via a network.
Step 205: the downloaded driver is compared with a driver currently stored in a database of the peripheral device as appropriate for the operating system of the information processing terminal.
If the two are consistent, the process ends, otherwise, the process proceeds to step 206.
Step 206: and saving the downloaded driver to a database of the peripheral device to overwrite the currently stored driver suitable for the operating system of the information processing terminal.
FIG. 3 is a flow diagram illustrating a driver maintenance process 300 according to another embodiment of the invention. As shown in fig. 3, after the driver maintenance module is loaded, the driver maintenance process includes the following procedures:
step 301: whether the information processing terminal has installed the driver is detected.
If the driver is detected, the process proceeds to step 307; if no driver is detected, processing proceeds to step 202.
Step 302: and judging whether the information processing terminal is in a networking state or not.
If the information processing terminal is in the networking state, the process proceeds to step 204, otherwise, to step 203.
Step 303: a driver program suitable for an operating system of an information processing terminal is acquired from a database of a peripheral device and installed.
Step 304: a driver program suitable for an operating system of an information processing terminal is downloaded and installed via a network.
Step 305: the downloaded driver is compared with a driver currently stored in a database of the peripheral device as appropriate for the operating system of the information processing terminal.
If the two are consistent, the process ends, otherwise, the process proceeds to step 206.
Step 306: and saving the downloaded driver to a database of the peripheral device to overwrite the currently stored driver suitable for the operating system of the information processing terminal.
Step 307: and judging whether the information processing terminal is in a networking state or not.
If the information processing terminal is in the networking state, the process proceeds to step 308, otherwise, the process ends.
Step 308: it is determined whether the detected driver is the latest version.
If the version is the latest version, the process ends, otherwise the process proceeds to step 309.
Step 309: the latest version of the driver suitable for the operating system of the information processing terminal is downloaded and installed via the network.
Step 310: and saving the downloaded driver of the latest version to a database of the peripheral device so as to cover the currently stored driver suitable for the operating system of the information processing terminal.
According to this embodiment, it is possible to always keep the driver in the information processing terminal in the latest version and also keep the driver in the database of the peripheral device in the latest version, so that other information processing terminals can obtain the newer driver from the database without a network later.
Fig. 4 is a flowchart illustrating a setting information maintenance process 400 according to an embodiment of the present invention. The setting information maintenance processing 400 is executed when the information processing terminal 110 newly detects the connection of the information processing terminal 110 and the peripheral device 120.
As shown in fig. 4, after the setting information maintenance module is loaded, the setting information maintenance process includes the following procedures:
step 401: it is determined whether the driver in the information processing terminal has just been newly installed.
If the driver is newly installed because it was found not to be installed in the previous driver check, the information processing terminal must have no user setting information at this time, and the process proceeds to step 402, otherwise if it is found in the driver check that the information processing terminal has installed the driver earlier, the information processing terminal must have user setting information already, and the process proceeds to steps 408 and 410 to perform two-step processing in parallel.
Step 402: user setting information is retrieved from a database of the peripheral device.
If the user setting information exists in the database, the process proceeds to step 403, otherwise, if the user setting information does not exist in the database, for example, the peripheral device is also a new device used for the first time, the process proceeds to step 404.
Step 403: the user setting information is acquired from the database of the peripheral device to be restored to the information processing terminal.
Step 404: and judging whether the information processing terminal is in a networking state or not.
If the network is in the connected state, the process goes to step 405; otherwise, ending.
Step 405: user setting information is retrieved from a server via a network.
If the server has the user setting information, for example, the user has uploaded the user setting information of the user, the process proceeds to step 406, otherwise, the process ends.
Step 406: user setting information is downloaded from a server to be restored to the information processing terminal.
Step 407: and saving the user setting information downloaded from the server to a database of the peripheral equipment.
Thus, after the driver is newly installed, the user does not have to manually set the user setting information, but can automatically set the driver based on the user setting information stored in the database of the peripheral device or in the server in the past.
Step 408: the user setting information detected in the information processing terminal is compared with the user setting information stored in the database.
If the two are consistent, it indicates that the user setting information in the database is the latest version, and the process is ended, otherwise, the process proceeds to step 409.
Step 409: the user setting information in the database is updated with the user setting information detected in the information processing terminal.
Step 410: and judging whether the information processing terminal is in a networking state or not.
If the network is in the connected state, the process goes to step 411; otherwise, ending.
Step 411: the user setting information detected in the information processing terminal is compared with the user setting information stored in the server.
If the two are consistent, it indicates that the user setting information in the server is the latest version, and the process is ended, otherwise, the process proceeds to step 412.
Step 412: the user setting information in the server is updated with the user setting information detected in the information processing terminal.
Since the user may manually change the user setting information, it is in this way ensured that the user setting information in the database and the server remains updated for subsequent use.
While, for purposes of simplicity of explanation, the methodologies are shown and described as a series of acts, it is to be understood and appreciated that the methodologies are not limited by the order of acts, as some acts may, in accordance with one or more embodiments, occur in different orders and/or concurrently with other acts from that shown and described herein or not shown and described herein, as would be understood by one skilled in the art.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The various illustrative logical modules, and circuits described in connection with the embodiments disclosed herein may be implemented or performed with a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. The ASIC may reside in a user terminal. In the alternative, the processor and the storage medium may reside as discrete components in a user terminal.
In one or more exemplary embodiments, the functions described may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software as a computer program product, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. Any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a web site, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk (disk) and disc (disc), as used herein, includes Compact Disc (CD), laser disc, optical disc, Digital Versatile Disc (DVD), floppy disk and blu-ray disc where disks (disks) usually reproduce data magnetically, while discs (discs) reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
The previous description of the disclosure is provided to enable any person skilled in the art to make or use the disclosure. Various modifications to the disclosure will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other variations without departing from the spirit or scope of the disclosure. Thus, the disclosure is not intended to be limited to the examples and designs described herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (24)

1. A method for automatically installing a driver for a peripheral device on an information processing terminal, the peripheral device being connected to the information processing terminal, the method comprising:
in response to detecting connection of the peripheral device, loading a driver maintenance module in the peripheral device to perform a driver maintenance process, the driver maintenance process comprising:
detecting whether a driving program is installed in the information processing terminal and whether the information processing terminal is in a networking state;
in response to the driver not being detected and the information processing terminal being in a networked state, downloading and installing a driver applicable to an operating system of the information processing terminal via a network;
in response to the fact that the driver is not detected and the information processing terminal is in a non-networking state, obtaining and installing the driver applicable to the operating system of the information processing terminal from a database of the peripheral equipment;
in response to detecting a driver and the information processing terminal being in a networked state, determining whether the detected driver is the latest version, and if not, downloading and installing the latest version of the driver applicable to the operating system of the information processing terminal via the network; and
and saving the downloaded driver of the latest version to the database so as to cover the currently stored driver suitable for the operating system of the information processing terminal.
2. The method of claim 1, wherein the driver maintenance process further comprises:
and comparing the downloaded driver with a driver which is currently stored in the database and is suitable for the operating system of the information processing terminal, wherein the driver downloaded through the network is the driver with the latest version, and if the driver is not consistent with the driver, saving the downloaded driver to the database to cover the currently stored driver which is suitable for the operating system of the information processing terminal.
3. The method of claim 1, further comprising:
in response to detecting connection of the peripheral device, loading a setup information maintenance module in the peripheral device to perform a setup information maintenance process, the setup information maintenance process including:
and after the driver is installed, retrieving user setting information from the database, and if the user setting information exists in the database, acquiring the user setting information from the database to restore the user setting information to the information processing terminal.
4. The method of claim 3, wherein the setting information maintenance process further comprises:
if the user setting information does not exist in the database, the user setting information is retrieved from a server through a network when the information processing terminal is in a networking state, and if the user setting information exists in the server, the user setting information is downloaded from the server to be restored to the information processing terminal.
5. The method of claim 4, wherein the setup information maintenance process further comprises:
and storing the user setting information downloaded from the server into the database.
6. The method of claim 3, wherein the setting information maintenance process further comprises:
and in response to detecting the driver, comparing the user setting information detected in the information processing terminal with the user setting information stored in the database, and if the user setting information detected in the information processing terminal does not match with the user setting information stored in the database, updating the user setting information in the database by using the user setting information detected in the information processing terminal.
7. The method of claim 3, wherein the setting information maintenance process further comprises:
in response to detecting the driver, when the information processing terminal is in a networked state, comparing the user setting information detected in the information processing terminal with the user setting information stored in the server, and if not, updating the user setting information in the server with the user setting information detected in the information processing terminal.
8. The method of claim 1, wherein the peripheral device is a printer.
9. A peripheral device for automatically installing a driver, the peripheral device being connected to an information processing terminal, the peripheral device comprising:
a database having at least one driver for said peripheral device and adapted for use with at least one operating system; and
a driver maintenance module, which is loaded by the information processing terminal as:
executing driver detection and networking state detection;
in response to the driver not being detected and the information processing terminal being in a networked state, downloading and installing a driver applicable to an operating system of the information processing terminal via a network;
in response to the fact that the driver is not detected and the information processing terminal is in a non-networking state, obtaining and installing the driver applicable to the operating system of the information processing terminal from the database;
in response to detecting a driver and the information processing terminal being in a networked state, determining whether the detected driver is the latest version, and if not, downloading and installing the latest version of the driver applicable to the operating system of the information processing terminal via the network; and
and saving the downloaded driver of the latest version to the database so as to cover the currently stored driver suitable for the operating system of the information processing terminal.
10. The peripheral device of claim 9, wherein the driver downloaded via the network is a latest version of the driver, and the driver maintenance module is further loaded to compare the downloaded driver with a driver currently stored in the database that is appropriate for the operating system of the information handling terminal, and if not, to save the downloaded driver to the database to overwrite the currently stored driver that is appropriate for the operating system of the information handling terminal.
11. The peripheral device of claim 10, wherein the database is further configured to store user-setting information,
the peripheral device further includes a setting information maintenance module loaded by the information processing terminal to retrieve the user setting information from the database after installing a driver, and if the user setting information exists in the database, the setting information maintenance module is loaded to acquire the user setting information from the database to be restored to the information processing terminal.
12. The peripheral device according to claim 11, wherein if the user setting information does not exist in the database, the setting information maintenance module is loaded to retrieve the user setting information from a server via a network while the information processing terminal is in a networked state, and if the user setting information exists in the server, the setting information maintenance module is loaded to download the user setting information from the server to be restored to the information processing terminal.
13. The peripheral device of claim 12, wherein the settings information maintenance module is loaded to further save the user settings information downloaded from the server to the database.
14. The peripheral device according to claim 11, wherein in response to detection of a driver, the setting information maintenance module is loaded to compare the user setting information detected in the information processing terminal with the user setting information stored in the database, and if not, update the user setting information in the database with the user setting information detected in the information processing terminal.
15. The peripheral device according to claim 11, wherein in response to detection of a driver, when the information processing terminal is in a networked state, the setting information maintenance module is loaded to compare user setting information detected in the information processing terminal with user setting information stored in a server, and if not, update the user setting information in the server with the user setting information detected in the information processing terminal.
16. The peripheral device of claim 9, wherein the peripheral device is a printer.
17. An automatic driver installation system, comprising:
the peripheral equipment comprises a database and a driver maintenance module, wherein at least one driver which is used for the peripheral equipment and is suitable for at least one operating system is stored in the database; and
an information processing terminal connected to the peripheral device, the information processing terminal including a loading module configured to:
in response to detecting connection of the peripheral device, automatically loading a driver maintenance module of the peripheral device to perform driver detection and networking state detection;
in response to the driver not being detected and the information processing terminal being in a networked state, loading the driver maintenance module to download and install a driver applicable to an operating system of the information processing terminal via a network;
in response to the fact that the driver is not detected and the information processing terminal is in a non-networking state, loading the driver maintenance module to acquire and install the driver applicable to the operating system of the information processing terminal from the database;
in response to detecting a driver and the information processing terminal being in a networked state, loading the driver maintenance module to determine whether the detected driver is the latest version, and if not, loading the driver maintenance module to download and install the latest version of the driver applicable to the operating system of the information processing terminal via a network; and
and loading the driver maintenance module to save the downloaded driver with the latest version to the database so as to cover the currently stored driver suitable for the operating system of the information processing terminal.
18. The automatic driver installation system of claim 17, wherein the driver downloaded via the network is a latest version of the driver, and the loading module further loads the driver maintenance module to compare the downloaded driver with a driver currently stored in the database that is appropriate for the operating system of the information processing terminal, and if not, saves the downloaded driver to the database to overwrite the currently stored driver that is appropriate for the operating system of the information processing terminal.
19. The automatic driver installation system of claim 17, wherein the database is further configured to store user setting information, the peripheral device further comprises a setting information maintenance module,
in response to detecting the connection of the peripheral device, the loading module automatically loads a setting information maintenance module of the peripheral device to retrieve the user setting information from the database after installing a driver, and if the user setting information exists in the database, the setting information maintenance module is loaded to acquire the user setting information from the database to restore to the information processing terminal.
20. The automatic driver installation system of claim 19, further comprising:
the server is used for storing user setting information;
if the user setting information does not exist in the database, the loading module loads the setting information maintenance module to retrieve the user setting information from the server through the network when the information processing terminal is in a networking state, and if the user setting information exists in the server, the loading module loads the setting information maintenance module to download the user setting information from the server to restore the user setting information to the information processing terminal.
21. The automatic driver installation system of claim 20, wherein the loading module further loads the setting information maintenance module to save the user setting information downloaded from the server to the database.
22. The automatic driver installation system according to claim 19, wherein in response to detection of a driver, the loading module loads the setting information maintenance module to compare the user setting information detected in the information processing terminal with the user setting information stored in the database, and if not, updates the user setting information in the database with the user setting information detected in the information processing terminal.
23. The automatic driver installation system according to claim 19, wherein in response to detection of a driver, when the information processing terminal is in a networked state, the loading module loads the setting information maintenance module to compare user setting information detected in the information processing terminal with user setting information stored in a server, and if not, updates the user setting information in the server with the user setting information detected in the information processing terminal.
24. The automatic driver installation system of claim 17, wherein the peripheral device is a printer.
CN201610394679.6A 2016-06-06 2016-06-06 Peripheral device and driver installation method and system thereof Active CN107463393B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610394679.6A CN107463393B (en) 2016-06-06 2016-06-06 Peripheral device and driver installation method and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610394679.6A CN107463393B (en) 2016-06-06 2016-06-06 Peripheral device and driver installation method and system thereof

Publications (2)

Publication Number Publication Date
CN107463393A CN107463393A (en) 2017-12-12
CN107463393B true CN107463393B (en) 2020-08-25

Family

ID=60544633

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610394679.6A Active CN107463393B (en) 2016-06-06 2016-06-06 Peripheral device and driver installation method and system thereof

Country Status (1)

Country Link
CN (1) CN107463393B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108170441A (en) * 2017-12-25 2018-06-15 珠海市君天电子科技有限公司 Drive programe installation method, device, driver installation client and server
CN108536465A (en) * 2017-12-31 2018-09-14 广州用能互联网有限公司 A kind of configuration of power network monitoring hardware device driver and installation method
US10572246B2 (en) * 2018-04-27 2020-02-25 Ati Technologies Ulc Live update of a kernel device module

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1773456A (en) * 2004-11-09 2006-05-17 京瓷美达株式会社 Automatic mounting system and method for printer driving program
CN102893253A (en) * 2010-04-28 2013-01-23 佳能株式会社 Print system, client, control method, and program
CN103019750A (en) * 2011-09-20 2013-04-03 奇智软件(北京)有限公司 Update overloading method of drive program
CN105511817A (en) * 2014-10-14 2016-04-20 株式会社理光 Print control program and information processing apparatus

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10152912A1 (en) * 2000-10-27 2002-07-18 Hewlett Packard Co Printing of IP network documents, especially for printing Internet documents using an IP configured printer so that documents do not first have to be downloaded into a client computer and printed using a conventional driver
JP4708664B2 (en) * 2002-02-08 2011-06-22 キヤノン株式会社 Peripheral device, peripheral device control method, peripheral device control program, and storage medium
US20040123305A1 (en) * 2002-12-14 2004-06-24 Samsung Electronics Co., Ltd. Method, apparatus, and computer readable medium for installing a device driver
JP5121611B2 (en) * 2008-07-11 2013-01-16 キヤノン株式会社 Print control apparatus, print control method, and program
JP5663933B2 (en) * 2010-04-08 2015-02-04 富士ゼロックス株式会社 Custom installer creation program, custom installer creation device, custom installer creation method, installation program, and installation device
US20130141755A1 (en) * 2011-12-02 2013-06-06 Apple Inc. Facilitating communication between portable electronic devices and printers

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1773456A (en) * 2004-11-09 2006-05-17 京瓷美达株式会社 Automatic mounting system and method for printer driving program
CN102893253A (en) * 2010-04-28 2013-01-23 佳能株式会社 Print system, client, control method, and program
CN103019750A (en) * 2011-09-20 2013-04-03 奇智软件(北京)有限公司 Update overloading method of drive program
CN105511817A (en) * 2014-10-14 2016-04-20 株式会社理光 Print control program and information processing apparatus

Also Published As

Publication number Publication date
CN107463393A (en) 2017-12-12

Similar Documents

Publication Publication Date Title
US11256495B2 (en) Onboard system and ECU
US20140310698A1 (en) Apparatus and method for upgrading firmware of mobile terminal
JP6930949B2 (en) Software distribution system, software distribution server, and software distribution method
CN107463393B (en) Peripheral device and driver installation method and system thereof
US20120180038A1 (en) System and method for upgrading firmware of a printed circuit board
CN101393524A (en) Firmware update method and system using the same
CN102999349B (en) A kind of method for upgrading software
CN110457049B (en) Method and device for realizing plug-in automation, electronic equipment and storage medium
US20110173606A1 (en) Information processing apparatus, control method thereof, and program
CN110543318A (en) control device program updating method and device, storage medium and control device
EP3614258A1 (en) Retrieving updated firmware code
CN106293849B (en) application updating method and terminal
CN104063256A (en) Partition and firmware upgrading method based on minimum operating system
JP6127719B2 (en) Information processing system, information processing apparatus, license management method, and program
CN110597545A (en) Hot patch intelligent upgrading method and system based on OTA component
CN107102849B (en) Method and apparatus for file replacement with periodic ignition switch off
US8347285B2 (en) Embedded agent for self-healing software
CN104598281A (en) Method for upgrading system of electronic device
US20190171431A1 (en) Method and device for creating image
CN112328288A (en) Method, system, equipment and storage medium for updating server component
CN110659052B (en) Method and system for updating system software in network equipment and readable storage medium
CN112181467A (en) Method and device for upgrading memory firmware of terminal, terminal and storage medium
CN111198703A (en) Version upgrading method, system, equipment and medium
JP6209854B2 (en) Information processing system
JP2020101889A (en) Module, information processing device provided with module, program data update method for updating program data of module

Legal Events

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

Address after: 200131 unit D, 8th floor, No. 79, rijing Road, Pudong New Area pilot Free Trade Zone, Shanghai

Patentee after: Fuji film industry development (Shanghai) Co.,Ltd.

Address before: No. 79, rijing Road, Waigaoqiao Free Trade Zone, Pudong New Area, Shanghai 200131

Patentee before: FUJI XEROX INDUSTRIAL DEVELOPMENT (CHINA) Co.,Ltd.

CP03 Change of name, title or address