CN107885515A - A kind of firmware upgrade method and device - Google Patents
A kind of firmware upgrade method and device Download PDFInfo
- Publication number
- CN107885515A CN107885515A CN201610868565.0A CN201610868565A CN107885515A CN 107885515 A CN107885515 A CN 107885515A CN 201610868565 A CN201610868565 A CN 201610868565A CN 107885515 A CN107885515 A CN 107885515A
- Authority
- CN
- China
- Prior art keywords
- firmware
- access point
- electronic equipment
- storage device
- version
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
A kind of firmware upgrade method and device are provided, for efficiently simply realizing the upgrading to an electronic device firmware, this method includes:One access point (102) obtains the first firmware when the firmware of described access point (102) needs upgrading from a firmware storage device (103), and first firmware is the firmware of an electronic equipment;Described access point (102) sends first firmware to the electronic equipment (101), the electronic equipment (101) to be upgraded using first firmware.Internet is connected without electronic equipment, and needs to complete the firmware upgrade of electronic equipment during upgrading in the firmware of access point, it is easy to operate and efficient.Also, the situation of internet can not be fully connected for access point, such as:Access point only needs just access the situation of internet during upgrading in the firmware of itself, can also realize the firmware upgrade of electronic equipment.
Description
Technical field
The present invention relates to electronic technology field, more particularly to a kind of firmware upgrade method and device.
Background technology
The firmware (firmware) being present in electronic equipment is a kind of software, for realizing control, detection, data manipulation
Etc. function.The common electronic equipment comprising firmware includes:Embedded system (such as:Traffic lights, consumption facility, remote control
Equipment and digital watch etc.), computer, computer peripheral, mobile phone, digital camera, intelligent terminal etc..In addition,
Industrial automation, firmware can be also included in big quantity sensor (sensor) present in factory.
The firmware being present in electronic equipment usually requires to upgrade.A kind of common upgrading mode is:Electronic equipment connects
Onto internet, the firmware of latest edition is downloaded from internet to the local flash memory (flash) of electronic equipment, electronic equipment
Into reforestation practices (recovery mode), in this mode, firmware is upgraded.
The situation of internet is cannot connect to for electronic equipment, can be entered by debugging port (debugging port)
Row firmware upgrade.Which needs the printed circuit board (PCB) (Printed circuit board, PCB) in electronic equipment to reserve volume
Outer space is used to arrange debugging port, and reserved exceptional space can increase electronic equipment volume, and reduce electronic equipment can be just
The property taken.In addition, carrying out firmware upgrade, it is necessary to which line downloads firmware on debugging port by debugging port, operation is comparatively laborious,
Waste time and energy.For a large amount of existing sensors such as in factory, if using such a upgrading mode, the effect of firmware upgrade
Rate is low, and easily causes operative sensor to be missed and do not carry out firmware upgrade.
Therefore, for cannot connect to the electronic equipment of internet, there is presently no a kind of both easy to operate, time saving and energy saving
Need to reserve exceptional space on an electronic device again, to realize the method for electronic device firmware upgrading.
The content of the invention
In view of this, the present invention provides a kind of firmware upgrade method and device, for efficiently simply realizing to an electricity
The upgrading of sub- equipment firmware, and without remaining for the exceptional space of firmware upgrade in advance on an electronic device.
First aspect, there is provided a kind of method for being used to upgrade the firmware of an electronic equipment 101, wherein, it is described
Electronic equipment 101 can communicate with an access point 102, in this method, firmware of the described access point 102 in described access point 102
When needing upgrading, the first firmware is obtained at a firmware storage device 103, and first firmware is sent to the electronics
Equipment 101, wherein, first firmware is the firmware of an electronic equipment, upgrades the electronics for the electronic equipment 101
The firmware of equipment 101.
In the firmware upgrade scheme, when the firmware of access point needs upgrading, the access point one electronic equipment of acquisition
The firmware of the electronic equipment of acquisition is simultaneously issued an electronic equipment progress firmware upgrade by firmware.Connect and interconnect without electronic equipment
Net, and need to complete the firmware upgrade of electronic equipment during upgrading in the firmware of access point, it is easy to operate and efficient.
Alternatively, will after described access point 102 obtains first firmware at the firmware storage device 103
First firmware is sent to before described access point 102, obtains the version of the second currently used firmware of the electronic equipment 101
This.If the version of second firmware is older than the version of first firmware, described access point 102 just sends out first firmware
Deliver to the electronic equipment 101;Otherwise described access point 102 will not send first firmware to the electronic equipment 101.
In the alternative, access point it is determined that the currently used firmware of electronic equipment than firmware that access point obtains version
In this old times, the firmware of electronic equipment is just issued into electronic equipment, avoid useless firmware upgrade and firmware transmission operation.
Wherein, described access point 102, can when obtaining the version of the second currently used firmware of the electronic equipment 101
Firmware version request command is sent to the electronic equipment 101, the firmware version request command is used to ask the electronics to set
The version of standby 101 currently used second firmwares;And receive the electronic equipment 101 and asked in response to the firmware version
Seek the version of second firmware of order transmission.Interact that to obtain electronic equipment currently used by access point and electronic equipment
Firmware version.
Or alternatively, after described access point 102 obtains first firmware at the firmware storage device 103,
First firmware is sent to before the electronic equipment 101, obtains the first kind of the electronic equipment 101;It is if described
First firmware is to belong to firmware used in the electronic equipment of the first kind, and the ability of described access point 102 is consolidated described first
Part is sent to the electronic equipment 101;Otherwise described access point 102 will not send first firmware to the electronic equipment
101。
In the alternative, the firmware of acquisition is sent to the electronic equipment of corresponding types by access point, avoids useless
Firmware upgrade and firmware transmission operation.
Or alternatively, after described access point 102 obtains first firmware at the firmware storage device 103,
First firmware is sent to before the electronic equipment 101, obtains the first kind of the electronic equipment 101;It is if described
First firmware is to belong to firmware used in the electronic equipment of the first kind, then described access point 102 obtains the electronics
The version of the second currently used firmware of equipment 101;If the version of second firmware is older than the version of first firmware,
Described access point 102 sends first firmware to the electronic equipment 101.
In the alternative, access point compares with after edition comparison in progress type, and firmware just is sent into corresponding electricity
Sub- equipment, avoid useless firmware upgrade and firmware transmission operation.
Alternatively, described access point 102 obtains the 3rd firmware at the firmware storage device 103, wherein, the described 3rd
Firmware is identified as the firmware of an access point in the firmware storage device 103, and the 3rd firmware connects including one
The firmware of access point and first firmware;Described access point 102 extracts first firmware from the 3rd firmware.
In the alternative, the firmware of electronic equipment and the firmware of access point exist as an entirety, and access point is true
When the fixed firmware of itself needs upgrading, one including itself firmware and electronic device firmware is obtained at firmware storage device
Individual overall firmware.Firmware obtains simple and convenient.For firmware storage device, it just knows that the firmware of storage is an access point
Firmware, in this case it is not apparent that the data organizational form inside the firmware.After access point obtains firmware at firmware storage device, then from
The firmware of electronic equipment is isolated in the firmware of acquisition.This mode need not change existing firmware storage device and access point it
Between firmware transmission mechanism, without change firmware storage device firmware memory mechanism.
Or alternatively, described access point 102 obtains at the firmware storage device 103 to be identified as to consolidate with the 4th
Associated first firmware of part, the 4th firmware are the firmware of an access point.
In the alternative, in firmware storage device, the firmware of electronic equipment and the firmware associated storage of access point, when
When access point obtains the firmware of access point at firmware storage device, firmware storage device is by the firmware of the electronic equipment of association
Access point is issued, the firmware of the electronic equipment received is issued electronic equipment by access point.In this way, firmware storage device
Need to record the incidence relation between the firmware of access point and the firmware of electronic equipment.But this mode is realized more flexible.Than
Such as:When the firmware for just only having issued new access point, then the firmware renewal of access point that will be stored in firmware storage device is only needed
For the firmware of newest issue, the firmware without updating electronic equipment, it is only necessary to firmware and original electronics after record renewal
The incidence relation of the firmware of equipment.
Second aspect, there is provided a kind of method for being used to upgrade the firmware of an electronic equipment 101, wherein, it is described
Electronic equipment 101 can communicate with an access point 102, and in this method, the electronic equipment 101 receives and comes from described access point
102 the first firmware, first firmware be described access point 102 the firmware of described access point 102 need upgrading when, from one
The firmware of the electronic equipment obtained at individual firmware storage device 103;The electronic equipment 101 uses the first firmware liter
The firmware of the level electronic equipment 101.
In the firmware upgrade scheme, when the firmware of access point needs upgrading, the access point one electronic equipment of acquisition
The firmware of the electronic equipment of acquisition is simultaneously issued an electronic equipment progress firmware upgrade by firmware.Connect and interconnect without electronic equipment
Net, and need to complete the firmware upgrade of electronic equipment during upgrading in the firmware of access point, it is easy to operate and efficient.
Alternatively, before the electronic equipment 101 receives the first firmware from described access point 102, the electronics
Equipment 101 receives the firmware version request command from described access point 102, and the firmware version request command is used to ask institute
State the version of the second currently used firmware of electronic equipment 101;The electronic equipment 101 asks to order in response to the firmware version
Make the version that second firmware is sent to described access point 102;The electronic equipment 101 comes from described access point in reception
During 102 the first firmware, the electronic equipment 101 receives first firmware newer than the version of second firmware.
In the alternative, by interacting between electronic equipment and access point, electronic equipment informs that access point itself is worked as
The new firmware of the version more currently used than electronic equipment is only sent electron by the version of the preceding firmware used, so, access point
Equipment, avoid electronic equipment and carry out useless firmware upgrade, it also avoid useless firmware transmission.
The third aspect, there is provided a kind of firmware processing method, in this method, a firmware storage device 103 is received and stored
4th firmware, the 4th firmware are the firmware of an access point;The firmware storage device 103, which also receives and stores first, to be consolidated
Part, first firmware are the firmware of an electronic equipment, and are associated with the 4th firmware;The firmware storage device 103
First firmware is not only stored, also records the incidence relation between first firmware and the 4th firmware.
In the firmware handle scheme, in firmware storage device, the firmware of electronic equipment is associated with the firmware of access point and deposited
Storage, when access point obtains the firmware of access point at firmware storage device, firmware storage device is by the electronic equipment of association
Firmware also issues access point, and the firmware of the electronic equipment received is issued electronic equipment by access point.In this way, firmware is deposited
Storage equipment needs to record the incidence relation between the firmware of access point and the firmware of electronic equipment.But this mode is realized cleverer
It is living.Such as:When the firmware for just only having issued new access point, then the firmware of access point that will be stored in firmware storage device is only needed
Be updated to the firmware of newest issue, without update electronic equipment firmware, it is only necessary to record renewal after firmware with it is original
The incidence relation of the firmware of electronic equipment.
Alternatively, the firmware storage device 103 to an access point 102 when sending four firmware, according to note
The incidence relation of record sends first firmware associated with the 4th firmware to described access point 102.
Fourth aspect, the embodiment of the present invention provide a kind of firmware upgrade system 10, and the system includes:One firmware storage
Equipment 103, for storing the first firmware, first firmware is the firmware of an electronic equipment;One access point 102, is used for
When the firmware of described access point 102 needs upgrading, first firmware is obtained at the firmware storage device 103, and will
First firmware is sent to the electronic equipment 101;One electronic equipment 101, for receiving institute at described access point 102
The first firmware is stated, and uses the firmware of electronic equipment 101 described in first firmware upgrade.
In the firmware upgrade scheme, when the firmware of access point needs upgrading, the access point one electronic equipment of acquisition
The firmware of the electronic equipment of acquisition is simultaneously issued an electronic equipment progress firmware upgrade by firmware.Connect and interconnect without electronic equipment
Net, and need to complete the firmware upgrade of electronic equipment during upgrading in the firmware of access point, it is easy to operate and efficient.
5th aspect, the embodiment of the present invention provide a kind of access point 102, can communicated with an electronic equipment 101, including:
One firmware acquisition module 901, for the firmware of described access point 102 need upgrading when, from a firmware storage device 103
Place obtains the first firmware, and first firmware is the firmware of an electronic equipment;And a firmware sending module 902, it is used for
First firmware is sent to the electronic equipment 101, first firmware and upgrades the electricity for the electronic equipment 101
The firmware of sub- equipment 101.
In the firmware upgrade scheme, when the firmware of access point needs upgrading, the access point one electronic equipment of acquisition
The firmware of the electronic equipment of acquisition is simultaneously issued an electronic equipment progress firmware upgrade by firmware.Connect and interconnect without electronic equipment
Net, and need to complete the firmware upgrade of electronic equipment during upgrading in the firmware of access point, it is easy to operate and efficient.
Alternatively, described access point 102 also includes a firmware information acquisition module 903, for being obtained in the firmware
After module 901 obtains first firmware at the firmware storage device 103, the firmware sending module 902 is by described in
First firmware is sent to before described access point 102, obtains the version of the second currently used firmware of the electronic equipment 101;
The firmware sending module 902, if older than the version of first firmware specifically for the version of second firmware, by institute
The first firmware is stated to send to the electronic equipment 101.
In the alternative, access point it is determined that the currently used firmware of electronic equipment than firmware that access point obtains version
In this old times, the firmware of electronic equipment is just issued into electronic equipment, avoid useless firmware upgrade and firmware transmission operation.
Wherein, the firmware information acquisition module 903, is specifically used for:Sending firmware version to the electronic equipment 101 please
Order is asked, the firmware version request command is used for the version for asking currently used second firmware of the electronic equipment 101
This;And receive the version for second firmware that the electronic equipment 101 is sent in response to the firmware version request command.
The currently used firmware version of electronic equipment is obtained with interacting for electronic equipment by access point.
Or alternatively, described access point 102 also includes a firmware information acquisition module 903, in the firmware
After acquisition module 901 obtains first firmware at the firmware storage device 103, the firmware sending module 902 will
First firmware is sent to before the electronic equipment 101, obtains the first kind of the electronic equipment 101;The firmware
Sending module 902, if being to belong to firmware used in the electronic equipment of the first kind specifically for first firmware,
First firmware is sent to the electronic equipment 101.
In the alternative, the firmware of acquisition is sent to the electronic equipment of corresponding types by access point, avoids useless
Firmware upgrade and firmware transmission operation.
Or alternatively, described access point 102 also includes a firmware information acquisition module 903, in the firmware
After acquisition module 901 obtains first firmware at the firmware storage device 103, the firmware sending module 902 will
First firmware is sent to before the electronic equipment 101, obtains the first kind of the electronic equipment 101, and if institute
It is to belong to firmware used in the electronic equipment of the first kind to state the first firmware, then it is current to obtain the electronic equipment 101
The version of the second firmware used;The firmware sending module 902, if specifically for second firmware version than described
The version of one firmware is old, then sends first firmware to the electronic equipment 101.
In the alternative, access point compares with after edition comparison in progress type, and firmware just is sent into corresponding electricity
Sub- equipment, avoid useless firmware upgrade and firmware transmission operation.
Alternatively, the firmware acquisition module 901, is specifically used for:It is solid that the 3rd is obtained at the firmware storage device 103
Part, wherein, the 3rd firmware is identified as the firmware of an access point, and described in the firmware storage device 103
Three firmwares include the firmware of access point and first firmware;And described first is extracted from the 3rd firmware and is consolidated
Part.
In the alternative, the firmware of electronic equipment and the firmware of access point exist as an entirety, and access point is true
When the fixed firmware of itself needs upgrading, one including itself firmware and electronic device firmware is obtained at firmware storage device
Individual overall firmware.Firmware obtains simple and convenient.For firmware storage device, it just knows that the firmware of storage is an access point
Firmware, in this case it is not apparent that the data organizational form inside the firmware.After access point obtains firmware at firmware storage device, then from
The firmware of electronic equipment is isolated in the firmware of acquisition.This mode need not change existing firmware storage device and access point it
Between firmware transmission mechanism, without change firmware storage device firmware memory mechanism.
Or the firmware acquisition module 901, it is identified as specifically for being obtained at the firmware storage device 103
First firmware associated with the 4th firmware, the 4th firmware are the firmware of an access point.
In the alternative, in firmware storage device, the firmware of electronic equipment and the firmware associated storage of access point, when
When access point obtains the firmware of access point at firmware storage device, firmware storage device is by the firmware of the electronic equipment of association
Access point is issued, the firmware of the electronic equipment received is issued electronic equipment by access point.In this way, firmware storage device
Need to record the incidence relation between the firmware of access point and the firmware of electronic equipment.But this mode is realized more flexible.Than
Such as:When the firmware for just only having issued new access point, then the firmware renewal of access point that will be stored in firmware storage device is only needed
For the firmware of newest issue, the firmware without updating electronic equipment, it is only necessary to firmware and original electronics after record renewal
The incidence relation of the firmware of equipment.
6th aspect, there is provided a kind of access point 102, it can be communicated with an electronic equipment 101, including:At least one storage
Device 1001, for storing a firmware handle program;At least one processor 1002, for calling the firmware handle program,
Perform as any possible implementation of first aspect or first aspect together method.
In the firmware upgrade scheme, when the firmware of access point needs upgrading, the access point one electronic equipment of acquisition
The firmware of the electronic equipment of acquisition is simultaneously issued an electronic equipment progress firmware upgrade by firmware.Connect and interconnect without electronic equipment
Net, and need to complete the firmware upgrade of electronic equipment during upgrading in the firmware of access point, it is easy to operate and efficient.
7th aspect, there is provided a kind of electronic equipment 101, the electronic equipment 101 can communicate with an access point 102, bag
Include:One receiving module 1101, for receiving the first firmware from described access point 102, first firmware connects to be described
Access point 102 is when the firmware of described access point 102 needs upgrading, an electronics of acquisition at a firmware storage device 103
The firmware of equipment;One firmware upgrade module 1102, for consolidating using electronic equipment 101 described in first firmware upgrade
Part.
In the firmware upgrade scheme, when the firmware of access point needs upgrading, the access point one electronic equipment of acquisition
The firmware of the electronic equipment of acquisition is simultaneously issued an electronic equipment progress firmware upgrade by firmware.Connect and interconnect without electronic equipment
Net, and need to complete the firmware upgrade of electronic equipment during upgrading in the firmware of access point, it is easy to operate and efficient.
Alternatively, the receiving module 1101, it is additionally operable to before the first firmware from described access point 102 is received,
The firmware version request command from described access point 102 is received, the firmware version request command is used to ask the electronics
The version of the second currently used firmware of equipment 101;The electronic equipment 101 also includes a sending module 1103, for ringing
Firmware version request command described in Ying Yu sends the version of second firmware to described access point 102;The receiving module
1101, specifically for receiving first firmware newer than the version of second firmware.
In the alternative, by interacting between electronic equipment and access point, electronic equipment informs that access point itself is worked as
The new firmware of the version more currently used than electronic equipment is only sent electron by the version of the preceding firmware used, so, access point
Equipment, avoid electronic equipment and carry out useless firmware upgrade, it also avoid useless firmware transmission.
Eighth aspect, there is provided a kind of electronic equipment 101, the electronic equipment 101 can communicate with an access point 102, bag
Include:At least one memory 1201, for storing a firmware handle program;At least one processor 1202, for calling
Firmware handle program is stated, the method provided such as any possible implementation of second aspect or second aspect is provided.
In the firmware upgrade scheme, when the firmware of access point needs upgrading, the access point one electronic equipment of acquisition
The firmware of the electronic equipment of acquisition is simultaneously issued an electronic equipment progress firmware upgrade by firmware.Connect and interconnect without electronic equipment
Net, and need to complete the firmware upgrade of electronic equipment during upgrading in the firmware of access point, it is easy to operate and efficient.
9th aspect, there is provided a kind of firmware storage device 103, including:One firmware receiving module 1301, for receiving the
Four firmwares, the 4th firmware are the firmware of an access point;One firmware memory module 1302, it is solid for storing the described 4th
Part;The firmware receiving module 1301, it is additionally operable to receive the first firmware, first firmware is the firmware of an electronic equipment,
And associated with the 4th firmware;The firmware memory module 1302, it is additionally operable to store first firmware, and records described
Incidence relation between one firmware and the 4th firmware.
In the firmware handle scheme, in firmware storage device, the firmware of electronic equipment is associated with the firmware of access point and deposited
Storage, when access point obtains the firmware of access point at firmware storage device, firmware storage device is by the electronic equipment of association
Firmware also issues access point, and the firmware of the electronic equipment received is issued electronic equipment by access point.In this way, firmware is deposited
Storage equipment needs to record the incidence relation between the firmware of access point and the firmware of electronic equipment.But this mode is realized cleverer
It is living.Such as:When the firmware for just only having issued new access point, then the firmware of access point that will be stored in firmware storage device is only needed
Be updated to the firmware of newest issue, without update electronic equipment firmware, it is only necessary to record renewal after firmware with it is original
The incidence relation of the firmware of electronic equipment.
Alternatively, in addition to firmware sending module 1303, for storing described first in the firmware memory module 1302
Firmware, and after recording the incidence relation between first firmware and the 4th firmware, institute is sent to an access point 102
State the 4th firmware;And the incidence relation recorded when sending four firmware according to the firmware memory module 1302
First firmware associated with the 4th firmware is sent to described access point 102.
Tenth aspect, there is provided a kind of firmware storage device 103, including:At least one memory 1401, for storing one
Firmware handle program;At least one processor 1402, for calling the firmware handle program, perform the third aspect or third party
The method that any possible implementation in face provides.
Tenth on the one hand, there is provided a kind of computer-readable medium, is stored with computer on the computer-readable medium and refers to
Order, the computer instruction make the computing device first aspect, second aspect, the third aspect when being executed by processor
Or first method provided to any possible implementation of the third aspect.
Brief description of the drawings
Fig. 1 is a kind of structural representation of firmware upgrade system provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of firmware upgrade method provided in an embodiment of the present invention;
Fig. 3, Fig. 5 A, the structural representation that Fig. 5 B and Fig. 5 C are firmware provided in an embodiment of the present invention;
Fig. 4 is the flow chart of another firmware upgrade method provided in an embodiment of the present invention;
Fig. 6 is the schematic diagram of the firmware associated storage of the firmware of access point and electronic equipment in the embodiment of the present invention;
Fig. 7 is the flow chart of another firmware upgrade method provided in an embodiment of the present invention;
Fig. 8 is the firmware liter of radio frequency identification (Radio Frequency System, RFID) antenna in the embodiment of the present invention
The schematic diagram of level scheme;
Fig. 9 and Figure 10 is the structural representation of access point provided in an embodiment of the present invention;
Figure 11 and Figure 12 is the structural representation of electronic equipment provided in an embodiment of the present invention;
Figure 13 and Figure 14 is the structural representation of firmware storage device provided in an embodiment of the present invention.
Reference numerals list:
10:Firmware upgrade system 101:Electronic equipment 102:Access point
103:Firmware storage device S201:Determine that itself firmware needs to upgrade
S202:Firmware obtains request S203:First firmware
S204:Store the first firmware S205:Ask the type of electronic equipment 101
S206:The first kind of electronic equipment 101
S207:It is to belong to firmware used in the electronic equipment of the first kind to determine the first firmware
S208:Ask the version of the second currently used firmware of electronic equipment 101
S209:The version of second firmware
S210:Determine that the version of the second firmware is older than the first firmware version
S211:First firmware S212:Determine that the first firmware receives
S213:Firmware updating S200a:3rd firmware
S200b:Store the 3rd firmware S203a:The first firmware is isolated from the 3rd firmware
S200c:4th firmware S200d:Store the 4th firmware
S200e:The first firmware associated with the 4th firmware
S200f:Store the first firmware S200g:Record the incidence relation between the first firmware and the 4th firmware
801:RFID reader 802:Antenna 803:Antenna
901:Firmware acquisition module 902:Firmware sending module 903:Firmware information acquisition module
1001:Memory 1002:Processor 1101:Receiving module
1102:Firmware upgrade module 1103:Sending module 1201:Memory
1202:Processor 1301:Firmware receiving module 1302:Firmware memory module
1303:Firmware sending module 1401:Memory 1402:Processor
Embodiment
In the embodiment of the present invention, an electronic equipment can be communicated with an access point (Access Point, AP), and electronics is set
The standby firmware that electronic equipment is obtained by the access point.Wherein, when the firmware of access point needs upgrading, the access point obtains one
The firmware of the electronic equipment of acquisition is simultaneously issued an electronic equipment progress firmware upgrade by the firmware of individual electronic equipment.Without electronics
Equipment connects internet, and the firmware upgrade of electronic equipment is completed when the firmware of access point needs upgrading, it is easy to operate and
Efficiently.
Also, the situation of internet can not be fully connected for access point, such as:Access point only needs in the firmware of itself
The situation of internet can be just accessed during upgrading, can also realize the firmware upgrade of electronic equipment.
In terms of the storage and transmission of firmware, a kind of optional mode is:In firmware storage device, electronic equipment is consolidated
The firmware of part and access point exists as an entirety, and for firmware storage device, it just knows that the firmware of storage is one and connect
The firmware of access point, in this case it is not apparent that the data organizational form inside the firmware.After access point obtains firmware at firmware storage device,
The firmware of electronic equipment is isolated from the firmware of acquisition again.This mode need not change existing firmware storage device and access
Firmware transmission mechanism between point, without the firmware memory mechanism for changing firmware storage device.
Optionally mode is another kind:In firmware storage device, the firmware of electronic equipment associates with the firmware of access point
Storage, when access point obtains the firmware of access point at firmware storage device, firmware storage device is by the electronic equipment of association
Firmware also issue access point, the firmware of the electronic equipment received is issued electronic equipment by access point.In this way, firmware
Storage device needs to record the incidence relation between the firmware of access point and the firmware of electronic equipment.But this mode is realized more
Flexibly.Such as:When the firmware for just only having issued new access point, then the access point for only needing to store in firmware storage device is consolidated
Part is updated to the firmware of newest issue, without update electronic equipment firmware, it is only necessary to record renewal after firmware with it is original
Electronic equipment firmware incidence relation.
Below, the embodiment of the present invention is described in detail with reference to accompanying drawing.
Fig. 1 shows a kind of firmware upgrade system 10 provided in an embodiment of the present invention.As shown in figure 1, the system includes:One
Individual firmware storage device 103, an access point 102 and at least one electronic equipment 101.
Wherein, the firmware of electronic equipment can be stored with firmware storage device 103, can also be stored with the firmware of access point.
Firmware storage device 103 can be located on internet, or on a computer.
The firmware of one electronic equipment usually requires to upgrade, such as:When increasing the New function of electronic equipment or solve former
During some firmware defects, it usually needs firmware updating.The publisher of firmware issues the firmware of a redaction, and by the redaction
Firmware be placed in firmware storage device 103.Generally, the corresponding version number of the firmware of a version, different editions are consolidated
The version number of part is different.
Access point 102 is connected with firmware storage device 103, and the connection between access point 102 and firmware storage device 103 can
Be wired connection (such as:Connected by netting twine, optical fiber etc.) or wireless connection (such as:Using Long Term Evolution
Connection that (Long Term Evolution, LTE) agreement is communicated, Wireless Fidelity (Wireless Fedility, WiFi)
Connection etc.).
Connection between access point 102 and firmware storage device 103 can be a kind of connection being always maintained at, i.e. access point
102 can access firmware upgrade system 10 at any time;Connection between access point 102 and firmware storage device 103 can also be a kind of
The connection just established when needed, such as:Access point 102 ability and firmware storage device only when the firmware of itself needs upgrading
103 establish connection to access firmware storage device 103.
At least one electronic equipment 101 can communicate with access point 102, an electronic equipment 101 and access point 102 it
Between connection can also be wired connection or wireless connection.Such as:Electronic equipment 101 can pass through string between access point 102
Mouth line, USB (Universal Serial Bus, USB) line are attached.For another example:Electronic equipment 101 and connect
Also near field (near field) technology (such as bluetooth, near-field communication (Near-field can be used between access point 102
Communication connection)) is established.One electronic equipment 101 can just be established when needing to communicate with an access point 102
With the connection between access point 102.Such as:Sensor as an electronic equipment 101 is in the data needs itself collected
During upload, just establish and connect with access point 102.Or an electronic equipment 101 can be with a company of being always maintained at of access point 102
Connect.
With reference to the system architecture shown in figure 1, firmware storage device 103 can be that any can store concurrently send electronic equipment to consolidate
The equipment of part, it can be a computer, a disk array, the storage server etc. in high in the clouds.Access point 102 can be any
The firmware of electronic equipment can be obtained at other equipment and the firmware of the electronic equipment of acquisition is sent to setting for electronic equipment
It is standby.Electronic equipment 101 can use firmware, and the equipment that can be communicated with other equipment to be any.
A kind of possible application scenarios are RFID systems, a RFID reader (RFID in a RFID system
Reader an access point 102) can be used as, an antenna being connected with RFID reader can be used as an electronic equipment 101, day
Firmware in line can be upgraded using scheme provided in an embodiment of the present invention.
Alternatively possible application scenarios are also RFID system, but unlike above-mentioned application scenarios, in the applied field
Under scape, a RFID reader and the antenna being connected with the RFID reader are integrally used as an access point, electronic tag conduct
One electronic equipment 101, the firmware in electronic tag can be upgraded using scheme provided in an embodiment of the present invention.
Fig. 2 shows a kind of firmware upgrade method provided in an embodiment of the present invention.This method can be applied to consolidating shown in Fig. 1
In part upgrade-system 10.Below, by taking firmware upgrade system 10 as an example, firmware upgrade method provided in an embodiment of the present invention is subject to
Explanation.
Flow shown in Fig. 2 may include following steps:
S201:Access point 102 determines to need to upgrade the firmware of itself;
Wherein, firmware upgrade system 10 can store this and connect after receiving for the firmware of the redaction of an access point
The firmware received, and notify access point 102 to carry out firmware upgrade, therefore, access point 102 can receive firmware upgrade system 10
After the notice of firmware upgrade, it is determined that needing to upgrade the firmware of itself.Wherein, the version of the firmware of 10 visible reception of firmware upgrade system
This number compared with the version number of the firmware stored, if receive firmware version number renewal, it is determined that have consolidating for redaction
Part.
Or whether access point 102 is inquired about in firmware storage device 103 and has the redaction for access point to consolidate
Part, if so, then determining to need to upgrade the firmware of itself.Wherein, the version number of the visible firmware found of access point 102 and itself
The version number of currently used firmware is compared, if version number's renewal of the firmware found, it is determined that there is consolidating for redaction
Part.
Access point 102 obtains the first firmware after it is determined that needing to upgrade the firmware of itself at firmware storage device 103.
The operation can be completed by following step S202 and step S203.
S202:Access point 102 sends firmware to firmware storage device 103 and obtains request, one access point of acquisition request
The firmware of redaction.
S203:Firmware storage device 103 sends the first firmware after receiving firmware and obtaining request, to access point 102, its
In, the first firmware is the firmware of an electronic equipment.
Certainly, the firmware of an access point can also be issued and connect after receiving firmware and obtaining request by firmware storage device 103
Access point 102, access point 102 is after the firmware is received, and alternatively, can first determine whether the firmware is connecing for itself affiliated type
Firmware used in access point, if so, can also determine whether that whether more currently used than itself the version of the firmware version be new, if
It is to carry out the firmware upgrade of itself using the firmware received.Certainly, if access point only has a type, access point 102
Also can judge without the above-mentioned type.Access point 102 also can without the comparison of above-mentioned version, such as:If firmware storage device
The firmware of the latest edition of one access point is only issued access point by 103, then the step of edition comparison can also omit.
S204:Access point 102 stores the first firmware.
Next, access point 102 can send the first firmware to electronic equipment 101.
Such as:Access point 102 can send the first firmware when itself is idle to the electronic equipment 101 being connected with itself.
For another example:Access point 102 can also with electronic equipment 101 establish connection after, carry out business data transmission before,
The first firmware is sent to electronic equipment 101.
For another example:Access point 102 can also be after connection be established with electronic equipment 101, and business data transmission finishes
Afterwards, with before the Connection Release of electronic equipment 101, the first firmware is sent to electronic equipment 101.
For latter two examples, if electronic equipment 101 is a temperature sensor, business datum may include electronic equipment
101 temperature datas collected.
Access point 102 can first carry out following step S205~step before the first firmware is sent to electronic equipment 101
S210, the type for carrying out electronic equipment 101 judges the identification of the firmware version used with electronic equipment 101, to determine whether
First firmware is sent to electronic equipment 101.
S205:Access point 102 asks the type of electronic equipment 101 to electronic equipment 101.
S206:Electronic equipment 101 is after the request of the type is received, to the first of the return electron equipment 101 of access point 102
Type.
Next, access point 102 judges whether the first firmware is to belong to firmware used in the electronic equipment of the first kind.
Such as:Access point 102 can prestore the version number of the firmware of electronic equipment and the electronic equipment using the firmware
Type between corresponding relation, then access point 102 can be judged according to the corresponding relation in step S207.
S207:Access point 102 determines that the first firmware is to belong to firmware used in the electronic equipment of the first kind.
S208:Access point 102 asks the version of the second currently used firmware of electronic equipment 101 to electronic equipment 101.
S209:Electronic equipment 101 returns to the second currently used firmware after the version request is received to access point 102
Version.
Alternatively, if access point 102 determines that the first firmware is not to belong to firmware used in the electronic equipment of the first kind,
The operation of the currently used firmware version of subsequent request electronic equipment 101 is then not carried out, also the first firmware will not be issued electricity
Sub- equipment 101.
After access point 102 have received the version of the second firmware by step S209, further by the version of the second firmware with
The version of first firmware is compared.
S210:Access point 102 determines that the version of the second firmware is lower than the version of the first firmware.
S211:First firmware is sent to electronic equipment 101 by access point 102.
S212:After electronic equipment 101 receives the first firmware, confirm that the first firmware has received to access point 102
Finish.
S213:Electronic equipment 101 carries out firmware upgrade using the first firmware.
Alternatively, in step S2013, electronic equipment 101 can first restart carries out firmware upgrade again.
Wherein, step S205~step S210 is optional step, and access point 102 can be both without the judgement of type, also not
The judgement of version is carried out, and the first firmware is directly sent to by electronic equipment 101 by step S211.Or also can only it perform
Type judges, or only performs version and judge.
For convenience, efficiently the firmware of an electronic equipment is upgraded, in the storage of the firmware of electronic equipment 101
In terms of transmission, the embodiments of the invention provide the various ways including following two ways.
Mode one
In firmware storage device 103, the firmware of electronic equipment and the firmware of an access point are as an entirety
In the presence of for firmware storage device 103, it just knows that the firmware of storage is the firmware of an access point, in this case it is not apparent that the firmware
Internal data organizational form.After access point 102 obtains firmware at firmware storage device 103, separated from the firmware of acquisition
Go out the firmware of electronic equipment 101.
Fig. 3 shows that the firmware stored in firmware storage device 103, and firmware storage device 103 are sent to access point
The structure of 102 firmware.As shown in figure 3, in the firmware of an access point, not only include the firmware of access point itself, also wrap
The firmware of electronic equipment is included, alternatively, can be according to the type of electronic equipment, consolidating including different types of electronic equipment respectively
Part, such as:The firmware of the electronic equipment of type A in Fig. 3 and the electronic equipment of type B.
Fig. 4 shows that firmware storage device 103 stores to firmware, and firmware storage device 103 and access point 102
Between carry out firmware transmission, access point 102 carries out the process of firmware separation.
As shown in figure 4, the process comprises the following steps:
S200a:Firmware storage device 103 receives the 3rd firmware.
3rd firmware can be the firmware newly issued, and can issue engineer by firmware and be stored in firmware storage device 103,
If firmware storage device 103 is the server on internet, the firmware newly issued can be uploaded to this by firmware issue engineer
On server.
In mode once, the firmware of an access point not only includes the firmware of access point itself, in addition to electronic equipment
Firmware, therefore, either there is the firmware for the access point newly issued, the firmware for still having the electronic equipment newly issued, be required to send out
Cloth this include the firmware of access point firmware and electronic device firmware.I.e. either access point firmware is needed to update or electronics is set
Standby firmware needs to update, and is required to newly issue firmware.
S200b:The 3rd firmware that the storage of firmware storage device 103 receives.
Firmware storage device 103 is not aware that the data organizational form inside the 3rd firmware, its only using the 3rd firmware as
The firmware of one access point is stored.
S201:Access point 102 determines that itself firmware needs to upgrade.
S202:Access point 102 sends firmware to firmware storage device 103 and obtains request.
Step S201 and step S202 detailed description refers to the description to flow shown in Fig. 2.
S203:First firmware is sent to access point 102 by firmware storage device 103.
In mode once, in step S203, firmware storage device 103 is actually that the 3rd firmware has been issued into access point
102, the 3rd firmware includes the first firmware, i.e., the firmware of one electronic equipment.
S203a:Access point 102 isolates the first firmware after the 3rd firmware is received from the 3rd firmware.
Wherein, the data organizational form inside the 3rd firmware can be made an appointment.
Such as:One firmware of firmware and electronic equipment in the 3rd firmware only including access point itself.It is a kind of possible
Implementation can be found in Fig. 5 A.Wherein, the 3rd firmware length is X Kbytes (kilobytes), wherein, preceding Y Kbytes are one
The firmware of access point, rear (X-Y) Kbytes are the firmware of an electronic equipment.Access point 102 is known a priori by access point
Any one in the length of the firmware of the length of firmware and an electronic equipment, you can isolate electronics from the 3rd firmware and set
Standby firmware and the firmware of access point.
For another example:3rd firmware include access point itself firmware and electronic equipment at least two firmwares (such as:
The firmware of two distinct types of electronic equipment, as shown in Figure 3).A kind of possible implementation can be found in Fig. 5 B.Wherein, it is preceding
YKbytes is the firmware of an access point, is followed by least two firmwares of electronic equipment.Access point 102 is known a priori by one
The length of the firmware of the length of the firmware of access point and an electronic equipment, you can isolate consolidating for access point from the 3rd firmware
The firmware of part and each electronic equipment.
For another example:3rd firmware includes the firmware of access point itself and at least one firmware of electronic equipment.It is a kind of
Possible implementation can be found in Fig. 5 C.Firmware length is variable, can be indicated in the configured information of the top n byte of the 3rd firmware
Original position of each firmware that 3rd firmware includes in the 3rd firmware;Alternatively, in addition to original position, can also refer to
Show the length of each firmware.Such as:As shown in Figure 5 C, the 3rd firmware total length is S Kbytes, wherein, the length of configured information
Spend for N byte, the firmware length of access point itself is M Kbytes, and the first firmware is P Kbytes, other types electronic equipment
Firmware length be Q Kbytes.
S204:Access point 102 stores the first firmware.
In access point 102, the firmware that specific memory space is used to store electronic equipment can be reserved.
Alternatively, access point 102 isolates firmware and the progress of access point after the 3rd firmware is received from the 3rd firmware
Firmware upgrade.
Alternatively, access point 102 also can be in the firmware currently used to the type of electronic equipment 101, electronic equipment 101
After version number is judged, the first firmware is sent to by electronic equipment 101 by step S211.
Employing mode one, without changing the firmware transmission mechanism between existing firmware storage device and access point, also without
The firmware memory mechanism of firmware storage device need to be changed.
Mode two
In firmware storage device 103, the firmware of electronic equipment and the firmware associated storage of an access point, when connecing
When access point 102 obtains the firmware of access point 102 at firmware storage device 103, firmware storage device 103 sets the electronics of association
Standby firmware also issues access point 102, and the firmware of the electronic equipment received is issued electronic equipment 101 by access point 102.
Fig. 6 shows the firmware stored in firmware storage device 103.As shown in fig. 6, the firmware and type A of access point
The firmware of electronic equipment and the electronic equipment of type B stores respectively, and firmware storage device 103 records the firmware of access point
Incidence relation between the firmware of type A electronic equipment, firmware storage device 103 also record the firmware and type of access point
Incidence relation between the firmware of B electronic equipment.
Fig. 7 shows that firmware storage device 103 stores to firmware, and firmware storage device 103 and access point 102
Between carry out firmware transmission process.
As shown in fig. 6, the process comprises the following steps:
S200c:Firmware storage device 103 receives the 4th firmware.
4th firmware is the firmware of an access point, can be the firmware newly issued, and engineer's storage can be issued by firmware
In firmware storage device 103, if firmware storage device 103 is the server on internet, firmware issue engineer can incite somebody to action
The firmware newly issued is uploaded on the server.
S200d:The 4th firmware that the storage of firmware storage device 103 receives.
S200e:Firmware storage device 103 receives first firmware associated with the 4th firmware.
S200f:Firmware storage device 103 stores the first firmware.
S200g:Firmware storage device 103 records the incidence relation between the first firmware and the 4th firmware.
Wherein, in above-mentioned steps S200c~step S200f, the reception and storage and the reception of the 4th firmware of the first firmware
There is no certain precedence relationship between storage.Such as:It can first receive and store the first firmware, then receive and store the 4th and consolidate
Part;It can also first receive and store the 4th firmware, then receive and store the first firmware;Or the first firmware and the 4th are received simultaneously
Firmware, then the first firmware and the 4th firmware are stored respectively.
A kind of possible scene is, when there is four firmware of the access point newly issued, firmware storage device 103 receives the
Four firmwares, and the first configured information is received, first configured information indicates that the 4th firmware has stored with firmware storage device 103
The first firmware between incidence relation.Then firmware storage device 103 stores the 4th firmware, and remembers according to first configured information
Record the incidence relation between the first firmware and the 4th firmware.
Alternatively possible scene is that, when there is the first firmware of the electronic equipment newly issued, firmware storage device 103 connects
The first firmware is received, and receives the second configured information, second configured information indicates that the first firmware has been deposited with firmware storage device 103
Incidence relation between 4th firmware of storage.Then firmware storage device 103 stores the first firmware, and according to second configured information
Record the incidence relation between the first firmware and the 4th firmware.
Another possible scene is, when the of the first firmware for having the electronic equipment newly issued and the access point newly issued
During four firmwares, firmware storage device 103 receives the first firmware and the 4th firmware, and receives the 3rd configured information, the 3rd instruction
Information indicates the incidence relation between first firmware and the 4th firmware.Then firmware storage device 103 store the first firmware and
4th firmware, and record the incidence relation between the first firmware and the 4th firmware according to the 3rd configured information.
S201:Access point 102 determines that itself firmware needs to upgrade.
S202:Access point 102 sends firmware to firmware storage device 103 and obtains request.
Step S201 and step S202 detailed description refers to the description to flow shown in Fig. 2.
S203:First firmware is sent to access point 102 by firmware storage device 103.
Under mode two, in step S203, the first firmware only can be issued access point 102 by firmware storage device 103, or
First firmware and the 4th firmware are issued into access point 102.
Firmware storage device 103 can determine access point after receiving firmware and obtaining request according to the type of access point 102
Firmware used in 102 is the 4th firmware, and according to the incidence relation between the 4th firmware of record and the first firmware, determines
One firmware.
S204:Access point 102 stores the first firmware.
In access point 102, the firmware that specific memory space is used to store electronic equipment can be reserved.
Alternatively, access point 102 also can be in the firmware currently used to the type of electronic equipment 101, electronic equipment 101
After version number is judged, the first firmware is sent to by electronic equipment 101 by step S211.
Under mode two, a firmware storage device needs to record between the firmware of access point and the firmware of electronic equipment
Incidence relation.But this mode is realized more flexible.Such as:When the firmware for just only having issued new access point, then only needing will be solid
The firmware of the access point stored in part storage device is updated to the firmware of newest issue, the firmware without updating electronic equipment,
Only need the incidence relation of the firmware and the firmware of original electronic equipment after record renewal.
Fig. 8 shows a specific example.In Fig. 8, access point 102 is a RFID reader 801, the RFID read-write
Device is connected to two antennas, respectively antenna 802 and antenna 803.Wherein, antenna 802 is type A antenna, and antenna 803 is class
Type B antenna.Firmware storage device 103 is located in internet.
RFID reader 801 can not be fully connected internet, and it only can just be accessed mutually when the firmware of itself needs upgrading
Networking.Interconnecting not only includes the firmware of RFID reader in the firmware of Web realease, in addition to the firmware of type A antenna and
The firmware of the antenna of type B.
When RFID reader 801 accesses internet, it can easily upgrade the firmware of itself.Once RFID read-write
Device 801 has upgraded the firmware of itself, and it just stores the firmware of type A antenna and type B in the storage region of itself
The firmware of antenna.Pass through the communication of RFID reader 801 and antenna 802 and antenna 803 so that the two antennas also complete solid
The upgrading of part.
This provides a kind of inexpensive, effective and reliable antenna upgrade method.Although RFID reader 801 can not be complete
Access internet, but as long as RFID reader 801 and antenna 802 and antenna 803 can proper communication, can be achieved with to antenna
802 and antenna 803 firmware upgrading.
Fig. 9 is a kind of structural representation of access point 102 provided in an embodiment of the present invention.As shown in figure 9, access point 102
Including:
One firmware acquisition module 901, for when the firmware of access point 102 needs upgrading, being set from a firmware storage
The first firmware is obtained at standby 103, the first firmware is the firmware of an electronic equipment;
One firmware sending module 902, it is used for electronics for the first firmware to be sent to electronic equipment 101, the first firmware
The firmware of the upgrading electronic equipment 101 of equipment 101.
Alternatively, access point 102 also includes a firmware information acquisition module 903, for firmware acquisition module 901 from
At firmware storage device 103 obtain the first firmware after, firmware sending module 902 by the first firmware send to access point 102 it
Before, the version of the second currently used firmware of acquisition electronic equipment 101;
Firmware sending module 902, if older than the version of the first firmware specifically for the version of the second firmware, first is consolidated
Part is sent to electronic equipment 101.
Alternatively, firmware information acquisition module 903, is specifically used for:
Firmware version request command is sent to electronic equipment 101, firmware version request command is used to ask electronic equipment 101
The version of the second currently used firmware;And
Receive the version for the second firmware that electronic equipment 101 is sent in response to firmware version request command.
Alternatively, access point 102 also includes a firmware information acquisition module 903, for firmware acquisition module 901 from
After obtaining the first firmware at firmware storage device 103, firmware sending module 902 sends the first firmware to electronic equipment 101
Before, the first kind of electronic equipment 101 is obtained;
Firmware sending module 902, if being to belong to solid used in the electronic equipment of the first kind specifically for the first firmware
Part, then the first firmware is sent to electronic equipment 101.
Alternatively, access point 102 also includes a firmware information acquisition module 903, for firmware acquisition module 901 from
After obtaining the first firmware at firmware storage device 103, firmware sending module 902 sends the first firmware to electronic equipment 101
Before, the first kind of electronic equipment 101 is obtained, and if the first firmware is to belong to used in the electronic equipment of the first kind
Firmware, then obtain the version of the second currently used firmware of electronic equipment 101;
Firmware sending module 902, if older than the version of the first firmware specifically for the version of the second firmware, first is consolidated
Part is sent to electronic equipment 101.
Alternatively, firmware acquisition module 901, is specifically used for:
The 3rd firmware is obtained at firmware storage device 103, wherein, the 3rd firmware is marked in firmware storage device 103
Know for the firmware of an access point, and the 3rd firmware includes the firmware and the first firmware of an access point;And
The first firmware is extracted from the 3rd firmware.
Alternatively, firmware acquisition module 901, it is identified as and the 4th specifically for being obtained at firmware storage device 103
The first associated firmware of firmware, the 4th firmware are the firmware of an access point.
Other optional implementations of the access point 102 refer to foregoing access point 102, wherein, firmware acquisition module
901 are used to complete firmware acquisition operation, and firmware sending module 902 is used to send firmware to electronic equipment 101, and firmware information obtains
Module is used to interact with electronic equipment 101, obtains the relevant information of electronic equipment 101.
Figure 10 is another structural representation of access point 102 provided in an embodiment of the present invention.As shown in Figure 10, access point
102 include:At least one memory 1001, for storing a firmware handle program;At least one processor 1002, for adjusting
With firmware handle program, the related processing operation of the firmware of foregoing access point 102 is performed.Other of the access point 102 are optional
Implementation refers to foregoing access point 102.
Figure 11 is a kind of structural representation of electronic equipment 101 provided in an embodiment of the present invention.As shown in figure 11, electronics is set
Standby 101 include:
One receiving module 1101, for receiving the first firmware from access point 102, the first firmware is access point 102
When the firmware of access point 102 needs upgrading, the firmware of the electronic equipment obtained at a firmware storage device 103;
One firmware upgrade module 1102, for the firmware using the first firmware upgrade electronic equipment 101.
Alternatively, receiving module 1101, it is additionally operable to before the first firmware from access point 102 is received, reception comes from
The firmware version request command of access point 102, firmware version request command are used for ask electronic equipment 101 currently used second
The version of firmware;
Electronic equipment 101 also includes a sending module 1103, in response to firmware version request command to access point
102 send the version of the second firmware;
Receiving module 1101, specifically for receiving first firmware newer than the version of the second firmware.
Other optional implementations of the electronic equipment 101 refer to foregoing electronic equipment 101, wherein, receiving module
1101 are used to interact with access point 102, receive the firmware from access point 102 and order.Firmware upgrade module 1102 is used
The firmware upgrade of itself is carried out in electronic equipment 101.Sending module 1103, for being interacted with access point 102, to access point
102 send command response and message etc..
Figure 12 is a kind of structural representation of electronic equipment 101 provided in an embodiment of the present invention.As shown in figure 12, electronics is set
Standby 101 include:At least one memory 1201, for storing a firmware handle program;At least one processor 1202, is used for
Firmware handle program is called, performs the operation of the firmware handle of foregoing electronic equipment 101.Other of the electronic equipment 101 can
Implementation is selected to refer to the processing of foregoing electronic equipment 101.
Figure 13 is a kind of structural representation of firmware storage device 103 provided in an embodiment of the present invention.As shown in figure 13, Gu
Part storage device 103 includes:
One firmware receiving module 1301, for receiving the 4th firmware, the 4th firmware is the firmware of an access point;
One firmware memory module 1302, for storing the 4th firmware;
Firmware receiving module 1301, it is additionally operable to receive the first firmware, the first firmware is the firmware of an electronic equipment, and with
4th firmware associates;
Firmware memory module 1302, it is additionally operable to store the first firmware, and records the pass between the first firmware and the 4th firmware
Connection relation.
Alternatively, in addition to firmware sending module 1303, for storing the first firmware in firmware memory module 1302, and remember
After recording the incidence relation between the first firmware and the 4th firmware, the 4th firmware is sent to an access point 102;And sending
During four firmwares according to firmware memory module 1302 record incidence relation by the first firmware associated with the 4th firmware send to
Access point 102.
Other optional implementations of the firmware storage device 103 refer to foregoing firmware storage device 103.Wherein,
Firmware receiving module 1301 is used for the firmware for receiving issue;Firmware memory module 1302 is used to store firmware, and recording firmware it
Between incidence relation;Firmware sending module 1303 is used to interact with access point 102, and firmware is sent to access point 102.
Figure 14 is another structural representation of firmware storage device 103 provided in an embodiment of the present invention.As shown in figure 14,
Firmware storage device 103 includes:At least one memory 1401, for storing a firmware handle program;At least one processing
Device 1402, for calling firmware handle program, perform the operation of foregoing firmware storage device 103.The firmware storage device 103
Other optional modes refer to the operation of foregoing firmware storage device 103.
The embodiment of the present invention additionally provides a kind of computer-readable storage medium, stores as described herein for performing a machine
Program code checking method instruction.Specifically, system or device equipped with storage medium can be provided, in the storage
The software program code for realizing the function of any embodiment in above-described embodiment is store on medium, and makes the system or device
Computer (or CPU or MPU) read and perform the program code being stored in storage medium.
In this case, it is real that any one in above-described embodiment can be achieved in the program code read from storage medium in itself
The function of example is applied, therefore the storage medium of program code and store program codes constitutes the part of the present invention.
For provide program code storage medium embodiment include floppy disk, hard disk, magneto-optic disk, CD (such as CD-ROM,
CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), tape, Nonvolatile memory card and ROM.Selectively,
Can by communication network from server computer download program code.
Further, it should be apparent that not only can be by performing the program code read-out by computer, and can pass through
Instruction based on program code makes operating system of calculating hands- operation etc. to complete partly or completely practical operation, so as to
Realize the function of any one embodiment in above-described embodiment.
Further, it is to be appreciated that the program code read by storage medium is write into the expansion board in insertion computer
In in set memory or write in the memory set in the expanding element being connected with computer, then based on journey
CPU that the instruction of sequence code makes to be arranged on expansion board or expanding element etc. comes executable portion and whole practical operations, so as to
Realize the function of any embodiment in above-described embodiment.
To sum up, in the embodiment of the present invention, an electronic equipment can pass through the access with an access point communication, electronic equipment
The firmware of point acquisition electronic equipment.Wherein, when the firmware of access point needs upgrading, the access point one electronic equipment of acquisition
The firmware of the electronic equipment of acquisition is simultaneously issued an electronic equipment progress firmware upgrade by firmware.Connect and interconnect without electronic equipment
Net, and need to complete the firmware upgrade of electronic equipment during upgrading in the firmware of access point, it is easy to operate and efficient.It is also, right
The situation of internet can not be fully connected in access point, such as:Access point only can just access when the firmware of itself needs upgrading
The situation of internet, it can also realize the firmware upgrade of electronic equipment.
It should be noted that step and module not all in above-mentioned each flow and each system construction drawing is all necessary
, some steps or module can be ignored according to the actual needs.The execution sequence of each step be not it is fixed, can be according to need
It is adjusted.System architecture described in the various embodiments described above can be physical arrangement or logical construction, i.e. have
A little modules may realize by same physical entity, or, some modules may divide to be realized by multiple physical entities, or, can be with
Realized jointly by some parts in multiple autonomous devices.
In various embodiments above, hardware cell mechanically or can be realized electrically.A for example, hardware list
Member can include permanent special circuit or logic (such as special processor, FPGA or ASIC) to complete corresponding operating.Firmly
Part unit can also include FPGA or circuit (such as general processor or other programmable processors), can be entered by software
Interim setting go to complete corresponding operating.Concrete implementation mode (mechanical system or special permanent circuit or is faced
When the circuit that sets) can be determined based on cost and temporal consideration.
Detailed displaying and explanation have been carried out to the present invention above by accompanying drawing and preferred embodiment, but the invention is not restricted to
These embodiments having revealed that, base could be aware that with above-mentioned multiple embodiment those skilled in the art, can combine above-mentioned difference
Code examination & verification means in embodiment obtain the more embodiments of the present invention, these embodiments also protection scope of the present invention it
It is interior.
Claims (27)
1. one kind is used for the method upgraded to the firmware of an electronic equipment (101), the electronic equipment (101) can be with one
Individual access point (102) communication, it is characterised in that methods described includes:
Described access point (102) is when the firmware of described access point (102) needs upgrading, from a firmware storage device (103)
Place obtains the first firmware, and first firmware is the firmware of an electronic equipment;
Described access point (102) sends first firmware to be used for described to the electronic equipment (101), first firmware
Electronic equipment (101) upgrades the firmware of the electronic equipment (101).
2. the method as described in claim 1, it is characterised in that
After described access point (102) obtains first firmware from the firmware storage device (103), by described first
Firmware is sent to before described access point (102), in addition to:It is current that described access point (102) obtains the electronic equipment (101)
The version of the second firmware used;
Described access point (102) sends first firmware to the electronic equipment (101), including:If second firmware
Version it is older than the version of first firmware, then first firmware is sent to the electronics and set by described access point (102)
Standby (101).
3. method as claimed in claim 2, it is characterised in that described access point (102) obtain the electronic equipment (101) when
The version of preceding the second firmware used, including:
Described access point (102) sends firmware version request command, the firmware version request life to the electronic equipment (101)
Make the version for asking currently used second firmware of the electronic equipment (101);
Described access point (102) receives the electronic equipment (101) in response to described in firmware version request command transmission
The version of second firmware.
4. the method as described in claim 1, it is characterised in that in described access point (102) from the firmware storage device
(103) after place obtains first firmware, first firmware is sent to before the electronic equipment (101), in addition to:
Described access point (102) obtains the first kind of the electronic equipment (101);
Described access point (102) sends first firmware to the electronic equipment (101), including:If first firmware
To belong to firmware used in the electronic equipment of the first kind, then described access point (102) sends first firmware
To the electronic equipment (101).
5. the method as described in claim 1, it is characterised in that
After described access point (102) obtains first firmware from the firmware storage device (103), by described first
Firmware is sent to before the electronic equipment (101), in addition to:
Described access point (102) obtains the first kind of the electronic equipment (101);
If first firmware is to belong to firmware used in the electronic equipment of the first kind, described access point (102)
Obtain the version of the second currently used firmware of the electronic equipment (101);
Described access point (102) sends first firmware to the electronic equipment (101), including:If second firmware
Version it is older than the version of first firmware, then first firmware is sent to the electronics and set by described access point (102)
Standby (101).
6. the method as described in any one of Claims 1 to 5, it is characterised in that described access point (102) stores from a firmware
Equipment (103) place obtains first firmware, including:
Described access point (102) obtains the 3rd firmware from the firmware storage device (103), wherein, the 3rd firmware exists
The firmware of an access point is identified as in the firmware storage device (103), and the 3rd firmware includes an access point
Firmware and first firmware;
Described access point (102) extracts first firmware from the 3rd firmware.
7. the method as described in any one of Claims 1 to 5, it is characterised in that described access point (102) stores from a firmware
Equipment (103) place obtains first firmware, including:
Described access point (102) obtains from the firmware storage device (103) and is identified as the institute associated with the 4th firmware
The first firmware is stated, the 4th firmware is the firmware of an access point.
8. one kind is used for the method upgraded to the firmware of an electronic equipment (101), the electronic equipment (101) can be with one
Individual access point (102) communication, it is characterised in that methods described includes:
The electronic equipment (101) receives the first firmware from described access point (102), and first firmware is the access
Point (102) is when the firmware of described access point (102) needs upgrading, one of acquisition from a firmware storage device (103)
The firmware of electronic equipment;
The electronic equipment (101) uses the firmware of electronic equipment (101) described in first firmware upgrade.
9. method as claimed in claim 8, it is characterised in that
Before the electronic equipment (101) receives the first firmware from described access point (102), in addition to:
The electronic equipment (101) receives the firmware version request command from described access point (102), and the firmware version please
Order is asked to be used for the version for asking the second currently used firmware of the electronic equipment (101);
The electronic equipment (101) sends described second in response to the firmware version request command to described access point (102)
The version of firmware;
The electronic equipment (101) receives the first firmware from described access point (102), including:The electronic equipment (101)
Receive first firmware newer than the version of second firmware.
A kind of 10. firmware processing method, it is characterised in that including:
One firmware storage device (103) receives the 4th firmware, and the 4th firmware is the firmware of an access point;
The firmware storage device (103) stores the 4th firmware;
The firmware storage device (103) receives the first firmware, and first firmware is the firmware of an electronic equipment, and with institute
State the association of the 4th firmware;
The firmware storage device (103) stores first firmware, and record first firmware and the 4th firmware it
Between incidence relation.
11. method as claimed in claim 10, it is characterised in that store described first in the firmware storage device (103)
Firmware, and after recording the incidence relation between first firmware and the 4th firmware, in addition to:
, will be with the described 4th according to the incidence relation of record when sending four firmware to an access point (102)
First firmware of firmware association is sent to described access point (102).
12. a kind of firmware upgrade system (10), it is characterised in that the system includes:
One firmware storage device (103), for storing the first firmware, first firmware is the firmware of an electronic equipment;
One access point (102), for the firmware of described access point (102) need upgrading when, from the firmware storage device
(103) place obtains first firmware, and first firmware is sent to the electronic equipment (101);
One electronic equipment (101), for receiving first firmware from described access point (102), and use described first
The firmware of electronic equipment described in firmware upgrade (101).
13. a kind of access point (102), it can be communicated with an electronic equipment (101), it is characterised in that including:
One firmware acquisition module (901), for when the firmware of described access point (102) needs upgrading, being deposited from a firmware
Store up equipment (103) place and obtain the first firmware, first firmware is the firmware of an electronic equipment;
One firmware sending module (902), for first firmware to be sent to the electronic equipment (101), described first
Firmware is used for the firmware that the electronic equipment (101) upgrades the electronic equipment (101).
14. access point (102) as claimed in claim 13, it is characterised in that
Described access point (102) also includes a firmware information acquisition module (903), in the firmware acquisition module
(901) after obtaining first firmware from the firmware storage device (103), the firmware sending module (902) is by institute
State the first firmware to send to before described access point (102), obtain the second currently used firmware of the electronic equipment (101)
Version;
The firmware sending module (902), if older than the version of first firmware specifically for the version of second firmware,
Then first firmware is sent to the electronic equipment (101).
15. access point (102) as claimed in claim 14, it is characterised in that the firmware information acquisition module (903), tool
Body is used for:
Firmware version request command is sent to the electronic equipment (101), the firmware version request command is described for asking
The version of currently used second firmware of electronic equipment (101);And
Receive the version for second firmware that the electronic equipment (101) is sent in response to the firmware version request command.
16. access point (102) as claimed in claim 13, it is characterised in that
Described access point (102) also includes a firmware information acquisition module (903), in the firmware acquisition module
(901) after obtaining first firmware from the firmware storage device (103), the firmware sending module (902) is by institute
State the first firmware to send to before the electronic equipment (101), obtain the first kind of the electronic equipment (101);
The firmware sending module (902), if specifically for first firmware being the electronic equipment for belonging to the first kind
Used firmware, then first firmware is sent to the electronic equipment (101).
17. access point (102) as claimed in claim 13, it is characterised in that
Described access point 102 also includes a firmware information acquisition module (903), in the firmware acquisition module (901)
After obtaining first firmware from the firmware storage device (103), the firmware sending module (902) is by described first
Firmware is sent to before the electronic equipment (101), obtains the first kind of the electronic equipment (101), and if described
One firmware is to belong to firmware used in the electronic equipment of the first kind, then obtaining the electronic equipment (101) currently makes
The version of second firmware;
The firmware sending module (902), if older than the version of first firmware specifically for the version of second firmware,
Then first firmware is sent to the electronic equipment (101).
18. the access point (102) as described in any one of claim 13~17, it is characterised in that the firmware acquisition module
(901), it is specifically used for:
The 3rd firmware is obtained from the firmware storage device (103), wherein, the 3rd firmware is in the firmware storage device
(103) firmware of an access point is identified as in, and the 3rd firmware includes the firmware and described first of an access point
Firmware;And
First firmware is extracted from the 3rd firmware.
19. the access point (102) as described in any one of claim 13~17, it is characterised in that the firmware acquisition module
(901), it is identified as described first associated with the 4th firmware specifically for being obtained from the firmware storage device (103)
Firmware, the 4th firmware are the firmware of an access point.
20. a kind of access point (102), it can be communicated with an electronic equipment (101), it is characterised in that including:
At least one memory (1001), for storing a firmware handle program;
At least one processor (1002), for calling the firmware handle program, perform such as any one of claim 1~7 institute
The method stated.
21. a kind of electronic equipment (101), the electronic equipment (101) can communicate with an access point (102), it is characterised in that
Including:
One receiving module (1101), for receiving the first firmware from described access point (102), first firmware is institute
Access point (102) is stated when the firmware of described access point (102) needs upgrading, is obtained from a firmware storage device (103)
An electronic equipment firmware;
One firmware upgrade module (1102), for the firmware using electronic equipment (101) described in first firmware upgrade.
22. electronic equipment (101) as claimed in claim 21, it is characterised in that
The receiving module (1101), it is additionally operable to before the first firmware from described access point (102) is received, reception comes from
The firmware version request command of described access point (102), the firmware version request command are used to ask the electronic equipment
(101) version of the second currently used firmware;
The electronic equipment 101 also includes a sending module (1103), in response to the firmware version request command to
Described access point (102) sends the version of second firmware;
The receiving module (1101), specifically for receiving first firmware newer than the version of second firmware.
23. a kind of electronic equipment (101), the electronic equipment (101) can communicate with an access point (102), it is characterised in that
Including:
At least one memory (1201), for storing a firmware handle program;
At least one processor (1202), for calling the firmware handle program, perform side as claimed in claim 8 or 9
Method.
A kind of 24. firmware storage device (103), it is characterised in that including:
One firmware receiving module (1301), for receiving the 4th firmware, the 4th firmware is the firmware of an access point;
One firmware memory module (1302), for storing the 4th firmware;
The firmware receiving module (1301), it is additionally operable to receive the first firmware, first firmware is consolidating for electronic equipment
Part, and associated with the 4th firmware;
The firmware memory module (1302), it is additionally operable to store first firmware, and records first firmware and described the
Incidence relation between four firmwares.
25. firmware storage device (103) as claimed in claim 24, it is characterised in that also including firmware sending module
(1303), for storing first firmware in the firmware memory module (1302), and record first firmware with it is described
After incidence relation between 4th firmware,
The 4th firmware is sent to an access point (102);And
When sending four firmware according to the firmware memory module (1302) record the incidence relation will with it is described
First firmware of 4th firmware association is sent to described access point (102).
A kind of 26. firmware storage device (103), it is characterised in that including:
At least one memory (1401), for storing a firmware handle program;
At least one processor (1402), for calling the firmware handle program, perform as described in claim 10 or 11
Method.
27. a kind of computer-readable medium, it is characterised in that computer instruction, institute are stored with the computer-readable medium
Computer instruction is stated when being executed by processor, makes the method any one of the computing device claim 1~11.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610868565.0A CN107885515A (en) | 2016-09-29 | 2016-09-29 | A kind of firmware upgrade method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610868565.0A CN107885515A (en) | 2016-09-29 | 2016-09-29 | A kind of firmware upgrade method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107885515A true CN107885515A (en) | 2018-04-06 |
Family
ID=61769938
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610868565.0A Pending CN107885515A (en) | 2016-09-29 | 2016-09-29 | A kind of firmware upgrade method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107885515A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108958765A (en) * | 2018-06-12 | 2018-12-07 | 新华三技术有限公司 | Upgrade the method and device of optical module firmware |
CN108959099A (en) * | 2018-07-20 | 2018-12-07 | 北京神州绿盟信息安全科技股份有限公司 | A kind of method and device obtaining firmware |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101025692A (en) * | 2007-03-23 | 2007-08-29 | 东莞市太平洋计算机科技有限公司 | Programme upgrade method for active RFID device |
CN102073515A (en) * | 2009-11-23 | 2011-05-25 | 天津中兴软件有限责任公司 | RFID (Radio Frequency Identification Device) active tag and method and system for upgrading software thereof |
CN103729205A (en) * | 2013-07-02 | 2014-04-16 | 深圳市金溢科技有限公司 | Electronic tag and method for upgrading electronic tag |
CN105930752A (en) * | 2016-04-15 | 2016-09-07 | 电子科技大学 | Wireless reprogramming method based on passive computable RFID system |
-
2016
- 2016-09-29 CN CN201610868565.0A patent/CN107885515A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101025692A (en) * | 2007-03-23 | 2007-08-29 | 东莞市太平洋计算机科技有限公司 | Programme upgrade method for active RFID device |
CN102073515A (en) * | 2009-11-23 | 2011-05-25 | 天津中兴软件有限责任公司 | RFID (Radio Frequency Identification Device) active tag and method and system for upgrading software thereof |
CN103729205A (en) * | 2013-07-02 | 2014-04-16 | 深圳市金溢科技有限公司 | Electronic tag and method for upgrading electronic tag |
CN105930752A (en) * | 2016-04-15 | 2016-09-07 | 电子科技大学 | Wireless reprogramming method based on passive computable RFID system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108958765A (en) * | 2018-06-12 | 2018-12-07 | 新华三技术有限公司 | Upgrade the method and device of optical module firmware |
CN108959099A (en) * | 2018-07-20 | 2018-12-07 | 北京神州绿盟信息安全科技股份有限公司 | A kind of method and device obtaining firmware |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101739363B (en) | Apparatus and methods for controlling image sensors | |
US7136748B2 (en) | Map data processing apparatus and center system | |
CN103942061A (en) | Battery firmware updating method, portable electronic device and rechargeable battery module | |
KR101238374B1 (en) | Method and appratus for supplying mashup service | |
CN109656597A (en) | Firmware upgrade method, device and computer readable storage medium | |
CN101393524A (en) | Firmware update method and system using the same | |
EP3516511A1 (en) | Update migration system and method | |
CN108733797A (en) | Document handling method and relevant apparatus | |
CN104615546A (en) | File data management method and device | |
CN110928561A (en) | Vehicle controller software version management method and device, vehicle and storage medium | |
US10120791B2 (en) | Data read apparatus, data read method, and storage medium storing data read program | |
CN107885515A (en) | A kind of firmware upgrade method and device | |
CN101667133B (en) | Method for updating firmware and chip updating firmware by using same | |
CN107766097A (en) | The electronic installation of start-up operation is performed based on the enabled instruction that end-point devices provide | |
EP1648148B1 (en) | Cellular phone with automatic program update method | |
CN103324187A (en) | Data updating method of car diagnostic equipment and car diagnostic equipment | |
CN101299190B (en) | Software upgrading method, system and built-in equipment of read-only file system | |
CN113360161A (en) | Resource upgrading method and related product | |
CN102736922A (en) | Method for updating application programs of embedded system and terminal of embedded system | |
US20040021777A1 (en) | Digital camera and imaging system | |
CN102073541A (en) | Data access method and mobile terminal | |
CN101854442B (en) | Network device and firmware updating method thereof | |
CN111858018B (en) | Cgroup configuration method and device, computer equipment and storage medium | |
CN103488503B (en) | Oftware updating method and device | |
CN109413714B (en) | User agent information processing method, device, storage medium and 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180406 |