IP Library › Granted Patent US 11,818,197
Granted Patent B2
US 11,818,197 · App. 17/152,861 · Granted Nov 14, 2023

Data stream management method and device

Inventors: Yuqi Zhang (Suwon-si, KR); Zhonggang Chen (Suwon-si, KR); Ni Xue (Suwon-si, KR)
H04L67/06G06F16/1734H04L67/1097
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,818,197
App. No.
17/152,861
Granted
Nov 14, 2023
Kind
B2
Abstract

A method for managing a data stream includes obtaining attribute information of a currently opened file; and distributing the file to a data stream according to current state information of a plurality of data streams and attribute information of the file.

Claims (73)

1. A data stream management method, comprising:

obtaining attribute information of a currently opened file;

extracting a sub attribute set of the file, wherein the sub attribute set is capable of reflecting an access mode and/or a data lifetime of the file; and

distributing the file to a data stream according to current state information of data streams and the attribute information of the file including the sub attribute set of the file by distributing, when the file is opened, the file to the data stream whose current state satisfies a first preset condition according to the current state information of the data streams, wherein the first preset condition comprises at least one of the following conditions:

a type of the files which are currently distributed to the data streams is the same as the type of the file to be distributed to the data stream;

a number of the files which are currently distributed to the data streams is the least;

an average open duration of all files which are currently distributed to the data streams is the shortest;

a total opening duration of all files which are currently distributed to the data streams is the shortest; and

a number of times which the files which are currently distributed to the data streams are modified is the least.

2. The data stream management method of claim 1 , wherein the attribute information of the file comprises a type of the files; and

the distributing the file to the data stream according to the current state information of the data streams and the attribute information of the file, comprises:

distributing, when the file is opened, the file to the data stream whose current state satisfies-a the first preset condition according to the current state information of the data streams and the type of the file.

3. The data stream management method of claim 1 , wherein the current state information comprises at least one of:

a type of files which are currently distributed to the data streams;

a number of the files which are currently distributed to the data streams; and

a number of times by which the files which are currently distributed to the data streams are modified.

4. The data stream management method of claim 2 ,

wherein the current state information comprises opening duration information of the files which are currently distributed to the data streams; and the opening duration information of the files which are currently distributed to the data streams comprises at least one of:

an average opening duration of all files which are currently distributed to the data streams; and

a total opening duration of all files which are currently distributed to the data streams.

5. The data stream management method of claim 2 , wherein the distributing the file to the data stream according to the current state information of the data streams and the attribute information of the files, comprises:

distributing, when the file is in an opening state, the file to a data stream whose current state satisfies a second preset condition according to the current state information of the data streams and the attribute information of the file acquired up to current moment, at a preset time interval.

6. The data stream management method of claim 5 , wherein the distributing the file to the data stream whose current state satisfies the second preset condition according to the current state information of the data streams and the attribute information of the file acquired up to the current moment, comprises:

extracting the sub attribute set of the file in the obtained attribute information of the file; and

distributing the file to the data stream whose current state satisfies the second preset condition according to the current state information of the data streams and the sub attribute set of the file.

7. The data stream management method of claim 5 , wherein,

a plurality of data streams comprise a first group of data streams and a second group of data streams; and

the data stream management method further comprises:

when distributing the file to the data stream according to the current state information of the data streams and a type of the file, distributing the file to one data stream in the first group of data streams; and

when distributing the file to the data stream according to the current state information of the when distributing the file to the data stream according to the current state information of the data stream and the attribute information of the file acquired up to the current moment, distributing the file to one data stream in the second group of data streams.

8. A data stream management device, comprising:

a file monitoring module configured to obtain attribute information of a currently opened file;

a file attribute analysis module configured to extract a sub attribute set of the file in the attribute information of the file, wherein the sub attribute set is capable of reflecting an access mode and/or a data lifetime of the file; and

a stream management module configured to distribute the file to a data stream according to current state information of data streams and the attribute information of the file including the sub attribute set of the file by distributing, when the file is opened, the file to the data stream whose current state satisfies a first preset condition according to the current state information of the data streams, wherein the first preset condition comprises at least one of the following conditions:

a type of the files which are currently distributed to the data streams is the same as the type of the file to be distributed to the data stream;

a number of the files which are currently distributed to the data streams is the least;

an average open duration of all files which are currently distributed to the data streams is the shortest;

a total opening duration of all files which are currently distributed to the data streams is the shortest; and

a number of times which the files which are currently distributed to the data streams are modified is the least.

9. The data stream management device of claim 8 ,

wherein the attribute information of the file comprises a type of the file; and

the stream management module comprises a pre-distribution unit configured to:

distribute, when the file is opened, the file to the data stream whose current state satisfies the first preset condition according to the current state information of the data streams and the type of the file.

10. The data stream management device of claim 9 , wherein the current state information comprises at least one of:

a type of files which are currently distributed to the data streams;

a number of the files which are currently distributed to the data streams; and

a number of times by which the files which are currently distributed to the data streams are modified.

11. The data stream management device of claim 8 ,

wherein the current state information comprises opening duration information of the files which are currently distributed to the data streams, and the opening duration information of the files which are currently distributed to the data streams comprises at least one of:

an average opening duration of all files which are currently distributed to the data streams; and

a total opening duration of all files which are currently distributed to the data streams.

12. The data stream management device of claim 8 , wherein the stream management module includes a classification unit configured to:

when the file is in an opening state, distribute the file to a data stream whose current state satisfies a second preset condition according to the current state information of the data streams and the attribute information of the file acquired up to current moment, at a preset time interval.

13. The data stream management device of claim 12 , wherein the device further comprises a file attribute analysis module configured to: extract the sub attribute set of the file in the obtained attribute information of the file; and

the classification unit is configured to distribute the file to the data stream whose current state satisfies the second preset condition according to the current state information of the data streams and the sub attribute set of the file.

14. The data stream management device of claim 12 , wherein, a plurality of data streams comprise a first group of data streams and a second group of data streams;

the stream management module comprises a pre-distribution unit configured to: when distributing the file to the data stream according to the current state information of the data streams and a category of the file, distribute the file to one data stream in the first group of data streams;

the classification unit is configured to: when distributing the file to the data stream according to the current state information of the data stream and the attribute information of the file acquired up to the current moment, distribute the file to one data stream in the second group of data streams.

15. A storage device, comprising:

a memory configured to store written data logically arranged in accordance with a plurality of data streams; and

a data stream management device configured to obtain attribute information of a currently opened-file, file; to extract a sub attribute set of the file, wherein the sub attribute set is capable of reflecting an access mode and/or a data lifetime of the file; and to distribute the file to a data stream according to current state information of the plurality of data streams and the attribute information of the file by distributing, when the file is opened, the file to the data stream whose current state satisfies a first preset condition according to the current state information of the data streams, wherein the first preset condition comprises at least one of the following conditions:

a type of the files which are currently distributed to the data streams is the same as the type of the file to be distributed to the data stream;

a number of the files which are currently distributed to the data streams is the least;

an average open duration of all files which are currently distributed to the data streams is the shortest;

a total opening duration of all files which are currently distributed to the data streams is the shortest; and

a number of times which the files which are currently distributed to the data streams are modified is the least.

16. The storage device of claim 15 , wherein the attribute information of the file comprises a type of the files; and

the data stream management device is configured to distribute the file to the data stream according to the current state information of the data streams and the attribute information of the file by distributing, when the file is opened, the file to the data stream whose current state satisfies the first preset condition according to the current state information of the data streams and the type of the file.

17. The storage device of claim 16 ,

wherein the current state information comprises opening duration information of the files which are currently distributed to the data streams; and

the opening duration information of the files which are currently distributed to the data streams comprises at least one of:

an average opening duration of all files which are currently distributed to the data streams; and

a total opening duration of all files which are currently distributed to the data streams.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 20, 2021
From: ZHANG, YUQI; CHEN, ZHONGGANG; XUE, NI
To: SAMSUNG ELECTRONICS CO., LTD.
Reel/Frame 054962/0669 →
Priority Claims (1)
CN 202011009137.5 · Sep 23, 2020 · national
Continuity (1)
Related Publication 20220094738A1 · Mar 24, 2022