A method and system for storing multimedia files in an Internet storage cluster

By calculating the correlation between multimedia files and storage devices in Internet storage clusters, the target storage device is automatically determined, solving the problems of low storage efficiency and errors in the existing technology, and achieving efficient and accurate multimedia file storage management.

CN111159434BActive Publication Date: 2024-10-29GUOKE NENGCHUANG (BEIJING) TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN201911386067.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-12-29
Publication Date
2024-10-29
Estimated Expiration
2039-12-29

AI Technical Summary

Technical Problem

Existing Internet storage clusters are inefficient and error-prone when storing multimedia files, requiring manual designation of storage devices, resulting in low efficiency and possible errors.

Method used

By obtaining the subject information, feature information and access information of the multimedia files to be stored, the correlation degree of the feature-related and access-related multimedia file sets in each storage device is calculated, the target storage device is determined, and the multimedia files are stored in the location with the highest correlation degree. in the device.

Benefits of technology

It improves the efficiency of multimedia file storage, reduces manual intervention, reduces error rates, and ensures reasonable distribution and efficient management of file storage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111159434B_ABST
    Figure CN111159434B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and system for storing multimedia files in an Internet storage cluster, wherein the Internet storage cluster includes multiple storage devices, wherein the method includes: each storage device determines multiple feature-related multimedia file sets and multiple access-related multimedia file sets related to the multimedia files to be stored; generates respective first feature information for each feature-related multimedia file set, and generates respective second feature information for each access-related multimedia file set; determines a first correlation and a second correlation based on subject information of the multimedia files to be stored; determines a content correlation between the multimedia files to be stored and each storage device based on the first correlation and the second correlation, determines a target storage device for the multimedia files to be stored based on the content correlation between the multimedia files to be stored and each storage device, and stores the multimedia files to be stored in the target storage device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of Internet data storage, and more specifically, to a method and system for storing multimedia files in an Internet storage cluster. Background Art

[0002] With the continuous development of Internet technology, more and more Internet devices can generate various types of multimedia files. Multimedia files can be transmitted through the Internet to enrich the information resources of the Internet. Now it is necessary to use Internet storage clusters to meet the exponentially increasing number of multimedia files. However, under the current circumstances, when it is necessary to use Internet storage clusters to store multimedia files, it is usually determined by manual designation which storage device in the Internet storage cluster to store the multimedia files. This method is inefficient and prone to errors. Summary of the invention

[0003] The present invention provides a method for storing multimedia files in an Internet storage cluster, wherein the Internet storage cluster includes a plurality of storage devices, and the method includes:

[0004] Acquire a multimedia file to be stored, and parse an information document of the multimedia file to be stored to determine subject information, feature information, and access information of the multimedia file to be stored;

[0005] Each storage device selects a plurality of feature-related multimedia files from all multimedia files stored in the storage device based on feature information of the multimedia files to be stored to form a feature-related multimedia file set, thereby determining a plurality of feature-related multimedia file sets for the multimedia files to be stored;

[0006] Each storage device selects a plurality of access-related multimedia files from all multimedia files stored in the storage device based on the access information of the multimedia file to be stored to form an access-related multimedia file set, thereby determining a plurality of access-related multimedia file sets for the multimedia file to be stored;

[0007] Generating respective first feature information for each feature-related multimedia file set, and generating respective second feature information for each access-related multimedia file set;

[0008] Determine the first degree of association between the multimedia file to be stored and the multimedia file set related to the feature of each storage device based on the degree of match between the subject information of the multimedia file to be stored and each first feature information; determine the second degree of association between the multimedia file to be stored and the multimedia file set related to access of each storage device based on the degree of match between the subject information of the multimedia file to be stored and each second feature information;

[0009] The content association degree between the multimedia file to be stored and each storage device is determined based on the first association degree and the second association degree, and the target storage device for the multimedia file to be stored is determined based on the content association degree between the multimedia file to be stored and each storage device, and the multimedia file to be stored is stored in the target storage device.

[0010] Each storage device is used to store a plurality of multimedia files, and the multimedia files include: video files, text files, image files and / or audio files.

[0011] The multimedia file has an information document, which includes at least: subject information, feature information and access information

[0012] Determining the first degree of association of the multimedia file to be stored and the multimedia file set related to the feature of each storage device based on the matching degree between the subject information of the multimedia file to be stored and each first feature information, includes:

[0013] Calculating the semantic association, part-of-speech association or word meaning matching degree between the subject information of the multimedia file to be stored and each first feature information, and using the semantic association, part-of-speech association or word meaning matching degree as the first association degree of each multimedia file set related to the feature of the multimedia file to be stored and each storage device;

[0014] Determining the second degree of association between the multimedia file to be stored and the multimedia file set related to access of each storage device based on the degree of matching between the subject information of the multimedia file to be stored and each second feature information, includes:

[0015] Calculating the semantic relevance, part-of-speech relevance or word meaning matching degree between the subject information of the multimedia file to be stored and each second feature information, and using the semantic relevance, part-of-speech relevance or word meaning matching degree as the second relevance between the multimedia file to be stored and the multimedia file set related to access of each storage device;

[0016] Determining the content association degree between the multimedia file to be stored and each storage device based on the first association degree and the second association degree includes:

[0017] Calculating a sum of the first correlation degree and the second correlation degree, and using the sum of the first correlation degree and the second correlation degree as a content correlation degree between the multimedia file to be stored and each storage device;

[0018] Determining a target storage device for storing the multimedia file to be stored based on the content association between the multimedia file to be stored and each storage device includes:

[0019] The content association degree between the multimedia file to be stored and each storage device is determined, and the storage device with the greatest content association degree among the multiple storage devices is determined as the target storage device for the multimedia file to be stored.

[0020] The present invention provides a system for storing multimedia files in an Internet storage cluster, wherein the Internet storage cluster includes a plurality of storage devices, and the system includes:

[0021] An acquisition device acquires a multimedia file to be stored, and parses an information document of the multimedia file to be stored to determine subject information, feature information, and access information of the multimedia file to be stored;

[0022] Selecting devices, prompting each storage device to select a plurality of feature-related multimedia files from all multimedia files stored in the storage device based on feature information of the multimedia files to be stored to form a feature-related multimedia file set, thereby determining a plurality of feature-related multimedia file sets for the multimedia files to be stored; prompting each storage device to select a plurality of access-related multimedia files from all multimedia files stored in the storage device based on access information of the multimedia files to be stored to form an access-related multimedia file set, thereby determining a plurality of access-related multimedia file sets for the multimedia files to be stored;

[0023] A generating device generates respective first characteristic information for each characteristic-related multimedia file set, and generates respective second characteristic information for each access-related multimedia file set;

[0024] The processing device determines, based on the matching degree between the subject information of the multimedia file to be stored and each first feature information, the first degree of association between the multimedia file to be stored and the multimedia file set related to the feature of each storage device, and determines, based on the matching degree between the subject information of the multimedia file to be stored and each second feature information, the second degree of association between the multimedia file to be stored and the multimedia file set related to access of each storage device;

[0025] The storage device determines the content association degree between the multimedia file to be stored and each storage device based on the first association degree and the second association degree, determines the target storage device for the multimedia file to be stored based on the content association degree between the multimedia file to be stored and each storage device, and stores the multimedia file to be stored in the target storage device.

[0026] Each storage device is used to store a plurality of multimedia files, and the multimedia files include: video files, text files, image files and / or audio files.

[0027] The multimedia file has an information document, which includes at least: subject information, feature information and access information

[0028] Determining the first degree of association of the multimedia file to be stored and the multimedia file set related to the feature of each storage device based on the matching degree between the subject information of the multimedia file to be stored and each first feature information, includes:

[0029] Calculating the semantic association, part-of-speech association or word meaning matching degree between the subject information of the multimedia file to be stored and each first feature information, and using the semantic association, part-of-speech association or word meaning matching degree as the first association degree of each multimedia file set related to the feature of the multimedia file to be stored and each storage device;

[0030] Determining the second degree of association between the multimedia file to be stored and the multimedia file set related to access of each storage device based on the degree of matching between the subject information of the multimedia file to be stored and each second feature information, includes:

[0031] Calculating the semantic relevance, part-of-speech relevance or word meaning matching degree between the subject information of the multimedia file to be stored and each second feature information, and using the semantic relevance, part-of-speech relevance or word meaning matching degree as the second relevance between the multimedia file to be stored and the multimedia file set related to access of each storage device;

[0032] Determining the content association degree between the multimedia file to be stored and each storage device based on the first association degree and the second association degree includes:

[0033] Calculating a sum of the first correlation degree and the second correlation degree, and using the sum of the first correlation degree and the second correlation degree as a content correlation degree between the multimedia file to be stored and each storage device;

[0034] Determining a target storage device for storing the multimedia file to be stored based on the content association between the multimedia file to be stored and each storage device includes:

[0035] The content association degree between the multimedia file to be stored and each storage device is determined, and the storage device with the greatest content association degree among the multiple storage devices is determined as the target storage device for the multimedia file to be stored. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] A more complete understanding of exemplary embodiments of the present invention may be obtained by referring to the following drawings:

[0037] Figure 1 A flowchart of a method for storing multimedia files in an Internet storage cluster according to the present invention;

[0038] Figure 2 A schematic diagram of storing multimedia files according to the present invention; and

[0039] Figure 3 It is a schematic diagram of the structure of a system for storing multimedia files in an Internet storage cluster according to the present invention. DETAILED DESCRIPTION

[0040] Figure 1 FIG. 1 is a flow chart of a method 100 for storing multimedia files in an Internet storage cluster according to the present invention.

[0041] In step 101, a multimedia file to be stored is obtained, and an information document of the multimedia file to be stored is parsed to determine subject information, feature information and access information of the multimedia file to be stored.

[0042] The Internet storage cluster is used to provide storage services for multimedia files, and the Internet storage cluster may belong to a specific service provider, service operator or network organization. Each storage device is used to store multiple multimedia files. Multimedia files include: video files, text files, image files and / or audio files.

[0043] The Internet storage cluster obtains the multimedia files to be stored through the interface device, wherein the multimedia files to be stored are multimedia files that are expected to be stored in the Internet storage cluster, or the multimedia files to be stored are multimedia files required by the Internet storage cluster.

[0044] Each multimedia file (including multimedia files to be stored) has an information document, and the information document includes at least: theme information, feature information and access information. The theme information is the theme name, theme content or information used to describe the theme content of the multimedia file. The feature information includes: multiple key features associated with the multimedia file (or the content of the multimedia file), or multiple key features extracted from the content information of the multimedia file. The key features are, for example, keywords related to the content of the multimedia file. For example, if the multimedia file is a video file of the song "Roof" by singer Jay Chou, the key features may include, for example: roof, Jay Chou, Landy Wen, chorus, popular, antenna, stars, sleep, night, etc.

[0045] The characteristic information may also include the file size of the multimedia file, for example, <identifier of the multimedia file, file size>. The access information includes multiple access records, each of which is <identifier of the multimedia file, start time of access, identifier of the access requester>, wherein the start time of access is the start time when the multimedia file is accessed by the access requester, the access requester is a requester that can request access to the multimedia file in the Internet storage cluster, the identifier of the access requester is used to uniquely identify the access requester, and the identifier of the multimedia file is used to uniquely identify the multimedia file. The multiple access records included in the access information can record information on each access of the multimedia file.

[0046] In step 102, each storage device selects a plurality of feature-related multimedia files from all multimedia files stored in the storage device based on feature information of the multimedia files to be stored to form a feature-related multimedia file set, thereby determining a plurality of feature-related multimedia file sets for the multimedia files to be stored.

[0047] Each storage device selects a plurality of feature-related multimedia files from all multimedia files stored in the storage device based on feature information of the multimedia files to be stored to form a feature-related multimedia file set including:

[0048] Each storage device does the following:

[0049] The characteristic information of the multimedia file to be stored is analyzed to determine a plurality of key characteristics k of the multimedia file to be stored; wherein the number of the plurality of key characteristics k is n key , that is, to analyze the characteristic information of the multimedia file to be stored to determine the n key Key features:

[0050] Determine n key The correlation value between any two different key features among the key features, wherein the semantic correlation, part-of-speech correlation or word meaning matching between the two different key features is taken as the correlation value between the two different key features.

[0051] Based on the correlation value between any two different key features and the number of key features n key Determine the standard degree values ​​of (all) multiple key features of the multimedia file to be processed (based on the n of the multimedia files to be stored) key The correlation values ​​between the key features are used to determine the n multimedia files to be stored. key standard degree value of each key characteristic);

[0052]

[0053] Among them, s avg is the number of multimedia files to be stored key The standard degree value of key characteristics; n key is the number of key features of the multimedia files to be stored; sim(k i ,k j ) is the i-th key feature k i and the jth key feature k j The correlation value between i is the i-th key feature, k j is the jth key feature, where 1≤i≤n key , 1≤j≤n key and i and j are not equal; where 6≤n key 、10≤n key or 15≤n key ;n key , i and j are natural numbers.

[0054] n key The correlation value between any two different key features among the key features (i.e., all sim(k i ,k j )) and any two different key features form a triplet, namely <k i , k j ,sim(k i ,k j )>, to obtain multiple triplets; among them, <k i , k j ,sim(k i ,k j )> and <k j , k i , sim(k i ,k j )> are different triples; or, <k i , k j ,sim(k i ,k j )> and <k j , k i ,sim(k i ,k j )> are considered to be identical triplets and merged into one, e.g. <k i , k j , sim(k i ,k j )>.

[0055] Select sim(k i ,k j ) is greater than savg The triples are selected as the selected triples, thereby obtaining multiple selected triples. The two key features in each selected triple are counted to determine the number of times each key feature appears in all (multiple) selected triples, and all key features involved in all selected triples are sorted in descending order of the number of times to generate a first sorted list, and key features ranked before a predetermined position / rank are selected from the first sorted list as selected key features; wherein the predetermined position is the first 1 / 2, 1 / 3, 1 / 4, 1 / 5 of the first sorted list, and the predetermined rank is the first 1 / 2, 1 / 3, 1 / 4, 1 / 5 of the first sorted list.

[0056] A first predetermined number of key features with the largest number of times are selected from all key features involved in all selected triples as selected key features; wherein the first predetermined number is n key / 2, n key / 3、n key / 4、n key / 5, etc. The number of selected key features is at least 2, 3, 4, 5, 6, or 10.

[0057] Each storage device does the following:

[0058] Determine the subject name of each multimedia file among all multimedia files stored in the storage device, where the subject name is information used to briefly describe / introduce the subject content of the multimedia file; for example, each storage device sets a storage record for each multimedia file among all multimedia files stored in the storage device, where the storage record includes the subject name, file size, start storage time, multiple access log items, etc. of each multimedia file.

[0059] Calculate the matching degree / correlation degree / similarity between the subject name of each multimedia file in all multimedia files and each selected key feature in multiple selected key features; for example, determine the matching degree / correlation degree / similarity by calculating the semantic matching degree (or word meaning matching degree), word meaning correlation degree, or content similarity between the subject name of each multimedia file in all multimedia files and each selected key feature.

[0060] Based on the matching degree / correlation degree / similarity between the subject name of each multimedia file and each selected key feature in the multiple selected key features, the average value f of the matching degree / correlation degree / similarity between each multimedia file and the multiple selected key features is calculated. p,q ;f p,q It is the average value (or average matching degree) of the matching degree / correlation degree / similarity degree between the qth multimedia file of the pth storage device and (multiple or each) all selected key features.

[0061] Determine the maximum value f among the average values ​​of the matching degree between the subject name of each multimedia file and (multiple or each) all selected key features in all multimedia files p,max and the minimum value f p,min .

[0062] Based on the maximum value f p,max and the minimum value f p,min Determine the first adjustment parameter α p :

[0063]

[0064] Among them, α p is the first adjustment parameter of the pth storage device, f p,max is the maximum value (maximum average matching degree) of the average values ​​of the matching degrees between the subject name of each multimedia file in all multimedia files of the p-th storage device and all (multiple or each) selected key features; f p,min It is the (minimum) minimum average matching degree among the average values ​​of matching degrees between the subject name of each multimedia file in all multimedia files of the p-th storage device and all (multiple or each) selected key features.

[0065] The number of storage devices is greater than or equal to 10, 20, 30, 50, 100 or 200, etc.; p is a natural number; 1≤p≤the number of storage devices. Each storage device sets the average value of the matching degree between the theme name of all multimedia files stored in itself and (all) multiple selected key features to be greater than the first adjustment parameter α p The multimedia files of the pth storage device are selected as the multimedia files to be processed to obtain multiple multimedia files to be processed. That is, the pth storage device selects the average value of the matching degree between the theme name and (multiple or each) multiple selected key features in all the multimedia files stored in itself as the multimedia files to be processed to obtain multiple multimedia files to be processed. p The multimedia files of the p-th storage device are selected as the multimedia files to be processed by the p-th storage device to obtain multiple multimedia files to be processed by the p-th storage device. The number of all multimedia files stored in the p-th storage device itself is m p The number of the multimedia files to be processed in the p-th storage device is m; p-sele , among which m p Greater than m p-sele .

[0066] Each storage device does the following:

[0067] Determine the file size of each multimedia file in all multimedia files stored in the storage device; for example, each storage device sets a storage record for each multimedia file in all multimedia files stored in the storage device, wherein the storage record includes the subject name, file size, start storage time, multiple access log items, etc. of each multimedia file. Calculate the average file size s of all multimedia files stored in the storage device according to the file size of each multimedia file in all multimedia files stored in the storage device. p-all Determine the file size of each of the plurality of multimedia files to be processed (among all the multimedia files stored in the multimedia file). Calculate the average file size s of the plurality of multimedia files to be processed according to the file size of each of the plurality of multimedia files to be processed. p-sele .

[0068] Sort the file size of each multimedia file in all multimedia files stored in the system in descending order to generate a list, and determine the median s of the file size of all multimedia files stored in the system p-mid .

[0069] For example, when the pth storage device stores m p When there are multiple multimedia files, the list will be sorted in descending order. or The file size at the location or the file size of the multimedia file is taken as the median file size s p-mid .

[0070] Where m p Greater than 100, 500, 1000, 2000, 5000 or 10000, etc.

[0071] Determine the second adjustment parameter β p :

[0072]

[0073] Among them, β p is the second adjustment parameter of the pth storage device; s p-all is the average file size of all multimedia files stored in the pth storage device; s p-sele is the average file size of multiple multimedia files to be processed in the p-th storage device; s p-mid is the median size of all multimedia files stored in the pth storage device; m p is the number of (all) multimedia files stored in the pth storage device; where m p Greater than 100, 500, 1000, 2000, 5000 or 10000, etc.

[0074] The threshold parameter is determined based on the first adjustment parameter, the second adjustment parameter, the number of multimedia files, and the average (or average matching degree) of the matching degree / correlation degree / similarity degree between the multimedia files and (multiple or each) selected key features:

[0075]

[0076] Among them, d p is the threshold parameter of the pth storage device; α p is the first adjustment parameter of the pth storage device; β p is the second adjustment parameter of the pth storage device; f p,q is the average value of the matching degree between the qth multimedia file of the pth storage device and all (multiple or each) selected key features; m p is the number of (all) multimedia files stored in the p-th storage device. Based on the matching degree / correlation degree / similarity between the subject name of each multimedia file and each selected key feature in the multiple selected key features, the average matching degree / correlation degree / similarity between each multimedia file and multiple (or each or all) selected key features is calculated. That is, the average matching degree / correlation degree / similarity between the q-th multimedia file of the p-th storage device and all (or multiple or each) selected key features (or average matching degree) is determined.

[0077] Calculate the matching threshold:

[0078]

[0079] Among them, p is the matching threshold of the pth storage device; f p,q is the average value (or average matching degree) of the matching degree / correlation degree / similarity degree between the qth multimedia file of the pth storage device and (multiple or each) all selected key features; m p is the number of (all) multimedia files stored in the pth storage device; α p is the first adjustment parameter of the pth storage device; where m p Greater than 100, 500, 1000, 2000, 5000 or 10000, etc., q and m p are all natural numbers, and 1≤q≤m p .

[0080] Each storage device selects the multimedia files whose average matching degree with multiple (or each or all) selected key features among all the multimedia files stored in itself is greater than or equal to the respective matching degree threshold as feature-related multimedia files, so as to determine multiple feature-related multimedia files. That is, the pth storage device selects the multimedia files f among all the multimedia files stored in itself.p,q Greater than or equal to th p The multimedia file is selected as the feature-related multimedia file of the p-th storage device to determine multiple feature-related multimedia files of the p-th storage device.

[0081] Thus, a plurality of feature-related multimedia file sets are determined for the multimedia files to be stored, including:

[0082] Each storage device determines its own feature-related multimedia file set for the multimedia files to be stored, thereby determining multiple feature-related multimedia file sets; that is, each storage device forms its own feature-related multimedia file set with its own multiple feature-related multimedia files; the p-th storage device forms a feature-related multimedia file set with all its own feature-related multimedia files. Each storage device has a feature-related multimedia file set. Alternatively, each storage device selects multiple feature-related multimedia files from all multimedia files stored in itself based on feature information of the multimedia files to be stored to form a feature-related multimedia file set, thereby determining multiple feature-related multimedia file sets for the multimedia files to be stored.

[0083] Each storage device selects a plurality of feature-related multimedia files from all multimedia files stored in the storage device based on feature information of the multimedia files to be stored to form a feature-related multimedia file set, thereby determining a plurality of feature-related multimedia file sets for the multimedia files to be stored; including:

[0084] Each storage device determines multiple key features of the multimedia files to be stored based on the feature information of the multimedia files to be stored, and randomly selects a key feature from the multiple key features of the multimedia files to be stored. Determine the matching degree / correlation degree / similarity between the randomly selected key feature and the subject name of each multimedia file in all multimedia files (of each storage device). Multimedia files in all multimedia files whose matching degree / correlation degree / similarity is greater than a first threshold are selected as feature-related multimedia files to obtain multiple feature-related multimedia files. Each storage device forms a feature-related multimedia file set with its own multiple feature-related multimedia files, wherein each storage device has a feature-related multimedia file set (of the multimedia files to be stored). Thus, multiple feature-related multimedia file sets are determined for the multimedia files to be stored.

[0085] In step 103, each storage device selects a plurality of access-related multimedia files from all multimedia files stored in the storage device based on the access information of the multimedia file to be stored to form an access-related multimedia file set, thereby determining a plurality of access-related multimedia file sets for the multimedia file to be stored. Each storage device selects a plurality of access-related multimedia files from all multimedia files stored in the storage device based on the access information of the multimedia file to be stored to form an access-related multimedia file set, including:

[0086] Each storage device does the following:

[0087] The access information of the multimedia file to be stored is parsed to determine all access records in the access information of the multimedia file to be stored, wherein each access record is <the identifier of the multimedia file to be stored, the start time of the access, and the identifier of the access requester>. All access records of the multimedia file to be stored are accumulated to determine the total number of times the multimedia file to be stored is accessed within the time interval T. T , determine a plurality of access records whose access start time is within a time interval T among all access records of the multimedia file to be stored, and take the number of the plurality of access records whose access start time is within the time interval T as the total number of access times of the multimedia file to be stored A T The time interval T is greater than or equal to 10 days, 20 days, 30 days or 50 days. The time interval T can be a time interval of 10 days, 20 days, 30 days or 50 days with the previous natural day of the current time as the end date and a specific natural day in the past as the start date. For example, the time interval T is a plurality of natural days including the start date and the end date.

[0088] The time interval T is divided into multiple subintervals with the same time length. For example, each subinterval can be 1 day or 2 days. All access records of the multimedia files to be stored are counted according to the subintervals, so as to determine the number of times A the multimedia files to be stored are accessed in each subinterval. r For example, all access records within the time interval T are classified according to the time interval of each subinterval and the access start time in all access records, and the access records with the access start time within the time interval of a specific subinterval are set as access records of the specific subinterval.

[0089] The number of access records in each sub-interval is taken as the number of accesses in each sub-interval A. r , A r is the number of times the multimedia file to be stored is accessed in the rth subinterval; where 1≤r≤C n , r is a natural number, Cn is the number of subintervals, 10≤C n , 20≤C n 、30≤C n or 50≤C n .

[0090] The access start time in all access records of the stored multimedia files is counted to determine the time difference t between two adjacent access start times. v (or determine the time difference t between the start times of access of two adjacent access records v ), 1≤v≤C d , v is a natural number, C d is the number of time differences, 100≤C d , 200≤C d 、500≤C d or 1000≤C d It should be understood that when there is C in the time interval T d +1 access record, that is, there is C in time interval T d +1 accessed start time, then there exists C d That is, the time difference is the time difference between all two adjacent accessed start times.

[0091] Determine all time differences t v The maximum value t max and the minimum value t min ; Calculate all time differences t v The average value of avg .

[0092] Each storage device does the following:

[0093] The access information of each multimedia file in all multimedia files stored in the system is parsed to determine all access records in the access information of each multimedia file, where each access record is <multimedia file identifier, access start time, access requester identifier>. All access records of each multimedia file are accumulated to determine the total number of times each multimedia file is accessed within the time interval T. p,q ; Among them A p,q is the total number of times the qth multimedia file of the pth storage device is accessed within the time interval T; m p is the number of (all) multimedia files stored in the pth storage device, the number of storage devices is greater than or equal to 10, 20, 30, 50, 100 or 200, etc.; p is a natural number, where m pGreater than 100, 500, 1000, 2000, 5000 or 10000, etc., q and m p are all natural numbers, and 1≤q≤m p . Determine a plurality of access records whose access start time is within a time interval T among all access records of each multimedia file, and take the number of access records whose access start time is within a time interval T as the total number of access times of each multimedia file A p,q The time interval T is greater than or equal to 10 days, 20 days, 30 days or 50 days. The time interval T can be a time interval of 10 days, 20 days, 30 days or 50 days with the previous natural day of the current time as the end date and a specific natural day in the past as the start date. For example, the time interval T is a plurality of natural days including the start date and the end date.

[0094] The time interval T is divided into multiple subintervals with the same time length. For example, each subinterval can be 1 day or 2 days. All access records of each multimedia file are counted according to the subintervals, so as to determine the number of times each multimedia file is accessed in each subinterval. p,q,r For example, all access records of each multimedia file in the time interval T are classified according to the time interval of each sub-interval and the access start time in all access records of each multimedia file, and the access record of the access start time of each multimedia file in the time interval of a specific sub-interval is set as the access record of each multimedia file in the specific sub-interval.

[0095] The number of access records of the multimedia file in each sub-interval is taken as the number of times the multimedia file is accessed in each sub-interval A. p,q,r , A p,q,r is the number of times the qth multimedia file of the pth storage device is accessed in the rth subinterval.

[0096] Where 1≤r≤C n , r is a natural number, C n is the number of subintervals, 10≤C n , 20≤C n 、30≤C n or 50≤C n ;

[0097] The access start time in all access records of each multimedia file is counted to determine the time difference t between two adjacent access start times. p,q,v (or determine the time difference t between the start times of access of two adjacent access records p,q,v ), t p,q,vis the vth time difference of the qth multimedia file in the pth storage device. 1≤v≤C p,q,d , v is a natural number, C p,q,d is the number of time differences of the qth multimedia file in the pth storage device, 100≤C p,q,d , 200≤C p,q,d 、500≤C p,q,d or 1000≤C p,q,d It should be understood that when there is C in the time interval T p,q,d +1 access record, that is, there is C in time interval T p,q,d +1 accessed start time, then there exists C p,q,d That is, the time difference is the time difference between all two adjacent accessed start times.

[0098] Determine all time differences t of the qth multimedia file in the pth storage device p,q,v The maximum value t p,q,max and the minimum value t p,q,min ; Calculate all time differences t of the qth multimedia file in the pth storage device p,q,v The average value of p,q,avg .

[0099] The access deviation between each multimedia file among all multimedia files stored in each storage device and the multimedia file to be stored is calculated; wherein the access deviation is used to indicate the degree of deviation between the number of accesses of each multimedia file and the multimedia file to be stored within multiple subintervals of the time interval T; that is, the greater the access deviation, the lower the access correlation between the specific multimedia file and the multimedia file to be stored, and the smaller the access deviation, the higher the access correlation between the specific multimedia file and the multimedia file to be stored.

[0100]

[0101] where ε p,q is the access deviation between the qth multimedia file of the pth storage device and the multimedia file to be stored, A r is the number of times the multimedia file to be stored is accessed in the rth subinterval, A p,q,r is the number of times the qth multimedia file of the pth storage device is accessed in the rth subinterval, C n is the number of subintervals, t p,q,max is the maximum value of all time differences of the qth multimedia file in the pth storage device, t p,q,min is the minimum value of all time differences of the qth multimedia file in the pth storage device, t p,q,avgis the average value of all time differences of the qth multimedia file in the pth storage device.

[0102] Where 1≤r≤C n , r is a natural number, C n is the number of subintervals, 10≤C n , 20≤C n 、30≤C n or 50≤C n .

[0103] Calculate the average value of the access deviation between each multimedia file and the multimedia file to be stored in all the multimedia files stored in each storage device itself (calculate the average value of the access deviation between all the multimedia files stored in each storage device itself and the multimedia file to be stored)

[0104]

[0105] in is the average value of the access deviation between each multimedia file and the multimedia file to be stored in all multimedia files stored in the pth storage device, m p is the number of (all) multimedia files stored in the pth storage device, where m p Greater than 100, 500, 1000, 2000, 5000 or 10000, etc., q and m p are all natural numbers, and 1≤q≤m p .The number of storage devices is greater than or equal to 10, 20, 30, 50, 100 or 200, etc.; p is a natural number; 1≤p≤the number of storage devices.

[0106] Calculate the access divergence threshold for each storage device (individually):

[0107]

[0108] where φ p is the access deviation threshold of the pth storage device, t max is the maximum value of all time differences of the multimedia files to be stored; t min is the minimum value of all time differences of the multimedia files to be stored; t avg is the average value of all time differences of the multimedia files to be stored; is the average value of the access deviation between each multimedia file in all multimedia files stored in the p-th storage device and the multimedia file to be stored.

[0109] Each storage device does the following:

[0110] According to the above method, the access deviation degree ε between each multimedia file in all multimedia files stored in the system and the multimedia file to be stored is determined. p,q , access the deviation ε in all multimedia files p,q Less than the access deviation threshold φ p The multimedia files of the storage device p are selected as the access-related multimedia files to select multiple access-related multimedia files. That is, the p-th storage device determines the access deviation degree ε between each multimedia file in all the multimedia files stored in the storage device and the multimedia file to be stored. p,q , access the deviation ε in all multimedia files p,q Less than the access deviation threshold φ p The multimedia file is selected as the multimedia file associated with the access of the multimedia file stored in the band among all the multimedia files of the p-th storage device, so as to select a plurality of access-related multimedia files.

[0111] Thus, determining a plurality of access-related multimedia file sets for the multimedia files to be stored includes:

[0112] Each storage device determines its own access-related multimedia file set for the multimedia files to be stored, thereby determining multiple access-related multimedia file sets. That is, each storage device forms its own access-related multimedia file set with its own multiple access-related multimedia files. The p-th storage device forms an access-related multimedia file set with all its own access-related multimedia files. Each storage device has an access-related multimedia file set.

[0113] Alternatively, each storage device selects a plurality of access-related multimedia files from all multimedia files stored in the storage device based on the access information of the multimedia file to be stored to form an access-related multimedia file set, thereby determining a plurality of access-related multimedia file sets for the multimedia file to be stored; comprising:

[0114] Each storage device parses the access information of the multimedia file to be stored to determine all access records in the access information of the multimedia file to be stored, wherein each access record is <identifier of the multimedia file to be stored, the start time of access, and the identifier of the access requester>; all access records of the multimedia file to be stored are accumulated to determine the total number of times the multimedia file to be stored is accessed within the time interval T, and multiple access records whose start time of access is within the time interval T among all access records of the multimedia file to be stored are determined, and the number of multiple access records whose start time of access is within the time interval T is taken as the total number of times the multimedia file to be stored is accessed. The time interval T is greater than or equal to 10 days, 20 days, 30 days or 50 days. The time interval T can be a time interval of 10 days, 20 days, 30 days or 50 days with the previous natural day of the current time as the end date and a specific natural day in the past as the start date. For example, the time interval T is multiple natural days including the start date and the end date.

[0115] Each storage device parses the access information of each multimedia file among all the multimedia files stored in the storage device to determine all access records in the access information of each multimedia file, wherein each access record is <multimedia file identifier, access start time, access requester identifier>; all access records of each multimedia file are accumulated respectively to determine the total number of times each multimedia file is accessed within the time interval T. Multimedia files whose total number of times accessed within the time interval T is greater than or equal to the total number of times accessed by the multimedia file to be stored within the time interval T are determined as access-related multimedia files to obtain multiple access-related multimedia files. Each storage device forms an access-related multimedia file set with its own multiple access-related multimedia files, wherein each storage device has an access-related multimedia file set (for multimedia files to be stored). Thereby, multiple access-related multimedia file sets are determined for the multimedia files to be stored.

[0116] In step 104, respective first feature information is generated for each feature-related multimedia file set, and respective second feature information is generated for each access-related multimedia file set. Generating respective first feature information for each feature-related multimedia file set includes: randomly selecting a multimedia file from each feature-related multimedia file set as a representative multimedia file of each feature-related multimedia file set, parsing feature information in (information documents) representing the multimedia file to determine a plurality of key features representing the multimedia file, character-connecting or combining or connecting the plurality of key features representing the multimedia file of each feature-related multimedia file set to form respective first feature information for each feature-related multimedia file set, that is, the first feature information for each feature-related multimedia file set includes a plurality of (or all) key features representing the multimedia file of each feature-related multimedia file set;

[0117] For example, multiple key features representing multimedia files of the n-th feature-related multimedia file set are connected by characters or combined or connected to form the first feature information of the n-th feature-related multimedia file set, that is, the first feature information of the n-th feature-related multimedia file set includes multiple (or all) key features representing multimedia files of the n-th feature-related multimedia file set;

[0118] Alternatively, for each feature-related multimedia file set: parsing feature information of each feature-related multimedia file in all (or multiple) stored feature-related multimedia files to determine multiple key features of each feature-related multimedia file;

[0119] The number of occurrences of multiple key features of each feature-related multimedia file is counted (the number of occurrences of all key features involved in all (or multiple) feature-related multimedia files stored is counted) to determine the number of occurrences of all (or each) key features involved in all (or multiple) feature-related multimedia files stored, and the second sorting list is sorted based on the descending order of the number of occurrences to generate a second sorting list, each sorting item in the second sorting list is, for example, <key feature, number of occurrences>, in the second sorting list, starting from the key feature with the largest number of occurrences, the key features ranked before a predetermined position / ranking are selected to determine a plurality of representative key features (of each feature-related multimedia file set); wherein the predetermined position is the first 1 / 2, 1 / 3, 1 / 4, 1 / 5, 1 / 10 of the sorting list, and the predetermined ranking is the first 1 / 2, 1 / 3, 1 / 4, 1 / 5, 1 / 10 of the sorting list; or in the second sorting list, a second predetermined number of key features with the largest number of occurrences are selected as a plurality of representative key features; the second predetermined number is, for example, 5, 10, 15, 20, etc. That is, the number of occurrences of each representative key feature is greater than the number of occurrences of any non-representative key feature; multiple representative key features are connected by characters or combined or connected to form the first feature information, that is, the first feature information includes multiple representative key features among all key features in all (or more) feature-related multimedia files stored;

[0120] For example, multiple representative key features of the n-th feature-related multimedia file set are connected by characters or combined or connected to form the first feature information of the n-th feature-related multimedia file set, that is, the first feature information of the n-th feature-related multimedia file set includes multiple representative key features of all key features in all (or multiple) feature-related multimedia files stored in the n-th feature-related multimedia file set;

[0121] The nth feature-related multimedia file set is one of a plurality of feature-related multimedia file sets; and generating respective second feature information for each access-related multimedia file set comprises:

[0122] Randomly select a multimedia file from each access-related multimedia file set as a representative multimedia file of each access-related multimedia file set, parse the feature information in the (information document) representing the multimedia file to determine a plurality of key features representing the multimedia file, character-connect or combine or connect the plurality of key features of the representative multimedia file of each access-related multimedia file set to form the second feature information of each access-related multimedia file set, that is, the second feature information of each access-related multimedia file set includes a plurality of (or all) key features of the representative multimedia file of each access-related multimedia file set;

[0123] For example, multiple key features representing multimedia files of the mth access-related multimedia file set are character-connected or combined or connected to form second feature information of the mth access-related multimedia file set, that is, the second feature information of the mth access-related multimedia file set includes multiple (or all) key features representing multimedia files of the mth access-related multimedia file set;

[0124] Or, for each access-related multimedia file set:

[0125] parsing feature information of each access-related multimedia file of all (or multiple) stored access-related multimedia files to determine a plurality of key features of each access-related multimedia file;

[0126] Performing a count of the number of occurrences of multiple key features of each access-related multimedia file (performing a count of the number of occurrences of all key features involved in all (or more) access-related multimedia files stored) to determine the number of occurrences of all (or each) key features involved in all (or more) access-related multimedia files stored, and performing sorting based on the descending order of the number of occurrences to generate a third sorted list, wherein each sorting item in the third sorted list is, for example, <key feature, number of occurrences>, and in the third sorted list, starting from the key feature with the largest number of occurrences, selecting a key feature ranked before a predetermined position / rank to determine a plurality of representative key features (of each access-related multimedia file set); wherein the predetermined position is the first 1 / 2, 1 / 3, 1 / 4, 1 / 5, 1 / 10 position in the sorted list, and the predetermined rank is the first 1 / 2, 1 / 3, 1 / 4, 1 / 5, 1 / 10 rank in the sorted list;

[0127] Alternatively, in the third sorting list, a third predetermined number of key features with the largest number of occurrences is selected as a plurality of representative key features; the third predetermined number is, for example, 5, 10, 15, 20, etc. That is, the number of occurrences of each representative key feature is greater than the number of occurrences of any non-representative key feature. The plurality of representative key features are connected by characters or combined or connected to form the second feature information, that is, the second feature information includes a plurality of representative key features among all key features in all (or more) access-related multimedia files stored.

[0128] For example, multiple representative key features of the mth access-related multimedia file set are connected by characters or combined or connected to form the first feature information of the mth access-related multimedia file set, that is, the second feature information of the mth feature-related multimedia file set includes multiple representative key features of all key features in all (or multiple) access-related multimedia files stored in the mth access-related multimedia file set. The mth access-related multimedia file set is one of multiple access-related multimedia file sets.

[0129] In step 105, based on the matching degree between the subject information of the multimedia file to be stored and each first feature information, the first degree of association between the multimedia file to be stored and the set of multimedia files related to the feature of each storage device is determined, and based on the matching degree between the subject information of the multimedia file to be stored and each second feature information, the second degree of association between the multimedia file to be stored and the set of multimedia files related to access of each storage device is determined.

[0130] Determining the first degree of association of the multimedia file to be stored and the multimedia file set related to the feature of each storage device based on the matching degree between the subject information of the multimedia file to be stored and each first feature information, includes:

[0131] The semantic association degree, part-of-speech association degree, or word meaning matching degree, etc. between the subject information of the multimedia file to be stored and each first feature information is calculated, and the semantic association degree, part-of-speech association degree, or word meaning matching degree, etc. are used as the first association degree of the multimedia file to be stored and the multimedia file set related to the feature of each storage device. That is, the semantic association degree, part-of-speech association degree, or word meaning matching degree, etc. between the subject information of the multimedia file to be stored and the first feature information of the multimedia file set related to the feature of the k-th storage device is calculated, and the semantic association degree, part-of-speech association degree, or word meaning matching degree, etc. are used as the first association degree of the multimedia file to be stored and the multimedia file set related to the feature of the k-th storage device.

[0132] Determining the second relevance of the multimedia file to be stored and the multimedia file set related to access of each storage device based on the matching degree between the subject information of the multimedia file to be stored and each second feature information, including:

[0133] Calculate the semantic association, part-of-speech association or word meaning matching degree between the subject information of the multimedia file to be stored and each second feature information, and use the semantic association, part-of-speech association or word meaning matching degree as the second association degree between the multimedia file to be stored and the multimedia file set related to the access of each storage device.

[0134] That is, the semantic association, part-of-speech association or word meaning matching degree, etc. between the subject information of the multimedia file to be stored and the second characteristic information of the set of multimedia files related to the access of the k-th storage device is calculated, and the semantic association, part-of-speech association or word meaning matching degree, etc. is used as the second association degree between the multimedia file to be stored and the set of multimedia files related to the access of the k-th storage device.

[0135] wherein the kth storage device is one of the plurality of storage devices;

[0136] The first correlation degree is greater than or equal to 0% and less than or equal to 100%; the second correlation degree is greater than or equal to 0% and less than or equal to 100%.

[0137] In step 106, the content association degree between the multimedia file to be stored and each storage device is determined based on the first association degree and the second association degree, the target storage device for the multimedia file to be stored is determined based on the content association degree between the multimedia file to be stored and each storage device, and the multimedia file to be stored is stored in the target storage device. The content association degree between the multimedia file to be stored and each storage device is determined based on the first association degree and the second association degree, the target storage device for the multimedia file to be stored is determined based on the content association degree between the multimedia file to be stored and each storage device, and the multimedia file to be stored is stored in the target storage device.

[0138] Determining the content association degree between the multimedia file to be stored and each storage device based on the first association degree and the second association degree includes: calculating the sum of the first association degree and the second association degree, and using the sum of the first association degree and the second association degree as the content association degree between the multimedia file to be stored and each storage device; that is, calculating the sum of the first association degree (of the feature-related multimedia file set) and the second association degree (of the access-related multimedia file set) of the k-th storage device, and using the sum of the first association degree (of the feature-related multimedia file set) and the second association degree (of the access-related multimedia file set) of the k-th storage device as the content association degree between the multimedia file to be stored and the k-th storage device;

[0139] Determining a target storage device for multimedia files to be stored based on the content association between the multimedia files to be stored and each storage device includes: determining the content association between the multimedia files to be stored and each storage device, and determining a storage device with the greatest content association (with the multimedia files to be stored) among multiple storage devices as the target storage device for the multimedia files to be stored; if there are at least two storage devices with the greatest content association, randomly selecting a storage device from the at least two storage devices with the greatest content association as the target storage device for the multimedia files to be stored.

[0140] Figure 2 Schematic diagram of storing multimedia files according to the present invention. Figure 2 As shown, the Internet storage cluster includes storage device 1, storage device 2, ..., storage device N. Each storage device in storage device 1, storage device 2, ..., storage device N obtains a multimedia file to be stored, and parses the information document of the multimedia file to be stored to determine the subject information, feature information and access information of the multimedia file to be stored.

[0141] Each storage device among storage device 1, storage device 2, ..., storage device N selects a plurality of feature-related multimedia files from all multimedia files stored therein based on the feature information of the multimedia file to be stored to form a feature-related multimedia file set, thereby determining a plurality of feature-related multimedia file sets for the multimedia file to be stored, and each storage device among storage device 1, storage device 2, ..., storage device N selects a plurality of access-related multimedia files from all multimedia files stored therein based on the access information of the multimedia file to be stored to form an access-related multimedia file set, thereby determining a plurality of access-related multimedia file sets for the multimedia file to be stored.

[0142] Subsequently, each storage device among storage device 1, storage device 2, ..., storage device N generates respective first feature information for each feature-related multimedia file set, and generates respective second feature information for each access-related multimedia file set. Next, based on the matching degree between the subject information of the multimedia file to be stored and each first feature information, the respective first correlation degree between the multimedia file to be stored and the feature-related multimedia file set of each storage device is determined, and based on the matching degree between the subject information of the multimedia file to be stored and each second feature information, the respective second correlation degree between the multimedia file to be stored and the access-related multimedia file set of each storage device is determined. Finally, based on the first correlation degree and the second correlation degree, the content correlation degree between the multimedia file to be stored and each storage device is determined, and based on the content correlation degree between the multimedia file to be stored and each storage device, the target storage device for the multimedia file to be stored is determined, and the multimedia file to be stored is stored in the target storage device.

[0143] Figure 3 The schematic diagram of the structure of the system for storing multimedia files in an Internet storage cluster according to the present invention is as follows: the system 300 comprises: an acquisition device 301 , a selection device 302 , a generation device 303 , a processing device 304 and a storage device 305 .

[0144] The acquisition device 301 acquires the multimedia files to be stored, and parses the information documents of the multimedia files to be stored to determine the subject information, feature information and access information of the multimedia files to be stored. The Internet storage cluster is used to provide storage services for multimedia files, and the Internet storage cluster may belong to a specific service provider, service operator or network organization. Each storage device is used to store multiple multimedia files. Multimedia files include: video files, text files, image files and / or audio files. The Internet storage cluster acquires the multimedia files to be stored through an interface device, and the multimedia files to be stored are multimedia files that are desired to be stored in the Internet storage cluster, or the multimedia files to be stored are multimedia files required by the Internet storage cluster. Each multimedia file (including the multimedia files to be stored) has an information document, and the information document at least includes: subject information, feature information and access information. Among them, the subject information is the subject name, subject content or information used to describe the subject content of the multimedia file. The feature information includes: multiple key features associated with the multimedia file (or the content of the multimedia file), or multiple key features extracted from the content information of the multimedia file. The key features are, for example, keywords related to the content of the multimedia file. For example, if the multimedia file is a video file of the song "The Roof" by singer Jay Chou, the key features may include, for example: roof, Jay Chou, Landy Wen, chorus, pop, antenna, stars, sleep, night, etc.

[0145] The characteristic information may also include the file size of the multimedia file, for example, <identifier of the multimedia file, file size>. The access information includes multiple access records, each of which is <identifier of the multimedia file, start time of access, identifier of the access requester>, wherein the start time of access is the start time when the multimedia file is accessed by the access requester, the access requester is a requester that can request access to the multimedia file in the Internet storage cluster, the identifier of the access requester is used to uniquely identify the access requester, and the identifier of the multimedia file is used to uniquely identify the multimedia file. The multiple access records included in the access information can record information on each access of the multimedia file.

[0146] The selection device 302 prompts each storage device to select a plurality of feature-related multimedia files from all multimedia files stored in the storage device based on the feature information of the multimedia file to be stored to form a feature-related multimedia file set, thereby determining a plurality of feature-related multimedia file sets for the multimedia file to be stored. Each storage device selects a plurality of feature-related multimedia files from all multimedia files stored in the storage device based on the feature information of the multimedia file to be stored to form a feature-related multimedia file set, including:

[0147] Each storage device performs the following: parsing the feature information of the multimedia file to be stored to determine a plurality of key features k of the multimedia file to be stored; wherein the number of the plurality of key features k is n key , that is, to analyze the characteristic information of the multimedia file to be stored to determine the n key key features; determine n key The correlation value between any two different key features among the key features, wherein the semantic correlation, part-of-speech correlation or word meaning matching between the two different key features is taken as the correlation value between the two different key features.

[0148] Based on the correlation value between any two different key features and the number of key features n key Determine the standard degree values ​​of (all) multiple key features of the multimedia file to be processed (based on the n of the multimedia files to be stored) key The correlation value between the key features determines the n multimedia files to be stored. key standard degree value of each key characteristic);

[0149]

[0150] Among them, s avg is the number of multimedia files to be stored key The standard degree value of key characteristics; nkey is the number of key features of the multimedia files to be stored; sim(k i ,k j ) is the i-th key feature k i and the jth key feature k j The correlation value between i is the i-th key feature, k j is the jth key feature, where 1≤i≤n key , 1≤j≤n key and i and j are not equal; where 6≤n key 、10≤n key or 15≤n key ;n key , i and j are natural numbers.

[0151] n key The correlation value between any two different key features among the key features (i.e., all sim(k i ,k j )) and any two different key features form a triplet, namely <k i , k j , sim(k i ,k j )>, to obtain multiple triplets; among them, <k i , k j , sim(k i ,k j )> and <k j , k i , sim(k i ,k j )> are different triples; or, <k i , k j , sim(k i ,k j )> and <k j , k i , sim(k i ,k j )> are considered to be identical triplets and merged into one, e.g. <k i , k j , sim(k i ,k j )>.

[0152] Select sim(k i ,k j ) is greater than s avgThe triples are selected as the selected triples, thereby obtaining multiple selected triples. The two key features in each selected triple are counted to determine the number of times each key feature appears in all (multiple) selected triples, and all key features involved in all selected triples are sorted in descending order of the number of times to generate a first sorted list, and key features ranked before a predetermined position / rank are selected from the first sorted list as selected key features; wherein the predetermined position is the first 1 / 2, 1 / 3, 1 / 4, 1 / 5 of the first sorted list, and the predetermined rank is the first 1 / 2, 1 / 3, 1 / 4, 1 / 5 of the first sorted list.

[0153] A first predetermined number of key features with the largest number of times are selected from all key features involved in all selected triples as selected key features; wherein the first predetermined number is n key / 2, n key / 3、n key / 4、n key / 5, etc. The number of selected key features is at least 2, 3, 4, 5, 6, or 10.

[0154] Each storage device does the following:

[0155] Determine the subject name of each multimedia file among all multimedia files stored in the storage device, where the subject name is information used to briefly describe / introduce the subject content of the multimedia file; for example, each storage device sets a storage record for each multimedia file among all multimedia files stored in the storage device, where the storage record includes the subject name, file size, start storage time, multiple access log items, etc. of each multimedia file.

[0156] Calculate the matching degree / correlation degree / similarity between the subject name of each multimedia file in all multimedia files and each selected key feature in the multiple selected key features; for example, determine the matching degree / correlation degree / similarity by calculating the semantic matching degree (or word meaning matching degree), word meaning correlation degree, or content similarity between the subject name of each multimedia file in all multimedia files and each selected key feature. Calculate the average value of the matching degree / correlation degree / similarity between each multimedia file and the multiple selected key features based on the matching degree / correlation degree / similarity between the subject name of each multimedia file and each selected key feature in the multiple selected key features. p,q ;f p,q It is the average value (or average matching degree) of the matching degree / correlation degree / similarity between the qth multimedia file of the pth storage device and (multiple or each) all selected key features.

[0157] Determine the maximum value f among the average values ​​of the matching degree between the subject name of each multimedia file and (multiple or each) all selected key features in all multimedia files p,max and the minimum value f p,min .

[0158] Based on the maximum value f p,max and the minimum value f p,min Determine the first adjustment parameter α p :

[0159]

[0160] Among them, α p is the first adjustment parameter of the pth storage device, f p,max is the maximum value (maximum average matching degree) of the average values ​​of the matching degrees between the subject name of each multimedia file in all multimedia files of the p-th storage device and all (multiple or each) selected key features; f p,min It is the (minimum) minimum average matching degree among the average values ​​of matching degrees between the theme name of each multimedia file and all (multiple or each) selected key features in all multimedia files of the p-th storage device. The number of storage devices is greater than or equal to 10, 20, 30, 50, 100 or 200, etc.; p is a natural number; 1≤p≤the number of storage devices. Each storage device sets the average value of matching degrees between the theme names of all multimedia files stored in it and (all) multiple selected key features to be greater than the first adjustment parameter α. p The multimedia files of the pth storage device are selected as the multimedia files to be processed to obtain multiple multimedia files to be processed. That is, the pth storage device selects the average value of the matching degree between the theme name and (multiple or each) multiple selected key features in all the multimedia files stored in itself as the multimedia files to be processed to obtain multiple multimedia files to be processed. p The multimedia files of the p-th storage device are selected as the multimedia files to be processed by the p-th storage device to obtain multiple multimedia files to be processed by the p-th storage device. The number of all multimedia files stored in the p-th storage device itself is m p The number of the multimedia files to be processed in the p-th storage device is m. p-sele , among which m p Greater than m p-sele .

[0161] Each storage device does the following:

[0162] Determine the file size of each multimedia file in all multimedia files stored in the storage device; for example, each storage device sets a storage record for each multimedia file in all multimedia files stored in the storage device, wherein the storage record includes the subject name, file size, start storage time, multiple access log items, etc. of each multimedia file. Calculate the average file size s of all multimedia files stored in the storage device according to the file size of each multimedia file in all multimedia files stored in the storage device. p-all Determine the file size of each of the plurality of multimedia files to be processed (among all the multimedia files stored in the multimedia file). Calculate the average file size s of the plurality of multimedia files to be processed according to the file size of each of the plurality of multimedia files to be processed. p-sele .

[0163] Sort the file size of each multimedia file in all multimedia files stored in the system in descending order to generate a list, and determine the median s of the file size of all multimedia files stored in the system p-mid .

[0164] For example, when the pth storage device stores m p When there are multiple multimedia files, the list will be sorted in descending order. or The file size at the location or the file size of the multimedia file is taken as the median file size s p-mid .

[0165] Where m p Greater than 100, 500, 1000, 2000, 5000 or 10000, etc.

[0166] Determine the second adjustment parameter β p :

[0167]

[0168] Among them, β p is the second adjustment parameter of the pth storage device; s p-all is the average file size of all multimedia files stored in the pth storage device; s p-sele is the average file size of multiple multimedia files to be processed in the p-th storage device; s p-mid is the median size of all multimedia files stored in the pth storage device; m p is the number of (all) multimedia files stored in the pth storage device; where m p Greater than 100, 500, 1000, 2000, 5000 or 10000, etc.

[0169] The threshold parameter is determined based on the first adjustment parameter, the second adjustment parameter, the number of multimedia files, and the average (or average matching degree) of the matching degree / correlation degree / similarity degree between the multimedia files and (multiple or each) selected key features:

[0170]

[0171] Among them, d p is the threshold parameter of the pth storage device; α p is the first adjustment parameter of the pth storage device; β p is the second adjustment parameter of the pth storage device; f p,q is the average value of the matching degree between the qth multimedia file of the pth storage device and all (multiple or each) selected key features; m p is the number of (all) multimedia files stored in the p-th storage device.

[0172] The average value of the matching degree / correlation degree / similarity between each multimedia file and multiple (or each or all) selected key features is calculated based on the matching degree / correlation degree / similarity between the subject name of each multimedia file and each selected key feature in the multiple selected key features. That is, the average value (or average matching degree) of the matching degree / correlation degree / similarity between the qth multimedia file of the pth storage device and all (or multiple or each) selected key features is determined.

[0173] Calculate the matching threshold:

[0174]

[0175] Among them, p is the matching threshold of the pth storage device; f p,q is the average value (or average matching degree) of the matching degree / correlation degree / similarity degree between the qth multimedia file of the pth storage device and (multiple or each) all selected key features; m p is the number of (all) multimedia files stored in the pth storage device; α p is the first adjustment parameter of the pth storage device; where m p Greater than 100, 500, 1000, 2000, 5000 or 10000, etc., q and m p are all natural numbers, and 1≤q≤m p .

[0176] Each storage device selects the multimedia files whose average matching degree with multiple (or each or all) selected key features among all the multimedia files stored in itself is greater than or equal to the respective matching degree threshold as feature-related multimedia files, so as to determine multiple feature-related multimedia files. That is, the pth storage device selects the multimedia files f among all the multimedia files stored in itself. p,q Greater than or equal to th p The multimedia file is selected as the feature-related multimedia file of the p-th storage device to determine multiple feature-related multimedia files of the p-th storage device.

[0177] Thus, determining multiple feature-related multimedia file sets for the multimedia files to be stored includes: each storage device determines its own feature-related multimedia file set for the multimedia files to be stored, thereby determining multiple feature-related multimedia file sets; that is, each storage device forms its own feature-related multimedia file set with its own multiple feature-related multimedia files; the p-th storage device forms a feature-related multimedia file set with all of its own feature-related multimedia files. Each storage device has a feature-related multimedia file set. Alternatively, each storage device selects multiple feature-related multimedia files from all multimedia files stored in itself based on the feature information of the multimedia files to be stored to form a feature-related multimedia file set, thereby determining multiple feature-related multimedia file sets for the multimedia files to be stored. Each storage device selects multiple feature-related multimedia files from all multimedia files stored in itself based on the feature information of the multimedia files to be stored to form a feature-related multimedia file set, thereby determining multiple feature-related multimedia file sets for the multimedia files to be stored; including:

[0178] Each storage device determines multiple key features of the multimedia files to be stored based on the feature information of the multimedia files to be stored, and randomly selects a key feature from the multiple key features of the multimedia files to be stored. Determine the matching degree / correlation degree / similarity between the randomly selected key feature and the subject name of each multimedia file in all multimedia files (of each storage device). Multimedia files in all multimedia files whose matching degree / correlation degree / similarity is greater than a first threshold are selected as feature-related multimedia files to obtain multiple feature-related multimedia files. Each storage device forms a feature-related multimedia file set with its own multiple feature-related multimedia files, wherein each storage device has a feature-related multimedia file set (of the multimedia files to be stored). Thus, multiple feature-related multimedia file sets are determined for the multimedia files to be stored.

[0179] The selection device 302 prompts each storage device to select multiple access-related multimedia files from all multimedia files stored in the storage device based on the access information of the multimedia files to be stored to form access-related multimedia file sets, thereby determining multiple access-related multimedia file sets for the multimedia files to be stored.

[0180] Each storage device selects a plurality of access-related multimedia files from all multimedia files stored in the storage device based on the access information of the multimedia files to be stored to form an access-related multimedia file set including:

[0181] Each storage device does the following:

[0182] The access information of the multimedia file to be stored is parsed to determine all access records in the access information of the multimedia file to be stored, wherein each access record is <the identifier of the multimedia file to be stored, the start time of the access, and the identifier of the access requester>. All access records of the multimedia file to be stored are accumulated to determine the total number of times the multimedia file to be stored is accessed within the time interval T. T , determine a plurality of access records whose access start time is within a time interval T among all access records of the multimedia file to be stored, and take the number of the plurality of access records whose access start time is within the time interval T as the total number of access times of the multimedia file to be stored A T . Wherein the time interval T is greater than or equal to 10 days, 20 days, 30 days or 50 days, etc. The time interval T can be a time interval of 10 days, 20 days, 30 days or 50 days with the natural day before the natural day of the current time as the end date and a specific natural day in the past as the start date. For example, the time interval T is a plurality of natural days including the start date and the end date. The time interval T is divided into a plurality of sub-intervals with the same time length. For example, each sub-interval can be 1 day or 2 days, etc. All access records of the multimedia files to be stored are counted according to the sub-intervals, so as to determine the number of accesses A of the multimedia files to be stored in each sub-interval r For example, all access records within the time interval T are classified according to the time interval of each subinterval and the access start time in all access records, and the access records with the access start time within the time interval of a specific subinterval are set as access records of the specific subinterval.

[0183] The number of access records in each sub-interval is taken as the number of accesses in each sub-interval A. r , A r is the number of times the multimedia file to be stored is accessed in the rth subinterval; where 1≤r≤C n , r is a natural number, Cn is the number of subintervals, 10≤C n , 20≤C n 、30≤C n or 50≤C n . Count the access start times in all access records of the multimedia files to be stored, and determine the time difference t between two adjacent access start times. v (or determine the time difference t between the start times of access of two adjacent access records v ), 1≤v≤C d , v is a natural number, C d is the number of time differences, 100≤C d , 200≤C d 、500≤C d or 1000≤C d It should be understood that when there is C in the time interval T d +1 access record, that is, there is C in time interval T d +1 accessed start time, then there exists C d time difference. That is, the time difference is the time difference between all two adjacent accessed start times. Determine all time differences t v The maximum value t max and the minimum value t min ; Calculate all time differences t v The average value of avg .

[0184] Each storage device does the following:

[0185] The access information of each multimedia file in all multimedia files stored in the multimedia file is parsed to determine all access records in the access information of each multimedia file, wherein each access record is <identifier of the multimedia file, start time of access, identifier of the access requester>.

[0186] All access records of each multimedia file are accumulated separately to determine the total number of times each multimedia file is accessed within the time interval T. p,q ; Among them A p,q is the total number of times the qth multimedia file of the pth storage device is accessed within the time interval T; m p is the number of (all) multimedia files stored in the pth storage device, the number of storage devices is greater than or equal to 10, 20, 30, 50, 100 or 200, etc.; p is a natural number, where m p Greater than 100, 500, 1000, 2000, 5000 or 10000, etc., q and m pare all natural numbers, and 1≤q≤m p

[0187] Determine a plurality of access records whose access start time is within a time interval T among all access records of each multimedia file, and take the number of the plurality of access records whose access start time is within the time interval T as the total number of access times of each multimedia file A. p,q . Wherein the time interval T is greater than or equal to 10 days, 20 days, 30 days or 50 days, etc. The time interval T can be a time interval of 10 days, 20 days, 30 days or 50 days with the previous natural day of the current time as the end date and a specific natural day in the past as the start date. For example, the time interval T is a plurality of natural days including the start date and the end date. The time interval T is divided into a plurality of sub-intervals with the same time length. For example, each sub-interval can be 1 day or 2 days, etc.

[0188] All access records of each multimedia file are counted according to the sub-interval, so as to determine the number of times each multimedia file is accessed in each sub-interval A p,q,r For example, all access records of each multimedia file in the time interval T are classified according to the time interval of each sub-interval and the access start time in all access records of each multimedia file, and the access record of the access start time of each multimedia file in the time interval of a specific sub-interval is set as the access record of each multimedia file in the specific sub-interval.

[0189] The number of access records of the multimedia file in each sub-interval is taken as the number of times the multimedia file is accessed in each sub-interval A. p,q,r , A p,q,r is the number of times the qth multimedia file of the pth storage device is accessed in the rth subinterval.

[0190] Where 1≤r≤C n , r is a natural number, C n is the number of subintervals, 10≤C n , 20≤C n 、30≤C n or 50≤C n ;

[0191] The access start time in all access records of each multimedia file is counted to determine the time difference t between two adjacent access start times. p,q,v (or determine the time difference t between the start times of access of two adjacent access records p,q,v ), t p,q,v is the vth time difference of the qth multimedia file in the pth storage device. 1≤v≤Cp,q,d , v is a natural number, C p,q,d is the number of time differences of the qth multimedia file in the pth storage device, 100≤C p,q,d , 200≤C p,q,d 、500≤C p,q,d or 1000≤C p,q,d It should be understood that when there is C in the time interval T p,q,d +1 access record, that is, there is C in time interval T p,q,d +1 accessed start time, then there exists C p,q,d That is, the time difference is the time difference between all two adjacent accessed start times.

[0192] Determine all time differences t of the qth multimedia file in the pth storage device p,q,v The maximum value t p,q,max and the minimum value t p,q,min ; Calculate all time differences t of the qth multimedia file in the pth storage device p,q,v The average value of p,q,avg .

[0193] The access deviation between each multimedia file among all multimedia files stored in each storage device and the multimedia file to be stored is calculated; wherein the access deviation is used to indicate the degree of deviation between the number of accesses of each multimedia file and the multimedia file to be stored within multiple subintervals of the time interval T; that is, the greater the access deviation, the lower the access correlation between the specific multimedia file and the multimedia file to be stored, and the smaller the access deviation, the higher the access correlation between the specific multimedia file and the multimedia file to be stored.

[0194]

[0195] where ε p,q is the access deviation between the qth multimedia file of the pth storage device and the multimedia file to be stored, A r is the number of times the multimedia file to be stored is accessed in the rth subinterval, A p,q,r is the number of times the qth multimedia file of the pth storage device is accessed in the rth subinterval, C n is the number of subintervals, t p,q,max is the maximum value of all time differences of the qth multimedia file in the pth storage device, t p,q,min is the minimum value of all time differences of the qth multimedia file in the pth storage device, t p,q,avg is the average value of all time differences of the qth multimedia file in the pth storage device.

[0196] Where 1≤r≤C n , r is a natural number, C n is the number of subintervals, 10≤C n , 20≤C n 、30≤C n or 50≤C n .

[0197] Calculate the average value of the access deviation between each multimedia file and the multimedia file to be stored in all the multimedia files stored in each storage device itself (calculate the average value of the access deviation between all the multimedia files stored in each storage device itself and the multimedia file to be stored)

[0198]

[0199] in is the average value of the access deviation between each multimedia file and the multimedia file to be stored in all multimedia files stored in the pth storage device, m p is the number of (all) multimedia files stored in the pth storage device, where m p Greater than 100, 500, 1000, 2000, 5000 or 10000, etc., q and m p are all natural numbers, and 1≤q≤m p

[0200] The number of storage devices is greater than or equal to 10, 20, 30, 50, 100 or 200, etc.; p is a natural number; 1≤p≤the number of storage devices.

[0201] Calculate the access divergence threshold for each storage device (individually):

[0202]

[0203] where φ p is the access deviation threshold of the pth storage device, t max is the maximum value of all time differences of the multimedia files to be stored; t min is the minimum value of all time differences of the multimedia files to be stored; t avg is the average value of all time differences of the multimedia files to be stored; is the average value of the access deviation between each multimedia file in all multimedia files stored in the p-th storage device and the multimedia file to be stored.

[0204] Each storage device does the following:

[0205] According to the above method, the access deviation degree ε between each multimedia file in all multimedia files stored in the system and the multimedia file to be stored is determined. p,q , access the deviation ε in all multimedia files p,q Less than the access deviation threshold φ p The multimedia files are selected as access-related multimedia files to select multiple access-related multimedia files.

[0206] That is, the pth storage device determines the access deviation ε between each multimedia file in all multimedia files stored in the storage device and the multimedia file to be stored. p,q , access the deviation ε in all multimedia files p,q Less than the access deviation threshold φ p The multimedia file is selected as the multimedia file associated with the access of the multimedia file stored in the band among all the multimedia files of the p-th storage device, so as to select a plurality of access-related multimedia files.

[0207] Thus, determining a plurality of access-related multimedia file sets for the multimedia files to be stored includes:

[0208] Each storage device determines its own access-related multimedia file set for the multimedia files to be stored, thereby determining multiple access-related multimedia file sets. That is, each storage device forms its own access-related multimedia file set with its own multiple access-related multimedia files. The p-th storage device forms an access-related multimedia file set with all its own access-related multimedia files. Each storage device has an access-related multimedia file set.

[0209] Alternatively, each storage device selects a plurality of access-related multimedia files from all multimedia files stored in the storage device based on the access information of the multimedia file to be stored to form an access-related multimedia file set, thereby determining a plurality of access-related multimedia file sets for the multimedia file to be stored; including: each storage device parses the access information of the multimedia file to be stored to determine all access records in the access information of the multimedia file to be stored, wherein each access record is <identifier of the multimedia file to be stored, start time of access, identifier of the access requester>; all access records of the multimedia file to be stored are accumulated to determine the total number of times the multimedia file to be stored is accessed within a time interval T, and a plurality of access records whose access start time is within the time interval T among all access records of the multimedia file to be stored are determined, and the number of the plurality of access records whose access start time is within the time interval T is used as the total number of times the multimedia file to be stored is accessed. Wherein the time interval T is greater than or equal to 10 days, 20 days, 30 days or 50 days, etc. The time interval T can be a time interval of 10 days, 20 days, 30 days or 50 days with the previous natural day of the current time as the end date and a specific natural day in the past as the start date. For example, the time interval T is a plurality of natural days including the start date and the end date.

[0210] Each storage device parses the access information of each multimedia file in all the multimedia files stored in it to determine all access records in the access information of each multimedia file, where each access record is <identifier of the multimedia file, start time of access, identifier of the access requester>; all access records of each multimedia file are accumulated respectively to determine the total number of times each multimedia file is accessed within the time interval T.

[0211] The multimedia files whose total number of access times in the time interval T is greater than or equal to the total number of access times of the multimedia files to be stored in the time interval T are determined as access-related multimedia files to obtain multiple access-related multimedia files. Each storage device forms an access-related multimedia file set with its own multiple access-related multimedia files, wherein each storage device has an access-related multimedia file set (of the multimedia files to be stored). Thus, multiple access-related multimedia file sets are determined for the multimedia files to be stored.

[0212] The generating device 303 generates respective first feature information for each feature-related multimedia file set, and generates respective second feature information for each access-related multimedia file set.

[0213] Generating respective first feature information for each feature-related multimedia file set includes:

[0214] Randomly select a multimedia file from each feature-related multimedia file set as a representative multimedia file of each feature-related multimedia file set, parse the feature information in the (information document) representing the multimedia file to determine a plurality of key features representing the multimedia file, and character-connect or combine or connect the plurality of key features representing the multimedia file of each feature-related multimedia file set to form first feature information of each feature-related multimedia file set, that is, the first feature information of each feature-related multimedia file set includes a plurality of (or all) key features of the representative multimedia file of each feature-related multimedia file set;

[0215] For example, multiple key features representing multimedia files of the n-th feature-related multimedia file set are connected by characters or combined or connected to form the first feature information of the n-th feature-related multimedia file set, that is, the first feature information of the n-th feature-related multimedia file set includes multiple (or all) key features representing multimedia files of the n-th feature-related multimedia file set;

[0216] Or, for each feature-related multimedia file set, perform:

[0217] Parsing feature information of each feature-related multimedia file of all (or multiple) feature-related multimedia files stored to determine a plurality of key features of each feature-related multimedia file;

[0218] The occurrence counts of multiple key features of each feature-related multimedia file are counted (the occurrence counts of all key features involved in all (or multiple) feature-related multimedia files stored are counted) to determine the occurrence counts of all (or each) key features involved in all (or multiple) feature-related multimedia files stored, and the key features are sorted in descending order based on the occurrence counts to generate a second sorted list, wherein each sorting item in the second sorted list is, for example, <key feature, occurrence count>, and in the second sorted list, starting with the key feature with the largest occurrence count, the key feature ranked at a predetermined position / name is selected The predetermined positions are the first 1 / 2, 1 / 3, 1 / 4, 1 / 5, 1 / 10 positions in the sorted list, and the predetermined rankings are the first 1 / 2, 1 / 3, 1 / 4, 1 / 5, 1 / 10 rankings in the sorted list; or in the second sorted list, the second predetermined number of key features with the largest number of occurrences are selected as the multiple representative key features; the second predetermined number is, for example, 5, 10, 15, 20, etc. That is, the number of occurrences of each representative key feature is greater than the number of occurrences of any non-representative key feature;

[0219] Connecting or combining or connecting the multiple representative key features by characters to form first feature information, that is, the first feature information includes multiple representative key features among all key features in all (or more) feature-related multimedia files stored;

[0220] For example, multiple representative key features of the n-th feature-related multimedia file set are connected by characters or combined or connected to form the first feature information of the n-th feature-related multimedia file set, that is, the first feature information of the n-th feature-related multimedia file set includes multiple representative key features of all key features in all (or multiple) feature-related multimedia files stored in the n-th feature-related multimedia file set;

[0221] The n-th feature-related multimedia file set is one of a plurality of feature-related multimedia file sets;

[0222] Generating respective second characteristic information for each access-related multimedia file set includes:

[0223] Randomly select a multimedia file from each access-related multimedia file set as a representative multimedia file of each access-related multimedia file set, parse the feature information in the (information document) representing the multimedia file to determine a plurality of key features representing the multimedia file, character-connect or combine or connect the plurality of key features of the representative multimedia file of each access-related multimedia file set to form the second feature information of each access-related multimedia file set, that is, the second feature information of each access-related multimedia file set includes a plurality of (or all) key features of the representative multimedia file of each access-related multimedia file set;

[0224] For example, multiple key features representing multimedia files of the mth access-related multimedia file set are character-connected or combined or connected to form second feature information of the mth access-related multimedia file set, that is, the second feature information of the mth access-related multimedia file set includes multiple (or all) key features representing multimedia files of the mth access-related multimedia file set;

[0225] Or, for each access-related multimedia file set:

[0226] The feature information of each access-related multimedia file in all (or more) access-related multimedia files stored is parsed to determine multiple key features of each access-related multimedia file; the number of occurrences of the multiple key features of each access-related multimedia file is counted (the number of occurrences of all key features involved in all (or more) access-related multimedia files stored is counted) to determine the number of occurrences of all (or each) key features involved in all (or more) access-related multimedia files stored, and the third sorting list is generated based on the descending order of the number of occurrences, wherein each sorting item in the third sorting list is, for example, <key feature, number of occurrences>,

[0227] In the third sorted list, starting from the key feature with the largest number of occurrences, the key features ranked before the predetermined position / rank are selected to determine multiple representative key features (for each access-related multimedia file set); wherein the predetermined position is the first 1 / 2, 1 / 3, 1 / 4, 1 / 5, 1 / 10 position of the sorted list, and the predetermined rank is the first 1 / 2, 1 / 3, 1 / 4, 1 / 5, 1 / 10 rank of the sorted list; or in the third sorted list, the key features with the largest number of occurrences of the third predetermined number are selected as multiple representative key features; the third predetermined number is, for example, 5, 10, 15, 20, etc. That is, the number of occurrences of each representative key feature is greater than the number of occurrences of any non-representative key feature. Multiple representative key features are connected by characters or combined or connected to form the second feature information, that is, the second feature information includes multiple representative key features among all key features in all (or more) access-related multimedia files stored.

[0228] For example, multiple representative key features of the mth access-related multimedia file set are connected by characters or combined or connected to form the first feature information of the mth access-related multimedia file set, that is, the second feature information of the mth feature-related multimedia file set includes multiple representative key features of all key features in all (or multiple) access-related multimedia files stored in the mth access-related multimedia file set. The mth access-related multimedia file set is one of multiple access-related multimedia file sets.

[0229] The processing device 304 determines the first degree of association between the multimedia file to be stored and the multimedia file set related to the characteristics of each storage device based on the matching degree between the subject information of the multimedia file to be stored and each first feature information, and determines the second degree of association between the multimedia file to be stored and the multimedia file set related to the access of each storage device based on the matching degree between the subject information of the multimedia file to be stored and each second feature information.

[0230] Determining the first degree of association of the multimedia file to be stored with each set of multimedia files related to the characteristics of each storage device based on the matching degree between the subject information of the multimedia file to be stored and each first feature information includes: calculating the semantic degree of association, part-of-speech association, or word meaning matching degree between the subject information of the multimedia file to be stored and each first feature information, and using the semantic degree of association, part-of-speech association, or word meaning matching degree as the first degree of association of the multimedia file to be stored with each set of multimedia files related to the characteristics of each storage device. That is, calculating the semantic degree of association, part-of-speech association, or word meaning matching degree between the subject information of the multimedia file to be stored and the first feature information of the set of multimedia files related to the characteristics of the k-th storage device, and using the semantic degree of association, part-of-speech association, or word meaning matching degree as the first degree of association of the multimedia file to be stored with the set of multimedia files related to the characteristics of the k-th storage device.

[0231] Determining the second relevance of the multimedia file to be stored and the multimedia file set related to access of each storage device based on the matching degree between the subject information of the multimedia file to be stored and each second feature information, including:

[0232] Calculate the semantic association, part-of-speech association or word meaning matching degree between the subject information of the multimedia file to be stored and each second feature information, and use the semantic association, part-of-speech association or word meaning matching degree as the second association degree between the multimedia file to be stored and the multimedia file set related to the access of each storage device.

[0233] That is, the semantic association, part-of-speech association or word meaning matching degree, etc. between the subject information of the multimedia file to be stored and the second characteristic information of the set of multimedia files related to the access of the k-th storage device is calculated, and the semantic association, part-of-speech association or word meaning matching degree, etc. is used as the second association degree between the multimedia file to be stored and the set of multimedia files related to the access of the k-th storage device.

[0234] wherein the kth storage device is one of the plurality of storage devices;

[0235] The first correlation degree is greater than or equal to 0% and less than or equal to 100%; the second correlation degree is greater than or equal to 0% and less than or equal to 100%.

[0236] The storage device 305 determines the content association degree between the multimedia file to be stored and each storage device based on the first association degree and the second association degree, determines the target storage device for the multimedia file to be stored based on the content association degree between the multimedia file to be stored and each storage device, and stores the multimedia file to be stored in the target storage device.

[0237] The content association degree between the multimedia file to be stored and each storage device is determined based on the first association degree and the second association degree, and the target storage device for the multimedia file to be stored is determined based on the content association degree between the multimedia file to be stored and each storage device, and the multimedia file to be stored is stored in the target storage device.

[0238] Determining the content association degree between the multimedia file to be stored and each storage device based on the first association degree and the second association degree includes: calculating the sum of the first association degree and the second association degree, and using the sum of the first association degree and the second association degree as the content association degree between the multimedia file to be stored and each storage device; that is, calculating the sum of the first association degree (of the feature-related multimedia file set) and the second association degree (of the access-related multimedia file set) of the k-th storage device, and using the sum of the first association degree (of the feature-related multimedia file set) and the second association degree (of the access-related multimedia file set) of the k-th storage device as the content association degree between the multimedia file to be stored and the k-th storage device;

[0239] Determining a target storage device for multimedia files to be stored based on the content association between the multimedia files to be stored and each storage device includes: determining the content association between the multimedia files to be stored and each storage device, and determining a storage device with the greatest content association (with the multimedia files to be stored) among multiple storage devices as the target storage device for the multimedia files to be stored; if there are at least two storage devices with the greatest content association, randomly selecting a storage device from the at least two storage devices with the greatest content association as the target storage device for the multimedia files to be stored.

Claims

1. A method for storing multimedia files in an Internet storage cluster, wherein the Internet storage cluster includes a plurality of storage devices, the method comprising: Acquire a multimedia file to be stored, and parse an information document of the multimedia file to be stored to determine subject information, feature information, and access information of the multimedia file to be stored; Prompting each storage device in the plurality of storage devices to select a plurality of feature-related multimedia files from all multimedia files stored in the storage device based on feature information of the multimedia file to be stored to form a feature-related multimedia file set, thereby determining a plurality of feature-related multimedia file sets for the multimedia file to be stored; Prompting each storage device in the plurality of storage devices to select a plurality of access-related multimedia files from all multimedia files stored in the storage device based on the access information of the multimedia file to be stored to form an access-related multimedia file set, thereby determining a plurality of access-related multimedia file sets for the multimedia file to be stored; Generating respective first feature information for each feature-related multimedia file set, and generating respective second feature information for each access-related multimedia file set; Determine the first degree of association between the multimedia file to be stored and the multimedia file set related to the feature of each storage device based on the degree of match between the subject information of the multimedia file to be stored and each first feature information; determine the second degree of association between the multimedia file to be stored and the multimedia file set related to access of each storage device based on the degree of match between the subject information of the multimedia file to be stored and each second feature information; The content association degree between the multimedia file to be stored and each storage device is determined based on the first association degree and the second association degree, and the target storage device for the multimedia file to be stored is determined based on the content association degree between the multimedia file to be stored and each storage device, and the multimedia file to be stored is stored in the target storage device.

2. The method according to claim 1, wherein each storage device is used to store a plurality of multimedia files, and the multimedia files include: video files, text files, image files and / or audio files.

3. The method according to any one of claims 1 to 2, wherein the multimedia file has an information document, and the information document at least includes: Subject information, feature information, and access information.

4. The method according to any one of claims 1 to 2, determining the first degree of association of the multimedia file to be stored and the multimedia file set related to the feature of each storage device based on the matching degree between the subject information of the multimedia file to be stored and each first feature information, comprising: Calculating the semantic association, part-of-speech association or word meaning matching degree between the subject information of the multimedia file to be stored and each first feature information, and using the semantic association, part-of-speech association or word meaning matching degree as the first association degree of each multimedia file set related to the feature of the multimedia file to be stored and each storage device; Determining the second degree of association between the multimedia file to be stored and the multimedia file set related to access of each storage device based on the degree of matching between the subject information of the multimedia file to be stored and each second feature information, includes: Calculate the semantic association, part-of-speech association or word meaning matching degree between the subject information of the multimedia file to be stored and each second feature information, and use the semantic association, part-of-speech association or word meaning matching degree as the second association degree between the multimedia file to be stored and the multimedia file set related to the access of each storage device.

5. According to the method of any one of claims 1 to 2, determining the content association between the multimedia file to be stored and each storage device based on the first association and the second association comprises: Calculating a sum of the first correlation degree and the second correlation degree, and using the sum of the first correlation degree and the second correlation degree as a content correlation degree between the multimedia file to be stored and each storage device; Determining a target storage device for storing the multimedia file to be stored based on the content association between the multimedia file to be stored and each storage device includes: The content association degree between the multimedia file to be stored and each storage device is determined, and the storage device with the greatest content association degree among the multiple storage devices is determined as the target storage device for the multimedia file to be stored.

6. A system for storing multimedia files in an Internet storage cluster, wherein the Internet storage cluster includes a plurality of storage devices, and the system comprises: An acquisition device acquires a multimedia file to be stored, and parses an information document of the multimedia file to be stored to determine subject information, feature information, and access information of the multimedia file to be stored; A selection device is configured to cause each storage device in the plurality of storage devices to select a plurality of feature-related multimedia files from all multimedia files stored in the storage device based on feature information of the multimedia file to be stored to form a feature-related multimedia file set, thereby determining a plurality of feature-related multimedia file sets for the multimedia file to be stored; Prompting each storage device in the plurality of storage devices to select a plurality of access-related multimedia files from all multimedia files stored in the storage device based on the access information of the multimedia file to be stored to form an access-related multimedia file set, thereby determining a plurality of access-related multimedia file sets for the multimedia file to be stored; A generating device generates respective first characteristic information for each characteristic-related multimedia file set, and generates respective second characteristic information for each access-related multimedia file set; The processing device determines, based on the matching degree between the subject information of the multimedia file to be stored and each first feature information, the first degree of association between the multimedia file to be stored and the multimedia file set related to the feature of each storage device, and determines, based on the matching degree between the subject information of the multimedia file to be stored and each second feature information, the second degree of association between the multimedia file to be stored and the multimedia file set related to access of each storage device; The storage device determines the content association degree between the multimedia file to be stored and each storage device based on the first association degree and the second association degree, determines the target storage device for the multimedia file to be stored based on the content association degree between the multimedia file to be stored and each storage device, and stores the multimedia file to be stored in the target storage device.

7. The system according to claim 6, wherein each storage device is used to store a plurality of multimedia files, and the multimedia files include: video files, text files, image files and / or audio files.

8. The system according to any one of claims 6 to 7, wherein the multimedia file has an information document, and the information document at least includes: Subject information, feature information, and access information.

9. The system according to any one of claims 6 to 7, wherein determining the first degree of association of the multimedia file to be stored and the multimedia file set related to the feature of each storage device based on the matching degree between the subject information of the multimedia file to be stored and each first feature information comprises: Calculating the semantic association, part-of-speech association or word meaning matching degree between the subject information of the multimedia file to be stored and each first feature information, and using the semantic association, part-of-speech association or word meaning matching degree as the first association degree of each multimedia file set related to the feature of the multimedia file to be stored and each storage device; Determining the second degree of association between the multimedia file to be stored and the multimedia file set related to access of each storage device based on the degree of matching between the subject information of the multimedia file to be stored and each second feature information, includes: Calculate the semantic association, part-of-speech association or word meaning matching degree between the subject information of the multimedia file to be stored and each second feature information, and use the semantic association, part-of-speech association or word meaning matching degree as the second association degree between the multimedia file to be stored and the multimedia file set related to the access of each storage device.

10. The system according to any one of claims 6 to 7, wherein determining the content association between the multimedia file to be stored and each storage device based on the first association and the second association comprises: Calculating a sum of the first correlation degree and the second correlation degree, and using the sum of the first correlation degree and the second correlation degree as a content correlation degree between the multimedia file to be stored and each storage device; Determining a target storage device for storing the multimedia file to be stored based on the content association between the multimedia file to be stored and each storage device includes: The content association degree between the multimedia file to be stored and each storage device is determined, and the storage device with the greatest content association degree among the multiple storage devices is determined as the target storage device for the multimedia file to be stored.

Citation Information

Patent Citations

  • Storage device and method of accessing storage device

    CN101042675A

  • Distributed multimedia access system and method

    US20090119265A1