Streamed data write-in method based on embedded file system

An embedded file and streaming data technology, applied in electrical digital data processing, special data processing applications, input/output to record carriers, etc., can solve the problems of low data writing efficiency, insufficient throughput and concurrency performance, etc. The effect of improving efficiency

Active Publication Date: 2015-04-22
ZHENGZHOU SEANET TECH CO LTD
View PDF5 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The embodiment of the present invention provides a streaming data writing method based on an embedded file system

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
  • Streamed data write-in method based on embedded file system
  • Streamed data write-in method based on embedded file system
  • Streamed data write-in method based on embedded file system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] Below to figure 1 As an example, the method for writing streaming data based on an embedded file system provided by Embodiment 1 of the present invention is described in detail. figure 1 The flow chart of the method for writing streaming data based on the embedded file system provided by the embodiment of the present invention, in the embodiment of the present invention, the subject of implementation may be the file system. figure 2 It is a message-driven flow chart of a method for writing streaming data based on an embedded file system provided by an embodiment of the present invention. combine figure 1 and figure 2 As shown, the method includes the following steps:

[0045] Step 101, receiving streaming data to be written to disk;

[0046] Streaming data refers to treating data as a data stream, and a data block is the smallest component unit of a data stream. The streaming data received here comes from streaming data distributed by a content delivery network (...

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 relates to a streamed data write-in method based on an embedded file system. The method includes that streamed data of a to-be-written in disk are received; the received streamed data are organized and cached in a chain list structure, and when length of the cached data reaches a set threshold value, a write operation that writes the cached streamed data in the disk is triggered; the streamed data are separated from a cache, data length of the to-be-written in disk at the time is calculated, the length is required to be integer multiples of the size of a disk sector, data of corresponding sections are kept continuous physically and logically, and corresponding data length of subchain tables after separation is required to be equal to the data length of the to-be-written in disk at the time; the separated streamed data are written in the disk, a lower layer write interface is called to write the separated streamed data in the disk, an asynchronous non-blocking mode is applied when the data are written in, and the write operation of next time is tried to be triggered after the file system receives a message that the data are successfully written in the disk in the process of writing the data in the disk in the non-blocking mode.

Description

technical field [0001] The invention relates to the technical field of data storage, in particular to a streaming data writing method based on an embedded file system. Background technique [0002] With the rapid development of the Internet, storage technology and various storage systems have also been developed rapidly. These storage systems provide convenient, fast and efficient storage and access services for a large amount of Internet information and multimedia data information. [0003] Embedded system is a special computer system that is completely embedded in the controlled device and designed for specific applications. The embedded system has limited resources and simple structure. In view of its particularity and specificity, general-purpose Operating system and file system, but custom file system for embedded system for specific application scenarios. The application range of embedded systems is very wide. It is impossible to have a file system that dominates all ...

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
IPC IPC(8): G06F3/06G06F17/30
CPCG06F16/172
Inventor 陈君吴京洪李明哲樊皓叶晓舟
Owner ZHENGZHOU SEANET TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products