CN112559002A - Vehicle application updating method and device and storage medium - Google Patents

Vehicle application updating method and device and storage medium Download PDF

Info

Publication number
CN112559002A
CN112559002A CN201910919581.1A CN201910919581A CN112559002A CN 112559002 A CN112559002 A CN 112559002A CN 201910919581 A CN201910919581 A CN 201910919581A CN 112559002 A CN112559002 A CN 112559002A
Authority
CN
China
Prior art keywords
application
partition
vehicle
target
target vehicle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910919581.1A
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.)
SAIC Motor Corp Ltd
Original Assignee
SAIC Motor Corp 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 SAIC Motor Corp Ltd filed Critical SAIC Motor Corp Ltd
Priority to CN201910919581.1A priority Critical patent/CN112559002A/en
Publication of CN112559002A publication Critical patent/CN112559002A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Abstract

The embodiment of the application provides a method, equipment and a storage medium for updating vehicle application, wherein the method for updating the vehicle application comprises the following steps: operating an operating system program stored on a primary partition in a vehicle storage space; determining a target application partition corresponding to a target vehicle application to be updated according to an application address list in a shared data area in a vehicle storage space in an extended application area in the vehicle storage space, wherein the application address list is used for indicating an application partition address of at least one vehicle application, and the target vehicle application belongs to the at least one vehicle application; and updating the target vehicle application in the target application zone according to the update data of the target vehicle application.

Description

Vehicle application updating method and device and storage medium
Technical Field
The embodiment of the application relates to the technical field of electronic information, in particular to a vehicle application updating method, device and storage medium.
Background
With the development of scientific technology, electronic information technology is widely applied to the vehicle industry, and a plurality of functions of a vehicle are controlled through software programs, so that a user can more save energy and feel comfortable when driving and riding the vehicle. In order to continuously improve the performance of the vehicle and improve the user experience, Applications (APP) on the vehicle also need to be updated continuously. However, in the related art, the vehicle-mounted control is mainly realized through an operating system program, basic software and an application program, while the whole system exists in a binary file, all applications are solidified in the file, and the vehicle applications cannot be flexibly updated, so that the user experience is influenced.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a method, a device and a storage medium for updating a vehicle application, so as to overcome the defect that the vehicle application cannot be flexibly updated and user experience is affected in the prior art.
In a first aspect, an embodiment of the present application provides a method for updating a vehicle application, where the method includes:
operating an operating system program stored on a primary partition in a vehicle storage space; determining a target application partition corresponding to a target vehicle application to be updated according to an application address list in a shared data area in a vehicle storage space in an extended application area in the vehicle storage space, wherein the application address list is used for indicating an application partition address of at least one vehicle application, and the target vehicle application belongs to the at least one vehicle application; and updating the target vehicle application in the target application zone according to the update data of the target vehicle application.
Optionally, in an embodiment of the present application, updating the target vehicle application in the target application partition according to the update data of the target vehicle application includes:
setting a new process for the update task of the target vehicle application; and updating the target vehicle application in the target application partition according to the update data of the target vehicle application by using the new process.
Optionally, in an embodiment of the present application, when the target vehicle application is a new application, the method further includes: and setting a corresponding target application partition for the target vehicle application in the extended application area.
Optionally, in an embodiment of the present application, the method further includes: and updating the corresponding address list according to the updated target vehicle application.
Optionally, in an embodiment of the present application, the method further includes:
executing a boot loader stored on a boot partition in a vehicle storage space, and detecting a partition flag bit of each application partition, wherein the partition flag bit is used for indicating whether the application partition is updated or not; and updating the application partition to be updated according to the partition zone bit of each application.
In a second aspect, an embodiment of the present application provides an in-vehicle electronic device, including: the processor is electrically connected with the memory;
the memory comprises a main partition, a boot partition, an extended application area and a shared data area; the main partition is stored with an operating system program; the boot partition is stored with a boot loader; the extended application area comprises at least one application partition, and each application partition is stored with a program and data of corresponding vehicle application; the shared data area stores data shared among at least one vehicle application and an application partition address corresponding to each vehicle application in the extended application area;
a processor for executing the program stored on the memory, implementing the following method;
a processor for running an operating system program stored on a main partition; determining a target application partition corresponding to a target vehicle application to be updated in the extended application area according to an application address list in the shared data area, wherein the application address list is used for indicating an application partition address of at least one vehicle application, and the target vehicle application belongs to the at least one vehicle application; and updating the target vehicle application in the target application zone according to the update data of the target vehicle application.
Optionally, in an embodiment of the present application, the processor is further configured to set a new process for the update task of the target vehicle application; and updating the target vehicle application in the target application partition according to the update data of the target vehicle application by using the new process.
Optionally, in an embodiment of the present application, the processor is further configured to set a corresponding target application partition for the target vehicle application in the extended application area.
Optionally, in an embodiment of the present application, the processor is further configured to update the address list according to the updated target vehicle application.
Optionally, in an embodiment of the present application, the processor is further configured to execute a boot loader stored in the boot partition, and detect a partition flag of each application partition, where the partition flag is used to indicate whether the application partition has been updated; and updating the application partition to be updated according to the partition zone bit of each application.
In a third aspect, an embodiment of the present application provides a storage medium, where the storage medium is a vehicle storage space, and the storage medium includes a main partition, a boot partition, an extended application area, and a shared data area; the main partition is stored with an operating system program; the boot partition is stored with a boot loader; the extended application area comprises at least one application partition, and each application partition is stored with a program and data of corresponding vehicle application; the shared data area stores data shared among at least one vehicle application and an application partition address corresponding to each vehicle application in the extended application area;
the method as described in any one of the embodiments of the first aspect or the aspect is implemented when a processor executes a program stored on a storage medium.
In the embodiment of the application, the vehicle storage space comprises a main partition and an extended application partition, the operating system program is stored in the main partition, and in the extended application partition, each vehicle application has a corresponding application partition, so that each vehicle application can be flexibly updated, the operation of the operating system program of the main partition is not influenced, and the vehicle application is more convenient to update and add and delete.
Drawings
Some specific embodiments of the present application will be described in detail hereinafter by way of illustration and not limitation with reference to the accompanying drawings. The same reference numbers in the drawings identify the same or similar elements or components. Those skilled in the art will appreciate that the drawings are not necessarily drawn to scale. In the drawings:
FIG. 1 is a flowchart illustrating a method for updating a vehicle application according to an embodiment of the present disclosure;
fig. 2 is a structural diagram of a vehicle-mounted electronic device according to an embodiment of the present application.
Detailed Description
The following further describes specific implementation of the embodiments of the present invention with reference to the drawings.
Example one
An embodiment of the present application provides a method for updating a vehicle application, and as shown in fig. 1, fig. 1 is a flowchart of the method for updating a vehicle application provided in the embodiment of the present application. The updating method of the vehicle application comprises the following steps:
step 101, operating an operating system program stored on a main partition in a vehicle storage space.
The updating method for the vehicle application provided by the embodiment of the application is applied to the vehicle-mounted electronic equipment, and the vehicle storage space can be a storage medium in the vehicle-mounted electronic equipment. The vehicle storage space includes a plurality of regions, which may include, for example, a main partition, an extended application partition, a boot partition, and a shared data region.
The operating system program is stored in the main partition, the program of the core application may also be stored in the main partition, the main partition may be further divided into a first partition and a second partition, the first partition stores the operating system program, the second partition stores the program of the core application, and if the program of the core application is updated, the operating system program may not be affected, which is, of course, only exemplified here, and does not represent that the present application is limited thereto; the boot partition is stored with a boot loader, the boot loader is a program which runs before the operation of an operating system when the vehicle-mounted electronic equipment is started, and can initialize hardware equipment, establish a memory space mapping chart and configure the software environment and the hardware environment of the operating system of the vehicle-mounted electronic equipment; the extended application area comprises at least one application partition, and each application partition is stored with a program and data of corresponding vehicle application; the shared data area stores data shared among at least one vehicle application and an application partition address corresponding to each vehicle application in the extended application area.
Of course, the vehicle storage space may include at least one of a main partition, an extended application partition, a boot partition, and a shared data partition, and in this embodiment, the vehicle storage space may include a main partition and an extended application partition.
Where the vehicle storage space comprises a boot sub-area, optionally, in an embodiment of the present application, the method further comprises: executing a boot loader stored on a boot partition in a vehicle storage space, and detecting a partition flag bit of each application partition, wherein the partition flag bit is used for indicating whether the application partition is updated or not; and updating the application partition to be updated according to the partition zone bit of each application.
The partition flag bit may include two states, a to-be-updated state and a no-update state, and may be represented by a one-bit binary number, for example, a value of the partition flag bit is "1" to indicate that the corresponding application partition needs to be updated (i.e., the to-be-updated state), and a value of the partition flag bit is "0" to indicate that the corresponding application partition does not need to be updated (i.e., the no-update state), which is only exemplary. And each application partition is updated in a spatial upgrading manner, so that each application partition is large enough to meet the requirement of hardware resources required by corresponding vehicle application updating. After the application partition is updated, the address of the application partition in the shared data area needs to be updated.
For example, in an application scenario, when a target vehicle application needs to be updated, a partition flag bit of a target application partition corresponding to the target vehicle application is set to be in a state to be updated, when the vehicle-mounted electronic device is started next time, a boot loader is firstly run, and at this time, if it is determined that a partition flag bit of the target application partition is in the state to be updated, the target application partition is expanded, and a sufficient space is reserved, so that the target vehicle application is updated.
And 102, determining a target application partition corresponding to the target vehicle application to be updated according to the extended application area of the application address list in the shared data area in the vehicle storage space.
It should be noted that, in the present application, the target is used only for singular, and is not limited in any way, for example, the target vehicle application means one vehicle application, and may be any vehicle application.
The application address list is used for indicating application partition addresses of at least one vehicle application, and the target vehicle application belongs to the at least one vehicle application. In the extended application area, each vehicle application corresponds to one application partition, each application partition has a corresponding application partition address, and the application address list is used for indicating the corresponding relation between at least one vehicle application and at least one application partition address.
It should be noted that the target vehicle application to be updated may be a vehicle application already installed on the vehicle-mounted electronic device, or may also be an uninstalled vehicle application, if the target vehicle application is already installed, the application partition address of the target vehicle application may be directly found according to the application address list, and if the target vehicle application is not installed, the corresponding target application partition needs to be set for the target vehicle application first, and the application address list needs to be updated.
For example, in one embodiment of the present application, when the target vehicle application is a new application, the method further comprises: and setting a corresponding target application partition for the target vehicle application in the extended application area.
And 103, updating the target vehicle application in the target application partition according to the update data of the target vehicle application.
After the target application partition is determined, the update of the target vehicle application only needs to update data in the target application partition, and the operating system program and programs of other vehicle applications are not affected.
Here, a specific example is given to explain how to specifically update the target vehicle application. Optionally, in an embodiment of the present application, updating the target vehicle application in the target application partition according to the update data of the target vehicle application includes:
setting a new process for the update task of the target vehicle application; and updating the target vehicle application in the target application partition according to the update data of the target vehicle application by using the new process.
It should be noted that after the operating system program is run, a process needs to be allocated to each task to be executed, and a process is a running activity on a data set and is a basic unit for resource allocation and scheduling by the operating system. When a task with a plurality of applications waits to be executed, each task is periodically called, a fixed time interval (for example, 5ms, 1ms or 10ms) can be set, and corresponding vehicle applications are operated according to the application address list of the shared data area according to the process queue. One execution cycle of each task is an integer multiple of a fixed time interval.
Optionally, in an embodiment of the present application, the method further includes: and updating the corresponding address list according to the updated target vehicle application. For example, if the target application partition is expanded before the target vehicle application is updated, the size of the storage space of the target application partition may be recovered after the target vehicle application is updated, and the specific process is similar to the process of expanding the target application partition in the explanation of step 101, and is not described here again.
In an optional application scenario, the vehicle application on the vehicle-mounted electronic device may also be unloaded, for example, taking unloading the target vehicle application as an example, a target application partition corresponding to the target vehicle application in the extended application area is determined according to the application address list, in the operating process of the operating system program, a new process is allocated to the unloading task of the target vehicle application, and the process is used to unload the target vehicle application in the target application partition. Specifically, the program and data stored in the target application partition may be deleted, the target application partition is determined as a storage space to be allocated, and the address of the target application partition is deleted in the application address list. Not only is the flexible update of each vehicle application realized, but also the installation (i.e., addition) and uninstallation of the vehicle application are realized, and the flexible management of the vehicle application is realized, which is, of course, only exemplified here, and does not represent a limitation of the present application.
In the embodiment of the application, the vehicle storage space comprises a main partition and an extended application partition, the operating system program is stored in the main partition, and in the extended application partition, each vehicle application has a corresponding application partition, so that each vehicle application can be flexibly updated, the operation of the operating system program of the main partition is not influenced, and the vehicle application is more convenient to update and add and delete.
Example II,
Based on the update method of the vehicle application described in the foregoing embodiment, the present application provides an in-vehicle electronic device for executing the method described in the foregoing embodiment, and as shown in fig. 2, the in-vehicle electronic device 20 includes: a processor (processor)202 and a memory (memory) 204;
processor 202, memory 204, processor 202 and memory electrical connections;
memory 204 includes a main partition 2041, a boot partition 2042, an extended application area 2043, and a shared data area 2044; operating system programs are stored on main partition 2041; the boot partition 2042 has a boot loader stored thereon; the extended application area 2043 includes at least one application partition, and each application partition stores programs and data of a corresponding vehicle application; the shared data area 2044 stores data shared among at least one vehicle application and an application partition address corresponding to each vehicle application in the extended application area 2043;
a processor 202 for executing programs stored on the memory 204 to implement the following methods;
a processor 202 for running operating system programs stored on main partition 2041; determining a target application partition corresponding to a target vehicle application to be updated in the extended application area 2043 according to an application address list in the shared data area 2044, where the application address list is used to indicate an application partition address of at least one vehicle application, and the target vehicle application belongs to the at least one vehicle application; and updating the target vehicle application in the target application zone according to the update data of the target vehicle application.
It should be noted that, alternatively, the processor 202 may be a central processing unit CPU, or an application Specific Integrated circuit asic, or one or more Integrated circuits configured to implement an embodiment of the present invention. The electronic device comprises one or more processors, which can be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
Memory 204 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
Optionally, in an embodiment of the present application, the in-vehicle electronic device 20 may further include a bus 206 and a communication Interface (Communications Interface)208, where the processor 202, the communication Interface 208, and the memory 204 complete communication with each other through the communication bus 206.
A communication interface 208 for communicating with other devices.
Optionally, in an embodiment of the present application, the processor 202 is further configured to set a new process for the update task of the target vehicle application; and updating the target vehicle application in the target application partition according to the update data of the target vehicle application by using the new process.
Optionally, in an embodiment of the present application, the processor 202 is further configured to set a corresponding target application partition for the target vehicle application in the extended application area 2043.
Optionally, in an embodiment of the present application, the processor 202 is further configured to update the address list according to the updated target vehicle application.
Optionally, in an embodiment of the present application, the processor 202 is further configured to execute a boot loader stored on the boot partition 2042, and detect a partition flag of each application partition, where the partition flag is used to indicate whether the application partition has been updated; and updating the application partition to be updated according to the partition zone bit of each application.
In the embodiment of the application, the vehicle storage space comprises a main partition and an extended application partition, the operating system program is stored in the main partition, and in the extended application partition, each vehicle application has a corresponding application partition, so that each vehicle application can be flexibly updated, the operation of the operating system program of the main partition is not influenced, and the vehicle application is more convenient to update and add and delete.
Example III,
The embodiment of the application provides a storage medium, wherein the storage medium is a vehicle storage space and comprises a main partition, a boot partition, an extended application area and a shared data area; the main partition is stored with an operating system program; the boot partition is stored with a boot loader; the extended application area comprises at least one application partition, and each application partition is stored with a program and data of corresponding vehicle application; the shared data area stores data shared among at least one vehicle application and an application partition address corresponding to each vehicle application in the extended application area;
the method as described in any one of the embodiments of the first aspect or the aspect is implemented when a processor executes a program stored on a storage medium.
In the embodiment of the application, the vehicle storage space comprises a main partition and an extended application partition, the operating system program is stored in the main partition, and in the extended application partition, each vehicle application has a corresponding application partition, so that each vehicle application can be flexibly updated, the operation of the operating system program of the main partition is not influenced, and the vehicle application is more convenient to update and add and delete.
The vehicle-mounted electronic device of the embodiment of the application exists in various forms, including but not limited to:
(1) a mobile communication device: such devices are characterized by mobile communications capabilities and are primarily targeted at providing voice, data communications. Such terminals include: smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) Ultra mobile personal computer device: the equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include: PDA, MID, and UMPC devices, etc., such as ipads.
(3) A portable entertainment device: such devices can display and play multimedia content. This type of device comprises: audio, video players (e.g., ipods), handheld game consoles, electronic books, and smart toys and portable car navigation devices.
(4) And other electronic equipment with data interaction function.
Thus, particular embodiments of the present subject matter have been described. Other embodiments are within the scope of the following claims. In some cases, the actions recited in the claims can be performed in a different order and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may be advantageous.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually making an Integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Hardware Description Language), traffic, pl (core universal Programming Language), HDCal (jhdware Description Language), lang, Lola, HDL, laspam, hardward Description Language (vhr Description Language), vhal (Hardware Description Language), and vhigh-Language, which are currently used in most common. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The systems and devices illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular transactions or implement particular abstract data types. The application may also be practiced in distributed computing environments where transactions are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (11)

1. A method for updating a vehicle application, comprising:
operating an operating system program stored on a primary partition in a vehicle storage space;
determining a target application partition corresponding to a target vehicle application to be updated according to an application address list in a shared data area in a vehicle storage space in an extended application area in the vehicle storage space, wherein the application address list is used for indicating an application partition address of at least one vehicle application, and the target vehicle application belongs to the at least one vehicle application;
and updating the target vehicle application in the target application partition according to the update data of the target vehicle application.
2. The method of claim 1, wherein updating the target vehicle application in the target application partition according to the update data for the target vehicle application comprises:
setting a new process for the update task of the target vehicle application;
and updating the target vehicle application in the target application partition according to the update data of the target vehicle application by using the new process.
3. The method of claim 1, wherein when the target vehicle application is a new application, the method further comprises:
and setting the corresponding target application partition for the target vehicle application in the extended application area.
4. The method of claim 1, further comprising:
and updating the application address list according to the updated target vehicle application.
5. The method according to any one of claims 1-4, further comprising:
executing a boot loader stored on a boot partition in the vehicle storage space, and detecting a partition flag bit of each application partition, wherein the partition flag bit is used for indicating whether the application partition is updated or not;
and updating the application partitions to be updated according to the partition zone bits of each application.
6. An in-vehicle electronic apparatus, characterized by comprising: a processor, a memory, the processor and the memory being electrically connected;
the memory includes a main partition, a boot partition, an extended application area, and a shared data area; the main partition is stored with an operating system program; a boot loader is stored on the boot partition; the extended application area comprises at least one application partition, and each application partition is stored with a program and data of corresponding vehicle application; the shared data area stores data shared among at least one vehicle application and an application partition address corresponding to each vehicle application in the extended application area;
the processor is used for executing the program stored in the memory and realizing the following method;
the processor is used for running an operating system program stored on the main partition; determining a target application partition corresponding to a target vehicle application to be updated in the extended application area according to an application address list in the shared data area, wherein the application address list is used for indicating an application partition address of the at least one vehicle application, and the target vehicle application belongs to the at least one vehicle application; and updating the target vehicle application in the target application partition according to the update data of the target vehicle application.
7. The apparatus of claim 6,
the processor is further configured to set a new process for the update task of the target vehicle application; and updating the target vehicle application in the target application partition according to the update data of the target vehicle application by using the new process.
8. The apparatus of claim 6,
the processor is further configured to set the corresponding target application partition for the target vehicle application in the extended application area.
9. The apparatus of claim 6,
the processor is further configured to update the application address list according to the updated target vehicle application.
10. The apparatus of claim 6,
the processor is further configured to execute the boot loader stored in the boot partition, and detect a partition flag of each application partition, where the partition flag is used to indicate whether the application partition has an update; and updating the application partitions to be updated according to the partition zone bits of each application.
11. A storage medium, wherein the storage medium is a vehicle storage space, and the storage medium comprises a main partition, a boot partition, an extended application area, and a shared data area; the main partition is stored with an operating system program; a boot loader is stored on the boot partition; the extended application area comprises at least one application partition, and each application partition is stored with a program and data of corresponding vehicle application; the shared data area stores data shared among at least one vehicle application and an application partition address corresponding to each vehicle application in the extended application area;
implementing a method as described in any one of claims 1-5 when a processor executes a program stored on the storage medium.
CN201910919581.1A 2019-09-26 2019-09-26 Vehicle application updating method and device and storage medium Pending CN112559002A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910919581.1A CN112559002A (en) 2019-09-26 2019-09-26 Vehicle application updating method and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910919581.1A CN112559002A (en) 2019-09-26 2019-09-26 Vehicle application updating method and device and storage medium

Publications (1)

Publication Number Publication Date
CN112559002A true CN112559002A (en) 2021-03-26

Family

ID=75030113

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910919581.1A Pending CN112559002A (en) 2019-09-26 2019-09-26 Vehicle application updating method and device and storage medium

Country Status (1)

Country Link
CN (1) CN112559002A (en)

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1585926A (en) * 2001-09-17 2005-02-23 索马网络公司 Software update method, device and system
CN101520734A (en) * 2008-12-17 2009-09-02 康佳集团股份有限公司 Method for upgrading data in flash memory, network TV and interactive set-top box thereof
JP2009230399A (en) * 2008-03-21 2009-10-08 Fuji Xerox Co Ltd Firmware update system and firmware update program
US20100235348A1 (en) * 2009-03-10 2010-09-16 Oracle International Corporation Loading an index with minimal effect on availability of applications using the corresponding table
JP2011095952A (en) * 2009-10-29 2011-05-12 Kyocera Mita Corp Method for updating firmware and electronic equipment
CN103019797A (en) * 2012-12-29 2013-04-03 福建三元达通讯股份有限公司 Method for upgrading firmware of advertising machine terminal through USB (Universal Serial Bus) interface
CN103324507A (en) * 2013-06-25 2013-09-25 宇龙计算机通信科技(深圳)有限公司 Method and apparatus for updating terminal preset application program
CN104866334A (en) * 2014-12-12 2015-08-26 北汽福田汽车股份有限公司 Method for partitioning and running software codes of controller
WO2017125181A1 (en) * 2016-01-20 2017-07-27 Robert Bosch Gmbh Method for updating control device software, preferably for a motor vehicle
CN108111336A (en) * 2017-12-05 2018-06-01 宁波三星医疗电气股份有限公司 A kind of Power Line Carrier Communication Module program startup, upgrading and switching method
CN108279916A (en) * 2017-12-28 2018-07-13 宁德时代新能源科技股份有限公司 Electronic control unit program updating method and device
CN108958764A (en) * 2018-06-08 2018-12-07 无锡飞翎电子有限公司 The application program update method, apparatus and household electrical appliance of household electrical appliance
CN109032846A (en) * 2018-08-08 2018-12-18 京信通信系统(中国)有限公司 Equipment remote backup upgrade method, device, computer storage medium and equipment
CN109460245A (en) * 2018-10-31 2019-03-12 北京众谊越泰科技有限公司 A kind of remote upgrade method of embedded system
WO2019062635A1 (en) * 2017-09-26 2019-04-04 阿里巴巴集团控股有限公司 Update method and device
CN110083371A (en) * 2018-01-26 2019-08-02 比亚迪股份有限公司 A kind of vehicle program updating system and method, more new tool and storage medium
CN110162315A (en) * 2018-02-16 2019-08-23 丰田自动车株式会社 The non-transitory storage medium of vehicle control device, method for updating program and storage for the program of more new procedures

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1585926A (en) * 2001-09-17 2005-02-23 索马网络公司 Software update method, device and system
US20050055595A1 (en) * 2001-09-17 2005-03-10 Mark Frazer Software update method, apparatus and system
JP2009230399A (en) * 2008-03-21 2009-10-08 Fuji Xerox Co Ltd Firmware update system and firmware update program
CN101520734A (en) * 2008-12-17 2009-09-02 康佳集团股份有限公司 Method for upgrading data in flash memory, network TV and interactive set-top box thereof
US20100235348A1 (en) * 2009-03-10 2010-09-16 Oracle International Corporation Loading an index with minimal effect on availability of applications using the corresponding table
JP2011095952A (en) * 2009-10-29 2011-05-12 Kyocera Mita Corp Method for updating firmware and electronic equipment
CN103019797A (en) * 2012-12-29 2013-04-03 福建三元达通讯股份有限公司 Method for upgrading firmware of advertising machine terminal through USB (Universal Serial Bus) interface
CN103324507A (en) * 2013-06-25 2013-09-25 宇龙计算机通信科技(深圳)有限公司 Method and apparatus for updating terminal preset application program
CN104866334A (en) * 2014-12-12 2015-08-26 北汽福田汽车股份有限公司 Method for partitioning and running software codes of controller
WO2017125181A1 (en) * 2016-01-20 2017-07-27 Robert Bosch Gmbh Method for updating control device software, preferably for a motor vehicle
WO2019062635A1 (en) * 2017-09-26 2019-04-04 阿里巴巴集团控股有限公司 Update method and device
CN108111336A (en) * 2017-12-05 2018-06-01 宁波三星医疗电气股份有限公司 A kind of Power Line Carrier Communication Module program startup, upgrading and switching method
CN108279916A (en) * 2017-12-28 2018-07-13 宁德时代新能源科技股份有限公司 Electronic control unit program updating method and device
CN110083371A (en) * 2018-01-26 2019-08-02 比亚迪股份有限公司 A kind of vehicle program updating system and method, more new tool and storage medium
CN110162315A (en) * 2018-02-16 2019-08-23 丰田自动车株式会社 The non-transitory storage medium of vehicle control device, method for updating program and storage for the program of more new procedures
CN108958764A (en) * 2018-06-08 2018-12-07 无锡飞翎电子有限公司 The application program update method, apparatus and household electrical appliance of household electrical appliance
CN109032846A (en) * 2018-08-08 2018-12-18 京信通信系统(中国)有限公司 Equipment remote backup upgrade method, device, computer storage medium and equipment
CN109460245A (en) * 2018-10-31 2019-03-12 北京众谊越泰科技有限公司 A kind of remote upgrade method of embedded system

Similar Documents

Publication Publication Date Title
CN107045438B (en) Application top view processing method, device and component
CN110912825B (en) Message forwarding method, device, equipment and system
CN109947643B (en) A/B test-based experimental scheme configuration method, device and equipment
CN111241040B (en) Information acquisition method and device, electronic equipment and computer storage medium
CN110781016B (en) Data processing method, device, equipment and medium
CN104050001A (en) Resource processing method, device and equipment based on Android system
CN111400068A (en) Interface control method and device, readable medium and electronic equipment
CN110928574A (en) Microcontroller, interrupt processing chip, device and interrupt processing method
CN112181378B (en) Method and device for realizing business process
CN111273965B (en) Container application starting method, system and device and electronic equipment
CN111538667A (en) Page testing method and device
CN109190367B (en) Method and device for running application program installation package by utilizing sandbox
JP2019523480A (en) Preemptive decompression scheduling for NAND storage devices
CN112559002A (en) Vehicle application updating method and device and storage medium
CN111459573A (en) Method and device for starting intelligent contract execution environment
CN107402749B (en) Method and device for realizing picture loading library
CN111797270A (en) Audio playing method and device, electronic equipment and computer readable storage medium
CN109271180B (en) Data processing method and device
CN116382713A (en) Method, system, device and storage medium for constructing application mirror image
KR20100110710A (en) Method for simplifying interfaces having dynamic libraries
CN111142972B (en) Method, apparatus, system, and medium for extending functions of application program
KR20050076762A (en) Deterministic rule-based dispatch of objects to code
CN111984247A (en) Service processing method and device and electronic equipment
CN111209062A (en) Information acquisition method and device, electronic equipment and computer storage medium
CN112035078A (en) Display method and system of screen content of intelligent terminal and vehicle-mounted terminal

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