CN101131650A - Device and method for guiding, updating and maintenance based on USB Host - Google Patents

Device and method for guiding, updating and maintenance based on USB Host Download PDF

Info

Publication number
CN101131650A
CN101131650A CNA2006101125758A CN200610112575A CN101131650A CN 101131650 A CN101131650 A CN 101131650A CN A2006101125758 A CNA2006101125758 A CN A2006101125758A CN 200610112575 A CN200610112575 A CN 200610112575A CN 101131650 A CN101131650 A CN 101131650A
Authority
CN
China
Prior art keywords
flash disk
usb flash
guiding
usb
nonvolatile memory
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.)
Granted
Application number
CNA2006101125758A
Other languages
Chinese (zh)
Other versions
CN100456244C (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.)
Rigol Technologies Inc
Original Assignee
WANG YUE WANG TIEJUN LI WEISEN
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 WANG YUE WANG TIEJUN LI WEISEN filed Critical WANG YUE WANG TIEJUN LI WEISEN
Priority to CNB2006101125758A priority Critical patent/CN100456244C/en
Publication of CN101131650A publication Critical patent/CN101131650A/en
Application granted granted Critical
Publication of CN100456244C publication Critical patent/CN100456244C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

This invention discloses a kind of device with using the USB interface to finish the device guidance, stage, and maintenance which includes: one read-only nonvolatile memory memorizing the guide program, one central processor which connects with the read-only nonvolatile memory and one USB Host interface which connects with the central processor. This device includes a protected system guide memory and a USB Host interface and the protected system guide memory locates a USB Host drive and a guide stage maintenance code in it so it can finish the work of self guidance, stage, and maintenance effectively further ensure the highly active and reliable running and working of the device system.

Description

Instrument and method thereof based on guiding, upgrading and the maintenance of USB Host
Technical field
The present invention relates to the instrument and the method thereof of a kind of guiding, upgrading and maintenance, particularly come guide instrument, instrument is carried out software upgrading, the systematic parameter of maintenance tool by USB Host interface based on USB Host.
Background technology
Instrument is a complete system that constitutes with hardware and software, and software is that a relative hardware is a flexible system, can constantly upgrade according to the renewal of the market demand and version.Simultaneously, the systematic parameter of instrument must proofread and correct or revise according to operating position.And the non-instrument based on operating system of tradition all is the software systems of single version, if find problem to have occurred on the software, must return all that maintenance center or factory are unpacking to upgrade.Even the method for other outside upgrading is arranged, interrupted escalation process if fortuitous event in escalation process, occurs, will cause unpredictable consequence, must return also at this time that maintenance center or factory are unpacking repairs.Secondly, for some instrument, maintenance is a considerable link, and the level that the user of different rights safeguards also is different.Traditional instrument adopts this secret coding mode that authority is limited usually, and is dangerous also inconvenient.This instrument based on USB Host guiding, upgrading and maintenance has then solved above these problems at present.
Summary of the invention
The purpose of this invention is to provide a kind of instrument based on USB Host channeling conduct, upgrading and maintenance, solve at present traditional instrument software upgrading, safeguard, revise inconvenient defective, this instrument comprises a read-only nonvolatile memory that has stored boot, one central processing unit, be connected with described read-only nonvolatile memory, this instrument also comprises: a USB Host interface, this USB Host interface are together
Described central processing unit is connected.
This instrument also comprises the erasable nonvolatile memory of this machine of storage working procedure, and this erasable nonvolatile memory is connected with described central processing unit.
Also comprise a user interface, this user interface comprises that an input media and for user input instruction is shown to the display device of user prompt.
Also comprise the protected boot storer in this instrument, the USB movable storage device.The protected boot storer is being deposited basic boot, and USB Host drives and the memory device file management system; USB Host provides a kind of general high-speed data channel; Data or program file that the USB movable storage device is being deposited customer requirements guiding, upgrading or safeguarded.
The present invention also provides a kind of method based on USB Host channeling conduct, upgrading and maintenance tool, may further comprise the steps:
A, energized, from read-only non-volatile bootstrap memory with boot program loads in the internal storage of central processing unit, and carry out;
B, judged whether that USB flash disk is inserted on the USB Host;
If c has USB flash disk, then read the boot sector on the USB flash disk, judge whether guiding is effective;
If the guiding of d USB flash disk effectively, indicate whether to carry out the USB flash disk guiding according to the user;
If e carries out the USB flash disk guiding, then the boot program loads on the USB flash disk is also carried out in the internal storage of central processing unit, enter step g then;
If f does not carry out the USB flash disk guiding, then enter step g;
G, indicate whether to upgrade or safeguard,, then the working procedure on the USB flash disk is covered the working procedure in the erasable nonvolatile memory, enter step j if upgrade or safeguard according to the user;
If h does not upgrade or safeguards, then enter step j;
If i does not have USB flash disk, or the guiding of USB flash disk is invalid, enters step j;
J, the working procedure in the erasable nonvolatile memory is loaded in the internal storage of central processing unit, and carries out.
Adopt above technical scheme, can reach following technique effect:
1, can carry out multiple different guidance mode channeling conduct to instrument.Can start from the storer guiding of instrument internal, also can start from the guiding of USB movable storage device.
If inside not Guared memory is damaged, system can select to allow system work normally from the USB movable storage device guidance system by the USBHost connection automatically.
2, can upgrade to the software systems of instrument at any time.
After system guides successfully from the USB movable storage device, another version software system on the USB movable storage device can be covered existing version software systems in the instrument.
3, can facilitate for instrument maintenance.
Different USB movable storage devices can be set different application permissions.Can obtain the authority of this memory device after the system start-up from the USB movable storage device, guiding, upgrading or maintenance service are opened according to the authority size by system like this.Combining cipher protection simultaneously increases the security of system.
Description of drawings
Fig. 1 is the apparatus structure synoptic diagram that the present invention is based on USB Host channeling conduct, upgrading and maintenance;
Fig. 2 is the process flow diagram that the present invention is based on the method for USB Host channeling conduct, upgrading and maintenance tool;
Fig. 3 is the particular circuit configurations figure that the present invention is based on the instrument of USB Host channeling conduct, upgrading and maintenance.
Embodiment
Please refer to shown in Figure 1, be an embodiment who the present invention is based on the apparatus structure synoptic diagram of USB Host channeling conduct, upgrading and maintenance, wherein user interface E and volatile storage F are dispensable, please refer to process flow diagram and Fig. 3 that Fig. 2 the present invention is based on the method for USB Host channeling conduct, upgrading and maintenance tool simultaneously, is the particular circuit configurations figure that the present invention is based on the instrument of USB Host channeling conduct, upgrading and maintenance.
The purpose of this invention is to provide a kind of instrument (being typically oscillograph) based on USB Host channeling conduct, upgrading and maintenance, this instrument comprises a read-only nonvolatile memory A who has stored boot, one central processing unit C, be connected with described read-only nonvolatile memory A, this instrument also comprises: a USB Host interface D, this USB Host interface D is connected with described central processing unit C.
This instrument also comprises the erasable nonvolatile memory B of this machine of storage working procedure, and this erasable nonvolatile memory B is connected with described central processing unit C.
Also comprise a user interface E in this instrument, this user interface E comprises that an input media and for user input instruction is shown to the display device of user prompt.
Also comprise the protected boot storer in this instrument, USB movable storage device F.The protected boot storer is being deposited basic boot, and USB Host drives and the memory device file management system; USB Host provides a kind of general high-speed data channel; Data or program file that the USB movable storage device is being deposited customer requirements guiding, upgrading or safeguarded.
The concrete course of work of the present invention is as follows:
After start powered on, central processing unit C was loaded into boot from read-only nonvolatile memory A in the internal storage and volatile storage (external memory storage) F of central processing unit C, and brings into operation;
Boot has judged whether that by USB Host interface D mobile memory F inserts, if the reading of data from mobile memory F is arranged, has judged whether the guiding demand;
Receive user's input and give user prompt by user interface E;
If normally start or do not have mobile memory guiding demand, from erasable nonvolatile memory B, the working procedure of this machine is loaded among central processing unit C and the volatile storage F and carries out;
If ROMPaq, D covers erasable nonvolatile memory B with the data in the mobile memory by USB Host interface;
If only be mobile memory guiding, the F in central processing unit C and the volatile storage of the data load in the mobile memory carried out by USB Host interface D; This part content can be very abundant.F is not essential parts in user interface E wherein and the volatile storage, can match according to demand.
Enumerate three embodiment below, describe the course of work that the present invention is based on USB Host channeling conduct, upgrading and maintenance respectively in detail:
Embodiment 1
Instrument meets with outage suddenly in software upgrade process, cause code or data imperfect, causes system to start or normally operation.The USB movable storage device that at this moment can use instrument to carry starts system's channeling conduct, and then carries out software upgrading.The trouble of having avoided going to the maintenance center like this or having returned factory's maintenance.The concrete course of work is:
Energized, from read-only non-volatile bootstrap memory with boot program loads in the internal storage of central processing unit, and carry out;
The mobile memory (USB flash disk) that stores boot is inserted on the USB Host;
Read the boot sector on the USB flash disk, judge guiding whether effectively (being effective) here;
The USB flash disk guiding effectively indicates whether to carry out the USB flash disk guiding according to the user;
The USB flash disk guiding is carried out in selection, and the boot program loads on the USB flash disk is also carried out in the internal storage of central processing unit;
Working procedure in the erasable nonvolatile memory is loaded in the internal storage of central processing unit, and carries out.
Embodiment 2
Instrument has different systematic parameters, and some is vital, has only the only a few talent to have the right to revise it.And the other parameter is open relatively, and common user may often need revise it.The user of different rights is equipped with different USB movable storage devices and disposes cryptoguard simultaneously like this.When the user need safeguard these parameters, after USB Host channeling conduct, input corresponding password, could obtain corresponding authority, operate accordingly.And the user also can revise password this moment.The concrete course of work is:
Energized, from read-only non-volatile bootstrap memory with boot program loads in the internal storage of central processing unit, and carry out;
The mobile memory (USB flash disk) that stores maintenance program is inserted on the USB Host;
Read the boot sector on the USB flash disk, judge whether guiding is effective;
If the USB flash disk guiding effectively, indicate whether to carry out the USB flash disk guiding according to the user;
If carry out the USB flash disk guiding, then the boot program loads on the USB flash disk is also carried out in the internal storage of central processing unit;
If do not carry out the USB flash disk guiding, then do not need the boot program loads on the USB flash disk in the internal storage of central processing unit;
Safeguard according to user indication, the working procedure on the USB flash disk is covered working procedure in the erasable nonvolatile memory;
Working procedure in the erasable nonvolatile memory is loaded in the internal storage of central processing unit, and carries out.
The USB flash disk here can have also tape bootstrap routine not of boot, can directly use the boot of instrument itself, and concrete condition will be selected according to actual needs.
Embodiment 3
Instrument many beta versions can occur on stream, only is the characteristic of interim beta version, does not wish that this version uses for a long time.This is that the running space that can directly beta version software be copied to software moves, and does not cover original version by after the USB Host guiding.After the stable testing, select upgrading again.Can guarantee transition reliably between beta version and the stable release like this.The concrete course of work is:
Energized, from read-only non-volatile bootstrap memory with boot program loads in the internal storage of central processing unit, and carry out;
The mobile memory (USB flash disk) that stores maintenance program is inserted on the USB Host;
Read the boot sector on the USB flash disk, judge whether guiding is effective;
If the USB flash disk guiding effectively, indicate whether to carry out the USB flash disk guiding according to the user;
If carry out the USB flash disk guiding, then the boot program loads on the USB flash disk is also carried out in the internal storage of central processing unit;
If do not carry out the USB flash disk guiding, then do not need the boot program loads on the USB flash disk in the internal storage of central processing unit;
Upgrade according to user indication, the working procedure on the USB flash disk is covered working procedure in the erasable nonvolatile memory;
Working procedure in the erasable nonvolatile memory is loaded in the internal storage of central processing unit, and carries out.
The USB flash disk here can have also tape bootstrap routine not of boot, can directly use the boot of instrument itself, and concrete condition will be selected according to actual needs.

Claims (8)

1. one kind based on USB Host guiding, upgrading and the instrument safeguarded, and it is characterized in that this instrument comprises: one has stored the read-only nonvolatile memory of boot;
One central processing unit, this central processing unit is connected with this read-only nonvolatile memory, and
One USB Host interface, this USB Host interface is connected with described central processing unit.
2. the instrument based on USB Host guiding, upgrading and maintenance as claimed in claim 1, it is characterized in that, this instrument also comprises the erasable nonvolatile memory that stores working procedure, and this erasable nonvolatile memory is connected with described central processing unit.
3. the instrument based on USB Host guiding, upgrading and maintenance as claimed in claim 1 or 2, it is characterized in that, this instrument also comprises a user interface, and this user interface comprises that an input media and for user input instruction is shown to the display device of user prompt.
4. method based on USB Host guiding, upgrading and maintenance tool may further comprise the steps:
A, energized, from read-only non-volatile bootstrap memory with boot program loads in the internal storage of central processing unit, and carry out;
B, judged whether that USB flash disk is inserted on the USB Host;
If c has USB flash disk, then read the boot sector on the USB flash disk, judge whether guiding is effective;
If the guiding of d USB flash disk effectively, indicate whether to carry out the USB flash disk guiding according to the user;
If e carries out the USB flash disk guiding, then the boot program loads on the USB flash disk is also carried out in the internal storage of central processing unit, enter step g then;
If f does not carry out the USB flash disk guiding, then enter step g;
G, indicate whether to upgrade or safeguard,, then the working procedure on the USB flash disk is covered the working procedure in the erasable nonvolatile memory, enter step j if upgrade or safeguard according to the user;
If h does not upgrade or safeguards, then enter step j;
If i does not have USB flash disk, or the guiding of USB flash disk is invalid, enters step j;
J, the working procedure in the erasable nonvolatile memory is loaded in the internal storage of central processing unit, and carries out.
5. method as claimed in claim 4 is characterized in that, comprises in the boot in this read-only nonvolatile memory: USB Host interface is to the driving of external memory storage, special-purpose or general file management system and basic boot.
6. method as claimed in claim 4 is characterized in that depositing on the outside movable storage device code data and the program file that is used for channeling conduct, upgrading and maintenance.
7. method as claimed in claim 4 is characterized in that, after determining to upgrade or safeguards by USB flash disk, also comprises by password identification limiting user right the step of execution corresponding operating.
8. method as claimed in claim 4, it is characterized in that, after determining to upgrade or safeguards by USB flash disk, the working procedure in the USB flash disk is copied to running space move test, stable testing covers the working procedure in the erasable nonvolatile memory afterwards again.
CNB2006101125758A 2006-08-23 2006-08-23 Device and method for guiding, updating and maintenance based on USB Host Active CN100456244C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006101125758A CN100456244C (en) 2006-08-23 2006-08-23 Device and method for guiding, updating and maintenance based on USB Host

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006101125758A CN100456244C (en) 2006-08-23 2006-08-23 Device and method for guiding, updating and maintenance based on USB Host

Publications (2)

Publication Number Publication Date
CN101131650A true CN101131650A (en) 2008-02-27
CN100456244C CN100456244C (en) 2009-01-28

Family

ID=39128925

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006101125758A Active CN100456244C (en) 2006-08-23 2006-08-23 Device and method for guiding, updating and maintenance based on USB Host

Country Status (1)

Country Link
CN (1) CN100456244C (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011017844A1 (en) * 2009-08-14 2011-02-17 东南大学 A method for realizing safely updating of application programs in chip layer
CN102111916A (en) * 2009-12-23 2011-06-29 英华达(南京)科技有限公司 Overhauling method and portable communication device using same
CN102169442A (en) * 2011-03-24 2011-08-31 杭州华三通信技术有限公司 Method, equipment, device and system for performing system boot by using USB (universal serial bus) device
CN102637133A (en) * 2012-03-12 2012-08-15 成都林海电子有限责任公司 Method for automatically updating terminating machines of (L, S) waveband satellite mobile communication systems
CN101604249B (en) * 2009-03-30 2013-01-23 华为技术有限公司 Method for loading non-volatile memory program, embedded system and control device
CN103365664A (en) * 2013-07-23 2013-10-23 苏州汉清计算机有限公司 Software running program for mobile storage equipment
CN103473204A (en) * 2013-09-13 2013-12-25 北京星网锐捷网络技术有限公司 USB (universal serial bus) equipment power supply processing method, equipment and system
CN108874696A (en) * 2017-12-29 2018-11-23 哈尔滨安天科技股份有限公司 Automatic test approach, device and the electronic equipment of more legal power safety storage equipment
CN109709937A (en) * 2018-12-28 2019-05-03 北京经纬恒润科技有限公司 Electronic control unit function configuration method, device and electronic control unit

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1362667A (en) * 2001-01-04 2002-08-07 财团法人资讯工业策进会 Embedded structure with software capable of being updated fast and its software updating method
JP2004030518A (en) * 2002-06-28 2004-01-29 Murata Mach Ltd Program data update method and data readout method of electronic device
EP1420560A1 (en) * 2002-11-13 2004-05-19 Thomson Multimedia Broadband Belgium Software upgrade over a USB connection
CN1261893C (en) * 2003-01-14 2006-06-28 联想(北京)有限公司 Method of renewing operating system of embedded equipment
CN1752932A (en) * 2005-11-01 2006-03-29 杭州华为三康技术有限公司 Communication equipment upgrading control system and method

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101604249B (en) * 2009-03-30 2013-01-23 华为技术有限公司 Method for loading non-volatile memory program, embedded system and control device
WO2011017844A1 (en) * 2009-08-14 2011-02-17 东南大学 A method for realizing safely updating of application programs in chip layer
CN102111916A (en) * 2009-12-23 2011-06-29 英华达(南京)科技有限公司 Overhauling method and portable communication device using same
CN102169442A (en) * 2011-03-24 2011-08-31 杭州华三通信技术有限公司 Method, equipment, device and system for performing system boot by using USB (universal serial bus) device
CN102169442B (en) * 2011-03-24 2014-09-10 杭州华三通信技术有限公司 Method, equipment, device and system for performing system boot by using USB (universal serial bus) device
CN102637133B (en) * 2012-03-12 2015-06-17 成都林海电子有限责任公司 Method for automatically updating terminating machines of (L, S) waveband satellite mobile communication systems
CN102637133A (en) * 2012-03-12 2012-08-15 成都林海电子有限责任公司 Method for automatically updating terminating machines of (L, S) waveband satellite mobile communication systems
CN103365664A (en) * 2013-07-23 2013-10-23 苏州汉清计算机有限公司 Software running program for mobile storage equipment
CN103473204A (en) * 2013-09-13 2013-12-25 北京星网锐捷网络技术有限公司 USB (universal serial bus) equipment power supply processing method, equipment and system
CN108874696A (en) * 2017-12-29 2018-11-23 哈尔滨安天科技股份有限公司 Automatic test approach, device and the electronic equipment of more legal power safety storage equipment
CN108874696B (en) * 2017-12-29 2022-09-30 安天科技集团股份有限公司 Automatic testing method and device for multi-authority safety storage equipment and electronic equipment
CN109709937A (en) * 2018-12-28 2019-05-03 北京经纬恒润科技有限公司 Electronic control unit function configuration method, device and electronic control unit
CN109709937B (en) * 2018-12-28 2020-12-01 北京经纬恒润科技有限公司 Electronic control unit function configuration method and device and electronic control unit

Also Published As

Publication number Publication date
CN100456244C (en) 2009-01-28

Similar Documents

Publication Publication Date Title
CN100456244C (en) Device and method for guiding, updating and maintenance based on USB Host
CN104850762B (en) Prevent the undesirable method of the movement of computer, computer program and computer
EP0489227B1 (en) Data storage system having removable media and equipped to download a control program from the removable media
CN101334825B (en) Application program management and operation system and method
CN100389395C (en) Memory dump program boot method and mechanism, and computer-readable storage medium
US20060288341A1 (en) Patch-impact assessment through runtime insertion of code path instrumentation
CN109624529B (en) Consumable chip and consumable chip communication method
US20070038801A1 (en) Control circuit, electronic device using the same, and firmware update method
CN104572387A (en) Method and device for debugging terminal in engineering mode
JP2015222474A (en) Method, computer program and computer for repairing variable set
CN108319520A (en) Mobile device alternate operating system based on secure storage
CN103136002A (en) Automatic upgrade control method based on UBoot instruction and system
CN102722394A (en) Start upgrading method of embedded equipment
CN103677862A (en) Upgrading method and device of EPLD program
US7478207B2 (en) Control system with a write filter for protection of data
CN101639877B (en) Electronic device and method for updating basic input and output system thereof
CN103995717A (en) Method for upgrading software in embedded device
CN104834526A (en) Manufacturing method for motion control card driver installation package
JP2007122772A (en) Information processor and method and program for storing data
CN114115724A (en) Solid state disk safe erasing method and device
TWI530954B (en) Apparatuses for securing software code stored in a non-volatile memory
US20090259835A1 (en) System and method for tracking and recording system configurations of electronic devices
US6772364B1 (en) Fault tolerant field updating with alternation of memory areas
CN100426748C (en) Method for checking soundness of allocation parameter
CN100410893C (en) Method and apparatus for master-controlled applied programm of self-repairing built-in equipment

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
ASS Succession or assignment of patent right

Free format text: FORMER OWNER: WANG TIEJUN LI WEISEN

Owner name: BEIJING RIGOL TECHNOLOGIES, INC.

Free format text: FORMER OWNER: WANG YUE

Effective date: 20110511

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20110511

Address after: 102206 Beijing City, Shahe Town, step on the river village, No. 156

Patentee after: Beijing Rigol Technologies, Inc.

Address before: 102206 Beijing City, Shahe Town, step on the river village, No. 156

Co-patentee before: Wang Tiejun

Patentee before: Wang Yue

Co-patentee before: Li Weisen