CN103995723A - IVI system firmware updating method and device based on mobile storage equipment - Google Patents

IVI system firmware updating method and device based on mobile storage equipment Download PDF

Info

Publication number
CN103995723A
CN103995723A CN201410226152.3A CN201410226152A CN103995723A CN 103995723 A CN103995723 A CN 103995723A CN 201410226152 A CN201410226152 A CN 201410226152A CN 103995723 A CN103995723 A CN 103995723A
Authority
CN
China
Prior art keywords
upgrading
upgrade file
ivi system
upgrade
storage device
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.)
Granted
Application number
CN201410226152.3A
Other languages
Chinese (zh)
Other versions
CN103995723B (en
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.)
Huizhou Foryou General Electronics Co Ltd
Original Assignee
Huizhou Foryou General Electronics 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 Huizhou Foryou General Electronics Co Ltd filed Critical Huizhou Foryou General Electronics Co Ltd
Priority to CN201410226152.3A priority Critical patent/CN103995723B/en
Publication of CN103995723A publication Critical patent/CN103995723A/en
Application granted granted Critical
Publication of CN103995723B publication Critical patent/CN103995723B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/654Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories

Landscapes

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

Abstract

The invention discloses an IVI system firmware updating method and device based on mobile storage equipment. The method comprises the steps that updating information carried in an updating file mark in the mobile storage equipment is obtained; an IVI system reads updating environment information which comprises the serial number of the mobile storage equipment, the file list of updating files in the mobile storage equipment and the UUID of the IVI system; and when the updating environment information and the corresponding updating information carried in the updating file mark are matched, IVI system firmware updating is started. The updating file mark is set, related updating information of the UUID of the IVI system, the file list and the serial number of the mobile storage equipment is recorded in the updating file mark, when the read updating environment information and the recorded updating information are matched, updating is started, full-course information verifying during a whole updating process is guaranteed, controllability and safety of the whole updating process are guaranteed, and an updating source and an updating purpose are accurate.

Description

A kind of method and apparatus based on movable storage device upgrading IVI system firmware
Technical field
The present invention relates to software technology field, relate in particular to a kind of method and apparatus based on movable storage device upgrading IVI system firmware.
Background technology
Existing IVI (In Vehicles Infotaiment, car entertainment infosystem) car entertainment infosystem is generally all passed through movable storage device (including but not limited to USB flash disk/SD card/TF card) and is carried out system upgrade, soon upgrade installation package, upgrading logo file are placed under the root directory of movable storage device, in car entertainment infosystem start-up course, detect on movable storage device and have upgrading logo file, according to agreement, read the upgrade installation package of create name and carry out updating operation.
The system upgrade mode of existing vehicle entertainment system mainly contains following some deficiency:
1,, to preparing the source no parity check of upgrade-system, cannot judge firmware updating source security.
2, installation kit title is fixed, if there are a plurality of AKU not select.
Summary of the invention
The present invention proposes a kind of method and apparatus based on movable storage device upgrading IVI system firmware, the method and device, by the whole process information checking in IVI system upgrade process, have guaranteed the security of upgrading.
For realizing above-mentioned design, the present invention by the following technical solutions:
On the one hand, adopt a kind of method based on movable storage device upgrading IVI system firmware, the method comprises:
Obtain the upgrade information carrying in the upgrade file sign in movable storage device;
IVI system reads upgrading environmental information, and described upgrading environmental information comprises: the UUID of the sequence number of movable storage device, the listed files of the upgrade file in movable storage device and IVI system;
When described upgrading environmental information is all mated with the corresponding upgrade information carrying in described upgrade file sign, IVI system firmware starts upgrading.
Wherein, described in obtain the upgrade information carrying in the upgrade file sign in movable storage device, comprising:
Under the root directory of described movable storage device, according to default filename, search upgrade file sign;
When confirming that upgrade file sign exists, obtain the upgrade information carrying in described upgrade file sign.
Wherein, described upgrade file is masked as the upgrade file sign of encryption.
Wherein, describedly when confirming that upgrade file sign exists, obtain the upgrade information carrying in upgrade file sign, comprising:
When confirming that upgrade file sign exists, upgrade file sign is decrypted;
Obtain the upgrade information carrying in upgrade file sign.
Wherein, described IVI system is provided with upgrading key, and described upgrading environmental information also comprises upgrading key;
Described when described upgrading environmental information is all mated with the corresponding upgrade information carrying in described upgrade file sign, IVI system firmware starts upgrading, comprising:
When sequence number, listed files, the UUID of IVI system, the upgrading key of described movable storage device all mate with the corresponding upgrade information carrying in described upgrade file sign, the check information in the check code of described upgrade file and described upgrade file sign is carried out to verification;
When verification is passed through, judge whether the size of upgrade file allows to copy to the storage unit of IVI system;
When the size of upgrade file allows to copy the storage unit of IVI system to, described upgrade file is copied to the storage unit of described IVI system, the upgrade file based in storage unit is upgraded; Otherwise the upgrade file based in described movable storage device is upgraded;
Wherein, if described IVI system gets upgrade file sign in operational process, stop the operation of IVI system firmware when upgrading, upgrading finishes rear operation IVI system firmware;
Described upgrading comprises the upgrading key that upgrades IVI system.
On the other hand, adopt a kind of device based on movable storage device upgrading IVI system firmware, this device comprises:
Upgrade information reading unit, for obtaining the upgrade information carrying in the upgrade file sign of movable storage device;
Environmental information recognition unit, reads upgrading environmental information for IVI system, and described upgrading environmental information comprises: the UUID of the sequence number of movable storage device, the listed files of the upgrade file in movable storage device and IVI system;
Upgrading unit, while mating for the corresponding upgrade information all carrying with described upgrade file sign when described upgrading environmental information, IVI system firmware starts upgrading.
Wherein, described upgrade information reading unit, comprising:
Upgrade file tag lookup module, for searching upgrade file sign according to default filename under the root directory of described movable storage device;
Upgrade information read module, for when confirming that upgrade file sign exists, obtains the upgrade information carrying in described upgrade file sign.
Wherein, described upgrade file is masked as the upgrade file sign of encryption.
Wherein, described upgrade information read module, comprising:
Deciphering submodule, for when confirming that upgrade file sign exists, is decrypted upgrade file sign;
Obtain submodule, the upgrade information carrying for obtaining upgrade file sign.
Wherein, described IVI system is provided with upgrading key, and described upgrading environmental information also comprises upgrading key;
Described upgrading unit, comprising:
Correction verification module, when the corresponding upgrade information all carrying with described upgrade file sign for the UUID of the sequence number when described movable storage device, listed files, IVI system, the key of upgrading mates, the check information in the check code of described upgrade file and described upgrade file sign is carried out to verification;
Size comparing module, for when verification is passed through, judges whether the size of upgrade file allows to copy to the storage unit of IVI system;
Upgrading module, while allowing to copy the storage unit of IVI system to for the size when upgrade file, copies described upgrade file to the storage unit of described IVI system, and the upgrade file based in storage unit is upgraded; Otherwise the upgrade file based in described movable storage device is upgraded;
Wherein, if described IVI system gets upgrade file sign in operational process, stop the operation of IVI system firmware when upgrading, upgrading finishes rear operation IVI system firmware;
Wherein, described upgrading comprises the upgrading key that upgrades IVI system.
Beneficial effect of the present invention is: by upgrade file sign is set, in upgrade file sign, record the relevant upgrade information of sequence number of UUID, listed files and the movable storage device of IVI system, when the upgrade information of the upgrading environmental information reading and record matches, start upgrading, guaranteed whole process information checking in whole escalation process, guaranteed that whole escalation process is controlled, safety, upgrading source and upgrading object are accurate.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing of required use during the embodiment of the present invention is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to the content of the embodiment of the present invention and these accompanying drawings other accompanying drawing.
Fig. 1 is the method flow diagram of first embodiment of a kind of method based on movable storage device upgrading IVI system firmware of providing of the embodiment of the present invention.
Fig. 2 is the method flow diagram of second embodiment of a kind of method based on movable storage device upgrading IVI system firmware of providing of the embodiment of the present invention.
Fig. 3 is the method flow diagram of the 3rd embodiment of a kind of method based on movable storage device upgrading IVI system firmware of providing of the embodiment of the present invention.
Fig. 4 is the block diagram of first embodiment of a kind of device based on movable storage device upgrading IVI system firmware of providing of the embodiment of the present invention.
Fig. 5 is the block diagram of second embodiment of a kind of device based on movable storage device upgrading IVI system firmware of providing of the embodiment of the present invention.
Fig. 6 is the block diagram of the 3rd embodiment of a kind of device based on movable storage device upgrading IVI system firmware of providing of the embodiment of the present invention.
Embodiment
For the technical scheme of technical matters that the present invention is solved, employing and the technique effect that reaches clearer, below in conjunction with accompanying drawing, the technical scheme of the embodiment of the present invention is described in further detail, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those skilled in the art, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
Please refer to Fig. 1, it is the method flow diagram of first embodiment of a kind of method based on movable storage device upgrading IVI system firmware of providing of the embodiment of the present invention.The method of the present embodiment is mainly used in the upgrading of IVI system firmware, guarantee the upgrading safety and precise of IVI system, in this programme, described movable storage device includes but not limited to USB flash disk (Universal Serial Bus Disc), SD card (Secure Digital Memory Card) or TF card (Trans-flash Card).As shown in the figure, the method, comprising:
Step S101: obtain the upgrade information carrying in the upgrade file sign in movable storage device.
Upgrade file sign is the key point that this programme is implemented, and has wherein contained the standard of all upgrade informations of upgrading source, upgrading medium and upgrading target.That is to say the UUID of the sequence number, listed files and the IVI system that record the movable storage device of standard in upgrade file sign.
Step S102:IVI system reads upgrading environmental information.
Described upgrading environmental information comprises: the UUID of the sequence number of movable storage device, the listed files of the upgrade file in movable storage device and IVI system.
For each movable storage device, it all possesses the label that represents self unique identifying information, is defined as sequence number here, and the sequence number that reads movable storage device in this step is actual is exactly to identify actual upgrading medium; Obtaining listed files in movable storage device is for obtaining actual upgrading source; UUID implication is general unique identifier (Universally Unique Identifier), is unique identifier of the client of each IVI system, in order to confirm actual upgrading target.
Step S103: when described upgrading environmental information is all mated with the corresponding upgrade information carrying in described upgrade file sign, IVI system firmware starts upgrading.
When the sequence number of the movable storage device reading, the UUID of IVI system, listed files all mate with the corresponding informance carrying in described installation kit information, that is to say the sequence number of acquisition, the UUID of IVI system, listed files while mating with sequence number, the UUID of IVI system, the listed files of the movable storage device carrying in described installation kit information, think upgrading source be safe, upgrading medium and upgrading target be legal, meet the requirement of firmware upgrade.
In sum, by upgrade file sign is set, in upgrade file sign, record the relevant upgrade information of sequence number of UUID, listed files and the movable storage device of IVI system, when the upgrade information of the upgrading environmental information reading and record matches, start upgrading, guaranteed whole process information checking in whole escalation process, guaranteed that whole escalation process is controlled, safety, upgrading source and upgrading object are accurate.
Please refer to Fig. 2, it is the method flow diagram of second embodiment of a kind of method based on movable storage device upgrading IVI system firmware of providing of the embodiment of the present invention.Compare with first embodiment of method, the present embodiment further illustrates the process that reads the sequence number of movable storage device and the upgrade file sign in movable storage device.As shown in the figure, the method comprises:
Step S201: search upgrade file sign according to default filename under the root directory of described movable storage device.
When exploitation IVI system, be provided with the rule of its upgrading, wherein, in searching the process of upgrade file sign, preset the filename of upgrade file sign, IVI system, when movable storage device being detected, is just searched upgrade file sign according to default filename.The title that filename can be upgraded is at every turn set to identical, also the filename of the upgrade file sign of once upgrading corresponding can be set in each upgrading, it should be noted that, after employing during a kind of mode, the filename of the upgrade file sign while at every turn upgrading need and front while once upgrading the filename of renewal consistent.In two kinds of plans of establishment, front a kind of easy to operate, the upgrade file sign name that each upgrading provides is identical, escalation process in the middle of can ignoring, directly carry out up-to-date upgrading, the namely upgrading for the second time after upgrading for the first time is not carried out for a certain reason, can directly upgrade for the third time; Rear a kind of operation relative complex, must upgrade and all carry out successively at every turn, any once upgrading in the middle of can not missing.
Step S202: when confirming that upgrade file sign exists, obtain the upgrade information carrying in described upgrade file sign.
When finding upgrade file sign according to filename, immediately read this upgrade file sign.
Step S203:IVI system reads upgrading environmental information.
Described upgrading environmental information comprises: the UUID of the sequence number of movable storage device, the listed files of the upgrade file in movable storage device and IVI system.
The sequence number of each movable storage device is present in the master control IC of movable storage device, and after movable storage device access IVI system, IVI system preferentially reads the sequence number recording in the master control IC of movable storage device.
Step S204: when described upgrading environmental information is all mated with the corresponding upgrade information carrying in described upgrade file sign, IVI system firmware starts upgrading.
In sum, in the present embodiment, further illustrate the search procedure of upgrade file sign and the setting up procedure of filename, can guarantee escalation process safety.Generally speaking, by upgrade file sign is set, in upgrade file sign, record the relevant upgrade information of sequence number of UUID, listed files and the movable storage device of IVI system, when the upgrade information of the upgrading environmental information reading and record is identical, start upgrading, guaranteed whole process information checking in whole escalation process, guaranteed that whole escalation process is controlled, safety, upgrading source and upgrading object are accurate.
Please refer to Fig. 3, it is the method flow diagram of the 3rd embodiment of a kind of method based on movable storage device upgrading IVI system firmware of providing of the embodiment of the present invention.Compare with second embodiment of method, the present embodiment has further designed the upgrade file sign of encrypting, set up the upgrading key of IVI system, the detailed step that obtains the upgrade information carrying in listed files and upgrade file sign in movable storage device has been described, concrete upgrading mode has been described.As shown in the figure, the method comprises:
Step S301: search upgrade file sign according to default filename under the root directory of described movable storage device.
Wherein, upgrade file is masked as the upgrade file sign of encryption.In order to prevent that, to the cracking and malicious modification of upgrade file sign, upgrade file sign is set to the upgrade file sign of encrypting, concrete encipherment scheme has plurality of optional in the prior art, and for example DES, 3DES encrypt, and do not repeat them here.
Step S302: when confirming that upgrade file sign exists, upgrade file sign is decrypted.
According to the encryption method in step S301, upgrade file sign is decrypted.
Step S303: obtain the upgrade information carrying in upgrade file sign.
Whether the upgrade information here comprises the sequence number of described movable storage device, the check information in the UUID of IVI system, listed files, upgrading key and upgrade file, consistent with the information of standard for comparing the information of actual acquisition.Each upgrading colony (as, upgrading target terminal), have a unified upgrading main body (as, the upgrade file side of transferring), by this main body, the user in colony is upgraded, when providing to this main body the movable storage device that carries upgrade file, in upgrade file sign wherein, record the UUID of all correspondences in Liao Gai colony, when UUID only being detected and be in the UUID of record, just likely upgrade.Such UUID set-up mode, can make the installation kit of a upgrade file, can be a plurality of with clearly defined objective IVI systems upgrades, because in each upgrading colony, unique user be wherein know oneself upgrading main body specifically whose, can find very soon upgrading main body place to realize upgrading, and for each upgrading main body, as long as movable storage device is accessed to IVI system, can confirm fast whether this IVI system is the upgrading object in in-group, generally speaking, the realization of upgrading is quite easily.
Further, upgrading for the IVI system pirate user that prevents from existing, after system upgrade corresponding to certain UUID in listed files, immediately this UUID is added to mark, represent that this IVI system has completed epicycle upgrading, if the epicycle upgrading again occurring system corresponding to this UUID during upgrading, will be refused, avoided IVI system pirate user by forging the UUID use of upgrading.
Step S304:IVI system reads upgrading environmental information.
Described upgrading environmental information comprises: the sequence number of movable storage device, the listed files of the upgrade file in movable storage device, the UUID of IVI system and the upgrading key of IVI system.
In this programme, IVI system is as a kind of onboard system, and its software marketing pattern and general computer applications system have very large difference, and its upgrade mode is not online upgrading, but upgrades by movable storage device.And be generally to sell and after sale service by dealer's channel.Dealer is when obtaining upgrade file, not by downloading on the net arbitrarily, but obtain upgrade file by the movable storage device of appointment, now in upgrade file sign, write the sequence number of the movable storage device of appointment, if copy the upgrade file of acquisition with other movable storage device from the movable storage device of appointment, there will be the sequence number that reads and the inconsistent situation of sequence number of record, now assert that upgrading source is illegal.
Listed files is the statistics to the All Files in upgrade file bag, and under normal circumstances, listed files is consistent with the listed files recording in upgrade file sign.
Step S305: when described upgrading environmental information is all mated with the corresponding upgrade information carrying in described upgrade file sign, the check information in the check code of described upgrade file and described upgrade file sign is carried out to verification.
In this step, concrete coupling be sequence number, the listed files of the movable storage device in upgrading environmental information, the UUID of IVI system.
Concrete verification can adopt MD5 verification, in upgrade information, record MD5 verification and.
Step S306: when verification is passed through, judge whether the size of upgrade file allows to copy to the storage unit of IVI system.
According to the judged result of this step, select different upgrade modes.
Step S307: when the size of upgrade file allows to copy the storage unit of IVI system to, described upgrade file is copied to the storage unit of described IVI system, the upgrade file based in storage unit is upgraded; Otherwise the upgrade file based in described movable storage device is upgraded.
Last mode of operation can reduce the impact of external unit on escalation process, the upgrading failure that for example movement of movable storage device or catastrophic failure cause, be directed to especially this programme, each movable storage device need to be upgraded for a plurality of users' IVI system, make can directly upgrade file to be copied in this way IVI system storage unit relief its upgrade voluntarily, and movable storage device can continue as other users' IVI system, upgrade, improved upgrading efficiency; The upgrading of a rear mode of operation is more quick for single upgrading user, exempts the process of copy.In the process of upgrading, comprised the renewal to the upgrading key of IVI system, upgrading key the repeatedly upgrading that can avoid IVI system is set, new upgrading key only could be used when once carrying out correct upgrading and carry out new renewal upper.Concrete escalation process and existing software upgrading comparing class seemingly, are not further elaborated at this.
Wherein, if described IVI system gets upgrade file sign in operational process, stop the operation of IVI system firmware when upgrading, upgrading finishes rear operation IVI system firmware.
In prior art, under normal operating condition, the program of cannot doing is replaced, therefore be all generally to upgrade in start-up course.In this programme, can realize upgrading at any time, more specifically, a main control unit is set in IVI system firmware, and when confirming to upgrade, it is out of service that main control unit is controlled IVI system firmware, carry out program replacement, when replacement completes, after namely upgrading finishes, main control unit is controlled IVI system firmware and is restarted operation.
In sum, in the present embodiment, further designed the upgrade file sign of encrypting, the detailed step that obtains the installation kit information of carrying in listed files and upgrade file sign in movable storage device has been described, new concrete upgrading mode is provided.Generally speaking, by upgrade file sign is set, in upgrade file sign, record the relevant upgrade information of sequence number of UUID, listed files and the movable storage device of IVI system, when the upgrade information of the upgrading environmental information reading and record matches, start upgrading, guaranteed whole process information checking in whole escalation process, guaranteed that whole escalation process is controlled, safety, upgrading source and upgrading object are accurate.
Below the embodiment of a kind of device based on movable storage device upgrading IVI system firmware in this programme, this embodiment realizes substantially on the basis of preceding method, both belong to same design, and the detail content of detailed description not in the present embodiment can be with reference to said method embodiment.
Please refer to Fig. 4, it is the block diagram of first embodiment of a kind of device based on movable storage device upgrading IVI system firmware of providing of the embodiment of the present invention.As shown in the figure, this device comprises:
Upgrade information reading unit 110, for obtaining the upgrade information carrying in the upgrade file sign of movable storage device.
Environmental information recognition unit 120, reads upgrading environmental information for IVI system, and described upgrading environmental information comprises: the UUID of the sequence number of movable storage device, the listed files of the upgrade file in movable storage device and IVI system.
Upgrading unit 130, while mating for the corresponding upgrade information all carrying with described upgrade file sign when described upgrading environmental information, IVI system firmware starts upgrading.
By upgrade file sign is set, in upgrade file sign, record the relevant upgrade information of sequence number of UUID, listed files and the movable storage device of IVI system, when the upgrade information of the upgrading environmental information reading and record is identical, start upgrading, guaranteed whole process information checking in whole escalation process, guaranteed that whole escalation process is controlled, safety, upgrading source and upgrading object are accurate.
Please refer to Fig. 5, it is the block diagram of second embodiment of a kind of device based on movable storage device upgrading IVI system firmware of providing of the embodiment of the present invention.Compare with first embodiment of device, the present embodiment further illustrates the work group of upgrade information reading unit 110.As shown in the figure, this device comprises:
Upgrade information reading unit 110, for obtaining the upgrade information carrying in the upgrade file sign of movable storage device.
Environmental information recognition unit 120, reads upgrading environmental information for IVI system, and described upgrading environmental information comprises: the UUID of the sequence number of movable storage device, the listed files of the upgrade file in movable storage device and IVI system.
Upgrading unit 130, while mating for the corresponding upgrade information all carrying with described upgrade file sign when described upgrading environmental information, IVI system firmware starts upgrading.
Wherein, described upgrade information reading unit 110, comprising:
Upgrade file tag lookup module 111, for searching upgrade file sign according to default filename under the root directory of described movable storage device;
Upgrade information read module 112, for when confirming that upgrade file sign exists, obtains the upgrade information carrying in described upgrade file sign.
The operational module that further illustrates upgrade information reading unit 110 in the present embodiment forms.Generally speaking, by upgrade file sign is set, in upgrade file sign, record the relevant upgrade information of sequence number of UUID, listed files and the movable storage device of IVI system, when the upgrade information of the upgrading environmental information reading and record is identical, start upgrading, guaranteed whole process information checking in whole escalation process, guaranteed that whole escalation process is controlled, safety, upgrading source and upgrading object are accurate.
Please refer to Fig. 6, it is the block diagram of the 3rd embodiment of a kind of device based on movable storage device upgrading IVI system firmware of providing of the embodiment of the present invention.Compare with second embodiment of device, the present embodiment further designs the upgrade file sign of encryption, for IVI system is provided with upgrading key, the work group of upgrade information read module 112 and upgrading unit 130 has been described.As shown in the figure, this device comprises:
Upgrade information reading unit 110, for obtaining the upgrade information carrying in the upgrade file sign of movable storage device.
Environmental information recognition unit 120, reads upgrading environmental information for IVI system, and described upgrading environmental information comprises: the UUID of the sequence number of movable storage device, the listed files of the upgrade file in movable storage device, IVI system and upgrading key.
Upgrading unit 130, while mating for the corresponding upgrade information all carrying with described upgrade file sign when described upgrading environmental information, IVI system firmware starts upgrading.
Wherein, described upgrade information reading unit 110, comprising:
Upgrade file tag lookup module 111, for searching upgrade file sign according to default filename under the root directory of described movable storage device;
Upgrade information read module 112, for when confirming that upgrade file sign exists, obtains the upgrade information carrying in described upgrade file sign.
Wherein, described upgrade file is masked as the upgrade file sign of encryption.
Further, described upgrade information read module 112, comprising:
Deciphering submodule 112a, for when confirming that upgrade file sign exists, is decrypted upgrade file sign;
Obtain submodule 112b, the upgrade information carrying for obtaining upgrade file sign.
Described upgrading unit 130, comprising:
Correction verification module 131, when the corresponding upgrade information all carrying with described upgrade file sign for the UUID when the sequence number of described movable storage device, listed files, IVI system mates, the check information in the check code of described upgrade file and described upgrade file sign is carried out to verification;
Size comparing module 132, for when verification is passed through, judges whether the size of upgrade file allows to copy to the storage unit of IVI system;
Upgrading module 133, while allowing to copy the storage unit of IVI system to for the size when upgrade file, copies described upgrade file to the storage unit of described IVI system, and the upgrade file based in storage unit is upgraded; Otherwise the upgrade file based in described movable storage device is upgraded.
Wherein, described IVI system is provided with upgrading key, and described upgrading environmental information also comprises upgrading key;
Wherein, if described IVI system gets upgrade file sign in operational process, stop the operation of IVI system firmware when upgrading, upgrading finishes rear operation IVI system firmware;
Described upgrading comprises the upgrading key that upgrades IVI system.
In sum, in the present embodiment, further designed the upgrade file sign of encrypting, the means that realize in detail of obtaining the upgrade information carrying in listed files and upgrade file sign in movable storage device have been described, the concrete upgrading mode having illustrated.Generally speaking, by upgrade file sign is set, in upgrade file sign, record the sequence number of UUID, listed files and the movable storage device of IVI system, when the information of the information reading and record is identical, start upgrading, guaranteed whole process information checking in whole escalation process, guaranteed that whole escalation process is controlled, safety, upgrading source and upgrading object are accurate.
Above content is only preferred embodiment of the present invention, for those of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, and this description should not be construed as limitation of the present invention.

Claims (10)

1. the method based on movable storage device upgrading IVI system firmware, is characterized in that, comprising:
Obtain the upgrade information carrying in the upgrade file sign in movable storage device;
IVI system reads upgrading environmental information, and described upgrading environmental information comprises: the UUID of the sequence number of movable storage device, the listed files of the upgrade file in movable storage device and IVI system;
When described upgrading environmental information is all mated with the corresponding upgrade information carrying in described upgrade file sign, IVI system firmware starts upgrading.
2. a kind of method based on movable storage device upgrading IVI system firmware according to claim 1, is characterized in that, described in obtain the upgrade information carrying in the upgrade file sign in movable storage device, comprising:
Under the root directory of described movable storage device, according to default filename, search upgrade file sign;
When confirming that upgrade file sign exists, obtain the upgrade information carrying in described upgrade file sign.
3. a kind of method based on movable storage device upgrading IVI system firmware according to claim 2, is characterized in that, described upgrade file is masked as the upgrade file sign of encryption.
4. a kind of method based on movable storage device upgrading IVI system firmware according to claim 3, is characterized in that, describedly when confirmation upgrade file sign exists, obtains the upgrade information carrying in upgrade file sign, comprising:
When confirming that upgrade file sign exists, upgrade file sign is decrypted;
Obtain the upgrade information carrying in upgrade file sign.
5. a kind of method based on movable storage device upgrading IVI system firmware according to claim 1, is characterized in that, described IVI system is provided with upgrading key, and described upgrading environmental information also comprises upgrading key;
Described when described upgrading environmental information is all mated with the corresponding upgrade information carrying in described upgrade file sign, IVI system firmware starts upgrading, comprising:
When sequence number, listed files, the UUID of IVI system, the upgrading key of described movable storage device all mate with the corresponding upgrade information carrying in described upgrade file sign, the check information in the check code of described upgrade file and described upgrade file sign is carried out to verification;
When verification is passed through, judge whether the size of upgrade file allows to copy to the storage unit of IVI system;
When the size of upgrade file allows to copy the storage unit of IVI system to, described upgrade file is copied to the storage unit of described IVI system, the upgrade file based in storage unit is upgraded; Otherwise the upgrade file based in described movable storage device is upgraded;
Wherein, if described IVI system gets upgrade file sign in operational process, stop the operation of IVI system firmware when upgrading, upgrading finishes rear operation IVI system firmware;
Wherein, described upgrading comprises the upgrading key that upgrades IVI system.
6. the device based on movable storage device upgrading IVI system firmware, is characterized in that, comprising:
Upgrade information reading unit, for obtaining the upgrade information carrying in the upgrade file sign of movable storage device;
Environmental information recognition unit, reads upgrading environmental information for IVI system, and described upgrading environmental information comprises: the UUID of the sequence number of movable storage device, the listed files of the upgrade file in movable storage device and IVI system;
Upgrading unit, while mating for the corresponding upgrade information all carrying with described upgrade file sign when described upgrading environmental information, IVI system firmware starts upgrading.
7. a kind of device based on movable storage device upgrading IVI system firmware according to claim 6, is characterized in that, described upgrade information reading unit, comprising:
Upgrade file tag lookup module, for searching upgrade file sign according to default filename under the root directory of described movable storage device;
Upgrade information read module, for when confirming that upgrade file sign exists, obtains the upgrade information carrying in described upgrade file sign.
8. a kind of device based on movable storage device upgrading IVI system firmware according to claim 7, is characterized in that, described upgrade file is masked as the upgrade file sign of encryption.
9. a kind of device based on movable storage device upgrading IVI system firmware according to claim 8, is characterized in that, described upgrade information read module, comprising:
Deciphering submodule, for when confirming that upgrade file sign exists, is decrypted upgrade file sign;
Obtain submodule, the upgrade information carrying for obtaining upgrade file sign.
10. a kind of device based on movable storage device upgrading IVI system firmware according to claim 6, is characterized in that, described IVI system is provided with upgrading key, and described upgrading environmental information also comprises upgrading key;
Described upgrading unit, comprising:
Correction verification module, when the corresponding upgrade information all carrying with described upgrade file sign for the UUID of the sequence number when described movable storage device, listed files, IVI system, the key of upgrading mates, the check information in the check code of described upgrade file and described upgrade file sign is carried out to verification;
Size comparing module, for when verification is passed through, judges whether the size of upgrade file allows to copy to the storage unit of IVI system;
Upgrading module, while allowing to copy the storage unit of IVI system to for the size when upgrade file, copies described upgrade file to the storage unit of described IVI system, and the upgrade file based in storage unit is upgraded; Otherwise the upgrade file based in described movable storage device is upgraded;
Wherein, if described IVI system gets upgrade file sign in operational process, stop the operation of IVI system firmware when upgrading, upgrading finishes rear operation IVI system firmware;
Wherein, described upgrading comprises the upgrading key that upgrades IVI system.
CN201410226152.3A 2014-05-26 2014-05-26 A kind of method and apparatus upgrading IVI system firmwares based on movable storage device Active CN103995723B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410226152.3A CN103995723B (en) 2014-05-26 2014-05-26 A kind of method and apparatus upgrading IVI system firmwares based on movable storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410226152.3A CN103995723B (en) 2014-05-26 2014-05-26 A kind of method and apparatus upgrading IVI system firmwares based on movable storage device

Publications (2)

Publication Number Publication Date
CN103995723A true CN103995723A (en) 2014-08-20
CN103995723B CN103995723B (en) 2018-08-03

Family

ID=51309901

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410226152.3A Active CN103995723B (en) 2014-05-26 2014-05-26 A kind of method and apparatus upgrading IVI system firmwares based on movable storage device

Country Status (1)

Country Link
CN (1) CN103995723B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106330450A (en) * 2015-07-03 2017-01-11 云网阳光(北京)科技有限公司 Electronic payment reinforcement system
CN106502733A (en) * 2016-10-12 2017-03-15 广东乐源数字技术有限公司 A kind of method of mobile terminal firmware modification
CN107305497A (en) * 2016-04-21 2017-10-31 中兴通讯股份有限公司 Version upgrading method and device
CN107491276A (en) * 2017-06-30 2017-12-19 杭州旗捷科技有限公司 The method of device data remote encryption upgrading, storage medium, electronic equipment
CN107835088A (en) * 2017-09-26 2018-03-23 深圳市亿兆互联技术有限公司 A kind of LoRa terminal devices over-the-air upgrade method and system
WO2018157570A1 (en) * 2017-03-03 2018-09-07 百富计算机技术(深圳)有限公司 Method for upgrading software of pos terminal, pos terminal, and storage medium
CN108628619A (en) * 2017-03-21 2018-10-09 比亚迪股份有限公司 Method for updating program and device
CN109375939A (en) * 2018-12-17 2019-02-22 蜂巢(武汉)微系统技术有限公司 A kind of onboard system firmware on line upgrading method
CN111552491A (en) * 2020-04-22 2020-08-18 北京小马智行科技有限公司 Method, device and storage medium for upgrading firmware of transfer equipment of mobile carrier

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2076056A1 (en) * 2007-06-20 2009-07-01 Huawei Technologies Co., Ltd. Management method for intelligent terminal system and intelligent terminal
CN101510824A (en) * 2008-02-13 2009-08-19 宝马股份公司 Electric wiring system of a motor vehicle with replaceable cryptographic key and/or certificate
CN102012830A (en) * 2010-12-03 2011-04-13 深圳市元征软件开发有限公司 Automatic upgrading method for equipment and equipment
CN102082799A (en) * 2011-01-26 2011-06-01 惠州市德赛西威汽车电子有限公司 Vehicle-carried multimedia service system accessing method and system thereof
CN102567040A (en) * 2010-12-31 2012-07-11 上海博泰悦臻电子设备制造有限公司 Software market-based method and device for installing vehicle-mounted equipment software
CN103473088A (en) * 2013-08-30 2013-12-25 北京远特科技有限公司 Method and system for online upgrading of single chip microcomputer

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2076056A1 (en) * 2007-06-20 2009-07-01 Huawei Technologies Co., Ltd. Management method for intelligent terminal system and intelligent terminal
CN101510824A (en) * 2008-02-13 2009-08-19 宝马股份公司 Electric wiring system of a motor vehicle with replaceable cryptographic key and/or certificate
CN102012830A (en) * 2010-12-03 2011-04-13 深圳市元征软件开发有限公司 Automatic upgrading method for equipment and equipment
CN102567040A (en) * 2010-12-31 2012-07-11 上海博泰悦臻电子设备制造有限公司 Software market-based method and device for installing vehicle-mounted equipment software
CN102082799A (en) * 2011-01-26 2011-06-01 惠州市德赛西威汽车电子有限公司 Vehicle-carried multimedia service system accessing method and system thereof
CN103473088A (en) * 2013-08-30 2013-12-25 北京远特科技有限公司 Method and system for online upgrading of single chip microcomputer

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106330450A (en) * 2015-07-03 2017-01-11 云网阳光(北京)科技有限公司 Electronic payment reinforcement system
CN107305497A (en) * 2016-04-21 2017-10-31 中兴通讯股份有限公司 Version upgrading method and device
CN106502733A (en) * 2016-10-12 2017-03-15 广东乐源数字技术有限公司 A kind of method of mobile terminal firmware modification
WO2018068687A1 (en) * 2016-10-12 2018-04-19 广东乐源数字技术有限公司 Modification method for mobile terminal firmware
WO2018157570A1 (en) * 2017-03-03 2018-09-07 百富计算机技术(深圳)有限公司 Method for upgrading software of pos terminal, pos terminal, and storage medium
CN108628619A (en) * 2017-03-21 2018-10-09 比亚迪股份有限公司 Method for updating program and device
CN107491276A (en) * 2017-06-30 2017-12-19 杭州旗捷科技有限公司 The method of device data remote encryption upgrading, storage medium, electronic equipment
WO2019000511A1 (en) * 2017-06-30 2019-01-03 杭州旗捷科技有限公司 Method for remote encrypted upgrade of device data, storage medium and electronic device
CN107835088A (en) * 2017-09-26 2018-03-23 深圳市亿兆互联技术有限公司 A kind of LoRa terminal devices over-the-air upgrade method and system
CN109375939A (en) * 2018-12-17 2019-02-22 蜂巢(武汉)微系统技术有限公司 A kind of onboard system firmware on line upgrading method
CN111552491A (en) * 2020-04-22 2020-08-18 北京小马智行科技有限公司 Method, device and storage medium for upgrading firmware of transfer equipment of mobile carrier

Also Published As

Publication number Publication date
CN103995723B (en) 2018-08-03

Similar Documents

Publication Publication Date Title
CN103995723A (en) IVI system firmware updating method and device based on mobile storage equipment
US8844049B2 (en) Method for generating a cryptographic key for a protected digital data object on the basis of current components of a computer
US9647992B2 (en) Secure transfer and tracking of data using removable nonvolatile memory devices
CN109313690A (en) Self-contained encryption boot policy verifying
CN102436388A (en) Method and device for upgrading software of embedded system
JP6096186B2 (en) Method and apparatus for using nonvolatile memory device
US10146461B2 (en) Automatic back-up system with verification key and method of operation thereof
CN101968834A (en) Encryption method and device for anti-copy plate of electronic product
US9582262B2 (en) Systems and methods for installing upgraded software on electronic devices
JP2002319230A (en) Recording medium, information processor, server, and method, program for contents distribution and recording medium thereof
CN105631361A (en) Application program channel source identification method and device
US10412079B2 (en) NFC device, software installation method, software uninstallation method, computer program and article of manufacture
CN103034788A (en) Verification method and system of electronic readings, server, client and terminal
CN1555557A (en) Writing device, semiconductor memory card, program, and method
US7890775B2 (en) Information processing apparatus, content control method, and storage medium
KR101642267B1 (en) System for preventing forgery of application and method therefor
JP2009272002A (en) Information processor, disk, and information processing method and program
CN104572169B (en) A kind of software distribution and installation system based on UEFI
US20090119744A1 (en) Device component roll back protection scheme
US20170075608A1 (en) Solid state memory unit and method for protecting a memory including verification of a sequence of requests for access to physical blocks
US20080155683A1 (en) Apparatus and method for managing rights object
US8490208B2 (en) Method and device for detecting if a computer file has been copied and method and device for enabling such detection
KR101711024B1 (en) Method for accessing temper-proof device and apparatus enabling of the method
CN115688120A (en) Secure chip firmware importing method, secure chip and computer readable storage medium
CN111198692A (en) Installation package generation method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant