A vehicle-mounted distributed dynamic data point collection method, vehicle and cloud server
Through the vehicle distributed dynamic data buried point collection method, using SDK and cloud configuration management, the automatic collection and analysis of vehicle data is realized, which solves the problems of low data collection dimension and poor adaptability in the existing technology, and provides real-time data analysis. and operation and maintenance support.
Patent Information
- Application Number
- CN202210991570.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-18
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2042-08-18
AI Technical Summary
The existing technology is limited by the characteristics of CAN communication in vehicle data collection. The dimensionality of the collected data is low and system-derived data cannot be collected. Moreover, the static buried point method does not support the collection of new downloaded application data. The coupling degree is high and the adaptability is difficult, which cannot satisfy the requirements. Data analysis needs.
Using the vehicle-mounted distributed dynamic data buried point collection method, the data is automatically collected in the vehicle application through the SDK. The cloud performs buried point configuration management and data collection rule configuration. The vehicle terminal receives and executes the rules, performs local storage, encrypts and uploads to the cloud. The cloud Decrypt, unpack, format and parse, store it in the data analysis engine, and support data statistical analysis and chart display.
It realizes the automatic collection and analysis of vehicle data, supports real-time collection and problem feedback of operation and maintenance related data, provides data sources for data analysis, meets the data needs of operators, and improves the adaptability and flexibility of data collection.
Smart Images

Figure CN115361418B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a data point collection method, a vehicle and a cloud server, and in particular to a vehicle-mounted distributed dynamic data point collection method, a vehicle and a cloud server. Background Art
[0002] Data tracking is an important way of data collection, which is mainly used to record and collect the operation behavior of terminal users and provide data source support for data statistics and analysis. Based on the characteristics of the car, in the past, the signals of CAN communication were collected. Due to the communication characteristics of CAN, the collected content was relatively small. Now, Ethernet technology has been introduced into SDV, but it is still mainly based on the vehicle interface data exposed by atomic services. Only relatively basic data can be collected, such as vehicle speed, gear position, etc. The collected data dimension is low, and the data that can be collected is limited. There is no way to collect system-derived data, which is difficult to meet data analysis. In addition, according to the current mainstream software-defined car model, applications are downloaded into the car. If the static tracking method is used, it does not support the collection of newly downloaded application data, and secondary development is required. The coupling degree is high, the adaptability is difficult, and many applications need to be adapted. The risk of developing data tracking for each application is relatively high, which can no longer meet people's requirements. Summary of the invention
[0003] The purpose of the present invention is to provide a vehicle-mounted distributed dynamic data point collection method, a vehicle and a cloud server. The first technical problem to be solved by the present invention is to implement the vehicle-mounted distributed dynamic point collection technology by using the software-defined automobile hardware platform, cloud computing, and distributed collaborative scheduling technology, so as to provide data source support for operators to perform data analysis.
[0004] The second technical problem to be solved by the present invention is to effectively realize the collection, reporting and problem feedback reproduction of operation and maintenance related data, and support early perception and real-time diagnosis of operation and maintenance;
[0005] The technical problem that the present invention needs to solve is to format and parse the collected data, store it in the data engine, and then perform statistical analysis on the collected data according to the needs of the operators, and finally display it to the user in the form of charts on the front end for the operators to use.
[0006] The present invention provides the following scheme:
[0007] A vehicle-mounted distributed dynamic data collection method, specifically comprising:
[0008] The vehicle side embeds SDK code that can automatically collect data points in the vehicle application;
[0009] Perform tracking configuration management in the cloud;
[0010] The cloud configures data collection rules based on data analysis requirements;
[0011] The vehicle receives the data collection rules sent from the cloud and sends them to various vehicle applications;
[0012] The vehicle side stores and summarizes the log cache of the collected data locally;
[0013] The vehicle uploads the log cache to the cloud in encrypted form;
[0014] The cloud server decrypts and unpacks the uploaded data, formats and parses the unpacked data, and stores it in the data analysis engine.
[0015] Furthermore, the SDK code includes identifying users, collecting data, managing local data cache, reporting data, and visual analysis. The local data cache management is used to set the upper limit of the local cache and delete all events cached locally.
[0016] The tracking point configuration management through the cloud specifically includes: event tracking point management, tracking point upload management, and visual tracking point management, where:
[0017] Event tracking management specifically involves creating tracking events and setting whether the tracking events are effective.
[0018] Tracking point upload management specifically involves setting trigger rules for uploading data packets collected by tracking points;
[0019] Visual tracking point management specifically involves human-computer interaction with users through a human-computer interaction interface.
[0020] Furthermore, the vehicle-side locally stores and aggregates the log cache of the collected data, specifically: the vehicle-side locally stores the log cache of the collected data through the tracking component sub-node, and after reaching the local cache upper limit or the maximum cache time, the tracking component sub-node is aggregated to the tracking management component main node through the internal standard interface of the distributed engine;
[0021] The vehicle end uploads the log cache to the cloud in an encrypted form. Specifically, after the vehicle application terminal SDK receives the collection rules, it collects the data in JSON format according to the rules, and then uploads the collected data to the tracking point management component subnode where the vehicle application is located. The tracking point management component caches the collected logs locally. After reaching the local cache limit or the maximum cache time, the tracking point management component subnode is aggregated to the tracking point management component master node through the internal standard interface of the distributed engine;
[0022] The cloud server decrypts and unpacks the data, formats and analyzes the unpacked collected data, and stores it in the data analysis engine. It also includes: the cloud performs statistical analysis on the collected data and displays it in the form of charts on the front end.
[0023] A vehicle-based distributed dynamic data collection method, specifically comprising:
[0024] Embed SDK code that can automatically collect data points in vehicle applications;
[0025] The vehicle receives the data collection rules sent from the cloud, and sends the data collection rules to various vehicle applications, wherein: the data collection rules are configured based on the data analysis requirements;
[0026] The vehicle side stores and summarizes the log cache of the collected data locally;
[0027] When the log cache triggers the upload rule, the vehicle uploads the log cache to the cloud in encrypted form.
[0028] A cloud-based vehicle-mounted distributed dynamic data point collection method, specifically comprising:
[0029] Perform tracking point configuration management in the cloud and configure data collection rules based on data analysis requirements;
[0030] Send the data collection rules to the main node of the tracking point management component on the vehicle side;
[0031] Receive log cache data uploaded by the vehicle, and decrypt and unpack the uploaded data;
[0032] The unpacked data is formatted and parsed, and stored in the cloud-based data analysis engine.
[0033] A vehicle-mounted distributed dynamic data tracking system, specifically comprising:
[0034] Data point collection SDK code embedding module, used to embed SDK code that can automatically collect data points in vehicle applications;
[0035] Cloud tracking configuration management module, used for tracking configuration management in the cloud;
[0036] The data collection rule configuration module configures data collection rules based on the data type required for data analysis, receives data collection rules sent from the cloud, and sends the data collection rules to each vehicle application terminal through the sub-nodes of the tracking point management component;
[0037] Log cache local storage module: The vehicle side stores the log cache of the collected data locally through the tracking component sub-node. When the local cache upper limit or the maximum cache time is reached, the tracking component sub-node is aggregated to the tracking management component main node through the internal standard interface of the distributed engine;
[0038] The vehicle-side data encryption and sub-packaging upload module, when the log cache on the vehicle side reaches the upload trigger rule, the collected data is sub-packed and uploaded to the cloud in encrypted form;
[0039] The cloud-based decryption, unpacking and parsing module decrypts and unpacks the uploaded data, formats and parses the unpacked data, and stores it in the data analysis engine.
[0040] A vehicle-based distributed dynamic data collection system, specifically including:
[0041] The vehicle-side data automatic collection SDK code embedding module is used to embed the SDK code that can automatically collect data points in the vehicle application;
[0042] The vehicle-side data collection rule receiving module is used to receive the data collection rules sent from the cloud and send the data collection rules to various vehicle-mounted applications
[0043] The vehicle-side log cache aggregation module locally stores and aggregates the log cache of the collected data; when the log cache triggers the upload rule, the vehicle-side uploads the log cache to the cloud in an encrypted form;
[0044] A cloud-based vehicle-mounted distributed dynamic data point collection system, specifically including:
[0045] The cloud tracking configuration management module is used to manage tracking configuration in the cloud and configure data collection rules based on data analysis requirements;
[0046] The cloud sends data collection rule module, which is used to send data collection rules to the main node of the tracking point management component on the vehicle side;
[0047] The cloud log cache data receiving module is used to receive the log cache data uploaded by the vehicle and decrypt and unpack the uploaded data;
[0048] The cloud data receiving, parsing and storage module is used to format and parse the data uploaded by the vehicle and store it in the cloud data analysis engine.
[0049] Furthermore, it also includes a cloud-based data visualization display module, which is used to perform statistical analysis on the collected data and display it in the form of charts on the front end.
[0050] An electronic device comprises: a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the method.
[0051] A computer-readable storage medium stores a computer program executable by an electronic device. When the computer program runs on the electronic device, the electronic device executes the steps of the method.
[0052] A vehicle, comprising:
[0053] Electronic equipment, used to implement a vehicle-based distributed dynamic data collection method;
[0054] A processor, wherein the processor runs a program, and when the program runs, the steps of the vehicle-based vehicle-mounted distributed dynamic data embedding point collection method are performed on the data output from the electronic device;
[0055] A storage medium for storing a program, wherein when the program is run, the program executes the steps of a vehicle-based distributed dynamic data embedding point collection method for data output from the electronic device;
[0056] A cloud server includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; the memory stores a cloud-based vehicle-mounted distributed dynamic data point acquisition system, and when the computer program is executed by the processor, the processor executes the steps of the method.
[0057] Compared with the prior art, the present invention has the following advantages:
[0058] The present invention automatically collects data points from vehicles through the coordinated cooperation between the vehicle side and the cloud side, performs point-of-sale configuration management and sets data collection rules in the cloud side, locally stores and aggregates the data log cache, and finally uploads it to the data analysis engine for storage and graphical display. Through cloud computing and distributed collaborative scheduling technology, the distributed dynamic point-of-sale technology on the vehicle is realized, providing data source support for operators to perform data analysis.
[0059] The present invention locally stores and aggregates the log cache of collected data in real time, and uploads it to the cloud in encrypted form, which decrypts, unpacks, formats, parses and stores it, and finally displays it graphically, effectively realizing the collection, reporting and problem feedback reproduction of operation and maintenance related data, and supporting early perception and real-time diagnosis of operation and maintenance. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0061] Figure 1 It is a flow chart of the vehicle-mounted distributed dynamic data point collection method of the present invention.
[0062] Figure 2 It is an architecture diagram of the vehicle-mounted distributed dynamic data point acquisition system of the present invention.
[0063] Figure 3 This is a flow chart of the vehicle-based distributed dynamic data collection method.
[0064] Figure 4 This is the architecture diagram of the vehicle-based distributed dynamic data collection system.
[0065] Figure 5 This is a flow chart of the cloud-based vehicle-mounted distributed dynamic data point collection method.
[0066] Figure 6 This is the architecture diagram of the cloud-based vehicle-mounted distributed dynamic data point collection system.
[0067] Figure 7 It is a system architecture diagram of a specific embodiment.
[0068] Figure 8 It is a system architecture diagram of an electronic device. DETAILED DESCRIPTION
[0069] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0070] like Figure 1 The flowchart of the vehicle-mounted distributed dynamic data point collection method shown in the figure, in this embodiment, the execution subjects include the vehicle end and the cloud end that work together and exchange data through the network:
[0071] Step S1: The vehicle side embeds the SDK code capable of automatically collecting data points in the vehicle application;
[0072] Specifically: The SDK code includes identifying users, collecting data, managing local data cache, reporting data, and visual analysis. Local data cache management is used to set the upper limit of the local cache and delete all events cached locally.
[0073] Exemplary: Data local cache management includes: setting the local cache upper limit value, deleting all events cached locally;
[0074] Step S2: Perform tracking configuration management in the cloud, specifically: perform tracking configuration management in the cloud, including event tracking management, tracking upload management, and visual tracking management, where:
[0075] Event tracking management specifically involves creating tracking events and setting whether the tracking events are effective. For example, creating a tracking event includes a tracking name and a tracking identifier.
[0076] Tracking point upload management specifically involves setting trigger rules for uploading data packets collected by tracking points;
[0077] Specifically: The configuration items for data packet upload triggering rules are: maximum interval time for each upload + maximum number of bytes for each upload;
[0078] Visual tracking management specifically involves human-computer interaction with users through a human-computer interaction interface. Specifically, after visual tracking management enters the tracking mode through the cloud, the user clicks on the element where they want to track and makes corresponding choices according to the interface prompts to create the corresponding tracking event, thereby providing a friendly tracking creation method for people who do not have coding skills.
[0079] Step S3: The cloud configures data collection rules based on the requirements of data analysis. Specifically, the cloud configures data collection rules based on the data type support required for data analysis, and after the configuration is completed, it is sent to the main node of the tracking point management component on the vehicle through the cloud;
[0080] Exemplary: One of the collection script rules is as follows: collection task header + collection vehicle application package name + collection event ID + collection event type (event / status) + collection log level + collection task package tail.
[0081] Step S4: The vehicle receives the data collection rules sent from the cloud, and sends the data collection rules to each vehicle application through the tracking point management component;
[0082] Step S5: The vehicle side stores and aggregates the log cache of the collected data locally. Specifically, the vehicle side stores the log cache of the collected data locally through the embedding component subnode. After reaching the local cache upper limit or the maximum cache time, the embedding component subnode is aggregated to the embedding management component master node through the distributed engine internal standard interface. Exemplarily, the distributed engine internal standard interface aggregates the cache data to the embedding management component master node through the SOMEIP protocol.
[0083] Step S6: The vehicle end uploads the log cache to the cloud in an encrypted form. Specifically: After receiving the collection rules, the vehicle application terminal SDK collects data in JSON format according to the rules, and then uploads the collected data to the tracking point management component subnode where the vehicle application is located. The tracking point management component caches the collected logs locally. After reaching the local cache upper limit or the maximum cache time, the tracking point management component subnode is aggregated to the tracking point management component master node through the internal standard interface of the distributed engine;
[0084] For example: the main node of the tracking point management component will collect the collected data in JSON format uploaded by each child node and cache it locally. When the cache reaches the upload trigger rule, the data will be uploaded to the cloud in encrypted form. Data reporting supports reporting in the form of separate files, and files that are too large will be split. During the upload process, breakpoint resumption and failure resend mechanisms are supported.
[0085] Step S7: The cloud server decrypts and unpacks the uploaded data, formats and parses the unpacked data, and stores it in the data analysis engine;
[0086] Preferably, on the basis of steps S1-S7, it also includes: the cloud tracking point performs statistical analysis on the collected data according to the needs of the operator, and displays it in the form of charts on the front end.
[0087] For the method steps disclosed in the above embodiments, the method steps are described as a series of action combinations for the purpose of simple description, but those skilled in the art should know that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0088] like Figure 2 The architecture diagram of the vehicle-mounted distributed dynamic data point collection system shown in the figure specifically includes:
[0089] Data point collection SDK code embedding module, used to embed SDK code that can automatically collect data points in vehicle applications;
[0090] Cloud tracking configuration management module, used for tracking configuration management in the cloud;
[0091] The data collection rule configuration module configures data collection rules based on the data type required for data analysis, receives data collection rules sent from the cloud, and sends the data collection rules to each vehicle application terminal through the sub-nodes of the tracking point management component;
[0092] Log cache local storage module: The vehicle side stores the log cache of the collected data locally through the tracking component sub-node. When the local cache upper limit or the maximum cache time is reached, the tracking component sub-node is aggregated to the tracking management component main node through the internal standard interface of the distributed engine;
[0093] The vehicle-side data encryption and sub-packaging upload module, when the log cache on the vehicle side reaches the upload trigger rule, the collected data is sub-packed and uploaded to the cloud in encrypted form;
[0094] The cloud-based decryption, unpacking and parsing module decrypts and unpacks the uploaded data, formats and parses the unpacked data, and stores it in the data analysis engine.
[0095] It is worth noting that although only the data point collection SDK code embedding module, the cloud point configuration management module, the data collection rule configuration module, the log cache local storage module, the vehicle-side data encryption sub-packaging upload module and the cloud decryption and unpacking parsing module are disclosed in this system, it does not mean that the composition of this system is limited to the above-mentioned basic functional modules. On the contrary, what the present invention wants to express is: on the basis of the above-mentioned basic functional modules, those skilled in the art can arbitrarily add one or more functional modules in combination with the prior art to form an infinite number of embodiments or technical solutions. In other words, this system is open rather than closed. Just because this embodiment discloses only individual basic functional modules, it cannot be considered that the scope of protection of the claims of the present invention is limited to the disclosed basic functional modules. At the same time, for the convenience of description, the above devices are described in terms of functions and are described separately in various units and modules. Of course, when implementing the present invention, the functions of each unit and module can be implemented in the same or more software and / or hardware.
[0096] The device implementation described above is merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present implementation scheme. Those of ordinary skill in the art may understand and implement it without creative work.
[0097] like Figure 3 The flow chart of the vehicle-based distributed dynamic data collection method shown in the figure specifically includes:
[0098] Step V1, embed the SDK code that can automatically collect data points in the vehicle application;
[0099] Step V2: The vehicle receives the data collection rules sent from the cloud, and sends the data collection rules to each vehicle application. Specifically, the data collection rules are sent to each vehicle application through the embedding point management component, and the data collection rules are configured based on the data analysis requirements.
[0100] Step V3, receiving the log cache data uploaded by the vehicle, and decrypting and unpacking the uploaded data;
[0101] Step V4, format and parse the unpacked data and store it in the data analysis engine in the cloud.
[0102] For the method steps disclosed in the above embodiments, the method steps are described as a series of action combinations for the purpose of simple description, but those skilled in the art should know that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0103] like Figure 4 The vehicle-based distributed dynamic data collection system shown in the figure specifically includes:
[0104] The vehicle-side data automatic collection SDK code embedding module is used to embed the SDK code that can automatically collect data points in the vehicle application;
[0105] The vehicle-side data collection rule receiving module is used to receive the data collection rules sent from the cloud and send the data collection rules to various vehicle-mounted applications
[0106] The vehicle-side log cache aggregation module locally stores and aggregates the log cache of the collected data; when the log cache triggers the upload rule, the vehicle-side uploads the log cache to the cloud in an encrypted form;
[0107] It is worth noting that although only the vehicle-side data automatic collection SDK code embedding module, the vehicle-side data collection rule receiving module and the vehicle-side log cache summary module are disclosed in this system, it does not mean that the composition of this system is limited to the above-mentioned basic functional modules. On the contrary, what the present invention wants to express is: on the basis of the above-mentioned basic functional modules, those skilled in the art can arbitrarily add one or more functional modules in combination with the prior art to form an infinite number of embodiments or technical solutions. In other words, this system is open rather than closed. Just because this embodiment only discloses individual basic functional modules, it cannot be considered that the scope of protection of the claims of the present invention is limited to the disclosed basic functional modules. At the same time, for the convenience of description, the above devices are described in terms of functions and are described separately in various units and modules. Of course, when implementing the present invention, the functions of each unit and module can be implemented in the same or more software and / or hardware.
[0108] The device implementation described above is merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present implementation scheme. Those of ordinary skill in the art may understand and implement it without creative work.
[0109] like Figure 5 The flowchart of the cloud-based vehicle-mounted distributed dynamic data point collection method shown in the figure specifically includes:
[0110] Step C1: Perform tracking point configuration management in the cloud and configure data collection rules based on data analysis requirements;
[0111] Step C2, sending the data collection rules to the main node of the tracking point management component on the vehicle side;
[0112] Step C3, receiving the log cache data uploaded by the vehicle, and decrypting and unpacking the uploaded data;
[0113] Step C4, formatting and parsing the unpacked data, and storing it in a data analysis engine in the cloud.
[0114] For the method steps disclosed in the above embodiments, the method steps are described as a series of action combinations for the purpose of simple description, but those skilled in the art should know that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0115] like Figure 6 The cloud-based vehicle-mounted distributed dynamic data collection system shown in the figure specifically includes:
[0116] The cloud tracking configuration management module is used to manage tracking configuration in the cloud and configure data collection rules based on data analysis requirements;
[0117] The cloud sends data collection rule module, which is used to send data collection rules to the main node of the tracking point management component on the vehicle side;
[0118] The cloud log cache data receiving module is used to receive the log cache data uploaded by the vehicle and decrypt and unpack the uploaded data;
[0119] The cloud data receiving, parsing and storage module is used to format and parse the data uploaded by the vehicle and store it in the cloud data analysis engine.
[0120] It is worth noting that although only the XX module is disclosed in this system, it does not mean that the composition of this system is limited to the above basic functional modules. On the contrary, what the present invention wants to express is that on the basis of the above basic functional modules, those skilled in the art can arbitrarily add one or more functional modules in combination with the prior art to form an infinite number of embodiments or technical solutions. In other words, this system is open rather than closed. Just because this embodiment only discloses individual basic functional modules, it cannot be considered that the scope of protection of the claims of the present invention is limited to the disclosed basic functional modules. At the same time, for the convenience of description, the above devices are described in terms of functions and are described separately in various units and modules. Of course, when implementing the present invention, the functions of each unit and module can be implemented in the same or one or more software and / or hardware.
[0121] The device implementation described above is merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present implementation scheme. Those of ordinary skill in the art may understand and implement it without creative work.
[0122] like Figure 7 The system topology diagram of the specific embodiment shown in FIG. Figures 1 to 6 The mutual combination and refinement of the illustrated embodiments, through the technical content disclosed in this embodiment, it can be seen that the collaborative workflow between the vehicle-side and the cloud, as well as the internal architecture of the vehicle-side system and the cloud-side system:
[0123] Step 1: Develop an in-vehicle application data tracking SDK. The SDK includes functions such as identifying users, collecting data, managing local data cache (setting the upper limit of the local cache, deleting all events cached locally), reporting data, and visual analysis. It has a tracking configuration management interface and supports remote configuration in the cloud. The application embeds the SDK code to realize automatic tracking of in-vehicle application data.
[0124] Step 2: Perform tracking configuration management in the cloud, including event tracking management, tracking upload management, and visual tracking management. Event tracking management includes the creation of tracking events (tracking name, tracking identifier) and setting whether the tracking event is effective; tracking upload management sets the trigger rules for uploading data packets collected by tracking, and the configuration items are: maximum interval time for each upload + maximum number of bytes for each upload; visual tracking management can enter the tracking mode through the cloud, and the user clicks on the element to be tracked and makes corresponding choices according to the interface prompts to create the corresponding tracking event, so as to provide a friendly tracking creation method for people without coding ability.
[0125] Step 3: Configure data collection rules based on the data type support required for data analysis. After configuration, send the rules to the main node of the tracking point management component on the vehicle through the cloud.
[0126] Step 4: After the main node of the tracking point management component on the vehicle receives the data collection rules from the cloud, it sends the rules to each tracking point management component sub-node through the internal standard interface of the distributed engine (SOMEIP protocol), and the sub-node then sends the rules to each APP terminal.
[0127] Step 5. After receiving the collection rules, the vehicle application terminal SDK collects data in JSON format according to the rules, and then uploads the collected data to the tracking point management component subnode where the vehicle application is located. The tracking point management component caches the collected logs locally. After reaching the local cache limit or the maximum cache time, the tracking point management component subnode aggregates the logs to the tracking point management component main node through the distributed engine internal standard interface (SOMEIP protocol).
[0128] Step 6, the main node of the tracking point management component will collect the collected data in JSON format uploaded by each child node and cache it locally. When the cache reaches the upload trigger rule, the data will be uploaded to the cloud in encrypted form. Before transmission, the data will be compressed using the ZIP compression algorithm to reduce the amount of data transmission. Considering the unstable network environment in the car, data reporting supports reporting in the form of separate files, and files that are too large are split; it supports breakpoint resumption and failure retransmission mechanisms to ensure the success rate of file upload under weak network conditions; MD5 verification is used after the file is uploaded to ensure the integrity of the uploaded file. Note: DES+RSA is used for data encryption.
[0129] Step 7: After the data is uploaded to the cloud, the cloud service decrypts and unpacks the data. The cloud service formats and parses the unpacked collected data and stores it in Elastic Search. The cloud tracking point performs statistical analysis on the collected data according to the needs of the operator, and finally displays it to the user in the form of charts on the front end for the operator to use.
[0130] Combination Figure 7 It can be seen that in this implementation, the vehicle side is provided with a vehicle driving dynamics control system VDC, a cockpit domain controller CSC (Cockpit Space Center) and an automatic driving control system HAD, wherein the on-board application in the vehicle driving dynamics control system VDC interacts with the slave node of the tracking point management component, and the on-board application in the automatic driving control system HAD interacts with the slave node of the tracking point management component.
[0131] At the same time, the vehicle driving dynamics control system VDC and the cockpit domain controller CSC exchange data for data upload and configuration issuance, and the autonomous driving control system HAD and the cockpit domain controller CSC exchange data for data upload and configuration issuance. The cockpit domain controller CSC is provided with a master node of the tracking point management component, which exchanges data with the cloud, receives the tracking point configuration management rules, and summarizes the tracking point data and uploads it to the cloud.
[0132] In this embodiment, a tracking point configuration management module and a tracking point service module are provided in the cloud. The tracking point configuration management module is used to perform tracking point configuration management, including event tracking point management, tracking point upload management, and visual tracking point management. The tracking point service module is used to parse, store, query, perform data analysis, and perform graphical visualization of the tracking point data uploaded from the vehicle.
[0133] like Figure 8 As shown, the present invention also discloses an electronic device and a storage medium corresponding to a vehicle-mounted distributed dynamic data point acquisition method and system:
[0134] An electronic device includes: a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of a vehicle-mounted distributed dynamic data point collection method.
[0135] A computer-readable storage medium stores a computer program executable by an electronic device. When the computer program runs on the electronic device, the electronic device executes the steps of a vehicle-mounted distributed dynamic data point collection method.
[0136] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0137] The electronic device includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system. The hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and a memory. The operating system can be any one or more computer operating systems that implement electronic device control through a process, such as a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a Windows operating system. In addition, in an embodiment of the present invention, the electronic device can be a handheld device such as a smart phone or a tablet computer, or can be an electronic device such as a desktop computer or a portable computer, which is not particularly limited in the embodiment of the present invention.
[0138] The execution subject of the electronic device control in the embodiment of the present invention may be an electronic device, or a functional module in the electronic device that can call and execute a program. The electronic device may obtain the firmware corresponding to the storage medium. The firmware corresponding to the storage medium is provided by the supplier. The firmware corresponding to different storage media may be the same or different, which is not limited here. After the electronic device obtains the firmware corresponding to the storage medium, the firmware corresponding to the storage medium may be written into the storage medium, specifically, the firmware corresponding to the storage medium may be burned into the storage medium. The process of burning the firmware into the storage medium may be implemented using existing technology, which will not be described in detail in the embodiment of the present invention.
[0139] The electronic device may also obtain a reset command corresponding to the storage medium. The reset command corresponding to the storage medium is provided by the supplier. The reset commands corresponding to different storage media may be the same or different, and are not limited here.
[0140] At this time, the storage medium of the electronic device is a storage medium in which the corresponding firmware is written, and the electronic device can respond to the reset command corresponding to the storage medium in the storage medium in which the corresponding firmware is written, so that the electronic device resets the storage medium in which the corresponding firmware is written according to the reset command corresponding to the storage medium. The process of resetting the storage medium according to the reset command can be implemented by the existing technology and will not be described in detail in the embodiments of the present invention.
[0141] In this embodiment, the present invention further discloses a vehicle and a cloud server:
[0142] A vehicle, comprising:
[0143] Electronic equipment, used to implement a vehicle-based distributed dynamic data collection method;
[0144] A processor, wherein the processor runs a program, and when the program runs, the steps of the vehicle-based vehicle-mounted distributed dynamic data embedding point collection method are performed on the data output from the electronic device;
[0145] A storage medium for storing a program, wherein when the program is run, the program executes the steps of a vehicle-based distributed dynamic data embedding point collection method for data output from the electronic device;
[0146] A cloud server includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; the memory stores a cloud-based vehicle-mounted distributed dynamic data point collection system, and when the computer program is executed by the processor, the processor executes the steps of a vehicle-side-based vehicle-mounted distributed dynamic data point collection method.
[0147] In this embodiment, the vehicle and the cloud server can achieve collaborative work between the vehicle and the cloud by establishing a network connection, thereby completing the distributed dynamic data point collection method.
[0148] This embodiment automatically collects data points from vehicles through the coordinated cooperation between the vehicle side and the cloud side, performs point configuration management and sets data collection rules in the cloud side, locally stores and summarizes the data log cache, and finally uploads it to the data analysis engine for storage and graphical display. This embodiment can locally store and summarize the log cache of collected data in real time, and upload it to the cloud side in encrypted form, which will decrypt, unpack, format, parse and store it, and finally display it graphically, effectively realizing the collection, reporting and problem feedback reproduction of operation and maintenance related data, and supporting early perception and real-time diagnosis of operation and maintenance.
[0149] The device implementation described above is merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present implementation scheme. Those of ordinary skill in the art may understand and implement it without creative work.
[0150] Those skilled in the art will appreciate that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as those generally understood by those skilled in the art in the art to which the present invention belongs. It should also be understood that terms such as those defined in general dictionaries should be understood to have meanings consistent with the meanings in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless specifically defined.
[0151] It should be noted that certain words are used in this specification and claims to refer to specific components. Those skilled in the art should understand that vehicle manufacturers may use different nouns to refer to the same component. This specification and claims do not use the difference in nouns as a way to distinguish components, but use the difference in the functions of the components as the criterion for distinction. As mentioned throughout the specification and claims, "including" or "comprising" is an open term, so it should be understood as "including but not limited to". The preferred embodiment of the present invention will be described later, but the description is based on the general principles of the specification and is not used to limit the scope of the present invention. The scope of protection of the present invention shall be based on the definition of the claims attached thereto.
[0152] In the description of this specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0153] In addition, the technical solutions between the various embodiments of the present invention can be combined with each other, but it must be based on the fact that ordinary technicians in the field can implement it. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0154] In several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method can also be implemented in other ways. The apparatus embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the apparatus, method and computer program product according to multiple embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, program segment or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0155] In addition, the functional modules in the various embodiments of the present invention may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.
[0156] Those skilled in the art will appreciate that the modules in the devices in the embodiments can be adaptively changed and set in one or more devices different from the embodiments. The modules or units or components in the embodiments can be combined into one module or unit or component, and in addition they can be divided into multiple submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including corresponding claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner can be combined in any combination. Unless otherwise explicitly stated, each feature disclosed in this specification (including corresponding claims, abstracts and drawings) can be replaced by an alternative feature that provides the same, equivalent or similar purpose.
[0157] The various component embodiments of the present invention can be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or digital signal processor (DSP) can be used in practice to implement some or all functions of some or all components in the device for distributing messages according to an embodiment of the present invention. The present invention can also be implemented as a device or apparatus program (e.g., a computer program and a computer program product) for executing part or all of the methods described herein. Such a program implementing the present invention can be stored on a computer-readable medium, or can have the form of one or more signals. Such a signal can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.
[0158] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, 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 embodiments of the present invention.
Claims
1. A vehicle-mounted distributed dynamic data collection method, characterized in that: Specifically include: The vehicle side embeds SDK code that can automatically collect data points in the vehicle application; Perform tracking configuration management in the cloud; The cloud configures data collection rules based on data analysis requirements; The vehicle receives the data collection rules sent from the cloud and sends them to various vehicle applications; The vehicle side stores and summarizes the log cache of the collected data locally; The vehicle uploads the log cache to the cloud in encrypted form; The cloud server decrypts and unpacks the uploaded data, formats and parses the unpacked data, and stores it in the data analysis engine; The cloud-based configuration of data collection rules is based on the data type support required for data analysis, and after the configuration is completed, it is sent to the main node of the tracking point management component on the vehicle through the cloud; The vehicle-side locally stores and aggregates the log cache of the collected data, specifically: the vehicle-side locally stores the log cache of the collected data through the tracking component sub-node, and after reaching the local cache upper limit or the maximum cache time, the tracking component sub-node is aggregated to the tracking management component main node through the internal standard interface of the distributed engine; The vehicle end uploads the log cache to the cloud in an encrypted form. Specifically, after the vehicle application receives the collection rules, it collects the data in JSON format according to the rules, and then uploads the collected data to the tracking point management component subnode where the vehicle application is located. The tracking point management component caches the collected logs locally. After the local cache limit or the maximum cache time is reached, the tracking point management component subnode is aggregated to the tracking point management component master node through the internal standard interface of the distributed engine; The cloud server decrypts and unpacks the data, formats and analyzes the unpacked collected data, and stores it in the data analysis engine, and also includes: the cloud performs statistical analysis on the collected data and displays it in the form of charts on the front end; Among them, the internal standard interface of the distributed engine aggregates the cache data to the main node of the tracking point management component through the SOMEIP protocol; The main node of the tracking point management component will collect the collected data in JSON format uploaded by each child node and cache it locally. When the cache reaches the upload trigger rule, the data will be uploaded to the cloud in encrypted form. Data reporting supports reporting in the form of separate files, and files that are too large are split. During the upload process, breakpoint continuation and failure retransmission mechanisms are supported; The cloud-based tracking point performs statistical analysis on the collected data according to the needs of operators and displays it in the form of charts on the front end.
2. The vehicle-mounted distributed dynamic data collection method according to claim 1 is characterized in that: The SDK code includes identifying users, collecting data, managing local data cache, reporting data, and visual analysis. The local data cache management is used to set the upper limit of the local cache and delete all events cached locally. The tracking point configuration management through the cloud specifically includes: event tracking point management, tracking point upload management, and visual tracking point management, where: Event tracking management specifically involves creating tracking events and setting whether the tracking events are effective. Tracking point upload management specifically involves setting trigger rules for uploading data packets collected by tracking points; Visual tracking point management specifically involves human-computer interaction with users through a human-computer interaction interface; Among them, data local cache management includes: setting the local cache upper limit and deleting all events cached locally; Creating a tracking event includes a tracking name and a tracking identifier; The configuration items of the data packet upload trigger rule are: the maximum interval time for each upload and the maximum number of bytes for each upload; After entering the tracking mode through the cloud, the user can create the corresponding tracking event by clicking on the element they want to track and making corresponding choices according to the interface prompts.
3. A vehicle-based distributed dynamic data collection method, characterized in that: Specifically include: Embed SDK code that can automatically collect data points in vehicle applications; The vehicle receives the data collection rules sent from the cloud, and sends the data collection rules to various vehicle applications, wherein: the data collection rules are configured based on the data analysis requirements; The vehicle side stores and summarizes the log cache of the collected data locally; When the log cache triggers the upload rule, the vehicle uploads the log cache to the cloud in encrypted form; The data collection rules are sent to each vehicle application through the tracking point management component, and the data collection rules are configured based on the data analysis requirements; Receive log cache data uploaded by the vehicle, and decrypt and unpack the uploaded data; Format and parse the unpacked data and store it in the cloud data analysis engine; The vehicle-side locally stores and aggregates the log cache of the collected data, specifically: the vehicle-side locally stores the log cache of the collected data through the tracking component sub-node, and after reaching the local cache upper limit or the maximum cache time, the tracking component sub-node is aggregated to the tracking management component main node through the internal standard interface of the distributed engine; The vehicle end uploads the log cache to the cloud in an encrypted form. Specifically, after the vehicle application receives the collection rules, it collects the data in JSON format according to the rules, and then uploads the collected data to the tracking point management component subnode where the vehicle application is located. The tracking point management component caches the collected logs locally. After the local cache limit or the maximum cache time is reached, the tracking point management component subnode is aggregated to the tracking point management component master node through the internal standard interface of the distributed engine; The cloud server decrypts and unpacks the data, formats and analyzes the unpacked collected data, and stores it in the data analysis engine. It also includes: the cloud performs statistical analysis on the collected data and displays it in the form of charts on the front end; Among them, the internal standard interface of the distributed engine aggregates the cache data to the main node of the tracking point management component through the SOMEIP protocol; The main node of the tracking point management component will collect the collected data in JSON format uploaded by each child node and cache it locally. When the cache reaches the upload trigger rule, the data will be uploaded to the cloud in encrypted form. Data reporting supports reporting in the form of separate files, and files that are too large are split. During the upload process, breakpoint continuation and failure retransmission mechanisms are supported; The cloud-based tracking point performs statistical analysis on the collected data according to the needs of operators and displays it in the form of charts on the front end.
4. A vehicle-mounted distributed dynamic data collection system, characterized in that: Specifically include: Data point collection SDK code embedding module, used to embed SDK code that can automatically collect data points in vehicle applications; Cloud tracking configuration management module, used for tracking configuration management in the cloud; The data collection rule configuration module configures data collection rules based on the data type required for data analysis, receives data collection rules sent from the cloud, and sends the data collection rules to various vehicle applications through the sub-nodes of the tracking point management component; Log cache local storage module: The vehicle side stores the log cache of the collected data locally through the tracking component sub-node. When the local cache upper limit or the maximum cache time is reached, the tracking component sub-node is aggregated to the tracking management component main node through the internal standard interface of the distributed engine; The vehicle-side data encryption and sub-packaging upload module, when the log cache on the vehicle side reaches the upload trigger rule, the collected data is sub-packed and uploaded to the cloud in encrypted form; The cloud-based decryption, unpacking and parsing module decrypts and unpacks the uploaded data, formats and parses the unpacked data, and stores it in the data analysis engine; The vehicle side stores and aggregates the log cache of the collected data locally. Specifically, the vehicle side stores the log cache of the collected data locally through the tracking component sub-node. When the local cache upper limit or the maximum cache time is reached, the tracking component sub-node is aggregated to the tracking management component main node through the internal standard interface of the distributed engine. The vehicle end uploads the log cache to the cloud in encrypted form. Specifically, after receiving the collection rules, the vehicle application collects data in JSON format according to the rules, and then uploads the collected data to the tracking point management component subnode where the vehicle application is located. The tracking point management component caches the collected logs locally. When the local cache limit or maximum cache time is reached, the tracking point management component subnode is aggregated to the tracking point management component master node through the internal standard interface of the distributed engine; The cloud server decrypts and unpacks the data, formats and analyzes the unpacked collected data, and stores it in the data analysis engine. It also includes: the cloud performs statistical analysis on the collected data and displays it in the form of charts on the front end; Among them, the internal standard interface of the distributed engine aggregates the cache data to the main node of the tracking point management component through the SOMEIP protocol; The main node of the tracking point management component will collect the collected data in JSON format uploaded by each child node and cache it locally. When the cache reaches the upload trigger rule, the data will be uploaded to the cloud in encrypted form. Data reporting supports reporting in the form of separate files, and files that are too large are split. During the upload process, breakpoint continuation and failure retransmission mechanisms are supported; The cloud-based tracking point performs statistical analysis on the collected data according to the needs of operators and displays it in the form of charts on the front end.
5. A vehicle-based distributed dynamic data point collection system, characterized in that: Specifically include: The vehicle-side data automatic collection SDK code embedding module is used to embed the SDK code that can automatically collect data points in the vehicle application; The vehicle-side data collection rule receiving module is used to receive the data collection rules sent from the cloud and send the data collection rules to various vehicle-mounted applications; The vehicle-side log cache aggregation module locally stores and aggregates the log cache of the collected data; when the log cache triggers the upload rule, the vehicle-side uploads the log cache to the cloud in an encrypted form; The vehicle side stores and aggregates the log cache of the collected data locally. Specifically, the vehicle side stores the log cache of the collected data locally through the tracking component sub-node. When the local cache upper limit or the maximum cache time is reached, the tracking component sub-node is aggregated to the tracking management component main node through the internal standard interface of the distributed engine. The vehicle end uploads the log cache to the cloud in encrypted form. Specifically, after receiving the collection rules, the vehicle application collects data in JSON format according to the rules, and then uploads the collected data to the tracking point management component subnode where the vehicle application is located. The tracking point management component caches the collected logs locally. When the local cache limit or maximum cache time is reached, the tracking point management component subnode is aggregated to the tracking point management component master node through the internal standard interface of the distributed engine; The cloud server decrypts and unpacks the data, formats and analyzes the unpacked collected data, and stores it in the data analysis engine. It also includes: the cloud performs statistical analysis on the collected data and displays it in the form of charts on the front end; Among them, the internal standard interface of the distributed engine aggregates the cache data to the main node of the tracking point management component through the SOMEIP protocol; The main node of the tracking point management component will collect the collected data in JSON format uploaded by each child node and cache it locally. When the cache reaches the upload trigger rule, the data will be uploaded to the cloud in encrypted form. Data reporting supports reporting in the form of separate files, and files that are too large are split. During the upload process, breakpoint continuation and failure retransmission mechanisms are supported; The cloud-based tracking point performs statistical analysis on the collected data according to the needs of operators and displays it in the form of charts on the front end.
6. An electronic device, characterized in that: include: A processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the method described in any one of claims 1 to 3.
7. A computer-readable storage medium, characterized in that: It stores a computer program executable by an electronic device, and when the computer program runs on the electronic device, the electronic device executes the steps of the method described in any one of claims 1 to 3.
8. A vehicle, characterized in that: Specifically include: An electronic device for implementing the steps of the method according to any one of claims 1 to 3; A processor, the processor running a program, when the program is running, performing the steps of the method according to any one of claims 1 to 3 on the data output from the electronic device; A storage medium for storing a program, wherein the program, when running, executes the steps of the method according to any one of claims 1 to 3 for data output from an electronic device.
