[go: up one dir, main page]

CN1315067C - Peripheral device having built-in drive program management function and its management method - Google Patents

Peripheral device having built-in drive program management function and its management method Download PDF

Info

Publication number
CN1315067C
CN1315067C CNB031575668A CN03157566A CN1315067C CN 1315067 C CN1315067 C CN 1315067C CN B031575668 A CNB031575668 A CN B031575668A CN 03157566 A CN03157566 A CN 03157566A CN 1315067 C CN1315067 C CN 1315067C
Authority
CN
China
Prior art keywords
driver
built
peripheral device
computer
readable
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.)
Expired - Fee Related
Application number
CNB031575668A
Other languages
Chinese (zh)
Other versions
CN1601499A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CNB031575668A priority Critical patent/CN1315067C/en
Priority to PCT/CN2004/000459 priority patent/WO2005029319A1/en
Publication of CN1601499A publication Critical patent/CN1601499A/en
Application granted granted Critical
Publication of CN1315067C publication Critical patent/CN1315067C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers
    • G06F9/4413Plug-and-play [PnP]
    • G06F9/4415Self describing peripheral devices

Landscapes

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

Abstract

The present invention relates to a peripheral device with a built-in driver management function and a management method. In the present invention, drivers are stored in a readable and writable memory in the peripheral device; a built-in driver management module is arranged in the peripheral device. By means of the computer and the built-in driver management module which match with each other, the drivers in the peripheral device are uploaded, downloaded, deleted, etc.; in this way, the peripheral device in which the built-in drivers are stored can avoid the problem that built-in driving data packets fail because of the update of an operation system and driver versions, and thus, the peripheral device has high expansibility and compatibility.

Description

Peripherals and management method thereof with built-in driver management function
Technical field
The present invention relates to the application technology of computer peripheral driver, particularly a kind of peripherals and management method thereof with built-in driver management function.
Background technology
Along with computer technology rapid development, the computer peripheral of built-in driver has appearred.Application number is peripheral device and the installation method thereof that 0110390.6 patented claim discloses a kind of internal driving program.The peripheral device of this internal driving program and installation method thereof the brain system of can powering is obtained its driver from peripheral device, need not use CD or disk to install, the driver store that is about to peripheral device is in ROM (read-only memory), when peripheral device is installed, can from peripheral device, driver be sent to computer system, and need not use CD or disk can drive peripheral device.The peripheral device of computer system described here just refers to the peripherals of computing machine, in general, the type of peripheral device of computing machine is quite a lot of, for example operating means such as printer, CD-ROM device, scanner, digital camera, high-capacity disk machine and keyboard, mouse, control lever or the like.
The peripherals of the disclosed internal driving program of this patented claim, with driver store in ROM (read-only memory), the driver that is to say peripherals dispatch from the factory be fixed storage in ROM (read-only memory).If the upgrading of driver or computer operating system just may cause built-in driving data bag to lose efficacy, make new driver or the computer operating system can't this peripherals of compatibility.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide a kind of peripherals with built-in driver management function, this peripherals can be avoided because of operating system and drive the problem that edition upgrading causes built-in driving data bag to lose efficacy, and has higher extendability and compatibility.
Another fundamental purpose of the present invention is to provide a kind of management method of built-in driver, avoids improving built-in driver peripherals extendability and compatibility because of operating system and the problem that the driving edition upgrading causes built-in driving data bag to lose efficacy.
An aspect for achieving the above object the invention provides a kind of peripherals with built-in driver management function, and it comprises at least: master controller, functions of the equipments module, program storage, data-carrier store and computer interface,
Described program storage is readable writable memory; And this readable writable memory further comprises: built-in driver memory module and built-in driver administration module;
Described master controller links to each other respectively with computer interface with this readable writable memory, data-carrier store; Order, data or built-in driver content that master controller sends by the computer interface receiving computer, and it is temporary in data-carrier store, according to the order that receives, through the built-in driver administration module in the readable writable memory, store built-in driver content temporary in the data-carrier store into the built-in driver memory module; Or,, from the built-in driver memory module, read the built-in driver content and send to computing machine by computer interface through the built-in driver administration module according to the order that receives; Or according to the order that receives, by the built-in driver of storing in the built-in driver administration module deletion built-in driver memory module; Maybe the data that receive are sent to the functions of the equipments module and realize functions of the equipments.
Wherein, described readable writable memory can be flash memory Flash ROM.
Described computer interface can comprise standard parallel communication interface circuit; This parallel communication interface circuit links to each other with master controller; Order, data and built-in driver content that master controller sends by parallel communication interface circuit receiving computer; Or,, from the built-in driver memory module, read the built-in driver content and send to computing machine by the parallel communication interface circuit through the built-in driver administration module according to the order that receives.
Described computer interface can also comprise serial communication interface circuit; This serial communication interface circuit links to each other with master controller; Order, data and built-in driver content that master controller sends by the serial communication interface circuit receiving computer; Or,, from the built-in driver memory module, read the built-in driver content and send to computing machine by serial communication interface circuit through the built-in driver administration module according to the order that receives.
Described serial communication interface circuit can be usb circuit.
This peripherals can further comprise network interface circuit, and this network interface circuit links to each other with master controller; Master controller receives order, data and the built-in driver content that network sends by network interface circuit; Or,, from the built-in driver memory module, read the built-in driver content and send to network by network interface circuit through the built-in driver administration module according to the order that receives.
Described network interface circuit can comprise ethernet transceiver and network interface connector; This network interface connector links to each other with network, and this ethernet transceiver links to each other with master controller.
Be another aspect that achieves the above object, the invention provides a kind of management method of built-in driver, this method is used for the built-in driver of computer peripheral is managed, and may further comprise the steps:
1) built-in driver is stored in the readable writable memory of peripherals;
2) computing machine equipment transmission to the periphery driver management operational order;
3) after peripherals is received operational order, the built-in driver in the readable writable memory that is stored in peripherals is managed operation according to operational order.
Wherein, described readable writable memory can be flash memory FlashROM.
Described driver management operational order can be driver download command, driver embarkation order or driver delete command.
Described step 3) can may further comprise the steps:
31) peripherals decision operation command type, if the driver embarkation order, then execution in step 32); If the driver download command, then execution in step 33); If the driver delete command, then execution in step 34);
Step 32) the built-in driver content that sends of receiving computer uploads to this built-in driver content the data-carrier store of peripherals earlier, is written to then in the readable writable memory; Process ends;
Step 33) according to the driver download command, the driver of search matched in readable writable memory if the driver of coupling is arranged, then arrives computing machine with this driver download content; Process ends; Otherwise, return failed download information to computing machine; Process ends;
Step 34) according to the driver delete command, the driver of search matched in readable writable memory is if there is the driver of coupling, then with this driver content deletion; Process ends; Otherwise, return the deletion failure information to computing machine; Process ends.
This method may further include: before peripherals receives the driver management operational order, wait for receiving data, judge whether this information is the driver management operational order earlier when information is imported; Otherwise carry out follow-up processing if driver management operational order execution in step 31 then), according to the function of peripherals itself.
This method may further include: set up list of drivers in computing machine, write down the version of all drivers of storing in the readable writable memory of this peripherals, this list of drivers is uploaded at the driver of peripherals, refreshed by computing machine after download or the deletion action.
This method may further include: after peripherals is received the driver embarkation order, check whether readable writable memory has enough spaces, if have then driver is uploaded to the data-carrier store of peripherals earlier, be written to then in the readable writable memory; Otherwise, return to computing machine and to upload failure information.
This method may further include: peripherals carries out data check to the driver that uploads in the data-carrier store, if verification succeeds then driver is written to readable writable memory; Otherwise to computing machine back-checking failure information;
After driver downloaded to computing machine, computing machine carried out data check to this driver, if verification succeeds then this driver directly is installed; Otherwise equipment back-checking failure information to the periphery.
Described method of calibration can for: use and to add up and algorithm carries out verification.
Described step 1) can for: built-in driver is stored in the readable writable memory backward successively according to write sequence in the past.
Described step 34) may further include: whether judge deleted driver at the end of readable writable memory, if process ends then; Otherwise, the driver that is stored in behind the deleted driver is moved forward.
The computer interface of described peripherals can for the standard parallel communication interface or/and USB interface, computing machine by parallel communication interface or/and USB interface to the periphery equipment send the driver management operational order, and by parallel communication interface or/and USB interface is carried out uploading and downloading of driver.
This method may further include: on described peripherals network interface is set, this network interface is connected to peripherals on the network; Computing machine passes through network equipment transmission to the periphery driver management operational order, and by network the peripherals on the network is carried out uploading and downloading of driver.
By technical scheme of the present invention as seen, this peripherals and management method thereof of the present invention with built-in driver management function, with driver store in peripherals in the readable storer of writing, and the built-in driver administration module is set in peripherals, by working in coordination of computing machine and this administration module, to built-in driver in the peripherals upload, download, bookkeeping such as deletion.The invention enables the peripherals of built-in driver can avoid, and have higher extendability and compatibility because of operating system and driving edition upgrading cause the problem of built-in driving data bag inefficacy.
Description of drawings
Fig. 1 is the structural representation of the built-in driver peripherals of a preferred embodiment of the present invention;
Fig. 2 is the processing flow chart in computing machine embodiment illustrated in fig. 1;
Fig. 3 is the processing flow chart in the built-in driver peripherals embodiment illustrated in fig. 1;
Fig. 4 is the structural representation of data storage in the readable storer of writing embodiment illustrated in fig. 1.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, below in conjunction with embodiment and accompanying drawing, the present invention is described in more detail.
This peripherals and management method thereof of the present invention with built-in driver management function, with driver store in peripherals in the readable storer of writing, and the built-in driver administration module is set in peripherals, by working in coordination of computing machine and this administration module, to built-in driver in the peripherals upload, download, bookkeeping such as deletion.
Referring to Fig. 1, Fig. 1 is the structural representation of the built-in driver peripherals of a preferred embodiment of the present invention.Present embodiment is the built-in printer of a kind of driver, and this printer comprises: master controller 107; Program storage 103, program storage 103 is Flash ROM in the present embodiment, also other readable writable memories; Data-carrier store (SDRAM) 108; Computer interface 109 and print module 114.
Wherein, readable writable memory 103 also comprises except comprising the firmware program module 104 that is used for storage print machine firmware program: built-in driver memory module 106 and built-in driver administration module 105.Master controller 107 links to each other respectively with readable writable memory 103, data-carrier store 108 and computer interface 109; Order, data or built-in driver content that master controller 107 sends by computer interface 109 receiving computers, and it is temporary in data-carrier store 108, according to the order that receives, through the built-in driver administration module 105 in the readable writable memory 103, store built-in driver content temporary in the data-carrier store 108 into built-in driver memory module 106; Or,, from built-in driver memory module 106, read the built-in driver content and send to computing machine by computer interface 107 through built-in driver administration module 105 according to the order that receives; Or according to the order that receives, by the built-in driver of storage in the built-in driver administration module 105 deletion built-in driver memory modules 106; If what receive is print data, then print by master controller 107 control print modules 114.
The computer interface 109 of present embodiment has comprised the standard parallel communication interface circuit of being made up of interconnected IEEE 1284 transceivers 110 and parallel port connector 111, and the usb circuit of being made up of interconnected USB Node Controller 112 and usb interface connector 113.IEEE 1284 transceivers 110 link to each other with master controller 107 respectively with USB Node Controller 112; Master controller 107 is by IEEE1284 transceiver 110 and parallel port connector 111; Or the order, data and the built-in driver content that send by USB Node Controller 112 and usb interface connector 113 receiving computers; Or,, from built-in driver memory module 106, read the built-in driver content by IEEE 1284 transceivers 110 and parallel port connector 111 through built-in driver administration module 106 according to the order that receives; Or send to computing machine by USB Node Controller 112 and usb interface connector 113.
As shown in Figure 1, the printer of present embodiment has also comprised the network interface circuit of being made up of network interface connector 101 and ethernet transceiver 102, this network interface connector 101 links to each other with ethernet transceiver 102, and this ethernet transceiver 102 links to each other with master controller 107; Master controller 107 receives order, print data and the built-in driver content that network sends by ethernet transceiver 102 and network interface connector 101; Or,, from built-in driver memory module 106, read the built-in driver content and send to network by ethernet transceiver 102 and network interface connector 101 through built-in driver administration module 105 according to the order that receives.
Referring to Fig. 2, Fig. 2 is the processing flow chart in computing machine embodiment illustrated in fig. 1.This flow process may further comprise the steps:
Step 201 is selected communication port, because the printer of present embodiment has parallel port, USB interface and network interface, so will select communication port earlier.
Step 202, whether search has the driving built-in printer on the communication port of selecting, if successfully search the driving built-in printer, then execution in step 203; Otherwise process ends.
Step 203 is selected the printer that connects on this communication port.
Step 204 is judged task type, if configure printer execution in step 205 then: directly printer is configured, if built-in driver is managed, then execution in step 206.
Step 206 is judged the action type to the printer built-in driver, if driver is downloaded, then execution in step 207; If driver is uploaded or deleted, then execution in step 213.
Step 207 is obtained computing machine (PC) operating system version;
Step 208 according to the PC operating system version, sends the driving download command to printer, wherein comprises the release requirement to driver.
Step 209 receives the response message of printer, if comprise version match in the response message, and execution in step 210-212 then; Otherwise version does not match, then process ends.
Step 210-212, PC receive this version drive program that printer is downloaded, and the driver of downloading is added up and verification, also can carry out verification with additive method, if verification succeeds then PC install process ends behind the driver of download automatically; Otherwise direct process ends.
Step 213, PC accesses the list of drivers of setting up in advance, and this list of drivers writes down the version of all drivers of storing in the readable writable memory of this peripherals.
Step 214 is judged the driven management type, if upload then execution in step 215; If delete then execution in step 220-222.
Step 215 sends the file header of driver packet, wherein comprises the size of driver packet.
Step 216 receives the response message of printer, if show in the response message that Flash ROM space is enough, and execution in step 217-219 then; Otherwise Flash ROM insufficient space, then process ends.
Step 217-219 to the data division and the check word of printer transmission driver packet, receives the response message of printer, if show verification succeeds in the response message, then the version with this driver is filled in the list of drivers, refreshes list of drivers, process ends; Otherwise verification failure, then process ends.
Step 220-222, send the deletion confirmation to printer, the version number that wherein comprises the driver that to delete, receive the response message of printer, delete successfully if show in the response message, then, refresh list of drivers, process ends with deletion in the version slave driver tabulation of this driver; Otherwise deletion failure, directly process ends.
Referring to Fig. 3, Fig. 3 is the processing flow chart in the built-in driver peripherals embodiment illustrated in fig. 1.This flow process may further comprise the steps:
Step 301, pending datas such as printer.After the driving built-in printer powers on and moves, be among the circulation of wait, reception, processing always.
Step 302 has data input printer.
Step 303, the judgment data type, if print data, then execution in step 304: carry out print job; If the driver management operational order, then execution in step 305.
Step 305 is judged the driver action type, if driver uploads, and execution in step 306-308 then; If the driver deletion, then execution in step 309; If driver is uploaded, then execution in step 314;
Step 306-308, according to the release requirement of driver download command, the driver of search matched in readable writable memory, judge whether suitable driver, if the driver of coupling is arranged, then this driver download content is arrived PC, process ends; Otherwise, return failed download information to PC; Process ends.
Step 309, according to the driver delete command, the driver of search matched in readable writable memory.
Step 310 judges whether the driver of coupling, if the driver of coupling is arranged, and execution in step 311-313 then; Otherwise, return the deletion failure information to PC; Process ends.
Step 311-313 will mate driver content deletion, whether judge deleted driver at the end of readable writable memory, if process ends then; Otherwise, the driver that is stored in behind the deleted driver is moved forward the back process ends.
The storage organization of driver in Flash ROM is referring to Fig. 4, and Fig. 4 is the structural representation of data storage in the readable storer of writing embodiment illustrated in fig. 1.Wherein, the firmware program of printer (firmware) is stored in the foremost of Flash ROM, and built-in driver is stored in the readable writable memory according to write sequence in the past backward successively.Each printer driver bag all is made up of two parts: file header (Header File), driving data compressed package (Zip File).Header File size is 128 bytes, all uncompressed is handled, wherein comprised following closely the important information of Zip File and the characteristic information of printer, driven source document size after operating system, language version, driving version, the size of Zip File, Zip File of being fit to decompress, printer model, printer resolution, print speed, print paper breadth etc. as this.
Step 314, the size of driver is uploaded in acquisition in the printer slave driver embarkation order.
Step 315 checks whether readable writable memory has enough spaces, if having then execution in step 316-318; Otherwise, return to PC and to upload failure information, process ends.
Step 316-318, printer uploads to the data-carrier store of peripherals earlier with driver, then the driver of downloading is carried out verification, if verification succeeds then this driver is written to process ends in the readable writable memory; Otherwise verification is unsuccessful, directly process ends.
In the present embodiment, computing machine carries out verification to the driver of downloading, and printer carries out verification to the driver of uploading, all adopted add up and method of calibration, realize effectively simply, also can adopt additive method to carry out verification in actual applications.
Present embodiment is the built-in printer of a kind of driver, other peripherals such as CD-ROM device, scanner, digital camera, the high-capacity disk machine, and keyboard, mouse, operating means such as control lever or the like, equally can be by with in the readable therein storer of writing of driver store, and the built-in driver administration module is set in peripherals, by working in coordination of computing machine and this administration module, built-in driver in the peripherals is uploaded, download, bookkeepings such as deletion are that with the difference of present embodiment functions of the equipments module and interface might be different.
Present embodiment can be realized the renewal of built-in driver very easily, such as earlier the driver of legacy version in the readable storer of writing being deleted, upload in the readable storer of writing by the driver of computing machine again, delete if certain readable storage space of writing enough greatly also can be uploaded afterwards earlier with redaction.
By the above embodiments as seen, this peripherals and management method thereof of the present invention with built-in driver management function, can upload built-in driver in the peripherals, download, bookkeeping such as deletion, make the peripherals of built-in driver can avoid, and have higher extendability and compatibility because of operating system and driving edition upgrading cause the problem of built-in driving data bag inefficacy.

Claims (20)

1、一种具有内置驱动程序管理功能的外围设备,其至少包含:主控制器、设备功能模块、程序存储器、数据存储器和计算机接口,其特征在于:1. A peripheral device with a built-in driver management function, which at least includes: a main controller, a device function module, a program memory, a data memory and a computer interface, characterized in that: 所述的程序存储器为可读可写存储器;且该可读可写存储器进一步包含:内置驱动程序存储模块和内置驱动程序管理模块;The program memory is a readable and writable memory; and the readable and writable memory further includes: a built-in driver storage module and a built-in driver management module; 所述的主控制器与该可读可写存储器、数据存储器和计算机接口分别相连;主控制器通过计算机接口接收计算机发送的命令、数据或内置驱动程序内容,并暂存到数据存储器中,根据接收的命令,将数据存储器中暂存的内置驱动程序内容经过可读可写存储器中的内置驱动程序管理模块,存储到内置驱动程序存储模块;或根据接收的命令,经过内置驱动程序管理模块,从内置驱动程序存储模块中读取内置驱动程序内容通过计算机接口发送给计算机;或根据接收的命令,由内置驱动程序管理模块删除内置驱动程序存储模块中存储的内置驱动程序;或将接收的数据发送给设备功能模块实现设备功能。The main controller is respectively connected to the readable and writable memory, the data storage and the computer interface; the main controller receives the command, data or built-in driver content sent by the computer through the computer interface, and temporarily stores them in the data storage, according to According to the received command, the content of the built-in driver temporarily stored in the data memory is stored in the built-in driver storage module through the built-in driver management module in the readable and writable memory; or according to the received command, through the built-in driver management module, Read the built-in driver content from the built-in driver storage module and send it to the computer through the computer interface; or according to the received command, the built-in driver management module deletes the built-in driver stored in the built-in driver storage module; or the received data Send it to the device function module to realize the device function. 2、如权利要求1所述的外围设备,其特征在于:所述的可读可写存储器为闪存Flash ROM。2. The peripheral device according to claim 1, characterized in that: said readable and writable memory is Flash ROM. 3、如权利要求1所述的外围设备,其特征在于:所述的计算机接口包含标准并行通信接口电路;该并行通信接口电路与主控制器相连;主控制器通过并行通信接口电路接收计算机发送的命令、数据和内置驱动程序内容;或根据接收的命令,经过内置驱动程序管理模块,从内置驱动程序存储模块中读取内置驱动程序内容通过并行通信接口电路发送给计算机。3. The peripheral device according to claim 1, wherein the computer interface includes a standard parallel communication interface circuit; the parallel communication interface circuit is connected to the main controller; the main controller receives the computer transmission through the parallel communication interface circuit command, data and built-in driver content; or according to the received command, through the built-in driver management module, read the built-in driver content from the built-in driver storage module and send it to the computer through the parallel communication interface circuit. 4、如权利要求1所述的外围设备,其特征在于:所述的计算机接口包含串行通信接口电路;该串行通信接口电路与主控制器相连;主控制器通过串行通信接口电路接收计算机发送的命令、数据和内置驱动程序内容;或根据接收的命令,经过内置驱动程序管理模块,从内置驱动程序存储模块中读取内置驱动程序内容通过串行通信接口电路发送给计算机。4. The peripheral device according to claim 1, characterized in that: said computer interface includes a serial communication interface circuit; the serial communication interface circuit is connected to the main controller; the main controller receives The command, data and built-in driver content sent by the computer; or according to the received command, through the built-in driver management module, read the built-in driver content from the built-in driver storage module and send it to the computer through the serial communication interface circuit. 5、如权利要求4所述的外围设备,其特征在于:所述的串行通信接口电路为USB接口电路。5. The peripheral device as claimed in claim 4, wherein said serial communication interface circuit is a USB interface circuit. 6、如权利要求1所述的外围设备,其特征在于:该外围设备进一步包含网络接口电路,该网络接口电路与主控制器相连;主控制器通过网络接口电路接收网络发送的命令、数据和内置驱动程序内容;或根据接收的命令,经过内置驱动程序管理模块,从内置驱动程序存储模块中读取内置驱动程序内容通过网络接口电路发送给网络。6. The peripheral device according to claim 1, characterized in that: the peripheral device further includes a network interface circuit, the network interface circuit is connected to the main controller; the main controller receives the commands, data and data sent by the network through the network interface circuit Built-in driver content; or read the built-in driver content from the built-in driver storage module through the built-in driver management module according to the received command and send it to the network through the network interface circuit. 7、如权利要求6所述的外围设备,其特征在于:所述的网络接口电路包含以太网收发器和网络接口连接器;该网络接口连接器与网络相连,该以太网收发器与主控制器相连。7. The peripheral device according to claim 6, wherein the network interface circuit comprises an Ethernet transceiver and a network interface connector; the network interface connector is connected to the network, and the Ethernet transceiver is connected to the main control connected to the device. 8、一种内置驱动程序的管理方法,用于对计算机外围设备的内置驱动程序进行管理,其特征在于,该方法包括以下步骤:8. A method for managing built-in drivers, which is used to manage built-in drivers of computer peripheral devices, characterized in that the method comprises the following steps: 1)将内置驱动程序存储在外围设备的可读可写存储器中;1) storing the built-in driver program in the readable and writable memory of the peripheral device; 2)计算机向外围设备发送驱动程序管理操作命令;2) The computer sends a driver management operation command to the peripheral device; 3)外围设备收到操作命令后,根据操作命令对存储在外围设备的可读可写存储器中的内置驱动程序进行管理操作。3) After receiving the operation command, the peripheral device performs management operations on the built-in driver stored in the readable and writable memory of the peripheral device according to the operation command. 9、如权利要求8所述的管理方法,其特征在于:所述的可读可写存储器为闪存FlashROM。9. The management method according to claim 8, wherein the readable and writable memory is FlashROM. 10、如权利要求8所述的管理方法,其特征在于:所述的驱动程序管理操作命令为:驱动程序下载命令、驱动程序上载命令或驱动程序删除命令。10. The management method according to claim 8, wherein the driver management operation command is: a driver download command, a driver upload command or a driver delete command. 11、如权利要求10所述的管理方法,其特征在于:所述的步骤3)包括以下步骤:11. The management method according to claim 10, characterized in that: said step 3) includes the following steps: 31)外围设备判断操作命令类型,如果是驱动程序上载命令,则执行步骤32);如果是驱动程序下载命令,则执行步骤33);如果是驱动程序删除命令,则执行步骤34);31) the peripheral equipment judges the operation command type, if it is a driver upload command, then perform step 32); if it is a driver download command, then perform step 33); if it is a driver delete command, then perform step 34); 步骤32)接收计算机发送的内置驱动程序内容,先将该内置驱动程序内容上载到外围设备的数据存储器,然后写入到可读可写存储器中;结束流程;Step 32) Receive the built-in driver content sent by the computer, first upload the built-in driver content to the data memory of the peripheral device, and then write it into the readable and writable memory; end the process; 步骤33)根据驱动程序下载命令,在可读可写存储器中搜索匹配的驱动程序,如果有匹配的驱动程序,则将该驱动程序内容下载到计算机;结束流程;否则,向计算机返回下载失败信息;结束流程;Step 33) According to the driver program download command, search for a matching driver program in the readable and writable memory, if there is a matching driver program, then download the driver program content to the computer; end the process; otherwise, return the download failure information to the computer ; end process; 步骤34)根据驱动程序删除命令,在可读可写存储器中搜索匹配的驱动程序,如果有匹配的驱动程序,则将该驱动程序内容删除;结束流程;否则,向计算机返回删除失败信息;结束流程。Step 34) According to the driver program deletion command, search for a matching driver program in the readable and writable memory, if there is a matching driver program, then delete the driver program content; end the flow process; otherwise, return the deletion failure information to the computer; end process. 12、如权利要求11所述的管理方法,其特征在于,该方法进一步包括:外围设备接收驱动程序管理操作命令前,等待接收数据,当有信息输入时先判断该信息是否为驱动程序管理操作命令;如果是驱动程序管理操作命令则执行步骤31),否则按照外围设备本身的功能进行后续的处理。12. The management method according to claim 11, characterized in that the method further comprises: before the peripheral device receives the driver program management operation command, it waits to receive data, and when there is information input, it first judges whether the information is a driver program management operation command; if it is a driver program management operation command, step 31) is executed; otherwise, follow-up processing is performed according to the function of the peripheral device itself. 13、如权利要求11所述的管理方法,其特征在于,该方法进一步包括:在计算机中建立驱动程序列表,记录该外围设备的可读可写存储器中存储的所有驱动程序的版本,该驱动程序列表在外围设备的驱动程序上载、下载或删除操作后由计算机刷新。13. The management method according to claim 11, further comprising: establishing a driver list in the computer, recording the versions of all drivers stored in the readable and writable memory of the peripheral device, the driver The program list is refreshed by the computer after a driver upload, download, or delete operation for a peripheral device. 14、如权利要求11所述的管理方法,其特征在于,该方法进一步包括:外围设备收到驱动程序上载命令后,检查可读可写存储器是否有足够的空间,如果有则将驱动程序先上载到外围设备的数据存储器,然后写入到可读可写存储器中;否则,向计算机返回上载失败信息。14. The management method according to claim 11, characterized in that the method further comprises: after the peripheral device receives the driver upload command, checks whether there is enough space in the readable and writable memory, and if so, uploads the driver first Upload to the data memory of the peripheral device, and then write to the readable and writable memory; otherwise, return the upload failure message to the computer. 15、如权利要求11或14所述的管理方法,其特征在于,该方法进一步包括:外围设备对上载到数据存储器中的驱动程序进行数据校验,如果校验成功则将驱动程序写入到可读可写存储器;否则向计算机返回校验失败信息;15. The management method according to claim 11 or 14, characterized in that the method further comprises: the peripheral device performs data verification on the driver program uploaded to the data storage, and if the verification is successful, writes the driver program into the Readable and writable memory; otherwise, return verification failure information to the computer; 驱动程序下载到计算机后,计算机对该驱动程序进行数据校验,如果校验成功则直接安装该驱动程序;否则向外围设备返回校验失败信息。After the driver program is downloaded to the computer, the computer performs data verification on the driver program, and if the verification is successful, the driver program is directly installed; otherwise, the verification failure message is returned to the peripheral device. 16、如权利要求15所述的管理方法,其特征在于,所述的校验方法为:使用累加和算法进行校验。16. The management method according to claim 15, characterized in that, the checking method is: using the cumulative sum algorithm for checking. 17、如权利要求11所述的管理方法,其特征在于,所述步骤1)为:将内置驱动程序按照写入顺序从前向后依次存储到可读可写存储器中。17. The management method according to claim 11, characterized in that the step 1) is: storing the built-in drivers in the readable and writable memory from front to back according to the writing order. 18、如权利要求17所述的管理方法,其特征在于,所述步骤34)进一步包括:判断被删除的驱动程序是否在可读可写存储器的末尾,如果是则结束流程;否则,将存储在被删除的驱动程序后的驱动程序向前移动。18. The management method according to claim 17, characterized in that, said step 34) further comprises: judging whether the deleted driver is at the end of the readable and writable memory, and if so, ending the process; otherwise, storing The drivers following the deleted driver move forward. 19、如权利要求8所述的管理方法,其特征在于,所述外围设备的计算机接口为标准并行通信接口或/和USB接口,计算机通过并行通信接口或/和USB接口向外围设备发送驱动程序管理操作命令,并通过并行通信接口或/和USB接口进行驱动程序的上载和下载。19. The management method according to claim 8, wherein the computer interface of the peripheral device is a standard parallel communication interface or/and USB interface, and the computer sends the driver program to the peripheral device through the parallel communication interface or/and USB interface Manage operation commands, and upload and download drivers through the parallel communication interface or/and USB interface. 20、如权利要求8所述的管理方法,其特征在于,该方法进一步包括:在所述的外围设备上设置网络接口,该网络接口将外围设备连接到网络上;计算机通过网络向外围设备发送驱动程序管理操作命令,并通过网络对网络上的外围设备进行驱动程序的上载和下载。20. The management method according to claim 8, characterized in that the method further comprises: setting a network interface on the peripheral device, the network interface connects the peripheral device to the network; the computer sends the peripheral device through the network The driver program manages the operation command, and uploads and downloads the driver program to the peripheral devices on the network through the network.
CNB031575668A 2003-09-24 2003-09-24 Peripheral device having built-in drive program management function and its management method Expired - Fee Related CN1315067C (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CNB031575668A CN1315067C (en) 2003-09-24 2003-09-24 Peripheral device having built-in drive program management function and its management method
PCT/CN2004/000459 WO2005029319A1 (en) 2003-09-24 2004-05-09 A periphral equipment and corresponding management method provided with function for management of inner driver program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB031575668A CN1315067C (en) 2003-09-24 2003-09-24 Peripheral device having built-in drive program management function and its management method

Publications (2)

Publication Number Publication Date
CN1601499A CN1601499A (en) 2005-03-30
CN1315067C true CN1315067C (en) 2007-05-09

Family

ID=34324107

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB031575668A Expired - Fee Related CN1315067C (en) 2003-09-24 2003-09-24 Peripheral device having built-in drive program management function and its management method

Country Status (2)

Country Link
CN (1) CN1315067C (en)
WO (1) WO2005029319A1 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006114810A1 (en) * 2005-03-31 2006-11-02 Mitsubishi Denki Kabushiki Kaisha Communication driver
KR100694124B1 (en) 2005-06-08 2007-03-12 삼성전자주식회사 Driver update method and apparatus of an image forming apparatus
KR100651689B1 (en) * 2005-11-29 2006-12-01 주식회사 애트랩 Computer Peripherals with Embedded Contents and Contents Output Method Using Them
CN100465893C (en) * 2006-08-29 2009-03-04 华南理工大学 A method for dynamic upgrading of embedded operating system driver
CN101382894B (en) * 2007-09-05 2013-09-04 北京软通科技有限责任公司 Method, device and system for downloading computer hardware device driver
CN101227676B (en) * 2008-02-03 2012-01-11 中兴通讯股份有限公司 Method for downloading intelligent terminal version software
CN101794234A (en) * 2010-02-04 2010-08-04 中兴通讯股份有限公司 Wireless data card, communication method between same and computer side and system thereof
CN106383708B (en) * 2016-09-13 2020-02-21 宇龙计算机通信科技(深圳)有限公司 Module loading method and system
CN110958411A (en) * 2020-02-23 2020-04-03 武汉精立电子技术有限公司 Image acquisition control method and device based on FPGA
CN113747087B (en) * 2021-09-10 2023-09-19 湖南君瀚信息技术有限公司 Remote driving low-delay image transmission method, device, computer equipment and medium
CN116614607A (en) * 2022-02-08 2023-08-18 极米科技股份有限公司 Data processing method, device, equipment, medium and product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5812857A (en) * 1996-08-28 1998-09-22 Extended Systems, Inc. Field configurable embedded computer system
US6009524A (en) * 1997-08-29 1999-12-28 Compact Computer Corp Method for the secure remote flashing of a BIOS memory
WO2001097025A1 (en) * 2000-06-16 2001-12-20 Silicom Ltd. Device-related software installation
US6370645B1 (en) * 1998-02-20 2002-04-09 Samsung Electronics Co., Ltd. Method of constructing a hard disk drive having uploadable/downloadable firmware

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5812857A (en) * 1996-08-28 1998-09-22 Extended Systems, Inc. Field configurable embedded computer system
US6009524A (en) * 1997-08-29 1999-12-28 Compact Computer Corp Method for the secure remote flashing of a BIOS memory
US6370645B1 (en) * 1998-02-20 2002-04-09 Samsung Electronics Co., Ltd. Method of constructing a hard disk drive having uploadable/downloadable firmware
WO2001097025A1 (en) * 2000-06-16 2001-12-20 Silicom Ltd. Device-related software installation

Also Published As

Publication number Publication date
CN1601499A (en) 2005-03-30
WO2005029319A1 (en) 2005-03-31

Similar Documents

Publication Publication Date Title
CN1315067C (en) Peripheral device having built-in drive program management function and its management method
CN101030146A (en) Method and system for updating fastener
CN1291332C (en) Disk system and method for updating firmware
CN1685326A (en) Bus connection system
CN1766850A (en) Memory card having a storage cell and method of controlling the same
CN106933747B (en) Data-storage system and date storage method based on multithread
CN1822004A (en) System and method for using a file system to automatically backup a file as a generational file
CN1499530A (en) Method and apparatus for efficiently allowing out-of-order write processing in a non-volatile memory system
CN1477518A (en) System for handling file name of file system filter driver and its method
CN100346298C (en) System and method for remotely loading or upgrading program
CN1812332A (en) Method for assurng conformity of exchanger various monoboard software edition
CN100340982C (en) After-error recovery method of transmission equipment card software on-line update
CN1838128A (en) Control Technology of Storage Device System
CN1960434A (en) Method, devices, and facility for implementing upgrading TV system
CN1171174C (en) entertainment device
CN1795442A (en) Method and device for transferring data between a main memory and a storage device
CN1215401C (en) Printing method using portable equipment
CN1811741A (en) Direct memory access control method, direct memory access controller, information processing system, and program
CN1862512A (en) Single board read/writ system and method for information
CN1734429A (en) Information processing equipment, storage equipment and storage control equipment
CN1968168A (en) Blade server positioning method and system
CN1831750A (en) data control device
CN1317641C (en) Firmware update method and device for checking program content to ensure compatibility of firmware update
CN101042700A (en) Method, system and equipment for managing patch file
CN1280728C (en) Debagging method for digital signal processing system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070509

Termination date: 20200924