CN103838591A - Upgrading method and device of multiple single-chip microcomputers based on serial buses - Google Patents

Upgrading method and device of multiple single-chip microcomputers based on serial buses Download PDF

Info

Publication number
CN103838591A
CN103838591A CN201210473844.9A CN201210473844A CN103838591A CN 103838591 A CN103838591 A CN 103838591A CN 201210473844 A CN201210473844 A CN 201210473844A CN 103838591 A CN103838591 A CN 103838591A
Authority
CN
China
Prior art keywords
chip microcomputer
upgrading
equipment
serial bus
universal serial
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
CN201210473844.9A
Other languages
Chinese (zh)
Other versions
CN103838591B (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.)
Haier Group Corp
Qingdao Haier Intelligent Home Appliance Technology Co Ltd
Original Assignee
Haier Group Corp
Qingdao Haier Intelligent Home Appliance Technology 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 Haier Group Corp, Qingdao Haier Intelligent Home Appliance Technology Co Ltd filed Critical Haier Group Corp
Priority to CN201210473844.9A priority Critical patent/CN103838591B/en
Publication of CN103838591A publication Critical patent/CN103838591A/en
Application granted granted Critical
Publication of CN103838591B publication Critical patent/CN103838591B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides an upgrading method and device of multiple single-chip microcomputers based on serial buses, and belongs to the technical field of on-line grading of the single-chip microcomputers. The method comprises the steps that a main device is connected with single-chip microcomputer auxiliary devices through the series buses; the main device sends an upgrading instruction of single-chip microcomputer auxiliary devices needing to be upgraded to the single-chip microcomputer auxiliary devices; the single-chip microcomputer auxiliary devices needing to be upgraded send a password verification requirement instruction to the main device; the main device sends a response password to the single-chip microcomputer auxiliary devices needing to be upgraded; the single-chip microcomputer auxiliary devices needing to be upgraded verify the response password; the main device sends an upgrading program to the single-chip microcomputer auxiliary devices needing to be upgraded; the single-chip microcomputer auxiliary devices needing to be upgraded receive the upgrading program and are upgraded. The upgrading method and device overcome the shortcoming that different application programs are manually ungraded for multiple single-chip microcomputer intelligent devices one by one, a main single-chip microcomputer is not required in the upgrading process, hardware complexity is reduced, a password verification program is added in the upgrading part, and safety protection of the single-chip microcomputers is achieved.

Description

A kind of multiple single chip microcomputer upgrade method and device based on universal serial bus
Technical field
The present invention relates to single-chip microcomputer online upgrading technical field, relate in particular to a kind of multiple single chip microcomputer upgrade method and device based on universal serial bus.
Background technology
Electronic intelligence equipment take single-chip microcomputer as main design is more and more widely used in wired home at present, and single-chip microcomputer is mainly realized various smart machine functions by moving the application program of its storage inside.In smart machine, singlechip application programs is generally carried out programming before dispatching from the factory, and program has arrived in user's hand and can not again change.Buy and use in smart machine user, conventionally producer also will upgrade and safeguard product, to revise in smart machine the existing defect of singlechip application programs or need to increase new function to smart machine, therefore need wired home user to carry out online upgrading to singlechip application programs.
Existing Single Chip Microcomputer (SCM) program online upgrading technology has the shortcoming that versatility is poor, technical risk is high conventionally, and wired home user is in the time upgrading to the multiple Single Chip Microcomputer (SCM) program in many equipment, can only carry out by hand one by one.Publication date is that the Chinese patent " a kind of methods of multiple Single Chip Microcomputer (SCM) program of upgrading " on March 17th, 2010 has proposed a kind of technology of multiple single-chip microcomputers being carried out to program on-line upgrading, this technology has realized the upgrade maintenance to single single-chip microcomputer or multiple single-chip microcomputers, utilizes serial port connecting wire between host scm and outer computer that ROMPaq is downloaded to host scm or each is from single-chip microcomputer.But this technology has certain limitation, and concrete manifestation is as follows:
1, upgrading to as if a smart machine in multiple single-chip microcomputers, multiple smart machines can not disposablely be upgraded;
2, in smart machine, must there is host scm;
3, while upgrading, do not carry out safety verification.
Summary of the invention
The invention provides a kind of multiple single chip microcomputer online upgrading method and device, to overcome, the versatility that prior art exists is poor, technical risk is high, can only in the time that multiple smart machines are upgraded different application programs, upgrading, there is no by hand one by one the shortcoming of safety verification, and when upgrading, do not need host scm, reduced hardware complexity.
For reaching this object, the present invention by the following technical solutions:
A multiple single chip microcomputer upgrade method based on universal serial bus, main equipment and each single-chip microcomputer are from adopting universal serial bus interconnection between equipment, and described method comprises:
Step 1: described main equipment sends to described each single-chip microcomputer from equipment needs the single-chip microcomputer of upgrading from device upgrade order;
Step 2: need the single-chip microcomputer of upgrading to send updating apparatus identification information from equipment to described main equipment, and require described main equipment to carry out password authentification;
Step 3: described main equipment sends corresponding reply code to the described single-chip microcomputer that needs upgrading from equipment;
Step 4: the described single-chip microcomputer of upgrading that needs, from reply code described in device authentication, if described reply code is correct, sends and allows upgrading order to described main equipment;
Step 5: described main equipment sends corresponding ROMPaq to the described single-chip microcomputer that needs upgrading from equipment;
Step 6: the described single-chip microcomputer that need to upgrade receives described ROMPaq from equipment and completes upgrading.
Further, before described step 2, also comprise: whether described each single-chip microcomputer this time needs upgrading from equipment according to described upgrading command determination the machine, do not need the single-chip microcomputer of upgrading not carry out this time upgrading from equipment, continue to wait for the upgrading order from described universal serial bus next time.
Further, described step 3 specifically comprises:
The single-chip microcomputer that described main equipment is upgraded according to described updating apparatus identification information, the default needs of described main equipment, from device password, generates the described single-chip microcomputer of upgrading that needs from the reply code of equipment;
Described main equipment sends described reply code to the described single-chip microcomputer that needs upgrading from equipment.
Further, described main equipment sends corresponding reply code to the described single-chip microcomputer that needs upgrading from equipment, specifically comprises:
The single-chip microcomputer that described main equipment is upgraded according to described updating apparatus identification information, the default needs of described main equipment, from device password, generates the described single-chip microcomputer of upgrading that needs from the reply code of equipment;
Described main equipment sends described reply code to the described single-chip microcomputer that needs upgrading from equipment.
Further, the described single-chip microcomputer that needs upgrading comprises from reply code described in device authentication:
The described single-chip microcomputer that needs upgrading receives described reply code from equipment, according to described updating apparatus identification information with the described single-chip microcomputer of upgrading that needs from the machine password of device storage, generation authentication password;
Whether the described single-chip microcomputer of upgrading that needs is consistent with described reply code from authentication password described in comparison in equipment; If described authentication password and described reply code are inconsistent, described reply code mistake, the described single-chip microcomputer of upgrading that needs, from this time upgrading of device end, continues to wait for the upgrading order from described universal serial bus next time; If described authentication password is consistent with described reply code, described reply code is correct.
Further, the single-chip microcomputer that described main equipment is upgraded to described needs sends corresponding ROMPaq from equipment and comprises:
Described main equipment selects the described single-chip microcomputer of upgrading that needs from the ROMPaq of equipment according to described updating apparatus identification information;
Described main equipment sends described ROMPaq to the described single-chip microcomputer that needs upgrading from equipment.
The present invention also provides a kind of multiple single chip microcomputer update device based on universal serial bus, and described device comprises: main equipment, each single-chip microcomputer are from equipment, universal serial bus, and described main equipment and described each single-chip microcomputer adopt described universal serial bus interconnection from equipment room;
Described main equipment comprises: main command transmitting element, password generation unit, procedure Selection unit; Described each single-chip microcomputer comprises from equipment: from command sending unit, password authentification unit, upgrading unit;
Described main command transmitting element, for sending and need the single-chip microcomputer of upgrading from device upgrade order to described universal serial bus;
Described from command sending unit, for sending updating apparatus identification information to described universal serial bus and requiring described main equipment to carry out password authentification order;
Described password generation unit, for generating the single-chip microcomputer of upgrading with described needs from the corresponding reply code of equipment, sends described reply code to described universal serial bus;
Described password authentification unit, for receiving and verifying the described reply code from described universal serial bus, if described reply code is correct, sends and allows upgrading order to described universal serial bus;
Described procedure Selection unit, for receiving the permission upgrading order from described universal serial bus, selection from the corresponding ROMPaq of equipment, sends described ROMPaq to described universal serial bus with the described single-chip microcomputer of upgrading that needs;
Described upgrading unit, for receiving the described ROMPaq from described universal serial bus, completes the upgrading from equipment to this single-chip microcomputer.
Further, described each single-chip microcomputer also comprises judging unit from equipment, for receiving the described upgrading order of described main command transmitting element, judge whether this single-chip microcomputer this time needs upgrading from equipment, do not need the single-chip microcomputer of upgrading not carry out this time upgrading from equipment, continue to wait for the upgrading order from described universal serial bus next time.
Further, described password generation unit comprises from the corresponding reply code of equipment for generating with the described single-chip microcomputer that needs upgrading:
Described password generation unit receives described updating apparatus identification information, and by the single-chip microcomputer of needs upgrading default to itself and described password generation unit from device password combined treatment, generate corresponding reply code.
Further, described password authentification unit comprises for receiving and verifying from the described reply code of described universal serial bus:
Described password authentification unit receives described reply code, according to the machine password of described updating apparatus identification information and described password authentification unit storage, generates authentication password;
If described authentication password and described reply code are inconsistent, described reply code mistake, the described single-chip microcomputer of upgrading that needs, from this time upgrading of device end, continues to wait for the upgrading order from described universal serial bus next time; If described authentication password is consistent with described reply code, described reply code is correct.
Further, described procedure Selection unit is selected to comprise from the corresponding ROMPaq of equipment with the described single-chip microcomputer that needs upgrading: described procedure Selection unit, according to described updating apparatus identification information, selects the described single-chip microcomputer of upgrading that needs from the ROMPaq of equipment.
Technical scheme of the present invention adopts multiple single chip microcomputer to share universal serial bus, serves as main equipment by gadget, and multiple single-chip microcomputers are upgraded from equipment, and escalation process also comprises that single-chip microcomputer carries out password authentification from equipment to main equipment.The technical scheme that the present invention proposes can disposablely be upgraded to multiple equipment, is not limited to an equipment, and has overcome existing Single Chip Microcomputer (SCM) program online upgrading technology and conventionally have the shortcoming that versatility is poor, technical risk is high.Compared with prior art, the benefit of technical solution of the present invention comprises:
1, add proving program in upgrading part, whether legal to verify this upgrading, whether allow upgrading, realize the security protection to single-chip microcomputer;
2, adopt multiple single chip microcomputer to share universal serial bus, escalation process does not need host scm, reduced hardware complexity, and having overcome can only be one by one be the upgrade shortcoming of different application programs of multiple smart machines by hand.
Accompanying drawing explanation
Fig. 1 is a kind of multiple single chip microcomputer upgrade method process flow diagram based on universal serial bus that the specific embodiment of the invention one provides;
Fig. 2 is a kind of multiple single chip microcomputer update device schematic diagram based on universal serial bus that the specific embodiment of the invention two provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
The present invention realizes multiple equipment is carried out to program upgrade, and in each equipment, only comprises the Single Chip Microcomputer (SCM) program of a needs upgrading, and multiple equipment rooms adopt universal serial bus to connect.Universal serial bus can be selected 422 buses, 485 buses.422 buses adopt full-duplex mode, are a kind of point-to-multipoint connections, and 485 buses adopt half-duplex operation, are a kind of how point-to-multipoint connections, and in various embodiments of the present invention, universal serial bus adopts 485 buses.Upgrading scheme adopts master-slave mode, needs each single-chip microcomputer of upgrading to be from equipment.In the time that needs are upgraded, on using the equipment interconnection that has a ROMPaq to universal serial bus as main equipment, main equipment can be the various devices such as PC, server, mobile phone, and various embodiments of the present invention main equipment is selected a PC, and this equipment turns 485 interfaces by USB and is connected in 485 buses.
Embodiment mono-
Referring to Fig. 1, show a kind of multiple single chip microcomputer upgrade method based on universal serial bus, main equipment PC is as follows to the upgrade method concrete steps from equipment 1:
Step 101:PC machine by universal serial bus to respectively sending from equipment 1 upgrading order from equipment;
Step 102: respectively from equipment according to receive from equipment 1 upgrading order, whether judgement is own this time upgrades, and is judged to be to be from equipment 1, execution step 103, other is judged as NO from equipment, does not carry out this time upgrading, continues to wait for the upgrading order that PC sends next time;
Step 103: send the machine updating apparatus identification information password authentification order from equipment 1 to PC, and require PC to carry out password authentification, wherein updating apparatus identification information can adopt device type, program version number and challenge code, device type is for PC identification from equipment to single-chip microcomputer, program version number be used to PC select with single-chip microcomputer from ROMPaq corresponding to equipment, challenge code be used for the password authentification from equipment to single-chip microcomputer;
Step 104:PC machine is processed the updating apparatus identification information from equipment 1, generate reply code, to sending reply code from equipment 1, reply code is by the device type in updating apparatus identification information and challenge code, default the obtaining from equipment 1 password combination processing of PC, and array mode is device type+challenge code+from equipment 1 password;
Step 105: generate authentication password from equipment 1, whether comparatively validate password is consistent with reply code, if consistent, reply code is correct, and password authentification is passed through, execution step 107, otherwise password authentification failure, execution step 106, wherein authentication password is generated by the challenge code in the machine updating apparatus identification information, device type and the machine password combination of storing from equipment 1, and array mode is device type+challenge code+the machine password;
Step 106:PC machine, to upgrading unsuccessfully from this of equipment 1, finishes this time upgrading, continues to wait for the upgrading order that PC sends next time;
Step 107: send from equipment 1 to PC and allow upgrading order;
Step 108:PC machine basis is from the updating apparatus identification information of equipment 1 to sending corresponding ROMPaq from equipment 1, wherein the selection of ROMPaq is according to the device type of updating apparatus identification information and program version number, from each single-chip microcomputer of PC storage from device upgrade program, select with from ROMPaq corresponding to equipment 1.
Step 109: upgrade from equipment 1, the instruction of having upgraded to PC transmission from equipment 1.
PC is the upgrade method from equipment to other single-chip microcomputer, and to similar from the upgrade method of equipment 1, repeats no more here.
The present embodiment has been realized and disposable multiple equipment having been upgraded; without manual be one by one multiple smart machines different application program of upgrading; in escalation process, add password authentification program; whether legal to verify this upgrading; whether permission is upgraded; realize the security protection to single-chip microcomputer; overcome existing Single Chip Microcomputer (SCM) program online upgrading technology and conventionally there is the shortcoming that versatility is poor, technical risk is high; and do not need to utilize host scm to upgrade to other single-chip microcomputer, reduced hardware complexity.
Embodiment bis-
Referring to Fig. 2, a kind of multiple single chip microcomputer update device schematic diagram based on universal serial bus.This device comprises: main equipment, respectively from equipment, universal serial bus.Be respectively from equipment 1, from equipment 2 from equipment ... from equipment N.Main equipment and each single-chip microcomputer adopt universal serial bus interconnection from equipment room.
Main equipment comprises: main command transmitting element 11, password generation unit 12, procedure Selection unit 13; Described each single-chip microcomputer, from equipment, take from equipment 1 as example, comprising: from command sending unit 21, password authentification unit 22, upgrading unit 23;
Main equipment PC is when upgrading from equipment 1, and the each cell operation in device is as follows:
1, main command transmitting element 11, for sending to universal serial bus from equipment 1 upgrading order.
2, from command sending unit 21, for sending the machine updating apparatus identification information to universal serial bus and requiring PC to carry out password authentification order.
3, password generation unit 12, for generating and from the corresponding reply code of equipment 1, sending reply code to universal serial bus.
4, password authentification unit 22, for receiving and verify the reply code from universal serial bus.Its proof procedure is: first password authentification unit 22 generates authentication password, then whether comparatively validate password is consistent with reply code, if authentication password is consistent with reply code, reply code is correct, send and allow upgrading order to universal serial bus, if authentication password and reply code are inconsistent, reply code mistake, finish this time upgrading from equipment 1, continue to wait for the upgrading order from universal serial bus next time.
5, procedure Selection unit 13, for receiving the permission upgrading order from universal serial bus, selects and from the corresponding ROMPaq of equipment 1, sends ROMPaq to universal serial bus;
6, described upgrading unit 23, for receiving the ROMPaq from universal serial bus, completes the upgrading from equipment 1 to this single-chip microcomputer.
7, also comprise judging unit 24 from equipment 1, for receiving the upgrading order of main command transmitting element 11, judge whether the machine this time needs upgrading, do not need the single-chip microcomputer of upgrading not carry out this time upgrading from equipment, continue to wait for the upgrading order from described universal serial bus next time.At PC when upgrading from equipment 1, except other the each single-chip microcomputer from equipment 1 continues to wait for the upgrading order from described universal serial bus next time from equipment.
Above-mentioned updating apparatus identification information preferably adopts device type, program version number and challenge code.Wherein device type is for PC identification from equipment to single-chip microcomputer, and program version number is used to PC to select with single-chip microcomputer from ROMPaq corresponding to equipment, and challenge code is used for the password authentification from equipment to single-chip microcomputer.
The corresponding reply code of password generation unit 12 is by device type, challenge code in the updating apparatus identification information receiving, with default the obtaining from equipment 1 password combination processing of password generation unit 12, array mode is device type+challenge code+from equipment 1 password.
The authentication password of password authentification unit 22 is according to device type, challenge code in updating apparatus identification information, and the machine password combination processing of storing with password authentification unit 22 obtains, and array mode is device type+challenge code+the machine password.
Procedure Selection unit 13 is according to the device type of updating apparatus identification information and program version number selecting when from equipment 1 corresponding ROMPaq, from each single-chip microcomputer of PC storage from device upgrade program, selection with from ROMPaq corresponding to equipment 1.
In this device, PC is escalation process from equipment to other,, repeats no more here similar from the escalation process of equipment 1 with PC.
The multiple single chip microcomputer update device based on universal serial bus that the present embodiment provides is compared with common update device; password generation unit 12, password authentification unit 22 are increased; whether legal to verify this upgrading; whether permission is upgraded; realize the security protection to single-chip microcomputer; and multiple single chip microcomputer is shared universal serial bus; escalation process does not need host scm; reduce hardware complexity; realized and can disposable multiple equipment have been upgraded, without manual be one by one multiple smart machines different application program of upgrading.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can carry out the hardware that instruction is relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. the multiple single chip microcomputer upgrade method based on universal serial bus, main equipment and each single-chip microcomputer, from adopting universal serial bus interconnection between equipment, is characterized in that, described method comprises:
Step 1: described main equipment sends to described each single-chip microcomputer from equipment needs the single-chip microcomputer of upgrading from device upgrade order;
Step 2: need the single-chip microcomputer of upgrading to send updating apparatus identification information from equipment to described main equipment, and require described main equipment to carry out password authentification;
Step 3: described main equipment sends corresponding reply code to the described single-chip microcomputer that needs upgrading from equipment;
Step 4: the described single-chip microcomputer of upgrading that needs, from reply code described in device authentication, if described reply code is correct, sends and allows upgrading order to described main equipment;
Step 5: described main equipment sends corresponding ROMPaq to the described single-chip microcomputer that needs upgrading from equipment;
Step 6: the described single-chip microcomputer that need to upgrade receives described ROMPaq from equipment and completes upgrading.
2. the multiple single chip microcomputer upgrade method based on universal serial bus according to claim 1, it is characterized in that, before described step 2, also comprise: whether described each single-chip microcomputer this time needs upgrading from equipment according to described upgrading command determination the machine, do not need the single-chip microcomputer of upgrading not carry out this time upgrading from equipment, continue to wait for the upgrading order from described universal serial bus next time.
3. the multiple single chip microcomputer upgrade method based on universal serial bus according to claim 1, is characterized in that, described step 3 specifically comprises:
The single-chip microcomputer that described main equipment is upgraded according to described updating apparatus identification information, the default needs of described main equipment, from device password, generates the described single-chip microcomputer of upgrading that needs from the reply code of equipment;
Described main equipment sends described reply code to the described single-chip microcomputer that needs upgrading from equipment.
4. the multiple single chip microcomputer upgrade method based on universal serial bus according to claim 1, is characterized in that, the described single-chip microcomputer that needs upgrading comprises from reply code described in device authentication:
The described single-chip microcomputer that needs upgrading receives described reply code from equipment, according to described updating apparatus identification information with the described single-chip microcomputer of upgrading that needs from the machine password of device storage, generation authentication password;
Whether the described single-chip microcomputer of upgrading that needs is consistent with described reply code from authentication password described in comparison in equipment; If described authentication password and described reply code are inconsistent, described reply code mistake, the described single-chip microcomputer of upgrading that needs, from this time upgrading of device end, continues to wait for the upgrading order from described universal serial bus next time; If described authentication password is consistent with described reply code, described reply code is correct.
5. the multiple single chip microcomputer upgrade method based on universal serial bus according to claim 1, is characterized in that, described main equipment sends corresponding ROMPaq to the described single-chip microcomputer that need to upgrade from equipment and comprises:
Described main equipment selects the described single-chip microcomputer of upgrading that needs from the ROMPaq of equipment according to described updating apparatus identification information;
Described main equipment sends described ROMPaq to the described single-chip microcomputer that needs upgrading from equipment.
6. the multiple single chip microcomputer update device based on universal serial bus, is characterized in that,
Described device comprises: main equipment, each single-chip microcomputer are from equipment, universal serial bus, and described main equipment and described each single-chip microcomputer adopt described universal serial bus interconnection from equipment room;
Described main equipment comprises: main command transmitting element, password generation unit, procedure Selection unit; Described each single-chip microcomputer comprises from equipment: from command sending unit, password authentification unit, upgrading unit;
Described main command transmitting element, for sending and need the single-chip microcomputer of upgrading from device upgrade order to described universal serial bus;
Described from command sending unit, for sending updating apparatus identification information to described universal serial bus and requiring described main equipment to carry out password authentification order;
Described password generation unit, for generating the single-chip microcomputer of upgrading with described needs from the corresponding reply code of equipment, sends described reply code to described universal serial bus;
Described password authentification unit, for receiving and verifying the described reply code from described universal serial bus, if described reply code is correct, sends and allows upgrading order to described universal serial bus;
Described procedure Selection unit, for receiving the permission upgrading order from described universal serial bus, selection from the corresponding ROMPaq of equipment, sends described ROMPaq to described universal serial bus with the described single-chip microcomputer of upgrading that needs;
Described upgrading unit, for receiving the described ROMPaq from described universal serial bus, completes the upgrading from equipment to this single-chip microcomputer.
7. a kind of multiple single chip microcomputer update device based on universal serial bus according to claim 6, it is characterized in that, described each single-chip microcomputer also comprises judging unit from equipment, for receiving the described upgrading order of described main command transmitting element, judge whether this single-chip microcomputer this time needs upgrading from equipment, do not need the single-chip microcomputer of upgrading not carry out this time upgrading from equipment, continue to wait for the upgrading order from described universal serial bus next time.
8. the multiple single chip microcomputer update device based on universal serial bus according to claim 6, is characterized in that, described password generation unit comprises from the corresponding reply code of equipment for generating with the described single-chip microcomputer that needs upgrading:
Described password generation unit receives described updating apparatus identification information, and by the single-chip microcomputer of needs upgrading default to itself and described password generation unit from device password combined treatment, generate corresponding reply code.
9. the multiple single chip microcomputer update device based on universal serial bus according to claim 6, is characterized in that, described password authentification unit comprises for receiving and verifying from the described reply code of described universal serial bus:
Described password authentification unit receives described reply code, according to the machine password of described updating apparatus identification information and described password authentification unit storage, generates authentication password;
If described authentication password and described reply code are inconsistent, described reply code mistake, the described single-chip microcomputer of upgrading that needs, from this time upgrading of device end, continues to wait for the upgrading order from described universal serial bus next time; If described authentication password is consistent with described reply code, described reply code is correct.
10. the multiple single chip microcomputer update device based on universal serial bus according to claim 6, it is characterized in that, described procedure Selection unit is selected to comprise from the corresponding ROMPaq of equipment with the described single-chip microcomputer that needs upgrading: described procedure Selection unit, according to described updating apparatus identification information, selects the described single-chip microcomputer of upgrading that needs from the ROMPaq of equipment.
CN201210473844.9A 2012-11-20 2012-11-20 A kind of multiple single chip microcomputer upgrade method and device based on universal serial bus Active CN103838591B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210473844.9A CN103838591B (en) 2012-11-20 2012-11-20 A kind of multiple single chip microcomputer upgrade method and device based on universal serial bus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210473844.9A CN103838591B (en) 2012-11-20 2012-11-20 A kind of multiple single chip microcomputer upgrade method and device based on universal serial bus

Publications (2)

Publication Number Publication Date
CN103838591A true CN103838591A (en) 2014-06-04
CN103838591B CN103838591B (en) 2018-08-28

Family

ID=50802127

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210473844.9A Active CN103838591B (en) 2012-11-20 2012-11-20 A kind of multiple single chip microcomputer upgrade method and device based on universal serial bus

Country Status (1)

Country Link
CN (1) CN103838591B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105005486A (en) * 2015-06-25 2015-10-28 许继集团有限公司 Program online upgrading system and method for intelligent transformer substation equipment
CN106020869A (en) * 2016-05-09 2016-10-12 广州康盛生物科技有限公司 Method for selective burning of programs of multiple single-chip microcomputer nodes based on CAN (Controller Area Network) bus
CN107092508A (en) * 2017-04-18 2017-08-25 广州市升龙灯光设备有限公司 A kind of stage lamp upgrade method, device and system based on mobile phone app
CN108334373A (en) * 2017-10-16 2018-07-27 深圳市路畅科技股份有限公司 A kind of method and system of more MCU upgradings
CN108415721A (en) * 2018-03-20 2018-08-17 山东比特智能科技股份有限公司 A kind of node device programme upgrade method and relevant apparatus
CN112583766A (en) * 2019-09-29 2021-03-30 富士施乐实业发展(中国)有限公司 Remote interaction method, device and system for security information
CN112732299A (en) * 2021-01-04 2021-04-30 北京无线电测量研究所 Method and system for updating program on line
CN114281392A (en) * 2022-03-04 2022-04-05 季华实验室 Serial port upgrading method and system for multi-MCU slave station

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1804799A (en) * 2005-01-12 2006-07-19 华为技术有限公司 SCM online loading and updating method and system
CN101330399A (en) * 2007-06-19 2008-12-24 上海风格信息技术有限公司 Method for upgrading built-in equipment
CN101621411A (en) * 2009-07-22 2010-01-06 中兴通讯股份有限公司 Method and system for remotely updating microcontrollers
CN101673209A (en) * 2009-10-28 2010-03-17 广东威创视讯科技股份有限公司 Method for updating program of multiple single chip microcomputers
CN101699398A (en) * 2009-10-27 2010-04-28 中兴通讯股份有限公司 RFID active tag, method for upgrading software thereof and system for upgrading software thereof
CN102298526A (en) * 2011-06-08 2011-12-28 厦门雅迅网络股份有限公司 Mechanism for upgrading programs of peripheral equipment based on single chips without external extended memories

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1804799A (en) * 2005-01-12 2006-07-19 华为技术有限公司 SCM online loading and updating method and system
CN101330399A (en) * 2007-06-19 2008-12-24 上海风格信息技术有限公司 Method for upgrading built-in equipment
CN101621411A (en) * 2009-07-22 2010-01-06 中兴通讯股份有限公司 Method and system for remotely updating microcontrollers
CN101699398A (en) * 2009-10-27 2010-04-28 中兴通讯股份有限公司 RFID active tag, method for upgrading software thereof and system for upgrading software thereof
CN101673209A (en) * 2009-10-28 2010-03-17 广东威创视讯科技股份有限公司 Method for updating program of multiple single chip microcomputers
CN102298526A (en) * 2011-06-08 2011-12-28 厦门雅迅网络股份有限公司 Mechanism for upgrading programs of peripheral equipment based on single chips without external extended memories

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105005486A (en) * 2015-06-25 2015-10-28 许继集团有限公司 Program online upgrading system and method for intelligent transformer substation equipment
CN105005486B (en) * 2015-06-25 2018-11-09 许继集团有限公司 A kind of smart substation equipment program on-line upgrading method
CN106020869A (en) * 2016-05-09 2016-10-12 广州康盛生物科技有限公司 Method for selective burning of programs of multiple single-chip microcomputer nodes based on CAN (Controller Area Network) bus
CN106020869B (en) * 2016-05-09 2019-05-31 广州康盛生物科技有限公司 The method of the CAN bus based multiple single-chip microcontroller node procedures of selectively burning
CN107092508A (en) * 2017-04-18 2017-08-25 广州市升龙灯光设备有限公司 A kind of stage lamp upgrade method, device and system based on mobile phone app
CN108334373A (en) * 2017-10-16 2018-07-27 深圳市路畅科技股份有限公司 A kind of method and system of more MCU upgradings
CN108415721A (en) * 2018-03-20 2018-08-17 山东比特智能科技股份有限公司 A kind of node device programme upgrade method and relevant apparatus
CN112583766A (en) * 2019-09-29 2021-03-30 富士施乐实业发展(中国)有限公司 Remote interaction method, device and system for security information
CN112732299A (en) * 2021-01-04 2021-04-30 北京无线电测量研究所 Method and system for updating program on line
CN114281392A (en) * 2022-03-04 2022-04-05 季华实验室 Serial port upgrading method and system for multi-MCU slave station

Also Published As

Publication number Publication date
CN103838591B (en) 2018-08-28

Similar Documents

Publication Publication Date Title
CN103838591A (en) Upgrading method and device of multiple single-chip microcomputers based on serial buses
CN111562933B (en) Air conditioner upgrading method and air conditioner system
JP2004135351A (en) Random number generating home network system and its control method
CN105629786B (en) A kind of household appliance control instruction sending method and device
US20080301771A1 (en) Electronic device, application authentication method, application execution system, and computer readable medium containing executable program instruction
US9832303B2 (en) User interface device
CN106204003B (en) Method, device and system for safely transferring virtual resources
CN109286654A (en) Remote equipment debugging system and method based on serial ports
CN104796897A (en) WIFI authentication mechanism and algorithm based on handheld device APP
CN110083375A (en) A kind of equipment room interaction carries out the method and device of OTA upgrading
CN103427989A (en) Data encryption and identity authentication method oriented in environment of internet of things
US20130074047A1 (en) Method for operating a household appliance and household appliance intended for use in such a method
JP7080982B2 (en) Methods and systems for controlling the operation of medical devices in a medical system
KR101211900B1 (en) System for Electronic Signature based on Wireless Terminal
CN108958779A (en) Firmware upgrade management method, device and computer readable storage medium
CN105162605A (en) Digital signature and authentication method
CN107515757A (en) Software program upgrade method and system, terminal
US10095209B2 (en) Programming system for device control
CN104573567A (en) Chip programming encryption protecting method and system
CN101197959B (en) Terminal control method, system and equipment
CN104111845A (en) Processing device and system program changing method
CN110537171B (en) Test device and method for testing device driver software
CN109800565A (en) Method for upgrading software and terminal device
JP2017054428A (en) Communication adapter, communication method and program
CN115373279A (en) Control method and system of household appliance, electronic device and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant