Internet of vehicles big data real-time computing system
By unified collection and processing of real-time data and offline data of vehicles and business systems in the Internet of Vehicles big data real-time computing system, and integrating them into one computing link, the problem of high maintenance complexity in the existing technology is solved and efficient Data processing and storage reduce maintenance costs.
Patent Information
- Application Number
- CN202410815896.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-24
- Publication Date
- 2024-09-27
AI Technical Summary
The existing Internet of Vehicles big data computing platform processes real-time data and offline data separately, resulting in high maintenance complexity and requiring two independent computing links, which increases the maintenance burden of engineers.
Design a real-time computing system for Internet of Vehicles big data, which is connected through the first data acquisition module and the second data acquisition module to collect data from vehicles and business systems in real time, and performs real-time processing and storage through Flink components, and uniformly uses Doris database storage. Integrated into a computing link.
It reduces the complexity of maintaining the big data computing link of the Internet of Vehicles, improves data processing efficiency, reduces the complexity of setting up external reading interfaces, and improves the timeliness of offline data.
Smart Images

Figure CN118708567A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of Internet of Vehicles big data, and more specifically, to a real-time computing system for Internet of Vehicles big data. Background Art
[0002] With the development of electric vehicle technology, the big data computing platform of the Internet of Vehicles faces the challenges of complex data sources, rapid expansion of data volume, and increasingly high requirements for real-time data response. To address this problem, the current main architecture design is to use a divide-and-conquer approach, using two links to process data, one for real-time data calculation and another for offline data. It is understandable that this architecture design has two data calculation links, requiring development engineers to maintain the two sets of links, which increases the complexity of maintaining the big data computing links of the vehicle network.
[0003] Based on this, how to reduce the complexity of maintaining the big data computing link of the Internet of Vehicles is a technical problem that needs to be solved urgently. Summary of the invention
[0004] The embodiments of the present application provide a real-time computing system for Internet of Vehicles big data. The technical solution provided in the present application can reduce the complexity of maintaining the Internet of Vehicles big data computing link.
[0005] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by the practice of the present application.
[0006] According to an embodiment of the present application, a real-time computing system for big data of an Internet of Vehicles is provided, and the system includes: a first data acquisition module, connected to multiple vehicles, and used to collect real-time data generated by the vehicles; a second data acquisition module, connected to multiple business systems of the vehicles, and used to collect offline data generated by the business systems in real time, and send the offline data to the first data acquisition module; a data processing module, connected to the first data acquisition module, and used to process the real-time data and generate real-time data processing results, and also used to process the offline data and generate offline data processing results; a data storage module, connected to the data processing module, and used to store the real-time data processing results and the offline data processing results.
[0007] In some embodiments of the present application, based on the aforementioned scheme, the system also includes: a data query module, connected to the multiple vehicles, for receiving a first data query request sent by any one of the multiple vehicles, and obtaining data corresponding to the first data query request from the data storage module; a data sending module, connected to the data query module, for sending data corresponding to the first data query request to any one of the vehicles.
[0008] In some embodiments of the present application, based on the aforementioned scheme, the data query module is connected to the multiple business systems, and the data query module is also used to receive a second data query request sent by any one of the multiple business systems, and obtain data corresponding to the second data query request from the data storage module; the data sending module is also used to send the data corresponding to the second data query request to any one of the business systems.
[0009] In some embodiments of the present application, based on the aforementioned solution, the second data acquisition module includes a Canal component.
[0010] In some embodiments of the present application, based on the aforementioned solution, the first data acquisition module includes one of a RabbitMQ component and a Kafka component.
[0011] In some embodiments of the present application, based on the aforementioned solution, the data processing module includes one of a Flink component and a Spark Streaming component.
[0012] In some embodiments of the present application, based on the aforementioned solution, the data storage module includes one of a Doris database, a GreenPlum database, and a Clickhouse database.
[0013] In some embodiments of the present application, based on the aforementioned solution, the first data acquisition module includes a Kafka component.
[0014] In some embodiments of the present application, based on the aforementioned solution, the data processing module includes a Flink component.
[0015] In some embodiments of the present application, based on the aforementioned solution, the data storage module includes a Doris database.
[0016] The technical solution of the present application is to design a vehicle network big data real-time computing system including: a first data acquisition module connected to multiple vehicles and used to collect real-time data generated by the vehicles; a second data acquisition module connected to multiple business systems of the vehicles and used to collect offline data generated by the business systems in real time and send the offline data to the first data acquisition module; a data processing module connected to the first data acquisition module and used to process the real-time data and generate real-time data processing results, and also used to process the offline data and generate offline data processing results; a data storage module connected to the data processing module and used to store the real-time data processing results and the offline data processing results.
[0017] As can be seen, in the vehicle network big data real-time computing system constructed by the technical solution of the present application, since the second data acquisition module for collecting offline data of the business system is connected to the first data acquisition module for collecting real-time data of the vehicle, the computing link of real-time data can be used to process offline data, thereby reducing the computing link for offline data and integrating the two existing separate computing links into one computing link, so that development engineers only need to maintain one computing link, reducing the complexity of maintaining the computing link of the vehicle network big data.
[0018] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0020] Figure 1 A schematic diagram of the current computing architecture platform for Internet of Vehicles big data is shown;
[0021] Figure 2 A schematic diagram of the architecture of a real-time computing system for Internet of Vehicles big data according to an embodiment of the present application is shown;
[0022] Figure 3 A schematic diagram of the structure of a real-time computing system for Internet of Vehicles big data according to an embodiment of the present application is shown.
[0023] The following are the descriptions of the reference numerals:
[0024] 10—first data acquisition module, 20—second data acquisition module,
[0025] 30—data processing module, 40—data storage module,
[0026] 50—Vehicles, 60—Business Systems,
[0027] 70—data sending module, 80—data query module. DETAILED DESCRIPTION
[0028] Typical implementations that embody the features and advantages of the present application will be described in detail in the following description. It should be understood that the present application can have various changes in different implementations without departing from the scope of the present application, and the descriptions and illustrations therein are essentially used for illustrative purposes rather than for limiting the present application.
[0029] In the description of the present application, it should be noted that the terms "vertical", "up", "down", "horizontal", etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the system or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.
[0030] In the description of this application, it should also be noted that, unless otherwise clearly specified and limited, the terms "set", "install", "connect", and "connect" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two elements. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0031] In order to enable those skilled in the art to better understand the technical solution of the present application, Figure 1 The background technology of this application is further elaborated.
[0032] See also Figure 1 , showing a schematic diagram of the current computing architecture platform for Internet of Vehicles big data.
[0033] In the design of traditional vehicle network big data computing platforms, the industry generally adopts a lambda-based architecture, which means that offline data and real-time data are separated, including two computing links.
[0034] In the first link, the real-time data generated by the vehicle in the data source is transmitted to Flink for real-time processing via Kafka real-time message transmission. The data obtained by Flink's real-time processing is then stored in a non-relational database, such as an Hbase database, an Elastic Search database, etc.
[0035] In the second link, the offline data generated by the vehicle's business system in the data source is extracted by Datax offline data and then transmitted to ETL for offline data processing. The data obtained through ETL offline processing is then transmitted to a relational database, such as the Hive database.
[0036] In the first link, a reading interface for non-relational databases needs to be designed to provide external interface services.
[0037] In the second link, a read interface for the relational database needs to be designed to provide external interface services.
[0038] In the current design of the Internet of Vehicles big data computing platform, there are mainly three problems:
[0039] First, the vehicle data collection link and the vehicle business system data extraction link are completely separated, which requires development engineers to maintain these two sets of links. This will inevitably lead to problems of duplicate logic or logical inconsistency, increasing the complexity of maintaining the Internet of Vehicles big data computing platform.
[0040] Secondly, the data collected by the vehicle and the data collected by the vehicle's business system are completely separate in terms of storage databases. Development engineers are required to develop and maintain different external service interfaces for different databases, which increases design costs.
[0041] Thirdly, for the data of the vehicle's business system, since the Datax offline data extraction method is used, it is impossible to collect the data of the business system in real time, which will reduce the timeliness of the offline data.
[0042] Therefore, in response to the technical problems existing in the above-mentioned background technology, the inventor of the present application, through technical research on current open source platforms, provides a real-time computing system for Internet of Vehicles big data. In this system, only one set of real-time computing links and the same architectural design for storing data warehouses are used to replace the traditional Internet of Vehicles big data computing platform, so as to reduce the complexity of maintaining the Internet of Vehicles big data computing links and also reduce the complexity of setting up the external reading interface of the database.
[0043] Some embodiments of the present application will be described in detail below in conjunction with the accompanying drawings. In the absence of conflict, the following embodiments and features in the embodiments may be combined with each other.
[0044] See also Figure 2 , showing a schematic diagram of the architecture of a real-time computing system for Internet of Vehicles big data according to an embodiment of the present application.
[0045] In the present application, a vehicle network big data real-time computing system is provided, which includes a first data acquisition module 10 , a second data acquisition module 20 , a data processing module 30 , and a data storage module 40 .
[0046] In the present application, a first data acquisition module 10 is provided which is connected to a plurality of vehicles 50 and is used to acquire real-time data generated by the vehicles 50 .
[0047] It should be noted that the vehicle network big data real-time computing system provided in this application is cloud-oriented and needs to process and store a large amount of data from complex vehicle network data sources.
[0048] In this embodiment, the real-time data generated by the vehicle includes but is not limited to: the vehicle's CAN signal, vehicle model, vehicle identification code, data collection time, vehicle location, vehicle heading angle, vehicle speed, vehicle acceleration, vehicle braking information, vehicle power, vehicle voltage, vehicle emergency status information, etc.
[0049] It is understandable that since vehicles are equipped with a large number of sensors, the amount of data generated is very large. In order to effectively process and store this data, it is necessary to build a vehicle network big data computing platform to efficiently process and store it.
[0050] In some implementations, the first data acquisition module 10 includes one of a RabbitMQ component and a Kafka component.
[0051] Among them, RabbitMQ is an open source implementation of AMQP (Advanced Message Queue Protocol) developed by Erlang. Due to the high concurrency characteristics of Erlang language, it has good performance. It is essentially a queue, FIFO first-in first-out, which stores Message content. RabbitMQ is a message middleware that can receive and forward messages, thereby realizing the collection of real-time data generated by vehicle 10.
[0052] Among them, Kafka is a distributed message queue (Message Queue) based on the publish / subscribe mode. It is the data source of real-time data generated by vehicles and can receive and forward real-time data.
[0053] In the present application, the configuration of the first data acquisition module 10 is preferably as follows: the first data acquisition module 10 includes a Kafka component.
[0054] In the present application, a second data acquisition module 20 is provided, which is connected to multiple business systems 60 of the vehicle 50 , and is used to collect offline data generated by the business system 60 in real time, and send the offline data to the first data acquisition module 10 .
[0055] It can be understood that the second data acquisition module 20 sends the collected offline data to the first data acquisition module 10 , so that the data source of the vehicle network big data warehouse is unified to the data collected by the first data acquisition module 10 .
[0056] It should be noted that the multiple business systems 60 of the vehicle include but are not limited to DMOC (vehicle marketing system), DMS (vehicle after-sales system), VLS (vehicle logistics system) and the like.
[0057] Among them, the offline data generated by the vehicle marketing system includes but is not limited to: sales orders, vehicle sales quantity, vehicle sales price, vehicle inventory, customer purchase records, customer files, etc.
[0058] Among them, the offline data generated by the vehicle's after-sales system includes but is not limited to: vehicle fault diagnosis information, parts replacement information, vehicle maintenance record data, maintenance progress data, etc.
[0059] Among them, the offline data generated by the vehicle logistics system includes but is not limited to: the number of vehicles sent, the transportation information of the vehicles, the transportation routes of the vehicles, etc.
[0060] In some embodiments, the second data acquisition module 20 includes a Canal component.
[0061] Among them, Canal is a component that incrementally parses MySQL binlog logs and provides incremental data subscription and consumption.
[0062] Canal can capture the change data of each business system, so as to obtain the offline data of each business system in real time.
[0063] For example, for a vehicle logistics system, the offline data of the number of vehicles sent recorded by the logistics system on the same day may not be obtained until the next day or after a period of time for a traditional Internet of Vehicles big data computing platform. However, through the vehicle network big data real-time computing system provided by this application, since the provided Canal can capture the changing data generated in the logistics system in real time, the vehicle sending data can be obtained in a timely manner, thereby improving the timeliness of collecting offline data.
[0064] In this embodiment, by introducing Canal, not only the real-time data collection of the vehicle can be realized in real time, but also the offline data collection of the vehicle's business system can be realized in real time, which greatly improves the efficiency of the offline data of the business system from output to result production, from the original hours to seconds.
[0065] In the present application, a data processing module 30 is provided, which is connected to the first data acquisition module 10, and is used to process the real-time data and generate real-time data processing results, and is also used to process the offline data and generate offline data processing results.
[0066] In some embodiments, the provided data processing module 30 includes one of a Flink component and a Spark Streaming component.
[0067] Among them, Flink executes any streaming data program in a data-parallel and pipeline manner. Flink's pipeline runtime system can execute batch and stream processing programs. Flink can process offline data and real-time data in real time.
[0068] Spark Streaming is a batch processing stream (real-time) computing framework that can process input data in batches at a certain time interval. When the batch processing interval is shortened to seconds, it can be used to process real-time data streams. Therefore, Spark Streaming can process offline data and real-time data in real time.
[0069] In some embodiments, preferably, the provided data processing module 30 includes a Flink component.
[0070] Through the Internet of Vehicles big data real-time computing system provided by this application, at the data computing end, based on the Kafka data source of the previous stage, only Flink real-time computing is retained, and ETL offline computing is removed compared to the traditional Internet of Vehicles big data computing platform. The efficiency of traditional ETL offline computing can usually only reach hour-level delays, but if Flink real-time computing is used, the computing efficiency of offline data in this application can be improved to seconds-level delays, which can help business parties view data and make decisions faster.
[0071] In addition, by integrating Flink real-time computing and ETL offline computing into Flink real-time computing, the system computing logic becomes simple, easy to maintain and easy to expand.
[0072] In the present application, a data storage module 40 is provided, which is connected to the data processing module 30 and is used to store the real-time data processing results and the offline data processing results.
[0073] In some implementations, the data storage module 40 includes one of a Doris database, a GreenPlum database, and a Clickhouse database.
[0074] Preferably, the database module 40 includes the Doris database.
[0075] In this embodiment, the real-time data processing results and offline data processing results obtained by processing are uniformly stored in the Doris database based on the MPP architecture, rather than the traditional relational databases such as Hive or non-relational databases such as Hbase adopted by the industry. The reason is that the Doris database based on the MPP (decentralized) architecture integrates all the characteristics of traditional relational databases and non-relational databases. It can use a deduplication data model to implement the key-value data structure of a non-relational database, and it can also use a detailed data model to implement the row and column data structure of a relational database. Moreover, the Doris database can greatly accelerate the query efficiency by effectively setting partition and bucket keys and pre-aggregation functions. After testing, the query efficiency can be shortened to less than 1 / 10 second after using the Doris database and effectively setting it, which can be improved by at least 10 times more than all other traditional databases mentioned above.
[0076] In addition, by introducing the Doris database, data storage is unified, which not only reduces the design and development burden of engineers, but also reduces the operation and maintenance burden while ensuring the seamless upgrade of the original business. Through effective table structure design, data query efficiency can even be made more than 10 times faster than all previous databases.
[0077] In some embodiments of the present application, the provided Internet of Vehicles big data processing system also includes a data query module 80 and a data sending module 70.
[0078] In the present application, the data query module 80 is connected to the multiple vehicles 40 and is used to receive a first data query request sent by any one of the multiple vehicles 40 and obtain data corresponding to the first data query request from the data storage module 40 .
[0079] In the present application, the data sending module 70 is connected to the data query module 80 and is used to send the data corresponding to the first data query request to any one of the vehicles.
[0080] The data query module 80 may be a read interface for the data storage module set up for external interface services.
[0081] It can be understood that the data stored in the data storage module 40 can be queried and retrieved by the vehicle. Since the data processed by the real-time computing system for big data of the Internet of Vehicles provided by this application are delayed in seconds, the required data can be provided to any vehicle quickly, which can help any vehicle view the data and make decisions faster.
[0082] In some embodiments of the present application, the data query module 80 is connected to the multiple business systems 60, and the data query module 80 is also used to receive a second data query request sent by any one of the multiple business systems 60, and obtain data corresponding to the second data query request from the data storage module 40.
[0083] The data sending module 70 is further configured to send data corresponding to the second data query request to any one of the business systems.
[0084] It can be understood that the data stored in the data storage module 40 can be queried and retrieved by the business system. Since the data processed by the real-time computing system for big data of the Internet of Vehicles provided by this application are delayed in seconds, the required data can be quickly provided to any business system, which can help any business system to view data and make decisions faster.
[0085] Combine the following Figure 3 , further elaborate on the overall solution of this application:
[0086] See also Figure 3 , showing a structural diagram of a real-time computing system for Internet of Vehicles big data according to an embodiment of the present application.
[0087] exist Figure 3 In the real-time computing system of vehicle network big data, there is only one link to process data.
[0088] The real-time data generated by the vehicle is transmitted to Flink for real-time processing via Kafka real-time messaging. In addition, the offline data generated by the vehicle's business system is captured in real time through Canal data changes, and then transmitted to Flink for real-time processing via Kafka real-time messaging. The data results processed by Flink in real time are then passed to the Doris database based on the Mpp architecture.
[0089] For external interface services, you only need to set up a read interface for the Doris database.
[0090] In some embodiments of the present application, the designed vehicle network big data real-time computing system includes: a first data acquisition module connected to multiple vehicles and used to collect real-time data generated by the vehicles; a second data acquisition module connected to multiple business systems of the vehicles and used to collect offline data generated by the business systems in real time and send the offline data to the first data acquisition module; a data processing module connected to the first data acquisition module and used to process the real-time data and generate real-time data processing results, and also used to process the offline data and generate offline data processing results; a data storage module connected to the data processing module and used to store the real-time data processing results and the offline data processing results.
[0091] As can be seen, in the vehicle network big data real-time computing system constructed by the technical solution of the present application, since the second data acquisition module for collecting offline data of the business system is connected to the first data acquisition module for collecting real-time data of the vehicle, the computing link of real-time data can be used to process offline data, thereby reducing the computing link for offline data and integrating the two existing separate computing links into one computing link, so that development engineers only need to maintain one computing link, reducing the complexity of maintaining the computing link of the vehicle network big data.
[0092] The above description is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present application shall be included in the scope of the claims of the present application.
Claims
1. A real-time computing system for Internet of Vehicles big data, characterized in that: The system comprises: A first data acquisition module, connected to a plurality of vehicles, for collecting real-time data generated by the vehicles; a second data acquisition module connected to the plurality of business systems of the vehicle, for real-time acquisition of offline data generated by the business systems, and sending the offline data to the first data acquisition module; A data processing module, connected to the first data acquisition module, for processing the real-time data and generating a real-time data processing result, and for processing the offline data and generating an offline data processing result; The data storage module is connected to the data processing module and is used to store the real-time data processing results and the offline data processing results.
2. The system according to claim 1, characterized in that The system further comprises: a data query module, connected to the plurality of vehicles, configured to receive a first data query request sent by any one of the plurality of vehicles, and to obtain data corresponding to the first data query request from the data storage module; A data sending module is connected to the data query module and is used to send data corresponding to the first data query request to any one of the vehicles.
3. The system according to claim 1, characterized in that The data query module is connected to the multiple business systems, and the data query module is further used to receive a second data query request sent by any business in the multiple business systems, and obtain data corresponding to the second data query request from the data storage module; The data sending module is further used to send data corresponding to the second data query request to any one of the business systems.
4. The system according to claim 1, characterized in that The second data acquisition module includes a Canal component.
5. The system according to claim 1, characterized in that The first data acquisition module includes one of a RabbitMQ component and a Kafka component.
6. The system according to claim 1, characterized in that The data processing module includes one of a Flink component and a Spark Streaming component.
7. The system according to claim 1, characterized in that The data storage module includes one of a Doris database, a GreenPlum database, and a Clickhouse database.
8. The system according to claim 1, characterized in that The first data acquisition module includes a Kafka component.
9. The system according to claim 1, characterized in that The data processing module includes a Flink component.
10. The system according to claim 1, characterized in that The data storage module includes a Doris database.
Citation Information
Cited By
Intelligent network connection system for electric bicycles
CN119031012A
