RFID reading method and system of intelligent three-dimensional container
By enhancing the image information of RFID electronic tags in the intelligent stereo warehousing environment and adjusting the grayscale value using adjustment factors, the problem of RFID recognition difficulties in the intelligent stereo warehousing is solved, and fast and accurate label recognition is achieved.
Patent Information
- Application Number
- CN202411771181.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-04
- Publication Date
- 2025-03-28
AI Technical Summary
In an intelligent stereo storage environment, RFID recognition faces the difficulty of identifying and transmitting multiple tag information simultaneously, and the location movement, lighting changes and equipment operation difficulty are different, resulting in inaccurate and inefficient tag information identification.
By acquiring the image information of the RFID electronic tags, the edges and corner positions of the image information are enhanced, and the grayscale value is changed using adjustment factors, and the adjustment factors are adjusted according to the library position height, light source distance and movement speed to improve identification accuracy and efficiency.
It realizes fast and accurate identification of smart tags in the intelligent stereo warehouse environment, avoids the problem of excessive enhancement processing, and improves the efficiency and accuracy of RFID reading.
Smart Images

Figure CN119721086A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of intelligent warehousing, and in particular relates to an RFID reading method and system for an intelligent three-dimensional container. Background Art
[0002] Intelligent three-dimensional warehouses can be equipped with electronic identification technologies such as barcode scanning, RFID (Radio Frequency Identification) and vision to accurately identify and manage stored materials; they can quickly and accurately identify and calculate the information and quantity of goods in inventory, avoiding the errors and time costs that may be caused by manual counting in traditional inventory counting.
[0003] In the intelligent warehouse environment, when performing RFID identification, it is difficult to identify the smart label because of the identification and transmission of multiple tag information at the same time, as well as the different implementation and movement of the intelligent warehouse's own storage locations, lighting conditions, and the difficulty of allowed equipment operation. This makes it difficult to accurately and quickly locate and identify the barcode. Summary of the invention
[0004] In order to solve the above problems, the present invention proposes an RFID reading method and system for an intelligent three-dimensional container. After acquiring the image information of the RFID electronic tag, the present invention enhances the edge and corner positions of the image information to improve the accuracy and efficiency of tag information recognition. Specifically, the adjustment factor changes with the difference in the three-dimensional warehouse area where the image information is located and the moving speed of the storage location. The three-dimensional warehouse is divided into sections according to the height of the storage location and the distance from the light source. The farther the three-dimensional warehouse area where the image information is located is from the preset height area, the farther it is from the light source and the faster the corresponding storage location moves, the greater the adjustment factor is, otherwise the smaller the adjustment factor is. Taking into account the implementation movement of the storage location of the intelligent three-dimensional warehouse itself, the different lighting conditions and the different allowed equipment operation difficulties, which lead to the impact on the recognition of the smart tag, on the basis of ensuring fast and accurate recognition, the problem of excessive enhancement processing is avoided.
[0005] In order to achieve the above object, the present invention is implemented through the following technical solutions:
[0006] In a first aspect, the present invention provides an RFID reading method for an intelligent three-dimensional container, comprising:
[0007] Obtain image information of RFID electronic tags;
[0008] The edge and corner positions of the image information are enhanced by changing the grayscale value through an adjustment factor; the adjustment factor changes with the different stereoscopic warehouse areas where the image information is located and the moving speed of the warehouse. The stereoscopic warehouse is divided into zones according to the height of the warehouse and the distance from the light source. The farther the stereoscopic warehouse area where the image information is located is from the preset height area, the farther it is from the light source and the faster the corresponding warehouse moving speed, the larger the adjustment factor is, otherwise the smaller the adjustment factor is;
[0009] The barcode is located based on the preprocessed image.
[0010] Furthermore, the adjusted grayscale value res is:
[0011] res=round((orig-mean)*Factor)+orig
[0012] Among them, the round() function is used to round the numbers; mean is the average grayscale value of the entire image; orig is the original grayscale value of the edge and corner areas; Factor is the adjustment factor, which is a measure of the contrast increase.
[0013] Furthermore, the adjustment factor Factor is:
[0014]
[0015] Among them, Factor0 is the initial adjustment factor; H is the height where the image information is collected; H1 is the preset height; D is the distance from the light source; α, β and γ are preset parameters.
[0016] Furthermore, before the enhancement process, Gaussian filtering is performed on the image information.
[0017] Furthermore, image points whose grayscale values are within a preset range are regarded as a region, and multiple grayscale value intervals that meet the preset range are respectively regarded as separate regions; and all regions that meet the shape feature requirements are regarded as image identification regions.
[0018] Furthermore, if the effective communication distance is within the preset distance, the located barcode is transmitted wirelessly, otherwise, the transmission method is changed; the effective communication distance is equal to the square root of the product of the transmitting power, the transmitting antenna gain, the receiving antenna gain and the receiving sensitivity, multiplied by the environmental adjustment factor; if the closed proportion of the three-dimensional warehouse is higher than the preset value, the environmental adjustment factor is greater than 0 and less than 1, and decreases with the increase of the closed proportion; if the closed proportion of the three-dimensional warehouse is less than the preset value, the environmental adjustment factor is greater than 1, and increases with the decrease of the closed proportion; the closed proportion is the ratio of the sealed area of the entire three-dimensional warehouse to the overall area.
[0019] In a second aspect, the present invention further provides an RFID reading system for an intelligent three-dimensional container, comprising:
[0020] The data acquisition module is configured to: obtain image information of the RFID electronic tag;
[0021] The enhancement processing module is configured to: enhance the edge and corner positions of the image information by changing the grayscale value through an adjustment factor; the adjustment factor changes with the difference in the stereoscopic warehouse area where the image information is located and the speed of the warehouse location movement. The stereoscopic warehouse is divided into zones according to the height of the warehouse location and the distance from the light source. The farther the stereoscopic warehouse area where the image information is located is from the preset height area, the farther it is from the light source and the faster the corresponding warehouse location movement speed is, the greater the adjustment factor is, otherwise the adjustment factor is smaller;
[0022] The barcode positioning module is configured to: perform barcode positioning according to the preprocessed image.
[0023] In a third aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the intelligent stereoscopic warehouse RFID reading method described in the first aspect.
[0024] In a fourth aspect, the present invention further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and capable of running on the processor, wherein when the processor executes the program, the steps of the smart stereoscopic warehouse RFID reading method described in the first aspect are implemented.
[0025] In a fifth aspect, the present invention further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps of the smart stereoscopic warehouse RFID reading method described in the first aspect are implemented.
[0026] Compared with the prior art, the present invention has the following beneficial effects:
[0027] The present invention creatively proposes an RFID reading method for an intelligent three-dimensional container. After acquiring the image information of the RFID electronic tag, the edge and corner positions of the image information are enhanced to improve the accuracy and efficiency of the tag information recognition. Specifically, the adjustment factor changes with the difference in the three-dimensional warehouse area where the image information is located and the moving speed of the warehouse position. The three-dimensional warehouse is divided according to the height of the warehouse position and the distance from the light source. The farther the three-dimensional warehouse area where the image information is located is from the preset height area, the farther it is from the light source and the faster the corresponding warehouse position moves, the larger the adjustment factor is, otherwise the smaller the adjustment factor is. The problem of the intelligent three-dimensional warehouse's own warehouse position implementation movement, lighting conditions and allowed equipment operation difficulty affecting the recognition of the intelligent tag is solved, and fast and accurate recognition of the electronic tag is achieved on the basis of avoiding the problem of excessive enhancement processing. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] The drawings in the specification that constitute a part of this embodiment are used to provide a further understanding of this embodiment. The schematic embodiments of this embodiment and their descriptions are used to explain this embodiment and do not constitute improper limitations on this embodiment.
[0029] Figure 1 This is a flow chart of the method of Example 1 of the present invention. DETAILED DESCRIPTION
[0030] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0031] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present application. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present application belongs.
[0032] Embodiment 1:
[0033] This embodiment provides an RFID reading method for a smart three-dimensional container, comprising:
[0034] S1. Obtain the image information of the RFID electronic tag through a gun or image acquisition device.
[0035] S2. Preprocess the acquired image information.
[0036] S2.1, Image filtering:
[0037] Optionally, the image is filtered using a Gaussian filter; a Gaussian filter is a type of linear smoothing filter that selects weights based on the shape of a Gaussian function. Gaussian smoothing filters are very effective in suppressing noise that follows a normal distribution.
[0038]
[0039] Among them, σ represents the standard deviation of the normal distribution, which is responsible for determining the degree of dispersion of the distribution; the larger the standard deviation, the more dispersed the data distribution is and the flatter the curve is; the smaller the standard deviation, the more concentrated the data distribution is and the steeper the curve is. Represents the normalization factor, ensuring that the total area under the entire probability density function curve is equal to 1, satisfying the properties of the probability density function. Represents the exponential part, which determines the shape of the normal distribution curve; the exponent represents the square of the standardized distance between the x value and the mean multiplied by The smaller this value is, the larger the value of the exponential function is, which means the probability density is higher.
[0040] S2.2, Enhance contrast:
[0041] The contrast enhancement part is used to emphasize the high-frequency areas in the image, such as edges and corners, to make the image clearer. Use low-pass (mean image) filtering to get the adjusted grayscale value (res):
[0042] res=round((orig-mean)*Factor)+orig
[0043] Among them, the round() function is used to round the numbers; mean is the average grayscale value of the entire image; orig is the original grayscale value of the edge and corner area; Factor is the adjustment factor, which is a measure of contrast increase. The split frequency is determined by the size of the filter matrix: the larger the matrix, the lower the split frequency. As an edge processing, the grayscale value of the image edge will be mirrored. Overflow or underflow of grayscale values will be clipped.
[0044] The adjustment factor Factor changes with the different stereoscopic warehouse areas where the image information is located and the speed of the warehouse location. The stereoscopic warehouse is divided into different areas according to the height of the warehouse location and the distance from the light source. The farther the stereoscopic warehouse area where the image information is located is from the preset height area, the farther it is from the light source and the faster the corresponding warehouse location moves, the more difficult it is to identify the image information. The larger the adjustment factor is, the more accurate the recognition of the image information is. Otherwise, the smaller the adjustment factor is, the pressure on data processing, transmission and storage caused by excessive enhancement and excessive grayscale values is avoided. The light source can refer to the lighting device or window in the stereoscopic warehouse. The adjustment factor Factor is:
[0045]
[0046] Among them, Factor0 is the initial adjustment factor; H is the height at which the image information is collected, which is relative to the ground. Too high or too low a height is not conducive to the operation of the equipment, and will inevitably cause the angle of the collection equipment to be excessive relative to the image; H1 is a preset height, which can be set to a convenient operating height for operators to stand, such as 1.3m; D is the distance from the light source. The farther away from the light source, the smaller the light intensity, which is more unfavorable for image recognition; V is the moving speed of the corresponding storage location. The faster the speed, the more unstable the image and the more difficult it is to recognize; α, β and γ are preset parameters, which can eliminate the units of distance and speed, and determine the specific values through experiments, etc., so as to determine the influence of different factors of distance and speed.
[0047] S3. Barcode positioning.
[0048] S3.1, Image Binarization:
[0049] Optionally, a threshold operation is used to select pixels in the input image whose grayscale value g satisfies the following conditions:
[0050] MinGray≤g≤MaxGray
[0051] Where MinGray and MaxGray are the minimum and maximum values of the preset range, respectively. All image points that meet the conditions are returned as a region. If multiple grayscale value intervals are passed, a separate region is returned for each interval. For vector field images, the threshold is not applied to the grayscale value, but to the length of the vector.
[0052] S3.2, filter matching area:
[0053] Optionally, the Select Shape operator selects regions based on shape features. For each input region from the input parameters, the specified features are calculated. If all or at least one of the calculated features is within the default limits (Min, Max), the region will be adjusted to the output.
[0054] Min i ≤Features i (Object)≤Max i
[0055] S4. Information transmission.
[0056] During the transmission of tag information, it is easy to be affected by the surrounding environment, resulting in problems such as dirty reading and cross reading of electronic tags, which affects the recognition efficiency and accuracy of electronic tags. In addition, during wireless transmission, it is easy to have inaccurate judgment of the effective communication distance, resulting in inaccurate wireless information received, or directly failing to receive tag information.
[0057] Based on this, in this embodiment, if the effective communication distance is within the preset distance, the located barcode is transmitted wirelessly, otherwise, the transmission method is changed, such as using wired transmission, or reducing the distance between the receiving device and the stereoscopic warehouse.
[0058] Specifically, the effective communication distance d of the RFID tag is affected by many factors. The effective communication distance is equal to the square root of the product of the transmission power, the transmission antenna gain, the receiving antenna gain and the receiving sensitivity, multiplied by the environmental adjustment factor. The effective communication distance d is:
[0059]
[0060] Where Pt is the transmit power (watts); Gt is the transmit antenna gain (dimensionless); Gr is the receive antenna gain (dimensionless); Pr is the receive sensitivity (watts); and c is the environmental adjustment factor.
[0061] Among them, if the closed ratio of the three-dimensional warehouse is higher than the preset value, the environmental adjustment factor is greater than 0 and less than 1, and decreases with the increase of the closed ratio; if the closed ratio of the three-dimensional warehouse is less than the preset value, the environmental adjustment factor is greater than 1, and increases with the decrease of the closed ratio; the closed ratio is the ratio of the sealed area of the entire three-dimensional warehouse to the overall area; for example, the entire three-dimensional warehouse is regarded as a rectangle, and the area of all faces except the bottom face in the rectangle is the overall area of the three-dimensional warehouse. If the four sides of the three-dimensional warehouse are open, the sealed area of the three-dimensional warehouse is the area of the top.
[0062] Specifically, when determining the effective communication distance, the resistance of the closed condition of the three-dimensional warehouse itself to the wireless signal is taken into consideration, which improves the accuracy of the effective communication distance and avoids the problem of inaccurate judgment of the effective communication distance due to the influence of the three-dimensional warehouse, resulting in inaccurate wireless received information, or directly failing to receive tag information.
[0063] Use the RFID device as the server, and use the GClient method in the Java code to connect the device, so that the device can read the electronic tag normally; however, in this way, the device cannot be reconnected after being disconnected, that is, after the device is disconnected once, it needs to be reinitialized. Based on this, in this embodiment, the RFID device is used as the client, and the GServer method is used in the code to connect, and the server IP address and port information are set. A subscription mechanism for disconnection and reconnection is added to the code, as well as real-time heartbeat information between the server and the client, so that the device status can be monitored in real time. Using radio waves to identify and track objects, data transmission relies on modulation and demodulation technology to ensure that the signal can be effectively transmitted in the radio waves; for example, through modulation and Manchester encoding and other technologies, the synchronization and anti-interference capabilities are improved, so that the read electronic tags reduce the probability of dirty reading and cross reading.
[0064] Embodiment 2:
[0065] This embodiment provides an RFID reading system for a smart three-dimensional container, including:
[0066] The data acquisition module is configured to: obtain image information of the RFID electronic tag;
[0067] The enhancement processing module is configured to: enhance the edge and corner positions of the image information by changing the grayscale value through an adjustment factor; the adjustment factor changes with the difference in the stereoscopic warehouse area where the image information is located and the speed of the warehouse location movement. The stereoscopic warehouse is divided into zones according to the height of the warehouse location and the distance from the light source. The farther the stereoscopic warehouse area where the image information is located is from the preset height area, the farther it is from the light source and the faster the corresponding warehouse location movement speed is, the greater the adjustment factor is, otherwise the adjustment factor is smaller;
[0068] The barcode positioning module is configured to: perform barcode positioning according to the preprocessed image.
[0069] The working method of the system is the same as the smart stereoscopic warehouse RFID reading method of Example 1, and will not be repeated here.
[0070] Embodiment 3:
[0071] This embodiment provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of the smart three-dimensional warehouse RFID reading method described in Example 1 are implemented.
[0072] Embodiment 4:
[0073] This embodiment provides an electronic device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor. When the processor executes the program, the steps of the smart stereoscopic warehouse RFID reading method described in Example 1 are implemented.
[0074] Embodiment 5:
[0075] This embodiment provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps of the smart three-dimensional warehouse RFID reading method described in Example 1 are implemented.
[0076] The above description is only a preferred embodiment of the present embodiment and is not intended to limit the present embodiment. For those skilled in the art, the present embodiment may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present embodiment shall be included in the protection scope of the present embodiment.
Claims
1. An RFID reading method for a smart three-dimensional container, characterized in that: include: Obtain image information of RFID electronic tags; The edge and corner positions of the image information are enhanced by changing the grayscale value through an adjustment factor; the adjustment factor changes with the different stereoscopic warehouse areas where the image information is located and the moving speed of the warehouse. The stereoscopic warehouse is divided into zones according to the height of the warehouse and the distance from the light source. The farther the stereoscopic warehouse area where the image information is located is from the preset height area, the farther it is from the light source and the faster the corresponding warehouse moving speed, the larger the adjustment factor is, otherwise the smaller the adjustment factor is; The barcode is located based on the preprocessed image.
2. The RFID reading method of the intelligent three-dimensional container according to claim 1, characterized in that: The adjusted grayscale value res is: res=round((orig-mean)*Factor)+orig Among them, the round() function is used to round the numbers; mean is the average grayscale value of the entire image; orig is the original grayscale value of the edge and corner areas; Factor is the adjustment factor, which is a measure of the contrast increase.
3. The RFID reading method of the intelligent three-dimensional container according to claim 2, characterized in that: The adjustment factor Factor is: Among them, Factor0 is the initial adjustment factor; H is the height where the image information is collected; H1 is the preset height; D is the distance from the light source; α, β and γ are preset parameters.
4. The RFID reading method of the intelligent three-dimensional container according to claim 1, characterized in that: Before enhancement processing, Gaussian filtering is performed on the image information.
5. The RFID reading method of the intelligent three-dimensional container according to claim 1, characterized in that: Image points whose grayscale values are within the preset range are regarded as a region, and multiple grayscale value intervals that meet the preset range are respectively regarded as separate regions; all regions that meet the shape feature requirements are regarded as image identification regions.
6. The RFID reading method of the intelligent three-dimensional container according to claim 1, characterized in that: If the effective communication distance is within the preset distance, the located barcode is transmitted wirelessly, otherwise, the transmission method is changed; the effective communication distance is equal to the square root of the product of the transmitting power, the transmitting antenna gain, the receiving antenna gain and the receiving sensitivity, multiplied by the environmental adjustment factor; if the closed proportion of the three-dimensional warehouse is higher than the preset value, the environmental adjustment factor is greater than 0 and less than 1, and decreases with the increase of the closed proportion; if the closed proportion of the three-dimensional warehouse is less than the preset value, the environmental adjustment factor is greater than 1, and increases with the decrease of the closed proportion; the closed proportion is the ratio of the sealed area of the entire three-dimensional warehouse to the overall area.
7. An RFID reading system for an intelligent three-dimensional container, characterized in that: include: The data acquisition module is configured to: obtain image information of the RFID electronic tag; The enhancement processing module is configured to: enhance the edge and corner positions of the image information by changing the grayscale value through an adjustment factor; the adjustment factor changes with the difference in the stereoscopic warehouse area where the image information is located and the speed of the warehouse location movement. The stereoscopic warehouse is divided into zones according to the height of the warehouse location and the distance from the light source. The farther the stereoscopic warehouse area where the image information is located is from the preset height area, the farther it is from the light source and the faster the corresponding warehouse location movement speed is, the greater the adjustment factor is, otherwise the adjustment factor is smaller; The barcode positioning module is configured to: perform barcode positioning according to the preprocessed image.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the intelligent stereoscopic warehouse RFID reading method as described in any one of claims 1 to 6 are implemented.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and capable of running on the processor, characterized in that: When the processor executes the program, the steps of the smart stereoscopic warehouse RFID reading method as described in any one of claims 1-6 are implemented.
10. A computer program product, characterized in that The computer program product includes a computer program, and when the computer program is executed by a processor, the steps of the smart stereoscopic warehouse RFID reading method as described in any one of claims 1 to 6 are implemented.