Information processing device, control method thereof, and program

The information processing apparatus addresses the challenge of correctly recognizing barcodes by external devices when in color inversion mode by displaying code images without color inversion, ensuring accurate recognition and functionality.

JP7679537B2Active Publication Date: 2025-05-19CANON KK
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2024213834
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2024-12-06
Publication Date
2025-05-19
Estimated Expiration
2036-05-20

AI Technical Summary

Technical Problem

Information processing apparatuses with both barcode display and color inversion functions face challenges in ensuring that barcodes are correctly recognized by external devices, such as mobile terminals, when the apparatus operates in color inversion mode.

Method used

The information processing apparatus employs a configuration that allows it to display a code image, such as a QR code, without applying color inversion, even when the apparatus is in color inversion mode. This is achieved through specific display modes and control mechanisms that ensure the code image is not subject to color inversion.

Benefits of technology

This solution enables external devices to correctly recognize code images even when the information processing apparatus is operating in color inversion mode, thereby overcoming the recognition issues associated with color-inverted barcodes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007679537000001
    Figure 0007679537000001
  • Figure 0007679537000002
    Figure 0007679537000002
  • Figure 0007679537000003
    Figure 0007679537000003
Patent Text Reader

Abstract

To solve the problem in which, in an information processing device provided with both functions for displaying barcodes and displaying color inversions of a screen, when a barcode is also displayed with the color inversions, a barcode reader is unable to properly recognize the barcode.SOLUTION: Either a first mode for outputting an image in regular color information or a second mode for outputting the image by inverting the color information is set, and the image is determined whether or not to include a code image indicating a code. If the second mode is set and further the image is determined to include the code image, an image in which the image thereof other than the code image is inverted is outputted.SELECTED DRAWING: Figure 6
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to an information processing apparatus, a control method thereof, and a program.

Background Art

[0002] In recent years, many devices equipped with a camera such as a mobile terminal are equipped with a barcode reader function and can acquire information from barcodes such as QR (Quick Response) codes (registered trademark). Also, among information processing apparatuses such as printing apparatuses, those that can provide information using barcode data are increasing. For example, Patent Document 1 describes that wireless authentication information is displayed as a QR code.

[0003] In addition, some information processing apparatuses have a function of displaying a screen such as an operation unit with color inversion as a function for realizing universal design.

Prior Art Documents

Patent Documents

[0004]

Patent Document 1

Summary of the Invention

Problems to be Solved by the Invention

[0005] In an information processing apparatus having both the above-described barcode display and the function of inverting the color of the screen, consider displaying the barcode with color inversion. Even if a mobile terminal tries to read the barcode displayed by the information processing apparatus, since the barcode is color-inverted, there is a problem that the mobile terminal cannot correctly recognize the barcode.

[0006] An object of the present invention is to solve the problems of the above-described conventional technology.

[0007] An object of the present invention is to provide a technique that enables an external device such as a mobile terminal to correctly recognize a code image even when an information processing apparatus operates in a color inversion mode.

Means for Solving the Problems

[0008] To achieve the above object, an information processing apparatus according to an aspect of the present invention has the following configuration. That is, An information processing apparatus, A first display mode for displaying a part of a screen to be displayed on a display unit in a first color, and performing a predetermined color conversion so that a part of the screen becomes a second color different from the first color and displaying it Second Display Setting means for setting any one of the modes, A code image for being read by an external device, the code image including information for establishing a wireless connection between the external device and the information processing device, and a first receiving means for receiving a display of a predetermined screen including information indicating that it is before the establishment of the wireless connection between the external device and the information processing device When the second display mode is set by the setting means, based on receiving the display of the predetermined screen, performing the predetermined color conversion on at least a part of the predetermined screen and displaying a screen in which the code image does not perform the predetermined color conversion And control means, and is characterized by having the same.

Effects of the Invention

[0009] According to the present invention, even when the information processing apparatus operates in the color inversion mode, the information processing apparatus outputs the code image without inverting it, so that an external device such as a mobile terminal can correctly recognize the code image.

[0010] Other features and advantages of the present invention will become apparent from the following description with reference to the accompanying drawings. In the accompanying drawings, the same or similar components are denoted by the same reference numerals.

Brief Description of the Drawings

[0011] The accompanying drawings are included in the specification, form a part thereof, show embodiments of the present invention, and are used to explain the principle of the present invention together with the description.

Figure 1

Figure 2

Figure 3

Figure 4

Figure 5

Figure 6

Figure 7

Figure 8

Figure 9

Mode for Carrying Out the Invention

[0012] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. Note that the following embodiments do not limit the present invention according to the claims, and not all combinations of the features described in this embodiment are essential for the solution means of the present invention.

[0013] FIG. 1 is a diagram showing a configuration example of a system according to an embodiment of the present invention.

[0014] The printing apparatus 101, which is an information processing apparatus, has a wireless communication function and can perform network communication with the mobile terminal 102, the access point 103, and the PC 104. Note that this network communication is not limited to wireless communication and may be wired communication.

[0015] In this embodiment, an example will be described in which the printing apparatus 101 provides information for establishing network communication between the two devices to the mobile terminal 102 using a QR code. Note that the information provided by the printing apparatus 101 using the QR code is not limited to information related to the network.

[0016] In addition, the printing apparatus 101 has two display modes in the operation unit 205 (FIG. 2): a normal display mode in which a screen is displayed without inverting standard color information, and a color inversion display mode in which a screen with inverted color information is displayed. The color inversion display mode is a mode in which the display color of the screen is inverted and provided to users with color vision specificity, and is intended to improve the visibility of such users.

[0017] FIG. 2 is a block diagram showing an example of the hardware configuration of the printing apparatus 101 according to the embodiment.

[0018] The CPU 201 controls the operation of the entire printing apparatus 101. The CPU 201 executes a boot program stored in the ROM 202, expands a program or an OS stored in the HDD 204 into the RAM 203, and executes the expanded program to control the operation of the printing apparatus 101. The RAM 203 is a volatile memory used by the CPU 201 as a work area for executing various programs. The HDD (Hard Disk Drive) 204 stores various control programs, various setting information such as the SSID and wireless authentication key of the printing apparatus 101, and data corresponding to components (screen components) for configuring a screen including QR codes and the like. The operation unit 205 has a display unit with a touch panel function operable by the user, and displays an operation screen in either the normal display mode or the color inversion display mode. The printer unit 206 prints an image on a sheet of paper according to the image data transferred via the internal bus. The network I / F (Interface) 207 has a NIC (Network Interface Card) for connecting to a network and has a wireless communication function. Thereby, the printing apparatus 101 can communicate with an external device such as the mobile terminal 102 via the network I / F 207. The NFCI / F 208 is a chip having an NFC (Near Field Communication) communication function. The Bluetooth (registered trademark) I / F 209 is a chip having a Bluetooth communication function.

[0019] Figure 3 is a functional block diagram for explaining the functions of the printing apparatus 101 according to the embodiment. The functions of each part shown in Figure 3 are realized by the CPU 201 executing the program expanded in the RAM 203.

[0020] These functions include an operation control unit 310, a setting control unit 320, an application unit 330, and a communication control unit 340. The operation control unit 310 includes a display control unit 311 and an operation notification unit 312. The display control unit 311 performs screen display output processing on the operation unit 205. The display control unit 311 also executes processing for displaying a screen using screen components and color inversion processing of screen components. The operation notification unit 312 performs input processing on the information input via the operation unit 205.

[0021] The setting control unit 320 includes a setting storage unit 321 and a setting acquisition unit 322. The setting storage unit 321 performs processing for writing setting data to the HDD 204. The setting acquisition unit 322 performs processing for reading the setting data stored in the ROM 202 or the HDD 204.

[0022] The application unit 330 is an application for generating, for example, a QR code. The barcode generation unit 331 generates barcode data based on an instruction from the operation control unit 310. The generation of this barcode data is processed based on the setting data acquired from the setting control unit 320, and the created barcode data is stored in the HDD 204 via the setting control unit 320.

[0023] The communication control unit 340 controls the network I / F 207. The connection control unit 341 performs connection processing with the mobile terminal 102 or the access point 103 according to an instruction from the operation control unit 310.

[0024] [Embodiment 1] Figure 4 is a diagram showing an example of a setting screen displayed on the operation unit 205 of the printing apparatus 101 according to Embodiment 1 of the present invention.

[0025] FIG. 4(A) shows an example of a setting screen for setting the color inversion display mode of the screen. Through this screen, the operator can set either the normal display mode or the color inversion display mode. On this screen, when the operator selects the ON button 401, the color inversion display mode is set, and the printing apparatus 101 operates in the color inversion display mode. When the OFF button 402 is selected, the normal display mode is set and the printing apparatus 101 operates in the normal display mode. In FIG. 4(A), when the OK button 403 is pressed, the settings on this screen are stored as setting information in the HDD 204. When the cancel button 404 is pressed, the settings on this screen are canceled.

[0026] FIG. 5 is a diagram showing an example of a display screen when the printing apparatus 101 according to Embodiment 1 provides authentication information for wireless communication using a QR code. All of these screens are displayed on the operation unit 205.

[0027] FIG. 5(A) shows an example of a screen displayed on the operation unit 205 when the printing apparatus 101 is in the normal display mode. FIG. 5(B) shows an example of a screen displayed on the operation unit 205 when the printing apparatus 101 is in the color inversion display mode. Here, in any display mode, the QR code 501 is displayed without being color-inverted. Note that in the present Embodiment 1, the QR code is exemplified as the code, but the code handled by the printing apparatus 101 is not limited to the QR code. The present Embodiment 1 can be applied, for example, when displaying or printing an image showing a code such as a barcode or a QR code.

[0028] Note that this screen is composed of a combination of a plurality of screen components. For example, the screens shown in FIGS. 5(A) and 5(B) include five screen components: a QR code 501, a background 502, a title 503, network information 504, and a message 505.

[0029] Hereinafter, Embodiment 1 of the present invention will be described. In Embodiment 1, the CPU 201 functions as a display control unit 311, and an example of displaying a screen in the color inversion display mode will be described by performing color inversion processing for each screen component.

[0030] FIG. 6 is a flowchart for explaining the process when the printing apparatus 101 according to Embodiment 1 displays a screen on the operation unit 205. This process is realized when the CPU 201 expands the program stored in the HDD 204 in the RAM 203 and executes the expanded program.

[0031] First, in S601, the CPU 201 functions as the operation notification unit 312, and when it detects that the operator has operated the operation unit 205, it determines whether an event has occurred to transition the screen displayed on the operation unit 205 to another screen. When detecting the occurrence of this event, the process proceeds to S602, and the CPU 201 functions as the setting acquisition unit 322 to acquire the screen components to be displayed on the transition destination screen.

[0032] Next, the process proceeds to S603, and the CPU 201 determines which of the normal display mode and the color inversion display mode is set. Here, the setting information set on the setting screen of FIG. 4(A) and stored in the HDD 204 is acquired, and the determination is made based on the setting information. If the CPU 201 determines in S603 that the color inversion display mode is set, the process proceeds to S604; otherwise, that is, if it determines that the normal display mode is set, the process proceeds to S607.

[0033] In S604, the CPU 201 determines whether the destination screen includes a code image such as a QR code. If it is determined that a code image such as QR data is included, the process proceeds to S605; otherwise, it proceeds to S606. In S605, the CPU 201 functions as the display control unit 311 and performs color inversion on the screen components other than the code image. This color inversion method is realized by converting each value representing the RGB of each pixel of the screen component into a value obtained by bit inversion. For example, if the value represents 256 gradations in 8 bits, the value obtained by subtracting "256" from the original data is the value after bit inversion. On the other hand, if it is determined that the destination screen does not include a code image such as a QR code, the process proceeds to S606, and color inversion of all screen components is executed. Note that the color inversion process of the screen components is executed by the CPU 201 for each screen component. Thus, when the process for the screen components is completed in S605 or S606, the process proceeds to S607, and the CPU 201 functions as the display control unit 311 to create a screen using the processed screen components. Then, the process proceeds to S608, and the CPU 201 functions as the display control unit 311 to display the screen created in S607 on the operation unit 205, and this process ends.

[0034] Note that when the CPU 201 determines in S603 that it is in the normal display mode, the process proceeds to S607, and a screen is created using the screen components without performing the color inversion process. Then, in S608, the CPU 201 displays on the operation unit 205 a screen in which the screen components are not inversely displayed, and this process ends.

[0035] Note that in the first embodiment, an example in which the pixel data represents 256 gradations in 8 bits has been described, but as another embodiment, color inversion may be executed using another algorithm. Also, the color space is not limited to RGB, and other color spaces such as CMYK and HSV may be used.

[0036] As described above, according to the first embodiment, even when the color inversion display mode is set, a code image such as a QR code can be displayed without being inverted.

[0037] [Embodiment 2] Next, Embodiment 2 of the present invention will be described. In Embodiment 2, as shown in FIG. 4(B), when the color inversion display mode is set, it is possible to select whether to display a code image such as a QR code without inverting it or to determine and display it. Note that the configuration of the printing apparatus 101 and the system configuration according to Embodiment 2 are the same as those of Embodiment 1 described above, and thus the description thereof will be omitted.

[0038] FIG. 4(B) shows an example of a setting screen for individually setting whether to perform color inversion on a code image according to Embodiment 2. When the color inversion display mode is set on the screen of FIG. 4(A), a screen for setting whether to perform color inversion on the code image is displayed on the operation unit 205. Here, when the "Do" button 405 is selected, it is set to perform color inversion on the code image, and when the "Don't" button 406 is selected, it is set to display the code image without color inversion. Similar to FIG. 4(A) in FIG. 4(B), when the OK button 403 is pressed, the setting on this screen is stored in the HDD 204 as setting information, and when the cancel button 404 is pressed, the setting on this screen is canceled.

[0039] FIG. 7 is a flowchart for explaining the process when the printing apparatus 101 according to Embodiment 2 displays a screen on the operation unit 205. Note that this process is realized by the CPU 201 expanding the program stored in the HDD 204 into the RAM 203 and executing the expanded program. In FIG. 7, parts common to the flowchart of FIG. 6 described above are denoted by the same symbols, and the description thereof will be omitted.

[0040] Here, when the color inversion display mode is set and the destination screen includes a code image such as a QR code, the process proceeds to S701. In S701, the CPU 201 determines, based on the setting information stored in the HDD 204, whether the code image is set to be inverted on the screen of FIG. 4(B). When the code image is set to be color-inverted, the process proceeds to S606, and the color inversion of all screen components is executed. On the other hand, when the code image is not set to be color-inverted, the process proceeds to S605, and the color inversion of screen components other than the code image is performed.

[0041] According to Embodiment 2, similar to Embodiment 1, even when the color inversion display mode is set, a code image such as a QR code can be displayed without being inverted.

[0042] [Embodiment 3] Next, Embodiment 3 of the present invention will be described. In this Embodiment 3, the display control unit 311 performs color inversion processing on the screen composed of each screen component all at once, and the case of configuring a screen in the color inversion display mode will be described. Note that the configuration and system configuration of the printing apparatus 101 according to Embodiment 3 are the same as those of the aforementioned Embodiment 1, and thus the description thereof will be omitted.

[0043] FIG. 8 is a flowchart for explaining the process when the printing apparatus 101 according to Embodiment 3 composes a screen from screen components and then performs color inversion processing on the entire screen and displays it. Note that this process is realized by the CPU 201 expanding the program stored in the HDD 204 into the RAM 203 and executing the expanded program.

[0044] Note that in FIG. 8, the processes of S801 to S804 are the same as those of S601 to S604 in the flowchart of FIG. 6 described above, and thus the description thereof will be omitted.

[0045] When the CPU 201 determines in S804 that it is in the color inversion display mode and the destination screen includes a code image such as a QR code, it proceeds to S805. In S805, the CPU 201 replaces the screen component that is the code image with the screen component of the color-inverted code image. Then it proceeds to S806 and creates a screen including the screen component that includes the color-inverted code image.

[0046] FIG. 9(A) is a diagram showing an example of an image of the screen created in S806 at this time. Here, only the screen component that is the QR code 901 is displayed in color inversion, and the other screen components are displayed without color inversion. Incidentally, the screen component of the color-inverted QR code may be created in advance at an arbitrary timing such as when the printing device 101 is started.

[0047] In this way, in S806, the CPU 201 functions as the display control unit 311, configures a screen using each screen component, and proceeds with the process to S807. In S807, the CPU 201 determines whether the color inversion display mode is set in the same manner as in S803. If so, it proceeds to S808 and executes a batch color inversion process on the screen configured in S806. As a result, the configuration of the screen in the color inversion display mode is completed, and a screen including a QR code 902 that is not color inverted can be configured as shown in FIG. 9(B), for example. Then it proceeds to S809, and the CPU 201 functions as the display control unit 311, displays the screen configured for the normal display mode or the color inversion display mode on the display unit of the operation unit 205, and ends this process.

[0048] According to Embodiment 3, by configuring a screen in advance with an image component in which a code image is color inverted, such as the QR code 901, even when the entire screen is color inverted in a batch, the code image can be displayed without being color inverted.

[0049] Also, in Embodiment 3, similar to Embodiment 2, when the color inversion display mode is set, a configuration may be provided that allows selection of whether to display a code image such as a QR code without inversion or with inversion. In that case, the determination process of S701 in FIG. 7 is included between S804 and S805 in the flowchart of FIG. 8. And on the screen of FIG. 4(B), when the code image is set not to be inverted, it may proceed to S805.

[0050] Note that in the above-described Embodiments 1 to 3, the description has been given for the case of displaying a screen, but it goes without saying that it is also applicable to the case of printing an image including a code image with color inversion.

[0051] (Other Embodiments) The present invention can also be realized by supplying a program that realizes one or more functions of the above-described embodiments to a system or device via a network or a storage medium, and having one or more processors in the computer of the system or device read and execute the program. Further, it can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

[0052] The present invention is not limited to the above-described embodiments, and various changes and modifications are possible without departing from the spirit and scope of the present invention. Therefore, in order to disclose the scope of the present invention, the following claims are attached.

Explanation of Signs

[0053] 101 Printing device, 205... Operation unit, 201... CPU, 401... ON button, 402... OFF button, 405... "Do" button, 406... "Don't do" button, 501, 901... QR code

Claims

1. An information processing device, a setting means for setting either a first display mode in which a part of a screen to be displayed on a display unit is displayed in a first color, or a second display mode in which a part of the screen is displayed by carrying out a predetermined color conversion so that the part is displayed in a second color different from the first color; a first receiving means for receiving a display of a predetermined screen including a code image to be read by an external device, the code image including information for the external device and the information processing device to establish a wireless connection, and information indicating that the wireless connection between the external device and the information processing device has not yet been established; a display control means for performing the predetermined color conversion on at least a part of the predetermined screen and displaying a screen in which the code image is not subjected to the predetermined color conversion, when the second display mode is set by the setting means, based on receipt of a request to display the predetermined screen; 13. An information processing device comprising:

2. Further comprising a second receiving means for receiving an operation of selecting a first item for instructing execution of the first display mode and a second item for instructing execution of the second display mode; 2 . The information processing apparatus according to claim 1 , wherein the setting unit sets either the first display mode or the second display mode based on an operation accepted by the second accepting unit.

3. The information processing device described in Claim 1 or 2, characterized in that when the second display mode is set by the setting means, the display control means changes the code image included in the specified screen to a code image that has been subjected to the specified color conversion, and performs the specified color conversion on the specified screen including the specified color-converted code image all at once.

4. An information processing device as described in any one of claims 1 to 3, characterized in that the code image is a code image including authentication information for the wireless connection.

5. An information processing device as described in any one of claims 1 to 4, characterized in that the code image is a code image including SSID and key information for connecting to an access point.

6. The information processing device according to claim 5, characterized in that the specified screen is a screen further including text information indicating an SSID and a key for connecting to the access point.

7. An information processing device as described in any one of claims 1 to 6, characterized in that the code image is a QR code (registered trademark).

8. The information processing device according to any one of claims 1 to 7, characterized in that the information processing device is a printing device.

9. An information processing device as claimed in any one of claims 1 to 8, characterized in that the specified color conversion is color inversion.

10. The information processing device according to claim 9, characterized in that the color inversion is a process of bit-inverting the pixel values ​​of each pixel that constitutes the screen to be displayed on the display unit.

11. A method for controlling an information processing device, comprising: a setting step of setting either a first display mode in which a part of a screen to be displayed on a display unit is displayed in a first color, or a second display mode in which a part of the screen is displayed by performing a predetermined color conversion so that the part of the screen is displayed in a second color different from the first color; a receiving step of receiving a display of a predetermined screen including a code image to be read by an external device, the code image including information for the external device and the information processing device to establish a wireless connection, and information indicating that a wireless connection between the external device and the information processing device has not yet been established; a display control step of, when the second display mode is set in the setting step, performing the predetermined color conversion on at least a part of the predetermined screen and displaying a screen in which the code image is not subjected to the predetermined color conversion, based on receipt of the display of the predetermined screen; A control method comprising the steps of:

12. A program for causing a computer to execute all of the steps of the control method according to claim 11.

Citation Information

Patent Citations

  • Liquid fuel injection pump device

    JP1981075926A

  • Medical apparatus

    JP2005124874A

  • Image processing apparatus, and image processing method

    JP2008124996A

  • Printer wireless connectable to external terminal device

    JP2008213294A

  • Projection device and projection method

    JP2015148964A