Vehicle data display method and device, computer equipment and readable storage medium
By building digital twin vehicles and displaying vehicle data, the problems of unintuitive display of vehicle data and ineffective monitoring in the prior art are solved, efficient vehicle management and fault warning are achieved, and the reliability and stability of the vehicle are improved.
Patent Information
- Application Number
- CN202311631126.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-30
- Publication Date
- 2025-05-30
AI Technical Summary
The prior art is difficult to display vehicle data intuitively and vividly, unable to effectively monitor the vehicle, and it is not convenient to efficiently and accurately perform vehicle data analysis and fault warning.
By obtaining the basic information of the target vehicle, the relationship between components and equipment, identification information and attribute information, a digital twin vehicle is built, and the vehicle data is received and stored, and the digital twin vehicle display data is achieved to realize intuitive and vivid data display and effective vehicle monitoring and management.
It realizes intuitive image display of vehicle data, supports effective vehicle monitoring and management, improves the efficiency of vehicle data analysis and fault warning, and enhances the reliability and stability of the vehicle.
Smart Images

Figure CN120067201A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of vehicles, and particularly to a method and device for displaying vehicle data, a computer device, and a readable storage medium. Background Art
[0002] Vehicles contain numerous components and have a complex structure.
[0003] Currently, the cloud can remotely obtain vehicle data for remote monitoring of vehicles and facilitating remote analysis of vehicle data. However, simply sending vehicle data to the cloud cannot visually and vividly display the vehicle data, and it is impossible to effectively monitor the vehicle on the cloud platform, and it is not convenient for the cloud to perform vehicle data analysis, fault warning, etc. efficiently and accurately. Summary of the Invention
[0004] In view of the above problems, this application provides a method and device for displaying vehicle data, a computer device, and a readable storage medium, which are used to visually and vividly display vehicle data, facilitate effective monitoring of vehicles, and facilitate efficient and accurate vehicle data analysis and vehicle management.
[0005] In a first aspect, this application provides a method for displaying vehicle data, including: obtaining the basic information of a target physical vehicle, the affiliation of component devices in the target physical vehicle, the identification information and attribute information of component devices in the target physical vehicle; constructing a digital twin vehicle of the target physical vehicle according to the basic information of the target physical vehicle, the affiliation of component devices in the target physical vehicle, the identification information and attribute information of component devices in the target physical vehicle; receiving the vehicle data reported by the target physical vehicle, storing the vehicle data, and displaying the vehicle data in cooperation with the digital twin vehicle of the target physical vehicle.
[0006] The above technical solution disclosed in the embodiments of this application constructs a digital twin vehicle of a target physical vehicle according to the basic information of the target physical vehicle, the affiliation of component devices in the target physical vehicle, the identification information and description information of component devices in the target physical vehicle, so as to create a virtualized and digital vehicle twin corresponding to the target physical vehicle. After receiving the vehicle data reported by the target physical vehicle, these vehicle data are stored and displayed in cooperation with the digital twin vehicle of the target physical vehicle, so as to visually and vividly display the real-time state of the target physical vehicle, and be able to effectively monitor the target physical vehicle based on the constructed digital twin vehicle of the target physical vehicle and the vehicle data, and be able to perform vehicle management, vehicle data analysis, fault warning, etc. more efficiently and accurately based on the constructed digital twin vehicle of the target physical vehicle, thereby facilitating the improvement of the reliability and stability of the vehicle. Moreover, through the above, the data of multiple vehicles can be visually and effectively obtained, thus solving the information island phenomenon existing in the data transmission between multiple vehicles.
[0007] In some embodiments, it further includes: obtaining basic information of a target vehicle model corresponding to the target physical vehicle, the ownership relationships of component devices in the target vehicle model, the identification information and attribute information of component devices in the target vehicle model;
[0008] Obtaining the ownership relationships of component devices in the target physical vehicle, the identification information and attribute information of component devices in the target physical vehicle includes: determining the ownership relationships of component devices in the target physical vehicle as the ownership relationships of component devices in the target vehicle model, and determining the identification information and attribute information of component devices in the target vehicle model as the identification information and attribute information of component devices in the target physical vehicle;
[0009] Constructing a digital twin vehicle of the target physical vehicle according to the basic information of the target physical vehicle, the ownership relationships of component devices in the target physical vehicle, the identification information and attribute information of component devices in the target physical vehicle includes: constructing a tree structure of component devices corresponding to the target vehicle model according to the ownership relationships and identification information of component devices in the target vehicle model, and inputting the basic information of the target vehicle model and the attribute information of corresponding component devices in the target vehicle model into the tree structure of component devices corresponding to the target vehicle model to obtain a digital twin model of the target vehicle model; instantiating the digital twin model of the target vehicle model according to the basic information of the target physical vehicle to obtain a digital twin vehicle of the target physical vehicle.
[0010] By first constructing a digital twin model of the vehicle model and then performing vehicle instantiation, it is not only consistent with the production process of the physical vehicle, but also the constructed digital twin model of the vehicle model can be applied to all vehicles under this vehicle model, thereby improving the convenience and efficiency of data display for each vehicle under this vehicle model.
[0011] In some embodiments, it further includes: pre-obtaining the ownership relationships and identification information of component devices in a physical vehicle, and constructing a multi-level device relationship model according to the ownership relationships and identification information of component devices in the physical vehicle;
[0012] Constructing a tree structure of component devices corresponding to the target vehicle model according to the ownership relationships and identification information of component devices in the target vehicle model includes: selecting component devices corresponding to the target vehicle model from the multi-level device relationship model according to the ownership relationships and identification information of component devices in the target vehicle model to obtain a tree structure of component devices corresponding to the target vehicle model.
[0013] By first constructing a multi-level device relationship model according to the component device situation of the vehicle and then constructing a tree structure of component devices of the vehicle model based on the multi-level device relationship model, the convenience and efficiency of constructing the tree structure of component devices of the vehicle model can be improved, so as to improve the vehicle data display efficiency.
[0014] In some embodiments, a multi-level device relationship model is constructed according to the ownership relationship and identification information of component devices in a physical vehicle, including: constructing devices at all levels according to the ownership relationship of component devices in the physical vehicle, adding device nodes to each level of devices, and inputting the identification information of the device nodes to obtain the multi-level device relationship model.
[0015] Through the above, the accuracy of constructing the multi-level device relationship model is improved, and it is convenient to achieve multi-level and effective management of the component devices of the whole vehicle.
[0016] In some embodiments, constructing devices at all levels according to the ownership relationship of component devices in the physical vehicle, adding device nodes to each level of devices, and inputting the identification information of the device nodes includes: constructing a first-level device according to the ownership relationship of component devices in the physical vehicle, adding a first-level device node to the first-level device, and inputting the identification information of the first-level device; determining whether there are unadded first-level device nodes in the first-level device; if there are unadded first-level device nodes, then return to execute the step of adding a first-level device node to the first-level device; if there are no unadded first-level device nodes, then determine whether all component devices have been constructed according to the ownership relationship of component devices in the physical vehicle; if not all component devices have been constructed, then construct the next-level device, select a parent node in the previous-level device according to the ownership relationship of component devices in the physical vehicle, add a sub-device node under the parent node, and input the identification information of the sub-device node; determining whether there are unadded device nodes in the same-level devices; if there are unadded device nodes, then return to execute the step of selecting a parent node in the previous-level device according to the ownership relationship of component devices in the physical vehicle; if there are no unadded device nodes, then return to execute the step of determining whether all component devices have been constructed according to the ownership relationship of component devices in the physical vehicle until all component devices have been constructed.
[0017] Through the above process, the construction of devices at all levels can be realized sequentially and orderly according to the level relationship of component devices, and finally a multi-level device relationship model is obtained, thereby improving the accuracy of constructing the multi-level device relationship model.
[0018] In some embodiments, after instantiating the digital twin model of the target vehicle type according to the basic information of the target physical vehicle to obtain the digital twin vehicle of the target physical vehicle, it further includes: establishing a communication connection between the target physical vehicle and the digital twin vehicle of the target physical vehicle.
[0019] By establishing a communication connection between the physical vehicle and the virtualized and digital twin body, the physical vehicle and the corresponding digital twin vehicle can communicate and interact based on the established communication connection, thereby improving the convenience of communication and interaction.
[0020] In some embodiments, before establishing a communication connection between the target physical vehicle and its digital twin vehicle, the method further includes: receiving authentication information sent by the target physical vehicle; the authentication information is generated by the target physical vehicle encrypting its vehicle identification number (VIN), timestamp, and dynamically generated salt value using the MD5 encryption method; authenticating the authentication information, and if the authentication is passed, performing the step of establishing a communication connection between the target physical vehicle and its digital twin vehicle.
[0021] By first authenticating the target physical vehicle and then establishing a communication connection between the physical vehicle and the corresponding digital twin vehicle, the legitimacy and security of the established communication connection can be ensured.
[0022] In some embodiments, receiving vehicle data reported by the target physical vehicle includes: receiving the encrypted vehicle data reported by the target physical vehicle; decrypting the encrypted vehicle data to obtain the vehicle data.
[0023] Double authentication is achieved by performing authentication during communication connection establishment and encryption during data communication, thereby further improving the security of data transmission.
[0024] In some embodiments, storing the vehicle data includes: storing the real-time data in the vehicle data in a time series database; storing the business data in the vehicle data in a relational database.
[0025] Storing the real-time data in a time series database facilitates efficient querying and acquisition and also facilitates data analysis. Storing the business data in a relational database facilitates data processing and improves the query efficiency of such data. Moreover, separating the storage of real-time data and business data can avoid mutual influence, thus facilitating the improvement of the efficiency of subsequent data processing.
[0026] In some embodiments, receiving vehicle data reported by the target physical vehicle includes: sending a data reporting instruction to the target physical vehicle; receiving the vehicle data reported by the target physical vehicle in response to the data reporting instruction.
[0027] Through the above method, the target physical vehicle can report data according to the data reporting requirements, so that the vehicle data can be obtained more flexibly.
[0028] Second aspect, the present application provides a vehicle data display device, including: an information acquisition module for a vehicle, configured to acquire basic information of a target physical vehicle, the affiliation of component devices in the target physical vehicle, identification information and attribute information of the component devices in the target physical vehicle; a digital twin model construction module for constructing a digital twin vehicle of the target physical vehicle according to the basic information of the target physical vehicle, the affiliation of component devices in the target physical vehicle, identification information and attribute information of the component devices in the target physical vehicle; and a data display module for receiving vehicle data reported by the target physical vehicle, storing the vehicle data, and displaying the vehicle data in cooperation with the digital twin vehicle of the target physical vehicle.
[0029] Third aspect, the present application provides a computer device, including: a memory for storing a computer program; and a processor for implementing the steps of the vehicle data display method as described in any one of the above when executing the computer program.
[0030] Fourth aspect, the present application provides a readable storage medium storing a computer program, and the computer program realizes the steps of the vehicle data display method as described above when being executed by a processor.
[0031] The above description is only an overview of the technical solution of the present application. In order to be able to understand the technical means of the present application more clearly, it can be implemented according to the content of the specification. And in order to make the above and other purposes, features and advantages of the present application more obvious and understandable, the specific embodiments of the present application are specifically given below. Description of the Drawings
[0032] By reading the detailed description of the preferred embodiments below, various other advantages and benefits will become clear to those of ordinary skill in the art. The drawings are only for the purpose of showing the preferred embodiments and are not considered to be a limitation of the present application. And in all the drawings, the same reference numerals are used to represent the same components. In the drawings:
[0033] Figure 1 is a flowchart of the vehicle data display method according to some embodiments of the present application;
[0034] Figure 2 is a schematic structural diagram of the digital twin model of a vehicle model according to some embodiments of the present application;
[0035] Figure 3 is a flowchart of the vehicle data display method according to some embodiments of the present application;
[0036] Figure 4 is a schematic structural diagram of a multi-level device relationship model according to some embodiments of the present application;
[0037] Figure 5Flow chart for constructing a digital twin model of a target vehicle model in some embodiments of the present application;
[0038] Figure 6 Flow chart for constructing a multi-level device relationship model in some embodiments of the present application;
[0039] Figure 7 Flow chart for target physical vehicle instantiation authentication in some embodiments of the present application;
[0040] Figure 8 Flow chart for vehicle data storage in some embodiments of the present application;
[0041] Figure 9 Schematic structural diagram of a vehicle data display device in some embodiments of the present application;
[0042] Figure 10 Schematic structural diagram of a computer device in some embodiments of the present application. Detailed implementation manners
[0043] The embodiments of the technical solution of the present application will be described in detail below with reference to the accompanying drawings. The following embodiments are only used to illustrate the technical solution of the present application more clearly, so they are only examples and cannot be used to limit the protection scope of the present application.
[0044] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the technical field to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" and any variations thereof in the specification and claims of this application and the above drawings are intended to cover non-exclusive inclusion.
[0045] In the description of the embodiments of this application, technical terms such as "first" and "second" are only used to distinguish different objects and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity, specific order or primary-secondary relationship of the indicated technical features. In the description of the embodiments of this application, "a plurality" means two or more unless otherwise specifically defined.
[0046] Referring to "embodiments" herein means that the specific features, structures or characteristics described in connection with the embodiments can be included in at least one embodiment of this application. The phrase appears in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art explicitly and implicitly understand that the embodiments described herein can be combined with other embodiments.
[0047] In the description of the embodiments of the present application, the term "multiple" refers to two or more (including two). Similarly, "multiple groups" refers to two or more groups (including two groups), and "multiple pieces" refers to two or more pieces (including two pieces).
[0048] Currently, vehicles have become one of the important means of transportation in people's daily lives. Vehicles contain numerous components and have a complex structure. In order to achieve remote monitoring of vehicles and remote analysis of vehicle data, the cloud can remotely obtain vehicle data. However, simply sending vehicle data to the cloud cannot intuitively and effectively monitor the vehicle, and it is not convenient for efficient and accurate vehicle data analysis, fault warning, etc.
[0049] Therefore, the applicant proposes a vehicle data display method. According to the basic information of the target physical vehicle, the ownership relationship of the component devices in the target physical vehicle, the identification information and attribute information of the component devices in the target physical vehicle, a digital twin vehicle of the target physical vehicle is constructed on a computer device to create a virtualized and digital vehicle twin corresponding to the target physical vehicle. After receiving the vehicle data reported by the target physical vehicle, these vehicle data are stored and displayed in cooperation with the digital twin vehicle of the target physical vehicle, so as to intuitively, vividly and comprehensively display the real-time state of the target physical vehicle, and can effectively remotely monitor the target physical vehicle based on the constructed digital twin vehicle of the target physical vehicle and the vehicle data, and can more efficiently and accurately perform vehicle management, vehicle data analysis, fault warning, etc. based on the constructed digital twin vehicle of the target physical vehicle, thereby facilitating the improvement of the reliability and stability of the physical vehicle and saving costs. In addition, by creating the digital twin vehicle of the target physical vehicle and storing the vehicle data, the data of multiple vehicles can be intuitively and effectively obtained, thus solving the information island phenomenon existing between the data transmissions of multiple vehicles.
[0050] See Figure 1 , which is a flowchart of the vehicle data display method according to some embodiments of the present application, and may include the following steps:
[0051] S11: Obtain the basic information of the target physical vehicle, the ownership relationship of the component devices in the target physical vehicle, the identification information and attribute information of the component devices in the target physical vehicle.
[0052] It should be noted that the vehicle data display method provided by the embodiments of the present application can be applied to a computer device, and the computer device can specifically be a cloud server, a notebook, a tablet computer, etc.
[0053] First, the computer device can obtain the basic information of the target real vehicle (i.e., the real vehicle that the computer device wants to monitor and perform data analysis on, etc.), the ownership relationship of the component devices in the target real vehicle, the identification information and attribute information of the component devices in the target real vehicle. Among them, the basic information of the target real vehicle can include the vin (vehicle identification number) of the target real vehicle, the vehicle name, the vehicle description (such as color, model), etc. The ownership relationship of the component devices in the target real vehicle is the parent-child relationship of the component devices in the target real vehicle, and the ownership relationship of the component devices in the target real vehicle can be obtained based on the functions and location distributions of many independent component devices in the target real vehicle. The identification information of the component devices in the target real vehicle is used to identify the component identity and can include the code of the component device (such as English abbreviations, professional words and terms, etc.), the name of the component device, the description of the component device, etc. The attribute information of the component device can include the static attributes, measurement data, events, functions, etc. of the component device. Among them, the static attributes are mainly non-changing attributes such as the manufacturer, factory number, and factory date; the measurement data are mainly measurement data with dynamic changes such as temperature and pressure; the events mainly include two categories: alarms and early warnings, which can be customized according to the needs of the vehicle enterprise; the functions are mainly what functions and service capabilities the component device has, such as the restart function, the temperature adjustment function, etc., and also need to be customized, developed, and extended.
[0054] The above information of the target real vehicle can be specifically included in the configuration file corresponding to the target real vehicle and this configuration file can be saved in the computer device. Correspondingly, the computer device can obtain the above information of the target real vehicle from the configuration file corresponding to the target real vehicle. Or, the relevant user can send the configuration file corresponding to the target real vehicle to the computer device. Correspondingly, the computer device receives the configuration file corresponding to the target real vehicle and obtains the above information of the target real vehicle from the configuration file corresponding to the target real vehicle. Or the relevant user can enter the above information of the target real vehicle into the computer device so that the computer device obtains the above information of the target real vehicle.
[0055] S12: Construct a digital twin vehicle of the target real vehicle according to the basic information of the target real vehicle, the ownership relationship of the component devices in the target real vehicle, the identification information and attribute information of the component devices in the target real vehicle.
[0056] After obtaining the basic information of the target physical vehicle, the ownership relationship of the component devices in the target physical vehicle, the identification information and attribute information of the component devices in the target physical vehicle, the computer device can construct a digital twin vehicle of the target physical vehicle based on the obtained basic information of the target physical vehicle, the ownership relationship of the component devices in the target physical vehicle, the identification information and description information of the component devices in the target physical vehicle. This digital twin vehicle is a virtualized and digital vehicle twin corresponding to the physical vehicle of the target physical vehicle, that is, the constructed digital twin vehicle of the target physical vehicle is a mapping of the physical vehicle of the target physical vehicle.
[0057] By constructing a digital twin vehicle of the target physical vehicle in the computer device, complex multi-level vehicle component devices are abstracted into virtual digital twin models, and the parent-child relationships and attribute information such as their attributes, events, and functions of the actual vehicle-end devices at all levels are digitally simulated and uniformly managed in the computer device, so as to more conveniently display and observe the real-time state of the vehicle and collect vehicle data.
[0058] S13: Receive the vehicle data reported by the target physical vehicle, store the vehicle data, and display the vehicle data in cooperation with the digital twin vehicle of the target physical vehicle.
[0059] The computer device can receive the vehicle data reported by the target physical vehicle. Specifically, it can receive the vehicle data corresponding to the attribute information of the component devices in the target physical vehicle reported by the target physical vehicle. Of course, it can also include other vehicle data. Among them, when receiving the vehicle data corresponding to the attribute information of the component devices in the target physical vehicle reported by the target physical vehicle, the vehicle data corresponding to the static attributes and functions in the vehicle data corresponding to the attribute information can be reported only once or every time; the vehicle data corresponding to the measurement data in the vehicle data corresponding to the attribute information can be reported every time; the vehicle data corresponding to the events in the vehicle data corresponding to the attribute information can be reported after the corresponding events occur. It should be noted that the target physical vehicle can specifically use protocols such as the mqtt (message queuing telemetry transport) protocol or the https (hyper text transfer protocol secure) protocol to report the vehicle data to the computer device.
[0060] After receiving vehicle data, the computer device can store these vehicle data for subsequent processing such as vehicle data display, query, and analysis. After receiving the vehicle data reported by the target physical vehicle, the computer device can also cooperate with the digital twin vehicle of the target physical vehicle to display the vehicle data. Specifically, the digital twin vehicle of the target physical vehicle and the vehicle data can be associated, and the association result can be visually displayed to reproduce the real-time state of the target physical vehicle, a physical vehicle, in the digital twin vehicle of the target physical vehicle constructed by the computer device, so as to intuitively, vividly, and comprehensively display the actual state of the physical vehicle's component equipment, enable the computer device to effectively remotely monitor the target physical vehicle, and enable relevant personnel to more conveniently, intuitively, and effectively obtain the real-time state of the physical vehicle through the computer device. Moreover, the above process can provide a model for further vehicle data analysis and fault warning of the computer device to achieve more efficient and accurate vehicle data analysis and fault warning. At the same time, constructing the digital twin vehicle of the target physical vehicle according to the ownership relationship of the component equipment facilitates the multi-level effective management of the vehicle's component equipment. In addition, the above process can also break through the information islands in data transmission among multiple vehicles to facilitate the computer device to better perform big data statistics and analysis, etc., so as to facilitate obtaining more and accurate vehicle information.
[0061] According to the above technical solution disclosed in the embodiments of the present application, the digital twin vehicle of the target physical vehicle is constructed on the computer device according to the basic information of the target physical vehicle, the ownership relationship of the component equipment in the target physical vehicle, the identification information and description information of the component equipment in the target physical vehicle, so as to create a virtual and digital vehicle twin corresponding to the target physical vehicle, a physical vehicle, on the computer device. After receiving the vehicle data reported by the target physical vehicle, these vehicle data are stored and displayed in cooperation with the digital twin vehicle of the target physical vehicle to intuitively and vividly display the real-time state of the target physical vehicle, enable the computer device to effectively remotely monitor the target physical vehicle based on the constructed digital twin vehicle of the target physical vehicle and the vehicle data, and enable the computer device to more efficiently and accurately perform vehicle management, vehicle data analysis, fault warning, etc. based on the constructed digital twin vehicle of the target physical vehicle, thereby facilitating the improvement of the reliability and stability of the vehicle. Moreover, multiple vehicles can all send their own vehicle data to the computer device so that the computer device can intuitively and effectively obtain the data of multiple vehicles, thus solving the information island phenomenon existing in data transmission among multiple vehicles.
[0062] According to some embodiments of the present application, it may further include:
[0063] Obtain the basic information of the target vehicle model corresponding to the target physical vehicle, the ownership relationship of the component equipment in the target vehicle model, the identification information and attribute information of the component equipment in the target vehicle model;
[0064] Obtaining the ownership relationship, identification information, and attribute information of component devices in the target physical vehicle may include:
[0065] Determining the ownership relationship of component devices in the target vehicle model as the ownership relationship of component devices in the target physical vehicle, and determining the identification information and attribute information of component devices in the target vehicle model as the identification information and attribute information of component devices in the target physical vehicle;
[0066] Constructing a digital twin vehicle of the target physical vehicle based on the basic information of the target physical vehicle, the ownership relationship of component devices in the target physical vehicle, the identification information, and the attribute information of component devices in the target physical vehicle may include:
[0067] Constructing a tree structure of component devices corresponding to the target vehicle model according to the ownership relationship and identification information of component devices in the target vehicle model, and inputting the basic information of the target vehicle model and the attribute information of the corresponding component devices in the target vehicle model into the tree structure of component devices corresponding to the target vehicle model to obtain a digital twin model of the target vehicle model;
[0068] Instantiating the digital twin model of the target vehicle model according to the basic information of the target physical vehicle to obtain a digital twin vehicle of the target physical vehicle.
[0069] In addition, the computer device may also obtain the basic information of the target vehicle model (i.e., the vehicle model of the target physical vehicle) corresponding to the target physical vehicle, the ownership relationship of component devices in the target vehicle model, the identification information, and the attribute information of component devices in the target physical vehicle. Among them, the basic information of the target vehicle model may include the vehicle model name, vehicle model code, vehicle model description, etc. It should be noted that the computer device may specifically obtain the ownership relationship of component devices in the target vehicle model, the identification information, and the attribute information of component devices in the target vehicle model through the configuration file of the target vehicle model, user input, etc. On the basis of obtaining the ownership relationship of component devices in the target vehicle model, the identification information, and the attribute information of component devices in the target physical vehicle first, the ownership relationship of component devices in the target vehicle model may be determined as the ownership relationship of component devices in the target physical vehicle, and the identification information and attribute information of component devices in the target vehicle model may be determined as the identification information and attribute information of component devices in the target physical vehicle. Or considering that generally, the component composition of vehicles of the same model is the same, therefore, it is also possible to first obtain the ownership relationship of component devices in the target physical vehicle, the identification information, and the attribute information of component devices in the target physical vehicle, and then determine the ownership relationship, identification information, and attribute information of component devices in the target vehicle model according to these information.
[0070] Based on the above, a tree structure of component devices corresponding to the target vehicle model can be constructed according to the ownership relationship and identification information of the component devices in the target vehicle model. Specifically, a relationship model architecture of component devices corresponding to the target vehicle model can be constructed according to the ownership relationship of the component devices in the target vehicle model, and identification information can be assigned to the corresponding component devices in the relationship model architecture of component devices according to the identification information of the component devices in the target vehicle model, so as to obtain a tree structure of component devices corresponding to the target vehicle model. Among them, the above-mentioned relationship model architecture of component devices can include multiple levels of devices, and each level of devices contains corresponding component devices. The above-mentioned assignment of identification information to the corresponding component devices in the relationship model architecture of component devices is used to abstractly and digitally describe the component devices. For example, the tree structure of component devices corresponding to the target vehicle model can include two levels of devices, namely the first-level device and the second-level device. The first-level device can include Device 1 and Device 2, and the second-level device can include Device 1.1, Device 1.2, Device 2.1, Device 2.2, and Device 2.3. Among them, Device 1.1 and Device 1.2 have an ownership relationship with Device 1, and Device 2.1, Device 2.2, and Device 2.3 have an ownership relationship with Device 2.
[0071] After constructing the tree structure of component devices corresponding to the target vehicle model, the basic information of the target vehicle model can be input into the tree structure of component devices corresponding to the target vehicle model, and the attribute information of the corresponding component devices can be input into the tree structure of component devices corresponding to the target vehicle model, so as to complete the binding of the component devices and their corresponding attribute information, etc., and obtain a digital twin model of the target vehicle model. That is, when creating a vehicle model data, basic information of the vehicle model such as vehicle model identification code, vehicle model name, and vehicle model description can be assigned, and on this basis, attribute information, etc. of each component device under the vehicle model is bound to jointly form a digital twin model of this vehicle model, that is, virtualization and digitalization of the same vehicle model are realized on a computer device. Specifically, the attribute information corresponding to each component device in the tree structure of component devices corresponding to the target vehicle model can be input on the vehicle model details page. For example, reference can be made to Figure 2 , which is a schematic diagram of the digital twin model structure of the vehicle model in some embodiments of this application. Figure 2 Taking the vehicle model as veh_model_X, and a certain level of device in the tree structure of component devices includes component devices A, B, C, D... as an example for illustration. Each component device includes several attribute information items such as static attributes, measurement data, events, and functions, and these several attribute information items can be added to the corresponding lists respectively to facilitate efficient and clear acquisition of the attribute information of the component devices.
[0072] The constructed digital twin model of the target vehicle type is the virtualization and digitalization of a certain vehicle type. This digital twin model can be applied to all vehicles of this vehicle type, that is, after constructing the digital twin model of the target vehicle type, the concept of defining a category of vehicles is completed. The constructed digital twin model of the target vehicle type does not completely map a specific vehicle into the digital twin model. Therefore, it is also necessary to instantiate the vehicle. The instantiation of the vehicle mainly refers to mapping the digital twin model of the vehicle type to a specific vehicle, which is equivalent to the digital twin model of the vehicle type being inherited by a specific vehicle. In this way, the vehicle simultaneously has the general capabilities such as the equipment and attributes possessed by the vehicle type, and a specific vehicle can also have its own attributes (such as the vehicle's vin, vehicle name, etc.). Operations such as modification and deletion can be performed on a single vehicle in the vehicle list, thereby realizing the management function of multiple instantiated vehicles. The vehicle instantiation mainly includes the instantiation of the basic information of the vehicle and the instantiation of data (that is, mapping the vehicle data of the target physical vehicle to the corresponding digital twin model). The instantiation of the basic information of the vehicle is when adding a new vehicle data, select the target vehicle type, and then inherit the digital twin model of the target vehicle type to this vehicle. This vehicle will have all the sub-equipments and their attribute information of this vehicle type, and can also supplement the basic information unique to the vehicle itself, such as vin and name, so as to obtain the digital twin vehicle of the target physical vehicle (that is, instantiate the digital twin model of the target vehicle type in the computer device using the basic information of the target physical vehicle to obtain the digital twin vehicle of the target physical vehicle). Specifically, after the computer device constructs the digital twin model of the target vehicle type, the following process can be executed in sequence: add vehicle → select vehicle type → input the basic information of the target physical vehicle into the digital twin model of the target vehicle type to realize the instantiation of the basic information of the vehicle.
[0073] By first constructing the digital twin model of the vehicle type and then performing vehicle instantiation, it not only conforms to the production process of the physical vehicle (the production of the physical vehicle generally starts with the vehicle enterprise carrying out batch production of vehicles after completing the design verification test of the vehicle type), but also the constructed digital twin model of the vehicle type can be applied to all vehicles under this vehicle type, thereby improving the convenience and efficiency of data display for each vehicle under this vehicle type.
[0074] See Figure 3 , which is a flowchart of the vehicle data display method according to some embodiments of the present application. According to some embodiments of the present application, it may further include:
[0075] Pre-obtain the affiliation and identification information of the component equipment in the physical vehicle, and construct a multi-level equipment relationship model according to the affiliation and identification information of the component equipment in the physical vehicle;
[0076] Constructing a tree structure of component equipment corresponding to the target vehicle type according to the affiliation and identification information of the component equipment in the target vehicle type may include:
[0077] According to the belonging relationship and identification information of component devices in the target vehicle model, select the component devices corresponding to the target vehicle model from the multi-level device relationship model to obtain the component device tree structure corresponding to the target vehicle model.
[0078] In the embodiments of the present application, the computer device may also pre-obtain the belonging relationship and identification information of component devices in a physical vehicle. The physical vehicle mentioned here may be physical vehicles of multiple vehicle models. For example, the belonging relationship and identification information of component devices in multiple vehicle models of many vehicle manufacturers can be obtained, and the multiple vehicle models may include the target vehicle model, or relevant personnel can obtain the belonging relationship and identification information of component devices in the physical vehicle according to automotive industry experience and input them into the computer device. Then, the computer device can form a unified multi-level device model architecture according to the belonging relationship of component devices in the physical vehicle. For example, the primary devices can be divided into a cockpit domain, an ADAS (Advanced Driver Assistance System) control domain, a body domain, an integrated chassis control domain, etc. That is, in real-scenario applications, numerous independent component devices can be summarized according to their functions and location distributions and associated with a parent-child relationship to form a unified multi-level device model architecture. Moreover, the computer device can assign corresponding coding, names, descriptions, and other identification information to each component device in the multi-level device model architecture according to the identification information of the component devices to abstract the information of the corresponding component devices. As Figure 3 and Figure 4 shown, among which, Figure 3 Taking the primary devices including several primary device nodes such as a cockpit domain, an ADAS control domain, a body domain, and an integrated chassis control domain, the secondary devices including multiple secondary device nodes with each primary device node as the parent node, and the tertiary devices including multiple tertiary device nodes with each secondary device node as the parent node as an example for illustration, Figure 4 is a schematic structural diagram of the multi-level device relationship model of some embodiments of the present application, among which, Figure 4Taking the case where there are n-level devices, and there is a parent-child relationship between Device 1 in the first-level device and Devices 1.1 and 1.2 in the second-level device, and there is a parent-child relationship between Device 1.1 in the second-level device and Devices 1.1.1 and 1.1.2 in the third-level device... as an example, and each device node in the multi-level device relationship model has fixed attributes such as device name, device code (such as English abbreviations or professional word terms), and device description. Through the above construction, a component library related to the vehicle is obtained, the real components are digitally described, and the constructed multi-level device relationship model contains a relatively comprehensive component device library and its corresponding relationships. That is, the constructed multi-level device relationship model has universality, and a digital twin model of the vehicle model and a digital twin model of the vehicle can be constructed on this basis. It should be noted that the constructed multi-level device relationship model can be expanded and / or reduced according to requirements in the future to improve the flexibility and adaptability of the multi-level device relationship model.
[0079] For the same automobile enterprise, when producing different vehicle models, their component compositions are different. Therefore, after constructing the multi-level device relationship model, different component devices can be selected from the multi-level device relationship model according to the target vehicle model plan to form the component device tree structure of the corresponding vehicle model, so as to construct the digital twin model of the corresponding vehicle model, thereby digitally simulating the real vehicle model selection link. Specifically, the computer device can select the component devices corresponding to the target vehicle model from the constructed multi-level device relationship model according to the component devices included in the target vehicle model, the belonging relationships of the component devices, and the identification information of the component devices included, so as to form the component combination corresponding to the target vehicle model, that is, obtain the component device tree structure corresponding to the target vehicle model. On this basis, the basic information of the target vehicle model and the attribute information of the corresponding component devices in the target vehicle model can be input into the component device tree structure corresponding to the target vehicle model to obtain the digital twin model of the target vehicle model. Of course, after constructing the multi-level device relationship model, the Figure 5 shown method can also be used to construct the digital twin model of the target vehicle model. Figure 5 This is a flowchart for constructing the digital twin model of the target vehicle model in some embodiments of this application. Specifically, first construct the vehicle model, and then enter the basic information of the vehicle model such as the vehicle model name, vehicle model code, and vehicle model description. After that, select the component devices corresponding to the vehicle model from the constructed multi-level device relationship model to form the component device tree structure corresponding to the vehicle model, and enter the static attributes, measurement data, events, functions, and other component device information corresponding to each component device on the vehicle model details page.
[0080] By first constructing a multi-level equipment relationship model according to the actual vehicle parts and equipment conditions, and then constructing the vehicle model's parts and equipment tree structure based on the multi-level equipment relationship model, the convenience and efficiency of constructing the vehicle parts and equipment tree structure can be improved, so as to improve the efficiency of vehicle data display.
[0081] According to some embodiments of the present application, a multi-level equipment relationship model is constructed based on the ownership relationship and identification information of the components and equipment in the actual vehicle, which may include:
[0082] According to the relationship between the components and equipment in the actual vehicle, equipment at each level is constructed, and equipment nodes are added to the equipment at each level, and the identification information of the equipment nodes is input to obtain a multi-level equipment relationship model.
[0083] In an embodiment of the present application, when constructing a multi-level device relationship model, the computer device can specifically construct each level of equipment according to the belonging relationships of the component equipment in the actual vehicle, and can add corresponding device nodes in each level of equipment according to the belonging relationships of the component equipment in the actual vehicle. Then, the identification information of the device node can be input into the corresponding device node according to the identification information of the component equipment in the actual vehicle to obtain a multi-level device relationship model.
[0084] The above method can accurately abstract complex multi-level vehicle components and equipment into a clearly-relationshiped, virtualized and digital component equipment architecture, so as to more conveniently display and observe the vehicle's composition and real-time status, and facilitate the effective multi-level management of the vehicle's components and equipment.
[0085] See also Figure 6 , which is a flowchart of constructing a multi-level device relationship model in some embodiments of the present application. According to some embodiments of the present application, each level of equipment is constructed according to the relationship between the components and equipment in the actual vehicle, and device nodes are added to each level of equipment, and identification information of the device nodes is input, which may include:
[0086] Construct the first-level equipment according to the relationship between the components and equipment in the actual vehicle, add the first-level equipment node to the first-level equipment, and enter the identification information of the first-level equipment;
[0087] Determine whether the first-level device contains an unadded first-level device node;
[0088] If the unadded first-level device node is included, return to execute the step of adding the first-level device node in the first-level device; if the unadded first-level device node is not included, determine whether all the component devices are built according to the relationship between the component devices in the actual vehicle;
[0089] If not all component devices are constructed, construct the next-level device, select a parent node in the upper-level device according to the belonging relationship of the component devices in the physical vehicle, add a child device node under the parent node, and input the identification information of the child device node;
[0090] Determine whether there are unadded device nodes in the same-level devices; if there are unadded device nodes, return to execute the step of selecting a parent node in the upper-level device according to the belonging relationship of the component devices in the physical vehicle; if there are no unadded device nodes, return to execute the step of determining whether all component devices are constructed according to the belonging relationship of the component devices in the physical vehicle, until all component devices are constructed.
[0091] In the embodiments of the present application, the computer device may specifically construct a multi-level device relationship model in the following manner:
[0092] 1) Obtain the belonging relationship of the component devices;
[0093] 2) Construct the first-level device according to the belonging relationship of the component devices;
[0094] 3) Add a first-level device node in the first-level device;
[0095] 4) Input identification information such as the name, code, and description of the first-level device in the first-level device node;
[0096] 5) Determine whether there is a first-level device node that has not been added to the first-level device in the first-level device; if so, return to execute step 3); if not, execute step 6);
[0097] 6) Determine whether all component devices are constructed according to the belonging relationship of the component devices; if so, determine that the construction of the multi-level device model is completed; if not, execute step 7);
[0098] 7) Construct the next-level device;
[0099] 8) Select a parent node in the upper-level device according to the belonging relationship of the component devices, and add a child device node under the parent node;
[0100] 9) Input identification information such as the name, code, and description of the child device node in the added child device node;
[0101] 10) Determine whether there are unadded device nodes in the same-level devices; if so, return to execute step 8); if not, return to execute step 6).
[0102] Through the above process, the construction of each-level device can be carried out sequentially and orderly according to the level relationship of the component devices, and finally a multi-level device relationship model can be obtained, thereby improving the accuracy of constructing the multi-level device relationship model.
[0103] According to some embodiments of the present application, after instantiating the digital twin model of the target vehicle type based on the basic information of the target physical vehicle to obtain the digital twin vehicle of the target physical vehicle, it may further include:
[0104] Establish a communication connection between the target physical vehicle and the digital twin vehicle of the target physical vehicle.
[0105] In the embodiments of the present application, after the computer device obtains the digital twin vehicle of the target physical vehicle, it may establish a communication connection between the target physical vehicle and the digital twin vehicle of the target physical vehicle, that is, it may establish a communication connection between the physical vehicle and the virtualized and digital vehicle twin on the computer device, so that the physical vehicle and the corresponding digital twin model can communicate and interact based on the established communication connection, thereby improving the convenience of communication and interaction.
[0106] Among them, the computer device may specifically establish a long connection between the target physical vehicle and the digital twin vehicle of the target physical vehicle. A long connection refers to a connection on which multiple data packets can be continuously sent. By establishing a long connection between the physical vehicle and the corresponding digital twin model, the time for communication and interaction between the physical vehicle and the corresponding digital twin model can be saved, and the communication and interaction efficiency can be improved.
[0107] See Figure 7 , which is a flowchart of the instantiation authentication of the target physical vehicle in some embodiments of the present application. According to some embodiments of the present application, before establishing a communication connection between the target physical vehicle and the digital twin vehicle of the target physical vehicle, it may further include:
[0108] Receiving the authentication information sent by the target physical vehicle; the authentication information is generated by the target physical vehicle encrypting the vin code, timestamp, and dynamically generated salt value of the target physical vehicle using the MD5 encryption method;
[0109] Authenticating the authentication information. If the authentication is passed, execute the step of establishing a communication connection between the target physical vehicle and the digital twin vehicle of the target physical vehicle.
[0110] In the embodiments of the present application, before establishing a communication connection between the target physical vehicle and the digital twin vehicle of the target physical vehicle, the computer device may authenticate the target physical vehicle in a one-device-one-key manner. Specifically, the target physical vehicle encrypts vin + timestamp + salt using the MD5 (Message-Digest Algorithm 5) encryption method to obtain the authentication information, where vin is the vin code of the target physical vehicle, timestamp is the timestamp, and salt is the salt value (dynamically generated). Then, the target physical vehicle sends the generated authentication information to the computer device, and the computer device authenticates the authentication information. If the authentication is passed, it indicates that the corresponding digital twin model on the computer device is online, and it indicates that the target physical vehicle is a legal vehicle and there is a corresponding relationship between the target physical vehicle and the corresponding digital twin model on the computer device. Therefore, the digital twin model corresponding to the target physical vehicle can be activated, and a communication connection can be established between the target physical vehicle and the digital twin model corresponding to the target physical vehicle; if the authentication fails, it indicates that the target physical vehicle is not a legal vehicle or the target physical vehicle does not correspond to the digital twin model on the computer device. At this time, the computer device refuses to establish a communication connection between the target physical vehicle and the digital twin model corresponding to the target physical vehicle, and can issue a prompt that the authentication fails.
[0111] By first authenticating the target physical vehicle and then establishing a communication connection between the physical vehicle and the digital twin model after the authentication is passed, the legitimacy and security of the establishment of the communication connection can be ensured.
[0112] According to some embodiments of the present application, receiving the vehicle data reported by the target physical vehicle may include:
[0113] Receiving the encrypted vehicle data reported by the target physical vehicle;
[0114] Decrypting the encrypted vehicle data to obtain the vehicle data.
[0115] When the target physical vehicle reports vehicle data, specifically, it may first encrypt the vehicle data, and then report the encrypted vehicle data to the computer device. Correspondingly, the computer device may receive the encrypted vehicle data reported by the target physical vehicle and decrypt the encrypted vehicle data to obtain the vehicle data corresponding to the attribute information of the component devices in the target physical vehicle to ensure the security of the transmission of the vehicle data. Among them, the target physical vehicle may encrypt the vehicle data using TLS (Transport Layer Security), and the computer device may decrypt the encrypted vehicle data using the TLS authentication method. TLS authentication is an asymmetric encryption authentication using a certificate private key pair to ensure the encryption of the communication link. Of course, the target physical vehicle and the computer device may also use other methods to encrypt and decrypt the vehicle data respectively.
[0116] As can be seen from the above, the computer device can achieve dual authentication by performing authentication when establishing a communication connection and encrypted authentication when performing data communication. Therefore, the security of data transmission can be further improved.
[0117] See Figure 8 , which is a flowchart of vehicle data storage according to some embodiments of the present application. According to some embodiments of the present application, storing vehicle data may include:
[0118] Storing the real-time data in the vehicle data in a time-series database;
[0119] Storing the business data in the vehicle data in a relational database.
[0120] When the computer device stores the vehicle data reported by the target real vehicle received, it can specifically store the real-time data in the vehicle data in a time-series database, and can store the business data in the vehicle data in a relational database. The time-series database can specifically be ClickHouse, TimescaleDB, etc., and the computer device can specifically include multiple time-series databases. One or more vehicles can correspond to one time-series database, and the real-time data corresponding to these one or more vehicles can be stored in the corresponding time-series database. Of course, the computer device can also have only one time-series database. The relational database can specifically be MySQL, etc., and similar to the time-series database, the relational database can also be one or more.
[0121] Among them, the real-time data is data that changes over time (the target real vehicle collects and reports data at the second level or the millisecond level), that is, time-series data, and these data only support querying and do not support adding, deleting, or modifying. For example, real-time vehicle speed, temperature, voltage, status, etc. data of each component device in the vehicle monitoring system. The business data is data such as the basic information of the vehicle, the static attributes of component devices, operation instructions, etc. that hardly change over time, and supports adding, deleting, modifying, and querying. The vehicle portrait can be depicted through the business data.
[0122] Since the amount of real-time data is relatively large, storing it in a time-series database can facilitate efficient querying and acquisition, and facilitate data analysis. Storing the business data in a relational database can facilitate data processing and improve the query efficiency of such data. Moreover, separating the storage of real-time data and business data can avoid mutual influence, thereby facilitating the improvement of the efficiency of subsequent data processing.
[0123] According to some embodiments of the present application, receiving the vehicle data reported by the target real vehicle may include:
[0124] Sending a data reporting instruction to the target real vehicle;
[0125] Receive the vehicle data reported in response to the target vehicle response data reporting instruction.
[0126] In the embodiments of the present application, when the computer device needs to obtain the vehicle data of the target vehicle, it can first send a data reporting instruction to the target vehicle. After receiving the data reporting instruction, the target vehicle can respond to the data reporting instruction. Specifically, the target vehicle can obtain the corresponding vehicle data and report these vehicle data to the computer device wirelessly through a gateway, a load balancing device, etc., so that the computer device can receive the corresponding vehicle data reported by the target vehicle in response to the data reporting instruction. Among them, the above instructions can include various types. For example, it can be an instruction reported according to rule requirements, or an instruction for controlling the target vehicle, etc.
[0127] Through the above method, the target vehicle can report data according to the requirements of the computer device, so that the computer device can obtain vehicle data more flexibly. Of course, the target vehicle can also actively report vehicle data to the computer device.
[0128] The present application also provides a vehicle data display device. Refer to Figure 9 , which shows the structural schematic diagram of the vehicle data display device in some embodiments of the present application. The vehicle data display device 90 may include a vehicle information acquisition module 91, a digital twin model construction module 92, and a data display module 93. Among them, the vehicle information acquisition module 91 is used to acquire the basic information of the target vehicle, the affiliation of the component devices in the target vehicle, the identification information and attribute information of the component devices in the target vehicle; the digital twin model construction module 92 is used to construct a digital twin vehicle of the target vehicle according to the basic information of the target vehicle, the affiliation of the component devices in the target vehicle, the identification information and attribute information of the component devices in the target vehicle; the data display module 93 is used to receive the vehicle data reported by the target vehicle, store the vehicle data, and display the vehicle data in cooperation with the digital twin vehicle of the target vehicle.
[0129] According to some embodiments of the present application, the vehicle data display device 90 may further include a vehicle model information acquisition module, which is used to acquire the basic information of the target vehicle model corresponding to the target vehicle, the affiliation of the component devices in the target vehicle model, the identification information and attribute information of the component devices in the target vehicle model;
[0130] The vehicle information acquisition module 91 acquires the ownership relationship, identification information, and attribute information of component devices in the target physical vehicle, and is specifically used to determine the ownership relationship of component devices in the target physical vehicle as the ownership relationship of component devices in the target vehicle model, and determine the identification information and attribute information of component devices in the target vehicle model as the identification information and attribute information of component devices in the target physical vehicle;
[0131] The digital twin model construction module 92 constructs a digital twin vehicle of the target physical vehicle according to the basic information of the target physical vehicle, the ownership relationship of component devices in the target physical vehicle, the identification information, and the attribute information of component devices in the target physical vehicle. Specifically, it is used to determine the ownership relationship of component devices in the target vehicle model according to the ownership relationship of component devices in the target physical vehicle, and determine the identification information and attribute information of component devices in the target vehicle model according to the identification information and attribute information of component devices in the target physical vehicle; construct a tree structure of component devices corresponding to the target vehicle model according to the ownership relationship and identification information of component devices in the target vehicle model, and input the basic information of the target vehicle model and the attribute information of the corresponding component devices in the target vehicle model into the tree structure of component devices corresponding to the target vehicle model to obtain a digital twin model of the target vehicle model; instantiate the digital twin model of the target vehicle model according to the basic information of the target physical vehicle to obtain a digital twin vehicle of the target physical vehicle.
[0132] According to some embodiments of the present application, the vehicle data display device 90 may further include a device relationship model construction module, which is used to pre-acquire the ownership relationship and identification information of component devices in the physical vehicle, and construct a multi-level device relationship model according to the ownership relationship and identification information of component devices in the physical vehicle;
[0133] The digital twin model construction module 92 constructs a tree structure of component devices corresponding to the target vehicle model according to the ownership relationship and identification information of component devices in the target vehicle model, and is specifically used to select the component devices corresponding to the target vehicle model from the multi-level device relationship model according to the ownership relationship and identification information of component devices in the target vehicle model to obtain a tree structure of component devices corresponding to the target vehicle model.
[0134] According to some embodiments of the present application, the device relationship model construction module constructs a multi-level device relationship model according to the ownership relationship and identification information of component devices in the physical vehicle, and is specifically used to construct devices at all levels according to the ownership relationship of component devices in the physical vehicle, add device nodes to each level of devices, and input the identification information of the device nodes to obtain a multi-level device relationship model.
[0135] According to some embodiments of the present application, the device relationship model construction module constructs devices at all levels according to the ownership relationship of component devices in the real vehicle, adds device nodes to devices at all levels, and inputs the identification information of the device nodes. Specifically, it is used to construct first-level devices according to the ownership relationship of component devices in the real vehicle, add first-level device nodes to the first-level devices, and input the identification information of the first-level devices; determine whether there are unadded first-level device nodes in the first-level devices; if there are unadded first-level device nodes, return to execute the step of adding first-level device nodes to the first-level devices; if there are no unadded first-level device nodes, determine whether all component devices have been constructed according to the ownership relationship of component devices in the real vehicle; if not all component devices have been constructed, construct the next-level devices, select a parent node in the previous-level device according to the ownership relationship of component devices in the real vehicle, add a sub-device node under the parent node, and input the identification information of the sub-device node; determine whether there are unadded device nodes in the same-level devices; if there are unadded device nodes, return to execute the step of selecting a parent node in the previous-level device according to the ownership relationship of component devices in the real vehicle; if there are no unadded device nodes, return to execute the step of determining whether all component devices have been constructed according to the ownership relationship of component devices in the real vehicle, until all component devices have been constructed.
[0136] According to some embodiments of the present application, the vehicle data display device 90 may further include a communication connection establishment module, which is used to establish a communication connection between the target real vehicle and the digital twin vehicle of the target real vehicle after instantiating the digital twin model of the target vehicle type according to the basic information of the target real vehicle to obtain the digital twin vehicle of the target real vehicle.
[0137] According to some embodiments of the present application, the vehicle data display device 90 may further include an authentication module, which is used to receive the authentication information sent by the target real vehicle before establishing a communication connection between the target real vehicle and the digital twin vehicle of the target real vehicle; the authentication information is generated by the target real vehicle encrypting the vin code, timestamp, and dynamically generated salt value of the target real vehicle using the MD5 encryption method; authenticate the authentication information, and if the authentication passes, execute the step of establishing a communication connection between the target real vehicle and the digital twin vehicle of the target real vehicle.
[0138] According to some embodiments of the present application, the data display module 93 receives the vehicle data reported by the target real vehicle, specifically used to receive the encrypted vehicle data reported by the target real vehicle; decrypt the encrypted vehicle data to obtain the vehicle data.
[0139] According to some embodiments of the present application, the data display module 93 stores the vehicle data, specifically used to store the real-time data in the vehicle data in a time series database; store the business data in the vehicle data in a relational database.
[0140] According to some embodiments of the present application, the data display module 93 receives the vehicle data reported by the target actual vehicle, specifically for sending a data reporting instruction to the target actual vehicle; and receiving the vehicle data reported by the target actual vehicle in response to the data reporting instruction.
[0141] The present application also provides a computer device. Refer to Figure 10 , which shows a schematic structural diagram of the computer device according to some embodiments of the present application. The computer device 100 may include a memory 101 and a processor 102. Among them, the memory 101 is used to store a computer program; the processor 102, when executing the computer program stored in the memory 101, can implement the following steps:
[0142] Obtain the basic information of the target actual vehicle, the ownership relationship of the component devices in the target actual vehicle, the identification information and attribute information of the component devices in the target actual vehicle; construct a digital twin vehicle of the target actual vehicle according to the basic information of the target actual vehicle, the ownership relationship of the component devices in the target actual vehicle, the identification information and attribute information of the component devices in the target actual vehicle; receive the vehicle data reported by the target actual vehicle, store the vehicle data, and display the vehicle data in cooperation with the digital twin vehicle of the target actual vehicle.
[0143] The present application also provides a readable storage medium. When the computer program stored in the readable storage medium is executed by a processor, the following steps can be implemented:
[0144] Obtain the basic information of the target actual vehicle, the ownership relationship of the component devices in the target actual vehicle, the identification information and attribute information of the component devices in the target actual vehicle; construct a digital twin vehicle of the target actual vehicle according to the basic information of the target actual vehicle, the ownership relationship of the component devices in the target actual vehicle, the identification information and attribute information of the component devices in the target actual vehicle; receive the vehicle data reported by the target actual vehicle, store the vehicle data, and display the vehicle data in cooperation with the digital twin vehicle of the target actual vehicle.
[0145] For the description of the relevant parts in a vehicle data display device, a computer device, and a readable storage medium provided by the present application, reference can be made to the detailed description of the corresponding parts in a vehicle data display method provided by the present application, which will not be elaborated here.
[0146] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some or all of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the various embodiments of the present application, and they should all be covered within the scope of the claims and the description of the present application. In particular, as long as there is no structural conflict, the technical features mentioned in each embodiment can be combined in any way. The present application is not limited to the specific embodiments disclosed in the text, but includes all technical solutions that fall within the scope of the claims.
Claims
1. A vehicle data display method, characterized in that, it includes: Obtain the basic information of the target physical vehicle, the ownership relationship of the component devices in the target physical vehicle, the identification information and attribute information of the component devices in the target physical vehicle; Construct a digital twin vehicle of the target physical vehicle according to the basic information of the target physical vehicle, the ownership relationship of the component devices in the target physical vehicle, the identification information and attribute information of the component devices in the target physical vehicle; Receive the vehicle data reported by the target physical vehicle, store the vehicle data, and display the vehicle data in cooperation with the digital twin vehicle of the target physical vehicle.
2. The vehicle data display method according to claim 1, characterized in that, it further includes: Obtain the basic information of the target vehicle model corresponding to the target physical vehicle, the ownership relationship of the component devices in the target vehicle model, the identification information and attribute information of the component devices in the target vehicle model; Obtaining the ownership relationship of the component devices in the target physical vehicle, the identification information and attribute information of the component devices in the target physical vehicle includes: Determine the ownership relationship of the component devices in the target vehicle model as the ownership relationship of the component devices in the target physical vehicle, and determine the identification information and attribute information of the component devices in the target vehicle model as the identification information and attribute information of the component devices in the target physical vehicle; Constructing a digital twin vehicle of the target physical vehicle according to the basic information of the target physical vehicle, the ownership relationship of the component devices in the target physical vehicle, the identification information and attribute information of the component devices in the target physical vehicle includes: Construct a component device tree structure corresponding to the target vehicle model according to the ownership relationship and identification information of the component devices in the target vehicle model, and input the basic information of the target vehicle model and the attribute information of the corresponding component devices in the target vehicle model into the component device tree structure corresponding to the target vehicle model to obtain a digital twin model of the target vehicle model; Instantiate the digital twin model of the target vehicle model according to the basic information of the target physical vehicle to obtain a digital twin vehicle of the target physical vehicle.
3. The vehicle data display method according to claim 2, characterized in that, it further includes: Pre-obtain the ownership relationship and identification information of the component devices in the physical vehicle, and construct a multi-level device relationship model according to the ownership relationship and identification information of the component devices in the physical vehicle; Constructing a component device tree structure corresponding to the target vehicle model according to the ownership relationship and identification information of the component devices in the target vehicle model includes: Select the component devices corresponding to the target vehicle model from the multi-level device relationship model according to the ownership relationship and identification information of the component devices in the target vehicle model to obtain a component device tree structure corresponding to the target vehicle model.
4. The vehicle data display method according to claim 3, characterized in that, Constructing a multi-level device relationship model according to the ownership relationship and identification information of the component devices in the physical vehicle includes: Construct each level of device according to the ownership relationship of the component devices in the physical vehicle, add device nodes to each level of device, and input the identification information of the device nodes to obtain the multi-level device relationship model.
5. The vehicle data display method according to claim 4, characterized in that, each level of equipment is constructed according to the belonging relationship of the component equipment in the actual vehicle, equipment nodes are added to each level of equipment, and the identification information of the equipment nodes is input, including: constructing first-level equipment according to the belonging relationship of the component equipment in the actual vehicle, adding first-level equipment nodes to the first-level equipment, and inputting the identification information of the first-level equipment; judging whether there are unadded first-level equipment nodes in the first-level equipment; if there are unadded first-level equipment nodes, then return to execute the step of adding first-level equipment nodes to the first-level equipment; if there are no unadded first-level equipment nodes, then judge whether all the component equipment has been constructed according to the belonging relationship of the component equipment in the actual vehicle; if not all the component equipment has been constructed, then construct the next level of equipment, select a parent node in the previous level of equipment according to the belonging relationship of the component equipment in the actual vehicle, add a sub-equipment node under the parent node, and input the identification information of the sub-equipment node; judging whether there are unadded equipment nodes in the same level of equipment; if there are unadded equipment nodes, then return to execute the step of selecting a parent node in the previous level of equipment according to the belonging relationship of the component equipment in the actual vehicle; if there are no unadded equipment nodes, then return to execute the step of judging whether all the component equipment has been constructed according to the belonging relationship of the component equipment in the actual vehicle until all the component equipment has been constructed.
6. The vehicle data display method according to any one of claims 2 to 5, characterized in that, after instantiating the digital twin model of the target vehicle type according to the basic information of the target actual vehicle to obtain the digital twin vehicle of the target actual vehicle, it further includes: establishing a communication connection between the target actual vehicle and the digital twin vehicle of the target actual vehicle.
7. The vehicle data display method according to claim 6, characterized in that, before establishing a communication connection between the target actual vehicle and the digital twin vehicle of the target actual vehicle, it further includes: receiving the authentication information sent by the target actual vehicle; the authentication information is encrypted by the target actual vehicle using the MD5 encryption method for the vin code, time stamp, and dynamically generated salt value of the target actual vehicle; authenticating the authentication information, and if the authentication is passed, then execute the step of establishing a communication connection between the target actual vehicle and the digital twin vehicle of the target actual vehicle.
8. The vehicle data display method according to claim 7, characterized in that, receiving the vehicle data reported by the target actual vehicle, including: receiving the encrypted vehicle data reported by the target actual vehicle; decrypting the encrypted vehicle data to obtain the vehicle data.
9. The vehicle data display method according to any one of claims 1 to 8, characterized in that, storing the vehicle data, including: storing the real-time data in the vehicle data in a time series database; storing the business data in the vehicle data in a relational database.
10. The vehicle data display method according to claim 9, characterized in that, Receive the vehicle data reported by the target physical vehicle, including: Send a data reporting instruction to the target physical vehicle; Receive the vehicle data reported by the target physical vehicle in response to the data reporting instruction.
11. A vehicle data display device Characterized in that It includes: A vehicle information acquisition module, configured to acquire the basic information of the target physical vehicle, the ownership relationship of the component devices in the target physical vehicle, the identification information and attribute information of the component devices in the target physical vehicle; A digital twin model construction module, configured to construct a digital twin vehicle of the target physical vehicle according to the basic information of the target physical vehicle, the ownership relationship of the component devices in the target physical vehicle, the identification information and attribute information of the component devices in the target physical vehicle; A data display module, configured to receive the vehicle data reported by the target physical vehicle, store the vehicle data, and display the vehicle data in cooperation with the digital twin vehicle of the target physical vehicle.
12. A computer device Characterized in that It includes: A memory, configured to store a computer program; A processor, configured to implement the steps of the vehicle data display method according to any one of claims 1 to 10 when executing the computer program.
13. A readable storage medium Characterized in that The readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the vehicle data display method according to any one of claims 1 to 10 are implemented.