Commodity barcode blank area comparison device and detection method

By designing a product barcode blank area comparator containing a comparator body, the problems of low efficiency and high cost of barcode blank area detection in the prior art are solved, and fast and economical blank area size detection is achieved.

CN119374446BActive Publication Date: 2025-04-04NANJING MUNICIPAL INSTITUTE (NANJING ORGANIZATION ORGANIZATION CODE MANAGEMENT CENTER)
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411950553.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-27
Publication Date
2025-04-04
Estimated Expiration
2044-12-27

AI Technical Summary

Technical Problem

The existing technology lacks convenient tools to directly determine whether the size of the barcode blank area meets the requirements, resulting in low detection efficiency and high cost.

Method used

A product barcode blank area comparator is designed, including a transparent alignment ruler, equipped with an X-axis and a Y-axis, which are used for the Z-value measurement part and the blank area measurement part of the left empty measurement area and the right empty measurement area respectively, and the blank area measurement part is quickly judged through the magnification reference line whether the blank area width meets the standard.

Benefits of technology

It greatly improves the efficiency of barcode blank area detection and reduces the detection cost. Without the need to use the barcode detector, it can easily and quickly determine whether the barcode blank area size is qualified.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119374446B_ABST
    Figure CN119374446B_ABST
Patent Text Reader

Abstract

The present invention discloses a commodity barcode blank area comparison device and detection method, belonging to the field of barcode quality detection technology. The comparison device includes a transparent comparison ruler body, the surface of the comparison ruler body is provided with an X-axis line and a Y-axis line which are perpendicular and cross each other, the two sides of the X-axis line are respectively used as a left blank measurement area and a right blank measurement area, the left blank measurement area and the right blank measurement area are respectively divided into a Z value measurement part and a blank area measurement part by the Y-axis line, and the two Z value measurement parts of the left blank measurement area and the right blank measurement area are adjacent to each other; taking the intersection of the X-axis line and the Y-axis line as the origin, the X-axis line and the Y-axis line are respectively provided with scale lines on the semi-axes on both sides of the origin; the two Z value measurement parts are respectively provided with magnification reference lines, and the slopes of the two magnification reference lines are respectively the ratio of the preset barcode left blank area width to the barcode Z value, and the ratio of the barcode right blank area width to the barcode Z value. The present invention can improve the efficiency of barcode blank area width detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of commodity barcode quality detection, in particular to a commodity barcode blank area comparer and a detection method. Background Art

[0002] Barcodes, or barcodes, are graphic identifiers that are composed of multiple dark and light bars of equal width, arranged according to certain coding rules to express a set of information. In the process of commodity circulation, the barcode can be used to understand the commodity's country of origin, manufacturer, commodity name, production date, category and other information. In the era of e-commerce, barcodes can be used to better manage goods, facilitate automatic identification, improve the efficiency of commodity circulation, and more accurately grasp commodity information and achieve product traceability. Therefore, barcodes are widely used in many fields.

[0003] In order to make barcodes more effectively recognized, the industry has formulated relevant standards for bar height, magnification factor, scanning reflectivity level, Z size (equivalent to the width of a single module of the start or end character), decoding accuracy, etc. Among them, the size of the blank area on the left and right sides of the barcode is one of the mandatory items for printing quality inspection. If the size of the blank area is smaller than the minimum allowed width, it will affect the accuracy of barcode recognition and may even cause the barcode to be unrecognizable.

[0004] At present, there is no convenient tool in the industry that can directly determine whether the size of the blank area of ​​the barcode meets the requirements. The existing barcode measuring ruler can only be used to detect the magnification factor of the barcode, and cannot be used for blank area size compliance detection. Enterprises usually need to send barcode samples to local barcode branches for detection and judgment. The conventional detection and judgment method is relatively complicated. Generally, it is: first use a length measuring tool to measure the width of the blank area, then use a barcode detector to measure the Z value, and judge whether the Z value is qualified, and then determine whether the blank area meets the standard requirements through calculation and comparison. The detection efficiency is low. Moreover, the width of the blank area of ​​the barcode is related to the Z size, but the barcode pattern itself is small, and the single module of the start character and the end character is thin. The conventional length measuring tool cannot accurately measure the Z size. The cost of the barcode detection instrument used to measure the Z size is high. If the enterprise does not have a barcode detection instrument, it cannot measure the Z size, and it cannot perform daily control of the printing quality of the blank area of ​​the barcode. Therefore, there is an urgent need for a tool that can conveniently and quickly measure whether the size of the blank area of ​​the barcode meets the regulations. Summary of the invention

[0005] The purpose of the present invention is to provide a commodity barcode blank area comparison device and detection method, which can conveniently and quickly compare and detect the blank area of ​​the barcode, facilitate the judgment of whether the blank area size meets the requirements, greatly improve the efficiency of barcode blank area detection, and reduce the cost of daily management and control of barcode blank area printing quality for enterprises. The technical solution adopted by the present invention is as follows.

[0006] On the one hand, the present invention provides a commodity barcode blank area comparison device, comprising a transparent comparison ruler body, wherein the surface of the comparison ruler body is provided with an X axis and a Y axis which are perpendicular and intersecting to each other, and the two sides of the X axis are respectively used as a left blank measurement area and a right blank measurement area, and the left blank measurement area and the right blank measurement area are respectively divided into a Z value measurement part and a blank area measurement part by the Y axis, and the two Z value measurement parts of the left blank measurement area and the right blank measurement area are adjacent to each other;

[0007] The intersection of the X-axis and the Y-axis is taken as the origin, and scale lines are respectively provided on the semi-axes of the X-axis and the Y-axis located on both sides of the origin;

[0008] The two Z value measurement parts are respectively provided with magnification reference lines. The slope of the magnification reference line of the Z value measurement part in the left blank measurement area is the ratio of the preset barcode left blank area width to the barcode Z value, and the slope of the magnification reference line of the Z value measurement part in the right blank measurement area is the ratio of the preset barcode right blank area width to the barcode Z value.

[0009] When used, the comparator of the present invention is placed according to the barcode to be measured. When measuring any blank area, the Z value measurement part and the blank area measurement part of a corresponding measurement area correspond to the barcode position and the blank area position respectively, and the Y axis coincides with the outer edge line of the module at the outermost side of the start character or the end character. For the left blank area, the Z value point of the start character can be measured at this time to determine whether the Z value is qualified. If it is unqualified, the comparison can be stopped. If the Z value is qualified, the Y axis coordinate of the position point where the right edge line of the first module of the start character intersects with the multiplier reference line can be used to obtain the barcode blank area width reference value that meets the set multiplier. At the same time, the width of the blank area can be measured using the X axis scale line of the current blank area measurement part. By comparing the size relationship between the actual width and the reference value, it can be determined whether the left blank size is qualified. The same principle is used to compare the right blank size. If the blank area sizes on both sides are qualified, the blank area size of the barcode is qualified.

[0010] It should be noted that, considering that the comparator of the present invention is placed according to the direction of the barcode, and when the left and right spaces of the same barcode are measured respectively, if the direction of the barcode remains unchanged, the comparator only needs to be rotated 180 degrees between the measurements of the blank areas on both sides of the barcode. Therefore, the above-mentioned X-axis and Y-axis are not limited to the horizontal X-axis and the vertical Y-axis in the plane coordinate system. It can also be understood that the positive and negative directions of the X-axis and the Y-axis change with the measurement of the left and right spaces.

[0011] Optionally, the length of the Z value measuring part in the X-axis direction is smaller than the length of the blank area measuring part in the X-axis direction. This setting is adapted to the actual situation that the measurement range required for the start and end character measurements is small, while the measurement range required for the blank area width measurement is large. For a comparator of the same external dimensions, this implementation can meet the requirements of a larger measurement range for blank area measurement.

[0012] Optionally, two blank area measurement parts are provided with equal scale reference lines, one end of which is connected to the scale line on the Y axis, and the other end is connected to the scale line on the X semi-axis between the two blank area measurement parts, and the scale values ​​of the scale lines connected at both ends of each equal scale reference line are equal. In this embodiment, when the blank area width reference value, i.e., the Y axis coordinate, is obtained from the magnification reference line, the scale line on the Y axis can be led to the corresponding X axis scale line through the equal scale reference line. At this time, it is only necessary to observe whether the actual blank area edge is outside the X axis scale line to determine whether the blank area size is qualified.

[0013] Optionally, a Z value range reference scale line is also provided on the X semi-axis between the two Z value measuring parts. Within the allowable magnification factor range, a qualified Z value corresponds to a value range, such as 0.264~0.660mm for EAN and UPC barcodes. If the inner edge of the first module of the start character or the last module of the end character falls between the two reference scale lines corresponding to the range, it means that the Z value is qualified.

[0014] Optionally, within the set Y-axis coordinate range, the scale line on the Y-axis line extends to intersect with the magnification reference line, thereby conveniently reading the Y-axis coordinate of the point on the magnification reference line whose X-axis coordinate is the Z value.

[0015] Preferably, the length of the scale line on the Y axis extending from the Y axis toward the Z value measurement part is at least equal to the maximum value in the preset Z value range. That is, the scale line should extend to at least connect with the larger scale line of the reference scale line of the Z value range, so that the Y axis coordinate of the intersection of the over-multiplication rate reference line of the inner edge line of the first module of the start symbol can be clearly and quickly distinguished within the qualified Z value range, that is, the minimum width that the blank area should meet.

[0016] Optionally, at one end of the two Y semi-axes facing the origin, and at one end of the X semi-axes between the two blank area measurement parts facing the origin, the starting position of the scale line has a set interval from the origin. Because these three semi-axes actually correspond to the width of the blank area, there is a long section on the side close to the origin that does not require scale lines to assist reading, so the starting point of the scale line display can be set according to the blank area width corresponding to the minimum value of the Z value range.

[0017] Optionally, the ruler body is round or square, and can be made of a glass substrate or a film. On the ruler body made of a glass substrate, the lines can be other colors other than black, and preferably different colors are used for different types of lines, which is easier to distinguish and detect. The ruler body made of film can greatly reduce the production cost and is conducive to the rapid promotion of the product.

[0018] Optionally, the commodity barcode blank area comparison device of the present invention further comprises a magnifying glass, the magnifying glass comprises a lens barrel and a multiple optical lens installed in the lens barrel, and the comparison ruler body is detachably installed at the bottom of the lens barrel. Preferably, the side wall of the lens barrel is provided with a slot for inserting the comparison ruler body. The lens barrel can be cylindrical in the form of a graduated magnifying glass, and the comparison ruler can be made into a circular shape, and the comparison ruler with different parameters such as different ranges can be replaced according to different needs.

[0019] In addition, the comparison ruler body of the present invention can also be made into a rectangular shape and used in conjunction with a handheld magnifying glass to inspect bar codes.

[0020] In a second aspect, the present invention provides a detection method based on the commodity barcode blank area comparison device described in the first aspect, comprising:

[0021] Perform the following detection operations on the left blank area of ​​the barcode to be detected:

[0022] a1) Cover the comparison ruler body on the surface of the barcode to be detected, so that the Y axis coincides with the outer edge line of the first module of the start symbol, and the barcode is projected on the Z value measurement part of the left blank measurement area of ​​the comparison ruler body, and the left blank area of ​​the barcode is projected on the blank area measurement part of the left blank measurement area;

[0023] b1) Obtain the intersection of the inner edge line of the first module of the barcode start character and the magnification reference line, obtain the Y-axis coordinate of the intersection through the scale line on the Y-axis line, and use the corresponding coordinate value as the reference value of the left blank area width;

[0024] c1) obtaining the actual width of the left blank area between the origin and the left blank area boundary through the scale lines on the X axis, and comparing it with the left blank area width reference value. If the actual width of the left blank area is equal to or greater than the left blank area width reference value, the size of the left blank area is qualified; or, finding the scale line on the X semi-axis of the corresponding blank area measurement part that is equal to the left blank area width reference value as the left blank area boundary reference line, and judging whether the actual left blank area boundary line is above or outside the left blank edge line. If so, the size of the left blank area is qualified;

[0025] Perform the following detection operations on the right blank area of ​​the barcode to be detected:

[0026] a2) Cover the comparison ruler body on the surface of the barcode to be detected, so that the Y axis coincides with the outer edge line of the last module of the terminator, and the barcode is projected on the Z value measurement part of the right blank measurement area of ​​the comparison ruler body, and the right blank area of ​​the barcode is projected on the blank area measurement part of the right blank measurement area;

[0027] b2) Obtain the intersection of the inner edge line of the last module of the barcode terminator and the magnification reference line, obtain the Y-axis coordinate of the intersection through the scale line on the Y-axis line, and use the corresponding coordinate value as the reference value of the right blank area width;

[0028] c2) obtaining the actual width of the right blank area between the origin and the right blank area boundary through the scale lines on the X axis, and comparing it with the right blank area width reference value. If the actual width of the right blank area is equal to or greater than the right blank area width reference value, the size of the right blank area is qualified; or, finding the scale line on the X semi-axis of the corresponding blank area measurement part that is equal to the right blank area width reference value as the right blank area boundary reference line, and judging whether the actual right blank area boundary line is above or outside the right blank area boundary reference line. If so, the size of the right blank area is qualified;

[0029] If both the left blank area size and the right blank area size are qualified, it is determined that the blank area size of the barcode to be detected is qualified.

[0030] The above detection method may be performed without considering whether the barcode Z value is qualified, or after the barcode Z value is detected to be qualified by other means.

[0031] In a third aspect, the present invention provides another barcode detection method based on the commodity barcode blank area comparer of the first aspect, wherein on the commodity barcode blank area comparer, a Z value range reference scale line is provided on the X semi-axis between the two Z value measurement parts; the detection method comprises:

[0032] Perform the following detection operations on the left blank area of ​​the barcode to be detected:

[0033] a3) Cover the comparison ruler body on the surface of the barcode to be tested, so that the Y axis coincides with the left edge line of the first module of the start symbol, and the barcode is projected on the Z value measurement part of the left blank measurement area, and the left blank area of ​​the barcode is projected on the blank area measurement part of the left blank measurement area;

[0034] b3) determining whether the inner edge line of the first module of the barcode start character is within the range of the Z value range reference scale line, if it is satisfied, the barcode Z value is determined to be qualified, and the process goes to step c3), if not, the barcode Z value is determined to be unqualified, and the blank area detection operation of the current barcode is stopped;

[0035] c3) Get the intersection of the inner edge line of the first module of the barcode start character and the magnification reference line, obtain the Y-axis coordinate of the intersection through the scale line on the Y-axis line, and use the corresponding coordinate value as the reference value of the left blank area width;

[0036] d3) obtaining the actual width of the left blank area between the origin and the left blank area boundary through the scale lines on the X axis, and comparing it with the left blank area width reference value. If the actual width of the left blank area is equal to or greater than the left blank area width reference value, the size of the left blank area is qualified; or, finding the scale line on the X semi-axis of the corresponding blank area measurement part that is equal to the left blank area width reference value as the left blank area boundary reference line, and judging whether the actual left blank area boundary line is above or outside the left blank area edge line, if so, the size of the left blank area is qualified;

[0037] Perform the following detection operations on the right blank area of ​​the barcode to be detected:

[0038] a4) Cover the comparison ruler body on the surface of the barcode to be detected, with the Y axis line coinciding with the right edge line of the last module of the terminator, and the barcode projected on the Z value measurement part of the right blank measurement area of ​​the comparison ruler body, and the right blank area of ​​the barcode projected on the blank area measurement part of the right blank measurement area;

[0039] b4) Obtain the intersection of the inner edge line of the last module of the barcode terminator and the magnification reference line, obtain the Y-axis coordinate of the intersection through the scale line on the Y-axis line, and use the corresponding coordinate value as the reference value of the right blank area width;

[0040] c4) obtaining the actual width of the right blank area between the origin and the right blank area boundary through the scale lines on the X axis, and comparing it with the right blank area width reference value. If the actual width of the right blank area is equal to or greater than the right blank area width reference value, the size of the right blank area is qualified; or, finding the scale line on the X semi-axis of the corresponding blank area measurement part that is equal to the right blank area width reference value as the right blank area boundary reference line, and judging whether the actual right blank area boundary line is above or outside the right blank area boundary reference line. If so, the size of the right blank area is qualified;

[0041] If both the left blank area size and the right blank area size are qualified, it is determined that the blank area size of the barcode to be detected is qualified.

[0042] In the above detection method, since the width of all modules is theoretically consistent when the barcode is printed, it is not necessary to judge the eligibility of the Z value when measuring the next blank area.

[0043] The detection methods of the second and third aspects can be implemented manually or with the aid of an image acquisition device and a computer. It should be noted that the inner side and outer side of the first module of the start symbol and the last module of the terminator are distinguished according to whether they face other modules of the barcode or the blank area, with the side close to other modules of the barcode being the inner side and the side facing the blank area being the outer side.

[0044] Beneficial Effects

[0045] The commodity barcode blank area comparison device of the present invention can perform comprehensive blank area detection on the barcode by arranging a left blank area measurement area and a right blank area measurement area respectively having a Z value measurement part and a blank area measurement part, which are respectively used for detecting the left blank area and the right blank area of ​​the barcode; by arranging a magnification reference line in the Z value measurement part, the minimum requirement for the blank area width can be obtained conveniently and quickly according to the Z value affected by the barcode magnification factor, so as to quickly judge whether the blank area size meets the requirement, thereby greatly improving the efficiency of barcode blank area detection, without the need for a barcode detector, and greatly reducing the cost of blank area detection.

[0046] At the same time, by setting the Z value reference range scale line on the comparison ruler body, the present invention can conveniently judge whether the Z value is qualified according to the barcode start symbol module width, and perform subsequent blank area detection work after the Z value is qualified, which can further improve the efficiency of barcode detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 It is a schematic diagram of a commodity barcode blank area comparison device in a first embodiment of the present invention;

[0048] Figure 2 It is a schematic diagram of a commodity barcode blank area comparison device according to a second embodiment of the present invention;

[0049] Figure 3 It is a schematic diagram of a commodity barcode blank area comparison device according to a third embodiment of the present invention;

[0050] Figure 4 It is a schematic diagram of a commodity barcode blank area comparison device according to a fourth embodiment of the present invention;

[0051] Figure 5 Shown is a schematic diagram of a commodity barcode blank area comparer in accordance with a fifth embodiment of the present invention. DETAILED DESCRIPTION

[0052] The technical concept of the present invention is, according to the correlation between the width of the blank area of ​​the barcode and the Z value, by setting the form of a comparison ruler and reasonably setting the magnification reference line on the comparison ruler, so that the magnification reference line can intersect with the boundary line of a single module of the start character or the end character representing the Z value of the barcode, so as to directly obtain the reference value of the blank area width from the Y-axis coordinate of the intersection, thereby facilitating the rapid and efficient detection of the size of the blank area of ​​the barcode.

[0053] The invention is further described below with reference to the accompanying drawings and specific embodiments.

[0054] Example 1

[0055] This embodiment introduces a commodity barcode blank area comparison device, referring to Figure 1 , which comprises a transparent comparison ruler body, wherein the surface of the comparison ruler body is provided with an X axis and a Y axis which are perpendicular and intersecting to each other, wherein the two sides of the X axis serve as a left blank measurement area and a right blank measurement area respectively, wherein the left blank measurement area and the right blank measurement area are respectively divided into a Z value measurement part and a blank area measurement part by the Y axis, and the two Z value measurement parts of the left blank measurement area and the right blank measurement area are adjacent to each other;

[0056] The intersection of the X-axis and the Y-axis is taken as the origin, and scale lines are respectively provided on the semi-axes of the X-axis and the Y-axis located on both sides of the origin;

[0057] The two Z value measurement parts are respectively provided with magnification reference lines. The slope of the magnification reference line of the Z value measurement part in the left blank measurement area is the ratio of the preset barcode left blank area width to the barcode Z value, and the slope of the magnification reference line of the Z value measurement part in the right blank measurement area is the ratio of the preset barcode right blank area width to the barcode Z value.

[0058] Figure 1 In the embodiment, the magnification reference line of the left blank measurement area can be set to 11 times and the magnification reference line of the right blank measurement area can be set to 7 times according to the requirements of the industry standard to meet the requirements of barcode related specifications such as EAN-13, that is, if the Z value of the barcode is x, the minimum width of the left blank area of ​​the barcode should be 11x, and the minimum width of the right blank area should be 7x. The Z value is the actual width of a single module in the barcode.

[0059] like Figures 1 to 3 As shown, in order to facilitate the user to select the comparison ruler corresponding to the required bar code standard and distinguish different measurement areas on the comparison ruler, the present invention marks the bar code type "EAN", the area marks "left blank", "right blank", and the magnification reference line marks "11X", "7X" in the measurement area of ​​the comparison ruler.

[0060] When this embodiment is used, the comparator of the present invention is placed according to the barcode to be measured. When measuring any blank area, the Z value measurement part and the blank area measurement part of the corresponding measurement area correspond to the starting character position and the blank area position of the barcode respectively, and the Y axis coincides with the left edge line of the first module of the starting character. Then the Z value point can be measured, and it can be judged whether the Z value is qualified at this time. If it is unqualified, the blank area comparison can be stopped. If the Z value is qualified, the Y axis coordinate of the position point where the right edge line of the first module of the starting character intersects with the magnification reference line can be used to obtain the barcode blank area width reference value that meets the set magnification. At the same time, the width of the blank area can be measured using the X axis scale line of the current blank area measurement part. By comparing the size relationship between the actual width and the reference value, it can be judged whether the blank area size is qualified. When the left and right blank area sizes are both qualified, the detection work is completed. According to the relevant barcode specifications, considering the allowable magnification factor, the Z value range of EAN and UPC barcodes is generally between 0.264-0.660mm.

[0061] Example 2

[0062] In order to make the comparator adapt to the barcode blank area measurement with a larger range requirement, considering that the Z value measurement unit only needs to measure the module width of the start character and the end character, and the blank area width requires a larger range, based on Example 1, reference Figure 2 In this embodiment, the length of the Z value measuring part in the X-axis direction is smaller than the length of the blank area measuring part in the X-axis direction. This setting is suitable for the actual situation that the measurement range required for the start character or the end character measurement is small, while the measurement range required for the blank area width measurement is large. For the same size of the comparator, this implementation can meet the needs of barcode measurement with a larger magnification factor range.

[0063] Furthermore, Figure 2 In the embodiment shown, in order to determine whether the Z value of the barcode is within the standard requirement range by measuring the width of the start and end character modules of the barcode, a Z value range reference scale line is provided on the X semi-axis between the two Z value measurement parts.

[0064] Within the allowable magnification range, the qualified Z value corresponds to a range of values, such as the Z value range of EAN and UPC barcodes is usually 0.264~0.660mm. Figure 2 and Figure 3 In the figure, the 0.264mm and 0.660mm scale lines are marked on the X-axis. If the inner edge of the first module of the start symbol or the last module of the end symbol falls between the two reference scale lines corresponding to the range, it means that the Z value is qualified.

[0065] Theoretically, the width of all modules in barcode printing is the same, so it is only necessary to measure the width of a single module of the start character or the end character. Therefore, the Z value range reference scale line can be set only in the Z value measurement part corresponding to the left blank area detection, or in the Z value measurement part corresponding to the right blank area detection. During detection, the blank area detection is first performed using the measurement area with the Z value range reference scale line. If the Z value is unqualified, the subsequent detection operation is stopped. Figure 2 and Figure 3 In the embodiment shown, only the Z value range scale line is set in the Z value measurement part of the left blank measurement area. When detecting, the left blank area of ​​the barcode is detected first, and the Z value is detected first. After the Z value is qualified, the size of the left blank area is detected, and the size of the right blank area is detected through the right blank measurement area. In order to better distinguish the Y-axis coordinate of the intersection of the module edge line and the magnification reference line, as shown in FIG. Figure 2 and Figure 3 The present invention extends the scale lines on the Y axis. Preferably, within the set Y axis coordinate range, the scale lines on the Y axis extend to at least intersect with the magnification reference line.

[0066] for Figure 2 and Figure 3 In the case where a Z value range reference line is set, the present invention is set as follows: the length of the scale line on the Y axis line extending from the Y axis line toward the Z value measurement part is at least equal to the maximum value in the preset Z value range. That is, the scale line should extend to at least connect with the larger value scale line of the Z value range reference scale line, so that the Y-axis coordinate of the intersection of the inner edge line of the first module of the start symbol and the over-multiplication reference line can be clearly and quickly distinguished within the qualified Z value range, that is, the minimum width that the blank area should meet. For the case where the Z value range reference line is not set, the scale line on the Y axis line can also be set to extend to the preset Z value range maximum value or longer, so as to view the Y-axis coordinate of the intersection. Taking into account that the blank area width value is relatively large, so if Figures 2 to 4 As shown, at one end of the two Y semi-axes facing the origin, and at one end of the X semi-axes between the two blank area measurement parts facing the origin, the starting position of the scale line has a set interval from the origin. Because these three semi-axes actually correspond to the width of the blank area, there is a long section near the origin that does not require scale lines to assist reading, so the starting point of the scale line display can be set according to the blank area width corresponding to the minimum value of the Z value range.

[0067] Example 3

[0068] Based on Example 1 or 2, Figure 3In order to more clearly compare the size relationship between the actual blank area size and the blank area reference width, in this embodiment, equal scale reference lines are respectively provided in the two blank area measuring parts, one end of the equal scale reference line is connected to the scale line on the Y axis, and the other end is connected to the scale line on the X semi-axis between the two blank area measuring parts, and the scale values ​​of the scale lines connected at both ends of each equal scale reference line are equal.

[0069] Under this implementation, when the blank area width reference value, i.e., the Y-axis coordinate, is obtained from the magnification reference line, the scale line on the Y-axis line can be led to the corresponding X-axis scale line via the equal scale reference line. At this time, it is only necessary to observe whether the actual blank area edge is outside the X-axis scale line to determine whether the blank area size is qualified.

[0070] In the above-mentioned embodiments 1 to 3, the comparison ruler body is round or square, and can be made of a glass substrate or a film. On the comparison ruler body made of a glass substrate, different types of lines are in different colors for easy identification and detection.

[0071] Example 4

[0072] refer to Figure 5 As shown, on the basis of Examples 1 to 3, the commodity barcode blank area comparator of this embodiment further includes a magnifying glass, which includes a lens barrel 01 and a multi-power optical lens 02 installed in the lens barrel 01, and the comparison ruler body 03 is detachably installed at the bottom of the lens barrel.

[0073] Preferably, the side wall of the lens barrel is provided with a slot for inserting the comparison ruler body. The lens barrel can be cylindrical in the form of a graduated magnifying glass, so the comparison ruler can be made into a round shape, and the comparison ruler with different ranges and other parameters can be replaced according to different needs. In addition, the comparison ruler body can also be made Figure 4 The rectangle shown is used with a handheld magnifying glass to inspect the barcode.

[0074] Example 5

[0075] This embodiment introduces a detection method of a commodity barcode blank area comparison device that can be implemented by using any of the implementation methods in Embodiments 1 to 4, including:

[0076] To facilitate detection, the barcode can be placed forward and the following detection operations can be performed on the left blank area of ​​the barcode to be detected:

[0077] a1) Cover the comparison ruler body on the surface of the barcode to be detected, so that the X axis is connected to the lower edge of the barcode as much as possible, the Y axis coincides with the left side of the first module of the start symbol, that is, the outer edge line, and the barcode is projected on the Z value measurement part of the left blank measurement area of ​​the comparison ruler body, and the left blank area of ​​the barcode is projected on the blank area measurement part of the left blank measurement area;

[0078] b1) Get the intersection of the right edge line of the first module of the barcode start character, that is, the inner edge line, and the magnification reference line, and obtain the Y-axis coordinate of the intersection through the scale line on the Y-axis line, and use the corresponding coordinate value as the reference value of the left blank area width;

[0079] c1) obtaining the actual width of the left blank area between the origin and the left blank area boundary through the scale lines on the X axis, and comparing it with the left blank area width reference value. If the actual width of the left blank area is equal to or greater than the left blank area width reference value, the size of the left blank area is qualified; or, finding the scale line on the X semi-axis of the corresponding blank area measurement part that is equal to the left blank area width reference value as the left blank area boundary reference line, and judging whether the actual left blank area boundary line is above or outside the left blank edge line. If so, the size of the left blank area is qualified;

[0080] Perform the following detection operations on the right blank area of ​​the barcode to be detected. To facilitate detection, the barcode can be placed in the positive direction and the comparator can be rotated 180 degrees:

[0081] a2) Cover the comparison ruler body on the surface of the barcode to be detected, so that the X axis is connected to the lower edge of the barcode as much as possible, the Y axis coincides with the right side of the last module of the terminator, i.e. the outer edge line, and the barcode is projected on the Z value measurement part of the right blank measurement area of ​​the comparison ruler body, and the right blank area of ​​the barcode is projected on the blank area measurement part of the right blank measurement area;

[0082] b2) Obtain the intersection of the left and inner edge lines of the last module of the barcode terminator and the magnification reference line, obtain the Y-axis coordinate of the intersection through the scale line on the Y-axis line, and use the corresponding coordinate value as the reference value of the right blank area width;

[0083] c2) obtaining the actual width of the right blank area between the origin and the right blank area boundary through the scale lines on the X axis, and comparing it with the right blank area width reference value. If the actual width of the right blank area is equal to or greater than the right blank area width reference value, the size of the right blank area is qualified; or, finding the scale line on the X semi-axis of the corresponding blank area measurement part that is equal to the right blank area width reference value as the right blank area boundary reference line, and judging whether the actual right blank area boundary line is above or outside the right blank area boundary reference line. If so, the size of the right blank area is qualified;

[0084] If both the left blank area size and the right blank area size are qualified, it is determined that the blank area size of the barcode to be detected is qualified.

[0085] The detection method of this embodiment may not consider whether the barcode Z value is qualified, or may be performed after the barcode Z value is qualified by other means. It should be noted that the detection order of the left blank area and the right blank area is adjustable, and there is no order restriction.

[0086] Example 6

[0087] This embodiment introduces a detection method for a blank area comparator of a commodity barcode. The comparator used is as in Embodiments 1 to 4, and should satisfy that a Z value range reference scale line is provided on the X semi-axis between the two Z value measurement parts so that the eligibility of the Z value can be judged first.

[0088] The detection method of this embodiment can adjust the detection order of the left and right blank areas according to the setting area of ​​the Z value range reference scale line on the comparison ruler. If the Z value range reference line is set in the Z value measurement area of ​​the left blank measurement area, the left blank area is first detected using the left blank measurement area, otherwise the right blank area is detected using the right blank measurement area. If the Z value measurement areas of the two measurement areas are both provided with Z value range reference lines, any blank area can be selected for first detection.

[0089] The following is an introduction to the detection method using the Z value measurement area where the Z value range reference line on the comparison ruler only extends from the X axis to the left empty measurement area. The detection method includes:

[0090] To facilitate detection, the barcode can be placed forward and the following detection operations can be performed on the left blank area of ​​the barcode to be detected:

[0091] a3) Cover the comparison ruler body on the surface of the barcode to be tested, so that the X axis is connected to the lower edge of the barcode as much as possible, the Y axis coincides with the left side of the first module of the start symbol, that is, the outer edge line, and the barcode is projected on the Z value measurement part of the left blank measurement area, and the left blank area of ​​the barcode is projected on the blank area measurement part of the left blank measurement area;

[0092] b3) determining whether the right edge line of the first module of the barcode start character is within the two reference scale lines of the Z value range; if so, the barcode Z value is determined to be qualified, and the process goes to step c3); if not, the barcode Z value is determined to be unqualified, and the blank area detection operation of the current barcode can be stopped;

[0093] c3) Get the intersection of the inner edge line of the first module of the barcode start character and the magnification reference line, obtain the Y-axis coordinate of the intersection through the scale line on the Y-axis line, and use the corresponding coordinate value as the reference value of the left blank area width;

[0094] d3) obtaining the actual width of the left blank area between the origin and the left blank area boundary through the scale lines on the X axis, and comparing it with the left blank area width reference value. If the actual width of the left blank area is equal to or greater than the left blank area width reference value, the size of the left blank area is qualified; or, finding the scale line on the X semi-axis of the corresponding blank area measurement part that is equal to the left blank area width reference value as the left blank area boundary reference line, and judging whether the actual left blank area boundary line is above or outside the left blank area edge line, if so, the size of the left blank area is qualified;

[0095] Perform the following detection operations on the right blank area of ​​the barcode to be detected. To facilitate detection, the barcode can be placed in the positive direction and the comparator can be rotated 180 degrees:

[0096] a4) Cover the comparison ruler body on the surface of the barcode to be detected, so that the X axis is connected to the lower edge of the barcode as much as possible, the Y axis coincides with the right side of the last module of the terminator, i.e. the outer edge line, and the barcode is projected on the Z value measurement part of the right blank measurement area of ​​the comparison ruler body, and the right blank area of ​​the barcode is projected on the blank area measurement part of the right blank measurement area;

[0097] b4) Get the intersection of the inner edge line and the magnification reference line on the left side of the last module of the barcode terminator, and obtain the Y-axis coordinate of the intersection through the scale line on the Y-axis line, and use the corresponding coordinate value as the reference value of the right blank area width;

[0098] c4) obtaining the actual width of the right blank area between the origin and the right blank area boundary through the scale lines on the X axis, and comparing it with the right blank area width reference value. If the actual width of the right blank area is equal to or greater than the right blank area width reference value, the size of the right blank area is qualified; or, finding the scale line on the X semi-axis of the corresponding blank area measurement part that is equal to the right blank area width reference value as the right blank area boundary reference line, and judging whether the actual right blank area boundary line is above or outside the right blank area boundary reference line. If so, the size of the right blank area is qualified;

[0099] If both the left blank area size and the right blank area size are qualified, it is determined that the blank area size of the barcode to be detected is qualified.

[0100] Example 7

[0101] This embodiment introduces a detection method for a blank area comparator of a commodity barcode. The comparator used is as in Embodiments 3 to 4, which satisfies that a Z value range reference scale line is provided on the X semi-axis between the Z value measurement parts so as to first judge the eligibility of the Z value, and equal scale reference lines are respectively provided in the two blank area measurement parts, one end of the equal scale reference line is connected to the scale line on the Y axis line, and the other end is connected to the scale line on the X semi-axis between the two blank area measurement parts, and the scale values ​​of the scale lines connected at both ends of each equal scale reference line are equal.

[0102] The following is an introduction to the detection method using the Z value measurement area where the Z value range reference line on the comparison ruler only extends from the X axis to the left empty measurement area. The detection method includes:

[0103] To facilitate detection, the barcode can be placed forward and the following detection operations can be performed on the left blank area of ​​the barcode to be detected:

[0104] a5) Cover the comparison ruler body on the surface of the barcode to be tested, so that the X axis is connected to the lower edge of the barcode as much as possible, the Y axis coincides with the left side of the first module of the start symbol, that is, the outer edge line, and the barcode is projected on the Z value measurement part of the left blank measurement area, and the right blank area of ​​the barcode is projected on the blank area measurement part of the left blank measurement area;

[0105] b5) determining whether the right side of the first module of the barcode start character, i.e. the inner edge line, is located within the two reference scale lines of the Z value range; if so, the barcode Z value is determined to be qualified, and the process goes to step c5); if not, the barcode Z value is determined to be unqualified, and the blank area detection operation of the current barcode can be stopped;

[0106] c5) Get the intersection of the right side of the first module of the barcode start character, that is, the inner edge line and the magnification reference line, and obtain the Y-axis coordinate of the intersection through the scale line on the Y-axis line;

[0107] d5) Find the scale line on the X-axis line that is equal to the Y coordinate of the intersection point through the equal scale reference line of the blank area measurement part. This scale line is the reference scale line of the left blank area width. Observe whether the actual blank area edge is above or outside the X-axis scale line. If it is satisfied, the left blank area size is qualified;

[0108] Perform the following detection operations on the right blank area of ​​the barcode to be detected. To facilitate detection, the barcode can be placed in the positive direction and the comparator can be rotated 180 degrees:

[0109] a6) Cover the comparison ruler body on the surface of the barcode to be detected, so that the X axis is connected to the lower edge of the barcode as much as possible, the Y axis coincides with the right side of the last module of the terminator, i.e. the outer edge line, and the barcode is projected on the Z value measurement part of the right blank measurement area of ​​the comparison ruler body, and the right blank area of ​​the barcode is projected on the blank area measurement part of the right blank measurement area;

[0110] b6) Obtain the intersection of the left and inner edge lines of the last module of the barcode terminator and the magnification reference line, obtain the Y-axis coordinate of the intersection through the scale line on the Y-axis line, and use the corresponding coordinate value as the reference value of the right blank area width;

[0111] c6) Find the scale line on the X-axis line that is equal to the Y coordinate of the intersection point through the equal scale reference line of the blank area measurement part. This scale line is the reference scale line of the right blank area width. Observe whether the actual blank area edge is above or outside the X-axis scale line. If so, the right blank area size is qualified;

[0112] If both the left blank area size and the right blank area size are qualified, it is determined that the blank area size of the barcode to be detected is qualified.

[0113] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms according to different coding systems without departing from the scope of protection of the purpose of the present invention and the claims, which are all protected by the present invention.

Claims

1. A commodity barcode blank area comparison device, characterized in that: The invention comprises a transparent comparison ruler body, wherein the surface of the comparison ruler body is provided with an X axis and a Y axis which are perpendicular and intersecting to each other, the two sides of the X axis are respectively used as a left blank measurement area and a right blank measurement area, the left blank measurement area and the right blank measurement area are respectively divided into a Z value measurement part and a blank area measurement part by the Y axis, and the two Z value measurement parts of the left blank measurement area and the right blank measurement area are adjacent to each other; The intersection of the X-axis and the Y-axis is taken as the origin, and scale lines are respectively provided on the semi-axes of the X-axis and the Y-axis located on both sides of the origin; The two Z value measurement parts are respectively provided with a magnification reference line, the absolute value of the slope of the magnification reference line of the Z value measurement part in the left blank measurement area is the ratio of the preset barcode left blank area width to the barcode Z value, and the absolute value of the slope of the magnification reference line of the Z value measurement part in the right blank measurement area is the ratio of the preset barcode right blank area width to the barcode Z value; the magnification reference line or its extension line passes through the origin.

2. The commodity barcode blank area comparison device according to claim 1 is characterized in that: The length of the Z value measuring portion in the X-axis direction is smaller than the length of the blank area measuring portion in the X-axis direction.

3. The commodity barcode blank area comparison device according to claim 1, characterized in that: An equal-scale reference line is respectively provided in the two blank area measurement parts, one end of the equal-scale reference line is connected to the scale line on the Y axis, and the other end is connected to the scale line on the X semi-axis between the two blank area measurement parts, and the scale values ​​of the scale lines connected at both ends of each equal-scale reference line are equal.

4. The commodity barcode blank area comparison device according to claim 1, characterized in that: A Z value range reference scale line is also provided on the X semi-axis between the two Z value measuring parts.

5. The commodity barcode blank area comparison device according to claim 1, characterized in that: Within the set Y-axis coordinate range, the scale line on the Y-axis line extends to at least intersect with the magnification reference line.

6. The commodity barcode blank area comparison device according to claim 1, characterized in that: The length of the scale line on the Y axis extending from the Y axis toward the Z value measuring portion is at least equal to the maximum value in the preset Z value range.

7. The commodity barcode blank area comparison device according to claim 1, characterized in that: At one end of the two Y semi-axes facing the origin, and at one end of the X semi-axes between the two blank area measuring parts facing the origin, there is a set interval between the starting position of the scale line and the origin.

8. The commodity barcode blank area comparison device according to any one of claims 1 to 7, characterized in that: It also includes a magnifying glass, which includes a lens barrel and a multi-power optical lens installed in the lens barrel, and the comparison ruler body is detachably installed at the bottom of the lens barrel.

9. A detection method based on the commodity barcode blank area comparison device according to any one of claims 1 to 8, characterized in that: include: Perform the following detection operations on the left blank area of ​​the barcode to be detected: a1) Cover the comparison ruler body on the surface of the barcode to be detected, so that the Y axis coincides with the outer edge line of the first module of the start symbol, and the barcode is projected on the Z value measurement part of the left blank measurement area of ​​the comparison ruler body, and the left blank area of ​​the barcode is projected on the blank area measurement part of the left blank measurement area; b1) Obtain the intersection of the inner edge line of the first module of the barcode start character and the magnification reference line, obtain the Y-axis coordinate of the intersection through the scale line on the Y-axis line, and use the corresponding coordinate value as the reference value of the left blank area width; c1) obtaining the actual width of the left blank area between the origin and the left blank area boundary through the scale lines on the X axis, and comparing it with the left blank area width reference value. If the actual width of the left blank area is equal to or greater than the left blank area width reference value, the size of the left blank area is qualified; or, finding the scale line on the X semi-axis of the corresponding blank area measurement part that is equal to the left blank area width reference value as the left blank area boundary reference line, and judging whether the actual left blank area boundary line is above or outside the left blank edge line. If so, the size of the left blank area is qualified; Perform the following detection operations on the right blank area of ​​the barcode to be detected: a2) Cover the comparison ruler body on the surface of the barcode to be detected, so that the Y axis coincides with the outer edge line of the last module of the terminator, and the barcode is projected on the Z value measurement part of the right blank measurement area of ​​the comparison ruler body, and the right blank area of ​​the barcode is projected on the blank area measurement part of the right blank measurement area; b2) Obtain the intersection of the inner edge line of the last module of the barcode terminator and the magnification reference line, obtain the Y-axis coordinate of the intersection through the scale line on the Y-axis line, and use the corresponding coordinate value as the reference value of the right blank area width; c2) obtaining the actual width of the right blank area between the origin and the right blank area boundary through the scale lines on the X axis, and comparing it with the right blank area width reference value; if the actual width of the right blank area is equal to or greater than the right blank area width reference value, the size of the right blank area is qualified; If both the left blank area size and the right blank area size are qualified, it is determined that the blank area size of the barcode to be detected is qualified.

10. A detection method based on the commodity barcode blank area comparison device according to any one of claims 1 to 8, characterized in that On the commodity barcode blank area comparator, a Z value range reference scale line is provided on the X semi-axis between the two Z value measuring parts; the detection method comprises: Perform the following detection operations on the left blank area of ​​the barcode to be detected: a3) Cover the comparison ruler body on the surface of the barcode to be tested, so that the Y axis coincides with the outer edge line of the first module of the start symbol, and the barcode is projected on the Z value measurement part of the left blank measurement area, and the left blank area of ​​the barcode is projected on the blank area measurement part of the left blank measurement area; b3) determining whether the inner edge line of the first module of the barcode start character is within the range of the Z value range reference scale line, if it is satisfied, the barcode Z value is determined to be qualified, and the process goes to step c3), if not, the barcode Z value is determined to be unqualified, and the blank area detection operation of the barcode is stopped; c3) Get the intersection of the inner edge line of the first module of the barcode start character and the magnification reference line, obtain the Y-axis coordinate of the intersection through the scale line on the Y-axis line, and use the corresponding coordinate value as the reference value of the left blank area width; d3) obtaining the actual width of the left blank area between the origin and the left blank area boundary through the scale lines on the X axis, and comparing it with the left blank area width reference value. If the actual width of the left blank area is equal to or greater than the left blank area width reference value, the size of the left blank area is qualified; or, finding the scale line on the X semi-axis of the corresponding blank area measurement part that is equal to the left blank area width reference value as the left blank area boundary reference line, and judging whether the actual left blank area boundary line is above or outside the left blank area edge line, if so, the size of the left blank area is qualified; Perform the following detection operations on the right blank area of ​​the barcode to be detected: a4) Cover the comparison ruler body on the surface of the barcode to be detected, so that the Y axis coincides with the outer edge line of the last module of the terminator, and the barcode is projected on the Z value measurement part of the right blank measurement area of ​​the comparison ruler body, and the right blank area of ​​the barcode is projected on the blank area measurement part of the right blank measurement area; b4) Obtain the intersection of the inner edge line of the last module of the barcode terminator and the magnification reference line, obtain the Y-axis coordinate of the intersection through the scale line on the Y-axis line, and use the corresponding coordinate value as the reference value of the right blank area width; c4) obtaining the actual width of the right blank area between the origin and the right blank area boundary through the scale lines on the X axis, and comparing it with the right blank area width reference value. If the actual width of the right blank area is equal to or greater than the right blank area width reference value, the size of the right blank area is qualified; or, finding the scale line on the X semi-axis of the corresponding blank area measurement part that is equal to the right blank area width reference value as the right blank area boundary reference line, and judging whether the actual right blank area boundary line is above or outside the right blank area boundary reference line. If so, the size of the right blank area is qualified; If both the left blank area size and the right blank area size are qualified, it is determined that the blank area size of the barcode to be detected is qualified.

Citation Information

Patent Citations

  • Commodity bar code comparator and comparison method

    CN119374445A