A vehicle data communication method, device, medium and system

The on-board interface manager uniformly receives and processes on-board application data, and uses the information in the interface routing table to send the data to the on-board functional processor, solving the problem of the in-board data communication access interface in the prior art, realizing simplified data communication process and easy-to-maintenance interface management.

CN116155677BActive Publication Date: 2025-03-14XINGHE ZHILIAN AUTOMOBILE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211674399.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-26
Publication Date
2025-03-14
Estimated Expiration
2042-12-26

AI Technical Summary

Technical Problem

In the prior art, data communication between the on-board application software processor and the on-board functional processor requires a separate data transmission relationship, resulting in the inability to unify the access interface of on-board data communication.

Method used

The on-board application data is received uniformly through the on-board interface manager, and the data is sent to the corresponding on-board function processor based on the bus network attributes and mapping interface parameters in the interface routing table.

Benefits of technology

The unified vehicle data communication access interface is realized, avoiding the need to build a data interface separately during each development, simplifying the data communication process and facilitating maintenance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116155677B_ABST
    Figure CN116155677B_ABST
Patent Text Reader

Abstract

The present invention discloses a vehicle data communication method, device, medium and system, the method is executed by a vehicle interface manager, and the method includes: obtaining vehicle application data; according to the obtained vehicle application data, finding the corresponding bus network attribute from a preset interface routing table; according to the obtained vehicle application data, finding the corresponding mapping interface parameter from the interface routing table; according to the found bus network attribute, sending the found mapping interface parameter and the obtained vehicle application data to the corresponding bus communication processor, so that the bus communication processor calls the mapping interface corresponding to the found mapping interface parameter, so as to send the obtained vehicle application data to the corresponding vehicle function processor, and make the vehicle function processor perform the function corresponding to the obtained vehicle application data. The embodiment of the present invention can realize the unification of vehicle data communication access interface.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communications, and in particular to a vehicle-mounted data communication method, device, medium and system. Background Art

[0002] In the prior art, when the on-board application software processor communicates on-board data with the corresponding on-board function processor, the on-board application software processor transmits the corresponding data of the developed on-board app (Application) to the corresponding on-board API interface (Application Program Interface) in the on-board SOA (Service-Oriented Architecture) or CAN (Controller Area Network) bus, wherein the above-mentioned on-board API interface corresponds to the on-board function processor that needs to be called in the above-mentioned on-board app. When the on-board API interface receives the data of the on-board app, the corresponding on-board function processor executes the instructions contained in the above-mentioned data.

[0003] It can be seen that in the prior art, when a developed in-vehicle app needs to call some in-vehicle function processors, data needs to be transferred to the API interface corresponding to the in-vehicle function processor to be called. Therefore, each time a in-vehicle app is developed, it is necessary to separately construct a data transmission relationship between the in-vehicle application software processor and the API interface corresponding to the in-vehicle function processor to be called, thereby making it impossible to unify the access interface for in-vehicle data communication. Summary of the invention

[0004] In order to solve the above technical problems, an embodiment of the present invention proposes a vehicle-mounted data communication method, device, medium and system, which uniformly receives vehicle-mounted application data through a vehicle-mounted interface manager, and sends the acquired vehicle-mounted application data to the corresponding vehicle-mounted function processor based on the table lookup results, so that the vehicle-mounted function processor executes the corresponding function.

[0005] In order to achieve the above object, an embodiment of the present invention provides a vehicle data communication method, the method is executed by a vehicle interface manager, and the method includes:

[0006] Obtain vehicle application data;

[0007] According to the acquired vehicle application data, the corresponding bus network attribute is searched from a preset interface routing table; wherein the interface routing table includes different vehicle application data and the bus network attribute and mapping interface parameters corresponding to each vehicle application data;

[0008] According to the acquired vehicle application data, the corresponding mapping interface parameters are searched from the interface routing table;

[0009] According to the bus network properties obtained by the search, the mapping interface parameters obtained by the search and the acquired vehicle-mounted application data are sent to the corresponding bus communication processor, so that the bus communication processor calls the mapping interface corresponding to the mapping interface parameters obtained by the search, so as to send the acquired vehicle-mounted application data to the corresponding vehicle-mounted function processor, and enable the vehicle-mounted function processor to execute the function corresponding to the acquired vehicle-mounted application data.

[0010] Furthermore, the method of searching for corresponding bus network attributes from a preset interface routing table based on the acquired vehicle-mounted application data includes: searching for corresponding bus network attributes from a preset interface routing table based on an interface identifier in the acquired vehicle-mounted application data; wherein the interface routing table also includes an interface identifier corresponding to each type of vehicle-mounted application data.

[0011] Furthermore, the data type of the interface identifier is a string, and the string of the interface identifier includes a package name, a class name, and a method name.

[0012] Furthermore, the step of searching for corresponding mapping interface parameters from the interface routing table based on the acquired vehicle-mounted application data comprises: searching for corresponding mapping interface parameters from the interface routing table based on the interface parameters to be converted in the acquired vehicle-mounted application data; wherein the interface routing table also includes interface parameters to be converted corresponding to each type of vehicle-mounted application data.

[0013] Furthermore, before acquiring the vehicle-mounted application data, a file corresponding to the interface routing table is loaded row by row; wherein the file includes the data of the interface routing table.

[0014] Further, the obtaining of the in-vehicle application data includes: obtaining the in-vehicle application data through an access interface; wherein the access interface is a unified interface for the in-vehicle interface manager to receive data.

[0015] Furthermore, the bus communication processor includes: a controller area network bus communication unit and a service-oriented architecture bus communication unit.

[0016] An embodiment of the present invention further provides a vehicle-mounted data communication device, which is arranged in a vehicle-mounted interface manager and includes:

[0017] The vehicle-mounted application data acquisition module is used to acquire the vehicle-mounted application data;

[0018] A bus network attribute search module is used to search for corresponding bus network attributes from a preset interface routing table according to the acquired vehicle application data; wherein the interface routing table includes different vehicle application data and bus network attributes and mapping interface parameters corresponding to each vehicle application data;

[0019] A mapping interface parameter search module, used to search for corresponding mapping interface parameters from the interface routing table according to the acquired vehicle application data;

[0020] An execution module is used to send the found mapping interface parameters and the acquired vehicle-mounted application data to the corresponding bus communication processor according to the found bus network properties, so that the bus communication processor calls the mapping interface corresponding to the found mapping interface parameters to send the acquired vehicle-mounted application data to the corresponding vehicle-mounted function processor, and enables the vehicle-mounted function processor to execute the function corresponding to the acquired vehicle-mounted application data.

[0021] An embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of any of the above-mentioned vehicle-mounted data communication methods are implemented.

[0022] An embodiment of the present invention further provides a vehicle-mounted data communication system, comprising a vehicle-mounted interface manager, a bus communication processor and a vehicle-mounted function processor; the vehicle-mounted interface manager is used to execute the steps of any of the above-mentioned vehicle-mounted data communication methods.

[0023] In summary, the present invention has the following beneficial effects:

[0024] According to an embodiment of the present invention, the vehicle interface manager obtains vehicle application data; based on the obtained vehicle application data, searches for corresponding bus network attributes from a preset interface routing table; wherein the interface routing table includes different vehicle application data and bus network attributes and mapping interface parameters corresponding to each type of vehicle application data; based on the obtained vehicle application data, searches for corresponding mapping interface parameters from the interface routing table; based on the found bus network attributes, sends the found mapping interface parameters and the obtained vehicle application data to the corresponding bus communication processor, so that the bus communication processor calls the mapping interface corresponding to the found mapping interface parameters to send the obtained vehicle application data to the corresponding vehicle function processor, and enables the vehicle function processor to perform the function corresponding to the obtained vehicle application data. In particular, the vehicle interface manager uses an access interface as a unified interface for receiving data. The embodiment of the present invention does not need to separately construct a data transmission relationship between the vehicle-mounted application data and the data interface corresponding to the vehicle-mounted function processor to be called each time the vehicle-mounted application is developed, thereby releasing the binding between the vehicle-mounted application data and the data interface corresponding to the vehicle-mounted function processor, and uniformly receiving the vehicle-mounted application data through the vehicle-mounted interface manager, thereby realizing the unification of the vehicle-mounted data communication access interface and facilitating the maintenance of the vehicle-mounted data communication access interface. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 It is a flow chart of an embodiment of a vehicle-mounted data communication method provided by the present invention;

[0026] Figure 2 It is a structural schematic diagram of an embodiment of a vehicle-mounted data communication device provided by the present invention. DETAILED DESCRIPTION

[0027] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0028] See also Figure 1 , is a flow chart of an embodiment of the vehicle-mounted data communication method provided by the present invention, the method includes steps S1 to S4, which are specifically as follows:

[0029] S1, obtaining vehicle application data;

[0030] Preferably, the acquiring of the in-vehicle application data comprises: acquiring the in-vehicle application data via an access interface; wherein the access interface is a unified interface for the in-vehicle interface manager to receive data.

[0031] Specifically, each access interface uses a unified communication protocol. Exemplarily, a specific embodiment of the access interface is an API interface (Application Program Interface). Data is uniformly received through the access interface of the vehicle interface manager, thereby realizing the unification of the vehicle data communication access interface and facilitating the maintenance of the vehicle data communication access interface.

[0032] S2, according to the acquired vehicle application data, searching for the corresponding bus network attribute from a preset interface routing table; wherein the interface routing table includes different vehicle application data and the bus network attribute and mapping interface parameters corresponding to each vehicle application data;

[0033] Preferably, the method of searching for corresponding bus network attributes from a preset interface routing table based on the acquired vehicle-mounted application data comprises: searching for corresponding bus network attributes from a preset interface routing table based on an interface identifier in the acquired vehicle-mounted application data; wherein the interface routing table also includes an interface identifier corresponding to each type of vehicle-mounted application data.

[0034] Specifically, the interface routing table is stored in the form of data using the XML (eXtensible Markup Language) format and is integrated into the system of the vehicle interface manager as a resource file.

[0035] Preferably, the data type of the interface identifier is a string, and the string of the interface identifier includes a package name, a class name, and a method name.

[0036] Specifically, the data type of the interface identifier is String, and the string of the interface identifier includes "package name-class name-method name", thereby ensuring that each interface identifier in the interface routing table is unique in the system of the vehicle interface manager, avoiding data conflicts within the system.

[0037] S3, according to the acquired vehicle application data, searching the interface routing table for corresponding mapping interface parameters;

[0038] Preferably, the step of searching for corresponding mapping interface parameters from the interface routing table based on the acquired vehicle-mounted application data comprises: searching for corresponding mapping interface parameters from the interface routing table based on the interface parameters to be converted in the acquired vehicle-mounted application data; wherein the interface routing table also includes interface parameters to be converted corresponding to each type of vehicle-mounted application data.

[0039] S4, according to the bus network properties obtained by the search, the mapping interface parameters obtained by the search and the acquired vehicle-mounted application data are sent to the corresponding bus communication processor, so that the bus communication processor calls the mapping interface corresponding to the mapping interface parameters obtained by the search, so as to send the acquired vehicle-mounted application data to the corresponding vehicle-mounted function processor, and enable the vehicle-mounted function processor to execute the function corresponding to the acquired vehicle-mounted application data.

[0040] Specifically, the acquired in-vehicle application data is sent to the corresponding in-vehicle function processor, and the in-vehicle function processor is enabled to execute the function corresponding to the in-vehicle application data, wherein the acquired in-vehicle application data includes in-vehicle applications developed by users, and each in-vehicle application needs to call the corresponding in-vehicle function processor on the vehicle to implement the corresponding vehicle-machine function, thereby realizing human-vehicle interaction; exemplarily, when the acquired in-vehicle application data includes playing specified audio content, the in-vehicle function processor related to audio playback is called to implement the audio playback function in the vehicle-machine.

[0041] Preferably, the bus communication processor comprises: a controller area network bus communication unit and a service-oriented architecture bus communication unit.

[0042] Preferably, before acquiring the vehicle-mounted application data, a file corresponding to the interface routing table is loaded row by row; wherein the file includes the data of the interface routing table.

[0043] Specifically, when a low-memory vehicle interface manager is used, the file corresponding to the interface routing table is loaded line by line, thereby effectively solving the problem that the low-memory vehicle interface manager cannot apply for a large memory, achieving the effect of trading time for space.

[0044] Correspondingly, an embodiment of the present invention further provides an in-vehicle data communication device, which is used to implement all the processes of the in-vehicle data communication method provided in the above embodiment.

[0045] See also Figure 2 , is a structural diagram of an embodiment of the vehicle-mounted data communication device provided by the present invention.

[0046] An embodiment of the present invention provides a vehicle-mounted data communication device, which is arranged in a vehicle-mounted interface manager and includes:

[0047] The vehicle-mounted application data acquisition module 101 is used to acquire vehicle-mounted application data;

[0048] Preferably, the vehicle-mounted application data acquisition module 101 is further used to: acquire the vehicle-mounted application data through an access interface; wherein the access interface is a unified interface for the vehicle-mounted interface manager to receive data.

[0049] Specifically, each access interface uses a unified communication protocol. Exemplarily, a specific embodiment of the access interface is an API interface (Application Program Interface). Data is uniformly received through the access interface of the vehicle interface manager, thereby realizing the unification of the vehicle data communication access interface and facilitating the maintenance of the vehicle data communication access interface.

[0050] The bus network attribute search module 102 is used to search for the corresponding bus network attribute from a preset interface routing table according to the acquired vehicle application data; wherein the interface routing table includes different vehicle application data and the bus network attribute and mapping interface parameters corresponding to each vehicle application data;

[0051] Preferably, the bus network attribute search module 102 is also used to: search for the corresponding bus network attribute from a preset interface routing table according to the interface identifier in the acquired vehicle-mounted application data; wherein the interface routing table also includes the interface identifier corresponding to each type of vehicle-mounted application data.

[0052] Specifically, the interface routing table is stored in the form of data using the XML (eXtensible Markup Language) format and is integrated into the system of the vehicle interface manager as a resource file.

[0053] Preferably, the data type of the interface identifier is a string, and the string of the interface identifier includes a package name, a class name, and a method name.

[0054] Specifically, the data type of the interface identifier is String, and the string of the interface identifier includes "package name-class name-method name", thereby ensuring that each interface identifier in the interface routing table is unique in the system of the vehicle interface manager, avoiding data conflicts within the system.

[0055] A mapping interface parameter search module 103 is used to search for corresponding mapping interface parameters from the interface routing table according to the acquired vehicle application data;

[0056] Preferably, the mapping interface parameter search module 103 is also used to: search for corresponding mapping interface parameters from the interface routing table according to the interface parameters to be converted in the acquired vehicle-mounted application data; wherein the interface routing table also includes the interface parameters to be converted corresponding to each type of vehicle-mounted application data.

[0057] The execution module 104 is used to send the found mapping interface parameters and the acquired vehicle-mounted application data to the corresponding bus communication processor according to the found bus network properties, so that the bus communication processor calls the mapping interface corresponding to the found mapping interface parameters to send the acquired vehicle-mounted application data to the corresponding vehicle-mounted function processor, and enables the vehicle-mounted function processor to execute the function corresponding to the acquired vehicle-mounted application data.

[0058] Specifically, the acquired in-vehicle application data is sent to the corresponding in-vehicle function processor, and the in-vehicle function processor is enabled to execute the function corresponding to the in-vehicle application data, wherein the acquired in-vehicle application data includes in-vehicle applications developed by users, and each in-vehicle application needs to call the corresponding in-vehicle function processor on the vehicle to implement the corresponding vehicle-machine function, thereby realizing human-vehicle interaction; exemplarily, when the acquired in-vehicle application data includes playing specified audio content, the in-vehicle function processor related to audio playback is called to implement the audio playback function in the vehicle-machine.

[0059] Preferably, the bus communication processor comprises: a controller area network bus communication unit and a service-oriented architecture bus communication unit.

[0060] Preferably, before acquiring the vehicle-mounted application data, a file corresponding to the interface routing table is loaded row by row; wherein the file includes the data of the interface routing table.

[0061] Specifically, when a low-memory vehicle interface manager is used, the file corresponding to the interface routing table is loaded line by line, thereby effectively solving the problem that the low-memory vehicle interface manager cannot apply for a large memory, achieving the effect of trading time for space.

[0062] In addition, an embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of the vehicle-mounted data communication method described in any of the above embodiments are implemented.

[0063] In addition, an embodiment of the present invention also provides a vehicle data communication system, including a vehicle interface manager, a bus communication processor and a vehicle function processor; the vehicle interface manager is used to execute the steps of the vehicle data communication method described in any of the above embodiments.

[0064] Through the description of the above implementation methods, those skilled in the art can clearly understand that the present invention can be implemented by means of software plus a necessary hardware platform, and of course can also be implemented entirely by hardware. Based on such an understanding, all or part of the contribution of the technical solution of the present invention to the background technology can be embodied in the form of a software product, and the computer software product can be stored in a storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present invention or certain parts of the embodiments.

[0065] In summary, the present invention has the following beneficial effects:

[0066] According to an embodiment of the present invention, the vehicle interface manager obtains vehicle application data; based on the obtained vehicle application data, searches for corresponding bus network attributes from a preset interface routing table; wherein the interface routing table includes different vehicle application data and bus network attributes and mapping interface parameters corresponding to each type of vehicle application data; based on the obtained vehicle application data, searches for corresponding mapping interface parameters from the interface routing table; based on the found bus network attributes, sends the found mapping interface parameters and the obtained vehicle application data to the corresponding bus communication processor, so that the bus communication processor calls the mapping interface corresponding to the found mapping interface parameters to send the obtained vehicle application data to the corresponding vehicle function processor, and enables the vehicle function processor to perform the function corresponding to the obtained vehicle application data. In particular, the vehicle interface manager uses an access interface as a unified interface for receiving data. The embodiment of the present invention does not need to separately construct a data transmission relationship between the vehicle-mounted application data and the data interface corresponding to the vehicle-mounted function processor to be called each time the vehicle-mounted application is developed, thereby releasing the binding between the vehicle-mounted application data and the data interface corresponding to the vehicle-mounted function processor, and uniformly receiving the vehicle-mounted application data through the vehicle-mounted interface manager, thereby realizing the unification of the vehicle-mounted data communication access interface and facilitating the maintenance of the vehicle-mounted data communication access interface.

[0067] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A vehicle-mounted data communication method, characterized in that: The method is performed by a low-memory vehicle interface manager, and the method includes: Obtain vehicle application data; According to the acquired vehicle application data, the corresponding bus network attribute is searched from a preset interface routing table; wherein the interface routing table includes different vehicle application data and the bus network attribute and mapping interface parameters corresponding to each vehicle application data; According to the acquired vehicle application data, the corresponding mapping interface parameters are searched from the interface routing table; According to the bus network attributes found, the found mapping interface parameters and the acquired vehicle application data are sent to the corresponding bus communication processor, so that the bus communication processor calls the mapping interface corresponding to the found mapping interface parameters to send the acquired vehicle application data to the corresponding vehicle function processor, and the vehicle function processor executes the function corresponding to the acquired vehicle application data; Before acquiring the vehicle-mounted application data, a file corresponding to the interface routing table is loaded row by row; wherein the file includes the data of the interface routing table.

2. The vehicle-mounted data communication method according to claim 1, characterized in that: The method of searching for corresponding bus network attributes from a preset interface routing table based on the acquired vehicle application data includes: According to the interface identifier in the acquired vehicle application data, the corresponding bus network attribute is searched from a preset interface routing table; wherein the interface routing table also includes the interface identifier corresponding to each type of vehicle application data.

3. The vehicle-mounted data communication method according to claim 2, characterized in that: The data type of the interface identifier is a string, and the string of the interface identifier includes a package name, a class name, and a method name.

4. The vehicle-mounted data communication method according to claim 1, characterized in that: The step of searching the interface routing table for corresponding mapping interface parameters according to the acquired vehicle application data includes: According to the interface parameters to be converted in the acquired vehicle-mounted application data, the corresponding mapping interface parameters are searched from the interface routing table; wherein the interface routing table also includes the interface parameters to be converted corresponding to each type of vehicle-mounted application data.

5. The vehicle-mounted data communication method according to claim 1, characterized in that: The obtaining of vehicle-mounted application data includes: The vehicle-mounted application data is obtained through an access interface; wherein the access interface is a unified interface for the vehicle-mounted interface manager to receive data.

6. The vehicle-mounted data communication method according to claim 1, characterized in that: The bus communication processor includes: a controller area network bus communication unit and a service-oriented architecture bus communication unit.

7. A vehicle-mounted data communication device, characterized in that: The device is arranged in a low-memory vehicle interface manager, and the device comprises: The vehicle-mounted application data acquisition module is used to acquire the vehicle-mounted application data; A bus network attribute search module is used to search for corresponding bus network attributes from a preset interface routing table according to the acquired vehicle application data; wherein the interface routing table includes different vehicle application data and bus network attributes and mapping interface parameters corresponding to each vehicle application data; A mapping interface parameter search module, used to search for corresponding mapping interface parameters from the interface routing table according to the acquired vehicle application data; an execution module, configured to send the found mapping interface parameters and the acquired vehicle-mounted application data to a corresponding bus communication processor according to the found bus network attributes, so that the bus communication processor calls a mapping interface corresponding to the found mapping interface parameters to send the acquired vehicle-mounted application data to a corresponding vehicle-mounted function processor, and the vehicle-mounted function processor executes a function corresponding to the acquired vehicle-mounted application data; Before acquiring the vehicle-mounted application data, a file corresponding to the interface routing table is loaded row by row; wherein the file includes the data of the interface routing table.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the vehicle data communication method according to any one of claims 1 to 6 are implemented.

9. A vehicle-mounted data communication system, characterized in that: It comprises an on-board interface manager, a bus communication processor and an on-board function processor; the on-board interface manager is used to execute the on-board data communication method as claimed in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Vehicle-mounted application cross-hardware platform based on virtualization technology

    CN111045646A

  • Method and apparatus for uniform access of onboard devices

    US20150191175A1