CN107104839A - Firmware upgrading method and apparatus, server, Internet of Things system and radio frequency tag - Google Patents

Firmware upgrading method and apparatus, server, Internet of Things system and radio frequency tag Download PDF

Info

Publication number
CN107104839A
CN107104839A CN201710359306.XA CN201710359306A CN107104839A CN 107104839 A CN107104839 A CN 107104839A CN 201710359306 A CN201710359306 A CN 201710359306A CN 107104839 A CN107104839 A CN 107104839A
Authority
CN
China
Prior art keywords
firmware
upgrade
file
base station
update
Prior art date
Application number
CN201710359306.XA
Other languages
Chinese (zh)
Inventor
夏聪
杨凌锋
陈雷
Original Assignee
京信通信技术(广州)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 京信通信技术(广州)有限公司 filed Critical 京信通信技术(广州)有限公司
Priority to CN201710359306.XA priority Critical patent/CN107104839A/en
Publication of CN107104839A publication Critical patent/CN107104839A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/73Program documentation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance or administration or management of packet switching networks
    • H04L41/08Configuration management of network or network elements
    • H04L41/0803Configuration setting of network or network elements
    • H04L41/0813Changing of configuration
    • H04L41/082Changing of configuration due to updating or upgrading of network functionality, e.g. firmware
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network-specific arrangements or communication protocols supporting networked applications
    • H04L67/06Network-specific arrangements or communication protocols supporting networked applications adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network-specific arrangements or communication protocols supporting networked applications
    • H04L67/12Network-specific arrangements or communication protocols supporting networked applications adapted for proprietary or special purpose networking environments, e.g. medical networks, sensor networks, networks in a car or remote metering networks

Abstract

The embodiment of the invention provides a firmware upgrading method and apparatus, a server, an Internet of Things system and a radio frequency tag. The firmware upgrading method and apparatus is applied to the Internet of Things system comprising L base stations and are used for solving the problem of updating active radio frequency tag firmware collectively based on maintenance points in the prior art. The firmware upgrading method comprises the following steps: a server in the Internet of Things system obtains M firmware upgrading files; the server configures the upgrading strategy of each firmware upgrading file in the M firmware upgrading files, wherein the firmware upgrading strategy of each firmware upgrading file comprises N upgrading base stations for downloading the firmware upgrading file; and the server releases each firmware upgrading file and the firmware upgrading strategy to the corresponding N upgrading base stations based on M firmware upgrading strategies, so that an radio frequency tag in the Internet of Things system can download the firmware upgrading file from any one of the N upgrading base stations to update the firmware.

Description

固件升级方法、装置、服务器、物联网系统及射频标签 Firmware upgrade methods, devices, servers, networking systems and radio-frequency tag

技术领域 FIELD

[0001] 本发明实施例涉及数据处理技术领域,尤其涉及一种固件升级方法、装置、服务器、物联网系统及射频标签。 Example embodiments relate to data processing Field [0001] The present invention particularly relates to a method for upgrading firmware, devices, servers, networking systems, and radio-frequency tag.

背景技术 Background technique

[0002] 在物联网系统中,有源射频标签被大量用于资产管理、物品定位。 [0002] In the system of things, the large number of active radio frequency tags are used for asset management, article positioning. 有源射频标签, 是一种具有收发完整功能的无线电装置,其包括微控制单元(Microcontroller Unit, MCU)、低频激发接收模块、射频收发模块、存储器、天线;其中,存储器包括用于存储固件(Firmware)的固件存储器,所述固件存储器,具体可以是可擦写只读存储器(ER0M)、电可擦可编程只读存储器(EEPR0M)、闪存(FLASH)芯片中的一种。 Active RFID tag, is a fully functional radio transceiver having means, which includes a micro control unit (Microcontroller Unit, MCU), a low-frequency excitation receiving module, a RF transceiver module, a memory, an antenna; wherein the memory comprises means for storing firmware ( firmware) firmware memory, the firmware memory, may be particularly erasable read-only memory (ER0M), electrically erasable programmable read only memory (EEPR0M), a flash memory (FLASH) of one chip.

[0003] 固件,作为有源射频标签各硬件组成部分的驱动程序,在其驱动下,有源射频标签各硬件组成部分协同工作,其决定着有源射频标签所具有的功能和所能达到的性能。 [0003] firmware, as hardware for each active radio frequency tag driver part, in its drive, the active radio frequency tag of the hardware components of work, which determines the active radio frequency tag having a function and can achieve performance.

[0004] 有源射频标签投入使用后,为了修正有源射频标签所使用版本的固件的设计缺陷,或者为其增加新的功能,或者对其重新优化给有源射频标签带来性能上的提升,需要对有源射频标签的固件进行升级。 [0004] After the active radio frequency tags in use, in order to correct active radio frequency tags used version of the firmware design flaw, or for adding new features, or its re-optimized to bring the active RF tag performance improvement the need to upgrade the firmware of the active RFID tag. 现有的有源射频标签升级方法,是将使用中的有源射频标签收回到一个维护点,用户采用相关固件更新设备或者系统对有源射频标签的固件进行更新,例如通过固件烧录设备将固件升级程序烧录到有源射频标签。 Conventional active RF tag upgrade method, the active radio frequency tag is used in a retracted maintenance point, the user uses a device or system associated firmware update for firmware update of the active RFID tag, for example, by firmware burning device firmware upgrade program to burn an active RF tag.

[0005]然而,发明人在实现本发明实施例中的技术方案的过程中发现,现有固件升级方法存在如下技术问题: [0005] However, the invention is implemented in the course of technical solutions in the embodiments of the present invention found that there is a technical problem existing firmware upgrade method:

[0006]现有物联网系统的具体应用子系统,例如,资产管理系统,物品定位系统,所投入使用的有源射频标签数量巨大,相应地,对有源射频标签固件进行更新维护的工作量也巨大;基于维护点集中对有源射频标签进行更新维护,必然会中断有源射频标签的使用,给相关物联网业务带来不利影响,维护成本较高,用户体验差。 DETAILED great application subsystem [0006] Existing systems of things, for example, the asset management system, the article positioning system, in use the number of active radio frequency tags, respectively, of active radio frequency tags firmware update maintenance workload also huge; based maintenance points are concentrated on active radio frequency tag is updated maintenance is bound to interrupt the use of active RFID tag, to the relevant adversely affect the business of things, high maintenance costs, poor user experience.

发明内容 SUMMARY

[0007]本发明实施例的目的在于提供一种固件升级方法、装置、服务器、物联网系统及射频标签,用以解决现有技术中基于维护点集中更新有源射频标签固件的缺陷,实现对业务应用中的有源射频标签在全物联网覆盖范围内进行固件更新,降低有源射频标签的固件更新维护成本,提高用户体验。 [0007] The object of embodiments of the present invention to provide a method for upgrading firmware, devices, servers, networking systems and radio-frequency tag to solve the prior art based on point defect concentration to maintain an active RF tag firmware updates, and perform active RFID tags business applications in an intranet firmware update coverage of the whole thing, reducing the active RFID tag firmware update maintenance costs and improve the user experience.

[0008]为了实现上述目的,本发明实施例中采用的技术方案如下: [0008] To achieve the above object, embodiments of the present invention uses the following technical solutions:

[0009]第一方面,本发明实施例中提供一种固件升级方法,应用于包括L个基站的物联网系统中,其中,L为不小于1的正整数;所述方法包括: [0009] In a first aspect, the present invention provides an embodiment of a firmware upgrade, was applied to the networked system comprising a base station L, where, L is a positive integer not less than 1; the method comprising:

[0010]所述物联网系统中的一服务器获得M个固件升级文件;其中,]V[为不小于1的正整数; [0010] The composition of a networked system server obtain M firmware upgrade file; wherein,] V [positive integer of not less than 1;

[0011]所述服务器配置M个所述固件升级文件中的每一个所述固件升级文件的升级策略,得到M个固件升级策略;其中,每一个所述固件升级文件的所述固件升级策略中包括执行所述固件升级文件下载的N个升级基站,N为不小于1,且不大于L的正整数; [0011] The configuration of each server of said firmware update file upgrade policy M of the firmware update file, obtain M firmware upgrade policy; wherein each of said firmware update file of the firmware upgrade policy comprising performing the firmware update file downloaded upgrade base of N, N not less than 1 and not greater than a positive integer L;

[0012]所述服务器基于M个所述固件升级策略,将每一个所述固件升级文件及其所述固件升级策略下发至对应的N个所述升级基站,以使所述物联网系统中的有源射频标签能够从N个所述升级基站中的任意一个下载所述固件升级文件进行固件更新。 [0012] M of the server based on the firmware upgrade policy, will be sent to the corresponding N of said base stations upgraded, so that the system things in each of said firmware update file and the firmware upgrade policy active RFID tag is capable of downloading a file from the firmware upgrade any of the N base stations to upgrade the firmware update.

[0013] 在一种可选的实施方式中,该方法还包括: [0013] In an alternative embodiment, the method further comprising:

[0014]所述服务器配置得到的每一个所述固件升级文件的所述固件升级策略中还包括: 执行所述固件升级文件下载的P个预设升级的时间段,以使所述物联网系统中的有源射频标签能够在P个所述预设升级的时间段,从N个所述升级基站中的任意一个所述升级基站下载所述固件升级文件进行固件更新;其中,P为不小于1的正整数。 [0014] policy of the firmware upgrade each of said firmware update file server configuration obtained further comprising: executing the firmware update file downloaded upgrade P preset period of time, so that the system of things in the active RF tag can be upgraded to the preset period of P, a base station downloads the upgrade from any of the N base stations to upgrade the firmware upgrade the firmware update file; wherein, P is not less than a positive integer of 1.

[0015]第二方面,还提供一种固件升级装置,应用于包括L个基站的物联网系统中,其中, L为不小于1的正整数;所述装置包括: [0015] In a second aspect, apparatus is also provided a firmware upgrade, was applied to a networked system of base stations L, where, L is a positive integer not less than 1; said apparatus comprising:

[0016]固件升级文件获取单元,用于获得M个固件升级文件;其中,M为不小于1的正整数; [0017]固件升级策略配置单元,用于配置M个所述固件升级文件中的每一个所述固件升级文件的升级策略,得到M个固件升级策略;其中,每一个所述固件升级文件的所述固件升级策略中包括执行所述固件升级文件下载的N个升级基站,N为不小于1,且不大于L的正整数; [0016] The firmware update file obtaining unit configured to obtain the M firmware upgrade file; wherein, M is a positive integer not less than 1; [0017] firmware upgrade policy configuration unit for configuring said firmware update file number M of each of said firmware update file upgrade policy to obtain the M firmware upgrade policy; wherein each of said firmware upgrade policy file in the firmware upgrade comprises performing the firmware update file downloaded upgrade base of N, N being not less than 1 and not greater than a positive integer L;

[0018]固件升级文件下载点确定单元,用于基于M个所述固件升级策略,将每一个所述固件升级文件及其所述固件升级策略下发至对应的N个所述升级基站,以使所述物联网系统中的有源射频标签能够从N个所述升级基站中的任意一个下载所述固件升级文件进行固件更新。 [0018] File Download firmware update determination unit, based on the M of the firmware upgrade policy, each of said firmware update file and sent to the corresponding N of said base stations to upgrade the firmware upgrade policy to the composition of the active RF tag system can be networked to download a file from any of the firmware upgrade upgrading the base station of the N firmware update.

[0019] 在一种可选的实施方式中,该装置还包括: [0019] In an alternative embodiment, the apparatus further comprising:

[0020]所述固件升级策略配置单元配置得到的每一个所述固件升级文件的所述固件升级策略中还包括:执行所述固件升级文件下载的P个预设升级的时间段,以使所述物联网系统中的有源射频标签能够在P个所述预设升级的时间段,从N个所述升级基站中的任意一个所述升级基站下载所述固件升级文件进行固件更新;其中,P为不小于1的正整数。 [0020] The firmware upgrade of the firmware upgrade policy file each of said firmware upgrade policy configuring unit configures obtained further comprising: executing the firmware update file downloaded upgrade P preset period of time, so that the active RFID tags in said system of things can be said in a predetermined time period P upgrade, the upgrade station downloads a firmware upgrade the firmware update file from said upgrade any of the N base stations; wherein, P is a positive integer not less than 1.

[0021]第三方面,还提供一种固件升级方法,应用于包括L个基站的物联网系统中,L为不小于1的正整数;L个所述基站中具有用于M个固件升级文件下载的多个升级基站;多个所述升级基站是根据所述M个所述固件升级文件的升级策略从所述L个所述基站中指定的执行所述固件升级文件下载的N个基站;其中,M为不小于1的正整数,N为不小于1,且不大于L的正整数;所述方法包括: [0021] In a third aspect, there is provided a further method for firmware upgrade, it was applied to a networked system of base stations L, L is a positive integer not less than 1; L of said base stations having a firmware upgrade file for the M downloading a plurality of upgrading a base station; a plurality of said base stations to upgrade the firmware update file is downloaded N base stations according to the upgrade policy of the M designated firmware update file from said base station performing the L; wherein, M being a positive integer not less than 1, N is not less than 1 and not greater than a positive integer L; the method comprising:

[0022]多个所述升级基站从所述物联网系统中的服务器获得对应的所述固件升级文件及其所述固件升级策略; [0022] The plurality of base stations to obtain a corresponding upgrade of the firmware update file from the server in the system of things and the firmware upgrade policy;

[0023]多个所述升级基站中的任一在收到所述物联网系统中的有源射频标签发来的固件升级请求后,向所述有源射频标签下发所述固件升级文件的数据,以使所述有源射频标签能够根据所述固件升级文件的数据进行固件更新。 [0023] any one of said plurality of base stations after upgrade a receipt in the active RF tag system things sent to the firmware upgrade request, sent to the firmware update file in said active radio frequency tag data, so that the active radio frequency tag according to the data can be firmware updates to the firmware upgrade file.

[0024] 在一种可选的实施方式中,该方法还包括: [0024] In an alternative embodiment, the method further comprising:

[0025]在收到所述物联网系统中的有源射频标签发来的所述固件升级文件的请求之前, 所述方法还包括: Before requesting the receipt of an active RF tag system things sent to the firmware upgrade file [0025], the method further comprising:

[0026]多个所述升级基站向其信号覆盖范围内的所述有源射频标签下发其执行下载的所述固件升级文件的固件版本号和硬件编码,以使所述有源射频标签能够基于收到的所述固件升级文件的固2版本号和硬件编码,确定所述升级基站执行下载的所述固件升级文件能否对自身固件进行升级;其中,所述硬件编码为所述固件升级文件能够升级的所述有源射频标签的硬件编码。 [0026] The plurality of base stations sends it to upgrade firmware and hardware version number of the download of the encoded file to which the firmware upgrade the active RF tag is within range, so that the radio frequency tag can be active solid 2 encoding hardware version number and the received firmware update file is determined based on the upgrade of the base station to perform the firmware upgrade downloaded file itself can be upgraded firmware; wherein said encoded into said hardware firmware upgrade file can be upgraded hardware encoding the active radio frequency tag.

[0027]在一种可选的实施方式中,该方法还包括: [0027] In an alternative embodiment, the method further comprising:

[0028]当所述固件升级请求中具有接收窗口开启标志,多个所述升级基站中的任一向发来所述固件升级请求的所述有源射频标签下发升级指令,以使所述有源射频标签让其自身的接收窗口开启,并返回包含固件版本信息的允许升级消息。 The upgrading instruction issued [0028] When the firmware update request flag has a receiving window opens, the upgrading of any of a plurality of base stations has been sent to the firmware update request to the active radio frequency tag, so that there is the source RF tag allowed to own receiver window opens and allows the return message including the firmware version upgrade information.

[0029]在一种可选的实施方式中,该方法还包括: [0029] In an alternative embodiment, the method further comprising:

[0030] 如果多个所述升级基站中任一同时收到多个所述有源射频标签发来的所述固件升级请求; [0030] If any of the plurality of base stations simultaneously receive a plurality of upgrading the active radio frequency tag sent by the firmware upgrade request;

[0031] 对多个所述固件升级请求对应的所述有源射频标签的接收信号强度进行排序,获得对应的升级指令发送优先级,基于所述升级指令发送优先级,向多个所述有源射频标签顺次下发所述升级指令;其中,向接收信号强度最强的所述有源射频标签最先下发所述升级指令。 [0031] The firmware update request to the plurality of received signal strength corresponding to said active radio frequency tag sort, upgrading instruction to obtain a corresponding transmission priority, transmission priority based on the upgrade instructions to said plurality has source RF tag sequentially delivers the upgrading instruction; wherein the strongest received signal strength of the active radio frequency tag of the first update instruction issued.

[0032] 在一种可选的实施方式中,该方法还包括: [0032] In an alternative embodiment, the method further comprising:

[0033]在收到所述有源射频标签发来的所述允许升级消息后,多个所述升级基站基于所述允许升级消息中的所述固件版本信息,从所述升级基站执行下载的所述固件升级文件中确定与所述固件版本信息对应的所述固件升级文件,并生成对应的升级文件信息,将所述升级消息下发给发来所述允许升级消息的所述有源射频标签,以使所述有源射频标签能够基于收到的所述升级文件信息,向所述升级基站请求与所述升级文件信息对应的所述固件升级文件的包序号,执行所述固件升级文件下载。 [0033] In the active radio frequency tag receives the sent message after the upgrade allows the plurality of base stations based on the upgrade of the firmware version information of the update message to allow the base station to perform the download from the upgrade the firmware update file to determine the information corresponding to the firmware version of the firmware update file, and generates file information corresponding to the upgrade, the upgrade of the next message to be sent to the active radio frequency message allow upgrade tag, so that the active radio frequency tag can be based on information received by the upgrade file to the packet number of the base station requests the upgrade information of the upgrade file to the corresponding firmware upgrade file, executing the firmware upgrade file download.

[0034] 在一种可选的实施方式中,该方法还包括: [0034] In an alternative embodiment, the method further comprising:

[0035]在执行所述固件升级文件下载过程中,如果所述有源射频标签移动出执行所述固件升级文件下载的第一升级基站的信号覆盖范围,所述方法还包括: [0035] In executing the firmware upgrade file download process, if the active radio frequency tag moves out of the coverage area perform firmware update file downloaded update to the first base station, the method further comprising:

[0036] 发送下载指令到第二升级基站,使得所述第二升级基站基于所述下载指令向所述有源射频标签下发所述固件升级文件的数据;其中,所述第二升级基站是所述固件升级文件对应的N个所述升级基站中除所述第一升级基站外的其他信号覆盖所述有源射频标签的基站。 [0036] transmit download instruction to the second base station to upgrade, such that the second base station send the data to upgrade the firmware update file to said active radio frequency tag according to the download instruction based; wherein said second base station is upgraded the firmware upgrade file corresponding to the N said signals other upgrade station other than said first base station coverage base station to upgrade the active radio frequency tag.

[0037] 在一种可选的实施方式中,该方法还包括: [0037] In an alternative embodiment, the method further comprising:

[0038] 如果每一个所述固件升级文件的所述固件升级策略中还包括执行所述固件升级文件下载的P个预设升级的时间段,P为不小于1的正整数,所述方法还包括: [0038] If the firmware upgrade policy for each of said firmware update file further includes a method of executing the firmware upgrade file downloaded upgrade P preset time period, P is a positive integer not less than 1, the further include:

[0039] 多个所述升级基站在P个所述预设升级的时间段,向发来的所述固件升级文件的固件升级请求的所述有源射频标签下发所述固件升级文件的数据。 [0039] The plurality of base stations in the P upgrade the preset time period of an upgrade, the firmware update file sent in said active radio frequency sent to the firmware upgrade to the firmware upgrade file tag data request .

[0040] 第四方面,还提供一种固件升级装置,设置于基站中;L个基站应用于物联网系统中,L个所述基站中具有用于M个固件升级文件下载的多个升级基站;多个所述升级基站是根据所述M个所述固件升级文件的升级策略从所述L个所述基站中指定的执行所述固件升级文件下载的N个基站;其中,L为不小于1的正整数,M为不小于1的正整数,N为不小于1,且不大于L的正整数;所述装置包括: LJ 力*级乂什犾侍早兀,用于从所述物联网系统中的服务器获得对应的所述固件升级文件及其所述固件升级策略; [0040] The fourth aspect, also provides a firmware update apparatus is provided in the base station; L was applied to a base station networked system, L a plurality of said base stations having a base station for the M upgraded firmware update file downloads ; said plurality of base stations to upgrade the firmware update file is downloaded N base stations according to the upgrade policy of the M firmware upgrade file specified from the base station executing the L; wherein, L is not less than positive integer 1, M is a positive integer not less than 1, N is not less than 1 and not greater than a positive integer L; said apparatus comprising: LJ * force paternity early stage qe l is even Wu, from said object networked system corresponding to the server obtains the firmware update file and the firmware upgrade policy;

[0042]固件升级文件下载单元二用于在收到所述物联网系统中的有源射频标签发来的固件升级请求后,向所述有源射频标签下发所述固件升级文件的数据,以使所述有源射频标签能够根据所述固件升级文件的数据进行固件更新。 After the [0042] two firmware update file downloading unit for receiving the active radio frequency tag things sent to the system firmware upgrade request, send the data to the firmware update file in said active radio frequency tag, active RFID tags so that the firmware update can be performed according to the data of the firmware upgrade file.

[0043]在一种可选的实施方式中,该装置还包括: [0043] In an alternative embodiment, the apparatus further comprising:

[0044]升级判断信息下发单元,用于在收到所述物联网系统中的有源射频标签发来的所述固件升级文件的固件升级请求之前,向其信号覆盖范围内的所述有源射频标签下发其执行下载的所述固件升级文件的固件版本号和硬件编码,以使所述有源射频标签能够基于收到的所述固件升级文件的固件版本号和硬件编码,确定所述升级基站执行下载的所述固件升级文件能否对自身固件进行升级;其中,所述硬件编码为所述固件升级文件能够升级的所述有源射频标签的硬件编码。 Before delivering unit information [0044] Analyzing the upgrade, for receiving the active radio frequency tag IOT system firmware update request sent by the firmware upgrade file, to which the signal within the coverage has the source RF tag which sent the download of the firmware upgrade file firmware version number and hardware coded so that the active radio frequency tag can be encoded hardware and firmware version number of the firmware update file based on the received, determining performing the firmware update file downloading said upgraded base station can itself be upgraded firmware; wherein, said hardware encoding said firmware update file to upgrade hardware encoding the active radio frequency tag.

[0045] 在一种可选的实施方式中,所述装置还包括: [0045] In an alternative embodiment, the apparatus further comprising:

[0046]升级指令下发单元,用于当所述固件升级请求中具有接收窗口开启标志,多个所述升级基站中的任一向发来所述固件升级请求的所述有源射频标签下发升级指令,以使所述有源射频标签让其自身的接收窗口开启,并返回包含固件版本信息的允许升级消息。 [0046] The upgrading instruction issuing unit configured to issue when the firmware upgrade request flag having a receiving window opening, according to any of the plurality of base stations has been sent to upgrade the firmware update request to the active radio frequency tag under upgrading instruction, so that the active radio frequency tag allowed to own receiver window opens and allows the return message including the firmware version upgrade information. [0047]在一种可选的实施方式中,该装置还包括: [0047] In an alternative embodiment, the apparatus further comprising:

[0048]如果多个所述升级基站中任一同时收到多个所述有源射频标签发来的所述固件升级请求,所述升级指令下发单元还用于: [0048] If any one of the plurality of base stations simultaneously receive a plurality of the upgrade of the active radio frequency tag sent by the firmware update request, the update instruction issuing unit is further configured to:

[0049] 对多个所述固件升级请求对应的所述有源射频标签的接收信号强度进行排序,获得对应的升级指令发送优先级,基于所述升级指令发送优先级,向多个所述有源射频标签顺次下发所述升级指令;其中,向接收信号强度最强的所述有源射频标签最先下发所述升级指令。 [0049] The firmware update request to the plurality of received signal strength corresponding to said active radio frequency tag sort, upgrading instruction to obtain a corresponding transmission priority, transmission priority based on the upgrade instructions to said plurality has source RF tag sequentially delivers the upgrading instruction; wherein the strongest received signal strength of the active radio frequency tag of the first update instruction issued.

[0050] 在一种可选的实施方式中,所述装置还包括: [0050] In an alternative embodiment, the apparatus further comprising:

[0051] 升级文件信息下发单元,用于在收到所述有源射频标签发来的所述允许升级消息后,基于所述允许升级消息中的所述固件版本信息,从所述升级基站执行下载的所述固件升级文件中确定与所述固件版本信息对应的所述固件升级文件,并生成对应的升级文件信息,将所述升级消息下发给发来所述允许升级消息的所述有源射频标签,以使所述有源射频标签能够基于收到的所述升级文件信息,向所述升级基站请求与所述升级文件信息对应的所述固件升级文件的包序号,执行所述固件升级文件下载。 After delivering unit information [0051] file update, for the receipt of the active radio frequency tag update message sent by the permit, based on said firmware version information to allow the update message, the upgrade from the base station performing the firmware update file downloaded in determining the information corresponding to the firmware version of the firmware update file, and generates file information corresponding to the upgrade, the upgrade will be sent to the message sent by the update message to allow the active RFID tags, so that the active radio frequency tag can be based on information received by the upgrade file to the packet number of the base station requests the upgrade information of the upgrade file to the corresponding firmware upgrade file, performing the Download the firmware upgrade file.

[0052] 在一种可选的实施方式中,所述装置还包括: [0052] In an alternative embodiment, the apparatus further comprising:

[0053] 固件升级文件续传单元,用于在执行所述固件升级文件下载过程中,如果所述有源射频标签移动出执行所述固件升级文件下载的第一升级基站的信号覆盖范围,发送下载指令到第二升级基站,使得所述第二升级基站基于所述下载指令向所述有源射频标签下发所述固件升级文件的数据;其中,所述第二升级基站是所述固件升级文件对应的N个所述升级基站中除所述第一升级基站外的其他信号覆盖所述有源射频标签的基站。 [0053] The firmware update file resume means for performing the process of downloading the firmware update file, if the active radio frequency tag moves out of the coverage area perform firmware update file downloaded update to the first base station transmits download instruction to the second base station to upgrade, such that the second base station send the data to upgrade the firmware update file to said active radio frequency tag according to the download instruction based; wherein said second base station is the upgrade firmware upgrade file corresponding to the N said signals other upgrade station other than said first base station coverage base station to upgrade the active radio frequency tag.

[0054] 在一种可选的实施方式中,该装置还包括: [0054] In an alternative embodiment, the apparatus further comprising:

[0055] 如果每一个所述固件升级文件的所述固件升级策略中还包括执行所述固件升级文件下载的P个预设升级的时间段,P为不小于1的正整数,所述固件升级文件下载单元具体用于: [0055] If the firmware upgrade policy for each of said firmware update file further comprises performing the firmware update file downloaded upgrade P preset time period, P is a positive integer not less than 1, the firmware upgrade file downloading unit is configured to:

[0056] 在P个所述预设升级的时间段,向发来的所述固件升级文件的固件升级请求的所述有源射频标签下发所述固件升级文件的数据。 [0056] In the preset period of P upgrade the firmware sent to the firmware upgrade file upgrade request at said active radio frequency tag data sent firmware upgrade file.

[0057]第五方面,还提供一种固件升级方法,应用于有源射频标签,所述有源射频标签投入使用的物联网系统包括L个基站,L为不小于1的正整数;L个所述基站中具有用于M个固件升级文件下载的多个升级基站;多个所述升级基站是根据所述M个所述固件升级文件的升级策略从所述L个所述基站中指定的执行所述固件升级文件下载的N个基站;其中,M为不小于1的正整数,N为不小于1,且不大于L的正整数;所述方法包括: [0057] a fifth aspect, there is provided a further method for firmware upgrade, applied to an active RF tag, the active radio frequency tag networked system inputs include base stations L, L is a positive integer not less than 1; the L said base station having a plurality of base stations for the M upgraded firmware update file downloaded; a plurality of base stations is designated the upgrade from the base of the L in accordance with the upgrade policy of the M firmware upgrade file executing the firmware update file downloaded N base stations; wherein, M being a positive integer not less than 1, N is not less than 1 and not greater than a positive integer L; the method comprising:

[0058]所述有源射频标签从自身固件的固件升级文件对应的N个所述升级基站中的任意一个下载所述固件升级文件;其中,所述有源射频标签处于下载所述固件升级文件的所述升级基站覆盖范围内; [0058] The active RF tag itself from any firmware firmware update file corresponding N of said base stations to upgrade a firmware upgrade downloading the file; wherein, in the active RF tag downloading the firmware upgrade file upgrades the coverage of base station;

[0059]在完成所述固件升级文件下载后,基于所述固件升级文件进行固件更新。 [0059] After completion of the firmware upgrade file download, the firmware update file based on the firmware upgrade.

[0060] 在一种可选的实施方式中,该方法还包括: [0060] In an alternative embodiment, the method further comprising:

[0061] 在所述有源射频标签从自身固件的固件升级文件对应的N个所述升级基站中的任意一个下载所述固件升级文件之前,所述方法还包括: [0061] In any of the active radio frequency tag from its own firmware corresponding to the firmware update file N of said base stations to upgrade a firmware upgrade before downloading the files, said method further comprising:

[0062]所述有源射频标签从多个所述升级基站中信号覆盖所述有源射频标签的所述升级基站,获得所述升级基站执行下载的所述固件升级文件的固件版本号和硬件编码,基于所述固件升级文件的固件版本号和硬件编码,确定所述升级基站执行下载的所述固件升级文件中是否有能对自身固件进行更新的所述固件升级文件;其中,所述硬件编码为所述固件升级文件能够升级的所述有源射频标签的硬件编码。 [0062] The radio frequency tag of the active base station signal upgrade cover the active RFID tag obtaining the base station to perform the upgrade of the firmware upgrade file downloaded from the plurality of base stations to upgrade firmware and hardware version number coding, hardware and firmware version number of the firmware upgrade file encoding is determined based on whether there is a firmware update file itself can update the firmware to the firmware update file in the download upgrade station; wherein, said hardware encoding said firmware update file to upgrade hardware encoding the active radio frequency tag.

[0063]在一种可选的实施方式中,该方法还包括: [0063] In an alternative embodiment, the method further comprising:

[0064]在确定所述升级基站执行下载的所述固件升级文件中具有能够对自身固件进行更新的所述固件升级文件后,所述有源射频标签向所述升级基站发送具有接收窗口开启标志的固件升级请求,并开启接收窗口,以使所述升级基站基于所述固件升级请求,生成升级指令,并向所述有源射频标签返回所述升级指令;其中,所述接收窗口开启标志用于表征所述有源射频标签在发送所述固件升级请求后已开启所述接收窗口。 After [0064] having the firmware update file itself can be updated firmware upgrade in determining the base station to perform the firmware update file downloading, the active radio frequency tag to update the base station sends a receive window opening flag firmware upgrade request and receive window open, so that the upgrade firmware upgrade request based on the base station generates upgrading instruction, the active radio frequency tag to return the upgrading instruction; wherein the receive window opening with flag characterizing the radio frequency tag to the active window is received after transmitting the open request to the firmware upgrade.

[0065] 在一种可选的实施方式中,该方法还包括: [0065] In an alternative embodiment, the method further comprising:

[0066]在收到所述升级基站返回的所述升级指令后,所述有源射频标签保持接收窗口开启,并向所述升级基站返回包含固件版本信息的允许升级消息,以使所述升级基站在收到所述允许升级消息后,基于所述允许升级消息中的所述固件版本信息,从执行下载的所述固件升级文件中找出所述固件版本信息对应的所述固件升级文件,生成对应的升级文件信息,并向所述有源射频标签返回所述升级文件信息; [0066] After receiving the update instruction of the base station returns to upgrade, to maintain the active radio frequency tag receiver window opens, to allow the base station returns to upgrade the firmware version information update message including so that the upgrade the base station after receiving the message allowing the upgrade, upgrade information based on the firmware version in the message allows to identify the information corresponding to the firmware version of the firmware upgrade file downloaded from the execution of the firmware update file, generating update information corresponding to the file, and returns the active radio frequency tag of the update information file;

[0067]在收到所述升级文件信息后,基于所述升级文件信息,向所述升级基站请求与所述升级文件信息对应的所述固件升级文件的包序号,以使所述升级基站执行所述固件升级文件下载。 [0067] After receiving the update file information, file information based on the upgrade, the upgrade packet number to the base station requests the file update information corresponding to the firmware upgrade file, so that the base station to perform the upgrade the firmware upgrade file downloaded.

[0068]在一种可选的实施方式中,该方法还包括: [0068] In an alternative embodiment, the method further comprising:

[0069]在执行所述固件升级文件下载过程中,如果所述有源射频标签移动出执行所述固件升级文件下载的所述升级基站的信号覆盖范围而导致下载中断,所述方法还包括: [0069] In executing the firmware upgrade file download process, if the movement of an active RF tag performs the signal coverage of the base station to upgrade firmware upgrade file download if the download is interrupted, the method further comprising:

[0070]所述有源射频标签记录所述固件升级文件下载中断的断点; [0070] The active radio frequency tag recording the downloaded firmware upgrade file breakpoint interrupt;

[0071] 所述有源射频标签向所述固件升级文件对应的N个所述升级基站中的信号覆盖所述有源射频标签的所述升级基站请求所述固件升级文件,从断点处开始所述固件升级文件的再一次下载。 [0071] upgrade of the base station signal cover the active RFID tag corresponding to the active radio frequency tag to the N of said firmware update file in the base station requesting the upgrade firmware update file, starting from the breakpoint and then download the firmware upgrade file.

[0072] 在一种可选的实施方式中,该方法还包括: [0072] In an alternative embodiment, the method further comprising:

[0073]如果每一个所述固件升级文件的所述固件升级策略中还包括执行所述固件升级文件下载的P个预设升级的时间段,P为不小于1的正整数,执行步骤:所述有源射频标签从其固件的固件升级文件对应的N个所述升级基站中的任意一个下载所述固件升级文件,具体为: [0073] If the firmware upgrade policy for each of said firmware update file further comprises performing the firmware update file downloaded upgrade P preset time period, P is a positive integer not less than 1, step: The said active radio frequency tag downloading a file from any of the firmware upgrade firmware upgrade firmware file corresponding to the N upgrade the base station, specifically:

[0074] 所述有源射频标签,在P个所述预设升级的时间段,从信号覆盖所述有源射频标签的一个所述升级基站下载所述固件升级文件。 The [0074] Active RFID tags, at the preset time period P of an upgrade, the upgrade from a base station coverage of the active RFID tag downloading the firmware upgrade file.

[0075]第六方面,还提供一种固件升级装置,应用于有源射频标签,所述有源射频标签投入使用的物联网系统包括L个基站,L为不小于1的正整数;L个所述基站中具有用于M个固件升级文件下载的多个升级基站;多个所述升级基站是根据所述M个所述固件升级文件的升级策略从所述L个所述基站中指定的执行所述固件升级文件下载的N个基站;其中,M为不小于1的正整数,N为不小于1,且不大于L的正整数;所述装置包括: [0075] The sixth aspect also provides a firmware update apparatus applied to an active RF tag, the active radio frequency tag networked system inputs include base stations L, L is a positive integer not less than 1; the L said base station having a plurality of base stations for the M upgraded firmware update file downloaded; a plurality of base stations is designated the upgrade from the base of the L in accordance with the upgrade policy of the M firmware upgrade file executing the firmware update file downloaded N base stations; wherein, M being a positive integer not less than 1, N is not less than 1 and not greater than a positive integer L; said apparatus comprising:

[0076]升级文件下载单元,用于从自身固件的固件升级文件对应的N个所述升级基站中的任意一个下载所述固件升级文件;其中,所述有源射频标签处于下载所述固件升级文件的所述升级基站覆盖范围内; [0076] upgrade file downloading unit for itself from any firmware upgrade firmware file corresponding N of said base stations to upgrade a firmware upgrade downloading the file; wherein, in the active RF tag downloading the firmware upgrade the upgrade file within the base station coverage area;

[0077]固件更新单元,用于在完成所述固件升级文件下载后,执行系统重启,在系统重启的引导过程中基于所述固件升级文件进行固件更新。 [0077] The firmware update unit for, after the completion of the firmware upgrade file download, perform system reboot, the boot firmware update process based on said restart the system firmware upgrade file.

[0078] 在一种可选的实施方式中,所述装置还包括: [0078] In an alternative embodiment, the apparatus further comprising:

[0079]固件升级文件确定单元,用于所述有源射频标签从自身固件的固件升级文件对应的N个所述升级基站中的任意一个下载所述固件升级文件之前,从N个所述升级基站中信号覆盖所述有源射频标签的所述升级基站,获得所述升级基站执行下载的所述固件升级文件的固件版本号和硬件编码,基于所述固件升级文件的固件版本号和硬件编码,确定所述升级基站执行下载的所述固件升级文件中是否有能对自身固件进行更新的所述固件升级文件;其中,所述硬件编码为所述固件升级文件能够升级的所述有源射频标签的硬件编码。 [0079] The firmware update file determination unit, for any of the active radio frequency tag corresponding to the firmware from the firmware update file itself of the N base stations before the upgrade file downloading the firmware upgrade, the upgrade from the N the upgraded base station in the active RF tag signal coverage, access to the upgrade station downloads the firmware update file execution of hardware and firmware version number encoded based hardware and firmware version number of the firmware upgrade file encoding determining whether the upgrade firmware update file can have the firmware update itself base station to perform the firmware upgrade downloaded file; wherein said hardware is the active radio frequency encoded firmware update file can be upgraded hardware coded label.

[0080] 在一种可选的实施方式中,所述装置还包括: [0080] In an alternative embodiment, the apparatus further comprising:

[0081] 固件升级请求发送单元,用于在确定所述升级基站执行下载的所述固件升级文件中具有能够对自身固件进行更新的所述固件升级文件后,向所述升级基站发送具有接收窗口开启标志的固件升级请求,并开启接收窗口,以使所述升级基站基于所述固件升级请求, 生成升级指令,并向所述有源射频标签返回所述升级指令;其中,所述接收窗口开启标志用于表征所述有源射频标签在发送所述固件升级请求后已开启所述接收窗口。 After [0081] The firmware update request transmitting means for having said firmware update file itself can be updated firmware upgrade in determining the base station to perform the firmware upgrade downloaded file to update the base station sends a receiving window firmware upgrade request flag is turned on, and turn on the receive window, the base station so that the update request based on the firmware upgrade, the upgrade instructions to generate, the active radio frequency tag to return the upgrading instruction; wherein the receive window opening flag for characterizing the radio frequency tag is on the active window is received after sending the request to the firmware upgrade.

[0082] 在一种可选的实施方式中,所述装置还包括: [0082] In an alternative embodiment, the apparatus further comprising:

[0083] 允许升级消息发送单元,用于在收到所述升级基站返回的所述升级指令后,保持接收窗口开启,并向所述升级基站返回包含固件版本信息的允许升级消息,以使所述升级基站在收到所述允许升级消息后,基于所述允许升级消息中的所述固件版本信息,从执行下载的所述固件升级文件中找出所述固件版本信息对应的所述固件升级文件,生成对应的升级文件信息,并向所述有源射频标签返回所述升级文件信息; [0083] Allow upgrade message sending unit, after receiving the update instruction of the base station returns to upgrade and maintain the receiving window open, to allow the base station returns to upgrade firmware upgrade message contains version information, so the upgrading said base station after receiving the update message to allow, based on the firmware version information allowing the upgrade in the message to find the corresponding firmware version information of the firmware upgrade firmware upgrade file from the downloaded execution file, generating the file update information corresponding to said active radio frequency tag returns the update information file;

[0084]固件升级文件下载请求单元,用于在收到所述升级文件信息后,基于所述升级文件信息,向所述升级基站请求与所述升级文件信息对应的所述固件升级文件的包序号,以使所述升级基站执行所述固件升级文件下载。 [0084] The firmware update file download request means, after receiving the update file information, information based on the upgrade file, the firmware update file to said base station requests the upgrade information of the upgrade file corresponding to the packet serial number, so that the execution of the upgrade station downloads a firmware upgrade file.

[0085] 在一种可选的实施方式中,所述装置还包括: [0085] In an alternative embodiment, the apparatus further comprising:

[0086]固件升级文件续传下载单元,用于在执行所述固件升级文件下载过程中,如果所述有源射频标签移动出执行所述固件升级文件下载的所述升级基站的信号覆盖范围而导致下载中断,记录所述固件升级文件当前次下载的断点;向所述固件升级文件对应的N个所述升级基站中的信号覆盖所述有源射频标签的所述升级基站请求所述固件升级文件,从断点处开始所述固件升级文件的再一次下载。 [0086] firmware update file download resume unit for executing the firmware update procedure file download, if the movement of an active RF tag performs the signal coverage of the base station to upgrade the firmware update file and downloads if the download is interrupted, the current recording of said firmware update file downloads breakpoint; upgrading the base station corresponding to coverage request signal to the N of said firmware update file to upgrade the base stations of the active radio frequency tag firmware upgrade file to start the firmware upgrade file downloaded from the breakpoint again.

[0087] 在一种可选的实施方式中,该装置还包括: [0087] In an alternative embodiment, the apparatus further comprising:

[0088] 如果每一个所述固件升级文件的所述固件升级策略中还包括执行所述固件升级文件下载的P个预设升级的时间段,P为不小于1的正整数,所述升级文件下载单元,具体用于: [0088] If the firmware upgrade policy for each of said firmware update file further comprises performing the firmware update file downloaded upgrade P preset time period, P is a positive integer not less than 1, the upgrade file download means configured to:

[0089] 在P个所述预设升级的时间段,从自身固件的固件升级文件对应的N个所述升级基站中信号覆盖所述有源射频标签的一个所述升级基站下载所述固件升级文件。 [0089] In the preset period of P upgraded firmware from the firmware update file itself corresponding to the N upgrade the base station in a signal of the upgraded cover the active RFID tag downloading the firmware upgrade file.

[0090] 第七方面,提供一种物联网系统,包括服务器,与所述服务器通信连接的L个基站, 其中,L为不小于1的正整数; [0090] a seventh aspect, there is provided a system of things, including a server, the server is connected in communication with the base station L, where, L is a positive integer not less than 1;

[0091] 所述服务器,用于获得M个固件升级文件;其中,M为不小于1的正整数;以及 [0091] The server is configured to obtain M firmware upgrade file; wherein, M is a positive integer not less than 1; and

[0092] 用于配置M个所述固件升级文件中的每一个所述固件升级文件的升级策略,得到M 个固件升级策略;其中,每一个所述固件升级文件的所述固件升级策略中包括执行所述固件升级文件下载的N个升级基站,N为不小于1,且不大于L的正整数;以及 [0092] for configuring each of said firmware update file upgrade policy M of the firmware update file, obtain M firmware upgrade policy; wherein each of said firmware upgrade policy file of the firmware upgrade comprises executing the firmware update file downloaded upgrade base of N, N not less than 1 and not greater than a positive integer L; and

[0093] 用于基于M个所述固件升级策略,将每一个所述固件升级文件及其所述固件升级策略下发至对应的N个所述升级基站; [0093] M based on a policy of the firmware upgrade, each of the next of said firmware update file of the firmware upgrade policy and sent to the corresponding N of said base stations to upgrade;

[0094] 多个所述升级基站,用于在收到所述物联网系统中的有源射频标签发来的所述固件升级文件的固件升级请求后,向所述有源射频标签下发所述固件升级文件的数据执行所述固件升级文件下载,以使所述有源射频标签能够从其固件的所述固件升级文件对应的N 个所述升级基站中的任意一个所述升级基站下载所述固件升级文件进行固件更新。 [0094] Hair of the plurality of base stations the update, for receiving the active radio frequency tag IOT system firmware update request sent by the firmware upgrade file back to the active radio frequency tag under executing the firmware update file data of said firmware update file to download, so that the active tag can be a radio base station downloading the update of the firmware update file from any of the firmware upgrade corresponding N of said base stations said firmware update file for the firmware update.

[0095] 第八方面,本发明实施例中提供一种射频标签,所述射频标签为有源射频标签,应用于包括L个基站的物联网系统中,其中,L为不小于1的正整数;L个所述基站中具有用于M 个固件升级文件下载的多个升级基站;多个所述升级基站通过所述物联网系统中的一服务器配置M个所述固件升级文件中每一个所述固件升级文件的升级策略得到的每一个固件升级策略中指定的执行所述固件升级文件下载的N个升级基站而从L个所述基站中确定;其中,M为不小于1的正整数,N为不小于1,且不大于L的正整数;所述射频标签包括: [0095] eighth aspect, embodiments of the present invention there is provided a radio frequency tag, the tag is an active radio frequency tag, was applied to a networked system comprising a base station L, where, L is a positive integer not less than 1 ; L of said plurality of base stations having a base station for the M upgraded firmware update file downloaded; upgrading the base station is configured by a plurality of the object in a server network system M of the firmware update file in each of the each of said firmware upgrade policy update policy obtained firmware upgrade file specified in executing the firmware update file downloaded upgrade the N base stations is determined from the L in the base station; wherein, M being a positive integer not less than 1, N is not less than 1 and not greater than a positive integer L; said radio frequency tag comprising:

[0096] 数据收发模块,用于接收基站下发的数据和向基站发送数据; [0096] a data transceiver module for a base station receives data sent by the data and transmits to the base station;

[0097] 与所述数据收发模块通信连接的微控制单元; [0097] The micro control unit with the data transceiver module communication connection;

[0098] 与所述微控制单元通信连接的存储器;其中, [0098] and the micro control unit of the communication memory is connected; wherein,

[0099] 所述存储器存储有可被所述微控制单元执行的指令,所述指令被所述微控制单元执行,以使所述微控制单元能够执行前述的固件升级方法。 [0099] The memory stores instructions which may be executed by the micro control unit, the instructions executed by the micro control unit, so that the micro control unit is capable of executing the firmware upgrade.

[0100] 基于上述技术方案,本发明实施例中的固件升级方法、装置、服务器、物联网系统及射频标签,基于对每一个固件升级文件进行升级策略配置获得的固件升级策略中指定的执行该固件升级文件下载的N个升级基站,将M个固件升级文件中的每一个固件升级文件及其固件升级策略存储到对应的N个升级基站;S卩:在物联网系统中形成M个固件升级文件各自的N个升级基站。 [0100] Based on the above technical solution, firmware upgrade method in the apparatus, the server, networking systems, and the RFID tag embodiment of the present invention, a firmware upgrade strategy based upgrade policy for each firmware update file obtained by configuration specified in the firmware update file download upgrade the N base stations, each of the firmware update file and the firmware upgrade policy stored in the M firmware update file to the corresponding upgrade of the N base stations; S Jie: M form a firmware upgrade system IOT each of the N file upgrade station. 如此,一方面,如果M个固件升级文件对应M个类型的有源射频标签,那么就可以基于物联网系统中的升级基站,为物联网系统中M个类型的有源射频标签提供对应的固件升级文件下载,以使M个类型的有源射频标签均能通过物联网系统中的对应升级基站进行固件升级;另一方面,每一个固件升级文件能够升级的物联网系统中的数量巨大的有源射频标签,在不中断业务使用的情况下,能够基于其固件的固件升级文件对应的N个升级基站中的任意一个下载固件升级文件进行固件更新,同时,该固件升级文件对应的移动使用中的有源射频标签,能够基于N个升级基站中的至少两个配合获得该固件升级文件,对自身的固件进行升级更新,从而避免将数量巨大的有源射频标签中断业务应用,收回到每个类型固件对应的维护点进行固件集中更新升级,在耗费大量人力 Thus, on the one hand, if the M firmware update file corresponding to M types of active radio frequency tags, then the composition may be based on a networked system to upgrade the base station, provides the corresponding firmware was networked system M types of active radio frequency tags Download the upgrade file, so that M types of RF tags can be active firmware update system of things by upgrading the corresponding base station; the other hand, each of a number of things firmware upgrade file system can be upgraded with a huge source RF tag, without interrupting service to use, can be firmware updates based on the firmware update file to any of its firmware firmware update file corresponding to the N upgraded base station in a download, simultaneously, the firmware update file corresponding mobile use an active radio frequency tag, can be obtained based on the N at least two base stations upgraded with this firmware update file itself update firmware upgrade to avoid a huge number of active radio frequency tags interrupt service application, each retracted the type of firmware corresponding centralized maintenance point firmware update upgrades in labor-intensive 力的同时还给相关物联网业务带来不利影响;由此可见,通过上述技术方案能够实现物联网系统中的多种类型的有源射频标签中的每一个,可在不中断业务使用的情况下,在全物联网覆盖范围内获得能够对其固件进行升级的固件升级文件,以对自身的固件进行更新升级,从而在将固件升级对物联网业务的正常运行的影响降到最低的情况下,有效降低物联网系统中数量巨大的有源射频标签固件升级更新的维护成本,提高用户体验。 While the force is related back to adversely affect the business of things; Thus, the above technical solution enables each of a plurality of types of things in the system in the active radio frequency tag, it can be used without interrupting service under obtain full coverage of the intranet was able to upgrade its firmware firmware upgrade file to update its firmware upgrade, so that will affect the normal operation of a firmware upgrade of the business of things down to the lowest case , effectively reducing the system of things in a huge number of active radio frequency tags updated firmware upgrade maintenance costs, improve the user experience.

附图说明 BRIEF DESCRIPTION

[0101] 为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。 [0101] In order to more clearly illustrate the technical solutions in the embodiments or the prior art embodiment of the present invention, the accompanying drawings for illustrating the prior art described or needed to be used in an embodiment will be briefly introduced hereinafter, the description below the figures show some embodiments of the present invention, those of ordinary skill in the art is concerned, without creative efforts, can derive from these drawings other drawings. _ _

[0102] 图1示出了本发明实施例中针对确定升级基站提供的一种固件升级方法的流程示意图; [0102] FIG. 1 shows a schematic diagram for the embodiment of the present invention to identify a process to upgrade a firmware upgrade method embodiment provided by the base;

[0103] 图2示出了本发明实施例中针对确定升级基站提供的一种固件升级装置的结构示意图; [0103] FIG. 2 shows a schematic diagram of the structure of the present invention to identify a firmware upgrade for a base station apparatus according to the available upgrade;

[0104] 图3示出了本发明实施例中提供的一种服务器的结构示意图; [0104] FIG. 3 shows a structure diagram of an embodiment of a server provided in the embodiment of the present invention;

[0105] 图4示出了本发明实施例中针对固件升级文件下载提供的一种固件升级方法的流程不意图; [0105] FIG. 4 shows a embodiment of the present invention, one kind of downloaded firmware upgrade method is provided for the firmware update file is not intended to process embodiment;

[0106] 图5示出了本发明实施例中针对固件升级文件下载提供的一种固件升级装置的结构示意图 [0106] FIG. 5 shows a schematic structural diagram of the present invention is directed to an apparatus firmware upgrade firmware upgrade file downloaded embodiment provided

[0107] 图6示出了本发明实施例中提供的一种物联网系统的结构示意图; _ [0107] FIG. 6 shows a configuration diagram of a networked system was provided in the embodiment of the embodiment of the present invention; _

[0108] 图7示出了本发明实施例中针对固件升级更新提供的一种固件升级方法的流程示意图; _ [0108] FIG. 7 shows a schematic flow diagram of embodiments of the present invention for updating the firmware upgrade firmware upgrade method for providing one kind of embodiment; _

[0109] 图8示出了本发明实施例中针对固件升级更新提供的一种固件升级装置的结构不意图; [0109] FIG. 8 shows the embodiment of the present invention for updating the firmware upgrade to provide upgraded apparatus Firmware that embodiment are not intended configuration;

[0110] 图9示出了本发明实施例中提供的一种射频标签的结构示意图。 [0110] FIG. 9 shows a configuration diagram of an RF tag provided in the embodiment of the embodiment of the present invention.

具体实施方式 Detailed ways

[0111]为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。 [0111] In order that the invention object, technical solutions, and advantages of the embodiments more clearly, the following the present invention in the accompanying drawings, technical solutions of embodiments of the present invention are clearly and completely described, obviously, the described the embodiment is an embodiment of the present invention is a part, but not all embodiments. 基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。 Based on the embodiments of the present invention, those of ordinary skill in the art to make all other embodiments without creative work obtained by, it falls within the scope of the present invention.

[0112]现有的有源射频标签升级方法,基于维护点集中对有源射频标签进行更新维护, 必然会中断有源射频标签的使用,给相关物联网业务带来不利影响,维护成本较高,用户体验差。 [0112] Active RFID tags to upgrade the existing method, based on the maintenance points are concentrated on active radio frequency tag is updated maintenance is bound to interrupt the use of active RFID tag, to the relevant adversely affect the business of things, higher maintenance costs poor user experience.

[0113]发明人在实现本发明实施例中的技术方案的过程中发现,现有技术采用基于维护点集中对有源射频标签进行更新维护,并非由于只能基于维护点对有源射频标签进行更新维护,真实原因是,长久以来,固件更新,要么是通过专用固件烧录设备将新版本的固件文件烧录到设备的固件存储器中,例如功能手机的固件更新,要么是通过专用软件将将新版本的固件文件覆写旧版本的固件,例如电脑固件的刷新;因此,形成具有操作系统的网络终端设备,可安装专业固件更新软件,基于网络进行固件更新,大批量的电子设备或者装置, 它们固件更新只能在维护点通过固件烧录设备进行快速固件更新。 [0113] In the process of the technical solution in the embodiments of the present invention found that use of the prior art is not only due to the maintenance points on the RFID tag based on the active maintenance of active radio frequency tags point set update maintenance, update and maintain, the real reason is a long time, firmware updates, either through a dedicated firmware burning equipment to burn a new version of the firmware file to the firmware memory device, such as feature phones firmware updates, either through a dedicated software will new firmware file overwrite the old version of the firmware, such as firmware refresh computer; thus, forming a network terminal device with an operating system, firmware updates can be installed specialized software, firmware update network-based, electronic device or devices in large quantities, they firmware update can only be maintained through point for quick firmware update firmware burning equipment.

[0114]发明人在研宄中发现,固件更新可以通过两个步骤实现,第一步是将固件升级文件存储到电子设备或装置的固件存储器,第二步是在电子设备重启的引导过程中将固件存储器中的固件升级文件拷贝到电子设备工作时的工作区即可以完成电子设备或装置的固件更新。 [0114] The inventors have found that in the study based on the firmware update can be achieved through two steps, the first step is to store the firmware upgrade file to the firmware memory of the electronic device or apparatus, the second step in the boot process of the electronic device reboot a work area when the firmware memory of the firmware upgrade files are copied to the electronic device which can work completes the firmware update of the electronic device or devices.

[0115]发明人在研究中还发现,将固件升级文件存储到电子设备或装置的固件存储器, 可在电子设备或装置正常运行时,通过网络下载实现。 [0115] The inventors have also found that in the study, the upgrade file to the firmware stored in firmware memory of the electronic device or devices may be an electronic device or apparatus during normal operation, through the network to download.

[0116]发明人基于上述认识,提供一种固件升级方法、装置、服务器、物联网系统及射频标签。 [0116] The inventors have recognized based on the above, there is provided a method of upgrading firmware, devices, servers, networking systems, and radio-frequency tag. 通过所述固件升级方法、装置、服务器、物联网系统,能够使物联网系统中的一个射频标签,所述射频标签为有源射频标签,从其固件的固件升级文件对应的分布在所述物联网系统中的N个升级基站中的任意一个,下载所述固件升级文件进行固件更新。 The firmware upgrade by methods, devices, servers, networking systems, a radio-frequency tag enables the IOT system, the radio frequency tag is an active radio frequency tag, the object distributed from the firmware corresponding to the firmware upgrade file a networked system of any of the N upgraded base station, downloading the firmware upgrade firmware update file. 本发明实施例中的射频标签,为具有固件,且需要对固件进行更新的设备和装置,其可以等同扩展到物联网系统中的各种智能终端设备,例如,工业控制终端、智能家居终端,还可以进一步等同扩展到互联网络中的各种智能终端设备,例如,手机、平板电脑、笔记本电脑,个人计算机、工业计算机;相应地,可以对固件升级方法、装置、服务器做出适应性地扩展,同样,也可以将物联网系统,等同扩展到具有服务器和多个基站的互联网络系统。 RF tag in an embodiment of the present invention, having the firmware is needed for the firmware update apparatus and equipment, which may be extended to equivalents thereof networked systems in a variety of smart terminal devices, e.g., industrial control terminal, a smart home terminal, equivalents can be further extended to the Internet in a variety of smart terminal devices, e.g., mobile phones, tablet computers, notebook computers, personal computers, industrial computers; accordingly, can be made adaptively extended firmware upgrade method, apparatus, server Similarly, the system may be things, extend to equivalent network system having a server and a plurality of base stations.

[0117]在本发明实施例中,物联网系统包括服务器、与服务器通信连接的基站、与基站通信连接的有源射频标签;其中: [0117] In an embodiment of the present invention, a server includes a base station system of things, to communicate with a server connected, the active radio-frequency tag communication connection with a base station; wherein:

[0118]有源射频标签,对应设置物品上,周期性地上报数据,以使物联网系统能够对有源射频标签对应的物品进行远距离识别; [0118] Active RFID tags on items disposed corresponding to periodically report data, so that things can be remote identification system of the article corresponding to the active radio frequency tag;

[0119]基站,接收有源射频标签周期性上报的数据,基于周期性上报的数据定期测量有源射频标签的位置,获得包括告警信息的标签信息; [0119] base station, active radio frequency tag to periodically report the reception data, data periodically to periodically report measurement position of the active RFID tag, the tag information includes alarm information is obtained based;

[0120]服务器,汇聚基站传来的有源射频标签的周期性上报数据,并对上报数据进行处理;其还对基站进行控制,以使物联网系统能够完成规划的业务功能。 [0120] server, aggregation of the active base station transmitted RF tag periodically reporting data, and report data processing; it also controls the base station, so that the system can complete things planning business functions.

[0121] 其中,基站与其信号覆盖范围内的源射频标签之间的通信连接方式,至少包括两种以下实现形式: [0121] wherein the communication connection between a source of radio-frequency tag within its signal coverage of the base station, comprising at least two of the following forms to realize:

[0122] 第一种实现形式为:基站通过激发信号向其覆盖范围内的有源射频标签传送消息或者指令,有源射频标签通过射频信道向基站周期性上报数据;其中,激发信号,具体可以是125K低频信号,射频信道,为射频通信的信道,为了易于射频信道的使用,射频信道可使用2.4G、433M等公共射频信道。 [0122] The first implementation form: an active base station signal to which the RFID tag transmit a message or instructions in the coverage, the active RF tag periodically report data to the base station through excitation by radio frequency channel; wherein the excitation signal, specifically a 125K low frequency signal, RF channel, RF communication channel, in order to facilitate the use of radio frequency channels, radio frequency channel can be used 2.4G, 433M and other public radio channel.

[0123] 第二种实现形式为:基站与其信号覆盖范围内的源射频标签之间通过射频信道进行通信。 [0123] A second implementation form: the source radio-frequency tag communication between the base station and its coverage area through a radio channel.

[0124] 服务器与基站通信连接的方式,具体可以是但不限于以太网连接,WIFI连接,3/ 4GM0DEM连接中的一种。 [0124] way communication with the base connected to the server, specifically but not limited to an Ethernet connection, WIFI connection, a connector of the 3 / 4GM0DEM.

[0125] 其中,有源射频标签包括低频激发接收模块、射频收发模块、存储器、与低频激发接收模块、射频收发模块及存储器均通信连接的微控制单元MCU;其中: [0125] wherein the active radio frequency tag comprises a low frequency receiver module excitation, RF transceiver module, a memory, and a low-frequency excitation microcontroller unit MCU receiving module, and the RF transceiver module are communicatively coupled to the memory; wherein:

[0126] 存储器,用于存储固件程序数据; [0126] a memory for storing a firmware program data;

[0127] 微控制单元MCU,用于控制低频激发接收模块、射频收发模块、存储器以及有源射频标签的其他组件模块的工作; [0127] microcontroller unit MCU, a low-frequency excitation for controlling operation of the reception module, a RF transceiver module, memory modules and other components of the active RFID tag;

[0128] 低频激发接收模块,用于接收基站下发的低频激发信号,低频激发信号中可承载有源射频标签的固件版本信息、硬件编码信息、天线身份ID信息; [0128] low frequency excitation receiving module, send a base station for receiving a low frequency excitation signal, a low frequency excitation signals may carry an active RF tag firmware version information, hardware encoding information, antenna identification information ID;

[0129] 射频收发模块,用于基站发送数据;同时,还可用于接收基站下发的数据; [0129] RF transceiver module, a base station for transmitting data; same time, also it is used for data sent by the receiving base station;

[0130]为了有效降低有源射频标签的工作功耗,有源射频标签通过射频收发模块向基站周期性上报数据,例如1次/秒,射频收发模块上报数据之外的时间里,有源射频标签处于休眠状态,仅当低频激发接收模块被唤醒后,射频收发模块才开启接收窗口接收基站下发的数据。 [0130] In order to reduce active power consumption of the active RFID tag, an active RF tag through RF transceiver module to periodically report to the base station data, for example, 1 time / second, the RF transceiver module data other than the reporting time, the active radio frequency tag in the sleep state, only when receiving a low-frequency excitation module wakes, RF transceiver module before opening the window delivered by the receiving base station receiving data.

[0131]用于存储固件程序数据的存储器,具体至少可以被划分成下载区、引导区、运行区;其中: [0131] for storing a firmware program data memory may be divided into at least a specific download area, boot sector, operation area; wherein:

[0132]下载区,用于存储从基站下载的数据,例如有源射频标签的固件升级文件,通常固件升级文件所涉及的程序代码仅几K左右,比较小; [0132] Download area for storing data downloaded from a base station, such as active RFID tag firmware update file, the firmware update file Program code is normally involved only about a few K, is relatively small;

[0133]引导区,用于存储固件程序最先执行的一段程序代码,对微控制单元M⑶进行初始化,以及检查下载区中的固件升级文件是否具有完整性及能否对有源射频标签自身的固件进行升级更新; t〇134] 运行区,为有源射频标签的微控制单元MCU工作时的运行区域。 [0133] The lead-in area, a program code stored in a firmware program executed first micro-control unit M⑶ initializes and checks whether the download area of ​​the firmware update file integrity and ability to have an active RF tag itself upgrading firmware update; t〇134] region of operation, when the operating region of the micro control unit is working active RFID tag MCU.

[0135]其中,对基站进行控制的服务器,具体可用于对固件升级文件进行升级策略配置, 得到固件升级文件对应的固件升级策略,基于固件升级策略中指定的执行固件升级文件下载的升级基站,将固件升级文件及其固件升级策略传送至对应的升级基站。 [0135] wherein the base station is controlled by the server, specifically, for firmware upgrade file upgrade policy configuration to obtain firmware upgrade policy firmware upgrade file corresponding to the designated based on firmware upgrade policy firmware upgrade file downloaded upgrade the base station, the firmware upgrade file transfer and firmware upgrade strategy to upgrade the corresponding base station. 固件升级策略的获得,固件升级文件的传送可基于不同的服务器中的不同软件来实现,当然也可基于同一套软件来实现。 Obtain firmware upgrade strategy, transfer firmware upgrade file can be based on different servers in different software to achieve, of course, also it is based on the same set of software. 如果基于同一套软件来实现,那么服务器,具体可以具有固件升级配置界面,该固件升级配置界面至少可以包括固件升级文件上传页面、升级基站选择页面、升级的时间段预设页面。 If to achieve the same set of software based on the server, you may have specific configuration interface firmware upgrade, the firmware upgrade configuration interface may include at least firmware upgrade file upload page, select the page to upgrade the base station, a preset period of time to upgrade page. 通过固件升级配置界面对每一个固件升级文件进行升级策略配置,并将每一个固件升级文件及其固件升级策略下发到对应的升级基站。 Firmware upgrade through a configuration interface for each upgrade firmware upgrade policy configuration file, and each file and the firmware upgrade firmware upgrade policy update sent to the corresponding base station.

[0136]在本发明实施例中,固件升级文件包括文件头部分和程序数据部分,其中,文件头部分中包括硬件编码、固件版本号、完整性校验信息。 [0136] In an embodiment of the present invention, the firmware update file includes a file header portion and a part of program data, wherein the header portion includes a hard coded, firmware version number, the integrity verification information.

[0137]基于从物联网系统中确定M个固件升级文件中的每一个所述固件升级文件对应的N个升级基站考虑,本发明实施例中提供一种固件升级方法。 [0137] Based on each of said firmware update file system is determined from the M IOT firmware upgrade files corresponding upgrade the N base stations considered embodiment there is provided a method of upgrading the firmware embodiment of the present invention.

[0138]图1示出了本发明实施例中针对确定升级基站提供的一种固件升级方法的流程示意图。 [0138] FIG. 1 shows a schematic flow chart for the present invention is to identify a method for upgrading firmware upgrade a base station provided in this embodiment. 所述方法,应用于包括L个基站的物联网系统中,其中,L为不小于1的正整数;所述方法,能够在所述物联网系统的L个基站中,确定M个固件升级文件中的每一个所述固件升级文件对应的N个升级基站,以使所述物联网系统中的有源射频标签能够从N个所述升级基站中的任意一个下载所述固件升级文件进行固件更新。 The method was applied to a networked system of base stations L, where, L is a positive integer not less than 1; the method, the base can be in the L IOT system, the firmware update file to determine the M each of said firmware update file corresponding to the N upgrade station, active radio frequency tag so that the object can be a networked system of downloading the firmware update file from any of the N base stations to upgrade the firmware update .

[0139]现参照图1所示,本发明实施例中针对确定升级基站提供的一种固件升级方法,具体流程如下: [0139] Referring now to Figure 1, an embodiment of the present invention for a method for upgrading firmware upgrade to identify a base station provides a specific process is as follows:

[0140] 步骤101、物联网系统中的一服务器获得M个固件升级文件;其中,M为不小于1的正整数; [0140] Step 101, networking system server obtain M a firmware upgrade file; wherein, M is a positive integer not less than 1;

[0141]具体实施过程可以是,所述物联网系统中的一服务器,具体可以通过网络获得M个固件升级文件,也可以通过外接的存储设备获得M个固件升级文件,M为不小于1的正整数; 如果服务器具体可以具有固件升级配置界面,那么用户具体可以通过对固件升级配置界面的固件升级文件上传页面进行相应的操作,将M个固件升级文件上传,并存储至服务器。 [0141] In particular embodiments the process may be, the object of a server in a networked system, specifically obtain M firmware upgrade through the network, can obtain M firmware upgrade file through an external storage device, not less than 1 M positive integer; if the server may have a particular configuration interface firmware upgrade, the user can perform operations specific to the firmware upgrade through the configuration interface firmware update file upload page, the M firmware upgrade files uploaded and stored in the server. [0142]其中,M个固件升级文件可以是同类型的固件升级文件,也可以是不同类型的固件升级文件。 [0142] wherein, M may be a firmware update file of firmware upgrade files of the same type, may be a different type of firmware upgrade file. 同类型的固件升级文件是指同类型的有源射频标签对应的固件升级文件。 The same type of firmware update file referring to the same type of active radio frequency tags corresponding firmware upgrade file. 例如, 物联网系统中具有A厂商的有源射频标签、B厂商的有源射频标签、C厂商的有源射频标签,A 厂商的有源射频标签与B厂商的有源射频标签、C厂商的有源射频标签之间属于不同类型的有源射频标签,它们对应的固件升级文件属于不同类型的固件升级文件;在同一厂家的有源射频标签中如果两种有源射频标签基于不同的设计标准,这两种有源射频标签属于不同类型有源射频标签,它们对应的固件升级文件属于不同类型的固件升级文件,例如A厂商的A1有源射频标签和A2有源射频标签,分别基于不同的设计标准,那么,A1有源射频标签对应的A1固件升级文件和A2有源射频标签对应的A2固件升级文件属于不同类型的固件升级文件。 For example, the active radio frequency tag having composition A networked system vendors, vendors active RF tags B, C manufacturers active RF tag, the RF tag A manufacturer active and active radio frequency tag manufacturers B, C vendors active RFID tags are different types between the active radio frequency tag, they correspond to different types of files belonging to the firmware upgrade firmware upgrade file; the same manufacturer active radio frequency tag if both active radio frequency tags based on different design criteria , these two types of active radio frequency tags belonging to a different active radio frequency tag, they correspond to different types of files belonging to the firmware upgrade firmware upgrade file, for example, vendor a A1 A2 and active radio frequency tags active RFID tags, each based on different design criteria, then, an active RF tag corresponding to A1 A1 and A2 firmware upgrade file corresponding to an active RF tag A2 firmware update file of a different type of firmware upgrade file.

[0143] 步骤102、服务器配置M个所述固件升级文件中的每一个所述固件升级文件的升级策略,得到M个固件升级策略;其中,每一个所述固件升级文件的所述固件升级策略中包括执行所述固件升级文件下载的N个升级基站,N为不小于1,且不大于L的正整数; [0143] Step 102, the server configuration of each of said firmware update file upgrade policy M of said firmware update file to obtain the M firmware upgrade policy; wherein each of said firmware upgrade the firmware upgrade policy file includes executing the firmware update file downloaded upgrade base of N, N not less than 1 and not greater than a positive integer L;

[0144] 具体实施过程可以是,所述服务器基于固件配置软件对M个所述固件升级文件中的每一个所述固件升级文件的升级策略,得到M个固件升级策略;其中,每一个所述固件升级文件的所述固件升级策略中包括执行所述固件升级文件下载的N个升级基站,N为不小于1,且不大于L的正整数;如果服务器具体可以具有固件升级配置界面,那么用户具体可以通过对固件升级配置界面进行相应的操作,对M个所述固件升级文件中的每一个所述固件升级文件的升级策略,例如通过升级基站选择页面选择执行所述固件升级文件下载的N个升级基站。 [0144] Specific embodiments may process the server-based configuration software firmware upgrade policy for each of said firmware update file of the firmware upgrade the M document, obtain M firmware upgrade policy; wherein one of said each the firmware upgrade firmware upgrade policy file comprises performing the firmware update file downloaded upgrade base of N, N not less than 1 and not greater than a positive integer L; if the server may have a particular configuration interface firmware upgrade, the user specific configuration can update the firmware interface corresponding operation, for each of said firmware update file upgrade policy M of the firmware update file, for example by upgrading the base station performs selection page to select the firmware update file downloaded N a base station upgrade.

[0145] 步骤103、服务器基于M个所述固件升级策略,将每一个所述固件升级文件及其所述固件升级策略下发至对应的N个所述升级基站,以使所述物联网系统中的有源射频标签能够从N个所述升级基站中的任意一个下载所述固件升级文件进行固件更新。 [0145] Step 103, the server based on the M firmware upgrade strategy, in each of said firmware update file and the firmware upgrade policy to a corresponding upgrade of the base station of the N, so that the system of things RF tags can be active in a firmware update file downloading the upgrade from the base station of any of the N firmware update.

[0146]具体实施过程可以是,所述服务器基于每一个所述固件升级文件的固件升级策略中指定的执行所述固件升级文件下载的N个升级基站,将每一个所述固件升级文件及其所述固件升级策略下发至对应的N个所述升级基站,在完成M个所述固件升级文件及对应的M 个所述固件升级策略传递后,每一个固件升级文件对应的所述物联网系统中的有源射频标签,在不中断业务使用的情况下,就能够从N个所述升级基站中的任意一个下载所述固件升级文件,或者N个所述升级基站中的至少两个配合获得所述固件升级文件,以能够基于获得的所述固件升级文件对自身固件进行更新。 [0146] In particular embodiments the process may be, based on the firmware upgrade policy server of each of said firmware update file specified by executing the firmware update file downloaded upgrade the N base stations, each of said firmware update file and the firmware upgrade policy sent to the corresponding N of said base stations upgrade, after the completion of the M M of the firmware upgrade policy and transmitting said firmware update file corresponding to each of said firmware update file corresponding things the active RF tag system in use without interrupting the service, it is possible to download a file from any of the firmware upgrade upgrading the base station of the N, N, or at least one of the two mating upgraded base station obtain the firmware upgrade file, to be able to update their firmware based on the firmware upgrade file available.

[0147]至少基于降低固件升级文件下载对物联网业务的影响传送考虑,本发明实施的可能的实施方式中,所述服务器配置得到的每一个所述固件升级文件的所述固件升级策略中还包括:执行所述固件升级文件下载的P个预设升级的时间段,以使所述物联网系统中的有源射频标签能够在P个所述预设升级的时间段,从N个所述升级基站中的任意一个所述升级基站下载所述固件升级文件进行固件更新;其中,P为不小于1的正整数。 The firmware upgrade policy for each of said firmware update file [0147] based on the reduction of at least affects the transmission firmware update file download service consider things, possible embodiments of the present embodiment of the invention, the server further configured obtained comprising: performing the firmware update file downloaded upgrade P preset period of time, so that the active radio frequency tag IOT system can upgrade the predetermined period of P, from the number N the base station of any one of the upgrade station downloads the upgraded firmware upgrade firmware update file; wherein, P is a positive integer not less than 1.

[0148]具体实施过程可以是,所述服务器基于固件配置软件对M个所述固件升级文件中的每一个所述固件升级文件的升级策略,得到M个固件升级策略;每一个所述固件升级文件的所述固件升级策略中包括执行所述固件升级文件下载的N个升级基站和执行所述固件升级文件下载的P个预设升级的时间段;如果服务器具体可以具有固件升级配置界面,那么用户具体可以通过对固件升级配置界面的升级的时间段预设页面进行相应的操作,使每一个所述固件升级文件的所述固件升级策略中具有执行所述固件升级文件下载的P个预设升级的时间段。 [0148] Specific embodiments may process the server-based configuration software firmware upgrade policy for each of said firmware update file of the firmware upgrade the M document, obtain M firmware upgrade policy; each of said firmware upgrade the firmware upgrade policy file comprises performing the firmware update file downloaded upgrade the N base stations and executing the firmware update file downloaded upgrade P preset time period; if the server may have a particular configuration interface firmware upgrade, then the firmware upgrade policy specific user can perform a corresponding operation period preset by a page update the firmware upgrade configuration interface, so that each of said firmware update file with the execution of the firmware update file downloaded preset P upgrade period of time. 可以将P个预设升级的时间段设置在夜间通信业务比较空闲,有源射频标签移动幅度较小的时间区段。 P preset update time period may be set relatively free traffic at night, the smaller the amplitude of active radio frequency tag movement time segments. 这样,每一个固件升级文件对应的所述物联网系统中的有源射频标签,仅在P个预设升级的时间段,从N个所述升级基站中的处于其信号覆盖范围的所述升级基站下载所述固件升级文件,将固件升级文件下载对物联网业务的影响降到尽可能的低。 Thus, the active radio frequency tag corresponding to each of said firmware update file system of things, only the P upgrade preset time period, the upgrade from the N base stations in the coverage area of ​​its upgrade the base station firmware upgrade download the file, the file is downloaded firmware upgrade impact on the business of things down to as low as possible.

[0149] 针对确定升级基站提供的一种固件升级方法实施例的任一实施例揭示的过程,可基于过程中一个或者多个步骤所能实现的功能及具体实施应用环境进行逻辑功能划分,对应得到具有多个功能模块的针对确定升级基站提供的一种固件升级装置实施例的任一实施例,所述固件升级装置为所述固件升级方法实现形式。 [0149] The method for upgrading firmware upgrade to identify a base station provides a process according to any of the embodiments disclosed one embodiment of embodiment, may be performed based on logical functions during one or more steps can realize the function and application specific implementation environment, the corresponding having a plurality of functional modules to obtain any of the embodiments to identify a firmware upgrade for upgrading the base station apparatus provided in an embodiment, the firmware upgrade the means implemented in the form of a firmware upgrade. 其中,一个功能模块可以同一个步骤相对应,也可以同两个或者两个以上步骤相对应,各个功能模块可以单独物理存在,两个或者两个以上功能模块可共同物理存在。 Wherein a functional module may correspond to a single step, or may correspond to the same two or more steps, the various functional modules can be separately physically present, two or more functional modules can be physically co-exist. 所述功能模块既可以通过程序代码实现获得对应的程序,也可以通过逻辑电路实现获得对应的逻辑电路器件。 The functional modules may achieve both a program corresponding to the obtained program code, may be implemented by a logic circuit to obtain the corresponding logic circuit device. 当所述针对确定升级基站提供的一种固件升级装置实施例的任一实施例被具体应用于服务器时,就得到针对确定升级基站提供的一种服务器的任一实施例;所述服务器为所述方法的应用形式,^述服务器能够执行针对确定升级基站提供的一种固件升级方法实施例的任一实施例揭示的过程所对应的步骤。 When any of the embodiments for determining an upgrade firmware upgrade station apparatus embodiment is provided particularly when the embodiment is applied to the server, is obtained for determining any one of a base station providing server upgrade an embodiment according to an embodiment; by the server form of application of said method, said server performs ^ steps of the process according to any embodiment of the method for upgrading firmware upgrade to identify a base station provided according to a disclosed embodiment corresponds.

[0150] 基于所述固件升级方法得到的所述固件升级装置和所述服务器,与所述固件升级方法在所要解决的技术问题、实现功能的工作过程、所能获得的技术效果相同或者相近,属于相同的发明构思。 [0150] The firmware update apparatus based on the obtained firmware upgrade method and the server, and the firmware update method in the technical problems to be solved to realize the function of the working process, the same or similar technical effect can be obtained, belonging to the same inventive concept. 所属领域的技术人员,可参照针对确定升级基站的固件升级装置实施例,理解本发明针对确定升级基站的固件升级方法实施例的具体实现形式,可参照针对确定升级基站的服务器实施例,理解本发明针对确定升级基站的固件升级方法实施例的具体应用形式;相应地,可参照针对确定升级基站的固件升级方法实施例,理解针对确定升级基站的固件升级装置实施例中的各功能模块、各功能模块之间的配合关系及固件升级装置的工作过程,理解针对确定升级基站的服务器实施例所能实现的功能及实现相应功能的过程。 Those skilled in the art, may be with reference to examples for determining the firmware update means update the base station, understood that specific forms of implementation for an embodiment of determining the firmware upgrade method for upgrading the base station of the present invention, with reference to embodiments for determination server upgrade of the base station, understood that the present specific application form embodiments of the present invention for determining the firmware upgrade method for upgrading the base station of the embodiment; accordingly, reference Example for determining a firmware update method for upgrading the base station, understood that for determining the firmware update means update the base station of each functional module in the embodiment, each of the mating relationship firmware upgrade process and apparatus work function between modules, it is understood that functions described embodiment can achieve functions and the corresponding implementation process for upgrading the base station of the determined server.

[0151]为描述的方便和简洁,在对针对确定升级基站的固件升级装置实施例和服务器实施例进行说明的过程中,就不再一一具体赘述能够参照固件升级方法实施例进行理解的部分,例如,所能解决的技术问题、所能获得的技术效果。 [0151] For convenience and brevity of description, the process of the Examples and the server embodiment for upgrading the base station apparatus determines the firmware upgrade will be explained, it is not going to be able to repeat the specific embodiments described with reference firmware upgrade methods appreciated portion , for example, can not solve the technical problem, the technical effect can be obtained.

[0152]基于针对确定升级基站提供的一种固件升级方法实施例的实现,可对应得到具有多个功能模块的针对确定升级基站提供的一种固件升级装置实施例。 [0152] implementation of this embodiment for the method for upgrading firmware upgrade to identify a base station based on the supplied, to obtain a firmware upgrade may correspond to update the base station apparatus is provided having a plurality of functional modules for determining embodiment.

[0153]图2示出了本发明实施例中针对确定升级基站提供的一种固件升级装置的结构示意图。 [0153] FIG. 2 shows a schematic diagram of the structure of the present invention to identify a firmware upgrade for upgrading the base station apparatus providing embodiment. 所述装置,应用于包括L个基站的物联网系统中,其中,L为不小于1的正整数。 The apparatus applied was a networked system comprising a base station L, where, L is a positive integer not less than 1. 所述装置,能够在所述物联网系统的L个基站中,确定M个固件升级文件中的每一个所述固件升级文件对应的N个升级基站,以使所述物联网系统中的有源射频标签能够从所述升级基站中的任意一个下载所述固件升级文件进行固件更新。 The apparatus can be in the L of the things the base station system, determining each of said firmware update file in the M firmware update file corresponding to the N upgraded base stations, so that the system of things in the active a radio frequency tag capable of downloading the firmware update file from any of said base station to upgrade the firmware update.

[0154]现参照图2所示,所述固件升级装置包括:固件升级文件获取单元201、固件升级策略配置单元2〇2、固件升级文件下载点确定单元203,而且,在本发明实施例中,固件升级文件获取单元201、固件升级策略配置单元202、固件升级文件下载点确定单元203可以是通过硬件处理器(hardware processor)来实现相关功能模块。 [0154] Referring now to FIG. 2, the firmware update apparatus comprising: a firmware update file acquiring unit 201, the firmware upgrade policy hive 2〇2, Download firmware upgrade file determination unit 203, and, in the embodiment of the present invention , the firmware update file acquiring unit 201, the firmware upgrade policy configuration unit 202, the firmware update file downloading point determining unit 203 may be implemented by a hardware processor associated functional modules (hardware processor). 其中: among them:

[0155]固件升级文件获取单元201,用于获得M个固件升级文件;其中,M为不小于1的正整数; [0155] firmware update file obtaining unit 201 configured to obtain M firmware upgrade file; wherein, M is a positive integer not less than 1;

[0156]固件升级策略配置单元202,用于配置M个所述固件升级文件中的每一个所述固件升级文件的升级策略,得到M个固件升级策略;其中,每一个所述固件升级文件的所述固件升级策略中包括执行所述固件升级文件下载的N个升级基站,N为不小于1,且不大于L的正整数; [0156] Configuring the firmware upgrade policy unit 202, arranged for each of said firmware update file upgrade policy M of the firmware update file, obtain M firmware upgrade policy; wherein each of said firmware update file the firmware upgrade policy comprises performing the firmware update file downloaded upgrade base of N, N not less than 1 and not greater than a positive integer L;

[0157]固件升级文件下载点确定单元203,用于基于M个所述固件升级策略,将每一个所述固件升级文件及其所述固件升级策略下发至对应的N个所述升级基站,以使所述物联网系统中的有源射频标签能够从N个所述升级基站中的任意一个下载所述固件升级文件进行固件更新。 [0157] File Download firmware update determination unit 203, based on the M of the firmware upgrade policy, each of said firmware update file and sent to the corresponding N of said base stations to upgrade the firmware upgrade policy, active RFID tags so that the object can be a networked system firmware update file downloading the upgrade from the base station of any of the N firmware update.

[0158]可能的实施方式中,所述固件升级策略配置单元202配置得到的每一个所述固件升级文件的所述固件升级策略中还包括:执行所述固件升级文件下载的P个预设升级的时间段,以使所述物联网系统中的有源射频标签能够在P个所述预设升级的时间段,从N个所述升级基站中的任意一个所述升级基站下载所述固件升级文件进行固件更新;其中,P为不小于1的正整数。 [0158] In a possible embodiment, the firmware upgrade policy for each of said firmware update file of the firmware upgrade policy configuration unit 202 is configured obtained further comprising: executing the firmware update file downloaded preset P upgrade time period to the active RF tag system of the IOT can upgrade the predetermined period of P, a base station downloads the upgrade from any of the N base stations in the upgrading of the firmware upgrade firmware update file; wherein, P is a positive integer not less than 1.

[0159]基于针对确定升级基站提供的一种固件升级方法实施例的应用,可对应得到具有多个功能模块的针对确定升级基站提供的一种服务器实施例。 [0159] Based on the application for an embodiment of a firmware upgrade to identify a base station provides a method to upgrade, may be implemented for determining a corresponding upgrade A server provided by the base having a plurality of functional modules embodiment.

[0160]图3示出了本发明实施例中提供的一种服务器的结构示意图。 [0160] FIG. 3 shows a structure diagram of an embodiment of a server provided in the embodiment of the present invention. 所述服务器,应用于包括L个基站的物联网系统中,其中,L为不小于1的正整数;所述服务器,能够在所述物联网系统的L个基站中,确定M个固件升级文件中的每一个所述固件升级文件对应的N个升级基站,以使所述物联网系统中的有源射频标签能够从N个所述升级基站中的任意一个下载所述固件升级文件进行固件更新。 The server was applied to a networked system of base stations L, where, L is a positive integer not less than 1; and the server can be in the L-th base station system of things, the firmware update file to determine the M each of said firmware update file corresponding to the N upgrade station, active radio frequency tag so that the object can be a networked system of downloading the firmware update file from any of the N base stations to upgrade the firmware update .

[0161] 现参照图3所示,所述服务器包括10:总线13,连接总线13的至少一个处理器11,以及与至少一个处理器11通信连接存储器12。 [0161] Referring now to FIG. 3, the server 10 comprises: a bus 13, a processor 11 connected to a bus at least 13, at least one processor 11 and a memory 12 connected to the communication. 其中,存储器12存储有可被至少一个处理器11 执行的指令,指令被至少一个处理器11执行,以在执行所述指令时执行如下步骤: Wherein, the memory 12 stores instructions can be executed at least one processor 11, instructions 11 executed by at least one processor to perform the steps of the instructions when executed:

[0162] 获得M个固件升级文件;其中,M为不小于1的正整数; [0162] obtain M firmware upgrade file; wherein, M being a positive integer not less than 1;

[0163] 配置M个所述固件升级文件中的每一个所述固件升级文件的升级策略,得到M个固件升级策略;其中,每一个所述固件升级文件的所述固件升级策略中包括执行所述固件升级文件下载的N个升级基站,N为不小于1,且不大于L的正整数; [0163] M of the firmware upgrade configuration file in each of the upgrade policy firmware upgrade file, obtain M firmware upgrade policy; wherein each of said firmware upgrade the firmware upgrade policy file comprises performing the said firmware update file downloaded upgrade the N base stations, N being not less than 1 and not greater than a positive integer L;

[0164] 基于M个所述固件升级策略,将每一个所述固件升级文件及其所述固件升级策略下发至对应的N个所述升级基站,以使所述物联网系统中的有源射频标签能够从N个所述升级基站中的任意一个下载所述固件升级文件进行固件更新。 [0164] Based on the M of the firmware upgrade policy, each of said firmware update file and the firmware upgrade policy sent to the corresponding N of said base stations upgraded, so that the system of things in the active a radio frequency tag capable of downloading the firmware update file from any of said N number of base stations upgrade firmware update.

[0165] 可能的实施方式中,基于至少一个处理器11执行指令,配置得到的每一个所述固件升级文件的所述固件升级策略中还包括:执行所述固件升级文件下载的P个预设升级的时间段,以使所述物联网系统中的有源射频标签能够在P个所述预设升级的时间段,从N个所述升级基站中的任意一个所述升级基站下载所述固件升级文件进行固件更新;其中,P为不小于1的正整数。 [0165] In a possible embodiment, based on at least one processor 11 executing instructions, the firmware upgrade policy for each of said firmware update file configuration obtained further comprising: executing the firmware update file downloaded preset P update period, so that the active RF tag system of things can be said in the preset period of P upgrade, the upgrade station downloads a firmware from the upgrading of any of said N base stations upgrading firmware update file; wherein, P is a positive integer not less than 1.

[0166]基于物联网系统中一个所述固件升级文件对应的N个升级基站为所述物联网系统中需要采用所述固件升级文件对自身固件进行升级考虑,在前述针对确定升级基站提供的一种固件升级方法的基础上,本发明实施例中提供一种固件升级方法。 [0166] IOT system based on a firmware update file corresponding to the N number of base stations to upgrade the system need things the firmware upgrade firmware upgrade file itself considered for the determination in a base station provides the upgrade firmware upgrade method based on the species, there is provided a method of upgrading the firmware embodiment of the present invention.

[0167]图4示出了本发明实施例中针对固件升级文件下载提供的一种固件升级方法的流程示意图;所述方法,应用于包括L个基站的物联网系统中,其中,L为不小于1的正整数;L个所述基站中具有用于M个固件升级文件下载的多个升级基站;多个所述升级基站是根据所述M个所述固件升级文件的升级策略从所述L个所述基站中指定的执行所述固件升级文件下载的N个基站;其中,M为不小于1的正整数,N为不小于1,且不大于L的正整数;所述方法, 能够使M个固件升级文件中的每一个所述固件升级文件对应的N个升级基站,获得对应的所述固件升级文件及其所述固件升级策略;N个升级基站中的任意一个,在收到所述物联网系统中的有源射频标签发来的所述固件升级文件的固件升级请求后,能够向所述有源射频标签下发所述固件升级文件的数据。 [0167] FIG. 4 shows a schematic flow diagram of embodiments of the present invention, one kind of downloaded firmware upgrade method is provided for the firmware update file embodiments; the process was applied to a networked system of base stations L, where, L is not smaller than the positive integer; L of said plurality of base stations having a base station for the M upgraded firmware update file downloaded; a plurality of base stations according to the upgrade policy of the M upgrade the firmware upgrade file from the the L designated by the base station executing the firmware update file downloaded N base stations; wherein, M being a positive integer not less than 1, N is not less than 1 and not greater than a positive integer L; said method, so that each of said firmware update file in the M firmware update file corresponding to upgrade the N base stations, to obtain a corresponding said firmware update file and the firmware upgrade policy; upgrade any of the N base stations a, receipt after the IOT active RF tag system firmware update request sent by the firmware update file, the data can be sent to the firmware update file in said active radio frequency tag.

[0168]现参照图4所示,本发明实施例中针对固件升级文件下载提供的一种固件升级方法,具体流程如下: [0168] Referring now to FIG. 4 A firmware update method embodiment for downloading the firmware update file to an embodiment of the present invention, the specific process is as follows:

[0169]步骤401、多个所述升级基站从所述物联网系统中的服务器获得对应的所述固件升级文件及其所述固件升级策略; [0169] Step 401, a plurality of base station to obtain the upgrade from the object corresponding to the server in the networked system firmware update file and the firmware upgrade policy;

[0170]具体实施过程可以是,所述物联网系统中的一服务器配置M个所述固件升级文件中每一个所述固件升级文件的升级策略,得到与M个所述固件升级文件分别对应的M个所述固件升级策略,每一个所述固件升级文件的固件升级策略中指定的执行所述固件升级文件下载的N个升级基站,在此基础上从所述物联网系统中的L个所述基站中确定用于M个固件升级文件下载的多个所述升级基站。 [0170] In particular embodiments the process may be, the object of a networked system M of the server configuration firmware update file in each of the upgrade policy firmware upgrade file, to obtain the M corresponding to the firmware upgrade file, respectively M of the firmware upgrade policy, the execution of each of said firmware update file firmware upgrade firmware upgrade policy file specified in the download upgrade the N base stations, on the basis of the object from a networked system that the L said base station determines a plurality of the base stations of M upgrade firmware upgrade file download.

[0171]多个所述升级基站基于每一个所述固件升级文件的固件升级策略中确定的所述固件升级文件与N个所述升级基站的对应关系,获得对应的所述固件升级文件及其所述固件升级策略。 [0171] The plurality of base station based on each of the upgraded firmware upgrade firmware upgrade policy file in the firmware update file to determine correspondence between the N upgrading the base station to obtain a corresponding file and the firmware upgrade the firmware upgrade strategy. 获得所述固件升级文件后,多个所述升级基站中的一个所述升级基站可以执行下载一个所述固件升级文件,也可以执行下载多个个所述固件升级文件,但可以确定的是,执行下载一个所述固件升级文件的所述升级基站为所述固件升级文件的所述固件升级策略指定的N个升级基站。 After obtaining the firmware update file, a plurality of the upgrade of the base station may perform the upgrade downloading a file of the firmware update can be executed to download a plurality of said firmware update file, but it is certain that, performing the upgrade station downloads a firmware upgrade of the file is the file of the firmware upgrade firmware upgrade upgrade policy specifies the N base stations.

[0172]多个所述升级基站获得对应的所述固件升级文件及其所述固件升级策略的方式, 具体可以参照前述针对确定升级基站提供的一种固件升级方法实施例中的相关说明,为了描述的简洁及使本发明实施例的描述结构更清晰,在此不再一一赘述。 [0172] The plurality of base stations to obtain a corresponding upgrade of the firmware update file and the firmware upgrade policy manner, specifically with reference to the method for upgrading firmware upgrade to identify a base station provided in the embodiment described related embodiment, in order and brief description of the present invention will be described more clearly the structure of the embodiment, not detailed herein.

[0173]步骤402、多个所述升级基站中的任一在收到所述物联网系统中的有源射频标签发来的固件升级请求后,向所述有源射频标签下发所述固件升级文件的数据,以使所述有源射频标签能够根据所述固件升级文件的数据进行固件更新。 [0173] Step 402, the upgrading of any of a plurality of base stations after receipt of a radio frequency tag of the active substance in a networked system firmware upgrade request sent, to send the firmware in said active radio frequency tag data upgrade file, so that the active radio frequency tag according to the data can be firmware updates to the firmware upgrade file.

[0174]具体实施过程可以是,所述物联网系统中的有源射频标签,基于用户设定或者多个所述升级基站与所述有源射频标签之间的数据交互,确定多个所述升级基站中所述有源射频标签处于信号范围的所述升级基站具有能够对自身固件进行升级的所述固件升级文件后,向所述升级基站发送所述固件升级文件的固件升级请求,所述固件升级文件的固件升级请求被所述升级基站收到后,所述升级基站向所述有源射频标签下发所述固件升级文件的数据执行所述固件升级文件下载。 [0174] In particular embodiments the process may be, the active radio frequency tag IOT system, based on user settings or upgrading the data exchange between a base station and a plurality of the active RFID tag, determining a plurality of after upgrading the base station in the active radio frequency tag signal is in the range of the base station to upgrade the firmware update file having the ability to upgrade the firmware itself, the base station sends the firmware upgrade request to upgrade firmware upgrade file, the after the firmware upgrade firmware upgrade file request is the base station receives the upgrade, the upgrade of the base station executing the firmware update file is downloaded to the data addressed in said active radio frequency tag firmware upgrade file. 由于所述有源射频标签均可能移动到其固件的所述固件升级文件对应的N个所述升级基站中的任意一个的信号覆盖范围内,因此,所述有源射频标签能够从其固件的所述固件升级文件对应的N个所述升级基站中的任意一个所述升级基站下载所述固件升级文件进行固件更新。 Since both the active radio frequency tag may be moved into any one of its firmware corresponding to the firmware update file to update the base station of the N signal coverage, thus, the active radio frequency tag capable firmware from any of the said N base stations upgrade firmware update file corresponding to the upgrade station downloads a firmware upgrade the firmware update file.

[0175]至少基于让所述物联网系统中的所述有源射频标签获悉多个所述升级基站中哪些有自己固件的所述固件升级文件考虑,在本发明实施例的可能的实施方式中,在收到所述物联网系统中的有源射频标签发来的所述固件升级文件的固件升级请求之前,所述方法还包括: [0175] Based on at least the active radio frequency tag so that the system learns things said plurality of base stations which have their own upgrade firmware of the firmware update file to consider possible implementation of the embodiment of the present invention before the firmware upgrade request is received in the active RF tag system things sent to the firmware upgrade file, said method further comprising:

[0176]多个所述升级基站向其信号覆盖范围内的所述有源射频标签下发其执行下载的所述固件升级文件的固件版本号和硬件编码,以使所述有源射频标签能够基于收到的所述固件升级文件的固件版本号和硬件编码,确定所述升级基站执行下载的所述固件升级文件能否对自身固件进行升级;其中,所述硬件编码为所述固件升级文件能够升级的所述有源射频标签的硬件编码。 [0176] The plurality of base stations sends it to upgrade firmware and hardware version number of the download of the encoded file to which the firmware upgrade the active RF tag is within range, so that the radio frequency tag can be active firmware version number and hardware to encode the received firmware update file is determined based on the upgrade of the base station to perform the firmware upgrade downloaded file itself can be upgraded firmware; wherein, said hardware encoding said firmware update file It can be upgraded hardware encoding the active radio frequency tag.

[0177]具体实施过程可以是,多个所述升级基站中的每一个所述升级基站,解析执行下载的每一个所述固件升级文件,从其文件头中获取所述固件升级文件的硬件编码、固件版本号,并结合所述固件升级文件的固件升级策略,通过低频激发信号信道或者射频信道向其信号覆盖范围内的所述有源射频标签下发其执行下载的所述固件升级文件的固件版本号和硬件编码;下发方式可以是一次性下发多个所述固件升级文件的固件版本号和硬件编码,也可以是轮流下发多个所述固件升级文件的固件版本号和硬件编码;这样,下发所述固件升级文件的硬件编码、固件版本号至所述升级基站的信号覆盖范围内的所述有源射频标签,就能够基于收到的所述固件升级文件的固件版本号和硬件编码,确定所述升级基站执行下载的所述固件升级文件能否对自身固件进行升级。 [0177] In particular embodiments the process may be, a plurality of base stations each of upgrading the upgrade station, parsing each of said firmware update file downloading performed to obtain the encoded hardware firmware upgrade file from the file header , firmware version number, and binding the policy firmware upgrade firmware upgrade file, low-frequency excitation signal channel or a radio frequency channel which issued the download of the firmware upgrade file to which the RF tag within the active signal coverage encoder hardware and firmware version; assignment mode may send a plurality of said firmware update file in disposable hardware and firmware version number coding, may be made of a plurality of said firmware update file and the firmware version number turns hardware coding; Thus, delivers the firmware upgrade file encoded hardware, firmware upgrade the version number to the active radio frequency tag within range of the base station, it is possible based on the received firmware version of the firmware upgrade file No. hardware and encoding, determining the base station to perform the upgrade of the firmware update file downloading can upgrade the firmware itself.

[0178]至少基于让发来固件升级请求的所述有源射频标签具备下载所述固件升级文件的数据接收条件考虑,在本发明实施例的可能的实施方式中,所述方法还包括: [0178] Based on at least the active radio frequency tag so that the firmware update request is sent to the data receiving condition comprising downloading firmware upgrade file considerations, a possible embodiment by way of example in the present invention, the method further comprising:

[0179]在收到所述有源射频标签判定所述固件升级文件能够对自身固件进行更新而发来的固件升级请求后,当所述固件升级请求中具有接收窗口开启标志,多个所述升级基站中的任一向发来所述固件升级请求的所述有源射频标签下发升级指令,以使所述有源射频标签让其自身的接收窗口开启,并返回包含固件版本信息的允许升级消息。 [0179] After receiving the active radio frequency tag is determined that the firmware update file itself can be updated firmware update request sent by the firmware when the firmware upgrade request flag having a receiving window opening, a plurality of the issued upgrade any of the active radio base station has been sent to the tag firmware upgrade request to upgrade instructions to cause the active radio frequency tag allowed to own receiver window opens, and returns a firmware version information allows upgrading messages. .

[0180] 具体实施过程可以是,当所述有源射频标签机基于收到的所述固件升级文件的固件版本号和硬件编码,判定所述固件升级文件能够对自身固件进行更新,向下发所述固件升级文件的固件版本号和硬件编码的所述升级基站发送的固件升级请求被所述升级基站接收后,所述升级基站向发来所述固件升级请求的所述有源射频标签下发升级指令,所述升级指令能够让所述有源射频标签保持接收窗口开启,并返回包含固件版本信息的允许升级消息。 [0180] In particular embodiments the process may be, when the active radio frequency tag firmware version number and hardware encoding said received firmware update file based on determining that the firmware update file itself can be firmware updates, down hair after the firmware upgrade request to upgrade the firmware version number of the base station transmits the encoded hardware and firmware update file received by said base station upgraded, the upgrade to the firmware update request sent by the active radio frequency tag by the base station hair upgrading instruction, the upgrading instruction allows the active radio frequency tag holding open a receive window, and returns a firmware upgrade information allows the message. 在开启接收窗口状态下,所述有源射频标签在向所述物联网系统中的所述基站周期性上报的同时,能够接收所述物联网系统中的所述基站下发传来的数据包。 In the open state of the receiving window, the active radio frequency tag to the base station while the IOT system to periodically report can be received at the networked system was made in the base station data transmitted from the packet .

[0181] 至少基于让所述升级基站能有效应对同时收到多个所述固件升级请求的情况考虑,在本发明实施例的可能的实施方式中,如果多个所述升级基站中任一同时收到多个所述有源射频标签发来的所述固件升级请求,收到多个所述有源射频标签发来的所述固件升级请求的所述升级基站,所述方法还包括: [0181] Based on the base station so that the update can effectively deal with at least a plurality of said simultaneously received firmware update request is considered a possible implementation of the embodiment of the present invention, if a plurality of base stations to any one of the simultaneously upgrade the received plurality of active radio frequency tags sent to request the firmware upgrade, the upgrade of the base station receives the plurality of active radio frequency tags sent by the firmware update request, the method further comprising:

[0182] 对多个所述固件升级请求对应的所述有源射频标签的接收信号强度进行排序,获得对应的升级指令发送优先级,基于所述升级指令发送优先级,向多个所述有源射频标签顺次下发所述升级指令;其中,向接收信号强度最强的所述有源射频标签最先下发所述升级指令。 [0182] The firmware update request to the plurality of received signal strength corresponding to said active radio frequency tag sort, upgrading instruction to obtain a corresponding transmission priority, transmission priority based on the upgrade instructions to said plurality has source RF tag sequentially delivers the upgrading instruction; wherein the strongest received signal strength of the active radio frequency tag of the first update instruction issued.

[0183] 具体实施过程可以是,收到所述物联网系统中的多个所述有源射频标签发来的对应的多数所述固件升级请求的所述升级基站,对多个所述固件升级请求对应的所述有源射频标签的接收信号强度(Received Signal Strength Indicator,RSSI)进行排序,获得对应的升级指令发送优先级,例如,所述升级指令发送优先级为接收信号强度最强的有源射频标签最先发送,接收信号强度最弱的所述有源射频标签最后发送。 [0183] In particular embodiments the process may receive a plurality of active radio frequency tag of the system of things sent to the majority of the firmware upgrade request to upgrade the base station corresponding to said plurality of firmware upgrade received signal strength corresponding to said active radio frequency tag request (received signal strength Indicator, RSSI) sorting to obtain a corresponding upgrading instruction transmission priority, for example, the upgrading instruction transmission priority has the strongest received signal strength the first source RF tag transmission, the received signal strength of the weakest of the active radio frequency tag transmitted last. 由于所述有源射频标签与所述升级基站之间的通信方式通常采用点对点方式,因此,通过该方式能让收信号强度大的所述有源射频标签先收到所述升级指令,进行所述固件升级文件下载,有利于提高整个所述物联网系统中的所述有源射频标签的固件更新效率。 Since the communication between the RF tag and the active base station upgrades usually point to point, and therefore, this way allows the active RF receiving large signal intensity of the received first tag upgrading instruction, for the said firmware update file to download, will help improve the efficiency of updating the firmware of the active radio frequency tag of the entire system of things.

[0184] 至少基于让获得所述升级指令的所述有源射频标签能获得更新自身固件所需的所述固件升级文件考虑,在本发明实施例的可能的实施方式中,所述方法还包括: [0184] Based on the obtained update instruction so that at least the active radio frequency tag to obtain the required firmware updates its own firmware upgrade file considered, in a possible embodiment by way of example of the present invention, the method further comprises :

[0185] 在收到所述有源射频标签发来的所述允许升级消息后,多个所述升级基站基于所述允许升级消息中的所述固件版本信息,从所述升级基站执行下载的所述固件升级文件中确定与所述固件版本信息对应的所述固件升级文件,并生成对应的升级文件信息,将所述升级消息下发给发来所述允许升级消息的所述有源射频标签,以使所述有源射频标签能够基于收到的所述升级文件信息,向所述升级基站请求与所述升级文件信息对应的所述固件升级文件的包序号,执行所述固件升级文件下载。 [0185] In the active radio frequency tag receives the sent message after the upgrade allows the plurality of base stations based on the upgrade of the firmware version information of the update message to allow the base station to perform the download from the upgrade the firmware update file to determine the information corresponding to the firmware version of the firmware update file, and generates file information corresponding to the upgrade, the upgrade of the next message to be sent to the active radio frequency message allow upgrade tag, so that the active radio frequency tag can be based on information received by the upgrade file to the packet number of the base station requests the upgrade information of the upgrade file to the corresponding firmware upgrade file, executing the firmware upgrade file download.

[0186] 具体实施过程可以是,在收到所述有源射频标签发来的所述允许升级消息后,多个所述升级基站中收到所述允许升级消息的所述升级基站,基于所述允许升级消息中的所述固件版本信息,从所述升级基站执行下载的所述固件升级文件中出与所述固件版本信息对应的所述固件升级文件,并生成对应的升级文件信息,所述升级文件信息中包括所述固件升级文件的文件大小和校验码,将所述升级消息下发给发来所述允许升级消息的所述有源射频标签,所述升级文件信息能够使所述有源射频标签向所述升级基站请求与所述升级文件信息对应的所述固件升级文件的包序号,执行所述固件升级文件下载。 [0186] In particular embodiments the process may be, in the active RF tag after receipt of the sent message to allow upgrade, the upgrade of the plurality of base stations in the base station receives the update message to allow the upgrade, based on allowing said upgrade the firmware version information of the message, and the information corresponding to the firmware version of the firmware update file from said base station to upgrade the firmware update file of the download, the update file and generate information corresponding to the said file update information including the firmware upgrade file checksum and file size, the upgrade of the active radio frequency tag issued to allow the update message sent to the next message, the update information file can be made by said active radio frequency ID tag to the base station requests the upgrade package with the file update information corresponding to the firmware upgrade file, executing the firmware update file download.

[0187] 至少基于让下载所述固件升级文件的所述有源射频标签能及时获得所述固件升级文件考虑,在本发明实施例的可能的实施方式中,在执行所述固件升级文件下载过程中, 在执行所述固件升级文件下载过程中,如果所述有源射频标签移动出执行所述固件升级文件下载的第一升级基站的信号覆盖范围,所述方法还包括: [0187] Based on at least the active radio frequency tag so that the firmware update file downloading can receive timely consideration of the firmware upgrade file, in a possible embodiment by way of example of the present invention, in executing the firmware upgrade file download process in performing the firmware update file download process, if the active radio frequency tag moves out of the coverage area perform firmware update file downloaded update to the first base station, the method further comprising:

[0188] 发送下载指令到第二升级基站,使得所述第二升级基站基于所述下载指令向所述有源射频标签下发所述固件升级文件的数据;其中,所述第二升级基站是所述固件升级文件对应的N个所述升级基站中除所述第一升级基站外的其他信号覆盖所述有源射频标签的基站。 [0188] transmit download instruction to the second base station to upgrade, such that the second base station send the data to upgrade the firmware update file to said active radio frequency tag according to the download instruction based; wherein said second base station is upgraded the firmware upgrade file corresponding to the N said signals other upgrade station other than said first base station coverage base station to upgrade the active radio frequency tag.

[0189] 具体实施过程可以是,在所述有源射频标签移动出第一升级基站,所述固件升级文件下载由于通信中断而中断,下载所述固件升级文件的所述有源射频标签,退出下载状态并恢复到正常运行状态,将所述固件升级文件已经下载部分的数据及状态信息存储在固件存储器的下载区,当前次下载的所述固件升级文件对应的N个所述升级基站中所述有源射频标签处于信号覆盖所述升级基站,向所述有源射频标签下发所述固件升级文件的数据,执行所述固件升级文件的再一次下载,从而实现多个升级基站配合实现移动中的所述有源射频标签下载能够对自身固件进行更新的所述固件升级文件。 [0189] In particular embodiments the process may be, the first mobile station to upgrade the active radio frequency tag, the firmware update file downloading is interrupted due to a communication interruption, said firmware update file downloading the active radio frequency tag, exit to download and resume normal operation, the firmware update file has been downloaded data and status information is stored in the download area of ​​the portion of the firmware memory, downloads the current firmware upgrade file corresponding to N number of base stations as the upgrade said active radio frequency tag signal is in the coverage of the base station to upgrade, to send the data in said active radio frequency tag firmware upgrade file, executing the firmware update file is downloaded again, thereby achieving a plurality of base stations with the realization of a mobile upgrade in the active radio frequency tag itself can be downloaded firmware update file of the firmware upgrade.

[0190]至少基于降低用于所述有源射频标签固件更新的所述固件升级文件的下载对物联网业务应用影响考虑,在本发明实施例的可能的实施方式中,如果每一个所述固件升级文件的所述固件升级策略中还包括执行所述固件升级文件下载的P个预设升级的时间段,P 为不小于1的正整数,所述方法还包括: [0190] Based at least reduce possible embodiment for the active radio frequency tag downloading firmware update said firmware update file to consider things affect business applications, the embodiment of the present invention, if each of the firmware upgrading the firmware upgrade policy file further comprises performing the firmware update file downloaded upgrade P preset time period, P is a positive integer not less than 1, the method further comprising:

[0191]多个所述升级基站在P个所述预设升级的时间段,向发来的所述固件升级文件的固件升级请求的所述有源射频标签下发所述固件升级文件的数据。 [0191] The plurality of base stations in the P upgrade the preset time period of an upgrade, the firmware update file sent in said active radio frequency sent to the firmware upgrade to the firmware upgrade file tag data request .

[0192]具体实施过程可以是,在对M个所述固件升级文件中的每一个所述固件升级文件的升级策略配置时,在升级策略中加入升级的时间段配置,预设升级的时间段可以有P个,P 为不小于1的正整数,例如,可以选物联网系统数据通信比较空闲和/或有源射频标签移动幅度较小的时间区段,例如夜间,作为升级的时间段。 [0192] In particular embodiments the process may be a time period for each of the upgrade policy when firmware upgrade configuration file M of the firmware upgrade file, added in the upgrade policy update period configured in the default upgrade there may be a P, P is a positive integer not less than 1, for example, may be selected from the data communication system of things more free and / or active RF tags small amplitude of movement time segments, for example at night, as the time period of the upgrade. 这样,多个所述升级基站在P个所述预设升级的时间段,向发来的所述固件升级文件的固件升级请求的所述有源射频标签下发所述固件升级文件的数据,执行所述固件升级文件下载时,多个所述升级基站的运行负载会较低,多个所述升级基站与所述有源射频标签之间的通信效率和通信质量会更高,有利于提高所述固件升级文件的下载效率和下载质量。 Thus, a plurality of base stations in the upgrade of the preset time period P of the upgrade, the data sent in the firmware update file to said active radio frequency sent from the firmware upgrade firmware upgrade request file label, when executing the firmware update file is downloaded, the operating load will upgrade the plurality of base stations is low, and the communication efficiency of the communication quality between a plurality of active radio base station and the upgrade will be higher label, help improve Download the firmware upgrade efficiency and quality download files.

[0193]前述针对固件升级文件下载提供的一种固件升级方法实施例的任一实施例揭示的过程,可基于过程中一个或者多个步骤所能实现的功能及具体实施应用环境进行逻辑功能划分,对应得到具有多个功能模块的针对固件升级文件下载提供的一种固件升级装置实施例的任一实施例,所述固件升级装置为所述固件升级方法实现形式。 Any one of [0193] the foregoing embodiment is directed to a method for firmware upgrade firmware upgrade file download provides a process embodiment disclosed embodiment, the process may be based on a function or application environment and the specific embodiments can achieve a plurality of steps carried out logical functions , to obtain a corresponding plurality of functional modules having any of the embodiments directed to a firmware update apparatus provides firmware update file downloaded to an embodiment, the firmware upgrade the means implemented in the form of a firmware upgrade. 其中,一个功能模块可以同一个步骤相对应,也可以同两个或者两个以上步骤相对应,各个功能模块可以单独物理存在,两个或者两个以上功能模块可共同物理存在。 Wherein a functional module may correspond to a single step, or may correspond to the same two or more steps, the various functional modules can be separately physically present, two or more functional modules can be physically co-exist. 所述功能模块既可以通过程序代码实现获得对应的程序,也可以通过逻辑电路实现获得对应的逻辑电路器件。 The functional modules may achieve both a program corresponding to the obtained program code, may be implemented by a logic circuit to obtain the corresponding logic circuit device.

[0194]基于所述固件升级方法得到的所述固件升级装置,与所述固件升级方法在所要解决的技术问题、实现功能的工作过程、所能获得的技术效果相同或者相近,属于相同的友明构思。 [0194] The firmware update apparatus based on the obtained firmware update method, the same or similar method in firmware upgrade technical problem to be solved to realize the function of the working process, the technical effect can be obtained, belonging to the same Friends bright idea. 所属领域的技术人员,可参照针对固件升级文件下载的固件升级装置实施例,理解本发明针对固件升级文件下载的固件升级方法实施例的具体实现形式,相应地,可参:照针对固件升级文件下载的固件升级方法实施例,理解针对固件升级文件下载的固件升级装置实施例中的各功能模块、各功能模块之间的配合关系及固件升级装置的工作过程。 Those skilled in the art, may be with reference to Examples for firmware upgrade device firmware update file downloaded appreciated that the specific implementation form of embodiment of the present invention is directed to a firmware update the firmware upgrade file downloaded, accordingly, can participate: as for firmware upgrade file embodiment downloaded firmware upgrade method embodiment, the functional modules appreciated that embodiments of the downloaded firmware upgrade for the firmware upgrade file apparatus embodiment, and with the relationship between the functional modules firmware upgrade process apparatus. _ _

[0195] 为描述的方便和简洁,在对针对固件升级文件下载的固件升级装置实施例进行说明的过程中,就不再一一具体赘述能够参照固件升级方法实施例进行理解的部分,例如,所能解决的技术问题、所能获得的技术效果。 Explaining the procedure of Example [0195] For convenience and brevity of description, the downloaded firmware update file for firmware update apparatus, it is not going to be able to repeat the specific embodiments with reference to the method for firmware upgrade portion appreciated, for example, can not solve the technical problem, the technical effect can be obtained.

[0196] 基于针对固件升级文件下载提供的一种固件升级方法实施例的实现,可对应得到具有多个功能模块的针对固件升级文件下载提供的一种固件升级装置实施例。 Example achieve the [0196] embodiment is based on a method of downloading firmware upgrade for the firmware upgrade file provided, it may correspond to the device to obtain a firmware upgrade for the firmware update file having a plurality of functional modules download examples provided.

[0197] 图5示出了本发明实施例中针对固件升级文件下载提供的一种固件升级装置的结构示意图;所述固件升级装置应用于包括L个基站的物联网系统中,L为不小于1的正整数;L 个所述基站中具有用于M个固件升级文件下载的多个升级基站;多个所述升级基站是根据所述M个所述固件升级文件的升级策略从所述L个所述基站中指定的执行所述固件升级文件下载的N个基站;其中,M为不小于1的正整数,N为不小于1,且不大于L的正整数;所述固件升级装置,能够使M个固件升级文件中的每一个所述固件升级文件对应的N个升级基站,获得对应的所述固件升级文件及其所述固件升级策略;N个升级基站中的任意一个,在收到所述物联网系统中的有源射频标签发来的所述固件升级文件的固件升级请求后,能够向所述有源射频标签下发所述固件升级文件的数据。 [0197] FIG. 5 shows a schematic structure of a present invention apparatus embodiment firmware upgrade for the firmware update file downloaded to an embodiment; means the firmware upgrade was applied to a networked system of base stations L, L is not less than positive integer. 1; L of said plurality of base stations having a base station for the M upgraded firmware update file downloaded; a plurality of base stations according to the upgrade policy of the M upgrade the firmware upgrade file from the L executing the firmware upgrade file specified in the base station a downloaded N base stations; wherein, M being a positive integer not less than 1, N is not less than 1 and not greater than a positive integer L; means the firmware upgrade, enabling each of said firmware update file in the M firmware update file corresponding to upgrade the N base stations, to obtain a corresponding said firmware update file and the firmware upgrade policy; upgrade any of the N base stations a, in close after the object to the active RF tag network system firmware update request sent by the firmware upgrade file, the data can be sent to the firmware update file in said active radio frequency tag.

[0198]现参照图5所示,所述固件升级装置包括:固件升级文件获得单元501、固件升级文件下载单元502,而且,在本发明实施例中,固件升级文件获得单元501、固件升级文件下载单元502可以是通过硬件处理器(hardware processor)来实现相关功能模块。 [0198] Referring now to FIG. 5, the firmware update apparatus comprising: a firmware update file obtaining unit 501, the firmware update file download unit 502, and, in the embodiment of the present invention, the firmware update file obtaining unit 501, the firmware upgrade file downloading unit 502 may be implemented by a hardware processor associated functional modules (hardware processor). 其中: among them:

[01"]固件升级文件获得单元501,用于从所述物联网系统中的服务器获得对应的所述固件升级文件及其所述固件升级策略; [01 "] firmware update file obtaining unit 501 for obtaining a corresponding object from the server in the networked system firmware update file and the firmware upgrade policy;

[0200]固件升级文件下载单元502,用于在收到所述物联网系统中的有源射频标签发来的固件升级请求后,向所述有源射频标签下发所述固件升级文件的数据,以使所述有源射频标签能够根据所述固件升级文件的数据进行固件更新。 After [0200] 502 firmware update file downloading unit, for receiving the active radio frequency tag things sent to the system firmware upgrade request, send the data to the firmware update file in said active radio frequency tag , so that the active radio frequency tag according to the data can be firmware updates to the firmware upgrade file.

[0201]可能的实施方式中,所述装置还包括: [0201] In a possible embodiment, the apparatus further comprising:

[0202]升级判断信息下发单元503,用于在收到所述物联网系统中的有源射频标签发来的所述固件升级文件的固件升级请求之前,向其信号覆盖范围内的所述有源射频标签下发其执行下载的所述固件升级文件的固件版本号和硬件编码,以使所述有源射频标签能够基于收到的所述固件升级文件的固件版本号和硬件编码,确定所述升级基站执行下载的所述固件升级文件能否对自身固件进行升级;其中,所述硬件编码为所述固件升级文件能够升级的所述有源射频标签的硬件编码。 Before the information issuing unit 503 [0202] Analyzing the upgrade, for receiving the active radio frequency tag IOT system firmware update request sent by the firmware upgrade file, to which the signal within the coverage area an active RF tag which issued the execution of the firmware upgrade file downloading firmware and hardware version number encoded so that the active radio frequency tag can be encoded hardware and firmware version number of the firmware update file based on the received, determined the base station performs downloading upgrade the firmware update file itself can be upgraded firmware; wherein, said hardware encoding said firmware update file to upgrade hardware encoding the active radio frequency tag.

[0203]可能的实施方式中,所述装置还包括: [0203] In a possible embodiment, the apparatus further comprising:

[0204]升级指令下发单元5〇4,用于当所述固件升级请求中具有接收窗口开启标志,多个所述升级基站中的任一向发来所述固件升级请求的所述有源射频标签下发升级指令,以使所述有源射频标签让其自身的接收窗口开启,并返回包含固件版本信息的允许升级消息。 [0204] 5〇4 the upgrading instruction sending unit, configured to, when the firmware update request flag has a receiving window opens, the upgrading of any of a plurality of base stations has been sent to said active radio frequency of the requested firmware upgrade upgrading instruction issued tab, so that the active radio frequency tag allowed to own receiver window opens and allows the return message including the firmware version upgrade information. [0205]可能的实施方式中,如果多个所述升级基站中任一同时收到多个所述有源射频标签发来的所述固件升级请求,所述升级指令下发单元504还用于: _ [0205] In a possible embodiment, if any one of a plurality of base stations simultaneously upgrade the receipt of the plurality of active radio frequency tags sent to request the firmware upgrade, the upgrade unit 504 under instructions issued for further : _

[0206] 对多个所述固件升级请求对应的所述有源射频标签的接收信号强度进行排序,获得对应的升级指令发送优先级,基于所述升级指令发送优先级,向多个所述有源射频标签顺次下发所述升级指令;其中,向接收信号强度最强的所述有源射频标签最先下发所述升级指令。 [0206] The firmware update request to the plurality of received signal strength corresponding to said active radio frequency tag sort, upgrading instruction to obtain a corresponding transmission priority, transmission priority based on the upgrade instructions to said plurality has source RF tag sequentially delivers the upgrading instruction; wherein the strongest received signal strength of the active radio frequency tag of the first update instruction issued.

[0207] 可能的实施方式中,所述装置还包括: [0207] In a possible embodiment, the apparatus further comprising:

[0208] 升级文件信息下发单元505,用于在收到所述有源射频标签发来的所述允许升级消息后,基于所述允许升级消息中的所述固件版本信息,从所述升级基站执行下载的所述固件升级文件中出与所述固件版本信息对应的所述固件升级文件,并生成对应的升级文件信息,将所述升级消息下发给发来所述允许升级消息的所述有源射频标签,以使所述有源射频标签能够基于收到的所述升级文件信息,向所述升级基站请求与所述升级文件信息对应的所述固件升级文件的包序号,执行所述固件升级文件下载。 [0208] delivering unit 505 the file update information for said active radio frequency tag in the received incoming message to allow the upgrade, upgrade information based on the firmware version of the message is allowed, from said upgrade the base station execute the downloaded firmware update file and the firmware version in the information corresponding to the firmware update file, and generates file information corresponding to the upgrade, the upgrade of the permit issued by the upgrade message sent in message said active radio frequency tag, so that the active radio frequency tag can be based on information received by the upgrade file to the packet number of the base station requests the upgrade information of the upgrade file to the corresponding firmware upgrade file, perform said firmware update file downloads.

[0209] 可能的实施方式中,所述装置还包括: [0209] In a possible embodiment, the apparatus further comprising:

[0210] 固件升级文件续传单元506,用于在执行所述固件升级文件下载过程中,如果所述有源射频标签移动出执行所述固件升级文件下载的第一升级基站的信号覆盖范围,发送下载指令到第二升级基站,使得所述第二升级基站基于所述下载指令向所述有源射频标签下发所述固件升级文件的数据;其中,所述第二升级基站是所述固件升级文件对应的N个所述升级基站中除所述第一升级基站外的其他信号覆盖所述有源射频标签的基站。 [0210] firmware update file resume unit 506 for firmware upgrades during execution of the download file, if the active radio frequency tag moves out of the coverage area perform firmware update file downloaded update to the first base station, download instruction sent to the second base station to upgrade, such that the second base station send the data to upgrade the firmware update file to said active radio frequency tag according to the download instruction based; wherein said second base station is a firmware upgrade upgrade file corresponding to the N said signals other upgrade station other than said first base station coverage base station to upgrade the active radio frequency tag.

[0211] 可能的实施方式中,如果每一个所述固件升级文件的所述固件升级策略中还包括执行所述固件升级文件下载的P个预设升级的时间段,P为不小于1的正整数,所述固件升级文件下载单元502具体用于: [0211] In a possible embodiment, if the firmware upgrade policy for each of said firmware update file further comprises performing the firmware update file downloaded upgrade P preset time period, not less than P 1 positive integer, said firmware update file downloading unit 502 is specifically configured to:

[0212] 在P个所述预设升级的时间段,向发来的所述固件升级文件的固件升级请求的所述有源射频标签下发所述固件升级文件的数据。 [0212] In the preset period of P upgrade the firmware sent to the firmware upgrade file upgrade request at said active radio frequency tag data sent firmware upgrade file.

[0213]前述针对确定升级基站提供的一种固件升级方法实施例和针对固件升级文件下载提供的一种固件升级方法实施例,被共同应用于物联网系统时,就得到本发明实施例中提供的一种物联网系统实施例,所述物联网系统为固件升级方法的应用形式,所述物联网系统能够执行针对确定升级基站的固件升级方法和针对固件升级文件下载的固件升级方法实施例的揭示的过程所对应的步骤。 [0213] For the method for upgrading firmware upgrade to identify a base station provides examples and embodiment is directed to a method for firmware upgrade firmware upgrade file downloaded embodiment provides, when applied to a common system of things, it is provided to give examples of the present invention embodiment to implement a system of things embodiment, the system of things in the form of a firmware upgrade to apply the method, the object network system capable of performing a firmware upgrade embodiment for determining a base station and a method for upgrading firmware upgrade method for downloading firmware upgrade file disclosed process step corresponds.

[0214]基于所述固件升级方法得到的所述物联网系统,与所述固件升级方法在所要解决的技术问题、实现功能的工作过程、所能获得的技术效果相同或者相近,属于相同的发明构思。 [0214] The composition of the networked system firmware upgrade method based on obtained, the firmware upgrade technical problem to be solved to realize the function of the working process, the same or similar technical effect can be obtained, belonging to the same invention idea. 所属领域的技术人员,可参照所述固件升级方法实施例,理解所述物联网系统实施例所能实现的功能及实现相应功能的过程,相应地,可参照所述物联网系统实施例,理解固件升级方法实施例的具体应用形式。 Those skilled in the art, reference may upgrade the firmware embodiments, understand the function of the embodiment can achieve things embodiment system implementation and the respective functions, correspondingly, with reference to the embodiments thereof may be networked system, appreciated specific forms of embodiment of the application firmware upgrade methods.

[0215] 为描述的方便和简洁,在对物联网系统实施例进行说明的过程中,就不再一一具体赘述能够参照固件升级方法实施例进行理解的部分,例如,所能解决的技术问题、所能获得的技术效果。 [0215] For convenience and brevity of description, the embodiments of the process was explained in the networked system, it is not going to be able to repeat the specific embodiments described with reference firmware upgrade methods appreciated portion, for example, can not solve the technical problem , can obtain technical effect.

[0216]基于针对固件升级文件下载提供的一种固件升级方法实施例和针对固件升级文件下载提供的一种固件升级方法实施例的共同应用,可对应得到本发明的物联网系统实施例。 [0216] Example is based on a firmware update method for a firmware upgrade file download provider and download the firmware upgrade method for providing one kind of common application example for the embodiment of the firmware update file may correspond to a networked system was obtained according to the present embodiment of the invention.

[0217] 图6示出了本发明实施例中提供的一种物联网系统的结构示意图;所述种物联网系统,包括服务器,与所述服务器通信连接的L个基站其中,L为不小于1的正整数;所述物联网系统,能够基于其服务器使M个固件升级文件中的每一个所述固件升级文件对应的N个升级基站,获得对应的所述固件升级文件及其所述固件升级策略;N个升级基站中的任意一个,在收到所述物联网系统中的有源射频标签发来的所述固件升级文件的固件升级请求后,能够向所述有源射频标签下发所述固件升级文件的数据。 [0217] FIG. 6 shows a configuration diagram of a networked system was provided in the embodiment of the embodiment of the present invention; the kinds of things the system, including base stations L a server in communication with the connector wherein, L is not less than a positive integer of 1; the system of things, which can be based on a server so that each of said firmware update file in the M firmware update file corresponding to upgrade the N base stations, to obtain a corresponding said firmware update file and the firmware upgrade policy; upgrade of any one of the N base station, after receiving the active radio frequency tag things sent to the system firmware upgrade the firmware upgrade file request can be issued to the active RF tag the data firmware upgrade file.

[0218] 现参照图6所示,该物联网系统20包括:服务器21,与所述服务器21通信连接的L个基站其中,L为不小于1的正整数;其中: [0218] Referring now to FIG. 6, system 20 of the IOT comprising: a server 21, server 21 is connected in communication with the base station L where, L is a positive integer not less than 1; and wherein:

[0219]所述服务器21,用于获得M个固件升级文件;其中,M为不小于1的正整数;以及[0220]用于配置M个所述固件升级文件中的每一个所述固件升级文件的升级策略,得到M 个固件升级策略;其中,每一个所述固件升级文件的所述固件升级策略中包括执行所述固件升级文件下载的N个升级基站22,N为不小于1,且不大于L的正整数;以及[°221]用于基于M个所述固件升级策略,将每一个所述固件升级文件及其所述固件升级策略下发至对应的N个所述升级基站22; [0219] The server 21, to obtain M firmware upgrade file; wherein, M is a positive integer not less than 1; and [0220] M for configuring of said firmware update file in each of said firmware upgrade upgrade policy file to obtain the M firmware upgrade policy; wherein each of said firmware upgrade policy file in the firmware upgrade comprises performing the firmware update file downloaded upgrade the base station 22 is the N, N not less than 1, and not more than a positive integer L; and [° 221] the M based on the firmware upgrade policy, each of said firmware update file and the firmware update of the policy to a corresponding upgrade of the base station 22 of the N ;

[0222]多个所述升级基站22,用于在收到所述物联网系统20中的有源射频标签23发来的所述固件升级文件的固件升级请求后,向所述有源射频标签23下发所述固件升级文件的数据执行所述固件升级文件下载,以使所述有源射频标签23能够从其固件的所述固件升级文件对应的N个所述升级基站22中的任意一个所述升级基站22下载所述固件升级文件进行固件更新。 [0222] The plurality of base stations 22 upgrade for the active radio frequency tags 20 receiving the networked system 23 was sent to the firmware upgrade the firmware upgrade file request to said active radio frequency tag 23 delivers the firmware upgrade data file download the firmware update file, so that the active 23 can be a radio frequency tag 22 from any of the firmware in the firmware update file corresponding N of said base stations upgrade the base station 22 downloads the upgraded firmware upgrade firmware update file.

[0223]该实施例所提供的物联网系统中包括的服务器、基站以及固件升级文件即为其他实施例中所提供的服务器、基站和固件升级文件,所以该实施例所提供系统中的服务器、基站和固件升级文件实现本发明方案的实现方式与其他实施例相同,该处不再赘述。 [0223] server, the firmware update file, and the base station system provided things included in the server, the base station and the firmware update file is the other embodiments provided in this embodiment, so that the embodiment is provided by the server system, and base station implementations firmware upgrade file according to the present invention achieves the same manner as the other embodiments embodiment, there is omitted.

[0224] 基于物联网系统中的有源射频标签能够从自身固件的固件升级文件对应的N个升级基站下载所述固件升级文件对自身固件进行更新考虑,本发明实施例中提供一种固件升级方法。 [0224] Active RFID tags based IOT system firmware can be downloaded from its own firmware update file corresponding to the N base stations to upgrade the firmware upgrade firmware update file itself considered to provide a firmware update in the embodiment of the present invention method.

[0225]图7示出了本发明实施例中针对固件升级更新提供的一种固件升级方法的流程示意图;所述方法,应用于有源射频标签,所述有源射频标签投入使用的物联网系统包括L个基站,L为不小于1的正整数;L个所述基站中具有用于M个固件升级文件下载的多个升级基站;多个所述升级基站是根据所述M个所述固件升级文件的升级策略从所述L个所述基站中指定的执行所述固件升级文件下载的N个基站;其中,M为不小于1的正整数,N为不小于1,且不大于L的正整数。 [0225] FIG. 7 shows a schematic flow diagram of embodiments of the present invention for updating the firmware upgrade firmware upgrade method for providing one kind of embodiment; the method, applied to an active RF tag, the RF tag put into active use IOT the system includes a base station L, L is a positive integer not less than 1; and L of said plurality of base stations having a base station for the M upgraded firmware update file downloaded; a plurality of base stations based on the upgrade of the M number upgrading firmware upgrade policy file from the specified base station in the L executing the firmware update file downloaded N base stations; wherein, M being a positive integer not less than 1, N is not less than 1 and not greater than L positive integer.

[0226]现参照图7所示,本发明实施例中针对固件升级更新提供的一种固件升级方法,具体流程如下: [0226] Referring now to Figure 7, embodiments of the present invention for updating the firmware upgrade firmware upgrade method for providing one kind of process is as follows:

[0227]步骤701、有源射频标签从自身固件的固件升级文件对应的N个所述升级基站中的任意一个下载所述固件升级文件;其中,所述有源射频标签处于下载所述固件升级文件的所述升级基站覆盖范围内; [0227] Step 701, corresponding to any active radio frequency tag from its own firmware upgrade firmware upgrade file N of said base stations a downloading the firmware upgrade file; wherein, in the active RF tag downloading the firmware upgrade the upgrade file within the base station coverage area;

[0228]从所述物联网系统的L个所述基站中确定用于M个固件升级文件下载的多个所述升级基站的实现方式,及使一个所述固件升级文件对应N个所述升级基站的实现方式,可参照前述针对确定升级基站提供的一种固件升级方法实施例和前述针对固件升级文件下载提供的一种固件升级方法实施例的相关说明,为了描述的简洁及使本发明实施例的描述结构更清晰,在此不再一一赘述。 [0228] from the base station to determine the L of the things system for the implementation of a plurality of base stations of M upgraded firmware update file downloaded, and that one of said firmware update file corresponding to the upgrade of the N the base station implementation, reference may identify a firmware upgrade for the method for upgrading the base station provides examples and download one kind of method for providing firmware upgrade for the firmware update file related embodiment described embodiment, for brevity of description and that the embodiments of the present invention clearer description of the structure of the embodiment, not detailed herein.

[0229] 具体实施过程可以是,所述物联网系统中的有源射频标签,基于用户设定或者多个所述升级基站与所述有源射频标签之间的数据交互,获得能够对自身固件进行升级的所述固件升级文件执行下载的N个所述升级基站,所述有源射频标签从N个所述升级基站中信号覆盖所述有源射频标签的所述升级基站下载所述固件升级文件,下载所述固件升级文件存储在所述有源射频标签存储器的下载区。 [0229] In particular embodiments the process may be, the active radio frequency tag IOT system, based on a user setting or a plurality of data interaction between the base station and the upgrade Active RFID tag, can be obtained on its own firmware upgrading the firmware upgrade execute the downloaded file N of said base stations upgrade, the upgrade of the active radio frequency tag cover the active base station signal RF tag downloading the firmware upgrade from the base station of the N upgrade file, downloading the download area firmware upgrade file stored in the memory of the active radio frequency tag.

[0230] 步骤702、在完成所述固件升级文件下载后,基于所述固件升级文件进行固件更新。 [0230] Step 702, after completion of the firmware upgrade file download, the firmware update file based on the firmware upgrade.

[0231] 具体实施过程可以是,在完成所述固件升级文件下载后,所述有源射频标签退出下载状态;为了避免出现由于用于更新固件的所述固件升级文件不完整而导致固件更新失败以至于所述有源射频标签无法使用,在执行系统重启之前,还包括对下载完成的所述固件升级文件进行完整性校验,在通过完整性校验的所述固件升级文件上设置相应的数据完整标志;在所述固件升级文件通过完整性校验后,所述有源射频标签执行系统重启,在系统重启的引导过程中,将所述下载区的具有数据完整标志的所述固件升级文件的数据拷贝到所述工作区,以对所述有源射频标签的固件进行更新。 [0231] In particular embodiments the process may be, after the completion of the firmware update file downloading, the active radio frequency tag exits the download status; in order to avoid since the firmware for updating the firmware update file is incomplete The firmware update failed such that the active radio frequency tag can not be used, before performing a system reboot, further comprising downloading firmware update file to complete the integrity check, is provided on the respective through firmware upgrade file integrity check data integrity flag; the integrity check by the active RF tag system restart is carried in the firmware upgrade file, the boot process in system restart, the downloaded data integrity flag region having the firmware upgrade the data files are copied to the work area to update the firmware of the active RFID tag. 通过该方式可以有效避免因用于固件的所述固件升级文件不完整造成固件更新失败,导致所述有源射频标签无法使用。 In this way it can effectively avoid the firmware update file for the firmware caused by incomplete firmware update fails, resulting in the active radio frequency tags can not be used.

[0232]至少基于在多个所述升级基站中是否具有能够对所述物联网系统中的一所述有源射频标签进行固件更新的所述固件升级文件考虑,在本发明实施例的可能的实施方式中,在有源射频标签从自身固件的固件升级文件对应的N个所述升级基站中的任意一个下载所述固件升级文件之前,所述方法还包括: [0232] can be based at least on whether a firmware update the active radio frequency tag of the system of things in the plurality of base stations in the upgrading of the firmware update file to consider, in the embodiment of the present invention may before embodiments, any of the active radio frequency tag from its own firmware corresponding to the firmware update file N of said one base station to upgrade the firmware update file downloading, the method further comprising:

[0233]所述有源射频标签从多个所述升级基站中信号覆盖所述有源射频标签的所述升级基站,获得所述升级基站执行下载的所述固件升级文件的固件版本号和硬件编码,基于所述固件升级文件的固件版本号和硬件编码,确定所述升级基站执行下载的所述固件升级文件中是否有能对自身固件进行更新的所述固件升级文件;其中,所述硬件编码为所述固件升级文件能够升级的所述有源射频标签的硬件编码。 [0233] The radio frequency tag of the active base station signal upgrade cover the active RFID tag obtaining the base station to perform the upgrade of the firmware upgrade file downloaded from the plurality of base stations to upgrade firmware and hardware version number coding, hardware and firmware version number of the firmware upgrade file encoding is determined based on whether there is a firmware update file itself can update the firmware to the firmware update file in the download upgrade station; wherein, said hardware encoding said firmware update file to upgrade hardware encoding the active radio frequency tag.

[0234]具体实施过程可以是,所述有源射频标签从多个所述升级基站中信号覆盖所述有源射频标签的所述升级基站,获得所述升级基站执行下载的所述固件升级文件的固件版本号和硬件编码,首先判断所述硬件编码是否与自身硬件编码存在匹配,如果存在匹配,再判断所述固件版本号是否高于现采用固件的固件版本号,如果高于,则所述固件版本号对应的所述固件升级文件能够对自身固件进行更新,从而确保所述有源射频标签下载的所述固件升级文件是能够对自身固件进行更新的所述固件升级文件;如此,一方面可以避免由于无谓下载造成所述有源射频标签的储能大量消耗,导致所述有源射频标签需要重新补充能量,降低所述有源射频标签的工作能力;另一方面可以避免由于无谓下载造成无线通信信道资源被不必要占用,给物联网业务应用带来困难。 [0234] In particular embodiments the process may be, the active radio frequency tag from said plurality of base stations in the upgraded upgrade cover the active base station signal the RF tag, to obtain the base station performs downloading upgrade the firmware upgrade file firmware version number and hardware encoding, the hardware encoder first determines whether there is a match with its own hardware coding, if there is a match, then determining whether the firmware version number is higher than the current firmware version of the firmware employed, if higher, then the firmware version corresponding to said number of said firmware update file itself firmware can be updated, thereby ensuring that the active radio frequency tag downloading the firmware update file is capable of updating the firmware, the firmware update file itself; so, a You can avoid the unnecessary aspects of the download result storage consumption of large quantities of active radio frequency tag, resulting in the active RF tags need to replenish their energy, reduce working capacity of the active RFID tag; on the other hand can avoid the unnecessary downloads causing the wireless communication channel resources from being unnecessarily occupied things to business applications difficult.

[0235]至少基于能够接收所述升级基站下发的所述固件升级文件的数据考虑,在本发明实施例的可能的实施方式中,所述方法还包括: [0235] at least capable of receiving the update data based on the consideration of the firmware upgrade file issued by the base station, in a possible embodiment by way of example of the present invention, the method further comprising:

[0236]在确定所述升级基站执行下载的所述固件升级文件中具有能够对自身固件进行更新的所述固件升级文件后,所述有源射频标签向所述升级基站发送具有接收窗口开启标志的固件升级请求,并开启接收窗口,以使所述升级基站基于所述固件升级请求,生成升级指令,并向所述有源射频标签返回所述升级指令。 After [0236] having the firmware update file itself can be updated firmware upgrade in determining the base station to perform the firmware update file downloading, the active radio frequency tag to update the base station sends a receive window opening flag firmware upgrade request and receive window open, so that the firmware upgrade request to upgrade the base station generates upgrading instruction, returns to the active radio frequency tag based on the upgrade instructions.

[0237] 具体实施过程可以是,在确定所述升级基站执行下载的所述固件升级文件中具有能够对自身固件进行更新的所述固件升级文件后,所述有源射频标签向所述升级基站发送具有接收窗口开启标志的固件升级请求,并定时开启接收窗口;接收窗口后,所述有源射频标签在向所述物联网系统中的所述基站周期性上报的同时,能够接收所述物联网系统中的所述基站下发传来的数据包。 [0237] In particular embodiments the process may be, can be updated with the update of the firmware file in the firmware itself determines the base station to perform the upgrade of the firmware update file downloaded, the active radio frequency tag to the base station upgrade sends a firmware update request receiving window open flag, and the timing of the reception window open; after receiving window, while the active radio frequency tag to the object in the networked system to periodically report to the base station, capable of receiving the object data from the packets sent in a networked system of the base station. 为了降低所述有源射频标签的工作功耗,在所述接收窗口开启后,如果超过一预设持续时间,例如10毫秒,所述有源射频标签没有收到所述物联网系统中的所述基站下发的数据,所述有源射频标签则关闭接收窗口,其后,每间隔一预设间隔时间,例如30秒,开启一次接收窗口。 In order to reduce the operating power consumption of the active RF tag, after the receiving window is open, and if it exceeds a predetermined duration, for example 10 milliseconds, the active radio frequency tag is not received by the IOT system data delivered by the said base station, active radio frequency tag of the receiving window is closed, thereafter, for each interval of a preset time interval, such as 30 seconds, opening a reception window.

[0238] 至少基于能够获得所述固件升级文件的数据考虑,在本发明实施例的可能的实施方式中,所述方法还包括: [0238] The data can be obtained based on at least considering the firmware upgrade file, in a possible embodiment by way of example of the present invention, the method further comprising:

[0239] 在收到所述升级基站返回的所述升级指令后,所述有源射频标签保持接收窗口开启,并向所述升级基站返回包含固件版本信息的允许升级消息,以使所述升级基站在收到所述允许升级消息后,基于所述允许升级消息中的所述固件版本信息,从执行下载的所述固件升级文件中找出所述固件版本信息对应的所述固件升级文件,生成对应的升级文件信息,并向所述有源射频标签返回所述升级文件信息; [0239] After receiving the update instruction of the base station returns to upgrade, to maintain the active radio frequency tag receiver window opens, to allow the base station returns to upgrade the firmware version information update message including so that the upgrade the base station after receiving the message allowing the upgrade, upgrade information based on the firmware version in the message allows to identify the information corresponding to the firmware version of the firmware upgrade file downloaded from the execution of the firmware update file, generating update information corresponding to the file, and returns the active radio frequency tag of the update information file;

[0240] 在收到所述升级文件信息后,所述有源射频标签进入下载状态,基于所述升级文件信息,向所述升级基站请求与所述升级文件信息对应的所述固件升级文件的包序号,以使所述升级基站执行所述固件升级文件下载。 [0240] After receiving the file update information to download the active radio frequency tag state information based on the upgrade file, requesting the file and the firmware update file update information corresponding to the upgrade of the base station packet number, so that the execution of the upgrade station downloads a firmware upgrade file.

[0241] 具体实施过程可以是,在收到所述升级基站返回的所述升级指令后,所述有源射频标签保持接收窗口开启,并向所述升级基站返回包含固件版本信息的允许升级消息;以及在收到所述升级基站基于所述允许升级消息找到的与所述固件版本信息对应的所述固件升级文件而生成对应的升级文件信息后,所述有源射频标签进入下载状态,基于所述升级文件信息,向所述升级基站请求与所述升级文件信息对应的所述固件升级文件的包序号,执行所述固件升级文件下载。 [0241] In particular embodiments the process may, after receiving the update instruction of the base station returns to upgrade, the active radio frequency tag holding open a receive window, the base station returns to the upgrade information includes firmware version upgrade allows the message ; and after receiving the upgrade allows the base station based on the message to find the upgrade firmware version information corresponding to the generated firmware update file update file information corresponding to said active radio frequency tag to the download state, based on the update file information, the packet number to the base station requests the upgrade information of the upgrade file to the corresponding firmware upgrade file, executing the firmware update file download.

[0242] 至少基于所述有源射频标签能够获得完整的所述固件升级文件考虑,在本发明实施例的可能的实施方式中,在执行所述固件升级文件下载过程中,如果所述有源射频标签移动出执行所述固件升级文件下载的所述升级基站的信号覆盖范围而导致下载中断,,所述方法还包括: [0242] at least on the active radio frequency tag to obtain the full firmware upgrade file considered, in an embodiment of the present invention are possible in the embodiment, in executing the firmware upgrade file download process, if the active signal moves out of the coverage of the RFID tag to perform the firmware update file downloading the upgrade of the base station if the download interrupted ,, the method further comprising:

[0243] 所述有源射频标签记录所述固件升级文件下载中断的断点; [0243] The active radio frequency tag recording the downloaded firmware upgrade file breakpoint interrupt;

[0244] 所述有源射频标签向所述固件升级文件对应的N个所述升级基站中的信号覆盖所述有源射频标签的所述升级基站请求所述固件升级文件,从断点处开始所述固件升级文件的再一次下载。 [0244] upgrade of the base station signal cover the active RFID tag corresponding to the active radio frequency tag to the N of said firmware update file in the base station requesting the upgrade firmware update file, starting from the breakpoint and then download the firmware upgrade file.

[0245] 具体实施过程可以是,在执行所述固件升级文件下载过程中,如果发生所述有源射频标签移动出执行所述固件升级文件当前次下载的所述升级基站的信号覆盖范围而导致当前次下载中断,所述有源射频标签退出下载状态并恢复到正常运行状态,并记录所述固件升级文件当前次下载的断点;退出下载状态并恢复到正常运行状态,将所述固件升级文件已经下载部分的数据及状态信息存储在存储器的下载区;所述有源射频标签向所述固件升级文件对应的N个所述升级基站中的信号覆盖所述有源射频标签的所述升级基站请求所述固件升级文件,从断点处开始下载,提升下载效率;从而实现所述有源射频标签在移动中基于几个所述升级基站配合完成能够对自身固件进行更新的所述固件升级文件的下载。 [0245] In particular embodiments the process may be, in executing the firmware upgrade file download process, the active radio frequency tag occurs if the mobile performs a signal coverage area of ​​the base station to upgrade the firmware update file download times caused by the current the current download is interrupted, the active RF tag withdraw download and resume to normal operation, and record the current firmware upgrade file downloads breakpoints; exit the download and resume to normal operation, the firmware upgrade file data has been downloaded and the download status information storage portion in the memory region; the radio coverage of the active tag corresponding to said active radio frequency tag to the N of said firmware update file update the upgrade station the base station requests the firmware update file, start the download from the breakpoint, improve download efficiency; enabling said active radio frequency tag based on the number of base stations with the completion of the firmware upgrade itself can be updated in the mobile firmware upgrade download the file. [0246]至少基于利用业务空闲区下载所述固件升级文件考虑,在本发明实施例的可能的实施方式中,如果每一个所述固件升级文件的所述固件升级策略中还包括执行所述固件升级文件下载的P个预设升级的时间段,P为不小于1的正整数,执行步骤:所述有源射频标签从其固件的固件升级文件对应的N个所述升级基站中的任意一个下载所述固件升级文件, 具体为: [0246] service based at least on the free area by using the firmware upgrade file download considered in the embodiment of the present invention, a possible embodiment of the embodiment, if the firmware upgrade policy for each of said firmware update file further comprises executing the firmware P upgrade file downloaded upgrade preset period, P is a positive integer not less than 1, performing the step of: said active radio frequency tag of any firmware from a firmware update file corresponding N of said base stations upgrade Download the firmware upgrade file, in particular:

[0247]所述有源射频标签,在P个所述预设升级的时间段,从信号覆盖所述有源射频标签的一个所述升级基站下载所述固件升级文件。 The [0247] Active RFID tags, at the preset time period P of an upgrade, the firmware update file downloading the upgrade from a base station signal cover the active RFID tag.

[0248]具体实施过程可以是,P个所述预设升级的时间段,通常为物联网系统数据通信比较空闲和/或有源射频标签移动幅度较小的时间区段,在P个所述预设升级的时间段,所述有源射频标签从其固件的固件升级文件对应的N个所述升级基站中信号覆盖所述有源射频标签的一个所述升级基站下载所述固件升级文件,一方面可以不影响到所述有源射频标签的业务应用,另一方面可以提高所述固件升级文件的下载效率和下载质量。 [0248] In particular embodiments the process may be, a P upgrade the predetermined period of time, usually data communication system of things more free and / or active RF tags small amplitude of movement time segments, one at the P upgraded preset period, the active radio frequency tag of the update signal a base station covering the active RFID tag from a firmware upgrade firmware file corresponding to the N in the upgrade station downloads the firmware upgrade file, On the one hand can not affect the business applications active RFID tags, on the other hand can improve the efficiency and quality of the download download the firmware upgrade file.

[0249]至少基于用户能及时掌握所述物联网系统中的所述有源射频标签的固件更新情况考虑,在本发明实施例的可能的实施方式中,所述方法还包括: [0249] Based on at least the user can grasp the composition of the networked system in the active RF tag firmware update consideration, in a possible embodiment by way of example of the present invention, the method further comprising:

[0250]当所述有源射频标签完成固件更新,向所述执行所述固件升级文件下载的所述升级基站发送更新成功信息,基于所述更新成功信息,所述升级基站向所述服务器发送升级结果消息,所述服务器汇总所述升级结果消息,以生成固件升级统计报表,从而用户可以通过所述固件升级统计报表获得整个所述物联网系统中的所述有源射频标签的升级结果。 [0250] When the active radio frequency tag firmware update is complete, transmits the update success information to the execution of the firmware update file downloading the upgrade station, based on the updated success information, the base station transmits to the server upgrade upgrade result message, the message server summary of the results of the upgrade, upgrade the firmware to generate statistical reports, statistical reports so that the user can upgrade the firmware by the update result of the obtaining of the active substance throughout the RF networked system tag. [0251]前述针对固件升级更新提供的一种固件升级方法实施例的任一实施例揭示的过程,可基于过程中一个或者多个步骤所能实现的功能及具体实施应用环境进行逻辑功能划分,对应得到具有多个功能模块的针对固件升级更新提供的一种固件升级装置实施例的任一实施例,所述固件升级装置为所述固件升级方法实现形式。 [0251] updating the firmware upgrade for the firmware upgrade method for providing one kind of a process according to any of the embodiments disclosed one embodiment of embodiment, may be performed based on logical functions during one or more steps can realize the function and the specific implementation of the application environment, to give the corresponding firmware having a plurality of functional modules for any one kind of updating the firmware upgrade to provide upgraded apparatus according to an embodiment of the embodiment, the firmware upgrade the means implemented in the form of a firmware upgrade. 其中,一个功能模块可以同一个步骤相对应,也可以同两个或者两个以上步骤相对应,各个功能模块可以单独物理存在, 两个或者两个以上功能模块可共同物理存在。 Wherein a functional module may correspond to a single step, or may correspond to the same two or more steps, the various functional modules can be separately physically present, two or more functional modules can be physically co-exist. 所述功能模块既可以通过程序代码实现获得对应的程序,也可以通过逻辑电路实现获得对应的逻辑电路器件。 The functional modules may achieve both a program corresponding to the obtained program code, may be implemented by a logic circuit to obtain the corresponding logic circuit device. 当所述针对固件升级更新提供的一种固件升级装置实施例的任一实施例被具体应用于有源射频标签时,就得到针对固件升级更新提供的一种射频标签的任一实施例;所述射频标签为所述方法的应用形式,所述射频标签能够执行针对固件升级更新提供的一种固件升级方法实施例的任一实施例揭示的过程所对应的步骤。 When any one kind of updating firmware upgrade for the firmware update apparatus according to an embodiment provided by the specific embodiment applied to an active RF tag, is obtained for any update firmware upgrade A radio frequency tag provided with an embodiment; the said RF tag for the application form of the method, the radio frequency tag can be performed for any one kind of updating the firmware upgrade firmware upgrade method for providing an embodiment of the disclosed embodiment of the process step corresponding to an embodiment.

[0252] 基于所述固件升级方法得到的所述固件升级装置和所述射频标签,与所述固件升级方法在所要解决的技术问题、实现功能的工作过程、所能获得的技术效果相同或者相近, 属于相同的发明构思。 [0252] The firmware update apparatus based on the obtained firmware upgrade method and the radio tag, with the same or similar method in firmware upgrade technical problem to be solved to realize the function of the working process, the technical effect can be obtained , belonging to the same inventive concept. 所属领域的技术人员,可参照针对固件升级更新的固件升级装置实施例,理解本发明针对固件升级更新的固件升级方法实施例的具体实现形式,可参照针对固件升级更新的射频标签实施例,理解本发明针对固件升级更新的固件升级方法实施例的具体应用形式;相应地,可参照针对固件升级更新的固件升级方法实施例,理解针对固件升级更新的固件升级装置实施例中的各功能模块、各功能模块之间的配合关系及固件升级装置的工作过程,理解针对固件升级更新的射频标签实施例所能实现的功能及实现相应功能的过程。 Those skilled in the art, may be with reference to Examples for firmware upgrade device firmware upgrade updated understanding embodied form of embodiment for a firmware upgrade to update the firmware update of the present invention, with reference to embodiments for firmware upgrade update the RFID tag, appreciated specific application forms embodiment of the present invention is directed to a firmware update to update the firmware updating embodiment; accordingly, reference Example for a firmware upgrade to update the firmware update understanding of the various functional modules embodiment for firmware upgrade updated firmware upgrading apparatus embodiment, mating relationship firmware upgrade procedure and working means between the various functional modules, be understood that embodiments can achieve the function and the embodiment for the implementation of the respective functions of the radio-frequency tag update firmware upgrade.

[0253]为描述的方便和简洁,在对针对固件升级更新的固件升级装置实施例和射频标签实施例进行说明的过程中,就不再一一具体赘述能够参照固件升级方法实施例进行理解的部分,例如,所能解决的技术问题、所能获得的技术效果。 [0253] For convenience and brevity of description, the update of the firmware upgrade for the firmware upgrade process apparatus embodiment examples and embodiments will be described in the RFID tag, it is not going to be able to repeat the specific embodiments described with reference appreciated firmware upgrade method section, for example, can not solve the technical problem, the technical effect can be obtained.

[0254]基于针对固件升级更新提供的一种固件升级方法实施例的实现,可对应得到具有多个功能模块的针对固件升级更新提供的一种固件升级装置实施例。 [0254] Based on the update for firmware upgrade firmware upgrade method for providing one kind of implementation of the embodiments, it may obtain a corresponding plurality of functional modules for a firmware having a firmware upgrade to provide upgraded apparatus updates embodiment.

[0255]图8示出了本发明实施例中针对固件升级更新提供的一种固件升级装置的结构示意图;所述装置,应用于有源射频标签,所述有源射频标签投入使用的物联网系统包括L个基站,L为不小于1的正整数;L个所述基站中具有用于M个固件升级文件下载的多个升级基站;多个所述升级基站是根据所述M个所述固件升级文件的升级策略从所述L个所述基站中指定的执行所述固件升级文件下载的N个基站;其中,M为不小于1的正整数,N为不小于1,且不大于L的正整数。 [0255] FIG. 8 shows a schematic structural diagram of embodiment of the present invention for updating the firmware upgrade firmware upgrade one kind of embodiment of the apparatus provided; the means, applied to an active RF tag, the RF tag put into active use IOT the system includes a base station L, L is a positive integer not less than 1; and L of said plurality of base stations having a base station for the M upgraded firmware update file downloaded; a plurality of base stations based on the upgrade of the M number upgrading firmware upgrade policy file from the specified base station in the L executing the firmware update file downloaded N base stations; wherein, M being a positive integer not less than 1, N is not less than 1 and not greater than L positive integer.

[0256]现参照图8所示,所述固件升级装置包括:升级文件下载单元801、固件更新单元802,而且,在本发明实施例中,升级文件下载单元801、固件升级文件确定单元803可以是通过硬件处理器(hardware processor)来实现相关功能模块。 [0256] Referring now to FIG. 8, the firmware update apparatus comprising: update file downloading unit 801, the firmware update unit 802, and, in the embodiment of the present invention, the update file downloading unit 801, the firmware update file determination unit 803 may correlation function is implemented by a hardware processor modules (hardware processor).

[0257]其中: [0257] wherein:

[0258]升级文件下载单元801,用于从自身固件的固件升级文件对应的N个所述升级基站中的任意一个下载所述固件升级文件;其中,所述有源射频标签处于下载所述固件升级文件的所述升级基站覆盖范围内; [0258] upgrade file download unit 801, the firmware for itself from any firmware update file corresponding N of said base stations to upgrade a firmware upgrade downloading the file; wherein the active radio frequency tag in the Firmware Download upgrading the upgrade file within the coverage area of ​​the base station;

[0259]固件更新单元802,用于在完成所述固件升级文件下载后,基于所述固件升级文件进行固件更新。 [0259] Firmware update unit 802, for firmware upgrade after the completion of the download file, the firmware update file based on the firmware upgrade.

[0260] 可能的实施方式中,所述装置还包括: [0260] In a possible embodiment, the apparatus further comprising:

[0261]固件升级文件确定单元803,用于所述有源射频标签从自身固件的固件升级文件对应的N个所述升级基站中的任意一个下载所述固件升级文件之前,从N个所述升级基站中信号覆盖所述有源射频标签的所述升级基站,获得所述升级基站执行下载的所述固件升级文件的固件版本号和硬件编码,基于所述固件升级文件的固件版本号和硬件编码,确定所述升级基站执行下载的所述固件升级文件中是否有能对自身固件进行更新的所述固件升级文件;其中,所述硬件编码为所述固件升级文件能够升级的所述有源射频标签的硬件编码。 [0261] firmware update file determination unit 803, for any of the active radio frequency tag corresponding to the firmware from the firmware update file itself of the N base stations before the upgrade firmware update file downloading a said, from the N upgrading the upgrade of the base station signals a base station covering the active RFID tag, the base station obtains the update firmware upgrade execute the downloaded file version number of the firmware and hardware coding, based on the hardware and firmware version number of the firmware upgrade file encoding, it is determined whether there is a firmware update file itself can update the firmware to the firmware update file in the download upgrade station; wherein the encoded hardware upgrade file to upgrade the firmware of the active hardware encoding the RF tag.

[0262] 可能的实施方式中,所述装置还包括: [0262] In a possible embodiment, the apparatus further comprising:

[0263]固件升级请求发送单元804,用于在确定所述升级基站执行下载的所述固件升级文件中具有能够对自身固件进行更新的所述固件升级文件后,向所述升级基站发送具有接收窗口开启标志的固件升级请求,并开启接收窗口,以使所述升级基站基于所述固件升级请求,生成升级指令,并向所述有源射频标签返回所述升级指令。 [0263] firmware update request transmission unit 804, the base station performs for downloading the firmware upgrade file after having said firmware update file itself is capable of determining the updated firmware upgrade, upgrade to the base station sends a receiving open window firmware update request flag, and the receive window open, so that the base station based on the upgrade of the firmware upgrade request, generates upgrading instruction, the active radio frequency tag to return the upgrading instruction.

[0264] 可能的实施方式中,所述装置还包括: [0264] In a possible embodiment, the apparatus further comprising:

[0265]允许升级消息发送单元805,用于在收到所述升级基站返回的所述升级指令后,保持接收窗口开启,并向所述升级基站返回包含固件版本信息的允许升级消息,以使所述升级基站在收到所述允许升级消息后,基于所述允许升级消息中的所述固件版本信息,从执行下载的所述固件升级文件中找出所述固件版本信息对应的所述固件升级文件,生成对应的升级文件信息,并向所述有源射频标签返回所述升级文件信息; [0265] Allow upgrade message transmitting unit 805, after receiving the update instruction of the base station returns to upgrade and maintain the receiving window open, to allow the base station returns to upgrade firmware upgrade message contains version information, such that the upgrade allows the base station after receiving the update message, based on said firmware version information to allow the update message, to identify the information corresponding to the firmware version of the firmware downloaded from the execution of the firmware update file upgrade file, generating the file update information corresponding to said active radio frequency tag returns the update information file;

[0266] 固件升级文件下载请求单元806,用于在收到所述升级文件信息后,进入下载状态,基于所述升级文件信息,向所述升级基站请求与所述升级文件信息对应的所述固件升级文件的包序号,以使所述升级基站执行所述固件升级文件下载。 [0266] firmware update file download request unit 806, after receiving the update file information, access the download state, based on the file update information to the base station requests the upgrade information of the upgrade file corresponding firmware upgrade file packet sequence number, so that the execution of the upgrade station downloads a firmware upgrade file.

[0267] 可能的实施方式中,所述装置还包括: [0267] In a possible embodiment, the apparatus further comprising:

[0268] 固件升级文件续传下载单元807,用于在执行所述固件升级文件下载过程中,如果所述有源射频标签移动出执行所述固件升级文件下载的所述升级基站的信号覆盖范围而导致下载中断,记录所述固件升级文件当前次下载的断点;向所述固件升级文件对应的N个所述升级基站中的信号覆盖所述有源射频标签的所述升级基站请求所述固件升级文件,从断点处开始所述固件升级文件的再一次下载。 [0268] Resume firmware update file downloading unit 807, is used during the execution of the firmware update file is downloaded, if the active radio frequency tag moves out of the coverage of the signal performing the upgrade station downloads a firmware upgrade file if the download is interrupted, the current firmware upgrade file downloads recording said breakpoint; upgrading the base station corresponding to coverage to the N of said firmware update file to upgrade the base station requesting the active radio frequency tag firmware upgrade file to start the firmware upgrade file downloaded from the breakpoint again.

[0269] 可能的实施方式中,如果每一个所述固件升级文件的所述固件升级策略中还包括执行所述固件升级文件下载的P个预设升级的时间段,P为不小于1的正整数,所述升级文件下载单元801,具体用于: [0269] In a possible embodiment, if the firmware upgrade policy for each of said firmware update file further comprises performing the firmware update file downloaded upgrade P preset time period, not less than P 1 positive integer, the update file downloading unit 801, specifically configured to:

[0270] 在P个所述预设升级的时间段,从自身固件的固件升级文件对应的N个所述升级基站中信号覆盖所述有源射频标签的一个所述升级基站下载所述固件升级文件。 [0270] In the preset period of P upgraded firmware from the firmware update file itself corresponding to the N upgrade the base station in a signal of the upgraded cover the active RFID tag downloading the firmware upgrade file.

[0271] 基于针对固件升级更新提供的一种固件升级方法实施例的实现,可对应得到针对固件升级更新的提供的一种射频标签实施例。 [0271] Based on the firmware upgrade for the firmware update method of updating one kind of implementation of the embodiments provided, it may correspond to a radio frequency to obtain a firmware upgrade for the offer to update a tag embodiment.

[0272] 图9示出了本发明实施例中提供的一种射频标签的结构示意图;所述射频标签为有源射频标签,应用于包括L个基站的物联网系统中,其中,L为不小于1的正整数;L个所述基站中具有用于M个固件升级文件下载的多个升级基站;多个所述升级基站是根据所述M个所述固件升级文件的升级策略从所述L个所述基站中指定的执行所述固件升级文件下载的N个基站;其中,M为不小于1的正整数,N为不小于1,且不大于L的正整数。 [0272] FIG. 9 shows a configuration diagram of an RF tag provided in the embodiment of the embodiment of the present invention; the radio frequency tag is an active radio frequency tag, it was applied to a networked system comprising a base station L, where, L is not smaller than the positive integer; L of said plurality of base stations having a base station for the M upgraded firmware update file downloaded; a plurality of base stations according to the upgrade policy of the M upgrade the firmware upgrade file from the the L designated by the base station executing the firmware update file downloaded N base stations; wherein, M being a positive integer not less than 1, N is not less than 1, L is a positive integer not greater than.

[0273] 现参照图9所示,所述射频标签30包括:用于接收基站下发的数据和向基站发送数据的数据收发模块33,与所述数据收发模块通信连接的微控制单元31,与所述微控制单元通信连接的存储器32。 [0273] Referring now to FIG. 9, the radio-frequency tag 30 includes: a base station for receiving data sent by the transmission data and data transceiver module 33, a micro control unit is connected to the data communication with the transceiver module 31 to the base station, the memory connected to the micro control unit 32 is in communication with. 其中,所述存储器32存储有可被所述微控制单元执行的指令,所述指令被所述微控制单元31执行,以在执行所述指令时执行如下步骤: Wherein, the memory 32 stores instructions that may be executed by the micro control unit, the instructions, the micro control unit 31 performs, to perform the steps of the instructions when executed:

[0274] 从其固件的固件升级文件对应的N个所述升级基站中的任意一个下载所述固件升级文件;其中,所述射频标签处于下载所述固件升级文件的所述升级基站覆盖范围内; [0274] any firmware firmware update file corresponding N of said base stations to upgrade a firmware update file from said downloading; wherein said base station within the coverage of the upgrade in the RF tag downloading the firmware upgrade file ;

[0275] 在完成所述固件升级文件下载后,基于所述固件升级文件进行固件更新。 [0275] After completion of the firmware upgrade file download, the firmware update file based on the firmware upgrade.

[0276] 其中,所述数据收发模块33,具体可以是射频收发模块,其通过射频信道接收基站下发的数据和向基站发送数据;所述数据收发模块33还具体可以包括低频激发接收模块和射频收发模块,其中,低频激发接收模块,用于接收所述物联网系统中的所述基站下发的信号,射频收发模块,用于向所述物联网系统中的所述基站发送数据。 [0276] wherein the data transceiver module 33 may specifically be a radio frequency transceiver module that transmits data to a base station, and issued by the base station data received radio frequency channel; said particular data transceiver module 33 may further include a receiving module and a low frequency excitation RF transceiver module, wherein low frequency excitation receiving module, for receiving the product delivered by networked systems the base station signal, the RF transceiver module, configured to send data to the IOT system of the base station.

[0277] 可能的实施方式中,在所述射频标签从其固件的固件升级文件对应的N个所述升级基站中信号覆盖所述射频标签的一个所述升级基站下载所述固件升级文件之前,所述微控制单元31还用于: [0277] In a possible embodiment, a radio frequency tag in the upgrade of the base station that covers the radio frequency tag signal of the file before updating the firmware download firmware from the firmware update file corresponding to the upgrade of the N base stations, the micro control unit 31 is further configured to:

[0278] 从多个所述升级基站中信号覆盖所述射频标签的所述升级基站,获得所述升级基站执行下载的所述固件升级文件的固件版本号和硬件编码,基于所述固件升级文件的固件版本号和硬件编码,确定所述升级基站执行下载的所述固件升级文件中是否有能对自身固件进行更新的所述固件升级文件;其中,所述硬件编码为所述固件升级文件能够升级的所述射频标签的硬件编码。 [0278] upgrade the coverage of the base station radio frequency tag from said plurality of base stations in the upgrade, the upgrade to obtain the base station to perform the firmware upgrade file downloading firmware version number and hardware encoding, based on the firmware upgrade file firmware version number and hardware encoding, determining whether there is the update of the firmware update file itself can firmware update the base station to perform downloading firmware upgrade file; wherein, said hardware encoding said firmware update file can be upgraded hardware encoding the radio frequency tag.

[0279] 可能的实施方式中,所述微控制单元31还用于: [0279] In a possible embodiment, the micro control unit 31 is further configured to:

[0280]在确定所述升级基站执行下载的所述固件升级文件中具有能够对自身固件进行更新的所述固件升级文件后,向所述升级基站发送具有接收窗口开启标志的固件升级请求,并开启接收窗口,以使所述升级基站基于所述固件升级请求,生成升级指令,并向所述射频标签返回所述升级指令。 [0280] In the base station performs downloading firmware upgrade file after having said firmware update file itself is capable of determining the updated firmware upgrade, the upgrade to the base station sends a firmware update request receiving window open flag, and receive window opening, so that the firmware upgrade request to upgrade the base station is generated based on the upgrade instructions to return the radio frequency tag of the update instructions.

[0281] 可能的实施方式中,所述微控制单元31还用于: [0281] In a possible embodiment, the micro control unit 31 is further configured to:

[0282] 在收到所述升级基站返回的所述升级指令后,保持接收窗口开启,并向所述升级基站返回包含固件版本信息的允许升级消息,以使所述升级基站在收到所述允许升级消息后,基于所述允许升级消息中的所述固件版本信息,从执行下载的所述固件升级文件中找出所述固件版本信息对应的所述固件升级文件,生成对应的升级文件信息,并向所述射频标签返回所述升级文件信息; [0282] After receiving the update instruction of the base station returns to upgrade and maintain the receiving window open, to allow the base station returns to upgrade firmware upgrade message contains version information, so that the base station receives the upgrade after allowing upgrade message, based on said firmware version information to allow the update message, to identify the information corresponding to the firmware version of the firmware upgrade firmware upgrade file from the downloaded file execution, generate the corresponding update file information and to return the radio frequency tag of the update information file;

[0283]在收到所述升级文件信息后,进入下载状态,基于所述升级文件信息,向所述升级基站请求与所述升级文件信息对应的所述固件升级文件的包序号,以使所述升级基站执行所述固件升级文件下载。 [0283] After receiving the update file information, access the download state, based on the update information file, the firmware update file packet number corresponding to the base station requests the upgrade information of the upgrade file, so that the said base station performs the upgrade firmware upgrade file download.

[0284]可能的实施方式中,在执行所述固件升级文件下载过程中,如果发生所述射频标签移动出执行所述固件升级文件当前次下载的所述升级基站的信号覆盖范围而导致当前次下载中断,所述微控制单元31还用于: [0284] In a possible embodiment, during the execution of the firmware update file is downloaded, if the occurrence of said mobile radio-frequency tag performs the signal coverage of the current firmware update file downloads the upgrade of the base station and causes the current time download is interrupted, the micro control unit 31 is further configured to:

[0285]记录所述固件升级文件当前次下载的断点; [0285] The recording current firmware update file downloads breakpoint;

[0286] 向所述固件升级文件对应的N个所述升级基站中的信号覆盖所述有源射频标签的所述升级基站请求所述固件升级文件,从断点处开始所述固件升级文件的再一次下载。 [0286] signals corresponding to the N of said firmware update file to upgrade the upgraded base station in the coverage of the active RFID tag requesting the firmware upgrade file, from the start breakpoint of the firmware upgrade file again download.

[0287] 可能的实施方式中,如果每一个所述固件升级文件的所述固件升级策略中还包括执行所述固件升级文件下载的P个预设升级的时间段,P为不小于1的正整数,所述微控制单元31具体用于: [0287] In a possible embodiment, if the firmware upgrade policy for each of said firmware update file further comprises performing the firmware update file downloaded upgrade P preset time period, not less than P 1 positive integer, the micro control unit 31 is specifically configured to:

[0288] 在P个所述预设升级的时间段,从自身固件的固件升级文件对应的N个所述升级基站中信号覆盖所述射频标签的一个所述升级基站下载所述固件升级文件。 [0288] In the preset period of P upgrade, the upgrade from the base station itself a firmware upgrade firmware file corresponding N of said base stations covering the upgrade RF tag signal downloading the firmware upgrade file.

[0289]综上所述,本发明实施例中,基于对每一个固件升级文件进行升级策略配置获得的固件升级策略中指定的执行该固件升级文件下载的N个升级基站,将M个固件升级文件中的每一个固件升级文件及其固件升级策略存储到对应的N个升级基站;g卩:在物联网系统中形成M个固件升级文件各自的N个升级基站。 [0289] In summary, embodiments of the present invention, each based on a firmware update file for firmware upgrade policy configuration obtained upgrade policy specified for executing the firmware update file downloaded upgrade the N base stations, the M firmware upgrade each of the firmware update file and the firmware upgrade policy store file corresponding to the N upgrading the base station; G Jie: M form a firmware upgrade file IOT system upgrade each of the N base stations. 如此,一方面,如果M个固件升级文件对应M个类型的有源射频标签,那么就可以基于物联网系统中的升级基站,为物联网系统中M个类型的有源射频标签提供对应的固件升级文件下载,以使M个类型的有源射频标签均能通过物联网系统中的对应升级基站进行固件升级;另一方面,每一个固件升级文件能够升级的物联网系统中的数量巨大的有源射频标签,在不中断业务使用的情况下,能够基于其固件的固件升级文件对应的N个升级基站中的任意一个下载固件升级文件进行固件更新,同时,该固件升级文件对应的移动使用中的有源射频标签,能够基于N个升级基站中的至少两个配合获得该固件升级文件,对自身的固件进行升级更新,从而避免将数量巨大的有源射频标签中断业务应用,收回到每个类型固件对应的维护点进行固件集中更新升级,在耗费大量人力 Thus, on the one hand, if the M firmware update file corresponding to M types of active radio frequency tags, then the composition may be based on a networked system to upgrade the base station, provides the corresponding firmware was networked system M types of active radio frequency tags Download the upgrade file, so that M types of RF tags can be active firmware update system of things by upgrading the corresponding base station; the other hand, each of a number of things firmware upgrade file system can be upgraded with a huge source RF tag, without interrupting service to use, can be firmware updates based on the firmware update file to any of its firmware firmware update file corresponding to the N upgraded base station in a download, simultaneously, the firmware update file corresponding mobile use an active radio frequency tag, can be obtained based on the N at least two base stations upgraded with this firmware update file itself update firmware upgrade to avoid a huge number of active radio frequency tags interrupt service application, each retracted the type of firmware corresponding centralized maintenance point firmware update upgrades in labor-intensive 力的同时还给相关物联网业务带来不利影响;由此可见,通过上述技术方案能够实现物联网系统中的多种类型的有源射频标签中的每一个,可在不中断业务使用的情况下,在全物联网覆盖范围内获得能够对其固件进行升级的固件升级文件,以对自身的固件进行更新升级,从而在将固件升级对物联网业务的正常运行的影响降到最低的情况下,有效降低物联网系统中数量巨大的有源射频标签固件升级更新的维护成本,提高用户体验。 While the force is related back to adversely affect the business of things; Thus, the above technical solution enables each of a plurality of types of things in the system in the active radio frequency tag, it can be used without interrupting service under obtain full coverage of the intranet was able to upgrade its firmware firmware upgrade file to update its firmware upgrade, so that will affect the normal operation of a firmware upgrade of the business of things down to the lowest case , effectively reducing the system of things in a huge number of active radio frequency tags updated firmware upgrade maintenance costs, improve the user experience.

[0290] 本领域内的技术人员应明白,本发明的实施例可提供为方法、或计算机程序产品。 [0290] skilled in the art should understand that the embodiments of the present invention may provide a method, or computer program product. 因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。 Thus, embodiments of the present invention may be employed entirely hardware embodiment, an entirely software embodiment, or an embodiment in conjunction with the form of software and hardware aspects. 而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。 Further, the present invention may take the form of a computer program product embodied in one or more of which comprises a computer usable storage medium having computer-usable program code (including but not limited to, disk storage, CD-ROM, optical memory, etc.).

[0291] 本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。 [0291] The present invention has been described in accordance with the method of Example of the present invention, apparatus (systems) and computer program products flowchart and / or block diagrams described. 应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。 It should be understood and implemented by computer program instructions and block, and the flowchart / or block diagrams each process and / or flowchart illustrations and / or block diagrams of processes and / or blocks. 可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。 These computer program instructions may be provided to a processor a general purpose computer, special purpose computer, embedded processor or other programmable data processing apparatus to produce a machine, such that the instructions executed by the processor of the computer or other programmable data processing apparatus generating in a device for implementing the flow chart or more flows and / or block diagram block or blocks in a specified functions. [0292]这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。 [0292] These computer program instructions may also be stored in a computer can direct a computer or other programmable data processing apparatus to function in a particular manner readable memory produce an article of manufacture such that the storage instruction means comprises a memory in the computer-readable instructions the instruction means implemented in a flowchart or more flows and / or block diagram block or blocks in a specified function.

[0293]这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。 [0293] These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps on the computer or other programmable apparatus to produce a computer implemented so that the computer or other programmable apparatus execute instructions to provide processes for implementing a process or flows and / or block diagram block or blocks a function specified step.

[0294]尽管己描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。 [0294] While the present invention has been described preferred embodiment, but those skilled in the art from the underlying inventive concept can make other modifications and variations to these embodiments. 所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。 Therefore, the appended claims are intended to explain embodiments including the preferred embodiment as fall within the scope of the invention and all changes and modifications.

[0295]显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。 [0295] Obviously, those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. 这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。 Thus, if these modifications and variations of the present invention fall within the claims of the invention and the scope of equivalents thereof, the present invention intends to include these modifications and variations.

Claims (31)

1.一种固件升级方法,应用于包括L个基站的物联网系统中,其中,l为不小于1的正整数;其特征在于,所述方法包括: 所述物联网系统中的一服务器获得M个固件升级文件;其中,M为不小于1的正整数; 所述服务器配置M个所述固件升级文件中的每一个所述固件升级文件的升级策略,得到M个固件升级策略;其中,每一个所述固件升级文件的所述固件升级策略中包括执行所述固件升级文件下载的N个升级基站,N为不小于1,且不大于L的正整数; 所述服务器基于M个所述固件升级策略,将每一个所述固件升级文件及其所述固件升级策略下发至对应的N个所述升级基站,以使所述物联网系统中的有源射频标签能够从N个所述升级基站中的任意一个下载所述固件升级文件进行固件更新。 A firmware update method, was applied to a networked system of base stations L, where, l is a positive integer not less than 1; characterized in that, the method comprising: the networked system was obtained in a server M a firmware upgrade file; wherein M is a positive integer not less than 1; and the configuration of each server of said firmware update file upgrade policy M of the firmware update file, obtain M firmware upgrade policy; wherein, the firmware upgrade policy for each of said firmware update file comprises performing the firmware update file downloaded upgrade base of N, N not less than 1 and not greater than a positive integer L; and the said server based on the M firmware upgrade policy, each of said firmware update file and sent to the corresponding N of said base stations to upgrade the firmware upgrade policy, the active radio frequency tag so that the object can be networked system from the N number upgrading the base station of any one of said firmware update file downloading firmware update.
2. 根据权利要求1所述的方法,其特征在于, 所述服务器配置得到的每一个所述固件升级文件的所述固件升级策略中还包括:执行所述固件升级文件下载的P个预设升级的时间段,以使所述物联网系统中的有源射频标签能够在P个所述预设升级的时间段,从N个所述升级基站中的任意一个所述升级基站下载所述固件升级文件进行固件更新;其中,P为不小于1的正整数。 The method according to claim 1, wherein said each of said firmware upgrade firmware upgrade policy of the server configuration file obtained further comprising: executing the firmware update file downloaded preset P update period, so that the active RF tag system of things can be said in the preset period of P upgrade, the upgrade station downloads a firmware from the upgrading of any of said N base stations upgrading firmware update file; wherein, P is a positive integer not less than 1.
3. —种固件升级装置,应用于包括L个基站的物联网系统中,其中,L为不小于1的正整数;其特征在于,所述装置包括: 固件升级文件获取单元,用于获得M个固件升级文件;其中,M为不小于1的正整数; 固件升级策略配置单元,用于配置M个所述固件升级文件中的每一个所述固件升级文件的升级策略,得到M个固件升级策略;其中,每一个所述固件升级文件的所述固件升级策略中包括执行所述固件升级文件下载的N个升级基站,N为不小于1,且不大于L的正整数; 固件升级文件下载点确定单元,用于基于M个所述固件升级策略,将每一个所述固件升级文件及其所述固件升级策略下发至对应的N个所述升级基站,以使所述物联网系统中的有源射频标签能够从N个所述升级基站中的任意一个下载所述固件升级文件进行固件更新。 3 - Species firmware upgrade apparatus was applied to a networked system of base stations L, where, L is a positive integer not less than 1; characterized in that said apparatus comprising: a firmware update file obtaining unit configured to obtain M a firmware upgrade file; wherein, M is a positive integer not less than 1; firmware upgrade policy configuration unit for configuring each of said firmware update file upgrade policy M of the firmware update file, the firmware update obtain M strategy; wherein each of said firmware upgrade policy file in the firmware upgrade comprises performing the firmware update file downloaded upgrade base of N, N not less than 1 and not greater than a positive integer L; firmware update file downloads point determination unit, based on the M of the firmware upgrade policy, each of said firmware update file and the firmware upgrade policy sent to the corresponding N of said base stations upgraded, so that the system things active RFID tag is capable of downloading a file from the firmware upgrade any of the N base stations to upgrade the firmware update.
4. 根据权利要求3所述的装置,其特征在于, 所述固件升级策略配置单元配置得到的每一个所述固件升级文件的所述固件升级策略中还包括:执行所述固件升级文件下载的P个预设升级的时间段,以使所述物联网系统中的有源射频标签能够在P个所述预设升级的时间段,从N个所述升级基站中的任意一个所述升级基站下载所述固件升级文件进行固件更新;其中,P为不小于1的正整数。 4. The apparatus according to claim 3, wherein said each of said firmware upgrade policy file of the firmware upgrade firmware upgrade policy configuration unit configured obtained further comprising: executing the firmware update file downloaded P preset period upgraded to the active radio frequency tag of the system of things can be said preset period of P upgrade, the upgrade from any one of said N base stations upgrade station downloading the firmware upgrade firmware update file; wherein, P is a positive integer not less than 1.
5. —种固件升级方法,应用于包括L个基站的物联网系统中,L为不小于1的正整数;其特征在于,L个所述基站中具有用于M个固件升级文件下载的多个升级基站;多个所述升级基站是根据所述M个所述固件升级文件的升级策略从所述L个所述基站中指定的执行所述固件升级文件下载的N个基站;其中,M为不小于1的正整数,N为不小于1,且不大于L的正整数;所述方法包括: 多个所述升级基站从所述物联网系统中的服务器获得对应的所述固件升级文件及其所述固件升级策略; 多个所述升级基站中的任一在收到所述物联网系统中的有源射频标签发来的固件升级请求后,向所述有源射频标签下发所述固件升级文件的数据,以使所述有源射频标签能够根据所述固件升级文件的数据进行固件更新。 5. - Species firmware upgrade method, was applied to a networked system of base stations L, L is a positive integer not less than 1; characterized in that, the base station having the L M of the firmware upgrade for multiple file downloads upgrading a base station; a plurality of base stations according to the upgrade policy of the M upgrade the firmware upgrade file specified from the base station in the L executing the firmware update file downloaded N base stations; wherein, M is a positive integer not less than 1, N is not less than 1 and not greater than a positive integer L; the method comprising: obtaining a plurality of base stations corresponding to the upgrade of the firmware update file from the server system IOT and the firmware upgrade policy; after the upgrading of any of a plurality of base stations in an active RF tag receives the things sent to the system firmware upgrade request issued to said active radio frequency tag said firmware update file data so that the active radio frequency tag according to the data can be firmware updates to the firmware upgrade file.
6. 根据权利要求5所述的方法,其特征在于, 在收到所述物联网系统中的有源射频标签发来的所述固件升级文件的请求之前,所述方法还包括: 多个所述升级基站向其信号覆盖范围内的所述有源射频标签下发其执行下载的所述固件升级文件的固件版本号和硬件编码,以使所述有源射频标签能够基于收到的所述固件升级文件的固件版本号和硬件编码,确定所述升级基站执行下载的所述固件升级文件能否对自身固件进行升级;其中,所述硬件编码为所述固件升级文件能够升级的所述有源射频标签的硬件编码。 Before 6. The method as claimed in claim 5, wherein, in the active RF tag of the receipt of the request was sent to a networked system of the firmware upgrade file, the method further comprises: a plurality of the said base station sends it to upgrade the firmware of the download file to its next update of the active RF tag within range of hardware and firmware version number encoded so that the active radio frequency tag can be based on the received firmware upgrade file encoding hardware and firmware version, determining a base station to perform the upgrade of the firmware upgrade downloaded file itself can be upgraded firmware; wherein, said hardware encoded as the firmware update file can be upgraded with a hardware encoding source RF tag.
7. 根据权利要求6所述的方法,其特征在于,所述方法还包括: 当所述固件升级请求中具有接收窗口开启标志,多个所述升级基站中的任一向发来所述固件升级请求的所述有源射频标签下发升级指令,以使所述有源射频标签让其自身的接收窗口开启,并返回包含固件版本信息的允许升级消息。 7. The method according to claim 6, wherein said method further comprises: when the firmware upgrade request flag having a receiving window open, the upgrading of any of a plurality of base stations has been sent to the firmware upgrade upgrading instruction issued in said active radio frequency tag request, so that the active radio frequency tag allowed to own receiver window opens and allows the return message including the firmware version upgrade information.
8. 根据权利要求7所述的方法,其特征在于, 如果多个所述升级基站中任一同时收到多个所述有源射频标签发来的所述固件升级请求; 对多个所述固件升级请求对应的所述有源射频标签的接收信号强度进行排序,获得对应的升级指令发送优先级,基于所述升级指令发送优先级,向多个所述有源射频标签顺次下发所述升级指令;其中,向接收信号强度最强的所述有源射频标签最先下发所述升级指令。 8. The method according to claim 7, wherein, if any one of a plurality of base stations simultaneously upgrade the receipt of the plurality of active radio frequency tags sent by the firmware update request; said plurality firmware update request corresponding to the received signal strength of the active RFID tag sorting, upgrading instruction to obtain a corresponding transmission priority, transmission priority based on the update instruction issued by the plurality of active radio frequency tag to sequentially said upgrading instruction; wherein the strongest received signal strength of the active radio frequency tag of the first update instruction issued.
9. 根据权利要求7所述的方法,其特征在于,所述方法还包括: 在收到所述有源射频标签发来的所述允许升级消息后,多个所述升级基站基于所述允许升级消息中的所述固件版本信息,从所述升级基站执行下载的所述固件升级文件中确定与所述固件版本信息对应的所述固件升级文件,并生成对应的升级文件信息,将所述升级消息下发给发来所述允许升级消息的所述有源射频标签,以使所述有源射频标签能够基于收到的所述升级文件信息,向所述升级基站请求与所述升级文件信息对应的所述固件升级文件的包序号,执行所述固件升级文件下载。 9. The method according to claim 7, wherein said method further comprises: receiving the active radio frequency tag allows the incoming message after the upgrade, the upgrade of the base station based on the plurality of the allowable the firmware version information update message, execute the downloaded from the base station to upgrade the firmware update file and the firmware version information is determined corresponding to the firmware update file, and generates file update information corresponding to the issued to the hair to allow the active radio frequency tag under the upgrade message upgrade message, so that the active radio frequency tag can be based on the received update file information, to the base station requests the upgrade file upgrade packet number information corresponding to the firmware upgrade file, executing the firmware update file download.
10. 根据权利要求5-9中任一项所述的方法,其特征在于, 在执行所述固件升级文件下载过程中,如果所述有源射频标签移动出执行所述固件升级文件下载的第一升级基站的信号覆盖范围,所述方法还包括: 发送下载指令到第二升级基站,使得所述第二升级基站基于所述下载指令向所述有源射频标签下发所述固件升级文件的数据;其中,所述第二升级基站是所述固件升级文件对应的N个所述升级基站中除所述第一升级基站外的其他信号覆盖所述有源射频标签的基站。 10. The method according to any one of claims 5-9, wherein, in executing the firmware upgrade file download process, if the active radio frequency tag moved out of the execution of the downloaded firmware upgrade file upgrading a base station coverage area, the method further comprising: sending a download instruction to the second base station to upgrade, such that the second base station to update the active radio frequency tag made under the firmware update file based on said download instruction data; wherein, the second base station is upgraded firmware upgrade file corresponding to the N said signals other upgrade station other than said first base station to upgrade the base station covering the active RFID tag.
11. 根据权利要求5-9中任一项所述的方法,其特征在于, 如果每一个所述固件升级文件的所述固件升级策略中还包括执行所述固件升级文件下载的P个预设升级的时间段,P为不小于1的正整数,所述方法还包括: 多个所述升级基站在P个所述预设升级的时间段,向发来的所述固件升级文件的固件升级请求的所述有源射频标签下发所述固件升级文件的数据。 11. The method of any one of claims 5-9, characterized in that, if the firmware upgrade policy for each of said firmware update file further comprises performing the firmware update file downloaded preset P update period, P is a positive integer not less than 1, the method further comprising: a plurality of base stations in the upgrading of the predetermined period P of the upgrade, upgrade the firmware sent to the firmware upgrade file send the data file in the firmware upgrade request the active radio frequency tag.
12. —种固件升级装置,设置于基站中;其特征在于,L个基站应用于物联网系统中,L个所述基站中具有用于M个固件升级文件下载的多个升级基站;多个所述升级基站是根据所述M个所述固件升级文件的升级策略从所述L个所述基站中指定的执行所述固件升级文件下载的N个基站;其中,L为不小于1的正整数,M为不小于1的正整数,N为不小于1,且不大于L 的正整数;所述装置包括: 固件升级文件获得单元,用于从所述物联网系统中的服务器获得对应的所述固件升级文件及其所述固件升级策略; 固件升级文件下载单元,用于在收到所述物联网系统中的有源射频标签发来的固件升级请求后,向所述有源射频标签下发所述固件升级文件的数据,以使所述有源射频标签能够根据所述固件升级文件的数据进行固件更新。 12. - Species firmware upgrade means, disposed in the base station; wherein, L was applied to a base station networked system, L a plurality of said base stations having a base station for the M upgraded firmware update file downloaded; a plurality of the base station is a upgrade firmware update file downloaded N base stations according to the upgrade policy of the M firmware upgrade file specified from the base station executing the L; wherein, L is not less than positive 1 integer, M being a positive integer not less than 1, N is not less than 1 and not greater than a positive integer L; said apparatus comprising: a firmware update file obtaining unit, for obtaining from the object corresponding to a networked system of servers the firmware update file and the firmware upgrade policy; firmware upgrade file downloading unit, for receiving the active radio frequency tag IOT system firmware upgrade request sent to said active radio frequency tag issued the firmware update file data, so that the active radio frequency tag according to the data can be firmware updates to the firmware upgrade file.
13.根据权利要求12所述的装置,其特征在于,所述装置还包括: 升级判断信息下发单元,用于在收到所述物联网系统中的有源射频标签发来的所述固件升级文件的固件升级请求之前,向其信号覆盖范围内的所述有源射频标签下发其执行下载的所述固件升级文件的固件版本号和硬件编码,以使所述有源射频标签能够基于收到的所述固件升级文件的固件版本号和硬件编码,确定所述升级基站执行下载的所述固件升级文件能否对自身固件进行升级;其中,所述硬件编码为所述固件升级文件能够升级的所述有源射频标签的硬件编码。 13. The apparatus as claimed in claim 12, wherein said apparatus further comprises: determining issued upgrade information unit for the receipt of firmware in the active RF tag system things sent to the before updating the firmware upgrade file request, sends it execute the downloaded thereto in said active radio frequency tag within range of hardware and firmware version number of the firmware upgrade file encoding, so that the active radio frequency tag can be based on receive hardware and firmware version number of the firmware upgrade file encoding, determining the base station to perform the upgrade of the firmware update file downloading can itself be upgraded firmware; wherein, said hardware encoding said firmware update file can be the hardware upgrade encoding the active radio frequency tag.
14. 根据权利要求13所述的装置,其特征在于,所述装置还包括: 升级指令下发单元,用于当所述固件升级请求中具有接收窗口开启标志,多个所述升级基站中的任一向发来所述固件升级请求的所述有源射频标签下发升级指令,以使所述有源射频标签让其自身的接收窗口开启,并返回包含固件版本信息的允许升级消息。 14. The apparatus according to claim 13, characterized in that said apparatus further comprising: a lower unit issued upgrading instruction, when said firmware update request flag having a receiving window opening, a plurality of base stations in the upgrade hair has been sent from any of the firmware upgrade request to upgrade the RF tag under the active command, the active radio frequency tag so let own receiver window opens and allows the return message including the firmware version upgrade information.
15. 根据权利要求14所述的装置,其特征在于, 如果多个所述升级基站中任一同时收到多个所述有源射频标签发来的所述固件升级请求,所述升级指令下发单元还用于: 对多个所述固件升级请求对应的所述有源射频标签的接收信号强度进行排序,获得对应的升级指令发送优先级,基于所述升级指令发送优先级,向多个所述有源射频标签顺次下发所述升级指令;其中,向接收信号强度最强的所述有源射频标签最先下发所述升级指令。 15. The apparatus according to the claim 14, wherein, if any one of a plurality of base stations simultaneously upgrade the receipt of the plurality of active radio frequency tags sent to request the firmware upgrade, the upgrade instructions sending unit is further configured to: receive signal strength corresponding to said plurality of active radio frequency tags to sort the firmware upgrade request, obtain the corresponding upgrading instruction transmission priority, transmission priority based on the upgrade instructions to a plurality of the active radio frequency tag sequentially delivers the upgrading instruction; wherein the strongest received signal strength of the active radio frequency tag of the first update instruction issued.
16. 根据权利要求14所述的装置,其特征在于,所述装置还包括: 升级文件信息下发单元,用于在收到所述有源射频标签发来的所述允许升级消息后, 基于所述允许升级消息中的所述固件版本信息,从所述升级基站执行下载的所述固件升级文件中确定与所述固件版本信息对应的所述固件升级文件,并生成对应的升级文件信息, 将所述升级消息下发给发来所述允许升级消息的所述有源射频标签,以使所述有源射频标签能够基于收到的所述升级文件信息,向所述升级基站请求与所述升级文件信息对应的所述固件升级文件的包序号,执行所述固件升级文件下载。 16. Apparatus according to claim 14, characterized in that said apparatus further comprising: a delivering unit after update file information, for the receipt of the active radio frequency tag allows upgrade message sent, based on upgrading the firmware to allow the information message from the base station to perform the upgrade of the firmware update file downloaded in determining the information corresponding to the firmware version of the firmware update file, and generates the update information corresponding to the file, the next update of the message to be sent to allow the active radio frequency tag update message, so that the active radio frequency tag can be based on information received by the upgrade file to the base station requesting the upgrade said packet number information corresponding to the file update firmware upgrade file, executing the firmware update file download.
17. 根据权利要求12-16中任一项所述的装置,其特征在于,所述装置还包括: 固件升级文件续传单元,用于在执行所述固件升级文件下载过程中,如果所述有源射频标签移动出执行所述固件升级文件下载的第一升级基站的信号覆盖范围,发送下载指令到第二升级基站,使得所述第二升级基站基于所述下载指令向所述有源射频标签下发所述固件升级文件的数据;其中,所述第二升级基站是所述固件升级文件对应的N个所述升级基站中除所述第一升级基站外的其他信号覆盖所述有源射频标签的基站。 17. The apparatus as claimed in any one of claims 12-16, wherein said apparatus further comprising: a firmware update file resume means for performing the firmware update file download process, if the active RF tags move out of the coverage area perform firmware update file downloaded update to the first base station, and transmits download instruction to the second base station to upgrade, such that the second base station based on the downloaded update instruction to the active RF send the data file in the firmware upgrade label; wherein said second base station is upgraded firmware upgrade file corresponding to the N said signals to other base stations covering the upgrade in addition to said first base station in the active upgrade base station RF tag.
18. 根据权利要求12-16中任一项所述的装置,其特征在于, 如果每一个所述固件升级文件的所述固件升级策略中还包括执行所述固件升级文件下载的P个预设升级的时间段,P为不小于1的正整数,所述固件升级文件下载单元具体用于: 在P个所述预设升级的时间段,向发来的所述固件升级文件的固件升级请求的所述有源射频标签下发所述固件升级文件的数据。 18. The apparatus as claimed in any one of claims 12-16, wherein, if the firmware upgrade policy for each of said firmware update file further comprises performing the firmware update file downloaded preset P update period, P is a positive integer not less than 1, the firmware update file downloading unit is configured to: in a preset period P of the upgrade, the upgrade firmware sent to the firmware upgrade file request the firmware update file send data in the active radio frequency tag.
19. 一种固件升级方法,应用于有源射频标签,所述有源射频标签投入使用的物联网系统包括L个基站,L为不小于1的正整数;其特征在于,L个所述基站中具有用于M个固件升级文件下载的多个升级基站;多个所述升级基站是根据所述M个所述固件升级文件的升级策略从所述L个所述基站中指定的执行所述固件升级文件下载的N个基站;其中,M为不小于1 的正整数,N为不小于1,且不大于L的正整数;所述方法包括: 所述有源射频标签从自身固件的固件升级文件对应的N个所述升级基站中的任意一个下载所述固件升级文件;其中,所述有源射频标签处于下载所述固件升级文件的所述升级基站覆盖范围内; 在完成所述固件升级文件下载后,基于所述固件升级文件进行固件更新。 19. A firmware update method, applied to an active RF tag, the RF tag put into active use thereof networked system comprising a base station L, L is a positive integer not less than 1; characterized in that, the base of the L having a plurality of base stations for the M upgraded firmware update file downloaded; said plurality of base stations are upgraded to perform the designated from the base station according to the L M of the upgrade policy of the firmware upgrade file Download firmware upgrade N base stations; wherein, M being a positive integer not less than 1, N is not less than 1 and not greater than a positive integer L; the method comprising: the active radio frequency tag from its own firmware firmware N arbitrary upgrading the base station corresponding to a upgrade file downloading the firmware upgrade file; wherein the active radio frequency tag downloading is within the coverage area of ​​the base station to upgrade the firmware upgrade file; completing the firmware in after the upgrade file is downloaded, the firmware update based on the firmware upgrade file.
20. 根据权利要求19所述的方法,其特征在于, 在所述有源射频标签从自身固件的固件升级文件对应的N个所述升级基站中的任意一个下载所述固件升级文件之前,所述方法还包括: 所述有源射频标签从多个所述升级基站中信号覆盖所述有源射频标签的所述升级基站,获得所述升级基站执行下载的所述固件升级文件的固件版本号和硬件编码,基于所述固件升级文件的固件版本号和硬件编码,确定所述升级基站执行下载的所述固件升级文件中是否有能对自身固件进行更新的所述固件升级文件;其中,所述硬件编码为所述固件升级文件能够升级的所述有源射频标签的硬件编码。 20. The method according to previous claim 19, wherein, in any of the active radio frequency tag from its own firmware corresponding to the firmware update file N of said one base station to upgrade the firmware upgrade file downloading, the said method further comprising: said plurality of active radio frequency tag from the upgraded base station to upgrade the signal coverage of the active RFID tag to obtain the upgrade of the base station to perform the firmware update file downloaded firmware version number and coding hardware, firmware version number and hardware-based encoding the firmware upgrade file, determining whether there is a firmware update file itself can update the firmware upgrade base station to perform the firmware upgrade downloaded file; wherein the said hardware encoding said firmware update file to upgrade hardware encoding the active radio frequency tag.
21. 根据权利要求20所述的方法,其特征在于,所述方法还包括: 在确定所述升级基站执行下载的所述固件升级文件中具有能够对自身固件进行更新的所述固件升级文件后,所述有源射频标签向所述升级基站发送具有接收窗口开启标志的固件升级请求,并开启接收窗口,以使所述升级基站基于所述固件升级请求,生成升级指令,并向所述有源射频标签返回所述升级指令;其中,所述接收窗口开启标志用于表征所述有源射频标签在发送所述固件升级请求后已开启所述接收窗口。 After having said firmware update file itself can be updated firmware upgrade in determining the base station to perform the firmware upgrade downloaded file: 21. A method according to claim 20, wherein said method further comprises , the active radio frequency tag having a base station transmits the update request receiving firmware update flag open window, and receive window open, so that the firmware upgrade request to upgrade the base station is generated based on the upgrade instructions to have the source RF tag returns the upgrading instruction; wherein the reception window opening flag for characterizing the radio frequency tag is on the active window is received after sending the request to the firmware upgrade.
22. 根据权利要求21所述的方法,其特征在于,所述方法还包括: 在收到所述升级基站返回的所述升级指令后,所述有源射频标签保持接收窗口开启, 并向所述升级基站返回包含固件版本信息的允许升级消息,以使所述升级基站在收到所述允许升级消息后,基于所述允许升级消息中的所述固件版本信息,从执行下载的所述固件升级文件中找出所述固件版本信息对应的所述固件升级文件,生成对应的升级文件信息, 并向所述有源射频标签返回所述升级文件信息; 在收到所述升级文件信息后,基于所述升级文件信息,向所述升级基站请求与所述升级文件信息对应的所述固件升级文件的包序号,以使所述升级基站执行所述固件升级文件下载。 22. The method of claim 21, wherein said method further comprises: after receiving the update instruction of the base station returns to upgrade, the active radio frequency tag holder receiving window open, and the said update message including the base station returns allow upgrade firmware version information, so that the upgrade station after receiving the update message to allow, based on the information that allows the firmware update message from the firmware download performed upgrade file to identify the information corresponding to the firmware version of the firmware update file, the update file generating information corresponding to said active radio frequency tag returns to the update information file; after receiving the update file information, the file information based on the upgrade, the upgrade packet number to the base station requests the upgrade file information corresponding to the firmware upgrade file, so that the upgrade of the base station to perform the firmware upgrade file download.
23. 根据权利要求19-22中任一项所述的方法,其特征在于, 在执行所述固件升级文件下载过程中,如果所述有源射频标签移动出执行所述固件升级文件下载的所述升级基站的信号覆盖范围而导致下载中断,所述方法还包括: 所述有源射频标签记录所述固件升级文件下载中断的断点; 所述有源射频标签向所述固件升级文件对应的N个所述升级基站中的信号覆盖所述有源射频标签的所述升级基站请求所述固件升级文件,从断点处开始所述固件升级文件的再一次下载。 23. A method according to any one of claims 19-22, wherein performing the firmware update file download process, if the active radio frequency tag moved out of the execution of the firmware update file download said update signal coverage of the base station if the download is interrupted, the method further comprising: said active radio frequency tag recording the downloaded firmware upgrade file breakpoint interrupt; corresponding to the active radio frequency tag to the firmware upgrade file the upgrade of the N base station in the upgraded cover the active RF tag signal requesting the firmware update file, the start of the firmware upgrade file downloaded again from the breakpoint.
24. 根据权利要求19-22中任一项所述的方法,其特征在于, 如果每一个所述固件升级文件的所述固件升级策略中还包括执行所述固件升级文件下载的P个预设升级的时间段,P为不小于1的正整数,执行步骤:所述有源射频标签从其固件的固件升级文件对应的N个所述升级基站中的任意一个下载所述固件升级文件,具体为: 所述有源射频标签,在P个所述预设升级的时间段,从信号覆盖所述有源射频标签的一个所述升级基站下载所述固件升级文件。 24. The method according to any one of claims 19 to 22 claims, characterized in that, if the firmware upgrade policy for each of said firmware update file further comprises performing the firmware update file downloaded preset P update period, P is a positive integer not less than 1, performing the step of: said active radio frequency tag downloading a file from any of the firmware upgrade firmware upgrade firmware file corresponding to the upgrade of the N base stations, particularly is: the active radio frequency tag, at the preset time period P of an upgrade, the upgrade from a base station coverage of the active RFID tag downloading the firmware upgrade file.
25. —种固件升级装置,应用于有源射频标签,所述有源射频标签投入使用的物联网系统包括L个基站,L为不小于1的正整数;其特征在于,L个所述基站中具有用于M个固件升级文件下载的多个升级基站;多个所述升级基站是根据所述M个所述固件升级文件的升级策略从所述L个所述基站中指定的执行所述固件升级文件下载的N个基站;其中,M为不小于1 的正整数,N为不小于1,且不大于L的正整数;所述装置包括: 升级文件下载单元,用于从自身固件的固件升级文件对应的N个所述升级基站中的任意一个下载所述固件升级文件;其中,所述有源射频标签处于下载所述固件升级文件的所述升级基站覆盖范围内; 固件更新单元,用于在完成所述固件升级文件下载后,执行系统重启,在系统重启的引导过程中基于所述固件升级文件进行固件更新。 25. - Species firmware upgrade apparatus applied to an active RF tag, the RF tag put into active use thereof networked system comprising a base station L, L is a positive integer not less than 1; characterized in that, the base of the L having a plurality of base stations for the M upgraded firmware update file downloaded; said plurality of base stations are upgraded to perform the designated from the base station according to the L M of the upgrade policy of the firmware upgrade file Download firmware upgrade N base stations; wherein, M being a positive integer not less than 1, N is not less than 1 and not greater than a positive integer L; said apparatus comprises: upgrade file downloading unit, for its own firmware from N arbitrary upgrading the base station corresponding to a firmware update file downloading the firmware upgrade file; wherein the active radio frequency tag is within said firmware update file downloading upgrade the coverage of base station; firmware update unit, after completion of a file download the firmware upgrade, system restart execution, update of the firmware boot process based on said restart the system firmware upgrade file.
26. 根据权利要求25所述的装置,其特征在于,所述装置还包括: 固件升级文件确定单元,用于所述有源射频标签从自身固件的固件升级文件对应的N 个所述升级基站中的任意一个下载所述固件升级文件之前,从N个所述升级基站中信号覆盖所述有源射频标签的所述升级基站,获得所述升级基站执行下载的所述固件升级文件的固件版本号和硬件编码,基于所述固件升级文件的固件版本号和硬件编码,确定所述升级基站执行下载的所述固件升级文件中是否有能对自身固件进行更新的所述固件升级文件; 其中,所述硬件编码为所述固件升级文件能够升级的所述有源射频标签的硬件编码。 26. The apparatus according to claim 25, characterized in that said apparatus further comprising: a firmware update file determining means for said active radio frequency tag from its own firmware corresponding to the firmware update file update the base station of the N prior to any firmware downloading a file of the firmware upgrade, the upgrade from the N base stations in the base station coverage upgrading the active RFID tag obtaining the base station performs downloading upgrade the firmware upgrade file No. encoding and hardware, firmware, and hardware version number of the firmware upgrade file encoding is determined based on whether there is the update of the firmware update file itself can update the firmware base station performs firmware update file downloaded; wherein, the hardware coding for said firmware update file to upgrade hardware encoding the active radio frequency tag.
27. 根据权利要求26所述的装置,其特征在于,所述装置还包括: 固件升级请求发送单元,用于在确定所述升级基站执行下载的所述固件升级文件中具有能够对自身固件进行更新的所述固件升级文件后,向所述升级基站发送具有接收窗口开启标志的固件升级请求,并开启接收窗口,以使所述升级基站基于所述固件升级请求,生成升级指令,并向所述有源射频标签返回所述升级指令;其中,所述接收窗口开启标志用于表征所述有源射频标签在发送所述固件升级请求后已开启所述接收窗口。 27. The apparatus according to claim 26, characterized in that said apparatus further comprising: a firmware update request transmission unit for the base station having determined that the update of the download file in the firmware upgrade firmware itself capable after updating the firmware update file, the update to the base station sends a receiving window open firmware update request flag, and the receive window open, so that the base station based on the upgrade of the firmware upgrade request, generates upgrading instruction, and the said active radio frequency tags to return the upgrading instruction; wherein the reception window opening flag for characterizing the radio frequency tag is on the active window is received after sending the request to the firmware upgrade.
28. 根据权利要求27所述的装置,其特征在于,所述装置还包括: 允许升级消息发送单元,用于在收到所述升级基站返回的所述升级指令后,保持接收窗口开启,并向所述升级基站返回包含固件版本信息的允许升级消息,以使所述升级基站在收到所述允许升级消息后,基于所述允许升级消息中的所述固件版本信息,从执行下载的所述固件升级文件中找出所述固件版本信息对应的所述固件升级文件,生成对应的升级文件信息,并向所述有源射频标签返回所述升级文件信息; 、1 固件升级文件下载请求单元,用于在收到所述升级文件信息后,基于所述升级文件信息,向所述升级基站请求与所述升级文件信息对应的所述固件升级文件的包序号,以使所述升级基站执行所述固件升级文件下载。 28. The apparatus according to claim 27, wherein said apparatus further comprises: allowing upgrade message sending unit, after receiving the update instruction of the base station returns to upgrade and maintain the receiving window open, and the base station returns to upgrade the firmware version information comprises a message allowing upgrade, the upgrade to the base station after receiving the update message to allow, based on version information of the firmware upgrade to allow the message, executing the downloading from the said firmware update file to identify the information corresponding to the firmware version of the firmware update file, the update file generating information corresponding to said active radio frequency tag returns to the update information file;, a firmware update file download request means , after receiving the update file information, file information based on the upgrade, the upgrade packet number to the base station requests the file update information corresponding to the firmware upgrade file, so that the base station to perform the upgrade the firmware upgrade file downloaded.
29. 根据权利要求25-28中任一项所述的装置,其特征在于,所述装置还包括: 固件升级文件续传下载单元,用于在执行所述固件升级文件下载过程中,如果所述有源射频标签移动出执行所述固件升级文件下载的所述升级基站的信号覆盖范围而导致下载中断,记录所述固件升级文件当前次下载的断点;向所述固件升级文件对应的N个所述升级基站中的信号覆盖所述有源射频标签的所述升级基站请求所述固件升级文件,从断点处开始所述固件升级文件的再一次下载。 29. A device according to any of claims 25-28, wherein said apparatus further comprising: a firmware update file download resume means for performing the firmware update file download process, if the said active radio frequency tag moves out of the coverage area perform the upgrade station downloads a firmware upgrade file if the download is interrupted, the current firmware upgrade file downloads the recorded break point; corresponding to the firmware upgrade file N upgrading the upgrade station of said radio frequency tag signals cover the active base station requests the firmware update file, the start of the firmware upgrade file downloaded again from the breakpoint.
30. 根据权利要求25-28中任一项所述的装置,其特征在于, 如果每一个所述固件升级文件的所述固件升级策略中还包括执行所述固件升级文件下载的P个预设升级的时间段,P为不小于1的正整数,所述升级文件下载单元,具体用于: 在P个所述预设升级的时间段,从自身固件的固件升级文件对应的N个所述升级基站中信号覆盖所述有源射频标签的一个所述升级基站下载所述固件升级文件。 30. A device according to any of claims 25-28, wherein, if the firmware upgrade policy for each of said firmware update file further comprises performing the firmware update file downloaded preset P update period, P is a positive integer not less than 1, the update file downloading unit, configured to: in the preset time period P of the upgrade, N of said own firmware from the firmware upgrade file corresponding upgrading the upgrade a base station in the active RF tag signal coverage of downloading the firmware upgrade file.
31. —种物联网系统,包括服务器,与所述服务器通信连接的L个基站,其中,L为不小于1的正整数;其特征在于, 所述服务器,用于获得M个固件升级文件;其中,M为不小于1的正整数;以及用于配置M个所述固件升级文件中的每一个所述固件升级文件的升级策略,得到M个固件升级策略;其中,每一个所述固件升级文件的所述固件升级策略中包括执行所述固件升级文件下载的N个升级基站,N为不小于1,且不大于L的正整数;以及用于基于M个所述固件升级策略,将每一个所述固件升级文件及其所述固件升级策略下发至对应的N个所述升级基站; 多个所述升级基站,用于在收到所述物联网系统中的有源射频标签发来的所述固件升级文件的固件升级请求后,向所述有源射频标签下发所述固件升级文件的数据执行所述固件升级文件下载,以使所述有源射频标签能够 31. - inoculum networked system comprising a server, the server is connected in communication with the base station L, where, L is a positive integer not less than 1; wherein the server is configured to obtain M firmware upgrade file; wherein M is a positive integer not less than 1; and means for configuring each of said firmware update file upgrade policy M of the firmware update file, obtain M firmware upgrade policy; wherein each of said firmware upgrade the firmware upgrade policy file comprises performing the firmware update file downloaded upgrade base of N, N not less than 1 and not greater than a positive integer L; and the M based on the firmware upgrade policy, each a file and the firmware update of the firmware upgrade to a corresponding N number of base stations under the upgrade policy; a plurality of base stations the update, for receiving the things in the active RF tag system sent the firmware upgrade firmware upgrade file request, to send the data performed in said active radio frequency tag firmware upgrade file download the firmware update file, so that the radio frequency tag can be active 其固件的所述固件升级文件对应的N个所述升级基站中的任意一个所述升级基站下载所述固件升级文件进行固件更新。 Any of which the firmware upgrade file corresponding to the N firmware upgrade of the base station in the upgrade station downloads a firmware upgrade the firmware update file.
CN201710359306.XA 2017-05-19 2017-05-19 Firmware upgrading method and apparatus, server, Internet of Things system and radio frequency tag CN107104839A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710359306.XA CN107104839A (en) 2017-05-19 2017-05-19 Firmware upgrading method and apparatus, server, Internet of Things system and radio frequency tag

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710359306.XA CN107104839A (en) 2017-05-19 2017-05-19 Firmware upgrading method and apparatus, server, Internet of Things system and radio frequency tag

Publications (1)

Publication Number Publication Date
CN107104839A true CN107104839A (en) 2017-08-29

Family

ID=59669808

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710359306.XA CN107104839A (en) 2017-05-19 2017-05-19 Firmware upgrading method and apparatus, server, Internet of Things system and radio frequency tag

Country Status (1)

Country Link
CN (1) CN107104839A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1507299A (en) * 2002-12-13 2004-06-23 三星电子株式会社 Assembly download supervisor for radio mobile station and operating method
CN1791859A (en) * 2003-05-19 2006-06-21 索尼爱立信移动通讯股份有限公司 Methods and apparatus for generating upgraded software from initial software and software upgrade packages
CN102223256A (en) * 2011-07-26 2011-10-19 烽火通信科技股份有限公司 Method and system for multi-ONU (optical network unit) automatic upgrading in GPON (gigabit-capable passive optical network) access system
CN102480501A (en) * 2010-11-26 2012-05-30 华为终端有限公司 Application resource downloading method and associated equipment
CN102937904A (en) * 2012-10-24 2013-02-20 华为技术有限公司 Multi-node firmware updating method and device
CN103888523A (en) * 2014-03-11 2014-06-25 北京京东尚科信息技术有限公司 Method, device and system for confirming download link of software version upgrade file
CN104679528A (en) * 2013-11-26 2015-06-03 中国银联股份有限公司 Method and device for remotely updating application program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1507299A (en) * 2002-12-13 2004-06-23 三星电子株式会社 Assembly download supervisor for radio mobile station and operating method
CN1791859A (en) * 2003-05-19 2006-06-21 索尼爱立信移动通讯股份有限公司 Methods and apparatus for generating upgraded software from initial software and software upgrade packages
CN102480501A (en) * 2010-11-26 2012-05-30 华为终端有限公司 Application resource downloading method and associated equipment
CN102223256A (en) * 2011-07-26 2011-10-19 烽火通信科技股份有限公司 Method and system for multi-ONU (optical network unit) automatic upgrading in GPON (gigabit-capable passive optical network) access system
CN102937904A (en) * 2012-10-24 2013-02-20 华为技术有限公司 Multi-node firmware updating method and device
CN104679528A (en) * 2013-11-26 2015-06-03 中国银联股份有限公司 Method and device for remotely updating application program
CN103888523A (en) * 2014-03-11 2014-06-25 北京京东尚科信息技术有限公司 Method, device and system for confirming download link of software version upgrade file

Similar Documents

Publication Publication Date Title
US7463884B2 (en) System and method for updating data in remote devices
US8867370B2 (en) Method and apparatus for adaptive traffic management in a resource-constrained network
KR100937063B1 (en) Methods and apparatus for providing wireless device-centric control of an external computing device
KR100584443B1 (en) Component Download Manager for a Wireless Mobile Station and Method of Operation
RU2390963C2 (en) Method for delivery of notification about update of software to devices in communication systems
US9754096B2 (en) Update management
US7814478B2 (en) Methods and apparatus for use in updating application programs in memory of a network device
US8677343B2 (en) Centrally coordinated firmware upgrade model across network for minimizing uptime loss and firmware compatibility
US10348804B2 (en) System to automatically process components on a device
WO2011149831A1 (en) Method and systems for the management of non volatile items and provisioning files for a communication device with multiple service accounts
RU2602349C1 (en) Method, base station, terminal and communication system for selecting component carrier
US20100136978A1 (en) Method for handoff of portable terminal between heterogeneous wireless networks
KR20100031554A (en) Method for supporting multiple diversified data applications with efficient use of network resources
CN101795203B (en) Method and device for downloading software upgrading data packet
WO2013033262A1 (en) Systems and methods for monitoring of background application events
US7539488B2 (en) Over-the-air download (OAD) methods and apparatus for use in facilitating application programming in wireless network devices of ad hoc wireless communication networks
GB2378531A (en) Providing application / driver software for an accessory of a communications device
CN103167465B (en) An embedded uicc card activation processing method and apparatus
GB2412042A (en) Firmware update method of a wireless communication terminal
CN102204210A (en) Method, server, and system for starting application
CN105284158A (en) Energy-efficient device discovery techniques
US8386589B2 (en) System that provides embedded software to an embedded system
US20060154691A1 (en) Architecture and protocol for software defined radio system
CN101217411B (en) A method, device and system realizing the upgrading of stacking device software
JP4805281B2 (en) System and method for device management scheduling

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right