CN111752575B - Vehicle-mounted application updating method, device, equipment and storage medium - Google Patents

Vehicle-mounted application updating method, device, equipment and storage medium Download PDF

Info

Publication number
CN111752575B
CN111752575B CN202010392161.5A CN202010392161A CN111752575B CN 111752575 B CN111752575 B CN 111752575B CN 202010392161 A CN202010392161 A CN 202010392161A CN 111752575 B CN111752575 B CN 111752575B
Authority
CN
China
Prior art keywords
vehicle
data packet
application
mounted application
gateway
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.)
Active
Application number
CN202010392161.5A
Other languages
Chinese (zh)
Other versions
CN111752575A (en
Inventor
马亚鹏
付杰霖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Geely Holding Group Co Ltd
Ningbo Geely Automobile Research and Development Co Ltd
Original Assignee
Zhejiang Geely Holding Group Co Ltd
Ningbo Geely Automobile Research and Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Geely Holding Group Co Ltd, Ningbo Geely Automobile Research and Development Co Ltd filed Critical Zhejiang Geely Holding Group Co Ltd
Priority to CN202010392161.5A priority Critical patent/CN111752575B/en
Publication of CN111752575A publication Critical patent/CN111752575A/en
Application granted granted Critical
Publication of CN111752575B publication Critical patent/CN111752575B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Abstract

The application discloses a vehicle-mounted application updating method, a device, equipment and a storage medium, wherein the method is executed by a vehicle-mounted gateway, the vehicle-mounted gateway is provided with an interpreter, and a vehicle-mounted application can run on the interpreter; acquiring a local vehicle-mounted application data packet; generating a whole vehicle application data packet based on the local vehicle application data packet and the data packet of the target vehicle application; and compiling, interpreting and running the whole vehicle application data packet based on the interpreter so as to realize the updating of the vehicle-mounted application. The technical scheme provided by the application can realize the update of a single vehicle-mounted application without updating the whole system or firmware when the vehicle-mounted application is updated, and the interpreter runs on a thread different from the gateway bottom layer functional module, so that the whole vehicle communication function is not influenced when the vehicle-mounted application is updated, and the safety of the vehicle-mounted application update is improved.

Description

Vehicle-mounted application updating method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of Internet of vehicles, in particular to a vehicle-mounted application updating method, device and equipment and a storage medium.
Background
With the rapid development of the automobile industry and the large increase of the automobile conservation amount, the demands of people on automobiles are larger and larger, the situation that the functions cannot be freely set after the automobiles leave the factory cannot meet the demands of users, and the demands of users on personalized customization of the application functions of the automobiles are larger and larger.
At present, the vehicle-mounted gateway is mainly developed based on a compiled language, and when the vehicle-mounted gateway is used for upgrading functions, firmware is required to be upgraded or updated through a Bootloader, so that the updating speed is low and the efficiency is low. Moreover, the upgrading of all firmware software can affect the vehicle communication function, resulting in low security of firmware upgrading.
The traditional automobile is mainly of a distributed electronic and electric architecture, an ECU (Electronic Control Unit electronic control unit) is connected to different CAN buses, and the vehicle-mounted gateway connects a plurality of CAN buses and bears the functions of protocol conversion, message routing, data sharing and the like of the whole automobile. The vehicle control is realized by forwarding CAN messages among the ECUs through the vehicle-mounted gateway, but more ECUs are needed, and in-vehicle communication is complex. Thus, there is a need to provide a more efficient solution.
Disclosure of Invention
In order to solve the problems in the prior art, the application provides a vehicle-mounted application updating method, a vehicle-mounted application updating device, computer equipment and a storage medium. The technical scheme is as follows:
in one aspect, the present application provides a method for updating a vehicle-mounted application, the method being performed by a vehicle-mounted gateway, the vehicle-mounted gateway being provided with an interpreter on which the vehicle-mounted application can run, the method comprising:
responding to a data packet downloading instruction of a target vehicle-mounted application, and acquiring the data packet of the target vehicle-mounted application from a cloud server;
acquiring a local vehicle-mounted application data packet;
generating a whole vehicle application data packet based on the local vehicle application data packet and the data packet of the target vehicle application;
and compiling, interpreting and running the whole vehicle application data packet based on the interpreter so as to realize vehicle-mounted application updating.
Another aspect of the present application provides a vehicle-mounted application updating device, where the device is disposed on a vehicle-mounted gateway, and an interpreter is further disposed on the vehicle-mounted gateway, and a vehicle-mounted application can run on the interpreter, and the device includes:
the data packet downloading module is used for responding to a data packet downloading instruction of the target vehicle-mounted application and acquiring the data packet of the target vehicle-mounted application from the cloud server;
The data packet acquisition module is used for acquiring a local vehicle-mounted application data packet;
the data packet generation module is used for generating a whole vehicle application data packet based on the local vehicle-mounted application data packet and the data packet of the target vehicle-mounted application;
and the compiling and interpreting operation module is used for compiling and interpreting the whole vehicle application data packet based on the interpreter so as to realize the updating of the vehicle-mounted application.
In another aspect, the present application provides an apparatus, where the apparatus includes a processor and a memory, where the memory stores at least one instruction, at least one program, a code set, or an instruction set, where the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement the vehicle application update method.
In another aspect, the present application provides a computer readable storage medium having stored therein at least one instruction, at least one program, a code set, or an instruction set, where the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement the vehicle application update method.
The method, the device, the equipment and the storage medium for updating the vehicle-mounted application provided by the application have the following technical effects:
According to the vehicle-mounted application updating method, the vehicle-mounted gateway is used for executing the vehicle-mounted application updating method, the vehicle-mounted gateway is provided with the interpreter, the vehicle-mounted application can be operated on the interpreter, the vehicle-mounted application is compiled based on the explanatory language, and the interpreter is used for operating the vehicle-mounted application, so that the whole system is not required to be updated or firmware is not required to be updated when the vehicle-mounted application is updated, the update of a single vehicle-mounted application can be realized, the problem that the vehicle-mounted application is difficult to change after the vehicle leaves a factory or the update of the vehicle-mounted application is complicated is avoided, the user can update the vehicle-mounted application according to the needs, the application personalized customization needs of the user are met, the operability of the user on the vehicle is improved, and the vehicle-mounted application updating efficiency is improved; the vehicle-mounted gateway responds to a data packet downloading instruction of the target vehicle-mounted application to acquire the data packet of the target vehicle-mounted application from the cloud server, and only the data packet needing to be updated is required to be acquired, so that the time-saving efficiency is high. The vehicle-mounted gateway acquires a local vehicle-mounted application data packet, generates a whole vehicle application data packet based on the local vehicle-mounted application data packet and the data packet of the target vehicle-mounted application, and compiles, interprets and operates the whole vehicle application data packet based on the interpreter so as to realize vehicle-mounted application updating, so that the vehicle-mounted application updating is flexible and efficient.
Additional aspects and advantages of the application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions and advantages of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are only some embodiments of the application, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of an application environment provided by an embodiment of the present application;
FIG. 2 is a flowchart of a method for updating a vehicle-mounted application according to an embodiment of the present application;
FIG. 3 is a flowchart of a method for updating a vehicle-mounted application when the packet download instruction includes a packet add instruction according to an embodiment of the present application;
FIG. 4 is a flowchart of an update method for a vehicle-mounted application when the packet download instruction includes a packet update instruction according to an embodiment of the present application;
FIG. 5 is a flowchart of another method for updating a vehicle-mounted application according to an embodiment of the present application;
FIG. 6 is a flowchart of another method for updating a vehicle-mounted application according to an embodiment of the present application;
fig. 7 is a schematic diagram of an on-vehicle application updating device according to an embodiment of the present application;
fig. 8 is a hardware structure block diagram of a server for updating an in-vehicle application according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application. Examples of the embodiments are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements throughout or elements having like or similar functionality.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or server that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed or inherent to such process, method, article, or apparatus, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Referring to fig. 1, fig. 1 is a schematic diagram of an application environment provided in an embodiment of the present application, and as shown in fig. 1, the application environment may include a client 100, an in-vehicle gateway 200, and a cloud server 300.
In this embodiment of the present application, the client 100 may be configured to send a data packet downloading instruction of the target vehicle-mounted application to the vehicle-mounted gateway 200, and receive an update success message of the target vehicle-mounted application sent by the vehicle-mounted gateway 200 after the vehicle-mounted gateway 200 compiles, interprets and runs the data packet of the whole vehicle based on the interpreter. Specifically, the client 100 may include, but is not limited to, a vehicle-mounted terminal, a smart phone, a desktop computer, a tablet computer, a notebook computer, a digital assistant, a smart wearable device, and other types of physical devices, and may also include software running in the physical devices, such as an application program (APP), a web page, a WeChat applet, and the like. The operating system running on the client in the embodiment of the present application may include, but is not limited to, an android system, an IOS system, linux, windows, and the like. In a specific embodiment, the software running in the physical device may further include: for example, web pages provided to the user by some service providers may also be applications provided to the user by the service providers, such as vehicle remote control software, and the like.
In this embodiment of the present invention, the vehicle gateway 200 may be configured to obtain, from a cloud server, a data packet of a target vehicle-mounted application in response to a data packet downloading instruction of the target vehicle-mounted application, obtain a local vehicle-mounted application data packet, generate a vehicle-mounted application data packet based on the local vehicle-mounted application data packet and the data packet of the target vehicle-mounted application, and compile and interpret the vehicle-mounted application data packet based on the interpreter, so as to implement vehicle-mounted application update. In another embodiment, the vehicle gateway 200 is further capable of responding to a vehicle operation signal, and resolving the vehicle operation signal based on a corresponding vehicle application to obtain an operation result; performing data conversion on the operation result to obtain an operation result after data conversion; the operation result after the data conversion is sent to a data bus corresponding to the operation result after the data conversion, and the data bus sends the operation result after the data conversion to a corresponding vehicle-mounted application function execution module; the vehicle-mounted application function execution module can execute corresponding vehicle-mounted functions. Specifically, the vehicle gateway 200 may include an operating system 201, an interpreter 202, and a vehicle application capable of running on the interpreter 202, the vehicle gateway 200 may further include a gateway bottom layer function module 203, both the interpreter 202 and the gateway bottom layer function module 203 run on the operating system 201, a thread of running the interpreter 202 is different from a thread of running the gateway bottom layer function module 203, and the interpreter 202 is capable of running in parallel with the gateway bottom layer function module 203.
In an embodiment of the present invention, the cloud server 300 may include a server that operates independently, or a distributed server, or a server cluster that is composed of a plurality of servers. The cloud server 300 may include a network communication unit, a processor, a memory, and the like. Specifically, the cloud server 300 may be configured to store data packets of one or more vehicle-mounted applications, so that the vehicle-mounted gateway 200 may obtain the data packets of the target vehicle-mounted application from the cloud server 300 in response to a data packet downloading instruction of the target vehicle-mounted application.
Referring to fig. 1, in an actual application, a client 100 may send a data packet downloading instruction of a target vehicle-mounted application to a vehicle-mounted gateway 200, the vehicle-mounted gateway 200 obtains the data packet of the target vehicle-mounted application from a cloud server 300 in response to the data packet downloading instruction of the target vehicle-mounted application, and the vehicle-mounted gateway 200 obtains a local vehicle-mounted application data packet, and the vehicle-mounted gateway 200 generates a vehicle-mounted application data packet based on the local vehicle-mounted application data packet and the data packet of the target vehicle-mounted application, and the vehicle-mounted gateway 200 compiles and interprets the vehicle-mounted application data packet based on the interpreter to implement vehicle-mounted application updating. In one embodiment, the vehicle-mounted gateway 200 can respond to a vehicle operation signal, analyze the vehicle operation signal based on a corresponding vehicle-mounted application to obtain an operation result, and the vehicle-mounted gateway 200 can perform data conversion on the operation result to obtain an operation result after the data conversion; the vehicle-mounted gateway 200 sends the operation result after the data conversion to a data bus corresponding to the operation result after the data conversion; the data bus corresponding to the operation and running result after the data conversion sends the operation and running result after the data conversion to a corresponding vehicle-mounted application function execution module; and executing corresponding vehicle-mounted functions based on the vehicle-mounted application function execution module.
In addition, it should be noted that fig. 1 is merely an example of an application environment provided by the embodiment of the present application, and the present application is not limited thereto.
Fig. 2 is a flowchart of a vehicle-mounted application updating method provided by an embodiment of the present application, please refer to fig. 2, and the vehicle-mounted application updating method provided by the embodiment of the present application includes the following steps:
s201: the client sends a data packet downloading instruction of the target vehicle-mounted application to a vehicle-mounted gateway of the target vehicle.
In practical applications, the client may include, but is not limited to, a vehicle-mounted terminal, a smart phone, a desktop computer, a tablet computer, a notebook computer, a digital assistant, a smart wearable device, and other types of physical devices, and may also include software running in the physical devices, such as an application program (APP), a web page, a WeChat applet, and the like.
In this embodiment of the present disclosure, the vehicle gateway may include an interpreter and a gateway bottom layer function module, and in particular, the interpreter may include an interpreter of an interpreted language, where the vehicle application may run on the interpreter, and a thread that the interpreter runs is different from a thread that the gateway bottom layer function module runs.
Specifically, the vehicle-mounted application is an application for controlling the vehicle to realize relevant intelligent functions, and in practical applications, the vehicle-mounted application can include but is not limited to air conditioning control, bluetooth music playing, intelligent navigation, weather detection and the like; and the vehicle-mounted application is written based on an interpreted language, and specifically, the interpreted language can include, but is not limited to, python, javaScript, perl and Shell. The in-vehicle application written in an interpreted language can be run based on the interpreter.
Specifically, the gateway bottom layer function is a function for controlling data transmission, message processing and the like in a vehicle, and in practical application, the gateway bottom layer function may include, but is not limited to, conversion between various protocols such as CAN, LIN (Local Interconnect Network local interconnection network), ETH (Ethernet) and the like, message routing forwarding, data sharing and the like; and the gateway underlying functions are written based on compiled languages, which may include, but are not limited to, C language and c++, in particular.
The vehicle-mounted application is compiled based on an explanatory language, and is operated through the interpreter, the whole system is not required to be updated or firmware is not required to be updated when the vehicle-mounted application is updated, the update of a single vehicle-mounted application can be realized, the problem that the vehicle-mounted application is difficult to change after the vehicle leaves a factory or the update of the vehicle-mounted application is complicated is avoided, the user can update the vehicle-mounted application according to the need, the application personalized customization requirement of the user is met, the operability of the user on the vehicle is improved, and the update efficiency of the vehicle-mounted application is improved; by enabling the interpreter to run on threads different from the gateway bottom layer functional module, the whole vehicle communication function (gateway bottom layer functions, such as message routing forwarding and data sharing) cannot be affected when the vehicle-mounted application is upgraded, and the safety of updating the vehicle-mounted application is improved.
In the embodiment of the specification, the vehicle-mounted gateway can adopt an MCU (Microcontroller Unit micro control unit) as a core processor, and reliability is improved and whole vehicle cost is reduced by adopting the MCU as the core processor of the vehicle-mounted gateway.
S202: and the vehicle-mounted gateway responds to a data packet downloading instruction of the target vehicle-mounted application and acquires the data packet of the target vehicle-mounted application from the cloud server.
In the embodiment of the present disclosure, the packet downloading instruction may include a packet adding instruction and/or a packet updating instruction; the cloud server may include a data packet management platform provided by a service provider, which may include data packets of one or more vehicle applications.
S203: and the vehicle-mounted gateway acquires the local vehicle-mounted application data packet.
Specifically, the local vehicle-mounted application data packet may include a complete data packet of all vehicle-mounted applications that the target vehicle has currently installed.
S204: and the vehicle-mounted gateway generates a whole vehicle application data packet based on the local vehicle-mounted application data packet and the data packet of the target vehicle-mounted application.
In one embodiment, as shown in fig. 3, when the packet downloading instruction includes a packet adding instruction, the generating, by the vehicle gateway, a vehicle application packet based on the local vehicle application packet and the packet of the target vehicle application includes:
S301: and the vehicle-mounted gateway performs merging processing on the local vehicle-mounted application data packet and the target vehicle-mounted application data packet to obtain the whole vehicle application data packet.
Specifically, the merging processing is performed on the local vehicle-mounted application data packet and the data packet of the target vehicle-mounted application by the vehicle-mounted gateway, and the obtaining the whole vehicle application data packet may include:
(1) Determining a target installation position based on the installation position information carried by the data packet of the target vehicle-mounted application;
specifically, the installation location information carried by the data packet of the target vehicle-mounted application may include an installation path of the target vehicle-mounted application, and in an actual application, the installation path of the data packet of the target vehicle-mounted application may include a folder name in the local vehicle-mounted application data packet.
(2) Setting the data package of the target vehicle-mounted application at the target installation position;
(3) And merging the data of the local vehicle-mounted application data packet and the data of the target vehicle-mounted application data packet.
In practical application, for example, a user hopes to newly add a new Bluetooth call comfort function for triggering air conditioner air volume reduction when call access is performed to a vehicle, a client (for example, a mobile phone APP/vehicle-mounted terminal) can be utilized to send a data packet downloading instruction of the Bluetooth call comfort application to a vehicle-mounted gateway of a target vehicle, at the moment, the data packet downloading instruction comprises a data packet newly-added instruction, the vehicle-mounted gateway can generate a whole vehicle application data packet based on the local vehicle-mounted application data packet and the data packet of the target vehicle-mounted application, and because the vehicle-mounted application is written based on an explanatory language and is operated through an interpreter, the whole system is not required to be updated or firmware is not required to be updated when the vehicle-mounted application is newly added, and the vehicle-mounted application can be added by the user according to the needs only by the need of the actual application, thereby meeting the application personalized customization demands of the user and improving the updating efficiency; and because the interpreter runs on a thread different from the gateway bottom layer functional module, the whole vehicle communication function (gateway bottom layer functions, such as message routing forwarding, data sharing and the like) cannot be affected when the vehicle-mounted application is newly added, and the safety of updating the vehicle-mounted application is improved.
In another embodiment, as shown in fig. 4, when the packet downloading instruction includes a packet updating instruction, the generating, by the vehicle gateway, the vehicle application packet based on the local vehicle application packet and the packet of the target vehicle application may include:
s401: and the vehicle-mounted gateway determines an original data packet of the target vehicle-mounted application in the local vehicle-mounted application data packet.
Specifically, when the data packet downloading instruction includes a data packet updating instruction, the local vehicle-mounted application data packet includes a primary data packet of the target vehicle-mounted application, and the primary data packet of the target vehicle-mounted application may include an old version data packet of the target vehicle-mounted application.
S402: and the vehicle-mounted gateway replaces the original data packet of the target vehicle-mounted application based on the data packet of the target vehicle-mounted application to obtain the whole vehicle application data packet.
Specifically, when the packet downloading instruction includes a packet updating instruction, the packet of the target vehicle-mounted application may include a new version packet of the target vehicle-mounted application;
in practical application, for example, a user wants to update the version of the vehicle-mounted application of the air conditioner intelligent temperature control, because the vehicle-mounted application is written based on an explanatory language and is operated through an interpreter, the whole system is not required to be updated or firmware is not required to be updated when the version of the vehicle-mounted application is updated, and the corresponding vehicle-mounted application is only required to be updated according to the actual application, for example, the user wants to update the version of the vehicle-mounted application of the air conditioner intelligent temperature control, but does not want to update the version of the vehicle-mounted application of intelligent navigation, and only the version of the vehicle-mounted application of the air conditioner intelligent temperature control is required to be updated independently at the moment, the whole system or firmware is not required to be refreshed, so that the application personalized customization requirements of the user are met and the updating efficiency is high; and because the interpreter runs on a thread different from the gateway bottom layer functional module, the whole vehicle communication function (gateway bottom layer functions, such as message routing forwarding and data sharing) cannot be affected when the vehicle-mounted application is updated, and the safety of the vehicle-mounted application updating is improved.
S205: and the vehicle-mounted gateway compiles, interprets and runs the whole vehicle application data packet based on the interpreter so as to realize vehicle-mounted application updating.
Specifically, after the vehicle-mounted gateway generates the vehicle-mounted application data packet based on the local vehicle-mounted application data packet and the data packet of the target vehicle-mounted application, the vehicle-mounted application data packet needs to be compiled, interpreted and operated based on the interpreter, so that the vehicle-mounted application can be operated normally.
In this embodiment of the present disclosure, as shown in fig. 5, after performing the compiling and interpreting operation on the whole vehicle application data packet based on the interpreter, the method may further include:
s501: and the vehicle-mounted gateway sends an update success message of the target vehicle-mounted application to the client.
In practical application, after the vehicle-mounted gateway compiles and interprets the whole vehicle application data packet based on the interpreter, an update success message of the target vehicle-mounted application can be sent to the client through the vehicle-mounted gateway, for example, the Bluetooth call comfort function is successfully added, or the intelligent temperature control function of the air conditioner is updated to the latest version; the vehicle-mounted gateway sends the update success message of the target vehicle-mounted application to the client, so that the user can acquire relevant update information in time, repeated downloading of resources is avoided, and user experience is improved.
As shown in fig. 6, in the embodiment of the present disclosure, when the vehicle gateway performs relevant function control on the vehicle based on the vehicle application, the method may further include:
s601: the client side sends a vehicle operation signal to the vehicle-mounted gateway.
Specifically, the client may further include a vehicle control system, for example, a vehicle function control key, etc. In practical applications, the sending, by the client, the vehicle operation signal to the vehicle gateway may include, but is not limited to, for example, triggering a wiper control key, and sending, by the client, a wiper opening signal to the vehicle gateway; triggering a headlight control button, sending a headlight opening signal and the like to the vehicle-mounted gateway.
S602: the vehicle-mounted gateway responds to the vehicle operation signals, and analyzes the vehicle operation signals based on the corresponding vehicle-mounted application to obtain operation and running results.
In the embodiment of the present disclosure, the vehicle-mounted application may be used to perform analysis operation on a vehicle operation signal, and specifically, the vehicle-mounted application may include a local vehicle-mounted application or the above-mentioned newly added or updated target vehicle-mounted application, and the vehicle-mounted application may be capable of running based on an interpreter.
In practical application, when the vehicle operation signal includes a wiper opening signal, the corresponding vehicle-mounted application may include a wiper control application function, and the wiper control application function analyzes the wiper opening signal to obtain a wiper opening operation result.
S603: and the vehicle-mounted gateway performs data conversion on the operation and running result to obtain the operation and running result after data conversion.
In practical application, after the vehicle-mounted gateway responds to the vehicle operation signal and analyzes the vehicle operation signal based on the corresponding vehicle-mounted application to obtain an operation result, the operation result needs to be converted into data which CAN be operated by the vehicle, such as a CAN message. At this time, the vehicle gateway performs data conversion on the operation result, and obtaining the operation result after data conversion may include:
and the vehicle-mounted gateway performs CAN format data conversion on the operation result to obtain a CAN message corresponding to the operation result.
It should be noted that this is only one embodiment provided in the present specification, and the present invention is not limited thereto, and the data that the vehicle can operate may also include data in other formats.
S604: and the vehicle-mounted gateway sends the operation result after the data conversion to a data bus corresponding to the operation result after the data conversion.
In this embodiment of the present disclosure, when the data that the vehicle CAN run includes a CAN packet, the vehicle-mounted gateway performs CAN format data conversion on the operation running result to obtain a CAN packet corresponding to the operation running result, and the data bus corresponding to the operation running result after the data conversion may include a CAN bus.
Specifically, the sending, by the vehicle gateway, the operation result after the data conversion to the data bus corresponding to the operation result after the data conversion may include:
the vehicle-mounted gateway sends the operation running result after the data conversion to a data bus corresponding to the operation running result after the data conversion based on a gateway bottom layer function; in one embodiment, the gateway underlay function may include a CAN message routing forwarding function.
S605: and the data bus corresponding to the operation and running result after the data conversion sends the operation and running result after the data conversion to a corresponding vehicle-mounted application function execution module.
S606: and executing corresponding vehicle-mounted functions based on the vehicle-mounted application function execution module.
In one embodiment, when the vehicle operation signal includes a wiper opening signal, the in-vehicle application function execution module may include a wiper control application function execution module.
In practical application, taking the above-mentioned wiper control application function as an example, when the vehicle operation signal includes a wiper opening signal, the wiper control application function based on the operation of an interpreter on a vehicle-mounted gateway analyzes the wiper opening signal to obtain a wiper opening operation result, the vehicle-mounted gateway performs data conversion on the wiper opening operation result to obtain a CAN message corresponding to the wiper opening operation result, and the CAN bus forwards the CAN message route corresponding to the wiper opening operation result to the wiper control application function execution module, which executes the wiper opening action to complete the wiper opening.
Responding to a vehicle operation signal through a vehicle gateway, and analyzing the vehicle operation signal based on a corresponding vehicle-mounted application to obtain an operation result; performing data conversion on the operation result to obtain an operation result after data conversion; transmitting the operation result after the data conversion to a data bus corresponding to the operation result after the data conversion; the data bus sends the operation and running result after the data conversion to a corresponding vehicle-mounted application function execution module; based on the corresponding vehicle-mounted function executed by the vehicle-mounted application function execution module, the vehicle-mounted application running on the vehicle-mounted gateway can directly analyze the operation signals, the vehicle-mounted gateway can route and forward related messages among the ECUs, the vehicle-mounted application on the vehicle-mounted gateway replaces part of the ECU functions in the traditional vehicle, the number of ECUs needed on the vehicle is reduced, meanwhile, the cost of the vehicle is reduced, and the complexity of in-vehicle communication is reduced.
In the embodiment of the specification, the vehicle-mounted application is written based on an explanatory language, and is operated through an interpreter, so that the update of a single vehicle-mounted application can be realized without updating the whole system or firmware when the vehicle-mounted application is updated, and the whole vehicle communication function (gateway bottom layer functions such as message routing forwarding and data sharing) cannot be influenced when the vehicle-mounted application is updated, so that the whole firmware is not required to be refreshed when the vehicle-mounted application is directly controlled through a vehicle-mounted gateway, and the vehicle-mounted gateway is flexible and efficient.
In the embodiment of the specification, the vehicle-mounted application updating method is executed through the vehicle-mounted gateway, the vehicle-mounted gateway is provided with the interpreter, the vehicle-mounted application can be run on the interpreter, the vehicle-mounted application is written based on the interpreted language, and the interpreter is used for running the vehicle-mounted application, so that the whole system is not required to be updated or firmware is not required to be updated when the vehicle-mounted application is updated, the update of a single vehicle-mounted application can be realized, the problem that the vehicle-mounted application is difficult to change or the vehicle-mounted application is complicated to update after the vehicle leaves the factory is avoided, the user can update the vehicle-mounted application according to the needs, the application personalized customization demands of the user are met, the operability of the user on the vehicle is improved, and the vehicle-mounted application updating efficiency is improved; by enabling the interpreter to run on threads different from the gateway bottom layer functional module, the whole vehicle communication function (gateway bottom layer functions, such as message routing forwarding and data sharing) cannot be affected when the vehicle-mounted application is upgraded, and the safety of updating the vehicle-mounted application is improved. The client sends a data packet downloading instruction of the target vehicle-mounted application to a vehicle-mounted gateway of the target vehicle, and the vehicle-mounted gateway responds to the data packet downloading instruction of the target vehicle-mounted application to acquire the data packet of the target vehicle-mounted application from the cloud server, only the data packet needing to be updated is required to be acquired, and the time saving efficiency is high. The vehicle-mounted gateway acquires a local vehicle-mounted application data packet, generates a whole vehicle application data packet based on the local vehicle-mounted application data packet and the data packet of the target vehicle-mounted application, and compiles, interprets and operates the whole vehicle application data packet based on the interpreter so as to realize vehicle-mounted application updating. When the data packet downloading instruction comprises a data packet newly-added instruction, the vehicle-mounted gateway generates a vehicle-mounted application data packet based on the local vehicle-mounted application data packet and the data packet of the target vehicle-mounted application, wherein the vehicle-mounted gateway performs merging processing on the local vehicle-mounted application data packet and the data packet of the target vehicle-mounted application to obtain the vehicle-mounted application data packet, and when the vehicle-mounted application is newly added, the whole system is not required to be updated or firmware is not required to be updated, and only the corresponding vehicle-mounted application is required to be newly added according to the actual application requirement, so that the updating efficiency is improved; when the data packet downloading instruction includes a data packet updating instruction, the vehicle-mounted gateway generating a vehicle-mounted application data packet based on the local vehicle-mounted application data packet and the data packet of the target vehicle-mounted application may include that the vehicle-mounted gateway determines an original data packet of the target vehicle-mounted application in the local vehicle-mounted application data packet, and the vehicle-mounted gateway replaces the original data packet of the target vehicle-mounted application based on the data packet of the target vehicle-mounted application to obtain the vehicle-mounted application data packet, so that the vehicle-mounted application requiring an updated version can be independently updated according to the requirement, the operation is flexible, the degree of freedom is high, the whole system or firmware refreshing is not required, the application personalized customization requirement of a user is met, and the updating efficiency is high. Responding to a vehicle operation signal through a vehicle gateway, and analyzing the vehicle operation signal based on a corresponding vehicle-mounted application to obtain an operation result; performing data conversion on the operation result to obtain an operation result after data conversion; transmitting the operation result after the data conversion to a data bus corresponding to the operation result after the data conversion; the data bus sends the operation and running result after the data conversion to a corresponding vehicle-mounted application function execution module; based on the corresponding vehicle-mounted function executed by the vehicle-mounted application function execution module, the vehicle-mounted application running on the vehicle-mounted gateway can directly analyze the operation signals, the vehicle-mounted gateway can route and forward related messages among the ECUs, the vehicle-mounted application on the vehicle-mounted gateway replaces part of the ECU functions in the traditional vehicle, the number of ECUs needed on the vehicle is reduced, meanwhile, the cost of the vehicle is reduced, and the complexity of in-vehicle communication is reduced.
The embodiment of the application also provides a vehicle-mounted application updating device, as shown in fig. 7, the device is arranged on a vehicle-mounted gateway, an interpreter is further arranged on the vehicle-mounted gateway, and the vehicle-mounted application can run on the interpreter, and the device comprises:
the data packet downloading module 710 is configured to obtain a data packet of a target vehicle-mounted application from a cloud server in response to a data packet downloading instruction of the target vehicle-mounted application;
the data packet obtaining module 720 is configured to obtain a local vehicle-mounted application data packet;
the data packet generating module 730 is configured to generate a whole vehicle application data packet based on the local vehicle application data packet and the data packet of the target vehicle application;
and the compiling and interpreting operation module 740 is configured to compile and interpret the whole vehicle application data packet based on the interpreter, so as to implement updating of the vehicle-mounted application.
In one embodiment, the data packet generating module 730 may include:
and the merging unit is used for merging the local vehicle-mounted application data packet and the target vehicle-mounted application data packet to obtain the whole vehicle application data packet.
In another embodiment, the packet generation module 730 may include:
The data packet determining unit is used for determining an original data packet of the target vehicle-mounted application in the local vehicle-mounted application data packet;
and the data packet replacing unit is used for replacing the original data packet of the target vehicle-mounted application based on the data packet of the target vehicle-mounted application to obtain the whole vehicle application data packet.
In one embodiment, the apparatus may further include:
the data analysis unit is used for responding to the vehicle operation signals, analyzing the vehicle operation signals based on the corresponding vehicle-mounted application and obtaining operation running results;
the data format conversion unit is used for carrying out data conversion on the operation running result to obtain an operation running result after data conversion;
and the first data forwarding unit is used for sending the operation result after the data conversion to a data bus corresponding to the operation result after the data conversion.
The second data forwarding unit is used for sending the operation running result after the data conversion to the corresponding vehicle-mounted application function execution module through the data bus corresponding to the operation running result after the data conversion;
and the function execution unit is used for executing corresponding vehicle-mounted functions based on the vehicle-mounted application function execution module.
Specifically, the above modules of the vehicle-mounted application updating device may be coupled and communicated through a bus.
According to the vehicle-mounted application updating device, the vehicle-mounted application updating method is executed through the vehicle-mounted gateway, the vehicle-mounted gateway is provided with the interpreter, the vehicle-mounted application can be operated on the interpreter, the vehicle-mounted application is written based on the interpreted language, and the interpreter is used for operating the vehicle-mounted application, so that the whole system is not required to be updated or firmware is not required to be updated when the vehicle-mounted application is updated, the update of a single vehicle-mounted application can be realized, the problem that the vehicle-mounted application is difficult to change after the vehicle leaves a factory or the update of the vehicle-mounted application is complicated is avoided, the user can update the vehicle-mounted application according to the needs, the application personalized customization demands of the user are met, the operability of the user on the vehicle is improved, and the vehicle-mounted application updating efficiency is improved; by enabling the interpreter to run on threads different from the gateway bottom layer functional module, the whole vehicle communication function (gateway bottom layer functions, such as message routing forwarding and data sharing) cannot be affected when the vehicle-mounted application is upgraded, and the safety of updating the vehicle-mounted application is improved. The client sends a data packet downloading instruction of the target vehicle-mounted application to a vehicle-mounted gateway of the target vehicle, and the vehicle-mounted gateway responds to the data packet downloading instruction of the target vehicle-mounted application to acquire the data packet of the target vehicle-mounted application from the cloud server, only the data packet needing to be updated is required to be acquired, and the time saving efficiency is high. The vehicle-mounted gateway acquires a local vehicle-mounted application data packet, generates a whole vehicle application data packet based on the local vehicle-mounted application data packet and the data packet of the target vehicle-mounted application, and compiles, interprets and operates the whole vehicle application data packet based on the interpreter so as to realize vehicle-mounted application updating. When the data packet downloading instruction comprises a data packet newly-added instruction, the vehicle-mounted gateway generates a vehicle-mounted application data packet based on the local vehicle-mounted application data packet and the data packet of the target vehicle-mounted application, wherein the vehicle-mounted gateway performs merging processing on the local vehicle-mounted application data packet and the data packet of the target vehicle-mounted application to obtain the vehicle-mounted application data packet, and when the vehicle-mounted application is newly added, the whole system is not required to be updated or firmware is not required to be updated, and only the corresponding vehicle-mounted application is required to be newly added according to the actual application requirement, so that the updating efficiency is improved; when the data packet downloading instruction includes a data packet updating instruction, the vehicle-mounted gateway generating a vehicle-mounted application data packet based on the local vehicle-mounted application data packet and the data packet of the target vehicle-mounted application may include that the vehicle-mounted gateway determines an original data packet of the target vehicle-mounted application in the local vehicle-mounted application data packet, and the vehicle-mounted gateway replaces the original data packet of the target vehicle-mounted application based on the data packet of the target vehicle-mounted application to obtain the vehicle-mounted application data packet, so that the vehicle-mounted application requiring an updated version can be independently updated according to the requirement, the operation is flexible, the degree of freedom is high, the whole system or firmware refreshing is not required, the application personalized customization requirement of a user is met, and the updating efficiency is high. Responding to a vehicle operation signal through a vehicle gateway, and analyzing the vehicle operation signal based on a corresponding vehicle-mounted application to obtain an operation result; performing data conversion on the operation result to obtain an operation result after data conversion; transmitting the operation result after the data conversion to a data bus corresponding to the operation result after the data conversion; the data bus sends the operation and running result after the data conversion to a corresponding vehicle-mounted application function execution module; based on the corresponding vehicle-mounted function executed by the vehicle-mounted application function execution module, the vehicle-mounted application running on the vehicle-mounted gateway can directly analyze the operation signals, the vehicle-mounted gateway can route and forward related messages among the ECUs, the vehicle-mounted application on the vehicle-mounted gateway replaces part of the ECU functions in the traditional vehicle, the number of ECUs needed on the vehicle is reduced, meanwhile, the cost of the vehicle is reduced, and the complexity of in-vehicle communication is reduced.
The embodiment of the invention provides a computer device, which comprises a processor and a memory, wherein at least one instruction, at least one section of program, code set or instruction set is stored in the memory, and the at least one instruction, the at least one section of program, the code set or instruction set is loaded and executed by the processor to realize the vehicle-mounted application updating method provided by the embodiment of the method.
The memory may be used to store software programs and modules that the processor executes to perform various functional applications and data processing by executing the software programs and modules stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, application programs required for functions, and the like; the storage data area may store data created according to the use of the device, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory may also include a memory controller to provide access to the memory by the processor.
The method embodiments provided by the embodiments of the present invention may be performed in a mobile terminal, a computer terminal, a server, or a similar computing device, i.e., the computer device may include a mobile terminal, a computer terminal, a server, or a similar computing device. Taking the operation on a server as an example, fig. 8 is a hardware structure block diagram of the server of the vehicle-mounted application updating method provided by the embodiment of the invention. As shown in fig. 8, the server 800 may vary considerably in configuration or performance and may include one or more central processing units (Central Processing Units, CPU) 810 (the processor 810 may include, but is not limited to, a microprocessor MCU or a processing device such as a programmable logic device FPGA), a memory 830 for storing data, one or more storage mediums 820 (e.g., one or more mass storage devices) for storing applications 823 or data 822. Wherein memory 830 and storage medium 820 can be transitory or persistent. The program stored on the storage medium 820 may include one or more modules, each of which may include a series of instruction operations on a server. Still further, the central processor 810 may be arranged to communicate with the storage medium 820 and to execute a series of instruction operations in the storage medium 820 on the server 800. The Server 800 may also include one or more power supplies 860, one or more wired or wireless network interfaces 850, one or more input/output interfaces 840, and/or one or more operating systems 821, such as Windows Server TM ,Mac OS X TM ,Unix TM ,Linux TM ,FreeBSD TM Etc。
The input-output interface 840 may be used to receive or transmit data via a network. The specific example of the network described above may include a wireless network provided by a communication provider of the server 600. In one example, the input-output interface 640 includes a network adapter (Network Interface Controller, NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the input/output interface 640 may be a Radio Frequency (RF) module for communicating with the internet wirelessly.
It will be appreciated by those of ordinary skill in the art that the configuration shown in fig. 8 is merely illustrative and is not intended to limit the configuration of the electronic device described above. For example, server 800 may also include more or fewer components than shown in fig. 8, or have a different configuration than shown in fig. 8.
Embodiments of the present invention also provide a computer readable storage medium, where the storage medium may be configured in a server to store at least one instruction, at least one program, a code set, or an instruction set related to implementing a vehicle-mounted application updating method in a method embodiment, where the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement the vehicle-mounted application updating method provided in the method embodiment.
Alternatively, in this embodiment, the storage medium may be located in at least one network server among a plurality of network servers of the computer network. Alternatively, in the present embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
According to the embodiment of the vehicle-mounted application updating method, the device, the computer equipment or the storage medium, the vehicle-mounted gateway is used for executing the vehicle-mounted application updating method, the vehicle-mounted gateway is provided with the interpreter, the vehicle-mounted application can be operated on the interpreter, the vehicle-mounted application is compiled based on the interpreted language, and the interpreter is used for operating the vehicle-mounted application, so that the whole system is not required to be updated or firmware is not required to be updated when the vehicle-mounted application is updated, the update of a single vehicle-mounted application can be realized, the problem that the vehicle-mounted application is difficult to change or the vehicle-mounted application is complicated to update after the vehicle leaves the factory is avoided, the user can update the vehicle-mounted application according to the needs, the application personalized customization demands of the user are met, the operability of the user on the vehicle is improved, and the vehicle-mounted application updating efficiency is improved; by enabling the interpreter to run on threads different from the gateway bottom layer functional module, the whole vehicle communication function (gateway bottom layer functions, such as message routing forwarding and data sharing) cannot be affected when the vehicle-mounted application is upgraded, and the safety of updating the vehicle-mounted application is improved. The client sends a data packet downloading instruction of the target vehicle-mounted application to a vehicle-mounted gateway of the target vehicle, and the vehicle-mounted gateway responds to the data packet downloading instruction of the target vehicle-mounted application to acquire the data packet of the target vehicle-mounted application from the cloud server, only the data packet needing to be updated is required to be acquired, and the time saving efficiency is high. The vehicle-mounted gateway acquires a local vehicle-mounted application data packet, generates a whole vehicle application data packet based on the local vehicle-mounted application data packet and the data packet of the target vehicle-mounted application, and compiles, interprets and operates the whole vehicle application data packet based on the interpreter so as to realize vehicle-mounted application updating. When the data packet downloading instruction comprises a data packet newly-added instruction, the vehicle-mounted gateway generates a vehicle-mounted application data packet based on the local vehicle-mounted application data packet and the data packet of the target vehicle-mounted application, wherein the vehicle-mounted gateway performs merging processing on the local vehicle-mounted application data packet and the data packet of the target vehicle-mounted application to obtain the vehicle-mounted application data packet, and when the vehicle-mounted application is newly added, the whole system is not required to be updated or firmware is not required to be updated, and only the corresponding vehicle-mounted application is required to be newly added according to the actual application requirement, so that the updating efficiency is improved; when the data packet downloading instruction includes a data packet updating instruction, the vehicle-mounted gateway generating a vehicle-mounted application data packet based on the local vehicle-mounted application data packet and the data packet of the target vehicle-mounted application may include that the vehicle-mounted gateway determines an original data packet of the target vehicle-mounted application in the local vehicle-mounted application data packet, and the vehicle-mounted gateway replaces the original data packet of the target vehicle-mounted application based on the data packet of the target vehicle-mounted application to obtain the vehicle-mounted application data packet, so that the vehicle-mounted application requiring an updated version can be independently updated according to the requirement, the operation is flexible, the degree of freedom is high, the whole system or firmware refreshing is not required, the application personalized customization requirement of a user is met, and the updating efficiency is high. Responding to a vehicle operation signal through a vehicle gateway, and analyzing the vehicle operation signal based on a corresponding vehicle-mounted application to obtain an operation result; performing data conversion on the operation result to obtain an operation result after data conversion; transmitting the operation result after the data conversion to a data bus corresponding to the operation result after the data conversion; the data bus sends the operation and running result after the data conversion to a corresponding vehicle-mounted application function execution module; based on the corresponding vehicle-mounted function executed by the vehicle-mounted application function execution module, the vehicle-mounted application running on the vehicle-mounted gateway can directly analyze the operation signals, the vehicle-mounted gateway can route and forward related messages among the ECUs, the vehicle-mounted application on the vehicle-mounted gateway replaces part of the ECU functions in the traditional vehicle, the number of ECUs needed on the vehicle is reduced, meanwhile, the cost of the vehicle is reduced, and the complexity of in-vehicle communication is reduced.
It should be noted that: the sequence of the embodiments of the present invention is only for description, and does not represent the advantages and disadvantages of the embodiments. And the foregoing description has been directed to specific embodiments of this specification. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments 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 are also possible or may be advantageous.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for apparatus, devices and storage medium embodiments, the description is relatively simple as it is substantially similar to method embodiments, with reference to the description of method embodiments in part.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The foregoing description of the preferred embodiments of the invention is not intended to limit the invention to the precise form disclosed, and any such modifications, equivalents, and alternatives falling within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims (8)

1. A vehicle-mounted application updating method, characterized in that the method is performed by a vehicle-mounted gateway provided with an interpreter on which a vehicle-mounted application can run, the method comprising:
responding to a data packet downloading instruction of a target vehicle-mounted application, and acquiring the data packet of the target vehicle-mounted application from a cloud server;
acquiring a local vehicle-mounted application data packet;
generating a whole vehicle application data packet based on the local vehicle application data packet and the data packet of the target vehicle application;
compiling, interpreting and running the whole vehicle application data packet based on the interpreter so as to realize vehicle-mounted application updating;
the vehicle-mounted gateway is also provided with a gateway bottom layer functional module which is used for controlling data transmission and message processing in the vehicle, and the thread operated by the gateway bottom layer functional module is different from the thread operated by the interpreter;
the target vehicle-mounted application is written based on an explanatory language;
The data packet downloading instruction comprises a data packet adding instruction and/or a data packet updating instruction;
when the data packet downloading instruction is a data packet adding instruction, the generating the whole vehicle application data packet based on the local vehicle application data packet and the data packet of the target vehicle application includes:
combining the local vehicle-mounted application data packet and the target vehicle-mounted application data packet to obtain the whole vehicle application data packet;
when the data packet downloading instruction is a data packet updating instruction, the generating the whole vehicle application data packet based on the local vehicle application data packet and the data packet of the target vehicle application includes:
determining an original data packet of the target vehicle-mounted application in a local vehicle-mounted application data packet;
and replacing the original data packet of the target vehicle-mounted application based on the data packet of the target vehicle-mounted application to obtain the whole vehicle application data packet.
2. The method according to claim 1, wherein the method further comprises:
responding to a vehicle operation signal, and analyzing the vehicle operation signal based on a corresponding vehicle-mounted application to obtain an operation result;
performing data conversion on the operation result to obtain an operation result after data conversion;
And sending the operation result after the data conversion to a data bus corresponding to the operation result after the data conversion.
3. The method according to claim 2, wherein after the in-vehicle gateway transmits the data-converted operation execution result to a data bus corresponding to the data-converted operation execution result, the method further comprises:
the data bus corresponding to the operation and running result after the data conversion sends the operation and running result after the data conversion to a corresponding vehicle-mounted application function execution module;
and executing corresponding vehicle-mounted functions based on the vehicle-mounted application function execution module.
4. The method of claim 1, wherein after compiling the whole vehicle application data package based on the interpreter, the method further comprises:
and sending an update success message of the target vehicle-mounted application to the client.
5. An on-vehicle application updating device, characterized in that the device is arranged on an on-vehicle gateway, an interpreter is further arranged on the on-vehicle gateway, and an on-vehicle application can run on the interpreter, the device comprises:
The data packet downloading module is used for responding to a data packet downloading instruction of the target vehicle-mounted application and acquiring the data packet of the target vehicle-mounted application from the cloud server;
the data packet acquisition module is used for acquiring a local vehicle-mounted application data packet;
the data packet generation module is used for generating a whole vehicle application data packet based on the local vehicle-mounted application data packet and the data packet of the target vehicle-mounted application;
the compiling and interpreting operation module is used for compiling and interpreting the whole vehicle application data packet based on the interpreter so as to realize updating of the vehicle-mounted application;
the vehicle-mounted gateway is also provided with a gateway bottom layer functional module which is used for controlling data transmission and message processing in the vehicle, and the thread operated by the gateway bottom layer functional module is different from the thread operated by the interpreter;
the target vehicle-mounted application is written based on an explanatory language;
the data packet downloading instruction comprises a data packet adding instruction and/or a data packet updating instruction;
when the data packet downloading instruction is a data packet adding instruction, the data packet generating module is specifically configured to combine the local vehicle-mounted application data packet and the data packet of the target vehicle-mounted application to obtain the whole vehicle application data packet;
When the data packet downloading instruction is a data packet updating instruction, the data packet generating module is specifically configured to determine an original data packet of the target vehicle-mounted application in a local vehicle-mounted application data packet;
and replacing the original data packet of the target vehicle-mounted application based on the data packet of the target vehicle-mounted application to obtain the whole vehicle application data packet.
6. The in-vehicle application updating apparatus according to claim 5, characterized in that the apparatus further comprises:
and the message sending module is used for sending an update success message of the target vehicle-mounted application to the client after compiling, interpreting and running the whole vehicle application data packet based on the interpreter.
7. An in-vehicle application updating apparatus, characterized in that the apparatus comprises a processor and a memory in which at least one instruction or at least one program is stored, the at least one instruction or the at least one program being loaded and executed by the processor to implement the in-vehicle application updating method according to any one of claims 1 to 4.
8. A computer-readable storage medium, characterized in that at least one instruction or at least one program is stored in the storage medium, the at least one instruction or the at least one program being loaded and executed by a processor to implement the vehicle-mounted application updating method according to any one of claims 1 to 4.
CN202010392161.5A 2020-05-11 2020-05-11 Vehicle-mounted application updating method, device, equipment and storage medium Active CN111752575B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010392161.5A CN111752575B (en) 2020-05-11 2020-05-11 Vehicle-mounted application updating method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010392161.5A CN111752575B (en) 2020-05-11 2020-05-11 Vehicle-mounted application updating method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111752575A CN111752575A (en) 2020-10-09
CN111752575B true CN111752575B (en) 2023-09-19

Family

ID=72673713

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010392161.5A Active CN111752575B (en) 2020-05-11 2020-05-11 Vehicle-mounted application updating method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111752575B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113805936B (en) * 2021-09-18 2022-07-12 中国能源建设集团广东省电力设计研究院有限公司 Version control method for enterprise informatization series products

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9489190B1 (en) * 2013-09-18 2016-11-08 Amazon Technologies, Inc. Message processing engine
WO2017046980A1 (en) * 2015-09-14 2017-03-23 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ Gateway device, vehicle-mounted network system, and firmware update method
WO2018018761A1 (en) * 2016-07-29 2018-02-01 北京新能源汽车股份有限公司 Vehicle-mounted gateway controller based information processing method and gateway controller

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103049316B (en) * 2012-12-31 2015-07-15 东软集团股份有限公司 Information interaction method and information interaction device of Web application and in-vehicle infortainment system
CN104182241A (en) * 2013-05-24 2014-12-03 华为终端有限公司 Webpage application program (Web App) update method and communication device
CN105278994A (en) * 2015-10-29 2016-01-27 北京新能源汽车股份有限公司 Updating method and updating system of vehicle-mounted ECU (Electronic Control Unit) software
US10235154B2 (en) * 2016-03-09 2019-03-19 Ford Global Technologies, Llc Over-the-air trigger to vehicle interrogator updates
US20180074813A1 (en) * 2016-09-14 2018-03-15 General Motors Llc Installing vehicle updates
CN106790568A (en) * 2016-12-27 2017-05-31 成都中科创达软件有限公司 A kind of vehicular platform exchange method based on HTML5
US20200057630A1 (en) * 2018-08-14 2020-02-20 Hyundai Motor Company Method and Apparatus for Wirelessly Updating Software for Vehicle
CN109002320B (en) * 2018-08-20 2021-07-06 思必驰科技股份有限公司 Updating method, system, electronic device and storage medium for software development kit
CN109471652A (en) * 2018-10-24 2019-03-15 北汽福田汽车股份有限公司 Method for updating program and its system, the car-mounted terminal and electronic equipment of vehicle

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9489190B1 (en) * 2013-09-18 2016-11-08 Amazon Technologies, Inc. Message processing engine
WO2017046980A1 (en) * 2015-09-14 2017-03-23 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ Gateway device, vehicle-mounted network system, and firmware update method
WO2018018761A1 (en) * 2016-07-29 2018-02-01 北京新能源汽车股份有限公司 Vehicle-mounted gateway controller based information processing method and gateway controller

Also Published As

Publication number Publication date
CN111752575A (en) 2020-10-09

Similar Documents

Publication Publication Date Title
CN110995578B (en) Design method, device, equipment and storage medium of automobile gateway
JP2023544130A (en) Vehicle upgrade method and device
CN110463162B (en) Application deployment method, device and system
CN112463190A (en) Vehicle upgrading method and device
WO2021168840A1 (en) Software version rollback method, apparatus and system
EP4044024A1 (en) Software upgrade method, apparatus and system
US11838375B2 (en) Universal software communication bus
WO2024007987A1 (en) Vehicle-end firmware upgrading method and apparatus for digital key system, and device and medium
CN112913190A (en) Upgrading method and device based on over-the-air technology OTA
CN113434168A (en) Vehicle-mounted network architecture self-adaptive upgrading method based on intelligent hardware computing power
CN111752575B (en) Vehicle-mounted application updating method, device, equipment and storage medium
CN114546445A (en) Finished automobile OTA controller upgrading system and method based on micro-service architecture
US20150046342A1 (en) System and method for telematics service of vehicle
CN115225492A (en) Remote upgrading method and system
EP3091435A1 (en) Resource management method and device for terminal system
CN109286689B (en) Information sending method and device and vehicle-mounted man-vehicle interaction terminal
CN116827854A (en) Vehicle-mounted communication system and method based on redundant information feedback
CN113986312B (en) Software upgrading method and device, electronic equipment and computer readable storage medium
CN106445599B (en) Application program upgrading method and device and terminal
CN114422436A (en) Gateway, gateway control method, gateway control device, electronic equipment and storage medium
CN111683005A (en) Internet of things intelligent gateway equipment and construction method thereof
CN111740972A (en) Method, device, equipment and storage medium for updating communication protocol stack information
CN105453522A (en) Method for providing a function in a computer system of a vehicle
CN111026505B (en) Network equipment virtualization method and device
CN116954668A (en) Upgrading method and device of vehicle domain controller, storage medium and electronic equipment

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
GR01 Patent grant
GR01 Patent grant