CN108170450A - The upgrade method of system firmware, apparatus and system in a kind of equipment - Google Patents

The upgrade method of system firmware, apparatus and system in a kind of equipment Download PDF

Info

Publication number
CN108170450A
CN108170450A CN201711459065.2A CN201711459065A CN108170450A CN 108170450 A CN108170450 A CN 108170450A CN 201711459065 A CN201711459065 A CN 201711459065A CN 108170450 A CN108170450 A CN 108170450A
Authority
CN
China
Prior art keywords
equipment
information
system firmware
upgrade
hardware
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
CN201711459065.2A
Other languages
Chinese (zh)
Inventor
杨聃
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING CHINA TSP TECHNOLOGY Co Ltd
Original Assignee
BEIJING CHINA TSP 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 CHINA TSP TECHNOLOGY Co Ltd filed Critical BEIJING CHINA TSP TECHNOLOGY Co Ltd
Priority to CN201711459065.2A priority Critical patent/CN108170450A/en
Publication of CN108170450A publication Critical patent/CN108170450A/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

This application provides the upgrade method of system firmware, apparatus and systems in a kind of equipment, are being detected including the first equipment with after the direct-connected success of the second equipment, obtaining the first facility information of the first equipment and the second facility information of the second equipment;First facility information includes:First hardware information and the first system firmware information;Second facility information includes:Second hardware information and second system firmware information;If detecting, the first hardware information is identical with the second hardware information, and the corresponding version of the first system firmware information sends system firmware upgrade request less than the corresponding version of second system firmware information to the second equipment;After determining that the second equipment agrees to system firmware upgrade request, the first system firmware information is sent to the second equipment;The first system firmware is upgraded according to the file difference upgrade package that the second equipment returns, can be realized the upgrading to system firmware in equipment in the case of no network and update rate is high.

Description

The upgrade method of system firmware, apparatus and system in a kind of equipment
Technical field
This application involves device upgrade technical field, in particular to the upgrade method of system firmware in a kind of equipment, Apparatus and system.
Background technology
At present, most users end equipment uses (Firmware mostly (such as mobile unit or electronic product) Over-The-Air, FOTA) carry out online upgrade system firmware.
In general, it when specifically upgrading, is generally required first by the good ustomer premises access equipment of firmware provider pre-production using FOTA Firmware upgrade packet, then the firmware upgrade made is wrapped again and passes to server end, ustomer premises access equipment is by network from clothes Firmware upgrade packet is downloaded at business device end, and upgrades the system firmware of the ustomer premises access equipment based on the firmware upgrade packet after upgrading.
But when carrying out system firmware upgrading by FOTA, it is necessary to rely on network, can not be risen under non-networked state Grade;In addition, this kind upgrading mode is higher to server requirement, not only need server that can support that high-volume user is online simultaneously It downloads, it is also necessary to which server is reliable and stable and ensures speed of download etc..
Invention content
In view of this, the embodiment of the present application is designed to provide the upgrade method of system firmware, device in a kind of equipment And system, it can realize the upgrading to system firmware in equipment in the case of no network, avoid and pass through server updating The problem of system firmware is to server requirement height and low update rate.
In a first aspect, the embodiment of the present application provides a kind of upgrade method of system firmware in equipment, including:
First equipment detect with after the direct-connected success of the second equipment, obtain the first facility information of first equipment with And the second facility information of second equipment;First facility information includes:First hardware information and the first system firmware Information;Second facility information includes:Second hardware information and second system firmware information;
If detecting, first hardware information is identical with second hardware information, and the first system firmware information Corresponding version is less than the corresponding version of the second system firmware information, and sending system firmware upgrading to second equipment please It asks;
After determining that second equipment agrees to the system firmware upgrade request, described the is sent to second equipment One system firmware information, so that second equipment generates file difference upgrade package according to the first system firmware information;
The first system firmware is upgraded according to the file difference upgrade package that second equipment returns.
Second aspect, the embodiment of the present application additionally provide a kind of upgrade method of system firmware in equipment, including:
Second equipment detect with after the direct-connected success of the first equipment, obtain the first facility information of first equipment with And the second facility information of second equipment;First facility information includes:First hardware information and the first system firmware Information;Second facility information includes:Second hardware information and second system firmware information;
Detecting that first hardware information is identical with second hardware information, and the first system firmware information When corresponding version is less than the second system firmware information corresponding version, if receiving the system from second equipment Firmware upgrade is asked, then shows the system firmware upgrade request;
After the corresponding confirmation message of agreement upgrade command for sending user's triggering to second equipment, come if receiving From the first system firmware information of first equipment, then according to the first system firmware information and second system System firmware information, generates file difference upgrade package;
The file difference upgrade package is sent to first equipment.
The third aspect, the embodiment of the present application additionally provide a kind of update device of system firmware in equipment, including:
First acquisition module, for detecting with after the direct-connected success of the second equipment, obtaining the first equipment of the first equipment Second facility information of information and second equipment;First facility information includes:First hardware information and the first system System firmware information;Second facility information includes:Second hardware information and second system firmware information;
First sending module, for detecting that first hardware information is identical with second hardware information, and institute When stating the corresponding version of the first system firmware information less than the corresponding version of the second system firmware information, set to described second Preparation send system firmware upgrade request;
First sending module is additionally operable to after determining that second equipment agrees to the system firmware upgrade request, The first system firmware information is sent to second equipment, so that second equipment is believed according to the first system firmware Breath generation file difference upgrade package;
Upgraded module is additionally operable to the file difference upgrade package returned according to second equipment upgrading the first system and consolidates Part.
Fourth aspect, the embodiment of the present application additionally provide a kind of update device of system firmware in equipment, which is characterized in that Including:
Second acquisition module, for detecting with after the direct-connected success of the first equipment, obtaining the first of first equipment Second facility information of facility information and the second equipment;First facility information includes:First hardware information and the first system System firmware information;Second facility information includes:Second hardware information and second system firmware information;
Display module, for detecting that first hardware information is identical with second hardware information, and described When the corresponding version of one system firmware information is less than the second system firmware information corresponding version, if receiving from described The system firmware upgrade request of second equipment then shows the system firmware upgrade request;
Generation module, in the corresponding confirmation message of agreement upgrade command that user's triggering is sent to second equipment Afterwards, if the first system firmware information from first equipment is received, according to the first system firmware information And the second system firmware information, generate file difference upgrade package;
Second sending module, for sending the file difference upgrade package to first equipment.
Four or five aspect, the embodiment of the present application additionally provide a kind of upgrade-system of system firmware in equipment, and feature exists In, including:First equipment, the second equipment and server;First equipment includes the first system firmware, the second equipment packet Include second system firmware;
Second equipment, for obtaining system firmware upgrade package from the server, and according to the system firmware Upgrade package upgrades the second system firmware;
First equipment, for after the direct-connected success of the second equipment, difference is obtained from second equipment Upgrade package, and the first system firmware is upgraded according to the difference upgrade package.
The upgrade method of system firmware, apparatus and system in a kind of equipment provided by the embodiments of the present application, to be upgraded One equipment with the second equipment of pairing it is direct-connected after, file difference upgrade package is obtained from the second equipment, and based on the difference liter Grade packet upgrades the system firmware of itself, here, the second hardware information of the second equipment of pairing and the first equipment to be upgraded First hardware information is identical, and the corresponding version of second system firmware information of the second equipment is higher than the first system of the first equipment Firmware information corresponding version can also upgrade the system firmware of the first equipment in the embodiment of the present application without server, avoid The problem of to the high performance requirements of server, and the first equipment second equipment that also can realize and match without networking Direct-connected, direct-connected mode also is able to improve downloading rate.
For the above-mentioned purpose of the application, feature and advantage is enable to be clearer and more comprehensible, preferred embodiment cited below particularly, and coordinate Appended attached drawing, is described in detail below.
Description of the drawings
It, below will be to needed in the embodiment attached in order to illustrate more clearly of the technical solution of the embodiment of the present application Figure is briefly described, it should be understood that the following drawings illustrates only some embodiments of the application, therefore is not construed as pair The restriction of range, for those of ordinary skill in the art, without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 shows the structural representation of the upgrade-system of system firmware in a kind of equipment that the embodiment of the present application is provided Figure.
The flow chart of the upgrade method of system firmware in a kind of equipment provided Fig. 2 shows the embodiment of the present application.
Fig. 3 shows the flow chart of the upgrade method of system firmware in a kind of equipment that the embodiment of the present application is provided.
Fig. 4 shows the flow chart of the upgrade method of system firmware in a kind of equipment that the embodiment of the present application is provided.
Fig. 5 shows the flow chart of the upgrade method of system firmware in a kind of equipment that the embodiment of the present application is provided.
Fig. 6 shows the flow chart of the upgrade method of system firmware in a kind of equipment that the embodiment of the present application is provided.
Fig. 7 shows the structural representation of the update device of system firmware in a kind of equipment that the embodiment of the present application is provided Figure.
Fig. 8 shows the structural representation of the update device of system firmware in another equipment that the embodiment of the present application is provided Figure.
Specific embodiment
Purpose, technical scheme and advantage to make the embodiment of the present application are clearer, below in conjunction with the embodiment of the present application The technical solution in the embodiment of the present application is clearly and completely described in middle attached drawing, it is clear that described embodiment is only It is some embodiments of the present application, instead of all the embodiments.The application being usually described and illustrated herein in the accompanying drawings is real Applying the component of example can be configured to arrange and design with a variety of different.Therefore, below to the application's for providing in the accompanying drawings The detailed description of embodiment is not intended to limit claimed scope of the present application, but is merely representative of the selected reality of the application Apply example.Based on embodiments herein, institute that those skilled in the art are obtained under the premise of creative work is not made There is other embodiment, shall fall in the protection scope of this application.
During in view of carrying out system firmware upgrading by FOTA, it is necessary to rely on network, can not be carried out under non-networked state Upgrading;In addition, this kind upgrading mode is higher to server requirement, not only need server that high-volume user can be supported to exist simultaneously Line is downloaded, it is also necessary to which server is reliable and stable and ensures speed of download etc..Based on this, the embodiment of the present application provides a kind of equipment The upgrade method of middle system firmware, apparatus and system, are described below by embodiment.
As shown in Figure 1, the structure to implement the upgrade-system of system firmware in a kind of equipment provided by the embodiments of the present application Schematic diagram, including:First equipment 1 and the second equipment 2, here, the of the first hardware information of the first equipment 1 and the second equipment 2 Two hardware informations are identical, also, the corresponding version of the first system firmware information of the first equipment 1 is less than the second of the second equipment 2 The corresponding version of system firmware information.First equipment 1 and the second equipment 2 can be vehicle-mounted client, can also terminal device (such as Mobile phone, tablet computer etc.).It should be noted that the upgrade-system of system firmware is unlimited in equipment provided by the embodiments of the present application In a kind of above-mentioned system, above system can also include:First equipment 1, the second equipment 2 and server 3.Here, the second equipment 2, for obtaining system firmware upgrade package from server 3, and the second system is upgraded according to the system firmware upgrade package Firmware;First equipment 1, for after the 2 direct-connected success of the second equipment, difference upgrading is obtained from second equipment 2 Packet, and the first system firmware is upgraded according to the difference upgrade package.
The embodiment of the present application provides the upgrade method of system firmware, apparatus and system in a kind of equipment, as shown in Fig. 2, The method includes:
S101, the first equipment are being detected with after the direct-connected success of the second equipment, obtaining the first equipment of first equipment Second facility information of information and second equipment;First facility information includes:First hardware information and the first system System firmware information;Second facility information includes:Second hardware information and second system firmware information.
In the embodiment of the present application, to realize that the first equipment by the second device upgrade the first system firmware, needs first Equipment and the second equipment match each other namely confirm the first equipment and the second equipment whether belong to same type of equipment and Can mutually it upgrade.In specific embodiment, confirm that the method that the first equipment and the second equipment match each other includes:First is set to set Standby and the second equipment bluetooth or Wireless Fidelity (WIreless-Fidelity, Wifi) success are direct-connected, in view of in terms of transmission speed Consider, it is preferable to use the direct-connected modes of Wifi in the embodiment of the present application.
First equipment with the second equipment success it is direct-connected after, the first facility information is sent to the second equipment by the first equipment, Here the first hardware information includes:First manufacturer, the first kind, the first number, the first hardware version, and the first system firmware Information includes:First software version.Meanwhile first equipment can also receive the second facility information from the second equipment, second is hard Part information:Second manufacturer, Second Type, the second number and second hardware version etc., second system firmware information is the second software Version information.
First equipment determines to include with the method that the second equipment matches each other:First equipment is having sent to the second equipment After one facility information, if the first equipment receives the echo message of the second equipment, and first in set period of time (such as 5s) Equipment has received the second facility information of the second equipment transmission, it is determined that the first equipment matches each other with the second equipment.First Equipment to the second equipment after the first facility information is had sent, if the first equipment does not receive in set period of time (such as 5s) The echo message of second equipment and/or, the first equipment do not have received the second equipment transmission the second facility information, it is determined that Second equipment does not support the agreement, then namely determines that the first equipment is mismatched with the second equipment, upgrading flow terminates.
In specific embodiment, only the first equipment and the second equipment confirm that successful match could carry out point-to-point liter Grade.
If S102, detect that first hardware information is identical with second hardware information, and the first system is consolidated The corresponding version of part information is less than the corresponding version of the second system firmware information, and system firmware is sent to second equipment Upgrade request.
Here, if the first equipment receive the second equipment transmission the second facility information, by the second equipment and itself First facility information is compared, specific relatively the second hardware information (manufacturer, type, number, hardware version) and the first hardware Whether information is consistent, if it is inconsistent, think difference of the two equipment there are some non-software levels, can not carry out a little pair Dot system firmware upgrade, flow terminate.If it is determined that whether the second hardware information is consistent with the first hardware information, further judging Whether the first system firmware information corresponds to version less than the corresponding version of second system firmware information, if so, to the second equipment Send firmware upgrade request.
In the embodiment of the present application, no matter the first equipment whether successful match, matching result can be informed and be set to second It is standby.
S103, after determining that second equipment agrees to the system firmware upgrade request, sent to second equipment The first system firmware information, so that second equipment generates the upgrading of file difference according to the first system firmware information Packet.
Here, the second equipment is if it is determined that the second hardware information is consistent with the first hardware information, and the first system firmware information Corresponding version is less than the corresponding version of second system firmware information, then by the first system firmware information and second system firmware information It is compared, to determine the additions and deletions of system firmware, modification information etc., and text is generated according to the additions and deletions of system firmware, modification information Part difference upgrade package.
S104, the first system firmware is upgraded according to the file difference upgrade package that second equipment returns.
Here, the first equipment is after the first system firmware information that second equipment returns is received, according to the difference Upgrade package upgrades the first system firmware.
The upgrade method of system firmware in a kind of equipment provided by the embodiments of the present application, the first equipment to be upgraded with To the second equipment it is direct-connected after, file difference upgrade package is obtained from the second equipment, and itself is upgraded based on the difference upgrade package System firmware, here, the first hardware information of the second hardware information of the second equipment of pairing and the first equipment to be upgraded It is identical, and the corresponding version of second system firmware information of the second equipment is corresponded to higher than the first system firmware information of the first equipment Version, can also upgrade the system firmware of the first equipment in the embodiment of the present application without server, avoid to server The problem of high performance requirements, and the first equipment without networking also can realize and match the second equipment it is direct-connected, it is direct-connected Mode also is able to improve downloading rate.
Further, as shown in figure 3, in equipment provided by the embodiments of the present application system firmware upgrade method, it is described After determining that second equipment agrees to the system firmware upgrade request, the first system firmware is sent to second equipment Information, including:
S201, after determining that second equipment agrees to the system firmware upgrade request, according in first equipment System file information, generation corresponding to the first system firmware information the first system listed files.
S202, the first system listed files is sent to second equipment.
Further, as shown in figure 4, in equipment provided by the embodiments of the present application system firmware upgrade method, described Upgrade the first system firmware according to the file difference upgrade package that second equipment returns, including:
S301, the file difference upgrade package from second equipment and the school corresponding to this document difference upgrade package are received Test information.
Here, the second equipment is compared by the first system firmware information and second system firmware information, determines second System firmware is believed relative to additions and deletions, modification information of the first system firmware etc., and according to the additions and deletions of determining system firmware, modification Breath generates to verify the check information of the file difference upgrade package, and the checking information is returned to the first equipment.
If S302, determining that this document difference upgrade package is correct according to the check information, upgraded according to this document difference Packet upgrading the first system firmware.
Here, the first equipment is sharp first after the check information of the second equipment return and file difference upgrade package is received Whether the file difference upgrade package received with check information verification is correct, if correctly, utilizing the file difference upgrade package Upgrade the first system firmware.
The upgrade method of system firmware in a kind of equipment provided by the embodiments of the present application, the first equipment to be upgraded with To the second equipment it is direct-connected after, file difference upgrade package is obtained from the second equipment, and itself is upgraded based on the difference upgrade package System firmware, here, the first hardware information of the second hardware information of the second equipment of pairing and the first equipment to be upgraded It is identical, and the corresponding version of second system firmware information of the second equipment is corresponded to higher than the first system firmware information of the first equipment Version, can also upgrade the system firmware of the first equipment in the embodiment of the present application without server, avoid to server The problem of high performance requirements, and the first equipment without networking also can realize and match the second equipment it is direct-connected, it is direct-connected Mode also is able to improve downloading rate.
The upgrade method of system firmware in a kind of equipment provided by the embodiments of the present application, as shown in figure 5, being set applied to second Standby, the method specifically includes:
S401, the second equipment are being detected with after the direct-connected success of the first equipment, obtaining the first equipment of first equipment Second facility information of information and second equipment;First facility information includes:First hardware information and the first system System firmware information;Second facility information includes:Second hardware information and second system firmware information.
In the embodiment of the present application, to realize that the first equipment by the second device upgrade the first system firmware, needs first Equipment and the second equipment match each other namely confirm the first equipment and the second equipment whether belong to same type of equipment and Can mutually it upgrade.In specific embodiment, confirm that the method that the first equipment and the second equipment match each other includes:First is set to set Standby and the second equipment bluetooth or Wifi successes are direct-connected, in view of considering in terms of transmission speed, in the embodiment of the present application, preferably makes With the direct-connected modes of Wifi.
Second equipment with the first equipment success it is direct-connected after, the second facility information is sent to the second equipment by the second equipment, Here, the second hardware information in the second facility information includes:Second manufacturer, Second Type, the second number, the second hardware version This, and second system firmware information includes:Second software version.Meanwhile second equipment can also receive from the first equipment One facility information, the first hardware information:First manufacturer, the first kind, the first number and first hardware version etc., the first system is solid Part information is the first software version information.
Second equipment determines to include with the method that the first equipment matches each other:Second equipment is having sent to the first equipment After one facility information, if the second equipment receives the echo message of the first equipment, and second in set period of time (such as 5s) Equipment has received the second facility information of the first equipment transmission, it is determined that the first equipment matches each other with the second equipment.Second Equipment to the first equipment after the first facility information is had sent, if the second equipment does not receive in set period of time (such as 5s) The echo message of first equipment and/or, the second equipment do not have received the first equipment transmission the first facility information, it is determined that First equipment does not support the agreement, then namely determines that the first equipment is mismatched with the second equipment, upgrading flow terminates.
In specific embodiment, only the first equipment and the second equipment confirm that successful match could carry out point-to-point liter Grade.
S402, detecting that first hardware information is identical with second hardware information, and the first system is consolidated When the corresponding version of part information is less than the second system firmware information corresponding version, if receiving from second equipment System firmware upgrade request, then show the system firmware upgrade request.
Here, if the second equipment receive the first equipment transmission the first facility information, by the first equipment and itself Second facility information is compared, specific relatively the first hardware information (manufacturer, type, number, hardware version) and the second hardware Whether information is consistent, if it is inconsistent, think difference of the two equipment there are some non-software levels, can not carry out a little pair Dot system firmware upgrade, flow terminate.If it is determined that the first hardware information is consistent with the second hardware information, further first is being judged Whether system firmware information corresponds to version less than the corresponding version of second system firmware information, if so, further determining whether to connect The firmware upgrade request of the first equipment transmission is received, if so, showing the system firmware upgrade request.
In the embodiment of the present application, no matter the second equipment whether successful match, the matching result that can will confirm that inform to First equipment.
S403, to second equipment send user triggering the corresponding confirmation message of agreement upgrade command after, if connecing The first system firmware information from first equipment is received, then according to the first system firmware information and described Second system firmware information generates file difference upgrade package.
Here, the second equipment is after the first system firmware information from the first equipment is received, however, it is determined that the second hardware Information is consistent with the first hardware information, and the first system firmware information corresponds to version less than the corresponding version of second system firmware information The first system firmware information and second system firmware information, then be compared by this, to determine the additions and deletions of system firmware, modification letter Breath etc., and file difference upgrade package is generated according to the additions and deletions of system firmware, modification information.
S404, the file difference upgrade package is sent to first equipment.
Further, as shown in fig. 6, in equipment provided by the embodiments of the present application system firmware upgrade method, the side Method further includes:
S501, according to the first system firmware information and the second system firmware information, generate for verifying State the check information of file difference upgrade package.
Here, the second equipment is compared by the first system firmware information and second system firmware information, determines second System firmware is believed relative to additions and deletions, modification information of the first system firmware etc., and according to the additions and deletions of determining system firmware, modification Breath generates to verify the check information of the file difference upgrade package, and the checking information is returned to the first equipment.
S502, the check information is sent to first equipment.
It should be noted that since this patent only needs two identical equipment rooms direct-connected by bluetooth or Wifi progress, so After carry out point-to-point upgrading, so not needing to be connected to internet;Due to bluetooth or Wifi is direct-connected has apart from upper requirement, bluetooth About in 30 meters, Wifi is direct-connected in 200 meters, so two equipment are required apart from relative close, so general before upgrading The system that can check highest version equipment on probation, visible, tangible, user can choose whether to upgrade according to hobby, and FOTA Only upgrade package server can be placed on, without ready-made highest version equipment for reference, the effect after upgrading can not be known in advance;By Then point-to-point upgrading, entire escalation process are only needed to complete between two equipment, not needed to by means of remote server, and It can ensure the stability of connection and the high efficiency of equipment room message transmission rate.
The upgrade method of system firmware in a kind of equipment provided by the embodiments of the present application, the first equipment to be upgraded with To the second equipment it is direct-connected after, file difference upgrade package is obtained from the second equipment, and itself is upgraded based on the difference upgrade package System firmware, here, the first hardware information of the second hardware information of the second equipment of pairing and the first equipment to be upgraded It is identical, and the corresponding version of second system firmware information of the second equipment is corresponded to higher than the first system firmware information of the first equipment Version, can also upgrade the system firmware of the first equipment in the embodiment of the present application without server, avoid to server The problem of high performance requirements, and the first equipment without networking also can realize and match the second equipment it is direct-connected, it is direct-connected Mode also is able to improve downloading rate.
The embodiment of the present application additionally provides a kind of update device of system firmware in equipment, as shown in fig. 7, comprises:
First acquisition module 11, for detecting with after the direct-connected success of the second equipment, obtaining first setting for the first equipment Second facility information of standby information and second equipment;First facility information includes:First hardware information and first System firmware information;Second facility information includes:Second hardware information and second system firmware information;
First sending module 12, for detecting that first hardware information is identical with second hardware information, and During corresponding less than the second system firmware information version of the corresponding version of the first system firmware information, to described second Equipment sends system firmware upgrade request;
First sending module 12 is additionally operable to after determining that second equipment agrees to the system firmware upgrade request, to Second equipment sends the first system firmware information, so that second equipment is according to the first system firmware information Generate file difference upgrade package;
Upgraded module 13 is additionally operable to upgrade the first system according to the file difference upgrade package that second equipment returns Firmware.
Optionally, in equipment provided by the embodiments of the present application system firmware update device, further include:
First sending module 12 is additionally operable to first facility information being sent to second equipment;
Detection module, for when determining second equipment with the first equipment successful match, detecting described first Whether hardware information and second hardware information identical and whether the corresponding version of the first system firmware information is less than The corresponding version of the second system firmware information.
Optionally, in equipment provided by the embodiments of the present application system firmware update device, further include:
Generation module, for after determining that second equipment agrees to the system firmware upgrade request, according to described the System file information in one equipment, generation is corresponding to the first system listed files of the first system firmware information;
First sending module 12 is additionally operable to send the first system listed files to second equipment.
Optionally, in equipment provided by the embodiments of the present application system firmware update device, upgraded module 13, including:
Receiving module, for file difference upgrade package of the reception from second equipment and corresponding to this document difference liter The check information of grade packet;
Upgraded module 13 is additionally operable to when determining that this document difference upgrade package is correct according to the check information, according to this File difference upgrade package upgrades the first system firmware.
The update device of system firmware in a kind of equipment provided by the embodiments of the present application, the first equipment to be upgraded with To the second equipment it is direct-connected after, file difference upgrade package is obtained from the second equipment, and itself is upgraded based on the difference upgrade package System firmware, here, the first hardware information of the second hardware information of the second equipment of pairing and the first equipment to be upgraded It is identical, and the corresponding version of second system firmware information of the second equipment is corresponded to higher than the first system firmware information of the first equipment Version, can also upgrade the system firmware of the first equipment in the embodiment of the present application without server, avoid to server The problem of high performance requirements, and the first equipment without networking also can realize and match the second equipment it is direct-connected, it is direct-connected Mode also is able to improve downloading rate.
The embodiment of the present application additionally provides a kind of update device of system firmware in equipment, as shown in figure 8, including:
Second acquisition module 21, for detect with after the direct-connected success of the first equipment, obtain first equipment the Second facility information of one facility information and the second equipment;First facility information includes:First hardware information and first System firmware information;Second facility information includes:Second hardware information and second system firmware information;
Display module 22, for detecting that first hardware information and second hardware information are identical and described When the corresponding version of the first system firmware information is less than the second system firmware information corresponding version, if receiving from institute The system firmware upgrade request of the second equipment is stated, then shows the system firmware upgrade request;
Generation module 23, in the corresponding confirmation letter of agreement upgrade command that user's triggering is sent to second equipment After breath, if receiving the first system firmware information from first equipment, believed according to the first system firmware Breath and the second system firmware information generate file difference upgrade package;
Second sending module 24, for sending the file difference upgrade package to first equipment.
Optionally, in equipment provided by the embodiments of the present application system firmware update device, further include:
Second sending module 24 is additionally operable to second facility information being sent to first equipment;
Second detection module is additionally operable to, when determining second equipment with the first equipment successful match, detect institute It states whether the first hardware information and second hardware information are identical and the corresponding version of the first system firmware information is It is no to be less than the corresponding version of the second system firmware information.
Optionally, in equipment provided by the embodiments of the present application system firmware update device, the method further includes:
Generation module, for according to the first system firmware information and the second system firmware information, generation to be used In the check information for verifying the file difference upgrade package;
Second sending module 24 is additionally operable to the check information being sent to first equipment.
The update device of system firmware in a kind of equipment provided by the embodiments of the present application, the first equipment to be upgraded with To the second equipment it is direct-connected after, file difference upgrade package is obtained from the second equipment, and itself is upgraded based on the difference upgrade package System firmware, here, the first hardware information of the second hardware information of the second equipment of pairing and the first equipment to be upgraded It is identical, and the corresponding version of second system firmware information of the second equipment is corresponded to higher than the first system firmware information of the first equipment Version, can also upgrade the system firmware of the first equipment in the embodiment of the present application without server, avoid to server The problem of high performance requirements, and the first equipment without networking also can realize and match the second equipment it is direct-connected, it is direct-connected Mode also is able to improve downloading rate.
The embodiment of the present application additionally provides a kind of upgrade-system of system firmware in equipment, as shown in Figure 1, including:First Equipment 1, the second equipment 2 and server 3;First equipment 1 includes the first system firmware, and the second equipment 1 includes second system firmware;
Second equipment 1 for obtaining system firmware upgrade package from server 3, and upgrades according to system firmware upgrade package Second system firmware;
First equipment 1, for after the 1 direct-connected success of the second equipment, from the second equipment 1 obtain difference upgrade package, and The first system firmware is upgraded according to difference upgrade package.
The upgrade-system of system firmware in a kind of equipment provided by the embodiments of the present application, the first equipment to be upgraded with To the second equipment it is direct-connected after, file difference upgrade package is obtained from the second equipment, and itself is upgraded based on the difference upgrade package System firmware, here, the first hardware information of the second hardware information of the second equipment of pairing and the first equipment to be upgraded It is identical, and the corresponding version of second system firmware information of the second equipment is corresponded to higher than the first system firmware information of the first equipment Version, can also upgrade the system firmware of the first equipment in the embodiment of the present application without server, avoid to server The problem of high performance requirements, and the first equipment without networking also can realize and match the second equipment it is direct-connected, it is direct-connected Mode also is able to improve downloading rate.
In the equipment that the embodiment of the present application is provided the update device of system firmware can be equipment on specific hardware or Person is installed on software or firmware in equipment etc..The technology of the device that the embodiment of the present application is provided, realization principle and generation Effect is identical with preceding method embodiment, and to briefly describe, device embodiment part does not refer to part, can refer to preceding method reality Apply corresponding contents in example.It is apparent to those skilled in the art that for convenience and simplicity of description, foregoing description System, the specific work process of device and unit, can refer to the corresponding process in above method embodiment, herein no longer It repeats.
In embodiment provided herein, it should be understood that disclosed device and method, it can be by others side Formula is realized.The apparatus embodiments described above are merely exemplary, for example, the division of the unit, only one kind are patrolled Volume function divides, and can have other dividing mode in actual implementation, in another example, multiple units or component can combine or can To be integrated into another system or some features can be ignored or does not perform.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some communication interfaces, device or unit It connects, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit The component shown may or may not be physical unit, you can be located at a place or can also be distributed to multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in the embodiment provided in the application can be integrated in a processing unit, also may be used To be that each unit is individually physically present, can also two or more units integrate in a unit.
If the function is realized in the form of SFU software functional unit and is independent product sale or in use, can be with It is stored in a computer read/write memory medium.Based on such understanding, the technical solution of the application is substantially in other words The part contribute to the prior art or the part of the technical solution can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, is used including some instructions so that a computer equipment (can be People's computer, server or network equipment etc.) perform each embodiment the method for the application all or part of step. And aforementioned storage medium includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic disc or CD.
It should be noted that:Similar label and letter represents similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, does not then need to that it is further defined and explained in subsequent attached drawing, in addition, term " the One ", " second ", " third " etc. are only used for distinguishing description, and it is not intended that instruction or hint relative importance.
Finally it should be noted that:The specific embodiment of embodiment described above, only the application, to illustrate the application Technical solution, rather than its limitations, the protection domain of the application is not limited thereto, although with reference to the foregoing embodiments to this Shen It please be described in detail, it will be understood by those of ordinary skill in the art that:Any one skilled in the art In the technical scope disclosed in the application, it can still modify to the technical solution recorded in previous embodiment or can be light It is readily conceivable that variation or equivalent replacement is carried out to which part technical characteristic;And these modifications, variation or replacement, do not make The essence of corresponding technical solution is detached from the spirit and scope of the embodiment of the present application technical solution.The protection in the application should all be covered Within the scope of.Therefore, the protection domain of the application should be based on the protection scope of the described claims.

Claims (10)

1. a kind of upgrade method of system firmware in equipment, which is characterized in that including:
First equipment is detecting the first facility information and institute with after the direct-connected success of the second equipment, obtaining first equipment State the second facility information of the second equipment;First facility information includes:First hardware information and the first system firmware information; Second facility information includes:Second hardware information and second system firmware information;
If detecting, first hardware information is identical with second hardware information, and the first system firmware information corresponds to Version less than the corresponding version of the second system firmware information, send system firmware upgrade request to second equipment;
After determining that second equipment agrees to the system firmware upgrade request, first system is sent to second equipment System firmware information, so that second equipment generates file difference upgrade package according to the first system firmware information;
The first system firmware is upgraded according to the file difference upgrade package that second equipment returns.
2. the upgrade method of system firmware in equipment according to claim 1, which is characterized in that set obtaining described first After the first standby facility information, further include:
First facility information is sent to second equipment;
If it is determined that second equipment and the first equipment successful match, then detect first hardware information and described second Whether hardware information is identical and whether the corresponding version of the first system firmware information is believed less than the second system firmware Cease corresponding version.
3. the upgrade method of system firmware in equipment according to claim 1, which is characterized in that described to determine described After two equipment agree to the system firmware upgrade request, the first system firmware information is sent to second equipment, including:
After determining that second equipment agrees to the system firmware upgrade request, according to the system file in first equipment Information, generation is corresponding to the first system listed files of the first system firmware information;
The first system listed files is sent to second equipment.
4. the upgrade method of system firmware in equipment according to claim 1, which is characterized in that described according to described second The file difference upgrade package upgrading the first system firmware that equipment returns, including:
Receive the file difference upgrade package from second equipment and the check information corresponding to this document difference upgrade package;
If determining that this document difference upgrade package is correct according to the check information, upgrade first according to this document difference upgrade package System firmware.
5. a kind of upgrade method of system firmware in equipment, which is characterized in that including:
Second equipment is detecting the first facility information and institute with after the direct-connected success of the first equipment, obtaining first equipment State the second facility information of the second equipment;First facility information includes:First hardware information and the first system firmware information; Second facility information includes:Second hardware information and second system firmware information;
Detecting that first hardware information is identical with second hardware information, and the first system firmware information corresponds to Version less than the second system firmware information corresponding version when, if receiving the system firmware from second equipment Upgrade request then shows the system firmware upgrade request;
After the corresponding confirmation message of agreement upgrade command for sending user's triggering to second equipment, if receiving from institute The first system firmware information of the first equipment is stated, then is consolidated according to the first system firmware information and the second system Part information generates file difference upgrade package;
The file difference upgrade package is sent to first equipment.
6. the upgrade method of system firmware in equipment according to claim 5, which is characterized in that set obtaining described second After the second standby facility information, further include:
Second facility information is sent to first equipment;
If it is determined that second equipment and the first equipment successful match, then detect first hardware information and described second Whether hardware information is identical and whether the corresponding version of the first system firmware information is believed less than the second system firmware Cease corresponding version.
7. the upgrade method of system firmware in equipment according to claim 5, which is characterized in that the method further includes:
According to the first system firmware information and the second system firmware information, generate to verify the file difference The check information of upgrade package;
The check information is sent to first equipment.
8. a kind of update device of system firmware in equipment, which is characterized in that including:
First acquisition module, for detecting with after the direct-connected success of the second equipment, obtaining the first facility information of the first equipment And the second facility information of second equipment;First facility information includes:First hardware information and the first system are consolidated Part information;Second facility information includes:Second hardware information and second system firmware information;
First sending module, for detecting that first hardware information is identical with second hardware information, and described When the corresponding version of one system firmware information is less than the second system firmware information corresponding version, sent out to second equipment Send system firmware upgrade request;
First sending module is additionally operable to after determining that second equipment agrees to the system firmware upgrade request, to institute It states the second equipment and sends the first system firmware information, so that second equipment is given birth to according to the first system firmware information Into file difference upgrade package;
Upgraded module is additionally operable to upgrade the first system firmware according to the file difference upgrade package that second equipment returns.
9. a kind of update device of system firmware in equipment, which is characterized in that including:
Second acquisition module, for detecting with after the direct-connected success of the first equipment, obtaining the first equipment of first equipment Second facility information of information and the second equipment;First facility information includes:First hardware information and the first system are consolidated Part information;Second facility information includes:Second hardware information and second system firmware information;
Display module, for detecting that first hardware information is identical with second hardware information, and first system During corresponding less than the second system firmware information version of the corresponding version of firmware information of uniting, if receiving from described second The system firmware upgrade request of equipment then shows the system firmware upgrade request;
Generation module, for second equipment send user triggering the corresponding confirmation message of agreement upgrade command after, If receiving the first system firmware information from first equipment, according to the first system firmware information and The second system firmware information generates file difference upgrade package;
Second sending module, for sending the file difference upgrade package to first equipment.
10. a kind of upgrade-system of system firmware in equipment, which is characterized in that including:First equipment, the second equipment and service Device;First equipment includes the first system firmware, and second equipment includes second system firmware;
Second equipment for obtaining system firmware upgrade package from the server, and upgrades according to the system firmware Packet upgrades the second system firmware;
First equipment, for after the direct-connected success of the second equipment, difference upgrading is obtained from second equipment Packet, and the first system firmware is upgraded according to the difference upgrade package.
CN201711459065.2A 2017-12-28 2017-12-28 The upgrade method of system firmware, apparatus and system in a kind of equipment Pending CN108170450A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711459065.2A CN108170450A (en) 2017-12-28 2017-12-28 The upgrade method of system firmware, apparatus and system in a kind of equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711459065.2A CN108170450A (en) 2017-12-28 2017-12-28 The upgrade method of system firmware, apparatus and system in a kind of equipment

Publications (1)

Publication Number Publication Date
CN108170450A true CN108170450A (en) 2018-06-15

Family

ID=62518884

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711459065.2A Pending CN108170450A (en) 2017-12-28 2017-12-28 The upgrade method of system firmware, apparatus and system in a kind of equipment

Country Status (1)

Country Link
CN (1) CN108170450A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109144554A (en) * 2018-06-21 2019-01-04 深圳和而泰数据资源与云技术有限公司 Firmware upgrade method, relevant device, system and medium
CN109450719A (en) * 2018-12-29 2019-03-08 东信和平科技股份有限公司 A kind of node upgrade method and system based on lorawan agreement
CN111381843A (en) * 2018-12-27 2020-07-07 北京骑胜科技有限公司 Firmware upgrading scheduling method, firmware upgrading method and related device
CN112068855A (en) * 2019-06-10 2020-12-11 海信视像科技股份有限公司 Method and system for upgrading application under dual systems
CN112925540A (en) * 2021-02-20 2021-06-08 潍柴动力股份有限公司 Firmware upgrading method and device
CN113238774A (en) * 2021-05-12 2021-08-10 中国第一汽车股份有限公司 Vehicle-mounted greeting animation updating method and device, vehicle-mounted terminal and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070287396A1 (en) * 2006-06-08 2007-12-13 National Tsing Hua University Upgrading device and method using bootloader in wireless sensor networks
CN102232304A (en) * 2011-05-04 2011-11-02 华为终端有限公司 Method, system and terminal for system update between mobile communication terminals
CN105700926A (en) * 2016-01-14 2016-06-22 青岛海信电器股份有限公司 Method and apparatus for making differential upgrade package, and method and apparatus for differential upgrade of system
CN106227571A (en) * 2016-08-25 2016-12-14 维沃移动通信有限公司 Method for upgrading system and mobile terminal thereof
CN106535228A (en) * 2016-11-30 2017-03-22 努比亚技术有限公司 System upgrading device and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070287396A1 (en) * 2006-06-08 2007-12-13 National Tsing Hua University Upgrading device and method using bootloader in wireless sensor networks
CN102232304A (en) * 2011-05-04 2011-11-02 华为终端有限公司 Method, system and terminal for system update between mobile communication terminals
CN105700926A (en) * 2016-01-14 2016-06-22 青岛海信电器股份有限公司 Method and apparatus for making differential upgrade package, and method and apparatus for differential upgrade of system
CN106227571A (en) * 2016-08-25 2016-12-14 维沃移动通信有限公司 Method for upgrading system and mobile terminal thereof
CN106535228A (en) * 2016-11-30 2017-03-22 努比亚技术有限公司 System upgrading device and method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109144554A (en) * 2018-06-21 2019-01-04 深圳和而泰数据资源与云技术有限公司 Firmware upgrade method, relevant device, system and medium
CN109144554B (en) * 2018-06-21 2022-07-08 深圳和而泰数据资源与云技术有限公司 Firmware upgrading method, related equipment, system and medium
CN111381843A (en) * 2018-12-27 2020-07-07 北京骑胜科技有限公司 Firmware upgrading scheduling method, firmware upgrading method and related device
CN109450719A (en) * 2018-12-29 2019-03-08 东信和平科技股份有限公司 A kind of node upgrade method and system based on lorawan agreement
CN112068855A (en) * 2019-06-10 2020-12-11 海信视像科技股份有限公司 Method and system for upgrading application under dual systems
CN112068855B (en) * 2019-06-10 2024-03-26 海信视像科技股份有限公司 Method and system for upgrading application under dual systems
CN112925540A (en) * 2021-02-20 2021-06-08 潍柴动力股份有限公司 Firmware upgrading method and device
CN112925540B (en) * 2021-02-20 2023-11-17 潍柴动力股份有限公司 Firmware upgrading method and device
CN113238774A (en) * 2021-05-12 2021-08-10 中国第一汽车股份有限公司 Vehicle-mounted greeting animation updating method and device, vehicle-mounted terminal and storage medium

Similar Documents

Publication Publication Date Title
CN108170450A (en) The upgrade method of system firmware, apparatus and system in a kind of equipment
US10061574B2 (en) Method and apparatus for multiple vehicle software module reflash
JP2020017948A (en) Application realization method based on block chain network, apparatus, device, and storage medium
CN104066077A (en) OTA downloading and upgrading method and device thereof
US9071568B2 (en) Customer-identifying email addresses to enable a medium of communication that supports many service providers
CN107547239B (en) Configuration object updating method and device
CN105308907B (en) Installation package authorization method and device
CN104168269B (en) Safety connects method for building up, Apparatus and system
CN102469114A (en) Open mobile terminal widget application platform, realization method thereof and server
CN103152392B (en) Installation kit supplying method, acquisition methods, equipment and system
CN106201577B (en) A kind of method and device updating Lua file
CN103970566A (en) Router firmware updating method and device
CN107209678A (en) System and method for the adaptive clone of mobile device
CN102215480A (en) Differential on-air software upgrading method based on cloud computing
CN104519105A (en) Method and device for acquiring applications matched with terminals
CN110418344A (en) A kind of method and device that equipment identities mark generates
CN106951280A (en) Mobile terminal and apply restorative procedure
CN103458004A (en) Internet of things-based device subscription information changing method and equipment
CN107844306A (en) Restorative procedure, device, storage medium and the terminal of application program
CN102348195A (en) Wireless communication terminal and software updating method thereof
CN104462934A (en) Information processing method and electronic equipment
CN106201555B (en) Application resource updating method, device and system
CN113596030A (en) Equipment network distribution method and device, storage medium and electronic equipment
CN108521443B (en) The upgrade method and system and terminal and computer readable storage medium of a kind of application
CN107479923A (en) Application program updating method, apparatus and display terminal

Legal Events

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

RJ01 Rejection of invention patent application after publication