A method, device and computer equipment for intelligent dynamic data scheduling

Through the intelligent dynamic scheduling method of data, combined with the automatic classification and threshold setting of the entropy weight method, the problem of limited capacity of centralized storage clusters is solved, efficient data migration and storage management are achieved, the cost of expansion is reduced, and the efficiency and security of data scheduling are improved. sex.

CN118331513BActive Publication Date: 2024-08-23WUHAN ZETA COMPUTING TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410767765.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2024-08-23
Estimated Expiration
2044-06-14

AI Technical Summary

Technical Problem

Centralized storage clusters have limited capacity and cannot be expanded in real time, resulting in increased pressure on data storage space and business shutdowns. Existing technology export solutions through capacity expansion and manual data classification are inefficient, high-cost, and error-prone.

Method used

Adopting the data intelligent dynamic scheduling method, by obtaining the data information and storage capacity of the distributed storage area, using the data evaluation strategy to calculate the data level, filtering and migrating the data to the target area, combined with the entropy weight method for automatic classification and threshold setting, to achieve automatic system migration. Reduce expansion costs and reduce manual errors.

Benefits of technology

It improves data scheduling efficiency, avoids data oversaturation affecting access efficiency, ensures data security and continuity of user use, reduces expansion costs, and reduces the risk of errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118331513B
    Figure CN118331513B
Patent Text Reader

Abstract

The present invention provides a data intelligent dynamic scheduling method, device and computer equipment, which are applied to a distributed storage system. The method includes: obtaining each data information in a distributed storage area and the current storage capacity of the distributed storage area, and performing data evaluation processing on each data information respectively through a data evaluation strategy to obtain a data level corresponding to each data information; based on the data level corresponding to each data information and the current storage capacity of the storage system, in each data information, screening each migration data information, and identifying the target migration content of each migration data information and the target migration area corresponding to each migration data information; migrating the target migration content of each migration data information to the target migration area corresponding to each migration data information, and completing the dynamic scheduling task of the data information. In the embodiment of the present invention, the efficiency of data scheduling is comprehensively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence and data scheduling technology, and in particular to a data intelligent dynamic scheduling method, device and computer equipment. Background Art

[0002] With the rapid development of computer technology and network technology, especially at the end of the 20th century, the cost of disk storage has been continuously reduced, but the growth rate of disk capacity and data bus bandwidth cannot meet the application needs. At this time, the storage of massive data has gradually become an urgent problem to be solved in the development of Internet technology. In order to meet this demand, the research on centralized storage system technology has become more and more mature, and the distributed storage area network (SAN) technology based on fiber channel and the network attached storage (NAS) technology has been widely used.

[0003] In the field of centralized storage, the capacity of the user's centralized storage cluster is limited and cannot be expanded in real time, but the storage data will continue to increase, increasing the pressure on the storage space of the centralized storage system, resulting in business suspension. The technical solution to this technical problem is generally to expand the capacity and manually classify and export the data, but the expansion cost is high, the efficiency of manual export is low, and it is easy to make mistakes, resulting in low efficiency of data scheduling. Summary of the invention

[0004] The main purpose of the present invention is to provide a data intelligent dynamic scheduling method, device and computer equipment, aiming to solve the problem of low efficiency in scheduling data in a centralized storage cluster by expanding capacity and manually classifying data in the prior art.

[0005] To achieve the above object, the present invention provides a data intelligent dynamic scheduling method, which is applied to a distributed storage system, and the method comprises:

[0006] Acquire each piece of data information in the distributed storage area and the current storage capacity of the distributed storage area, and perform data evaluation processing on each piece of data information respectively through a data evaluation strategy to obtain a data level corresponding to each piece of data information;

[0007] Based on the data level corresponding to each piece of data information and the current storage capacity of the storage system, filter each piece of migration data information from each piece of data information, and identify the target migration content of each piece of migration data information and the target migration area corresponding to each piece of migration data information;

[0008] The target migration content of each migration data information is migrated to the target migration area corresponding to each migration data information, so as to complete the dynamic scheduling task of the data information.

[0009] Optionally, before performing data evaluation processing on each piece of data information by using a data evaluation strategy to obtain a data level corresponding to each piece of data information, the method further includes:

[0010] Identify the data value of each of the data information in each data-related type, and identify the evaluation indicator type corresponding to each data-related type;

[0011] Based on the data value of the data-related type corresponding to each evaluation indicator type of each data information, the indicator weight corresponding to each evaluation indicator type is calculated through the entropy weight algorithm.

[0012] Optionally, the step of calculating the indicator weight corresponding to each evaluation indicator type by an entropy weight algorithm based on the data value of the data-related type corresponding to each evaluation indicator type of each data information includes:

[0013] For each evaluation indicator type, based on the data value of each data information in the data-related type corresponding to the evaluation indicator type, calculate the information entropy of the evaluation indicator type by using an information entropy algorithm;

[0014] Based on the information entropy of each evaluation indicator type and the number of all evaluation indicator types, the indicator weight corresponding to each evaluation indicator type is calculated through the indicator weight algorithm.

[0015] Optionally, the data evaluation strategy is used to perform data evaluation processing on each piece of data information to obtain a data level corresponding to each piece of data information, including:

[0016] For each piece of data information and the data value of the data information in each data-related type, the sub-evaluation level of the data information in each evaluation indicator type is evaluated respectively by using the evaluation indicator type corresponding to each data-related type;

[0017] Based on the indicator weight corresponding to each evaluation indicator type, weighted sum processing is performed on the sub-evaluation levels of each evaluation indicator type to obtain the data level corresponding to the data information.

[0018] Optionally, the filtering each migration data information in each data information based on the data level corresponding to each data information and the current storage capacity of the storage system includes:

[0019] Identify the data volume corresponding to each piece of data information, and determine whether the current storage capacity of the storage system is greater than a preset storage capacity threshold;

[0020] When the current storage capacity of the storage system is not greater than the preset storage capacity threshold, returning to the step of obtaining the data information in the distributed storage area and the current storage capacity of the distributed storage area, until the current storage capacity of the storage system is greater than the preset storage capacity threshold, identifying the overflow capacity of the storage system;

[0021] Based on the data volume corresponding to each piece of data information, the data level corresponding to each piece of data information, and the overflow capacity, each piece of migration data information is screened in each piece of data information.

[0022] Optionally, the filtering each migration data information in each data information based on the data volume corresponding to each data information, the data level corresponding to each data information, and the overflow capacity includes:

[0023] Identify the total data volume of the data information corresponding to each data level, and when the total data volume of the lowest data level is greater than the overflow capacity, select data information not less than the overflow capacity in a descending order of the data volume of each data information corresponding to the lowest data level as each migration data information;

[0024] When the total data volume of the lowest data level is not greater than the overflow capacity, the capacity difference between the overflow capacity and the total data volume corresponding to the lowest data level is calculated, and data information not less than the capacity difference and data information corresponding to the lowest data level are screened as migration data information in a manner from large to small in order of the data volume of each data information corresponding to the data level before the lowest data level.

[0025] Optionally, the identifying the target migration content of each migration data information and the target migration area corresponding to each migration data information includes:

[0026] For each migration data information, query the bound data content corresponding to the migration data information in the cloud platform, and use the data content of the migration data information and the bound data content corresponding to the migration data information as the target migration content of the migration data information;

[0027] The storage area address of the centralized storage area is used as the target migration area corresponding to each migration data information.

[0028] In addition, to achieve the above-mentioned purpose, the present invention also provides a data intelligent dynamic scheduling device, which is applied to a distributed storage system, and the device includes:

[0029] An acquisition module is used to acquire each piece of data information in the distributed storage area and the current storage capacity of the distributed storage area, and to perform data evaluation processing on each piece of data information through a data evaluation strategy to obtain a data level corresponding to each piece of data information;

[0030] a screening module, configured to screen each migration data information in each data information based on the data level corresponding to each data information and the current storage capacity of the storage system, and identify the target migration content of each migration data information and the target migration area corresponding to each migration data information;

[0031] The migration module is used to migrate the target migration content of each migration data information to the target migration area corresponding to each migration data information, so as to complete the dynamic scheduling task of the data information.

[0032] Optionally, the device further comprises:

[0033] An identification module, used to identify the data value of each data information in each data-related type, and to identify the evaluation indicator type corresponding to each data-related type;

[0034] The calculation module is used to calculate the indicator weight corresponding to each evaluation indicator type based on the data value of the data-related type corresponding to each evaluation indicator type of each data information through an entropy weight algorithm.

[0035] Optionally, the computing module is specifically used for:

[0036] For each evaluation indicator type, based on the data value of each data information in the data-related type corresponding to the evaluation indicator type, calculate the information entropy of the evaluation indicator type by using an information entropy algorithm;

[0037] Based on the information entropy of each evaluation indicator type and the number of all evaluation indicator types, the indicator weight corresponding to each evaluation indicator type is calculated through the indicator weight algorithm.

[0038] Optionally, the acquisition module is specifically used to:

[0039] For each piece of data information and the data value of the data information in each data-related type, the sub-evaluation level of the data information in each evaluation indicator type is evaluated respectively by using the evaluation indicator type corresponding to each data-related type;

[0040] Based on the indicator weight corresponding to each evaluation indicator type, weighted sum processing is performed on the sub-evaluation levels of each evaluation indicator type to obtain the data level corresponding to the data information.

[0041] Optionally, the screening module is specifically used to:

[0042] Identify the data volume corresponding to each piece of data information, and determine whether the current storage capacity of the storage system is greater than a preset storage capacity threshold;

[0043] When the current storage capacity of the storage system is not greater than the preset storage capacity threshold, returning to the step of obtaining the data information in the distributed storage area and the current storage capacity of the distributed storage area, until the current storage capacity of the storage system is greater than the preset storage capacity threshold, identifying the overflow capacity of the storage system;

[0044] Based on the data volume corresponding to each piece of data information, the data level corresponding to each piece of data information, and the overflow capacity, each piece of migration data information is screened in each piece of data information.

[0045] Optionally, the screening module is specifically used to:

[0046] Identify the total data volume of the data information corresponding to each data level, and when the total data volume of the lowest data level is greater than the overflow capacity, select data information not less than the overflow capacity in a descending order of the data volume of each data information corresponding to the lowest data level as each migration data information;

[0047] When the total data volume of the lowest data level is not greater than the overflow capacity, the capacity difference between the overflow capacity and the total data volume corresponding to the lowest data level is calculated, and data information not less than the capacity difference and data information corresponding to the lowest data level are screened as migration data information in a manner from large to small in order of the data volume of each data information corresponding to the data level before the lowest data level.

[0048] Optionally, the screening module is specifically used to:

[0049] For each migration data information, query the bound data content corresponding to the migration data information in the cloud platform, and use the data content of the migration data information and the bound data content corresponding to the migration data information as the target migration content of the migration data information;

[0050] The storage area address of the centralized storage area is used as the target migration area corresponding to each migration data information.

[0051] In a third aspect, the present application provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of any one of the methods in the first aspect are implemented.

[0052] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps of any one of the methods in the first aspect are implemented.

[0053] In a fifth aspect, the present application provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the steps of any one of the methods in the first aspect are implemented.

[0054] The present invention provides a data intelligent dynamic scheduling method, device and computer equipment, which is applied to a distributed storage system. The method includes: obtaining each data information in a distributed storage area and the current storage capacity of the distributed storage area, and performing data evaluation processing on each data information through a data evaluation strategy to obtain a data level corresponding to each data information; based on the data level corresponding to each data information and the current storage capacity of the storage system, screening each migration data information in each data information, and identifying the target migration content of each migration data information and the target migration area corresponding to each migration data information; migrating the target migration content of each migration data information to the target migration area corresponding to each migration data information, so as to complete the dynamic scheduling task of the data information. The purpose of this scheme is to centrally store the migration data information corresponding to the overflow capacity in the distributed storage system through each centralized storage area in the centralized storage cluster, so as to avoid the problem that the data volume of the distributed storage system is oversaturated and affects the access efficiency of the distributed storage system. When scheduling data information, this scheme uses a data evaluation strategy to use multiple data evaluation indicators as evaluation criteria to evaluate and process each data information, obtain the data level corresponding to each data information, and then screen the migration data information, avoiding the problem of reduced user data retrieval efficiency caused by the migration of key data information. This scheme first combines distributed storage with centralized storage to reduce the cost of expanding centralized storage; second, introduces the entropy weight method to determine the weight of data and divide the weights of multiple parameters. The system automatically classifies the data and sets the threshold for migration; third, the system automatically completes, reduces errors, and the data records are still in the platform. When they need to be reused, the system will automatically retrieve them according to the exported records and paths, without affecting user use. Thus, the efficiency of data scheduling is comprehensively improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] In order to more clearly illustrate the scheme in the present application, a brief introduction is given below to the drawings required for use in the description of the embodiments of the present application. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0056] Figure 1 is a flow chart of a data intelligent dynamic scheduling method provided by an embodiment of the present invention;

[0057] Figure 2 It is a structural diagram of a data intelligent dynamic scheduling device provided by an embodiment of the present invention;

[0058] Figure 3 An internal structure diagram of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0059] The data intelligent dynamic scheduling method provided by the embodiment of the present invention is applied to the data intelligent dynamic scheduling system. Unless otherwise defined, all technical and scientific terms used in this document have the same meaning as those generally understood by technicians in the technical field of this application; the terms used in the specification of the application herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" in the specification and claims of this application and the above-mentioned figure descriptions and any variations thereof are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of this application or the above-mentioned figures are used to distinguish different objects, not to describe a specific order.

[0060] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0061] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.

[0062] The data intelligent dynamic scheduling method provided in the embodiment of the present application can be applied in the application environment of a distributed storage system. The method can be applied to a terminal, a server, or a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. The terminal can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, etc. Among them, the terminal aims to centrally store the migration data information corresponding to the overflow capacity in the distributed storage system through each centralized storage area in the centralized storage cluster, thereby avoiding the problem of oversaturation of the data volume of the distributed storage system and affecting the access efficiency of the distributed storage system. When scheduling data information, this solution uses a data evaluation strategy to use multiple data evaluation indicators as evaluation criteria to evaluate and process each data information, obtain the data level corresponding to each data information, and then filter the migration data information, avoiding the problem of reduced user data retrieval efficiency caused by the migration of key data information. This solution first combines distributed storage with centralized storage to reduce the cost of expanding centralized storage; second, introduces the entropy weight method to determine the weight of data, and divides the weights of multiple parameters. The system automatically classifies the data and sets the threshold for migration; third, the system automatically completes, reduces errors, and the data records are still in the platform. When they need to be reused, the system will automatically retrieve them according to the exported records and paths, without affecting user use. Thus, the efficiency of data scheduling is comprehensively improved.

[0063] In one embodiment, Figure 1 As shown, a data intelligent dynamic scheduling method is provided, which is described by taking the method applied to a terminal as an example, and includes the following steps:

[0064] Step S101, acquiring each data information in the distributed storage area and the current storage capacity of the distributed storage area, and performing data evaluation processing on each data information respectively through a data evaluation strategy to obtain a data level corresponding to each data information.

[0065] In this embodiment, the terminal obtains in real time each data information currently stored in the distributed storage area of ​​the distributed storage system and the current storage capacity of the distributed storage area through a timing data acquisition device set in the distributed storage system. Then, through the preset data evaluation strategy, each data information is respectively subjected to data evaluation processing to obtain the data level corresponding to each data information. Among them, the preset data evaluation strategy is an evaluation index of different evaluation index types. After each data information is evaluated from the perspective of different data-related types, the sub-data level of the data information is evaluated, and the data level of each data information is obtained by weighted summation of each sub-data level according to the weight of different evaluation index types. The method for obtaining the weight of different evaluation index types will be described in detail later. Each data-related type includes, but is not limited to, the frequency of use of data information, the duration of use, the size of occupied resources, and the degree of user demand. Among them, each evaluation index type corresponds to a data-related type. The specific evaluation process will be described in detail later.

[0066] Step S102, based on the data level corresponding to each piece of data information and the current storage capacity of the storage system, filter each piece of migration data information in each piece of data information, and identify the target migration content of each piece of migration data information and the target migration area corresponding to each piece of migration data information.

[0067] In this embodiment, the terminal screens each migration data information in each data information based on the data level corresponding to each data information and the current storage capacity of the storage system, and identifies the target migration content of each migration data information and the target migration area corresponding to each migration data information. Among them, the target migration content includes not only the data content in the distributed storage area, but also the binding information corresponding to the data information in the cloud platform, such as the node where the data is located, the binding policy, the binding user information, etc. After the data migration is successful, the data will be migrated to the centralized storage area, but the information displayed in the platform is still there. When the user operates this data in the platform, the system will automatically migrate the data back according to the corresponding information to ensure the normal use of the user.

[0068] Step S103, the target migration content of each migration data information is migrated to the target migration area corresponding to each migration data information, so as to complete the dynamic scheduling task of the data information.

[0069] In this embodiment, the terminal migrates the target migration content of each migration data information to the target migration area corresponding to each migration data information, thereby completing the dynamic scheduling task of the data information.

[0070] Based on the above scheme, the purpose is to centrally store the migration data information corresponding to the overflow capacity in the distributed storage system through each centralized storage area in the centralized storage cluster, thereby avoiding the problem of oversaturation of the data volume of the distributed storage system and affecting the access efficiency of the distributed storage system. When scheduling data information, this scheme uses a data evaluation strategy to use multiple data evaluation indicators as evaluation criteria to evaluate and process each data information, obtain the data level corresponding to each data information, and then screen the migration data information to avoid the problem of reduced user data retrieval efficiency caused by the migration of key data information. This scheme first combines distributed storage with centralized storage to reduce the cost of expanding centralized storage; second, introduces the entropy weight method to determine the weight of data and divides the weights of multiple parameters. The system automatically classifies the data and sets thresholds for migration; third, the system automatically completes, reduces errors, and the data records are still in the platform. When they need to be reused, the system will automatically retrieve them according to the exported records and paths, without affecting user use. Thereby comprehensively improving the efficiency of data scheduling.

[0071] Optionally, through the data evaluation strategy, data evaluation processing is performed on each data information separately, and before the data level corresponding to each data information is obtained, it also includes: identifying the data value of each data information in each data-related type, and identifying the evaluation index type corresponding to each data-related type; based on the data value of each data information in the data-related type corresponding to each evaluation index type, the indicator weight corresponding to each evaluation index type is calculated through the entropy weight algorithm.

[0072] In this embodiment, the terminal identifies the data value of each data information in each data-related type, and identifies the evaluation index type corresponding to each data-related type. Then, based on the data value of each data information corresponding to each evaluation index type, the terminal calculates the index weight corresponding to each evaluation index type through an entropy weight algorithm. The weight algorithm is a weight algorithm corresponding to the entropy weight method. The specific calculation process of the entropy weight algorithm will be described in detail later.

[0073] Based on the above scheme, by identifying the evaluation indicator type corresponding to each data-related type, the weight value corresponding to each evaluation indicator type is calculated, thereby improving the accuracy of the weight corresponding to the determined evaluation indicator type and the accuracy of evaluating the data level of each data information by the evaluation indicator type of each weight.

[0074] Optionally, based on the data value of each data information in the data-related type corresponding to each evaluation indicator type, an entropy weight algorithm is used to calculate the indicator weight corresponding to each evaluation indicator type, including: for each evaluation indicator type, based on the data value of each data information in the data-related type corresponding to the evaluation indicator type, the information entropy of the evaluation indicator type is calculated by the information entropy algorithm; based on the information entropy of each evaluation indicator type and the number of all evaluation indicator types, the indicator weight corresponding to each evaluation indicator type is calculated by the indicator weight algorithm.

[0075] In this embodiment, the terminal calculates the information entropy of the evaluation indicator type based on the data value of each data information in the data-related type corresponding to the evaluation indicator type through the information entropy algorithm for each evaluation indicator type. Then, the terminal calculates the indicator weight corresponding to each evaluation indicator type through the indicator weight algorithm based on the information entropy of each evaluation indicator type and the number of all evaluation indicator types.

[0076] Specifically, the information entropy of each indicator is calculated: Information entropy is a quantity that describes the degree of disorder or chaos of the system, and can also be understood as the uncertainty of the system. For each indicator in the data set, the information entropy can be calculated based on its value distribution. Specifically, for the i-th indicator, its information entropy Ei can be calculated by the following formula:

[0077] ;

[0078] Where n is the number of samples, It is the ratio of the value of the jth sample on the i-th indicator to the sum of all the values ​​of the indicator. j represents time, i represents parameters (virtual confidentiality level [secret, confidential, top secret], frequency of use, duration of use, size of occupied resources);

[0079] Calculate information entropy redundancy (difference): Information entropy redundancy or difference is used to describe the importance or weight of each indicator in the evaluation. For the i-th indicator, its difference di can be calculated by the following formula:

[0080] ;

[0081] The greater the difference, the greater the weight of the indicator in the evaluation.

[0082] Determine the weight of each indicator: Finally, according to the information entropy redundancy (difference) of each indicator, the weight wi of each indicator can be calculated:

[0083] ;

[0084] Here, m is the number of indicators.

[0085] Based on the above scheme, the weight value of each evaluation index type is calculated by the entropy weight method, which improves the accuracy of calculating the weight value of each evaluation index type.

[0086] Optionally, through the data evaluation strategy, data evaluation processing is performed on each data information separately to obtain the data level corresponding to each data information, including: for each data information, and the data value of the data information in each data-related type, through the evaluation indicator type corresponding to each data-related type, the sub-evaluation level of the data information in each evaluation indicator type is evaluated separately; based on the indicator weight corresponding to each evaluation indicator type, the sub-evaluation level of each evaluation indicator type is weighted summed up to obtain the data level corresponding to the data information.

[0087] In this embodiment, the terminal evaluates the sub-evaluation level of the data information in each evaluation index type according to the evaluation index type corresponding to each data-related type for each data information and the data value of the data information in each data-related type. Then, the terminal performs weighted summation processing on the sub-evaluation level of each evaluation index type based on the index weight corresponding to each evaluation index type to obtain the data level corresponding to the data information.

[0088] The specific calculation formula is as follows:

[0089] According to the weight of each evaluation indicator type and the sub-evaluation level D of each evaluation indicator type (taking the proportion of each parameter as 40%, 20%, 20%, and 20% as an example):

[0090] D = W1×40%+W2×20%+W3×20%+W4×20%

[0091] D is the level judgment value of the data, and the larger the value, the higher the importance level of the data.

[0092] Based on the above scheme, the data level of each data information is evaluated by using the evaluation index type of each weight, thereby improving the accuracy of the data level of each data information evaluated.

[0093] Optionally, based on the data level corresponding to each piece of data information and the current storage capacity of the storage system, in each piece of data information, each piece of migration data information is screened, including: identifying the data volume corresponding to each piece of data information, and determining whether the current storage capacity of the storage system is greater than a preset storage capacity threshold; when the current storage capacity of the storage system is not greater than the preset storage capacity threshold, returning to execute the step of obtaining each piece of data information in the distributed storage area and the current storage capacity of the distributed storage area, until the current storage capacity of the storage system is greater than the preset storage capacity threshold, identifying the overflow capacity of the storage system; based on the data volume corresponding to each piece of data information, the data level corresponding to each piece of data information, and the overflow capacity, in each piece of data information, each piece of migration data information is screened.

[0094] In this embodiment, the terminal identifies the amount of data corresponding to each data information, and determines whether the current storage capacity of the storage system is greater than the preset storage capacity threshold. The preset storage capacity threshold is a storage threshold preset by the staff, for example: starting data migration by proportion, such as when the storage capacity exceeds 90% of the total capacity (in order of D value from small to large); starting data migration by size, such as when the remaining capacity is less than 500G (in order of D value from small to large).

[0095] When the current storage capacity of the storage system is not greater than the preset storage capacity threshold, the terminal returns to the step of obtaining each data information in the distributed storage area and the current storage capacity of the distributed storage area until the current storage capacity of the storage system is greater than the preset storage capacity threshold, and the overflow capacity of the storage system is identified. Then, the terminal selects each migration data information in each data information based on the data volume corresponding to each data information, the data level corresponding to each data information, and the overflow capacity.

[0096] Based on the above solution, by presetting the storage capacity threshold, each migration data information is screened, ensuring that each storage capacity in the distributed storage system can dynamically maintain a stable state, thereby improving the data access stability of the distributed storage system.

[0097] Optionally, based on the data amount corresponding to each data information, the data level corresponding to each data information, and the overflow capacity, each migration data information is screened in each data information, including: identifying the total data amount of the data information corresponding to each data level, and when the total data amount of the lowest data level is greater than the overflow capacity, screening the data information that is not less than the overflow capacity in a manner from large to small according to the data amount of each data information corresponding to the lowest data level; when the total data amount of the lowest data level is not greater than the overflow capacity, calculating the capacity difference between the overflow capacity and the total data amount corresponding to the lowest data level, and screening the data information that is not less than the capacity difference and the data information corresponding to the lowest data level in a manner from large to small according to the data amount of each data information corresponding to the data level before the lowest data level as each migration data information.

[0098] In this embodiment, the terminal identifies the total data volume of the data information corresponding to each data level, and when the total data volume of the lowest data level is greater than the overflow capacity, the terminal selects data information that is not less than the overflow capacity in a manner from large to small according to the data volume of each data information corresponding to the lowest data level as each migration data information. Then, when the total data volume of the lowest data level is not greater than the overflow capacity, the capacity difference between the overflow capacity and the total data volume corresponding to the lowest data level is calculated, and the data information that is not less than the capacity difference and the data information corresponding to the lowest data level are selected in a manner from large to small according to the data volume of each data information corresponding to the data level immediately preceding the lowest data level as each migration data information.

[0099] Specifically, the data levels you set in this plan include Secret < Confidential < Top Secret, that is, the maximum overflow capacity threshold cannot be greater than the sum of the total data volumes of the two data levels. Therefore, when the total data volume of the secret level is less than the overflow capacity, you only need to filter out the data information with the capacity difference from the confidential level data information as the migration data information.

[0100] Based on the above solution, by screening in order from bottom to top according to the data level, the risks of high-level data leakage, security risks, etc. caused by the migration of high-level data can be avoided, thereby improving the security protection effect of high-level data information during migration.

[0101] Optionally, the target migration content of each migration data information and the target migration area corresponding to each migration data information are identified, including: for each migration data information, querying the binding data content corresponding to the migration data information in the cloud platform, and using the data content of the migration data information and the binding data content corresponding to the migration data information as the target migration content of the migration data information; using the storage area address of the centralized storage area as the target migration area corresponding to each migration data information.

[0102] In this embodiment, the terminal searches the cloud platform for the binding data content corresponding to each migration data information, and uses the data content of the migration data information and the binding data content corresponding to the migration data information as the target migration content of the migration data information. Finally, the terminal uses the storage area address of the centralized storage area as the target migration area corresponding to each migration data information.

[0103] Based on the above solution, the bound data content of the data information is migrated when the data information is migrated, but the information displayed in the platform is still there. When the user operates the data in the platform, the system will automatically migrate the data back according to the corresponding information to ensure normal use of the user.

[0104] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0105] Based on the same inventive concept, the embodiment of the present application also provides a data intelligent dynamic scheduling device for implementing the data intelligent dynamic scheduling method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more data intelligent dynamic scheduling device embodiments provided below can refer to the limitations of the data intelligent dynamic scheduling method above, and will not be repeated here.

[0106] Further references Figure 2 , as a response to the above Figure 1 In order to realize the method shown in the figure, the present application provides an embodiment of a data intelligent dynamic scheduling device 200, which is applied to a mine dispatching system. The device includes an acquisition module 210, a screening module 220 and a migration module 230, wherein:

[0107] The acquisition module 210 is used to acquire each piece of data information in the distributed storage area and the current storage capacity of the distributed storage area, and to perform data evaluation processing on each piece of data information through a data evaluation strategy to obtain a data level corresponding to each piece of data information;

[0108] A screening module 220, configured to screen each migration data information in each data information based on the data level corresponding to each data information and the current storage capacity of the storage system, and identify the target migration content of each migration data information and the target migration area corresponding to each migration data information;

[0109] The migration module 230 is used to migrate the target migration content of each migration data information to the target migration area corresponding to each migration data information, so as to complete the dynamic scheduling task of the data information.

[0110] Optionally, the device further comprises:

[0111] An identification module, used to identify the data value of each data information in each data-related type, and to identify the evaluation indicator type corresponding to each data-related type;

[0112] The calculation module is used to calculate the indicator weight corresponding to each evaluation indicator type based on the data value of the data-related type corresponding to each evaluation indicator type of each data information through an entropy weight algorithm.

[0113] Optionally, the computing module is specifically used for:

[0114] For each evaluation indicator type, based on the data value of each data information in the data-related type corresponding to the evaluation indicator type, calculate the information entropy of the evaluation indicator type by using an information entropy algorithm;

[0115] Based on the information entropy of each evaluation indicator type and the number of all evaluation indicator types, the indicator weight corresponding to each evaluation indicator type is calculated through the indicator weight algorithm.

[0116] Optionally, the acquisition module 210 is specifically configured to:

[0117] For each piece of data information and the data value of the data information in each data-related type, the sub-evaluation level of the data information in each evaluation indicator type is evaluated respectively by using the evaluation indicator type corresponding to each data-related type;

[0118] Based on the indicator weight corresponding to each evaluation indicator type, weighted sum processing is performed on the sub-evaluation levels of each evaluation indicator type to obtain the data level corresponding to the data information.

[0119] Optionally, the screening module 220 is specifically used for:

[0120] Identify the data volume corresponding to each piece of data information, and determine whether the current storage capacity of the storage system is greater than a preset storage capacity threshold;

[0121] When the current storage capacity of the storage system is not greater than the preset storage capacity threshold, returning to the step of obtaining the data information in the distributed storage area and the current storage capacity of the distributed storage area, until the current storage capacity of the storage system is greater than the preset storage capacity threshold, identifying the overflow capacity of the storage system;

[0122] Based on the data volume corresponding to each piece of data information, the data level corresponding to each piece of data information, and the overflow capacity, each piece of migration data information is screened in each piece of data information.

[0123] Optionally, the screening module 220 is specifically used for:

[0124] Identify the total data volume of the data information corresponding to each data level, and when the total data volume of the lowest data level is greater than the overflow capacity, select data information not less than the overflow capacity in a descending order of the data volume of each data information corresponding to the lowest data level as each migration data information;

[0125] When the total data volume of the lowest data level is not greater than the overflow capacity, the capacity difference between the overflow capacity and the total data volume corresponding to the lowest data level is calculated, and data information not less than the capacity difference and data information corresponding to the lowest data level are screened as migration data information in a manner from large to small in order of the data volume of each data information corresponding to the data level before the lowest data level.

[0126] Optionally, the screening module 220 is specifically used for:

[0127] For each migration data information, query the bound data content corresponding to the migration data information in the cloud platform, and use the data content of the migration data information and the bound data content corresponding to the migration data information as the target migration content of the migration data information;

[0128] The storage area address of the centralized storage area is used as the target migration area corresponding to each migration data information.

[0129] Each module in the above-mentioned data intelligent dynamic scheduling device can be implemented in whole or in part by software, hardware and their combination. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the corresponding operations of each of the above modules.

[0130] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 3As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a method for intelligent dynamic scheduling of data is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a key, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

[0131] Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0132] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the steps of any one of the methods in the first aspect are implemented.

[0133] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of any one of the methods in the first aspect are implemented.

[0134] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the steps of any one of the methods in the first aspect.

[0135] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0136] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include centralized databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, etc., but are not limited to this.

[0137] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0138] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the present application. It should be noted that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A data intelligent dynamic scheduling method, applied to distributed storage systems, It is characterized in that The method comprises: Acquire each piece of data information in the distributed storage area and the current storage capacity of the distributed storage area, and perform data evaluation processing on each piece of data information respectively through a data evaluation strategy to obtain a data level corresponding to each piece of data information; Based on the data level corresponding to each piece of data information and the current storage capacity of the storage system, filter each piece of migration data information from each piece of data information, and identify the target migration content of each piece of migration data information and the target migration area corresponding to each piece of migration data information; Migrating the target migration content of each migration data information to the target migration area corresponding to each migration data information, thereby completing the dynamic scheduling task of the data information; Before performing data evaluation processing on each piece of data information by using the data evaluation strategy to obtain the data level corresponding to each piece of data information, the method further includes: Identify the data value of each of the data information in each data-related type, and identify the evaluation indicator type corresponding to each data-related type; Based on the data value of the data-related type corresponding to each evaluation indicator type of each data information, the indicator weight corresponding to each evaluation indicator type is calculated through the entropy weight algorithm; The method of calculating the indicator weight corresponding to each evaluation indicator type based on the data value of the data-related type corresponding to each evaluation indicator type of each data information by using an entropy weight algorithm includes: For each evaluation index type, based on the data value of each data information in the data-related type corresponding to the evaluation index type, the information entropy Ei of the evaluation index type is calculated by the information entropy algorithm, and the calculation formula is: ; Where n is the number of samples, It is the ratio of the value of the jth sample on the i-th indicator to the sum of all values ​​of the indicator, j represents time, i represents parameter; Based on the information entropy of each evaluation indicator type and the number of all evaluation indicator types, the indicator weight corresponding to each evaluation indicator type is calculated through the indicator weight algorithm.

2. The method according to claim 1, It is characterized in that The data evaluation strategy is used to perform data evaluation processing on each piece of data information to obtain a data level corresponding to each piece of data information, including: For each piece of data information and the data value of the data information in each data-related type, the sub-evaluation level of the data information in each evaluation indicator type is evaluated respectively by using the evaluation indicator type corresponding to each data-related type; Based on the indicator weight corresponding to each evaluation indicator type, weighted sum processing is performed on the sub-evaluation levels of each evaluation indicator type to obtain the data level corresponding to the data information.

3. The method according to claim 1, It is characterized in that The step of filtering each migration data information from each data information based on the data level corresponding to each data information and the current storage capacity of the storage system includes: Identify the data volume corresponding to each piece of data information, and determine whether the current storage capacity of the storage system is greater than a preset storage capacity threshold; When the current storage capacity of the storage system is not greater than the preset storage capacity threshold, returning to the step of obtaining the data information in the distributed storage area and the current storage capacity of the distributed storage area, until the current storage capacity of the storage system is greater than the preset storage capacity threshold, identifying the overflow capacity of the storage system; Based on the data volume corresponding to each piece of data information, the data level corresponding to each piece of data information, and the overflow capacity, each piece of migration data information is screened in each piece of data information.

4. The method according to claim 3, It is characterized in that The step of screening each migration data information from each data information based on the data volume corresponding to each data information, the data level corresponding to each data information, and the overflow capacity includes: Identify the total data volume of the data information corresponding to each data level, and when the total data volume of the lowest data level is greater than the overflow capacity, select data information not less than the overflow capacity in a descending order of the data volume of each data information corresponding to the lowest data level as each migration data information; When the total data volume of the lowest data level is not greater than the overflow capacity, the capacity difference between the overflow capacity and the total data volume corresponding to the lowest data level is calculated, and data information not less than the capacity difference and data information corresponding to the lowest data level are screened as migration data information in a manner from large to small in order of the data volume of each data information corresponding to the data level before the lowest data level.

5. The method according to claim 1, It is characterized in that The identifying the target migration content of each migration data information and the target migration area corresponding to each migration data information includes: For each migration data information, query the bound data content corresponding to the migration data information in the cloud platform, and use the data content of the migration data information and the bound data content corresponding to the migration data information as the target migration content of the migration data information; The storage area address of the centralized storage area is used as the target migration area corresponding to each migration data information.

6. A data intelligent dynamic scheduling device, applied to distributed storage systems, It is characterized in that The device comprises: An acquisition module is used to acquire each piece of data information in the distributed storage area and the current storage capacity of the distributed storage area, and to perform data evaluation processing on each piece of data information through a data evaluation strategy to obtain a data level corresponding to each piece of data information; a screening module, configured to screen each migration data information in each data information based on the data level corresponding to each data information and the current storage capacity of the storage system, and identify the target migration content of each migration data information and the target migration area corresponding to each migration data information; A migration module, used to migrate the target migration content of each migration data information to the target migration area corresponding to each migration data information, so as to complete the dynamic scheduling task of the data information; The acquisition module performs data evaluation processing on each piece of data information respectively through a data evaluation strategy, and before obtaining the data level corresponding to each piece of data information, is also used to: Identify the data value of each of the data information in each data-related type, and identify the evaluation indicator type corresponding to each data-related type; Based on the data value of the data-related type corresponding to each evaluation indicator type of each data information, the indicator weight corresponding to each evaluation indicator type is calculated through the entropy weight algorithm; The acquisition module calculates the indicator weight corresponding to each evaluation indicator type based on the data value of the data-related type corresponding to each evaluation indicator type of each data information through the entropy weight algorithm as follows: For each evaluation index type, based on the data value of each data information in the data-related type corresponding to the evaluation index type, the information entropy Ei of the evaluation index type is calculated by the information entropy algorithm, and the calculation formula is: ; Where n is the number of samples, It is the ratio of the value of the jth sample on the i-th indicator to the sum of all values ​​of the indicator, j represents time, i represents parameter; Based on the information entropy of each evaluation indicator type and the number of all evaluation indicator types, the indicator weight corresponding to each evaluation indicator type is calculated through the indicator weight algorithm.

7. A computer device comprising a memory and a processor, wherein the memory stores a computer program, It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.

8. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.