CN109656587A - A kind of upgrade method and device of equipment firmware - Google Patents
A kind of upgrade method and device of equipment firmware Download PDFInfo
- Publication number
- CN109656587A CN109656587A CN201811346688.3A CN201811346688A CN109656587A CN 109656587 A CN109656587 A CN 109656587A CN 201811346688 A CN201811346688 A CN 201811346688A CN 109656587 A CN109656587 A CN 109656587A
- Authority
- CN
- China
- Prior art keywords
- upgrade
- upgraded
- equipment
- multiple equipment
- firmware
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
Abstract
The embodiment of the present invention is suitable for information technology field, provides the upgrade method and device of a kind of equipment firmware, which comprises establish the communication connection between device management platform and multiple equipment;After receiving the firmware upgrade task for multiple target devices, the multiple target device is split as multiple equipment groups to be upgraded;The upgrade command for being directed to the multiple equipment group to be upgraded is generated respectively;Based on the communication connection between the device management platform and the multiple equipment, the upgrade command is sent to the multiple equipment group to be upgraded, indicates that each target device in the multiple equipment group to be upgraded carries out firmware upgrade according to the upgrade command.The present embodiment is upgraded respectively according to different groups by the way that target device to be upgraded is split into multiple groups, can satisfy the demand upgraded under high concurrent amount to multiple equipment, improve the efficiency and reliability of device upgrade.
Description
Technical field
The invention belongs to information technology fields, upgrade method, a kind of equipment firmware more particularly to a kind of equipment firmware
Update device, a kind of server and a kind of computer readable storage medium.
Background technique
In order to guarantee the normal operation of equipment, manpower that device manufacturer or equipment operator every year all can be costly, wealth
Power is arranged maintenance centre in different regions, by recruiting, training the plant maintenance personnel of profession, carrys out the maintenance workers of holding equipment
Make.The firmware upgrade of equipment just belongs to the one of which of maintenance work.
Traditional firmware upgrade mode needs plant maintenance personnel to carry serial ports tool and computer arrival device context, makes
Equipment and computer are connected with serial ports tool, by executing the operating process of a series of complex, by the firmware upgrade packet brush in computer
Enter in equipment to realize firmware upgrade.Traditional firmware upgrade mode needs to operate under plant maintenance personnel's line, and not only process is multiple
It is miscellaneous, it is also necessary to which that costly manpower, financial resources remove the upkeep operation under Support Line.Therefore, remote firmware updating just comes into being.
By the way of remote firmware updating, plant maintenance personnel only need logging device management system, are risen by remotely issuing one
Grade instruction, can be completed firmware upgrade.Do not need plant maintenance personnel reach device context, save a large amount of human cost and
Transportation cost.
But being continuously increased with number of devices, bulk device is carried out using existing remote firmware updating mode
When upgrading, it is also easy to appear the problems such as escalation process is slow, occupancy resource is excessive, it is especially in the case of high concurrency, existing
Technology is even more the safety and reliability that not can guarantee during device upgrade.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of upgrade method of equipment firmware and device, to solve existing skill
Safety and reliability lower problem when using remote firmware updating in art.
The first aspect of the embodiment of the present invention provides a kind of upgrade method of equipment firmware, comprising:
Establish the communication connection between device management platform and multiple equipment;
After receiving the firmware upgrade task for multiple target devices, the multiple target device is split as multiple
Equipment group to be upgraded;
The upgrade command for being directed to the multiple equipment group to be upgraded is generated respectively;
Based on the communication connection between the device management platform and the multiple equipment, the upgrade command is sent to
The multiple equipment group to be upgraded indicates each target device in the multiple equipment group to be upgraded according to the upgrade command
Carry out firmware upgrade.
The second aspect of the embodiment of the present invention provides a kind of update device of equipment firmware, comprising:
Module is established, for establishing the communication connection between device management platform and multiple equipment;
Module is split, for after the firmware upgrade task for multiple target devices that receives, by the multiple target
Disassembled asset is multiple equipment groups to be upgraded;
Generation module, for generating the upgrade command for the multiple equipment group to be upgraded respectively;
Indicating module will be described for based on the communication connection between the device management platform and the multiple equipment
Upgrade command is sent to the multiple equipment group to be upgraded, indicates that each target device in the multiple equipment group to be upgraded is pressed
Firmware upgrade is carried out according to the upgrade command.
The third aspect of the embodiment of the present invention provides a kind of server, including memory, processor and is stored in institute
The computer program that can be run in memory and on the processor is stated, the processor executes real when the computer program
The step of upgrade method of existing above equipment firmware.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage
Media storage has computer program, and the upgrade method of above equipment firmware is realized when the computer program is executed by processor
Step.
Compared with prior art, the embodiment of the present invention includes following advantages:
The embodiment of the present invention can received by establishing the communication connection between device management platform and multiple equipment
To after for the firmware upgrade task of multiple target devices, above-mentioned multiple target devices are split as multiple equipment groups to be upgraded,
And the upgrade command for being directed to multiple equipment groups to be upgraded is generated respectively, it is then possible to be based on device management platform and multiple equipment
Between communication connection, which is sent to multiple equipment groups to be upgraded, is indicated each in multiple equipment groups to be upgraded
A target device carries out firmware upgrade according to above-mentioned upgrade command.The present embodiment is more by splitting into target device to be upgraded
A group is upgraded respectively according to different groups, can satisfy the need upgraded under high concurrent amount to multiple equipment
It asks, improves the efficiency and reliability of device upgrade.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described.It should be evident that the accompanying drawings in the following description is only of the invention some
Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is a kind of step flow diagram of the upgrade method of equipment firmware of one embodiment of the invention;
Fig. 2 is the step flow diagram of the upgrade method of another equipment firmware of one embodiment of the invention;
Fig. 3 is a kind of schematic diagram of the update device of equipment firmware of one embodiment of the invention;
Fig. 4 is a kind of schematic diagram of server of one embodiment of the invention.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed
Body details, to understand thoroughly the embodiment of the present invention.It should be apparent, however, to those skilled in the art that there is no these specific thin
The present invention also may be implemented in the other embodiments of section.In other cases, it omits to well-known system, device, circuit
And the detailed description of method, in case unnecessary details interferes description of the invention.
Illustrate technical solution of the present invention below by specific embodiment.
Referring to Fig.1, a kind of step process signal of the upgrade method of equipment firmware of one embodiment of the invention is shown
Figure, can specifically include following steps:
S101, communication connection between device management platform and multiple equipment is established;
It should be noted that the executing subject of this method can be the server in device management platform.
Device management platform is the platform being managed collectively to bulk device, which can provide one or more use
Family interface, administrative staff may be implemented the management to bulk device, such as set by carrying out a series of operation on a user interface
The acquisition of standby data, summarize, upgrade command issues etc..
In embodiments of the present invention, above equipment can be charging pile, mobile phone, automobile, smart home device, street lamp etc.
Usually all there is unique EIC equipment identification code Deng, these equipment, device management platform can also be by these EIC equipment identification codes only
One ground determines an equipment.The present embodiment is not construed as limiting the concrete type of equipment.
In embodiments of the present invention, equipment after actuation, can pass through TCP (Transmission Control
Protocol, transmission control protocol) link, it establishes and communicates to connect with device management platform.
S102, after the firmware upgrade task for multiple target devices that receives, the multiple target device is split
For multiple equipment groups to be upgraded;
In embodiments of the present invention, target device can refer to equipment to be upgraded.Target device to be upgraded can be
It is selected in device management platform by administrative staff.
In general, each equipment all carries respective essential information, including unique EIC equipment identification code, region letter
Breath, the information such as affiliated product line or type.
Therefore, in the concrete realization, administrative staff can determine which is currently to carry out firmware upgrade from multiple dimensions
Target device.For example, can be according to the region belonging to equipment, or according to the version section of equipment, it can also be according to equipment
Affiliated product line is selected.
In embodiments of the present invention, in order to prevent equipment upgrade package server is caused when downloading firmware upgrade packet it is excessive
Pressure, after determining target device, can according to the quantity of target device to be upgraded, by target device be split as it is multiple to
Updating apparatus group, so that including the roughly equal target device of quantity in each equipment group to be upgraded.
S103, the upgrade command for being directed to the multiple equipment group to be upgraded is generated respectively;
In embodiments of the present invention, the upgrade command for each target device can be according to administrative staff in equipment pipe
What the operational order triggering in platform generated.
After determining target device and being split as multiple equipment groups to be upgraded, administrative staff can be in device management platform
Operation is carried out in user interface issues upgrade command.It may include the size, download address and liter of upgrade package in the upgrade command
The grade time.
The size of upgrade package has recorded the storage size of the upgrade package for carrying out this firmware upgrade, can help equipment
Determine whether that enough memory spaces carry out this firmware upgrade;The download address of upgrade package is then to have recorded depositing for upgrade package
Path is stored up, target device can get upgrade package from the path;And update time then indicate equipment should when into
This upgrading of row.
S104, based on the communication connection between the device management platform and the multiple equipment, by the upgrade command
It is sent to the multiple equipment group to be upgraded, indicates each target device in the multiple equipment group to be upgraded according to the liter
Grade instruction carries out firmware upgrade.
In embodiments of the present invention, after device management platform generates upgrade command, above-mentioned upgrade command can be sent out respectively
Each target device into equipment group to be upgraded is sent, indicates that each target device carries out firmware according to the requirement of the upgrade command
Upgrading.
It in the concrete realization, can according to the downloading recorded in upgrade command after target device receives upgrade command
Upgrade package is initiatively downloaded in specified update time in location from upgrade package server.Then, integrality school is carried out to upgrade package
It tests, after the completion of to be verified, upgrade package rewriting equipment flash can be used, and (one kind of storage chip, rewriteeing flash is to rise
The detailed process of grade), to complete the upgrading to equipment firmware.
In embodiments of the present invention, by establishing the communication connection between device management platform and multiple equipment, Ke Yi
After receiving the firmware upgrade task for multiple target devices, above-mentioned multiple target devices are split as multiple equipment to be upgraded
Group, and the upgrade command for being directed to multiple equipment groups to be upgraded is generated respectively, it is then possible to be set based on device management platform with multiple
The upgrade command is sent to multiple equipment groups to be upgraded, indicated in multiple equipment groups to be upgraded by the communication connection between standby
Each target device carries out firmware upgrade according to above-mentioned upgrade command.The present embodiment is by splitting into target device to be upgraded
Multiple groups are upgraded respectively according to different groups, be can satisfy and are upgraded under high concurrent amount to multiple equipment
Demand improves the efficiency and reliability of device upgrade.
Referring to Fig. 2, the step process for showing the upgrade method of another equipment firmware of one embodiment of the invention is shown
It is intended to, can specifically include following steps:
S201, communication connection between device management platform and multiple equipment is established;
It should be noted that the executing subject of this method can be the server in device management platform, above equipment pipe
Platform can be the platform being managed collectively to bulk device.Equipment in the present embodiment can be electric car charging
Stake, mobile phone, automobile, street lamp, smart home device etc., the present embodiment is not construed as limiting this.
In embodiments of the present invention, equipment after actuation, can be linked by TCP, be communicated with device management platform foundation
Connection.
In general, programming language used in the programming language and device management platform of hardware device may be different, two
Interaction can not be done directly between person.It is programmed for example, java language can be used in device management platform, and hardware device is then
It is to be programmed using other voices, hardware device and device management platform cannot be done directly interaction.
In embodiments of the present invention, in order to meet actual demand, one can be configured between device management platform and equipment
Access platform, the major responsibility of the access platform, which can be, does unified conversion to java language to the programming language of hardware device,
Guarantee the pure of device management platform programming language, improves the data-handling capacity of platform.
In embodiments of the present invention, device management platform can receive the login of the multiple equipment forwarded by access platform
Then request establishes the communication connection between multiple equipment for above-mentioned logging request respectively.
In the concrete realization, by taking the sequence that equipment logs in as an example, the above process can be indicated are as follows: hardware device initiates to log in
Request, by MQTT (Message Queuing Telemetry Transport, message queue telemetering transmission) agreement or
Logging request message is reported to access platform by RPC (Remote Procedure Call, remote procedure call) agreement, waiting
After entering platform parsing, the logging request message can be converted to the form that java can be identified, be pushed away by message-oriented middleware
It send to device management platform.Device management platform is after parsing above-mentioned logging request message, by synchronizing information data,
It can establish the communication connection between platform and equipment.
It should be noted that according to the difference of device programming mode, the used association when reporting logging request message
View may also be different, it is not limited to which above-mentioned MQTT agreement or RPC agreement, the present embodiment report logging request message to equipment
When used protocol type be not construed as limiting.
In embodiments of the present invention, after establishing the communication connection between device management platform and equipment, equipment management is flat
Platform can also receive the heartbeat message that above-mentioned multiple equipment is sent respectively.
Specifically, after establishing communication connection with device management platform, each equipment can be according to certain frequency to equipment
It manages platform and sends heartbeat message, so that device management platform thinks that equipment is stablized online.It may include current in heartbeat message
Heart time and current device state can maintain the communication between device management platform and multiple equipment by the heartbeat message
Connection.
S202, after the firmware upgrade task for multiple target devices that receives, the multiple target device is split
For multiple equipment groups to be upgraded;
In embodiments of the present invention, target device can refer to equipment to be upgraded.Target device to be upgraded can be
It is selected in device management platform by administrative staff.
In the concrete realization, it after receiving the firmware upgrade task for multiple target devices, can determine first more
Then the total quantity of a target device is required according to the total quantity of multiple target devices and pre-set upgrading resource bearing,
Above-mentioned multiple target devices are split as multiple equipment groups to be upgraded.
Target device to be upgraded, which split, can prevent equipment when downloading firmware upgrade packet to upgrade package service
Device causes excessive pressure, influences upgrading safety.
S203, the upgrade package for being directed to the multiple target device is obtained;
In embodiments of the present invention, the upgrade package of each target device to be upgraded can be by administrative staff in equipment pipe
It creates in platform and uploads.
Management platform can parse the upgrade package after the upgrade package for receiving administrative staff's upload, identify
The information such as title, the version number of upgrade package.
It should be noted that administrative staff are during uploading upgrade package, while creating upgrade package management function.By
It can also be carried out according to product type when each equipment is distinguished according to product type, and upgrade package is uploaded
It passes.Upgrade package needed for equipment under identical product type be all it is identical, it is all types of under upgrade package individually manage, can be with this
Guarantee that product type will not be confused, each equipment can also be upgraded according to place product type in upgrading, work as upgrading
After instruction issues, each equipment can also carry out a variety of verifications according to the information of selected upgrade package, determine the matching of upgrade package.
S204, the upgrade package of the multiple target device stored to upgrade package server respectively;
In general, upgrade package downloading belongs to intermittent highly energy-consuming service, in order to guarantee the high-performance and Gao Ke of operation system
With needing to split the downloading of upgrade package with data processing.
Therefore, in embodiments of the present invention, upgrade package service and device management platform can be separate configurations, independent progress
Storage, Each performs its own functions for the two, is associated by the database information of maintenance.
Upgrade package is uploaded in administrative staff, and after being parsed by device management platform to the upgrade package, equipment management is flat
Platform can store upgrade package to upgrade package server, to handle the data of magnanimity business using device management platform as one
Processing center only saves corresponding store path without storing upgrade file in the platform of oneself, as upgrading task
Control centre.
S205, the corresponding upgrading package informatin of the multiple target device is determined, the upgrade package information includes upgrade package
Size, download address and update time;
In embodiments of the present invention, administrative staff can be triggered by device management platform and generate upgrade command.
In the concrete realization, device management platform can determine the corresponding upgrading package informatin of each target device first, on
State the size, download address and update time that upgrading package informatin may include upgrade package.
The download address of upgrade package has recorded the store path of upgrade package, and update time then indicate equipment should be at what
This upgrading of Shi Jinhang.
The present embodiment transmits to keep business gently simple using address, can promote whole service performance.
Upgrade package downloading is the behavior for needing to consume server bandwidth and memory, if primary upgrading amount is excessive, it is necessary to
The hardware resource of superelevation configures.But upgrade service is a periodic behavior, a large amount of wasting of resources is be easy to cause, both
Operating experience is not influenced, and does not influence service performance, it, can be according to the need of portfolio in the case where can also cutting operating costs
It asks, adjusts fragmentation threshold, by determining that update time is in batches downloaded and upgraded, guarantee the stable operation serviced and client
Close friend's experience.
S206, the size, download address and update time of the upgrade package are packaged into upgrade command;
In embodiments of the present invention, it after the information such as the size, download address and update time for determining upgrade package, can incite somebody to action
Above- mentioned information are packaged into a upgrade command message, then execute step S207, which is sent to each target and is set
It is standby.
S207, the upgrade command is sent to each target device in the multiple equipment group to be upgraded, indicates institute
Each target device is stated to download upgrade package from the download address according to the upgrade command and consolidated in the update time
Part upgrading.
In embodiments of the present invention, device management platform can based on the device management platform established in step s 201 with
Upgrade command is sent each target device by communication connection between each equipment.
After target device receives upgrade command, according to the download address of upgrade package, actively drawn in specified update time
Take the upgrade package in upgrade package server.To be downloaded to after upgrade package, target device carries out completeness check to it first, verification
By rear, new upgrade package can be used to rewrite flash, complete the firmware upgrade of target device.
In embodiments of the present invention, by separate configurations device management platform and upgrade package server, by operation system with
The downloading of upgrade package, which is split, to be come, and can prevent equipment from causing when downloading firmware upgrade packet to operation system by database
Big pressure guarantees service security.
It should be noted that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment,
The execution sequence of each process should be determined by its function and internal logic, and the implementation process without coping with the embodiment of the present invention, which is constituted, appoints
What is limited.
Referring to Fig. 3, a kind of schematic diagram of the update device of equipment firmware of one embodiment of the invention is shown, specifically may be used
To include following module:
Module 301 is established, for establishing the communication connection between device management platform and multiple equipment;
Module 302 is split, for after the firmware upgrade task for multiple target devices that receives, by the multiple mesh
Marking device is split as multiple equipment groups to be upgraded;
Generation module 303, for generating the upgrade command for the multiple equipment group to be upgraded respectively;
Indicating module 304, for based on the communication connection between the device management platform and the multiple equipment, by institute
It states upgrade command and is sent to the multiple equipment group to be upgraded, indicate each target device in the multiple equipment group to be upgraded
Firmware upgrade is carried out according to the upgrade command.
In embodiments of the present invention, the module 301 of establishing can specifically include following submodule:
Logging request receiving submodule, for receiving the logging request of the multiple equipment forwarded by access platform;
Setting up submodule is communicated to connect, it is logical between the multiple equipment for being established respectively for the logging request
Letter connection;
Heartbeat message receiving submodule, the heartbeat message sent for receiving the multiple equipment respectively, the heartbeat report
Text may include current heartbeat time and current device state, and the heartbeat message is for maintaining the device management platform and institute
State the communication connection between multiple equipment.
In embodiments of the present invention, the fractionation module 302 can specifically include following submodule:
Target device quantity determines submodule, for after the firmware upgrade task for multiple target devices that receives,
Determine the total quantity of the multiple target device;
Target device splits submodule, for according to the total quantity of the multiple target device and pre-set upgrading money
The multiple target device is split as multiple equipment groups to be upgraded by source bearing requirements.
In embodiments of the present invention, described device can also include following module:
Upgrade package obtains module, for obtaining the upgrade package for being directed to the multiple target device;
Upgrade package memory module, for respectively storing the upgrade package of the multiple target device to upgrade package server.
In embodiments of the present invention, the upgrade package server and the device management platform can be with separate configurations.
In embodiments of the present invention, the generation module 303 can specifically include following submodule:
Upgrading package informatin determines submodule, for determining the corresponding upgrading package informatin of the multiple target device, the liter
Grade package informatin may include the size, download address and update time of upgrade package;
Upgrade command encapsulates submodule, for the size, download address and update time of the upgrade package to be packaged into liter
Grade instruction.
In embodiments of the present invention, the indicating module 304 can specifically include following submodule:
Upgrade command sending submodule, it is each in the multiple equipment group to be upgraded for the upgrade command to be sent to
A target device;
Firmware upgrade indicates submodule, is used to indicate each target device according to the upgrade command from the downloading
It downloads upgrade package and carries out firmware upgrade in the update time in address.
For device embodiment, since it is basically similar to the method embodiment, related so describing fairly simple
Place referring to embodiment of the method part explanation.
Referring to Fig. 4, a kind of schematic diagram of server of one embodiment of the invention is shown.As shown in figure 4, the present embodiment
Server 400 include: processor 410, memory 420 and be stored in the memory 420 and can be in the processor
The computer program 421 run on 410.The processor 410 realizes above equipment firmware when executing the computer program 421
The each embodiment of upgrade method in step, such as step S101 to S104 shown in FIG. 1.Alternatively, the processor 410 is held
The function of each module/unit in above-mentioned each Installation practice, such as module shown in Fig. 3 are realized when the row computer program 421
301 to 304 function.
Illustratively, the computer program 421 can be divided into one or more module/units, it is one or
Multiple module/the units of person are stored in the memory 420, and are executed by the processor 410, to complete the present invention.Institute
Stating one or more module/units can be the series of computation machine program instruction section that can complete specific function, the instruction segment
It can be used for describing implementation procedure of the computer program 421 in the server 400.For example, the computer program
421 can be divided into establish module, split module, generation module and indicating module, each module concrete function it is as follows:
Module is established, for establishing the communication connection between device management platform and multiple equipment;
Module is split, for after the firmware upgrade task for multiple target devices that receives, by the multiple target
Disassembled asset is multiple equipment groups to be upgraded;
Generation module, for generating the upgrade command for the multiple equipment group to be upgraded respectively;
Indicating module will be described for based on the communication connection between the device management platform and the multiple equipment
Upgrade command is sent to the multiple equipment group to be upgraded, indicates that each target device in the multiple equipment group to be upgraded is pressed
Firmware upgrade is carried out according to the upgrade command.
The server 400 can be the calculating such as desktop PC, notebook, palm PC and cloud server and set
It is standby.The server 400 may include, but be not limited only to, processor 410, memory 420.It will be understood by those skilled in the art that
Fig. 4 is only a kind of example of server 400, does not constitute the restriction to server 400, may include more or more than illustrating
Few component perhaps combines certain components or different components, such as the server 400 can also include input and output
Equipment, network access equipment, bus etc..
The processor 410 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng.
The memory 420 can be the internal storage unit of the server 400, for example, server 400 hard disk or
Memory.The memory 420 is also possible to the External memory equipment of the server 400, such as is equipped on the server 400
Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card,
Flash card (Flash Card) etc..Further, the memory 420 can also both include the inside of the server 400
Storage unit also includes External memory equipment.The memory 420 is for storing the computer program 421 and the service
Other programs and data needed for device 400.The memory 420, which can be also used for temporarily storing, have been exported or will be defeated
Data out.
Those skilled in the art can be understood that, for convenience of description and succinctly, only with above-mentioned each function
The division of unit, module is illustrated.In practical application, it can according to need and by above-mentioned function distribution by different function
Energy unit, module are completed, i.e., described device/terminal device internal structure is divided into different functional unit or module, with
Complete all or part of function described above.Each functional unit in embodiment, module can integrate single in a processing
In member, it is also possible to each unit and physically exists alone, can also be integrated in one unit with two or more units, on
It states integrated unit both and can take the form of hardware realization, can also realize in the form of software functional units.In addition, each
Functional unit, module specific name be also only for convenience of distinguishing each other, the protection scope being not intended to restrict the invention.On
The specific work process for stating unit in system, module, can refer to corresponding processes in the foregoing method embodiment, no longer superfluous herein
It states.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment
The part of load, reference can be made to the related descriptions of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method, it can be with
It realizes in other way.For example, device described above/terminal device embodiment is only schematical, for example, institute
The division of module or unit is stated, only a kind of logical function partition, there may be another division manner in actual implementation, such as
Multiple units or components can be combined or can be integrated into another system, or some features can be ignored or not executed.Separately
On the one hand, shown or discussed mutual coupling or direct-coupling or communication connection can be through some interfaces, dress
It sets or the INDIRECT COUPLING or communication connection of unit, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or
In use, can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-mentioned implementation
All or part of the process in example method, can also instruct relevant hardware to complete, the calculating by computer program
Machine program can be stored in computer readable storage medium, and the computer program is when being executed by processor, it can be achieved that above-mentioned each
The step of a embodiment of the method.Wherein, the computer program includes computer program code, and the computer program code can
Think source code form, object identification code form, executable file or certain intermediate forms etc..The computer readable storage medium
It may include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic that can carry the computer program code
Dish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described
It is appropriate that the content that computer readable storage medium includes can be carried out according to the requirement made laws in jurisdiction with patent practice
Increase and decrease, such as do not include electric carrier wave according to legislation and patent practice, computer readable storage medium in certain jurisdictions
Signal and telecommunication signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations.Although referring to aforementioned reality
Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all
It is included within protection scope of the present invention.
Claims (10)
1. a kind of upgrade method of equipment firmware characterized by comprising
Establish the communication connection between device management platform and multiple equipment;
After receiving the firmware upgrade task for multiple target devices, the multiple target device is split as multiple wait rise
Grade equipment group;
The upgrade command for being directed to the multiple equipment group to be upgraded is generated respectively;
Based on the communication connection between the device management platform and the multiple equipment, the upgrade command is sent to described
Multiple equipment groups to be upgraded indicate that each target device in the multiple equipment group to be upgraded is carried out according to the upgrade command
Firmware upgrade.
2. the method according to claim 1, wherein described establish between device management platform and multiple equipment
The step of communication connection includes:
Device management platform receives the logging request of the multiple equipment forwarded by access platform;
Device management platform establishes the communication connection between the multiple equipment for the logging request respectively;
Device management platform receives the heartbeat message that the multiple equipment is sent respectively, when the heartbeat message includes current heartbeat
Between and current device state, the heartbeat message be used to maintain communication between the device management platform and the multiple equipment
Connection.
3. the method according to claim 1, wherein described receiving the firmware liter for multiple target devices
After grade task, the step of the multiple target device is split as multiple equipment groups to be upgraded, includes:
After receiving the firmware upgrade task for multiple target devices, the total quantity of the multiple target device is determined;
According to the total quantity of the multiple target device and the requirement of pre-set upgrading resource bearing, the multiple target is set
It is standby to be split as multiple equipment groups to be upgraded.
4. according to the method described in claim 3, it is characterized in that, being directed to the multiple equipment to be upgraded in described generate respectively
Before the step of upgrade command of group, further includes:
Obtain the upgrade package for being directed to the multiple target device;
The upgrade package of the multiple target device is stored to upgrade package server respectively.
5. according to the method described in claim 4, it is characterized in that, the upgrade package server and the device management platform are only
Vertical configuration.
6. the method according to claim 1, wherein described generate respectively is directed to the multiple equipment group to be upgraded
Upgrade command the step of include:
Determine the corresponding upgrading package informatin of the multiple target device, the upgrade package information includes the size of upgrade package, downloading
Address and update time;
The size, download address and update time of the upgrade package are packaged into upgrade command.
7. according to the method described in claim 6, it is characterized in that, it is described the upgrade command is sent to it is the multiple wait rise
Grade equipment group indicates that each target device in the multiple equipment group to be upgraded carries out firmware upgrade according to the upgrade command
The step of include:
The upgrade command is sent to each target device in the multiple equipment group to be upgraded;
Indicate each target device according to the upgrade command from download address downloading upgrade package and in the upgrading
Time carries out firmware upgrade.
8. a kind of update device of equipment firmware characterized by comprising
Module is established, for establishing the communication connection between device management platform and multiple equipment;
Module is split, for after the firmware upgrade task for multiple target devices that receives, by the multiple target device
It is split as multiple equipment groups to be upgraded;
Generation module, for generating the upgrade command for the multiple equipment group to be upgraded respectively;
Indicating module, for based on the communication connection between the device management platform and the multiple equipment, by the upgrading
Instruction is sent to the multiple equipment group to be upgraded, indicates each target device in the multiple equipment group to be upgraded according to institute
It states upgrade command and carries out firmware upgrade.
9. a kind of server, including memory, processor and storage can transport in the memory and on the processor
Capable computer program, which is characterized in that the processor is realized when executing the computer program as claim 1-7 is any
The step of upgrade method of the item equipment firmware.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In the upgrade method of realization equipment firmware as described in claim any one of 1-7 when the computer program is executed by processor
The step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811346688.3A CN109656587A (en) | 2018-11-13 | 2018-11-13 | A kind of upgrade method and device of equipment firmware |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811346688.3A CN109656587A (en) | 2018-11-13 | 2018-11-13 | A kind of upgrade method and device of equipment firmware |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109656587A true CN109656587A (en) | 2019-04-19 |
Family
ID=66110897
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811346688.3A Pending CN109656587A (en) | 2018-11-13 | 2018-11-13 | A kind of upgrade method and device of equipment firmware |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109656587A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110134420A (en) * | 2019-05-22 | 2019-08-16 | 上海诺雅克电气有限公司 | Firmware upgrade method and system based on cloud platform |
CN110175042A (en) * | 2019-06-04 | 2019-08-27 | 深圳云里物里科技股份有限公司 | A kind of firmware upgrade method, device and its relevant device |
CN111026423A (en) * | 2019-12-09 | 2020-04-17 | 深信服科技股份有限公司 | Software upgrading method, device, equipment and storage medium |
CN111124452A (en) * | 2019-12-24 | 2020-05-08 | 宁波三星医疗电气股份有限公司 | Software upgrading method and device for instrument, instrument and storage medium |
CN112328278A (en) * | 2020-10-26 | 2021-02-05 | 浙江大华技术股份有限公司 | Method, platform and storage medium for installing and upgrading equipment in network |
CN112905212A (en) * | 2021-03-25 | 2021-06-04 | 成都纵横自动化技术股份有限公司 | Firmware data processing method, device, equipment and storage medium |
CN113132154A (en) * | 2021-03-23 | 2021-07-16 | 北京网聚云联科技有限公司 | eBPF technology-based containerized application smooth upgrading method and system |
CN113141263A (en) * | 2020-01-02 | 2021-07-20 | 广东博智林机器人有限公司 | Upgrading method, device, system and storage medium |
CN115426261A (en) * | 2022-08-15 | 2022-12-02 | 江阴市富仁智能科技有限公司 | Remote upgrading method for equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050144614A1 (en) * | 2000-12-06 | 2005-06-30 | Intel Corporation, A California Corporation | Upgrading a device over a network |
CN105187262A (en) * | 2015-10-27 | 2015-12-23 | 上海斐讯数据通信技术有限公司 | Router upgrading method and system |
CN105704234A (en) * | 2016-03-23 | 2016-06-22 | 浙江风向标科技有限公司 | Control method and apparatus for intelligent device |
CN106713053A (en) * | 2017-02-19 | 2017-05-24 | 郑州云海信息技术有限公司 | Method and device for batch updating server firmware based on Linux |
CN107104836A (en) * | 2017-05-04 | 2017-08-29 | 深圳市欧瑞博电子有限公司 | The firmware upgrade method and device of Zigbee equipment |
CN107306275A (en) * | 2016-04-18 | 2017-10-31 | 中兴通讯股份有限公司 | The method and NM server of a kind of multicast upgrading terminal system |
CN107579863A (en) * | 2017-10-17 | 2018-01-12 | 锐捷网络股份有限公司 | Terminal OTA upgrade methods, apparatus and system |
-
2018
- 2018-11-13 CN CN201811346688.3A patent/CN109656587A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050144614A1 (en) * | 2000-12-06 | 2005-06-30 | Intel Corporation, A California Corporation | Upgrading a device over a network |
CN105187262A (en) * | 2015-10-27 | 2015-12-23 | 上海斐讯数据通信技术有限公司 | Router upgrading method and system |
CN105704234A (en) * | 2016-03-23 | 2016-06-22 | 浙江风向标科技有限公司 | Control method and apparatus for intelligent device |
CN107306275A (en) * | 2016-04-18 | 2017-10-31 | 中兴通讯股份有限公司 | The method and NM server of a kind of multicast upgrading terminal system |
CN106713053A (en) * | 2017-02-19 | 2017-05-24 | 郑州云海信息技术有限公司 | Method and device for batch updating server firmware based on Linux |
CN107104836A (en) * | 2017-05-04 | 2017-08-29 | 深圳市欧瑞博电子有限公司 | The firmware upgrade method and device of Zigbee equipment |
CN107579863A (en) * | 2017-10-17 | 2018-01-12 | 锐捷网络股份有限公司 | Terminal OTA upgrade methods, apparatus and system |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110134420A (en) * | 2019-05-22 | 2019-08-16 | 上海诺雅克电气有限公司 | Firmware upgrade method and system based on cloud platform |
CN110134420B (en) * | 2019-05-22 | 2023-11-24 | 上海诺雅克电气有限公司 | Firmware upgrading method and system based on cloud platform |
CN110175042A (en) * | 2019-06-04 | 2019-08-27 | 深圳云里物里科技股份有限公司 | A kind of firmware upgrade method, device and its relevant device |
CN111026423A (en) * | 2019-12-09 | 2020-04-17 | 深信服科技股份有限公司 | Software upgrading method, device, equipment and storage medium |
CN111124452A (en) * | 2019-12-24 | 2020-05-08 | 宁波三星医疗电气股份有限公司 | Software upgrading method and device for instrument, instrument and storage medium |
CN113141263A (en) * | 2020-01-02 | 2021-07-20 | 广东博智林机器人有限公司 | Upgrading method, device, system and storage medium |
CN113141263B (en) * | 2020-01-02 | 2022-09-27 | 广东博智林机器人有限公司 | Upgrading method, device, system and storage medium |
CN112328278A (en) * | 2020-10-26 | 2021-02-05 | 浙江大华技术股份有限公司 | Method, platform and storage medium for installing and upgrading equipment in network |
CN113132154A (en) * | 2021-03-23 | 2021-07-16 | 北京网聚云联科技有限公司 | eBPF technology-based containerized application smooth upgrading method and system |
CN112905212A (en) * | 2021-03-25 | 2021-06-04 | 成都纵横自动化技术股份有限公司 | Firmware data processing method, device, equipment and storage medium |
CN115426261A (en) * | 2022-08-15 | 2022-12-02 | 江阴市富仁智能科技有限公司 | Remote upgrading method for equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109656587A (en) | A kind of upgrade method and device of equipment firmware | |
US9929906B2 (en) | Data collection system having EIR terminal interface node | |
US10721312B2 (en) | Orchestration and management of services to deployed devices | |
CN102118430B (en) | Cloud is combined and is namely served | |
CN108733380A (en) | Using dispositions method and device | |
CN109858607A (en) | A kind of application method, management method, system and server | |
CN111343020A (en) | Unified management method and device for multi-protocol Internet of things equipment | |
CN104508625A (en) | Abstraction models for monitoring of cloud resources | |
CN104484187A (en) | Information integration method and information integration system | |
CN111208992A (en) | System scheduling workflow generation method and system | |
CN106921704A (en) | Tax-control terminal Internet of Things network control method and system | |
CN109684038A (en) | Processing method, device and the electronic equipment of Docker service container log | |
CN110011875A (en) | Dial testing method, device, equipment and computer readable storage medium | |
CN114124917A (en) | Remote upgrading method, equipment, system and medium for ground lock firmware | |
CN108459863A (en) | Electrically-charging equipment method for upgrading software, device, equipment, system and storage medium | |
CN110109684A (en) | Block chain node administration agent services installation method, electronic device and storage medium | |
CN101420787B (en) | Device for communicating in multiple modes using multi-mode applications | |
CN110535919B (en) | Network access method and device of concentrator and power peak regulation system | |
CN104240048A (en) | Comprehensive order handling platform | |
CN202856788U (en) | Remote control system for mobile terminal | |
CN113296987B (en) | Interface calling method and device for calling module, computer equipment and storage medium | |
CN109858905A (en) | The electronic certificate processing method and processing device of cross-system | |
CN109688174A (en) | A kind of virtual service implementation method and device based on more agents service | |
CN102637271A (en) | Cargo allocation and dispatch management system based on cloud computation | |
CN102385514A (en) | Method, equipment and system for conducting management operation on software in centralized way |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190419 |