CN109189460A - offline firmware upgrade system and method - Google Patents

offline firmware upgrade system and method Download PDF

Info

Publication number
CN109189460A
CN109189460A CN201811386889.6A CN201811386889A CN109189460A CN 109189460 A CN109189460 A CN 109189460A CN 201811386889 A CN201811386889 A CN 201811386889A CN 109189460 A CN109189460 A CN 109189460A
Authority
CN
China
Prior art keywords
data packet
firmware
community server
upgrading data
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811386889.6A
Other languages
Chinese (zh)
Inventor
徐涛
旷彪
王兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING QIANDING INTERNET TECHNOLOGY Co Ltd
Original Assignee
BEIJING QIANDING INTERNET TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING QIANDING INTERNET TECHNOLOGY Co Ltd filed Critical BEIJING QIANDING INTERNET TECHNOLOGY Co Ltd
Priority to CN201811386889.6A priority Critical patent/CN109189460A/en
Publication of CN109189460A publication Critical patent/CN109189460A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of offline firmware upgrade system and method, which includes source server and at least one community server: the source server connects the community server;The source server is used to store the upgrading data packet of firmware and first upgrade information of upgrading data packet is sent to the community server, wherein first upgrade information includes the download address of the upgrading data packet;The community server is used to download the upgrading data packet according to the download address of the upgrading data packet and is stored as local packets, and the second upgrade information of the local packets is sent to an at least terminal device, wherein, second upgrade information includes the download address of the local packets.The present invention carries out upgraded in offline to firmware by three-stage apparatus, and the downloading demand for the community server that source server only needs face a small amount of greatly reduces the pressure and resource occupying of source server.

Description

Offline firmware upgrade system and method
Technical field
The present invention relates to field of computer technology, in particular to a kind of offline firmware upgrade system and method.
Background technique
Firmware (firmware) upgrading, the meaning are exactly to be updated upgrading to the firmware program of equipment.It can be with Improving Equipment Function, enhance the stability of machinery equipment, Hotfix loophole.In general embedded system, various programmings can be passed through Debugging interface by firmware program programming into the flash chip of objective chip, if it find that system vulnerability and bug or needs Upgrading addition function, that is, when needing firmware updating will then cover original firmware program and the newly compiled generation of programming Firmware program.
The upgrading mode of traditional equipment firmware is mainly that terminal device is directly connected to be located at the server of wide area network, is passed through Then firmware data in internet download server carries out firmware upgrade to terminal device.Due to the network rings of wide area network The unstability in border causes terminal device to depend critically upon the stability of network environment when downloading firmware data, and a large amount of whole End equipment is connected to the same server, and very big pressure is caused to Internet resources and server.
Summary of the invention
In view of the above problems, the embodiment of the present invention is designed to provide a kind of offline firmware upgrade system method, with solution Certainly the deficiencies in the prior art.
According to embodiment of the present invention, a kind of offline firmware upgrade system, including source server and community are provided Server:
The source server connects the community server;
The source server is used to store the upgrading data packet of firmware and the first upgrade information by the upgrading data packet It is sent to the community server, wherein first upgrade information includes the download address of the upgrading data packet;
The community server is used to download the upgrading data packet according to the download address of the upgrading data packet and deposit Storage is local packets, and the second upgrade information of the local packets is sent to an at least terminal device, wherein described Second upgrade information includes the download address of the local packets.
Further include multiple terminal devices in above-mentioned offline firmware upgrade system:
Each community server connects multiple terminal devices;
The terminal device is used to download the local packets according to the download address of the local packets, and utilizes The local packets upgrade the firmware.
In above-mentioned offline firmware upgrade system, described " source server is used to store the upgrading data packet of firmware And first upgrade information of upgrading data packet is sent to community server " include:
The source server receives the community server is sent first and updates request, wherein first update is asked Seek the firmware version information including the community server;
The source server is by the version information of the firmware version information of the community server and the upgrading data packet It compares;
If the firmware version information of the community server and the version information of the upgrading data packet are inconsistent, send First upgrade information is to the community server;
If the firmware version information of the community server is consistent with the version information of the upgrading data packet, nothing is sent The prompting message of new version is to the community server.
In above-mentioned offline firmware upgrade system, described " community server is used for according to the upgrading data packet Download address download the upgrading data packet and be stored as local packets, and the second upgrading of the local packets is believed Breath is sent to an at least terminal device " include:
The community server is after receiving first upgrade information, according to the download address of the upgrading data packet The upgrading data packet is downloaded to update the local packets of the firmware;
The community server receives the terminal device is sent second and updates request, wherein second update is asked Seek the firmware version information including the terminal device;
The community server is by the version information of the firmware version information of the terminal device and the local packets It compares;
If the firmware version information of the terminal device and the version information of the local packets are inconsistent, is sent Two upgrade informations are to the terminal device;
If the firmware version information of the terminal device is consistent with the version information of the local packets, send without new The prompting message of version is to the terminal device.
In above-mentioned offline firmware upgrade system, described " source server is used to store the upgrading data packet of firmware And first upgrade information of upgrading data packet is sent to the community server " include:
The source server sends version information acquisition instruction to the community server, to obtain every preset time State the firmware version information of community server;
In the firmware version information of the community server and the inconsistent version information of the upgrading data packet, actively First upgrade information is issued to the community server.
In above-mentioned offline firmware upgrade system, described " community server is used for according to the upgrading data packet Download address download the upgrading data packet and be stored as local packets, and the second upgrading of the local packets is believed Breath is sent to an at least terminal device " include:
The community server is after receiving first upgrade information, according to the download address of the upgrading data packet The upgrading data packet is downloaded to update the local packets of the firmware;
The community server sends version information acquisition instruction to the terminal device, to obtain every preset time State the firmware version information of terminal device;
In the firmware version information of the terminal device and the inconsistent version information of the local packets, under active Send out the second upgrade information described at least one described terminal device.
In above-mentioned offline firmware upgrade system, between the source server and the community server, the community Communication pattern between server and the terminal device includes asynchronous communication model.
In above-mentioned offline firmware upgrade system, the download protocol includes Http agreement, File Transfer Protocol and Wget association View.
Further include at least one router in above-mentioned offline firmware upgrade system, the community server with it is described Terminal device is connected by the router.
According to another implementation of the invention, a kind of offline firmware upgrade method is provided, be applied to source server and Community server, this method comprises:
The upgrading data packet of the source server storage firmware simultaneously sends the first upgrade information of the upgrading data packet To the community server, wherein first upgrade information includes the download address of the upgrading data packet;
The community server is downloaded the upgrading data packet according to the download address of the upgrading data packet and is stored as Local packets, and the second upgrade information of the local packets is sent to an at least terminal device, wherein described second Upgrade information includes the download address of the local packets.
Yet another embodiment according to the present invention provides a kind of offline device for upgrading firmware, be applied to source server and Community server, the device include:
Sending module, for source server storage firmware upgrading data packet and by the first of the upgrading data packet Upgrade information is sent to the community server, wherein first upgrade information includes the downloading of the upgrading data packet Location;
Download module downloads the ascending series according to the download address of the upgrading data packet for the community server According to wrapping and be stored as local packets, and the second upgrade information of the local packets is sent to an at least terminal device, Wherein, second upgrade information includes the download address of the local packets.
Another embodiment according to the present invention provides a kind of computer readable storage medium, is stored with above-mentioned The offline firmware upgrade method.
The technical scheme provided by this disclosed embodiment may include it is following the utility model has the advantages that
A kind of offline firmware upgrade system and method in the present invention carry out upgraded in offline, source to firmware by three-stage apparatus The downloading demand for the community server that server only needs face a small amount of greatly reduces the pressure and resource occupying of source server; Safely and effectively remote firmware updating is carried out to terminal device simultaneously, is carried out each without arriving scene one by one by artificial mode The firmware upgrade of terminal device saves human cost, improves upgrading efficiency.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate Appended attached drawing, is described in detail below.
Detailed description of the invention
In order to illustrate more clearly of technical solution of the present invention, letter will be made to attached drawing needed in the embodiment below It singly introduces, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as to the present invention The restriction of protection scope for those of ordinary skill in the art without creative efforts, can be with root Other relevant attached drawings are obtained according to these attached drawings.
Fig. 1 shows a kind of structural schematic diagram of offline firmware upgrade system provided in an embodiment of the present invention.
Fig. 2 shows the structural schematic diagrams of another offline firmware upgrade system provided in an embodiment of the present invention.
Fig. 3 shows a kind of flow diagram of offline firmware upgrade method provided in an embodiment of the present invention.
Fig. 4 shows the flow diagram of another offline firmware upgrade method provided in an embodiment of the present invention.
Fig. 5 shows a kind of structural schematic diagram of offline device for upgrading firmware provided in an embodiment of the present invention.
Main element symbol description:
The offline firmware upgrade system of 100-;110- source server;120- community server;130- terminal device;200- from Line device for upgrading firmware;210- sending module;220- download module.
Specific embodiment
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete Ground description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Usually exist The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause This, is not intended to limit claimed invention to the detailed description of the embodiment of the present invention provided in the accompanying drawings below Range, but it is merely representative of selected embodiment of the invention.Based on the embodiment of the present invention, those skilled in the art are not doing Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.
Embodiment 1
Fig. 1 shows a kind of structural schematic diagram of offline firmware upgrade system provided in an embodiment of the present invention.
The offline firmware upgrade system 100 includes source server 110 and at least one community server.
The source server 110 can store firmware data and can be counted with community server 120 to be any According to computer equipment or the various platforms of communication and data processing.
Equally, the community server 120 can store firmware data and can be with community server 120 to be any Carry out computer equipment or the various platforms of data communication and data processing.
Wherein, the computer equipment can be to provide the equipment of the service of calculating, such as personal computer, server.
The source server 110 connects at least one described community server 120.
Further, by wired connection between the source server 110 and the community server 120, to accelerate number According to the rate and increase communication success rate of transmission.
Further, can also be by being wirelessly connected between the source server 110 and the community server 120, institute Stating wirelessly may include WiFi, mobile network etc..
Further, the communication pattern between the source server 110 and the community server 120 is asynchronous communication mould Formula can either support the business of connection, and can support connectionless business, for various communication link forms, provide best Transmission environment, can be realized more satisfactory ground QoS (Quality of Service, service quality).
In the present embodiment, the asynchronous communications protocol can be uart agreement.In some other embodiments, described different Walking communication protocol can also be the agreements such as modem.
The source server 110 is used to store the upgrading data packet of firmware and believes the first upgrading of the upgrading data packet Breath is sent to the community server 120, wherein first upgrade information includes the download address of the upgrading data packet.
Specifically, the upgrading data packet of the firmware is stored in the source server 110.
After the upgrading data of the firmware upgraded are write and are compiled successfully by developer, and by the firmware The form of ascending series data packet accordingly is uploaded in source server 110, and the upgrading data are stored as by the source server 110 The upgrading data packet of the firmware.
Further, described " first upgrade information of upgrading data packet is sent to community server " includes:
The source server 110 receives the community server 120 is sent first and updates request, wherein described first Update the firmware version information that request includes the community server 120;The source server 110 is by the community server 120 firmware version information and the version information of the upgrading data packet compare;If the firmware of the community server 120 Version information and the version information of the upgrading data packet are inconsistent, then send first upgrade information to the community service Device 120;If the firmware version information of the community server 120 is consistent with the version information of the upgrading data packet, send Prompting message without new version is to the community server 120.
Specifically, 120 timing of community server sends first to the source server 110 and updates request, and described the The firmware version information of community server 120 and the ID of the community server 120 are carried in one update request.
The source server 110 believes the firmware version of the community server 120 after receiving the first update request Breath and the version information of upgrading data packet of storage compare, judge the community server 120 firmware version information and Whether the version information of the upgrading data packet of storage is consistent.
If the firmware version information of the community server 120 is consistent with the version information of the upgrading data packet of storage, say The upgrading data of newest firmware are stored in the bright community server 120, the source server 110 is according to the community The ID of server 120 sends the prompting message without new version to the community server 120.
If the version information of the upgrading data packet of the firmware version information and storage of the community server 120 is inconsistent, The version information for illustrating the local packets of the firmware stored in the community server 120 is not newest version information, The source server 110 sends the first upgrade information of the upgrading data packet to the community server 120, wherein described First upgrade information includes the download address of the upgrading data packet and the version information of the upgrading data packet.
Further, described " first upgrade information of upgrading data packet is sent to community server " includes:
The source server 110 sends version information acquisition instruction to the community server 120 every preset time, with Obtain the firmware version information of the community server 120;In the firmware version information and the liter of the community server 120 When the version information of grade data packet is inconsistent, first upgrade information is actively issued to the community server 120.
Specifically, the source server 110 sends version information to the community server 120 every preset time and obtains Instruction, to obtain the firmware version information stored in the community server 120.
After the firmware version information for getting the community server 120, the source server 110 takes the community The version information of the upgrading data packet of the firmware version information and storage of business device 120 compares, and judges the community server Whether 120 firmware version information and the version information of the upgrading data packet of storage are consistent, in consolidating for the community server 120 When part version information and the inconsistent version information of the upgrading data packet of storage, the source server 110 actively issues ascending series According to the first upgrade information of packet to the community server 120.
As shown in Fig. 2, the offline firmware upgrade system 100 further includes multiple terminal devices 130, each community's clothes Business device 120 can connect multiple terminal devices 130.
The terminal device 130 can be any equipment comprising firmware, such as intelligent door lock, intelligent electric meter, embedded set It is standby etc..
Network between the terminal device 130 and the community server 120 can be local area network, can by it is wired into Row connection, can also by being wirelessly attached, with when ambient network environment it is more stable.By be wirelessly attached when, institute Stating can be asynchronous communication model between terminal device 130 and the community server 120.
The community server 120 is used to download the upgrading data packet simultaneously according to the download address of the upgrading data packet Local packets are stored as, and the second upgrade information of the local packets is sent to an at least terminal device, wherein institute State the download address that the second upgrade information includes the local packets.
It is further, described that " community server 120 is used to download institute according to the download address of the upgrading data packet State upgrading data packet and be stored as local packets, and by the second upgrade information of the local packets be sent to it is described at least One terminal device 130 " includes:
The community server 120 is after receiving first upgrade information, according to the downloading of the upgrading data packet The upgrading data packet is downloaded to update the local packets of the firmware in address;The community server 120 receives the terminal and sets Standby 130 the second update requests sent, wherein described second updates the firmware version letter that request includes the terminal device 130 Breath;The community server 120 is by the version information of the firmware version information of the terminal device 130 and the local packets It compares;If the firmware version information of the terminal device 130 and the version information of the local packets are inconsistent, send out Send the second upgrade information to the terminal device 130;If the firmware version information of the terminal device 130 and the local data The version information of packet is consistent, then sends the prompting message without new version to the terminal device 130.
Specifically, the community server 120 is in the download address and the ascending series for receiving the upgrading data packet After the version information of packet, which is downloaded according to the download address of the upgrading data packet to update community's clothes The local packets of the firmware stored in business device 120.
Wherein, described " update the local packets of the firmware stored in the community server 120 " includes:
The community server 120 deletes all data packets relevant to the firmware of storage, then downloads the liter Grade data packet simultaneously stores.
Alternatively, the local data for the firmware that the community server 120 is updated storage according to the upgrading data packet of downloading Packet.
The terminal device 130 sends second to the community server 120 and updates request, wherein described second updates The ID of firmware version information and the terminal device 130 in request comprising the terminal device 130.
After the community server 120 receives the second update request, by the terminal device 130 Firmware version information and the version information of the local packets compare, to judge the firmware version of the terminal device 130 Whether this information is consistent with the version information of the local packets.
If the firmware version information of the terminal device 130 is consistent with the version information of the local packets, illustrate institute The version for stating the firmware stored in terminal device 130 is latest edition, and the community server 120 issues the prompt without new version Message is to the terminal device 130.
If the firmware version information of the terminal device and the version information of the local packets are inconsistent, described in explanation The version of the firmware stored in terminal device 130 is not latest edition, and the community server 120 sends the local packets The second upgrade information to the terminal device 130, wherein second upgrade information includes the downloading of the local packets Address.
It is further, described that " community server 120 is used to download institute according to the download address of the upgrading data packet State upgrading data packet and be stored as local packets, and by the second upgrade information of the local packets be sent to it is described at least One terminal device 130 " includes:
The community server 120 is after receiving first upgrade information, according to the downloading of the upgrading data packet The upgrading data packet is downloaded to update the local packets of the firmware in address;The community server 120 is sent out every preset time Send version information acquisition instruction to the terminal device 130, to obtain the firmware version information of the terminal device 130;Institute When the firmware version information of stating terminal device 130 and the inconsistent version information of the local packets, described the is actively issued Two upgrade informations are at least one described terminal device 120.
Specifically, the community server 120 is in the download address and the ascending series for receiving the upgrading data packet After the version information of packet, which is downloaded according to the download address of the upgrading data packet to update community's clothes The local packets of the firmware stored in business device 120.
The community server 120 sends version information acquisition instruction to the terminal device 130 every preset time, with Obtain the firmware version information of the terminal device 130.The consolidating the terminal device 130 of community server 120 Part version information and the version information of the local packets compare, to judge the firmware version of the terminal device 130 Whether information is consistent with the version information of the local packets.
In the firmware version information of the terminal device and the inconsistent version information of the local packets, illustrate institute The version for stating the firmware stored in terminal device 130 is not latest edition, and the community server 120 actively issues the local Second upgrade information of data packet is to the terminal device 130, wherein second upgrade information includes the local packets Download address.
The terminal device 130 is used to download the local packets according to the download address of the local packets, and The firmware is upgraded using the local packets.
Specifically, the terminal device 130 is after getting second upgrade information, according to the local packets Download address downloads the local packets, and will be in the Flash of the local packets programming of downloading to the terminal device.
The terminal device 130 can for it is any can with community server 120 carry out data communication to firmware upgrade Equipment.
Further, the upgrading data packet is downloaded in the community server 120, and under the terminal device 130 When carrying the local packets, used download protocol includes Http agreement, File Transfer Protocol and Wget agreement etc..
Further, the offline firmware upgrade system 100 further includes router.
Specifically, the source server 110 connects at least one community server 120.Each community server 120 connects At least one router.Each router connects at least one terminal device 130.The community server 120 and the terminal It is attached between equipment 130 by the router.
Embodiment 2
Fig. 3 shows a kind of flow diagram of offline firmware upgrade method provided in an embodiment of the present invention.This is solid offline Part upgrade method is applied to source server, community server and terminal device.The source server connects at least one community clothes Business device.Each community server connects at least one terminal device.
The offline firmware upgrade method includes the following steps:
Step S110, source server store the upgrading data packet of firmware and send the first upgrade information of upgrading data packet To community server.
Step S120, community server download upgrading data packet according to the download address of upgrading data packet and are stored as local Data packet, and the second upgrade information of local packets is sent to an at least terminal device.
Fig. 4 shows the flow diagram of another offline firmware upgrade method provided in an embodiment of the present invention.This is offline Firmware upgrade method is applied to source server, community server and terminal device.The source server connects at least one community Server.Each community server connects at least one terminal device.
The offline firmware upgrade method includes the following steps:
Step S210, source server store the upgrading data packet of firmware and send the first upgrade information of upgrading data packet To community server.
Step S220, community server download upgrading data packet according to the download address of upgrading data packet and are stored as local Data packet, and the second upgrade information of local packets is sent to an at least terminal device.
Step S230, terminal device downloads local packets according to the download address of local packets, and utilizes local number Firmware is upgraded according to packet.
Embodiment 3
Fig. 5 shows a kind of structural schematic diagram of offline device for upgrading firmware provided in an embodiment of the present invention.This is solid offline Part update device 200 is applied to source server, community server and terminal device.The source server connects at least one community Server.Each community server connects at least one terminal device.
The offline device for upgrading firmware 200 includes sending module 210 and download module 220.
Sending module 210 stores the upgrading data packet of firmware for source server and upgrades the first of upgrading data packet Information is sent to community server.
Download module 220 is downloaded upgrading data packet according to the download address of upgrading data packet for community server and is deposited Storage is local packets, and the second upgrade information of local packets is sent to an at least terminal device.
The present embodiment additionally provides a kind of computer storage medium, and the computer storage medium is stored with computer journey Sequence, the computer program are performed for executing the above-mentioned offline firmware upgrade method.
So far, the present invention provides a kind of offline firmware upgrade system and methods, between source server and terminal device Community server is set up, upgraded in offline, the community server that source server only needs face a small amount of are carried out to firmware by three-stage apparatus Downloading demand, greatly reduce the pressure and resource occupying of source server;Terminal device is carried out safely and effectively simultaneously Wireless remote firmware upgrade is saved without arriving the firmware upgrade that scene carries out each terminal device one by one by artificial mode Human cost improves upgrading efficiency;Community server and terminal device are in local area network, compared to wide area network, network rings Border is stablized, and speed of download is faster.
In several embodiments provided herein, it should be understood that disclosed device and method can also pass through Other modes are realized.The apparatus embodiments described above are merely exemplary, for example, flow chart and structure in attached drawing Figure shows the system frame in the cards of the device of multiple embodiments according to the present invention, method and computer program product Structure, function and operation.In this regard, each box in flowchart or block diagram can represent a module, section or code A part, a part of the module, section or code includes one or more for implementing the specified logical function Executable instruction.It should also be noted that function marked in the box can also be to be different from the implementation as replacement The sequence marked in attached drawing occurs.For example, two continuous boxes can actually be basically executed in parallel, they are sometimes It can execute in the opposite order, this depends on the function involved.It is also noted that in structure chart and/or flow chart The combination of each box and the box in structure chart and/or flow chart, can function or movement as defined in executing it is dedicated Hardware based system realize, or can realize using a combination of dedicated hardware and computer instructions.
In addition, each functional module or unit in each embodiment of the present invention can integrate one independence of formation together Part, be also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be intelligence Can mobile phone, personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or Part steps.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), Random access memory (RAM, Random Access Memory), magnetic or disk etc. be various to can store program code Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.

Claims (10)

1. a kind of offline firmware upgrade system, which is characterized in that including source server and community server:
The source server connects the community server;
The source server is used to store the upgrading data packet of firmware and sends the first upgrade information of the upgrading data packet To the community server, wherein first upgrade information includes the download address of the upgrading data packet;
The community server is used to download the upgrading data packet according to the download address of the upgrading data packet and be stored as Local packets, and the second upgrade information of the local packets is sent to an at least terminal device, wherein described second Upgrade information includes the download address of the local packets.
2. offline firmware upgrade system according to claim 1, which is characterized in that further include multiple terminal devices:
Each community server connects multiple terminal devices;
The terminal device is used to download the local packets according to the download address of the local packets, and described in utilization Local packets upgrade the firmware.
3. offline firmware upgrade system according to claim 2, which is characterized in that described " source server is for depositing Store up the upgrading data packet of firmware and first upgrade information of upgrading data packet be sent to community server " include:
The source server receives the community server is sent first and updates request, wherein described first updates request packet Include the firmware version information of the community server;
The source server carries out the firmware version information of the community server and the version information of the upgrading data packet Comparison;
If the firmware version information of the community server and the version information of the upgrading data packet are inconsistent, described in transmission First upgrade information is to the community server;
If the firmware version information of the community server is consistent with the version information of the upgrading data packet, send without new edition This prompting message is to the community server.
4. offline firmware upgrade system according to claim 3, which is characterized in that described " community server is used for The upgrading data packet is downloaded according to the download address of the upgrading data packet and is stored as local packets, and by the local Second upgrade information of data packet is sent to an at least terminal device " include:
The community server is downloaded after receiving first upgrade information according to the download address of the upgrading data packet The upgrading data packet is to update the local packets of the firmware;
The community server receives the terminal device is sent second and updates request, wherein described second updates request packet Include the firmware version information of the terminal device;
The community server carries out the firmware version information of the terminal device and the version information of the local packets Comparison;
If the firmware version information of the terminal device and the version information of the local packets are inconsistent, second liter is sent Grade information is to the terminal device;
If the firmware version information of the terminal device is consistent with the version information of the local packets, send without new version Prompting message to the terminal device.
5. offline firmware upgrade system according to claim 4, which is characterized in that described " source server is for depositing Store up the upgrading data packet of firmware and first upgrade information of upgrading data packet be sent to the community server " include:
The source server sends version information acquisition instruction to the community server, to obtain the society every preset time The firmware version information of area's server;
In the firmware version information of the community server and the inconsistent version information of the upgrading data packet, actively issue First upgrade information is to the community server.
6. offline firmware upgrade system according to claim 5, which is characterized in that described " community server is used for The upgrading data packet is downloaded according to the download address of the upgrading data packet and is stored as local packets, and by the local Second upgrade information of data packet is sent to an at least terminal device " include:
The community server is downloaded after receiving first upgrade information according to the download address of the upgrading data packet The upgrading data packet is to update the local packets of the firmware;
The community server sends version information acquisition instruction to the terminal device, to obtain the end every preset time The firmware version information of end equipment;
In the firmware version information of the terminal device and the inconsistent version information of the local packets, institute is actively issued The second upgrade information is stated to an at least terminal device.
7. offline firmware upgrade system according to claim 1, which is characterized in that the source server and community clothes Communication pattern between business device, between the community server and the terminal device includes asynchronous communication model.
8. offline firmware upgrade system according to claim 6, which is characterized in that the download protocol includes Http association View, File Transfer Protocol and Wget agreement.
9. offline firmware upgrade system according to claim 1, which is characterized in that further include at least one router, institute It states community server and is connect with the terminal device by the router.
10. a kind of offline firmware upgrade method, which is characterized in that it is applied to source server and community server, this method comprises:
First upgrade information of the upgrading data packet is simultaneously sent to institute by the upgrading data packet of the source server storage firmware State community server, wherein first upgrade information includes the download address of the upgrading data packet;
The community server downloads the upgrading data packet according to the download address of the upgrading data packet and is stored as local Data packet, and the second upgrade information of the local packets is sent to an at least terminal device, wherein second upgrading Information includes the download address of the local packets.
CN201811386889.6A 2018-11-20 2018-11-20 offline firmware upgrade system and method Pending CN109189460A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811386889.6A CN109189460A (en) 2018-11-20 2018-11-20 offline firmware upgrade system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811386889.6A CN109189460A (en) 2018-11-20 2018-11-20 offline firmware upgrade system and method

Publications (1)

Publication Number Publication Date
CN109189460A true CN109189460A (en) 2019-01-11

Family

ID=64940299

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811386889.6A Pending CN109189460A (en) 2018-11-20 2018-11-20 offline firmware upgrade system and method

Country Status (1)

Country Link
CN (1) CN109189460A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110096297A (en) * 2019-05-16 2019-08-06 上海纯米电子科技有限公司 For the method for internet of things equipment mass upgrade, update device under controllable environment
CN113301379A (en) * 2021-05-26 2021-08-24 广州方硅信息技术有限公司 Live broadcast list updating method, device, system and storage medium
CN113535209A (en) * 2021-09-13 2021-10-22 广州朗国电子科技股份有限公司 Interactive electronic whiteboard upgrading method and system
CN113721968A (en) * 2021-08-31 2021-11-30 杭州海康威视数字技术股份有限公司 Firmware upgrading method and device
CN114172756A (en) * 2021-12-06 2022-03-11 四川虹美智能科技有限公司 Version upgrading method and system for intelligent equipment electronic control firmware

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610501A (en) * 2009-07-16 2009-12-23 中兴通讯股份有限公司 Device firmware upgrade system and method, device management server and portable terminal
CN104699499A (en) * 2014-12-31 2015-06-10 青岛快乐视界数字传媒有限公司 Heterogeneous terminal software upgrading method
CN107239302A (en) * 2017-05-10 2017-10-10 努比亚技术有限公司 A kind of firmware upgrade method, terminal and server
CN107436756A (en) * 2016-05-26 2017-12-05 高德信息技术有限公司 One kind applies update method, server, terminal and system
CN107589956A (en) * 2017-10-24 2018-01-16 杨鲲 A kind of distributed priority mirror image page OTA firmware upgrade methods and system
CN107621937A (en) * 2017-08-16 2018-01-23 珠海格力电器股份有限公司 The methods, devices and systems of software program upgrading

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610501A (en) * 2009-07-16 2009-12-23 中兴通讯股份有限公司 Device firmware upgrade system and method, device management server and portable terminal
CN104699499A (en) * 2014-12-31 2015-06-10 青岛快乐视界数字传媒有限公司 Heterogeneous terminal software upgrading method
CN107436756A (en) * 2016-05-26 2017-12-05 高德信息技术有限公司 One kind applies update method, server, terminal and system
CN107239302A (en) * 2017-05-10 2017-10-10 努比亚技术有限公司 A kind of firmware upgrade method, terminal and server
CN107621937A (en) * 2017-08-16 2018-01-23 珠海格力电器股份有限公司 The methods, devices and systems of software program upgrading
CN107589956A (en) * 2017-10-24 2018-01-16 杨鲲 A kind of distributed priority mirror image page OTA firmware upgrade methods and system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110096297A (en) * 2019-05-16 2019-08-06 上海纯米电子科技有限公司 For the method for internet of things equipment mass upgrade, update device under controllable environment
CN113301379A (en) * 2021-05-26 2021-08-24 广州方硅信息技术有限公司 Live broadcast list updating method, device, system and storage medium
CN113721968A (en) * 2021-08-31 2021-11-30 杭州海康威视数字技术股份有限公司 Firmware upgrading method and device
CN113721968B (en) * 2021-08-31 2024-04-02 杭州海康威视数字技术股份有限公司 Firmware upgrading method and device
CN113535209A (en) * 2021-09-13 2021-10-22 广州朗国电子科技股份有限公司 Interactive electronic whiteboard upgrading method and system
CN114172756A (en) * 2021-12-06 2022-03-11 四川虹美智能科技有限公司 Version upgrading method and system for intelligent equipment electronic control firmware

Similar Documents

Publication Publication Date Title
CN109189460A (en) offline firmware upgrade system and method
CN105045611B (en) A kind of upgrade method and device
CN107367949B (en) Obtain the methods, devices and systems of product identification
CN102118447A (en) Resource management method and mobile terminal
US8830913B1 (en) Location-based software updates
CN102355500B (en) Service push method and device
CN104598286B (en) The Oftware updating method and device of mobile terminal
CN111786893B (en) method and device for synchronizing software versions of wireless routers in mesh networking
CN107483521A (en) A kind of information displaying method, apparatus and system
CN104954394A (en) Software differential packet production and update method, server, terminal and update system
CN104852971B (en) Plug-in protocol device and data communication method based on plug-in protocol
CN110764812B (en) Intelligent device, intelligent wearable device and software upgrading system and method thereof
CN103353845A (en) Method and device for uploading and pushing script
CN105553684B (en) A kind of communication system and its router upgrade method of application
CN114124917B (en) Remote upgrading method, equipment, system and medium for ground locking piece
CN104615448A (en) Software channel packet update method, management method and equipment
CN103716346A (en) Management method and device of application on android handset client
CN103259808A (en) Updating service delivery method and device
CN112596768B (en) Updating method and device of equipment, storage medium and electronic device
CN111158738A (en) Earphone firmware upgrading method and device and readable storage medium
CN104699499B (en) A kind of heterogeneous terminals method for upgrading software
CN111225056A (en) OTA-based intelligent door lock upgrading method and system
CN109471649A (en) The gray scale delivery system and method for firmware upgrade
CN107733974A (en) A kind of upgrade method of mobile terminal
CN105763461B (en) Router upgrade method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190111

RJ01 Rejection of invention patent application after publication