Method for processing vehicle data, in-vehicle infotainment system, vehicle and storage medium

By introducing a plug-in management module and a data receiving module into the vehicle-machine system, the data conversion plug-in is called on demand to convert vehicle-mounted device data into SenML data, which solves the problem of memory usage and general usage when the vehicle-machine system processes diverse vehicle-mounted device data. sexual problems, achieving flexible processing and accurate conversion, and reducing maintenance costs.

CN118540387APending Publication Date: 2024-08-23GREAT WALL MOTOR CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410664878.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-27
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

When existing vehicle-mounted systems process data from different vehicle-mounted devices, they need to continuously expand applications, resulting in large memory usage and poor program versatility, and cannot flexibly cope with diverse vehicle-mounted device data.

Method used

By introducing a plug-in management module and a data receiving module into the vehicle system, the data conversion plug-in corresponding to the vehicle device is called on demand, the original device data is converted into SenML data, and the plug-in is dynamically loaded from the cloud platform when needed to avoid unnecessary Memory usage.

Benefits of technology

It reduces the amount of development of vehicle system applications, increases code reuse rate, enables flexible processing and accurate conversion of data from different vehicle-mounted devices, and reduces maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118540387A
    Figure CN118540387A
Patent Text Reader

Abstract

The invention provides a method for processing vehicle data, a vehicle machine system, a vehicle and a storage medium, the method is applied to the field of vehicle data processing, and the method comprises the following steps: in response to a data packet sent by target vehicle-mounted equipment, calling a target data conversion plug-in corresponding to the target vehicle-mounted equipment, the data packet comprises original equipment data used for describing the operation state of the target vehicle-mounted equipment, and the target data conversion plug-in is used for performing format conversion on the original equipment data; based on the target data conversion plug-in, converting the original equipment data to obtain SenML data; and locally displaying the SenML data, and / or sending the SenML data to a cloud platform, so that the cloud platform analyzes and processes the SenML data. According to the method, the data conversion plug-in corresponding to the vehicle-mounted equipment can be called as required, the data sent by the vehicle-mounted equipment is converted into the data which can be received by the cloud platform, an application program of the vehicle-mounted equipment system does not need to be expanded, the development amount of the application program of the vehicle-mounted equipment system is reduced, and the code reuse rate is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle data processing, and more specifically, to a method for processing vehicle data, a vehicle system, a vehicle and a storage medium in the field of vehicle data processing. Background Art

[0002] With the continuous development of Internet of Vehicles technology, the level of intelligence of vehicles is getting higher and higher. With the increase of vehicle intelligence, the number of on-board devices in vehicles is also increasing. Currently, common on-board devices include smart water cups and child seats.

[0003] During the operation of the on-board equipment, in order to facilitate the cloud platform to monitor and analyze the operating status of the on-board equipment, the on-board equipment can send its own operating data to the cloud platform through the vehicle computer system in the vehicle.

[0004] In one possible implementation, when the vehicle-mounted device sends operating data to the vehicle-mounted system, it usually sends the operating data to the vehicle-mounted system in accordance with the private protocol of the vehicle-mounted device, which does not conform to the format of the data received by the cloud platform. Since different vehicle-mounted devices correspond to different private protocols, the vehicle-mounted system needs to continuously expand the application control program to connect to different types of vehicle-mounted devices in order to send the operating data of the vehicle-mounted devices to the cloud platform. The above process results in too many applications in the vehicle-mounted system occupying a large amount of memory space, and the program versatility is poor. Summary of the invention

[0005] The present application provides a method for processing vehicle data, a vehicle system, a vehicle and a storage medium. The method can call the data conversion plug-in corresponding to the vehicle-mounted device on demand to convert the data sent by the vehicle-mounted device into data that can be received by the cloud platform. There is no need to expand the vehicle system application, reduce the development volume of the vehicle system application, and improve the code reuse rate.

[0006] In a first aspect, a method for processing vehicle data is provided, the method being executed by a vehicle-mounted system, the vehicle-mounted system being communicatively connected to a target vehicle-mounted device, the vehicle-mounted system comprising a plug-in management module and a data receiving module, the method comprising: the plug-in management module, in response to a data packet sent by the target vehicle-mounted device, calling a target data conversion plug-in corresponding to the target vehicle-mounted device, the data packet comprising original device data for describing an operating status of the target vehicle-mounted device, the target data conversion plug-in being used to perform format conversion on the original device data; the plug-in management module converts the original device data based on the target data conversion plug-in to obtain SenML data corresponding to the original device data; the plug-in management module sends the SenML data to the data receiving module so that the data receiving module displays the SenML data locally, and / or sends the SenML data to a cloud platform so that the cloud platform analyzes and processes the SenML data.

[0007] In the above technical solution, a method for processing vehicle data is proposed, which is specifically applied to a vehicle-mounted system, and the vehicle-mounted system includes a plug-in management module and a data receiving module. Among them, the plug-in management module can respond to the data packet sent by the target vehicle-mounted device and call the target data conversion plug-in corresponding to the target vehicle-mounted device, and the plug-in can convert the format of the original device data in the data packet. Further, the plug-in management module converts the original device data based on the target data conversion plug-in to obtain the sensor markup language (Sensor Markup Language, SenML) data corresponding to the original device data. The above process can be performed by calling the corresponding plug-in when the original device data of the vehicle-mounted device needs to be converted, without changing the core program of the vehicle-mounted system. In addition, in this application, the data conversion function of each vehicle-mounted device is encapsulated as an independent plug-in, which helps to realize the modularization of the vehicle-mounted system, facilitates the maintenance and upgrade of the vehicle-mounted system, and reduces the maintenance cost of the vehicle-mounted system. The data conversion plug-in can be dynamically loaded according to the different vehicle-mounted devices, which is conducive to saving the memory of the vehicle-mounted system. Finally, the plug-in management module displays the converted SenML data through the data receiving module or sends it to the cloud platform for analysis and processing. On the one hand, it enables users to quickly understand the current operating status of the vehicle-mounted equipment. On the other hand, it enables the cloud platform to control the target vehicle-mounted equipment in a timely manner according to the data sent by the target vehicle-mounted equipment.

[0008] In combination with the first aspect, in some possible implementations, the plug-in management module calls the target data conversion plug-in corresponding to the target vehicle-mounted device in response to the data packet sent by the target vehicle-mounted device, including: determining the target data interface used to send the data packet in response to the data packet; and calling the target data conversion plug-in according to the target data interface.

[0009] In the above technical solution, when calling the target data conversion plug-in, different on-board devices usually need to send and receive data through a fixed interface when they need to communicate with the vehicle system. Therefore, after the vehicle system receives the data packet, it can determine which specific interface receives the data packet. After determining the target data interface, since the data interface and data conversion plug-in of each on-board device are unique. Therefore, the plug-in management module can call the target data conversion plug-in according to the target data interface. The above process can flexibly respond to the diverse data of different on-board devices, and only calls the corresponding target data conversion plug-in when needed. It is an on-demand loading mechanism that avoids unnecessary memory usage of the vehicle system.

[0010] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, calling the target data conversion plug-in according to the target data interface includes: determining the plug-in identifier of the target data conversion plug-in according to the target data interface, and the plug-in identifier is used to represent the identity information of the target data conversion plug-in; according to the plug-in identifier, calling the target data conversion plug-in from multiple data conversion plug-ins stored in the plug-in management module or from the cloud platform.

[0011] In the above technical solution, the plug-in identifier is obtained through the target data interface, and then the target data conversion plug-in is called through the plug-in identifier, which can ensure the accuracy and uniqueness of the target data conversion plug-in call and ensure the accuracy of this application in the data conversion process.

[0012] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the target data conversion plug-in is called from multiple data conversion plug-ins stored in the plug-in management module or from the cloud platform according to the plug-in identifier, including: judging whether there is a data conversion plug-in corresponding to the plug-in identifier among the multiple data conversion plug-ins according to the plug-in identifier; if there is a data conversion plug-in corresponding to the plug-in identifier among the multiple data conversion plug-ins, obtaining the current version identifier of the data conversion plug-in corresponding to the plug-in identifier, and the current version identifier is used to indicate the current version information of the data conversion plug-in corresponding to the plug-in identifier; judging whether the current version identifier is the latest version identifier; if the current version identifier is the latest version identifier, determining that the target data conversion plug-in is the data conversion plug-in corresponding to the plug-in identifier and calling the data conversion plug-in corresponding to the plug-in identifier; if the current version identifier is not the latest version identifier, calling the target data conversion plug-in from the cloud platform according to the plug-in identifier; if there is no data conversion plug-in corresponding to the plug-in identifier among the multiple data conversion plug-ins, calling the target data conversion plug-in from the cloud platform according to the plug-in identifier.

[0013] In the above technical solution, several different methods of calling the target data conversion plug-in are proposed. The first is to first determine whether there is a data conversion plug-in corresponding to the plug-in identifier among the multiple data conversion plug-ins stored locally in the plug-in management module. If it exists, it is determined whether the current version identifier of the local data conversion plug-in is the latest version identifier. If the current version identifier is the latest version identifier, the data conversion plug-in local to the current plug-in management module is determined as the target data conversion plug-in and called; if the current version identifier is not the latest version identifier or the data conversion plug-in corresponding to the plug-in identifier does not exist locally in the plug-in management module, the target data conversion plug-in is called from the cloud platform according to the plug-in identifier. The above process can ensure that the plug-in management module always ultimately calls the latest version of the target data conversion plug-in, avoiding the problem of data conversion failure caused by calling a data conversion plug-in with a lower version.

[0014] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the determination of whether the current version identifier is the latest version identifier includes: generating a version identifier query request based on the plug-in identifier, the version identifier query request being used to request to obtain the latest version identifier from the cloud platform; in response to the latest version identifier sent by the cloud platform, determining whether the current version identifier is consistent with the latest version identifier.

[0015] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, before the plug-in management module converts the original device data based on the target data conversion plug-in, the method also includes: parsing the data packet based on the network protocol encapsulated in the target data conversion plug-in, and determining the data payload field in the data packet; and obtaining the original device data based on the data payload field.

[0016] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the method also includes: the data receiving module responds to the SenML instruction corresponding to the target vehicle-mounted device sent by the cloud platform, and sends the SenML instruction to the plug-in management module; the plug-in management module converts the SenML instruction based on the target data conversion plug-in to obtain the original device instruction; the plug-in management module sends the original device instruction to the target vehicle-mounted device, so that the target vehicle-mounted device adjusts the operating state of the target vehicle-mounted device according to the original device instruction.

[0017] In the above technical solution, a reverse process of data conversion is proposed, that is, after the cloud platform sends the SenML instruction, the plug-in management module can also convert the SenML instruction into the original device instruction and send it to the target vehicle-mounted device to adjust the operating status of the target vehicle-mounted device.

[0018] In a second aspect, a device for processing vehicle data is provided, which is applied to a vehicle-mounted system, and the device includes: a plug-in calling module, which is used to call a target data conversion plug-in corresponding to the target vehicle-mounted device in response to a data packet sent by the target vehicle-mounted device, wherein the data packet includes original device data for describing the operating status of the target vehicle-mounted device, and the target data conversion plug-in is used to convert the format of the original device data; a data conversion module, which is used to convert the original device data based on the target data conversion plug-in to obtain SenML data corresponding to the original device data; a data sending module, which is used to send the SenML data to the data receiving module so that the data receiving module displays the SenML data locally, and / or, send the SenML data to a cloud platform so that the cloud platform analyzes and processes the SenML data.

[0019] In conjunction with the second aspect, in some possible implementations, the plug-in calling module is specifically used to: determine a target data interface for sending the data packet in response to the data packet; and call the target data conversion plug-in according to the target data interface.

[0020] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the plug-in calling module is also used to: determine the plug-in identifier of the target data conversion plug-in according to the target data interface, and the plug-in identifier is used to represent the identity information of the target data conversion plug-in; according to the plug-in identifier, call the target data conversion plug-in from multiple data conversion plug-ins stored in the plug-in management module or from the cloud platform.

[0021] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the plug-in calling module is also used to: determine whether there is a data conversion plug-in corresponding to the plug-in identifier among the multiple data conversion plug-ins based on the plug-in identifier; if there is a data conversion plug-in corresponding to the plug-in identifier among the multiple data conversion plug-ins, obtain the current version identifier of the data conversion plug-in corresponding to the plug-in identifier, and the current version identifier is used to indicate the current version information of the data conversion plug-in corresponding to the plug-in identifier; determine whether the current version identifier is the latest version identifier; if the current version identifier is the latest version identifier, determine that the target data conversion plug-in is the data conversion plug-in corresponding to the plug-in identifier and call the data conversion plug-in corresponding to the plug-in identifier; if the current version identifier is not the latest version identifier, call the target data conversion plug-in from the cloud platform based on the plug-in identifier; if there is no data conversion plug-in corresponding to the plug-in identifier among the multiple data conversion plug-ins, call the target data conversion plug-in from the cloud platform based on the plug-in identifier.

[0022] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the plug-in calling module is also used to: generate a version identification query request based on the plug-in identification, and the version identification query request is used to request to obtain the latest version identification from the cloud platform; in response to the latest version identification sent by the cloud platform, determine whether the current version identification is consistent with the latest version identification.

[0023] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, before converting the original device data based on the target data conversion plug-in, the device also includes: a data determination module, which is used to parse the data packet based on the network protocol encapsulated in the target data conversion plug-in, and determine the data load field in the data packet; according to the data load field, obtain the original device data.

[0024] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the device also includes: an instruction conversion module, which is used to respond to the SenML instruction corresponding to the target vehicle-mounted device sent by the cloud platform, and send the SenML instruction to the plug-in management module; based on the target data conversion plug-in, convert the SenML instruction to obtain the original device instruction; send the original device instruction to the target vehicle-mounted device, so that the target vehicle-mounted device adjusts the operating state of the target vehicle-mounted device according to the original device instruction.

[0025] According to a third aspect, a vehicle-mounted system is provided, which is communicatively connected with a target vehicle-mounted device, and includes a plug-in management module and a data receiving module: the plug-in management module is used to call a target data conversion plug-in corresponding to the target vehicle-mounted device in response to a data packet sent by the target vehicle-mounted device, wherein the data packet includes original device data for describing the operating status of the target vehicle-mounted device, and the target data conversion plug-in is used to perform format conversion on the original device data; the plug-in management module is also used to convert the original device data based on the target data conversion plug-in to obtain SenML data corresponding to the original device data; the plug-in management module is also used to send the SenML data to the data receiving module so that the data receiving module displays the SenML data locally, and / or send the SenML data to a cloud platform so that the cloud platform analyzes and processes the SenML data.

[0026] In combination with the third aspect, in some possible implementations, the plug-in management module is specifically used to: determine a target data interface for sending the data packet in response to the data packet; and call the target data conversion plug-in according to the target data interface.

[0027] In combination with the third aspect and the above-mentioned implementation methods, in some possible implementation methods, the plug-in management module is also used to: determine the plug-in identifier of the target data conversion plug-in based on the target data interface, and the plug-in identifier is used to represent the identity information of the target data conversion plug-in; based on the plug-in identifier, call the target data conversion plug-in from multiple data conversion plug-ins stored in the plug-in management module or from the cloud platform.

[0028] In combination with the third aspect and the above-mentioned implementation methods, in some possible implementation methods, the plug-in management module is also used to: determine whether there is a data conversion plug-in corresponding to the plug-in identifier among the multiple data conversion plug-ins based on the plug-in identifier; if there is a data conversion plug-in corresponding to the plug-in identifier among the multiple data conversion plug-ins, obtain the current version identifier of the data conversion plug-in corresponding to the plug-in identifier, and the current version identifier is used to indicate the current version information of the data conversion plug-in corresponding to the plug-in identifier; determine whether the current version identifier is the latest version identifier; if the current version identifier is the latest version identifier, determine that the target data conversion plug-in is the data conversion plug-in corresponding to the plug-in identifier and call the data conversion plug-in corresponding to the plug-in identifier; if the current version identifier is not the latest version identifier, call the target data conversion plug-in from the cloud platform based on the plug-in identifier; if there is no data conversion plug-in corresponding to the plug-in identifier among the multiple data conversion plug-ins, call the target data conversion plug-in from the cloud platform based on the plug-in identifier.

[0029] In combination with the third aspect and the above-mentioned implementation methods, in some possible implementation methods, the plug-in management module is also used to: generate a version identification query request based on the plug-in identification, and the version identification query request is used to request to obtain the latest version identification from the cloud platform; in response to the latest version identification sent by the cloud platform, determine whether the current version identification is consistent with the latest version identification.

[0030] In combination with the third aspect and the above-mentioned implementation methods, in some possible implementation methods, before the plug-in management module converts the original device data based on the target data conversion plug-in, the plug-in management module is also used to: parse the data packet based on the network protocol encapsulated in the target data conversion plug-in, and determine the data payload field in the data packet; and obtain the original device data based on the data payload field.

[0031] In combination with the third aspect and the above-mentioned implementation methods, in some possible implementation methods, the data receiving module is also used to respond to the SenML instruction corresponding to the target vehicle-mounted device sent by the cloud platform, and send the SenML instruction to the plug-in management module; the plug-in management module is also used to convert the SenML instruction based on the target data conversion plug-in to obtain the original device instruction; the plug-in management module is also used to send the original device instruction to the target vehicle-mounted device, so that the target vehicle-mounted device adjusts the operating state of the target vehicle-mounted device according to the original device instruction.

[0032] In a fourth aspect, a vehicle is provided, the vehicle comprising a vehicle system for executing the method in the first aspect or any possible implementation of the first aspect, the vehicle system comprising a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, so that the vehicle system executes the method in the first aspect or any possible implementation of the first aspect.

[0033] In a fifth aspect, a computer program product is provided, which includes: a computer program code, which, when executed on a computer, enables the computer to execute the method in the first aspect or any possible implementation of the first aspect.

[0034] In a sixth aspect, a computer-readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the method in the above-mentioned first aspect or any possible implementation manner of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 It is a schematic diagram of a scenario of operation of a vehicle-mounted device provided in an embodiment of the present application;

[0036] Figure 2 It is a structural schematic diagram of a vehicle system provided by an embodiment of the present application;

[0037] Figure 3 is a schematic flow chart of a method for processing vehicle data provided in an embodiment of the present application;

[0038] Figure 4 is a schematic flow chart of another method for processing vehicle data provided in an embodiment of the present application;

[0039] Figure 5 is a structural schematic diagram of a device for processing vehicle data provided by an embodiment of the present application;

[0040] Figure 6It is a structural schematic diagram of a vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION

[0041] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0042] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.

[0043] Figure 1 It is a schematic diagram of a scenario of operation of a vehicle-mounted device provided in an embodiment of the present application.

[0044] For example, Figure 1 As shown, the smart water cup 101 is a smart vehicle-mounted water cup installed in a vehicle. It can integrate multiple practical functions and can respond to user needs during driving, so that the user can drink water at a suitable temperature at any time.

[0045] For example, when using the smart water cup 101 , the user can set the water heating temperature or insulation temperature according to personal preference through the smart temperature control system of the smart water cup 101 .

[0046] Another exemplary example is Figure 1 As shown, when the smart water cup 101 has a matching application software, the user can also remotely adjust the heating temperature or insulation mode of the smart water cup 101 through the application software installed in the smart device 102. In this case, after the user adjusts the temperature in the interface of the smart device 102, the smart device 102 can send the user's configuration to the vehicle's data management platform (i.e. Figure 1 The cloud platform 103 shown in the figure) generates corresponding control instructions based on the user's configuration and finally sends them to the smart water cup 101, so that the smart water cup 101 adjusts the temperature or insulation mode according to the instructions.

[0047] The user can control and adjust the state of the smart water cup 101 by any of the above methods.

[0048] like Figure 1As shown, the smart water cup 101 can be connected to the cloud platform 103 through the vehicle. Based on this, during the operation, the smart water cup 101 can send its own working parameters to the cloud platform 103 through the vehicle for monitoring, analysis and processing by the cloud platform 103.

[0049] In a possible implementation, generally, a vehicle telematics box (T-Box) is integrated into the vehicle system. The T-Box can realize the communication process between the vehicle and the cloud platform 103. The smart water cup 101 can be connected to the vehicle system through a data interface to send its own operating data to the vehicle system through the data interface, and further forwarded to the cloud platform 103 through the vehicle system.

[0050] In the above process, when the smart cup 101 sends its own working parameters to the vehicle system, it usually complies with the private protocol corresponding to the smart cup 101, which does not conform to the format of data received by the cloud platform 103. Different vehicle-mounted devices correspond to different private protocols.

[0051] In the prior art, when the vehicle system receives data from different vehicle devices, it needs to continuously expand the application control program to connect to different types of vehicle devices so as to send the operation data of the vehicle devices to the cloud platform. The above process results in too many applications of the vehicle system occupying a large amount of memory space, and the program versatility is poor.

[0052] Based on the above problems, an embodiment of the present application provides a method for processing vehicle data. The method can call the data conversion plug-in corresponding to the vehicle-mounted device on demand to convert the data sent by the vehicle-mounted device into data that can be received by the cloud platform. There is no need to expand the vehicle system application, reduce the development amount of the vehicle system application, and improve the code reuse rate.

[0053] It should be understood that the method provided in the embodiment of the present application is specifically applied to a vehicle system in a vehicle for realizing data forwarding. Before introducing the method in the embodiment of the present application, the structure and working principle of a vehicle system provided in the embodiment of the present application are first introduced.

[0054] Figure 2 It is a structural schematic diagram of a vehicle system provided in an embodiment of the present application.

[0055] For example, Figure 2 As shown, the vehicle system 200 is divided according to functions, and the vehicle system 200 specifically includes a plug-in management module 201 and a data receiving module 202 .

[0056] In the embodiment of the present application, before the vehicle system 200 receives data sent by multiple vehicle devices, the multiple vehicle devices can first be connected to the vehicle system 200 through their corresponding data interfaces, specifically connected to the plug-in management module 201 in the vehicle system 200. Figure 2 As shown, the vehicle-mounted device 1 can be connected to the plug-in management module 201 through the data interface 1, the vehicle-mounted device 2 can be connected to the plug-in management module 201 through the data interface 2, and the vehicle-mounted device 3 can be connected to the plug-in management module 201 through the data interface 3.

[0057] Optionally, the data interface includes but is not limited to a Universal Serial Bus (USB) interface, a Bluetooth interface, an Ethernet interface, a High Definition Multimedia Interface (HDMI), a Wireless Fidelity (WiFi) interface, etc. The embodiments of the present application do not limit the specific type of the interface.

[0058] Since different vehicle-mounted devices correspond to different data interfaces, different vehicle-mounted devices comply with different network protocols when sending their own working parameters to the vehicle-mounted system 200 .

[0059] For example, Figure 2 As shown, taking the vehicle-mounted device 1 as an example, during operation, the vehicle-mounted device 1 can send the working parameters of the vehicle-mounted device 1 to the plug-in management module 201 through the network protocol corresponding to the data interface 1 .

[0060] In response to the working parameters, the plug-in management module 201 can call the data conversion plug-in corresponding to the vehicle-mounted device 1 to convert the working parameters sent by the vehicle-mounted device 1 into data in a preset format through the data conversion plug-in. In the embodiment of the present application, the data in the preset format is specifically SenML data.

[0061] SenML is a lightweight Extensible Markup Language (XML)-style data format used to describe sensor data. It allows sensor data to be exchanged between different devices and services in a unified manner, making it easy to parse and process. A SenML data packet usually contains " <n>Name, the name of the sensor or data stream" and <v>The actual sensor measurement value".

[0062] After obtaining the SenML data, the plug-in management module 201 may further send the SenML data to the data receiving module 202 .

[0063] On the one hand, the data receiving module 202 can display the SenML data locally on the vehicle side so that the user can understand the current operation status of the vehicle-mounted equipment; on the other hand, the SenML data can also be sent to the cloud platform 103 so that the cloud platform 103 can analyze and process the SenML data in time to realize the regulation of the vehicle-mounted equipment.

[0064] After introducing the structure and working principle of the vehicle system in the embodiment of the present application, a method for processing vehicle data provided by the embodiment of the present application is introduced below.

[0065] Figure 3 is a schematic flow chart of a method for processing vehicle data provided by an embodiment of the present application. It should be understood that the method can be applied to Figure 2 The vehicle system 200 shown in FIG. Figure 2 As shown, the vehicle system 200 includes a plug-in management module 201 and a data receiving module 202 .

[0066] For example, Figure 3 As shown, the method 300 includes:

[0067] 301, the plug-in management module calls the target data conversion plug-in corresponding to the target vehicle-mounted device in response to the data packet sent by the target vehicle-mounted device, the data packet includes original device data for describing the operating status of the target vehicle-mounted device, and the target data conversion plug-in is used to convert the format of the original device data.

[0068] For example, Figure 2 As shown, step 301 is specifically executed by the plug-in management module 201 in the vehicle system 200 .

[0069] During the operation of the vehicle-mounted equipment in the vehicle, the vehicle-mounted equipment corresponds to a variety of working parameters. Taking the vehicle-mounted equipment as a smart water cup as an example, the working parameters include the current temperature of the smart water cup and the working mode of the smart water cup (such as heating mode or insulation mode). The working parameters of the above-mentioned vehicle-mounted equipment can be regarded as the original equipment data of the vehicle-mounted equipment, specifically referring to the initial data of the vehicle-mounted equipment before data conversion.

[0070] Exemplarily, the target vehicle-mounted device is any vehicle-mounted device in the vehicle. The target vehicle-mounted device can collect raw device data through various sensors or various status switches integrated in itself, and further send the raw device data to the plug-in management module, so that the plug-in management module performs data conversion, and sends the converted data to the cloud platform or displays it locally.

[0071] Specifically, when the target vehicle-mounted device sends original device data to the vehicle computer system, the original device data is generally packaged and sent to the plug-in management module in the form of a data packet.

[0072] After the plug-in management module receives the data packet sent by the target vehicle-mounted device, in order to realize the data conversion process, the plug-in management module can call the corresponding target data conversion plug-in to parse the data packet, first obtain the original device data, and then further convert the data to obtain SenML data.

[0073] Among them, in the embodiment of the present application, the network protocols and data conversion functions of various vehicle-mounted devices can be pre-packaged into a data conversion plug-in to obtain a data conversion plug-in library and store it in the cloud platform.

[0074] In the above technical solution, storing the data conversion plug-in library on the cloud platform can save memory consumption on the vehicle side, and the vehicle side can call the currently required data conversion plug-in from the cloud platform on demand.

[0075] Table 1 is a schematic table of original equipment data provided in an embodiment of the present application.

[0076] Table 1

[0077]

[0078]

[0079] Exemplarily, as shown in Table 1, after the target vehicle-mounted device collects the specific values ​​of the above-mentioned fan status, current heating status, heating switch status and power supply mode (i.e., original device data), when it needs to send it to the vehicle system, the target vehicle-mounted device can package (or encapsulate) the above-mentioned original device data based on its own corresponding network protocol to obtain a data packet.

[0080] The data encapsulation process can be understood as the encapsulation process of the original device data before transmission, which can ensure that the original device data is effectively transmitted from the application layer to the physical layer and finally sent out.

[0081] Taking the data interface of the target vehicle-mounted device as a WiFi interface as an example, the network protocols corresponding to the WiFi interface include multiple protocols from the application layer to the physical layer. Specifically, at the application layer, the protocols included are Hyper Text Transfer Protocol (HTTP), File Transfer Protocol (FTP), Message Queuing Telemetry Transport (MQTT), etc. At the transport layer, the protocols included are Transmission Control Protocol (TCP), User Datagram Protocol (UDP), etc. At the network layer, the protocols included are Internet Protocol (IP), etc.

[0082] Therefore, through the different protocol requirements under the above-mentioned different layers, the target vehicle-mounted device can encapsulate the original device data, obtain the data packet and send it to the plug-in management module.

[0083] After receiving the data packet, the plug-in management module can call the target data conversion plug-in based on the current data packet, because there is a one-to-one correspondence between the vehicle-mounted device and the data conversion plug-in.

[0084] Specifically, when the target vehicle-mounted device sends a data packet to the vehicle-mounted system, it is implemented through the data interface connected between the target vehicle-mounted device and the vehicle-mounted system. Therefore, when calling the target data conversion plug-in, the plug-in management module can be implemented through the data interface.

[0085] In a possible implementation, the plug-in management module calls the target data conversion plug-in corresponding to the target vehicle-mounted device in response to the data packet sent by the target vehicle-mounted device, including:

[0086] In response to the data packet, determining a target data interface for transmitting the data packet;

[0087] According to the target data interface, call the target data conversion plug-in.

[0088] As mentioned above, different vehicle-mounted devices have different corresponding data interfaces when connected to the vehicle computer system. After receiving a data packet sent by a target vehicle-mounted device, the plug-in management module can identify the target data interface corresponding to the data packet.

[0089] Exemplarily, for each data interface on the vehicle system, the state of the data interface is different when the target vehicle device sends data and does not send data. Optionally, the state of the data interface includes active, idle or standby state. When the target vehicle device sends data, the state of the data interface is active; when the target vehicle device does not send data, the state of the data interface is idle or standby.

[0090] The plug-in management module can detect which data interface is in an active state by acquiring the state of the data interface, thereby determining the target data interface corresponding to the currently acquired data packet.

[0091] After obtaining the target data interface, the plug-in management module can call the target data conversion plug-in due to the one-to-one correspondence between the target vehicle-mounted device, the target data interface and the target data conversion plug-in.

[0092] In the above technical solution, when calling the target data conversion plug-in, different on-board devices usually need to send and receive data through a fixed interface when they need to communicate with the vehicle system. Therefore, after the vehicle system receives the data packet, it can determine which specific interface receives the data packet. After determining the target data interface, since the data interface and data conversion plug-in of each on-board device are unique. Therefore, the plug-in management module can call the target data conversion plug-in according to the target data interface. The above process can flexibly respond to the diverse data of different on-board devices, and only calls the corresponding target data conversion plug-in when needed. It is an on-demand loading mechanism that avoids unnecessary memory usage of the vehicle system.

[0093] Specifically, the plug-in management module may first obtain the corresponding plug-in identifier through the target data interface, and then further call the target data conversion plug-in.

[0094] In a possible implementation, calling the target data conversion plug-in according to the target data interface includes:

[0095] Determine a plug-in identifier of a target data conversion plug-in according to a target data interface, where the plug-in identifier is used to represent identity information of the target data conversion plug-in;

[0096] According to the plug-in identifier, the target data conversion plug-in is called from multiple data conversion plug-ins stored in the plug-in management module or from the cloud platform.

[0097] It should be understood that based on the one-to-one correspondence between the target vehicle-mounted device, the target data interface and the target data conversion plug-in, in an embodiment of the present application, the correspondence between multiple groups of data interfaces corresponding to different vehicle-mounted devices and multiple plug-in identifiers can be pre-stored in the plug-in management module.

[0098] After obtaining the target data interface, the plug-in management module can obtain the corresponding plug-in identifier, that is, the plug-in identifier of the target data conversion plug-in, by looking up the table according to the target data interface. The plug-in identifier can be understood as the unique identity information of the target data conversion plug-in.

[0099] After obtaining the plug-in identifier, the plug-in management module can call the target data conversion plug-in from the local end or the cloud platform.

[0100] In the above technical solution, the plug-in identifier is obtained through the target data interface, and then the target data conversion plug-in is called through the plug-in identifier, which can ensure the accuracy and uniqueness of the target data conversion plug-in call and ensure the accuracy of this application in the data conversion process.

[0101] Specifically, whether the plug-in management module calls the target data conversion plug-in from the local end or from the cloud platform depends on whether the target data conversion plug-in exists on the local end.

[0102] In a possible implementation, calling a target data conversion plug-in from a plurality of data conversion plug-ins stored in a plug-in management module or from a cloud platform according to the plug-in identifier includes:

[0103] According to the plug-in identifier, determining whether there is a data conversion plug-in corresponding to the plug-in identifier among the multiple data conversion plug-ins;

[0104] In the case where a data conversion plug-in corresponding to the plug-in identifier exists in multiple data conversion plug-ins, obtaining the current version identifier of the data conversion plug-in corresponding to the plug-in identifier, the current version identifier being used to indicate the current version information of the data conversion plug-in corresponding to the plug-in identifier; judging whether the current version identifier is the latest version identifier; in the case where the current version identifier is the latest version identifier, determining that the target data conversion plug-in is the data conversion plug-in corresponding to the plug-in identifier and calling the data conversion plug-in corresponding to the plug-in identifier; in the case where the current version identifier is not the latest version identifier, calling the target data conversion plug-in from the cloud platform according to the plug-in identifier;

[0105] When there is no data conversion plug-in corresponding to the plug-in identifier among the multiple data conversion plug-ins, the target data conversion plug-in is called from the cloud platform according to the plug-in identifier.

[0106] It should be understood that since the plug-in management module will also call data conversion plug-ins corresponding to different vehicle-mounted devices during the historical data conversion process, when the plug-in management module completes each call and does not delete the data conversion plug-in, the plug-in management module also stores multiple data conversion plug-ins.

[0107] Based on this, the plug-in management module can query whether there is a data conversion plug-in corresponding to the current plug-in identifier from multiple pre-stored data conversion plug-ins based on the plug-in identifier of the target data conversion plug-in.

[0108] It should also be understood that in order to ensure the accuracy of data conversion, the target data conversion plug-in in the embodiment of the present application is the latest version of the data conversion plug-in corresponding to the plug-in identifier.

[0109] When there is a data conversion plug-in corresponding to the plug-in identifier among multiple data conversion plug-ins, the plug-in management module can further obtain the current version identifier of the data conversion plug-in corresponding to the plug-in identifier on the current local end, and determine whether the current version identifier is the latest version identifier. The current version identifier indicates the version information of the data conversion plug-in on the current local end.

[0110] Specifically, for the latest version identifier, the plug-in management module can obtain it from the cloud platform.

[0111] In a possible implementation, determining whether the current version identifier is the latest version identifier includes:

[0112] Generate a version identification query request based on the plug-in identification, where the version identification query request is used to request the latest version identification from the cloud platform;

[0113] In response to the latest version identifier sent by the cloud platform, determine whether the current version identifier is consistent with the latest version identifier.

[0114] When it is necessary to obtain the latest version ID of the data conversion plug-in corresponding to the plug-in ID, since the cloud platform generally stores the data conversion plug-in with the latest version ID, the plug-in management module can generate a version ID query request based on the current plug-in ID to request to obtain the latest version ID of the plug-in version from the cloud platform.

[0115] In response to the request, the cloud platform may send the latest version identifier corresponding to the plug-in identifier to the plug-in management module, and the plug-in management module further compares the current version identifier with the latest version identifier to determine whether the two version identifiers are consistent.

[0116] Exemplarily, when determining whether the current version identifier is consistent with the latest version identifier, the plug-in management module can directly calculate the similarity between the strings corresponding to the two version identifiers. When the similarity is greater than or equal to the preset similarity, it means that the two version identifiers are consistent; when the similarity is less than the preset similarity, it means that the two version identifiers are inconsistent.

[0117] Thus, through the above process, the plug-in management module can determine whether the current version identifier is the latest version identifier.

[0118] In one case, when the plug-in management module determines that the current version identifier is the latest version identifier, the plug-in management module no longer needs to call from the cloud platform, and can directly determine the local data conversion plug-in as the target data conversion plug-in and call the local data conversion plug-in.

[0119] In another case, when the plug-in management module determines that the current version identifier is not the latest version identifier, it means that the target data conversion plug-in does not exist on the local side of the plug-in management module. Therefore, the plug-in management module needs to call the target data conversion plug-in from the cloud platform according to the plug-in identifier.

[0120] Specifically, when calling the target data conversion plug-in from the cloud platform, the plug-in management module can generate a data conversion plug-in call request based on the plug-in identifier and send it to the cloud platform. In response to the request, the cloud platform can send the target data conversion plug-in to the plug-in management module, thereby completing the process of calling the target data conversion plug-in from the cloud platform.

[0121] In the above technical solution, several different methods of calling the target data conversion plug-in are proposed. The first is to first determine whether there is a data conversion plug-in corresponding to the plug-in identifier among the multiple data conversion plug-ins stored locally in the plug-in management module. If it exists, it is determined whether the current version identifier of the local data conversion plug-in is the latest version identifier. If the current version identifier is the latest version identifier, the data conversion plug-in local to the current plug-in management module is determined as the target data conversion plug-in and called; if the current version identifier is not the latest version identifier or the data conversion plug-in corresponding to the plug-in identifier does not exist locally in the plug-in management module, the target data conversion plug-in is called from the cloud platform according to the plug-in identifier. The above process can ensure that the plug-in management module always ultimately calls the latest version of the target data conversion plug-in, avoiding the problem of data conversion failure caused by calling a data conversion plug-in with a lower version.

[0122] Thus, through the above step 301, the plug-in management module can call the target data conversion plug-in.

[0123] 302 , the plug-in management module converts the original device data based on the target data conversion plug-in to obtain SenML data corresponding to the original device data.

[0124] After calling the target data conversion plug-in in step 301, the plug-in management module can convert the original device data through the target data conversion plug-in to obtain the required SenML data.

[0125] Since the plug-in management module receives a data packet, the plug-in management module may first convert the plug-in based on the target data, parse the data packet, obtain the original device data, and then perform data conversion.

[0126] In a possible implementation, before the plug-in management module converts the original device data based on the target data conversion plug-in, the method further includes:

[0127] Based on the network protocol encapsulated in the target data conversion plug-in, the data packet is parsed to determine the data payload field in the data packet;

[0128] According to the data payload field, the original device data is obtained.

[0129] Exemplarily, the target data conversion plug-in encapsulates the network protocol corresponding to the target vehicle-mounted device. As shown in Table 1, the parsing process of the data packet is exactly the opposite of the encapsulation process of the data packet. After obtaining the target data conversion plug-in, the plug-in management module can parse the data packet layer by layer based on the network protocol, obtain the data payload field in the data packet, and analyze the meaning of the individual bits in the data to obtain the original device data, such as the several different types of data shown in Table 1, specifically the fan status, current heating status, heating switch status and power supply mode.

[0130] Furthermore, during the data conversion process, the target data conversion plug-in may convert the above-mentioned original device data into SenML data based on the format of SenML data.

[0131] The following is an example of SenML data corresponding to the original device data shown in Table 1.

[0132] [{"n":"fanStatus","v":true},

[0133] {"n":"heatStatus","v":false},

[0134] {"n":"heatSwitch","v":true},

[0135] {"n":"powerMode","v":0}]

[0136] Through the above process, the plug-in management module can obtain the SenML data after data conversion.

[0137] 303, the plug-in management module sends the SenML data to the data receiving module, so that the data receiving module displays the SenML data locally, and / or sends the SenML data to the cloud platform, so that the cloud platform analyzes and processes the SenML data.

[0138] For example, Figure 2 As shown, after obtaining the SenML data, the plug-in management module 201 can send the SenML data to the data receiving module 202 through the SenML message bus (not shown in the figure) in the vehicle system 200.

[0139] After receiving the SenML data, the data interface module 202 may forward the SenML data to the cloud platform 103 so that the cloud platform 103 performs analysis and processing.

[0140] After receiving the SenML data, the cloud platform 103 can analyze the user's drinking behavior habits according to multiple historical device data of the target vehicle-mounted device, and can provide drinking reminders to the user based on the user's drinking behavior habits.

[0141] In addition, in order to facilitate the users in the vehicle to understand and view, the data receiving module 202 can also display the SenML data on the display interface of the vehicle system for the users to browse.

[0142] In another scenario, an embodiment of the present application also provides a data reverse conversion process from a cloud platform to a target vehicle-mounted device.

[0143] In a possible implementation, the method further includes:

[0144] The data receiving module responds to the SenML instruction corresponding to the target vehicle-mounted device sent by the cloud platform, and sends the SenML instruction to the plug-in management module;

[0145] The plug-in management module converts the SenML instructions based on the target data conversion plug-in to obtain the original device instructions;

[0146] The plug-in management module sends the original device instruction to the target vehicle-mounted device, so that the target vehicle-mounted device adjusts the operating state of the target vehicle-mounted device according to the original device instruction.

[0147] Furthermore, after the cloud platform receives SenML data, if it needs to control the target vehicle-mounted device, the corresponding SenML instruction can be sent to the data receiving module. The data receiving module further sends the SenML instruction to the plug-in management module through the SenML message bus in the vehicle-mounted system. The plug-in management module calls the target data conversion plug-in to perform the inverse transformation process of the aforementioned data conversion on the SenML instruction to obtain the original device instruction, that is, the data format that the target vehicle-mounted device can receive, and further sends it to the target vehicle-mounted device through the target data interface, so that the target vehicle-mounted device can adjust the operating status of the target vehicle-mounted device according to the original device instruction.

[0148] In the above technical solution, a reverse process of data conversion is proposed, that is, after the cloud platform sends the SenML instruction, the plug-in management module can also convert the SenML instruction into the original device instruction and send it to the target vehicle-mounted device to adjust the operating status of the target vehicle-mounted device.

[0149] For ease of understanding, the following Figure 4 The process of the embodiment of the present application is described in detail.

[0150] Figure 4 It is a schematic flow chart of another method for processing vehicle data provided in an embodiment of the present application.

[0151] For example, Figure 4 As shown, the method 400 includes:

[0152] 401, the cloud platform receives multiple data conversion plug-ins sent by the smart terminal device.

[0153] 402, the target vehicle-mounted device sends a data packet to the vehicle computer system.

[0154] 403 , the vehicle computer system responds to the data packet and determines whether there is a target data conversion plug-in corresponding to the target vehicle-mounted device in the vehicle computer system.

[0155] When the target data conversion plug-in exists in the vehicle computer system, step 404 is executed;

[0156] When the target data conversion plug-in does not exist in the vehicle system, steps 405-407 are executed.

[0157] 404, when there is a target data conversion plug-in in the vehicle computer system, the data packet is parsed by the target data conversion plug-in to obtain the original device data.

[0158] 405 , the vehicle system generates a data conversion plug-in call request according to the plug-in identifier of the target data conversion plug-in, and sends it to the cloud platform.

[0159] 406 , the cloud platform sends the target data conversion plug-in to the vehicle system in response to the data conversion plug-in call request.

[0160] 407, parse the data packet through the target data conversion plug-in to obtain the original device data.

[0161] 408 , convert the original device data through the target data conversion plug-in to obtain SenML data.

[0162] 409, the vehicle system sends the SenML data to the cloud platform.

[0163] At 410, the vehicle computer system displays the SenML data locally.

[0164] The above steps 401-410 have the same inventive concept as steps 301-303 in method 300. Please refer to the introduction of steps 301-303 for details, which will not be repeated here.

[0165] Figure 5 It is a structural diagram of a device for processing vehicle data provided in an embodiment of the present application.

[0166] For example, Figure 5 As shown, the device is applied to a vehicle system, and the device 500 includes:

[0167] A plug-in calling module 501 is used to call a target data conversion plug-in corresponding to the target vehicle-mounted device in response to a data packet sent by the target vehicle-mounted device, wherein the data packet includes original device data for describing the operating state of the target vehicle-mounted device, and the target data conversion plug-in is used to perform format conversion on the original device data;

[0168] A data conversion module 502, configured to convert the original device data based on the target data conversion plug-in to obtain SenML data corresponding to the original device data;

[0169] The data sending module 503 is used to send the SenML data to the data receiving module so that the data receiving module displays the SenML data locally, and / or send the SenML data to the cloud platform so that the cloud platform analyzes and processes the SenML data.

[0170] In a possible implementation, the plug-in calling module 501 is specifically used to: determine, in response to the data packet, a target data interface for sending the data packet; and call the target data conversion plug-in according to the target data interface.

[0171] In one possible implementation, the plug-in calling module 501 is also used to: determine the plug-in identifier of the target data conversion plug-in based on the target data interface, and the plug-in identifier is used to represent the identity information of the target data conversion plug-in; based on the plug-in identifier, call the target data conversion plug-in from multiple data conversion plug-ins stored in the plug-in management module or from the cloud platform.

[0172] In a possible implementation, the plug-in calling module 501 is also used to: determine, based on the plug-in identifier, whether there is a data conversion plug-in corresponding to the plug-in identifier among the multiple data conversion plug-ins; if there is a data conversion plug-in corresponding to the plug-in identifier among the multiple data conversion plug-ins, obtain the current version identifier of the data conversion plug-in corresponding to the plug-in identifier, and the current version identifier is used to indicate the current version information of the data conversion plug-in corresponding to the plug-in identifier; determine whether the current version identifier is the latest version identifier; if the current version identifier is the latest version identifier, determine that the target data conversion plug-in is the data conversion plug-in corresponding to the plug-in identifier and call the data conversion plug-in corresponding to the plug-in identifier; if the current version identifier is not the latest version identifier, call the target data conversion plug-in from the cloud platform based on the plug-in identifier; if there is no data conversion plug-in corresponding to the plug-in identifier among the multiple data conversion plug-ins, call the target data conversion plug-in from the cloud platform based on the plug-in identifier.

[0173] In one possible implementation, the plug-in calling module 501 is also used to: generate a version identification query request based on the plug-in identification, and the version identification query request is used to request to obtain the latest version identification from the cloud platform; in response to the latest version identification sent by the cloud platform, determine whether the current version identification is consistent with the latest version identification.

[0174] Optionally, before converting the original device data based on the target data conversion plug-in, the device also includes: a data determination module, used to parse the data packet based on the network protocol encapsulated in the target data conversion plug-in, and determine the data load field in the data packet; and obtain the original device data according to the data load field.

[0175] Optionally, the device also includes: an instruction conversion module, which is used to respond to the SenML instruction corresponding to the target vehicle-mounted device sent by the cloud platform, and send the SenML instruction to the plug-in management module; based on the target data conversion plug-in, convert the SenML instruction to obtain the original device instruction; send the original device instruction to the target vehicle-mounted device, so that the target vehicle-mounted device adjusts the operating state of the target vehicle-mounted device according to the original device instruction.

[0176] Figure 6 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application.

[0177] For example, Figure 6 As shown, combined Figure 2 The vehicle 600 includes a vehicle system 200, and the vehicle system 200 includes: a memory 601 and a processor 602, wherein the memory 601 stores an executable program code 6011, and the processor 602 is used to call and execute the executable program code 6011 to perform a method for processing vehicle data.

[0178] In addition, an embodiment of the present application also protects a device, which may include a memory and a processor, wherein the memory stores executable program code, and the processor is used to call and execute the executable program code to execute a method for processing vehicle data provided in an embodiment of the present application.

[0179] In this embodiment, the functional modules of the device can be divided according to the above method example. For example, each functional module can be corresponded, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0180] In the case of dividing each functional module according to each function, the device may also include a plug-in calling module, a data conversion module, a data sending module, etc. It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.

[0181] It should be understood that the device provided in this embodiment is used to execute the above-mentioned method for processing vehicle data, and thus can achieve the same effect as the above-mentioned implementation method.

[0182] In the case of an integrated unit, the device may include a processing module and a storage module. When the device is applied to a vehicle, the processing module may be used to control and manage the actions of the vehicle. The storage module may be used to support the vehicle in executing relevant program codes, etc.

[0183] The processing module may be a processor or a controller, which may implement or execute various exemplary logic blocks, modules and circuits shown in conjunction with the disclosure of the present application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module may be a memory.

[0184] In addition, the device provided in the embodiments of the present application may specifically be a chip, a component or a module, and the chip may include a connected processor and a memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute a method for processing vehicle data provided in the above embodiments.

[0185] This embodiment also provides a computer-readable storage medium, in which a computer program code is stored. When the computer program code is executed on a computer, the computer executes the above-mentioned related method steps to implement a method for processing vehicle data provided in the above embodiment.

[0186] This embodiment also provides a computer program product. When the computer program product runs on a computer, it enables the computer to execute the above-mentioned related steps to implement a method for processing vehicle data provided by the above embodiment.

[0187] Among them, the device, computer-readable storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.

[0188] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0189] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, 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 devices or units, which can be electrical, mechanical or other forms.

[0190] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.< / v> < / n>

Claims

1. A method for processing vehicle data, characterized in that: The method is executed by a vehicle system, the vehicle system is in communication connection with a target vehicle-mounted device, the vehicle system includes a plug-in management module and a data receiving module, and the method includes: The plug-in management module calls the target data conversion plug-in corresponding to the target vehicle-mounted device in response to the data packet sent by the target vehicle-mounted device, wherein the data packet includes original device data for describing the operating status of the target vehicle-mounted device, and the target data conversion plug-in is used to convert the format of the original device data; The plug-in management module converts the original device data based on the target data conversion plug-in to obtain SenML data corresponding to the original device data; The plug-in management module sends the SenML data to the data receiving module so that the data receiving module displays the SenML data locally, and / or sends the SenML data to the cloud platform so that the cloud platform analyzes and processes the SenML data.

2. The method according to claim 1, characterized in that The plug-in management module calls the target data conversion plug-in corresponding to the target vehicle-mounted device in response to the data packet sent by the target vehicle-mounted device, including: In response to the data packet, determining a target data interface for transmitting the data packet; According to the target data interface, the target data conversion plug-in is called.

3. The method according to claim 2, characterized in that The calling the target data conversion plug-in according to the target data interface includes: Determine, according to the target data interface, a plug-in identifier of the target data conversion plug-in, wherein the plug-in identifier is used to represent identity information of the target data conversion plug-in; According to the plug-in identifier, the target data conversion plug-in is called from a plurality of data conversion plug-ins stored in the plug-in management module or from the cloud platform.

4. The method according to claim 3, characterized in that The calling the target data conversion plug-in from a plurality of data conversion plug-ins stored in the plug-in management module or from the cloud platform according to the plug-in identifier includes: According to the plug-in identifier, determining whether there is a data conversion plug-in corresponding to the plug-in identifier among the multiple data conversion plug-ins; In the case where a data conversion plug-in corresponding to the plug-in identifier exists in the multiple data conversion plug-ins, obtaining a current version identifier of the data conversion plug-in corresponding to the plug-in identifier, the current version identifier being used to indicate the current version information of the data conversion plug-in corresponding to the plug-in identifier; judging whether the current version identifier is the latest version identifier; in the case where the current version identifier is the latest version identifier, determining that the target data conversion plug-in is the data conversion plug-in corresponding to the plug-in identifier and calling the data conversion plug-in corresponding to the plug-in identifier; in the case where the current version identifier is not the latest version identifier, calling the target data conversion plug-in from the cloud platform according to the plug-in identifier; In the case that the data conversion plug-in corresponding to the plug-in identifier does not exist in the multiple data conversion plug-ins, the target data conversion plug-in is called from the cloud platform according to the plug-in identifier.

5. The method according to claim 4, characterized in that The determining whether the current version identifier is the latest version identifier includes: Generate a version identification query request according to the plug-in identification, wherein the version identification query request is used to request to obtain the latest version identification from the cloud platform; In response to the latest version identifier sent by the cloud platform, it is determined whether the current version identifier is consistent with the latest version identifier.

6. The method according to claim 1, characterized in that Before the plug-in management module converts the original device data based on the target data conversion plug-in, the method further includes: Parsing the data packet based on the network protocol encapsulated in the target data conversion plug-in to determine a data payload field in the data packet; The original device data is obtained according to the data payload field.

7. The method according to claim 1, characterized in that The method further comprises: The data receiving module responds to the SenML instruction corresponding to the target vehicle-mounted device sent by the cloud platform, and sends the SenML instruction to the plug-in management module; The plug-in management module converts the SenML instruction based on the target data conversion plug-in to obtain an original device instruction; The plug-in management module sends the original device instruction to the target vehicle-mounted device, so that the target vehicle-mounted device adjusts the operating state of the target vehicle-mounted device according to the original device instruction.

8. A vehicle computer system for processing vehicle data, characterized in that: The vehicle system is connected to the target vehicle-mounted device for communication, and the vehicle system includes a plug-in management module and a data receiving module: The plug-in management module is used to call the target data conversion plug-in corresponding to the target vehicle-mounted device in response to the data packet sent by the target vehicle-mounted device, the data packet contains original device data for describing the operating status of the target vehicle-mounted device, and the target data conversion plug-in is used to convert the format of the original device data; The plug-in management module is further used to convert the original device data based on the target data conversion plug-in to obtain SenML data corresponding to the original device data; The plug-in management module is also used to send the SenML data to the data receiving module so that the data receiving module displays the SenML data locally, and / or send the SenML data to the cloud platform so that the cloud platform analyzes and processes the SenML data.

9. A vehicle, characterized in that: The vehicle includes a vehicle system for executing the method according to any one of claims 1 to 7, wherein the vehicle system includes: A memory for storing executable program codes; A processor, used to call and run the executable program code from the memory, so that the vehicle system executes the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Vehicle diagnosis method, vehicle machine system and electric commercial vehicle

    CN119758972A

  • Data burying point acquisition system and method for cross-brand vehicle models

    CN121309656A