CN107580071A - Master-slave equipment upgrade method, device and its equipment - Google Patents
Master-slave equipment upgrade method, device and its equipment Download PDFInfo
- Publication number
- CN107580071A CN107580071A CN201710899761.9A CN201710899761A CN107580071A CN 107580071 A CN107580071 A CN 107580071A CN 201710899761 A CN201710899761 A CN 201710899761A CN 107580071 A CN107580071 A CN 107580071A
- Authority
- CN
- China
- Prior art keywords
- equipment
- sub
- device upgrade
- upgrading
- upgrade bag
- 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.)
- Pending
Links
Landscapes
- Stored Programmes (AREA)
Abstract
The present invention proposes a kind of master-slave equipment upgrade method, device and its equipment, wherein, methods described is applied to main equipment, including:The device upgrade bag and upgrading rule sent by wide area network reception server, judges the upgrading Packet type in device upgrade bag;If judgement, which is known, includes sub- device upgrade bag in device upgrade bag, sub- device upgrade bag is sent to by corresponding sub- equipment by LAN;The updating result of sub- equipment feedback is received, and corresponding operating is carried out to the sub- equipment of updating result failure according to upgrading rule.Upgraded hereby it is achieved that sub- equipment obtains sub- device upgrade bag by LAN can, so as to reduce dependence of the device upgrade process to wide area network, alleviate the burden of server, improve the success rate for upgrading of sub- equipment, reduce production cost.
Description
Technical field
The present invention relates to household electrical appliance technical field, more particularly to a kind of master-slave equipment upgrade method, device and its equipment.
Background technology
At present, increasing smart machine appears in market, and the function of smart machine is more next also with the development of technology
It is abundanter, also there is the terminal intelligent equipment of the supporting more sub- equipment of a main equipment.After user buys smart machine, it is
Some newly developed or some optimization properties of product functions are supplied to user, it is supporting for main equipment there is an urgent need to one kind
The method of Over-the-Air Technology (OTA, the over the air) upgradings of more sub- equipment.
In correlation technique, upgrading mode of the main equipment containing more sub- equipment, it usually needs sub- equipment is independent with servicing
Device, which establishes connection or is connected to server by main equipment, downloads corresponding AKU.Thus, add wide to being used for multiple times
The dependence of domain net, also increases the burden of server, and situations such as network problem causes sub- device upgrade exception be present, makes
The success rate for upgrading for obtaining sub- equipment is relatively low.
The content of the invention
The purpose of the present invention is intended to one of technical problem at least solving in correlation technique to a certain extent.
Therefore, first purpose of the present invention is to propose a kind of master-slave equipment upgrade method solve in the prior art
Device upgrade process adds the dependence to wide area network is used for multiple times, and also increases the burden of server, and sub- equipment
The problem of success rate for upgrading is relatively low.
Second object of the present invention is to propose a kind of master-slave equipment update device.
Third object of the present invention is to propose a kind of computer equipment.
Fourth object of the present invention is to propose a kind of non-transitorycomputer readable storage medium.
For the above-mentioned purpose, first aspect present invention embodiment proposes a kind of master-slave equipment upgrade method, methods described
Applied to main equipment, including:The device upgrade bag and upgrading rule sent by wide area network reception server, judges the equipment
Upgrading Packet type in AKU;If judgement, which is known, includes sub- device upgrade bag in the device upgrade bag, pass through LAN
The sub- device upgrade bag is sent to corresponding sub- equipment;The updating result of the sub- equipment feedback is received, and according to institute
State upgrading rule and corresponding operating is carried out to the sub- equipment of updating result failure.
The master-slave equipment upgrade method of the embodiment of the present invention, the device upgrade bag sent by wide area network reception server and
Upgrading rule, and judge the upgrading Packet type in device upgrade bag, include sub- device upgrade in device upgrade bag is known in judgement
Sub- device upgrade bag is sent to by corresponding sub- equipment by LAN during bag, then receives the upgrading knot of sub- equipment feedback
Fruit, and corresponding operating is carried out to the sub- equipment of updating result failure according to upgrading rule.Hereby it is achieved that sub- equipment passes through local
Net can obtains sub- device upgrade bag and upgraded, and so as to reduce dependence of the device upgrade process to wide area network, mitigates
The burden of server, the success rate for upgrading of sub- equipment is improved, reduce production cost.
In addition, master-slave equipment upgrade method according to the above embodiment of the present invention can also have technology additional as follows special
Sign:
Alternatively, it is described that corresponding operating is carried out to the sub- equipment of updating result failure according to the upgrading rule, including:Will
The sub- equipment of updating result failure is upgraded again;And/or by updating result failure sub- equipment return to updating operation before
State.
Alternatively, before the device upgrade bag sent by wide area network reception server and upgrading rule, also wrap
Include:The software version number of sub- equipment that the main equipment is reported to the server by wide area network and connected, so as to described
When server detects that software version number has renewal, triggering device upgrade operation.
Alternatively, described method, in addition to:If judgement, which is known, includes main equipment AKU in the device upgrade bag,
Then the main equipment is upgraded.
Alternatively, described method, in addition to:After updating operation terminates, by wide area network to the server feedback liter
Level result.
For the above-mentioned purpose, second aspect of the present invention embodiment proposes a kind of master-slave equipment update device, including:Receive
Judge module, for the device upgrade bag and upgrading rule sent by wide area network reception server, judge the device upgrade
Upgrading Packet type in bag;Sending module, if including sub- device upgrade bag in the device upgrade bag for judging to know, lead to
Cross LAN and the sub- device upgrade bag is sent to corresponding sub- equipment;Receiving module, it is anti-for receiving the sub- equipment
The updating result of feedback;Processing module, for carrying out corresponding operating to the sub- equipment of updating result failure according to the upgrading rule.
The master-slave equipment update device of the embodiment of the present invention, the device upgrade bag sent by wide area network reception server and
Upgrading rule, and judge the upgrading Packet type in device upgrade bag, include sub- device upgrade in device upgrade bag is known in judgement
Sub- device upgrade bag is sent to by corresponding sub- equipment by LAN during bag, then receives the upgrading knot of sub- equipment feedback
Fruit, and corresponding operating is carried out to the sub- equipment of updating result failure according to upgrading rule.Hereby it is achieved that sub- equipment passes through local
Net can obtains sub- device upgrade bag and upgraded, and so as to reduce dependence of the device upgrade process to wide area network, mitigates
The burden of server, the success rate for upgrading of sub- equipment is improved, reduce production cost.
In addition, master-slave equipment update device according to the above embodiment of the present invention can also have technology additional as follows special
Sign:
Alternatively, the processing module is specifically used for:The sub- equipment of updating result failure is upgraded again;And/or
The state sub- equipment of updating result failure returned to before updating operation.
Alternatively, described device, in addition to:Reporting module, it is described for being reported by wide area network to the server
The software version number of main equipment and the sub- equipment connected, when detecting that software version number has renewal so as to the server, touch
Send out device upgrade operation.
Alternatively, described device, in addition to:Upgraded module, if being included for judging to know in the device upgrade bag
Main equipment AKU, then the main equipment is upgraded.
Alternatively, described device, in addition to:Feedback module, after terminating for updating operation, by wide area network to described
Server feedback updating result.
For the above-mentioned purpose, third aspect present invention embodiment proposes a kind of computer equipment, including memory, processing
Device and storage on a memory and the computer program that can run on a processor, computer program described in the computing device
When, the master-slave equipment upgrade method as described in first aspect embodiment is realized, methods described includes:Pass through wide area network reception service
The device upgrade bag and upgrading rule that device is sent, judge the upgrading Packet type in the device upgrade bag;If judgement is known described
Sub- device upgrade bag is included in device upgrade bag, then the sub- device upgrade bag is sent into corresponding son by LAN sets
It is standby;The updating result of the sub- equipment feedback is received, and the sub- equipment of updating result failure is entered according to the upgrading rule
Row corresponding operating.
For the above-mentioned purpose, third aspect present invention embodiment proposes a kind of non-transitory computer-readable storage medium
Matter, it is stored thereon with computer program, it is characterised in that realized when the program is executed by processor such as first aspect embodiment institute
The master-slave equipment upgrade method stated, methods described include:The device upgrade bag sent by wide area network reception server and upgrading
Rule, judge the upgrading Packet type in the device upgrade bag;If judgement, which is known, includes sub- equipment liter in the device upgrade bag
Level bag, then the sub- device upgrade bag is sent to by corresponding sub- equipment by LAN;Receive the sub- equipment feedback
Updating result, and corresponding operating is carried out to the sub- equipment of updating result failure according to the upgrading rule.
The additional aspect of the present invention and advantage 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
Of the invention above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments
Substantially and it is readily appreciated that, wherein:
Fig. 1 is the schematic flow sheet of master-slave equipment upgrade method according to an embodiment of the invention;
Fig. 2 is the structural representation of master-slave equipment upgrading according to an embodiment of the invention;
Fig. 3 is the structural representation of master-slave equipment update device according to an embodiment of the invention;
Fig. 4 is the structural representation of master-slave equipment update device in accordance with another embodiment of the present invention;
Fig. 5 is the structural representation of computer equipment according to an embodiment of the invention.
Embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to end
Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached
The embodiment of figure description is exemplary, it is intended to for explaining the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings master-slave equipment upgrade method, device and its equipment of the embodiment of the present invention are described.
Specifically, in correlation technique, it usually needs sub- equipment is independent to be established connection with server or connected by main equipment
It is connected to server and downloads the related updating operation of corresponding AKU progress.However, this mode is added to wide area is used for multiple times
The dependence of net, also increases the burden of server, and situations such as network problem causes sub- device upgrade exception be present so that
The success rate for upgrading of sub- equipment is relatively low.
In order to solve the above problems, the present invention proposes a kind of master-slave equipment upgrade method, realizes sub- equipment and passes through local
Net can obtains sub- device upgrade bag and upgraded, and so as to reduce dependence of the device upgrade process to wide area network, mitigates
The burden of server, the success rate for upgrading of sub- equipment is improved, reduce production cost.It is specific as follows:
Fig. 1 is the schematic flow sheet of master-slave equipment upgrade method according to an embodiment of the invention.As shown in figure 1, should
Master-slave equipment upgrade method includes:
Step 101, the device upgrade bag and upgrading rule sent by wide area network reception server, judges device upgrade bag
In upgrading Packet type.
Step 102, if judging to know and include sub- device upgrade bag in device upgrade bag, by LAN by sub- equipment liter
Level bag is sent to corresponding sub- equipment.
Specifically, in embodiments of the present invention, master-slave equipment refers mainly to the end of a main equipment and related more sub- equipment
End equipment, main equipment possess wide area network concatenation ability and are subjected to by wide area network and LAN progress remote control, including but
It is not limited to that (including 2G modules based on GSM, cdma communication are based on containing wifi communication modules, 2G/3G/4G communication modules
The 3G module of CDMA2000, WCDMA, TD-SCDMA, WiMAX communication, the 4G modules based on LTE communication, and it is follow-on logical
The 5G modules of letter) etc. in one or more.Sub- equipment must possess the ability to communicate with main equipment, including but not limited to office
One or more in domain net ability to communicate such as wifi module, Zigbee module, bluetooth module and wired connection communication etc..
It should be noted that the master-slave equipment upgrading in the embodiment of the present invention, generally refers to Over-the-Air
Technology (OTA, over the air) upgrading, i.e., data are carried out to module or electric-controlled plate by the interface of network service
And application carries out the technology of remote upgrade, the interface of network service can be the HTTP/HTTPS agreements based on TCP, MQTT agreements
Deng.
Specifically, Fig. 2 is the structural representation of master-slave equipment upgrading according to an embodiment of the invention.As shown in Fig. 2
It can be established between server and main equipment by wide area network and connect and carry out associative operation;Main equipment and related more height are set
It is standby, established by LAN and connect and carry out associative operation.
Specifically, the master-slave equipment upgrade method of the embodiment of the present invention is applied to main equipment, and main equipment can pass through wide area
Net is established with server and connected, and the device upgrade bag and upgrading rule sent so as to disposable the reception server, is reduced
Server needs repeatedly to provide the pressure of device upgrade bag and upgrading rule.
More specifically, before step 101, main equipment needs to report main equipment to server by wide area network and connected
Sub- equipment software version number, when detecting that software version number has renewal so as to server, triggering device upgrade operation.Take
Business device can determine that software version number has by modes such as software version number contrasts and main equipment and/or son are disposably issued during renewal
The AKU link of equipment, so as to which main equipment can disposably download all devices AKU and upgrading rule, avoid repeatedly
Download, reduce the dependence to wide area network, improve the success rate of download.
It is understood that it can only include main equipment AKU in device upgrade bag, only can also be set comprising son
Standby AKU, can also be comprising main equipment AKU and sub- device upgrade bag.
Therefore, main equipment needs to judge the upgrading in device upgrade bag by modes such as default detection algorithm or models
Packet type, according to the different processing mode of different AKU type selectings, it is illustrated below:
As a kind of example, judgement, which is known, includes sub- device upgrade bag in device upgrade bag, by LAN by sub- equipment
AKU is sent to corresponding sub- equipment;As another example, judgement, which is known, includes main equipment AKU in device upgrade bag
When main equipment is upgraded.Wherein, judge to know when including main equipment AKU and sub- device upgrade bag in device upgrade bag,
Main equipment is upgraded according to main equipment AKU first, then distributes corresponding sub- device upgrade bag, the side of distribution to sub- equipment respectively
Formula can be by including but is not limited to the one or more such as wifi LANs, bluetooth connection, wired connection.
Therefore, sub- equipment obtains sub- device upgrade bag by LAN can and upgraded, and can reduce wanting for equipment
Hardware producing cost containing independent connection wide area network, and external condition abnormal conditions as caused by network are reduced, improve
The success rate of upgrading, in addition, sub- equipment can be chosen to remove wide area network ability to communicate so as to reduce production cost.
Step 103, the updating result of sub- equipment feedback is received, and the son of updating result failure is set according to upgrading rule
It is standby to carry out corresponding operating.
Specifically, after sub- device upgrade bag corresponding to each sub- equipment acquisition, related updating operation can be carried out, and will rise
Result feedback after level is to main equipment.And then main equipment receive the updating result of sub- equipment feedback after can be advised according to upgrading
Corresponding operating then is carried out to the sub- equipment of updating result failure, is illustrated below:
The first example, the sub- equipment of updating result failure is upgraded again.
For example, the upgrading rule of sub- device A is upgraded again after upgrading fails, therefore is obtained and corresponded in sub- device A
Sub- device upgrade bag after, after can carrying out the failure of related updating operation, main equipment is upgraded sub- device A again.
Second of example, the state sub- equipment of updating result failure returned to before updating operation.
For example, sub- equipment B upgrading rule is the software version number rolled back to after upgrading fails before upgrading, therefore
After sub- device upgrade bag corresponding to sub- equipment B acquisitions, after can carrying out related updating operation failure, main equipment is extensive by sub- equipment B
Again to the state before updating operation.
Thus, it is possible to only provide one upgrading rule give the manipulation that main equipment is entirely upgraded, without for
Every sub- corresponding upgrading rule of equipment regeneration.
Specifically, after step 103, i.e., after updating operation terminates, main equipment can be anti-to server by wide area network
Present updating result, it is to be understood that a variety of modes can be taken to be fed back, be illustrated below:As a kind of example,
The updating result that main equipment often receives a sub- equipment is fed back to server immediately;As another example, main equipment
The updating result of all sub- equipment is collected, disposably to server feedback, further improves the effect that master-slave equipment upgrades
Rate.
In summary, the master-slave equipment upgrade method of the embodiment of the present invention, is set by what wide area network reception server was sent
Standby AKU and upgrading rule, and judge the upgrading Packet type in device upgrade bag, included in device upgrade bag is known in judgement
Sub- device upgrade bag is sent to by corresponding sub- equipment by LAN during sub- device upgrade bag, then receives sub- equipment feedback
Updating result, and according to upgrading rule to updating result failure sub- equipment carry out corresponding operating.Hereby it is achieved that sub- equipment
Sub- device upgrade bag is obtained by LAN can be upgraded, so as to reduce dependence of the device upgrade process to wide area network
Property, the burden of server is alleviated, improves the success rate for upgrading of sub- equipment, reduces production cost.
Corresponding with the master-slave equipment upgrade method that above-mentioned several embodiments provide, a kind of embodiment of the invention also provides
A kind of master-slave equipment update device, because master-slave equipment update device provided in an embodiment of the present invention and above-mentioned several embodiments carry
The master-slave equipment upgrade method of confession is corresponding, therefore is also applied for this implementation in the embodiment of foregoing master-slave equipment upgrade method
The master-slave equipment update device that example provides, is not described in detail in the present embodiment.
Fig. 3 is the structural representation of master-slave equipment update device according to an embodiment of the invention.As shown in figure 3, should
Master-slave equipment update device includes:Wherein, judge module 11, sending module 12, receiving module 13 and processing module 14 are received.
Wherein, judge module 11 is received, is advised for the device upgrade bag sent by wide area network reception server and upgrading
Then, the upgrading Packet type in device upgrade bag is judged.
Sending module 12, will by LAN if including sub- device upgrade bag in device upgrade bag for judging to know
Sub- device upgrade bag is sent to corresponding sub- equipment.
Receiving module 13, for receiving the updating result of sub- equipment feedback.
Processing module 14, for carrying out corresponding operating to the sub- equipment of updating result failure according to upgrading rule.Wherein, exist
In one embodiment of the present of invention, processing module 14 is specifically used for:The sub- equipment of updating result failure is upgraded again;
And/or the state returned to the sub- equipment of updating result failure before updating operation.
Wherein, in one embodiment of the invention, as shown in figure 4, on Fig. 3 basis, in addition to reporting module 15, liter
Level module 16 and feedback module 17.
Wherein, reporting module 15, for reporting the soft of main equipment and the sub- equipment that is connected to server by wide area network
Part version number, when detecting that software version number has renewal so as to server, triggering device upgrade operation.
Upgraded module 16, if including main equipment AKU in device upgrade bag for judging to know, main equipment is carried out
Upgrading.
Feedback module 17, after terminating for updating operation, by wide area network to server feedback updating result.
In summary, the master-slave equipment update device of the embodiment of the present invention, is set by what wide area network reception server was sent
Standby AKU and upgrading rule, and judge the upgrading Packet type in device upgrade bag, included in device upgrade bag is known in judgement
Sub- device upgrade bag is sent to by corresponding sub- equipment by LAN during sub- device upgrade bag, then receives sub- equipment feedback
Updating result, and according to upgrading rule to updating result failure sub- equipment carry out corresponding operating.Hereby it is achieved that sub- equipment
Sub- device upgrade bag is obtained by LAN can be upgraded, so as to reduce dependence of the device upgrade process to wide area network
Property, the burden of server is alleviated, improves the success rate for upgrading of sub- equipment, reduces production cost.
The present invention proposes a kind of computer equipment, and Fig. 5 is the structure of computer equipment according to an embodiment of the invention
Schematic diagram.As shown in figure 5, memory 21, processor 22 and being stored in the meter that can be run on memory 21 and on processor 22
Calculation machine program.
Processor 22 realizes the master-slave equipment upgrade method provided in above-described embodiment when performing described program.
Further, computer equipment also includes:
Communication interface 23, for the communication between memory 21 and processor 22.
Memory 21, for depositing the computer program that can be run on processor 22.
Memory 21 may include high-speed RAM memory, it is also possible to also including nonvolatile memory (non-volatile
Memory), a for example, at least magnetic disk storage.
Processor 22, the master-slave equipment upgrade method described in above-described embodiment is realized during for performing described program.
If memory 21, processor 22 and the independent realization of communication interface 23, communication interface 21, memory 21 and processing
Device 22 can be connected with each other by bus and complete mutual communication.The bus can be industry standard architecture
(Industry Standard Architecture, referred to as ISA) bus, external equipment interconnection (Peripheral
Component, referred to as PCI) bus or extended industry-standard architecture (Extended Industry Standard
Architecture, referred to as EISA) bus etc..The bus can be divided into address bus, data/address bus, controlling bus etc..
For ease of representing, only represented in Fig. 5 with a thick line, it is not intended that an only bus or a type of bus.
Optionally, in specific implementation, if memory 21, processor 22 and communication interface 23, are integrated in chip piece
Upper realization, then memory 21, processor 22 and communication interface 23 can complete mutual communication by internal interface.
Processor 22 is probably a central processing unit (Central Processing Unit, referred to as CPU), or
Specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC), or by with
It is set to the one or more integrated circuits for implementing the embodiment of the present invention.
In summary, the computer equipment of the embodiment of the present invention, the device upgrade sent by wide area network reception server
Bag and upgrading rule, and judge the upgrading Packet type in device upgrade bag, include sub- equipment in device upgrade bag is known in judgement
Sub- device upgrade bag is sent to by corresponding sub- equipment by LAN during AKU, then receives the upgrading of sub- equipment feedback
As a result, and according to upgrading rule to the sub- equipment of updating result failure carry out corresponding operating.Hereby it is achieved that sub- equipment passes through office
Domain net can obtains sub- device upgrade bag and upgraded, and so as to reduce dependence of the device upgrade process to wide area network, subtracts
The light burden of server, improves the success rate for upgrading of sub- equipment, reduces production cost.
In order to realize above-described embodiment, the present invention also proposes a kind of computer program product, when the computer program produces
When instruction processing unit in product performs, a kind of master-slave equipment upgrading is performed, methods described is applied to main equipment, including:By wide
The device upgrade bag and upgrading rule that domain net the reception server is sent, judge the upgrading Packet type in device upgrade bag;If judge
Know and sub- device upgrade bag is included in device upgrade bag, then sub- device upgrade bag is sent into corresponding son by LAN sets
It is standby;The updating result of sub- equipment feedback is received, and the sub- equipment of updating result failure is accordingly grasped according to upgrading rule
Make.Upgraded hereby it is achieved that sub- equipment obtains sub- device upgrade bag by LAN can, so as to reduce equipment liter
Level process alleviates the burden of server to the dependence of wide area network, improves the success rate for upgrading of sub- equipment, and reduction is produced into
This.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or the spy for combining the embodiment or example description
Point is contained at least one embodiment or example of the present invention.In this manual, to the schematic representation of above-mentioned term not
Identical embodiment or example must be directed to.Moreover, specific features, structure, material or the feature of description can be with office
Combined in an appropriate manner in one or more embodiments or example.In addition, in the case of not conflicting, the skill of this area
Art personnel can be tied the different embodiments or example and the feature of different embodiments or example described in this specification
Close and combine.
In addition, term " first ", " second " are only used for describing purpose, and it is not intended that instruction or hint relative importance
Or the implicit quantity for indicating indicated technical characteristic.Thus, define " first ", the feature of " second " can be expressed or
Implicitly include at least one this feature.In the description of the invention, " multiple " are meant that at least two, such as two, three
It is individual etc., unless otherwise specifically defined.
Any process or method described otherwise above description in flow chart or herein is construed as, and represents to include
Module, fragment or the portion of the code of the executable instruction of one or more the step of being used to realize custom logic function or process
Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discuss 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.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system including the system of processor or other can be held from instruction
The system of row system, device or equipment instruction fetch and execute instruction) use, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicate, propagate or pass
Defeated program is for instruction execution system, device or equipment or the dress used with reference to these instruction execution systems, device or equipment
Put.The more specifically example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wiring
Connecting portion (electronic installation), 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, computer-readable medium, which can even is that, to print the paper of described program thereon or other are suitable
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 the present invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned
In embodiment, software that multiple steps or method can be performed in memory and by suitable instruction execution system with storage
Or firmware is realized.Such as, if realized with hardware with another embodiment, following skill well known in the art can be used
Any one of art or their combination are realized:With the logic gates for realizing logic function to data-signal from
Logic circuit is dissipated, the application specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene can compile
Journey gate array (FPGA) etc..
Those skilled in the art are appreciated that to realize all or part of step that above-described embodiment method carries
Suddenly it is that by program the hardware of correlation can be instructed 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 each embodiment of the present invention can be integrated in a processing module, can also
That unit is individually physically present, can also two or more units be integrated in a module.Above-mentioned integrated mould
Block can both be realized in the form of hardware, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized in the form of software function module and as independent production marketing or in use, can also be stored in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only storage, disk or CD etc..Although have been shown and retouch above
Embodiments of the invention are stated, it is to be understood that above-described embodiment is exemplary, it is impossible to be interpreted as the limit to the present invention
System, one of ordinary skill in the art can be changed to above-described embodiment, change, replace and become within the scope of the invention
Type.
Claims (12)
1. a kind of master-slave equipment upgrade method, it is characterised in that wherein, methods described is applied to main equipment, comprises the following steps:
The device upgrade bag and upgrading rule sent by wide area network reception server, judges the upgrading in the device upgrade bag
Packet type;
If judging to know and include sub- device upgrade bag in the device upgrade bag, by LAN by the sub- device upgrade bag
Sub- equipment corresponding to being sent to;
The updating result of the sub- equipment feedback is received, and the sub- equipment of updating result failure is entered according to the upgrading rule
Row corresponding operating.
2. the method as described in claim 1, it is characterised in that the son according to the upgrading rule to updating result failure
Equipment carries out corresponding operating, including:
The sub- equipment of updating result failure is upgraded again;And/or
The state sub- equipment of updating result failure returned to before updating operation.
3. the method as described in claim 1, it is characterised in that in the equipment liter sent by wide area network reception server
Before level bag and upgrading rule, in addition to:
The software version number of sub- equipment that the main equipment is reported to the server by wide area network and connected, so as to described
When server detects that software version number has renewal, triggering device upgrade operation.
4. the method as described in claim 1, it is characterised in that also include:
If judgement, which is known, includes main equipment AKU in the device upgrade bag, the main equipment is upgraded.
5. the method as described in claim 1-4 is any, it is characterised in that also include:
After updating operation terminates, by wide area network to the server feedback updating result.
A kind of 6. master-slave equipment update device, it is characterised in that wherein, described device is applied to main equipment, including:
Judge module is received, it is regular for the device upgrade bag sent by wide area network reception server and upgrading, described in judgement
Upgrading Packet type in device upgrade bag;
Sending module, if for judging to know and include sub- device upgrade bag in the device upgrade bag, by LAN by institute
State sub- device upgrade bag and be sent to corresponding sub- equipment;
Receiving module, for receiving the updating result of the sub- equipment feedback;
Processing module, for carrying out corresponding operating to the sub- equipment of updating result failure according to the upgrading rule.
7. device as claimed in claim 6, it is characterised in that the processing module is specifically used for:
The sub- equipment of updating result failure is upgraded again;And/or
The state sub- equipment of updating result failure returned to before updating operation.
8. device as claimed in claim 6, it is characterised in that also include:
Reporting module, for the software version for the sub- equipment for reporting the main equipment to the server by wide area network and being connected
This number, when detecting that software version number has renewal so as to the server, triggering device upgrade operation.
9. device as claimed in claim 6, it is characterised in that also include:
Upgraded module, if including main equipment AKU in the device upgrade bag for judging to know, the main equipment is entered
Row upgrading.
10. the device as described in claim 6-9 is any, it is characterised in that also include:
Feedback module, after terminating for updating operation, by wide area network to the server feedback updating result.
11. a kind of computer equipment, it is characterised in that on a memory and can handled including memory, processor and storage
The computer program run on device, described in the computing device during computer program, realize such as any one of claim 1-5
Described master-slave equipment upgrade method.
12. a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, it is characterised in that the program
The master-slave equipment upgrade method as described in any in claim 1-5 is realized when being executed by processor.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710899761.9A CN107580071A (en) | 2017-09-28 | 2017-09-28 | Master-slave equipment upgrade method, device and its equipment |
PCT/CN2018/087472 WO2019062157A1 (en) | 2017-09-28 | 2018-05-18 | Master-slave device upgrade method, apparatus, and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710899761.9A CN107580071A (en) | 2017-09-28 | 2017-09-28 | Master-slave equipment upgrade method, device and its equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107580071A true CN107580071A (en) | 2018-01-12 |
Family
ID=61039543
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710899761.9A Pending CN107580071A (en) | 2017-09-28 | 2017-09-28 | Master-slave equipment upgrade method, device and its equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107580071A (en) |
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108376078A (en) * | 2018-02-26 | 2018-08-07 | 广东美的制冷设备有限公司 | Upgrade method, device and the household appliance of equipment |
CN108491222A (en) * | 2018-03-27 | 2018-09-04 | 青岛海信智慧家居系统股份有限公司 | Gateway device upgrade method, device, gateway device and storage medium |
CN108804259A (en) * | 2018-06-14 | 2018-11-13 | 北京旅居四方科技有限公司 | Water power stake and the method and apparatus that program operation is detected |
WO2019062157A1 (en) * | 2017-09-28 | 2019-04-04 | 美的智慧家居科技有限公司 | Master-slave device upgrade method, apparatus, and device |
CN110083375A (en) * | 2019-03-27 | 2019-08-02 | 珠海全志科技股份有限公司 | A kind of equipment room interaction carries out the method and device of OTA upgrading |
CN110177022A (en) * | 2019-06-28 | 2019-08-27 | 武汉虹信通信技术有限责任公司 | Tree-like optical fiber distribution system the whole network upgrade control method and device |
CN111142917A (en) * | 2019-12-18 | 2020-05-12 | 广东美的厨房电器制造有限公司 | Household appliance multi-MCU system online upgrading method, electronic equipment and medium |
CN111522562A (en) * | 2020-04-16 | 2020-08-11 | 佛山市顺德区美的洗涤电器制造有限公司 | Dish washer software burning method, device and equipment |
CN112289431A (en) * | 2020-09-30 | 2021-01-29 | 音数汇元(上海)智能科技有限公司 | Home care terminal upgrading method and device, computer equipment and storage medium |
CN112398664A (en) * | 2019-08-13 | 2021-02-23 | 中兴通讯股份有限公司 | Master device selection method, device management method, electronic device, and storage medium |
CN112968792A (en) * | 2021-01-20 | 2021-06-15 | 广州技象科技有限公司 | Internet of things equipment upgrade control method and device |
CN113190246A (en) * | 2021-04-27 | 2021-07-30 | 北京京东乾石科技有限公司 | Software program upgrading method and device, readable storage medium and electronic equipment |
CN113890874A (en) * | 2021-09-28 | 2022-01-04 | 交控科技股份有限公司 | Program issuing method and device based on Powerlink network |
WO2022068605A1 (en) * | 2020-09-30 | 2022-04-07 | 华为技术有限公司 | Patch reusing method and system, and electronic device |
CN115022164A (en) * | 2022-05-31 | 2022-09-06 | 广州助蜂网络科技有限公司 | Device remote upgrade control method and system based on dos command |
CN115208761A (en) * | 2022-06-01 | 2022-10-18 | 上海黑眸智能科技有限责任公司 | OTA upgrading system |
CN115348172A (en) * | 2022-07-28 | 2022-11-15 | 鹿马智能科技(上海)有限公司 | Method, device and medium for upgrading versions of different parts of edge network device |
WO2023273719A1 (en) * | 2021-06-28 | 2023-01-05 | 烽火通信科技股份有限公司 | Upgrade method and apparatus under mesh networking |
WO2023123875A1 (en) * | 2021-12-30 | 2023-07-06 | 如果新能源科技(江苏)股份有限公司 | Bluetooth-based multi-device ota upgrade method, electronic device, storage medium and program product |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20060016636A (en) * | 2004-08-18 | 2006-02-22 | 엘지전자 주식회사 | Home network system |
CN101694622A (en) * | 2009-09-29 | 2010-04-14 | 中兴通讯股份有限公司 | Remote firmware upgrading method of multi-device combination equipment and system thereof |
CN104035103A (en) * | 2014-07-04 | 2014-09-10 | 广西远长公路桥梁工程有限公司 | Method for improving navigation mark positioning precision through sub-area networking |
CN104301395A (en) * | 2014-09-25 | 2015-01-21 | 深圳市同洲电子股份有限公司 | Method, electronic equipment and system for upgrading devices automatically |
CN106817259A (en) * | 2017-01-18 | 2017-06-09 | 杭州迪普科技股份有限公司 | The upgrade method and device of VSM systems |
CN107040399A (en) * | 2016-02-04 | 2017-08-11 | 京东方科技集团股份有限公司 | A kind of upgrade file method for down loading, equipment and system |
-
2017
- 2017-09-28 CN CN201710899761.9A patent/CN107580071A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20060016636A (en) * | 2004-08-18 | 2006-02-22 | 엘지전자 주식회사 | Home network system |
CN101694622A (en) * | 2009-09-29 | 2010-04-14 | 中兴通讯股份有限公司 | Remote firmware upgrading method of multi-device combination equipment and system thereof |
CN104035103A (en) * | 2014-07-04 | 2014-09-10 | 广西远长公路桥梁工程有限公司 | Method for improving navigation mark positioning precision through sub-area networking |
CN104301395A (en) * | 2014-09-25 | 2015-01-21 | 深圳市同洲电子股份有限公司 | Method, electronic equipment and system for upgrading devices automatically |
CN107040399A (en) * | 2016-02-04 | 2017-08-11 | 京东方科技集团股份有限公司 | A kind of upgrade file method for down loading, equipment and system |
CN106817259A (en) * | 2017-01-18 | 2017-06-09 | 杭州迪普科技股份有限公司 | The upgrade method and device of VSM systems |
Cited By (25)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019062157A1 (en) * | 2017-09-28 | 2019-04-04 | 美的智慧家居科技有限公司 | Master-slave device upgrade method, apparatus, and device |
CN108376078A (en) * | 2018-02-26 | 2018-08-07 | 广东美的制冷设备有限公司 | Upgrade method, device and the household appliance of equipment |
CN108491222A (en) * | 2018-03-27 | 2018-09-04 | 青岛海信智慧家居系统股份有限公司 | Gateway device upgrade method, device, gateway device and storage medium |
CN108491222B (en) * | 2018-03-27 | 2021-09-17 | 青岛海信智慧生活科技股份有限公司 | Gateway equipment upgrading method and device, gateway equipment and storage medium |
CN108804259A (en) * | 2018-06-14 | 2018-11-13 | 北京旅居四方科技有限公司 | Water power stake and the method and apparatus that program operation is detected |
CN110083375A (en) * | 2019-03-27 | 2019-08-02 | 珠海全志科技股份有限公司 | A kind of equipment room interaction carries out the method and device of OTA upgrading |
CN110177022A (en) * | 2019-06-28 | 2019-08-27 | 武汉虹信通信技术有限责任公司 | Tree-like optical fiber distribution system the whole network upgrade control method and device |
CN110177022B (en) * | 2019-06-28 | 2022-05-20 | 武汉信科移动通信技术有限公司 | Whole-network upgrading control method and device for tree-shaped optical fiber distribution system |
CN112398664A (en) * | 2019-08-13 | 2021-02-23 | 中兴通讯股份有限公司 | Master device selection method, device management method, electronic device, and storage medium |
CN112398664B (en) * | 2019-08-13 | 2023-08-08 | 中兴通讯股份有限公司 | Main device selection method, device management method, electronic device and storage medium |
CN111142917A (en) * | 2019-12-18 | 2020-05-12 | 广东美的厨房电器制造有限公司 | Household appliance multi-MCU system online upgrading method, electronic equipment and medium |
WO2021120887A1 (en) * | 2019-12-18 | 2021-06-24 | 广东美的厨房电器制造有限公司 | Online upgrade method for household appliance multi-mcu system, electronic device, and medium |
CN111522562A (en) * | 2020-04-16 | 2020-08-11 | 佛山市顺德区美的洗涤电器制造有限公司 | Dish washer software burning method, device and equipment |
CN111522562B (en) * | 2020-04-16 | 2024-04-16 | 佛山市顺德区美的洗涤电器制造有限公司 | Dishwasher software burning method, device and equipment thereof |
CN112289431A (en) * | 2020-09-30 | 2021-01-29 | 音数汇元(上海)智能科技有限公司 | Home care terminal upgrading method and device, computer equipment and storage medium |
WO2022068605A1 (en) * | 2020-09-30 | 2022-04-07 | 华为技术有限公司 | Patch reusing method and system, and electronic device |
CN112968792A (en) * | 2021-01-20 | 2021-06-15 | 广州技象科技有限公司 | Internet of things equipment upgrade control method and device |
CN113190246A (en) * | 2021-04-27 | 2021-07-30 | 北京京东乾石科技有限公司 | Software program upgrading method and device, readable storage medium and electronic equipment |
WO2023273719A1 (en) * | 2021-06-28 | 2023-01-05 | 烽火通信科技股份有限公司 | Upgrade method and apparatus under mesh networking |
CN113890874A (en) * | 2021-09-28 | 2022-01-04 | 交控科技股份有限公司 | Program issuing method and device based on Powerlink network |
WO2023123875A1 (en) * | 2021-12-30 | 2023-07-06 | 如果新能源科技(江苏)股份有限公司 | Bluetooth-based multi-device ota upgrade method, electronic device, storage medium and program product |
CN115022164A (en) * | 2022-05-31 | 2022-09-06 | 广州助蜂网络科技有限公司 | Device remote upgrade control method and system based on dos command |
CN115208761A (en) * | 2022-06-01 | 2022-10-18 | 上海黑眸智能科技有限责任公司 | OTA upgrading system |
CN115348172A (en) * | 2022-07-28 | 2022-11-15 | 鹿马智能科技(上海)有限公司 | Method, device and medium for upgrading versions of different parts of edge network device |
CN115348172B (en) * | 2022-07-28 | 2024-05-14 | 鹿马智能科技(上海)有限公司 | Method, equipment and medium for upgrading versions of different parts of edge network equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107580071A (en) | Master-slave equipment upgrade method, device and its equipment | |
CN107453931B (en) | Lan device upgrade method, device and its equipment | |
CN107621941A (en) | Method for upgrading software, system and intelligent movable equipment | |
CN107682440A (en) | The method for upgrading software of smart machine, device and system | |
CN107276866A (en) | Home appliance match somebody with somebody network method, device and home appliance | |
CN108345288A (en) | Automatic generation method, system and the vehicle of CAN signal interface software | |
CN104679532B (en) | kernel module loading method and device | |
CN107396287A (en) | The choosing method and device of a kind of working frequency points | |
CN105744008B (en) | Smart home platform, method for updating system and device applied to the platform | |
CN108762792A (en) | Upgrading network equipment method, upgrade server, terminal device and storage medium | |
CN109918203A (en) | Access server memory management optimization method, access server and communication system | |
CN106569898A (en) | Resource distribution method and mobile terminal | |
CN109189400A (en) | Program dissemination method and device, storage medium, processor | |
CN109684008A (en) | Card rendering method, device, terminal and computer readable storage medium | |
CN107066258B (en) | Page identification image updating method and system | |
CN107315633A (en) | Mobile payment means of defence, device and mobile terminal | |
CN109032062A (en) | A kind of PCIE switching chip | |
CN105204981A (en) | Application performance test method and device | |
CN111291443B (en) | Automatic generation method, device and equipment for I/O module model of vehicle control unit software | |
CN109614186A (en) | Application program color switching method, system and terminal device | |
CN108137124A (en) | Control device, computer and communication system | |
CN106611005A (en) | Method and device for setting crawl time interval of crawler | |
CN105429825B (en) | Monitoring method and device for data flow system | |
CN106371809A (en) | Thread processor and thread processing method | |
CN109240790A (en) | A kind of multi-window management method, system and android terminal |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180112 |
|
RJ01 | Rejection of invention patent application after publication |