CN105491159A - Firmware upgrade pack transmitting method, firmware upgrade pack acquiring method, firmware upgrade pack transmitting device and firmware upgrade pack acquiring device - Google Patents

Firmware upgrade pack transmitting method, firmware upgrade pack acquiring method, firmware upgrade pack transmitting device and firmware upgrade pack acquiring device Download PDF

Info

Publication number
CN105491159A
CN105491159A CN201610024639.2A CN201610024639A CN105491159A CN 105491159 A CN105491159 A CN 105491159A CN 201610024639 A CN201610024639 A CN 201610024639A CN 105491159 A CN105491159 A CN 105491159A
Authority
CN
China
Prior art keywords
firmware upgrade
firmware
upgrade bag
descriptor
alljoyn equipment
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
Application number
CN201610024639.2A
Other languages
Chinese (zh)
Inventor
茹昭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Intelligent Home Appliance Technology Co Ltd
Original Assignee
Qingdao Haier Intelligent Home Appliance Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Haier Intelligent Home Appliance Technology Co Ltd filed Critical Qingdao Haier Intelligent Home Appliance Technology Co Ltd
Priority to CN201610024639.2A priority Critical patent/CN105491159A/en
Publication of CN105491159A publication Critical patent/CN105491159A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols

Abstract

The invention provides a firmware upgrade transmitting method, a firmware upgrade pack acquiring method, a firmware upgrade pack transmitting device and a firmware upgrade pack acquiring device. The firmware upgrade transmitting method, the firmware upgrade pack acquiring method, a firmware upgrade pack transmitting device and a firmware upgrade pack acquiring device are used for settling a problem of incapability of performing firmware upgrading AllJoyn equipment in an AllJoyn network, wherein the firmware upgrade pack transmitting method comprises the steps of acquiring description information of a firmware upgrade pack of the AllJoyn equipment that is managed by a control terminal from an upgrading server; broadcasting the description information of the firmware upgrade pack; receiving an acquiring request for the firmware upgrade pack from the AllJoyn equipment; and transmitting the corresponding firmware upgrade pack to the AllJoyn equipment which transmits the acquiring request according to the acquiring request. The firmware upgrade transmitting method, the firmware upgrade pack acquiring method, the firmware upgrade pack transmitting device and the firmware upgrade pack acquiring device realizes simple and convenient firmware upgrade of the AllJoyn equipment.

Description

A kind of firmware upgrade bag delivery method, acquisition methods and device
Technical field
The present invention relates to communication field, particularly relate to a kind of firmware upgrade bag delivery method, acquisition methods and device.
Background technology
AllJoyn is point-to-point communication framework between a kind of equipment based on C/S framework, is made up of BusDaemon (bus finger daemon) and terminal node.BusDaemon is responsible for the Message routing between terminal node, the functions such as service discovery.Terminal node refers to the application program on the equipment of operating in, and needs to be connected on BusDaemon after startup.BusDaemon can be regarded as operation bus on different devices (Bus) segmentation.The BusDaemon of equipment couples together and just constitutes the bus of point to point network system be communicated with.Bus be distributed system provide one fast, the mode of lightweight carrys out pass-along message sequence.Its target allows two methods program communicate exactly, and without the need to the details of Treated Base mechanism.But, because AllJoyn adopts the interface connected towards local network, therefore, AllJoyn equipment cannot connect long-range server acquisition firmware in succession by AllJoyn interface direct and rise information, visible, lack a kind of method to AllJoyn equipment localization firmware updating in current AllJoyn network.
Summary of the invention
The invention provides a kind of firmware upgrade bag delivery method, acquisition methods and device, in order to solve the problem cannot carrying out firmware upgrade in current AllJoyn network to AllJoyn equipment.
According to a first aspect of the invention, provide a kind of firmware upgrade bag delivery method, comprising: the firmware upgrade information obtaining the AllJoyn equipment of control terminal management from upgrade server end; The descriptor of broadcast firmware upgrade bag; Receive the acquisition request from the firmware upgrade bag of AllJoyn equipment; The firmware upgrade bag of correspondence is sent to according to obtaining request the AllJoyn equipment sending the request of acquisition.
Wherein, the descriptor of broadcast firmware upgrade bag, comprising: add the descriptor of firmware upgrade bag to firmware list, the session port information of broadcast firmware list and control terminal; The descriptor of firmware upgrade bag, comprising: the version of the reflection of firmware, the identify label ID of firmware, firmware and unit type corresponding to firmware.
Further, above-mentioned firmware upgrade bag delivery method also comprises: before receiving the acquisition request from the firmware upgrade bag of AllJoyn equipment, according to the quantity of the connected AllJoyn equipment preset, determine whether that the AllJoyn equipment and control terminal allowing to send the request of acquisition connects.
According to a second aspect of the invention, provide a kind of firmware upgrade bag acquisition methods, comprise: after receiving the descriptor from the firmware upgrade bag of control terminal, judge whether firmware upgrade bag is applicable to AllJoyn equipment according to the descriptor of firmware upgrade bag, and whether the firmware version of AllJoyn equipment is lower than the version of firmware upgrade bag, if firmware upgrade bag be applicable to AllJoyn equipment and the firmware version of AllJoyn equipment lower than the version of firmware upgrade bag, then the descriptor of buffer memory firmware upgrade bag; Judge whether the current running status of AllJoyn equipment can carry out firmware upgrade, if so, then obtain up-to-date firmware upgrade bag according to the descriptor of the firmware upgrade bag of buffer memory to the control terminal of AllJoyn equipment.
Further, above-mentioned firmware upgrade bag acquisition methods also comprises: before judging whether the current running status of AllJoyn equipment can carry out firmware upgrade, if again receive the descriptor of firmware upgrade bag, the descriptor of the firmware upgrade bag of the descriptor of firmware upgrade bag again received and the up-to-date of buffer memory is contrasted; The only descriptor of the firmware upgrade bag that buffer memory receives again when the firmware upgrade bag again received is higher than the version of the up-to-date firmware upgrade bag of buffer memory, and the descriptor of the firmware upgrade bag of buffer memory before deleting.
Wherein, after receiving the descriptor from the firmware upgrade bag of control terminal, judge whether firmware upgrade bag is applicable to AllJoyn equipment according to the descriptor of firmware upgrade bag, and whether the firmware version of AllJoyn equipment is lower than the version of firmware upgrade bag, if firmware upgrade bag be applicable to AllJoyn equipment and the firmware version of AllJoyn equipment lower than the version of firmware upgrade bag, the then descriptor of buffer memory firmware upgrade bag, comprise: AllJoyn equipment receives multiple firmware upgrade broadcast, broadcast comprises the descriptor of multiple firmware upgrade bag, select to be applicable to AllJoyn equipment and the descriptor of the highest firmware upgrade bag of version carries out buffer memory, multiple firmware upgrade broadcast is from different control terminals.
According to the 3rd aspect of the present invention's invention, provide transmitting apparatus under a kind of firmware upgrade bag, comprising: acquisition module, for obtaining the descriptor of the firmware upgrade bag of the AllJoyn equipment of control terminal management from upgrade server end; Broadcast module, for broadcasting the descriptor of firmware upgrade bag; First receiver module, for receiving the acquisition request of the firmware upgrade bag from AllJoyn equipment; Sending module, for sending to according to obtaining request the AllJoyn equipment sending the request of acquisition by the firmware upgrade bag of correspondence.
Wherein, above-mentioned broadcast module specifically for: add the descriptor of firmware upgrade bag to firmware list, the session port information of broadcast firmware list and control terminal, the descriptor of firmware upgrade bag, comprising: the version of the reflection of firmware, the identify label ID of firmware, firmware and unit type corresponding to firmware.
Further, under above-mentioned firmware upgrade bag, transmitting apparatus also comprises: determination module, for before receiving the acquisition request from the firmware upgrade bag of AllJoyn equipment, according to the quantity of the connected AllJoyn equipment preset, determine whether that the AllJoyn equipment and control terminal allowing to send the request of acquisition connects.
According to a fourth aspect of the present invention, provide a kind of firmware upgrade bag acquisition device, comprise: the second receiver module, after receiving the descriptor from the firmware upgrade bag of control terminal, judge whether firmware upgrade bag is applicable to AllJoyn equipment according to the descriptor of firmware upgrade bag, and whether the firmware version of AllJoyn equipment is lower than the version of firmware upgrade bag, if firmware upgrade bag be applicable to AllJoyn equipment and the firmware version of AllJoyn equipment lower than the version of firmware upgrade bag, then the descriptor of buffer memory firmware upgrade bag; Judge module, for judging whether the current running status of AllJoyn equipment can carry out firmware upgrade, if so, then obtains up-to-date firmware upgrade bag according to the descriptor of the firmware upgrade bag of buffer memory to the control terminal of AllJoyn equipment.
Further, above-mentioned firmware upgrade bag acquisition device also comprises: contrast module, for before judging whether the current running status of AllJoyn equipment can carry out firmware upgrade, if again receive the descriptor of firmware upgrade bag, the descriptor of the firmware upgrade bag of the descriptor of firmware upgrade bag again received and the up-to-date of buffer memory is contrasted; Cache module, for the only descriptor of the firmware upgrade bag that buffer memory receives again when the firmware upgrade bag again received is higher than the version of the up-to-date firmware upgrade bag of buffer memory, and the descriptor of the firmware upgrade bag of buffer memory before deleting.
Wherein, above-mentioned second receives mold is used for: AllJoyn equipment receives multiple firmware upgrade broadcast, broadcast comprises the descriptor of multiple firmware upgrade bag, select to be applicable to AllJoyn equipment and the descriptor of the highest firmware upgrade bag of version carries out buffer memory, multiple firmware upgrade broadcast is from different control terminals.
Beneficial effect of the present invention is as follows:
The embodiment of the present invention issues the descriptor of firmware upgrade bag to AllJoyn equipment by control terminal, make AllJoyn equipment can determine whether to need firmware upgrade according to self firmware situation, and up-to-date firmware data can be obtained from control terminal easily when determining to need firmware upgrade, make the firmware upgrade operation of AllJoyn equipment become simple and convenient.
Accompanying drawing explanation
Fig. 1 is the flow chart of the firmware upgrade bag delivery method provided in the embodiment of the present invention 1;
Fig. 2 is the flow chart of the firmware upgrade bag acquisition methods provided in the embodiment of the present invention 1;
Fig. 3 is the flow chart of the AllJoyn DFU provided in the embodiment of the present invention 2;
Fig. 4 is the flow chart of the method for AllJoyn DFU that realized alternately by control terminal and AllJoyn equipment provided in the embodiment of the present invention 3;
Fig. 5 is the flow chart being realized the method for AllJoyn DFU in the embodiment of the present invention 4 by control terminal and AllJoyn equipment alternately;
Fig. 6 is the structured flowchart of transmitting apparatus under the firmware upgrade bag that provides of the embodiment of the present invention 5;
Fig. 7 is the structured flowchart of the firmware upgrade bag acquisition device that the embodiment of the present invention 5 provides.
Embodiment
In order to solve the problem cannot carrying out firmware upgrade in the current AllJoyn network of prior art to AllJoyn equipment, the invention provides a kind of firmware upgrade bag delivery method, acquisition methods and device, below in conjunction with accompanying drawing and embodiment, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, do not limit the present invention.
Embodiment 1
Present embodiments provide a kind of firmware upgrade bag delivery method, the method can be realized by control terminal, and Fig. 1 is the flow chart of the method, and as shown in Figure 1, the method comprises the steps:
Step 101: the descriptor obtaining the firmware upgrade bag of the AllJoyn equipment of control terminal management from upgrade server end;
Wherein, the descriptor of firmware upgrade bag specifically can comprise: the version of the reflection of firmware, the ID (cryptographic Hash of such as firmware image) of firmware, firmware and unit type corresponding to firmware, wherein, the reflection of firmware is the data of firmware.
Step 102: the descriptor of broadcast firmware upgrade bag;
Wherein, the descriptor of broadcast firmware upgrade bag specifically can comprise: add the descriptor of firmware upgrade bag to firmware list, the session port information of broadcast firmware list and control terminal.
Step 103: the acquisition request receiving the firmware upgrade bag from AllJoyn equipment;
Further, the acquisition request received from the firmware upgrade bag of AllJoyn equipment comprises: according to the quantity of the connected AllJoyn equipment preset, and determines whether that the AllJoyn equipment and control terminal allowing to send the request of acquisition connects.
Step 104: the firmware upgrade bag of correspondence is sent to the AllJoyn equipment sending the request of acquisition according to obtaining request.
Correspondingly, the present embodiment additionally provides a kind of firmware upgrade bag acquisition methods, and the method can be realized by AllJoyn equipment, and Fig. 2 is the flow chart of the method, and as shown in Figure 2, this device mainly comprises the steps:
Step 201: after receiving the descriptor from the firmware upgrade bag of control terminal, judge whether firmware upgrade bag is applicable to AllJoyn equipment according to the descriptor of firmware upgrade bag, and whether the firmware version of AllJoyn equipment is lower than the version of firmware upgrade bag, if firmware upgrade bag be applicable to AllJoyn equipment and the firmware version of AllJoyn equipment lower than the version of firmware upgrade bag, then the descriptor of buffer memory firmware upgrade bag;
Step 202: judge whether the current running status of AllJoyn equipment can carry out firmware upgrade, if so, then obtains up-to-date firmware upgrade bag according to the descriptor of the firmware upgrade bag of buffer memory to the control terminal of AllJoyn equipment.
In this step 202, when AllJoyn equipment is in idle condition time (non operating state), determine that AllJoyn equipment can carry out firmware upgrade, simultaneously, the unit type that firmware is corresponding is comprised, so the AllJoyn equipment of specifying whether can be applicable to according to this information determination firmware in descriptor due to firmware upgrade bag.
Further, when there is multiple control terminal in a network, AllJoyn equipment can receive different firmware upgrade message, and based on this, method can also comprise:
Before judging whether the current running status of AllJoyn equipment can carry out firmware upgrade, if again receive the descriptor of firmware upgrade bag, the descriptor of the firmware upgrade bag of the descriptor of firmware upgrade bag again received and the up-to-date of buffer memory is contrasted;
The only descriptor of the firmware upgrade bag that buffer memory receives again when the firmware upgrade bag again received is higher than the version of the up-to-date firmware upgrade bag of buffer memory, and the descriptor of the firmware upgrade bag of buffer memory before deleting.
Simultaneously, AllJoyn equipment also may receive the descriptor of the firmware upgrade bag from different control terminal simultaneously, based on this, after receiving the descriptor from the firmware upgrade bag of control terminal, judge whether firmware upgrade bag is applicable to AllJoyn equipment according to the descriptor of firmware upgrade bag, and whether the firmware version of AllJoyn equipment is lower than the version of firmware upgrade bag, if firmware upgrade bag be applicable to AllJoyn equipment and the firmware version of AllJoyn equipment lower than the version of firmware upgrade bag, the then descriptor of buffer memory firmware upgrade bag, specifically can comprise: AllJoyn equipment receives multiple firmware upgrade broadcast, broadcast comprises the descriptor of multiple firmware upgrade bag, select to be applicable to AllJoyn equipment and the descriptor of the highest firmware upgrade bag of version carries out buffer memory, wherein, multiple firmware upgrade broadcasts that AllJoyn equipment receives can be sent by multiple control terminal.
Embodiment 2
At one based in the home network of AllJoyn, there is the control terminal of some AllJoyn equipment and one or more operation firmware upgrade procedure.Wherein, AllJoyn equipment can be the household electrical appliances home equipments such as TV, air-conditioning, refrigerator; Control terminal can be router, gateway, mobile phone etc.
Control terminal safeguards local firmware information, for one or more AllJoyn equipment provide firmware update services, on the other hand, control terminal has outer net linkage function, can upgrade server in connecting Internet, and initiatively or obtain new upgrade data from upgrade server passively.
Below in conjunction with Fig. 3, the process of the AllJoyn DFU related in the present embodiment is set forth:
Control terminal obtains firmware upgrade package informatin by internet from remote upgrade server, comprise firmware image, firmware ID (cryptographic Hash as firmware image), firmware version, corresponding unit type list (as CasarteBCD-728WDCA, CasarteXQGH100-HBF1427UF), also can comprise the firmware version relation etc. that this firmware covers.
The new firmware upgrade package informatin got adds in firmware list by control terminal, if control terminal does not safeguard the firmware information of version in the past, then firmware list can be empty.
Control terminal broadcast packet containing the firmware list of new firmware upgrade package informatin, and provides the information such as session port of respective service.
AllJoyn equipment receives broadcast message, first judges whether firmware information is applicable to this equipment and whether new than existing firmware version.
If there is multiple control terminal in network, then AllJoyn equipment can receive the firmware upgrade broadcast that multiple control terminal sends.AllJoyn equipment compares the AKU information in the multiple firmware upgrade broadcast received, and selects wherein up-to-date firmware information, carries out buffer memory.
AllJoyn equipment judges that current operating conditions can firmware updating, extracts the firmware information of buffer memory, adds the session of corresponding control terminal.
AllJoyn equipment sends and starts upgrade command, comprises the current firmware information of equipment, target firmware ID.
AllJoyn equipment receives the firmware upgrade data that control terminal sends.
According to cryptographic Hash, AllJoyn equipment judges that upgrade data receives, send and finish receiving instruction, closes session, starts upgrading.
Embodiment 3
This enforcement provides a kind of method being realized AllJoyn DFU by control terminal and AllJoyn equipment alternately, the difference of the present embodiment and above-described embodiment 2 is, AllJoyn equipment equipment buffer memory firmware upgrade bag descriptor and when not carrying out firmware upgrade, receive again the processing method when firmware upgrade package informatin from control terminal, as shown in Figure 4, the method comprises following process:
Control terminal obtains firmware upgrade package informatin by internet from remote upgrade server, comprise firmware image, firmware ID, firmware version, corresponding unit type list, also can comprise the firmware version relation etc. that this firmware covers.
New firmware upgrade package informatin adds in firmware list by control terminal.If control terminal does not safeguard the firmware information of version in the past, then firmware list can be empty.
Control terminal sends broadcast message, comprises the firmware list of new firmware upgrade package informatin in this broadcast message, and provides the information such as session port of respective service.
AllJoyn equipment receives broadcast message, first judges whether firmware information is applicable to this equipment and whether new than existing firmware version.
If there is multiple control terminal in network, then AllJoyn equipment can receive multiple firmware upgrade broadcast.AllJoyn equipment compares the multiple information received, and selects wherein up-to-date firmware information, carries out buffer memory.
AllJoyn equipment receives new broadcast message, judges that its firmware information than buffer memory upgrades.
The firmware information of AllJoyn renewal of the equipment buffer memory is the information newly received.
AllJoyn equipment judges that current operating conditions can firmware updating, extracts the firmware information of buffer memory, adds the session of corresponding control terminal.
AllJoyn equipment sends and starts upgrade command, comprises the current firmware information of equipment, target firmware ID.
AllJoyn equipment receives the firmware upgrade data that control terminal sends.
According to cryptographic Hash, AllJoyn equipment judges that upgrade data receives, send and finish receiving instruction, closes session, starts upgrading.
Embodiment 4
The present embodiment provides a kind of method being realized AllJoyn DFU by control terminal and AllJoyn equipment alternately, the difference of the present embodiment and above-described embodiment 2 is, the terminal quantity that control terminal restriction is upgraded in session with access, as shown in Figure 5, the method comprises following process:
Control terminal obtains firmware upgrade package informatin by internet from remote upgrade server, comprises firmware image, firmware ID, firmware version, corresponding unit type list, also can comprise the firmware version relation etc. that this firmware covers.
New firmware upgrade package informatin adds in firmware list by control terminal.If control terminal does not safeguard the firmware information of version in the past, then firmware list can be empty.
Control terminal broadcast packet containing the firmware list of new firmware upgrade package informatin, and provides the information such as session port of respective service.
AllJoyn equipment receives broadcast message, first judges whether firmware information is applicable to this equipment and whether new than existing firmware version.
If there is multiple control terminal in network, then AllJoyn equipment can receive multiple firmware upgrade broadcast.AllJoyn equipment compares the multiple information received, and selects wherein up-to-date firmware information, carries out buffer memory.
AllJoyn equipment judges that current operating conditions can firmware updating, extracts the firmware information of buffer memory, adds the session of corresponding control terminal.
Control terminal judges whether the equipment of current upgrading reaches the maximum quantity of connection, and such as terminal profile connects upgrading 10 equipment simultaneously, then equipment can be a temporarily rejected more than the equipment of follow-up access when 10.
Do not reach control terminal and connect the upper limit, terminal allows the access of AllJoyn equipment session.
AllJoyn equipment sends and starts upgrade command, comprises the current firmware information of equipment, target firmware ID.
AllJoyn equipment receives the firmware upgrade data that control terminal sends.
According to cryptographic Hash, AllJoyn equipment judges that upgrade data receives, send and finish receiving instruction, closes session, starts upgrading.
Embodiment 5
Present embodiments provide transmitting apparatus under a kind of firmware upgrade bag, this device can be arranged at control terminal side, and for realizing the firmware upgrade bag delivery method provided in above-described embodiment 1, Fig. 6 is the structured flowchart of this device, as shown in Figure 6, this device 60 specifically can comprise following part:
Acquisition module 61, for obtaining the descriptor of the firmware upgrade bag of the AllJoyn equipment of control terminal management from upgrade server end;
Broadcast module 62, for broadcasting the descriptor of firmware upgrade bag;
First receiver module 63, for receiving the acquisition request of the firmware upgrade bag from AllJoyn equipment;
Sending module 64, for sending to according to obtaining request the AllJoyn equipment sending the request of acquisition by the firmware upgrade bag of correspondence.
Wherein, above-mentioned broadcast module 62 specifically may be used for: add the descriptor of firmware upgrade bag to firmware list, the session port information of broadcast firmware list and control terminal, wherein, the descriptor of firmware upgrade bag, comprising: the version of the reflection of firmware, the identify label ID of firmware, firmware and unit type corresponding to firmware.
Further, above-mentioned first receiver module 63 specifically for: according to the quantity of connected AllJoyn equipment preset, determine whether that the AllJoyn equipment and control terminal allowing to send the request of acquisition connects.
Accordingly, the present embodiment also provides a kind of firmware upgrade bag acquisition device, and this device can be arranged at AllJoyn equipment side, and Fig. 7 is the structured flowchart of this device, and as shown in Figure 7, this 70 specifically can comprise following part:
Second receiver module 71, after receiving the descriptor from the firmware upgrade bag of control terminal, judge whether firmware upgrade bag is applicable to AllJoyn equipment according to the descriptor of firmware upgrade bag, and whether the firmware version of AllJoyn equipment is lower than the version of firmware upgrade bag, if firmware upgrade bag be applicable to AllJoyn equipment and the firmware version of AllJoyn equipment lower than the version of firmware upgrade bag, then the descriptor of buffer memory firmware upgrade bag;
Judge module 72, for judging whether the current running status of AllJoyn equipment can carry out firmware upgrade, if so, then obtains up-to-date firmware upgrade bag according to the descriptor of the firmware upgrade bag of buffer memory to the control terminal of AllJoyn equipment.
Further above-mentioned firmware upgrade bag acquisition device can also comprise: contrast module, for before judging whether the current running status of AllJoyn equipment can carry out firmware upgrade, if again receive the descriptor of firmware upgrade bag, the descriptor of the firmware upgrade bag of the descriptor of firmware upgrade bag again received and the up-to-date of buffer memory is contrasted; Cache module, for the only descriptor of the firmware upgrade bag that buffer memory receives again when the firmware upgrade bag again received is higher than the version of the up-to-date firmware upgrade bag of buffer memory, and the descriptor of the firmware upgrade bag of buffer memory before deleting.
Further, above-mentioned firmware upgrade bag acquisition device can also comprise the second reception mold for: AllJoyn equipment receives multiple firmware upgrade broadcast, broadcast comprises the descriptor of multiple firmware upgrade bag, select to be applicable to AllJoyn equipment and the descriptor of the highest firmware upgrade bag of version carries out buffer memory, multiple firmware upgrade broadcast is from different control terminals.
The scheme that the embodiment of the present invention provides, make AllJoyn equipment can in local upgrade to up-to-date firmware, simultaneously, AllJoyn equipment can select update time according to running status, and, according to the AllJoyn number of devices quantitative limitation of control terminal to access upgrading session, when making to need the number of devices of upgrading larger at the same time, reduce the load of upgrading terminals.
Although be example object, disclose the preferred embodiments of the present invention, it is also possible for those skilled in the art will recognize various improvement, increase and replacement, and therefore, scope of the present invention should be not limited to above-described embodiment.

Claims (12)

1. a firmware upgrade bag delivery method, is characterized in that, comprising:
The firmware upgrade information of the AllJoyn equipment of control terminal management is obtained from upgrade server end;
Broadcast the descriptor of described firmware upgrade bag;
Receive the acquisition request from the firmware upgrade bag of AllJoyn equipment;
According to the described AllJoyn equipment obtaining request and send to the described acquisition of transmission to ask the firmware upgrade bag of correspondence.
2. method according to claim 1, is characterized in that, the descriptor of the described firmware upgrade bag of described broadcast, comprising:
Add the descriptor of firmware upgrade bag to firmware list, broadcast the session port information of described firmware list and described control terminal;
The descriptor of described firmware upgrade bag, comprising:
The version of the reflection of firmware, the identify label ID of firmware, firmware and unit type corresponding to firmware.
3. method according to claim 1 and 2, is characterized in that, described method also comprises:
Before receiving the acquisition request from the firmware upgrade bag of AllJoyn equipment, according to the quantity of the connected AllJoyn equipment preset, determine whether to allow the AllJoyn equipment of the described acquisition request of transmission and described control terminal to connect.
4. a firmware upgrade bag acquisition methods, is characterized in that, comprising:
After receiving the descriptor from the firmware upgrade bag of control terminal, judge whether described firmware upgrade bag is applicable to AllJoyn equipment according to the descriptor of described firmware upgrade bag, and whether the firmware version of described AllJoyn equipment is lower than the version of described firmware upgrade bag, if described firmware upgrade bag be applicable to described AllJoyn equipment and the firmware version of described AllJoyn equipment lower than the version of described firmware upgrade bag, then the descriptor of firmware upgrade bag described in buffer memory;
Judge whether the current running status of AllJoyn equipment can carry out firmware upgrade, if so, then obtain up-to-date firmware upgrade bag according to the descriptor of the firmware upgrade bag of buffer memory to the control terminal of described AllJoyn equipment.
5. method according to claim 4, is characterized in that, described method also comprises:
Before judging whether the current running status of AllJoyn equipment can carry out firmware upgrade, if again receive the descriptor of firmware upgrade bag, the descriptor of the firmware upgrade bag of the descriptor of firmware upgrade bag again received and the up-to-date of buffer memory is contrasted;
The only descriptor of the firmware upgrade bag that buffer memory receives again when the firmware upgrade bag again received is higher than the version of the up-to-date firmware upgrade bag of buffer memory, and the descriptor of the firmware upgrade bag of buffer memory before deleting.
6. method according to claim 4, it is characterized in that, after the described descriptor received from the firmware upgrade bag of control terminal, judge whether described firmware upgrade bag is applicable to AllJoyn equipment according to the descriptor of described firmware upgrade bag, and whether the firmware version of described AllJoyn equipment is lower than the version of described firmware upgrade bag, if described firmware upgrade bag be applicable to described AllJoyn equipment and the firmware version of described AllJoyn equipment lower than the version of described firmware upgrade bag, the then descriptor of firmware upgrade bag described in buffer memory, comprising:
AllJoyn equipment receives multiple firmware upgrade broadcast, described broadcast comprises the descriptor of multiple firmware upgrade bag, select to be applicable to described AllJoyn equipment and the descriptor of the highest firmware upgrade bag of version carries out buffer memory, described multiple firmware upgrade broadcast is from different control terminals.
7. a transmitting apparatus under firmware upgrade bag, is characterized in that, comprising:
Acquisition module, for obtaining the descriptor of the firmware upgrade bag of the AllJoyn equipment of control terminal management from upgrade server end;
Broadcast module, for broadcasting the descriptor of described firmware upgrade bag;
First receiver module, for receiving the acquisition request of the firmware upgrade bag from AllJoyn equipment;
Sending module, for asking the firmware upgrade bag of correspondence to be sent to the AllJoyn equipment sending described acquisition request according to described acquisition.
8. device according to claim 7, is characterized in that, described broadcast module specifically for:
Add the descriptor of firmware upgrade bag to firmware list, broadcast the session port information of described firmware list and described control terminal, the descriptor of described firmware upgrade bag, comprising: the version of the reflection of firmware, the identify label ID of firmware, firmware and unit type corresponding to firmware.
9. the device according to claim 7 or 8, is characterized in that, described device also comprises:
Determination module, for before receiving the acquisition request from the firmware upgrade bag of AllJoyn equipment, according to the quantity of the connected AllJoyn equipment preset, determine whether to allow the AllJoyn equipment of the described acquisition request of transmission and described control terminal to connect.
10. a firmware upgrade bag acquisition device, is characterized in that, comprising:
Second receiver module, after receiving the descriptor from the firmware upgrade bag of control terminal, judge whether described firmware upgrade bag is applicable to AllJoyn equipment according to the descriptor of described firmware upgrade bag, and whether the firmware version of described AllJoyn equipment is lower than the version of described firmware upgrade bag, if described firmware upgrade bag be applicable to described AllJoyn equipment and the firmware version of described AllJoyn equipment lower than the version of described firmware upgrade bag, then the descriptor of firmware upgrade bag described in buffer memory;
Judge module, for judging whether the current running status of AllJoyn equipment can carry out firmware upgrade, if so, then obtains up-to-date firmware upgrade bag according to the descriptor of the firmware upgrade bag of buffer memory to the control terminal of described AllJoyn equipment.
11. devices according to claim 10, is characterized in that, described device also comprises:
Contrast module, for before judging whether the current running status of AllJoyn equipment can carry out firmware upgrade, if again receive the descriptor of firmware upgrade bag, the descriptor of the firmware upgrade bag of the descriptor of firmware upgrade bag again received and the up-to-date of buffer memory is contrasted;
Cache module, for the only descriptor of the firmware upgrade bag that buffer memory receives again when the firmware upgrade bag again received is higher than the version of the up-to-date firmware upgrade bag of buffer memory, and the descriptor of the firmware upgrade bag of buffer memory before deleting.
12. devices according to claim 10, is characterized in that, described second receives mold is used for:
AllJoyn equipment receives multiple firmware upgrade broadcast, described broadcast comprises the descriptor of multiple firmware upgrade bag, select to be applicable to described AllJoyn equipment and the descriptor of the highest firmware upgrade bag of version carries out buffer memory, described multiple firmware upgrade broadcast is from different control terminals.
CN201610024639.2A 2016-01-15 2016-01-15 Firmware upgrade pack transmitting method, firmware upgrade pack acquiring method, firmware upgrade pack transmitting device and firmware upgrade pack acquiring device Pending CN105491159A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610024639.2A CN105491159A (en) 2016-01-15 2016-01-15 Firmware upgrade pack transmitting method, firmware upgrade pack acquiring method, firmware upgrade pack transmitting device and firmware upgrade pack acquiring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610024639.2A CN105491159A (en) 2016-01-15 2016-01-15 Firmware upgrade pack transmitting method, firmware upgrade pack acquiring method, firmware upgrade pack transmitting device and firmware upgrade pack acquiring device

Publications (1)

Publication Number Publication Date
CN105491159A true CN105491159A (en) 2016-04-13

Family

ID=55677869

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610024639.2A Pending CN105491159A (en) 2016-01-15 2016-01-15 Firmware upgrade pack transmitting method, firmware upgrade pack acquiring method, firmware upgrade pack transmitting device and firmware upgrade pack acquiring device

Country Status (1)

Country Link
CN (1) CN105491159A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106060153A (en) * 2016-06-29 2016-10-26 海尔优家智能科技(北京)有限公司 Upgrading methods for All Joyn device, and related devices
CN106843932A (en) * 2016-12-26 2017-06-13 歌尔科技有限公司 The upgrade method and system of virtual reality device firmware
CN107682440A (en) * 2017-10-17 2018-02-09 美的集团股份有限公司 The method for upgrading software of smart machine, device and system
CN107783773A (en) * 2017-11-22 2018-03-09 广东乐心医疗电子股份有限公司 Firmware burning method and system
CN108255503A (en) * 2016-12-28 2018-07-06 北京普源精电科技有限公司 The firmware upgrade method and device of measuring instrument
CN108429979A (en) * 2018-06-15 2018-08-21 歌尔科技有限公司 A kind of charging box upgrade method, charging box, wireless headset and TWS earphones
WO2018214775A1 (en) * 2017-05-26 2018-11-29 中兴通讯股份有限公司 Method and device for firmware upgrade, and storage medium
WO2019010761A1 (en) * 2017-07-12 2019-01-17 西安中兴新软件有限责任公司 Upgrade method, apparatus and system for internet of things terminal, terminal and storage medium
CN110378104A (en) * 2018-04-16 2019-10-25 北京升鑫网络科技有限公司 A method of upgrading is anti-to distort
CN110399136A (en) * 2019-06-18 2019-11-01 苏州浪潮智能科技有限公司 A kind of BMC firmware update, device, equipment and medium
CN111147402A (en) * 2019-12-27 2020-05-12 深圳市丰润达科技有限公司 Method and device for customizing factory setting items of switch, switch and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020092009A1 (en) * 1998-08-13 2002-07-11 Freeman Lawrence Alexander Personal computer upgrade
CN101060427A (en) * 2006-04-19 2007-10-24 华为技术有限公司 A system and method for realizing the remote software updating
CN101719937A (en) * 2009-11-30 2010-06-02 中兴通讯股份有限公司 Method and system for updating terminal device
CN101997707A (en) * 2009-08-11 2011-03-30 Tcl集团股份有限公司 System and method for upgrading intelligent terminals in batches
CN103379142A (en) * 2012-04-17 2013-10-30 国基电子(上海)有限公司 Terminal device firmware upgrading method and system
CN103677937A (en) * 2013-12-23 2014-03-26 腾讯科技(深圳)有限公司 Method and device for upgrading and running software
CN105100021A (en) * 2014-05-20 2015-11-25 西安中兴新软件有限责任公司 Method, device and system for triggering device management sessions

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020092009A1 (en) * 1998-08-13 2002-07-11 Freeman Lawrence Alexander Personal computer upgrade
CN101060427A (en) * 2006-04-19 2007-10-24 华为技术有限公司 A system and method for realizing the remote software updating
CN101997707A (en) * 2009-08-11 2011-03-30 Tcl集团股份有限公司 System and method for upgrading intelligent terminals in batches
CN101719937A (en) * 2009-11-30 2010-06-02 中兴通讯股份有限公司 Method and system for updating terminal device
CN103379142A (en) * 2012-04-17 2013-10-30 国基电子(上海)有限公司 Terminal device firmware upgrading method and system
CN103677937A (en) * 2013-12-23 2014-03-26 腾讯科技(深圳)有限公司 Method and device for upgrading and running software
CN105100021A (en) * 2014-05-20 2015-11-25 西安中兴新软件有限责任公司 Method, device and system for triggering device management sessions

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106060153A (en) * 2016-06-29 2016-10-26 海尔优家智能科技(北京)有限公司 Upgrading methods for All Joyn device, and related devices
CN106843932A (en) * 2016-12-26 2017-06-13 歌尔科技有限公司 The upgrade method and system of virtual reality device firmware
CN106843932B (en) * 2016-12-26 2020-07-24 歌尔科技有限公司 Method and system for upgrading firmware of virtual reality equipment
CN108255503A (en) * 2016-12-28 2018-07-06 北京普源精电科技有限公司 The firmware upgrade method and device of measuring instrument
WO2018214775A1 (en) * 2017-05-26 2018-11-29 中兴通讯股份有限公司 Method and device for firmware upgrade, and storage medium
WO2019010761A1 (en) * 2017-07-12 2019-01-17 西安中兴新软件有限责任公司 Upgrade method, apparatus and system for internet of things terminal, terminal and storage medium
CN107682440A (en) * 2017-10-17 2018-02-09 美的集团股份有限公司 The method for upgrading software of smart machine, device and system
CN107783773A (en) * 2017-11-22 2018-03-09 广东乐心医疗电子股份有限公司 Firmware burning method and system
CN110378104A (en) * 2018-04-16 2019-10-25 北京升鑫网络科技有限公司 A method of upgrading is anti-to distort
CN108429979A (en) * 2018-06-15 2018-08-21 歌尔科技有限公司 A kind of charging box upgrade method, charging box, wireless headset and TWS earphones
CN110399136A (en) * 2019-06-18 2019-11-01 苏州浪潮智能科技有限公司 A kind of BMC firmware update, device, equipment and medium
CN111147402A (en) * 2019-12-27 2020-05-12 深圳市丰润达科技有限公司 Method and device for customizing factory setting items of switch, switch and system

Similar Documents

Publication Publication Date Title
CN105491159A (en) Firmware upgrade pack transmitting method, firmware upgrade pack acquiring method, firmware upgrade pack transmitting device and firmware upgrade pack acquiring device
US10659952B2 (en) Network slice selection policy updating method and apparatus
CN110267327B (en) Service transmission method and device
CN110602724B (en) Network configuration method and communication device
WO2018054195A1 (en) Resource allocating method and base station
CN110381162B (en) Service processing method and related device
EP4203436A1 (en) Communication method and multi-access edge computing server
CN110677405A (en) Data processing method and device, electronic equipment and storage medium
US9425982B2 (en) Server and method for providing device management service and device receiving the device management service
CN112187531B (en) Module upgrading method and system, storage medium and electronic device
CN105827694B (en) Method and device for acquiring network resources
CN112612497A (en) Firmware upgrading method based on gateway and firmware upgrading method of equipment
CN105072149A (en) Method and device for building remote communication through proxy gateway
CN113196721B (en) Method and device for discovering Internet of things equipment and terminal equipment
CN112637221B (en) Equipment control method and device
CN113596792A (en) Binding method and device of electronic equipment, storage medium and electronic device
CN109802886B (en) Method and device for binding third party public number, air conditioner and storage medium
CN106535112B (en) Method, device and system for realizing terminal access
CN102281299A (en) Interactive service processing method and service control layer server
CN113824789B (en) Configuration method, device, equipment and storage medium of access descriptor
US10257819B2 (en) Assignment of network resource to a device
KR101377947B1 (en) Method of roaming in broadcast service and system and terminal thereof
US11240732B2 (en) Method and device for managing mobile node of SDN controller
CN108495299B (en) Method and device for receiving service information and multimode terminal
KR101031215B1 (en) System for updating firmware of settop-box using tcp/ip

Legal Events

Date Code Title Description
C06 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: 20160413

RJ01 Rejection of invention patent application after publication