Vehicle networking data automatic management method and vehicle networking platform
Through the automatic management method of Internet of Vehicles data, the indicator calculation caliber script and data subscription rules are generated, and scheduling tasks are created, which solves the problem of resource waste and computing pressure in the internal data business development of car companies, realizes the centralized management of indicator data and calculation, and ensures The uniqueness and consistency of indicator calculation improves resource utilization efficiency.
Patent Information
- Application Number
- CN202410630057.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-20
- Publication Date
- 2024-09-06
AI Technical Summary
Differences in different technical fields within car companies lead to resource waste and calculation pressure for data engineers when developing data services, and different index calculation calibers lead to inconsistent results.
Provides an automatic management method for Internet of Vehicles data. It generates indicator calculation caliber scripts by receiving editing information input by users, receives subscription configuration information to generate data subscription rules, receives regular task configuration information to create scheduling tasks, and parses the data to calculate indicator values at execution timing. , stored in the data warehouse to ensure the uniqueness and consistency of indicator calculations.
It realizes the automatic calculation indicator process of the Internet of Vehicles platform, avoids the construction of isolated business databases by different teams, reduces repeated calculation of indicators, improves resource utilization efficiency, and ensures the uniqueness and consistency of the internal business database of car companies.
Smart Images

Figure CN118607979A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of Internet of Vehicles, and in particular to an automatic management method for Internet of Vehicles data and an Internet of Vehicles platform. Background Art
[0002] As the degree of vehicle digitization increases, various data operation functions such as remote monitoring and remote diagnosis based on IoV big data are becoming an important means for automakers to track vehicle conditions, improve after-sales service quality, and gain insights into user behavior. Automakers have built their own IoV data platforms, but the following problems often occur during use:
[0003] Generally, due to the differences in different technical fields within automobile companies, data engineers from different teams tend to directly pull the vehicle data they need to build isolated business databases when developing data businesses. The repeated calculation of basic indicators or process indicators leads to waste of resources and computing pressure. Different calculation calibers of indicators can easily lead to different results for the same indicator. Summary of the invention
[0004] The purpose of this application is to propose an automatic management method and platform for Internet of Vehicles data to ensure the uniqueness and consistency of the internal business database of automobile companies, reduce repeated calculations of indicators, and improve resource utilization efficiency.
[0005] To achieve the above objectives, an embodiment of the present application provides a method for automatically managing Internet of Vehicles data, the method comprising:
[0006] Receive editing information input by a user, generate a calculation caliber script for the indicator according to the editing information and preset indicator calculation rules, and store the calculation caliber script;
[0007] Receiving subscription configuration information input by a user, generating a data subscription rule for calculating data required for the indicator according to the subscription configuration information, and storing the data subscription rule;
[0008] Receive the routine task configuration information input by the user, create or edit the routine scheduling task according to the routine task configuration information, associate the routine scheduling task with the indicator, and configure the execution time of the routine scheduling task;
[0009] Acquire the data required for calculating the indicator according to the data subscription rule;
[0010] When executing the regular scheduling task, the data required for calculating the indicator is parsed according to the preset data rules, and the indicator value of the indicator is calculated according to the parsing result and the calculation caliber script, and the indicator value is stored.
[0011] Corresponding to the above-mentioned method for automatic management of Internet of Vehicles data, an embodiment of the present application further provides an Internet of Vehicles platform, including a data management system, a data warehouse, a message queue, a rule database, and a computing engine;
[0012] The data management system includes a rule engine and a data dictionary, wherein the rule engine includes a data event configuration engine, a calculation rule configuration engine, an indicator calculation rule library, a data subscription rule library and a model algorithm library;
[0013] The indicator calculation rule library is used to provide preset indicator calculation rules;
[0014] The data event configuration engine is used to receive the editing information input by the user, and generate the calculation caliber script of the indicator according to the editing information and the preset indicator calculation rules;
[0015] The model algorithm warehouse is used to store the calculation caliber script;
[0016] The data event configuration engine is also used to receive subscription configuration information input by a user, and generate data subscription rules for calculating data required for the indicator according to the subscription configuration information;
[0017] The data subscription rule library is used to store the data subscription rules;
[0018] The calculation rule configuration engine is used to receive the routine task configuration information input by the user, create or edit the routine scheduling task according to the routine task configuration information, associate the routine scheduling task with the indicator, and configure the execution time of the routine scheduling task;
[0019] The message queue is used to receive data uploaded by the vehicle-side data collection system and the cloud data collection system, and send the data required for calculating the indicator to the calculation engine according to the data subscription rule;
[0020] The rule database is used to provide preset data rules for various types of data;
[0021] The calculation engine is used to parse the data required for calculating the indicator according to the preset data rules when executing the conventional scheduling task, and calculate the indicator value of the indicator according to the parsing result and the calculation caliber script;
[0022] The data warehouse is used to store the indicator value.
[0023] The embodiment of the present application provides an automatic management method for Internet of Vehicles data and an Internet of Vehicles platform. The embodiment of the present application creates a regular scheduling task for calculating the index value. Whenever the execution time is met, the regular scheduling task is executed once to obtain the corresponding index value and store it in the data warehouse, thereby realizing the automatic calculation process of the index by the Internet of Vehicles platform; when data engineers in different technical fields within the automobile company are developing data business, if there are no indicators they need to use, they can create indicators and their calculation caliber scripts; if the indicators they need to use already exist, the index values of the required indicators can be directly obtained from the data warehouse, wherein the calculation caliber script of the indicators can be modified and edited; therefore, the embodiment of the present application proposes a method of unifying the indicator calculation caliber script and centrally managing the indicator calculation results, thereby avoiding different teams from building isolated business databases and calculation logics, thereby realizing centralized management of indicator data and indicator calculations, ensuring the uniqueness and consistency of the business database within the automobile company, reducing repeated calculation of indicators, and improving resource utilization efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0025] Figure 1 This is a flow chart of a method for automatic management of Internet of Vehicles data in one embodiment of the present application.
[0026] Figure 2 This is a structural framework diagram of a vehicle networking platform in one embodiment of the present application.
[0027] Figure 3 This is a schematic diagram of the working principle of a vehicle networking platform in one embodiment of the present application. DETAILED DESCRIPTION
[0028] The detailed description of the drawings is intended as an illustration of some current embodiments of the present application, and is not intended to represent the only form in which the present application can be implemented. It should be understood that the same or equivalent functions can be accomplished by different embodiments intended to be included within the scope of the present application.
[0029] An embodiment of the present application provides a method for automatically managing Internet of Vehicles data. The method is implemented based on an Internet of Vehicles platform, and the Internet of Vehicles platform is deployed on a cloud server cluster. Figure 1 , the method comprises the following steps:
[0030] Step S10, receiving the editing information input by the user, generating a calculation caliber script for the indicator according to the editing information and preset indicator calculation rules, and storing the calculation caliber script.
[0031] Specifically, the preset indicator calculation rules are provided through a packaged low-code SQL editing dashboard. Therefore, in step S10, the calculation scope scripts of various indicators can be configured through the low-code SQL editing dashboard. The low-code editing dashboard provides a graphical method that allows users to select and configure the SQL statements required to calculate indicators without manually writing complete SQL scripts.
[0032] In one example, the low-code SQL editing dashboard may include the following components: a field selector, used to allow users to select database fields for calculating indicators; functions and aggregation operations, used to provide commonly used SQL functions and aggregation operations (such as SUM, AVG, MAX, MIN, etc.) for calculating indicator values; connections and conditions, used to allow users to configure JOIN operations and WHERE conditions in SQL queries to connect multiple tables or filter data; visual query building, used to allow users to build SQL queries by dragging and dropping and configuring these components, and then the Internet of Vehicles platform will automatically generate the corresponding SQL script; the above is only an example, and the generated calculation caliber script is stored in the model algorithm warehouse of the Internet of Vehicles platform for subsequent calculation tasks or queries.
[0033] The following example describes how to use the low-code SQL editing dashboard to compile a specific indicator calculation script, including the following steps:
[0034] 1. Create or edit an indicator: In the indicator template, users can select an existing indicator template or create a new indicator. Users can edit the indicator's name, description and other metadata;
[0035] 2. Select a template and edit SQL: The Internet of Vehicles platform provides a packaged SQL syntax template, such as "select <parameter 1> from <parameter 2> where <parameter 3> <logic> <parameter 4>". Users need to select appropriate parameters from the list of available parameters to fill in the placeholders in the template. For example, parameters 1, 2, and 3 may represent the fields to be queried, parameter 3 may represent the query condition, and parameter 4 may represent the logical operation or threshold.
[0036] 3. Parameter selection and logical operation: Users can select appropriate logical operations from various alternative logical operation options, such as "greater than", "less than", "equal to", etc. Users can customize logical thresholds. This is a key step to edit and save the calculation caliber script of the indicator to the model algorithm warehouse according to the specific indicator caliber;
[0037] 4. Save the calculation caliber script: After the user completes editing the SQL statement, save it as a calculation caliber script, which is stored in the model algorithm warehouse, which is a database or file Internet of Vehicles platform specifically used to store algorithms and scripts;
[0038] 5. Index calculation: When the index needs to be calculated, the Internet of Vehicles platform will execute the calculation script stored in the model algorithm warehouse. The script will retrieve data from the data source and calculate according to the defined SQL statement to generate the required index value;
[0039] In this way, users can define and save the calculation scope of indicators through simple operations and selections instead of manually writing SQL scripts. This greatly reduces the technical threshold and allows non-technical users to participate in the indicator calculation process. At the same time, this method also ensures the consistency and repeatability of the calculation scope.
[0040] Step S20, receiving subscription configuration information input by the user, generating data subscription rules for calculating data required for the indicator according to the subscription configuration information, and storing the data subscription rules;
[0041] Specifically, in the process of IoV data management, the IoV platform needs to subscribe to certain data to facilitate subsequent indicator calculation or analysis. Users enter relevant subscription configuration information through the IoV platform interface. This information may include but is not limited to the data type and data name of the data to be subscribed. The IoV platform generates a data subscription rule based on the subscription configuration information entered by the user. This rule defines how to obtain the data required for calculating indicators from the data source. The generated data subscription rule is stored in the data subscription rule library of the IoV platform. Subsequently, the relevant data is automatically subscribed according to the data subscription rule for use in the data source for indicator calculation, ensuring the consistency of data acquisition.
[0042] Step S30, receiving the conventional task configuration information input by the user, creating or editing a conventional scheduling task according to the conventional task configuration information, associating the conventional scheduling task with the indicator, and configuring the execution timing of the conventional scheduling task.
[0043] Specifically, the user inputs relevant routine task configuration information through the Internet of Vehicles platform interface, and this information may include but is not limited to the task name, execution time, etc.; the Internet of Vehicles platform creates or edits a routine scheduling task based on the routine task configuration information input by the user, and associates the created or edited routine scheduling task with a previously defined indicator, which means that when the routine scheduling task is executed, it will automatically calculate and update the indicator value of the indicator associated with the task, and the execution time may include a specific time point every day, a specific date of each week, or the triggering of a specific event, etc.; through step S30, a platform-based Internet of Vehicles process is provided for receiving user input, creating or editing routine scheduling tasks, associating tasks with indicators, and configuring the execution time of tasks. This method ensures the consistency and repeatability of task execution, and provides necessary scheduling support for subsequent indicator calculation and data management.
[0044] Step S40: acquiring data required for calculating the indicator according to the data subscription rule.
[0045] Specifically, in this embodiment, the data required to calculate each indicator value is obtained through the message queue in the Internet of Vehicles platform. The message queue is a communication mechanism used to decouple different components or services in a distributed system. It allows message producers (vehicle-side data collection system, cloud data collection system) and consumers to communicate asynchronously without knowing the existence or status of each other. The message queue can efficiently process large-scale distributed messages and real-time data streams for data integration and distribution, and transmit data from different sources to different destinations, such as real-time aggregation, real-time monitoring, and data analysis.
[0046] In this embodiment, the producers are specifically the vehicle-side data acquisition system and the cloud-side data acquisition system. The vehicle-side data acquisition system includes software and hardware parts, which can be integrated on the T-BOX or CCU, and has functional modules such as a data collector, a data processor, a data buffer and a data router; the data collector is used to collect data that needs to be uploaded from various sensors, data recorders and the like in various fields on the vehicle side, and send the data to the data processor; the data processor is used to classify and reorganize the collected data packets according to the type, acquisition cycle, protocol, etc., and encrypt and compress the data for transmission; the data buffer is used to save the data processed by the data processor in the data buffer in advance, and upload it when the data upload channel is unblocked. Some data types still need to be saved for a short period of time after uploading, which can avoid problems such as data loss and incompleteness, and can also meet the requirements of data condition comparison triggering data scene backtracking; the data router is used to select different protocols and networks for different types of data according to preset strategies, and upload them to different cloud systems (including the Internet of Vehicles platform of this embodiment), and can also intelligently adjust the routing selection according to the data upload situation to ensure data upload efficiency and security. The cloud data collection system subscribes to the business data, tracking data, etc. of various cloud business systems and third-party systems through interfaces. Consumers are specifically the computing engines that execute calculation indicators in the Internet of Vehicles platform. Producers publish messages to the message queue, and consumers subscribe to messages of interest (data required to calculate various indicators) according to the data subscription rules, so that they can receive and process these messages through the message queue. At the same time, the message queue can be used as a buffer to temporarily store messages sent by producers until consumers have enough capacity to process these messages, which helps to balance the processing capabilities of producers and consumers and avoid producer overload.
[0047] Step S50, when executing the regular scheduling task, the data required for calculating the indicator is parsed according to the preset data rules, and the indicator value of the indicator is calculated according to the parsing result and the calculation caliber script, and the indicator value is stored.
[0048] Specifically, in the process of Internet of Vehicles data management, tasks for calculating index values need to be performed regularly. These tasks are defined as regular scheduling tasks and are automatically executed according to the preset execution time. The Internet of Vehicles platform will parse the data obtained from the data source according to the preset data rules. The data rules define how to process and analyze the data to meet the needs of calculating indicators. The parsing process may include data cleaning, data conversion and other operations. The parsed data will be combined with the previously stored calculation caliber script. The calculation caliber script defines how to calculate the required index value from the original data. The Internet of Vehicles platform will calculate the index value based on the calculation caliber script and the parsing results. The calculated index value will be stored in the data warehouse of the Internet of Vehicles platform. The stored index value can be used for subsequent data analysis, report generation or data sharing; the index value is structured data.
[0049] It should be noted that the steps of the above embodiment only illustrate the process of creating, editing and calculating a certain indicator. It should be understood that the method of this embodiment can be used to create, edit and calculate multiple different indicators by simply repeating the above steps S10 to S30.
[0050] Based on the above embodiments, the method of this embodiment creates a regular scheduling task for calculating the index value. Whenever the execution time is met, the regular scheduling task is executed once to obtain the corresponding index value and store it in the data warehouse, thereby realizing the automatic calculation process of the index on the Internet of Vehicles platform; when data engineers in different technical fields within the automobile company are developing data business, if there are no indicators they need to use, they can create indicators and their calculation caliber scripts; if the indicators they need to use already exist, they can directly obtain the index values of the required indicators from the data warehouse, where the calculation caliber script of the indicators can be modified and edited; therefore, the method of this embodiment proposes a way to unify the indicator calculation caliber script and centrally manage the indicator calculation results, thereby avoiding different teams from building isolated business databases and calculation logics, thereby realizing centralized management of indicator data and indicator calculations, ensuring the uniqueness and consistency of the business database within the automobile company, reducing repeated calculations of indicators, and improving resource utilization efficiency.
[0051] Because data-driven business analysis cognition has a lag, car companies often set up data collection plans (including data collection content and collection cycle) in advance according to maximum demand during the process of developing car models. However, after going online, they always find that the collected data is insufficient or over-collected due to data quality, plan changes, etc., resulting in cost waste. In view of this, in some embodiments, the method further includes the following steps:
[0052] Step S60, receiving collection configuration information input by the user, and creating or editing a data event according to the collection configuration information, wherein the data event includes but is not limited to a data type, a data name, and a sampling rule, wherein the sampling rule includes but is not limited to a sampling method and a sampling frequency;
[0053] Specifically, the data type defines the source of the data, such as vehicle-side bus data, fault data, user operation data, service call chain data, etc. The data name defines the specific data points collected, such as vehicle speed, headlight status, etc. The sampling rule defines the data collection method, and the sampling method is, for example, periodic sampling, and the sampling frequency is, for example, once per second (1Hz), once per hour, etc.
[0054] Step S70, merging different data events with the same sampling rules, generating a data collection configuration table, updating the data dictionary and sending the data collection configuration table to the vehicle-side data collection system;
[0055] Specifically, in the process of IoV data management, there will be multiple data events with the same sampling rules. These data events may be created by different users or teams and are used to collect the same type of data. Therefore, the IoV platform needs to identify data events with the same sampling rules and merge them. After the merging process, a data collection configuration table is generated. The data collection configuration table contains the sampling rules of all merged data events, and the data dictionary is updated at the same time to record the merged configuration of these data events; the data dictionary is defined the same as the industry general data dictionary. Here, as an information system, it is convenient for users to conduct self-service inquiries on data items, data structures, data flows, data storage, processing logic and other information. The data collection configuration table is sent to the vehicle-side data collection system to guide the vehicle-side data collection system to collect data.
[0056] Step S80, receiving data collected by the vehicle-side data collection system according to the data collection configuration table.
[0057] Specifically, step S60 allows users to dynamically create or edit data events according to actual needs, including data types, names, and sampling rules, which enables data collection schemes to be adjusted according to changes in business needs and avoids the lag of preset schemes. The merging process in step S70 ensures that data events with the same sampling rules can be centrally managed and processed, and the merged data events can generate a more efficient data collection configuration table, reducing resource waste caused by repeated collection. Through these steps, the Internet of Vehicles data management method provides a systematic process that makes data collection schemes more flexible and scalable, and can be dynamically adjusted according to actual business needs, which helps to reduce cost waste caused by the lag of preset schemes and data quality issues, thereby improving the data collection and analysis efficiency of automobile companies.
[0058] In some embodiments, the method further comprises the following steps:
[0059] Step S90, receiving query configuration information input by the user, writing an SQL query statement according to the query configuration information, associating the SQL query statement with the API interface and updating the data dictionary; wherein the SQL query statement is used to query the indicator value of at least one stored indicator, and when an external device calls the API interface, the API interface obtains the indicator value of the corresponding indicator through the SQL query statement and returns it to the external device.
[0060] Specifically, in the process of IoV data management, the configuration of certain queries can be defined or modified. Users enter relevant query configuration information through the IoV platform interface. This information is used to write SQL statements. The statements retrieve the required indicator data from the data warehouse, and the calculated indicator values are stored in the data warehouse as structured data. SQL statements can be associated with multiple data sources, such as Hive, Mysql, etc. Users can register existing API services and fill in relevant information about the API, including URL addresses, request methods, and protocols, etc. This allows upper-level data application developers to access and utilize data indicators in the data warehouse through these API interfaces. In this way, the IoV data platform can convert structured data indicators stored in the data warehouse into API interfaces, which are then provided to external applications or services. This model enables data to be provided to the outside in a unified manner while maintaining data consistency and security.
[0061] In some embodiments, the method further comprises the following steps:
[0062] Step S100, receiving the associated task configuration information input by the user, creating or editing the associated scheduling task according to the associated task configuration information, and updating the data dictionary; wherein the associated scheduling task includes an event triggering condition and at least one triggered event, the event triggering condition is whether a number of selected indicators meet preset conditions, and the event is calling a vehicle service.
[0063] Specifically, the event trigger condition refers to whether several indicator values in the data warehouse meet preset conditions, such as "the number of occurrences of fault code A is greater than X" and "the value of signal B is less than Y", triggering the execution of event C and / or event B.
[0064] Further, the creating or editing the associated scheduling task according to the associated task configuration information includes:
[0065] Create or edit the scene content, interactive content and service content of the associated scheduling task, and establish a logical flow between the scene content, interactive content and service content; the scene content includes the event triggering condition (i.e., the applicable scene of the associated scheduling task), the interactive content is the vehicle output prompt information, and the service content is at least one event triggered (calling vehicle service);
[0066] Based on a preset paradigm, assertions of the scene content, interactive content and service content are created, and the assertions are associated with the logic flow. The paradigm includes metamethods, operation methods and parameters.
[0067] For example, assuming the scenario is "the temperature inside the car is higher than 26 degrees", then creating or editing the scenario content requires the vehicle service management system, obtaining the service editing interface for collecting the temperature inside the car, and creating the target value "temperature parameters" editing menu. Assuming the interaction is "automatically initiate voice prompts", creating or editing the interaction content requires the vehicle service management system, obtaining the TTS voice interaction interface, and creating a monitoring voice prompt status and content menu. Assuming the service is "turn on the air conditioner", creating or editing the service requires the vehicle service management system, obtaining the air conditioning service editing interface, and creating the target value "air conditioning on status" editing menu. Based on the above process, a ternary model (scenario-interaction-service) can be created to create a logical process.
[0068] Furthermore, a new assertion is created. For the above example, corresponding assertions can be created for the three core contents of the above scenario, interaction, and service based on the "metamethod-operation mode-parameter" paradigm. For example, in the above example, the assertion of the scenario can be set to "temperature-lower than -26 degrees", "temperature-range-26 to 30 degrees", etc.; the assertion of the interaction can be set to "voice status-yes-trigger", "voice content-yes-xxxxxx", etc.; the service assertion can be set to "air conditioning status-yes-on", etc. Assertions are a description of the elements that constitute the model. The created assertions are associated with the logic flow. The logic flow is a flowchart or state machine that describes event triggering and service execution. The assertion is a judgment condition in the logic flow. It is used to detect whether the preset conditions are met when the event is triggered. If the assertion is true (that is, the condition is met), the logic flow will continue to execute the subsequent steps. If the assertion is false (that is, the condition is not met), the logic flow may skip some steps or perform different operations.
[0069] Through these steps, the Internet of Vehicles data management method provides a systematic process for receiving user input, creating or editing associated scheduling tasks, and establishing a logical flow between scenarios, interactions, and service content. This method ensures the accuracy of event triggering and the automated execution of services, thereby improving the efficiency of vehicle services and user experience.
[0070] It should be noted that, at present, the core nodes of general data production lines, such as data collection, data processing, and data storage, are a complete serial processing system. When one of the nodes changes, it will inevitably cause the entire data production line to change, and there is a risk that the entire analysis business will be affected. However, using the method of this embodiment, the change of each core node will not cause the entire data production line to change, and there is no risk of the entire analysis business being affected. This is because the method of this embodiment designs a modular and scalable data management architecture, in which each core node (such as data collection, data processing, and data storage) is independent and can be flexibly changed through configuration and rule management. The data dictionary records the configuration and rules of the core nodes, including data events, indicator calculation rules, data subscription rules, etc. When a core node changes, the data dictionary will be updated in time to ensure that all related systems can access the latest configuration information.
[0071] Another embodiment of the present application provides a vehicle networking platform, which can be used to execute the vehicle networking data automatic management method described in the above embodiment, see Figure 2 , the Internet of Vehicles platform includes a data management system, a data warehouse, a message queue, a rule database and a computing engine;
[0072] The data management system includes a rule engine and a data dictionary, wherein the rule engine includes a data event configuration engine, a calculation rule configuration engine, an indicator calculation rule library, a data subscription rule library and a model algorithm library;
[0073] The indicator calculation rule library is used to provide preset indicator calculation rules;
[0074] The data event configuration engine is used to receive the editing information input by the user, and generate the calculation caliber script of the indicator according to the editing information and the preset indicator calculation rules;
[0075] The model algorithm warehouse is used to store the calculation caliber script;
[0076] The data event configuration engine is also used to receive subscription configuration information input by a user, and generate data subscription rules for calculating data required for the indicator according to the subscription configuration information;
[0077] The data subscription rule library is used to store the data subscription rules;
[0078] The calculation rule configuration engine is used to receive the routine task configuration information input by the user, create or edit the routine scheduling task according to the routine task configuration information, associate the routine scheduling task with the indicator, and configure the execution time of the routine scheduling task;
[0079] The message queue is used to receive data uploaded by the vehicle-side data acquisition system and the cloud-side data acquisition system, and send the data required for calculating the indicator to the calculation engine according to the data subscription rule; specifically, the message queue and the vehicle-side data acquisition system transmit data through the IoT Hub, and the IoT Hub solves the two-way communication and data distribution between the vehicle and the cloud. When the data is uplinked, multi-layer encryption based on multiple protocols is used to ensure the confidentiality and integrity of the uploaded data, and when the data is downlinked, it supports sending control instructions to the device;
[0080] The rule database is used to provide preset data rules for various types of data; specifically, the rule database is composed of a series of structured / unstructured databases, providing a data rule interface to the computing engine to implement processing such as adding, deleting, modifying and searching data rules involved in data events.
[0081] The computing engine is used to parse the data required to calculate the indicator according to the preset data rules when executing the regular scheduling task, and calculate the indicator value of the indicator according to the parsing result and the computing caliber script; specifically, the computing engine includes a series of offline computing and real-time computing big data analysis suites, providing basic data processing functions such as data storage, movement, computing and task scheduling, and is usually deployed on a cloud platform in a distributed cluster manner. Commonly used computing engines include open source big data computing engines such as Flink and Spark.
[0082] The data warehouse is used to store the indicator value. Specifically, the data warehouse in this embodiment adopts the four-layer modeling method of the mainstream data warehouse, including:
[0083] The source layer (ODS layer) imports the data in the data source into the source layer through iothub and data queue. Different data have different reasons such as collection tools, sources, channels, etc. ODS retains the original format of each imported data;
[0084] The data warehouse layer (DW layer) usually cleans the ODS layer data and centralizes it according to business dimensions to establish various data models. It can be divided into three layers:
[0085] The detail layer (DWD layer) parses the original ODS message and performs certain cleaning and extraction to form a business data detail table;
[0086] The middle layer (DWM layer) performs light aggregation operations based on the DWD layer to generate a series of intermediate tables and indicator sets to improve the reusability of public indicators;
[0087] The service layer (DWS layer) generates wide tables with many fields according to business divisions such as vehicle systems and fields;
[0088] Data application layer (APP layer), business table data organized according to upper-layer application requirements;
[0089] The dimension layer (DIM layer) stores various configuration information such as user information and car companies.
[0090] The data source layer and data warehouse layer are usually built using non-relational packages such as Hive, and the data application layer is built using packages such as Mysql and Redis according to the scenario.
[0091] In some embodiments, the rule engine further includes a data collection rule base;
[0092] The data event configuration engine is also used to receive collection configuration information input by a user, and create or edit a data event according to the collection configuration information, wherein the data event at least includes a data name and a sampling rule;
[0093] The data collection rule library is used to merge different data events with the same sampling rules, generate a data collection configuration table, update the data dictionary and send the data collection configuration table to the vehicle-side data collection system;
[0094] The message queue is used to receive data collected by the vehicle-side data acquisition system according to the data acquisition configuration table.
[0095] In some embodiments, the data event configuration engine is also used to receive query configuration information input by a user, write an SQL query statement based on the query configuration information, associate the SQL query statement with the API interface and update the data dictionary; wherein, the SQL query statement is used to query the indicator value of at least one stored indicator, and when an external device calls the API interface, the API interface obtains the indicator value of the corresponding indicator through the SQL query statement and returns it to the external device.
[0096] In some embodiments, the computing rule configuration engine is also used to receive associated task configuration information input by a user, create or edit associated scheduling tasks based on the associated task configuration information, and update the data dictionary; wherein the associated scheduling tasks include event triggering conditions and at least one triggered event, the event triggering conditions being whether a number of selected indicators meet preset conditions, and the event being a call to a vehicle service.
[0097] In some embodiments, the computing rule configuration engine is specifically used to create or edit the scene content, interactive content and service content of the associated scheduling task, and establish a logical flow between the scene content, interactive content and service content; and create assertions of the scene content, interactive content and service content based on a preset paradigm, and associate the assertions with the logical flow, the paradigm includes meta-methods, operation methods and parameters; the scene content includes the event triggering conditions, the interactive content is the vehicle output prompt information, and the service content is at least one event of the trigger.
[0098] Specifically, Figure 3 This is a schematic diagram of the interaction between the Internet of Vehicles platform and the vehicle-side data collection system and the cloud data collection system in this embodiment.
[0099] The vehicle networking platform of the embodiment described above is only illustrative, wherein the modules described as separate components may or may not be physically separated, and the components of the modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the vehicle networking platform solution of the embodiment.
[0100] It should be noted that the Internet of Vehicles platform of the above embodiment corresponds to the method for automatic management of Internet of Vehicles data of the above embodiment. Therefore, the undetailed parts of the Internet of Vehicles platform of the above embodiment can be obtained by referring to the contents of the method for automatic management of Internet of Vehicles data of the above embodiment, and will not be repeated here.
[0101] The embodiments of the present application have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.
Claims
1. A method for automatic management of Internet of Vehicles data, characterized in that: include: Receive editing information input by a user, generate a calculation caliber script for the indicator according to the editing information and preset indicator calculation rules, and store the calculation caliber script; Receiving subscription configuration information input by a user, generating a data subscription rule for calculating data required for the indicator according to the subscription configuration information, and storing the data subscription rule; Receive the routine task configuration information input by the user, create or edit the routine scheduling task according to the routine task configuration information, associate the routine scheduling task with the indicator, and configure the execution time of the routine scheduling task; Acquire the data required for calculating the indicator according to the data subscription rule; When executing the regular scheduling task, the data required for calculating the indicator is parsed according to the preset data rules, and the indicator value of the indicator is calculated according to the parsing result and the calculation caliber script, and the indicator value is stored.
2. The method according to claim 1, characterized in that Also includes: Receive collection configuration information input by a user, and create or edit a data event according to the collection configuration information, wherein the data event at least includes a data name and a sampling rule; Merge different data events with the same sampling rules, generate a data collection configuration table, update the data dictionary and send the data collection configuration table to the vehicle-side data collection system; The receiving vehicle-side data acquisition system collects data according to the data acquisition configuration table.
3. The method according to claim 1, characterized in that Also includes: Receive query configuration information input by the user, write an SQL query statement according to the query configuration information, associate the SQL query statement with the API interface and update the data dictionary; wherein the SQL query statement is used to query the indicator value of at least one stored indicator, and when an external device calls the API interface, the API interface obtains the indicator value of the corresponding indicator through the SQL query statement and returns it to the external device.
4. The method according to claim 1, characterized in that: Also includes: Receive associated task configuration information input by a user, create or edit associated scheduling tasks according to the associated task configuration information, and update the data dictionary; wherein the associated scheduling tasks include event triggering conditions and at least one triggered event, the event triggering conditions are whether a number of selected indicators meet preset conditions, and the event is calling a vehicle service.
5. The method according to claim 4, characterized in that The creating or editing the associated scheduling task according to the associated task configuration information includes: Creating or editing the scene content, interactive content and service content of the associated scheduling task, and establishing a logical flow between the scene content, interactive content and service content; the scene content includes the event triggering condition, the interactive content is the vehicle output prompt information, and the service content is at least one event of the triggering; Based on a preset paradigm, assertions of the scene content, interactive content and service content are created, and the assertions are associated with the logic flow. The paradigm includes metamethods, operation methods and parameters.
6. A vehicle networking platform, characterized in that: Includes data management system, data warehouse, message queue, rule database and computing engine; The data management system includes a rule engine and a data dictionary, wherein the rule engine includes a data event configuration engine, a calculation rule configuration engine, an indicator calculation rule library, a data subscription rule library and a model algorithm library; The indicator calculation rule library is used to provide preset indicator calculation rules; The data event configuration engine is used to receive editing information input by a user, and generate a calculation caliber script for an indicator according to the editing information and a preset indicator calculation rule; The model algorithm warehouse is used to store the calculation caliber script; The data event configuration engine is also used to receive subscription configuration information input by a user, and generate data subscription rules for calculating data required for the indicator according to the subscription configuration information; The data subscription rule library is used to store the data subscription rules; The calculation rule configuration engine is used to receive the routine task configuration information input by the user, create or edit the routine scheduling task according to the routine task configuration information, associate the routine scheduling task with the indicator, and configure the execution time of the routine scheduling task; The message queue is used to receive data uploaded by the vehicle-side data collection system and the cloud data collection system, and send the data required for calculating the indicator to the calculation engine according to the data subscription rule; The rule database is used to provide preset data rules for various types of data; The calculation engine is used to parse the data required for calculating the indicator according to the preset data rules when executing the conventional scheduling task, and calculate the indicator value of the indicator according to the parsing result and the calculation caliber script; The data warehouse is used to store the indicator value.
7. The vehicle networking platform according to claim 6, characterized in that: The rule engine also includes a data collection rule base; The data event configuration engine is further used to receive collection configuration information input by a user, and create or edit a data event according to the collection configuration information, wherein the data event at least includes a data name and a sampling rule; The data collection rule library is used to merge different data events with the same sampling rules, generate a data collection configuration table, update the data dictionary and send the data collection configuration table to the vehicle-side data collection system; The message queue is used to receive data collected by the vehicle-side data acquisition system according to the data acquisition configuration table.
8. The vehicle networking platform according to claim 6, characterized in that: The data event configuration engine is also used to receive query configuration information input by a user, write an SQL query statement based on the query configuration information, associate the SQL query statement with the API interface and update the data dictionary; wherein, the SQL query statement is used to query the indicator value of at least one stored indicator, and when an external device calls the API interface, the API interface obtains the indicator value of the corresponding indicator through the SQL query statement and returns it to the external device.
9. The vehicle networking platform according to claim 6, characterized in that: The calculation rule configuration engine is also used to receive associated task configuration information input by a user, create or edit associated scheduling tasks according to the associated task configuration information, and update the data dictionary; wherein the associated scheduling task includes an event triggering condition and at least one triggered event, the event triggering condition is whether a number of selected indicators meet preset conditions, and the event is calling a vehicle service.
10. The vehicle networking platform according to claim 9, characterized in that: The computing rule configuration engine is specifically used to create or edit the scene content, interactive content and service content of the associated scheduling task, and establish a logical flow between the scene content, interactive content and service content; and create assertions of the scene content, interactive content and service content based on a preset paradigm, and associate the assertions with the logical flow, the paradigm includes meta-methods, operation methods and parameters; the scene content includes the event triggering condition, the interactive content is the vehicle output prompt information, and the service content is at least one event of the trigger.
