Distributed parallel processing analysis method and system for big data of Internet of Vehicles
Through distributed parallel processing technology and multi-level storage architecture, the real-time and storage management problems in Internet of Vehicles big data processing are solved, efficient data processing and analysis are achieved, and the needs for real-time traffic information and personalized services are met, improving the User experience and system performance.
Patent Information
- Application Number
- CN202410852422.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-09-10
AI Technical Summary
Traditional Internet of Vehicles big data processing methods cannot meet the real-time and storage management requirements, especially in terms of efficient processing and accurate analysis.
It adopts distributed parallel processing technology and multi-level storage architecture, realizes efficient data access and analysis through the combination of hot storage and distributed cache, and uses parallel buffering technology for data preprocessing and analysis report generation.
It significantly improves the processing speed and efficiency of big data in the Internet of Vehicles, meets real-time requirements, provides accurate traffic information and personalized services, reduces storage costs, and improves user experience and service quality.
Smart Images

Figure CN118626540A
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the technical field of Internet of Vehicles, and in particular to a distributed parallel processing and analysis method and system for Internet of Vehicles big data. Background Art
[0002] With the rapid development and popularization of Internet of Vehicles technology, data exchange between vehicles and road infrastructure, other vehicles and cloud service platforms has become more and more frequent. Internet of Vehicles big data has the characteristics of large data volume, high real-time requirements and diversified data sources. However, traditional data processing and analysis methods can no longer meet the needs of Internet of Vehicles big data processing, especially in terms of real-time, data storage and management. Therefore, there is an urgent need for an efficient and reliable Internet of Vehicles big data processing and analysis method to meet these challenges. Summary of the invention
[0003] The embodiment of the present invention provides a distributed parallel processing and analysis method and system for Internet of Vehicles big data, aiming to solve key problems in Internet of Vehicles big data processing, including real-time data analysis and processing, data storage and management, etc. Through the present invention, efficient processing, accurate analysis and safe exchange of Internet of Vehicles big data can be achieved, providing strong support for the fields of intelligent transportation systems, safe driving assistance, vehicle fault prediction and health management.
[0004] To achieve the above objectives, in a first aspect, the present invention provides a distributed parallel processing and analysis method for Internet of Vehicles big data, which is applied to a control system of an intelligent terminal, wherein the control system is connected to a user terminal for communication. The method comprises:
[0005] Obtain data analysis request and determine requested data;
[0006] Based on the request data, retrieve the data exchange record and generate a query result;
[0007] Determine whether the query result meets the preset condition;
[0008] If the query result meets the preset condition, generating response data;
[0009] Based on the response data and according to the preset method, an analysis report is generated.
[0010] In one embodiment of the present invention, before generating the analysis report based on the response data according to the preset method, the method further includes:
[0011] If the query result does not meet the preset condition, response data is generated.
[0012] In one embodiment of the present invention, obtaining a data analysis request and determining the requested data includes:
[0013] Obtaining a data analysis request sent by the user terminal;
[0014] The data content and range of the data analysis request are extracted to determine the requested data.
[0015] In one embodiment of the present invention, the determining whether the query result satisfies a preset condition includes:
[0016] According to the query result, it is determined whether the hot storage already contains the requested data.
[0017] In one embodiment of the present invention, if the query result satisfies the preset condition, generating response data includes:
[0018] According to the query result, locate the location of the requested data in the hot storage;
[0019] Initiate a query to the distributed cache to check whether the requested data has been cached;
[0020] If the requested data is present in the distributed cache, generating the response data;
[0021] If the requested data does not exist in the distributed cache, the requested data is obtained from the hot storage, and the distributed cache is asynchronously updated to generate the response data.
[0022] In one embodiment of the present invention, if the query result does not meet the preset condition, generating response data includes:
[0023] Initiate a query request to the warm storage to search for the requested data;
[0024] If the request data exists in the warm storage, migrate the request data to the hot storage and generate the response data;
[0025] After the migration is completed, the data exchange record is updated, and the distributed cache is updated asynchronously.
[0026] In one embodiment of the present invention, generating an analysis report based on the response data according to the preset method includes:
[0027] Preprocessing the response data;
[0028] By using parallel buffering technology, the pre-processed response data is distributed to multiple processing units for parallel analysis to generate multiple analysis results;
[0029] The multiple analysis results are integrated to generate the analysis report.
[0030] In the second aspect, the present invention provides a distributed parallel processing and analysis system for Internet of Vehicles big data, which is applied to a control system of an intelligent terminal, and the control system is communicatively connected to a user end. The system includes: a determination module, a first generation module, a judgment module, a second generation module and a third generation module. The determination module is used to obtain a data analysis request and determine the request data. The first generation module is used to retrieve data exchange records based on the request data and generate query results. The judgment module is used to determine whether the query result meets a preset condition. The second generation module is used to generate response data if the query result meets the preset condition. And the third generation module is used to generate an analysis report based on the response data according to the preset method.
[0031] In a third aspect, the present invention provides an electronic device, comprising:
[0032] at least one processor; and
[0033] a memory communicatively coupled to the at least one processor;
[0034] Among them, the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the distributed parallel processing and analysis method of Internet of Vehicles big data as described above.
[0035] In a fourth aspect, the present invention provides a computer-readable storage medium, including a computer program and instructions. When the computer program or the instructions are run on a computer, the computer executes the distributed parallel processing and analysis method for Internet of Vehicles big data as described above.
[0036] Compared with the prior art, the distributed parallel processing and analysis method and system of Internet of Vehicles big data according to the present invention has the following beneficial effects:
[0037] 1. The present invention adopts distributed parallel processing technology, which can significantly improve the processing speed and efficiency of Internet of Vehicles big data and meet the application scenarios with high real-time requirements;
[0038] 2. The data hierarchical storage strategy provided by the present invention can reasonably allocate storage resources, improve the efficiency and reliability of data storage, and reduce storage costs;
[0039] 3. The Internet of Vehicles big data processed and analyzed by the present invention can provide accurate and real-time traffic information for the intelligent transportation system, which helps to alleviate traffic congestion and improve road use efficiency;
[0040] 4. The Internet of Vehicles big data processed based on the present invention can provide users with more personalized and accurate services, such as intelligent navigation, remote vehicle monitoring, etc., thereby improving user experience and service quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 It is a flow chart of a distributed parallel processing and analysis method of Internet of Vehicles big data in the first embodiment of the present invention;
[0042] Figure 2 It is a structural diagram of a distributed parallel processing and analysis system for Internet of Vehicles big data in Embodiment 2 of the present invention;
[0043] Figure 3 It is a structural schematic diagram of an electronic device in Embodiment 3 of the present invention. DETAILED DESCRIPTION
[0044] The embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the embodiments of the present invention, rather than to limit the embodiments of the present invention. It is also necessary to explain that, for ease of description, only parts related to the embodiments of the present invention are shown in the accompanying drawings, rather than all structures.
[0045] For ease of understanding, the main implementation concepts of the embodiments of the present invention are first briefly described.
[0046] With the rapid development of information technology, Internet of Vehicles technology has become a research hotspot in the current transportation field. Internet of Vehicles connects vehicles to the Internet to achieve information interaction and data sharing between vehicles, vehicles and road infrastructure, and vehicles and cloud service platforms. This connection not only provides drivers with more convenient services, but also brings huge potential to the fields of intelligent traffic management, safe driving, etc.
[0047] However, the rapid development of Internet of Vehicles technology is also accompanied by the generation of big data. Internet of Vehicles big data mainly includes vehicle driving data, traffic flow data, user behavior data, etc. These data have the characteristics of large data volume, fast growth rate, and diversified data sources. At the same time, the processing and analysis of Internet of Vehicles big data are also facing unprecedented challenges.
[0048] First, the real-time requirements of IoV big data are extremely high. Since IoV involves vehicles on the move, data processing and feedback must be fast in order to provide drivers with real-time road conditions, navigation and other services. Traditional data processing methods often have difficulty meeting this high real-time requirement.
[0049] Secondly, the storage and management of IoV big data is also an important challenge. As data continues to grow, how to efficiently store and manage this data and ensure data integrity and availability are issues that must be faced in IoV big data processing. Traditional data storage and management methods may not meet the needs of IoV big data, so new storage and management strategies need to be explored.
[0050] In addition, the analysis and application of IoV big data is also a hot topic in current research. Through in-depth mining and analysis of IoV big data, valuable information hidden in the data can be discovered, providing strong support for intelligent traffic management, safe driving and other fields. However, due to the complexity and diversity of IoV big data, how to effectively analyze and apply these data and extract useful information is a difficult point in current research.
[0051] The inventors have discovered the above-mentioned defects in the prior art and have provided a distributed parallel processing and analysis method and system for Internet of Vehicles big data, aiming to solve key problems in Internet of Vehicles big data processing, including real-time data analysis and processing, data storage and management, etc. Through the present invention, efficient processing, accurate analysis and safe exchange of Internet of Vehicles big data can be achieved, providing strong support for the fields of intelligent transportation systems, safe driving assistance, vehicle fault prediction and health management.
[0052] Embodiment 1
[0053] Figure 1 is a flow chart of a distributed parallel processing and analysis method for Internet of Vehicles big data in Embodiment 1 of the present invention, such as Figure 1 As shown, Embodiment 1 provides a distributed parallel processing and analysis method for Internet of Vehicles big data, which is applied to a control system of an intelligent terminal, wherein the control system is connected to a user terminal for communication. The method includes:
[0054] Step S100, obtaining a data analysis request and determining the requested data;
[0055] Specifically, the user selects parameters such as engine model, data date range and specific data field through the front-end interface (user end, such as web page end) and submits a data analysis request. After receiving the request, the control system parses the request content, clarifies the specific data range to be analyzed, and thus determines the requested data.
[0056] Based on the above analysis, it can be seen that by receiving specific data analysis parameters defined by the user through the front-end interface, the system can accurately determine the required data range and avoid unnecessary waste of resources. This step improves the pertinence and efficiency of data analysis, making data requests more accurate and efficient.
[0057] Step S200, based on the request data, retrieve the data exchange record and generate a query result;
[0058] Specifically, the control system retrieves the data exchange record table based on the data information requested by the user to determine whether the required hot storage data is complete. The data exchange record table records in detail the exchange and storage of data between different storage levels. By retrieving the table, the system can quickly locate the status and location of the data.
[0059] Based on the above analysis, it can be seen that by retrieving the data exchange record table, the system can quickly determine whether the required hot storage data is complete, thereby providing guidance for the subsequent data acquisition process. This step avoids unnecessary query and waiting time, and improves the speed and response efficiency of data processing.
[0060] Step S300, determining whether the query result meets a preset condition;
[0061] Specifically, the control system determines whether the hot storage contains the data requested by the user based on the retrieved data exchange records. This step is the key to ensuring data real-time and processing efficiency, because hot storage is usually used to store frequently accessed data and can provide fast data access services.
[0062] Based on the above analysis, it can be seen that judging whether the hot storage contains the required data ensures that data analysis tasks with high real-time requirements can obtain data from the hot storage first. This step optimizes the data access path and improves the real-time and response speed of data processing.
[0063] Step S400, if the query result meets the preset condition, generate response data;
[0064] Specifically, if the hot storage contains the data requested by the user, the control system attempts to obtain the data from the distributed cache. As a supplement to the hot storage, the distributed cache can further accelerate the data access speed under high-frequency requests. If the cache hits, the combined data is directly returned to the front end; if the cache misses, the data is queried from the hot storage and returned, and the distributed cache is asynchronously updated for the next quick access.
[0065] Based on the above analysis, we can know that we try to get data from the distributed cache. If the cache hits, the result is returned directly, which reduces the delay time of data access; if the cache misses, it is obtained from the hot storage and the cache is updated asynchronously, ensuring a fast response for the next access. This step makes full use of the cache technology and improves the efficiency and response speed of data access.
[0066] Step S500, generating an analysis report based on the response data and according to the preset method;
[0067] Specifically, based on the response data obtained from the distributed cache or hot storage, the control system uses a preset data analysis method to preprocess and parallel analyze the response data. Through parallel buffering technology, the preprocessed data is distributed to multiple processing units for parallel calculation to generate multiple analysis results. Finally, multiple analysis results are integrated to form a complete data analysis report for user reference and application.
[0068] Based on the above analysis, we can see that by preprocessing and analyzing the response data in parallel through parallel buffering technology and preset data analysis methods, the system can process multiple tasks at the same time and generate multiple analysis results. This step makes full use of computing resources, improves the throughput and processing efficiency of data analysis, and enables complex data analysis tasks to be completed in a shorter time. At the same time, integrating multiple analysis results to form a complete data analysis report provides users with more comprehensive and in-depth data insights.
[0069] In this embodiment, before step S500, the following steps are further included:
[0070] If the query result does not meet the preset condition, generating response data;
[0071] Specifically, if the query result does not meet the preset conditions, it means that the required data cannot be directly obtained or does not exist in the current storage level. In this case, the system will not end the request processing immediately, but will take further measures to generate response data. First, the system will check the next-level storage level (such as warm storage) and search for the data requested by the user. If the required data exists in the warm storage, the system will migrate the data from the warm storage to the hot storage to ensure a fast response when the data is accessed frequently. At the same time, the data exchange records are updated to reflect the latest status of the data, and the distributed cache is updated asynchronously so that data can be retrieved more efficiently the next time it is queried. This mechanism not only ensures the availability and real-time nature of the data, but also optimizes the efficiency of data storage and access through intelligent data migration and caching strategies, providing users with a more stable and efficient data service experience.
[0072] In this embodiment, the step S100 includes:
[0073] Step S101, obtaining a data analysis request sent by the user terminal;
[0074] Specifically, this step is the starting point of the data analysis process. Users can customize personalized data analysis requests based on specific needs, such as selecting engine models, specifying data date ranges or specific data fields. The system receives and parses these requests, providing a basis for subsequent data retrieval and analysis. Through this step, users can flexibly initiate data analysis tasks to meet personalized data needs.
[0075] Step S102, extracting the data content and scope of the data analysis request and determining the requested data;
[0076] Specifically, this step is the key to ensuring the accuracy of data analysis. The system provides clear guidance for subsequent data retrieval and analysis by accurately identifying the data information required by the user. By accurately extracting the data content and scope, the system can ensure the accuracy and relevance of the analysis results and provide users with valuable data insights.
[0077] In this embodiment, step S300 includes:
[0078] According to the query result, determining whether the requested data is already included in the hot storage;
[0079] Specifically, after the system retrieves the data exchange records based on the request data and generates the query results, the next key step is to determine whether the hot storage already contains the data requested by the user based on the query results. This step is crucial because it is directly related to the efficiency and real-time performance of data access. Hot storage is usually used to store frequently accessed data and provide high-speed data access services. The system uses the identification information in the query results to quickly determine whether the requested data is available in the hot storage. If the hot storage contains the requested data, the system will read the data directly from it, which greatly reduces the delay time of data access and improves the response speed of the entire data analysis process. The precise execution of this step is an important part of ensuring the efficient processing and analysis of big data in the Internet of Vehicles.
[0080] In this embodiment, step S400 includes:
[0081] Step S401, locating the location of the requested data in hot storage according to the query result;
[0082] Specifically, after determining that the query result meets the preset conditions and the requested data exists in the hot storage, the system will execute step S401, that is, locate the exact location of the requested data in the hot storage according to the query result. The importance of this step is that it directly affects the efficiency of subsequent data retrieval. Through accurate data positioning, the system can quickly find the required data and avoid the time-consuming blind search in a huge data set. At the same time, this step also provides a basis for subsequent data combination and processing, ensuring the smooth progress of the data analysis process.
[0083] Step S402, initiating a query to the distributed cache to check whether the requested data has been cached;
[0084] Specifically, when the system locates the location of the requested data in the hot storage based on the query results, it will immediately initiate a query to the distributed cache to check whether the required data is already stored in the cache. The key to this step is to use the high-speed access characteristics of the distributed cache to further shorten the time to obtain data. If the distributed cache hits, that is, the cache already contains the required data, the system will directly extract the data from the cache, thereby avoiding the delay of reading the data from the hot storage again. Through this step, the system can significantly improve the efficiency of data access while ensuring the real-time nature of the data, providing users with a faster and smoother data service experience.
[0085] Step S403: if the request data exists in the distributed cache, generate the response data;
[0086] Specifically, after the system initiates a query to the distributed cache, if the cache hits the data requested by the user, the system will enter step S403, that is, directly assemble the required data structure from the distributed cache and return it to the front-end user. This step not only makes full use of the high I / O performance and low latency characteristics of the distributed cache to achieve fast access to data, but also ensures the integrity and accuracy of the data structure by directly combining the data in the cache. In addition, since the data is returned directly from the cache, there is no need to read it again from hot storage or other levels, which greatly reduces the time for data processing and transmission, and improves the efficiency and response speed of the entire data analysis process.
[0087] Step S404: if the requested data does not exist in the distributed cache, obtain the requested data from the hot storage, and asynchronously update the distributed cache to generate the response data;
[0088] Specifically, when the system attempts to obtain data from the distributed cache but fails, it will instead execute step S404, that is, query and obtain the required data from the hot storage. In this step, the system first locates the exact location of the requested data in the hot storage, and then performs a data read operation. In order to improve the efficiency of future data access, the system will also asynchronously store the data and related data in the distributed cache while acquiring the data. This design ensures that the next request for the same or similar data can be obtained directly from the cache, greatly reducing the delay time for data access. In addition, step S404 also reflects the system's intelligent management of data storage and access strategies. By dynamically updating the cache content, the system can continue to maintain the efficiency and real-time performance of data access, thereby providing users with a smoother and more accurate data service experience.
[0089] In a specific embodiment, when request data is obtained from hot storage and the distributed cache is updated asynchronously, a cache dynamic adjustment strategy is applied. Before updating the cache, it is checked whether the cache space is sufficient. If not, some data is selected for replacement based on the access frequency and importance level. Specifically:
[0090] Before trying to update the distributed cache, the system first obtains the current cache usage status, including the size of the used cache space, the remaining cache space, and the list of data items stored in the cache. Based on the size of the data to be updated, the system determines whether the current cache space is sufficient to store the new data. If the remaining cache space is greater than or equal to the size of the data to be updated, then there is enough space and the next step is directly entered; otherwise, dynamic adjustment of the cache content is required.
[0091] The system traverses the data items in the cache and records the access frequency and importance level of each data item. The access frequency can be obtained through historical access record statistics, and the importance level is pre-set according to the business logic and data type. Based on the access frequency and importance level, the system formulates a replacement strategy. For example, you can prioritize replacing data items with low access frequency and low importance level, or set a replacement threshold to only replace data items with access frequency below the threshold. Based on the replacement strategy, the system removes the selected data items from the cache and releases the corresponding cache space. The removed data items may need to be reloaded from hot storage or other storage tiers, or marked as expired and no longer participate in subsequent data queries.
[0092] After the cache space is adjusted, the system prepares the requested data from the hot storage, including information such as the data content, format, and storage location. The system initiates an asynchronous update request to the distributed cache and sends the prepared data to the cache server. Asynchronous updates ensure that other data queries or processing tasks are not blocked during the data update process. After receiving the update request, the cache server performs the data storage operation and returns the update result to the system. After the system confirms that the update is successful, the cache update process is completed.
[0093] In this embodiment, if the query result does not meet the preset condition, generating response data includes:
[0094] Initiate a query request to the warm storage to search for the requested data;
[0095] Specifically, when the data requested by the user cannot be found in both the distributed cache and the hot storage, the system will further initiate a query request to the warm storage to search for the required requested data. As a secondary level of data storage, warm storage usually stores data for a longer period of time. Although the access speed is slightly slower than that of hot storage, it can still provide critical data support. In this step, the system uses precise query strategies to quickly locate the location in the warm storage that may contain the requested data and perform a search operation. This query mechanism of the multi-level storage architecture ensures comprehensive coverage and efficient access to data, and provides strong data support for the real-time processing and analysis of Internet of Vehicles big data.
[0096] If the request data exists in the warm storage, migrate the request data to the hot storage and generate the response data;
[0097] Specifically, if the user-requested data exists in warm storage, the system will take further actions to ensure the real-time availability and efficient access of the data. In this step, the system will migrate the requested data from warm storage to hot storage. This migration operation not only ensures a fast response to high-frequency data access, but also optimizes the data storage structure and improves data processing efficiency. By migrating to hot storage, the requested data will be able to directly participate in subsequent parallel analysis and processing processes, thereby generating accurate and timely response data. The implementation of this strategy not only meets the high real-time requirements of big data in the Internet of Vehicles, but also ensures the accuracy and reliability of data analysis.
[0098] After the migration is completed, the data exchange record is updated, and the distributed cache is updated asynchronously;
[0099] Specifically, when the requested data is successfully migrated from warm storage to hot storage, the system will immediately perform a series of subsequent operations to ensure data consistency and efficient access. First, the system will update the data exchange record, which is crucial for maintaining data status and tracking data flow. By updating the data exchange record, the system can accurately record the latest storage location and status of the data, providing an important reference for subsequent data access and management. At the same time, in order to further improve data access efficiency, the system will also asynchronously update the distributed cache. As a supplement to hot storage, the distributed cache can provide faster data query services under high-frequency requests. By asynchronously updating the distributed cache, the system can add the newly migrated data to the cache without affecting the current data processing process, thereby ensuring that the next request for the same or similar data can be directly obtained from the cache, greatly reducing the delay time of data access. The execution of this series of operations not only ensures the real-time and accuracy of the data, but also improves the performance and efficiency of the entire Internet of Vehicles big data processing system by optimizing data storage and access strategies.
[0100] In this embodiment, step S500 includes:
[0101] Step S501, preprocessing the response data;
[0102] Specifically, before generating an analysis report, the system preprocesses the response data obtained from hot storage or distributed cache. This step includes a series of operations such as cleaning, formatting, and converting the data to ensure the accuracy and consistency of the data. Through data preprocessing, the system can remove noise data, correct erroneous data, and appropriately convert and format the data according to analysis requirements. This step not only improves the accuracy of data analysis, but also provides a more standardized and easy-to-process data set for subsequent parallel analysis.
[0103] Step S502, using parallel buffering technology, allocating the pre-processed response data to multiple processing units for parallel analysis to generate multiple analysis results;
[0104] Specifically, the pre-processed response data is assigned to multiple processing units for parallel analysis. This step makes full use of the parallel processing capabilities of modern computing resources. By dividing the large data set into multiple small blocks, each processing unit independently processes a part of the data, thereby significantly improving the efficiency and speed of data analysis. During the parallel analysis process, each processing unit conducts in-depth mining and calculation of the data according to the preset analysis methods and algorithms to generate its own analysis results. This parallel processing method not only reduces the overall analysis time, but also can process larger data sets, providing strong support for the efficient processing and analysis of Internet of Vehicles big data.
[0105] Step S503, integrating the multiple analysis results to generate the analysis report;
[0106] Specifically, the system will integrate multiple analysis results generated from parallel analysis of multiple processing units. The process of data integration not only involves aggregating the independent analysis results, but also includes operations such as verification, deduplication, and sorting of the result data to ensure the accuracy and consistency of the final analysis results. In addition, the integration process may also involve further mining and refining of the data to discover deeper information and patterns hidden in the data. Through the data integration of step S503, the system can generate a comprehensive, accurate, and in-depth analysis report to provide strong support for decision-making on Internet of Vehicles big data.
[0107] In a specific embodiment, it is assumed that a certain automobile manufacturer needs to perform performance analysis and fault prediction on its engines of different models to improve the quality and reliability of the engines. The data generated by these engines include multiple indicators such as operating status, temperature, pressure, fuel consumption, etc. The data volume is huge and the real-time requirements are high. By adopting the technical solution of the present invention, automobile manufacturers can efficiently process and analyze these data. The following are specific implementation steps: Engineers initiate a performance analysis request for a specific model of engine through the data analysis platform. The request specifies the data range to be analyzed, such as the engine's operating data in the last three months, including key indicators such as speed, load, and temperature. According to the requested data range, the system retrieves the data exchange record table to determine whether the data is already in the hot storage. The data exchange record table records the storage location and exchange status of the engine data in detail. The system determines whether the hot storage contains the required data based on the query results. If there is data in the hot storage, it proceeds to the next step; if not, the system needs to query the warm storage. If the hot storage contains the required data, the system first tries to obtain the data from the distributed cache. The distributed cache stores a copy of the data in the hot storage for fast response to high-frequency requests. If the distributed cache hits the data, the system directly combines it into the required data structure and returns it to the engineer; if the distributed cache does not hit, the system obtains the data from the hot storage and asynchronously stores the data and related data in the distributed cache for quick access next time. If the required data is not available in the hot storage, the system queries the warm storage. The warm storage stores historical data for a long time. If the required data exists in the warm storage, the system migrates the data to the hot storage, obtains the data from the hot storage, and asynchronously updates the distributed cache. If there is no data in the warm storage, the query ends. The system preprocesses the engine data obtained from the hot storage or distributed cache, including data cleaning, format conversion and other operations to ensure the accuracy and consistency of the data. Using parallel buffering technology, the system distributes the preprocessed data to multiple processing units for parallel analysis. Each processing unit conducts in-depth mining and calculation of the data according to the preset engine performance analysis algorithm and model to generate its own analysis results. The system integrates the analysis results generated by multiple processing units to form a comprehensive engine performance analysis report. The report can include information such as the average performance indicators, abnormal operation conditions, and potential fault predictions of the engine to provide decision support for engineers. This example shows that the technical solution of the present invention can efficiently process and analyze Internet of Vehicles big data, such as data on key components such as engines. Through distributed parallel processing, multi-level storage architecture and cache technology, the present invention significantly improves data processing efficiency and analysis accuracy, provides strong data support for automobile manufacturers, and helps improve the quality and reliability of engines.
[0108] Embodiment 2
[0109] Figure 2 is a schematic diagram of the structure of a distributed parallel processing and analysis system for Internet of Vehicles big data in Embodiment 2 of the present invention, such as Figure 2 As shown, embodiment 2 provides a distributed parallel processing and analysis system for Internet of Vehicles big data, which is applied to a control system of an intelligent terminal, and the control system is connected to the user end in communication. The system includes: a determination module 201, a first generation module 202, a judgment module 203, a second generation module 204 and a third generation module 205. The determination module 201 is used to obtain a data analysis request and determine the request data. The first generation module 202 is used to retrieve data exchange records based on the request data and generate query results. The judgment module 203 is used to determine whether the query result meets the preset conditions. The second generation module 204 is used to generate response data if the query result meets the preset conditions. And the third generation module 205 is used to generate an analysis report based on the response data according to the preset method.
[0110] In this embodiment, the system further includes a fourth generating module, and the fourth generating module is used to generate response data if the query result does not meet the preset condition.
[0111] In this embodiment, the determination module 201 includes: an acquisition unit and a determination unit. The acquisition unit is used to acquire the data analysis request sent by the user terminal. The determination unit is used to extract the data content and range of the data analysis request and determine the request data.
[0112] In this embodiment, the judgment module 203 includes a judgment unit, which is used to judge whether the hot storage contains the requested data according to the query result.
[0113] In this embodiment, the second generation module 204 includes: a positioning unit, a checking unit, a first generation unit and a second generation unit. The positioning unit is used to locate the location of the request data in the hot storage according to the query result. The checking unit is used to initiate a query to the distributed cache to check whether the request data has been cached. The first generation unit is used to generate the response data if the request data is in the distributed cache. The second generation unit is used to obtain the request data from the hot storage if the request data is not in the distributed cache, and asynchronously update the distributed cache to generate the response data.
[0114] In this embodiment, the fourth generation module includes: a search unit, a migration unit, and a third generation unit. The search unit is used to initiate a query request to the warm storage to search for the request data. The migration unit is used to migrate the request data to the hot storage if the request data exists in the warm storage, and generate the response data. The third generation unit is used to update the data exchange record after the migration is completed, and asynchronously update the distributed cache.
[0115] In this embodiment, the third generation module 205 includes: a preprocessing unit, a fourth generation unit and a fifth generation unit. The preprocessing unit is used to preprocess the response data. The fourth generation unit is used to use parallel buffering technology to distribute the preprocessed response data to multiple processing units for parallel analysis to generate multiple analysis results. The fifth generation unit is used to integrate the multiple analysis results to generate the analysis report.
[0116] The various variations and specific examples of the distributed parallel processing and analysis method for Internet of Vehicles big data provided in Example 1 are also applicable to the distributed parallel processing and analysis system for Internet of Vehicles big data provided in this embodiment. Through the above detailed description of a distributed parallel processing and analysis method for Internet of Vehicles big data, those skilled in the art can clearly know the implementation method of a distributed parallel processing and analysis system for Internet of Vehicles big data in this embodiment, so for the sake of brevity of the specification, it will not be described in detail here.
[0117] Embodiment 3
[0118] Figure 3 is a schematic diagram of the structure of an electronic device in Embodiment 3 of the present invention, such as Figure 3 As shown, the third embodiment further provides an electronic device 300 , which may include: a processor 301 and a memory 302 .
[0119] The memory 302 is used to store programs; the memory 302 may include volatile memory (English: volatile memory), such as random-access memory (English: random-access memory, abbreviated: RAM), such as static random-access memory (English: static random-access memory, abbreviated: SRAM), double data rate synchronous dynamic random access memory (English: Double Data Rate Synchronous Dynamic Random Access Memory, abbreviated: DDR SDRAM), etc.; the memory may also include non-volatile memory (English: non-volatile memory), such as flash memory (English: flash memory). The memory 302 is used to store computer programs (such as applications, functional modules, etc. that implement the above method), computer instructions, etc., and the above computer programs, computer instructions, etc. can be partitioned and stored in one or more memories 302. And the above computer programs, computer instructions, data, etc. can be called by the processor 301.
[0120] The above-mentioned computer programs, computer instructions, etc. may be stored in partitions in one or more memories 302 . And the above-mentioned computer programs, computer instructions, etc. may be called by the processor 301 .
[0121] The processor 301 is used to execute the computer program stored in the memory 302 to implement each step of the method involved in the above embodiment.
[0122] For details, please refer to the relevant description in the previous method embodiment.
[0123] The processor 301 and the memory 302 may be independent structures or integrated structures. When the processor 301 and the memory 302 are independent structures, the memory 302 and the processor 301 may be coupled and connected via a bus 303 .
[0124] The electronic device of this embodiment can execute the technical solution in the above method, and its specific implementation process and technical principle are the same, which will not be repeated here.
[0125] Embodiment 4
[0126] Embodiment 4 also provides a computer-readable storage medium, including a computer program and instructions. When the computer program or instructions are executed on a computer, the computer executes the distributed parallel processing and analysis method for Internet of Vehicles big data of any embodiment of the present invention.
[0127] Computer-readable storage media include: USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical disks, and other media that can store program codes.
[0128] This embodiment also provides a computer program product, which includes: a computer program, which is stored in a readable storage medium. At least one processor of an electronic device can read the computer program from the readable storage medium, and at least one processor executes the computer program so that the electronic device executes the solution provided by any of the above embodiments.
[0129] In summary, the distributed parallel processing and analysis method and system of Internet of Vehicles big data of the present invention have the following beneficial effects:
[0130] 1. The present invention adopts distributed parallel processing technology, which can significantly improve the processing speed and efficiency of Internet of Vehicles big data and meet the application scenarios with high real-time requirements;
[0131] 2. The data hierarchical storage strategy provided by the present invention can reasonably allocate storage resources, improve the efficiency and reliability of data storage, and reduce storage costs;
[0132] 3. The Internet of Vehicles big data processed and analyzed by the present invention can provide accurate and real-time traffic information for the intelligent transportation system, which helps to alleviate traffic congestion and improve road use efficiency;
[0133] 4. The Internet of Vehicles big data processed based on the present invention can provide users with more personalized and accurate services, such as intelligent navigation, remote vehicle monitoring, etc., thereby improving user experience and service quality.
[0134] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the disclosure of the present invention can be performed in parallel, sequentially or in different orders, as long as the desired results of the technical solution disclosed in the present invention can be achieved, and this document does not limit this.
[0135] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A distributed parallel processing and analysis method for Internet of Vehicles big data, applied to a control system of an intelligent terminal, wherein the control system is connected to a user terminal for communication, and characterized in that: The method comprises: Step S100, obtaining a data analysis request and determining the requested data; Step S200, based on the request data, retrieve the data exchange record and generate a query result; Step S300, determining whether the query result meets a preset condition; Step S400, if the query result meets the preset condition, generate response data; Step S500: Generate an analysis report based on the response data and according to the preset method.
2. The distributed parallel processing and analysis method for Internet of Vehicles big data according to claim 1, characterized in that: The step of generating the analysis report based on the response data according to the preset method also includes: If the query result does not meet the preset condition, response data is generated.
3. The distributed parallel processing and analysis method for Internet of Vehicles big data according to claim 1, characterized in that: The obtaining of the data analysis request and determining the requested data includes: Obtaining a data analysis request sent by the user terminal; The data content and range of the data analysis request are extracted to determine the requested data.
4. The distributed parallel processing and analysis method for Internet of Vehicles big data according to claim 1, characterized in that: The step of determining whether the query result meets the preset condition includes: According to the query result, it is determined whether the hot storage already contains the requested data.
5. The distributed parallel processing and analysis method for Internet of Vehicles big data according to claim 1, characterized in that: If the query result meets the preset condition, generating response data includes: According to the query result, locate the location of the requested data in the hot storage; Initiate a query to the distributed cache to check whether the requested data has been cached; If the requested data is present in the distributed cache, generating the response data; If the requested data does not exist in the distributed cache, the requested data is obtained from the hot storage, and the distributed cache is asynchronously updated to generate the response data.
6. The distributed parallel processing and analysis method for Internet of Vehicles big data as claimed in claim 2, characterized in that: If the query result does not meet the preset condition, generating response data includes: Initiate a query request to the warm storage to search for the requested data; If the request data exists in the warm storage, migrate the request data to the hot storage and generate the response data; After the migration is completed, the data exchange record is updated, and the distributed cache is updated asynchronously.
7. The distributed parallel processing and analysis method for Internet of Vehicles big data according to claim 1, characterized in that: The generating of the analysis report based on the response data and according to the preset method includes: Preprocessing the response data; By using parallel buffering technology, the pre-processed response data is distributed to multiple processing units for parallel analysis to generate multiple analysis results; The multiple analysis results are integrated to generate the analysis report.
8. A distributed parallel processing and analysis system for Internet of Vehicles big data, applied to a control system of an intelligent terminal, wherein the control system is connected to a user terminal in communication, and characterized in that: The system comprises: A determination module is used to obtain a data analysis request and determine the requested data; A first generating module, configured to retrieve data exchange records based on the request data and generate query results; A judgment module, used to judge whether the query result meets the preset conditions; A second generating module, configured to generate response data if the query result meets the preset condition; and The third generating module is used to generate an analysis report based on the response data and according to the preset method.
9. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively coupled to the at least one processor; In which, the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the distributed parallel processing and analysis method for Internet of Vehicles big data as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that: It includes computer programs and instructions. When the computer program or the instructions are run on a computer, the computer executes the distributed parallel processing and analysis method for Internet of Vehicles big data as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Level-to-level data management method and device and electronic equipment
CN105183389A
Interactive big data analysis system for engine engineering analysis
CN114741420A
