A punching aluminum veneer production data management method based on the Internet of Things
By layered encoding based on the access frequency of punched aluminum veneer production data, the problem of inefficiency of Hoffman encoding algorithm during decoding is solved, and the rapid decoding of high-frequency access data is achieved and the overall decoding efficiency is improved.
Patent Information
- Application Number
- CN202510152813.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-12
- Publication Date
- 2025-04-11
- Estimated Expiration
- 2045-02-12
AI Technical Summary
The Hoffman encoding algorithm has the problem of inefficiency in decoding, especially when frequent access to high-frequency data is required, the decoding efficiency is significantly reduced.
By performing layered encoding according to the access frequency of the data, setting the segmentation fineness and segmentation information entropy of high access frequency data, reducing the number of segmentation times and coding layers, thereby improving decoding efficiency.
It effectively improves the decoding efficiency of high-frequency access data, reduces the tree depth of the Hoffman tree, reduces decoding waste, and improves the overall decoding efficiency.
Smart Images

Figure CN119645932B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing, and in particular to a punching aluminum single plate production data management method based on the Internet of Things. Background Art
[0002] In order to better understand the production status of perforated aluminum veneers, it is necessary to collect perforated aluminum veneer production data in real time, such as perforated aluminum veneer processing parameter data. As time accumulates, a large amount of perforated aluminum veneer production data will be generated. If it is stored directly, a lot of storage costs will be required.
[0003] As a compression algorithm, the Huffman coding algorithm has a good compression effect. However, the coding algorithm sets codes of different lengths for the data according to the frequency of occurrence of the data, wherein the code length set for the data with high frequency is shorter, and the code length set for the data with low frequency is longer. At the same time, in order to save storage space, the coding algorithm does not insert separators between the codes of different data. Therefore, this coding method is difficult to identify the separation position between the codes of different data, and then each time partial data is read, all the data needs to be decoded before the corresponding data can be read. This coding method obviously has the problem of low decoding efficiency caused by decoding waste, so how to improve decoding efficiency becomes the research focus of the present invention.
[0004] The patent application document with publication number CN116166978A discloses a logistics data compression storage method for supply chain management. The method in the patent application document mainly improves the accuracy of time series data segmentation by eliminating outliers, thereby improving the accuracy of compressed data. The method in the patent application document does not involve the content of improving decoding efficiency, so the method in the patent application document cannot solve the technical problem in this solution. Summary of the invention
[0005] In order to solve the problem of how to improve decoding efficiency, the present invention provides a perforated aluminum veneer production data management method based on the Internet of Things, the method comprising the following steps:
[0006] Obtain production data of several perforated aluminum veneers of each type and the access frequency of each type;
[0007] The segmentation precision of each type is set according to the access frequency of each type; the information entropy of each type of perforated aluminum veneer production data is multiplied by the segmentation precision to obtain the segmented information entropy of each type of perforated aluminum veneer production data;
[0008] The information entropy after segmentation is used to segment and control the production data of each type of perforated aluminum veneer to obtain a number of first-layer segmentation intervals of each type, and the production data of all types of perforated aluminum veneers are encoded according to the first-layer segmentation interval to obtain the first-layer code; the information entropy after segmentation of the first-layer segmentation interval is calculated, and the first-layer segmentation interval is segmented and controlled according to the information entropy after segmentation of the first-layer segmentation interval to obtain a number of second-layer segmentation intervals, and the production data of all types of perforated aluminum veneers are encoded according to the second-layer segmentation interval to obtain the second-layer code; and so on, until the segmentation is to independent data, and the cycle ends;
[0009] The encoding results are stored.
[0010] The present invention performs hierarchical coding on data according to the access frequency of the data, so that the number of coding layers of data with high access frequency is reduced, and the decoding efficiency of high-frequency access data is improved; further, when the data is hierarchically coded according to the access frequency, the information entropy after segmentation of the data with high access frequency is adjusted to be larger, and the number of segmentation times is reduced, thereby achieving the purpose of reducing the number of layers of the data with high access frequency and improving the decoding efficiency of the high-frequency access data; further, when the data is hierarchically coded according to the access frequency, the data is segmented into intervals according to the information entropy after segmentation, so that the diversity of the data is reduced through the interval segmentation, and the tree depth of the Huffman tree is reduced, thereby improving the decoding efficiency.
[0011] Preferably, the step of setting the segmentation fineness of each type according to the access frequency of each type includes:
[0012] The proportion of each type's access frequency to all types' access frequencies is taken as the segmentation fineness of each type.
[0013] The present invention obtains the segmentation fineness by calculating the proportion, and the acquisition method is relatively simple and has higher implementation efficiency.
[0014] Preferably, the segmentation control of each type of perforated aluminum veneer production data by using the segmented information entropy to obtain a plurality of first-layer segmentation intervals of each type includes:
[0015] Obtain the value interval of all perforated aluminum veneer production data of each type, set the variable S, divide the value interval into S sub-intervals of the same width and record them as feasible segmentation intervals; take the mean of any feasible segmentation interval as the first value of the perforated aluminum veneer production data belonging to the feasible segmentation interval; calculate the information entropy of the first value of all perforated aluminum veneer production data and record it as feasible information entropy;
[0016] S is sequentially taken as integers greater than 2 to obtain the feasible information entropy obtained for each value of S; the absolute value of the difference between each feasible information entropy and the information entropy after segmentation is calculated, and the value of S corresponding to the minimum absolute value of the difference is obtained as the number of preferred segmentation intervals;
[0017] The value intervals of all perforated aluminum veneer production data of each type are obtained, and the value intervals are divided into sub-intervals with the same width as the number of preferred segmentation intervals, which are recorded as the first-level segmentation intervals.
[0018] The present invention obtains the number of preferred segmentation intervals by traversing situations where the value of information entropy under different segmentation numbers is close to the information entropy after segmentation. This method of obtaining the number of preferred segmentation intervals has high accuracy.
[0019] Preferably, the encoding process for all types of perforated aluminum veneer production data according to the first layer segmentation interval to obtain the first layer code includes:
[0020] The number of perforated aluminum veneer production data with values in the first-layer segmentation interval is recorded as the occurrence frequency of the first-layer segmentation interval; the first-layer segmentation interval is taken as the encoding object, and according to the occurrence frequency of the first-layer segmentation interval, the Huffman coding algorithm is used to encode all the first-layer segmentation intervals to obtain the code of each first-layer segmentation interval;
[0021] The first layer segmentation interval to which the perforated aluminum veneer production data belongs is obtained, and the code of the first layer segmentation interval is used as the first layer code of the perforated aluminum veneer production data.
[0022] The present invention uses the segmented interval as the encoding object, effectively reducing data diversity, thereby reducing the tree depth of the Huffman tree, and providing a basis for efficient decoding.
[0023] Preferably, the calculating of the information entropy after segmentation of the first-layer segmentation interval includes:
[0024] Calculate the information entropy of all perforated aluminum veneer production data in the first-layer segmentation interval, take the segmentation fineness of the type between the first-layer segmentation areas as the segmentation fineness of the first-layer segmentation interval, and multiply the information entropy of the first-layer segmentation interval by the segmentation fineness to obtain the information entropy after segmentation of the first-layer segmentation interval
[0025] Preferably, the loop ends until the data is divided into independent data, and includes:
[0026] Get the number of perforated aluminum veneer production data contained in each segmented interval obtained by the current segmentation. If the number of perforated aluminum veneer production data contained in all segmented intervals obtained by the current segmentation is 1, the loop ends after completing the encoding of the perforated veneer production data in each segmented interval obtained by the current segmentation.
[0027] Preferably, storing the encoding result includes:
[0028] All layers of perforated aluminum veneer production data are coded and stored.
[0029] The present invention has the following technical effects:
[0030] The present invention performs hierarchical coding on data according to the access frequency of the data, so that the coding number of the data with high access frequency is reduced, thereby improving the decoding efficiency of the high-frequency access data;
[0031] Furthermore, when data is encoded in layers according to the access frequency, the information entropy after segmentation of the data with high access frequency is adjusted to be larger, and the number of segmentations is reduced, thereby achieving the purpose of reducing the number of layers of the data with high access frequency and improving the decoding efficiency of the high-frequency access data;
[0032] Furthermore, when data is hierarchically encoded according to access frequency, the data is segmented into intervals according to information entropy after segmentation, thereby reducing data diversity and the depth of the Huffman tree through interval segmentation, thereby improving decoding efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] By reading the detailed description below with reference to the accompanying drawings, the above and other purposes, features and advantages of the exemplary embodiments of the present invention will become readily understood. In the accompanying drawings, several embodiments of the present invention are shown in an exemplary and non-restrictive manner, and the same or corresponding reference numerals represent the same or corresponding parts.
[0034] Figure 1 It is a flow chart of a method in a punching aluminum veneer production data management method based on the Internet of Things in an embodiment of the present invention;
[0035] Figure 2 It is a schematic diagram of the association relationship of the Huffman trees of all layer segmentation intervals provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0036] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0037] It should be understood that when the terms "first", "second", etc. are used in the claims, descriptions, and drawings of the present invention, they are only used to distinguish different objects, rather than to describe a specific order. The terms "include" and "comprise" used in the description and claims of the present invention indicate the presence of the described features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or their collections.
[0038] The embodiment of the present invention discloses a punching aluminum veneer production data management method based on the Internet of Things, referring to Figure 1 , comprising steps S1 to S5:
[0039] S1: Obtain production data of several perforated aluminum veneers of each type and the access frequency of each type.
[0040] Specifically, obtain the production data of several perforated aluminum veneers of each type, and the types of perforated aluminum veneer production data include but are not limited to the following aspects: equipment processing parameters, size data, working hours of each workstation, and defect rate of each workstation. Obtain the access frequency of each type of perforated aluminum veneer production data.
[0041] S2: setting the segmentation precision of each type according to the access frequency of each type; multiplying the information entropy of each type of perforated aluminum veneer production data by the segmentation precision to obtain the segmented information entropy of each type of perforated aluminum veneer production data.
[0042] It should be noted that in order to improve the decoding efficiency, it is necessary to decode the desired data faster when only part of the data is read. In order to decode the desired data faster, the data needs to be encoded in layers, that is, the encoding layers of the perforated aluminum veneer production data with high access frequency are fewer, and the encoding layers of the perforated aluminum veneer production data with low access frequency are more, so that in most cases, only a few layers need to be decoded to decode the data, reducing decoding waste and improving decoding efficiency.
[0043] It should be further explained that the actual perforated aluminum veneer production data is not as diverse as the design data. The Huffman tree depth obtained by using the more diverse perforated aluminum veneer production data is larger. Due to the large tree depth, more matches are required to obtain the corresponding decoding relationship during decoding. Therefore, in order to improve the decoding efficiency, it is necessary to reduce the tree depth of each layer of the Huffman tree. Although the perforated aluminum veneer production data is more diverse, it will fluctuate around the design data. Therefore, the diversity of the perforated aluminum veneer production data can be effectively reduced by dividing the interval. The diversity of each layer of data can be reduced by dividing the interval.
[0044] S20: Setting the segmentation fineness of each type according to the access frequency of each type.
[0045] It should be noted that since the interval can only reflect the value interval of the perforated aluminum veneer production data, it cannot reflect the accurate data. Therefore, in order to obtain accurate perforated aluminum veneer production data, it is necessary to continuously subdivide the interval until independent perforated aluminum veneer production data is divided. Therefore, the number of layers can be controlled by the number of times the interval is divided. In order to decode high-frequency access data faster, the number of layers of high-frequency access data needs to be smaller. To achieve a smaller number of layers, the precision of each interval division needs to be higher, so that independent perforated aluminum veneer production data can be divided faster. First, set the division refinement of each type according to the access frequency.
[0046] Preferably, as an example, the segmentation fineness of each type is set according to the access frequency of each type, including:
[0047] The proportion of each type's access frequency to all types' access frequencies is taken as the segmentation fineness of each type.
[0048] S21: multiplying the information entropy of each type of perforated aluminum veneer production data by the segmentation fineness to obtain the segmented information entropy of each type of perforated aluminum veneer production data.
[0049] Preferably, as an example, the information entropy of each type of perforated aluminum veneer production data is multiplied by the segmentation fineness to obtain the segmented information entropy of each type of perforated aluminum veneer production data, including:
[0050] The occurrence probability of each value of all punching veneer production data of each type is obtained by statistics, and the information entropy is calculated based on the occurrence probability using the existing information entropy calculation formula, which is recorded as the information entropy of each type of punching veneer production data.
[0051] It should be noted that the coarser the interval segmentation, the larger the interval width, and the greater the information loss when using the interval to represent the data in the interval; the finer the interval segmentation, the smaller the interval width, and the smaller the information loss when using the interval to represent the data in the interval. Therefore, the number of interval segmentations for each access frequency can be controlled by information entropy.
[0052] S3: Use the information entropy after segmentation to segment and control the production data of each type of perforated aluminum veneer to obtain several first-layer segmentation intervals of each type, and encode all types of perforated aluminum veneer production data according to the first-layer segmentation interval to obtain the first-layer code; calculate the information entropy after segmentation of the first-layer segmentation interval, and segment and control the first-layer segmentation interval according to the information entropy after segmentation of the first-layer segmentation interval to obtain several second-layer segmentation intervals, and encode all types of perforated aluminum veneer production data according to the second-layer segmentation interval to obtain the second-layer code; and so on, until the segmentation to independent data, the loop ends.
[0053] S30: using the segmented information entropy to segment and control each type of perforated aluminum veneer production data to obtain a number of first-layer segmentation intervals of each type, and encoding all types of perforated aluminum veneer production data according to the first-layer segmentation intervals to obtain a first-layer code.
[0054] S300: Using the information entropy after segmentation to segment and control the production data of each type of perforated aluminum veneer to obtain a plurality of first-layer segmentation intervals of each type.
[0055] Preferably, as an example, the segmented information entropy is used to segment each type of perforated aluminum veneer production data to obtain a plurality of first-layer segmentation intervals of each type, including:
[0056] Get the value interval of all perforated aluminum veneer production data of each type, set the variable S, divide the value interval into S sub-intervals of the same width and record them as feasible segmentation intervals; take the mean of any feasible segmentation interval as the first value of the perforated aluminum veneer production data belonging to the feasible segmentation interval; count each value of the first value of all perforated veneer data belonging to the feasible segmentation interval to obtain the probability of occurrence of each value. Based on the probability of occurrence of each value, the information entropy is calculated using the information entropy calculation formula and recorded as the information entropy of the first value of all perforated aluminum veneer production data belonging to the feasible segmentation interval.
[0057] S is sequentially taken as integers greater than 2 to obtain the feasible information entropy obtained for each value of S; the absolute value of the difference between each feasible information entropy and the information entropy after segmentation is calculated, and the value of S corresponding to the minimum absolute value of the difference is obtained as the number of preferred segmentation intervals;
[0058] The value interval is divided into sub-intervals of the same width as the number of preferred segmentation intervals, which are recorded as the first-level segmentation intervals.
[0059] It can be understood that through this interval segmentation method, the value interval can be divided into sub-intervals that meet the segmentation precision requirements. This segmentation method can not only divide the data with high access frequency into fewer layers, but also increase the influence of low access frequency data on the decoding of high access frequency data by reducing the diversity of low access frequency data.
[0060] S301: encoding all types of perforated aluminum veneer production data according to the first layer segmentation interval to obtain a first layer code.
[0061] It should be noted that, in order to reduce the compression amount, it is also necessary to set the code of the value interval with high occurrence frequency to be shorter, and set the code of the value interval with low occurrence frequency to be longer.
[0062] Preferably, as an example, encoding processing is performed on all types of perforated aluminum veneer production data according to the first layer segmentation interval to obtain the first layer of encoding, including:
[0063] The number of perforated aluminum veneer production data with values in the first-layer segmentation interval is recorded as the occurrence frequency of the first-layer segmentation interval; the first-layer segmentation interval is taken as the encoding object, and according to the occurrence frequency of the first-layer segmentation interval, the Huffman coding algorithm is used to encode all the first-layer segmentation intervals to obtain the code of each first-layer segmentation interval;
[0064] The first layer segmentation interval to which the perforated aluminum veneer production data belongs is obtained, the code of the first layer segmentation interval is used as the first layer code of the perforated aluminum veneer production data, and the Huffman tree obtained by encoding the first layer segmentation interval is recorded as the overall Huffman tree.
[0065] It is understandable that according to the concentrated distribution characteristics of perforated aluminum veneer production data, by dividing the intervals, the diversity of the encoding objects can be effectively reduced, thereby effectively reducing the tree depth of each layer of the Huffman tree. At the same time, since the number of segmentation layers of high-frequency access data is small, the decoding efficiency of high-frequency access data will be greater.
[0066] S31: Calculate the information entropy of the first-layer segmentation interval after segmentation, control the segmentation of the first-layer segmentation interval according to the information entropy of the first-layer segmentation interval after segmentation to obtain a number of second-layer segmentation intervals, and encode all types of perforated aluminum veneer production data according to the second-layer segmentation interval to obtain a second-layer code.
[0067] S310: calculating the information entropy of the first-layer segmented interval after segmentation, and performing segmentation control on the first-layer segmented interval according to the information entropy of the first-layer segmented interval after segmentation to obtain a plurality of second-layer segmented intervals.
[0068] Preferably, as an example, the information entropy after segmentation of the first-layer segmentation interval is calculated, and the first-layer segmentation interval is segmented and controlled according to the information entropy after segmentation of the first-layer segmentation interval to obtain a plurality of second-layer segmentation intervals, including:
[0069] The occurrence probability of each value of all perforated aluminum veneer production data in the first-layer segmentation interval is obtained by statistics. Based on the occurrence probability of each value, the information entropy is calculated using the existing information entropy calculation formula, which is recorded as the information entropy of all perforated aluminum veneer production data in the first-layer segmentation interval. The segmentation fineness of the type between the first-layer segmentation areas is used as the segmentation fineness of the first-layer segmentation interval. The information entropy of the first-layer segmentation interval is multiplied by the segmentation fineness to obtain the information entropy of the first-layer segmentation interval after segmentation.
[0070] The first-layer segmented interval is taken as the segmentation object, and based on the information entropy after segmentation of the first-layer segmented interval, the segmentation object is segmented using the method for obtaining the first-layer segmented interval in step S300 to obtain the second-layer segmented interval.
[0071] S311: encoding all types of perforated aluminum veneer production data according to the second layer segmentation interval to obtain a second layer code.
[0072] Preferably, as an example, encoding processing is performed on all types of perforated aluminum veneer production data according to the second layer segmentation interval to obtain the second layer encoding, including:
[0073] Any first-layer segmentation interval is recorded as a target segmentation interval, and the second-layer segmentation interval in the target segmentation interval is taken as a coding object. According to the coding method of taking the first-layer segmentation interval as the coding object in step S301, the perforated aluminum veneer production data in the target segmentation interval is encoded to obtain the second-layer coding of each perforated aluminum veneer production data in the target segmentation interval, and the Huffman tree obtained by encoding the second-layer segmentation interval in the target segmentation interval is recorded as the Huffman tree of the target segmentation interval.
[0074] S32: And so on, until the data is divided into independent data, and the loop ends.
[0075] Preferably, as an example, and so on, until the data is divided into independent data, the loop ends, including:
[0076] Get the number of perforated aluminum veneer production data contained in each segmented interval obtained by the current segmentation. If the number of perforated aluminum veneer production data contained in all segmented intervals obtained by the current segmentation is 1, the loop ends after completing the encoding of the perforated veneer production data in each segmented interval obtained by the current segmentation.
[0077] It should be added that if the number of perforated aluminum veneer production data included in all segmented intervals obtained by the current segmentation is 1, the encoding process of the perforated veneer production data in each segmented interval obtained by the current segmentation includes:
[0078] The number of perforated aluminum veneer production data in each segmentation interval obtained by the current segmentation is recorded as the occurrence frequency of each segmentation interval obtained by the current segmentation; each segmentation interval obtained by the current segmentation is taken as an encoding object, and according to the occurrence frequency of each segmentation interval obtained by the current segmentation, the Huffman coding algorithm is used to encode all the segmentation intervals obtained by the current segmentation to obtain the code of each segmentation interval obtained by the current segmentation.
[0079] The code of the segmentation interval obtained by the current segmentation is used as the code of the corresponding perforated aluminum veneer production data in the segmentation layer.
[0080] S4: Store the encoding result.
[0081] Preferably, as an example, storing the encoding result includes:
[0082] For any layer, set a code different from the code of the layer, recorded as the empty code.
[0083] If the perforated aluminum veneer production data does not have a code at this layer, the empty code is used as the code of the perforated aluminum veneer production data at this layer, and all the codes of the perforated aluminum veneer production data at this layer are connected together and stored;
[0084] In the same way, the perforated aluminum veneer production data is stored in the code of each layer.
[0085] The overall Huffman tree and the Huffman tree of each segmentation interval are stored. Figure 2 The association relationship of the Huffman tree of all layer segmentation intervals is shown in .
[0086] For the sake of convenience, the following example is used to illustrate the method of setting the empty code. Assume that there are 6 codes in this layer, namely 00, 01, 100, 1010, 1011 and 11. By observation, it can be found that the code 110 does not exist in these 6 codes, so the empty code can be 110.
[0087] S5: Decode the code.
[0088] Preferably, as an example, decoding the encoding includes:
[0089] Assuming that the 10th data is to be read, first obtain the first layer code of the 10th data, and obtain the first layer segmentation interval corresponding to the 10th data according to the correspondence between the code and the interval in the overall Huffman tree, which is recorded as the spare segmentation interval; obtain the second layer code of the 10th data, and obtain the second layer code of the 10th data according to the correspondence between the code and the interval in the Huffman tree of the spare segmentation interval, and so on, until the code corresponding to the 10th data is an empty code, the decoding is completed, and the perforated aluminum veneer production data corresponding to the previous layer code of the empty code is obtained for reading.
[0090] At this point, this embodiment is completed.
[0091] Although this specification has shown and described a number of embodiments of the present invention, it will be apparent to those skilled in the art that such embodiments are provided by way of example only. Those skilled in the art will conceive of many modifications, changes and alternatives without departing from the ideas and spirit of the present invention. It should be understood that in the practice of the present invention, various alternatives to the embodiments of the present invention described herein may be employed.
[0092] The above are all preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Therefore, any equivalent changes made based on the structure, shape, and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A punching aluminum veneer production data management method based on the Internet of Things, characterized in that: Includes steps: Obtain several perforated aluminum veneer production data of each type and the access frequency of each type; The segmentation precision of each type is set according to the access frequency of each type; the information entropy of each type of perforated aluminum veneer production data is multiplied by the segmentation precision to obtain the segmented information entropy of each type of perforated aluminum veneer production data; The information entropy after segmentation is used to segment and control each type of perforated aluminum veneer production data to obtain a number of first-layer segmentation intervals of each type, and the production data of all types of perforated aluminum veneers are encoded according to the first-layer segmentation interval to obtain the first-layer code, including: the number of perforated aluminum veneer production data with values in the first-layer segmentation interval is counted as the frequency of occurrence of the first-layer segmentation interval; the first-layer segmentation interval is used as the encoding object, and according to the frequency of occurrence of the first-layer segmentation interval, all the first-layer segmentation intervals are encoded by the Huffman coding algorithm to obtain the code of each first-layer segmentation interval; the first-layer segmentation interval to which the perforated aluminum veneer production data belongs is obtained, and the code of the first-layer segmentation interval is used as the first-layer code of the perforated aluminum veneer production data; the information entropy after segmentation of the first-layer segmentation interval is calculated, and the first-layer segmentation interval is segmented and controlled according to the information entropy after segmentation of the first-layer segmentation interval to obtain a number of second-layer segmentation intervals, and the production data of all types of perforated aluminum veneers are encoded according to the second-layer segmentation interval to obtain the second-layer code; and so on, until the segmentation is to independent data, and the cycle ends; The encoding results are stored.
2. According to the method for managing production data of perforated aluminum veneer based on the Internet of Things in claim 1, it is characterized in that: The step of setting the segmentation fineness of each type according to the access frequency of each type includes: The proportion of each type's access frequency to all types' access frequencies is taken as the segmentation fineness of each type.
3. According to the method for managing production data of perforated aluminum veneer based on Internet of Things in claim 1, it is characterized in that: The segmentation control of each type of perforated aluminum veneer production data using the segmented information entropy obtains a plurality of first-layer segmentation intervals of each type, including: Obtain the value interval of all perforated aluminum veneer production data of each type, set the variable S, divide the value interval into S sub-intervals of the same width and record them as feasible segmentation intervals; take the mean of any feasible segmentation interval as the first value of the perforated aluminum veneer production data belonging to the feasible segmentation interval; calculate the information entropy of the first value of all perforated aluminum veneer production data and record it as feasible information entropy; S is sequentially taken as integers greater than 2 to obtain the feasible information entropy obtained for each value of S; the absolute value of the difference between each feasible information entropy and the information entropy after segmentation is calculated, and the value of S corresponding to the minimum absolute value of the difference is obtained as the number of preferred segmentation intervals; The value intervals of all perforated aluminum veneer production data of each type are obtained, and the value intervals are divided into sub-intervals with the same width as the number of preferred segmentation intervals, which are recorded as the first-level segmentation intervals.
4. The method for managing production data of perforated aluminum veneer based on the Internet of Things according to claim 1 is characterized in that: The calculating of the information entropy after segmentation of the first-layer segmentation interval includes: The information entropy of all perforated aluminum veneer production data in the first-layer segmentation interval is calculated, the segmentation fineness of the type between the first-layer segmentation areas is used as the segmentation fineness of the first-layer segmentation interval, and the information entropy of the first-layer segmentation interval is multiplied by the segmentation fineness to obtain the information entropy of the first-layer segmentation interval after segmentation.
5. The method for managing production data of perforated aluminum veneer based on the Internet of Things according to claim 1 is characterized in that: The process until the data is divided into independent data and the cycle ends includes: Get the number of perforated aluminum veneer production data contained in each segmented interval obtained by the current segmentation. If the number of perforated aluminum veneer production data contained in all segmented intervals obtained by the current segmentation is 1, the loop ends after completing the encoding of the perforated veneer production data in each segmented interval obtained by the current segmentation.
6. The method for managing production data of perforated aluminum veneer based on the Internet of Things according to claim 1 is characterized in that: The storing of the encoding result comprises: All layers of perforated aluminum veneer production data are coded and stored.
Citation Information
Patent Citations
Logistics data compression and storage method for supply chain management
CN116166978A
Image segmentation quality evaluation method based on region-related information entropies
CN103390274A