Barcode reading device, barcode reading system, barcode reading method, and barcode reading program

The barcode reading device and system control two-dimensional barcode reading to prevent accidental capture, ensuring accurate data capture by transitioning after reading a specific one-dimensional barcode.

JP7742048B2Active Publication Date: 2025-09-19STEERETAIL CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2024114469
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2024-07-18
Publication Date
2025-09-19
Estimated Expiration
2043-02-01

AI Technical Summary

Technical Problem

Barcode readers inadvertently read two-dimensional barcodes when intended to read one-dimensional barcodes, leading to unintended data registration issues.

Method used

A barcode reading device and system that restricts the reading of two-dimensional barcodes until a specific one-dimensional barcode is read, allowing a controlled transition to enable two-dimensional barcode reading.

Benefits of technology

Prevents accidental reading of two-dimensional barcodes, ensuring accurate data capture by allowing controlled transitions based on specific one-dimensional barcode readings.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007742048000003
    Figure 0007742048000003
  • Figure 0007742048000004
    Figure 0007742048000004
  • Figure 0007742048000005
    Figure 0007742048000005
Patent Text Reader

Abstract

To provide a bar code reading device, a bar code reading system, a bar code reading method, and a bar code reading program which can restrict unintended reading of a bar code.SOLUTION: When reading a specific one-dimensional bar code 11 among the specific one-dimensional bar code 11 and a two-dimensional bar code 12 displayed on a terminal device 13, a bar code reading device 10 shifts from a state of restricting reading of the two-dimensional bar code 12 to a state of allowing the reading.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present disclosure relates to a barcode reading device, a barcode reading system, a barcode reading method, and a barcode reading program. [Background technology]

[0002] Due to the increase in the amount of information generated by technological innovation in recent years, two-dimensional barcodes such as QR Code (registered trademark) have become widespread. Products often have both a one-dimensional barcode indicating the product price and a two-dimensional barcode indicating detailed product information. On the other hand, terminal devices often display two-dimensional barcodes such as discount coupons.

[0003] Barcode readers may need to read both one-dimensional and two-dimensional barcodes, so they are set up to be able to read both types of barcodes.

[0004] Incidentally, Patent Document 1 discloses a product sales data device that simultaneously reads multiple barcodes with a scanner unit and registers the prices of discounted products. If one of the multiple barcodes is a single-item code barcode and the rest are disposable barcodes, the product sales data is obtained from the unit price data corresponding to the single-item code and sales are registered. On the other hand, if one barcode is a single-item code barcode and the rest are barcodes containing selling price change information, the unit price data corresponding to the single-item code is changed based on the selling price change information, and then sales are registered. [Prior art documents] [Patent documents]

[0005] [Patent Document 1] Japanese Patent Application Publication No. 06-223271 Summary of the Invention [Problem to be solved by the invention]

[0006] When a barcode reader reads a one-dimensional barcode attached to a product, it is set to read both one-dimensional and two-dimensional barcodes, which can lead to the problem of accidentally reading a two-dimensional barcode placed near the one-dimensional barcode. It should be noted that the product sales data device disclosed in the above-mentioned Patent Document 1 does not disclose anything about two-dimensional barcodes.

[0007] In view of the above-mentioned problems, an object of the present disclosure is to provide a barcode reading device, a barcode reading system, a barcode reading method, and a barcode reading program that can restrict unintended reading of barcodes. [Means for solving the problem]

[0008] A barcode reading device according to one embodiment of the present disclosure, when reading a specific one-dimensional barcode from among a specific one-dimensional barcode and a two-dimensional barcode displayed on a terminal device, transitions from a state in which reading of the two-dimensional barcode is restricted to a state in which reading of the two-dimensional barcode is possible.

[0009] A barcode reading system according to one embodiment of the present disclosure is a barcode reading system comprising a terminal device and a barcode reading device, wherein the terminal device displays a specific one-dimensional barcode and a two-dimensional barcode, and when the barcode reading device reads the specific one-dimensional barcode, the barcode reading device transitions from a state in which reading of the two-dimensional barcode is restricted to a state in which reading of the two-dimensional barcode is possible.

[0010] In a barcode reading method according to one embodiment of the present disclosure, a computer executes a process in which, when a specific one-dimensional barcode is read from a specific one-dimensional barcode and a two-dimensional barcode displayed on a terminal device, the state transitions from one in which reading of the two-dimensional barcode is restricted to one in which reading of the two-dimensional barcode is possible.

[0011] A barcode reading program according to one embodiment of the present disclosure causes a computer to execute a process in which, when a specific one-dimensional barcode is read from among a specific one-dimensional barcode and a two-dimensional barcode displayed on a terminal device, the computer transitions from a state in which reading of the two-dimensional barcode is restricted to a state in which reading of the two-dimensional barcode is possible. [Effects of the Invention]

[0012] The present disclosure provides a barcode reading device, a barcode reading system, a barcode reading method, and a barcode reading program that can restrict unintended reading of barcodes. [Brief explanation of the drawings]

[0013] [Figure 1] 1 is a schematic diagram illustrating a state in which the barcode reading device according to the first embodiment reads a specific one-dimensional barcode and a two-dimensional barcode. [Figure 2] 1 is a flowchart showing the flow of a barcode reading method according to the first embodiment. [Figure 3] FIG. 10 is a block diagram showing the configuration of a barcode reading system according to a second embodiment. [Figure 4] FIG. 10 is a schematic diagram illustrating a barcode reading device according to a second embodiment when reading a barcode. [Figure 5] FIG. 10 is a schematic diagram illustrating a barcode reading device according to a second embodiment when reading a barcode. [Figure 6] FIG. 10 is a schematic diagram illustrating a barcode reading device according to a second embodiment when reading a barcode. [Figure 7] FIG. 10 is a schematic diagram illustrating a barcode reading device according to a second embodiment when reading a barcode. [Figure 8] 10 is a flowchart showing the flow of a barcode reading method according to a second embodiment. [Figure 9] 10 is a flowchart showing the flow of a barcode reading method according to a second embodiment. [Figure 10]10 is a flowchart showing the flow of a barcode reading method according to a second embodiment. [Figure 11] 10 is a flowchart showing the flow of a barcode reading method according to a second embodiment. DETAILED DESCRIPTION OF THE INVENTION

[0014] The present disclosure will be described below through embodiments, but the disclosure according to the claims is not limited to the following embodiments. Furthermore, not all of the configurations described in the embodiments are necessarily essential as means for solving the problems. In each drawing, the same elements are denoted by the same reference numerals, and redundant explanations are omitted as necessary.

[0015] <Embodiment 1> <Barcode reader> Hereinafter, a first embodiment of the present disclosure will be described with reference to the drawings. FIG. 1 is a schematic diagram of a barcode reading device according to the first embodiment reading a specific one-dimensional barcode and a two-dimensional barcode. The barcode reading device 10 includes a setting for whether or not to read a one-dimensional barcode, a setting for whether or not to read a two-dimensional barcode, and a transition setting. The specific one-dimensional barcode 11 and the two-dimensional barcode 12 are displayed on a terminal device 13.

[0016] The setting for whether or not one-dimensional barcodes can be read is such that if it is "yes," the barcode reader 10 can read one-dimensional barcodes, and if it is "no," the barcode reader 10 cannot read one-dimensional barcodes.

[0017] Similarly, the setting for whether or not a two-dimensional barcode can be read is such that if yes, the barcode reading device 10 can read the two-dimensional barcode 12, and if no, the barcode reading device 10 cannot read the two-dimensional barcode 12.

[0018] The transition setting is a setting in which, when the barcode reader 10 reads a specific one-dimensional barcode 11, the state transitions from one in which reading of two-dimensional barcodes 12 is restricted to one in which reading of two-dimensional barcodes 12 is possible.

[0019] The specific one-dimensional barcode 11 is a one-dimensional barcode that can be read using a barcode reader 10. The specific one-dimensional barcode is composed of a barcode such as EAN (European Article Number) / JAN (Japanese Article Number)-13, which will be described later.

[0020] The barcode reading device 10 can read a specific one-dimensional barcode 11 and a two-dimensional barcode 12 displayed on the terminal device 13 by enabling the one-dimensional barcode reading setting and the two-dimensional barcode reading setting.

[0021] Here, it is assumed that the barcode reader 10 has its one-dimensional barcode readability setting set to "readable" and its two-dimensional barcode readability setting set to "unreadable." It is also assumed that the barcode reader 10 is set to transition. That is, the barcode reader 10 can read a specific one-dimensional barcode 11 displayed on the terminal device 13, but is restricted from reading a two-dimensional barcode 12.

[0022] In this case, the barcode reader 10 reads the specific one-dimensional barcode 11 out of the specific one-dimensional barcode 11 and the two-dimensional barcode 12 displayed on the terminal device 13. Next, since a transition setting is configured in the barcode reader 10, when the specific one-dimensional barcode 11 is read, the barcode reader 10 transitions from a state in which reading of the two-dimensional barcode 12 is restricted to a state in which reading of the two-dimensional barcode is possible. This allows the barcode reader 10 to temporarily read the two-dimensional barcode 12 displayed on the terminal device 13.

[0023] <How to read a barcode> Next, a barcode reading method according to the first embodiment will be described. Fig. 2 is a flowchart showing the flow of the barcode reading method according to the first embodiment. In the following, the barcode reading device 10 is set to enable reading of one-dimensional barcodes and disable reading of two-dimensional barcodes. In addition, the barcode reading device 10 is set to transition setting.

[0024] First, the barcode reader 10 determines whether or not a specific one-dimensional barcode has been read (step ST1). If the specific one-dimensional barcode has not been read (step ST1 NO), the barcode reader 10 does not transition from a state in which reading of the two-dimensional barcode 12 is restricted to a state in which reading of the two-dimensional barcode is possible.

[0025] On the other hand, if the specific one-dimensional barcode is read (YES in step ST1), the barcode reader 10 transitions from a state in which reading of the two-dimensional barcode 12 is restricted to a state in which reading of the two-dimensional barcode is possible.

[0026] In this way, the barcode reader 10 according to the first embodiment is set to restrict the reading of the two-dimensional barcode 12. Therefore, when reading the one-dimensional barcode of a product having both one-dimensional and two-dimensional barcodes attached thereto, there is no risk of accidentally reading the two-dimensional barcode attached to the product. On the other hand, when it is desired to read the two-dimensional barcode 12 displayed on the terminal device, by reading the specific one-dimensional barcode 11, the state transitions from one in which reading of the two-dimensional barcode 12 is restricted to one in which reading of the two-dimensional barcode is possible. This allows the barcode reader 10 according to the first embodiment to temporarily read the two-dimensional barcode 12 displayed on the terminal device 13. Therefore, it is possible to restrict the reading of unintended barcodes.

[0027] <Embodiment 2> <Barcode reading system> Hereinafter, a second embodiment of the present disclosure will be described with reference to the drawings. Fig. 3 is a block diagram showing the configuration of a barcode reading system according to the second embodiment. The barcode reading system 20 according to the second embodiment includes a barcode reading device 21 and a terminal device 22.

[0028] The terminal device 22 displays the specific one-dimensional barcode and the two-dimensional barcode. The terminal device 22 simultaneously displays the specific one-dimensional barcode and the two-dimensional barcode. However, this is not limited thereto, and the terminal device 22 may first display the specific one-dimensional barcode and then display the two-dimensional barcode.

[0029] <Barcode reading settings> The barcode reader 21 has a setting for enabling / disabling reading of one-dimensional barcodes, a setting for enabling / disabling reading of two-dimensional barcodes, and a transition setting. Each setting will be described in detail with reference to FIGS. 4 to 6. FIGS. 4 to 6 are schematic diagrams illustrating how the barcode reader according to the second embodiment reads a barcode. In FIG. 4, it is assumed that information on the one-dimensional barcode 31 attached to the product G1 is necessary, but information on the two-dimensional barcode 32 attached to the product G1 is unnecessary. In FIG. 5, it is assumed that information on the one-dimensional barcode 31 and the two-dimensional barcode 32 attached to the product G1 is necessary. In FIG. 6, it is assumed that information on the specific one-dimensional barcode 221 displayed on the terminal device 22 is unnecessary, but information on the two-dimensional barcode 222 displayed on the terminal device 22 is necessary.

[0030] As shown in FIGS. 4 to 6, the barcode reader 21 is connected to the host device H1 by wire or wirelessly. The barcode reader 21 decodes the one-dimensional barcodes and two-dimensional barcodes that it has read, and generates barcode data. The barcode reader 21 transmits the generated barcode data to the host device H1. On the other hand, if the one-dimensional barcode reading enable / disable setting and the two-dimensional barcode reading enable / disable setting are disabled, the barcode reader 21 does not perform barcode reading processing.

[0031] 4 will be described. In FIG. 4, the barcode reader 21 has the one-dimensional barcode readability setting set to "enabled" and the two-dimensional barcode readability setting set to "disabled." That is, when reading the one-dimensional barcode 31, there is a possibility that an unintended nearby two-dimensional barcode 32 may be read, so the two-dimensional barcode readability setting is set to "disabled." Furthermore, the barcode reader 21 does not have a transition setting. In this case, the barcode reader 21 reads the one-dimensional barcode 31 of the one-dimensional barcode 31 and the two-dimensional barcode 32 attached to the product G1. The barcode reader 21 decodes the one-dimensional barcode 31 to generate one-dimensional barcode data. The barcode reader 21 transmits the generated one-dimensional barcode data to the host device H1.

[0032] Next, Fig. 5 will be described. In Fig. 5, the barcode reader 21 has both the one-dimensional barcode readability setting and the two-dimensional barcode readability setting set to "enabled." In normal operation, the two-dimensional barcode readability setting needs to be set to "disabled" as shown in Fig. 4 to avoid reading an unintended nearby two-dimensional barcode 32. However, in Fig. 5, it is necessary to intentionally read both the one-dimensional barcode 31 and the two-dimensional barcode 32, so both the one-dimensional barcode readability setting and the two-dimensional barcode readability setting are set to "enabled." Furthermore, no transition setting is configured for the barcode reader 21. In this case, the barcode reader 21 reads both the one-dimensional barcode 31 and the two-dimensional barcode 32 attached to the product G1. The barcode reader 21 decodes both the one-dimensional barcode 31 and the two-dimensional barcode 32, respectively, to generate one-dimensional barcode data and two-dimensional barcode data. The barcode reader 21 transmits the generated one-dimensional barcode data and two-dimensional barcode data to the host device H1.

[0033] Next, Fig. 6 will be described. In Fig. 6, the barcode reader 21 has the one-dimensional barcode readability setting set to "readable" and the two-dimensional barcode readability setting set to "unreadable." The barcode reader 21 is also set to transition. In this case, the barcode reader 21 reads the specific one-dimensional barcode 221 out of the specific one-dimensional barcode 221 and two-dimensional barcode 222 attached to the terminal device 22. The barcode reader 21 decodes the specific one-dimensional barcode 221 to generate specific one-dimensional barcode data.

[0034] 6 is set to transition, when the specific one-dimensional barcode 221 is read, the barcode reader 21 transitions from a state in which reading of the two-dimensional barcode 222 is restricted to a state in which reading of the two-dimensional barcode 222 is possible. This allows the barcode reader 21 to temporarily read the two-dimensional barcode 222 displayed on the terminal device 22. The barcode reader 21 reads the two-dimensional barcode 222 displayed on the terminal device 22. The barcode reader 21 decodes the two-dimensional barcode 222 to generate two-dimensional barcode data.

[0035] In this case, the barcode reader 21 deletes the specific one-dimensional barcode data from the generated specific one-dimensional barcode data and two-dimensional barcode data. That is, the barcode reader 21 transmits the two-dimensional barcode data to the host device H1.

[0036] <Continuous barcode reading> Next, a case where the barcode reader 21 reads barcodes consecutively will be described with reference to Fig. 7. Fig. 7 is a schematic diagram of the barcode reader according to the second embodiment reading barcodes. In Fig. 7, the barcode reader 21 has its one-dimensional barcode readability setting set to "enabled" and its two-dimensional barcode readability setting set to "disabled." Furthermore, the barcode reader 21 is set to transition setting.

[0037] In Figure 7, first, the one-dimensional barcode 31 attached to product G1 is read, then the two-dimensional barcode 222 displayed on the terminal device 22 is read, and then the one-dimensional barcode 31 attached to product G1 is read again, thereby consecutively reading barcodes.

[0038] The case of reading the one-dimensional barcode 31 attached to the product G1 shown in FIG. 7 corresponds to FIG. 4. However, the barcode reader 21 has a transition setting in FIG. 7, but does not have a transition setting in FIG. 4. The case of reading the two-dimensional barcode 222 displayed on the terminal device 22 shown in FIG. 7 corresponds to FIG. 6. That is, in FIG. 7, after performing the process corresponding to FIG. 4, the process corresponding to FIG. 6 is performed, and then the process corresponding to FIG. 4 is performed again. Explanation of the processes in FIG. 7 that correspond to FIGS. 4 and 6 will be omitted. Here, the case of reading the two-dimensional barcode 222 displayed on the terminal device 22 and then reading the one-dimensional barcode 31 attached to the product G1 again will be explained, that is, the case of performing the process corresponding to FIG. 6 and then the process corresponding to FIG. 4 again.

[0039] 6, the barcode reader 21 is temporarily able to read the two-dimensional barcode 222 displayed on the terminal device 22. More specifically, the barcode reader 21 transitions from a state in which reading of two-dimensional barcodes is restricted to a state in which reading of two-dimensional barcodes is possible only for the time period determined for the specific one-dimensional barcode 221. After the time period determined for the specific one-dimensional barcode 221 has elapsed, the barcode reader 21 returns from a state in which reading of two-dimensional barcodes is possible to a state in which reading of two-dimensional barcodes is restricted.

[0040] That is, when performing processing corresponding to Figure 6 and then performing processing corresponding to Figure 4 again, the barcode reading device 21 can read only the one-dimensional barcode 31 of the one-dimensional barcode 31 and two-dimensional barcode 32 attached to the product G1.

[0041] Although the information on the one-dimensional barcode 31 attached to the product G1 is necessary, the information on the two-dimensional barcode 32 attached to the product G1 is not. Also, the information on the specific one-dimensional barcode 221 displayed on the terminal device 22 is not necessary, but the information on the two-dimensional barcode 222 displayed on the terminal device 22 is necessary. In this way, even if different barcodes to be read are read consecutively, the barcode reader 21 can accurately read the necessary information. More specifically, as shown in FIG. 7, even when reading consecutive barcodes, there is no risk of erroneously reading the two-dimensional barcode 32 attached to the product G1.

[0042] In this way, even when consecutive barcode reading is performed, the barcode reader 21 does not have to worry about accidentally reading a two-dimensional barcode attached to a product by setting the transition. Also, the barcode reader 21 does not require the effort of changing the settings to match the barcode to be read.

[0043] <Specific 1D barcode> Here, the specific one-dimensional barcode will be explained with reference to Table 1. Table 1 shows an example of a specific one-dimensional barcode displayed on a terminal device. 1111111992029 shown in Table 1 is an example of an EAN / JAN-13 code. As shown in Table 1, the specific one-dimensional barcode is composed of left character data that indicates that it is a specific one-dimensional barcode, and right character data that is a setting parameter.

[0044] [Table 1]

[0045] First, the left character data from the first to the seventh digit will be described. For example, the left character data is a 13-digit code in which the first seven digits are the same number other than 0. As another example, the left character data may use a code in which the first seven digits of the 13 digits are not commonly used in the retail market.

[0046] Next, we will explain the right character data from the 8th to 13th digits from the beginning. The 8th and 9th digits from the beginning are fixed values ​​and have the same numeric value. The fixed value is any numeric value from 0 to 9.

[0047] The first tenth digit is a number indicating the specific code. The number indicating the specific code is any number between 0 and 9. The specific code will be explained with reference to Table 2. Table 2 shows an example of the specific code. The specific code is a number indicating a predetermined type of two-dimensional barcode. When a barcode reader reads a specific code, it transitions from a state in which reading is restricted to a state in which reading is possible for the type of two-dimensional barcode determined by the specific code.

[0048] For example, as shown in Table 2, when the specific code is 2, the predetermined type of two-dimensional barcode is QR Code (registered trademark). When the barcode reader reads the specific one-dimensional barcode shown in Table 1, the state in which reading of QR Code (registered trademark) is restricted changes to a state in which reading of QR Code is possible.

[0049] [Table 2]

[0050] The 11th and 12th digits from the beginning are numbers indicating the transition time. The number indicating the transition time is any number between 0 and 9. For example, for the specific one-dimensional barcode shown in Table 1, the 11th digit from the beginning is 0 and the 12th digit from the beginning is 2. Therefore, when a barcode reader reads a specific one-dimensional barcode shown in Table 1, it transitions from a state in which reading of two-dimensional barcodes is restricted to a state in which reading of two-dimensional barcodes is possible for 200 milliseconds. After 200 milliseconds have elapsed, the barcode reader returns from a state in which reading of two-dimensional barcodes is possible to a state in which reading of two-dimensional barcodes is restricted.

[0051] Alternatively, the transition time may be calculated by subtracting the transition start time from the transition end time, with the 11th digit from the beginning as the transition start time and the 12th digit from the beginning as the transition end time. For example, assume that the 11th digit from the beginning is 3 and the 12th digit from the beginning is 9. In this case, 300 milliseconds after the barcode reader reads the specific one-dimensional barcode, the state transitions from one in which reading of two-dimensional barcodes is restricted to one in which reading of two-dimensional barcodes is possible. Also, 900 milliseconds after the barcode reader reads the specific one-dimensional barcode, the state returns from one in which reading of two-dimensional barcodes is possible to one in which reading of two-dimensional barcodes is restricted. In other words, the transition time is 600 milliseconds, calculated by subtracting the transition start time from the transition end time.

[0052] In this way, when a barcode reader reads a specific one-dimensional barcode, it transitions from a state in which reading of two-dimensional barcodes is restricted to a state in which reading of two-dimensional barcodes is possible for the time period determined by the specific one-dimensional barcode.

[0053] The 13th digit from the beginning is a check digit calculated to check for misreading. The check digit can be calculated using, for example, the modulus 10 / 3 weight method or the parity check method.

[0054] In other words, when a barcode reader reads 1111111992029 shown in Table 1, it determines that it is a specific one-dimensional barcode based on the left character data from the first seven digits. Furthermore, the right character data from the first ten digits causes the barcode reader to transition from a state in which QR code reading is restricted to a state in which QR code reading is possible. In this case, the right character data from the first eleventh and twelfth digits causes the barcode reader to transition to a state in which QR code reading is possible for 200 milliseconds. This allows the barcode reader to read the QR code displayed on the terminal device for 200 milliseconds.

[0055] Here, the specific one-dimensional barcode has been described using the EAN / JAN-13 code as an example, as shown in Table 1. However, the specific one-dimensional barcode is not limited to the EAN / JAN-13 code, and may be an ITF code, NW-7 (CODABAR), or CODE128, which are one-dimensional barcodes that can be read by a barcode reader. In this case, the specific code, which is a numerical value that indicates the type of predetermined two-dimensional barcode, must be included in one of the one-dimensional barcodes.

[0056] <How to read a barcode> Next, a barcode reading method according to the second embodiment will be described with reference to Figs. 8 to 11. Figs. 8 to 11 are flowcharts showing the flow of the barcode reading method according to the second embodiment. Fig. 8 is a flowchart showing the flow of the barcode check. Fig. 9 shows a case where the barcode check result shows that the barcode to be read is a one-dimensional barcode other than an EAN / JAN-13 code. Fig. 10 shows a case where the barcode check result shows that the barcode to be read is an EAN / JAN-13 code. Fig. 11 shows a case where the barcode check result shows that the barcode to be read is a two-dimensional barcode.

[0057] 8 to 11, it is assumed that it is unknown which of the following settings has been set for the barcode reader: the one-dimensional barcode readability setting, the two-dimensional barcode readability setting, and the transition setting. The transmission buffer in FIGS. 9 to 11 is provided in the barcode reader. The barcode reader stores the barcode data obtained by decoding in the transmission buffer. The transmission buffer transmits the stored barcode data to the host device.

[0058] First, as shown in Fig. 8, the barcode reader scans a barcode (step ST001). Next, the barcode reader determines what type of barcode the scanned barcode is (step ST002). More specifically, the barcode reader includes, for example, an image processing unit and a storage unit, and performs a barcode check based on the shape of the read barcode.

[0059] That is, the storage unit stores the shapes of one-dimensional barcodes other than the EAN / JAN-13 code, EAN / JAN-13 codes, and two-dimensional barcodes. The image processing unit determines which barcode shape in the storage unit the scanned barcode shape is closest to, and recognizes the type of barcode.

[0060] Next, with reference to FIG. 9, a case where the barcode to be read is a one-dimensional barcode other than the EAN / JAN-13 code will be described.

[0061] As shown in Fig. 9, the barcode reader determines whether or not the reading of one-dimensional barcodes can be set (step ST301). If the reading of one-dimensional barcodes can be set (YES in step ST301), the barcode reader decodes the one-dimensional barcode other than the EAN / JAN-13 code that it has read (step ST302). The barcode reader stores the one-dimensional barcode data other than the EAN / JAN-13 code obtained by the decoding process in a transmission buffer (step ST303). Furthermore, the transmission buffer transmits the stored one-dimensional barcode data other than the EAN / JAN-13 code to the host device (step ST304).

[0062] On the other hand, if the setting for whether or not the one-dimensional barcode can be read is "No" (step ST301 NO), the barcode reader does not perform the reading process.

[0063] Next, with reference to FIG. 10, a case where the barcode to be read is an EAN / JAN-13 code will be described.

[0064] 10, the barcode reader 21 determines whether the setting for whether or not the one-dimensional barcode can be read is enabled (step ST311). If the setting for whether or not the one-dimensional barcode can be read is enabled (step ST311 YES), the barcode reader 21 decodes the read EAN / JAN-13 code to generate EAN / JAN-13 code data (step ST312).

[0065] On the other hand, if the setting for whether or not the one-dimensional barcode can be read is "No" (step ST311 NO), the barcode reader does not perform the reading process.

[0066] The barcode reader determines whether the EAN / JAN-13 code data obtained by decoding in step ST312 is specific one-dimensional barcode data (step ST313). More specifically, the barcode reader makes this determination based on the left character data from the first to seventh digits of the EAN / JAN-13 code data obtained by decoding. For example, the barcode reader determines whether the first to seventh digits of the EAN / JAN-13 code data are the same numeric value other than 0.

[0067] If the EAN / JAN-13 code data obtained by the decoding process in step ST312 is specific one-dimensional barcode data (YES in step ST313), the barcode reader determines whether transition setting is possible (step ST314).

[0068] On the other hand, if the EAN / JAN-13 code data obtained by the decoding process in step ST312 is not the specific one-dimensional barcode data (NO in step ST313), the barcode reader stores the EAN / JAN-13 code data obtained by the decoding process in a transmission buffer (step ST315). Furthermore, the transmission buffer transmits the stored EAN / JAN-13 code data to the host device (step ST316).

[0069] Next, if the barcode reader is set to transition (YES in step ST314), it becomes possible to temporarily read two-dimensional barcodes as shown in Fig. 11. Details will be described later.

[0070] If the barcode reader is not set to transition (NO in step ST314), the processes in steps ST315 and ST316 are performed.

[0071] Next, with reference to FIG. 11, a case where the barcode to be read is a two-dimensional barcode will be described.

[0072] As shown in Fig. 11, the barcode reader determines whether or not the reading of two-dimensional barcodes can be set (step ST321). If the reading of two-dimensional barcodes can be set (YES in step ST321), the barcode reader decodes the read two-dimensional barcode (step ST322). The barcode reader stores the two-dimensional barcode data obtained by the decoding process in a transmission buffer (step ST323). Furthermore, the transmission buffer transmits the stored two-dimensional barcode data to the host device (step ST324).

[0073] On the other hand, if the setting for whether or not the 2D barcode can be read is "No" (step ST321 NO), the barcode reader determines whether or not a specific code is included in the 1D barcode data obtained by the decoding process in step ST312 shown in Fig. 10. For example, the barcode reader determines whether or not the 10th digit from the beginning of the 1D barcode data includes a specific code shown in Table 2.

[0074] If the one-dimensional barcode data obtained by the decoding process in step ST312 shown in FIG. 10 contains a specific code (step ST325 YES), the barcode reader becomes able to temporarily read the two-dimensional barcode determined by the specific code.

[0075] More specifically, the transition time is determined based on the 11th and 12th digits from the beginning of the one-dimensional barcode data. Based on this transition time, the barcode reader starts a transition from a state in which reading of two-dimensional barcodes is restricted to a state in which reading of two-dimensional barcodes is possible (step ST326). For example, the barcode reader starts a timer based on the value of the 11th digit from the beginning of the one-dimensional barcode data.

[0076] Next, the barcode reader 21 decodes the read two-dimensional barcode to generate two-dimensional barcode data (step ST327). After the transition time has elapsed, the barcode reader returns from a state in which reading of two-dimensional barcodes is possible to a state in which reading of two-dimensional barcodes is restricted, and ends the transition (step ST328). For example, the barcode reader ends the timer based on the value of the twelfth digit from the beginning of the one-dimensional barcode data.

[0077] After the transition is completed, the barcode reader 21 deletes the specific one-dimensional barcode data from among the generated specific one-dimensional barcode data and two-dimensional barcode data (step ST329). Subsequently, the barcode reader 21 performs the processes in steps ST323 and ST324.

[0078] On the other hand, if the one-dimensional barcode data obtained by the decoding process in step ST312 shown in FIG. 10 does not include a specific code (NO in step ST325), the barcode reader does not perform the reading process of the two-dimensional barcode.

[0079] In this way, the barcode reading system 20 according to the second embodiment can read two-dimensional barcodes of a type determined by a specific one-dimensional barcode for a period of time determined by the specific one-dimensional barcode. With this configuration, when the one-dimensional barcode of a product and the two-dimensional barcode displayed on the terminal device are read consecutively, there is no risk of accidentally reading the two-dimensional barcode attached to the product. Therefore, it is possible to restrict the reading of unintended barcodes.

[0080] Furthermore, part or all of the processing in the barcode reading device according to the first and second embodiments can be realized as a computer program. Such a program can be stored on various types of non-transitory computer-readable media and provided to a computer. Non-transitory computer-readable media include various types of tangible recording media. Examples of non-transitory computer-readable media include magnetic recording media (e.g., flexible disks, magnetic tapes, hard disk drives), magneto-optical recording media (e.g., magneto-optical disks), CD-ROMs (Read Only Memory), CD-Rs, CD-R / Ws, and semiconductor memories (e.g., mask ROMs, PROMs (Programmable ROMs), EPROMs (Erasable PROMs), flash ROMs, and RAMs (Random Access Memory)). The program may also be provided to a computer by various types of temporary computer-readable media. Examples of temporary computer-readable media include electrical signals, optical signals, and electromagnetic waves. The temporary computer-readable media can provide the program to a computer via wired communication paths such as electric wires and optical fibers, or via wireless communication paths.

[0081] A part or all of the above-described embodiments can be described as, but not limited to, the following supplementary notes. (Appendix 1) When the specific one-dimensional barcode is read from among the specific one-dimensional barcode and the two-dimensional barcode displayed on the terminal device, a transition is made from a state in which reading of the two-dimensional barcode is restricted to a state in which reading of the two-dimensional barcode is possible. Barcode reader. (Appendix 2) The transition occurs during a time period determined by the specific one-dimensional barcode. 10. A barcode reader as defined in claim 1. (Appendix 3) When the barcode reader reads the two-dimensional barcode, the data of the specific one-dimensional barcode is deleted. 3. A barcode reader according to claim 1 or 2. (Appendix 4) The two-dimensional barcode is a two-dimensional barcode of a type determined by the specific one-dimensional barcode. 3. A barcode reader according to claim 1 or 2. (Appendix 5) The specific one-dimensional barcode is a 13-digit barcode, and the first seven digits are the same number other than 0. 3. A barcode reader according to claim 1 or 2. (Appendix 6) A barcode reading system comprising a terminal device and a barcode reading device, The terminal device displays the specific one-dimensional barcode and the two-dimensional barcode, When the barcode reader reads the specific one-dimensional barcode, the barcode reader transitions from a state in which reading of the two-dimensional barcode is restricted to a state in which reading of the two-dimensional barcode is possible. Barcode reading system. (Appendix 7) The transition occurs during a time period determined by the specific one-dimensional barcode. 6. A barcode reading system as described in Appendix 6. (Appendix 8) When the barcode reader reads the two-dimensional barcode, the data of the specific one-dimensional barcode is deleted. 8. A barcode reading system according to claim 6 or 7. (Appendix 9) The two-dimensional barcode is a two-dimensional barcode of a type determined by the specific one-dimensional barcode. 8. A barcode reading system according to claim 6 or 7. (Appendix 10) The specific one-dimensional barcode is a 13-digit barcode, and the first seven digits are the same number other than 0. 8. A barcode reading system according to claim 6 or 7. (Appendix 11) When the specific one-dimensional barcode is read from among the specific one-dimensional barcode and the two-dimensional barcode displayed on the terminal device, a transition is made from a state in which reading of the two-dimensional barcode is restricted to a state in which reading of the two-dimensional barcode is possible. The computer performs the processing, Barcode reading method. (Appendix 12) The transition occurs during a time period determined by the specific one-dimensional barcode. 12. A barcode reading method as described in Appendix 11. (Appendix 13) When the two-dimensional barcode is read, the data of the specific one-dimensional barcode is deleted. 13. A barcode reading method according to claim 11 or 12. (Appendix 14) The two-dimensional barcode is a two-dimensional barcode of a type determined by the specific one-dimensional barcode. 13. A barcode reading method according to claim 11 or 12. (Appendix 15) The specific one-dimensional barcode is a 13-digit barcode, and the first seven digits are the same number other than 0. 13. A barcode reading method according to claim 11 or 12. (Appendix 16) When the specific one-dimensional barcode is read from among the specific one-dimensional barcode and the two-dimensional barcode displayed on the terminal device, a transition is made from a state in which reading of the two-dimensional barcode is restricted to a state in which reading of the two-dimensional barcode is possible. Have the computer perform the process, Barcode reading program. (Appendix 17) The transition occurs during a time period determined by the specific one-dimensional barcode. 17. A barcode reading program as described in Appendix 16. (Appendix 18) When the two-dimensional barcode is read, the data of the specific one-dimensional barcode is deleted. A barcode reading program according to appendix 16 or 17. (Appendix 19) The two-dimensional barcode is a two-dimensional barcode of a type determined by the specific one-dimensional barcode. A barcode reading program according to appendix 16 or 17. (Appendix 20) The specific one-dimensional barcode is a 13-digit barcode, and the first seven digits are the same number other than 0. A barcode reading program according to appendix 16 or 17. [Explanation of symbols]

[0082] 10, 21 Barcode reader 11, 221 Specific 1D barcode 12, 32, 222 2D barcode 13, 22 Terminal equipment 20 Barcode reading system 31 1D barcode H1 host device

Claims

1. When a specific one-dimensional barcode is read, which is displayed on a terminal device and has a predetermined transition time set therein, which indicates a period during which the two-dimensional barcode can be read, the two-dimensional barcode can be read during the predetermined transition time, and when the predetermined transition time has elapsed, the state returns from one in which the two-dimensional barcode can be read to one in which reading of the two-dimensional barcode is restricted. Barcode reader.

2. The specific one-dimensional barcode is composed of left character data indicating that it is the specific one-dimensional barcode and right character data serving as a setting parameter.

2. The barcode reader according to claim 1.

3. When the two-dimensional barcode is read, the barcode reader deletes the data of the specific one-dimensional barcode read by the barcode reader.

3. The barcode reader according to claim 1 or 2.

4. the two-dimensional barcode is a two-dimensional barcode of a type determined by the specific one-dimensional barcode; 3. The barcode reader according to claim 1 or 2.

5. The specific one-dimensional barcode is a 13-digit barcode, and the first seven digits are the same number other than 0.

3. The barcode reader according to claim 1 or 2.

6. A barcode reading system comprising a terminal device and a barcode reading device, the terminal device displays a specific one-dimensional barcode for which a predetermined transition time is set, which indicates a period during which the two-dimensional barcode is readable; when the barcode reader reads the specific one-dimensional barcode displayed on the terminal device, the barcode reader becomes capable of reading the two-dimensional barcode within the predetermined transition time, and when the predetermined transition time has elapsed, returns from a state in which the reading of the two-dimensional barcode is possible to a state in which the reading of the two-dimensional barcode is restricted; Barcode reading system.

7. When a specific one-dimensional barcode is read, which is displayed on a terminal device and has a predetermined transition time set therein, which indicates a period during which the two-dimensional barcode can be read, the two-dimensional barcode can be read during the predetermined transition time, and when the predetermined transition time has elapsed, the state returns from one in which the two-dimensional barcode can be read to one in which reading of the two-dimensional barcode is restricted. The computer performs the processing, Barcode reading method.

8. When a specific one-dimensional barcode is read, which is displayed on a terminal device and has a predetermined transition time set therein, which indicates a period during which the two-dimensional barcode can be read, the two-dimensional barcode can be read during the predetermined transition time, and when the predetermined transition time has elapsed, the state returns from one in which the two-dimensional barcode can be read to one in which reading of the two-dimensional barcode is restricted. Have the computer perform the process, Barcode reading program.

Citation Information

Patent Citations

  • Bar code reader

    JP1992354079A

  • Commodity sales data processor

    JP1994223271A

  • Code reader

    JP1997319815A

  • Optical information reader and information code output device

    JP2003085474A