CN109040205A - The method and device of vehicle upgrading - Google Patents
The method and device of vehicle upgrading Download PDFInfo
- Publication number
- CN109040205A CN109040205A CN201810792040.2A CN201810792040A CN109040205A CN 109040205 A CN109040205 A CN 109040205A CN 201810792040 A CN201810792040 A CN 201810792040A CN 109040205 A CN109040205 A CN 109040205A
- Authority
- CN
- China
- Prior art keywords
- vehicle
- upgrade
- cloud
- upgrade package
- downloading
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 69
- 238000003860 storage Methods 0.000 claims description 40
- 230000008569 process Effects 0.000 claims description 12
- 238000012545 processing Methods 0.000 claims description 8
- 230000005540 biological transmission Effects 0.000 claims description 6
- 238000002360 preparation method Methods 0.000 claims description 3
- 230000002618 waking effect Effects 0.000 claims description 2
- 230000005059 dormancy Effects 0.000 claims 1
- 238000004590 computer program Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 5
- 230000008901 benefit Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000000737 periodic effect Effects 0.000 description 2
- 238000004321 preservation Methods 0.000 description 2
- 239000000758 substrate Substances 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 230000006837 decompression Effects 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000001629 sign test Methods 0.000 description 1
- 230000007958 sleep Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
- G06F8/656—Updates while running
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4418—Suspend and resume; Hibernate and awake
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- General Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- Stored Programmes (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Embodiment of the disclosure discloses a kind of method and device of vehicle upgrading, is related to automobile technical field, be able to solve it is existing recall upgrading mode not only and influence car owner using automobile, and the problem of upgrade low efficiency.The described method includes: downloading upgrade package from cloud when vehicle prepares suspend mode;When the vehicle in a dormant state, and when receiving the upgrade command that the cloud issues, wake up the vehicle, and upgrade to the vehicle according to the upgrade package.Embodiment of the disclosure is primarily adapted for use in the scene upgraded using over the air to vehicle.
Description
Technical field
Embodiment of the disclosure is related to automobile technical field, more particularly to a kind of method and device of vehicle upgrading.
Background technique
With the development of the society, automobile almost becomes the vehicles necessary to every household, so that people's lives are got over
It is more convenient to come.But with vehicle intellectualized continuous improvement, people also constantly propose function, the demand of performance of each system of automobile
Height, so automotive development quotient needs constantly to research and develop upgrade procedure, to automotive system, ECU (Electronic Control
Unit, electronic control unit) etc. upgraded.
Currently, main by the way of recalling for automobile upgrading, i.e. automobile vendor or car servicing and care centre is by vapour
Vehicle is recalled, and then carry out hardware connection by special upgrade equipment and automobile not only influences to realize to the updating operation of automobile
Car owner uses automobile, and upgrades low efficiency.
Summary of the invention
Embodiment of the disclosure mainly provides the following technical solutions:
In a first aspect, embodiment of the disclosure provides a kind of method of vehicle upgrading, which comprises
When vehicle prepares suspend mode, upgrade package is downloaded from cloud;
When the vehicle in a dormant state, and when receiving the upgrade command that the cloud issues, wake up the vehicle, and
The vehicle is upgraded according to the upgrade package.
In some embodiments, when vehicle prepares suspend mode, before downloading upgrade package from cloud, the method is also wrapped
It includes:
Receive the upgrade information of the cloud push;
When determining that the vehicle is currently at non-upgrade status, by the version information and the vehicle in the upgrade information
The current version information of middle corresponding component is compared;
If the version information in the upgrade information is higher than the current version information, save in the upgrade information
Version information.
In some embodiments, when vehicle prepares suspend mode, from cloud, downloading upgrade package includes:
When the vehicle prepares suspend mode, however, it is determined that preserve the version information in the upgrade information, then according to preservation
The upgrade information in version information from the cloud download upgrade package.
In some embodiments, from cloud, downloading upgrade package includes:
Start to download upgrade package from the cloud, and if after preset time period, it does not download and finishes, then suspend downloading,
When preparing suspend mode the vehicle next time, continue to download, until downloading finishes;
Alternatively, start to download upgrade package from the cloud, when the vehicle launch, pause downloading, under the vehicle
When secondary suspend mode, continue to download, until downloading finishes.
In some embodiments, described before upgrading to the vehicle after downloading upgrade package from the cloud
Method further include:
When the vehicle is in starting state, the upgrade package is pre-processed, so that all parts obtain institute
The upgrade file needed.
In some embodiments, it is pre-processed to the upgrade package, so that all parts obtain required upgrading
After file, the method also includes:
The result that upgrade package downloading finishes is pushed to user terminal by the cloud.
In some embodiments, when the vehicle in a dormant state, and when receiving the upgrade command that the cloud issues,
Waking up the vehicle includes:
When the vehicle in a dormant state, and receive the upgrade command that the user terminal is issued by the cloud
When, wake up the vehicle.
In some embodiments, the method also includes:
The upgrading progress upgraded according to the upgrade package to the vehicle and/or updating result are passed through into the cloud
It is sent to the user terminal.
In some embodiments, from cloud, downloading upgrade package includes:
Upgrade package is downloaded from the cloud by over the air OTA.
In some embodiments, the method also includes:
During the entire process of vehicle upgrading, according to current carry out state, the OTA state of OTA state machine is set;
According to the OTA state, corresponding vehicle updating operation is executed.
In some embodiments, the upgrade package includes operating system update packet and/or at least one electronic control unit
ECU upgrade package.
Second aspect, embodiment of the disclosure provide a kind of device of vehicle upgrading, and described device includes:
Download unit, for downloading upgrade package from cloud when vehicle prepares suspend mode;
Wakeup unit, for when the vehicle in a dormant state, and when receiving the upgrade command that the cloud issues, call out
It wakes up the vehicle;
Upgrade unit, for being upgraded according to the upgrade package to the vehicle.
In some embodiments, described device further include:
Receiving unit, for before downloading upgrade package from cloud, receiving the cloud push when vehicle prepares suspend mode
Upgrade information;
Comparing unit, for when determining that the vehicle is currently at non-upgrade status, by the version in the upgrade information
This information is compared with the current version information of corresponding component in the vehicle;
Storage unit, for saving institute when the version information in the upgrade information is higher than the current version information
State the version information in upgrade information.
In some embodiments, described device further include:
Pretreatment unit, for before upgrading to the vehicle, working as institute after downloading upgrade package from the cloud
When stating vehicle and being in starting state, the upgrade package is pre-processed so that all parts obtain needed for upgrade file.
In some embodiments, described device further include:
Transmission unit, for being pre-processed to the upgrade package, so that the upgrading needed for all parts obtain is literary
After part, the result that upgrade package downloading finishes is pushed to user terminal by the cloud.
The third aspect, embodiment of the disclosure provide a kind of storage medium, and the storage medium includes the program of storage,
Wherein, equipment executes the side of the upgrading of vehicle described in first aspect where controlling the storage medium when described program is run
Method.
Fourth aspect, embodiment of the disclosure provide a kind of device of vehicle upgrading, and described device includes storage medium;
And one or more processor, the storage medium are coupled with the processor, the processor is configured to described in executing
The program instruction stored in storage medium;The method for executing the upgrading of vehicle described in first aspect when described program instruction operation.
Above description is only the general introduction of embodiment of the disclosure technical solution, in order to better understand the reality of the disclosure
Apply the technological means of example, and can be implemented in accordance with the contents of the specification, and in order to allow the above-mentioned of embodiment of the disclosure and
Other objects, features and advantages can be more clearly understood, below the special specific embodiment for lifting embodiment of the disclosure.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field
Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the disclosure
Embodiment limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of flow chart of the method for vehicle upgrading of embodiment of the disclosure offer;
Fig. 2 shows the flow charts for the method that another vehicle that embodiment of the disclosure provides upgrades;
Fig. 3 shows a kind of composition block diagram of the device of vehicle upgrading of embodiment of the disclosure offer;
Fig. 4 shows the composition block diagram of the device of another vehicle upgrading of embodiment of the disclosure offer.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
It is fully disclosed to those skilled in the art.
In a first aspect, embodiment of the disclosure provides a kind of method of vehicle upgrading, as shown in Figure 1, the method master
Include:
101, when vehicle prepares suspend mode, upgrade package is downloaded from cloud.
When car owner closes vehicle power supply, the mobile unit in vehicle can receive the signal that vehicle prepares suspend mode, explanation
Car owner has not used vehicle at this time, so the upgrade package needed for can downloading from cloud, upgrades vehicle so as to subsequent.
Since the upgrading to vehicle includes the upgrading to operating system, the upgrading to each ECU component, so under cloud
The upgrade package of load may include operating system update packet (such as Android system upgrade package) and/or at least one ECU upgrade package.
In addition, can notify the formal suspend mode of vehicle after finishing upgrade package from cloud downloading.
102, when the vehicle in a dormant state, and when receiving the upgrade command that the cloud issues, wake up the vehicle
, and the vehicle is upgraded according to the upgrade package.
It, can in real time or the state of periodic detection vehicle, when detecting after cloud determines that vehicle downloading finishes upgrade package
Vehicle in a dormant state when, to vehicle can issue upgrade command;After vehicle receives upgrade command, vehicle can be waken up, then
The corresponding component in vehicle is upgraded according to the upgrade package of downloading.
The method for the vehicle upgrading that embodiment of the disclosure provides can just be downloaded from cloud when vehicle prepares suspend mode
Upgrade package, and vehicle in a dormant state, and when receiving the upgrade command that cloud issues, the vehicle can be waken up, according to liter
Grade packet upgrades the vehicle.Either vehicle prepares suspend mode, is still in dormant state, is all car owner without using vehicle
Period, therefore will not influence the use of vehicle in the upgrading that these periods complete vehicle.And due to being directly under cloud
Upgrade package is carried, and does not have to that the time is spent to recall, vehicle and special upgrade equipment are subjected to hardware connection without by professional
Upgrading, so upgrading efficiency is also greatly enhanced.
Second aspect, according to method described in first aspect, another embodiment of the disclosure additionally provides a kind of vehicle
The method of upgrading, as shown in Fig. 2, the method specifically includes that
201, the upgrade information of cloud push is received.
It, can be by cloud by the upgrade information of these upgrade package after developer develops the upgrade package of the certain components of vehicle
It is handed down to the vehicle for needing to upgrade.Wherein, upgrade information mainly includes component mark and version information.
202, when determining that vehicle is currently at non-upgrade status, by the version information and the vehicle in the upgrade information
The current version information of middle corresponding component is compared.
After the upgrade information for receiving cloud push, need first to judge whether vehicle is in upgrade status, if not
In upgrade status, then by the current version information of corresponding component in the version information and vehicle in the upgrade information received into
Row compares, and to determine whether the version information received is new version information, determines whether to need to upgrade vehicle.
If 203, the version information in the upgrade information is higher than the current version information, the upgrade information is saved
In version information.
When the version information in upgrade information is higher than current version information, determine that the version information in upgrade information is new
Version information, so need to be saved into local, so that the subsequent version information according in upgrade information is from cloud downloading pair
The upgrade package answered.
For the ease of subsequent quick judgement state relevant to vehicle upgrading, can during the entire process of vehicle upgrades,
According to current carry out state, the OTA state of OTA state machine is set;According to the OTA state, corresponding vehicle upgrading is executed
Operation.
For example, when the subsequent downloading upgrade package using OTA, it, can be in order to quickly judge state relevant to vehicle upgrading
OTA state machine is set to receive new version state.
In addition, in order to allow cloud to know that vehicle has saved the version information in upgrade information, it is also necessary to cloud feedback
Receive and save the message of version information.
204, when the vehicle prepares suspend mode, however, it is determined that preserve the version information in the upgrade information, then basis
Version information downloads upgrade package from the cloud in the upgrade information saved.
When receiving the signal of vehicle preparation suspend mode, it can be directly viewable whether particular memory space contains new version letter
It ceases (version information i.e. in upgrade information), whether can also be to receive new version shape by judging the state of OTA state machine
State quickly determines whether containing new version information.It, can be according to new version information from cloud when determining containing new version information
End downloading upgrade package.
Due to during downloading upgrade package, car owner be probably again started up vehicle carry out using, in order to not influence
Car owner uses vehicle, and the scheme that can be used includes but is not limited to following two:
(1) start to download upgrade package from the cloud, and if after preset time period, it does not download and finishes, then under suspending
It carries, when preparing suspend mode the vehicle next time, continues to download, until downloading finishes.For example, preset time period can be 10 points
Clock.
Wherein, it after preset time period, if vehicle is not activated, needs to notify the formal suspend mode of vehicle.
(2) start to download upgrade package from the cloud, when the vehicle launch, pause downloading, to the vehicle next time
When suspend mode, continue to download, until downloading finishes.
In addition, when starting downloading, OTA state machine can be arranged to quickly judge state relevant to vehicle upgrading
State in upgrade package downloading, and after downloading, OTA state machine can be set to upgrade package downloading and finish state.
205, when the vehicle is in starting state, the upgrade package is pre-processed, so that all parts obtain
Obtain required upgrade file.
In order to which upgrade package is safely transferred to vehicle, cloud can first compress at least one upgrade package, encrypt, sign
The operation such as name, then just by treated, upgrade package is sent to vehicle.When vehicle is in starting state, if by judging OTA
The state of state machine determines that upgrade package downloading finishes, then can first pre-process to the upgrade package of downloading, so that each portion
Part obtains required upgrade file, then carries out subsequent upgrade operation again.
Wherein, the pretreatment carried out to upgrade package includes: MD5 (Message Digest Algorithm 5, eap-message digest
Algorithm the 5th edition) verification, sign test, decryption, decompression, file distributing, deletion temporary file.The file of distribution includes operating system
Upgrade file, BCM (Body Control Module, car body controller), EPB (Electrical Park Brake, it is electronic to stop
Vehicle brake) etc. ECU upgrade file.Temporary file be carry out during file distributing generating when the processing such as ciphered compressed it is interim
File, so needing to delete these temporary files after the completion of file distributing, to optimize memory space.
In addition, can set OAT state machine to preparing upgrade status if upgrade package pre-processes successfully;If upgrade package
Pretreatment failure, then can need OTA state machine resetting to original state, such as not receive new version information state, and to
The response message of cloud feedback upgrade package processing failure.
It is pre-processed to the upgrade package, so that can be incited somebody to action after all parts obtain required upgrade file
The result that the upgrade package downloading finishes is pushed to user terminal by the cloud, so that user checks liter by user terminal
Grade packet, which has been downloaded, to be finished, and vehicle upgrading can be triggered by user terminal.Wherein, user terminal is equipped with answering for control vehicle
With program, user can check vehicle-state, triggering vehicle upgrading by the application program.
206, when the vehicle in a dormant state, and when receiving the upgrade command that the cloud issues, wake up the vehicle
, and the vehicle is upgraded according to the upgrade package.
It, can be real-time or periodic detection vehicle after the result that upgrade package downloading finishes is pushed to user terminal by cloud
State, when detecting vehicle in a dormant state, and receiving the upgrade command of user terminal transmission, cloud can be to vehicle
Give upgrade command;After vehicle receives upgrade command, vehicle is waken up, and judges whether OTA state machine is to prepare upgrade status,
If then being upgraded according to upgrade package to vehicle, if not vehicle is then notified to continue suspend mode.
It, can be simultaneously to operating system when in upgrade package including operating system update packet and at least one ECU upgrade package
Upgrade at least one ECU, can also be first to operating system update, then at least one ECU is upgraded, it can also be first at least one
A ECU upgrading, then to operating system update.Wherein, since substrate can control, coordinate the operation of each ECU, so right
When ECU is upgraded, it is also necessary to upgrade to substrate.
In addition, no matter upgrading successfully, or upgrading failure, require to feed back updating result to cloud, and can also incite somebody to action
Updating result is sent to user terminal, so that user can check updating result by user terminal.In vehicle according to upgrade package
In the process of upgrading, upgrading progress can also be sent to user terminal by cloud by vehicle, so that user checks.
The method for the vehicle upgrading that embodiment of the disclosure provides, can obtain new version information, then in vehicle from cloud
When preparing suspend mode, upgrade package is just downloaded from cloud according to new version information, and vehicle in a dormant state, and receive cloud
When the upgrade command issued, the vehicle can be waken up, the vehicle is upgraded according to upgrade package.Either vehicle preparation is stopped
It sleeps, is still in dormant state, be all the period that car owner does not use vehicle, therefore complete the upgrading of vehicle not in these periods
It will affect the use of vehicle.And due to being directly to download upgrade package from cloud, and do not have to that the time is spent to recall, without by special
Vehicle is carried out hardware with special upgrade equipment and connect upgrading by industry personnel, so upgrading efficiency is also greatly enhanced.
The third aspect, according to above method embodiment, another embodiment of the disclosure additionally provides a kind of vehicle upgrading
Device, as shown in figure 3, described device includes:
Download unit 31, for downloading upgrade package from cloud when vehicle prepares suspend mode;
Wakeup unit 32, for when the vehicle in a dormant state, and when receiving the upgrade command that the cloud issues,
Wake up the vehicle;
Upgrade unit 33, for being upgraded according to the upgrade package to the vehicle.
In some embodiments, as shown in figure 4, described device further include:
Receiving unit 34, for before downloading upgrade package from cloud, receiving the cloud and pushing away when vehicle prepares suspend mode
The upgrade information sent;
Comparing unit 35 will be in the upgrade information for when determining that the vehicle is currently at non-upgrade status
Version information is compared with the current version information of corresponding component in the vehicle;
Storage unit 36, for saving when the version information in the upgrade information is higher than the current version information
Version information in the upgrade information.
In some embodiments, the download unit 31, for when the vehicle prepares suspend mode, however, it is determined that save
The version information in upgrade information is stated, then is downloaded and is upgraded from the cloud according to version information in the upgrade information of preservation
Packet.
In some embodiments, the upgrade unit 33 downloads upgrade package from the cloud for starting, and if pre-
If after the period, not downloading and finishing, then suspend downloading, when preparing suspend mode the vehicle next time, continue to download, until having downloaded
Finish;Alternatively, start to download upgrade package from the cloud, when the vehicle launch, pause downloading, to suspend mode vehicle next time
When, continue to download, until downloading finishes.
In some embodiments, as shown in figure 4, described device further include:
Pretreatment unit 37 is used for after downloading upgrade package from the cloud, before upgrading to the vehicle, when
When the vehicle is in starting state, the upgrade package is pre-processed, so that the upgrading needed for all parts obtain is literary
Part.
In some embodiments, as shown in figure 4, described device further include:
Transmission unit 38, for being pre-processed to the upgrade package, so that all parts obtain required upgrading
After file, the result that upgrade package downloading finishes is pushed to user terminal by the cloud.
In some embodiments, the wakeup unit 32 for working as the vehicle in a dormant state, and receives the use
When the upgrade command that family terminal is issued by the cloud, the vehicle is waken up.
In some embodiments, the transmission unit 38 is also used to rise the vehicle according to the upgrade package
The upgrading progress and/or updating result of grade are sent to the user terminal by the cloud.
In some embodiments, the download unit 31 rises for being downloaded by over the air OTA from the cloud
Grade packet.
In some embodiments, described device is also used to during the entire process of vehicle upgrades, according to current carry out shape
The OTA state of OTA state machine is arranged in state;According to the OTA state, corresponding vehicle updating operation is executed.
In some embodiments, the upgrade package includes operating system update packet and/or at least one electronic control unit
ECU upgrade package.
Described device includes pocessor and storage media, and above-mentioned download unit 31, wakeup unit 32, upgrade unit 33 etc. are equal
It is stored in a storage medium as program unit, the above procedure unit being stored in a storage medium is executed by processor to realize
Corresponding function.
Include kernel in above-mentioned processor, is gone in storage medium to transfer corresponding program unit by kernel.Kernel can be set
One or more is set, in the case where not influencing car owner using vehicle, quickly vehicle is upgraded by adjusting kernel parameter.
The device for the vehicle upgrading that embodiment of the disclosure provides can just be downloaded from cloud when vehicle prepares suspend mode
Upgrade package, and vehicle in a dormant state, and when receiving the upgrade command that cloud issues, the vehicle can be waken up, according to liter
Grade packet upgrades the vehicle.Either vehicle prepares suspend mode, is still in dormant state, is all car owner without using vehicle
Period, therefore will not influence the use of vehicle in the upgrading that these periods complete vehicle.And due to being directly under cloud
Upgrade package is carried, and does not have to that the time is spent to recall, vehicle and special upgrade equipment are subjected to hardware connection without by professional
Upgrading, so upgrading efficiency is also greatly enhanced.
The device for the vehicle upgrading that the embodiment of the third aspect provides, can be to execute first aspect or second aspect
The method of the upgrading of vehicle provided by embodiment, the relevant meaning being used for and specific embodiment may refer to first party
Associated description in the embodiment of face or second aspect, is no longer described in detail herein.
Fourth aspect, embodiment of the disclosure provide a kind of storage medium, and the storage medium includes the program of storage,
Wherein, equipment executes vehicle described in first aspect or second aspect where controlling the storage medium when described program is run
The method of upgrading.
Storage medium may include the non-volatile memory in computer-readable medium, random access memory (RAM)
And/or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM), memory includes at least one
Storage chip.
The program stored in the storage medium that embodiment of the disclosure provides, can be when vehicle prepares suspend mode, just from cloud
End downloading upgrade package, and vehicle in a dormant state, and when receiving the upgrade command that cloud issues, the vehicle can be waken up,
The vehicle is upgraded according to upgrade package.Either vehicle prepares suspend mode, is still in dormant state, is all that car owner does not make
It will not influence the use of vehicle with the period of vehicle, therefore in the upgrading that these periods complete vehicle.And due to be directly from
Upgrade package is downloaded in cloud, and does not have to that the time is spent to recall, hard without vehicle and special upgrade equipment is carried out by professional
Part connection upgrading, so upgrading efficiency is also greatly enhanced.
5th aspect, embodiment of the disclosure provide a kind of device of vehicle upgrading, and described device includes storage medium;
And one or more processor, the storage medium are coupled with the processor, the processor is configured to described in executing
The program instruction stored in storage medium;Vehicle liter described in first aspect or second aspect is executed when described program instruction operation
The method of grade.
The device for the vehicle upgrading that embodiment of the disclosure provides can just be downloaded from cloud when vehicle prepares suspend mode
Upgrade package, and vehicle in a dormant state, and when receiving the upgrade command that cloud issues, the vehicle can be waken up, according to liter
Grade packet upgrades the vehicle.Either vehicle prepares suspend mode, is still in dormant state, is all car owner without using vehicle
Period, therefore will not influence the use of vehicle in the upgrading that these periods complete vehicle.And due to being directly under cloud
Upgrade package is carried, and does not have to that the time is spent to recall, vehicle and special upgrade equipment are subjected to hardware connection without by professional
Upgrading, so upgrading efficiency is also greatly enhanced.
Embodiment of the disclosure additionally provides a kind of computer program product, when executing on vehicle, is adapted for carrying out just
The program code of beginningization there are as below methods step:
When vehicle prepares suspend mode, upgrade package is downloaded from cloud;
When the vehicle in a dormant state, and when receiving the upgrade command that the cloud issues, wake up the vehicle, and
The vehicle is upgraded according to the upgrade package.
It should be understood by those skilled in the art that, embodiment of the disclosure can provide as method, system or computer program
Product.Therefore, embodiment of the disclosure can be used complete hardware embodiment, complete software embodiment or combine software and hardware
The form of the embodiment of aspect.Moreover, it wherein includes that computer is available that embodiment of the disclosure, which can be used in one or more,
It is real in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code
The form for the computer program product applied.
The application is the flow chart of the method for reference embodiment of the disclosure, equipment (system) and computer program product
And/or block diagram describes.It should be understood that each process in flowchart and/or the block diagram can be realized by computer program instructions
And/or the combination of the process and/or box in box and flowchart and/or the block diagram.It can provide these computer programs to refer to
Enable the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to generate
One machine so that by the instruction that the processor of computer or other programmable data processing devices executes generate for realizing
The device for the function of being specified in one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/
Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable Jie
The example of matter.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including element
There is also other identical elements in process, method, commodity or equipment.
It will be understood by those skilled in the art that embodiment of the disclosure can provide as method, system or computer program product.
Therefore, complete hardware embodiment, complete software embodiment or combining software and hardware aspects can be used in embodiment of the disclosure
The form of embodiment.Moreover, it wherein includes computer available programs generation that embodiment of the disclosure, which can be used in one or more,
The meter implemented in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of code
The form of calculation machine program product.
The above is only embodiments herein, are not intended to limit this application.To those skilled in the art,
Various changes and changes are possible in this application.It is all within the spirit and principles of the present application made by any modification, equivalent replacement,
Improve etc., it should be included within the scope of the claims of this application.
Claims (17)
1. a kind of method of vehicle upgrading, which is characterized in that the described method includes:
When vehicle prepares suspend mode, upgrade package is downloaded from cloud;
When the vehicle in a dormant state, and when receiving the upgrade command that the cloud issues, wake up the vehicle, and according to
The upgrade package upgrades the vehicle.
2. the method according to claim 1, wherein downloading upgrade package from cloud when vehicle prepares suspend mode
Before, the method also includes:
Receive the upgrade information of the cloud push;
It, will be in the version information and the vehicle in the upgrade information when determining that the vehicle is currently at non-upgrade status
The current version information of corresponding component is compared;
If the version information in the upgrade information is higher than the current version information, the version in the upgrade information is saved
Information.
3. according to the method described in claim 2, it is characterized in that, downloading upgrade package packet from cloud when vehicle prepares suspend mode
It includes:
When the vehicle prepares suspend mode, however, it is determined that preserve the version information in the upgrade information, then according to the institute of preservation
It states in upgrade information version information and downloads upgrade package from the cloud.
4. the method according to claim 1, wherein including: from cloud downloading upgrade package
Start to download upgrade package from the cloud, and if after preset time period, it does not download and finishes, then suspend downloading, to institute
When stating preparation suspend mode vehicle next time, continue to download, until downloading finishes;
Alternatively, starting to download upgrade package from the cloud, when the vehicle launch, pause downloading is stopped to the vehicle next time
When dormancy, continue to download, until downloading finishes.
5. method according to any of claims 1-4, which is characterized in that from the cloud downloading upgrade package it
Afterwards, before upgrading to the vehicle, the method also includes:
When the vehicle is in starting state, the upgrade package is pre-processed, so that needed for all parts acquisition
Upgrade file.
6. according to the method described in claim 5, it is characterized in that, being pre-processed to the upgrade package, so that each
After component obtains required upgrade file, the method also includes:
The result that upgrade package downloading finishes is pushed to user terminal by the cloud.
7. according to the method described in claim 6, it is characterized in that, when the vehicle in a dormant state, and receive the cloud
When holding the upgrade command issued, waking up the vehicle includes:
When the vehicle in a dormant state, and when receiving the upgrade command that the user terminal is issued by the cloud, call out
It wakes up the vehicle.
8. the method according to the description of claim 7 is characterized in that the method also includes:
The upgrading progress upgraded according to the upgrade package to the vehicle and/or updating result are sent by the cloud
To the user terminal.
9. method according to claim 1 to 8, which is characterized in that from cloud, downloading upgrade package includes:
Upgrade package is downloaded from the cloud by over the air OTA.
10. according to the method described in claim 9, it is characterized in that, the method also includes:
During the entire process of vehicle upgrading, according to current carry out state, the OTA state of OTA state machine is set;
According to the OTA state, corresponding vehicle updating operation is executed.
11. method according to claim 1 to 10, which is characterized in that the upgrade package includes operating system liter
Grade packet and/or at least one electronic control unit ECU upgrade package.
12. a kind of device of vehicle upgrading, which is characterized in that described device includes:
Download unit, for downloading upgrade package from cloud when vehicle prepares suspend mode;
Wakeup unit, for when the vehicle in a dormant state, and when receiving the upgrade command that the cloud issues, wake up institute
State vehicle;
Upgrade unit, for being upgraded according to the upgrade package to the vehicle.
13. device according to claim 12, which is characterized in that described device further include:
Receiving unit, for before downloading upgrade package from cloud, receiving the liter of the cloud push when vehicle prepares suspend mode
Grade information;
Comparing unit, for when determining that the vehicle is currently at non-upgrade status, the version in the upgrade information to be believed
Breath is compared with the current version information of corresponding component in the vehicle;
Storage unit, for saving the liter when the version information in the upgrade information is higher than the current version information
Version information in grade information.
14. device according to claim 12 or 13, which is characterized in that described device further include:
Pretreatment unit is used for after downloading upgrade package from the cloud, before upgrading to the vehicle, when the vehicle
Be in starting state when, the upgrade package is pre-processed so that all parts obtain needed for upgrade file.
15. device according to claim 14, which is characterized in that described device further include:
Transmission unit, for being pre-processed to the upgrade package so that all parts obtain needed for upgrade file it
Afterwards, the result that upgrade package downloading finishes is pushed to user terminal by the cloud.
16. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein run in described program
When control the storage medium where equipment perform claim require any one of 1 to 11 described in vehicle upgrading method.
17. a kind of device of vehicle upgrading, which is characterized in that described device includes storage medium;And one or more processing
Device, the storage medium are coupled with the processor, the processor is configured to executing the journey stored in the storage medium
Sequence instruction;The method of vehicle upgrading described in any one of perform claim requirement 1 to 11 when described program instruction operation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810792040.2A CN109040205A (en) | 2018-07-18 | 2018-07-18 | The method and device of vehicle upgrading |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810792040.2A CN109040205A (en) | 2018-07-18 | 2018-07-18 | The method and device of vehicle upgrading |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109040205A true CN109040205A (en) | 2018-12-18 |
Family
ID=64643392
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810792040.2A Pending CN109040205A (en) | 2018-07-18 | 2018-07-18 | The method and device of vehicle upgrading |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109040205A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110162323A (en) * | 2019-05-28 | 2019-08-23 | 广州小鹏汽车科技有限公司 | Onboard system upgrade method, device, storage medium and vehicle |
CN110377315A (en) * | 2019-07-18 | 2019-10-25 | 上海擎感智能科技有限公司 | Passive upgrade method and system |
CN110442362A (en) * | 2019-07-02 | 2019-11-12 | 北京梧桐车联科技有限责任公司 | A kind of information processing method, device, the vehicles and storage medium |
CN110442363A (en) * | 2019-07-03 | 2019-11-12 | 东风商用车有限公司 | A kind of vehicle ECU upgrade control method |
CN110737457A (en) * | 2019-07-18 | 2020-01-31 | 上海擎感智能科技有限公司 | Vehicle-mounted software processing method, system and terminal |
CN110851335A (en) * | 2019-10-08 | 2020-02-28 | 上海博泰悦臻网络技术服务有限公司 | Upgrade monitoring method and device and computer storage medium |
CN110865841A (en) * | 2019-11-26 | 2020-03-06 | 北谷电子有限公司上海分公司 | System and method for upgrading ECU software in engineering machinery vehicle |
CN111327689A (en) * | 2020-01-22 | 2020-06-23 | 大运汽车股份有限公司 | Method for realizing remote upgrading of vehicle ECU (electronic control Unit) based on UDS (Universal data System) communication protocol |
CN112540798A (en) * | 2019-09-23 | 2021-03-23 | 北京车和家信息技术有限公司 | Awakening method, device and system for vehicle operating system |
CN113276788A (en) * | 2021-07-20 | 2021-08-20 | 智道网联科技(北京)有限公司 | Vehicle-mounted application upgrading method and device, vehicle-mounted terminal and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150191122A1 (en) * | 2014-01-06 | 2015-07-09 | Harman International Industries, Incorporated | In-vehicle notification presentation scheduling |
CN106802818A (en) * | 2016-12-31 | 2017-06-06 | 智车优行科技(北京)有限公司 | The upgrade method of mobile unit, business processing device and system, vehicle |
CN108243141A (en) * | 2016-12-23 | 2018-07-03 | 乐视汽车(北京)有限公司 | Vehicle termination programme upgrade method, device and vehicle termination |
CN108279919A (en) * | 2018-01-22 | 2018-07-13 | 成都雅骏新能源汽车科技股份有限公司 | A kind of New-energy electric vehicle remotely updating program method |
-
2018
- 2018-07-18 CN CN201810792040.2A patent/CN109040205A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150191122A1 (en) * | 2014-01-06 | 2015-07-09 | Harman International Industries, Incorporated | In-vehicle notification presentation scheduling |
CN108243141A (en) * | 2016-12-23 | 2018-07-03 | 乐视汽车(北京)有限公司 | Vehicle termination programme upgrade method, device and vehicle termination |
CN106802818A (en) * | 2016-12-31 | 2017-06-06 | 智车优行科技(北京)有限公司 | The upgrade method of mobile unit, business processing device and system, vehicle |
CN108279919A (en) * | 2018-01-22 | 2018-07-13 | 成都雅骏新能源汽车科技股份有限公司 | A kind of New-energy electric vehicle remotely updating program method |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110162323A (en) * | 2019-05-28 | 2019-08-23 | 广州小鹏汽车科技有限公司 | Onboard system upgrade method, device, storage medium and vehicle |
CN110442362A (en) * | 2019-07-02 | 2019-11-12 | 北京梧桐车联科技有限责任公司 | A kind of information processing method, device, the vehicles and storage medium |
CN110442363A (en) * | 2019-07-03 | 2019-11-12 | 东风商用车有限公司 | A kind of vehicle ECU upgrade control method |
CN110377315A (en) * | 2019-07-18 | 2019-10-25 | 上海擎感智能科技有限公司 | Passive upgrade method and system |
CN110737457A (en) * | 2019-07-18 | 2020-01-31 | 上海擎感智能科技有限公司 | Vehicle-mounted software processing method, system and terminal |
CN112540798A (en) * | 2019-09-23 | 2021-03-23 | 北京车和家信息技术有限公司 | Awakening method, device and system for vehicle operating system |
CN112540798B (en) * | 2019-09-23 | 2024-08-30 | 北京车和家信息技术有限公司 | Method, device and system for waking up vehicle operating system |
CN110851335A (en) * | 2019-10-08 | 2020-02-28 | 上海博泰悦臻网络技术服务有限公司 | Upgrade monitoring method and device and computer storage medium |
CN110865841A (en) * | 2019-11-26 | 2020-03-06 | 北谷电子有限公司上海分公司 | System and method for upgrading ECU software in engineering machinery vehicle |
CN111327689A (en) * | 2020-01-22 | 2020-06-23 | 大运汽车股份有限公司 | Method for realizing remote upgrading of vehicle ECU (electronic control Unit) based on UDS (Universal data System) communication protocol |
CN113276788A (en) * | 2021-07-20 | 2021-08-20 | 智道网联科技(北京)有限公司 | Vehicle-mounted application upgrading method and device, vehicle-mounted terminal and storage medium |
CN113276788B (en) * | 2021-07-20 | 2021-11-19 | 智道网联科技(北京)有限公司 | Vehicle-mounted application upgrading method and device, vehicle-mounted terminal and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109040205A (en) | The method and device of vehicle upgrading | |
CN103701930A (en) | Mobile application program real-time updating method and system | |
CN109857423B (en) | Program version updating method and device, server and readable storage medium | |
CN104391716A (en) | Plug-in-based application program implementing method and device | |
CN110825399B (en) | Deployment method and device of application program | |
CN107797818A (en) | Application program updating method and device | |
CN103810416A (en) | Software installation or uninstallation method and device | |
CN104423993B (en) | The update method of vehicle electronics software, more new terminal and automobile electronic system | |
CN115134238B (en) | Business system publishing method, device, computer equipment and storage medium | |
CN104077161A (en) | Client application updating method and device | |
CN113504918A (en) | Equipment tree configuration optimization method and device, computer equipment and storage medium | |
CN111684416B (en) | Vehicle control device and program update system | |
CN109150956A (en) | A kind of implementation method, device, equipment and computer storage medium pushing SDK | |
CN109032617A (en) | A kind of control method being automatically deleted installation kit and control device | |
CN113961226B (en) | Software development kit repairing method, terminal, server and equipment | |
CN118245082A (en) | Apparatus and method for optimizing update of vehicle controller | |
CN110096295B (en) | Multi-module mobile application thermal updating method and system based on reactivating | |
CN111814207A (en) | On-site programmable gate array data processing method and device and readable storage medium | |
CN115858473B (en) | Data interaction method and device based on training system and object storage system | |
CN114391136A (en) | Enhanced virtual machine image management system | |
CN103309758B (en) | A kind of mthods, systems and devices blocking application and download | |
CN111338661A (en) | Method for reversely upgrading BOOT of application program and storage medium | |
CN113268266B (en) | Multi-version coexistence management method, system and medium for applet rendering framework | |
CN111046389A (en) | Method for securely updating firmware components and portable computer station for implementation | |
CN111611000B (en) | High-reliability firmware air upgrading method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181218 |
|
RJ01 | Rejection of invention patent application after publication |