Material warehouse-in and warehouse-out management method, system and equipment and storage medium
By collecting and processing the weight and image characteristics of steel materials, automatic identification and management are realized, which solves the problems of identification errors and low efficiency of traditional manual identification methods in large engineering projects, improves identification accuracy and efficiency, reduces costs and avoids The project stalled.
Patent Information
- Application Number
- CN202410858660.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-09-27
AI Technical Summary
In large-scale engineering projects, traditional manual identification methods are difficult to accurately identify and manage the types and quantities of steel materials, resulting in identification errors and low efficiency, affecting project progress and cost control.
By collecting the weight information and image characteristics of the materials, performing weighting and mapping processing, the category information of the materials is obtained, and combined with the reserve information, automatic identification and early warning monitoring are realized, and the process of entering and exiting the warehouse of reinforcing steel materials is automatically managed.
It significantly improves the accuracy and efficiency of material identification, reduces labor costs, avoids project stagnation due to insufficient materials, and provides timely warnings for material replenishment to avoid unnecessary cost losses.
Smart Images

Figure CN118710185A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of automatic material identification and monitoring, and in particular to a material in-and-out warehouse management method, system, equipment and storage medium. Background Art
[0002] In modern construction and engineering projects, material warehousing management is a crucial link. Effective material warehousing management is not only related to the progress of the project, but also directly affects cost control and resource optimization.
[0003] For example, in the traditional management of steel bar material in and out of the warehouse, manual operation occupies a dominant position. However, in large-scale engineering projects, the types and quantities of steel bar materials that need to be managed are very large. Therefore, in the face of a large number of types and quantities of steel bar materials, traditional manual identification methods, due to their reliance on experience, are prone to identification errors and low work efficiency, which in turn causes unnecessary cost losses and affects the progress of the project. Summary of the invention
[0004] The problem to be solved by the present invention is how to effectively improve the recognition accuracy and recognition efficiency of steel bar materials.
[0005] In order to solve the above problems, the present invention provides a material in-and-out warehouse management method, comprising:
[0006] When materials are shipped out or in, information recognition processing is performed on the materials, weight information of the materials is collected, storage information of the materials is obtained, image features of the materials are extracted, and the image features are weighted and mapped to obtain category information of the materials. According to the storage information and the category information, the material parameter information is obtained;
[0007] Acquire material information in the historical database, and obtain updated target material information according to the material parameter information and the material information in the historical database;
[0008] Obtaining a preset material reserve threshold, and verifying the target material information according to the preset material reserve threshold;
[0009] When the reserve amount in the target material information is less than or equal to the preset material reserve threshold, an early warning message is generated, and the material is dispatched according to the early warning message.
[0010] Compared with the prior art: the present invention obtains the storage information of the material by directly collecting the weight information of the material through material identification, and then obtains the category information of the material by extracting the image features of the material, weighting and mapping the image features, and obtains the material parameter information by combining the storage information and category information. For example, the storage and category of the steel bar material entering or leaving the warehouse are identified and collected to obtain the material parameter information of the steel bar, thereby realizing the automatic management of the steel bar material entering and leaving the warehouse. At the same time, considering that there may be too much material in the process of material use, resulting in material loss, the material is monitored for early warning. Compared with traditional manual recording and statistics, errors are prone to occur, such as inaccurate counting, missing records, etc., which leads to inaccurate inventory data and affects the decision-making of material procurement and use. The present invention utilizes information recognition technologies such as image processing to automatically identify image information of materials of different types and specifications and collect weight information to obtain material parameter information. Taking the in and out storage of steel bars as an example, the material parameter information includes but is not limited to information such as the type of steel bars and the raw materials of steel bars, so as to realize automatic monitoring and management, solve the problem of time-consuming manual operation, and enable it to quickly realize material recognition in large-scale engineering projects in the face of a large number of materials that need to be managed and a wide variety of materials, and also meet the needs of high efficiency and large-scale operations. Therefore, the present invention not only significantly improves the accuracy and efficiency of management, but also reduces labor costs. In addition, the present invention avoids the stagnation of the project caused by insufficient materials by monitoring the amount of materials used, and timely warns to replenish materials to avoid unnecessary cost losses and affect the progress of the project.
[0011] Optionally, the extracting the image features of the material, weighting and mapping the image features to obtain the category information of the material includes:
[0012] Acquiring an initial image of the material;
[0013] Extracting multidimensional features of the initial image, and performing attention weighting on the multidimensional features based on material domain knowledge to obtain weighted multidimensional features;
[0014] Obtaining K target reference distances according to the weighted reference distances between the multidimensional features and the known K category center points;
[0015] Constructing a reference distance matrix according to the K target reference distances;
[0016] According to the reference distance matrix, a corresponding target category center point is determined from the K category center points, and the target category center point is mapped to obtain the category information.
[0017] Optionally, the multidimensional features are weighted based on the material domain knowledge to obtain the weighted multidimensional features, including:
[0018] Obtaining dimension feature values, and processing the dimension feature values according to the overall mean formula to obtain the overall mean;
[0019] The overall mean formula is as follows:
[0020]
[0021] Among them, μ i is the population mean of the i-th dimension, represents the dimension feature value of the jth dimension of the i-th sample of the k-th category of the material, where k=1, 2, ..., K, j=1, 2, ..., m k , k = 1, 2, ..., n, K is the total number of categories of the material, m k is the number of samples of materials described in the kth category, and n is the number of characteristic dimensions;
[0022] According to the population variance formula, the population mean is processed to obtain the population variance;
[0023] Among them, the population variance formula is as follows:
[0024]
[0025] in, is the population variance of the i-th dimension, μ i is the population mean of the i-th dimension, represents the dimension feature value of the jth dimension of the i-th sample of the k-th category of the material, where k=1, 2, ..., K, j=1, 2, ..., m k , i = 1, 2, ..., n, K is the total number of categories of the material, m k is the number of samples of materials described in the kth category, and n is the number of characteristic dimensions;
[0026] According to the overall variance and the assignment formula, the weight vector is assigned to obtain an attention weight value;
[0027] The assignment formula is as follows:
[0028]
[0029] Among them, a i is the attention weight value of the i-th dimension, is the population variance of the i-th dimension, and n is the number of feature dimensions;
[0030] Based on the material domain knowledge, according to the attention weight value and the feature weighting formula, the multidimensional feature is subjected to attention weighting processing to obtain the weighted multidimensional feature;
[0031] The feature weighting formula is as follows:
[0032]
[0033] Among them, S is the weighted multidimensional feature, a is the weight vector, x is the multidimensional feature, ⊙ is the Hadamard product of the vectors, a1, ..., an are the first, ..., nth attention weight values, X1, ..., Xn are the first, ..., nth dimensional feature values.
[0034] Optionally, obtaining K target reference distances according to the weighted reference distances between the multidimensional feature and the known K category center points includes:
[0035] According to the reference distance formula, the weighted multidimensional features and the known K category center points are processed to obtain K target reference distances;
[0036] The reference distance formula is as follows:
[0037]
[0038] Among them, dist(P t , P l ) represents the reference distance; P t represents the initial image, P l represents the category center point; n represents the number of feature dimensions of the initial image and the dimensions of the K category center points; i represents the i-th dimension; P tl represents the initial image in the i-th dimension; P ll represents the center point of the category on the i-th dimension; E i is the weight of the i-th dimension of the initial image;
[0039] The weight of the dimension of the image data is obtained by a dimension association formula;
[0040] The dimension association formula is as follows:
[0041]
[0042] Among them, E i is the weight of the i-th dimension of the image data, H is a preset fixed value, Si is the i-th dimension of the image data, Sj is the j-th dimension of the image data, s i·s j is the degree of influence between the i-th image data dimension and the j-th image data dimension.
[0043] Optionally, constructing a reference distance matrix according to the K target reference distances includes:
[0044] According to the K target reference distances, a reference distance matrix is constructed by using a reference distance matrix formula;
[0045] Wherein, the reference distance matrix formula is as follows:
[0046]
[0047] Among them, dist k represents the reference distance matrix; dist(P t , P l1 ) represents the distance between the initial image and the first center point of the category; dist(P t , P t2 ) represents the distance between the initial image and the center point of the second category; dist(P t , P lk ) represents the distance between the initial image and the Kth center point of the category.
[0048] Optionally, when the reserve amount in the target material information is less than or equal to the preset material reserve threshold, generating warning information includes:
[0049] When the reserve amount in the target material information is less than or equal to the preset material reserve threshold;
[0050] Generate a first-level warning signal, and within a preset buffer time interval, repeatedly check the relationship between the reserve amount in the target material information and the preset material reserve threshold;
[0051] Within the preset buffer time interval, if the reserve amount in the target material information is greater than the preset material reserve threshold, then the warning is terminated;
[0052] If the reserve amount in the target material information is continuously less than or equal to the preset material reserve threshold, a secondary warning signal is generated, and a voice and / or information prompt is given.
[0053] Optionally, the dispatching of the material according to the early warning information includes:
[0054] Obtaining difference information according to the current storage quantity of the target material information and the preset material storage threshold, wherein the difference information is generated according to the difference between the storage quantity and the preset material storage threshold, and the difference information includes: a first difference level, a second difference level and a third difference level;
[0055] According to the different difference levels of the difference information, material replenishment processing is performed at different speeds.
[0056] To solve the above problems, the present invention also provides a material in-and-out warehouse management system, comprising:
[0057] The identification and processing module is used to perform information identification and processing on the materials when the materials are shipped out or received, and obtain material parameter information;
[0058] A statistical processing module is used to obtain material information in the historical library, and obtain updated target material information according to the material parameter information and the material information in the historical library;
[0059] An information processing module, used to obtain a preset material reserve threshold, and verify the target material information according to the preset material reserve threshold;
[0060] The early warning processing module is used to generate early warning information when the reserve amount in the target material information is less than or equal to the preset material reserve threshold, and to dispatch the material according to the early warning information.
[0061] The advantages of the material in-and-out warehouse management system described in the present invention and the material in-and-out warehouse management method described in the present invention over the prior art are the same, and will not be repeated here.
[0062] To solve the above problems, the present invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements any of the above-mentioned material in-and-out warehouse management methods when executing the computer program.
[0063] The advantages of the computer device described in the present invention and the material in-and-out warehouse management method described in the present invention are the same as those of the prior art, which will not be described in detail here.
[0064] To solve the above problems, the present invention further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the material in-and-out warehouse management method described in any one of the above items is implemented.
[0065] The advantages of a computer-readable storage medium described in the present invention and a material in-and-out warehouse management method described in the present invention are the same as those of the prior art, which will not be described in detail here. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] Figure 1 A schematic diagram of a process for managing the material in and out of a warehouse in an embodiment of the present invention;
[0067] Figure 2 Schematic diagram of the internal structure of a computer device in an embodiment of the present invention. DETAILED DESCRIPTION
[0068] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0069] In the description of the embodiments of the present invention, the description of the term "some embodiments" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same implementation or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0070] It should be understood that the various steps described in the method embodiments of the present invention may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present invention is not limited in this respect.
[0071] Combination Figure 1 As shown, the material in-and-out management method of the embodiment of the present invention includes:
[0072] Step S1, when a material is shipped out or in, information recognition processing is performed on the material, weight information of the material is collected, storage information of the material is obtained, image features of the material are extracted, and the image features are weighted and mapped to obtain category information of the material, and material parameter information is obtained according to the storage information and the category information;
[0073] Specifically, the present embodiment can identify information of materials such as steel bars entering and leaving the warehouse through an intelligent weighing platform. It can be understood that the intelligent weighing platform can collect material image information by setting up cameras and other equipment, and obtain material parameter information by processing the image information and combining it with information such as the weight of the material, including but not limited to weight, type, and raw materials. For example, when a batch of steel bar materials enter the warehouse, the intelligent weighing platform can directly collect the weight information of the products when collecting parameter information of steel bar products, such as the weight information of steel bar raw materials and the weight information of steel bar semi-finished products. After collecting the weight information, the category information of the collected steel bar products is identified, for example, it is identified whether the collected parameters are specifically steel bar raw materials or steel bar semi-finished products. If it is steel bar raw materials, it is necessary to identify which type of steel bar raw materials it is; if it is steel bar semi-finished products, it is necessary to identify which type of steel bar semi-finished products it is, etc. Among them, steel bar raw materials include raw materials for steel bars mainly including iron ore, coal, scrap steel, pig iron, raw copper, etc., and steel bar semi-finished products include threaded steel bars, hot-rolled steel bars, cold-drawn steel bars, etc. It is understandable that the steel bar raw materials and steel bar semi-finished products may also be other forms of materials, which are not specifically limited in this embodiment. Finally, the material parameter information is obtained based on the above-obtained information.
[0074] Step S2, obtaining material information in the historical database, and obtaining updated target material information according to the material parameter information and the material information in the historical database;
[0075] Specifically, the historical material information in the present embodiment should include the storage quantity and category information before the current material is put into or out of the warehouse. When the material is put into the warehouse, the storage quantity of the updated target material information is the storage quantity of the material information in the historical warehouse plus the information of the newly put into the warehouse. Otherwise, the difference between the two is made. The storage quantity of the updated target material information should be the remaining material storage quantity after deducting the material that has been out of the warehouse from the material information in the historical warehouse. For the category information, there should be a one-to-one correspondence. For example, when the present embodiment adopts an intelligent weighing platform to manage the entry and exit of materials, the intelligent weighing platform updates the recorded parameter information of the steel bar product according to the parameter information of the steel bar product to obtain the updated parameter information of the steel bar product, that is, the parameter information of the adopted steel bar product is added to the recorded parameter information of the steel bar product or the parameter information of the out-of-warehouse steel bar product is cleared to complete the update of the parameter information of the steel bar product, thereby obtaining the updated parameter information of the steel bar product.
[0076] Step S3, obtaining a preset material reserve threshold, and verifying the target material information according to the preset material reserve threshold;
[0077] Specifically, the preset material reserve threshold can be set manually, or the data value can be output after model simulation. In this embodiment, when the original inventory information of the steel bar product is entered, it can be entered in advance. Specifically, it can be understood that in the initial stage, the original inventory information of the steel bar product is entered, and the original inventory information of the steel bar product is the minimum raw material information required to ensure normal production, for example, the minimum steel bar raw material demand information. When it is lower than the minimum steel bar raw material demand information, it is necessary to supplement the insufficient steel bar raw material. By comparing and checking with the preset material reserve threshold, it is possible to quickly give feedback on whether the material reserve is sufficient and whether it meets the production, avoid affecting the progress of the project, realize more accurate and reliable monitoring and management of the inventory situation, reduce production interruptions or delays caused by insufficient inventory, and at the same time, reserve valuable time and space for managers to deal with material shortages, so that they can work more calmly and systematically to ensure the normal production and operation of the steel bar factory.
[0078] Step S4: when the reserve amount in the target material information is less than or equal to the preset material reserve threshold, generate warning information, and dispatch the material according to the warning information.
[0079] Specifically, this embodiment uses multi-threaded parallel processing to improve response speed, encrypted storage of key data, and identity authentication and permission control for important operations to ensure data security. The system implementing this method realizes data exchange and process integration with other business systems, supports manual intervention and process optimization, and improves the adaptability and flexibility of the system.
[0080] The embodiment of the present invention obtains the storage information of the material by directly collecting the weight information of the material through identifying the steel bar material, and then obtains the category information of the material by extracting the image features of the material, weighting and mapping the image features, and obtains the material parameter information by combining the storage information and the category information. For example, the storage and category of the steel bar material entering or leaving the warehouse are identified and collected to obtain the material parameter information of the steel bar, thereby realizing the automatic management of the steel bar material entering and leaving the warehouse. At the same time, considering that there may be too much material in the process of material use, resulting in material loss, the material is monitored for early warning. Compared with traditional manual recording and statistics, it is easy to make mistakes, such as inaccurate counting, missing records, etc., which leads to inaccurate inventory data and affects the decision-making of material procurement and use. The present invention utilizes information recognition technologies such as image processing to automatically identify image information of materials of different types and specifications and collect weight information to obtain material parameter information. Taking the in and out storage of steel bars as an example, the material parameter information includes but is not limited to information such as the type of steel bars and the raw materials of steel bars, so as to realize automatic monitoring and management, solve the problem of time-consuming manual operation, and enable it to quickly realize material recognition in large-scale engineering projects in the face of a large number of materials that need to be managed and a wide variety of materials, and also meet the needs of high efficiency and large-scale operations. Therefore, the present invention not only significantly improves the accuracy and efficiency of management, but also reduces labor costs. In addition, the present invention avoids the stagnation of the project caused by insufficient materials by monitoring the amount of materials used, and timely warns to replenish materials to avoid unnecessary cost losses and affect the progress of the project.
[0081] Optionally, the extracting the image features of the material, weighting and mapping the image features to obtain the category information of the material includes:
[0082] Acquiring an initial image of the material;
[0083] Extracting multidimensional features of the initial image, and performing attention weighting on the multidimensional features based on material domain knowledge to obtain weighted multidimensional features;
[0084] Obtaining K target reference distances according to the weighted reference distances between the multidimensional features and the known K category center points;
[0085] Constructing a reference distance matrix according to the K target reference distances;
[0086] According to the reference distance matrix, a corresponding target category center point is determined from the K category center points, and the target category center point is mapped to obtain the category information.
[0087] Specifically, this embodiment uses a camera to collect the initial image of the current weighing object; after the steel multi-dimensional features extracted from the initial image are weighted based on the steel domain knowledge, the reference distance between the known K category center points is obtained to obtain K reference distances; a reference distance matrix is constructed based on the K reference distances; based on the reference distance matrix, the category information of the current weighing object is obtained from the kK module according to the target category center point mapping, wherein the multi-level feature dimensions such as the contour information, texture information, and color information of the steel bar material are extracted according to the characteristics of the steel bar material, and these information are organized into the multi-dimensional features of the initial image. Subsequently, the multi-dimensional features are weighted based on the steel domain knowledge in terms of dimensions, and different weights are applied to different dimensions according to the importance of the features of different types of steel in the above-mentioned dimensions. The weights can be estimated based on the statistical variance of the features of each dimension of the initial images of different types of steel collected before. The larger the distribution variance, the greater the feature specificity of the type of steel in the dimension. In this embodiment, K represents the meaning related to quantity, k represents the meaning related to type, and the values of K and k are both greater than or equal to 1.
[0088] Optionally, the multidimensional features are weighted based on the material domain knowledge to obtain the weighted multidimensional features, including:
[0089] Obtaining dimension feature values, and processing the dimension feature values according to the overall mean formula to obtain the overall mean;
[0090] The overall mean formula is as follows:
[0091]
[0092] Among them, μ i is the population mean of the i-th dimension, represents the dimension feature value of the jth dimension of the i-th sample of the k-th category of the material, where k=1, 2, ..., K, j=1, 2, ..., m k , i = 1, 2, ..., n, K is the total number of categories of the material, m k is the number of samples of materials described in the kth category, and n is the number of characteristic dimensions;
[0093] According to the population variance formula, the population mean is processed to obtain the population variance;
[0094] Among them, the population variance formula is as follows:
[0095]
[0096] in, is the population variance of the i-th dimension, μ iis the population mean of the i-th dimension, represents the dimension feature value of the jth dimension of the i-th sample of the k-th category of the material, where k=1, 2, ..., K, j=1, 2, ..., m k , i = 1, 2, ..., n, K is the total number of categories of the material, m k is the number of samples of materials described in the kth category, and n is the number of characteristic dimensions;
[0097] According to the overall variance and the assignment formula, the weight vector is assigned to obtain an attention weight value;
[0098] The assignment formula is as follows:
[0099]
[0100] Among them, a i is the attention weight value of the i-th dimension, s i 2 is the population variance of the i-th dimension, and n is the number of feature dimensions;
[0101] Based on the material domain knowledge, according to the attention weight value and the feature weighting formula, the multidimensional feature is subjected to attention weighting processing to obtain the weighted multidimensional feature;
[0102] The feature weighting formula is as follows:
[0103]
[0104] Among them, S is the weighted multidimensional feature, a is the weight vector, x is the multidimensional feature, ⊙ is the Hadamard product of the vectors, a1, ..., an are the first, ..., nth attention weight values, and X1, ..., Xn are the first, ..., nth dimensional feature values.
[0105] Specifically, this embodiment finally uses the attention weight vector a to weight the original multidimensional feature x to obtain a weighted feature representation, s, which is a feature representation that integrates steel field knowledge and can be used for subsequent feature comparison and category determination.
[0106] Specifically, the reference distance can be used to indicate the degree of fit between the initial image and the K category center points. The shorter the first reference distance, the closer the initial image is to the category center point, the greater the degree of fit between the initial image and the category center point, and the greater the probability that the initial image is classified as this category; the longer the reference distance, the greater the distance between the initial image and the category center point, the smaller the degree of fit between the initial image and the category center point, and the smaller the probability that the initial image is classified as this category. The K category center points can be the category center points obtained by clustering multiple sample data collected historically. Specifically, a general clustering processing method can be used to process them to obtain the category center points. The above reference distance can be obtained by using distance measurement methods such as Euclidean distance, Manhattan distance, cosine similarity, etc.
[0107] It can be understood that the K category center points can be represented in the form of image data. The semi-finished steel bars include threaded steel bars, hot-rolled steel bars, cold-drawn steel bars, etc. for example. Category center point 1 can be the image of the threaded steel bars, category center point 2 can be the image data of the hot-rolled steel bars, category center point 3 can be the image data of the cold-drawn steel bars, etc. This embodiment does not limit this.
[0108] By constructing a reference distance matrix, the distance (or degree of fit) between the initial image and the K category center points can be more intuitively seen, so that the target category center point to which the initial image belongs can be determined more quickly and accurately. Then, from the non-zero distance in the reference distance matrix, the category center point with the smallest distance from the initial image is obtained, so that the category center point is determined as the target category center point. Among them, the target category center point can be used to indicate the category center point to which the initial image belongs. The first category label can be the category label corresponding to the target category center point, which is not limited in this embodiment.
[0109] Optionally, obtaining K target reference distances according to the weighted reference distances between the multidimensional feature and the known K category center points includes:
[0110] According to the reference distance formula, the weighted multidimensional features and the known K category center points are processed to obtain K target reference distances;
[0111] The reference distance formula is as follows:
[0112]
[0113] Among them, dist(P t , P l ) represents the reference distance; P t represents the initial image, P lrepresents the category center point; n represents the number of feature dimensions of the initial image and the dimensions of the K category center points; i represents the i-th dimension; P tl represents the initial image in the i-th dimension; P ll represents the center point of the category on the i-th dimension; E i is the weight of the i-th dimension of the initial image;
[0114] Wherein, the weight of the i-th dimension of the image data is obtained by a dimension association formula;
[0115] The dimension association formula is as follows:
[0116]
[0117] Among them, E i is the weight of the i-th dimension of the image data, H is a preset fixed value, Si is the i-th dimension of the image data, Sj is the j-th dimension of the image data, S i .S j is the degree of influence between the i-th image data dimension and the j-th image data dimension.
[0118] In one embodiment, the process of obtaining the first reference distance between the initial image and the K category center points can be referred to the following formula:
[0119]
[0120] Among them, dist(P t , P i ) can be used to represent the reference distance (here it can be understood as the distance between the initial image and the center point of any category); P t Can be used to represent the initial image, P l can be used to represent the center point of a category; n can be used to represent the number of feature dimensions of image data; i can be used to represent the i-th dimension; P tl Can be used to represent the initial image in the i-th dimension; P ll Can be used to represent the category center point on the i-th dimension; E i is the weight of the dimension of the image data, which is associated with the dimension of the image data and changes with the type of image data. It can be matched with the dimension of the image data by the method shown in the following formula:
[0121]
[0122] Among them, E iis the weight of the i-th dimension of the image data, H is a preset fixed value, Si is the i-th image data dimension, Sj is the j-th image data dimension, S i .S j is the influence between the i-th image data dimension and the j-th image data dimension.
[0123] Optionally, constructing a reference distance matrix according to the K target reference distances includes:
[0124] According to the K target reference distances, a reference distance matrix is constructed by using a reference distance matrix formula;
[0125] Wherein, the reference distance matrix formula is as follows:
[0126]
[0127] Among them, dist k represents the reference distance matrix; dist(P t , P l1 ) represents the distance between the initial image and the first center point of the category; dist(P t , P l2 ) represents the distance between the initial image and the center point of the second category; dist(F t , P lk ) represents the distance between the initial image and the Kth center point of the category.
[0128] Specifically, the present embodiment can pre-set the first category center point, the second category center point, and the Kth category center point, which is not limited in the present embodiment. After constructing the reference distance matrix, the category center point with the shortest distance is determined from the K category center points based on the reference distance matrix, and the category center point is determined as the target category center point. The target category center point has its corresponding category information. For example, if the target category center point is an image of a threaded steel bar, then its corresponding category information is the relevant attribute information of the threaded steel bar, etc.
[0129] Optionally, when the reserve amount in the target material information is less than or equal to the preset material reserve threshold, generating warning information includes:
[0130] When the reserve amount in the target material information is less than or equal to the preset material reserve threshold;
[0131] Generate a first-level warning signal, and within a preset buffer time interval, repeatedly check the relationship between the reserve amount in the target material information and the preset material reserve threshold;
[0132] Within the preset buffer time interval, if the reserve amount in the target material information is greater than the preset material reserve threshold, then the warning is terminated;
[0133] If the reserve amount in the target material information is continuously less than or equal to the preset material reserve threshold, a secondary warning signal is generated, and a voice and / or information prompt is given.
[0134] Specifically, when the reserve amount in the target material information is less than or equal to the preset material reserve threshold, the system will automatically issue a first-level warning signal, i.e., the first warning, to remind managers to pay attention to the current inventory problem. After the first warning is issued, the system will set a 24-hour buffer time. It can be understood that the buffer time is the preset buffer time interval, and the length of the interval is determined by actual production needs. During this period, the size of inventory and demand will be checked again. If the reserve amount in the target material information is less than or equal to the preset material reserve threshold within the preset buffer time interval, the system will issue a second-level warning signal, i.e., the second warning, to remind managers that the inventory is already in a critical state and that they need to take action to replenish materials as soon as possible, otherwise it may affect normal production operations.
[0135] Specifically, in order to ensure that the early warning information can be conveyed to relevant personnel in a timely and effective manner, this embodiment will issue early warnings through multiple channels, including but not limited to system pop-ups, emails, text messages, etc. This can maximize the attention of managers and prompt them to take necessary countermeasures at the first time to replenish inventory in a timely manner to ensure the continuity and stability of production. By introducing a secondary early warning mechanism, this embodiment further improves the intelligence and humanization level of the material in and out warehouse management system. On the one hand, it can monitor and manage inventory more accurately and reliably, reducing production interruptions or delays caused by insufficient inventory; on the other hand, the system also reserves valuable time and space for managers to deal with material shortages, allowing them to carry out their work more calmly and methodically to ensure the normal production and operation of the steel bar factory.
[0136] Optionally, the dispatching of the material according to the early warning information includes:
[0137] Obtaining difference information according to the current storage quantity of the target material information and the preset material storage threshold, wherein the difference information is generated according to the difference between the storage quantity and the preset material storage threshold, and the difference information includes: a first difference level, a second difference level and a third difference level;
[0138] According to the different difference levels of the difference information, material replenishment processing is performed at different speeds.
[0139] Specifically, this embodiment extracts difference information between original inventory information of the steel bar product and updated parameter information of the steel bar product, and generates adjustment information of the steel bar product according to the difference information.
[0140] The difference information can be understood as the difference between the original inventory information of the steel bar product and the parameter information of the updated steel bar product, etc., and the adjustment information can be determined based on the difference information. For example, if the difference information is at the first difference level, the replenishment process can be carried out according to the normal material replenishment speed; if the difference information is at the second difference level, the replenishment process can be carried out according to the expedited material replenishment speed; if the difference information is at the third difference level, the replenishment process can be carried out according to the urgent material replenishment speed, and the replenishment process is carried out at the fastest material replenishment speed. By using different levels of processing methods, the adaptability during adjustment can be improved.
[0141] In addition, this embodiment constructs an optimal recommendation algorithm for replenishment plans based on knowledge graph technology, extracts key attribute fields such as product category, specification, material, etc. from the difference information, combines the grade information, constructs a knowledge graph of the matching adjustment plan, and presets a series of replenishment strategies, including requirements for replenishment speed, replenishment batch, replenishment source, special processing, etc.
[0142] Specifically, as follows:
[0143] Replenishment speed: Set different replenishment speeds according to the difference level. The higher the level, the faster the speed.
[0144] Replenishment batches: Determine the number of batches to be replenished and the quantity of each batch based on the difference level and product attributes.
[0145] Replenishment source: According to product attributes and inventory conditions, select the appropriate replenishment source, such as own inventory, external procurement, cross-regional transfer, etc.
[0146] Special handling requirements: For some special products, such as overlong, overweight, and easily oxidized, special handling measures need to be taken when replenishing, such as dedicated transportation tools, specific storage conditions, protective measures, etc.
[0147] According to the adjustment plan generated by the cold start, replenishment reminders and replenishment plans are automatically issued, and the intelligent replenishment system is triggered to start the replenishment process according to the employee's selection confirmation. At the same time, the execution of the adjustment plan is recorded, and the feedback information is sent back to optimize the adjustment strategy. Under the premise that the execution efficiency of the plan feedback is higher than the threshold, the system can be set to automatically handle the timeout and unprocessed warnings.
[0148] Throughout the entire process, the system uses multi-threaded parallel processing to improve response speed. Key data is stored in encrypted form. Important operations use identity authentication and permission control to ensure data security. The system implements data exchange and process integration with other business systems, supports manual intervention and process optimization, and improves the system's adaptability and flexibility.
[0149] Corresponding to the above-mentioned material in-and-out warehouse management method, the embodiment of the present invention further provides a material in-and-out warehouse management system, including:
[0150] The identification and processing module is used to perform information identification and processing on the materials when the materials are shipped out or received, and obtain material parameter information;
[0151] A statistical processing module is used to obtain material information in the historical library, and obtain updated target material information according to the material parameter information and the material information in the historical library;
[0152] An information processing module, used to obtain a preset material reserve threshold, and verify the target material information according to the preset material reserve threshold;
[0153] The early warning processing module is used to generate early warning information when the reserve amount in the target material information is less than or equal to the preset material reserve threshold, and to dispatch the material according to the early warning information.
[0154] The advantages of a material in-and-out warehouse management system described in this embodiment and a material in-and-out warehouse management method described in this embodiment over the prior art are the same and will not be repeated here.
[0155] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, and the above-mentioned material in-and-out warehouse management method is implemented when the processor executes the computer program.
[0156] It should be noted that the device may be a computer device such as a server or a mobile terminal.
[0157] Figure 2The internal structure diagram of a computer device in one embodiment is shown. The computer device includes a processor, a memory, a network interface, an input device and a display screen connected through a system bus. Among them, the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor can implement a multi-functional collaborative operation method. The internal memory may also store a computer program. When the computer program is executed by the processor, the processor can execute a multi-functional collaborative operation method. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covered on the display screen, or a button, trackball or touchpad provided on the housing of the computer device, or an external keyboard, touchpad or mouse, etc. In one embodiment, a computer-readable storage medium is also provided, on which a computer program is stored. When the computer program is executed by the processor, the above-mentioned material in and out warehouse management method is implemented.
[0158] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present invention can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0159] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0160] The above description is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features invented herein.
[0161] Although the present invention is disclosed as above, the protection scope of the present invention is not limited thereto. Those skilled in the art may make various changes and modifications without departing from the spirit and scope of the present invention, and these changes and modifications will fall within the protection scope of the present invention.
Claims
1. A material in-and-out management method, characterized in that: include: When materials are shipped out or in, information recognition processing is performed on the materials, weight information of the materials is collected, storage information of the materials is obtained, image features of the materials are extracted, and the image features are weighted and mapped to obtain category information of the materials. According to the storage information and the category information, the material parameter information is obtained; Acquire material information in the historical database, and obtain updated target material information according to the material parameter information and the material information in the historical database; Obtaining a preset material reserve threshold, and verifying the target material information according to the preset material reserve threshold; When the reserve amount in the target material information is less than or equal to the preset material reserve threshold, an early warning message is generated, and the material is dispatched according to the early warning message.
2. The material in-and-out management method according to claim 1 is characterized in that: The extracting of the image features of the material, weighting and mapping the image features, and obtaining the category information of the material includes: Acquiring an initial image of the material; Extracting multidimensional features of the initial image, and performing attention weighting on the multidimensional features based on material domain knowledge to obtain weighted multidimensional features; Obtaining K target reference distances according to the weighted reference distances between the multidimensional features and the known K category center points; Constructing a reference distance matrix according to the K target reference distances; According to the reference distance matrix, a corresponding target category center point is determined from the K category center points, and the target category center point is mapped to obtain the category information.
3. The material in-and-out management method according to claim 2 is characterized in that: The method of performing attention weighting on the multidimensional features based on the material domain knowledge to obtain the weighted multidimensional features includes: Obtaining dimension feature values, and processing the dimension feature values according to the overall mean formula to obtain the overall mean; The overall mean formula is as follows: Among them, μ i is the population mean of the i-th dimension, represents the dimension feature value of the jth dimension of the i-th sample of the k-th category of the material, where k=1, 2, ..., K, j=1, 2, ..., m k , i = 1, 2, ..., n, K is the total number of categories of the material, m k is the number of samples of materials described in the kth category, and n is the number of characteristic dimensions; According to the population variance formula, the population mean is processed to obtain the population variance; Among them, the population variance formula is as follows: in, is the population variance of the i-th dimension, μ i is the population mean of the i-th dimension, represents the dimension feature value of the i-th dimension of the i-th sample of the k-th category of the material, where k=1,2,...,K,j=1,2,...,m k , i = 1, 2, ..., n, K is the total number of categories of the material, m k is the number of samples of materials described in the kth category, and n is the number of characteristic dimensions; According to the overall variance and the assignment formula, the weight vector is assigned to obtain an attention weight value; The assignment formula is as follows: Among them, a i is the attention weight value of the i-th dimension, is the population variance of the i-th dimension, and n is the number of feature dimensions; Based on the material domain knowledge, according to the attention weight value and the feature weighting formula, the multidimensional feature is subjected to attention weighting processing to obtain the weighted multidimensional feature; The feature weighting formula is as follows: S=a⊙x=|a1x1,a z x z ,...,a n x n | T , Among them, s is the weighted multidimensional feature, a is the weight vector, x is the multidimensional feature, ⊙ is the Hadamard product of the vectors, a1, ..., an are the first, ..., nth attention weight values, X1, ..., Xn are the first, ..., nth dimensional feature values.
4. The material in-and-out management method according to claim 3 is characterized in that: The step of obtaining K target reference distances according to the weighted reference distances between the multidimensional features and the known K category center points includes: According to the reference distance formula, the weighted multidimensional features and the known K category center points are processed to obtain K target reference distances; The reference distance formula is as follows: Among them, dist(P t , P l ) represents the reference distance; P t represents the initial image, P l represents the category center point; n represents the number of feature dimensions of the initial image and the dimensions of the K category center points; i represents the i-th dimension; P ti represents the initial image in the i-th dimension; P li represents the center point of the category on the i-th dimension; E i is the weight of the i-th dimension of the initial image; Wherein, the weight of the i-th dimension of the image data is obtained by a dimension association formula; The dimension association formula is as follows: Among them, E i is the weight of the i-th dimension of the image data, H is a preset fixed value, Si is the i-th dimension of the image data, Sj is the j-th dimension of the image data, S i S j is the degree of influence between the i-th image data dimension and the j-th image data dimension.
5. The material in-and-out management method according to claim 2 is characterized in that: The constructing a reference distance matrix according to the K target reference distances includes: According to the K target reference distances, a reference distance matrix is constructed by using a reference distance matrix formula; Wherein, the reference distance matrix formula is as follows: Among them, dist s represents the reference distance matrix; dist(P t , P l1 ) represents the distance between the initial image and the first center point of the category; dist(P t , P i2 ) represents the distance between the initial image and the center point of the second category; dist(F t , P is ) represents the distance between the initial image and the Kth center point of the category.
6. The material in-and-out management method according to claim 1 is characterized in that: When the reserve amount in the target material information is less than or equal to the preset material reserve threshold, generating warning information includes: When the reserve amount in the target material information is less than or equal to the preset material reserve threshold; Generate a first-level warning signal, and within a preset buffer time interval, repeatedly check the relationship between the reserve amount in the target material information and the preset material reserve threshold; Within the preset buffer time interval, if the reserve amount in the target material information is greater than the preset material reserve threshold, then the warning is terminated; If the reserve amount in the target material information is continuously less than or equal to the preset material reserve threshold, a secondary warning signal is generated, and a voice and / or information prompt is given.
7. The material in-and-out management method according to claim 1 is characterized in that: The dispatching of the material according to the early warning information includes: Obtaining difference information according to the current storage quantity of the target material information and the preset material storage threshold, wherein the difference information is generated according to the difference between the storage quantity and the preset material storage threshold, and the difference information includes: a first difference level, a second difference level and a third difference level; According to the different difference levels of the difference information, material replenishment processing is performed at different speeds.
8. A material in-and-out warehouse management system, characterized in that: include: The identification and processing module is used to perform information identification and processing on the materials when the materials are shipped out or received, and obtain material parameter information; A statistical processing module is used to obtain material information in the historical library, and obtain updated target material information according to the material parameter information and the material information in the historical library; An information processing module, used to obtain a preset material reserve threshold, and verify the target material information according to the preset material reserve threshold; The early warning processing module is used to generate early warning information when the reserve amount in the target material information is less than or equal to the preset material reserve threshold, and to dispatch the material according to the early warning information.
9. A computer device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the material in-and-out warehouse management method described in any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor, the material in-and-out warehouse management method described in any one of claims 1 to 7 is implemented.
Citation Information
Cited By
Rebar distribution management method, device and equipment based on tidal algorithm and medium
CN120746421A
