Movatterモバイル変換


[0]ホーム

URL:


CN118519588A - Distributed storage cabinet management method based on Internet of things - Google Patents

Distributed storage cabinet management method based on Internet of things
Download PDF

Info

Publication number
CN118519588A
CN118519588ACN202410989876.7ACN202410989876ACN118519588ACN 118519588 ACN118519588 ACN 118519588ACN 202410989876 ACN202410989876 ACN 202410989876ACN 118519588 ACN118519588 ACN 118519588A
Authority
CN
China
Prior art keywords
unit
storage
units
duty ratio
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202410989876.7A
Other languages
Chinese (zh)
Other versions
CN118519588B (en
Inventor
毛鑫
刘宗瑒
张道连
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Muteng Technology Co ltd
Original Assignee
Shenzhen Muteng Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Muteng Technology Co ltdfiledCriticalShenzhen Muteng Technology Co ltd
Priority to CN202410989876.7ApriorityCriticalpatent/CN118519588B/en
Publication of CN118519588ApublicationCriticalpatent/CN118519588A/en
Application grantedgrantedCritical
Publication of CN118519588BpublicationCriticalpatent/CN118519588B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The application relates to a distributed storage cabinet management method based on the Internet of things, which relates to the field of information storage technology, and comprises the steps of obtaining a storage load ratio; defining a storage unit with a storage load ratio smaller than a demand integration ratio as an integration unit, and determining an overall integration ratio according to all the integration units; determining a required storage quantity according to the integral duty ratio and the required load duty ratio; sorting in the integrating unit according to the storage load ratio from large to small to determine unit integration sorting, and defining a receiving unit and an output unit in the unit overall sorting; and transmitting the data in the output unit to the corresponding receiving unit according to the receiving unit and the output unit, and controlling the output unit to sleep after the data transmission of the output unit is completed. The application has the effect of improving the cost performance of the distributed storage cabinet for storing information.

Description

Distributed storage cabinet management method based on Internet of things
Technical Field
The application relates to the field of information storage technology, in particular to a distributed storage cabinet management method based on the Internet of things.
Background
A distributed storage cabinet is a device for storing large amounts of data, and is typically composed of a plurality of individual storage units, which may be distributed in different geographical locations, connected by a network, together forming a vast storage system.
In the related art, when information is stored by using a distributed storage cabinet, each storage unit stores information, and when the information is called, the information stored in the storage unit is deleted, and at the moment, space can be made in the storage unit for storing new information.
In the related art, when the information of the storage unit is called and no new information is filled, the storage unit may have a part of unused storage space, and at this time, the storage space is wasted, but the storage unit still needs to be in a working state because the information is still stored in the storage unit, so that the cost performance of the distributed storage cabinet for storing the information is lower, and there is room for improvement.
Disclosure of Invention
In order to improve the cost performance of the distributed storage cabinet for storing information, the application provides a distributed storage cabinet management method based on the Internet of things.
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 scheme:
A distributed storage cabinet management method based on the Internet of things comprises the following steps:
acquiring the storage load duty ratio of each storage unit;
defining a storage unit with a storage load ratio smaller than a preset demand integration ratio as an integration unit, and carrying out summation calculation according to the storage load ratios of all the integration units to determine an overall integration ratio;
calculating according to the integral integration duty ratio and a preset demand load duty ratio to determine the demand storage quantity;
The method comprises the steps of sorting the integrated units according to the storage load ratio from large to small to determine unit integration sorting, defining corresponding integrated units as receiving units according to the storage quantity required from front to back in unit overall sorting, and defining the rest integrated units as output units;
Performing difference calculation in the receiving unit according to the required load duty ratio and the storage load duty ratio to determine a feasible receiving duty ratio, and determining the storage load duty ratio of the output unit as a required output duty ratio;
And determining corresponding receiving units of the output units according to the feasible receiving duty ratio and the required output duty ratio, transmitting data in the output units to the corresponding receiving units, and controlling the output units to sleep after the data transmission of the output units is completed.
Optionally, after the unit integration ordering is determined, the distributed storage cabinet management method further includes:
acquiring a unit starting time point of each receiving unit;
Determining a unit storage time interval according to a unit starting time point and a current time point, and dividing the unit storage time interval into a plurality of fixed intervals according to preset fixed time length;
in the fixed interval, carrying out average value calculation according to the storage load duty ratio at each time point to determine a fixed representative duty ratio, and carrying out calculation according to all the fixed representative duty ratios and fixed time length to determine a working loss value;
performing difference calculation according to a preset allowable loss value and a working loss value to determine a residual loss value;
and eliminating the integrated units with the residual loss values smaller than the preset reference requirement value from the unit integrated sorting.
Optionally, after the integrated units are removed from the unit integrated sorting, the distributed storage cabinet management method based on the internet of things further includes:
Sorting according to the integrated units in the unit integrated sorting to determine the number of sorting units;
Judging whether the number of the sequencing units is smaller than the required storage number;
If the number of the sequencing units is not less than the required storage number, determining a receiving unit according to the unit integration sequencing;
if the number of the sorting units is smaller than the number of the required storage units, recovering the rejected integrating units, correcting the reference required value according to the preset unit correction value, and carrying out rejection processing on the integrating units again according to the corrected reference required value until the number of the sorting units is not smaller than the number of the required storage units.
Optionally, the step of determining the corresponding receiving unit of each output unit according to the feasible receiving duty ratio and the required output duty ratio includes:
Determining unit output orders in the output units according to the orders of the required output duty ratios from small to large, and defining a first output unit in the unit output orders as a priority unit;
determining a feasible combination scheme in all receiving units according to the demand output duty ratio of the priority unit, and updating the feasible receiving duty ratio of each receiving unit according to the feasible combination scheme after the feasible combination scheme is determined;
Determining the feasible combination scheme of each output unit repeatedly according to the unit output sequence after determining the feasible combination scheme of the priority unit so as to determine the feasible combination scheme of the second output unit, until all the output units have the feasible combination scheme;
Carrying out comprehensive processing according to the feasible combination schemes of all the output units to determine an overall processing scheme, and acquiring the data splitting number of each output unit in the overall processing scheme;
And carrying out summation calculation according to all the data splitting numbers to determine the overall splitting number, determining the overall splitting number with the minimum value according to a preset ordering rule, defining an overall processing scheme corresponding to the overall splitting number as a transmission scheme, and determining a receiving unit corresponding to each output unit according to the transmission scheme.
Optionally, after the overall splitting number is determined, the distributed storage cabinet management method based on the internet of things further includes:
Judging whether at least two integral treatment schemes with the same integral splitting quantity and minimum integral splitting quantity exist;
If at least two overall processing schemes with the same overall splitting number and the minimum overall splitting number do not exist, determining the overall processing scheme with the minimum overall splitting number as a transmission scheme;
If at least two integral processing schemes with the same integral splitting quantity and the minimum integral splitting quantity exist, acquiring a load ratio after receiving the data output by the output unit by the receiving unit under each integral processing scheme;
Carrying out mean value calculation according to the integral integration duty ratio and the required storage quantity to determine a mean value storage duty ratio;
calculating according to the average storage duty ratio and each received load duty ratio to determine a scheme storage bias value;
and storing the deviation value according to the ordering rule in a scheme with the minimum determined value, and determining the overall processing scheme corresponding to the stored deviation value according to the scheme as a transmission scheme.
Optionally, after the solution storage deviation value is determined, the distributed storage cabinet management method based on the internet of things further includes:
Judging whether at least two integral processing schemes with the same and minimum scheme storage deviation value exist;
if at least two overall processing schemes with the same scheme storage deviation value and the minimum scheme storage deviation value do not exist, determining the overall processing scheme with the minimum scheme storage deviation value as a transmission scheme;
If at least two integral processing schemes with the same and minimum scheme storage deviation value exist, defining a receiving unit corresponding to an output unit as an alternative unit according to the integral processing scheme, acquiring a first data storage time of each data in the output unit, and acquiring a second data storage time of each data in the alternative unit;
performing difference calculation according to the first data storage time and the second data storage time to determine storage difference time length, and defining data with storage difference time length smaller than preset similar time length in an output unit as similar data;
determining a similar load ratio according to the similar data and all the data, and carrying out average calculation according to all the similar load ratios to determine a similar average ratio;
And determining the similar average duty ratio with the largest value according to the ordering rule, and determining the overall processing scheme corresponding to the similar average duty ratio as the transmission scheme.
Optionally, the step of transmitting the data in the output unit to the corresponding receiving unit comprises:
Defining an output unit corresponding to at least two receiving units as a splitting unit;
Determining a similar load ratio according to the data of the splitting unit and the data of each receiving unit, and defining the similar load ratio as the splitting similar ratio;
and determining the data receiving sequence of each receiving unit according to the split similar duty ratio from large to small, and controlling the data of the split units to be sequentially transmitted according to the data receiving sequence.
In a second aspect, the application provides a distributed storage cabinet management system based on the internet of things, which adopts the following technical scheme:
A distributed storage cabinet management system based on the internet of things, comprising:
The acquisition module is used for acquiring the storage load duty ratio of each storage unit;
the processing module is connected with the acquisition module and the judging module and is used for storing and processing information;
The judging module is connected with the acquisition module and the processing module and is used for judging information;
The processing module defines a storage unit with the storage load ratio less than the preset demand integration ratio judged by the judging module as an integration unit, and performs summation calculation according to the storage load ratios of all the integration units to determine the overall integration ratio;
the processing module calculates according to the integral integration duty ratio and the preset demand load duty ratio to determine the demand storage quantity;
The processing module performs sorting in the integrating units according to the storage load ratio from large to small to determine unit integration sorting, defines corresponding integrating units as receiving units according to the storage quantity required from front to back in the unit overall sorting, and defines the rest integrating units as output units;
the processing module performs difference calculation in the receiving unit according to the required load duty ratio and the storage load duty ratio to determine a feasible receiving duty ratio, and determines the storage load duty ratio of the output unit as the required output duty ratio;
the processing module determines corresponding receiving units of the output units according to the feasible receiving duty ratio and the required output duty ratio, transmits data in the output units to the corresponding receiving units, and controls the output units to sleep after the data transmission of the output units is completed.
In summary, the present application includes at least one of the following beneficial technical effects:
When no more information is needed to be stored in the storage units of the storage cabinet outside, the storage units with smaller current storage data quantity can be determined and integrated, so that the number of the storage units started in operation can be reduced, and the cost performance of the storage cabinet for storing the data information is improved;
When determining the storage units needing to be dormant, the loss generated by the current work of each storage unit can be analyzed, so that the storage units with higher loss can be dormant and controlled, and the service life of the storage units is prolonged;
When the data information transmission processing is carried out, the association degree of the data in each storage unit can be analyzed, so that the information with higher association degree can be stored in the same storage unit as much as possible, and the subsequent information calling is facilitated.
Drawings
Fig. 1 is a flow chart of a distributed storage cabinet management method based on the internet of things.
FIG. 2 is a flow chart of a sleep memory cell selection method.
Fig. 3 is a flowchart of a reference demand value correction method.
Fig. 4 is a flowchart of a unit correspondence determination method.
Fig. 5 is a flow chart of a data split case screening method.
FIG. 6 is a flow chart of a data storage bias condition screening method.
Fig. 7 is a flowchart of a data information transmission control method.
Fig. 8 is a block flow diagram of a distributed storage cabinet management method based on the internet of things.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to fig. 1 to 8 and the embodiments. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
Embodiments of the application are described in further detail below with reference to the drawings.
The embodiment of the application discloses a distributed storage cabinet management method based on the Internet of things, which is characterized in that when no more information is required to be stored in a distributed storage cabinet outside, the storage condition of each storage unit is analyzed, the information in part of the storage units is transmitted to other storage units in a data information integration mode, at the moment, the storage units transmitted by the information can carry out dormancy processing because no information is stored, and at the moment, the number of the storage units required to be started when the same amount of data is stored is minimum, so that the cost performance of the storage cabinet for storing the information can be improved.
Referring to fig. 1, a method flow of a distributed storage cabinet management method based on the internet of things includes the following steps:
step S100: and obtaining the storage load duty ratio of each storage unit.
The storage load ratio is the ratio of the data information stored in the storage units to the total data information which can be stored, wherein the total data information which can be stored by each storage unit in the distributed storage cabinet is the same.
Step S101: and defining the storage units with storage load proportion smaller than the preset demand integration proportion as integration units, and carrying out summation calculation according to the storage load proportion of all the integration units to determine the integral integration proportion.
The storage cost performance of the storage units is lower when the storage cost performance is lower when the storage units are started and the storage load is smaller than the storage cost performance, and the storage cost performance of the storage units is lower when the storage load is smaller than the storage cost performance; the overall integrated duty cycle is the sum of the storage load duty cycles of all integrated units.
Step S102: and calculating according to the integral duty ratio and the preset demand load duty ratio to determine the demand storage quantity.
The required load ratio is the maximum storage load ratio allowed to appear when the rated storage unit set by the staff can effectively store the new data information, for example 80%, the required storage quantity is the quantity of the storage units required to be started, and the required storage quantity is determined by dividing the integral integration ratio by the required load ratio and rounding up according to the result.
Step S103: and ordering the integrated units according to the storage load ratio from large to small to determine unit integration ordering, defining the corresponding integrated units as receiving units according to the storage quantity required from front to back in the unit overall ordering, and defining the rest integrated units as output units.
The unit integration ordering is the ordering of the integration units obtained by ordering the integration units according to the storage load ratio from large to small, and defines a receiving unit and an output unit to determine the receiving and output conditions of data, wherein the receiving unit is a storage unit which needs to receive the data information of the other output units, and the output unit is a storage unit which needs to transmit the data information to the other receiving units.
Step S104: and performing difference calculation in the receiving unit according to the required load duty ratio and the storage load duty ratio to determine a feasible receiving duty ratio, and determining the storage load duty ratio of the output unit as the required output duty ratio.
The feasible receiving duty ratio is that of the data information which can be received by the receiving unit at most at present, the storage load duty ratio is subtracted from the demand load duty ratio to determine, and the demand output duty ratio is that of the storage load of the output unit, that is, the duty ratio of all data information to be transmitted by the output unit.
Step S105: and determining corresponding receiving units of the output units according to the feasible receiving duty ratio and the required output duty ratio, transmitting data in the output units to the corresponding receiving units, and controlling the output units to sleep after the data transmission of the output units is completed.
The receiving units corresponding to the output units can be determined by numbering the output units and the receiving units, for example, the output units and the receiving units are numbered sequentially from front to back, the receiving unit with the front numbering is preferentially determined by the receiving unit, the receiving unit with the front numbering is preferentially determined by the data information, namely, the output unit with the first numbering is compared with the feasible receiving duty ratio of the receiving unit with the first numbering according to the output duty ratio of the requirement, when the output duty ratio of the requirement is larger than the feasible receiving duty ratio, the data information of the output unit is required to be continuously transmitted to the receiving unit with the rear numbering, otherwise, when the output duty ratio of the requirement is not larger than the feasible receiving duty ratio, the first receiving unit is required to be capable of completely receiving the data information of the first output unit, and at the moment, the second output unit is capable of continuously transmitting the data information to the first receiving unit, and the like, so that the corresponding receiving unit determination of each output unit is realized; the receiving units corresponding to the output units are only one method, and the method of step S400-step S404 is also provided in the present application, and is not described here again; the data of the output unit is transmitted to the corresponding receiving unit, and the output unit is not provided with stored data information at the moment, so that the output unit can be controlled to carry out dormancy processing, the number of the storage units started by the whole storage cabinet is small at the moment, and the cost performance of the storage cabinet for storing the data information is improved.
Referring to fig. 2, after determining the unit integration ordering, the distributed storage cabinet management method further includes:
step S200: a unit start time point of each receiving unit is acquired.
The unit start-up time point is a time point when the receiving unit last transitions from the sleep state to the enabled state and starts storing the data information.
Step S201: determining a unit storage time interval according to a unit starting time point and a current time point, and dividing the unit storage time interval into a plurality of fixed intervals according to preset fixed time length.
The unit storage time interval is a time interval in which the storage unit is started, namely a time interval in which information is stored, and the time interval takes a unit starting time point and a current time point as two endpoints; the fixed time length is a fixed value time length set by a worker, and the fixed interval is a time interval obtained by equally dividing the unit storage time interval according to the fixed time length.
Step S202: and in the fixed interval, carrying out average calculation according to the storage load duty ratio at each time point to determine a fixed representative duty ratio, and carrying out calculation according to all the fixed representative duty ratios and the fixed duration to determine the working loss value.
The fixed representative duty ratio is the average load duty ratio of the data information stored by the storage unit in the fixed interval, namely, the storage load duty ratio of each time point in the fixed interval is added and divided by the number of the time points in the fixed interval; the working loss value is generated when the reaction storage unit stores data information, and when the storage unit is used for a long time, the stored information is more, the corresponding loss value is also more, wherein the working loss value is obtained by multiplying all the fixed representative duty ratios by fixed time length and then adding the fixed representative duty ratios.
Step S203: and carrying out difference value calculation according to the preset allowable loss value and the working loss value to determine a residual loss value.
The allowable loss value is a loss of work value that can be consumed after the memory cell is converted from the sleep state to the active state, that is, the loss of work value that can be used by the memory cell until the next sleep is performed, and the remaining loss value, that is, the loss of work value that can be consumed by the memory cell, is lower, which means that the memory cell is more "tired" in operation, and the sleep process is more required, and is determined by subtracting the loss of work value from the allowable loss value.
Step S204: and eliminating the integrated units with the residual loss values smaller than the preset reference requirement value from the unit integrated sorting.
The reference requirement value is the maximum residual loss value allowed to occur when the affirmed storage unit set by the staff member can carry out the dormancy processing preferentially compared with the rest storage units, and when the residual loss value is smaller than the reference requirement value, the integration unit can carry out the dormancy processing preferentially, and the integration unit is removed from the unit integration sequencing at the moment, so that the integration unit can only be defined as an output unit, and the integration unit can be made to carry out dormancy subsequently.
Referring to fig. 3, after the integrated units are removed from the unit integration ordering, the distributed storage cabinet management method based on the internet of things further includes:
step S300: and sorting according to the integrated units in the unit integrated sorting to determine the number of sorting units.
The number of sorting units is the total number of integrating units in the determined unit integrating sorting.
Step S301: and judging whether the number of the sequencing units is smaller than the required storage number.
The purpose of the determination is to know whether the number of receiving units that can be currently determined is sufficient.
Step S3011: if the number of the sequencing units is not less than the required storage number, determining the receiving units according to the unit integration sequencing.
When the number of the sequencing units is not less than the required storage number, it is indicated that enough integrated units which can be determined as receiving units exist, and then the receiving unit determination is normally performed.
Step S3012: if the number of the sorting units is smaller than the number of the required storage units, recovering the rejected integrating units, correcting the reference required value according to the preset unit correction value, and carrying out rejection processing on the integrating units again according to the corrected reference required value until the number of the sorting units is not smaller than the number of the required storage units.
When the number of sequencing units is less than the required storage number, it is stated that there are not enough integrated units that can be determined to be receiving units, at which time further analysis is required; the method realizes re-analysis again by means of recovering the rejected integrated units, and the updating of the reference requirement value can be realized by adding the unit correction value to the reference requirement value, so that the integrated units required to be rejected can be determined again until the receiving units meeting the requirements are determined in all the integrated units, wherein the unit correction value is a constant value parameter set by staff.
Referring to fig. 4, the step of determining a receiving unit corresponding to each output unit according to the possible receiving duty ratio and the required output duty ratio includes:
step S400: and determining the unit output order according to the order of the required output duty ratio from small to large in the output units, and defining the first output unit in the unit output order as a priority unit.
The unit output sequencing is that the output unit is sequenced according to the required output duty ratio from small to large, and then the storage unit sequencing is obtained, and the priority unit is defined to determine the output unit needing primary analysis, so that the subsequent analysis is facilitated.
Step S401: and determining a feasible combination scheme in all the receiving units according to the demand output duty ratio of the priority unit, and updating the feasible receiving duty ratio of each receiving unit according to the feasible combination scheme after the feasible combination scheme is determined.
The possible combination scheme may be a scheme that can completely transfer the data information with the required output ratio of the priority unit, for example, there is a receiving unit A, B%, where the possible receiving ratio of the receiving unit a is 5%, the possible receiving ratio of the receiving unit B is 3%, the required output ratio of the priority unit is 3%, and the minimum data information transfer amount is 1%, and then the possible combination scheme includes the following steps: ① Transferring all data information to A; ② Transferring all data information to B; ③ Transferring 1% of data information to A and transferring the other 2% of data information to B; ④ Transferring 2% of data information to A and transferring the other 1% of data information to B; thus, there are four possible combinations of the above examples; under each possible combination scheme, after the receiving unit receives the data information of the priority unit, the corresponding possible receiving duty ratio is updated.
Step S402: and after the feasible combination schemes of the priority units are determined, determining the feasible combination scheme of the second output unit according to the unit output sequence, and repeatedly determining the feasible combination scheme of each output unit until all the output units have the feasible combination scheme.
The repeated determining unit outputs the feasible combination schemes of the output units after sequencing, so that the scheme capable of effectively transmitting the data information can be determined, and the subsequent analysis is convenient.
Step S403: and carrying out comprehensive processing according to the feasible combination schemes of all the output units to determine an overall processing scheme, and acquiring the data splitting number of each output unit in the overall processing scheme.
The overall processing scheme can be a processing scheme when data information of all output units is effectively transmitted, for example, there are two output units in total, wherein the first output unit has two possible combination schemes, under the first possible combination scheme, the second output unit has four possible combination schemes, under the second possible combination scheme, the second output unit has two possible combination schemes, and then there are six overall processing schemes in total; the number of data splitting, that is, the number of data splitting of one output unit to different receiving units in the data information transmission process, takes the receiving unit A, B as an example, and each of ③ and ④ in four possible combination schemes corresponds to one splitting, that is, when the data information of a single output unit is transmitted to n receiving units, the number of data splitting is added with n-1.
Step S404: and carrying out summation calculation according to all the data splitting numbers to determine the overall splitting number, determining the overall splitting number with the minimum value according to a preset ordering rule, defining an overall processing scheme corresponding to the overall splitting number as a transmission scheme, and determining a receiving unit corresponding to each output unit according to the transmission scheme.
The total splitting number is the sum of all the splitting numbers of the data in a single overall processing scheme, so that in order to ensure the integrity of the subsequent data and facilitate the subsequent data call, the situation that the data information of the same storage unit is stored in different storage units is avoided as much as possible in the process of transmitting the data information, and therefore, the subsequent analysis is needed; the sorting rule is a method which is set by staff and can sort the values, such as an bubbling method, and the overall splitting number with the smallest value can be determined through the sorting rule, namely, the data information in the same storage unit is least likely to be split when the overall processing scheme corresponding to the overall splitting number is executed, and the overall processing scheme is defined as a transmission scheme to realize the distinction of different overall schemes at the moment, so that the receiving units of the output units can be determined according to the overall processing scheme.
Referring to fig. 5, after the overall splitting number is determined, the distributed storage cabinet management method based on the internet of things further includes:
Step S500: and judging whether at least two integral treatment schemes with the same integral splitting number and minimum integral splitting number exist.
The purpose of the determination is to know whether there are multiple overall treatment schemes that meet the requirements.
Step S5001: if at least two overall processing schemes with the same overall splitting number and the minimum overall processing scheme does not exist, determining the overall processing scheme with the minimum overall splitting number as a transmission scheme.
When at least two overall processing schemes with the same overall splitting number and the minimum overall processing scheme does not exist, only one overall processing scheme can be determined to be a transmission scheme, and definition analysis is performed normally.
Step S5002: if at least two integral processing schemes with the same integral splitting quantity and the minimum integral splitting quantity exist, the load ratio after receiving the data output by the output unit is received by the receiving unit under each integral processing scheme is obtained.
When there are at least two overall treatment schemes with the same and minimum overall splitting number, it is indicated that there are a plurality of overall treatment schemes capable of being used as the transmission scheme, and further analysis is required at this time; the load ratio after receiving is that of each receiving unit after receiving the data information of the output unit according to the overall processing scheme.
Step S501: and carrying out average value calculation according to the integral integration duty ratio and the required storage quantity to determine the average value storage duty ratio.
And under the theoretical condition, the average storage duty ratio is the load duty ratio of each receiving unit after each receiving unit carries out data information halving, and the load duty ratio is determined by dividing the integral integration duty ratio by the required storage quantity.
Step S502: and calculating according to the average storage duty ratio and each received load duty ratio to determine a scheme storage deviation value.
The scheme storage deviation value is a numerical value reflecting whether the data information is equally divided or not, the larger the numerical value is, the more unreasonable the distribution of the data information is, and the calculation formula isWhereinThe deviation values are stored for the scheme and,Is the firstThe duty cycle of the load after reception is determined,The duty cycle is stored for the mean value,The amount is stored for the demand.
Step S503: and storing the deviation value according to the ordering rule in a scheme with the minimum determined value, and determining the overall processing scheme corresponding to the stored deviation value according to the scheme as a transmission scheme.
The scheme storage deviation value with the smallest value can be determined through the ordering rule, namely, the overall processing scheme corresponding to the scheme storage deviation value can enable the data information of each receiving unit to be relatively average, and the overall processing scheme is determined to be a transmission scheme at the moment so that the data information storage effect is good.
Referring to fig. 6, after the solution storage bias value is determined, the distributed storage cabinet management method based on the internet of things further includes:
step S600: and judging whether at least two overall processing schemes with the same and minimum scheme storage deviation value exist.
The purpose of the determination is to know whether there are multiple overall treatment schemes that meet the requirements.
Step S6001: if at least two overall processing schemes with the same and minimum scheme storage deviation value do not exist, determining the overall processing scheme with the minimum scheme storage deviation value as a transmission scheme.
When there are no overall processing schemes in which at least two schemes store the same deviation value and the minimum, it is sufficient to say that only one overall processing scheme can be determined to use the transmission scheme, and analysis is normally defined.
Step S6002: if at least two overall processing schemes with the same and minimum storage deviation value exist, defining a receiving unit corresponding to an output unit as an alternative unit according to the overall processing schemes, acquiring a first data storage time of each data in the output unit, and acquiring a second data storage time of each data in the alternative unit.
When there are at least two overall processing schemes with the same and minimum stored bias values, it is indicated that there are a plurality of overall processing schemes that can be used as the transmission scheme, and further analysis is required; the alternative units are defined to distinguish the receiving units, the first data storage time is the storage time of the data information in the output unit in the storage cabinet, and the second data storage time is the storage time of the data information in the alternative units in the storage cabinet.
Step S601: and performing difference calculation according to the first data storage time and the second data storage time to determine storage difference time, and defining data with storage difference time smaller than preset similar time in the output unit as similar data.
The storage difference time length is the time interval time length between the first data storage time and the second data storage time; the similar time length is the maximum storage difference time length which is set by the staff and is required to be met when the two pieces of data information are considered to be the same batch of information, and when the storage difference time length is smaller than the similar time length, the data of the same batch of data can be indicated to be in the alternative unit, and the data are defined as similar data for further analysis.
Step S602: and determining a similar load duty ratio according to the similar data and all the data, and carrying out average calculation according to all the similar load duty ratios to determine a similar average duty ratio.
The similar load ratio is the ratio of the data determined as similar data in the output unit to all the data in the output unit, and the similar average ratio is the average value of the similar load ratios of all the output units after being processed according to the overall processing scheme.
Step S603: and determining the similar average duty ratio with the largest value according to the ordering rule, and determining the overall processing scheme corresponding to the similar average duty ratio as the transmission scheme.
The similar average duty ratio with the largest value can be determined through the sorting rule, namely the current overall processing scheme can store the data of the same batch in the same storage unit more possibly, and the overall processing scheme is determined to be a transmission scheme.
Referring to fig. 7, the step of transmitting data in an output unit to a corresponding receiving unit includes:
step S700: an output unit corresponding to at least two receiving units is defined as a split unit.
The splitting unit needs to transmit the data information to the output units of at least two different receiving units, and defines the splitting unit to distinguish the different output units, so that the subsequent analysis is convenient.
Step S701: and determining a similar load ratio according to the data of the splitting unit and the data of each receiving unit, and defining the similar load ratio as the splitting similar ratio.
The similar load ratio is a data comparison value between the splitting unit and a receiving unit in the scheme for receiving the data information of the splitting unit, and the method for determining the similar load ratio is the same as the method in step S602, which is not described herein in detail; split-like duty cycles are defined to facilitate subsequent analysis.
Step S702: and determining the data receiving sequence of each receiving unit according to the split similar duty ratio from large to small, and controlling the data of the split units to be sequentially transmitted according to the data receiving sequence.
The data receiving order is the order of the receiving units determined by the splitting similarity ratio of each receiving unit from large to small, and the data is received according to the data receiving order, so that the receiving units with higher splitting similarity ratio can receive the data preferentially, and the probability that the data possibly serving as the same batch are stored in the same storage unit is increased.
Referring to fig. 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:
The acquisition module is used for acquiring the storage load duty ratio of each storage unit;
the processing module is connected with the acquisition module and the judging module and is used for storing and processing information;
The judging module is connected with the acquisition module and the processing module and is used for judging information;
The processing module defines a storage unit with the storage load ratio less than the preset demand integration ratio judged by the judging module as an integration unit, and performs summation calculation according to the storage load ratios of all the integration units to determine the overall integration ratio;
the processing module calculates according to the integral integration duty ratio and the preset demand load duty ratio to determine the demand storage quantity;
The processing module performs sorting in the integrating units according to the storage load ratio from large to small to determine unit integration sorting, defines corresponding integrating units as receiving units according to the storage quantity required from front to back in the unit overall sorting, and defines the rest integrating units as output units;
the processing module performs difference calculation in the receiving unit according to the required load duty ratio and the storage load duty ratio to determine a feasible receiving duty ratio, and determines the storage load duty ratio of the output unit as the required output duty ratio;
The processing module determines corresponding receiving units of the output units according to the feasible receiving duty ratio and the required output duty ratio, transmits data in the output units to the corresponding receiving units, and controls the output units to sleep after the data transmission of the output units is completed;
the sleep unit selection module is used for determining the unit needing to sleep according to the working loss condition of each storage unit;
the reference demand value correction module is used for correcting the reference demand value;
the corresponding condition determining module is used for determining and processing the receiving units corresponding to the output units;
the splitting condition screening module is used for screening the whole processing schemes according to the splitting condition of the information in each whole processing scheme;
The storage deviation screening module is used for screening the whole processing schemes according to the storage deviation condition of each receiving unit in each whole processing scheme;
and the data information transmission module is used for controlling and processing the transmission of the data information.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional modules is illustrated, and in practical application, the above-described functional allocation may be performed by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to perform all or part of the functions described above. The specific working processes of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which are not described herein.

Claims (8)

CN202410989876.7A2024-07-232024-07-23Distributed storage cabinet management method based on Internet of thingsActiveCN118519588B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202410989876.7ACN118519588B (en)2024-07-232024-07-23Distributed storage cabinet management method based on Internet of things

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202410989876.7ACN118519588B (en)2024-07-232024-07-23Distributed storage cabinet management method based on Internet of things

Publications (2)

Publication NumberPublication Date
CN118519588Atrue CN118519588A (en)2024-08-20
CN118519588B CN118519588B (en)2024-09-20

Family

ID=92274334

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202410989876.7AActiveCN118519588B (en)2024-07-232024-07-23Distributed storage cabinet management method based on Internet of things

Country Status (1)

CountryLink
CN (1)CN118519588B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20120023292A1 (en)*2010-07-222012-01-26Hitachi, Ltd.Storage apparatus and storage control method for the same
US9697226B1 (en)*2013-06-282017-07-04Sanmina CorporationNetwork system to distribute chunks across multiple physical nodes
CN112015326A (en)*2019-05-282020-12-01浙江宇视科技有限公司Cluster data processing method, device, equipment and storage medium
CN116302811A (en)*2023-02-242023-06-23深圳华为云计算技术有限公司Method, device, equipment and computer readable storage medium for detecting disk state
CN117687569A (en)*2023-10-312024-03-12苏州元脑智能科技有限公司Disk performance optimization method, system, electronic equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20120023292A1 (en)*2010-07-222012-01-26Hitachi, Ltd.Storage apparatus and storage control method for the same
US9697226B1 (en)*2013-06-282017-07-04Sanmina CorporationNetwork system to distribute chunks across multiple physical nodes
CN112015326A (en)*2019-05-282020-12-01浙江宇视科技有限公司Cluster data processing method, device, equipment and storage medium
CN116302811A (en)*2023-02-242023-06-23深圳华为云计算技术有限公司Method, device, equipment and computer readable storage medium for detecting disk state
CN117687569A (en)*2023-10-312024-03-12苏州元脑智能科技有限公司Disk performance optimization method, system, electronic equipment and storage medium

Also Published As

Publication numberPublication date
CN118519588B (en)2024-09-20

Similar Documents

PublicationPublication DateTitle
CN1104146C (en)Device for realizing group calling data transmitting system
CN117271138B (en) A data processing method and system based on data center
CN118519588B (en)Distributed storage cabinet management method based on Internet of things
CN114506239A (en) Power distribution method, system, medium, device and charging station for charging equipment
CN116680070A (en) A training method for edge-end collaborative deep neural network based on hybrid pipeline parallelism
CN118210578B (en)Management system for multiple data source platforms
CN118708326B (en)Resource scheduling method and system based on data center
CN113570094A (en)Battery changing station service management system and method
CN112667260A (en)OTA remote upgrading system and method based on intelligent brain
CN116307295B (en)Intelligent energy digital management system and method applied to cloud platform
CN118779119B (en) A data center-based information storage method and system
CN115866141B (en)Man-machine coupling type call flow control method, system and storage medium
US20140070610A1 (en)Centralized management of the supply of power to a plurality of local power networks
CN119829295A (en)Equipment sharing method and system based on Internet of things
CN119078578B (en) A new energy charging station optimization scheduling method, system, equipment and medium
CN117952405A (en)Method for testing and arranging laboratory middles in battery industry by visual inspection
CN117835095B (en)Cluster ONU idle resource adjustment method and system
CN120307937B (en) Charging station management method and system based on smart box
CN115733163A (en)Vehicle charging station charging and discharging scheduling method, system and device
CN120307937A (en) A charging station management method and system based on smart box
CN120527978A (en)Intelligent charging station resource scheduling method and system based on data processing
CN118708308B (en) A method and system for generating a space-based measurement and control flexible tracking plan based on STN
CN114825553B (en)Electric quantity balance control method and system for mobile power supply device
CN119024192B (en)Fuel cell performance determining method, device, system, vehicle and cloud server
CN117175603B (en)Intelligent scheduling method for charging pile ad hoc network

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp