Unlock instant, AI-driven research and patent intelligence for your innovation.

Data storage method and device, and application thereof

A data storage device and data storage technology, applied in memory systems, electrical digital data processing, medical equipment, etc., can solve the problem that data storage cannot be selectively stored according to needs, accurate time synchronization and display of data cannot be realized, and efficient processing cannot be achieved Time-sharing acquisition of data and other issues to achieve fast query, convenient query, and speed-up

Active Publication Date: 2018-11-06
成都心吉康科技有限公司
View PDF12 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Due to some data loss in the storage process of the existing data and the preservation of the existing data cannot be selectively saved according to the needs, the asymmetry between the stored data and the accompanying time information occurs, resulting in the inability to efficiently process the data in the later stage to realize the analysis. Accurate time synchronization and display of data cannot be achieved

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data storage method and device, and application thereof
  • Data storage method and device, and application thereof
  • Data storage method and device, and application thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0038] Such as Figure 1-3 As shown, the present invention includes a data storage method, comprising the steps of:

[0039] Step S1: Calibrate the start time msaveFileTime of each data packet received; because data packets are prone to loss of data packets during transmission, the start time msaveFileTime assigned by the system to each data packet is not the actual corresponding time of the data packet , so the start time msaveFileTime of each data packet is calibrated; so that the start time msaveFileTime information attached to each data packet corresponds to the actual time.

[0040] Before completing step S1, the data source sends data packets to the receiving end at regular intervals, and the receiving end parses the data packets, records the start time msaveFileTime of each data packet and mlastSaveFileTime when the data packet was last written into the cached data; then initialize; define Start to save the time flag isStartRecordTime, the default is true; judge whethe...

Embodiment 2

[0047] This embodiment is preferably as follows on the basis of Embodiment 1: the method for calibrating the start time msaveFileTime of each data packet is as follows:

[0048] Step S11: If the calibration data package is real-time data, the start time msaveFileTime is directly calibrated to the system time;

[0049] Step S12: If the calibration data packet is cached data, the time is calibrated according to the time offset carried by the front end of the small linked list on the large linked list. Whether the data is real-time data or buffered data is included at the end of each data packet, and it is only necessary to read the tail unit of the data packet to know whether the data packet is a real-time data packet or a buffered data packet.

[0050] The time offset carried by the front end of the small linked list is calculated according to the packet sequence number carried by the data packet. The start saving time msaveFileTime of each data packet after caching data calibr...

Embodiment 3

[0069] data storage devices, including

[0070] Time calibration module: used to calibrate the start time msaveFileTime of each data packet received;

[0071] Storage module: used to store each data packet in the form of one or more small linked lists nested within a large linked list after each data packet corresponds to the accompanying time information correctly.

[0072] When calibrating real-time data packets in the time calibration module, the start time msaveFileTime is directly calibrated to the system time;

[0073] The start time msaveFileTime of the data packet for calibrating cached data in the time calibration module is to calibrate the time according to the time offset carried by the front end of the small linked list on the large linked list.

[0074] The time offset carried by the front end of the small linked list is calculated according to the packet sequence number carried by the data packet. The start saving time msaveFileTime of each data packet after cac...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a data storage method and device, and application thereof. The method comprises the following steps of calibrating start time msaveFileTime of each received data packet; and when each data packet correctly corresponds to attached time information, storing each data packet in a form of sleeving the interior of a large link table with one or more small link tables. Through the principle, accurate time check of data can be achieved even in the case of data loss, so that the data can be efficiently processed in a later stage, and time-sharing acquisition and accurate display of the data can be achieved.

Description

technical field [0001] The invention relates to the field of data storage, in particular to a data storage method, device and application thereof. Background technique [0002] For the data collected by the sensor and the data calculated by the hardware based on the data collected by the sensor, it is often necessary to bring time information to the data, so that the data can be obtained in time-segmented time intervals, and different data can be aligned to the time for corresponding processing, and according to the time Dimensions display specified data. Due to some data loss in the storage process of the existing data and the preservation of the existing data cannot be selectively saved according to the needs, the asymmetry between the stored data and the accompanying time information occurs, resulting in the inability to efficiently process the data in the later stage to realize the analysis. Accurate time synchronization and display of data cannot be achieved. Content...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F12/0893G16H15/00G16H40/63
CPCG06F12/0893G16H15/00G16H40/63
Inventor 李劲松杨益军薛奋
Owner 成都心吉康科技有限公司