A pre-data acquisition method, device, equipment and storage medium
A technology for data acquisition and data storage, applied in the field of data processing, can solve the problems of inability to obtain pre-data in time, low efficiency of query data, etc., and achieve the effect of improving the efficiency of acquisition
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0030] figure 1 This is a flowchart of a method for acquiring pre-alarm data provided in Embodiment 1 of the present invention. This embodiment can be applied to the case of acquiring pre-data before an event time node. Setting data, the method can be performed by a pre-data acquisition device, the device can be implemented by hardware and / or software, and generally can be integrated in electronic equipment, the method specifically includes:
[0031] Step 110: Set a data time point for the full amount of data, and send the full amount of data to the relay data stream;
[0032] Among them, preset equipment will be installed on the vehicle to collect data during the operation of the vehicle. These data are preset, which can include positioning, speed, acceleration, vehicle gear, usage of lights, and obstacles around the vehicle. Information, the preset device may be a vehicle safety device. When there is abnormal data in the data monitored by the vehicle safety device and the c...
Embodiment 2
[0047] figure 2 It is a flowchart of a method for obtaining pre-data provided in Embodiment 2 of the present invention. This embodiment is further refined on the basis of the above technical solution, and the judging of the data type of the relay data may include: judging the data type of the relay data. Whether the relay data contains an alarm code field; if it contains the alarm code field, the relay data is the alarm data; if it does not contain the alarm code field, the relay data is the Full data. Specifically, the method includes:
[0048] Step 210: Set a data time point for the full amount of data, and send the full amount of data to the relay data stream;
[0049] Step 220, if the obtained alarm data is preset alarm data of a preset type, store the preset alarm data in a preset cache;
[0050] Step 230: Set a data time point for the preset alarm data, and send the alarm data to the relay data stream;
[0051] Step 240, if the accumulated data time point obtained a...
Embodiment 3
[0060] image 3 This is a flowchart of a method for obtaining pre-data provided in Embodiment 3 of the present invention. This embodiment is further refined on the basis of the above technical solution. If the relay data is the full amount of data, in the Searching for the preset alarm data corresponding to the relay data in the preset cache includes: acquiring preset device information from the full amount of data; The preset alarm data of the preset device information. Specifically, the method includes:
[0061] Step 310: Set a data time point for the full amount of data, and send the full amount of data to the relay data stream;
[0062] Step 320, if the obtained alarm data is preset alarm data of a preset type, store the preset alarm data in a preset cache;
[0063] Step 330: Set a data time point for the preset alarm data, and send the alarm data to the relay data stream;
[0064] Step 340: If the data time point of the relay data is accumulated and the preset time th...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


