CN111752575A - 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
CN111752575A
CN111752575A CN202010392161.5A CN202010392161A CN111752575A CN 111752575 A CN111752575 A CN 111752575A CN 202010392161 A CN202010392161 A CN 202010392161A CN 111752575 A CN111752575 A CN 111752575A
Authority
CN
China
Prior art keywords
vehicle
application
data packet
data
mounted application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010392161.5A
Other languages
Chinese (zh)
Other versions
CN111752575B (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

Images

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 

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

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 vehicle-mounted applications can run on the interpreter; acquiring a local vehicle-mounted application data packet; generating a whole vehicle application data packet based on a 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 an interpreter so as to realize vehicle-mounted application updating. By the technical scheme, the whole system does not need to be updated or firmware is updated when the vehicle-mounted application is updated, the updating of single vehicle-mounted application is realized, and the interpreter runs on a thread different from a functional module at the bottom layer of the gateway, so that the communication function of the whole vehicle is not influenced when the vehicle-mounted application is updated, and the updating safety of the vehicle-mounted application is improved.

Description

Vehicle-mounted application updating method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of vehicle networking, in particular to a vehicle-mounted application updating method, device, equipment and storage medium.
Background
With the rapid development of the automobile industry and the great increase of the automobile holding amount, people have more and more requirements on automobiles, the condition that functions cannot be freely set after the automobiles leave a factory cannot meet the requirements of users, and the requirements of the users on the personalized customization of the application functions of the automobiles are more and more.
At present, the vehicle-mounted gateway is mainly developed based on a compiled language, and when the function of the vehicle-mounted gateway is upgraded, firmware needs to be upgraded or updated through a Bootloader, so that the updating speed is low, and the efficiency is low. Moreover, upgrading of all firmware software may affect the vehicle communication function, resulting in low security of firmware upgrade.
The traditional automobile is mainly of a distributed Electronic appliance architecture, an ECU (Electronic Control Unit) is connected to different CAN buses, and a vehicle-mounted gateway connects a plurality of CAN buses and takes on the functions of protocol conversion, message routing, data sharing and the like of the whole automobile. The CAN messages are forwarded among the ECUs through the vehicle-mounted gateway, so that vehicle control is realized, but more ECUs are needed, and in-vehicle communication is complex. Therefore, there is a need to provide a more efficient solution.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides a vehicle-mounted application updating method and device, computer equipment and a storage medium. The technical scheme is as follows:
one aspect of the present application provides a method for updating a vehicle-mounted application, where the method is performed by a vehicle-mounted gateway, the vehicle-mounted gateway is provided with an interpreter, and a vehicle-mounted application can run on the interpreter, and the method includes:
the method comprises the steps that a data packet of a target vehicle-mounted application is obtained from a cloud server in response to a data packet downloading instruction of the target vehicle-mounted application;
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.
This application on the other hand provides a vehicle-mounted application update device, the device sets up on vehicle-mounted gateway, still be provided with the interpreter on the vehicle-mounted gateway, vehicle-mounted application can operate on the interpreter, the device includes:
the data package downloading module is used for responding to a data package downloading instruction of the target vehicle-mounted application to acquire a data package 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 generating module is used for 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 the compiling, interpreting and running module is used for 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 an apparatus comprising a processor and a memory, the memory having stored therein at least one instruction, at least one program, set of codes, or set of instructions, which is loaded and executed by the processor to implement the in-vehicle application updating method.
Another aspect of the present application provides a computer-readable storage medium having at least one instruction, at least one program, a set of codes, or a set of instructions stored therein, loaded and executed by a processor to implement the in-vehicle application updating method.
The vehicle-mounted application updating method, device, equipment and storage medium have the following technical effects:
according to the vehicle-mounted application updating method, the vehicle-mounted gateway is provided with the interpreter, the vehicle-mounted application can run on the interpreter, the vehicle-mounted application is compiled based on the interpretative language, the vehicle-mounted application runs through the interpreter, the whole system does not need to be updated or firmware is not needed to be updated when the vehicle-mounted application is updated, the updating of a single vehicle-mounted application can be achieved, the problem that the vehicle-mounted application is difficult to change or the vehicle-mounted application is complicated to update after a vehicle leaves a factory is solved, the vehicle-mounted application can be updated by a user according to the need, the application personalized customization requirements of the user are met, the controllability of the user on the vehicle is improved, and the updating efficiency of the vehicle-mounted application 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 needs to be acquired, so that the time saving efficiency is high. The vehicle-mounted gateway acquires a local vehicle-mounted application data packet, 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, and the vehicle-mounted gateway carries out compiling, explaining and running on the whole vehicle application data packet based on the interpreter so as to realize vehicle-mounted application updating and enable the vehicle-mounted application to be updated flexibly and efficiently.
Additional aspects and advantages of the invention 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 invention.
Drawings
In order to more clearly illustrate the technical solutions and advantages of the embodiments of the present application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
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 disclosure;
fig. 3 is a flowchart of a method for updating a vehicle-mounted application when the data packet downloading instruction includes a data packet adding instruction according to an embodiment of the present application;
fig. 4 is a flowchart of a method for updating a vehicle-mounted application when the data package downloading instruction includes a data package updating instruction according to an embodiment of the present application;
FIG. 5 is a flowchart of another vehicle application updating method provided in the embodiments of the present application;
FIG. 6 is a flowchart of another vehicle application updating method provided in the embodiments of the present application;
FIG. 7 is a schematic diagram of an in-vehicle application updating apparatus 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 technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application. Examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the same or similar elements or elements having the same or similar function throughout.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or 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, 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 view of an application environment according to an embodiment of the present disclosure, and as shown in fig. 1, the application environment may include a client 100, a vehicle gateway 200, and a cloud server 300.
In this embodiment of the present invention, the client 100 may be configured to send a data package 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 performs compiling, interpreting and running on the vehicle-mounted application data package based on the interpreter. Specifically, the client 100 may include, but is not limited to, a physical device of a type such as a vehicle-mounted terminal, a smart phone, a desktop computer, a tablet computer, a laptop computer, a digital assistant, a smart wearable device, and the like, and may also include software running in the physical device, 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 invention 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, some service providers provide web pages to users, and may also provide applications to users, such as vehicle remote control software, for the service providers.
In this embodiment of the present disclosure, the vehicle gateway 200 may be configured to obtain a data packet of a target vehicle application from a cloud server in response to a data packet downloading instruction of the target vehicle application, obtain a local vehicle application data packet, generate a complete vehicle application data packet based on the local vehicle application data packet and the data packet of the target vehicle application, and perform compiling, interpreting and running on the complete vehicle application data packet based on the interpreter, so as to update the vehicle application. In another embodiment, the vehicle-mounted gateway 200 is further capable of 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 running result to obtain an operation running result after data conversion; sending the operation result after the data conversion to a data bus corresponding to the operation result after the data conversion, wherein the data bus sends the operation result after the data conversion to a corresponding vehicle-mounted application function execution module; the execution module can execute corresponding vehicle-mounted functions based on the vehicle-mounted application functions. Specifically, the in-vehicle gateway 200 may include an operating system 201, an interpreter 202, and an in-vehicle application capable of running on the interpreter 202, and the in-vehicle gateway 200 may further include a gateway bottom-layer function module 203, where the interpreter 202 and the gateway bottom-layer function module 203 both run on the operating system 201, a thread run by the interpreter 202 is different from a thread run by 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 the embodiment of the present invention, the cloud server 300 may include a server running independently, or a distributed server, or a server cluster 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 one or more data packets of the vehicle-mounted application, so that the vehicle-mounted gateway 200 obtains the data packet of the target vehicle-mounted application from the cloud server 300 in response to the data packet downloading instruction of the target vehicle-mounted application.
Referring to fig. 1, in practical applications, a client 100 can send a data packet downloading instruction of a target vehicle-mounted application to a vehicle-mounted gateway 200, the vehicle-mounted gateway 200 obtains a 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, the vehicle-mounted gateway 200 generates a finished 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 vehicle-mounted gateway 200 performs compiling, interpreting and running on the finished vehicle application data packet based on the interpreter, so as to update the vehicle-mounted application. In one embodiment, the vehicle-mounted gateway 200 can respond to the vehicle operation signal, analyze the vehicle operation signal based on the 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 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 result after the data conversion sends the operation 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 only an example of an application environment provided by the embodiment of the present application, and the present invention is not limited thereto.
Fig. 2 is a flowchart of a vehicle-mounted application updating method provided in an embodiment of the present application, and referring to fig. 2, the vehicle-mounted application updating method provided in the embodiment of the present application includes the following steps:
s201: and 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 physical device of a type such as a vehicle-mounted terminal, a smart phone, a desktop computer, a tablet computer, a notebook computer, a digital assistant, a smart wearable device, and the like, and may also include software running in the physical device, such as an application program (APP), a web page, a wechat applet, and the like.
In this specification, the in-vehicle gateway may include an interpreter and a gateway bottom-layer function module, and specifically, the interpreter may include an interpreter of an interpreted language, the in-vehicle application may be capable of running on the interpreter, and a thread run by the interpreter is different from a thread run by the gateway bottom-layer function module.
Specifically, the vehicle-mounted application is an application for controlling a vehicle to realize a related intelligent function, and in practical application, the vehicle-mounted application may include but is not limited to air conditioner control, bluetooth music playing, intelligent navigation, weather detection, and the like; and the vehicle-mounted application is written based on an interpreted language, specifically, the interpreted language may include, but is not limited to, Python, JavaScript, Perl, and Shell. The in-vehicle application written in the interpretive language can 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), ETH (Ethernet), and the like, message routing forwarding, data sharing, and the like; and the gateway underlying functionality is written based on a compiled language, which may include, but is not limited to, C language and C + +.
By compiling the vehicle-mounted application based on the interpretative language and running the vehicle-mounted application through the interpreter, the whole system does not need to be updated or firmware is not updated when the vehicle-mounted application is updated, the updating 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 a vehicle leaves a factory is solved, the vehicle-mounted application can be updated by a user according to the requirement, the application personalized customization requirement of the user is met, the controllability of the user on the vehicle is improved, and the updating efficiency of the vehicle-mounted application is improved; by enabling the interpreter to run on a thread different from the gateway bottom layer function 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 vehicle-mounted application updating is improved.
In this embodiment, the vehicle-mounted gateway may use an MCU (Microcontroller Unit micro control Unit) as a core processor, and the MCU is used as the core processor of the vehicle-mounted gateway, so as to improve reliability and reduce cost of the whole vehicle.
S202: the vehicle-mounted gateway responds to a data packet downloading instruction of the target vehicle-mounted application and obtains a data packet of the target vehicle-mounted application from the cloud server.
In this embodiment of the present specification, the data package downloading instruction may include a data package adding instruction, and/or a data package updating instruction; the cloud server may include a data packet management platform provided by a service provider, and the data packet management platform may include data packets of one or more in-vehicle applications.
S203: and the vehicle-mounted gateway acquires a local vehicle-mounted application data packet.
Specifically, the local in-vehicle application data packet may include a complete data packet of all in-vehicle applications currently installed by the target vehicle.
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 data packet downloading instruction includes a data packet adding instruction, the generating, by the vehicle gateway, a finished vehicle application data packet based on the local vehicle application data packet and the data packet of the target vehicle application includes:
s301: and the vehicle-mounted gateway combines the local vehicle-mounted application data packet and the data packet of the target vehicle-mounted application to obtain the finished vehicle application data packet.
Specifically, the merging the local vehicle-mounted application data packet and the data packet of the target vehicle-mounted application by the vehicle-mounted gateway to obtain the 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 a data packet of the target vehicle-mounted application at the target installation position;
(3) and carrying out data combination on the local vehicle-mounted application data packet and the data packet of the target vehicle-mounted application.
In practical application, for example, a user wants to add a new bluetooth call comfort function for a vehicle, which triggers reduction of air conditioning air volume when a call is accessed, and can send a data packet downloading instruction of a bluetooth call comfort application to a vehicle gateway of a target vehicle by using a client (for example, a mobile phone APP/vehicle terminal), at this time, the data packet downloading instruction includes a data packet adding instruction, the vehicle gateway can generate a whole vehicle application data packet based on the local vehicle application data packet and the data packet of the target vehicle application, because the vehicle application is compiled based on an interpretive language and runs the vehicle application through an interpreter, the whole system does not need to be updated or firmware is updated when the vehicle application is added, and only corresponding vehicle application needs to be added according to actual application needs, the user can add the vehicle application as required, the application personalized customization requirements of the user are met, and the updating efficiency is improved; and because the interpreter runs on a thread different from the gateway bottom layer function module, the communication function (gateway bottom layer functions, such as message routing forwarding and data sharing) of the whole vehicle cannot be influenced when the vehicle-mounted application is newly added, and the updating safety of the vehicle-mounted application is improved.
In another embodiment, as shown in fig. 4, when the data packet downloading instruction includes a data packet updating instruction, the generating, by the vehicle gateway, a finished vehicle application data packet based on the local vehicle application data packet and the data packet of the target vehicle application may include:
s401: and the vehicle-mounted gateway determines the original data packet of the target vehicle-mounted application in the local vehicle-mounted application data packet.
Specifically, when the data package downloading instruction includes a data package updating instruction, the local vehicle-mounted application data package includes an original data package of the target vehicle-mounted application, and the original data package of the target vehicle-mounted application may include an old version data package 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 data package downloading instruction comprises a data package updating instruction, the data package of the target vehicle-mounted application can comprise a new version data package of the target vehicle-mounted application;
in practical application, for example, a user wants to update the version of the vehicle-mounted application with the intelligent temperature control of the air conditioner, because the vehicle-mounted application is compiled based on an interpretive language and runs the vehicle-mounted application through an interpreter, the whole system does not need to be updated or firmware is updated when the version of the vehicle-mounted application is updated, and the corresponding vehicle-mounted application only needs to be updated according to the actual application requirement, for example, the user wants to update the version of the vehicle-mounted application with the intelligent temperature control of the air conditioner but does not want to update the version of the vehicle-mounted application with the intelligent navigation, and at the moment, only the vehicle-mounted application with the intelligent temperature control of the air conditioner needs to be updated separately without refreshing the whole system or firmware, so that the application personalized customization requirement of the user; and because the interpreter runs on a thread different from the gateway bottom layer function module, the communication function (gateway bottom layer functions, such as message routing forwarding and data sharing) of the whole vehicle can not be influenced when the vehicle-mounted application is updated, and the updating safety of the vehicle-mounted application is improved.
S205: and the vehicle-mounted gateway compiles, explains and operates 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 a finished vehicle application data packet based on the local vehicle-mounted application data packet and the data packet of the target vehicle-mounted application, the finished vehicle application data packet needs to be compiled, interpreted and operated based on the interpreter, so that the vehicle-mounted application can normally operate.
In this embodiment of this specification, as shown in fig. 5, after the compiling, interpreting and running of the finished automobile application data packet are performed 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, interprets and runs the vehicle application data packet based on the interpreter, a successful update message of target vehicle-mounted application can be sent to a client through the vehicle-mounted gateway, for example, the bluetooth communication comfort function is successfully added, or the intelligent temperature control function of the air conditioner is updated to the latest version; the updating success message of the target vehicle-mounted application is sent to the client through the vehicle-mounted gateway, so that the user can obtain related updating information in time, repeated resource downloading is avoided, and user experience is improved.
As shown in fig. 6, in this specification, when the in-vehicle gateway performs related function control on the vehicle based on the in-vehicle application, the method may further include:
s601: and the client sends a vehicle operation signal to the vehicle-mounted gateway.
In particular, the client may also include a vehicle control system, such as vehicle function control buttons or the like. In practical applications, the sending, by the client, the vehicle operation signal to the in-vehicle gateway may include, but is not limited to, for example, triggering a wiper control button, and sending a wiper opening signal to the in-vehicle gateway; triggering a headlight control key, sending a headlight starting signal to the vehicle-mounted gateway, and the like.
S602: and responding to the vehicle operation signal by the vehicle-mounted gateway, and analyzing the vehicle operation signal based on the corresponding vehicle-mounted application to obtain an operation result.
In the embodiment of the present specification, the in-vehicle application may be configured to perform parsing operation on a vehicle operation signal, specifically, the in-vehicle application may include a local in-vehicle application or the above-mentioned added or updated target in-vehicle application, and the in-vehicle application may be capable of being executed 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 running result to obtain the operation running result after the data conversion.
In practical application, after the vehicle-mounted gateway responds to a vehicle operation signal and analyzes the vehicle operation signal based on a corresponding vehicle-mounted application to obtain an operation result, the operation result needs to be converted into data, such as a CAN message, which CAN be operated by a vehicle. At this time, the data conversion of the operation result by the vehicle-mounted gateway, and obtaining the operation result after the data conversion may include:
and the vehicle-mounted gateway performs CAN format data conversion on the operation running result to obtain a CAN message corresponding to the operation running result.
It should be noted that this is only one embodiment provided in this specification, 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 running result after the data conversion to a data bus corresponding to the operation running result after the data conversion.
In this embodiment, when the data that the vehicle CAN run includes a CAN message, and the vehicle-mounted gateway performs CAN format data conversion on the operation running result to obtain a CAN message corresponding to the operation running result, the data bus corresponding to the operation running result after the data conversion may include a CAN bus.
Specifically, the sending, by the vehicle-mounted 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 functions may include CAN message routing and forwarding functions.
S605: and the data bus corresponding to the operation result after the data conversion sends the operation result after the data conversion to the 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 on signal, the in-vehicle application function performing module may include a wiper control application function performing module.
In practical application, taking the wiper control application function as an example, when the vehicle operation signal includes a wiper opening signal, the wiper opening signal is analyzed based on a wiper control application function executed by an interpreter on the vehicle-mounted gateway to obtain a wiper opening operation result, the vehicle-mounted gateway performs data conversion on the wiper opening operation result to obtain a CAN packet corresponding to the wiper opening operation result, the CAN bus forwards the CAN packet corresponding to the wiper opening operation result to the wiper control application function execution module by routing, and the wiper control application function execution module executes a wiper opening action to complete wiper opening.
Responding to a vehicle operation signal through a vehicle-mounted gateway, and analyzing the vehicle operation signal based on corresponding vehicle-mounted application to obtain an operation result; performing data conversion on the operation running result to obtain an operation running result after data conversion; sending 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 result after the data conversion to a corresponding vehicle-mounted application function execution module; based on the vehicle-mounted application function execution module executing the corresponding vehicle-mounted function, the vehicle-mounted application running based on the interpreter on the vehicle-mounted gateway can directly analyze the operation signal, the vehicle-mounted gateway can not only forward related messages through routes among the ECUs, but also replace part of ECU functions in the traditional vehicle, the number of ECUs required on the vehicle is reduced, the cost of the vehicle is reduced, and the complexity of communication in the vehicle is reduced.
In the embodiment of the present specification, because the vehicle-mounted application is written based on an interpretive language and runs through an interpreter, the whole system does not need to be updated or firmware is not updated when the vehicle-mounted application is updated, so that updating of a single vehicle-mounted application can be realized, and the communication function (gateway bottom layer function, such as message routing forwarding and data sharing) of the whole vehicle is not affected when the vehicle-mounted application is updated, so that when related vehicle-mounted applications are directly controlled through a vehicle-mounted gateway, the whole firmware does not need to be refreshed when the application is updated, and the vehicle-mounted application updating method 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 run on the interpreter, the vehicle-mounted application is compiled based on the interpretative language, the vehicle-mounted application runs through the interpreter, the whole system does not need to be updated or firmware is not needed to be updated when the vehicle-mounted application is updated, the updating of a single vehicle-mounted application can be realized, the problem that the vehicle-mounted application is difficult to change or the updating of the vehicle-mounted application is complicated after the vehicle leaves a factory is solved, the vehicle-mounted application can be updated by a user according to the requirement, the application personalized customization requirement of the user is met, the controllability of the user on the vehicle is improved, and the updating efficiency of; by enabling the interpreter to run on a thread different from the gateway bottom layer function 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 vehicle-mounted application updating is improved. The client sends a data packet downloading instruction of the target vehicle-mounted application to the vehicle-mounted gateway of the target vehicle, 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 needs to be acquired, and time saving and high efficiency are achieved. The vehicle-mounted gateway acquires a local vehicle-mounted application data packet, 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, and the vehicle-mounted gateway carries out compiling and interpreting operation on the whole vehicle application data packet based on the interpreter so as to realize vehicle-mounted application updating. When the data package downloading instruction comprises a data package adding instruction, the vehicle-mounted gateway generates a whole vehicle application data package based on the local vehicle-mounted application data package and the data package of the target vehicle-mounted application, the vehicle-mounted gateway combines the local vehicle-mounted application data package and the data package of the target vehicle-mounted application to obtain the whole vehicle application data package, the whole system does not need to be updated or firmware is updated when the vehicle-mounted application is added, and only corresponding vehicle-mounted application needs to be added according to actual application, so that the updating efficiency is improved; when the data package downloading instruction comprises a data package updating instruction, the step that the vehicle-mounted gateway generates a whole vehicle application data package based on the local vehicle-mounted application data package and the data package of the target vehicle-mounted application can include that the vehicle-mounted gateway determines an original data package of the target vehicle-mounted application in the local vehicle-mounted application data package, the vehicle-mounted gateway replaces the original data package of the target vehicle-mounted application based on the data package of the target vehicle-mounted application to obtain the whole vehicle application data package, version updating can be performed on the vehicle-mounted application needing to be updated in version independently according to needs, operation is flexible, the degree of freedom is high, the whole system or firmware is not required to be refreshed, the application personalized customization needs of users are met, and the updating efficiency is high. Responding to the vehicle operation signal through the vehicle-mounted gateway, and analyzing the vehicle operation signal based on the corresponding vehicle-mounted application to obtain an operation result; performing data conversion on the operation running result to obtain an operation running result after data conversion; sending 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 result after the data conversion to a corresponding vehicle-mounted application function execution module; based on the vehicle-mounted application function execution module executing the corresponding vehicle-mounted function, the vehicle-mounted application running based on the interpreter on the vehicle-mounted gateway can directly analyze the operation signal, the vehicle-mounted gateway can not only forward related messages through routes among the ECUs, but also replace part of ECU functions in the traditional vehicle, the number of ECUs required on the vehicle is reduced, the cost of the vehicle is reduced, and the complexity of communication in the vehicle is reduced.
The embodiment of the present application further provides a device for updating a vehicle-mounted application, as shown in fig. 7, the device is disposed on a vehicle-mounted gateway, the vehicle-mounted gateway is further provided with an interpreter, the vehicle-mounted application can run on the interpreter, and the device includes:
the data package downloading module 710 is configured to obtain a data package of a target vehicle-mounted application from a cloud server in response to a data package downloading instruction of the target vehicle-mounted application;
a data packet obtaining module 720, configured to obtain a local vehicle-mounted application data packet;
a data packet generating module 730, configured to generate a finished vehicle application data packet based on the local vehicle application data packet and the data packet of the target vehicle application;
and a compiling, interpreting and running module 740, configured to compile, interpret and run the entire vehicle application data packet based on the interpreter, so as to implement vehicle application update.
In one embodiment, the packet generating module 730 may include:
and the merging unit is used for merging the local vehicle-mounted application data packet and the data packet of the target vehicle-mounted application to obtain the finished vehicle application data packet.
In another embodiment, the packet generating module 730 may include:
the data packet determining unit is used for determining an original data packet of the target vehicle-mounted application in a 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 signal and analyzing the vehicle operation signal based on the corresponding vehicle-mounted application to obtain an operation running result;
the data format conversion unit is used for carrying out data conversion on the operation running result to obtain an operation running result after the 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 result after the data conversion to a corresponding vehicle-mounted application function execution module by the data bus corresponding to the operation 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 modules of the vehicle-mounted application updating device can 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 run on the interpreter, the vehicle-mounted application is compiled based on the interpretative language, the vehicle-mounted application is run through the interpreter, the whole system does not need to be updated or firmware is not updated when the vehicle-mounted application is updated, updating of a single vehicle-mounted application can be achieved, the problem that the vehicle-mounted application is difficult to change or the vehicle-mounted application is complicated to update after a vehicle leaves a factory is solved, the vehicle-mounted application can be updated by a user according to needs, the application personalized customization requirements of the user are met, the controllability of the user on the vehicle is improved, and the vehicle-mounted application updating efficiency is improved; by enabling the interpreter to run on a thread different from the gateway bottom layer function 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 vehicle-mounted application updating is improved. The client sends a data packet downloading instruction of the target vehicle-mounted application to the vehicle-mounted gateway of the target vehicle, 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 needs to be acquired, and time saving and high efficiency are achieved. The vehicle-mounted gateway acquires a local vehicle-mounted application data packet, 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, and the vehicle-mounted gateway carries out compiling and interpreting operation on the whole vehicle application data packet based on the interpreter so as to realize vehicle-mounted application updating. When the data package downloading instruction comprises a data package adding instruction, the vehicle-mounted gateway generates a whole vehicle application data package based on the local vehicle-mounted application data package and the data package of the target vehicle-mounted application, the vehicle-mounted gateway combines the local vehicle-mounted application data package and the data package of the target vehicle-mounted application to obtain the whole vehicle application data package, the whole system does not need to be updated or firmware is updated when the vehicle-mounted application is added, and only corresponding vehicle-mounted application needs to be added according to actual application, so that the updating efficiency is improved; when the data package downloading instruction comprises a data package updating instruction, the step that the vehicle-mounted gateway generates a whole vehicle application data package based on the local vehicle-mounted application data package and the data package of the target vehicle-mounted application can include that the vehicle-mounted gateway determines an original data package of the target vehicle-mounted application in the local vehicle-mounted application data package, the vehicle-mounted gateway replaces the original data package of the target vehicle-mounted application based on the data package of the target vehicle-mounted application to obtain the whole vehicle application data package, version updating can be performed on the vehicle-mounted application needing to be updated in version independently according to needs, operation is flexible, the degree of freedom is high, the whole system or firmware is not required to be refreshed, the application personalized customization needs of users are met, and the updating efficiency is high. Responding to the vehicle operation signal through the vehicle-mounted gateway, and analyzing the vehicle operation signal based on the corresponding vehicle-mounted application to obtain an operation result; performing data conversion on the operation running result to obtain an operation running result after data conversion; sending 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 result after the data conversion to a corresponding vehicle-mounted application function execution module; based on the vehicle-mounted application function execution module executing the corresponding vehicle-mounted function, the vehicle-mounted application running based on the interpreter on the vehicle-mounted gateway can directly analyze the operation signal, the vehicle-mounted gateway can not only forward related messages through routes among the ECUs, but also replace part of ECU functions in the traditional vehicle, the number of ECUs required on the vehicle is reduced, the cost of the vehicle is reduced, and the complexity of communication in the vehicle 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 program, a code set or an instruction set is stored in the memory, and 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 realize the vehicle-mounted application updating method provided by the above method embodiment.
The memory may be used to store software programs and modules, and the processor may execute various functional applications and data processing by operating the software programs and modules stored in the memory. The memory can mainly comprise a program storage area and a data storage area, wherein the program storage area can store an operating system, application programs needed by functions and the like; the storage data area may store data created according to use of the apparatus, and the like. Further, 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 the processor access to the memory.
The method embodiments provided by the embodiments of the present invention may be executed in a mobile terminal, a computer terminal, a server, or a similar computing device, that is, 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 in the embodiment of the present invention. As shown in fig. 8, the server 800 may have a relatively large difference due to different configurations or performances, and may include one or more Central Processing Units (CPUs) 810 (the processor 810 may include but is not limited to a Processing device such as a microprocessor MCU or a programmable logic device FPGA, etc.), a memory 830 for storing data, one or more storage applications 823, or dataAccording to 822, a storage medium 820 (e.g., one or more mass storage devices). Memory 830 and storage medium 820 may be, among other things, transient or persistent storage. The program stored in storage medium 820 may include one or more modules, each of which may include a series of instruction operations for a server. Still further, the central processor 810 may be configured to communicate with the storage medium 820 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 ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTMAnd so on.
The input-output interface 840 may be used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the server 600. In one example, i/o Interface 640 includes a Network adapter (NIC) that may be coupled to other Network devices via a base station to communicate with the internet. In one example, the input/output interface 640 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
It will be understood by those skilled in the art that the structure shown in fig. 8 is only an illustration and is not intended to limit the structure of the electronic device. 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 disposed in a server to store at least one instruction, at least one program, a code set, or a set of instructions related to implementing an in-vehicle application updating method in the method embodiments, where the at least one instruction, the at least one program, the code set, or the set of instructions are loaded and executed by the processor to implement the in-vehicle application updating method provided in the method embodiments.
Alternatively, in this embodiment, the storage medium may be located in at least one network server of a plurality of network servers of a computer network. Optionally, in this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
As can be seen from the embodiments of the vehicle-mounted application updating method, the vehicle-mounted application updating device, the computer device or the storage medium provided by the invention, 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 run on the interpreter, the vehicle-mounted application is compiled based on the interpretative language, and the vehicle-mounted application is run through the interpreter, so that the whole system does not need to be updated or firmware is updated when the vehicle-mounted application is updated, the updating 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 a factory is solved, the vehicle-mounted application can be updated by a user according to needs, the application personalized customization requirements of the user are met, the controllability of the user on the vehicle is improved; by enabling the interpreter to run on a thread different from the gateway bottom layer function 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 vehicle-mounted application updating is improved. The client sends a data packet downloading instruction of the target vehicle-mounted application to the vehicle-mounted gateway of the target vehicle, 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 needs to be acquired, and time saving and high efficiency are achieved. The vehicle-mounted gateway acquires a local vehicle-mounted application data packet, 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, and the vehicle-mounted gateway carries out compiling and interpreting operation on the whole vehicle application data packet based on the interpreter so as to realize vehicle-mounted application updating. When the data package downloading instruction comprises a data package adding instruction, the vehicle-mounted gateway generates a whole vehicle application data package based on the local vehicle-mounted application data package and the data package of the target vehicle-mounted application, the vehicle-mounted gateway combines the local vehicle-mounted application data package and the data package of the target vehicle-mounted application to obtain the whole vehicle application data package, the whole system does not need to be updated or firmware is updated when the vehicle-mounted application is added, and only corresponding vehicle-mounted application needs to be added according to actual application, so that the updating efficiency is improved; when the data package downloading instruction comprises a data package updating instruction, the step that the vehicle-mounted gateway generates a whole vehicle application data package based on the local vehicle-mounted application data package and the data package of the target vehicle-mounted application can include that the vehicle-mounted gateway determines an original data package of the target vehicle-mounted application in the local vehicle-mounted application data package, the vehicle-mounted gateway replaces the original data package of the target vehicle-mounted application based on the data package of the target vehicle-mounted application to obtain the whole vehicle application data package, version updating can be performed on the vehicle-mounted application needing to be updated in version independently according to needs, operation is flexible, the degree of freedom is high, the whole system or firmware is not required to be refreshed, the application personalized customization needs of users are met, and the updating efficiency is high. Responding to the vehicle operation signal through the vehicle-mounted gateway, and analyzing the vehicle operation signal based on the corresponding vehicle-mounted application to obtain an operation result; performing data conversion on the operation running result to obtain an operation running result after data conversion; sending 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 result after the data conversion to a corresponding vehicle-mounted application function execution module; based on the vehicle-mounted application function execution module executing the corresponding vehicle-mounted function, the vehicle-mounted application running based on the interpreter on the vehicle-mounted gateway can directly analyze the operation signal, the vehicle-mounted gateway can not only forward related messages through routes among the ECUs, but also replace part of ECU functions in the traditional vehicle, the number of ECUs required on the vehicle is reduced, the cost of the vehicle is reduced, and the complexity of communication in the vehicle is reduced.
It should be noted that: the precedence order of the above embodiments of the present invention is only for description, and does not represent the merits of the embodiments. And specific embodiments thereof have been described above. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may 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 may also be possible or may be advantageous.
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 apparatus, device and storage medium embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference may be made to some descriptions of the method embodiments for relevant points.
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 instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (10)

1. A method for updating an in-vehicle application, the method being performed by an in-vehicle gateway, the in-vehicle gateway being provided with an interpreter on which an in-vehicle application can run, the method comprising:
the method comprises the steps that a data packet of a target vehicle-mounted application is obtained from a cloud server in response to a data packet downloading instruction of the target vehicle-mounted application;
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.
2. The method of claim 1, wherein when the packet download instruction comprises a packet addition instruction, the generating a full car application packet based on the local car application packet and the packet of the target car application comprises:
and merging the local vehicle-mounted application data packet and the data packet of the target vehicle-mounted application to obtain the finished vehicle application data packet.
3. The method of claim 1, wherein when the packet download instruction comprises a packet update instruction, the generating a full car application packet based on the local car application packet and the packet of the target car application comprises:
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 finished vehicle application data packet.
4. The method of claim 1, further comprising:
responding to a vehicle operation signal, and analyzing the vehicle operation signal based on a corresponding vehicle-mounted application to obtain an operation running result;
performing data conversion on the operation running result to obtain an operation running 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.
5. The method of claim 4, wherein after the in-vehicle gateway sends the data-converted operation result to a data bus corresponding to the data-converted operation result, the method further comprises:
the data bus corresponding to the operation result after the data conversion sends the operation 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.
6. The method of claim 1, wherein after the compiling interpretation run of the full 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.
7. A vehicle-mounted application updating device is characterized in that the device is arranged on a vehicle-mounted gateway, an interpreter is further arranged on the vehicle-mounted gateway, and vehicle-mounted applications can run on the interpreter, and the device comprises:
the data package downloading module is used for responding to a data package downloading instruction of the target vehicle-mounted application to acquire a data package 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 generating module is used for 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 the compiling, interpreting and running module is used for compiling, interpreting and running the whole vehicle application data packet based on the interpreter so as to realize vehicle-mounted application updating.
8. The in-vehicle application updating apparatus according to claim 7, wherein 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 the vehicle-mounted application data packet is compiled, interpreted and operated based on the interpreter.
9. An in-vehicle application updating device, characterized in that the device comprises a processor and a memory, wherein at least one instruction or at least one program is stored in the memory, and the at least one instruction or the at least one program is loaded by the processor and executed to realize the in-vehicle application updating method according to any one of claims 1 to 6.
10. A computer-readable storage medium, wherein at least one instruction or at least one program is stored in the storage medium, and the at least one instruction or the at least one program is loaded and executed by a processor to implement the in-vehicle application updating method according to any one of claims 1 to 6.
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 true CN111752575A (en) 2020-10-09
CN111752575B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113805936A (en) * 2021-09-18 2021-12-17 中国能源建设集团广东省电力设计研究院有限公司 Enterprise informatization series product version control method

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103049316A (en) * 2012-12-31 2013-04-17 东软集团股份有限公司 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
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
CN106790568A (en) * 2016-12-27 2017-05-31 成都中科创达软件有限公司 A kind of vehicular platform exchange method based on HTML5
US20170262274A1 (en) * 2016-03-09 2017-09-14 Ford Global Technologies, Llc Over-the-air trigger to vehicle interrogator updates
WO2018018761A1 (en) * 2016-07-29 2018-02-01 北京新能源汽车股份有限公司 Vehicle-mounted gateway controller based information processing method and gateway controller
US20180074813A1 (en) * 2016-09-14 2018-03-15 General Motors Llc Installing vehicle updates
CN109002320A (en) * 2018-08-20 2018-12-14 苏州思必驰信息科技有限公司 For the update method of software development kit, system, electronic equipment and storage medium
CN109471652A (en) * 2018-10-24 2019-03-15 北汽福田汽车股份有限公司 Method for updating program and its system, the car-mounted terminal and electronic equipment of vehicle
US20200057630A1 (en) * 2018-08-14 2020-02-20 Hyundai Motor Company Method and Apparatus for Wirelessly Updating Software for Vehicle

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103049316A (en) * 2012-12-31 2013-04-17 东软集团股份有限公司 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
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
CN105278994A (en) * 2015-10-29 2016-01-27 北京新能源汽车股份有限公司 Updating method and updating system of vehicle-mounted ECU (Electronic Control Unit) software
US20170262274A1 (en) * 2016-03-09 2017-09-14 Ford Global Technologies, Llc Over-the-air trigger to vehicle interrogator updates
WO2018018761A1 (en) * 2016-07-29 2018-02-01 北京新能源汽车股份有限公司 Vehicle-mounted gateway controller based information processing method and gateway controller
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
CN109002320A (en) * 2018-08-20 2018-12-14 苏州思必驰信息科技有限公司 For the update method of software development kit, system, electronic equipment and storage medium
CN109471652A (en) * 2018-10-24 2019-03-15 北汽福田汽车股份有限公司 Method for updating program and its system, the car-mounted terminal and electronic equipment of vehicle

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113805936A (en) * 2021-09-18 2021-12-17 中国能源建设集团广东省电力设计研究院有限公司 Enterprise informatization series product version control method

Also Published As

Publication number Publication date
CN111752575B (en) 2023-09-19

Similar Documents

Publication Publication Date Title
CN107205055B (en) Terminal upgrading method and device
CN110995578B (en) Design method, device, equipment and storage medium of automobile gateway
US9223559B2 (en) Information processing apparatus, electronic control unit, information processing method, and program
CN110463162B (en) Application deployment method, device and system
US11838375B2 (en) Universal software communication bus
CN112416613A (en) Application data processing method, device, equipment and medium
WO2024007987A1 (en) Vehicle-end firmware upgrading method and apparatus for digital key system, and device and medium
CN111752575B (en) Vehicle-mounted application updating method, device, equipment and storage medium
US10078532B2 (en) Resource management method and device for terminal system among multiple operating systems
CN111722862A (en) Voice scene updating method, device, terminal, server and system
CN109343970B (en) Application program-based operation method and device, electronic equipment and computer medium
CN114115866A (en) Cross-domain-based vehicle-mounted scene self-defining method, device, equipment and storage medium
CN109656579A (en) Vehicle-mounted App maintenance system and method based on vehicle-mounted terminal system and software package
CN111683005A (en) Internet of things intelligent gateway equipment and construction method thereof
CN113835723A (en) System on chip, upgrading system and method for vehicle electronic control unit
CN108989428B (en) Bluetooth terminal upgrading method, server, computer readable storage medium and system
CN113986312B (en) Software upgrading method and device, electronic equipment and computer readable storage medium
CN108563475A (en) Operation method, device and the storage medium of application program
CN114422436A (en) Gateway, gateway control method, gateway control device, electronic equipment and storage medium
CN113434164A (en) Method and system for updating configuration of setting item cloud of vehicle-mounted entertainment host
CN115315686A (en) In-vehicle device, information processing method, and computer program
CN104683571A (en) Universal control method for intelligent mobile equipment
Oliveira et al. embServe: Embedded Services for Constrained Devices
CN108572838A (en) The upgrade method of industrial software, apparatus and system
CN114442537B (en) Equipment intelligent method, equipment and readable storage medium

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