CN107783777A - A kind of upgrade method, equipment and the system of vehicle-mounted integral machine - Google Patents

A kind of upgrade method, equipment and the system of vehicle-mounted integral machine Download PDF

Info

Publication number
CN107783777A
CN107783777A CN201610753965.7A CN201610753965A CN107783777A CN 107783777 A CN107783777 A CN 107783777A CN 201610753965 A CN201610753965 A CN 201610753965A CN 107783777 A CN107783777 A CN 107783777A
Authority
CN
China
Prior art keywords
module
upgrade
upgrading
vehicle
rule file
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.)
Withdrawn
Application number
CN201610753965.7A
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.)
Sanechips Technology Co Ltd
Shenzhen ZTE Microelectronics Technology Co Ltd
Original Assignee
Shenzhen ZTE Microelectronics 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 Shenzhen ZTE Microelectronics Technology Co Ltd filed Critical Shenzhen ZTE Microelectronics Technology Co Ltd
Priority to CN201610753965.7A priority Critical patent/CN107783777A/en
Priority to PCT/CN2017/099250 priority patent/WO2018041061A1/en
Publication of CN107783777A publication Critical patent/CN107783777A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating

Abstract

The invention discloses a kind of upgrade method of vehicle-mounted integral machine, including:Obtain upgrading rule file;Determined to need the functional module upgraded according to upgrading rule file, and download the upgrade image of the corresponding function module;It is determined that when the release type for the upgrade image downloaded is consistent with the release type of the software kit of vehicle-mounted integral machine local the corresponding function module, the upgrading of the corresponding function module is carried out.The present invention further simultaneously discloses a kind of vehicle-mounted integral machine, server, upgrade server and a kind of upgrade-system of vehicle-mounted integral machine.

Description

A kind of upgrade method, equipment and the system of vehicle-mounted integral machine
Technical field
The present invention relates to mobile unit administrative skill field, more particularly to a kind of upgrade method, the equipment of vehicle-mounted integral machine And system.
Background technology
With the popularization of automobile, vehicle-mounted integral machine equipment increasingly becomes the necessity of life.Current vehicle-mounted integral machine Equipment is mainly with the fastest developing speed with Android machine, relies on the high occupation rate of Android mobile terminal such as mobile phone, supports Android platform Most of game and application software, there is provided the Consumer's Experience similar to mobile phone, therefore, the application of vehicle-mounted integral machine are easiest to Popularized to masses, there is extensive commercial prospect.For huge vehicle-mounted integral machine market, the upgrade maintenance of system version works Just it is particularly important.
At present, the vehicle-mounted integral machine system upgrade of in the market, which is safeguarded, typically has two kinds:Local upgrade and online upgrading;Its In, local upgrade is upgraded by USB flash disk or SD card, and online upgrading is by general packet radio service (GPRS, General Packet Radio Service) access upgrades and fraction Wireless Fidelity (WIFI, Wireless Fidelity) network Access upgrading.
For both upgrade maintenance modes, local upgrade is adapted to without upgrading under network condition, but inconvenient;Online upgrading The GPRS access updating speeds of use are slower, and need payment expense;WIFI access upgradings are simple and convenient, and will not collection charge With, but can not be used under no network condition.In addition, modules would generally be fabricated to an image file by vehicle-mounted version Upgraded as upgrading software kit, such image file can be relatively large, can not only increase download time and the liter of file The level time;Moreover, if user only needs individually to upgrade part of module, this mode is very inconvenient.
The content of the invention
In view of this, the embodiment of the present invention it is expected to provide a kind of upgrade method, equipment and the system of vehicle-mounted integral machine, can be real Existing vehicle-mounted integral machine divides the independent upgrading of difference in functionality module.
To reach above-mentioned purpose, what the technical scheme of the embodiment of the present invention was realized in:
The embodiments of the invention provide a kind of upgrade method of vehicle-mounted integral machine, methods described includes:
Obtain upgrading rule file;
Determined to need the functional module upgraded according to upgrading rule file, and download the upgrade image of the corresponding function module;
It is determined that the version of the release type for the upgrade image downloaded and the software kit of vehicle-mounted integral machine local the corresponding function module When this type is consistent, the upgrading of the corresponding function module is carried out.
In such scheme, the upgrading rule file, including:The ardware model number of vehicle-mounted integral machine, upgraded module name, upgrading The filename of module and the fileversion number of upgraded module;
The upgrade image of described the corresponding function module, including:Realize the upgrade image of the functional module of start, realize guiding The upgrade image of the functional module of program, realize safe mode functional module upgrade image, realize the function of software upgrading The upgrade image of module, the upgrade image for realizing the functional module that increment upgrades.
In such scheme, described obtain upgrades rule file, including:
Vehicle-mounted integral machine be connected with storage device and storage device be stored with upgrading rule file when, be locally-downloaded rise Level rule file;Vehicle-mounted integral machine is not connected with storage device or storage device is not stored when upgrading rule file, from upgrade service Device downloads upgrading rule file.
It is described to be determined to need the functional module upgraded according to upgrading rule file in such scheme, and download corresponding function The upgrade image of module, including:
First determine whether the ardware model number in upgrading rule file matches with the ardware model number of local vehicle-mounted integral machine, it is determined that During matching, then determine upgrade rule file in upgraded module name and upgraded module filename it is whether consistent;
It is determined that the upgrade image name that the upgraded module name in upgrading rule file upgrades with upgrade server under catalogue is consistent, And the filename of upgraded module and upgrade server upgrade the upgrade image under catalogue filename it is consistent when, then determine upgrading rule Then the fileversion number of the upgraded module in file whether there is difference;
It is determined that when the fileversion number of the upgraded module in upgrading rule file is with local fileversion number difference, download The upgrade image of the corresponding function module.
In such scheme, the release type and vehicle-mounted integral machine local corresponding function mould of the upgrade image for determining to download When the release type of the software kit of block is consistent, the upgrading of the corresponding function module is carried out, including:
The release type front three of the upgrade image of download and the software kit of vehicle-mounted integral machine local the corresponding function module When release type front three is consistent, the upgrading of the corresponding function module is carried out.
The embodiment of the present invention additionally provides a kind of upgrade method of vehicle-mounted integral machine, and methods described includes:
The upgrade image of upgrading rule file and corresponding difference in functionality module is set, and uploads upgrade server.
The embodiment of the present invention provides a kind of upgrade method of vehicle-mounted integral machine again, and methods described includes:
Receive the upgrade image of upgrading rule file and corresponding difference in functionality module;
When receiving the first request message, upgrading rule file is sent to vehicle-mounted integral machine;
When receiving the second request message, the upgrade image of the corresponding function module is sent to vehicle-mounted integral machine.
The embodiment of the present invention additionally provides a kind of vehicle-mounted integral machine, and the vehicle-mounted integral machine includes:
Acquisition module, upgrade rule file for obtaining;
Upgrading confirms module, for determining to need the functional module upgraded according to upgrading rule file, and downloads corresponding work( The upgrade image of energy module;
Upgraded module, for the release type and the software kit of local the corresponding function module of the upgrade image for determining to download When release type is consistent, the upgrading of the corresponding function module is carried out.
In such scheme, the acquisition module, specifically for being connected with storage device and storage device in vehicle-mounted integral machine In be stored with upgrading rule file when, upgrading rule file is being locally-downloaded;Vehicle-mounted integral machine is not connected with storage device or storage When equipment does not store upgrading rule file, upgrading rule file is downloaded from upgrade server.
In such scheme, the upgrading confirms module, the ardware model number for being additionally operable to first to determine to upgrade in rule file and this Whether the ardware model number of ground vehicle-mounted integral machine matches, it is determined that matching when, then determine upgrade rule file in upgraded module name with Whether the filename of upgraded module is consistent;
It is determined that the upgrade image name that the upgraded module name in upgrading rule file upgrades with upgrade server under catalogue is consistent, And the filename of upgraded module and upgrade server upgrade the upgrade image under catalogue filename it is consistent when, then determine upgrading rule Then the fileversion number of the upgraded module in file whether there is difference;
It is determined that when the fileversion number of the upgraded module in upgrading rule file is with local fileversion number difference, download The upgrade image of the corresponding function module.
The embodiment of the present invention provides a kind of server again, and the server includes:
Setup module, for setting the upgrade image of upgrading rule file and corresponding difference in functionality module;
Uploading module, for uploading the upgrade image of set upgrading rule file and corresponding difference in functionality module to rising Level server.
The embodiment of the present invention provides a kind of upgrade server again, and the upgrade server includes:
Receiving module, for receiving the upgrade image of upgrading rule file and corresponding difference in functionality module;
Sending module, for when receiving the first request message, upgrading rule file to be sent into vehicle-mounted integral machine;Also use When the second request message is being received, the upgrade image of the corresponding function module is sent to vehicle-mounted integral machine.
The embodiment of the present invention provides a kind of upgrade-system of vehicle-mounted integral machine again, and the system includes:Server, upgrading Server, vehicle-mounted integral machine;Wherein,
The server, for setting the upgrade image of upgrading rule file and corresponding difference in functionality module, and upload liter Level rule file and the upgrade image of the corresponding function module are to upgrade server;
The upgrade server, for receiving the upgrade image of upgrading rule file and corresponding difference in functionality module;Connecing When receiving the first request message, upgrading rule file is sent to vehicle-mounted integral machine, and when receiving the second request message, will be corresponding The upgrade image of functional module is sent to vehicle-mounted integral machine;
The vehicle-mounted integral machine, upgrade rule file for obtaining;Determined to need the work(upgraded according to upgrading rule file Energy module, and download the upgrade image of the corresponding function module;It is determined that the release type for the upgrade image downloaded and local corresponding work( When the release type of the software kit of energy module is consistent, the upgrading of the corresponding function module is carried out.
Upgrade method, equipment and the system of vehicle-mounted integral machine provided in an embodiment of the present invention, vehicle-mounted integral machine obtain upgrading Rule file;Determined to need the functional module upgraded according to upgrading rule file, and download the upgrade image of the corresponding function module; It is determined that when the release type for the upgrade image downloaded is consistent with the release type of the software kit of local the corresponding function module, phase is carried out Answer the upgrading of functional module.In this way, will be divided for the upgrade image of upgrading by functional module, and using upgrading rule file pair Functional module is described and managed, in this manner it is possible to determine to need some or certain the several functions of upgrading according to being actually needed Module, upgrade image corresponding to download, is individually upgraded, so as to realize the upgrading of point functional module, not only respectively respectively Too many download time, transfer resource and update time will not be taken, and is realized simply, conveniently, flexibly.
In addition, in the embodiment of the present invention, it is stored with when vehicle-mounted integral machine itself is connected with storage device and storage device When upgrading rule file, upgrading rule file directly can be locally-downloaded;Vehicle-mounted integral machine is not connected with storage device or storage When equipment does not store upgrading rule file, then upgrading rule file is downloaded from upgrade server;When being upgraded, if net Network connects, then can carry out online upgrading by WIFI;If without network connection, to pass through local external storage device Carry out local upgrade;It can be seen that the embodiment of the present invention can compatible local upgrade and online upgrading.
Brief description of the drawings
Fig. 1 is the implementation process schematic diagram of the upgrade method of the vehicle-mounted integral machine of the embodiment of the present invention one;
Fig. 2 is the implementation process schematic diagram of the upgrade method of the vehicle-mounted integral machine of the embodiment of the present invention two;
Fig. 3 is the implementation process schematic diagram of the upgrade method of the vehicle-mounted integral machine of the embodiment of the present invention three;
Fig. 4 is the composition structural representation of the vehicle-mounted integral machine of the embodiment of the present invention four;
Fig. 5 is the composition structural representation of the server of the embodiment of the present invention five;
Fig. 6 is the composition structural representation of the upgrade server of the embodiment of the present invention six;
Fig. 7 is the composition structural representation of the system of the embodiment of the present invention seven;
Fig. 8 is the schematic diagram of start process of embodiment of the present invention detection upgrading flow;
Fig. 9 is the schematic diagram of detection upgrading flow during the embodiment of the present invention is set.
Embodiment
The characteristics of in order to more fully hereinafter understand the embodiment of the present invention and technology contents, below in conjunction with the accompanying drawings to this hair The realization of bright embodiment is described in detail, appended accompanying drawing purposes of discussion only for reference, is not used for limiting the present invention.
Embodiment one
The present embodiment is by taking vehicle-mounted integral pusher side as an example, to describe the realization of the upgrade method of vehicle-mounted integral machine in detail Journey.As shown in figure 1, in the present embodiment the upgrade method of vehicle-mounted integral machine implementation process, comprise the following steps:
Step 101:Obtain upgrading rule file.
Here, the upgrading rule file, including:The ardware model number of vehicle-mounted integral machine, upgraded module name, upgraded module The fileversion number of filename and upgraded module.
The specific mode for obtaining upgrading rule file, can include:Judge whether vehicle-mounted integral machine is connected with storage device, When vehicle-mounted integral machine be connected with storage device and storage device be stored with upgrading rule file when, directly from be locally-downloaded upgrading Rule file;When vehicle-mounted integral machine is not connected with storage device or storage device does not store upgrading rule file, then taken from upgrading Business device downloads upgrading rule file;Wherein, described storage device includes but is not limited to USB flash disk or SD card.
Step 102:Determined to need the functional module upgraded according to upgrading rule file, and download the liter of the corresponding function module Class mirror-image.
Here, the upgrade image of described the corresponding function module, including:Realize upgrade image, the reality of the functional module of start The upgrade image of the functional module of existing bootstrap, realize safe mode functional module upgrade image, realize software upgrading Functional module upgrade image, realize increment upgrading functional module upgrade image.
Accordingly, it is described to be determined to need the functional module upgraded according to upgrading rule file, and download the corresponding function module Upgrade image, including:
First determine whether the ardware model number in upgrading rule file matches with the ardware model number of local vehicle-mounted integral machine, it is determined that During matching, then determine whether the upgraded module name in upgrading rule file is consistent with the filename of upgraded module;
It is determined that the upgrade image name that the upgraded module name in upgrading rule file upgrades with upgrade server under catalogue is consistent, And the filename of upgraded module and upgrade server upgrade the upgrade image under catalogue filename it is consistent when, then determine upgrading rule Then the fileversion number of the upgraded module in file whether there is difference;
It is determined that when the fileversion number of the upgraded module in upgrading rule file is with local fileversion number difference, download The upgrade image of the corresponding function module.
Step 103:It is determined that release type and vehicle-mounted integral machine local the corresponding function module of the upgrade image downloaded is soft When the release type of part bag is consistent, the upgrading of the corresponding function module is carried out.
Specifically, after having downloaded upgrade image, vehicle-mounted integral machine is according to the version of the software kit of local the corresponding function module The front three of the release type of type front three and the upgrade image downloaded is compared, if verification is consistent, is restarted vehicle-mounted All-in-one, which enters, recovers (recovery) pattern, erasable flash memory (flash), carries out the upgrading of the corresponding function module, upgrades successfully After restart vehicle-mounted integral machine;Otherwise, without upgrading.
Embodiment two
The present embodiment is by taking server side as an example, to describe the implementation process of the upgrade method of vehicle-mounted integral machine in detail.Such as Shown in Fig. 2, the implementation process of the upgrade method of vehicle-mounted integral machine, comprises the following steps in the present embodiment:
Step 201:The upgrade image of upgrading rule file and corresponding difference in functionality module is set.
Here, the upgrading rule file, including:The ardware model number of vehicle-mounted integral machine, upgraded module name, upgraded module The fileversion number of filename and upgraded module;
Here, the upgrade image of the corresponding difference in functionality module, including:Realize the upgrading mirror of the functional module of start As, realize bootstrap functional module upgrade image, realize safe mode functional module upgrade image, realize software The upgrade image of the functional module of upgrading, the upgrade image for realizing the functional module that increment upgrades.
Step 202:Upload and upgrade the upgrade image of rule file and correspondence difference in functionality module to upgrade server.
Embodiment three
The present embodiment is by taking upgrade server side as an example, to describe the realization of the upgrade method of vehicle-mounted integral machine in detail Journey.As shown in figure 3, in the present embodiment the upgrade method of vehicle-mounted integral machine implementation process, comprise the following steps:
Step 301:Receive the upgrade image of upgrading rule file and corresponding difference in functionality module.
Here, the upgrading rule file, including:The ardware model number of vehicle-mounted integral machine, upgraded module name, upgraded module The fileversion number of filename and upgraded module;
Here, the upgrade image of the corresponding difference in functionality module, including:Realize the upgrading mirror of the functional module of start As, realize bootstrap functional module upgrade image, realize safe mode functional module upgrade image, realize software The upgrade image of the functional module of upgrading, the upgrade image for realizing the functional module that increment upgrades;
Here, upgrade server can enter the upgrade image of the upgrading rule file received and corresponding difference in functionality module Row storage, required upgrading rule file or upgrading mirror are sent when receiving the request of vehicle-mounted integral machine, then to vehicle-mounted integral machine Picture.
Step 302:When receiving the first request message, upgrading rule file is sent to vehicle-mounted integral machine.
Here, first request message is the message that vehicle-mounted integral machine is sent to upgrade server, can be according to message Number or the type of message that receives of the determination such as message identifier;Specifically, the first request message is vehicle-mounted integral machine to upgrade server Request issues the message of upgrading rule file.
Step 303:When receiving the second request message, the upgrade image of the corresponding function module is sent to vehicle-mounted integral Machine.
Here, second request message is the message that vehicle-mounted integral machine is sent to upgrade server;Specifically, second please The message for asking message to be the upgrade image that vehicle-mounted integral machine issues the corresponding function module to upgrade server request, tell that second please Message is asked to carry the upgraded module name of the upgraded module of required upgrading, the filename of upgraded module.
Example IV
To realize the method for embodiment one, a kind of vehicle-mounted integral machine is present embodiments provided, as shown in figure 4, described vehicle-mounted All-in-one includes:Acquisition module 41, upgrading confirm module 42, upgraded module 43;Wherein,
Acquisition module 41, upgrade rule file for obtaining;
Here, the upgrading rule file, including:The ardware model number of vehicle-mounted integral machine, upgraded module name, upgraded module The fileversion number of filename and upgraded module.
The specific mode for obtaining upgrading rule file, can include:Judge whether vehicle-mounted integral machine is connected with storage device, When vehicle-mounted integral machine be connected with storage device and storage device be stored with upgrading rule file when, directly from be locally-downloaded upgrading Rule file;When vehicle-mounted integral machine is not connected with storage device or storage device does not store upgrading rule file, then taken from upgrading Business device downloads upgrading rule file;Wherein, described storage device includes but is not limited to USB flash disk or SD card.
Upgrading confirms module 42, for being determined to need the functional module upgraded according to upgrading rule file, and downloads corresponding The upgrade image of functional module;
Here, the upgrade image of described the corresponding function module, including:Realize upgrade image, the reality of the functional module of start The upgrade image of the functional module of existing bootstrap, realize safe mode functional module upgrade image, realize software upgrading Functional module upgrade image, realize increment upgrading functional module upgrade image.
Accordingly, it is described to be determined to need the functional module upgraded according to upgrading rule file, and download the corresponding function module Upgrade image, including:
First determine whether the ardware model number in upgrading rule file matches with the ardware model number of local vehicle-mounted integral machine, it is determined that During matching, then determine whether the upgraded module name in upgrading rule file is consistent with the filename of upgraded module;
It is determined that the upgrade image name that the upgraded module name in upgrading rule file upgrades with upgrade server under catalogue is consistent, And the filename of upgraded module and upgrade server upgrade the upgrade image under catalogue filename it is consistent when, then determine upgrading rule Then the fileversion number of the upgraded module in file whether there is difference;
It is determined that when the fileversion number of the upgraded module in upgrading rule file is with local fileversion number difference, download The upgrade image of the corresponding function module.
Upgraded module 43, for the release type of upgrade image and the software kit of local the corresponding function module for determining to download Release type it is consistent when, carry out the upgrading of the corresponding function module;
The upgraded module 43, is specifically used for, and after having downloaded upgrade image, vehicle-mounted integral machine is according to local corresponding function mould The release type front three of the release type front three of the software kit of block and the upgrade image downloaded is compared, if verification one Cause, then restart vehicle-mounted integral machine and recovered (recovery) pattern, erasable flash memory (flash), carry out the corresponding function module Upgrading, restarts vehicle-mounted integral machine after upgrading successfully;Otherwise, without upgrading.
Embodiment five
To realize the method for embodiment two, a kind of server is present embodiments provided, as shown in figure 5, the server bag Include:Setup module 51, uploading module 52;Wherein,
Setup module 51, for setting the upgrade image of upgrading rule file and corresponding difference in functionality module.
Here, the upgrading rule file, including:The ardware model number of vehicle-mounted integral machine, upgraded module name, upgraded module The fileversion number of filename and upgraded module;
Here, the upgrade image of the corresponding difference in functionality module, including:Realize the upgrading mirror of the functional module of start As, realize bootstrap functional module upgrade image, realize safe mode functional module upgrade image, realize software The upgrade image of the functional module of upgrading, the upgrade image for realizing the functional module that increment upgrades.
Uploading module 52, upload and upgrade the upgrade image of rule file and correspondence difference in functionality module to upgrade server.
Embodiment six
To realize the method for embodiment three, the present embodiment additionally provides a kind of upgrade server, as shown in fig. 6, the liter Level server includes:Receiving module 61, sending module 62;Wherein,
Receiving module 61, for receiving the upgrade image of upgrading rule file and corresponding difference in functionality module;
Here, the upgrading rule file, including:The ardware model number of vehicle-mounted integral machine, upgraded module name, upgraded module The fileversion number of filename and upgraded module;
Here, the upgrade image of the corresponding difference in functionality module, including:Realize the upgrading mirror of the functional module of start As, realize bootstrap functional module upgrade image, realize safe mode functional module upgrade image, realize software The upgrade image of the functional module of upgrading, the upgrade image for realizing the functional module that increment upgrades;
Here, upgrade server can enter the upgrade image of the upgrading rule file received and corresponding difference in functionality module Row storage, required upgrading rule file or upgrading mirror are sent when receiving the request of vehicle-mounted integral machine, then to vehicle-mounted integral machine Picture.
Sending module 62, for when receiving the first request message, upgrading rule file to be sent into vehicle-mounted integral machine;
Here, first request message is the message that vehicle-mounted integral machine is sent to upgrade server, can be according to message Number or the type of message that receives of the determination such as message identifier;Specifically, the first request message is vehicle-mounted integral machine to upgrade server Request issues the message of upgrading rule file.
The sending module 62, it is additionally operable to when receiving the second request message, the upgrade image of the corresponding function module is sent out Give vehicle-mounted integral machine.
Here, second request message is the message that vehicle-mounted integral machine is sent to upgrade server;Specifically, second please The message for asking message to be the upgrade image that vehicle-mounted integral machine issues the corresponding function module to upgrade server request, tell that second please Message is asked to carry the upgraded module name of the upgraded module of required upgrading, the filename of upgraded module.
Embodiment seven
A kind of upgrade-system of vehicle-mounted integral machine is present embodiments provided, as shown in fig. 7, the system includes:Server, Upgrade server, vehicle-mounted integral machine;Wherein,
The server, for setting the upgrade image of upgrading rule file and corresponding difference in functionality module;It is additionally operable to Pass and upgrade the upgrade image of rule file and correspondence difference in functionality module to upgrade server;
The upgrade server, for receiving the upgrade image of upgrading rule file and corresponding difference in functionality module, also use When the first request message is being received, upgrading rule file is sent to vehicle-mounted integral machine, and when receiving the second request message, The upgrade image of the corresponding function module is sent to vehicle-mounted integral machine;
The vehicle-mounted integral machine, upgrade rule file for obtaining;Determined to need the work(upgraded according to upgrading rule file Energy module, and download the upgrade image of the corresponding function module;It is determined that the release type for the upgrade image downloaded and local corresponding work( When the release type of the software kit of energy module is consistent, the upgrading of the corresponding function module is carried out.
Here, the composition structure of the server and the function of each part be as described in Figure 5;The upgrade server Composition structure and each part function as described in Figure 6;The composition structure of the vehicle-mounted integral machine and each composition portion The function of dividing is as described in Figure 4.
The implementation process and principle of the present invention in actual applications are described in detail with specific embodiment below.
Fig. 8 is the schematic diagram of start process of embodiment of the present invention detection upgrading flow, as shown in figure 8, on vehicle-mounted integral machine Establish by cable and start the start detection module of itself after machine, also, the vehicle-mounted integral machine master controller of itself can send start broadcast, open Machine testing module can enter start testing process after listening to start broadcast message, complete normally to drive vehicle-mounted integral machine itself Machine testing, make vehicle-mounted integral machine normal operation.Judge whether vehicle-mounted integral machine is connected with storage device by master controller, when vehicle-mounted All-in-one be connected with storage device and storage device be stored with upgrading rule file when, directly from be locally-downloaded upgrading rule text Part;When vehicle-mounted integral machine is not connected with storage device or storage device does not store upgrading rule file, it tries connection upgrading clothes Business device, if successful connection, upgrading rule file is downloaded from upgrade server, otherwise, Upgrade process is exited, does not upgrade;Its In, described storage device includes but is not limited to USB flash disk or SD card.
Information in upgrading rule file judges whether to need to upgrade, and if necessary to upgrade, is then controlled by transmitting Agreement (TCP, Transmission Control Protocol) mode download online needs the upgrading mirror of the functional module upgraded Picture;Otherwise, Upgrade process is exited, is not upgraded.
Here, the upgrade image of the functional module upgraded by TCP modes to needs is downloaded, and is specifically:According to liter Level rule file determines to need the functional module upgraded, and downloads the upgrade image of the corresponding function module;Including:First determine upgrading Whether the ardware model number in rule file matches with the ardware model number of local vehicle-mounted integral machine, it is determined that during matching, then determine to upgrade Whether the upgraded module name in rule file is consistent with the filename of upgraded module;It is determined that the upgraded module in upgrading rule file The upgrade image name that name upgrades with upgrade server under catalogue is consistent, and the filename of upgraded module and upgrade server upgrading mesh When the filename of upgrade image under record is consistent, then whether the fileversion number for determining to upgrade the upgraded module in rule file is deposited In difference;It is determined that when the fileversion number of the upgraded module in upgrading rule file is with local fileversion number difference, download The upgrade image of the corresponding function module.
After having downloaded upgrade image, CRC (CRC, Cyclic Redundancy Check) is carried out, including: Mobile unit is according to the front three of the release type of the software kit of local the corresponding function module and the version for the upgrade image downloaded The front three of type is compared;If the CRC check is consistent, erasable flash, and flash is configured in subregion and indicated Position renewal, otherwise, exits Upgrade process, does not upgrade.Here, finished if upgrade image corresponding to all functional modules is downloaded, Can restarts vehicle-mounted integral machine and enters recovery patterns, carries out the upgrading of the corresponding function module;Otherwise, TCP is continued through Mode download online needs the upgrade image of the functional module upgraded;Vehicle-mounted integral machine is restarted after the completion of upgrading.
Fig. 9 show the schematic diagram of detection upgrading flow in setting, upgrading is clicked in the setting of vehicle-mounted integral machine, and taste Examination connection upgrade server, if successful connection, obtain upgrading rule file;Otherwise, Upgrade process exits, and does not upgrade.
Information in upgrading rule file judges whether to need to upgrade, and if necessary to upgrade, is then existed by TCP modes Line downloads the upgrade image for the functional module for needing to upgrade;Otherwise, Upgrade process is exited, is not upgraded.
Here, the module upgraded by TCP modes to needs is downloaded, and determines to need to upgrade according to upgrading rule file Functional module, and download the upgrade image of the corresponding function module;Specifically include:First determine the hardware-type in upgrading rule file Number whether matched with the ardware model number of local vehicle-mounted integral machine, it is determined that during matching, then determine to upgrade the upgrading mould in rule file Whether block name is consistent with the filename of upgraded module;It is determined that the upgraded module name in upgrading rule file upgrades with upgrade server Upgrade image name under catalogue is consistent, and the filename of upgraded module and the text of the upgrade image under upgrade server upgrading catalogue When part name is consistent, then the fileversion number for determining to upgrade the upgraded module in rule file whether there is difference;It is determined that upgrading rule When then the fileversion number of the upgraded module in file is with local fileversion number difference, the upgrading of the corresponding function module is downloaded Mirror image.
After having downloaded upgrade image, CRC check is carried out, including:Mobile unit is according to the software of local the corresponding function module The front three of the release type of the front three of the release type of bag and the upgrade image head downloaded is compared;The CRC check If consistent, erasable flash, and flash is configured into flag bit in subregion and updated, otherwise, Upgrade process is exited, is not upgraded.
If upgrade image corresponding to all functional modules is downloaded and finished, the entrance of vehicle-mounted integral machine can be restarted Recovery patterns, carry out the upgrading of the corresponding function module;Otherwise, the work(that TCP modes download online needs to upgrade is continued through The upgrade image of energy module;Vehicle-mounted integral machine is restarted after the completion of upgrading.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.

Claims (15)

1. a kind of upgrade method of vehicle-mounted integral machine, it is characterised in that methods described includes:
Obtain upgrading rule file;
Determined to need the functional module upgraded according to upgrading rule file, and download the upgrade image of the corresponding function module;
It is determined that the version class of the release type for the upgrade image downloaded and the software kit of vehicle-mounted integral machine local the corresponding function module When type is consistent, the upgrading of the corresponding function module is carried out.
2. according to the method for claim 1, it is characterised in that
The upgrading rule file, including:The ardware model number of vehicle-mounted integral machine, upgraded module name, upgraded module filename, with And the fileversion number of upgraded module;
The upgrade image of described the corresponding function module, including:Realize the upgrade image of the functional module of start, realize bootstrap Functional module upgrade image, realize safe mode functional module upgrade image, realize the functional module of software upgrading Upgrade image, realize increment upgrading functional module upgrade image.
3. according to the method for claim 1, it is characterised in that described obtain upgrades rule file, including:
Vehicle-mounted integral machine be connected with storage device and storage device be stored with upgrading rule file when, be locally-downloaded upgrading rule Then file;Vehicle-mounted integral machine is not connected with storage device or storage device is not stored when upgrading rule file, under upgrade server Carry upgrading rule file.
4. according to the method for claim 2, it is characterised in that described to be determined to need the work(upgraded according to upgrading rule file Energy module, and the upgrade image of the corresponding function module is downloaded, including:
First determine whether the ardware model number in upgrading rule file matches with the ardware model number of local vehicle-mounted integral machine, it is determined that matching When, then determine upgrade rule file in upgraded module name and upgraded module filename it is whether consistent;
It is determined that the upgrade image name that the upgraded module name in upgrading rule file upgrades with upgrade server under catalogue is consistent, and rise When the filename of level module is consistent with the filename of the upgrade image under upgrade server upgrading catalogue, then determine to upgrade regular text The fileversion number of upgraded module in part whether there is difference;
It is determined that when the fileversion number of the upgraded module in upgrading rule file is with local fileversion number difference, download corresponding The upgrade image of functional module.
5. according to the method described in any one of Claims 1-4, it is characterised in that the version of the upgrade image for determining to download When this type is consistent with the release type of the software kit of vehicle-mounted integral machine local the corresponding function module, the corresponding function module is carried out Upgrading, including:
The version of the release type front three of the upgrade image of download and the software kit of vehicle-mounted integral machine local the corresponding function module When type front three is consistent, the upgrading of the corresponding function module is carried out.
6. a kind of upgrade method of vehicle-mounted integral machine, it is characterised in that methods described includes:
The upgrade image of upgrading rule file and corresponding difference in functionality module is set, and uploads upgrade server.
7. according to the method for claim 6, it is characterised in that
The upgrading rule file, including:The ardware model number of vehicle-mounted integral machine, upgraded module name, upgraded module filename, with And the fileversion number of upgraded module;
The upgrade image of described the corresponding function module, including:Realize the upgrade image of the functional module of start, realize bootstrap Functional module upgrade image, realize safe mode functional module upgrade image, realize the functional module of software upgrading Upgrade image, realize increment upgrading functional module upgrade image.
8. a kind of upgrade method of vehicle-mounted integral machine, it is characterised in that methods described includes:
Receive the upgrade image of upgrading rule file and corresponding difference in functionality module;
When receiving the first request message, upgrading rule file is sent to vehicle-mounted integral machine;
When receiving the second request message, the upgrade image of the corresponding function module is sent to vehicle-mounted integral machine.
9. according to the method for claim 8, it is characterised in that
The upgrading rule file, including:The ardware model number of vehicle-mounted integral machine, upgraded module name, upgraded module filename, with And the fileversion number of upgraded module;
The upgrade image of described the corresponding function module, including:Realize the upgrade image of the functional module of start, realize bootstrap Functional module upgrade image, realize safe mode functional module upgrade image, realize the functional module of software upgrading Upgrade image, realize increment upgrading functional module upgrade image.
10. a kind of vehicle-mounted integral machine, it is characterised in that the vehicle-mounted integral machine includes:
Acquisition module, upgrade rule file for obtaining;
Upgrading confirms module, for determining to need the functional module upgraded according to upgrading rule file, and downloads corresponding function mould The upgrade image of block;
Upgraded module, the version of the release type and the software kit of local the corresponding function module of the upgrade image for determining download When type is consistent, the upgrading of the corresponding function module is carried out.
11. vehicle-mounted integral machine according to claim 10, it is characterised in that
The acquisition module, upgrading rule is stored with specifically for being connected with vehicle-mounted integral machine in storage device and storage device During file, upgrading rule file is being locally-downloaded;Vehicle-mounted integral machine is not connected with storage device or storage device does not store upgrading rule Then during file, upgrading rule file is downloaded from upgrade server.
12. the vehicle-mounted integral machine according to claim 10 or 11, it is characterised in that
The upgrading confirms module, is additionally operable to first to determine to upgrade the hard of ardware model number in rule file and local vehicle-mounted integral machine Whether part model matches, it is determined that during matching, then determine to upgrade the filename of the upgraded module name and upgraded module in rule file It is whether consistent;
It is determined that the upgrade image name that the upgraded module name in upgrading rule file upgrades with upgrade server under catalogue is consistent, and rise When the filename of level module is consistent with the filename of the upgrade image under upgrade server upgrading catalogue, then determine to upgrade regular text The fileversion number of upgraded module in part whether there is difference;
It is determined that when the fileversion number of the upgraded module in upgrading rule file is with local fileversion number difference, download corresponding The upgrade image of functional module.
13. a kind of server, it is characterised in that the server includes:
Setup module, for setting the upgrade image of upgrading rule file and corresponding difference in functionality module;
Uploading module, the upgrade image for uploading set upgrading rule file and corresponding difference in functionality module take to upgrading Business device.
14. a kind of upgrade server, it is characterised in that the upgrade server includes:
Receiving module, for receiving the upgrade image of upgrading rule file and corresponding difference in functionality module;
Sending module, for when receiving the first request message, upgrading rule file to be sent into vehicle-mounted integral machine;It is additionally operable to When receiving the second request message, the upgrade image of the corresponding function module is sent to vehicle-mounted integral machine.
15. a kind of upgrade-system of vehicle-mounted integral machine, it is characterised in that the system includes:Server, upgrade server, car Carry all-in-one;Wherein,
The server, for setting the upgrade image of upgrading rule file and corresponding difference in functionality module, and upload upgrading rule Then the upgrade image of file and the corresponding function module is to upgrade server;
The upgrade server, for receiving the upgrade image of upgrading rule file and corresponding difference in functionality module;Receiving the During one request message, upgrading rule file is sent to vehicle-mounted integral machine, and when receiving the second request message, by corresponding function The upgrade image of module is sent to vehicle-mounted integral machine;
The vehicle-mounted integral machine, upgrade rule file for obtaining;Determined to need the function mould upgraded according to upgrading rule file Block, and download the upgrade image of the corresponding function module;It is determined that the release type for the upgrade image downloaded and local corresponding function mould When the release type of the software kit of block is consistent, the upgrading of the corresponding function module is carried out.
CN201610753965.7A 2016-08-29 2016-08-29 A kind of upgrade method, equipment and the system of vehicle-mounted integral machine Withdrawn CN107783777A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610753965.7A CN107783777A (en) 2016-08-29 2016-08-29 A kind of upgrade method, equipment and the system of vehicle-mounted integral machine
PCT/CN2017/099250 WO2018041061A1 (en) 2016-08-29 2017-08-28 Onboard device upgrade method, device, system and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610753965.7A CN107783777A (en) 2016-08-29 2016-08-29 A kind of upgrade method, equipment and the system of vehicle-mounted integral machine

Publications (1)

Publication Number Publication Date
CN107783777A true CN107783777A (en) 2018-03-09

Family

ID=61300102

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610753965.7A Withdrawn CN107783777A (en) 2016-08-29 2016-08-29 A kind of upgrade method, equipment and the system of vehicle-mounted integral machine

Country Status (2)

Country Link
CN (1) CN107783777A (en)
WO (1) WO2018041061A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111338674A (en) * 2020-02-25 2020-06-26 北京汽车集团有限公司 Instruction processing method, device and equipment
CN112286559A (en) * 2020-12-08 2021-01-29 智道网联科技(北京)有限公司 Upgrading method and device for vehicle-mounted intelligent terminal

Families Citing this family (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109240731B (en) * 2018-08-29 2022-02-11 武汉光庭信息技术股份有限公司 Safe upgrading method and system for TBox
CN111367749B (en) * 2018-12-25 2023-05-05 中国移动通信有限公司研究院 Service monitoring method, device, related equipment and storage medium
CN111381842A (en) * 2018-12-27 2020-07-07 深圳市优必选科技有限公司 Robot upgrading method, electronic equipment and server
CN111736858A (en) * 2019-03-25 2020-10-02 深圳Tcl新技术有限公司 Terminal equipment upgrading method, storage medium and terminal equipment
CN110096290B (en) * 2019-04-04 2023-07-18 武汉精能电子技术有限公司 Method for upgrading software of main control board of battery simulator
CN110187904B (en) * 2019-05-05 2023-04-07 合众新能源汽车股份有限公司 Device and method for updating vehicle controller firmware
CN110187907A (en) * 2019-05-23 2019-08-30 广州极飞科技有限公司 Firmware upgrade method, device, system and the storage medium of aircraft
CN110162323A (en) * 2019-05-28 2019-08-23 广州小鹏汽车科技有限公司 Onboard system upgrade method, device, storage medium and vehicle
CN112256294A (en) * 2019-07-22 2021-01-22 中科云谷科技有限公司 Deployment method, cloud platform, system and storage medium of terminal application
CN112394957A (en) * 2019-08-16 2021-02-23 顺丰科技有限公司 Server upgrading method and device, server and storage medium
CN110837380A (en) * 2019-09-20 2020-02-25 深圳市元征科技股份有限公司 System upgrading method, device, equipment and storage medium
CN111209017B (en) * 2019-10-23 2023-09-22 高新兴创联科技股份有限公司 GMS-based CIR file remote upgrading method
CN111124455B (en) * 2019-12-26 2023-08-04 上海派能能源科技股份有限公司 Battery management system upgrading method, device, server and storage medium
CN113360176B (en) * 2020-03-06 2023-08-25 浙江宇视科技有限公司 Upgrading method and device of software program, storage medium and electronic equipment
CN111625254B (en) * 2020-05-06 2023-09-08 Oppo(重庆)智能科技有限公司 File processing method, device, terminal and storage medium
CN112114841A (en) * 2020-06-10 2020-12-22 上汽通用五菱汽车股份有限公司 Vehicle machine system upgrading method, vehicle and readable storage medium
CN111857777B (en) * 2020-07-16 2024-02-27 南方电网数字电网科技(广东)有限公司 System updating method and device based on double-core intelligent ammeter and computer equipment
CN112000355B (en) * 2020-08-21 2023-10-24 青岛海尔科技有限公司 Method and device for firmware upgrading and household appliance
CN112015448A (en) * 2020-08-21 2020-12-01 新奥数能科技有限公司 System upgrading method and device based on over-the-air technology
CN112307697A (en) * 2020-11-05 2021-02-02 中国航空工业集团公司西安航空计算技术研究所 FPGA logic reloading circuit
CN112612489B (en) * 2020-12-16 2024-03-12 北京梆梆安全科技有限公司 Method and device for constructing upgrade package of software and electronic equipment
CN112631633A (en) * 2021-01-07 2021-04-09 南方电网数字电网研究院有限公司 Function module upgrading method and device based on double-core intelligent electric meter
CN115348172A (en) * 2022-07-28 2022-11-15 鹿马智能科技(上海)有限公司 Method, device and medium for upgrading versions of different parts of edge network device
CN115098142A (en) * 2022-08-24 2022-09-23 南京芯驰半导体科技有限公司 Firmware upgrading method, device and system for vehicle-mounted terminal
CN116204353B (en) * 2022-12-08 2023-10-20 武汉海微科技有限公司 Recovery and restoration method, device and equipment of vehicle-mounted system and storage medium
CN116909609B (en) * 2023-09-12 2023-12-22 英纳法智联科技(北京)有限公司 Software upgrading method and device of vehicle-mounted intelligent equipment and vehicle-mounted intelligent equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140007075A1 (en) * 2012-06-27 2014-01-02 Google Inc. Methods for updating applications
CN105389172A (en) * 2015-12-07 2016-03-09 深圳市金锐显数码科技有限公司 Application upgrading method and apparatus
CN105389191A (en) * 2015-12-11 2016-03-09 北京奇虎科技有限公司 Software upgrading method, apparatus and system based on local area network

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150230044A1 (en) * 2014-02-12 2015-08-13 Continental Automotive Systems, Inc. Updating vehicle software using a smartphone
CN104156244B (en) * 2014-08-06 2018-09-04 北京奇虎科技有限公司 A kind of method and apparatus of software upgrading
CN104572221B (en) * 2015-01-30 2017-08-01 重庆邮电大学 A kind of vehicle-mounted ECU online upgrade system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140007075A1 (en) * 2012-06-27 2014-01-02 Google Inc. Methods for updating applications
CN105389172A (en) * 2015-12-07 2016-03-09 深圳市金锐显数码科技有限公司 Application upgrading method and apparatus
CN105389191A (en) * 2015-12-11 2016-03-09 北京奇虎科技有限公司 Software upgrading method, apparatus and system based on local area network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111338674A (en) * 2020-02-25 2020-06-26 北京汽车集团有限公司 Instruction processing method, device and equipment
CN112286559A (en) * 2020-12-08 2021-01-29 智道网联科技(北京)有限公司 Upgrading method and device for vehicle-mounted intelligent terminal

Also Published As

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

Similar Documents

Publication Publication Date Title
CN107783777A (en) A kind of upgrade method, equipment and the system of vehicle-mounted integral machine
CN106484448A (en) A kind of method for upgrading software and device
EP3200072A1 (en) Method for updating terminal system, terminal and system
CN108023765A (en) Device firmware upgrade method, apparatus and storage medium
CN107205057A (en) A kind of game resource update method, device and client
CN106484453B (en) Method and device for realizing system upgrading
US8477647B2 (en) Connection setting apparatus, connection setting method, and computer program product
CN112000355B (en) Method and device for firmware upgrading and household appliance
CN105045626A (en) Program burning method, burning device and controller
CN111381844A (en) Method and device for updating vehicle ECU firmware
CN106612192A (en) An equipment upgrading method, apparatus and system
CN106850241A (en) A kind of vehicle-mounted OBD terminals and its remote upgrade method
CN103685487A (en) Child node updating method in wireless communication network
CN103970566A (en) Router firmware updating method and device
CN111158738B (en) Headset firmware upgrading method and device and readable storage medium
CN107454129A (en) Firmware upgrade method, device and system
CN111651180B (en) Firmware updating method and device, processor and intelligent gateway equipment
CN110262820A (en) Method, apparatus, system and storage medium based on MQTT protocol realization OTA upgrading
CN104991800A (en) Method, apparatus and system for upgrading firmware of device that is not networked
CN106339236A (en) Software upgrading method, client, interphone and soft upgrading system
CN108170450A (en) The upgrade method of system firmware, apparatus and system in a kind of equipment
CN112069008A (en) Equipment debugging information acquisition method and device and equipment debugging information generation method
CN105721204A (en) Firmware upgrading method and system for network adapters
CN113867758A (en) Unmanned aerial vehicle automatic upgrading method and device, unmanned aerial vehicle, remote control terminal and storage medium
CN105988943B (en) A kind of method and device driving wireless adapter

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20180309