CN102662697A - Software upgrading method and device - Google Patents

Software upgrading method and device Download PDF

Info

Publication number
CN102662697A
CN102662697A CN2012100835492A CN201210083549A CN102662697A CN 102662697 A CN102662697 A CN 102662697A CN 2012100835492 A CN2012100835492 A CN 2012100835492A CN 201210083549 A CN201210083549 A CN 201210083549A CN 102662697 A CN102662697 A CN 102662697A
Authority
CN
China
Prior art keywords
aku
software
upgrading
version
sign
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
CN2012100835492A
Other languages
Chinese (zh)
Other versions
CN102662697B (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.)
Sonoscape Medical Corp
Original Assignee
Sonoscape 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 Sonoscape Co Ltd filed Critical Sonoscape Co Ltd
Priority to CN201210083549.2A priority Critical patent/CN102662697B/en
Publication of CN102662697A publication Critical patent/CN102662697A/en
Application granted granted Critical
Publication of CN102662697B publication Critical patent/CN102662697B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The embodiment of the invention discloses a software upgrading method and a software upgrading device, which are used for upgrading a software. The method disclosed by the embodiment of the invention comprises the following steps: acquiring the current state value of a dial switch connected with a master controller after the master controller is electrified; determining whether upgrading is carried out on the software according to the state value; and if upgrading on the software is needed, carrying out the upgrading operation on the software. With the adoption of the software upgrading method and the software upgrading device, the master controller can be effectively and automatically triggered for upgrading operation without using a keyboard, a mouse, display equipment and other external devices to control software upgrading, and the software upgrading is more flexible.

Description

A kind of method for upgrading software and device
Technical field
The present invention relates to field of computer technology, relate in particular to a kind of method for upgrading software and device.
Background technology
General multi-purpose computer industrial control equipment and embedded device are joined AccessPort, network interface communication or access devices such as keyboard and mouse and display device basically; At present; Software upgrading on computing machine industrial control equipment and the embedded type terminal equipment is used the for example process of Control Software upgradings such as keyboard, mouse, display device of external input-output device basically through modes such as serial ports control terminal, network remote online upgradings.Be specially: industrial control equipment and built-in terminal target device are connected the serial ports or the network interface card of computer system through Serial Port Line or netting twine; Equipment such as operating personnel's operation keyboard and mouse, hand-guided want upgrading software to upgrade or carry out upgrading order and accomplish escalation process.
Along with computer equipment to miniaturization development and embedded system in each extensive applications; The client becomes increasingly high in the requirement of outward appearance vision and the requirement on the operating experience degree, and computing machine industrial control equipment and embedded device progressively do not have the touch panel direction development of mouse to on-keyboard.
Yet active computer industrial control equipment and embedded device generally need equipment ability Control Software escalation processs such as manually-operated mouse-keyboard, and software upgrading is convenient, flexible inadequately.And for having only the touch-screen on-keyboard not have the terminal of mouse,, particularly also do not have touch-screen to drive situation about supporting, software firmware upgrade difficulty and inconvenient phenomenon can occur in the embedded startup primary stage.
Summary of the invention
The embodiment of the invention provides a kind of method for upgrading software and device, is used for software is upgraded.
Method for upgrading software in the embodiment of the invention comprises: after master controller powers on, obtain the current states value of the toggle switch that is connected with master controller; Determine whether that according to state value needs upgrade to software; If need upgrade to software, then software upgrade operation.
Software updating apparatus in the embodiment of the invention comprises:
Acquiring unit after being used for master controller and powering on, obtains the current states value of the toggle switch that is connected with master controller; Confirm the unit, be used for determining whether that according to state value needs upgrade to software; Performance element is used for if need upgrade to software, then software upgrade operation.
Can find out that from above technical scheme the embodiment of the invention has the following advantages:
After master controller powers on; Obtain the current state value of the toggle switch that is connected with master controller, determine whether that according to this state value needs upgrade to software, if need upgrade software; Then software upgrade operation; Can be effectively trigger master controller automatically and carry out updating operation, and need not use keyboard, external equipment Control Software upgradings such as mouse, display device, software upgrading is more flexible.
Description of drawings
Fig. 1 is the synoptic diagram of the embodiment of a kind of method for upgrading software in the embodiment of the invention;
Fig. 2 is another synoptic diagram of the embodiment of a kind of method for upgrading software in the embodiment of the invention;
Fig. 3 is the synoptic diagram of the embodiment of the method that AKU is handled in the embodiment of the invention;
Fig. 4 is the synoptic diagram of the embodiment of a kind of software updating apparatus in the embodiment of the invention;
Fig. 5 is another synoptic diagram of the embodiment of a kind of software updating apparatus in the embodiment of the invention.
Embodiment
The embodiment of the invention provides a kind of method for upgrading software and device; Be used for computing machine industrial control equipment and embedded type terminal equipment and trigger the software upgrading operation automatically, need be by keyboard, mouse; The process of external equipment Control Software such as display device upgrading has been improved the dirigibility of software upgrading.
See also Fig. 1, the embodiment for a kind of method for upgrading software in the embodiment of the invention comprises:
101, after master controller powers on, obtain the current states value of the toggle switch that is connected with master controller;
In embodiments of the present invention; The master controller of computing machine industrial control equipment and embedded type terminal equipment is connected toggle switch, is specially: the multidigit toggle switch inserts a plurality of I/O (Input/Output, I/O) pin of master controller chip; The I/O pin of master controller chip is set to input pin; Move high level on can giving tacit consent to each pin and being, the corresponding position of toggle switch is set to close (off), the I/O pin of master controller chip is dragged down become 0.
In embodiments of the present invention, operating personnel were provided with the on off state of toggle switch before master controller powers on, and made master controller after powering on, according to the potential state of its I/O pin, to confirm toggle switch current states value.
In embodiments of the present invention, the type that can confirm employed toggle switch according to the I/O number of pins and the concrete needs of master controller chip is not done qualification here.
102, determine whether that according to state value needs upgrade to software;
In embodiments of the present invention; Master controller gets access to after the state value of toggle switch; Can determine whether that needs upgrade to software according to this state value, wherein, preset the dial-up rule list in the master controller; Master controller can be in the dial-up rule list the pairing mode of operation of query State value, determine whether and need upgrade software.
103, if need upgrade to software, then software upgrade operation.
In embodiments of the present invention, need upgrade to software, then software upgrade operated if master controller is definite.
In embodiments of the present invention; Master controller determines whether that according to the state value of toggle switch needs upgrade to software; And when needs were upgraded, the software upgrade operation made master controller can trigger the software upgrading operation automatically; Need be through the upgrading of external equipment Control Software such as manually-operated mouse, keyboard, display device, software upgrading is more flexible.
A kind of technical scheme of method for upgrading software among the embodiment sees also Fig. 2 for a better understanding of the present invention, and the embodiment for a kind of method for upgrading software in the embodiment of the invention comprises:
201, after master controller powers on, obtain the current states value of the toggle switch that is connected with master controller;
The content that step 201 is described with embodiment illustrated in fig. 1 in the similar content of step 101 description, repeat no more here.
202, inquiry and the corresponding software of upgrading coding in the dial-up rule list that presets;
In embodiments of the present invention, the state value of toggle switch comprises the upgrading coding, wherein; The coding of upgrading is used for indication and supports the upgrading software title, can be the also whole softwares of part software, and perhaps updating operation is not carried out in indication; In addition, also can comprise check code in the state value of toggle switch, check code then is used for the dial-up content is carried out safety check; The validity of check upgrading coding, the maloperation that produces when avoiding need not upgrading.
In embodiments of the present invention; Preset the dial-up rule list of toggle switch in the master controller, comprised upgrading coding, check code and corresponding function code in the dial-up rule list, wherein; Function code then is used to represent to upgrade the corresponding concrete function of coding; In practical application, can define corresponding figure place of upgrading coding and the corresponding figure place of check code according to the figure place of toggle switch flexibly, wherein the check code figure place of upgrading coding can be 0; Represent not verification, promptly only comprise the upgrading coding in the state value of toggle switch.For example, if use 8 toggle switchs, then can Bit [7:3] be expressed as the upgrading coding; Bit [2:0] is expressed as check code; Can be decided to be parity checking as required, also can be fixed value, for a better understanding of the present invention the dial-up rule list among the embodiment as check code; See also table 1, be the possible coding in the dial-up rule list in the embodiment of the invention and the corresponding relation of function.
Figure BDA0000147340290000041
Table 1
In the table 1, invalid not being meant need be carried out updating operation, and master controller can withdraw from updating operation, gets into the system start-up flow process.
In embodiments of the present invention, master controller gets access to after the state value of toggle switch, will in the dial-up rule list that presets, inquire about and the corresponding software of upgrading coding.For example, if upgrading is encoded to 10011, then the function code corresponding with it is the bootloader that only upgrades in the dial-up rule list, and therefore the software corresponding with it then is bootloader.
203, judge whether check code is consistent with upgrading coding corresponding check sign indicating number in the dial-up rule list;
In embodiments of the present invention, after searching the upgrading coding, master controller will judge also whether check code is consistent with this upgrading coding corresponding check sign indicating number in the dial-up rule list; For example; If the upgrading in the toggle switch state value that obtains is encoded to 10011, check code is 101, then inquires about in the dial-up rule list; Upgrading is encoded at 10011 o'clock; Its corresponding check sign indicating number position 101, then the check code in the description status value is consistent with the upgrading coding corresponding check sign indicating number of state value in the dial-up rule list, then need carry out updating operation to the corresponding software of this upgrading coding.
Need to prove, in embodiments of the present invention,, then do not need execution in step 203 and 204, be i.e. execution in step 205 in step 202 back if do not comprise check code in the rule list of toggle switch.
Above-mentioned is example with 8 toggle switchs, and composition and the function and the implementation method of upgrading encoding state value is described, the example codes value is not limited in prescription.
204, if check code is consistent with upgrading coding corresponding check sign indicating number in the dial-up rule list, then confirm software is upgraded;
In embodiments of the present invention, if upgrading coding corresponding check sign indicating number is consistent in check code and the dial-up rule list, then master controller will be confirmed and need upgrade to software, and master controller will continue the execution updating operation.
205, through general media transmission interface download and the corresponding AKU of reading software;
In embodiments of the present invention, the corresponding AKU of software downloaded and obtained to master controller will through general media transmission interface after confirming to carry out updating operation; General media transmission interface comprises network interface or USB (USB, Universal Serial BUS) interface or serial ports, is example with the network interface; For example, if need upgrade to bootloader, then master controller can pass through network FTP (File Transfer Protocol) agreement; Send upgrade request message to the network interface server, if the network interface server exists and network service is normal, the network interface server will receive this upgrade request message; To send request response and set up the network service connection, and make master controller to download AKU from the network interface server, and be used for bootloader is upgraded according to the upgrading coding; Need to prove that if in the time period of presetting, master controller does not receive the request response that the network interface server sends; Master controller will send upgrade request message once more, and wait-for-response, not receive response afterwards yet if send the upgrade request message of preset number; Master controller will withdraw from upgrade mode, get into the system start-up program.
206, utilize AKU that software is upgraded.
In embodiments of the present invention, master controller is downloaded or is read after the AKU, will utilize this AKU that software is upgraded, and for example, if downloaded to the AKU of bootloader, then utilizes this AKU that bootloader is upgraded.
In embodiments of the present invention; Master controller matees through the upgrading coding that will get access to and check code and dial-up rule list, need to confirm upgrading software and determines whether and need upgrade, if need upgrade; Then download or read AKU; Carry out updating operation, utilize the state value of the toggle switch that is connected with main control, master controller can trigger the software upgrading operation automatically; Do not need operating personnel to pass through external equipment Control Software upgradings such as mouse, keyboard, display device, improved the dirigibility of software upgrading.
In embodiments of the present invention; Master controller is after downloading or reading AKU; Also can carry out verification and carry out data burning more afterwards,, see also Fig. 3 to have avoided the use of wrong AKU with coupling to the data in the AKU; Embodiment for the method for AKU processing in the embodiment of the invention comprises:
301, calculate AKU verification and;
302, if verification and equate check then whether the form and the public header field information of the firmware version sign in the AKU is correct with proof test value in the AKU, if correct, then execution in step 303, and as if incorrect, then execution in step 306;
In embodiments of the present invention; Master controller is downloaded or is read after the AKU, with the verification of calculating this AKU with, confirm this verification and whether equate with proof test value in the AKU; If equate, check then whether the form and the public header field information of the firmware version sign in the AKU is correct.
In embodiments of the present invention, public header field information, firmware version sign in the AKU, rollback version identifier, proof test value, partition holding sign and size, burning data and burning check code.Wherein, public header field information comprises: company information sign, product information sign, type hardware identifier, system platform sign, soft ware authorization use information etc.
In embodiments of the present invention, whether the rollback version identifier is used for expression need return back to legacy version, and for example, if the rollback version identifier is 1 o'clock, then expression need return back to legacy version, and the rollback version identifier is 0 o'clock, then need not return back to legacy version.
Need to prove; In embodiments of the present invention, if the verification that calculates and unequal with the proof test value in the AKU explains that then this AKU can not be used for software upgrading; Need download and upgrade bag again, master controller will be confirmed the number of times that this AKU has been downloaded or read; If the AKU number of times having downloaded or read less than with the numerical value that equals to preset, then download and the AKU of reading software correspondence through general media transmission interface, reach the number of times that presets after; Wherein preset and to be set to 0; AKU is directly downloaded and is obtained in expression, obtains the AKU that satisfies condition yet, and promptly the proof test value in the AKU is with the verification that calculates with equate; The transmission path data that AKU then is described make mistakes or AKU incorrect, will withdraw from updating operation.
303, from AKU, read the firmware version sign, confirm whether the version of AKU is redaction, if redaction, then execution in step 305, if not redaction, then execution in step 304;
In embodiments of the present invention; If master controller confirms that the form and the public header field information of the firmware version sign in the AKU are correct; Then will from AKU, read this firmware version sign, the software version value in the upgrading configuration in the reading terminals memory block confirms whether the version of AKU is redaction.
Need to prove; In embodiments of the present invention; Master controller has been preserved the configuration data of software, and whether form and public header field information that this configuration data can be used as inspection firmware version sign is correct, and whether AKU is the foundation of redaction; Be that master controller is through mating the form and the public header field information of the sign of the firmware version in the AKU with the configuration data of having preserved; Whether form and the public header field information that can judge the firmware version sign in the AKU is correct, and mate through the firmware version sign that sign of the firmware version in the AKU and master controller have been preserved, can confirm whether the version of AKU is redaction.
304, judge whether that according to version rollback sign needs return back to legacy version, if, execution in step 305, if not then, then execution in step 306;
In embodiments of the present invention; If confirm that the version of AKU is not a redaction; Then judge whether that according to the sign of the version rollback in the AKU needs return back to legacy version; Need to prove that in embodiments of the present invention, said " legacy version " is meant the represented version of fixedly version identifier in the AKU.
305, confirm the zone that need wipe in the memory block according to the sign of the memory block subregion in the AKU and size, the data erase in the zone that said need are wiped, and the burning data in the said AKU is burnt in the memory block of having wiped;
In embodiments of the present invention; When the version of AKU is redaction, perhaps, when the version of AKU is a legacy version and need return back to legacy version the time; Master controller will be confirmed the zone that needs are wiped in the memory block according to sign of the partition holding in the AKU and size; And the data erase in this zone that need wipe, the burning data in the AKU is burnt in this zone of having wiped, accomplish the upgrading of software.
306, withdraw from updating operation.
In embodiments of the present invention; When the numerical value that the number of times of AKU equals to preset is downloaded or read to master controller; Perhaps, when the form of the firmware version in AKU sign or public header field information are incorrect, perhaps; When firmware version is designated legacy version and rollback and is designated not, master controller will in withdraw from updating operation.
Need to prove,, can pass through the mode of light emitting diode (LED, Light Emitting Diode) indication and indicate escalation process in order to make operating personnel can better understand the state of software upgrading.
In embodiments of the present invention; Master controller carries out verification to AKU; The form and the public header field information of firmware version sign are checked; And confirm whether upgraded version is redaction, and the security of system problem that the incorrect AKU that can effectively avoid the use of is upgraded and caused has improved the reliability of software upgrading.
See also Fig. 4, the embodiment for a kind of software updating apparatus in the embodiment of the invention comprises:
Acquiring unit 401 after being used for master controller and powering on, obtains the current states value of the toggle switch that is connected with said master controller;
Confirm unit 402, be used for determining whether that according to said state value needs upgrade to software;
Performance element 403 is used for if need upgrade to software, then software upgrade operation.
In embodiments of the present invention, after master controller powers on, acquiring unit 401 will obtain the current states value of the toggle switch that is connected with master controller; Determine whether that according to this state value needs upgrade to software by definite unit 402; If need upgrade to software; Then operate by performance element 403 software upgrade; Can trigger the software upgrading operation automatically, need be through the upgrading of external equipment Control Software such as manually-operated mouse, keyboard, display device, software upgrading is more flexible.
Need to prove that the software updating apparatus in the embodiment of the invention can be a master controller, also can be the chip that is integrated in the main control, does not do qualification here.
See also Fig. 5, the embodiment for the software updating apparatus in the embodiment of the invention comprises:
Acquiring unit 401 as shown in Figure 4, confirm unit 402, performance element 403, and with the similar content of description embodiment illustrated in fig. 4, repeat no more here.
Wherein, performance element 403 comprises:
AKU acquiring unit 501 is used for downloading the corresponding AKU of said software through network interface, perhaps, reads the corresponding AKU of said software through general-purpose serial bus USB;
Upgrading unit 502 is used to utilize said AKU that software is upgraded.
In embodiments of the present invention, upgrading unit 502 comprises:
Computing unit 503, the verification that is used to calculate said AKU with;
Inspection unit 504 is used for equating as if said verification with the proof test value of said AKU, checks then whether the form and the public header field information of the firmware version sign in the said AKU is correct;
Version confirmation unit 505 is used for then from said AKU, reading said firmware version sign if the form and the public header field information of said firmware version sign are correct, confirms whether the version of said AKU is redaction;
Burning unit 506; Be used for if said AKU version is a redaction; Perhaps the version as if said AKU is not redaction and need return back to legacy version; Then confirm the zone that need wipe in the memory block according to sign of the memory block subregion in the AKU and size, the data erase in the zone that said need are wiped, and the burning data in the said AKU is burnt in the memory block of having wiped.
Need to prove that in embodiments of the present invention, the current states value comprises the upgrading coding, confirm that then unit 402 specifically is used at dial-up rule list inquiry of presetting and the corresponding software of upgrading coding.
And if the current states value also comprises check code: then the device in the embodiment of the invention also comprises:
Judging unit 507 is used for behind said definite unit inquiry dial-up rule list, judges whether the said check code of stating is with consistent at the coding of upgrading described in said dial-up rule list corresponding check sign indicating number, if unanimity is then confirmed said software is upgraded.
In embodiments of the present invention, after master controller powers on, acquiring unit 401 will obtain the current states value of the toggle switch that is connected with master controller; Determine whether that according to this state value needs upgrade to software by definite unit 402, if need upgrade to software, then the AKU acquiring unit in the performance element 403 will be downloaded and the AKU of reading software correspondence through general media transmission interface; Upgrading unit 502 utilizes this AKU that software is upgraded.
In embodiments of the present invention; Comprise the upgrading coding in the current states value; Then confirm 402 concrete being used at dial-up rule list inquiry of presetting and the corresponding software of upgrading coding in unit, if also comprise check code in the current states value, then device also comprises judging unit 507; Judging unit 507 will be behind definite unit 402 inquiry dial-up rule lists; Judge and state check code,, then confirm said software is upgraded if consistent with whether consistent at the coding of upgrading described in said dial-up rule list corresponding check sign indicating number.
In embodiments of the present invention; If need upgrade to software; The operation that upgrading unit 502 utilizes the AKU downloading or read to upgrade comprises: the verification that computing unit 503 calculates AKUs with, if this verification and equate with proof test value in the AKU, then whether the form and the public header field information that identify of the firmware version in the inspection unit 504 inspection AKUs correct; If the form and the public header field information of this firmware version sign are correct; Then version confirmation unit 505 reads said firmware version sign from said AKU, confirms whether the version of said AKU is redaction, if the AKU version is a redaction; Perhaps the version as if AKU is not redaction and need return back to legacy version; Then the zone that need wipe in the memory block is confirmed according to sign of the memory block subregion in the AKU and size in burning unit 506, the data erase in the zone that said need are wiped, and the burning data in the said AKU is burnt in the memory block of having wiped.
Need to prove, in embodiments of the present invention,, perhaps, be designated when denying, then withdraw from updating operation if version identifier is legacy version and version rollback if form or company's header field information of firmware version sign are incorrect.
In embodiments of the present invention; Software updating apparatus matees through the upgrading coding that will get access to and check code and dial-up rule list, need to confirm upgrading software and determines whether and need upgrade, if need upgrade; Then download or read AKU; Carry out updating operation, utilize the state value of the toggle switch that is connected with main control, can trigger the software upgrading operation automatically; Do not need operating personnel to pass through external equipment Control Software upgradings such as mouse, keyboard, display device, improved the dirigibility of software upgrading.And also will carry out verification to AKU; The form and the public header field information of firmware version sign are checked; And confirm whether upgraded version is redaction, and the security of system problem that the incorrect AKU that can effectively avoid the use of is upgraded and caused has improved the reliability of software upgrading.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to accomplish through program; Described program can be stored in a kind of computer-readable recording medium; The above-mentioned storage medium of mentioning can be a ROM (read-only memory), disk or CD etc.
More than a kind of method for upgrading software provided by the present invention and device have been carried out detailed introduction; For one of ordinary skill in the art; Thought according to the embodiment of the invention; The part that on embodiment and range of application, all can change, in sum, this description should not be construed as limitation of the present invention.

Claims (12)

1. a method for upgrading software is characterized in that, comprising:
After master controller powers on, obtain the current states value of the toggle switch that is connected with said master controller;
Determine whether that according to said state value needs upgrade to software;
If need upgrade to software, then software upgrade operation.
2. method according to claim 1 is characterized in that, said state value comprises the upgrading coding;
Then saidly determine whether according to said state value that needs are upgraded to software and comprise:
Inquiry and the corresponding software of said upgrading coding in the dial-up rule list that presets.
3. method according to claim 2 is characterized in that said state value also comprises check code;
Then said in the dial-up rule list that presets, the inquiry with the corresponding software of said upgrading coding also comprises afterwards:
Judge whether said check code is with consistent at the coding of upgrading described in said dial-up rule list corresponding check sign indicating number;
If consistent, then confirm said software is upgraded.
4. method according to claim 1 is characterized in that, said software upgrade operation comprises:
Download and read the corresponding AKU of said software through general media transmission interface, said general media transmission interface comprises network interface or general-purpose serial bus USB interface or serial ports;
Utilize said AKU that said software is upgraded.
5. method according to claim 4 is characterized in that, saidly utilizes said AKU that said software is upgraded to comprise:
The verification of calculating said AKU with;
If said verification and equate, check then whether form and public header field information that the firmware version in the said AKU identifies is correct with proof test value in the said AKU;
If the form and the public header field information of said firmware version sign are correct, then from said AKU, read said firmware version sign, confirm whether the version of said AKU is redaction;
If the version of said AKU is a redaction; Then according to the zone that need wipe in the definite memory block of sign of the partition holding in the said AKU and size; Data erase in the zone that said need are wiped, and the burning data in the said AKU is burnt in the memory block of having wiped.
6. method according to claim 5 is characterized in that, said method also comprises:
If the version of said AKU is not a redaction, then judge whether that according to version rollback sign needs return back to legacy version;
If need return back to legacy version; Then according to the zone that need wipe in the definite memory block of sign of the partition holding in the said AKU and size; With the data erase in the zone that need wipe in the said memory block, and the burning data in the said AKU is burnt in the memory block of the correspondence of having wiped.
7. method according to claim 5 is characterized in that, said method also comprises:
If the number of times that said AKU has been downloaded or read is then confirmed in said verification and unequal with the proof test value in the said AKU;
If said number of times, then returns the said step of downloading and read the corresponding AKU of said software through general media transmission interface less than the numerical value that presets.
8. according to each described method of claim 3 to 7, it is characterized in that said method also comprises:
If said number of times equals the said numerical value that presets, perhaps,, perhaps,, said version identifier is designated when denying if being legacy version and said version rollback if the form or the said public header field information of said firmware version sign are incorrect, then withdraw from updating operation.
9. a software updating apparatus is characterized in that, comprise,
Acquiring unit after being used for master controller and powering on, obtains the current states value of the toggle switch that is connected with said master controller;
Confirm the unit, be used for determining whether that according to said state value needs upgrade to software;
Performance element is used for if need upgrade to software, then software upgrade operation.
10. device according to claim 9 is characterized in that, said current states value comprises the upgrading coding, and then said definite unit specifically is used at dial-up rule list inquiry of presetting and the corresponding software of said upgrading coding;
If said current states value also comprises check code, then said device also comprises:
Judging unit is used for behind said definite unit inquiry dial-up rule list, judges whether the said check code of stating is with consistent at the coding of upgrading described in said dial-up rule list corresponding check sign indicating number, if unanimity is then confirmed said software is upgraded.
11. device according to claim 9 is characterized in that, said performance element comprises:
The AKU acquiring unit is used for downloading and read the corresponding AKU of said software through general media transmission interface, and said general media transmission interface comprises network interface or general-purpose serial bus USB or serial ports;
The upgrading unit is used to utilize said AKU that software is upgraded.
12. device according to claim 11 is characterized in that, said upgrading unit comprises:
Computing unit, the verification that is used to calculate said AKU with;
Inspection unit is used for equating as if said verification with the proof test value of said AKU, checks then whether the form and the public header field information of the firmware version sign in the said AKU is correct;
The version confirmation unit is used for then from said AKU, reading said firmware version sign if the form and the public header field information of said firmware version sign are correct, confirms whether the version of said AKU is redaction;
The burning unit; Be used for if said AKU version is a redaction; Perhaps the version as if said AKU is not redaction and need return back to legacy version; Then confirm the zone that need wipe in the memory block according to sign of the memory block subregion in the said AKU and size, the data erase in the zone that said need are wiped, and the burning data in the said AKU is burnt in the memory block of having wiped.
CN201210083549.2A 2012-03-27 2012-03-27 Software upgrading method and device Active CN102662697B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210083549.2A CN102662697B (en) 2012-03-27 2012-03-27 Software upgrading method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210083549.2A CN102662697B (en) 2012-03-27 2012-03-27 Software upgrading method and device

Publications (2)

Publication Number Publication Date
CN102662697A true CN102662697A (en) 2012-09-12
CN102662697B CN102662697B (en) 2014-03-19

Family

ID=46772198

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210083549.2A Active CN102662697B (en) 2012-03-27 2012-03-27 Software upgrading method and device

Country Status (1)

Country Link
CN (1) CN102662697B (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102938856A (en) * 2012-11-23 2013-02-20 青岛海信宽带多媒体技术有限公司 Software upgrading method and device of cardless conditional access system
CN102945177A (en) * 2012-11-16 2013-02-27 深圳市汇川控制技术有限公司 Programmable logic controller (PLC) firmware upgrading system and method
CN103561051A (en) * 2013-09-27 2014-02-05 深圳市芯海科技有限公司 Chip data burning remote protection system and method
CN103677943A (en) * 2013-12-27 2014-03-26 浙江众邦机电科技有限公司 Upgrading method of control software of sewing machine
CN104991865A (en) * 2015-07-27 2015-10-21 广东美的厨房电器制造有限公司 Software management system, software management method and household appliance
CN105068831A (en) * 2015-07-30 2015-11-18 深圳市创凯电子有限公司 Program upgrading method and apparatus
CN105893069A (en) * 2015-11-10 2016-08-24 乐视致新电子科技(天津)有限公司 Software burning method and device
CN106502718A (en) * 2016-09-22 2017-03-15 珠海格力电器股份有限公司 The upgrade method of program and device, controller
CN107902507A (en) * 2017-11-11 2018-04-13 林光琴 Control software field debugging system and adjustment method
CN108103683A (en) * 2017-12-14 2018-06-01 浙江众邦机电科技有限公司 Sewing-machine equipment and its software program update device
CN110069272A (en) * 2019-04-29 2019-07-30 新华三技术有限公司 The method and electronic equipment of logical file upgrading
CN110166321A (en) * 2019-05-28 2019-08-23 上海联影医疗科技有限公司 Medical image acquisition method, apparatus, equipment and medium
CN110377317A (en) * 2019-07-25 2019-10-25 新奥(中国)燃气投资有限公司 A kind of gateway upgrade method and device
CN110716727A (en) * 2019-09-02 2020-01-21 领翌技术(横琴)有限公司 Software upgrading method and system
CN110865837A (en) * 2019-11-14 2020-03-06 青岛海信移动通信技术股份有限公司 Method and terminal for upgrading system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6493594B1 (en) * 1999-06-04 2002-12-10 Lucent Technologies Inc. System and method for improved software configuration and control management in multi-module systems
CN1425963A (en) * 2001-12-11 2003-06-25 深圳市中兴通讯股份有限公司上海第二研究所 Embedded system software loading device and method
CN101409636A (en) * 2008-11-20 2009-04-15 山东山大新元易通信息科技有限公司 Safety on-line upgrade method for networking equipment firmware
CN101436138A (en) * 2007-11-16 2009-05-20 苏州科达通信技术发展有限公司 Control device and control method for software upgrade and dynamic rolling back

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6493594B1 (en) * 1999-06-04 2002-12-10 Lucent Technologies Inc. System and method for improved software configuration and control management in multi-module systems
CN1425963A (en) * 2001-12-11 2003-06-25 深圳市中兴通讯股份有限公司上海第二研究所 Embedded system software loading device and method
CN101436138A (en) * 2007-11-16 2009-05-20 苏州科达通信技术发展有限公司 Control device and control method for software upgrade and dynamic rolling back
CN101409636A (en) * 2008-11-20 2009-04-15 山东山大新元易通信息科技有限公司 Safety on-line upgrade method for networking equipment firmware

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102945177B (en) * 2012-11-16 2015-09-02 深圳市汇川控制技术有限公司 PLC firmware upgrade system and method
CN102945177A (en) * 2012-11-16 2013-02-27 深圳市汇川控制技术有限公司 Programmable logic controller (PLC) firmware upgrading system and method
CN102938856A (en) * 2012-11-23 2013-02-20 青岛海信宽带多媒体技术有限公司 Software upgrading method and device of cardless conditional access system
CN102938856B (en) * 2012-11-23 2015-06-24 青岛海信宽带多媒体技术有限公司 Software upgrading method and device of cardless conditional access system
CN103561051A (en) * 2013-09-27 2014-02-05 深圳市芯海科技有限公司 Chip data burning remote protection system and method
CN103677943B (en) * 2013-12-27 2017-08-15 浙江众邦机电科技有限公司 A kind of sewing machine control method for upgrading software
CN103677943A (en) * 2013-12-27 2014-03-26 浙江众邦机电科技有限公司 Upgrading method of control software of sewing machine
CN104991865A (en) * 2015-07-27 2015-10-21 广东美的厨房电器制造有限公司 Software management system, software management method and household appliance
CN105068831A (en) * 2015-07-30 2015-11-18 深圳市创凯电子有限公司 Program upgrading method and apparatus
CN105893069A (en) * 2015-11-10 2016-08-24 乐视致新电子科技(天津)有限公司 Software burning method and device
CN106502718A (en) * 2016-09-22 2017-03-15 珠海格力电器股份有限公司 The upgrade method of program and device, controller
CN106502718B (en) * 2016-09-22 2019-05-31 珠海格力电器股份有限公司 The upgrade method and device of program, controller
CN107902507A (en) * 2017-11-11 2018-04-13 林光琴 Control software field debugging system and adjustment method
CN107902507B (en) * 2017-11-11 2021-05-04 林光琴 Control software field debugging system and debugging method
CN108103683B (en) * 2017-12-14 2020-07-28 浙江众邦机电科技有限公司 Sewing machine equipment and software program upgrading device thereof
CN108103683A (en) * 2017-12-14 2018-06-01 浙江众邦机电科技有限公司 Sewing-machine equipment and its software program update device
CN110069272A (en) * 2019-04-29 2019-07-30 新华三技术有限公司 The method and electronic equipment of logical file upgrading
CN110166321A (en) * 2019-05-28 2019-08-23 上海联影医疗科技有限公司 Medical image acquisition method, apparatus, equipment and medium
CN110377317A (en) * 2019-07-25 2019-10-25 新奥(中国)燃气投资有限公司 A kind of gateway upgrade method and device
CN110716727A (en) * 2019-09-02 2020-01-21 领翌技术(横琴)有限公司 Software upgrading method and system
CN110865837A (en) * 2019-11-14 2020-03-06 青岛海信移动通信技术股份有限公司 Method and terminal for upgrading system
CN110865837B (en) * 2019-11-14 2023-08-18 青岛海信移动通信技术有限公司 Method and terminal for system upgrade

Also Published As

Publication number Publication date
CN102662697B (en) 2014-03-19

Similar Documents

Publication Publication Date Title
CN102662697B (en) Software upgrading method and device
US10002526B1 (en) Internet-of-things systems and methods
CN102663300B (en) Media player and annex
CN104199706A (en) Firmware upgrade method and device for eMMC
US11579893B2 (en) Systems and methods for separate storage and use of system BIOS components
US20120130550A1 (en) Method, device and system for use in configuring a bathing unit controller
CN110473104B (en) Transaction processing method and related equipment
CN104932926A (en) System and method for achieving dynamic matching of equipment and drives in intelligent operation system platform
CN102279756A (en) CPLD (Complex Programmable Logic Device) firmware updating method
CN103257872A (en) Embedded control system for computers and updating method of embedded control system
CN103412769A (en) External card parameter configuration method, equipment and system
US20230259367A1 (en) Scalable life-cycle maintenance of hardware
CN103530199A (en) Software running error repairing method, device and system
CN110875850B (en) Firmware upgrading method and system, readable storage medium and terminal equipment
CN107078806B (en) The programmed method and operating method and electric interfaces equipment of optical transceiver
EP2798428B1 (en) Apparatus and method for managing operation of a mobile device
CN102707963A (en) Device flags
CN104915306A (en) Data operation control method and device manager
CN108920171A (en) Firmware update and device, electronic equipment
EP3238051A1 (en) Updating software packets in water installation controlling apparatus
CN112181455B (en) Online upgrading method of microcontroller, microcontroller and storage medium
CN111385613B (en) Television system repairing method, storage medium and application server
CN110489439B (en) Parameter processing method and power terminal
CN109885329B (en) Upgrading method and system and electronic equipment
CN1588877B (en) Electronic guarantee device and system and method for realizing guarantee data interaction

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
C56 Change in the name or address of the patentee

Owner name: SHENGZHEN SONOSCAPE MEDICAL CORP.

Free format text: FORMER NAME: SONOSCAPE INC.

CP03 Change of name, title or address

Address after: 518000 Guangdong city of Shenzhen province Nanshan District Yuquanlu Road Yizhe building 4, 5, 8, 9, 10 floor

Patentee after: Biologic medical Science and Technology Co., Ltd. is opened in Shenzhen

Address before: 518000 Guangdong city of Shenzhen province Nanshan District Yuquanlu Road Yizhe building 4 floor

Patentee before: Sonoscape Inc.