CN107168737B - Driver installation method and driver installation equipment - Google Patents

Driver installation method and driver installation equipment Download PDF

Info

Publication number
CN107168737B
CN107168737B CN201710329072.4A CN201710329072A CN107168737B CN 107168737 B CN107168737 B CN 107168737B CN 201710329072 A CN201710329072 A CN 201710329072A CN 107168737 B CN107168737 B CN 107168737B
Authority
CN
China
Prior art keywords
wireless
peripheral
equipment
peripheral equipment
setting information
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
CN201710329072.4A
Other languages
Chinese (zh)
Other versions
CN107168737A (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.)
Zhuhai Pantum Electronics Co Ltd
Original Assignee
Zhuhai Pantum Electronics 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 Zhuhai Pantum Electronics Co Ltd filed Critical Zhuhai Pantum Electronics Co Ltd
Priority to CN201710329072.4A priority Critical patent/CN107168737B/en
Publication of CN107168737A publication Critical patent/CN107168737A/en
Priority to PCT/CN2018/082817 priority patent/WO2018205792A1/en
Application granted granted Critical
Publication of CN107168737B publication Critical patent/CN107168737B/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention provides a driver installation method and driver installation equipment. In one aspect, the method comprises: the driver installation equipment acquires the interface type supported by the peripheral equipment; the drive installation equipment judges whether the interface type comprises a wireless interface or not; and if the interface type comprises the wireless interface, the driver installation equipment automatically sets wireless connection for the peripheral equipment and installs a driver of the peripheral equipment. In the embodiment of the invention, when the wireless connection and the installation of the driver are set for the peripheral equipment, manual operation of a user is not needed, so that the complicated steps during the manual operation are reduced, the consumed time in the whole process is reduced, and the efficiency of setting the wireless connection and the installation of the driver is improved.

Description

Driver installation method and driver installation equipment
[ technical field ] A method for producing a semiconductor device
The present invention relates to the field of electronic devices, and in particular, to a driver installation method and a driver installation device.
[ background of the invention ]
In the prior art, when a peripheral device such as a printer, a scanner, or the like is to be used by driving an installation device (e.g., a computer device), a driver of the peripheral device is installed on the installation device, so that the peripheral device operates under the control of the driver.
For a peripheral device having a Wireless communication function, such as a peripheral device having a WIFI (Wireless Fidelity) function, a user needs to install not only a driver of the peripheral device, but also manually check and Set Wireless setting information including a Service Set Identifier (SSID) configured on the peripheral device one by one, an operation mode (e.g., ad hoc mode, infrastructure mode, etc.), encryption, an Internet Protocol (IP) address, etc., and particularly, when the user can use the peripheral device for the first time, the user needs to Set Wireless communication of the peripheral device and install the driver, and the user needs to spend time operating various cumbersome steps.
[ summary of the invention ]
In view of this, embodiments of the present invention provide a driver installation method and a driver installation device, so as to solve the problems in the prior art that the wireless communication of the peripheral device needs to be set manually, and the driver needs to be installed manually, which is tedious in operation and consumes a long time.
In a first aspect, an embodiment of the present invention provides a driver installation method, where after a driver installation device establishes a communication connection with a peripheral device, the method includes:
the driver installation equipment acquires the interface type supported by the peripheral equipment;
the drive installation equipment judges whether the interface type comprises a wireless interface or not;
and if the interface type comprises the wireless interface, the driver installation equipment automatically sets wireless connection for the peripheral equipment and installs a driver of the peripheral equipment.
The above-described aspects and any possible implementations further provide an implementation in which the automatically setting a wireless connection to the peripheral device includes:
the drive installation equipment judges whether wireless setting information is stored in the peripheral equipment, wherein the wireless setting information is wireless setting information required by the peripheral equipment when the peripheral equipment realizes wireless communication;
if the peripheral equipment stores the wireless setting information, the drive installation equipment judges whether the wireless setting information stored in the peripheral equipment is the same as the wireless setting information stored in the drive installation equipment;
and if the wireless setting information stored in the peripheral equipment is the same as the wireless setting information stored in the peripheral equipment, the drive installation equipment and the peripheral equipment are in wireless communication.
The above-described aspects and any possible implementation further provide an implementation, further including:
and if the wireless setting information stored in the peripheral equipment is different from the wireless setting information stored in the peripheral equipment, the drive installation equipment sends the wireless setting information stored in the drive installation equipment to the peripheral equipment, so that the peripheral equipment is accessed to a wireless access point according to the wireless setting information sent by the drive installation equipment and carries out wireless communication with the peripheral equipment.
The above-described aspects and any possible implementation further provide an implementation, further including:
if the peripheral equipment does not store the wireless setting information, the drive installation equipment sends the wireless setting information stored by the drive installation equipment to the peripheral equipment, so that the peripheral equipment is accessed to the wireless access point according to the wireless setting information sent by the drive installation equipment and carries out wireless communication with the peripheral equipment.
The above-described aspects and any possible implementation further provide an implementation, further including:
if the interface type does not include the wireless interface, the driver installation device determines the interface type with the highest priority;
and the driver installation equipment installs the driver of the peripheral equipment according to the interface type with the highest priority and the preset driver installation mode of the interface type with the highest priority.
One of the above technical solutions has the following beneficial effects:
in the embodiment of the invention, when the drive installation equipment acquires the interface type supported by the peripheral equipment and determines that the interface type comprises the wireless interface, the drive installation equipment automatically sets the wireless connection for the peripheral equipment and installs the drive program of the peripheral equipment.
In a second aspect, an embodiment of the present invention provides a driver installation method, where after a driver installation device establishes a communication connection with a peripheral device, the method includes:
the drive installation equipment acquires the interface type of the peripheral equipment;
the driver installation equipment determines the interface type with the highest priority according to the interface type and the preset priority;
and the driver installation equipment automatically selects a driver installation mode corresponding to the interface type with the highest priority so as to install a driver of the peripheral equipment.
In the aspect and any possible implementation manner described above, there is further provided an implementation manner, when the interface type with the highest priority is a wireless interface, the driver installation manner corresponding to the interface type with the highest priority includes automatically setting a wireless connection to the peripheral device.
The above-described aspects and any possible implementations further provide an implementation in which the automatically setting a wireless connection to the peripheral device includes:
the drive installation equipment judges whether wireless setting information is stored in the peripheral equipment, wherein the wireless setting information is wireless setting information required by the peripheral equipment when the peripheral equipment realizes wireless communication;
if the peripheral equipment stores the wireless setting information, the drive installation equipment judges whether the wireless setting information stored in the peripheral equipment is the same as the wireless setting information stored in the drive installation equipment;
and if the wireless setting information stored in the peripheral equipment is the same as the wireless setting information stored in the peripheral equipment, the drive installation equipment is in wireless connection with the peripheral equipment.
The above-described aspects and any possible implementation further provide an implementation, further including:
and if the wireless setting information stored in the peripheral equipment is different from the wireless setting information stored in the peripheral equipment, the drive installation equipment sends the wireless setting information stored in the drive installation equipment to the peripheral equipment, so that the peripheral equipment is accessed to a wireless access point according to the wireless setting information sent by the drive installation equipment and is in wireless connection with the peripheral equipment.
The above-described aspects and any possible implementation further provide an implementation, further including:
if the peripheral equipment does not store the wireless setting information, the drive installation equipment sends the wireless setting information stored by the drive installation equipment to the peripheral equipment, so that the peripheral equipment is accessed to the wireless access point according to the wireless setting information sent by the drive installation equipment and is in wireless connection with the peripheral equipment.
One of the above technical solutions has the following beneficial effects:
in the embodiment of the invention, after the driver installation equipment acquires the interface types supported by the peripheral equipment and determines the interface type with the highest priority, the driver installation mode corresponding to the interface type with the highest priority is automatically selected to install the driver of the peripheral equipment.
In a third aspect, an embodiment of the present invention provides a drive mounting apparatus, including:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring the interface types supported by the peripheral equipment after the drive installation equipment establishes communication connection with the peripheral equipment;
the judging unit is used for judging whether the interface type comprises a wireless interface or not;
and the setting unit is used for automatically setting wireless connection for the peripheral equipment and installing a driver of the peripheral equipment if the interface type comprises the wireless interface.
The above aspect and any possible implementation manner further provide an implementation manner, where the setting unit is configured to, when automatically setting a wireless connection for the peripheral device, specifically:
judging whether wireless setting information is stored in the peripheral equipment, wherein the wireless setting information is wireless setting information required by the peripheral equipment when the peripheral equipment realizes wireless communication;
if the peripheral equipment stores the wireless setting information, judging whether the wireless setting information stored in the peripheral equipment is the same as the wireless setting information stored in the peripheral equipment;
and if the wireless setting information stored in the peripheral equipment is the same as the wireless setting information stored in the peripheral equipment, performing wireless communication with the peripheral equipment.
The above aspect and any possible implementation manner further provide an implementation manner, where the setting unit is configured to, when automatically setting a wireless connection for the peripheral device, further specifically:
and if the wireless setting information stored in the peripheral equipment is different from the wireless setting information stored in the peripheral equipment, the wireless setting information stored in the peripheral equipment is sent to the peripheral equipment, so that the peripheral equipment is accessed to a wireless access point according to the wireless setting information sent by the drive installation equipment and carries out wireless communication with the peripheral equipment.
The above aspect and any possible implementation manner further provide an implementation manner, where the setting unit is configured to, when automatically setting a wireless connection for the peripheral device, further specifically:
and if the peripheral equipment does not store the wireless setting information, the peripheral equipment sends the wireless setting information stored in the peripheral equipment to the peripheral equipment so that the peripheral equipment is accessed to the wireless access point according to the wireless setting information sent by the drive installation equipment and carries out wireless communication with the peripheral equipment.
The above-described aspect and any possible implementation manner further provide an implementation manner, where the setting unit is further configured to:
if the interface type does not include the wireless interface, determining the interface type with the highest priority;
and installing the driver of the peripheral equipment according to the interface type with the highest priority and the preset driver installation mode of the interface type with the highest priority.
One of the above technical solutions has the following beneficial effects:
in the embodiment of the invention, when the drive installation equipment acquires the interface type supported by the peripheral equipment and determines that the interface type comprises the wireless interface, the drive installation equipment automatically sets the wireless connection for the peripheral equipment and installs the drive program of the peripheral equipment.
In a fourth aspect, an embodiment of the present invention provides a drive mounting apparatus, including:
the device comprises an acquisition unit, a processing unit and a control unit, wherein the acquisition unit is used for acquiring the interface type of peripheral equipment after the drive installation equipment establishes communication connection with the peripheral equipment;
the determining unit is used for determining the interface type with the highest priority according to the interface type and the preset priority;
and the selection unit is used for automatically selecting the drive installation mode corresponding to the interface type with the highest priority so as to install the drive program of the peripheral equipment.
As for the above aspect and any possible implementation manner, there is further provided an implementation manner, when the interface type with the highest priority is a wireless interface, the driver installation manner corresponding to the interface type with the highest priority includes that the selection unit automatically sets a wireless connection to the peripheral device.
The above-described aspect and any possible implementation manner further provide an implementation manner, where when the selecting unit automatically sets a wireless connection to the peripheral device, the selecting unit includes:
judging whether wireless setting information is stored in the peripheral equipment, wherein the wireless setting information is wireless setting information required by the peripheral equipment when the peripheral equipment realizes wireless communication;
if the peripheral equipment stores the wireless setting information, judging whether the wireless setting information stored in the peripheral equipment is the same as the wireless setting information stored in the peripheral equipment;
and if the wireless setting information stored in the peripheral equipment is the same as the wireless setting information stored in the peripheral equipment, performing wireless connection with the peripheral equipment.
The above-mentioned aspect and any possible implementation manner further provide an implementation manner, where when the selecting unit automatically sets a wireless connection to the peripheral device, the selecting unit further includes:
and if the wireless setting information stored in the peripheral equipment is different from the wireless setting information stored in the peripheral equipment, the wireless setting information stored in the peripheral equipment is sent to the peripheral equipment, so that the peripheral equipment is accessed to a wireless access point according to the wireless setting information sent by the drive installation equipment and is in wireless connection with the peripheral equipment.
The above-mentioned aspect and any possible implementation manner further provide an implementation manner, where when the selecting unit automatically sets a wireless connection to the peripheral device, the selecting unit further includes:
and if the peripheral equipment does not store the wireless setting information, the peripheral equipment sends the wireless setting information stored in the peripheral equipment to the peripheral equipment so that the peripheral equipment is accessed to the wireless access point according to the wireless setting information sent by the drive installation equipment and is in wireless connection with the peripheral equipment.
One of the above technical solutions has the following beneficial effects:
in the embodiment of the invention, after the driver installation equipment acquires the interface types supported by the peripheral equipment and determines the interface type with the highest priority, the driver installation mode corresponding to the interface type with the highest priority is automatically selected to install the driver of the peripheral equipment.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
Fig. 1 is a schematic flowchart of a driver installation method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of another driver installation method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a connection structure between a drive installation device and a peripheral device according to an embodiment of the present invention;
fig. 4 is a schematic diagram of an internal structure of a drive mounting apparatus according to an embodiment of the present invention;
fig. 5 is a schematic diagram of an internal structure of a peripheral device according to an embodiment of the present invention;
FIG. 6 is a flowchart illustrating another driver installation method according to an embodiment of the present invention;
FIG. 7 is a flowchart illustrating another driver installation method according to an embodiment of the present invention;
FIG. 8A is a diagram illustrating a display interface according to an embodiment of the present invention;
FIG. 8B is a diagram illustrating another exemplary display interface according to the present invention;
FIG. 8C is a schematic diagram of another display interface provided in accordance with an embodiment of the present invention;
FIG. 8D is a diagram illustrating another exemplary display interface provided by the present invention;
FIG. 9 is a schematic structural diagram of another drive mounting apparatus provided in accordance with an embodiment of the present invention;
fig. 10 is a schematic structural diagram of another drive mounting apparatus according to an embodiment of the present invention.
[ detailed description ] embodiments
For better understanding of the technical solutions of the present invention, the following detailed descriptions of the embodiments of the present invention are provided with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
Example one
An embodiment of the present invention provides a driver installation method, as shown in fig. 1, after a driver installation device establishes a communication connection with a peripheral device, the method includes the following steps:
101. the driver installation device obtains the interface types supported by the peripheral device.
Specifically, because different peripheral devices support different interface types, when a driver of a peripheral device is installed by a driver installation device, the driver needs to be installed through an interface supported by the peripheral device, and therefore, after the driver installation device establishes a communication connection with the peripheral device, the driver installation device needs to acquire the interface type supported by the peripheral device first, so that the driver installation device performs corresponding setting and installs the driver according to the interface type supported by the peripheral device. The interface type refers to the interface type adopted in connection between devices, and the maximum bandwidth of data transmission corresponding to different interface types is different, that is, the maximum data volume that can be transmitted instantly.
It should be noted that the drive installation device may include a computer device, such as a personal computer, the peripheral device may include a printer and a scanner, and the like, and the communication connection established between the drive installation device and the peripheral device may be a wired communication connection, for example, the communication connection between the drive installation device and the peripheral device may be established through a USB (Universal Serial Bus) interface.
102. The driver installation apparatus determines whether the interface type includes a wireless interface.
103. If the interface type comprises a wireless interface, the driving installation equipment automatically sets wireless connection for the peripheral equipment, and installs the driving program of the peripheral equipment.
Specifically, when the peripheral equipment needs to be controlled in a wireless mode by installing the driving equipment, not only the driving program of the peripheral equipment needs to be installed, but also the wireless connection of the peripheral equipment needs to be set, when the driving program of the peripheral equipment is installed, after the wireless interface is determined to be included in the interface type, namely, the peripheral equipment supports the wireless interface, the driving installation equipment can automatically set the wireless connection of the peripheral equipment, and the driving program of the peripheral equipment is installed, because when the wireless connection and the driving program are set for the peripheral equipment, the manual operation of a user is not needed, the complex steps in the manual operation are reduced, the time consumed in the whole process is reduced, and the efficiency of setting the wireless connection and installing the driving program is improved.
In a possible embodiment, after determining that the peripheral device supports the wireless interface, the driver installation device further needs to determine whether the peripheral device stores wireless setting information, if the peripheral device stores the wireless setting information, the driver installation device further needs to determine whether the wireless setting information stored in the peripheral device is the same as the wireless setting information stored in the driver installation device itself, and when the wireless setting information stored in the peripheral device is the same as the wireless setting information stored in the driver installation device itself, the driver installation device performs wireless communication with the peripheral device, where the wireless setting information is wireless setting information required by the peripheral device to implement wireless communication (i.e., connect a wireless access point). The wireless configuration information may include, among other things, a service set identifier, an operating mode (e.g., ad hoc mode, infrastructure mode, etc.), encryption, a network internet protocol address, etc.
Specifically, the driver installation device needs to determine whether the peripheral device can access the currently accessed wireless access point, and only when the driver installation device and the peripheral device can access the same wireless access point, wireless communication between the two and the operation of installing the driver of the peripheral device, therefore, the driver-mounted device needs to determine whether the peripheral device stores wireless setting information therein, and whether the wireless setting information is the same as the wireless setting information stored therein, namely, whether the peripheral equipment can be accessed to the same wireless access point with the drive installation equipment is judged, when the wireless setting information stored in the peripheral equipment is the same as the wireless setting information stored in the peripheral equipment, indicating that the peripheral device can access the same wireless access point as the drive installation device, thereby enabling the drive installation device and the peripheral device to communicate wirelessly.
In one possible embodiment, when the driver installation device determines whether the peripheral device stores the wireless setting information, the driver installation device may send request information to the peripheral device, the peripheral device determines whether the peripheral device stores the wireless setting information according to the request information, when the peripheral device stores the wireless setting information, the driver installation device returns a response message indicating that the peripheral device stores the wireless setting information to the driver installation device, when the peripheral device does not store the wireless setting information, the driver installation device returns a response message indicating that the peripheral device does not store the wireless setting information to the driver installation device, and the driver installation device may determine whether the peripheral device stores the wireless setting information according to the response message; or after the drive installation device establishes communication connection with the peripheral device, the peripheral device sends an indication message indicating whether the drive installation device stores the wireless setting information, and the drive installation device judges whether the peripheral device stores the wireless setting information according to the indication message.
In a possible embodiment, when it is determined that the wireless setting information stored in the peripheral device is different from the wireless setting information stored in the driver installation device, the driver installation device needs to send the wireless setting information stored in the driver installation device to the peripheral device, so that the peripheral device accesses the wireless access point according to the wireless setting information sent by the driver installation device to perform wireless communication with the peripheral device.
Specifically, when the wireless setting information stored in the peripheral device is different from the wireless setting information stored in the driver installation device, it indicates that the peripheral device can be accessed to the wireless access point, but the wireless access point to which the peripheral device can be accessed is different from the wireless access point to which the driver installation device can be accessed, in order to ensure that the peripheral device and the driver installation device can be accessed to the same wireless access point for wireless communication, the driver installation device needs to send the wireless setting information stored in the driver installation device to the peripheral device, and the peripheral device accesses the corresponding wireless access point according to the wireless setting information, so that the driver installation device and the peripheral device perform wireless communication The same, because drive erection equipment sends the wireless setting information of self storage for peripheral equipment in this application to make peripheral equipment insert wireless access point according to the wireless setting information that drive erection equipment sent, avoided manual to carry out wireless setting to peripheral equipment, loaded down with trivial details step when having reduced manual operation has improved the efficiency when setting up wireless connection.
In a possible embodiment, after determining that the peripheral device does not store the wireless setting information, the driver installation device sends the wireless setting information stored in the driver installation device to the peripheral device, so that the peripheral device accesses the wireless access point according to the wireless setting information sent by the driver installation device to perform wireless communication with the peripheral device.
Specifically, when the peripheral device does not store the wireless setting information, indicating that the peripheral device cannot access the wireless access point to which the driver installation device can access, in order to enable the peripheral device to access the wireless access point, the driver installation device needs to transmit its own wireless setting information to the peripheral device, and the peripheral device accesses the corresponding wireless access point according to the wireless setting information transmitted by the driver installation device, so that the driver installation device and the peripheral device perform wireless communication, further, when the peripheral device cannot access the wireless access point to which the driver installation device can access, the peripheral device needs to be wirelessly configured so that the peripheral device can access the wireless access point to which the driver installation device can access, in the present application, the driver installation device transmits its own stored wireless setting information to the peripheral device, so that the peripheral device accesses the wireless access point according to the wireless setting information transmitted by the driver installation device, the wireless setting of the peripheral equipment is avoided, the complex steps during manual operation are reduced, and the efficiency during wireless connection setting is improved.
In a possible embodiment, when the interface types supported by the peripheral device do not include a wireless interface, that is, the peripheral device does not support a wireless interface, the driver installation device determines the interface type with the highest priority, and then installs the driver of the peripheral device according to the interface type with the highest priority and the preset driver installation manner of the interface type with the highest priority.
Specifically, priorities of different interface types are preset, the driver installation device may select, according to the priorities, an interface type preferentially used among the interface types supported by the peripheral device, and preset driver installation manners corresponding to the different interface types, after the driver installation device determines the interface type with the highest priority, the driver installation manner corresponding to the interface type may be determined, and then the driver installation device installs the driver of the peripheral device according to the interface type with the highest priority and the driver installation manner corresponding to the interface type with the highest priority. In the embodiment of the invention, when the driver of the peripheral equipment is installed, the driver can be installed according to the interface type and the driver installation mode corresponding to the interface type, so that the peripheral equipment is prevented from being manually set or the driver installation mode is selected, the complicated steps in manual operation are reduced, and the efficiency in driving and installing the peripheral equipment is improved.
Example two
An embodiment of the present invention provides a driver installation method, as shown in fig. 2, after a driver installation device establishes a communication connection with a peripheral device, the method includes the following steps:
201. the driver installation device acquires the interface type of the peripheral device.
For a detailed description of the driver installation device acquiring the interface type of the peripheral device, refer to the first embodiment, and are not described in detail herein.
202. And the drive installation equipment determines the interface type with the highest priority according to the interface type and the preset priority.
For a detailed description of determining the interface type with the highest priority by the driver installation device according to the interface type and the preset priority, refer to embodiment one, and details are not repeated here.
203. And the driver installation equipment automatically selects a driver installation mode corresponding to the interface type with the highest priority so as to install the driver of the peripheral equipment.
For a detailed description about the driver installation mode corresponding to the interface type with the highest priority automatically selected by the driver installation device to install the driver of the peripheral device, refer to embodiment one, and are not described in detail herein.
In the embodiment of the invention, after the driver installation equipment acquires the interface types supported by the peripheral equipment and determines the interface type with the highest priority, the driver installation mode corresponding to the interface type with the highest priority is automatically selected to install the driver of the peripheral equipment.
In one possible embodiment, the interface types include a wireless interface, a wired network interface, and a USB interface, wherein the wireless interface may be a WIFI interface.
In one possible embodiment, when the interface type with the highest priority is a wireless interface, the driver installation manner corresponding to the interface type with the highest priority includes automatically setting a wireless connection to the peripheral device.
Specifically, the wireless interface corresponds to a first drive installation mode, and a connection method for automatically setting wireless connection to peripheral equipment is arranged in the first drive installation mode; the second drive installation mode corresponding to the wired network interface and the third drive installation mode corresponding to the USB interface belong to the existing drive installation modes. The drive installation equipment needs to determine the interface type with the highest priority, after the interface type with the highest priority is determined, the corresponding drive installation mode can be determined, then the drive installation equipment can automatically set and install a drive program for the peripheral equipment according to the drive installation mode, for example, when the interface type with the highest priority is a wireless interface, the drive installation equipment can automatically set the wireless connection for the peripheral equipment according to the drive installation mode corresponding to the interface type with the highest priority, therefore, the wireless connection for the peripheral equipment does not need to be manually set, the tedious operation in the process of manually setting the wireless connection is reduced, the time consumed in the process of setting the wireless connection is reduced, and the efficiency of the peripheral equipment in the process of wirelessly setting is improved.
In one possible embodiment, the drive mounting means comprises: the first drive installation mode can be a wireless network drive installation mode, the second drive installation mode can be a wired network drive installation mode, and the third drive installation mode can be a USB drive installation mode, wherein the drive installation equipment can automatically set wireless connection for peripheral equipment according to the wireless network drive installation mode and install a drive program.
In a possible embodiment, when the driver installation device automatically sets a wireless connection to the peripheral device, the driver installation device needs to determine whether the peripheral device stores wireless setting information, and when the peripheral device stores the wireless setting information, the driver installation device needs to further determine whether the wireless setting information stored in the peripheral device is the same as the wireless setting information stored in the driver installation device; and if the wireless setting information stored in the peripheral equipment is the same as the wireless setting information stored in the peripheral equipment, driving the installation equipment to be in wireless connection with the peripheral equipment, wherein the wireless setting information is the wireless setting information required by the peripheral equipment to realize wireless communication.
For the detailed description of the above steps, refer to embodiment one, and are not repeated herein.
In a possible embodiment, when the driver installation device determines that the wireless setting information stored in the peripheral device is different from the wireless setting information stored in the driver installation device, the driver installation device needs to send the wireless setting information stored in the driver installation device to the peripheral device, so that the peripheral device accesses the wireless access point according to the wireless setting information sent by the driver installation device and is wirelessly connected with the peripheral device.
For the detailed description of the above steps, refer to embodiment one, and are not repeated herein.
In a possible embodiment, when the driver installation device determines that the peripheral device does not store the wireless setting information, the driver installation device sends the wireless setting information stored in the driver installation device to the peripheral device, so that the peripheral device accesses the wireless access point according to the wireless setting information sent by the driver installation device to perform wireless connection with the peripheral device.
For the detailed description of the above steps, refer to embodiment one, and are not repeated herein.
EXAMPLE III
To further illustrate the technical idea of the present invention, the technical solution of the present application will now be described with reference to specific application scenarios, which are specifically as follows.
The driver installation apparatus and the peripheral apparatus may communicate by being connected to each other by a wired connection manner or a wireless connection manner, and the driver installation apparatus may include the following: personal computers, set-top box computers, tablet computers, cellular phones, Personal Digital Assistants (PDAs), electronic notebooks, electronic books, and the like, and the Peripheral devices may include imaging devices, which may include printers, scanners, facsimile machines, copiers, Multi-Functional peripherals (MFPs), and the like, or home appliances, which may include televisions and the like.
As shown in fig. 3, the drive installation apparatus is exemplified by a personal computer, and the peripheral apparatus is exemplified by a multi-function peripheral, the personal computer transferring data from the personal computer to the multi-function peripheral according to an operation of a user, the personal computer may perform an image forming job such as a print job using the data, or may receive data scanned in the multi-function peripheral from the multi-function peripheral and store the data. In fig. 3, there are included a first personal computer PC1, a second personal computer PC2, a third personal computer PC3, a first multi-functional peripheral 301, a second multi-functional peripheral 302, a third multi-functional peripheral 303, a wireless access point AP1, and a network 300.
The PC1 may be connected to the second multi-functional peripheral 302 by a wire through a USB interface, the PC1 and the PC2 may be connected to the AP1 by a wireless interface, the PC1 and the PC2 may communicate wirelessly with the first multi-functional peripheral 301 connected to the AP1, the PC3 may be connected to the network 300 where the AP1 is located by a wire network interface, the PC3 may communicate with a third multi-functional peripheral 303 connected to the network 300 by a wire network interface, meanwhile, the PC3 may also communicate with the first multi-functional peripheral 301 that accesses the network 300 by the AP1, and the PC1 and the PC2 may also communicate with the third multi-functional peripheral 303 connected to the network 300 by a wire network interface. The AP1 described above enables wireless or wired communication between the devices connected to the AP1, using the wireless access point AP1 as a relay. The Network 300 may be a Local Area Network (LAN), or a Network constructed in an enterprise or a home and capable of accessing the internet.
As shown in fig. 4, fig. 4 is a schematic diagram of the internal configuration of a drive installation apparatus including a wireless communication unit 401, a control unit 402, a storage unit 403, a wired communication unit 404, an output unit 405, and an input unit 406, wherein the storage unit 403 includes wireless setting information 4031, a peripheral installation program 4032, and a copy 4034 of the setting information, and wherein the peripheral installation program 4032 includes a wireless setting program 4033.
Specifically, the wireless communication unit 401 includes a wireless network card, and the wireless network card may be built in the drive installation device or may be disposed outside the drive installation device. The control unit 402 includes control means such as a cpu (central Processing unit), a rom (read only memory), and a RAM (random-access memory). The storage unit 403 can store various data, programs, and the like, and the storage unit 403 is at least one storage means of a ROM, a RAM, and a hard disk drive. The storage unit 403 stores radio setting information 4031, such as an SSID and an encryption key, which is necessary for connection to the AP1, the peripheral setup program 4032, and a copy 4034 of the original radio setting information (backup data), i.e., the radio setting information. The peripheral device installer 4032 further includes a wireless setting program 4033, and the wireless setting program 4033 can set wireless connection to the peripheral device and receive the IP address acquired after the peripheral device is connected to the AP1 through the input unit 406. The wireless setting program 4033 may be stored in the storage unit 403 as a separate application program, or may be a component of the peripheral device setup program 4032. The wired communication section 404 includes a USB interface, and a wired network interface that enables the drive mounting apparatus to connect to the network 300 via a wired cable in compliance with the IEEE802.3 standard. The output unit 405 may be a display, and the output unit 405 may display screen information when the peripheral setup program 4032 is started up, so as to provide the screen information to the user. The input unit 406 may include an input device such as a keyboard or a mouse.
The drive mounting apparatus can connect with the AP1 in the network 300 via the wireless communication section 401 according to wireless setting information stored in advance in the storage section 403, the wireless setting information being information for forming and/or establishing a wireless network connection, and more specifically, the wireless setting information may include a Service Set Identifier (SSID), an identifier of a wireless lan service provided from the wireless router (AP1), an operation mode (e.g., ad hoc mode, infrastructure mode, etc.), encryption, a pre-Shared key psk (pre Shared key), an internet protocol address, and the like.
As shown in fig. 5, fig. 5 is a schematic diagram of an internal structure of a peripheral device, the peripheral device including: the wireless communication unit 501, the control unit 502, the storage unit 503, and the wired communication unit 504, wherein the wireless setting information 5031, the control program 5032, and the device information 5033 are stored in the storage unit 503.
Specifically, the wireless communication unit 501 includes a wireless network card, and the wireless network card may be built in the peripheral device or may be disposed outside the peripheral device. The control section 502 may include control components such as a CPU, ROM, and RAM. The storage unit 503 is a storage unit that stores various data, programs, and the like, the storage unit 503 is at least one of a ROM, a RAM, and a hard disk drive, the storage unit 503 stores wireless setting information 5031, a control program 5032, device information 5033, and the like, and the device information 5033 includes information such as manufacturer information, a product signal, a product type, function information, and an interface type of a peripheral device. The wired communication unit 504 includes a USB interface and a wired network interface, the wired network interface includes, for example, an RJ-45 interface and an RJ-11 interface, and the peripheral device can be connected to the network 300 through a wired cable by using the wired network interface.
In order to enable the peripheral device to perform work, a driver of the peripheral device needs to be installed on the driver installation device, and after the driver installation device obtains an operation instruction of a user, the driver controls the peripheral device to perform various tasks. In addition, in order to enable the driver installation device to wirelessly drive the peripheral device to perform tasks, the peripheral device needs to be configured with wireless setting information required for connecting the wireless access point AP 1.
In the prior art, after a driver is installed on a peripheral device, wireless setting information required for connecting to the wireless access point AP1 is manually set on a driver installation device, and then the wireless setting information is sent to the peripheral device, and the driver that has been installed before often does not conform to the peripheral device with a wireless interface, so that after the peripheral device is connected to the wireless access point AP1, the driver installation device also needs to search for the peripheral device through the network 300 and change the installed driver so as to conform to the driver of the peripheral device with the wireless interface. Therefore, for the peripheral device with the wireless communication function, the user needs to intervene many times during the installation of the driver, and the installation time is too long.
The embodiment of the present invention can solve the problem of complex operation when installing the driver of the peripheral device in the prior art, and can be specifically implemented by the following method.
The method comprises the following steps:
as shown in fig. 6, fig. 6 is a method for installing a driver of a peripheral device, which may include the steps of:
in the obtaining step 601, after the peripheral device is connected to the driver installation device, that is, the peripheral device and the driver installation device establish communication connection, the driver installation device obtains device information of the peripheral device.
Specifically, when the user connects the drive mount device and the peripheral device to each other using the USB interface, and the user starts the peripheral device setup program 4032 in the drive mount device, the control unit 402 of the drive mount device requests the peripheral device for device information through the USB interface, and the control unit 502 of the peripheral device acquires the device information 5033 from the storage unit 503 according to the request, and returns the device information 5033 of the peripheral device to the drive mount device through the USB interface.
And a selecting step 602, in which the driving installation equipment selects one installation mode from multiple installation modes according to the acquired equipment information.
And a mounting step 603, in which the driver installation device installs the driver of the peripheral device according to the selected mounting mode.
Specifically, when the driver mounting apparatus acquires the device information 5033 of the peripheral device, the control section 402 in the driver mounting apparatus determines an appropriate mounting manner for the peripheral device based on the device information 5033; then, the control section 402 in the driver installation apparatus selects a driver that conforms to the apparatus information of the peripheral apparatus according to the selected installation manner, and installs the driver.
The device information 5033 of the peripheral device includes interface types supported by the peripheral device, and in the selecting step 602, before the user selects the installation method, the driver installation device automatically selects the installation method corresponding to the interface type according to the interface types supported by the peripheral device, so as to provide the installation method for the user to determine.
Further, the drive mounting apparatus determines whether a specific interface is included according to the type of the interface, and if so, automatically selects a mounting manner corresponding to the specific interface to provide to the user for determination.
Specifically, the controller 402 in the drive installation apparatus makes the peripheral installation program 4032 present an installation manner that matches the interface type supported by the peripheral device according to the acquired device information, and provides the installation manner to the user, and after the user determines (without performing other settings) through the input unit 406, the controller 402 in the drive installation apparatus can automatically install a corresponding driver for the peripheral device. When the controller 402 in the drive-mounted device finds that the peripheral device has the wireless communication section 501 based on the acquired device information, the wireless setting program 4033 in the storage section 403 in the drive mounting apparatus is started and at the same time the controller 402 in the drive mounting apparatus transmits a copy 4034 of the setting information stored in the storage section 403 to the peripheral apparatus via the USB interface, the controller 502 of the peripheral apparatus, based on the received setting information, the wireless access point AP1, which is connected with the current drive installation apparatus, connects, and receives an IP address from the wireless access point AP1, meanwhile, the controller 502 of the peripheral device returns the IP address to the drive installation device through the USB interface, and the controller 402 of the drive installation device searches for the peripheral device from the network 300 through the wireless communication section 401 of the drive installation device according to the IP address and installs a driver conforming to the type of the wireless interface for the peripheral device. For the whole wireless setting step, the peripheral installation program 4032 only presents the selected installation mode to the user, after the user clicks and determines, the controller 402 in the installation equipment is driven to call the wireless setting program 4033 to automatically perform wireless setting on the peripheral equipment, the wireless setting information does not need manual operation input of the user, and the installation equipment is driven to transmit the copy 4034 of the setting information stored in the installation equipment to the peripheral equipment, so that the peripheral equipment is connected with the same access point.
In summary, in the embodiment of the present invention, when the interface type supported by the peripheral device includes a wireless interface, that is, the wireless interface, before the installing step 603, the method further includes a wireless setting step, in which the installing device is driven to send wireless setting information required by an access point connected to the peripheral device, and receive an IP address returned by the peripheral device, and in the installing step 603, a driver of the peripheral device is installed according to the obtained IP address.
In addition, when the peripheral device needs to install drivers in a plurality of driver installation devices, such as when the driver of the peripheral device has been installed on the PC1 while the PC1 has made wireless settings of the peripheral device, the peripheral device stores the wireless setting information received from the PC1 in the storage section 503 as the wireless setting information 5031. When the PC2 needs to use a peripheral device, make a USB connection with the peripheral device, and perform drive installation on the peripheral device, the controller 402 of the PC2 detects that the peripheral device has stored the wireless setting information 5031, and at this time, does not need to perform wireless setting on the peripheral device. Therefore, the embodiment of the present invention needs to determine whether the peripheral device has stored the wireless setting information required to connect to the wireless access point AP1 before the wireless setting step, and if so, does not need to perform the wireless setting step.
Specifically, before starting the wireless setting program 4033, the controller 402 in the drive mounting apparatus requests wireless setting information from the peripheral apparatus, if the peripheral apparatus already stores the wireless setting information 5031, returns the wireless setting information 5031 stored in the storage unit 503 in the peripheral apparatus, and if the wireless setting information 5031 returned by the peripheral apparatus is matched with the copy 4034 of the setting information stored in the storage unit 403 in the drive mounting apparatus, the controller 402 in the drive mounting apparatus does not execute wireless communication setting of the peripheral apparatus any more, searches for the peripheral apparatus from the network 300, and installs the driver conforming to the wireless interface type; if the driver installation device is inconsistent or the peripheral device returns a response message without wireless setting information, the driver installation device needs to execute a wireless setting step on the peripheral device, connect the peripheral device to the network 300 where the driver installation device is located, and execute installation of a driver conforming to the type of the wireless interface for the peripheral device.
Therefore, the problem that the same wireless communication setting is repeatedly executed on the peripheral equipment with set wireless connection when different driver installation equipment installs the driver on the same peripheral equipment can be avoided in the embodiment of the invention, and the installation time of the driver is saved.
The second method comprises the following steps:
as shown in fig. 7, fig. 7 is a flowchart illustrating a driver program for driving the installation device to install the peripheral device.
Step 601, the driver installation device obtains device information of the peripheral device.
This step is identical to step 601 of fig. 6 and will not be described again here.
In step 701, the driver installation device determines whether the peripheral device includes a wireless interface.
Specifically, the controller 402 of the drive-mounted device determines whether the peripheral device includes the wireless communication section 501 and whether the peripheral device has a wireless communication function according to the device information 5033 returned by the peripheral device, and if the determination in step 701 is yes, the process proceeds to step 702, and if the determination is no, the process proceeds to step 705.
In step 702, the driver installation device determines whether the peripheral needs wireless settings.
Specifically, the controller 402 of the drive mounting apparatus requests wireless setting information from the peripheral apparatus, and if the peripheral apparatus has already stored the wireless setting information 5031, returns the wireless setting information 5031 stored in the storage unit 503, and if the wireless setting information 5031 returned from the peripheral apparatus is used as the basis of the controller 402 of the drive mounting apparatus, the controller is compared with the copy 4034 of the setting information stored in the storage unit 403 of the drive mounting apparatus, and if the result matches and indicates that the peripheral apparatus has already set wireless communication, the determination result in step 702 is no, and the process proceeds to step 704; if the peripheral devices are inconsistent or the peripheral devices return a response message without wireless setting information, the peripheral devices need to execute the wireless setting step, and if the determination result in step 702 is yes, step 703 is entered.
Step 703, wireless setting.
Specifically, in step 703, the controller 402 in the drive installation apparatus starts the wireless setting program 4033 in the storage unit 403 in the drive installation apparatus, and transmits a copy 4034 of the setting information in the storage unit 403 in the drive mount device to the peripheral device via the wired communication unit 404 in the drive mount device, the control unit 502 of the peripheral device receives the copy 4034 of the setting information as the wireless setting information 5031 in accordance with the wired communication unit 504 of the peripheral device and stores it in the storage unit 503 of the peripheral device, and communicates with the AP1 in the network 300 through the wireless communication section 501 of the peripheral device according to the wireless setting information 5031 of the peripheral device, and receives the IP address returned from the AP1, the control section 502 of the peripheral device transmits the IP address through the wired communication section 504, the control section 402 of the drive installation device receives the IP address according to the wired communication section 404, and searches for a peripheral device in the network 300 to communicate with by driving the wireless communication section 401 in the installed device.
Step 704, the driver installation device installs the driver conforming to the wireless interface to the peripheral device.
Specifically, when the peripheral device is capable of communicating with the driver installation device in a wireless manner, the driver installation device searches for a peripheral device in the network 300 to communicate therewith, and causes the peripheral device installer 4032 in the driver installation device to perform installation of a driver conforming to the wireless interface.
Step 705, determine whether the peripheral device has only USB interface.
Specifically, when the determination result in step 701 is no, it indicates that the peripheral device does not have a wireless communication function, and therefore, the driver installation manner for the peripheral device is the same as the installation manner of the peripheral device in the related art. If step 705 is yes, step 706 is entered, otherwise step 707 is entered.
And step 706, installing the driver conforming to the USB interface on the peripheral equipment.
Specifically, when the controller 402 in the drive installation device acquires the device information of the peripheral device, the interface type of the peripheral device is detected, and when it is found that the peripheral device supports only the USB interface, the peripheral device installer 4032 in the drive installation device selects a driver conforming to the USB interface to install.
Step 707, determining whether the peripheral device has only a wired network interface, if yes, entering step 708, otherwise entering step 709.
At step 708, a driver corresponding to the wired network interface is installed in the peripheral device.
Specifically, the controller 402 in the driver installation device detects the interface type of the peripheral device according to the device information of the peripheral device, and when finding that the peripheral device only supports the wired network interface, causes the peripheral device installer 4032 in the driver installation device to select a driver conforming to the wired network interface for installation.
Step 709, execute step 706 or step 708 according to the priority of the interface.
Specifically, after the determination steps 701, 705, and 707, it indicates that the peripheral device has no wireless communication function, but has a USB interface and a wired network interface. Therefore, the driver can be selected for installation in accordance with the priority level set in advance for the interface of the peripheral device. When the device information of the peripheral device or the peripheral device installer 4032 indicates that the priority level of the USB interface is higher than the priority level of the wired network interface, in step 709, the controller 402 in the drive installation device selects a driver conforming to the USB interface using the peripheral device installer 4032 to install; if the priority level of the wired network interface is higher than that of the USB interface, the controller 402 in the driver installation apparatus selects a driver conforming to the wired network interface for installation using the peripheral installation program 4032.
As can be seen from fig. 7, for the priority of the interface, the priority level of the wireless interface is the highest, and when the driver installation device acquires the device information of the peripheral device, as long as the peripheral device includes the type of the wireless interface, the driver installation device preferentially installs the driver corresponding to the wireless interface and sets the wireless communication of the peripheral device, so that the embodiment of the present invention can simply and effectively install the driver of the peripheral device having the wireless interface without excessive user intervention.
The embodiment of the present invention is explained below in terms of an operation interface displayed on the output section 405 in the drive mounting apparatus.
As shown in fig. 8A, when the user starts a peripheral device setup program 4032 in the drive setup device, an operation page 800 is displayed on the output portion 405 of the drive setup device, and there is a model display field 801 in the operation page 800, the display field 801 being used to display model information of a peripheral device to which the drive setup device is connected via a USB interface. The operation page 800 further includes three icons of installation manners, an icon 802 indicates a USB driver installation manner, an icon 803 indicates a one-key wifi driver installation manner, an icon 804 indicates a wired network driver installation manner, and a determination key 805 for the user to determine the selection of one of the installation manners described above.
When the user connects the driver installation apparatus with the peripheral apparatus through the USB interface, the operation page 800 directly displays the installation manner selected by the driver installation apparatus according to the apparatus information of the peripheral apparatus. As shown in fig. 8B, in the installation interface 800, the display column 801 automatically displays the model of the currently connected peripheral device, and automatically selects one installation mode from three icons of installation modes, where for example, the peripheral device supports a wireless communication function, when the driver installation device obtains the interface type of the peripheral device and indicates that there is a wireless interface, the operation interface 800 directly presents the selected one-key wifi driver installation mode for the user, that is, the icon 803 presents the selected black state, and after the user clicks the determination key 805, the peripheral device installation program 4032 automatically installs the driver conforming to the wireless interface type of the peripheral device for the user.
When the operation interface presented to the user is as shown in fig. 8B, after the user clicks the determination key 805, the controller 402 of the drive installation device performs wireless setting on the peripheral device, and copies the setting information 4034 stored in the peripheral device to the peripheral device, so that the peripheral device is connected to the access point connected to the peripheral device. Thus, upon clicking the confirm button 805 in fig. 8B, the peripheral setup program 4032 invokes the wireless setup program 4033, and the wireless setup program 4033 may optionally present some reminder screen to the user, such as a reminder screen showing that wireless setup is currently being performed and a progress bar. If the peripheral device is not connected to the drive installation device through the USB interface while the wireless setting is being performed, the operation page 800 reminds the user of connecting the USB, and then returns to the initial screen shown in fig. 8A, and when the user reconnects the peripheral device to the drive installation device, the operation page 800 is automatically displayed as fig. 8B.
In addition, when the driver installation device obtains the device information of the peripheral device and indicates that only the USB interface is available, as shown in fig. 8C, the operation interface 800 directly presents the selected USB driver installation mode to the user, that is, the icon 802 presents the selected black state, and after the user clicks the determination key 805, the peripheral device installation program 4032 automatically installs the driver conforming to the USB interface type of the peripheral device for the user.
When the driver installation device obtains the device information of the peripheral device indicating that only the wired network interface is available, as shown in fig. 8D, the operation interface 800 directly presents the selected wired network driver installation mode to the user, that is, the icon 804 presents the selected black state, and after the user clicks the determination key 805, the peripheral device installation program 4032 automatically installs a driver conforming to the type of the wired network interface of the peripheral device for the user.
Therefore, according to the invention, before the user specifies an installation mode, the drive installation device can automatically select a proper installation mode according to the device information of the peripheral device and present the proper installation mode to the user, and the user can successfully set the drive program and the wireless setting of the peripheral device only by one-key operation.
When the driver installation apparatus acquires the apparatus information of the peripheral apparatus indicating that there are the wired network interface and the USB interface, the operation interface 800 is automatically displayed as fig. 8C or fig. 8D according to the priority setting of the interfaces.
Therefore, for users who are not familiar with the technology of the peripheral equipment, the invention provides the installation method of the driver program which is simple and easy to operate, and the users do not need to be familiar with the interface type of the peripheral equipment and select an installation mode to install the driver program.
In addition, when the operation interface 800 automatically selects one of the three installation modes according to the device information of the peripheral device currently connected with the driver installation device, the user can select again among the icons 802, 803 and 804, and the default icon automatically presented by the operation interface 800 may not be selected. For example, when the connected peripheral device includes a wireless interface, the operation interface 800 is shown in fig. 8B, the user may select the icon 802 to turn black, and then no longer select the icon 803, and click the determination key 805, and then the peripheral device installer 4032 installs the driver for the peripheral device according to the USB driver installation method. Meanwhile, a wireless setting key may be further added to the operation interface 800 for the user to select and manually set wireless setting information of the peripheral device, so that the user can input information such as a wireless SSID and a password required by an access point to be connected by himself, and when the user clicks the wireless setting key, the wireless setting program is run, and then the wireless setting interface displaying an input frame for inputting the SSID and the password is entered on the basis of the operation interface 800 for the user to manually input. The present invention thus satisfies the user's flexible operation, particularly when the user only wants to use a peripheral device including a wireless interface in USB connection with a drive installation device as a local device.
When the driver of the peripheral equipment is installed and the peripheral equipment has the wireless communication function, the peripheral equipment connection is directly set wirelessly in the process of installing the driver, no intervention of a user is needed in the process, the user only needs to connect the peripheral equipment to the driver installing equipment and starts the peripheral equipment installing program, the peripheral equipment installing program automatically selects an installing mode according to the equipment information of the peripheral equipment, and the user can successfully set the driver of the peripheral equipment and the wireless setting key after clicking and determining.
Example four
An embodiment of the present invention provides a drive mounting apparatus, as shown in fig. 9, including:
the obtaining unit 901 is configured to obtain an interface type supported by the peripheral device after the driver installation device establishes a communication connection with the peripheral device.
The determining unit 902 is configured to determine whether the interface type includes a wireless interface.
The setting unit 903 is used for automatically setting wireless connection to the peripheral device and installing a driver of the peripheral device if the interface type includes a wireless interface.
In a possible embodiment, the setting unit 903 is configured to automatically set a wireless connection to the peripheral device, and specifically configured to: judging whether the peripheral equipment stores wireless setting information or not, wherein the wireless setting information is wireless setting information required by the peripheral equipment when the peripheral equipment realizes wireless communication; if the peripheral equipment stores the wireless setting information, judging whether the wireless setting information stored in the peripheral equipment is the same as the wireless setting information stored in the peripheral equipment; and if the wireless setting information stored in the peripheral equipment is the same as the wireless setting information stored in the peripheral equipment, performing wireless communication with the peripheral equipment.
In a possible embodiment, when the setting unit 903 is used to automatically set a wireless connection to the peripheral device, it is further specifically used to: and if the wireless setting information stored in the peripheral equipment is different from the wireless setting information stored in the peripheral equipment, the wireless setting information stored in the peripheral equipment is sent to the peripheral equipment, so that the peripheral equipment is accessed to a wireless access point according to the wireless setting information sent by the drive installation equipment and carries out wireless communication with the peripheral equipment.
In a possible embodiment, when the setting unit 903 is used to automatically set a wireless connection to the peripheral device, it is further specifically used to: if the peripheral equipment does not store the wireless setting information, the wireless setting information stored in the peripheral equipment is sent to the peripheral equipment, so that the peripheral equipment is accessed to a wireless access point according to the wireless setting information sent by the drive installation equipment and carries out wireless communication with the peripheral equipment.
In a possible embodiment, the setting unit 903 is further configured to: if the interface type does not include a wireless interface, determining the interface type with the highest priority; and installing the driver of the peripheral equipment according to the interface type with the highest priority and the preset driver installation mode of the interface type with the highest priority.
In the embodiment of the invention, when the drive installation equipment acquires the interface type supported by the peripheral equipment and determines that the interface type comprises the wireless interface, the drive installation equipment automatically sets the wireless connection for the peripheral equipment and installs the drive program of the peripheral equipment.
EXAMPLE five
An embodiment of the present invention provides a drive mounting apparatus, as shown in fig. 10, including:
the obtaining unit 1001 is configured to obtain an interface type of the peripheral device after the driver installation device establishes a communication connection with the peripheral device.
The determining unit 1002 is configured to determine, according to the interface type and the preset priority, an interface type with a highest priority.
The selecting unit 1003 is configured to automatically select a driver installation manner corresponding to the interface type with the highest priority, so as to install a driver of the peripheral device.
In one possible embodiment, the interface types include a wireless interface, a wired network interface, and a USB interface.
In a possible embodiment, when the interface type with the highest priority is a wireless interface, the driver installation manner corresponding to the interface type with the highest priority includes that the selection unit 1003 automatically sets a wireless connection to the peripheral device.
In a possible embodiment, when the selecting unit 1003 automatically sets a wireless connection to the peripheral device, the method includes: judging whether the peripheral equipment stores wireless setting information or not, wherein the wireless setting information is wireless setting information required by the peripheral equipment when the peripheral equipment realizes wireless communication; if the peripheral equipment stores the wireless setting information, judging whether the wireless setting information stored in the peripheral equipment is the same as the wireless setting information stored in the peripheral equipment; and if the wireless setting information stored in the peripheral equipment is the same as the wireless setting information stored in the peripheral equipment, performing wireless connection with the peripheral equipment.
In a possible embodiment, when the selecting unit 1003 automatically sets a wireless connection to the peripheral device, the method further includes: and if the wireless setting information stored in the peripheral equipment is different from the wireless setting information stored in the peripheral equipment, the wireless setting information stored in the peripheral equipment is sent to the peripheral equipment, so that the peripheral equipment is accessed to a wireless access point according to the wireless setting information sent by the drive installation equipment and is in wireless connection with the peripheral equipment.
In a possible embodiment, when the selecting unit 1003 automatically sets a wireless connection to the peripheral device, the method further includes: if the peripheral equipment does not store the wireless setting information, the wireless setting information stored in the peripheral equipment is sent to the peripheral equipment, so that the peripheral equipment is accessed to the wireless access point according to the wireless setting information sent by the drive installation equipment and is in wireless connection with the peripheral equipment.
In one possible embodiment, the drive mounting means comprises: a USB drive installation mode, a wired network drive installation mode and a wireless network drive installation mode. The wireless network driver installation mode comprises wireless setting of peripheral equipment.
In the embodiment of the invention, after the driver installation equipment acquires the interface types supported by the peripheral equipment and determines the interface type with the highest priority, the driver installation mode corresponding to the interface type with the highest priority is automatically selected to install the driver of the peripheral equipment.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions in actual implementation, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a Processor (Processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A driver installation method, after a driver installation apparatus establishes a wired communication connection with a peripheral apparatus, the method comprising: displaying a first installation interface, wherein the first installation interface comprises a plurality of drive installation options, the plurality of drive installation options comprise a wireless drive installation option and a USB drive installation option, and the wireless drive installation option comprises prompt information for prompting a user to quickly complete wireless drive installation by one key; and setting a driver and a wireless setting program of the peripheral device;
the driver installation equipment acquires the interface type supported by the peripheral equipment;
the drive installation equipment judges whether the interface type comprises a wireless interface or not;
if the interface type comprises the wireless interface, the installation interface displays a wireless drive installation option automatically selected from the multiple drive installation options, and when a user selects to quickly finish wireless drive installation through one key, the drive installation equipment automatically sets wireless connection for the peripheral equipment so as to enable the drive installation equipment and the peripheral equipment to wirelessly communicate and install a drive program of the peripheral equipment;
when a user selects to rapidly complete wireless driver installation through one key, the driver installation device starts the wireless setting program, the wireless setting program acquires stored wireless setting information and sends the wireless setting information to the peripheral device through a wired interface, and the wireless setting program is a component of the driver of the peripheral device or is independent of the driver of the peripheral device.
2. The method of claim 1, wherein said automatically setting up a wireless connection to the peripheral device comprises:
the drive installation equipment judges whether wireless setting information is stored in the peripheral equipment, wherein the wireless setting information is wireless setting information required by the peripheral equipment when the peripheral equipment realizes wireless communication;
if the peripheral equipment stores the wireless setting information, the drive installation equipment judges whether the wireless setting information stored in the peripheral equipment is the same as the wireless setting information stored in the drive installation equipment;
and if the wireless setting information stored in the peripheral equipment is the same as the wireless setting information stored in the peripheral equipment, the drive installation equipment and the peripheral equipment are in wireless communication.
3. The method of claim 2, further comprising:
and if the wireless setting information stored in the peripheral equipment is different from the wireless setting information stored in the peripheral equipment, the drive installation equipment sends the wireless setting information stored in the drive installation equipment to the peripheral equipment, so that the peripheral equipment is accessed to a wireless access point according to the wireless setting information sent by the drive installation equipment and carries out wireless communication with the peripheral equipment.
4. The method of claim 2, further comprising:
if the peripheral equipment does not store the wireless setting information, the drive installation equipment sends the wireless setting information stored by the drive installation equipment to the peripheral equipment, so that the peripheral equipment is accessed to the wireless access point according to the wireless setting information sent by the drive installation equipment and carries out wireless communication with the peripheral equipment.
5. The method of claim 1, further comprising:
if the interface type does not include the wireless interface, the driver installation device determines the interface type with the highest priority;
and the driver installation equipment installs the driver of the peripheral equipment according to the interface type with the highest priority and the preset driver installation mode of the interface type with the highest priority.
6. A drive mounting apparatus, characterized in that the drive mounting apparatus comprises:
the display unit is used for displaying a first installation interface, the first installation interface comprises a plurality of drive installation options, the plurality of drive installation options comprise wireless drive installation options and USB drive installation options, and the wireless drive installation options comprise prompt information for prompting a user to quickly complete wireless drive installation by one key;
a storage unit for storing a driver program and a wireless setting program of the peripheral device;
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring an interface type supported by peripheral equipment after the drive installation equipment establishes wired communication connection with the peripheral equipment;
the judging unit is used for judging whether the interface type comprises a wireless interface or not;
a setting unit, if the interface type includes the wireless interface, enabling the installation interface to display a wireless driver installation option automatically selected from the multiple driver installation options, and when a user selects to quickly complete wireless driver installation through one key, automatically setting wireless connection for the peripheral equipment so as to enable the driver installation equipment and the peripheral equipment to wirelessly communicate, and installing a driver of the peripheral equipment;
when a user selects to finish the installation of the wireless driver quickly by one key, the setting unit starts the wireless setting program, the wireless setting program acquires the stored wireless setting information and sends the wireless setting information to the peripheral equipment through a wired interface, and the wireless setting program is a component of the driver of the peripheral equipment or is independent of the driver of the peripheral equipment.
7. The drive mounting apparatus of claim 6, wherein the setting unit, when automatically setting the wireless connection to the peripheral device, is specifically configured to:
judging whether wireless setting information is stored in the peripheral equipment, wherein the wireless setting information is wireless setting information required by the peripheral equipment when the peripheral equipment realizes wireless communication;
if the peripheral equipment stores the wireless setting information, judging whether the wireless setting information stored in the peripheral equipment is the same as the wireless setting information stored in the peripheral equipment;
and if the wireless setting information stored in the peripheral equipment is the same as the wireless setting information stored in the peripheral equipment, performing wireless communication with the peripheral equipment.
8. The drive mounting apparatus of claim 7, wherein the setting unit, when automatically setting the wireless connection to the peripheral device, is further specifically configured to:
and if the wireless setting information stored in the peripheral equipment is different from the wireless setting information stored in the peripheral equipment, the wireless setting information stored in the peripheral equipment is sent to the peripheral equipment, so that the peripheral equipment is accessed to a wireless access point according to the wireless setting information sent by the drive installation equipment and carries out wireless communication with the peripheral equipment.
9. The drive mounting apparatus of claim 7, wherein the setting unit, when automatically setting the wireless connection to the peripheral device, is further specifically configured to:
and if the peripheral equipment does not store the wireless setting information, the peripheral equipment sends the wireless setting information stored in the peripheral equipment to the peripheral equipment so that the peripheral equipment is accessed to the wireless access point according to the wireless setting information sent by the drive installation equipment and carries out wireless communication with the peripheral equipment.
10. The drive mounting apparatus of claim 6, wherein the setting unit is further configured to:
if the interface type does not include the wireless interface, determining the interface type with the highest priority;
and installing the driver of the peripheral equipment according to the interface type with the highest priority and the preset driver installation mode of the interface type with the highest priority.
CN201710329072.4A 2017-05-11 2017-05-11 Driver installation method and driver installation equipment Active CN107168737B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710329072.4A CN107168737B (en) 2017-05-11 2017-05-11 Driver installation method and driver installation equipment
PCT/CN2018/082817 WO2018205792A1 (en) 2017-05-11 2018-04-12 Driver installation method and driver installation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710329072.4A CN107168737B (en) 2017-05-11 2017-05-11 Driver installation method and driver installation equipment

Publications (2)

Publication Number Publication Date
CN107168737A CN107168737A (en) 2017-09-15
CN107168737B true CN107168737B (en) 2021-08-06

Family

ID=59815269

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710329072.4A Active CN107168737B (en) 2017-05-11 2017-05-11 Driver installation method and driver installation equipment

Country Status (2)

Country Link
CN (1) CN107168737B (en)
WO (1) WO2018205792A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107168737B (en) * 2017-05-11 2021-08-06 珠海奔图电子有限公司 Driver installation method and driver installation equipment
CN108920201A (en) * 2018-07-18 2018-11-30 珠海奔图电子有限公司 Processing method, device and the equipment of the driver of terminal equipment side
CN109062581B (en) * 2018-07-18 2023-07-25 珠海奔图电子有限公司 Terminal equipment side driver processing method, device and equipment
CN110121015A (en) * 2019-04-01 2019-08-13 珠海奔图电子有限公司 The control method and device of image forming apparatus option and installment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4393918B2 (en) * 2004-04-30 2010-01-06 京セラ株式会社 Mobile communication terminal device, communication system, and communication method
JP4254653B2 (en) * 2004-08-10 2009-04-15 ブラザー工業株式会社 Installation program and installation method
JP4158783B2 (en) * 2005-05-13 2008-10-01 ブラザー工業株式会社 Wireless connection setting program, recording medium, computer, and wireless network system
KR101817593B1 (en) * 2010-12-09 2018-01-12 에스프린팅솔루션 주식회사 Image forming device, host device and connecting methods thereof
CN103763450A (en) * 2014-01-10 2014-04-30 珠海赛纳打印科技股份有限公司 Imaging equipment wireless network setting method and system and storage medium
CN107168737B (en) * 2017-05-11 2021-08-06 珠海奔图电子有限公司 Driver installation method and driver installation equipment

Also Published As

Publication number Publication date
CN107168737A (en) 2017-09-15
WO2018205792A1 (en) 2018-11-15

Similar Documents

Publication Publication Date Title
US9826117B2 (en) Image forming apparatus supporting Wi-Fi direct and method of activating Wi-Fi direct
US8610939B2 (en) Application delivering system
CN107168737B (en) Driver installation method and driver installation equipment
EP2713639B1 (en) Image Forming Apparatus to Support Wi-Fi Direct and Method of Wi-Fi Direct Connecting Therein
JP6666765B2 (en) Communication device, control method therefor, and program
US20150186082A1 (en) Electronic apparatus, image forming apparatus, image forming system, wireless connection method, image forming method, and computer-readable recording medium
KR101817593B1 (en) Image forming device, host device and connecting methods thereof
US9389817B2 (en) Information processing device, control method, and storage medium for determining wireless connection method to a device
JP6566669B2 (en) Information processing apparatus, control method thereof, communication method, and program
JP6222950B2 (en) Printing apparatus, control method thereof, and program
US10091827B2 (en) Electronic apparatus, method of supporting wireless connection, image forming apparatus, and method of wireless connection
US10270927B2 (en) Controlling a display of a function execution apparatus based on an executable condition of a file processing function
EP2782399A1 (en) Method of connecting networks using Wi-Fi Direct in image forming apparatus, image forming apparatus supporting Wi-Fi Direct, and image forming system
CN107040974B (en) Mobile terminal for wireless communication and control method thereof
JP6417983B2 (en) Function execution device, computer program for communication device, and communication device
US20180063364A1 (en) Information processing device and non-transitory recording medium
US10097625B2 (en) Program, information processing apparatus, and communication system
JP6643006B2 (en) Information processing apparatus, control method and program for information processing apparatus, and storage medium
KR101606831B1 (en) Image forming apparatus, host device and method for controlling print
KR102022330B1 (en) Method for connecting network using Wi-Fi Direct in image forming apparatus, image forming apparatus supporting Wi-Fi Direct and image forming system
US11122181B2 (en) Non-transitory computer-readable recording medium storing computer-executable instructions and setup system for selecting a device
CN109168181B (en) Method and device for controlling network connection of terminal
JP2023137491A (en) Communication system, communication device, and communication terminal
JP2019140619A (en) Information processing device, control method thereof, and program
JP2015129820A (en) Image forming apparatus, control method thereof, printing system, and program

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
TA01 Transfer of patent application right

Effective date of registration: 20201117

Address after: 519060 A, building 3, building 01, 3883 Zhuhai Avenue, Zhuhai, Guangdong, China

Applicant after: ZHUHAI PANTUM ELECTRONICS Co.,Ltd.

Address before: 519060 Area A, 7th Floor, Building 01, No. 3883, Zhuhai Avenue, Xiangzhou District, Zhuhai City, Guangdong Province

Applicant before: Zhuhai Saine Printing Technology Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant