Vehicle information processing method and device, storage medium and electronic equipment

By introducing adaptation code into the vehicle-machine application and ensuring its decoupling from the business code, the problem of low vehicle information processing efficiency is solved, simplifying the processing process and improving efficiency.

CN118779002APending Publication Date: 2024-10-15TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310414354.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-10
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

In the process of vehicle information processing, in the existing technology, the business logic of the vehicle-machine application is closely coupled with the adaptation logic of the vehicle-machine platform, which results in increased business logic complexity, low processing efficiency, and lack of effective solutions.

Method used

By introducing the adaptation code into the vehicle-machine application, the vehicle information output by the system interface of the vehicle-machine system is converted into information that the application interface is allowed to receive, and processed through the business code to ensure that the business code and the adaptation code are in a decoupled relationship. Thereby reducing the complexity of business logic and improving processing efficiency.

Benefits of technology

It has improved the efficiency of the vehicle information processing process, simplified the vehicle information processing process of the vehicle computer application, reduced the complexity of business logic, and improved the efficiency of vehicle information processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118779002A_ABST
    Figure CN118779002A_ABST
Patent Text Reader

Abstract

The invention discloses a vehicle information processing method and device, a storage medium and electronic equipment. The method comprises the following steps: under the condition that a first in-vehicle entertainment product application runs in a first in-vehicle entertainment product system of a first vehicle, converting first vehicle information output by a first system interface in the first in-vehicle entertainment product system into second vehicle information allowed to be received by a first application interface of the first in-vehicle entertainment product application through a first adaptation code, the first vehicle information is vehicle information of the first vehicle; the second vehicle information is processed through a first service code in the first vehicle machine application, and the first service code and the first adaptive code are in a decoupling relation. According to the method and the device, the technical problem of relatively low efficiency in a vehicle information processing process in related technologies is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a vehicle information processing method and device, a storage medium and an electronic device. Background Art

[0002] In order to improve driving safety and realize assisted driving services, the car computer application (also known as in-vehicle interconnection) is usually connected to the car computer platform, and the functions of the car computer application are mapped to the display interface of the car computer platform. Through the adaptation connection, interface call and return parameter processes between the car computer application and the car computer platform, functions such as making calls, listening to music, and using navigation can be automatically realized.

[0003] In the process of realizing the above-mentioned in-vehicle interconnection, it is necessary to connect the vehicle computer platform to the vehicle computer application so that the business code of the vehicle computer application can obtain the vehicle information of the target vehicle where the vehicle computer platform is located in real time through the interface. Therefore, it is particularly important to connect different vehicle computer platforms of different vehicles to the vehicle computer application.

[0004] In the related technology, the system API libraries of different vehicle platforms are usually directly integrated into the business code of the vehicle application, and the business code of the vehicle application is modified according to the usage methods of the system APIs of different vehicle platforms, so that the vehicle application can call the system API capabilities of the platform.

[0005] However, since the business logic of each car application integrates the adaptation logic of different car platforms, the complexity of the business logic of the car application is greatly increased, which increases the time for processing the vehicle information using the adaptation code, and also increases the time for the car application to obtain the processed vehicle information through the interface, resulting in technical problems such as low efficiency in the process of processing vehicle information.

[0006] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0007] The embodiments of the present application provide a method and device for processing vehicle information, a storage medium, and an electronic device to at least solve the technical problem of low efficiency that occurs during the processing of vehicle information.

[0008] According to one aspect of an embodiment of the present application, a method for processing vehicle information is provided, including: when a first vehicle-machine application is running in a first vehicle-machine system of a first vehicle, converting, through a first adaptation code, first vehicle information output by a first system interface in the first vehicle-machine system into second vehicle information allowed to be received by a first application interface of the first vehicle-machine application, wherein the first vehicle information is vehicle information of the first vehicle; and processing the second vehicle information through a first business code in the first vehicle-machine application, wherein the first business code and the first adaptation code are in a decoupled relationship.

[0009] Optionally, the above-mentioned conversion of the first vehicle information output by the first system interface in the first vehicle system into the second vehicle information allowed to be received by the first application interface of the first vehicle application through the first adaptation code includes: when the first adaptation code is located in the target server, calling the first adaptation code in the target server through the first configuration file, and converting the first vehicle information output by the first system interface into the second vehicle information allowed to be received by the first application interface.

[0010] Optionally, calling the first adaptation code in the target server through the first configuration file includes: reading first data on the mode field in the first configuration file; and searching and calling the first adaptation code outside the vehicle application when the first data indicates that the connection mode is to connect to an external code.

[0011] Optionally, the above-mentioned converting, through the first adaptation code, the first vehicle information output by the first system interface in the first vehicle system into the second vehicle information allowed to be received by the first application interface of the first vehicle application includes: when the first adaptation code is located in the first vehicle application, calling the first adaptation code in the first vehicle application through the second configuration file to convert the first vehicle information output by the first system interface into the second vehicle information allowed to be received by the first application interface.

[0012] Optionally, calling the first adaptation code in the first vehicle application through the second configuration file includes: reading second data on the mode field in the second configuration file; and searching and calling the first adaptation code inside the vehicle application when the second data indicates that the connection mode is to connect to an internal code.

[0013] Optionally, the above-mentioned conversion of the first vehicle information output by the first system interface in the first vehicle system into the second vehicle information that the first application interface of the first vehicle application allows to receive includes: according to the target function in the target transmission protocol between the first vehicle system and the first vehicle application, the first vehicle information output by the first system interface in the first vehicle system is converted into the second vehicle information that the first application interface of the first vehicle application allows to receive, wherein the target function includes M variables, each of the M variables includes a variable name and a variable value, and M is a positive integer greater than or equal to 1.

[0014] Optionally, the above-mentioned conversion of the first vehicle information output by the first system interface in the first vehicle system into second vehicle information allowed to be received by the first application interface of the first vehicle application according to the objective function in the target transmission protocol between the first vehicle system and the first vehicle application includes: when the first vehicle information is the first target variable corresponding to the i-th variable among M variables, converting the variable name and variable value of the first target variable into the target variable name and target variable value according to the variable name and variable value of the i-th variable in the objective function, wherein the format of the target variable value is the same as that of the variable value of the i-th variable; determining the target variable name and target variable value as the second vehicle information, where i is a positive integer greater than or equal to 1.

[0015] Optionally, the above method also includes: when the first vehicle-machine application is running in the second vehicle-machine system of the second vehicle, through the second adaptation code, converting the third vehicle information output by the second system interface in the second vehicle-machine system into fourth vehicle information allowed to be received by the first application interface of the first vehicle-machine application, wherein the third vehicle information is the vehicle information of the second vehicle; and processing the fourth vehicle information through the first business code in the first vehicle-machine application, wherein the first business code and the second adaptation code are in a decoupled relationship.

[0016] Optionally, when the fourth vehicle information and the second vehicle information both include one parameter, the first parameter included in the fourth vehicle information and the second parameter included in the second vehicle information have the same parameter meaning; or, when the fourth vehicle information and the second vehicle information both include N parameters, the first group of parameters included in the fourth vehicle information and the second group of parameters included in the second vehicle information have the same parameter arrangement order, and the parameters in the same position have the same parameter meaning, wherein the first group of parameters and the second group of parameters both include N parameters, and N is a positive integer greater than or equal to 2.

[0017] Optionally, the above method also includes: when the second car-machine application is running in the first car-machine system of the first vehicle, through the first adaptation code, converting the first vehicle information output by the first system interface in the first car-machine system into second vehicle information allowed to be received by the second application interface of the second car-machine application, wherein the second car-machine application and the first car-machine application are different applications; processing the second vehicle information through the second business code in the second car-machine application, wherein the second business code and the first adaptation code are in a decoupled relationship.

[0018] According to another aspect of an embodiment of the present application, a vehicle information processing device is also provided, including: a first conversion unit, used to convert, through a first adaptation code, first vehicle information output by a first system interface in the first vehicle system when a first vehicle application is running in a first vehicle system of a first vehicle, into second vehicle information allowed to be received by a first application interface of the first vehicle application, wherein the first vehicle information is vehicle information of the first vehicle; and a first processing unit, used to process the second vehicle information through a first business code in the first vehicle application, wherein the first business code and the first adaptation code are in a decoupled relationship.

[0019] Optionally, the above-mentioned first conversion unit includes: a first conversion module, used to call the first adaptation code in the target server through a first configuration file when the first adaptation code is located in the target server, so as to convert the first vehicle information output by the first system interface into second vehicle information allowed to be received by the first application interface.

[0020] According to another aspect of the embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned vehicle information processing method when running.

[0021] According to another aspect of the embodiments of the present application, a computer program product is provided, including a computer program / instruction, which implements the steps of the above method when executed by a processor.

[0022] According to another aspect of an embodiment of the present application, there is further provided an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the vehicle information processing method through the computer program.

[0023] Through the above-mentioned embodiment provided by the present application, the first vehicle information output by the first system interface in the first vehicle system is converted by using the first adaptation code to obtain the second vehicle information that the first application interface of the first vehicle application allows to receive; then the received second vehicle information is processed by the first business code in the first vehicle application. In this process, since the first business code and the first adaptation code are in a decoupled relationship, the business logic of the first vehicle application and the adaptation logic of the first vehicle system are independent of each other, which reduces the complexity of the business logic of the first vehicle application, simplifies the processing process of the first vehicle application for the second vehicle information, solves the technical problem of low efficiency in the processing of vehicle information in the related technology, and achieves the technical effect of improving the processing efficiency of vehicle information. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0025] Figure 1 is a schematic diagram of an application scenario of an optional vehicle information processing method according to an embodiment of the present application;

[0026] Figure 2 is a flowchart of an optional method for processing vehicle information according to an embodiment of the present application;

[0027] Figure 3 This is an example (I) of an optional vehicle-connected application using PAL to process vehicle information according to an embodiment of the present application;

[0028] Figure 4 is a schematic diagram of an optional method for processing vehicle information according to an embodiment of the present application;

[0029] Figure 5 is an optional PAL-based C / S architecture diagram according to an embodiment of the present application;

[0030] Figure 6 This is an example (II) of an optional vehicle-connected application using PAL to process vehicle information according to an embodiment of the present application;

[0031] Figure 7 This is an optional connection mode (I) between the vehicle-connected application and the vehicle-machine platform according to an embodiment of the present application;

[0032] Figure 8 This is an optional connection mode (II) between the vehicle-connected application and the vehicle-machine platform according to an embodiment of the present application;

[0033] Fig. 9 is a schematic diagram of an interface of an optional adaptation detection tool according to an embodiment of the present application;

[0034] Fig.10 is a schematic structural diagram of an optional vehicle information processing device according to an embodiment of the present application;

[0035] Fig.11 It is a schematic diagram of the structure of an optional electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0036] In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.

[0037] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0038] The technical solutions in the embodiments of the present application will comply with legal provisions during implementation. When performing operations according to the technical solutions in the embodiments, the data used will not involve user privacy. While ensuring that the operation process is compliant and legal, the security of the data is guaranteed.

[0039] Glossary:

[0040] PAL, or Platform Abstract Layer, is an interface layer abstracted by the connected car developer to enable the rapid access of the car platform to the connected car series products. It shields the differences between the various car platforms and unifies the interaction between connected car products and the car platform. It mainly covers multiple categories of abstract interfaces such as basic vehicle information, audio, square control buttons, battery life information, driving regulations, etc. The connected car platform access party needs to implement the interface defined in the SDK for the car application to call, so as to complete the connection (adaptation) between the car series products and the car platform.

[0041] According to one aspect of the embodiments of the present application, a method for processing vehicle information is provided. As an optional implementation, the above-mentioned method for processing vehicle information can be applied to, but is not limited to, Figure 1 The application scenario shown in Figure 1 In the application scenario shown, the terminal device 102 may, but is not limited to, communicate with the server 106 via the network 104, and the server 106 may, but is not limited to, perform operations on the database 108, such as write data operations or read data operations. The above-mentioned terminal device 102 may, but is not limited to, include a human-computer interaction screen, a processor, and a memory. The above-mentioned human-computer interaction screen may, but is not limited to, be used to display the second vehicle information on the terminal device 102, the result of processing the second vehicle information, etc. The above-mentioned processor may, but is not limited to, be used to respond to the above-mentioned human-computer interaction operation, perform corresponding operations, or generate corresponding instructions, and send the generated instructions to the server 106. The above-mentioned memory is used to store relevant processing data, such as the first vehicle information, the first business code, and the first adaptation code.

[0042] As an optional manner, the following steps in the vehicle information processing method can be executed on the server 106: Step S102, when the first vehicle application is running in the first vehicle system of the first vehicle, converting the first vehicle information output by the first system interface in the first vehicle system into the second vehicle information allowed to be received by the first application interface of the first vehicle application through the first adaptation code, wherein the first vehicle information is the vehicle information of the first vehicle; Step S104, processing the second vehicle information through the first business code in the first vehicle application, wherein the first business code and the first adaptation code are in a decoupled relationship.

[0043] In the above manner, the first vehicle information output by the first system interface in the first vehicle system is converted using the first adaptation code to obtain the second vehicle information that the first application interface of the first vehicle application allows to receive; then the received second vehicle information is processed by the first business code in the first vehicle application. In this process, since the first business code and the first adaptation code are in a decoupled relationship, the business logic of the first vehicle application and the adaptation logic of the first vehicle system are independent of each other, which reduces the complexity of the business logic of the first vehicle application, simplifies the processing process of the first vehicle application for the second vehicle information, solves the technical problem of low efficiency in the processing of vehicle information in the related technology, and achieves the technical effect of improving the processing efficiency of vehicle information.

[0044] In order to solve the problem of low efficiency in the process of processing the above-mentioned vehicle information, a method for processing vehicle information is proposed in an embodiment of the present application. Figure 2 : is a flowchart of a method for processing vehicle information according to an embodiment of the present application, the process includes the following steps:

[0045] Step S202, when the first vehicle-machine application is running in the first vehicle-machine system of the first vehicle, converting, by means of a first adaptation code, first vehicle information output by a first system interface in the first vehicle-machine system into second vehicle information that is allowed to be received by a first application interface of the first vehicle-machine application, wherein the first vehicle information is vehicle information of the first vehicle;

[0046] Step S204: Process the second vehicle information through the first service code in the first vehicle application, wherein the first service code and the first adaptation code are in a decoupled relationship.

[0047] In the embodiments of the present application, the vehicle-machine application can also be understood as a vehicle-connected application, whose purpose is to realize intelligent control of the vehicle in a network scenario through the interconnection between the mobile client and the vehicle-machine system, such as remote start, remote unlocking, automatic music playback during vehicle driving, etc., thereby bringing a safe and convenient driving experience to the car owner.

[0048] In the process of using the car connection application to intelligently control the vehicle, the car connection application needs to determine whether to perform corresponding operations based on the vehicle information obtained from the vehicle system. For example, the car connection application obtains whether the current vehicle status is in motion by using the driving regulation interface. If it is in motion, the safety prompt is displayed on the interface of the vehicle system, for example, Figure 3 The message "For driving safety, please do not watch videos while driving" is displayed to avoid watching videos while driving and improve vehicle driving safety.

[0049] For example, Figure 6As shown in the figure, the car connection application uses the channel number and VIN code interface of PAL to obtain the vehicle information of the vehicle, and realizes device authentication, billing and account management in the vehicle application. Figure 6 The interface shown is a screenshot of the normal display of the car connection account login QR code after obtaining the vehicle information of the current car platform.

[0050] Among them, vehicle information includes but is not limited to basic vehicle information, audio, square control buttons, battery life information, etc.

[0051] It should be noted that due to the different interface calling methods of different car-machine systems, the adaptation logic between different car-machine systems and car-connected applications is also different, which means that the business code of the car-connected application needs to be constantly modified to adapt to the adaptation logic of different car-machine systems. The business code of the car-connected application needs to maintain the differences between different car-machine systems (car-machine platforms) by pulling different branches, which not only increases the complexity of the business code, but also brings many inconveniences to the process of the car-machine platform connecting to the car-connected application.

[0052] In order to enable the vehicle platform to quickly access the vehicle-connected application, the concept of Platform Abstract Layer is proposed in the embodiment of this application. It is an abstract interface layer for adapting the vehicle-connected application to the vehicle platform. The vehicle platform access party needs to implement the interface defined in the SDK for the vehicle-connected application to call, so as to complete the adaptation of the vehicle-connected application to the vehicle platform.

[0053] As the foundation of the open capabilities of connected car applications, PAL mainly completes the connection between connected car applications and vehicle computer platforms. It abstracts a series of interfaces, shields the differences between various vehicle computer platforms, and unifies the interaction methods between connected car applications and vehicle computer platforms.

[0054] Among them, PAL mainly covers the following categories of abstract interfaces, which require the vehicle platform to integrate SDK for specific implementation for vehicle networking applications to call:

[0055] 1) Basic vehicle information: abstract interface for obtaining basic vehicle information (including channel number, VIN code, device code, speed and other basic information);

[0056] 2) Audio: abstract audio-related interfaces (including audio focus, volume, and other audio-related interfaces);

[0057] 3) Bluetooth connection: abstract Bluetooth-related interfaces (including device name, device address, Bluetooth connection switch, etc.);

[0058] 4) Car key information: abstract interfaces related to in-car key interaction (including monitoring interfaces for long press and short press operations of various hard keys in the car);

[0059] 5) Fuel / battery life information: abstract interfaces related to life information (including interfaces for obtaining relevant information such as fuel level, battery level, and mileage);

[0060] 6) Inertial navigation: abstract interfaces related to the hardware information required for inertial navigation (including monitoring interfaces for vehicle speed information, gyroscope information, and accelerometer information);

[0061] 7) Network: abstract network connection status information related interfaces (including mobile network and wifi status information related interfaces);

[0062] 8) Car screen: abstract car screen information related interfaces (including screen brightness, screen switch status and other screen related information interfaces);

[0063] 9) Phone: Abstract interfaces related to car phone operations (including dialing, answering, rejecting, viewing call details, etc. in Bluetooth phones);

[0064] 10) Vehicle computer rich information: abstract vehicle computer rich information acquisition interface (including driving safety disclaimer information acquisition, driving regulation status acquisition, status change notification and other related interfaces).

[0065] Through the above unified interface, the vehicle information required by the car-connected application is obtained from the car-machine platform, so as to better realize the functional requirements of the car-connected application and bring better user experience to car owners. SDK accessors need to implement the above abstract interface to complete the connection between the car-connected application and the car-machine platform, so that the car-connected application can obtain various hardware information of the car-machine platform.

[0066] like Figure 5 As shown, the car-connected application will integrate the platform abstraction layer PAL as the client, and communicate with the platform adapter plug-in through cross-process (IPCService) communication. The platform adapter plug-in can run in an independent APP or be integrated in the car-connected application.

[0067] The platform adaptation plug-in contains the adaptation logic of the current vehicle platform, such as Figure 5 As shown, it includes the implementation code of the abstract API interface in each category module, for example, the implementation code Impl of the query, acquisition, return and other processes of hardware information, the implementation code Impl of the query, acquisition, return and other processes of audio data, etc.

[0068] Through the platform abstraction layer PAL, the vehicle information output by the corresponding interface of the vehicle platform (for example, the first vehicle system) is converted, and the vehicle connection application calls the API of the vehicle platform to obtain the vehicle information allowed to be received by the application interface of the vehicle connection application, and uses the business code in the vehicle connection application to process the received vehicle information.

[0069] Among them, the application interface of the car-connected application can be but is not limited to the virtual interface (abstract interface) in the platform abstract layer. It is called a virtual interface because the application interface only defines the interface name of each category module, the parameter name of the vehicle information, etc. The specific implementation process of querying, converting and returning the vehicle information of the car platform is based on the code in the hardware Impl and audio Impl shown in the figure.

[0070] It should be noted that, in the embodiments of the present application, Figure 5 The virtual interfaces such as the hardware information API, audio API, power API, etc. shown allow the format of the received vehicle information to be standardized, so that the car-connected application can be adapted and connected with different vehicle platforms, that is, a new and universal platform adaptation solution is provided for the car-connected application, which will be further described in conjunction with specific embodiments below.

[0071] In a specific embodiment, Figure 4 As shown, the first vehicle application runs in the first vehicle system of the first vehicle, the first vehicle system includes a first system interface, and the second vehicle application includes a first application interface, wherein the first application interface includes but is not limited to a virtual interface in the platform abstraction layer.

[0072] like Figure 4 As shown, assuming that you want to obtain the first vehicle information of the first vehicle, the first vehicle information output by the first system interface is converted into the second vehicle information allowed to be received by the first application interface through the first adaptation code, and the second vehicle information is processed using the first business code of the first vehicle application.

[0073] The above-mentioned processing of the second vehicle information using the first business code includes but is not limited to displaying the returned second vehicle information in the first vehicle application, or processing the second vehicle information to obtain the desired result, for example, by obtaining the speed of the first vehicle, determining whether it exceeds the speed threshold, and if it exceeds the speed threshold, displaying speeding warning information in the first vehicle application.

[0074] Obviously, it is easy to understand that the above process of processing the second vehicle information is only an example and is not limited thereto.

[0075] In addition, it should be noted that different vehicle platforms have different adaptation codes for the same type of vehicle information, but the vehicle application interface is the same, and the format of the vehicle information received by the vehicle application interface is the same (the number, order, and meaning of the parameters are the same, but the values ​​are different). Therefore, different vehicle applications can be connected to the same vehicle platform through the adaptation logic, including:

[0076] In the case where the second vehicle-machine application is running in the first vehicle-machine system of the first vehicle, the first vehicle information output by the first system interface of the first vehicle-machine system is converted into the second vehicle information that is allowed to be received by the second application interface of the second vehicle-machine application through the first adaptation code, wherein the second vehicle-machine application and the first vehicle-machine application are different applications;

[0077] The second vehicle information is processed by a second service code in the second vehicle-machine application, wherein the second service code is decoupled from the first adaptation code.

[0078] It can be seen that by using the above adaptation solution, different applications on the same vehicle can call the vehicle information output by the same interface on the vehicle platform through the same adaptation code. That is, the same vehicle platform can quickly access different vehicle applications, which not only reduces the complexity of the business logic of the vehicle application, but also improves the convenience of the vehicle platform accessing the car connection application.

[0079] In the above manner, the first vehicle information output by the first system interface in the first vehicle system is converted using the first adaptation code to obtain the second vehicle information that the first application interface of the first vehicle application allows to receive; then the received second vehicle information is processed by the first business code in the first vehicle application. In this process, since the first business code and the first adaptation code are in a decoupled relationship, the business logic of the first vehicle application and the adaptation logic of the first vehicle system are independent of each other, which reduces the complexity of the business logic of the first vehicle application, simplifies the processing process of the first vehicle application for the second vehicle information, solves the technical problem of low efficiency in the processing of vehicle information in the related technology, and achieves the technical effect of improving the processing efficiency of vehicle information.

[0080] Based on the above analysis, it can be seen that the platform adaptation plug-in can be run in an independent APP or integrated in a car-connected application. The following describes the process of converting the first vehicle information by the adaptation code in the platform adaptation plug-in at different locations in combination with specific embodiments.

[0081] As an optional example, when the platform adaptation plug-in runs in an independent APP, the first vehicle information output by the first system interface in the first vehicle system is converted into the second vehicle information allowed to be received by the first application interface of the first vehicle application through the first adaptation code, including:

[0082] In the case where the first adaptation code is located in the target server, the first adaptation code in the target server is called through the first configuration file to convert the first vehicle information output by the first system interface into the second vehicle information that the first application interface allows to receive.

[0083] like Figure 7 As shown, the platform adaptation plug-in package (plug-in plugin_pal.pak) of the first vehicle platform runs in an independent PAL Server APP, and the car connection application declares to connect to the external PAL Server APP through the first configuration file (pal_config.json), and the car connection application connects to the external PAL Server APP to call the first adaptation code.

[0084] It should be noted that the PAL Server APP contains similar Figure 5 Each of the hardware information, audio and other modules shown can be regarded as a class. The class cannot be run independently, but must exist with Serve / APP as the carrier. In other words, Serve / APP is used as the search unit, and the implementation code in PAL SDK is used to search. After searching for a Serve / APP, the vehicle information is obtained using the hardware information module, audio module, etc. in the searched Serve / APP.

[0085] As an optional example, the above-mentioned calling the first adaptation code in the target server through the first configuration file includes:

[0086] Reading first data on a mode field in a first configuration file;

[0087] When the first data indicates that the connection mode is to connect to an external code, the first adaptation code is searched and called outside the vehicle computer application.

[0088] Specifically, whether to call the first adaptation code outside the vehicle-connected application or the first adaptation code inside the vehicle is determined by the value of the mode field in the first configuration file. For example, when the value of the mode field is remote, the first adaptation code outside the vehicle-connected application is called; if the value of the mode field is local, the first adaptation code inside the vehicle-connected application is called.

[0089] As another optional example, when the platform adapter plug-in is integrated into the vehicle connection application, the first vehicle information output by the first system interface in the first vehicle system is converted into the second vehicle information allowed to be received by the first application interface of the first vehicle application through the first adaptation code, including:

[0090] When the first adaptation code is located in the first vehicle application, the first adaptation code in the first vehicle application is called through the second configuration file to convert the first vehicle information output by the first system interface into the second vehicle information allowed to be received by the first application interface.

[0091] like Figure 8As shown, the PAL adaptation plug-in package (plugin_pal.pak) of the first vehicle platform is integrated in the car connection application. The car connection application declares the connection to the built-in PAL adaptation plug-in through the second configuration file (pal_config.json). The car connection application obtains vehicle information by calling the built-in platform adaptation plug-in, wherein the platform adaptation plug-in package includes the first adaptation code.

[0092] As an optional implementation, the above-mentioned calling the first adaptation code in the first vehicle application through the second configuration file includes:

[0093] Reading second data on the mode field in the second configuration file;

[0094] When the second data indicates that the connection mode is to connect to the internal code, the first adaptation code is searched and called inside the vehicle application.

[0095] Specifically, the value of the mode field in the second configuration file is used to determine whether to call the first adaptation code outside the vehicle-connected application or the first adaptation code inside the vehicle. For example, when the value of the mode field is remote, the first adaptation code outside the vehicle-connected application is called; if the value of the mode field is local, the first adaptation code inside the vehicle-connected application is called.

[0096] It can be seen that the types of the N fields included in the second configuration file and the first configuration file are the same, and the value parts of the data on the N fields are the same.

[0097] Through the above embodiments, the first adaptation code can be called in different ways according to the positional relationship between the platform adaptation plug-in package and the vehicle connection application, thereby improving the flexibility of the connection method between the vehicle connection application and the vehicle platform.

[0098] As an optional example, the above-mentioned converting the first vehicle information output by the first system interface in the first vehicle system into the second vehicle information allowed to be received by the first application interface of the first vehicle application includes:

[0099] According to the target function in the target transmission protocol between the first vehicle system and the first vehicle application, the first vehicle information output by the first system interface in the first vehicle system is converted into the second vehicle information allowed to be received by the first application interface of the first vehicle application, wherein the target function includes M variables, each of the M variables includes a variable name and a variable value, and M is a positive integer greater than or equal to 1.

[0100] As described in the above embodiment, for different vehicle computer platforms, the adaptation codes for the same type of vehicle information are different, but the interface of the vehicle computer application is the same, and the format of the vehicle information received by the interface of the vehicle computer application is the same (the number, order, and meaning of the parameters are the same, but the values ​​are different). Therefore, the above PAL platform adaptation plug-in provides a set of general platform adaptation solutions for vehicle networking applications.

[0101] In order to realize the above process, a target transmission protocol between the vehicle-connected application and the vehicle-computer platform is defined according to the processes of interface calling and data transmission between the vehicle-connected application and the vehicle-computer platform, and the vehicle information obtained by calling and running the first adaptation code is determined through the target function in the target transmission protocol, wherein the target function includes multiple different variables, and each variable has a different variable name.

[0102] For example, assuming that the first vehicle information currently obtained is the status information of whether driving safety is activated, then the variable name corresponding to the variable x1 defined in the objective function is the driving safety activated state, and the variable value is 1; the variable name corresponding to the variable x2 is the driving safety unactivated state, and the variable value is 0.

[0103] According to the variable names and values ​​of the above variables x1 and x2, the vehicle information output by the system interface of the vehicle platform is converted into vehicle information that the vehicle connection application allows to receive, specifically including:

[0104] In the case where the first vehicle information is the first target variable corresponding to the i-th variable among the M variables, the variable name and the variable value of the first target variable are converted into the target variable name and the target variable value according to the variable name and the variable value of the i-th variable in the objective function, wherein the target variable value has the same format as the variable value of the i-th variable, and i is a positive integer greater than or equal to 1;

[0105] The target variable name and the target variable value are determined as the second vehicle information.

[0106] Still taking the variable names and variable values ​​of the above variables x1 and x2 as an example for description, since the variable names of the above variables x1 and x2 obtained by different vehicle computer platforms through their respective system interfaces may be the same, but the variable values ​​may be different, for example, the variable value of variable x1 obtained by vehicle computer platform 1 is 0101, and the variable value of variable x2 is 0100. It can be seen that the variable values ​​of variables x1 and x2 obtained by vehicle computer platform 1 are different from the formats of the variable values ​​of variables x1 and x2 allowed to be received by the vehicle connection application.

[0107] Then, according to the format of the variable values ​​of variables x1 and variable x2 defined in the target function in the target transmission protocol (which can also be understood as the target communication protocol), the specific format of the variable values ​​of variables x1 and variable x2 is annotated in the first adaptation code, and according to the requirements in the annotation, the variable value of variable x1 output by the vehicle platform 1 is converted from 0101 to 1, and the variable value of variable x2 is converted from 0100 to 0, and the converted variable values ​​are returned to the vehicle connection application.

[0108] For another example, suppose that the variable x3 in the objective function represents the vehicle speed, the unit of vehicle speed defined in the target transmission protocol is km / h, and the vehicle speed output by the system interface of the vehicle platform 2 is 10m / s, then it is necessary to annotate the unit format of the vehicle speed in the adaptation code of the vehicle platform 2 according to the target transmission protocol, and convert the vehicle speed 10m / s output by the system interface of the vehicle platform 2 into a vehicle speed of km / h, and then return the converted vehicle speed to the application interface of the vehicle connection application.

[0109] It should be noted that the above conversion of the first vehicle information is implemented in the adaptation layer, and the vehicle networking application only needs to receive the converted vehicle information without performing any conversion.

[0110] By adopting the above method, the vehicle information output by the system interface in the vehicle system (vehicle platform) can be converted according to the vehicle information allowed to be received by the vehicle connection application, avoiding the defect that the vehicle connection application needs to maintain different code branches for different platforms, and avoiding repeated adaptation when the same vehicle connection platform is connected to different vehicle connection applications, simplifying the process of obtaining vehicle information and improving the efficiency of vehicle information processing.

[0111] As an optional example, the above method further includes:

[0112] When the first vehicle machine application is running in the second vehicle machine system of the second vehicle, the third vehicle information output by the second system interface of the second vehicle machine system is converted into fourth vehicle information that is allowed to be received by the first application interface of the first vehicle machine application through the second adaptation code, wherein the third vehicle information is vehicle information of the second vehicle;

[0113] The fourth vehicle information is processed by the first service code in the first vehicle application, wherein the first service code and the second adaptation code are in a decoupled relationship.

[0114] It is easy to understand that different car machine platforms have different system APIs, and each car machine platform has its own unique SDK, access method, initialization method, and interface calling method, etc. Therefore, for different car machine platforms, the way to access the same car connection application may be different, and the adaptation code for the same type of vehicle information may also be different.

[0115] Still taking the variable names and variable values ​​of the above-mentioned variables x1 and variable x2 as an example for description, assuming that the variable values ​​of the above-mentioned variables x1 and variable x2 obtained by the vehicle computer platform 2 through its system interface are 01, and the variable value of variable x2 is 00, then it is necessary to use the second adaptation code in the vehicle computer platform 2 to convert the variable values ​​of variables x1 and variable x2.

[0116] Exemplarily, in the case where both the fourth vehicle information and the second vehicle information include one parameter, the first parameter included in the fourth vehicle information and the second parameter included in the second vehicle information have the same parameter meaning; or,

[0117] In the case that both the fourth vehicle information and the second vehicle information include N parameters, the first group of parameters included in the fourth vehicle information and the second group of parameters included in the second vehicle information have the same parameter arrangement order, and the parameters at the same position have the same parameter meaning, wherein the first group of parameters and the second group of parameters each include N parameters, and N is a positive integer greater than or equal to 2.

[0118] For example, when the fourth vehicle information only includes the first parameter V and the second vehicle information only includes the second parameter bit, the first parameter and the second parameter have the same parameter meaning, that is, both represent the vehicle speed.

[0119] When the fourth vehicle information includes the first group of parameters DS1 and DS2, and the second vehicle information includes the second group of parameters D1 and D2, the first parameters in the first group of parameters and the second group of parameters both indicate that the driving safety is activated, and the second parameters both indicate that the driving safety is not activated.

[0120] For the same vehicle information, only when a parameter corresponding to the vehicle information in different vehicle platforms has the same meaning, or the parameters at the same position among the N parameters included in the vehicle information in different vehicle platforms have the same meaning, can the vehicle information output by different platforms be converted into vehicle information allowed to be received by the vehicle networking application according to different adaptation codes, and further the above-mentioned universal platform access method can be realized.

[0121] In order to more clearly understand the above vehicle information processing method, the following Figure 5 The C / S architecture diagram of PAL shown is further described.

[0122] like Figure 5 As shown in the figure, the C / S architecture of the platform abstraction layer PAL includes the vehicle connection application end (client end) and the system adapter end (server end), where the system adapter end is developed and maintained by the vehicle platform side, for example, Figure 5The hardware information Impl, audio Impl, power Impl, and various system interfaces in the platform OS shown are all developed on the vehicle platform side.

[0123] Since the business code and the platform adaptation code of the vehicle-connected application in the embodiment of the present application are isolated from each other, that is, the vehicle-connected application end and the system adaptation end are independent of each other, it means that in theory, the development of the vehicle-connected application side or the development of the vehicle platform side can be started before the new car model is mass-produced or launched on the market.

[0124] In order to achieve early development of the system adapter end, a Client Demo (adaptation detection tool) is also provided in the embodiment itself to simulate the role of the car-connected application, so as to facilitate viewing and testing the performance of the system adaptation. For example, assuming that the obtained driving status mode result is driving, check whether the safety prompt is displayed in the video playback application (car-connected application), so as to determine whether the development of the car-connected application meets the expected requirements.

[0125] The interface of the adaptation detection tool is as follows Fig. 9 As shown, it mainly visualizes the call results of some interfaces. For example, it can display the results of calling the day / night mode, gear position, vehicle speed, square control button monitoring, VIN code, channel number and other interfaces of the platform adapter and the output of the interface.

[0126] Similarly, the adaptation detection tool can also be used to simulate the role of the system adapter to check whether the system adapter converts the vehicle information output by the vehicle platform according to the adaptation code to verify the feasibility of the adaptation code.

[0127] Through the above-mentioned adaptation detection tool, the disadvantage of the related technology that the vehicle-connected application end and the system adapter end must be developed simultaneously can be avoided, the redundant logic of the business code in the development process of the vehicle-connected application end is reduced, and the adaptation logic of the system adapter end is simplified, thereby improving the development efficiency of the application.

[0128] like Figure 5 As shown, the colored filled part is the part where the connected car application accesses PAL and implements the business logic, and the uncolored filled part is the part that the platform adapter developer who accesses PAL needs to implement, among which the hardware information API, audio API, power API, etc. can be but are not limited to the abstract interface layer of PAL, but because the interface layer is developed by the connected car application segment and the interaction between the connected car application and the vehicle platform is realized through the interface layer, the hardware information API, audio API, and power API can also be called the application interface of the connected car application.

[0129] Since the processing processes in the car-connected application and the car-machine platform belong to two different processes, when the car-connected application connects to the car-machine platform and calls the vehicle information on the car-machine platform, it is necessary to call the abstract interface layer of PAL (referred to as the interface layer) through the IPC Service (remote call service or cross-process service), and then determine one of the interfaces such as the hardware information API, audio API, power API, etc. to return to the car-connected application based on the type of vehicle information called.

[0130] It should be noted that from Figure 5 It can be seen that the car connection application is used for interaction between car computer platforms through the adaptation layer, and the adaptation layer includes the platform abstraction layer PAL and the adaptation plug-in. The adaptation plug-in includes the implementation code (hardware information Impl, audio Impl, etc.) for each car computer platform to obtain vehicle information.

[0131] That is to say, although there are differences between the adaptation codes in each vehicle platform, since the hardware information API, audio API, power API and other interfaces are all universal virtual interfaces, the adaptation code in each vehicle platform will convert the initial vehicle information (first vehicle information) output by the system interface according to the target vehicle information (second vehicle information) allowed to be received by the hardware information API, audio API, power API and other interfaces, and return the target vehicle information that meets the requirements to the vehicle connection application through PAL.

[0132] In other words, the adaptation codes in modules such as hardware information Impl and audio Impl may be ever-changing, but the vehicle information processed by each adaptation module is returned to the car-connected application according to a unified standard. This is why it is possible to access and call vehicle information on different car platforms without modifying the business code of the car-connected application.

[0133] against Figure 5 , and the following points:

[0134] i) The car-connected application will integrate PAL as the client and communicate with the platform adapter plug-in (server) through cross-process communication;

[0135] ii) The platform adaptation plug-in can be run in an independent APP or integrated into the car-connected application. The platform adaptation plug-in contains the adaptation logic of the current car platform, that is, the implementation of the abstract API interface from each category module Impl (for example, hardware information Impl, audio Impl, etc.) (implemented by the adaptation developer and provided by the product, such as plug-in apk or source code);

[0136] iii) The car-connected application (navigation, iQting, voice, etc.) directly calls the methods in the PAL SDK (for example, from the hardware information manager to the hardware information manager Impl layer by layer, or from the audio manager to the audio manager Impl layer by layer, etc.), thereby calling the interface implementation of the adapter (for example, calling the interface implementation code in the hardware information Impl in the adapter plug-in), and then calling the system platform API to implement the required car hardware-related functions, thereby realizing the adaptation of the car platform.

[0137] In addition, from Figure 5 It can also be seen that there is a one-to-one correspondence between the naming of interfaces such as hardware information API, audio API, power API, etc. and the naming of modules such as hardware information Impl, audio Impl, etc., which facilitates the output (or reception) of different types of vehicle information through the corresponding system interface (or application interface).

[0138] Through the analysis of the above embodiments, it can be seen that the above vehicle information processing method can achieve beneficial effects including at least one of the following:

[0139] (1) By introducing the platform abstraction layer (PAL), the business code of the connected car application is decoupled from the adaptation code of the vehicle machine platform, so that the business code and the platform adaptation code can be developed, verified and simulated independently of each other;

[0140] (2) After the platform adaptation is removed, the business logic of the connected car application does not need to maintain complicated branches for different car computer platforms. The business logic is developed based on PAL, and only one business code needs to be maintained to be compatible with different car computer platforms;

[0141] (3) The platform adaptation code can run in an independent process, which will not affect the normal operation of the business logic due to unknown exceptions, thereby improving the reliability of the vehicle networking application.

[0142] The adaptation layer is implemented in a plug-in manner, which facilitates the management and updating of the adaptation plug-in package. The public version package of the car-connected application and the adaptation plug-in package can be combined through post-processing, so that channel packages adapted to different platforms can be generated without rebuilding.

[0143] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0144] According to another aspect of the embodiment of the present application, there is also provided Fig.10 A vehicle information processing device is shown, the device comprising:

[0145] The first conversion unit 1002 is used to convert, by means of a first adaptation code, first vehicle information output by a first system interface in the first vehicle system into second vehicle information that is allowed to be received by a first application interface of the first vehicle application when the first vehicle application is running in the first vehicle system of the first vehicle, wherein the first vehicle information is vehicle information of the first vehicle;

[0146] The first processing unit 1004 is used to process the second vehicle information through the first service code in the first vehicle application, wherein the first service code and the first adaptation code are in a decoupled relationship.

[0147] Optionally, the first conversion unit 1002 includes:

[0148] The first conversion module is used to call the first adaptation code in the target server through the first configuration file when the first adaptation code is located in the target server, so as to convert the first vehicle information output by the first system interface into the second vehicle information allowed to be received by the first application interface.

[0149] Optionally, the first conversion module includes:

[0150] A first reading submodule, configured to read first data on a mode field in a first configuration file;

[0151] The first processing submodule is used to search and call the first adaptation code outside the vehicle computer application when the first data indicates that the connection mode is to connect to the external code.

[0152] Optionally, the first conversion unit 1002 includes:

[0153] The second conversion module is used to call the first adaptation code in the first vehicle application through the second configuration file when the first adaptation code is located in the first vehicle application, and convert the first vehicle information output by the first system interface into the second vehicle information allowed to be received by the first application interface.

[0154] Optionally, the second conversion module includes:

[0155] A second reading submodule, used for reading second data on the mode field in the second configuration file;

[0156] The second processing submodule is used to search and call the first adaptation code inside the vehicle computer application when the second data indicates that the connection mode is to connect to the internal code.

[0157] Optionally, the first conversion unit 1002 includes:

[0158] The third conversion module is used to convert the first vehicle information output by the first system interface in the first vehicle system into the second vehicle information allowed to be received by the first application interface of the first vehicle application according to the target function in the target transmission protocol between the first vehicle system and the first vehicle application, wherein the target function includes M variables, each of the M variables includes a variable name and a variable value, and M is a positive integer greater than or equal to 1.

[0159] Optionally, the third conversion module includes:

[0160] a third processing submodule, for converting the variable name and the variable value of the first target variable into a target variable name and a target variable value according to the variable name and the variable value of the i-th variable in the objective function when the first vehicle information is the first target variable corresponding to the i-th variable among the M variables, wherein the target variable value has the same format as the variable value of the i-th variable, and i is a positive integer greater than or equal to 1;

[0161] The fourth processing submodule is used to determine the target variable name and the target variable value as the second vehicle information.

[0162] Optionally, the above device further includes:

[0163] a second conversion unit, configured to convert, by a second adaptation code, third vehicle information output by a second system interface in the second vehicle system into fourth vehicle information that is allowed to be received by a first application interface of the first vehicle application when the first vehicle application is running in a second vehicle system of the second vehicle, wherein the third vehicle information is vehicle information of the second vehicle;

[0164] The second processing unit is used to process the fourth vehicle information through the first business code in the first vehicle application, wherein the first business code and the second adaptation code are in a decoupled relationship.

[0165] Optionally, in the case where both the fourth vehicle information and the second vehicle information include one parameter, the first parameter included in the fourth vehicle information and the second parameter included in the second vehicle information have the same parameter meaning; or,

[0166] In the case that both the fourth vehicle information and the second vehicle information include N parameters, the first group of parameters included in the fourth vehicle information and the second group of parameters included in the second vehicle information have the same parameter arrangement order, and the parameters at the same position have the same parameter meaning, wherein the first group of parameters and the second group of parameters each include N parameters, where N is a positive integer greater than or equal to 2.

[0167] Optionally, the above device further includes:

[0168] a third conversion unit, configured to convert, by means of a first adaptation code, first vehicle information output by a first system interface in the first vehicle system into second vehicle information that is allowed to be received by a second application interface of the second vehicle application when the second vehicle application is running in the first vehicle system of the first vehicle, wherein the second vehicle application is different from the first vehicle application;

[0169] The third processing unit is used to process the second vehicle information through the second service code in the second vehicle application, wherein the second service code is in a decoupled relationship with the first adaptation code.

[0170] By applying the above device to convert the first vehicle information output by the first system interface in the first vehicle system using the first adaptation code, the second vehicle information that the first application interface of the first vehicle application allows to receive is obtained; then the received second vehicle information is processed by the first business code in the first vehicle application. In this process, since the first business code and the first adaptation code are in a decoupled relationship, the business logic of the first vehicle application and the adaptation logic of the first vehicle system are independent of each other, which reduces the complexity of the business logic of the first vehicle application, simplifies the processing process of the first vehicle application for the second vehicle information, solves the technical problem of low efficiency in the processing of vehicle information in the related technology, and achieves the technical effect of improving the processing efficiency of vehicle information.

[0171] It should be noted that the embodiments of the vehicle information processing device here can refer to the embodiments of the vehicle information processing method mentioned above, which will not be described in detail here.

[0172] According to another aspect of the embodiment of the present application, an electronic device for implementing the above-mentioned vehicle information processing method is also provided. The electronic device may be Fig.11 The terminal device shown in FIG. This embodiment is described by taking the electronic device as a background device as an example. Fig.11 As shown, the electronic device includes a memory 1102 and a processor 1104. The memory 1102 stores a computer program, and the processor 1104 is configured to execute the steps in any of the above method embodiments through the computer program.

[0173] Optionally, in this embodiment, the electronic device may be located in at least one network device among a plurality of network devices of a computer network.

[0174] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:

[0175] S1, when the first vehicle-machine application is running in the first vehicle-machine system of the first vehicle, converting, through the first adaptation code, first vehicle information output by the first system interface of the first vehicle-machine system into second vehicle information that is allowed to be received by the first application interface of the first vehicle-machine application, wherein the first vehicle information is vehicle information of the first vehicle;

[0176] S2, processing the second vehicle information through the first service code in the first vehicle application, wherein the first service code and the first adaptation code are in a decoupled relationship.

[0177] Alternatively, a person skilled in the art may understand that: Fig.11 The structure shown is for illustration only, and the electronic device may also be a target terminal such as a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, and a mobile Internet device (MID), a PAD, etc. Fig.11 The electronic device and the electronic equipment described above are not limited in structure. Fig.11 More or fewer components (such as network interfaces, etc.) as shown in, or with Fig.11 Different configurations are shown.

[0178] Among them, the memory 1102 can be used to store software programs and modules, such as the program instructions / modules corresponding to the vehicle information processing method and device in the embodiment of the present application. The processor 1104 executes various functional applications and data processing by running the software programs and modules stored in the memory 1102, that is, realizing the above-mentioned vehicle information processing method. The memory 1102 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 1102 may further include a memory remotely located relative to the processor 1104, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. Among them, the memory 1102 can be specifically, but not limited to, used to store a first business code, a first vehicle information, a first adaptation code, etc. As an example, such as Fig.11 As shown, the memory 1102 may include but is not limited to the first conversion unit 1002 and the first processing unit 1004 in the vehicle information processing device. In addition, it may also include but is not limited to other module units in the vehicle information processing device, which will not be repeated in this example.

[0179] Optionally, the transmission device 1106 is used to receive or send data via a network. Specific examples of the network may include a wired network and a wireless network. In one example, the transmission device 1106 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices and routers via a network cable so as to communicate with the Internet or a local area network. In one example, the transmission device 1106 is a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0180] In addition, the electronic device further includes: a display 1108 for displaying the direction prompt information of the target sound; and a connection bus 1110 for connecting various module components in the electronic device.

[0181] In other embodiments, the target terminal or server may be a node in a distributed system, wherein the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting the multiple nodes in the form of network communication. Among them, the nodes may form a peer-to-peer (P2P) network, and any form of computing device, such as a server, terminal or other electronic device, may become a node in the blockchain system by joining the peer-to-peer network.

[0182] According to one aspect of the present application, a computer program product or computer program is provided, the computer program product or computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the vehicle information processing method provided in various optional implementations of the above-mentioned server verification processing and other aspects, wherein the computer program is configured to execute the steps of any of the above-mentioned method embodiments when running.

[0183] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the following steps:

[0184] S1, when the first vehicle-machine application is running in the first vehicle-machine system of the first vehicle, converting, through the first adaptation code, first vehicle information output by the first system interface of the first vehicle-machine system into second vehicle information that is allowed to be received by the first application interface of the first vehicle-machine application, wherein the first vehicle information is vehicle information of the first vehicle;

[0185] S2, processing the second vehicle information through the first service code in the first vehicle application, wherein the first service code and the first adaptation code are in a decoupled relationship.

[0186] Optionally, in this embodiment, a person of ordinary skill in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing the hardware related to the target terminal through a program, and the program may be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.

[0187] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0188] If the integrated units in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in the above computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling one or more computer devices (which can be personal computers, servers or network devices, etc.) to execute all or part of the steps of the methods of each embodiment of the present application.

[0189] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0190] In the several embodiments provided in the present application, it should be understood that the disclosed client can be implemented in other ways. Among them, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0191] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0192] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0193] The above are only preferred implementations of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A method for processing vehicle information, It is characterized in that include: In a case where the first vehicle-machine application is running in the first vehicle-machine system of the first vehicle, first vehicle information output by the first system interface of the first vehicle-machine system is converted into second vehicle information that is allowed to be received by the first application interface of the first vehicle-machine application through the first adaptation code, wherein the first vehicle information is vehicle information of the first vehicle; The second vehicle information is processed by a first service code in the first vehicle application, wherein the first service code and the first adaptation code are in a decoupled relationship.

2. The method according to claim 1, It is characterized in that The converting, by the first adaptation code, the first vehicle information output by the first system interface in the first vehicle system into the second vehicle information that is allowed to be received by the first application interface of the first vehicle application includes: In the case where the first adaptation code is located in the target server, the first adaptation code in the target server is called through a first configuration file to convert the first vehicle information output by the first system interface into the second vehicle information that the first application interface allows to receive.

3. The method according to claim 2, It is characterized in that The calling the first adaptation code in the target server through the first configuration file includes: Reading first data on a mode field in the first configuration file; When the first data indicates that the connection mode is to connect to an external code, the first adaptation code is searched and called outside the vehicle machine application.

4. The method according to claim 1, It is characterized in that The converting, by the first adaptation code, the first vehicle information output by the first system interface in the first vehicle system into the second vehicle information that is allowed to be received by the first application interface of the first vehicle application includes: In the case where the first adaptation code is located in the first vehicle application, the first adaptation code in the first vehicle application is called through a second configuration file to convert the first vehicle information output by the first system interface into the second vehicle information allowed to be received by the first application interface.

5. The method according to claim 4, It is characterized in that The calling the first adaptation code in the first vehicle machine application through the second configuration file includes: Reading second data on the mode field in the second configuration file; When the second data indicates that the connection mode is to connect to the internal code, the first adaptation code is searched and called inside the vehicle application.

6. The method according to claim 1, It is characterized in that The converting the first vehicle information output by the first system interface in the first vehicle system into the second vehicle information that is allowed to be received by the first application interface of the first vehicle application includes: According to the target function in the target transmission protocol between the first vehicle system and the first vehicle application, the first vehicle information output by the first system interface in the first vehicle system is converted into the second vehicle information allowed to be received by the first application interface of the first vehicle application, wherein the target function includes M variables, each of the M variables includes a variable name and a variable value, and M is a positive integer greater than or equal to 1.

7. The method according to claim 6, It is characterized in that The converting, according to the target function in the target transmission protocol between the first vehicle system and the first vehicle application, the first vehicle information output by the first system interface in the first vehicle system into the second vehicle information allowed to be received by the first application interface of the first vehicle application comprises: In the case where the first vehicle information is a first target variable corresponding to the i-th variable among the M variables, according to the variable name and variable value of the i-th variable in the objective function, the variable name and variable value of the first target variable are converted into a target variable name and a target variable value, wherein the target variable value has the same format as the variable value of the i-th variable, and i is a positive integer greater than or equal to 1; The target variable name and the target variable value are determined as the second vehicle information.

8. The method according to any one of claims 1 to 7, It is characterized in that The method further comprises: In a case where the first vehicle-machine application is running in a second vehicle-machine system of a second vehicle, converting, by a second adaptation code, third vehicle information output by a second system interface of the second vehicle-machine system into fourth vehicle information that is allowed to be received by the first application interface of the first vehicle-machine application, wherein the third vehicle information is vehicle information of the second vehicle; The fourth vehicle information is processed by the first service code in the first vehicle application, wherein the first service code and the second adaptation code are in a decoupled relationship.

9. The method according to claim 8, It is characterized in that In the case where both the fourth vehicle information and the second vehicle information include one parameter, a first parameter included in the fourth vehicle information and a second parameter included in the second vehicle information have the same parameter meaning; or, In the case that both the fourth vehicle information and the second vehicle information include N parameters, the first group of parameters included in the fourth vehicle information and the second group of parameters included in the second vehicle information have the same parameter arrangement order, and the parameters at the same position have the same parameter meaning, wherein the first group of parameters and the second group of parameters both include the N parameters, and N is a positive integer greater than or equal to 2.

10. The method according to any one of claims 1 to 7, It is characterized in that The method further comprises: In a case where a second vehicle-machine application is running in the first vehicle-machine system of the first vehicle, converting the first vehicle information output by the first system interface in the first vehicle-machine system into the second vehicle information allowed to be received by the second application interface of the second vehicle-machine application through the first adaptation code, wherein the second vehicle-machine application and the first vehicle-machine application are different applications; The second vehicle information is processed by a second service code in the second vehicle application, wherein the second service code is decoupled from the first adaptation code.

11. A vehicle information processing device, It is characterized in that include: a first conversion unit, configured to convert, by a first adaptation code, first vehicle information output by a first system interface in the first vehicle system into second vehicle information that is allowed to be received by a first application interface of the first vehicle application when the first vehicle application is running in the first vehicle system of the first vehicle, wherein the first vehicle information is vehicle information of the first vehicle; The first processing unit is used to process the second vehicle information through a first service code in the first vehicle application, wherein the first service code and the first adaptation code are in a decoupled relationship.

12. The method according to claim 11, It is characterized in that The first conversion unit comprises: The first conversion module is used to call the first adaptation code in the target server through a first configuration file when the first adaptation code is located in the target server, so as to convert the first vehicle information output by the first system interface into the second vehicle information allowed to be received by the first application interface.

13. A computer-readable storage medium, It is characterized in that The computer-readable storage medium includes a stored program, wherein the program can be executed by a terminal device or a computer to execute the method described in any one of claims 1 to 10.

14. A computer program product comprising a computer program / instructions, It is characterized in that When the computer program / instructions are executed by a processor, the steps of the method described in any one of claims 1 to 10 are implemented.

15. An electronic device comprising a memory and a processor, It is characterized in that A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 10 through the computer program.