A distributed storage cabinet management method based on the Internet of Things

Through the Internet of Things management method, the load ratio of the storage unit is analyzed, data integration and sleep control are performed, which solves the problem of low storage cost performance and resource waste of distributed storage cabinets, and improves storage efficiency and unit life.

CN118519588BActive Publication Date: 2024-09-20SHENZHEN MOTERN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410989876.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-23
Publication Date
2024-09-20
Estimated Expiration
2044-07-23

AI Technical Summary

Technical Problem

Distributed storage cabinets waste space in the storage units when information is called, and because the storage units need to remain in working condition, the storage cost-effectiveness is low.

Method used

Using a distributed storage cabinet management method based on the Internet of Things, by obtaining the storage load ratio of each storage unit, defining the integration unit and receiving unit, performing data integration and transmission, controlling the dormancy of idle storage units, and optimizing the utilization of storage resources.

Benefits of technology

It reduces the number of running storage units, improves the storage cost performance of storage cabinets, and by analyzing losses, extends the service life of storage units and optimizes data storage efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118519588B
    Figure CN118519588B
Patent Text Reader

Abstract

The present application relates to a distributed storage cabinet management method based on the Internet of Things, and relates to the field of information storage technology. The method includes obtaining the storage load ratio; defining the storage unit whose storage load ratio is less than the demand integration ratio as an integration unit, and determining the overall integration ratio based on all integration units; determining the required storage quantity based on the overall integration ratio and the demand load ratio; sorting the integration units from large to small based on the storage load ratio to determine the unit integration sorting, and defining receiving units and output units in the overall unit sorting; transmitting the data in the output unit to the corresponding receiving unit based on the receiving unit and the output unit, and controlling the output unit to sleep after the output unit data transmission is completed. The present application has the effect of improving the storage cost performance of distributed storage cabinets for information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of information storage technology, and in particular to a distributed storage cabinet management method based on the Internet of Things. Background Art

[0002] A distributed storage cabinet is a device used to store large amounts of data. It is usually composed of multiple independent storage units, which can be scattered in different geographical locations and connected through a network to form a huge storage system.

[0003] In the related art, when a distributed storage cabinet is used to store information, each storage unit stores information. When the information is called, the information stored in the storage unit is deleted, and space can be freed in the storage unit for storing new information.

[0004] In the above-mentioned related technologies, when the information of the storage unit is called and there is no new information to fill it, some storage space in the storage unit will remain unused, and storage space will be wasted. However, because the storage unit still has information stored inside, it still needs to be in a working state, resulting in a low cost-effectiveness of distributed storage cabinets for information storage, and there is still room for improvement. Summary of the invention

[0005] In order to improve the storage cost-effectiveness of distributed storage cabinets for information, the present application provides a distributed storage cabinet management method based on the Internet of Things.

[0006] In a first aspect, the present application provides a distributed storage cabinet management method based on the Internet of Things, which adopts the following technical solutions:

[0007] A distributed storage cabinet management method based on the Internet of Things, comprising:

[0008] Obtain the storage load ratio of each storage unit;

[0009] A storage unit whose storage load ratio is less than a preset demand integration ratio is defined as an integration unit, and the storage load ratios of all integration units are summed up to determine the overall integration ratio;

[0010] The required storage quantity is determined by calculating the overall integration ratio and the preset demand load ratio;

[0011] Sorting the integrated units from large to small according to the storage load ratio to determine the unit integration order, and defining the corresponding integrated units as receiving units according to the required storage quantity from front to back in the overall unit order, and defining the remaining integrated units as output units;

[0012] In the receiving unit, a difference calculation is performed according to the demand load ratio and the storage load ratio to determine the feasible receiving ratio, and the storage load ratio of the output unit is determined as the demand output ratio;

[0013] The receiving unit corresponding to each output unit is determined according to the feasible receiving ratio and the required output ratio, and the data in the output unit is transmitted to the corresponding receiving unit, and the output unit is controlled to sleep after the data transmission of the output unit is completed.

[0014] Optionally, after the unit integration order is determined, the distributed storage cabinet management method further includes:

[0015] Obtaining the unit start time point of each receiving unit;

[0016] Determine the unit storage time interval according to the unit start time point and the current time point, and divide the unit storage time interval into a plurality of fixed intervals according to a preset fixed time length;

[0017] In a fixed interval, the average value of the storage load ratio at each time point is calculated to determine the fixed representative ratio, and the work loss value is determined based on all the fixed representative ratios and the fixed duration;

[0018] The residual loss value is determined by performing a difference calculation based on the preset allowable loss value and the working loss value;

[0019] The integration units whose residual loss values ​​are less than the preset reference demand values ​​are eliminated from the unit integration sorting.

[0020] Optionally, after the integrated unit is removed from the unit integration sorting, the distributed storage cabinet management method based on the Internet of Things further includes:

[0021] Sorting the integrated units in the unit integration sorting to determine the number of sorting units;

[0022] Determine whether the number of sorting units is less than the required storage quantity;

[0023] If the number of sorting units is not less than the required storage quantity, the receiving unit is determined according to the unit integration sorting;

[0024] If the number of sorting units is less than the required storage number, the eliminated integrated units will be restored, and the benchmark demand value will be corrected according to the preset unit correction value, and the integrated units will be eliminated again according to the corrected benchmark demand value until the number of sorting units is not less than the required storage number.

[0025] Optionally, the step of determining the receiving unit corresponding to each output unit according to the feasible receiving ratio and the required output ratio includes:

[0026] The output units are sorted from small to large according to the demand output proportion to determine the unit output order, and the first output unit in the unit output order is defined as the priority unit;

[0027] Determine a feasible combination scheme among all receiving units according to the demand output ratio of the priority unit, and update the feasible receiving ratio of each receiving unit according to the feasible combination scheme after the feasible combination scheme is determined;

[0028] After the feasible combination scheme of the priority unit is determined, the feasible combination scheme of the second output unit is determined according to the unit output sorting, and the feasible combination scheme of each output unit is determined repeatedly until all output units have feasible combination schemes;

[0029] Perform comprehensive processing according to feasible combination schemes of all output units to determine an overall processing scheme, and obtain the number of data splits of each output unit in the overall processing scheme;

[0030] The overall split number is determined by summing up all the data split numbers, and the overall split number with the smallest value is determined according to the preset sorting rules, and the overall processing scheme corresponding to the overall split number is defined as the transmission scheme, and the receiving unit corresponding to each output unit is determined according to the transmission scheme.

[0031] Optionally, after the overall split quantity is determined, the distributed storage cabinet management method based on the Internet of Things further includes:

[0032] Determine whether there are at least two overall processing solutions with the same and minimum number of overall splits;

[0033] If there are not at least two overall processing solutions with the same and smallest number of overall splits, the overall processing solution with the smallest number of overall splits is determined as the transmission solution to be used;

[0034] If there are at least two overall processing solutions with the same and smallest number of overall splits, then obtain the proportion of the post-receiving load after the receiving unit receives the data output by the output unit under each overall processing solution;

[0035] Perform an average calculation based on the overall integration ratio and the required storage quantity to determine the average storage ratio;

[0036] The storage deviation value of the solution is determined by calculating the average storage ratio and the load ratio after each reception;

[0037] The deviation value is stored in a solution with the smallest value according to the sorting rule, and the overall processing solution corresponding to the deviation value stored in the solution is determined as the transmission solution to be used.

[0038] Optionally, after the storage deviation value of the solution is determined, the distributed storage cabinet management method based on the Internet of Things further includes:

[0039] Determine whether there are at least two overall processing solutions with the same and smallest storage deviation values;

[0040] If there are not at least two overall processing solutions with the same and smallest solution storage deviation value, the overall processing solution with the smallest solution storage deviation value is determined as the transmission solution to be used;

[0041] If there are at least two overall processing solutions with the same and smallest storage deviation values, define the receiving unit corresponding to the output unit as an alternative unit according to the overall processing solution, obtain the first data storage time of each data in the output unit, and obtain the second data storage time of each data in the alternative unit;

[0042] Performing a difference calculation based on the first data storage time and the second data storage time to determine a storage difference duration, and defining data in the output unit whose storage difference duration is less than a preset similar duration as similar data;

[0043] Determine similar load proportions based on similar data and all data, and calculate the average of all similar load proportions to determine similar average proportions;

[0044] The similarity average ratio with the largest value is determined according to the sorting rule, and the overall processing scheme corresponding to the similarity average ratio is determined as the transmission scheme to be used.

[0045] Optionally, the step of transmitting the data in the output unit to the corresponding receiving unit includes:

[0046] An output unit corresponding to at least two receiving units is defined as a split unit;

[0047] Determine a similar load ratio according to the data of the splitting unit and the data of each receiving unit, and define the similar load ratio as a split similarity ratio;

[0048] The data receiving order of each receiving unit is determined from large to small according to the split similarity ratio, and the data of the split unit is controlled to be transmitted in sequence according to the data receiving order.

[0049] In the second aspect, the present application provides a distributed storage cabinet management system based on the Internet of Things, which adopts the following technical solutions:

[0050] A distributed storage cabinet management system based on the Internet of Things, comprising:

[0051] An acquisition module is used to obtain the storage load ratio of each storage unit;

[0052] A processing module, connected to the acquisition module and the judgment module, for storing and processing information;

[0053] A judgment module, connected with the acquisition module and the processing module, for judging the information;

[0054] The processing module defines the storage unit whose storage load ratio determined by the determination module is less than the preset demand integration ratio as an integration unit, and performs a sum calculation based on the storage load ratios of all integration units to determine the overall integration ratio;

[0055] The processing module calculates the required storage quantity based on the overall integration ratio and the preset demand load ratio;

[0056] The processing module sorts the integrated units from large to small according to the storage load ratio to determine the unit integration order, and defines the corresponding integrated units as receiving units according to the required storage quantity from front to back in the overall unit order, and defines the remaining integrated units as output units;

[0057] The processing module performs a difference calculation in the receiving unit according to the required load ratio and the storage load ratio to determine the feasible receiving ratio, and determines the storage load ratio of the output unit as the required output ratio;

[0058] The processing module determines the receiving unit corresponding to each output unit according to the feasible receiving ratio and the required output ratio, transmits the data in the output unit to the corresponding receiving unit, and controls the output unit to sleep after the data transmission of the output unit is completed.

[0059] In summary, the present application includes at least one of the following beneficial technical effects:

[0060] When there is not much external information that needs to be stored in the storage unit of the storage cabinet, the storage unit with less current data storage can be determined and the data can be integrated and processed, so that the number of storage units running and starting can be reduced, and the storage cabinet's storage cost-effectiveness for data information can be improved;

[0061] When determining the storage unit that needs to be dormant, the loss generated by the current operation of each storage unit can be analyzed, so that the storage unit with higher loss can be controlled to be dormant, thereby increasing the service life of the storage unit;

[0062] When data information transmission is being processed, the correlation degree of the data in each storage unit can be analyzed to store the information with a high correlation degree in the same storage unit as much as possible to facilitate subsequent retrieval of the information. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] Figure 1 It is a flow chart of a distributed storage cabinet management method based on the Internet of Things.

[0064] Figure 2 is a flow chart of a dormant storage unit selection method.

[0065] Figure 3 It is a flow chart of the method for correcting the baseline demand value.

[0066] Figure 4 It is a flow chart of a method for determining unit corresponding situations.

[0067] Figure 5 It is a flowchart of the method for screening data splitting situations.

[0068] Figure 6 It is a flow chart of a method for screening data storage deviation situations.

[0069] Figure 7 It is a flow chart of a data information transmission control method.

[0070] Figure 8 It is a module flow chart of a distributed storage cabinet management method based on the Internet of Things. DETAILED DESCRIPTION

[0071] In order to make the purpose, technical solutions and advantages of this application more clear, the following Figure 1-Figure 8 It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0072] The embodiments of the present application are further described in detail below in conjunction with the drawings in the specification.

[0073] An embodiment of the present application discloses a distributed storage cabinet management method based on the Internet of Things. When there is not much information that needs to be stored in the distributed storage cabinet externally, the storage status of each storage unit is analyzed, so that the information in some storage units is transmitted to the remaining storage units by means of data information integration. At this time, the storage unit from which the information is transmitted can be put into hibernation because there is no information to store. At this time, the number of storage units that need to be enabled to store the same amount of data is the least, thereby improving the storage cabinet's storage cost-effectiveness for information.

[0074] Reference Figure 1 The method flow of the distributed storage cabinet management method based on the Internet of Things includes the following steps:

[0075] Step S100: Obtain the storage load ratio of each storage unit.

[0076] The storage load ratio is the ratio of the data information stored in the storage unit to the total data information that can be stored, where each storage unit in the distributed storage cabinet can store the same total amount of data information.

[0077] Step S101: defining storage units whose storage load ratio is less than a preset demand integration ratio as integration units, and performing a sum calculation based on the storage load ratios of all integration units to determine the overall integration ratio.

[0078] The demand integration ratio is the maximum storage load ratio allowed when the storage cost-effectiveness is low when the storage unit is enabled, as set by the staff. When the storage load ratio is less than the demand integration ratio, it means that the storage cost-effectiveness of this type of storage unit for data information is low and needs to be processed. At this time, the integration unit is defined to distinguish different storage units for subsequent analysis; the overall integration ratio is the sum of the storage load ratios of all integration units.

[0079] Step S102: Calculate the required storage quantity according to the overall integration ratio and the preset required load ratio.

[0080] The demand load ratio is the maximum storage load ratio allowed when the storage unit can effectively store new data information as set by the staff, for example 80%. The demand storage quantity is the number of storage units that need to be enabled, which is determined by dividing the overall integration ratio by the demand load ratio and rounding up the result.

[0081] Step S103: Sort the integrated units according to the storage load ratio from large to small to determine the unit integration order, and define the corresponding integrated units as receiving units according to the required storage quantity from front to back in the overall unit order, and define the remaining integrated units as output units.

[0082] The unit integration sorting is the sorting of the integrated units obtained by sorting the integrated units from large to small according to the storage load ratio. The receiving units and the output units are defined to determine the reception and output of data, wherein the receiving unit is the storage unit that needs to receive the data information of the remaining output units, and the output unit is the storage unit that needs to transmit the data information to the remaining receiving units.

[0083] Step S104: performing a difference calculation in the receiving unit according to the required load ratio and the storage load ratio to determine a feasible receiving ratio, and determining the storage load ratio of the output unit as the required output ratio.

[0084] The feasible reception ratio is the data ratio of the data information that the receiving unit can currently receive at most, which is determined by subtracting the storage load ratio from the demand load ratio. The demand output ratio is the storage load ratio of the output unit, that is, the ratio of all data information to be transmitted by the output unit.

[0085] Step S105: Determine the receiving unit corresponding to each output unit according to the feasible receiving ratio and the required output ratio, and transmit the data in the output unit to the corresponding receiving unit, and control the output unit to sleep after the data transmission of the output unit is completed.

[0086] The receiving unit corresponding to each output unit can be determined by numbering the output units and the receiving units. For example, the output units and the receiving units are numbered from front to back, and the output unit with the front number is prioritized for receiving unit determination, and the receiving unit with the front number is prioritized for receiving data information. That is, the output unit with the first number compares the required output ratio with the feasible receiving ratio of the first numbered receiving unit. When the required output ratio is greater than the feasible receiving ratio, it means that the data information of the output unit needs to be transmitted to the receiving unit with the latter number. On the contrary, when the required output ratio is not greater than the feasible receiving ratio, it means that the first receiving unit can completely receive the data information of the first output unit. At this time, the second output unit can continue to transmit the data information to the first receiving unit, and so on, to achieve the determination of the receiving unit corresponding to each output unit; the above receiving unit corresponding to the output unit is only one method, and the present application also has the method of steps S400-step S404, which will not be repeated here; by transmitting the data of the output unit to the corresponding receiving unit, at this time, the output unit does not have stored data information, so the output unit can be controlled to perform sleep processing. At this time, the number of storage units enabled by the storage cabinet as a whole is small, which improves the storage cabinet for data information storage cost performance.

[0087] Reference Figure 2 After the unit integration order is determined, the distributed storage cabinet management method further includes:

[0088] Step S200: Acquire the unit start time point of each receiving unit.

[0089] The unit startup time point is the time point when the receiving unit last changes from the sleep state to the enabled state and starts to store data information.

[0090] Step S201: determining a unit storage time interval according to a unit startup time point and a current time point, and dividing the unit storage time interval into a plurality of fixed intervals according to a preset fixed duration.

[0091] The unit storage time interval is the time interval during which the storage unit is enabled, that is, the time interval during which information is stored. This time interval has the unit startup time point and the current time point as two endpoints; the fixed duration is a fixed duration set by the staff, and the fixed interval is the time interval obtained by evenly dividing the unit storage time interval according to the fixed duration.

[0092] Step S202: performing an average calculation according to the storage load ratio at each time point in a fixed interval to determine a fixed representative ratio, and performing a calculation according to all the fixed representative ratios and the fixed duration to determine a work loss value.

[0093] The fixed representative ratio is the average load ratio of the data information stored in the storage unit in a fixed interval, that is, it is obtained by adding the storage load ratio at each time point in the fixed interval and dividing it by the number of time points in the fixed interval; the working loss value is the loss value generated when the storage unit stores data information. The longer the storage unit is used and the more information is stored, the greater the corresponding loss value. The working loss value is obtained by multiplying all the fixed representative ratios by the fixed time and adding them together.

[0094] Step S203: Calculate the difference between the preset allowable loss value and the working loss value to determine the remaining loss value.

[0095] The allowed loss value is the working loss value that can be consumed after the storage unit is converted from a sleep state to an enabled state, that is, the working loss value that can be used by the storage unit until the next sleep state. The remaining loss value is the remaining working loss value that can be consumed by the storage unit. The lower the value, the more "tired" the storage unit is at work, and the more it needs sleep processing. This value is determined by subtracting the working loss value from the allowed loss value.

[0096] Step S204: Eliminate the integration units whose remaining loss values ​​are smaller than the preset reference demand values ​​from the unit integration sorting.

[0097] The benchmark requirement value is the maximum remaining loss value allowed when the storage unit set by the staff can be put into hibernation priority compared to other storage units. When the remaining loss value is less than the benchmark requirement value, it means that the integrated unit can be put into hibernation priority. At this time, the integrated unit is removed from the unit integration sorting, so that the integrated unit can only be defined as an output unit, so that the integrated unit can be put into hibernation later.

[0098] Reference Figure 3 After the integrated unit is removed from the unit integration sorting, the distributed storage cabinet management method based on the Internet of Things also includes:

[0099] Step S300: Sorting the integrated units in the unit integration sorting to determine the number of sorting units.

[0100] The number of sorted units is the total number of integrated units in the determined unit integration sort.

[0101] Step S301: Determine whether the number of sorting units is less than the required storage quantity.

[0102] The purpose of the judgment is to find out whether the number of receiving units that can be determined currently is sufficient.

[0103] Step S3011: If the number of sorting units is not less than the required storage number, the receiving unit is determined according to the unit integration sorting.

[0104] When the number of sorting units is not less than the required storage number, it means that there are enough integration units that can be determined as receiving units. In this case, the receiving unit determination can be carried out normally.

[0105] Step S3012: If the number of sorting units is less than the required storage number, the eliminated integrated units are restored, and the base demand value is corrected according to the preset unit correction value, and the integrated units are eliminated again according to the corrected base demand value until the number of sorting units is not less than the required storage number.

[0106] When the number of sorting units is less than the required storage number, it means that there are not enough integrated units that can be determined as receiving units, and further analysis is required at this time; by restoring the eliminated integrated units, re-analysis is achieved, and the baseline demand value can be updated by adding the baseline demand value to the unit correction value, so that the integrated units that need to be eliminated can be re-determined until the receiving units that meet the requirements are determined among all the integrated units, where the unit correction value is a fixed value parameter set by the staff.

[0107] Reference Figure 4 The step of determining the receiving unit corresponding to each output unit according to the feasible receiving ratio and the required output ratio includes:

[0108] Step S400: Sorting the output units from small to large according to the required output proportions to determine the unit output ranking, and defining the first output unit in the unit output ranking as a priority unit.

[0109] The unit output sorting is the storage unit sorting obtained by sorting the output units from small to large according to the required output proportion. The priority unit is defined to determine the output unit that needs to be analyzed first, which is convenient for subsequent analysis.

[0110] Step S401: determining a feasible combination scheme among all receiving units according to the demand output ratio of the priority unit, and updating the feasible receiving ratio of each receiving unit according to the feasible combination scheme after the feasible combination scheme is determined.

[0111] A feasible combination scheme is a scheme that completely transfers the data information of the demand output ratio of the priority unit. For example, there are receiving units A and B. At this time, the feasible receiving ratio of receiving unit A is 5%, the feasible receiving ratio of B is 3%, the demand output ratio of the priority unit is 3%, and the minimum data information transfer amount is 1%. The feasible combination schemes include the following: ① Transfer all data information to A; ② Transfer all data information to B; ③ Transfer 1% of the data information to A, and another 2% of the data information to B; ④ Transfer 2% of the data information to A, and another 1% of the data information to B; Therefore, there are four feasible combination schemes in the above example; under each feasible combination scheme, after the receiving unit receives the data information of the priority unit, the corresponding feasible receiving ratio will be updated.

[0112] Step S402: After the feasible combination scheme of the priority unit is determined, the feasible combination scheme of the second output unit is determined according to the unit output sorting, and the feasible combination scheme of each output unit is determined repeatedly until all output units have feasible combination schemes.

[0113] By repeatedly determining feasible combination schemes of the output units after the unit output is sorted, a scheme that can effectively transmit data information can be determined, which is convenient for subsequent analysis.

[0114] Step S403: Perform comprehensive processing according to the feasible combination solutions of all output units to determine the overall processing solution, and obtain the data splitting quantity of each output unit in the overall processing solution.

[0115] The overall processing scheme is a processing scheme that can effectively transmit the data information of all output units. For example, there are two output units in total, of which the first output unit has two feasible combination schemes. Under the first feasible combination scheme, the second output unit has four feasible combination schemes. Under the second feasible combination scheme, the second output unit has two feasible combination schemes, then there are a total of six overall processing schemes; the number of data splits is the number of times the data of an output unit needs to be split to different receiving units during the data information transmission process. Taking the above-mentioned receiving units A and B as an example, ③ and ④ of the four feasible combination schemes each correspond to one split, that is, when the data information of a single output unit is transmitted to n receiving units, the number of data splits is added with n-1.

[0116] Step S404: Determine the overall split number by summing up all the data split numbers, and determine the overall split number with the smallest value according to the preset sorting rules, and define the overall processing scheme corresponding to the overall split number as a transmission scheme, and determine the receiving unit corresponding to each output unit according to the transmission scheme.

[0117] The overall split number is the sum of all data split numbers in a single overall processing plan. In order to ensure the integrity of subsequent data and facilitate subsequent data calls, the data information of the same storage unit should be avoided as much as possible in different storage units during the transmission of data information. Therefore, subsequent analysis is required; the sorting rule is a method set by the staff to sort the size of values, such as the bubble method. The sorting rule can be used to determine the overall split number with the smallest value, that is, when the overall processing plan corresponding to the overall split number is executed, the data information in the same storage unit is least likely to be split. At this time, the overall processing plan is defined as using a transmission plan to distinguish different overall plans, so that the receiving unit of each output unit can be determined according to the overall processing plan.

[0118] Reference Figure 5 After the overall split quantity is determined, the distributed storage cabinet management method based on the Internet of Things also includes:

[0119] Step S500: Determine whether there are at least two overall processing solutions with the same and smallest number of overall splits.

[0120] The purpose of the judgment is to find out whether there are multiple overall processing solutions that meet the requirements.

[0121] Step S5001: If there are not at least two overall processing solutions with the same and smallest number of overall splits, the overall processing solution with the smallest number of overall splits is determined as the transmission solution to be used.

[0122] When there are not at least two overall processing solutions with the same and smallest number of overall splits, it means that only one overall processing solution can be determined as the transmission solution. In this case, the definition analysis can be performed normally.

[0123] Step S5002: If there are at least two overall processing solutions with the same and smallest overall split number, then obtain the post-receiving load ratio after the receiving unit receives the data output by the output unit under each overall processing solution.

[0124] When there are at least two overall processing solutions with the same and smallest number of overall splits, it means that there are multiple overall processing solutions that can be used as transmission solutions, and further analysis is needed at this time; the load share after receiving is the load share of each receiving unit after receiving the data information of the output unit according to the overall processing solution.

[0125] Step S501: perform average calculation based on the overall integration ratio and the required storage quantity to determine the average storage ratio.

[0126] The average storage ratio is the load ratio of each receiving unit after the data information is divided equally among the receiving units under theoretical conditions, and is determined by dividing the overall integration ratio by the required storage quantity.

[0127] Step S502: Calculate the storage deviation value of the solution according to the average storage ratio and the load ratio after each reception.

[0128] The storage deviation value of the scheme is a value that reflects whether the data information is evenly distributed. The larger the value, the more unreasonable the distribution of data information is. The calculation formula is: ,in Stores deviation values ​​for the solution, For the The load ratio after receiving, is the mean storage ratio, Store quantities for requirements.

[0129] Step S503: Determine the solution with the smallest value according to the sorting rule to store the deviation value, and determine the overall processing solution corresponding to the deviation value stored in the solution as the transmission solution to be used.

[0130] The sorting rules can be used to determine the storage deviation value of the solution with the smallest value, that is, the overall processing solution corresponding to the storage deviation value of the solution can make the data information of each receiving unit more balanced. At this time, the overall processing solution is determined to use the transmission solution to achieve better data information storage effect.

[0131] Reference Figure 6 After the storage deviation value of the solution is determined, the distributed storage cabinet management method based on the Internet of Things also includes:

[0132] Step S600: Determine whether there are at least two overall processing solutions with the same and smallest storage deviation values.

[0133] The purpose of the judgment is to find out whether there are multiple overall processing solutions that meet the requirements.

[0134] Step S6001: If there are not at least two overall processing solutions with the same and smallest solution storage deviation value, the overall processing solution with the smallest solution storage deviation value is determined as the transmission solution to be used.

[0135] When there are not at least two overall processing solutions with the same and smallest storage deviation value, it means that only one overall processing solution can be determined as the transmission solution to be used, and the analysis can be defined normally.

[0136] Step S6002: If there are at least two overall processing solutions with the same and smallest storage deviation value, the receiving unit corresponding to the output unit is defined as an alternative unit according to the overall processing solution, and the first data storage time of each data is obtained in the output unit, and the second data storage time of each data is obtained in the alternative unit.

[0137] When there are at least two overall processing solutions with the same and smallest storage deviation value, it means that there are multiple overall processing solutions that can be used as transmission solutions, and further analysis is needed at this time; define alternative units to distinguish each receiving unit, the first data storage time is the storage time of the data information in the output unit stored in the storage cabinet, and the second data storage time is the storage time of the data information in the alternative unit stored in the storage cabinet.

[0138] Step S601: performing difference calculation according to the first data storage time and the second data storage time to determine the storage difference duration, and defining data in the output unit whose storage difference duration is less than a preset similar duration as similar data.

[0139] The storage difference duration is the time interval between the first data storage time and the second data storage time; the similarity duration is the maximum storage difference duration set by the staff to determine that two data information may be from the same batch of information. When the storage difference duration is less than the similarity duration, it means that there may be data from the same batch as the data in the alternative unit. At this time, it is defined as similar data for further analysis.

[0140] Step S602: Determine similar load proportions according to similar data and all data, and perform mean calculation according to all similar load proportions to determine similar average proportions.

[0141] The similarity load ratio is the ratio of data determined as similar data in an output unit to all data in the output unit, and the similarity average ratio is the average value of the similarity load ratios of all output units after processing according to the overall processing solution.

[0142] Step S603: Determine the similarity average ratio with the largest value according to the sorting rule, and determine the overall processing solution corresponding to the similarity average ratio as the transmission solution to be used.

[0143] The sorting rules can be used to determine the similar average proportion with the largest value, that is, the current overall processing solution can more likely store the data of the same batch in the same storage unit. At this time, the overall processing solution can be determined as using the transmission solution.

[0144] Reference Figure 7 , the step of transmitting the data in the output unit to the corresponding receiving unit includes:

[0145] Step S700: defining an output unit corresponding to at least two receiving units as a splitting unit.

[0146] The split unit is an output unit that needs to transmit data information to at least two different receiving units. The split unit is defined to distinguish different output units for subsequent analysis.

[0147] Step S701: determine a similar load ratio according to the data of the splitting unit and the data of each receiving unit, and define the similar load ratio as a splitting similarity ratio.

[0148] The similar load ratio is a data comparison value between the split unit and the receiving unit that receives the data information of the split unit in the scheme. The method for determining the similar load ratio is the same as the method in the above step S602, which will not be repeated here; the split similarity ratio is defined to facilitate subsequent analysis.

[0149] Step S702: determining the data receiving order of each receiving unit from large to small according to the split similarity ratio, and controlling the data of the split units to be transmitted in sequence according to the data receiving order.

[0150] The data receiving sorting is to sort the receiving units according to the split similarity ratio of each receiving unit from large to small, and the data is received according to the data receiving sorting so that the receiving units with higher split similarity ratio can receive the data first. At this time, the probability of storing the same batch of data in the same storage unit is increased.

[0151] Reference Figure 8 Based on the same inventive concept, an embodiment of the present invention provides a distributed storage cabinet management system based on the Internet of Things, including:

[0152] An acquisition module is used to obtain the storage load ratio of each storage unit;

[0153] A processing module, connected to the acquisition module and the judgment module, for storing and processing information;

[0154] A judgment module, connected with the acquisition module and the processing module, for judging the information;

[0155] The processing module defines the storage unit whose storage load ratio determined by the determination module is less than the preset demand integration ratio as an integration unit, and performs a sum calculation based on the storage load ratios of all integration units to determine the overall integration ratio;

[0156] The processing module calculates the required storage quantity based on the overall integration ratio and the preset demand load ratio;

[0157] The processing module sorts the integrated units from large to small according to the storage load ratio to determine the unit integration order, and defines the corresponding integrated units as receiving units according to the required storage quantity from front to back in the overall unit order, and defines the remaining integrated units as output units;

[0158] The processing module performs a difference calculation in the receiving unit according to the required load ratio and the storage load ratio to determine the feasible receiving ratio, and determines the storage load ratio of the output unit as the required output ratio;

[0159] The processing module determines the receiving unit corresponding to each output unit according to the feasible receiving ratio and the required output ratio, and transmits the data in the output unit to the corresponding receiving unit, and controls the output unit to sleep after the data transmission of the output unit is completed;

[0160] A sleep unit selection module determines the unit that needs to be put into sleep mode according to the working loss of each storage unit;

[0161] A reference demand value correction module is used to correct the reference demand value;

[0162] A corresponding situation determination module, used for determining the receiving unit corresponding to the output unit;

[0163] A splitting situation screening module is used to screen the overall processing solutions according to the splitting situation of the information in each overall processing solution;

[0164] A storage deviation screening module is used to screen the overall processing scheme according to the storage deviation of each receiving unit in each overall processing scheme;

[0165] The data information transmission module is used to control and process the transmission of data information.

[0166] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

Claims

1. A distributed storage cabinet management method based on the Internet of Things, characterized in that: include: Obtain the storage load ratio of each storage unit; A storage unit whose storage load ratio is less than a preset demand integration ratio is defined as an integration unit, and the storage load ratios of all integration units are summed up to determine the overall integration ratio; The required storage quantity is determined by calculating the overall integration ratio and the preset demand load ratio; Sorting the integrated units from large to small according to the storage load ratio to determine the unit integration order, and defining the corresponding integrated units as receiving units according to the required storage quantity from front to back in the overall unit order, and defining the remaining integrated units as output units; In the receiving unit, a difference calculation is performed according to the demand load ratio and the storage load ratio to determine the feasible receiving ratio, and the storage load ratio of the output unit is determined as the demand output ratio; The receiving unit corresponding to each output unit is determined according to the feasible receiving ratio and the required output ratio, and the data in the output unit is transmitted to the corresponding receiving unit, and the output unit is controlled to sleep after the data transmission of the output unit is completed.

2. The distributed storage cabinet management method based on the Internet of Things according to claim 1 is characterized in that: After the unit integration sequence is determined, the distributed storage cabinet management method further includes: Obtaining the unit start time point of each receiving unit; Determine the unit storage time interval according to the unit start time point and the current time point, and divide the unit storage time interval into a plurality of fixed intervals according to a preset fixed time length; In a fixed interval, the average value of the storage load ratio at each time point is calculated to determine the fixed representative ratio, and the work loss value is determined based on all the fixed representative ratios and the fixed duration; The residual loss value is determined by performing a difference calculation based on the preset allowable loss value and the working loss value; The integration units whose residual loss values ​​are less than the preset reference demand values ​​are eliminated from the unit integration sorting.

3. The distributed storage cabinet management method based on the Internet of Things according to claim 2 is characterized in that: After the integrated unit is removed from the unit integration sorting, the distributed storage cabinet management method based on the Internet of Things also includes: Sorting the integrated units in the unit integration sorting to determine the number of sorting units; Determine whether the number of sorting units is less than the required storage quantity; If the number of sorting units is not less than the required storage quantity, the receiving unit is determined according to the unit integration sorting; If the number of sorting units is less than the required storage number, the eliminated integrated units will be restored, and the benchmark demand value will be corrected according to the preset unit correction value, and the integrated units will be eliminated again according to the corrected benchmark demand value until the number of sorting units is not less than the required storage number.

4. The distributed storage cabinet management method based on the Internet of Things according to claim 3 is characterized in that: The step of determining the receiving unit corresponding to each output unit according to the feasible receiving ratio and the required output ratio includes: The output units are sorted from small to large according to the demand output proportion to determine the unit output order, and the first output unit in the unit output order is defined as the priority unit; Determine a feasible combination scheme among all receiving units according to the demand output ratio of the priority unit, and update the feasible receiving ratio of each receiving unit according to the feasible combination scheme after the feasible combination scheme is determined; After the feasible combination scheme of the priority unit is determined, the feasible combination scheme of the second output unit is determined according to the unit output sorting, and the feasible combination scheme of each output unit is determined repeatedly until all output units have feasible combination schemes; Perform comprehensive processing according to feasible combination schemes of all output units to determine an overall processing scheme, and obtain the number of data splits of each output unit in the overall processing scheme; The overall split number is determined by summing up all the data split numbers, and the overall split number with the smallest value is determined according to the preset sorting rules, and the overall processing scheme corresponding to the overall split number is defined as the transmission scheme, and the receiving unit corresponding to each output unit is determined according to the transmission scheme.

5. The distributed storage cabinet management method based on the Internet of Things according to claim 4 is characterized in that: At After the overall split quantity is determined, the distributed storage cabinet management method based on the Internet of Things also includes: Determine whether there are at least two overall processing solutions with the same and minimum number of overall splits; If there are not at least two overall processing solutions with the same and smallest number of overall splits, the overall processing solution with the smallest number of overall splits is determined as the transmission solution to be used; If there are at least two overall processing solutions with the same and smallest number of overall splits, then obtain the proportion of the post-receiving load after the receiving unit receives the data output by the output unit under each overall processing solution; Perform an average calculation based on the overall integration ratio and the required storage quantity to determine the average storage ratio; The storage deviation value of the solution is determined by calculating the average storage ratio and the load ratio after each reception; The deviation value is stored in a solution with the smallest value according to the sorting rule, and the overall processing solution corresponding to the deviation value stored in the solution is determined as the transmission solution to be used.

6. The distributed storage cabinet management method based on the Internet of Things according to claim 5 is characterized in that: After the storage deviation value of the solution is determined, the distributed storage cabinet management method based on the Internet of Things also includes: Determine whether there are at least two overall processing solutions with the same and smallest storage deviation values; If there are not at least two overall processing solutions with the same and smallest solution storage deviation value, the overall processing solution with the smallest solution storage deviation value is determined as the transmission solution to be used; If there are at least two overall processing solutions with the same and smallest storage deviation values, define the receiving unit corresponding to the output unit as an alternative unit according to the overall processing solution, obtain the first data storage time of each data in the output unit, and obtain the second data storage time of each data in the alternative unit; Performing a difference calculation based on the first data storage time and the second data storage time to determine a storage difference duration, and defining data in the output unit whose storage difference duration is less than a preset similar duration as similar data; Determine similar load proportions based on similar data and all data, and calculate the average of all similar load proportions to determine similar average proportions; The similarity average ratio with the largest value is determined according to the sorting rule, and the overall processing scheme corresponding to the similarity average ratio is determined as the transmission scheme to be used.

7. The distributed storage cabinet management method based on the Internet of Things according to claim 6 is characterized in that: The step of transmitting the data in the output unit to the corresponding receiving unit includes: An output unit corresponding to at least two receiving units is defined as a split unit; Determine a similar load ratio according to the data of the splitting unit and the data of each receiving unit, and define the similar load ratio as a split similarity ratio; The data receiving order of each receiving unit is determined from large to small according to the split similarity ratio, and the data of the split unit is controlled to be transmitted in sequence according to the data receiving order.

8. A distributed storage cabinet management system based on the Internet of Things, characterized in that: include: An acquisition module is used to obtain the storage load ratio of each storage unit; A processing module, connected to the acquisition module and the judgment module, for storing and processing information; A judgment module, connected with the acquisition module and the processing module, for judging the information; The processing module defines the storage unit whose storage load ratio determined by the determination module is less than the preset demand integration ratio as an integration unit, and performs a sum calculation based on the storage load ratios of all integration units to determine the overall integration ratio; The processing module calculates the required storage quantity based on the overall integration ratio and the preset demand load ratio; The processing module sorts the integrated units according to the storage load ratio from large to small to determine the unit integration order, and defines the corresponding integrated units as receiving units according to the required storage quantity from front to back in the overall unit order, and defines the remaining integrated units as output units; The processing module performs a difference calculation in the receiving unit according to the required load ratio and the storage load ratio to determine the feasible receiving ratio, and determines the storage load ratio of the output unit as the required output ratio; The processing module determines the receiving unit corresponding to each output unit according to the feasible receiving ratio and the required output ratio, transmits the data in the output unit to the corresponding receiving unit, and controls the output unit to sleep after the data transmission of the output unit is completed.