CN107329784A - Firmware upgrade method and Distributed-tier system - Google Patents
Firmware upgrade method and Distributed-tier system Download PDFInfo
- Publication number
- CN107329784A CN107329784A CN201710499584.5A CN201710499584A CN107329784A CN 107329784 A CN107329784 A CN 107329784A CN 201710499584 A CN201710499584 A CN 201710499584A CN 107329784 A CN107329784 A CN 107329784A
- Authority
- CN
- China
- Prior art keywords
- firmware upgrade
- prime
- subordinate
- distributed
- firmware
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/542—Event management; Broadcasting; Multicasting; Notifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/54—Indexing scheme relating to G06F9/54
- G06F2209/543—Local
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Multimedia (AREA)
- Stored Programmes (AREA)
Abstract
The present invention discloses a kind of firmware upgrade method, and firmware upgrade method is used for Distributed-tier system.Distributed-tier system includes multiple parts.Multiple parts include when prime part and with when subordinate's part of prime component communication.Firmware upgrade method comprises the following steps:When prime component retrieval firmware upgrade procedure;When prime part judges whether multiple subordinate's parts;With when there is multiple subordinate's parts work as firmware upgrade procedure described in prime part to multiple subordinate's means broadcasts.It can be upgraded simultaneously in this way, each of Distributed-tier system works as prime part and subordinate's part, so that the time required for Distributed-tier system upgrade is short, efficiency high, user experience is good.
Description
Technical field
The present invention relates to electronic technology field, more particularly to a kind of firmware upgrade method and Distributed-tier system.
Background technology
Business air conditioner is usually Distributed-tier system, and for example Distributed-tier system includes downwards central controller, room step by step
Outer machine, MS, indoor set and line control machine.One-to-many relation is there may be between superordinate member and subordinate's part.And current sky
Firmware upgrade is adjusted typically to be carried out using one-to-one method of master-slave equipment communication.After superordinate member is upgraded to current subordinate's component communication
Next subordinate's part is upgraded one by one, inefficient.
The content of the invention
Embodiment of the present invention provides a kind of firmware upgrade method and Distributed-tier system.
The firmware upgrade method of embodiment of the present invention, for Distributed-tier system, the Distributed-tier system bag
Multiple parts are included, the multiple part includes working as prime part and with described when subordinate's part of prime component communication;It is described solid
Part upgrade method comprises the following steps:
It is described to work as prime component retrieval firmware upgrade procedure;
It is described when prime part judges whether multiple subordinate's parts;With
When firmware described in prime part to multiple subordinate's means broadcasts described in when there is multiple subordinate's parts
ROMPaq.
The firmware upgrade method of embodiment of the present invention, it is described to work as firmware upgrade procedure described in prime component retrieval and incite somebody to action
The firmware upgrade procedure is sent to the multiple subordinate's part in the form of broadcasting, and the multiple subordinate's part receives institute simultaneously
State firmware upgrade procedure and upgraded.In this way, the Distributed-tier system each it is described when prime part and it is described under
Level part can be upgraded simultaneously, so that the time required for Distributed-tier system upgrade is short, efficiency high, Consumer's Experience
Property is good.
In some embodiments, the firmware upgrade method comprises the following steps:
Initialize the Distributed-tier system;
The current firmware information of each the multiple part of component retrieval;With
Judge whether any part is triggered firmware upgrade, described work as prime component retrieval firmware liter if then entering
The step of level program;If otherwise return it is described judge any part whether be triggered firmware upgrade the step of.
In some embodiments, the step of initialization Distributed-tier system comprises the following steps:
The Distributed-tier system is to the interior machine distribution address;With
The Distributed-tier system is normally run.
In some embodiments, the firmware information includes model information, software version information, chip information, support
Function information and firmware size.
In some embodiments, described when prime part has transparent transmission ability, the firmware upgrade method includes following
Step:
It is described when the software information of firmware upgrade procedure described in prime component retrieval;
The prime part of working as judges whether suitable upgrading according to the software information and the current firmware information, if not
Then enter and described the step of prime part judges whether multiple subordinate's parts and there are multiple portions of subordinate
When prime part utilizes firmware upgrade procedure described in the transparent transmission ability to the multiple subordinate's means broadcasts described in during part;With
When prime part utilizes firmware upgrade procedure progress firmware upgrade described in when being adapted to upgrading.
In some embodiments, it is described described in when there is multiple subordinate's parts when prime part is to multiple described
Firmware upgrade procedure described in subordinate's means broadcasts comprises the following steps:
The firmware upgrade journey is broadcasted again when prime part first stores the firmware upgrade procedure described in when being adapted to upgrading
Sequence.
In some embodiments, the firmware upgrade method is further comprising the steps of:
It is described when prime part judge itself whether be bottom level part;If then entering described when described in prime component retrieval
The step of software information of firmware upgrade procedure;With
When from as bottom level part, then the prime part of working as judges subordinate's part is not present.
In some embodiments, the firmware upgrade method is further comprising the steps of:
When the firmware upgrade of the multiple subordinate's parts of prime component queries described in when there is multiple subordinate's parts
State;With
Each subordinate's part works as prime component feedback firmware upgrade state to described.
In some embodiments, the multiple part includes the lower-level part with subordinate's component communication;Each
Subordinate's part to it is described work as prime component feedback firmware upgrade state while to the lower-level part forward it is described solid
Part ROMPaq.
The Distributed-tier system of embodiment of the present invention, the Distributed-tier system includes multiple parts, described many
Individual part includes working as prime part and with described when subordinate's part of prime component communication, described when prime part is used to obtain solid
Part ROMPaq;The prime part of working as is used to judge whether multiple subordinate's parts and there are multiple subordinates
To firmware upgrade procedure described in multiple subordinate's means broadcasts during part.
In some embodiments, the Distributed-tier system includes downwards central controller, outdoor unit, MS, interior step by step
Machine and line control machine.
In some embodiments, the Distributed-tier system includes processor, and the processor is used to initialize institute
State Distributed-tier system;Each part is used for the current firmware information for obtaining the multiple part;It is used for processor
Judge whether any current part is triggered firmware upgrade, if then described work as prime component retrieval firmware upgrade procedure;
If otherwise processor continues to judge whether any current part is triggered firmware upgrade.
In some embodiments, the Distributed-tier system is used for the interior machine distribution address;With the distribution
Formula multilayer system is normally run.
In some embodiments, the firmware information includes model information, software version information, chip information, support
Function information and firmware size.
In some embodiments, it is described when prime part has transparent transmission ability, it is described when prime part is used to obtain institute
State the software information of firmware upgrade procedure;The prime part of working as is used for according to the software information and the current firmware information
Judge whether to be adapted to upgrading, if otherwise described when prime part is used to judge whether multiple subordinate's parts and exists
Firmware upgrade procedure described in the transparent transmission ability to the multiple subordinate's means broadcasts is utilized during multiple subordinate's parts;With
It is adapted to carry out firmware upgrade using the firmware upgrade procedure during upgrading.
In some embodiments, be adapted to upgrading when described in when prime part be used for first store the firmware upgrade procedure
The firmware upgrade procedure is broadcasted again.
In some embodiments, it is described when prime part is used to judge whether itself is bottom level part;If then described
When the software information of firmware upgrade procedure described in prime component retrieval;Work as prime part use with working as from as bottom level part is then described
Subordinate's part is not present in judgement.
In some embodiments, when there is multiple subordinate's parts described in when prime part be used for inquire about multiple institutes
State the firmware upgrade state of subordinate's part;It is used to work as prime component feedback firmware upgrade shape to described with each subordinate's part
State.
In some embodiments, the multiple part includes the lower-level part with subordinate's component communication;Each
Subordinate's part is used to forward institute to the lower-level part while prime component feedback firmware upgrade state to described
State firmware upgrade procedure.
The additional aspect and advantage of the present invention will be set forth in part in the description, and will partly become from the following description
Obtain substantially, or recognized by the practice of the present invention.
Brief description of the drawings
The above-mentioned and/or additional aspect and advantage of the present invention can be from description of the accompanying drawings below to embodiment be combined
It will be apparent and be readily appreciated that, wherein:
Fig. 1 is the schematic flow sheet of the firmware upgrade method of embodiment of the present invention.
Fig. 2 is the module diagram of the Distributed-tier system of embodiment of the present invention.
Fig. 3 is another schematic flow sheet of the control method of embodiment of the present invention.
Fig. 4 is another module diagram of the Distributed-tier system of embodiment of the present invention.
Fig. 5 is another schematic flow sheet of the firmware upgrade method of embodiment of the present invention.
Fig. 6 is another schematic flow sheet of the firmware upgrade method of embodiment of the present invention.
Fig. 7 is another schematic flow sheet of the firmware upgrade method of embodiment of the present invention.
Fig. 8 is another schematic flow sheet of the firmware upgrade method of embodiment of the present invention.
Fig. 9 is another module diagram of the Distributed-tier system of embodiment of the present invention.
Figure 10 is another module diagram of the Distributed-tier system of embodiment of the present invention.
Embodiment
Embodiments of the present invention are described below in detail, the example of embodiment is shown in the drawings, wherein, identical or class
As label represent same or similar element or the element with same or like function from beginning to end.Below with reference to attached
The embodiment of figure description is exemplary, is only used for explaining the present invention, and is not considered as limiting the invention.
In the description of embodiments of the present invention, it is to be understood that term " " center ", " longitudinal direction ", " transverse direction ", " length
Degree ", " width ", " thickness ", " on ", " under ", "front", "rear", "left", "right", " vertical ", " level ", " top ", " bottom ", " interior ",
The orientation or position relationship of the instruction such as " outer ", " clockwise ", " counterclockwise " are based on orientation shown in the drawings or position relationship, only
It is to be described for the ease of description embodiments of the present invention with simplified, rather than indicates or imply that the device or element of meaning are necessary
With specific orientation, with specific azimuth configuration and operation, therefore it is not intended that limitation to embodiments of the present invention.
In addition, term " first ", " second " are only used for describing purpose, and it is not intended that indicating or implying relative importance or implicit
Indicate the quantity of indicated technical characteristic.Thus, " first " is defined, the feature of " second " can be expressed or impliedly wrap
Include one or more feature.In the description of embodiments of the present invention, " multiple " are meant that two or two
More than, unless otherwise specifically defined.
, it is necessary to illustrate in the description of embodiments of the present invention, unless otherwise clearly defined and limited, term
" installation ", " connected ", " connection " should be interpreted broadly, for example, it may be fixedly connected or be detachably connected, or one
Connect body;Can be joined directly together, can also be indirectly connected to by intermediary, can be two element internals connection or
The interaction relationship of two elements.For the ordinary skill in the art, it can understand above-mentioned as the case may be
The concrete meaning of term in embodiments of the present invention.
In embodiments of the present invention, unless otherwise clearly defined and limited, fisrt feature second feature it
" on " or it " under " can directly be contacted including the first and second features, it is not directly to connect that can also include the first and second features
Touch but pass through the other characterisation contact between them.Moreover, fisrt feature second feature " on ", " top " and " on
Face " includes fisrt feature directly over second feature and oblique upper, or to be merely representative of fisrt feature level height special higher than second
Levy.Fisrt feature second feature " under ", " lower section " and " below " include fisrt feature immediately below second feature and tiltedly under
Side, or fisrt feature level height is merely representative of less than second feature.
Following disclosure provides many different embodiments or example is used for realizing embodiments of the present invention not
Same structure.In order to simplify the disclosure of embodiments of the present invention, hereinafter the part and setting of specific examples are described.When
So, they are only merely illustrative, and purpose does not lie in the limitation present invention.In addition, embodiments of the present invention can be in different examples
Repeat reference numerals and/or reference letter in son, this repetition are for purposes of simplicity and clarity, itself not indicate to be begged for
By the relation between various embodiments and/or setting.In addition, the various specific techniques that embodiments of the present invention are provided
With the example of material, but those of ordinary skill in the art can be appreciated that the application of other techniques and/or making for other materials
With.
Fig. 1 and Fig. 2 is referred to, the firmware upgrade method of embodiment of the present invention is used for Distributed-tier system 100.Distribution
Formula multilayer system 100 includes multiple parts 10, and the multiple part 10 includes working as prime part when prime part 12 and with described
Subordinate's part 14 of communication.Firmware upgrade method comprises the following steps:
S12, when prime part 12 obtains firmware upgrade procedure;
S14, when prime part 12 judges whether multiple subordinate's parts 14;
S16, prime part 12 is worked as when there is multiple subordinate's parts 14 to multiple subordinate's parts 14 broadcast firmware upgrade journey
Sequence.
The firmware upgrade method of present embodiment can be realized with the Distributed-tier system 100 of present embodiment.Step
S12, step 14, step 16 can be by realizing when prime part 12.Distributed-tier system 100 includes multiple parts 10.It is multiple
Part 10 include when prime part 12 and with when subordinate's part 14 of prime component communication.When prime part 12 is used to obtain firmware
ROMPaq.When prime part 12 be used to judging whether multiple subordinate's parts 14 and when there is multiple subordinate's parts 14 to
Multiple subordinate's parts 14 broadcast firmware upgrade procedure.
The firmware upgrade method and Distributed-tier system 100 of embodiment of the present invention, when prime part 12 obtains firmware
ROMPaq and firmware upgrade procedure is sent to multiple subordinate's parts 14 in the form of broadcasting, multiple subordinate's parts 14 are simultaneously
Receive firmware upgrade procedure and upgraded.In this way, each of Distributed-tier system 100 works as prime part 12 and subordinate's part
14 can be upgraded simultaneously, so that the time required for Distributed-tier system 100 is upgraded is short, efficiency high, user's body
The property tested is good.
Specifically, Distributed-tier system 100 is by client application, application-server layer and database service layer structure
Into.Distributed-tier system 100 includes being of coupled connections between multiple parts 10, all parts 10.Distributed-tier system it is each
Individual part 10 is by the way of principal and subordinate's data transfer and storage.Carried out mutually by RS485 communication bus between all parts 10
Connection communication.
It is appreciated that when prime part 12 can obtain firmware upgrade procedure by external-connected port.For example, when prime part
12 external-connected port can by the modes such as USB, SD card and wireless WIFI from the external world obtain firmware upgrade procedure.
It is appreciated that when prime part 12 can be toward transmission firmware upgrade procedure on RS485 communication bus and with broadcast
Firmware upgrade procedure is informed multiple subordinate's parts 14 by form simultaneously, and subordinate's part 14 is direct directly from RS485 communication bus
Obtain firmware upgrade procedure.
It is appreciated that Distributed-tier system 100 can apply in air conditioner.For example, part 10 can include collection control
Device, outdoor unit, MS, indoor set and line control machine.Central controller, outdoor unit, MS, indoor set and line control machine communicate total by RS485
Line carries out interconnection communication.In one embodiment, central controller may be considered that as when prime part 12, and outdoor unit can be with
It is considered as subordinate's part 14.When central controller by RS485 communication bus knows that oneself is connected with many outdoor units.Now, collect
Firmware upgrade procedure by the form of broadcast can be sent to many outdoor units by control device simultaneously.
In some embodiments, Fig. 3 and Fig. 4 is referred to, firmware upgrade method comprises the following steps:
S11, initialization Distributed-tier system 100;
S13, each part 10 obtains the current firmware information of multiple parts 10;With
S15, judges whether either component 10 is triggered firmware upgrade, if then entering step S12;If otherwise return to step
S15。
In some embodiments, firmware upgrade method can be by Distributed-tier system 100.Distributed-tier system
100 include part 10 and processor 20.Step S11 and step S15 can be realized by processor 20.Step S13 can be by part
10 realize.Processor 20 is used to initialize Distributed-tier system 100.Each part 10 is used to obtain the multiple part 10
Current firmware information.It is used to judge whether either component 10 is triggered firmware upgrade with processor 20, if then when prime part
12 obtain firmware upgrade procedure;If otherwise processor 20 continues to judge whether any part 10 is triggered firmware upgrade.
In this way, the investigation of firmware upgrade can one by one be carried out to either component 10, it is to avoid part 10 is triggered by external tapping
Distributed multilayer system 100 does not start upgrade step during upgrading.
It is appreciated that how initially initialization refers to be that data object or variable assign initial value in computer programming field,
Change and then depend on the attributes such as the storage class of program language used and the object to be initialized.For what is initialized
Program structure is then referred to as initializer or initialization list.Distributed-tier system 100 can be carried out initial by coded address
Change.
It is appreciated that Distributed-tier system 100 can include central controller, line control machine, outdoor unit and indoor set etc..Collection control
Device, line control machine, outdoor unit and indoor set are communicated by RS485 communication bus, and all the consolidating oneself of all parts 10
Part information informs other either components 10.In this way, each part can know either component in Distributed-tier system 100
10 firmware information.
It is appreciated that central controller or line control machine are generally located on the indoor position for being easier to contact.Therefore, firmware upgrade
Central controller or line control machine are typically chosen as the point of penetration of the triggering of firmware upgrade.The external interface of central controller or line control machine
Firmware upgrade procedure is obtained from the external world by modes such as USB, SD card and wireless WIFI, and then carries out triggering upgrading.Opposite, room
Outer machine is generally located on outdoor and indoor set and is generally located on the places such as smallpox, is not selected as the incision of triggering upgrading typically
Point.
In some embodiments, referring to Fig. 5, step S13 also includes following sub-step:
S132, Distributed-tier system 100 distributes address to indoor set;With
S134, Distributed-tier system 100 is normally run.
In some embodiments, step S132 and step S134 can be realized by Distributed-tier system 100.It is distributed
Multilayer system 100 is used to distribute address to indoor set.Distributed-tier system 100 is normally run.
In this way, distributing address to indoor set, Distributed-tier system 100 can be made to carry out data according to corresponding address
Send with receiving, so that Distributed-tier system 100 is normally run.
Specifically, to indoor set geocoding can be carried out in sequence.Distributed-tier system 100 is in transmission data
During matched according to address, and then transfer data to corresponding destination address, can so reduce error rate.
In some embodiments, the firmware information includes model information, software version information, chip information, supported
Function information and firmware size.
In this way, can be quick by the model information of part, software version information, chip information and the function information of support
Know the firmware upgrade information of part.
In some embodiments, referring to Fig. 6, when prime part 12 has transparent transmission ability, firmware upgrade method is also wrapped
Include following steps:
S17, when prime part 12 obtains the software information of firmware upgrade procedure;
S18, when prime part 12 judges whether to be adapted to upgrading according to software information and current firmware information, if otherwise entering
Step S14 simultaneously consolidates when there is multiple subordinate's parts 14 when prime part 12 utilizes transparent transmission ability to be broadcasted to multiple subordinate's parts 14
Part ROMPaq.Firmware upgrade procedure is utilized to carry out firmware upgrade with prime part 12 is worked as when being adapted to upgrading.
In some embodiments, firmware upgrade method can be realized by Distributed-tier system 100.When prime part 12
With transparent transmission ability.When software information of the prime part 12 for obtaining firmware upgrade procedure.When prime part 12 is used for basis
Software information and current firmware information judge whether to be adapted to upgrading, if otherwise current level part 12 is multiple for judging whether
Subordinate's part 14 simultaneously broadcasts firmware upgrade journey using transparent transmission ability when there is multiple subordinate's parts 14 to multiple subordinate's parts 14
Sequence;With when being adapted to upgrading firmware upgrade is carried out using firmware upgrade procedure.
In this way, upgraded when prime part 12 is being adapted to upgrading and when being not suitable for upgrading it is direct by data penetration transmission to
Subordinate's part 14, such mode can improve the speed of data transfer, reduce the time required for upgrading.
It is appreciated that transparent transmission refers to during transmission services, Transmission system is on the premise of transmission quality is ensured, only
Need the data for needing to transmit being sent to destination node, handled without the data to transmission.When prime part 12 can be with
The data of transmission are directly transmitted to subordinate's part 14 in the way of transparent transmission.
It is appreciated that there is the chip of storage capacity to include Bootloader areas when prime part 12, it is application area, standby
Part program area and program information area.When immediately entering Bootloader areas after electricity on prime part 12.It is responsible in Bootloader areas
Application area and stand-by program area are managed.Application area includes the program with specific function.Stand-by program area
The firmware program of upgrading can be backed up.When receiving the program of firmware of upgrading when prime part, when prime part
The program of the firmware of upgrading and the program internal memory in stand-by program area are compared.If stand-by program area can accommodate upgrading
The program of firmware, stand-by program area will preserve the program of the firmware of upgrading.Program information area be arranged on application area and
The end in stand-by program area.Program information area is included when the letter such as model information, version, program size and verification of prime part
Breath.
It is appreciated that when prime part 12 read firmware upgrade procedure software information, software information include model information,
The information such as version, program size and verification.When prime part 12 believes the information of reading with the current firmware when prime part 12
Breath, which is compared, to be judged whether to be adapted to upgrading.For example, the model information of firmware upgrade procedure is believed with the type when prime part 12
When ceasing inconsistent, then when prime part 12 is not suitable for upgrading.Or the model information of firmware upgrade procedure is with working as prime part 12
Model information it is consistent when, although the version information of firmware upgrade procedure and when prime part 12 version information it is inconsistent, but
It is when prime part 12 is still adapted to upgrading.
In some embodiments, step S16 includes following sub-step
S162, firmware upgrade journey is broadcasted when being adapted to upgrading again when prime part 12 is used for first storage firmware upgrade procedure
Sequence.
In some embodiments, firmware upgrade method can be realized by Distributed-tier system 100.Step S162 can be with
By being realized when prime part 12.Firmware liter is broadcasted again when prime part 12 is used for first storage firmware upgrade procedure when being adapted to upgrading
Level program.
When prime part 12 by first storing firmware upgrade procedure broadcasts firmware upgrade procedure again, in this way, when prime part
12 demand can determine when upgrade as needed, and the firmware upgrade procedure of storage can also be directly forwarded to other need
The part 10 to be upgraded.
Specifically, firmware upgrade procedure is stored in when the backup of prime part 12 when prime part 12 is being adapted to upgrading
Program area.When the upgrading failure of prime part 12, when prime part 12 can again be entered using the firmware upgrade procedure preserved
Row upgrading.In addition, when miscellaneous part 10 carries out upgrading failure by way of broadcast, when prime part 12 can be directly from standby
Part program area obtains firmware upgrade procedure and the part 10 of failure is directly forwarded to by man-to-man mode.
In some embodiments, referring to Fig. 7, firmware upgrade method is further comprising the steps of:
S19, when prime part 12 judges whether itself is bottom level part;If into step S16;With
When oneself as bottom level part then when prime part 12 judges subordinate's part 14 is not present.
In some embodiments, firmware upgrade method can be realized by Distributed-tier system 100.Step S19 can be with
By being realized when prime part 12.When prime part 12 is used to judge whether itself is bottom level part;If then when prime part 12
Obtain the software information of firmware upgrade procedure;With when from as bottom level part then when prime part 12 be used for judge be not present subordinate
Part 14.
In this way, by judging whether it is bottom level part step by step, can be examined to each grade of Distributed-tier system 100
Look into and each part is obtained firmware upgrade procedure, so as to cover whole portions of Distributed-tier system 100
Part.
In some embodiments, referring to Fig. 8, firmware upgrade method is further comprising the steps of:
S21, when there is multiple subordinate's parts 14 when prime part 12 inquires about the firmware upgrade shape of multiple subordinate's parts 14
State;With each subordinate's part 14 firmware upgrade state is fed back to when prime part 12.
In some embodiments, firmware upgrade method can be realized by Distributed-tier system 100.Step S21 can be with
By being realized when prime part 12 and subordinate's part 14.When there is multiple subordinate's parts 14 when prime part 12 is used to inquire about multiple
The firmware upgrade state of subordinate's part 14.Each subordinate part 14 is used for when prime part 12 feeds back firmware upgrade state.
In this way, when prime part 12 is in communication with each other with subordinate part 14, so as to improve the speed of information interchange.
In some embodiments, referring to Fig. 9, multiple parts 10 include the lower-level part communicated with subordinate part 14
16;Subordinate's part 14 forwards firmware liter to while prime part 12 feeds back firmware upgrade state to lower-level part 18
Level program.
In some embodiments, firmware upgrade method can be realized by Distributed-tier system 100.Multiple parts 10 are wrapped
Include the lower-level part 16 communicated with subordinate part 14.Subordinate's part 14 is used for when prime part 12 feeds back firmware upgrade state
While to lower-level part 18 forward firmware upgrade procedure.
Subordinate's part 14 to while prime part 12 feeds back firmware upgrade state to lower-level part 18 by forwarding
Firmware upgrade procedure.In this way, the efficiency of communication can be improved, so as to reduce the time of upgrading.
Specifically, referring to Fig. 10, in one embodiment, the external tapping of central controller 12 obtains solid by modes such as USB
Part ROMPaq.Outdoor unit 14 (14a), outdoor unit 14 (14b), outdoor unit 14 (14c) are entered by a RS485 communications A bus
Row communication.Outdoor unit 14 (14a) as RS485 communication bus outdoor host computer.Outdoor unit 14 (14a), indoor set 16 (16a),
Indoor set 16 (16b), indoor set 16 (16c) are communicated by another RS485 communications B bus.Central controller 12 is by firmware liter
Level program is handed down to outdoor unit 14 (14a).Outdoor unit 14 (14a) judge firmware upgrade procedure model information whether with outdoor unit
14 model information matching, if so, outdoor unit 14 (14a) communicates A buses to outdoor unit 14 (14b) and outdoor unit by RS485
14 (14c) broadcast upgradings.Meanwhile, outdoor unit 14 (14a) judge firmware upgrade procedure model information whether with indoor set 16
Model information is matched, if so, outdoor unit 14 (14a) communicates B buses to indoor set 16 (16a), indoor set 16 by RS485
The broadcast upgrading of (16b), indoor set 16 (16c).
Certainly, the connected mode of central controller 12, outdoor unit 14 and indoor set 16 is not limited to above-mentioned embodiment, one
In individual embodiment, central controller 12 can also be connected by wiring with indoor set 16.Or in other examples, according to reality
The installation requirements on border are using other embodiments.
In the description of this specification, reference term " embodiment ", " some embodiments ", " schematically implementation
The description of mode ", " example ", " specific example " or " some examples " etc. means the tool with reference to the embodiment or example description
Body characteristicses, structure, material or feature are contained at least one embodiment of the present invention or example.In this manual,
Identical embodiment or example are not necessarily referring to the schematic representation of above-mentioned term.Moreover, the specific features of description, knot
Structure, material or feature can in an appropriate manner be combined in any one or more embodiments or example.
Any process described otherwise above or method description are construed as in flow chart or herein, represent to include
Module, fragment or the portion of the code of one or more executable instructions for the step of realizing specific logical function or process
Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not be by shown or discussion suitable
Sequence, including according to involved function by it is basic simultaneously in the way of or in the opposite order, carry out perform function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
Represent in flow charts or logic and/or step described otherwise above herein, for example, being considered use
In the order list for the executable instruction for realizing logic function, it may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system including the system of processing module or other can be from instruction
The system of execution system, device or equipment instruction fetch and execute instruction) use, or combine these instruction execution systems, device or
Equipment and use.For the purpose of this specification, " computer-readable medium " can be it is any can include, store, communicating, propagating or
Transmission procedure uses for instruction execution system, device or equipment or with reference to these instruction execution systems, device or equipment
Device.The more specifically example (non-exhaustive list) of computer-readable medium includes following:With one or more wirings
Electrical connection section (control method), portable computer diskette box (magnetic device), random access memory (RAM), read-only storage
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device, and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, can even is that can be in the paper of printing described program thereon or other are suitable for computer-readable medium
Medium, because can then enter edlin, interpretation or if necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each several part of embodiments of the present invention can be with hardware, software, firmware or combinations thereof come real
It is existing.In the above-described embodiment, multiple steps or method can be with storages in memory and by suitable instruction execution system
The software or firmware of execution is realized.If for example, being realized with hardware, with another embodiment, ability can be used
Any one of following technology known to domain or their combination are realized:With for realizing logic function to data-signal
The discrete logic of logic gates, the application specific integrated circuit with suitable combinational logic gate circuit, programmable gate array
(PGA), field programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that to realize all or part of step that above-described embodiment method is carried
Rapid to can be by program to instruct the hardware of correlation to complete, described program can be stored in a kind of computer-readable storage medium
In matter, the program upon execution, including one or a combination set of the step of embodiment of the method.
In addition, each functional unit in various embodiments of the present invention can be integrated in a processing module, also may be used
To be that unit is individually physically present, can also two or more units be integrated in a module.It is above-mentioned integrated
Module can both be realized in the form of hardware, it would however also be possible to employ the form of software function module is realized.The integrated module
If being realized using in the form of software function module and as independent production marketing or in use, a calculating can also be stored in
In machine read/write memory medium.
Storage medium mentioned above can be read-only storage, disk or CD etc..
Although embodiments of the present invention have been shown and described above, it is to be understood that above-mentioned embodiment is
Exemplary, it is impossible to limitation of the present invention is interpreted as, one of ordinary skill in the art within the scope of the invention can be right
Above-mentioned implementation is implemented be changed, change, replacing and modification.
Claims (20)
1. a kind of firmware upgrade method, for Distributed-tier system, the Distributed-tier system includes multiple parts, described
Multiple parts include working as prime part and with described when subordinate's part of prime component communication;Characterized in that, the firmware liter
Level method comprises the following steps:
It is described to work as prime component retrieval firmware upgrade procedure;
It is described when prime part judges whether multiple subordinate's parts;With
When firmware upgrade described in prime part to multiple subordinate's means broadcasts described in when there is multiple subordinate's parts
Program.
2. firmware upgrade method as claimed in claim 1, it is characterised in that the Distributed-tier system includes downwards step by step
Central controller, outdoor unit, MS, indoor set and line control machine.
3. firmware upgrade method as claimed in claim 1, it is characterised in that the firmware upgrade method comprises the following steps:
Initialize the Distributed-tier system;
The current firmware information of each the multiple part of component retrieval;With
Judge whether any part is triggered firmware upgrade, described work as prime component retrieval firmware upgrade journey if then entering
The step of sequence;If otherwise return it is described judge any current part whether be triggered firmware upgrade the step of.
4. firmware upgrade method as claimed in claim 3, it is characterised in that the initialization Distributed-tier system
Step comprises the following steps:
The Distributed-tier system distributes address to the indoor set;With
The Distributed-tier system is normally run.
5. firmware upgrade method as claimed in claim 3, it is characterised in that the firmware information includes model information, software
Version information, chip information, the function information supported and firmware size.
6. firmware upgrade method as claimed in claim 3, described when prime part has transparent transmission ability, it is characterised in that institute
Firmware upgrade method is stated to comprise the following steps:
It is described when the software information of firmware upgrade procedure described in prime component retrieval;
The prime part of working as judges whether to be adapted to upgrading according to the software information and the current firmware information, if otherwise entering
Enter described the step of prime part judges whether multiple subordinate's parts and when there is multiple subordinate's parts
The prime part of working as utilizes firmware upgrade procedure described in the transparent transmission ability to the multiple subordinate's means broadcasts;With
When prime part utilizes firmware upgrade procedure progress firmware upgrade described in when being adapted to upgrading.
7. firmware upgrade method as claimed in claim 6, it is characterised in that described when there are multiple subordinate's part when institutes
State when firmware upgrade procedure described in prime part to multiple subordinate's means broadcasts comprises the following steps:
The firmware upgrade procedure is broadcasted again when prime part first stores the firmware upgrade procedure described in when being adapted to upgrading.
8. firmware upgrade method as claimed in claim 6, it is characterised in that the firmware upgrade method is further comprising the steps of:
It is described when prime part judge itself whether be bottom level part;If then entering described when firmware described in prime component retrieval
The step of software information of ROMPaq;With
When from as bottom level part, then the prime part of working as judges subordinate's part is not present.
9. the firmware upgrade method as described in profit requires 6, it is characterised in that the firmware upgrade method is further comprising the steps of:
When the firmware upgrade state of the multiple subordinate's parts of prime component queries described in when there is multiple subordinate's parts;
With
Each subordinate's part works as prime component feedback firmware upgrade state to described.
10. firmware upgrade method as claimed in claim 9, it is characterised in that the multiple part includes and subordinate's part
The lower-level part of communication;Each subordinate's part to it is described work as prime component feedback firmware upgrade state while to described
Lower-level part forwards the firmware upgrade procedure.
11. a kind of Distributed-tier system, it is characterised in that the Distributed-tier system includes multiple parts, the multiple
Part includes working as prime part and with described when subordinate's part of prime component communication, described when prime part is used to obtain firmware
ROMPaq;The prime part of working as is used to judge whether multiple subordinate's parts and there are multiple portions of subordinate
To firmware upgrade procedure described in multiple subordinate's means broadcasts during part.
12. such as the Distributed-tier system of claim 11, it is characterised in that the Distributed-tier system includes downwards step by step
Central controller, outdoor unit, MS, indoor set and line control machine.
13. Distributed-tier system as claimed in claim 11, it is characterised in that the Distributed-tier system includes processing
Device, the processor is used to initialize the Distributed-tier system;Each part is used to obtain the multiple part
Current firmware information;It is used to judge whether any part is triggered firmware upgrade with processor, if then described work as prime
Component retrieval firmware upgrade procedure;If otherwise processor continues to judge whether any part is triggered firmware upgrade.
14. Distributed-tier system as claimed in claim 13, it is characterised in that
The Distributed-tier system is used to distribute address to the indoor set;With
The Distributed-tier system is normally run.
15. Distributed-tier system as claimed in claim 13, it is characterised in that the firmware information include model information,
Software version information, chip information, the function information supported and firmware size.
16. Distributed-tier system as claimed in claim 13, described when prime part has transparent transmission ability, its feature exists
In,
The software information when prime part for obtaining the firmware upgrade procedure;
The prime part of working as is used to judge whether suitable upgrading according to the software information and the current firmware information, if not
It is then described when prime part is used to judge whether multiple subordinate's parts and profit when there is multiple subordinate's parts
With firmware upgrade procedure described in the transparent transmission ability to the multiple subordinate's means broadcasts;Utilize described solid with when being adapted to upgrading
Part ROMPaq carries out firmware upgrade.
17. Distributed-tier system as claimed in claim 16, it is characterised in that
When prime part is used to first store the firmware upgrade procedure and broadcast the firmware upgrade journey again described in when being adapted to upgrading
Sequence.
18. Distributed-tier system as claimed in claim 16, it is characterised in that
The prime part of working as is used to judge whether itself is bottom level part;If then described work as firmware described in prime component retrieval
The software information of ROMPaq;With
When from as bottom level part, then the prime part of working as is used to judge subordinate's part is not present.
19. Distributed-tier system as claimed in claim 16, it is characterised in that
Firmware upgrade described in when there is multiple subordinate's parts when prime part for inquiring about multiple subordinate's parts
State;With
Each subordinate's part is used to work as prime component feedback firmware upgrade state to described.
20. Distributed-tier system as claimed in claim 19, it is characterised in that
The multiple part includes the lower-level part with subordinate's component communication;Each subordinate's part is used for described
While prime component feedback firmware upgrade state the firmware upgrade procedure is forwarded to the lower-level part.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710499584.5A CN107329784B (en) | 2017-06-27 | 2017-06-27 | Firmware upgrading method and distributed multi-layer system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710499584.5A CN107329784B (en) | 2017-06-27 | 2017-06-27 | Firmware upgrading method and distributed multi-layer system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107329784A true CN107329784A (en) | 2017-11-07 |
CN107329784B CN107329784B (en) | 2021-01-05 |
Family
ID=60197602
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710499584.5A Active CN107329784B (en) | 2017-06-27 | 2017-06-27 | Firmware upgrading method and distributed multi-layer system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107329784B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109144551A (en) * | 2018-09-05 | 2019-01-04 | 杭州和利时自动化有限公司 | Equipment firmware update and system under a kind of multi-layer networking mode |
CN109656597A (en) * | 2018-12-19 | 2019-04-19 | 广东美的暖通设备有限公司 | Firmware upgrade method, device and computer readable storage medium |
CN110990040A (en) * | 2019-12-02 | 2020-04-10 | 珠海格力电器股份有限公司 | Software upgrading method of air conditioning system |
CN111124445A (en) * | 2018-11-01 | 2020-05-08 | 中移(杭州)信息技术有限公司 | Home gateway upgrading method and home gateway |
CN111475184A (en) * | 2020-03-09 | 2020-07-31 | 苏州浪潮智能科技有限公司 | Method for guiding front-stage and back-stage online upgrade of server power supply |
CN112104738A (en) * | 2020-09-18 | 2020-12-18 | 深圳市赛秀信息技术有限公司 | Automatic upgrading method, server and system for electronic price tag system software |
CN113568640A (en) * | 2021-07-30 | 2021-10-29 | 佛山市顺德区美的电子科技有限公司 | Upgrading method of main program of air conditioner external unit, operation control device and air conditioner |
CN115314384A (en) * | 2022-06-13 | 2022-11-08 | 珠海派诺科技股份有限公司 | Device upgrading method and device upgrading system under RS485 bus and collector |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101009599A (en) * | 2007-01-24 | 2007-08-01 | 华为技术有限公司 | Remote load method, system and device of patch package file to the network element node |
CN101105756A (en) * | 2007-08-21 | 2008-01-16 | 中兴通讯股份有限公司 | Multi-core terminal firmware upgrading method |
CN101409636A (en) * | 2008-11-20 | 2009-04-15 | 山东山大新元易通信息科技有限公司 | Safety on-line upgrade method for networking equipment firmware |
US20130145358A1 (en) * | 2011-12-02 | 2013-06-06 | Xerox Corporation | Method and apparatus for automatically distributing firmware updates in an image production device network |
CN103763351A (en) * | 2014-01-03 | 2014-04-30 | 中达电通股份有限公司 | Software online upgrading method based on upper computer and lower computers |
CN105812426A (en) * | 2014-12-30 | 2016-07-27 | 浙江大华***工程有限公司 | Upgrade system and upgrade method for multi-business access platform |
-
2017
- 2017-06-27 CN CN201710499584.5A patent/CN107329784B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101009599A (en) * | 2007-01-24 | 2007-08-01 | 华为技术有限公司 | Remote load method, system and device of patch package file to the network element node |
CN101105756A (en) * | 2007-08-21 | 2008-01-16 | 中兴通讯股份有限公司 | Multi-core terminal firmware upgrading method |
CN101409636A (en) * | 2008-11-20 | 2009-04-15 | 山东山大新元易通信息科技有限公司 | Safety on-line upgrade method for networking equipment firmware |
US20130145358A1 (en) * | 2011-12-02 | 2013-06-06 | Xerox Corporation | Method and apparatus for automatically distributing firmware updates in an image production device network |
CN103763351A (en) * | 2014-01-03 | 2014-04-30 | 中达电通股份有限公司 | Software online upgrading method based on upper computer and lower computers |
CN105812426A (en) * | 2014-12-30 | 2016-07-27 | 浙江大华***工程有限公司 | Upgrade system and upgrade method for multi-business access platform |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109144551A (en) * | 2018-09-05 | 2019-01-04 | 杭州和利时自动化有限公司 | Equipment firmware update and system under a kind of multi-layer networking mode |
CN111124445A (en) * | 2018-11-01 | 2020-05-08 | 中移(杭州)信息技术有限公司 | Home gateway upgrading method and home gateway |
CN111124445B (en) * | 2018-11-01 | 2023-08-15 | 中移(杭州)信息技术有限公司 | Home gateway upgrading method and home gateway |
CN109656597A (en) * | 2018-12-19 | 2019-04-19 | 广东美的暖通设备有限公司 | Firmware upgrade method, device and computer readable storage medium |
CN110990040A (en) * | 2019-12-02 | 2020-04-10 | 珠海格力电器股份有限公司 | Software upgrading method of air conditioning system |
CN111475184A (en) * | 2020-03-09 | 2020-07-31 | 苏州浪潮智能科技有限公司 | Method for guiding front-stage and back-stage online upgrade of server power supply |
CN112104738A (en) * | 2020-09-18 | 2020-12-18 | 深圳市赛秀信息技术有限公司 | Automatic upgrading method, server and system for electronic price tag system software |
CN112104738B (en) * | 2020-09-18 | 2023-04-18 | 深圳赛时达科技有限公司 | Automatic upgrading method, server and system for electronic price tag system software |
CN113568640A (en) * | 2021-07-30 | 2021-10-29 | 佛山市顺德区美的电子科技有限公司 | Upgrading method of main program of air conditioner external unit, operation control device and air conditioner |
CN115314384A (en) * | 2022-06-13 | 2022-11-08 | 珠海派诺科技股份有限公司 | Device upgrading method and device upgrading system under RS485 bus and collector |
Also Published As
Publication number | Publication date |
---|---|
CN107329784B (en) | 2021-01-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107329784A (en) | Firmware upgrade method and Distributed-tier system | |
CN111913665A (en) | Mounting method and device of storage volume and electronic equipment | |
CN105099786B (en) | The method and apparatus of business configuration in a kind of network cutover | |
CN105843656A (en) | System upgrading method for insufficient disk space, terminal device and server | |
CN111176646B (en) | Generation method and device of emergency plan web page | |
TW201013411A (en) | Method for providing path failover for multiple SAS expanders operating as a single SAS expander | |
CN106878204B (en) | Virtual machine creating method and device | |
CN103197625A (en) | Remote temperature and humidity monitoring system based on cloud storage | |
CN108845820A (en) | firmware batch upgrading method, system and air conditioner | |
CN105095103A (en) | Storage device management method and device used for cloud environment | |
CN105227764A (en) | Method and device for transmitting game application program on mobile terminal | |
CN102567262B (en) | Expansible in-line memory programs | |
CN105446762B (en) | The method for updating program and program updating system of battery management system | |
CN105786732B (en) | Data access method and device | |
CN107172039A (en) | The acquisition methods of agreement key assignments, device and system | |
CN106130771B (en) | Method for upgrading FLASH on line based on in-band Ethernet | |
CN105827496A (en) | Method and apparatus for managing PE device | |
CN104219159A (en) | Method and device for performing link aggregation based on virtual interface of virtual local area network | |
CN102590956B (en) | Optical fiber connector managing device and method | |
CN107328034A (en) | Centralized management method and device for air conditioning unit and air conditioning system | |
CN109491679A (en) | A kind of CPLD online upgrading method and device | |
JP5466990B2 (en) | Communication unit, communication system, display unit and display system | |
CN106789415A (en) | The acquisition method of facility information, apparatus and system | |
CN110798547A (en) | Address configuration method of outdoor unit, address configuration method of indoor unit and air conditioner | |
CN108662722A (en) | Signal transmission method, system, device, storage medium and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |