Data acquisition and storage method and device, equipment and storage medium
Through the target processing mechanism and high-performance message queue, the message middleware cluster is used to transmit the data flow, which solves the problem of data cannot be collected in real time in the intelligent driving system, realizes efficient data processing and storage, and improves the response speed and safety of the driving assistance system. sex.
Patent Information
- Application Number
- CN202410698590.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-09-10
AI Technical Summary
Traditional data collection methods cannot meet the needs of intelligent driving systems for real-time data processing and response, especially in complex traffic environments, which cannot effectively capture key events.
Using the target processing mechanism and high-performance message queue, the filtered data stream is transmitted to the data warehouse for storage through the message middleware cluster to achieve asynchronous processing and efficient data processing.
It significantly improves the efficiency of data processing and forwarding, ensures fast and accurate processing of highly concurrent data streams, improves the response speed of driving assistance systems, and enhances driving safety and comfort.
Smart Images

Figure CN118626467A
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a data acquisition and storage method, device, equipment and storage medium. Background Art
[0002] With the rapid development of intelligent transportation systems and autonomous driving technology, it is becoming increasingly important to collect and process various event data during vehicle driving in real time. This data is not only of great significance for enhancing driving safety and improving road efficiency, but also crucial for studying and improving intelligent driving algorithms. Traditional data collection methods rely on offline analysis, which cannot meet the needs of real-time processing and response, and cannot effectively capture all key events, especially in complex traffic environments.
[0003] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention
[0004] The main purpose of this application is to provide a data collection and storage method, device, equipment and storage medium, aiming to solve the technical problem that intelligent driving data cannot be collected in real time.
[0005] To achieve the above purpose, the present application proposes a data collection and storage method, the method comprising:
[0006] When the vehicle is driving, interactive driving reminders are given through the target projection device;
[0007] Collect interactive action information based on feedback from driver behavior information;
[0008] A compatibility score is performed based on the interactive action information, and a driver interaction incentive is performed based on the compatibility score to avoid fatigue driving.
[0009] Optionally, the step of performing driving interactive reminders through the target projection device when the vehicle is driving includes:
[0010] When the driver is detected driving the vehicle, the interactive incentive function is activated;
[0011] According to the interactive incentive function, the target projection device projects onto the target projection position of the front windshield to provide interactive driving reminders.
[0012] Optionally, the step of projecting to a target projection position shielding the wind by a target projection device according to the interactive excitation function comprises:
[0013] Determining a projection image according to the interactive incentive function;
[0014] Collect driver's field of view information and front windshield position information;
[0015] Determining a target projection position according to the driver's field of view information and the front windshield position information;
[0016] The projection image is projected to the target projection position.
[0017] Optionally, the step of determining the target projection position according to the driver's field of view information and the front windshield position information includes:
[0018] determining a driving field of view according to the driver field of view information;
[0019] The target projection position on the front windshield is determined according to the driving visual field and the front windshield position information.
[0020] Optionally, the step of collecting interactive action information according to the fed-back driver behavior information includes:
[0021] Collect the posture information, lip shape information and voice information fed back by the driver;
[0022] The interactive action information is determined according to the posture information, lip shape information and voice information.
[0023] Optionally, the step of scoring the degree of fit according to the interactive action information includes:
[0024] Determining an effective feedback action of the driver according to the interactive action information;
[0025] Acquire a standard interactive action, and compare the standard interactive action with the driver's effective feedback action to obtain action similarity;
[0026] A compatibility score is performed based on the similarity of the actions.
[0027] Optionally, the method further comprises:
[0028] Acquiring road detection information, and determining road condition information according to the road detection information;
[0029] Performing a risk analysis on the road condition information to determine whether driving incentives can be implemented;
[0030] When the judgment result is that the driving incentive cannot be executed, a driving concentration reminder is performed, and the driving interaction reminder is stopped.
[0031] In addition, to achieve the above purpose, the present application also proposes a data acquisition and storage device, the data acquisition and storage device comprising:
[0032] An interactive reminder module is used to provide interactive driving reminders through a target projection device when the vehicle is driving;
[0033] An information collection module, used to collect interactive action information based on the feedback of driver behavior information;
[0034] The scoring incentive module is used to perform a compatibility score based on the interactive action information, and to provide driver interaction incentives based on the compatibility score to avoid fatigue driving.
[0035] In addition, to achieve the above-mentioned purpose, the present application also proposes a data acquisition and storage device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and the computer program is configured to implement the steps of the data acquisition and storage method described above.
[0036] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the data acquisition and storage method described above are implemented.
[0037] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the data acquisition and storage method described above are implemented.
[0038] One or more technical solutions proposed in this application have at least the following technical effects: collecting the initial data stream fed back by the intelligent driving system, and processing and filtering the initial data stream through the target processing mechanism to obtain a filtered data stream; transmitting the filtered data stream to the target data warehouse for storage through the message middleware cluster. In this way, by adopting an asynchronous processing mechanism and a high-performance message queue, the solution greatly improves the efficiency of data processing and forwarding, and ensures the fast and accurate processing of high-concurrency data streams. This is crucial for intelligent driving applications with extremely high real-time requirements, and can significantly improve the response speed of the driving assistance system, thereby enhancing driving safety and comfort. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0040] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0041] Figure 1A flowchart of the first embodiment of the data collection and storage method of the present application is provided;
[0042] Figure 2 A functional architecture diagram of an embodiment of a data collection and storage method of the present invention;
[0043] Figure 3 A flowchart of the second embodiment of the data collection and storage method of the present application is provided;
[0044] Figure 4 This is a schematic diagram of the unit structure of the data acquisition and storage device according to an embodiment of the present application;
[0045] Figure 5 This is a schematic diagram of the device structure of the hardware operating environment involved in the data acquisition and storage method in the embodiment of the present application.
[0046] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0047] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0048] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0049] The main solution of the embodiment of the present application is: collecting the initial data stream fed back by the intelligent driving system, and processing and filtering the initial data stream through the target processing mechanism to obtain a filtered data stream; transmitting the filtered data stream to the target data warehouse for storage through the message middleware cluster.
[0050] In this embodiment, for the convenience of description, the following description is made by taking the identification of the data acquisition and storage device as the execution subject.
[0051] As the existing technology develops rapidly with the intelligent transportation system and autonomous driving technology, it becomes increasingly important to collect and process various event data in vehicle driving in real time. These data are not only of great significance for enhancing driving safety and improving road efficiency, but also crucial for studying and improving intelligent driving algorithms. Traditional data collection methods rely on offline analysis, which cannot meet the needs of real-time processing and response, and cannot effectively capture all key events, especially in complex traffic environments. In view of the above problems, the present invention proposes a real-time collection system and method for intelligent driving event data, aiming to achieve efficient and accurate data collection and processing. The system can monitor and record key events in the driving environment, such as sudden braking, sharp turns, close avoidance, etc., in real time by integrating advanced sensors, communication technologies and data processing algorithms. In addition, the system can also analyze driving behavior and provide real-time feedback to drivers, thereby helping them improve their driving habits and reduce the accident rate. The system of the present invention can not only provide important real-time data support for intelligent transportation systems, improve road use efficiency and safety, but also has important significance for the research and development and optimization of autonomous driving technology. By collecting and processing driving event data in real time, the system can provide rich learning materials for autonomous driving systems and accelerate the development of intelligent driving technology.
[0052] The present application provides a solution to collect the initial data stream fed back by the intelligent driving system, and process and filter the initial data stream through the target processing mechanism to obtain a filtered data stream; the filtered data stream is transmitted to the target data warehouse for storage through the message middleware cluster. In this way, by adopting an asynchronous processing mechanism and a high-performance message queue, the solution greatly improves the efficiency of data processing and forwarding, and ensures the fast and accurate processing of high-concurrency data streams. This is crucial for intelligent driving applications with extremely high real-time requirements, and can significantly improve the response speed of the driving assistance system, thereby enhancing driving safety and comfort.
[0053] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a data acquisition and storage device, etc. The following takes a data acquisition and storage device as an example to illustrate this embodiment and the following embodiments.
[0054] Based on this, the present application embodiment provides a data collection and storage method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the data collection and storage method of the present application.
[0055] In this embodiment, the data collection and storage method includes steps S10 to S30:
[0056] Step S10, collecting the initial data stream fed back by the intelligent driving system, and processing and filtering the initial data stream through a target processing mechanism to obtain a filtered data stream;
[0057] It should be noted that the intelligent driving system will generate very complex and diverse data during operation, such as events, signals, videos, logs, etc. We not only need to collect and report data to the cloud, but also need to parse and fuse multiple data in real time, so that the corresponding event fusion data can be detected in the cloud immediately after the event occurs on the vehicle side for rapid problem analysis and location. There will be many major technical problems in this process. 1. Real-time data collection and reporting: In the intelligent driving system, how to efficiently collect complex and diverse data (including events, signals, videos, logs, etc.) and report them to the cloud in real time is a major technical challenge. This requires the system to have efficient data capture capabilities and a stable and reliable data transmission mechanism to ensure that the data can be uploaded and processed in a very short time. 2. Real-time parsing and fusion of multiple data: The data generated by intelligent driving includes both structured data (such as events, signals) and unstructured data (such as videos, logs). How to parse these data in different formats in real time on the cloud and fuse them into useful information for rapid problem analysis and location is another key issue. This requires not only complex data processing algorithms, but also powerful computing power to support. 3. Real-time data storage and efficient query: In order to detect the corresponding event fusion data in the cloud within a few seconds after the event occurs on the vehicle side, the problem of real-time data storage must be solved. At the same time, facing a large amount of structured and unstructured data, how to ensure that the data can be stored quickly and support efficient query so as to provide timely feedback to the intelligent driving system is a technical challenge. This requires optimizing database design and adopting efficient data indexing and query technology. 4. Data security and privacy protection: In the process of real-time collection, transmission, processing and storage of a large amount of driving data, how to ensure data security and user privacy is not leaked is also an important technical challenge. Encryption, anonymization and other technical means are needed to ensure the security of data transmission and storage. 5. System scalability and adaptability: With the development of intelligent driving technology and the surge in data volume, how to design a system architecture that is both scalable and adaptable to changing needs to support more types of data processing and analysis is a problem that needs to be considered in a forward-looking manner.
[0058] It should be understood that if Figure 2 As shown, the real-time collection solution for intelligent driving events in this solution can be mainly divided into four modules: 1. Data forwarding service; 2. Message middleware cluster; 3. Data access service; 4. Access management service.
[0059] In the specific implementation, data collection and forwarding are required first. With the help of data forwarding service, the initial data stream fed back by the intelligent driving system is first collected, and then preprocessed and filtered to obtain the filtered data stream.
[0060] In a feasible embodiment, in order to perform data preprocessing, step S10 includes: splitting the initial data stream through the target processing mechanism and directing it to the object storage service to obtain a received data stream; filtering the received data stream to obtain a filtered data stream.
[0061] It should be noted that in the design of data forwarding services, the key challenge is how to efficiently process the diverse data streams from the intelligent driving system, including real-time events, signals, videos, and logs. The Django-based asynchronous processing mechanism, combined with Django Channels, allows the inbound data stream to be processed in a non-blocking manner, which is particularly suitable for processing large amounts of video data streams. This approach can directly redirect video streams to object storage services such as Amazon S3, reducing the demand for central processing power while taking advantage of the scalability and durability of object storage. In addition, in order to optimize data routing and load balancing, RabbitMQ (open source message broker middleware) and Apache Kafka (Apache Kafka is a distributed data storage that is mainly used to build real-time streaming data pipelines and applications that adapt to data streams) are introduced. RabbitMQ is used to handle high-priority message forwarding, while Kafka is used to buffer large amounts of data streams, ensuring that data can be effectively managed and forwarded according to its type and processing priority.
[0062] It should be understood that after obtaining the received data stream, data screening is required to obtain a screened data stream.
[0063] In a feasible embodiment, in order to perform data screening, the received data stream is screened, and the steps of obtaining the screened data stream include: obtaining data integrity information and data format information of the received data stream; filtering the received data stream according to the data integrity information and the data format information to obtain the screened data stream.
[0064] In the specific implementation, we further delved into the data preprocessing and optimized forwarding strategy, and introduced a data quality detection mechanism, such as checking data integrity and format accuracy, to ensure that only qualified data will be forwarded to the next processing stage. This step significantly reduces the processing pressure of downstream services and improves the accuracy of overall data processing. A rule-based dynamic routing system is used to dynamically adjust the priority and target of data forwarding according to the real-time flow of data and the processing capacity of downstream services, thereby ensuring the efficient operation of the system and the rational allocation of resources.
[0065] Step S20: transmitting the screened data stream to a target data warehouse for storage through the message middleware cluster.
[0066] It should be noted that the core of building a message middleware cluster is to ensure the stability and scalability of the data flow, especially when processing large amounts of real-time data. Apache Kafka was selected as the core technology for building a message middleware cluster because of its excellent distributed characteristics and high throughput, making it suitable as the central hub for intelligent driving data. Kafka allows efficient processing of data streams from data forwarding services, while supporting reliable storage and forwarding of data to downstream data processing services.
[0067] In a feasible embodiment, in order to forward and store data, step S20 includes: building a message middleware cluster through a target distributed storage architecture; and transmitting the filtered data stream to a target data warehouse through the message middleware cluster.
[0068] It should be understood that the target distributed storage architecture is Apache Kafka, and the target data warehouse is ClickHouse as a real-time data warehouse.
[0069] In the specific implementation, the design of the data access service focuses on how to efficiently process and store data streams transmitted through the message middleware cluster. Apache Flink was selected as the stream processing framework, and its excellent time management and window functions make it particularly suitable for processing time-sensitive intelligent driving data. Flink's capabilities ensure that complex event processing and real-time analysis can be achieved even under extremely high data traffic. Combined with ClickHouse as a real-time data warehouse, its column storage architecture and optimized query engine provide strong support for large-scale data analysis.
[0070] In a feasible embodiment, in order to construct a storage architecture, before the step of building a message middleware cluster through a target distributed storage architecture, it also includes: obtaining partition information and replica information of the initial distributed storage architecture; configuring the partition information and the replica information to obtain architecture change information; updating the initial distributed storage architecture according to the architecture change information to obtain the target distributed storage architecture.
[0071] It should be noted that first, obtain the initial configuration of Kafka, as well as the configuration information of the partitions and replicas of the initial configuration, then configure the replicas and partitions as required, and finally update the architecture. By properly configuring the partitions and replicas of Kafka, not only the parallelism of data processing is improved, but also the high availability and fault tolerance of data in the event of node failures are ensured.
[0072] In a feasible embodiment, in order to migrate historical data and improve processing efficiency, after step S20, it also includes: obtaining data information in the target data warehouse; determining non-real-time processing data based on the data information; and migrating the non-real-time processing data to the target non-real-time storage.
[0073] It should be understood that historical data that no longer needs real-time processing will be automatically migrated to more economical storage solutions, such as Amazon S3's low-frequency access storage or cold storage. This not only optimizes storage costs, but also ensures the high performance and responsiveness of the Kafka cluster. In addition, in order to improve the queryability of historical data, we have introduced OLAP technologies such as Apache Druid, allowing users to quickly perform multi-dimensional analysis of historical data and support complex query requirements.
[0074] It should be noted that in order to more effectively support downstream data analysis and decision-making, real-time data conversion functions are introduced in the data stream processing process, such as converting raw GPS data into geographic location information, or automatically annotating data based on real-time events. These enhanced data not only provide richer information for downstream services, but also provide immediate support for data analysis and business decisions. In view of the characteristics of intelligent driving data, ClickHouse has been deeply optimized, including table structure design and indexing strategies, to ensure efficient data insertion and fast analysis and query.
[0075] It should be understood that the access management service serves as the system's configuration center and command hub, allowing users to configure and manage data access tasks. The microservice architecture built on Spring Boot provides a RESTful API, which integrates with Apache Zookeeper to achieve centralized management and automatic synchronization of configuration information, ensuring configuration consistency and real-time updates. Quartz Scheduler is also introduced to handle complex task scheduling requirements, including periodic execution and tasks triggered by specific events, thereby improving the flexibility and accuracy of data access tasks.
[0076] This embodiment provides a data acquisition and storage method, which acquires the initial data stream fed back by the intelligent driving system, and processes and filters the initial data stream through the target processing mechanism to obtain a filtered data stream; the filtered data stream is transmitted to the target data warehouse for storage through the message middleware cluster. In this way, by using an asynchronous processing mechanism and a high-performance message queue, the solution greatly improves the efficiency of data processing and forwarding, and ensures the fast and accurate processing of high-concurrency data streams. This is crucial for intelligent driving applications with extremely high real-time requirements, and can significantly improve the response speed of the driving assistance system, thereby enhancing driving safety and comfort.
[0077] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 3 The method further comprises steps S01 to S03:
[0078] Step S01: receiving a data access task through a preset graphical user interface;
[0079] It should be noted that in order to enable users to configure and manage data access tasks more intuitively, a Web-based graphical user interface (GUI) is designed. Through visual operation processes and friendly prompt information, the user's operation difficulty is greatly reduced, the configuration accuracy and efficiency are improved, and it is used to receive data access tasks.
[0080] Step S02: determining task processing logic and task triggering event information according to the data access task;
[0081] It should be understood that advanced configuration options are added to the access management service, such as custom data processing logic, task initiation triggered by specific events, etc. These advanced functions provide users with strong flexibility to meet the personalized needs of different users. Specifically, the task processing logic and task triggering event information are first determined according to the data access task.
[0082] Step S03: performing task access and configuration according to the task processing logic and the task triggering event information.
[0083] In a specific implementation, after receiving the task processing logic and the task triggering time information, the task is accessed and configured into the manager, so that the task can be automatically triggered and executed.
[0084] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the data collection and storage method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.
[0085] This application also provides a data collection and storage device, please refer to Figure 4 , the data acquisition and storage device comprises:
[0086] The receiving and processing module 10 is used to collect the initial data stream fed back by the intelligent driving system, and process and filter the initial data stream through a target processing mechanism to obtain a filtered data stream.
[0087] The forwarding storage module 20 is used to transmit the screened data stream to the target data warehouse for storage through the message middleware cluster.
[0088] In this embodiment, when the vehicle is driving, the target projection device is used to provide driving interaction reminders; interactive action information is collected based on the feedback of driver behavior information; a fit score is performed based on the interactive action information, and driver interaction incentives are performed based on the fit score to avoid fatigue driving. In this way, during the driving process of the vehicle, the driver is guided to perform action interaction and score to achieve individual interaction and incentives, prevent driver fatigue, further reduce the risk of fatigue driving, and improve the fun of driving.
[0089] In one embodiment, the receiving processing module 10 is further used to split the initial data stream through the target processing mechanism and direct it to the object storage service to obtain a received data stream; and filter the received data stream to obtain a filtered data stream.
[0090] In one embodiment, the receiving processing module 10 is further used to obtain data integrity information and data format information of the received data stream; and filter the received data stream according to the data integrity information and the data format information to obtain a filtered data stream.
[0091] In one embodiment, the forwarding storage module 20 is further used to construct a message middleware cluster through a target distributed storage architecture; and transmit the screened data stream to a target data warehouse through the message middleware cluster.
[0092] In one embodiment, the forwarding storage module 20 is also used to obtain partition information and replica information of the initial distributed storage architecture; configure the partition information and the replica information to obtain architecture change information; update the initial distributed storage architecture according to the architecture change information to obtain the target distributed storage architecture.
[0093] In one embodiment, the forwarding storage module 20 is further used to obtain data information in the target data warehouse; determine non-real-time processing data according to the data information; and migrate the non-real-time processing data to the target non-real-time storage.
[0094] In one embodiment, the forwarding storage module 20 is also used to receive a data access task through a preset graphical user interface; determine the task processing logic and task trigger event information based on the data access task; and perform task access and configuration based on the task processing logic and the task trigger event information.
[0095] The data acquisition and storage device provided by the present application adopts the data acquisition and storage method in the above embodiment, which can solve the technical problem that the data of intelligent driving cannot be collected in real time. Compared with the prior art, the beneficial effects of the data acquisition and storage device provided by the present application are the same as the beneficial effects of the data acquisition and storage method provided by the above embodiment, and the other technical features in the data acquisition and storage device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0096] The present application provides a data acquisition and storage device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable 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 data acquisition and storage method in the above-mentioned embodiment one.
[0097] Reference below Figure 5 , which shows a schematic diagram of the structure of a data acquisition and storage device suitable for implementing the embodiment of the present application. The data acquisition and storage device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5 The data acquisition and storage device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0098] like Figure 5As shown, the data acquisition storage device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the data acquisition storage device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the data acquisition storage device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a data acquisition storage device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.
[0099] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0100] The data acquisition and storage device provided by the present application adopts the data acquisition and storage method in the above embodiment, which can solve the technical problem that the data of intelligent driving cannot be collected in real time. Compared with the prior art, the beneficial effects of the data acquisition and storage device provided by the present application are the same as the beneficial effects of the data acquisition and storage method provided by the above embodiment, and the other technical features in the data acquisition and storage device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0101] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0102] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0103] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the data acquisition and storage method in the above-mentioned embodiment.
[0104] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0105] The computer-readable storage medium may be included in the data acquisition storage device; or may exist independently without being assembled into the data acquisition storage device.
[0106] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the data acquisition storage device, the data acquisition storage device: collects the initial data stream fed back by the intelligent driving system, and processes and filters the initial data stream through the target processing mechanism to obtain a filtered data stream; and transmits the filtered data stream to the target data warehouse for storage through the message middleware cluster.
[0107] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0108] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a unit, a program segment or a part of a code, and the unit, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession 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 square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0109] The units involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of a unit does not, in some cases, constitute a limitation on the unit itself.
[0110] The readable storage medium provided in this application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned data acquisition and storage method, and can solve the technical problem that the data of intelligent driving cannot be collected in real time. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as the beneficial effects of the data acquisition and storage method provided in the above-mentioned embodiment, and will not be repeated here.
[0111] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned data acquisition and storage method when executed by a processor.
[0112] The computer program product provided by this application can solve the technical problem that the data of intelligent driving cannot be collected in real time. Compared with the prior art, the beneficial effects of the computer program product provided by this application are the same as the beneficial effects of the data collection and storage method provided by the above embodiment, which will not be repeated here.
[0113] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A data collection and storage method, characterized in that: The method includes: Collecting an initial data stream fed back by the intelligent driving system, and processing and filtering the initial data stream through a target processing mechanism to obtain a filtered data stream; The filtered data stream is transmitted to a target data warehouse for storage through the message middleware cluster.
2. The method according to claim 1, characterized in that The step of processing and filtering the initial data stream by the target processing mechanism to obtain the filtered data stream comprises: The initial data stream is split and processed by the target processing mechanism and directed to the object storage service to obtain a received data stream; The received data stream is screened to obtain a screened data stream.
3. The method according to claim 2, characterized in that The step of filtering the received data stream to obtain the filtered data stream comprises: Acquiring data integrity information and data format information of the received data stream; The received data stream is filtered according to the data integrity information and the data format information to obtain a filtered data stream.
4. The method according to claim 1, characterized in that The step of transmitting the filtered data stream to the target data warehouse for storage through the message middleware cluster includes: Build a message middleware cluster through the target distributed storage architecture; The filtered data stream is transmitted to a target data warehouse through the message middleware cluster.
5. The method according to claim 4, characterized in that Before the step of building a message middleware cluster through the target distributed storage architecture, the method further includes: Obtain partition information and replica information of the initial distributed storage architecture; Configuring the partition information and the replica information to obtain architecture change information; The initial distributed storage architecture is updated according to the architecture change information to obtain a target distributed storage architecture.
6. The method according to claim 1, characterized in that After the step of transmitting the filtered data stream to the target data warehouse for storage through the message middleware cluster, the method further includes: Acquire data information in the target data warehouse; Determine non-real-time processing data according to the data information; The non-real-time processing data is migrated to a target non-real-time storage.
7. The method according to any one of claims 1 to 6, characterized in that The method further comprises: Receiving data access tasks through a preset graphical user interface; Determine task processing logic and task triggering event information according to the data access task; Task access and configuration are performed according to the task processing logic and the task triggering event information.
8. A data acquisition and storage device, characterized in that: The device comprises: A receiving and processing module, used for collecting the initial data stream fed back by the intelligent driving system, and processing and filtering the initial data stream through a target processing mechanism to obtain a filtered data stream; The forwarding storage module is used to transmit the screened data stream to the target data warehouse for storage through the message middleware cluster.
9. A data acquisition and storage device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the data acquisition and storage method according to any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the data acquisition and storage method according to any one of claims 1 to 7 are implemented.
