Image forming apparatus, control method for image forming apparatus, and image forming system

By incorporating an encryption program and control method, the image forming apparatus ensures secure communication with compatible devices, addressing inefficiencies in unsupported encryption scenarios and improving overall convenience.

JP2026181970APending Publication Date: 2026-11-19SEIKO EPSON CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2025077825
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2025-05-08
Publication Date
2026-11-19

AI Technical Summary

Technical Problem

Image forming apparatuses that do not support encryption face challenges when attempting to perform recording with terminal devices that require encryption, leading to reduced convenience and inefficiency.

Method used

The image forming apparatus includes a control unit and storage unit that store an encryption program, allowing it to transmit responses indicating encryption support, execute the program, and perform encrypted communication with terminal devices after receiving specific commands.

Benefits of technology

Enables seamless encrypted communication between compatible devices, ensuring secure data transmission and avoiding unnecessary encryption attempts with non-compatible devices, thus enhancing convenience and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2026181970000001_ABST
    Figure 2026181970000001_ABST
Patent Text Reader

Abstract

The terminal device offered limited convenience when attempting to record data using image forming machines that did not support encryption. [Solution] An image forming apparatus comprising a control unit and a storage unit for storing an encryption program, and connectable to a terminal device, wherein the control unit, after receiving a first command from the terminal device requesting a response related to encryption, and then receiving a second command requesting a response related to communication, transmits to the terminal device a first response indicating that encryption is enabled in response to the first command, then transmits a second response in response to the second command, and thereafter reads and executes the encryption program from the storage unit and communicates encrypted with the terminal device.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present invention relates to an image forming apparatus, a control method for an image forming apparatus, and an image forming system.

BACKGROUND ART

[0002] Conventionally, as shown in Patent Document 1, a printer as an image forming apparatus that receives and records encrypted data from a user terminal as a terminal device is known.

PRIOR ART DOCUMENTS

PATENT DOCUMENTS

[0003]

PATENT DOCUMENT 1

SUMMARY OF THE INVENTION

PROBLEMS TO BE SOLVED BY THE INVENTION

[0004] However, the aforementioned image forming apparatus has low convenience when a terminal device attempts to cause an image forming apparatus that does not support encryption to perform recording.

MEANS FOR SOLVING THE PROBLEMS

[0005] An image forming apparatus connectable to a terminal device, comprising a control unit and a storage unit that stores an encryption program, wherein when the control unit receives a second command requesting a response related to communication after receiving a first command requesting a response related to encryption support from the terminal device, the control unit transmits a first response indicating that the apparatus supports encryption in response to the first command to the terminal device, then transmits a second response in response to the second command, and thereafter reads out and executes the encryption program from the storage unit to perform encrypted communication with the terminal device.

[0006] A control method for an image forming apparatus that stores an encryption program and is connectable to a terminal device, upon receiving a first command from the terminal device requesting a response related to encryption, and then receiving a second command requesting a response related to communication, transmits a first response to the terminal device indicating that encryption is enabled in response to the first command, then transmits a second response in response to the second command, and thereafter executes the stored encryption program and performs encrypted communication with the terminal device.

[0007] An image forming system comprising a terminal device and an image forming apparatus, wherein the terminal device transmits a first command to the image forming apparatus requesting a response related to encryption, and then transmits a second command requesting a response related to communication; the image forming apparatus transmits a first response to the terminal device indicating that it is encrypted in response to the first command, and then transmits a second response in response to the second command; and thereafter, the terminal device and the image forming apparatus each execute an encryption program stored in them to perform encrypted communication. [Brief explanation of the drawing]

[0008] [Figure 1] A block diagram showing the configuration of the first image forming system, including a first image forming apparatus with encryption capabilities. [Figure 2] A block diagram showing the configuration of a second image forming system, including a second image forming apparatus that does not support encryption. [Figure 3] A state transition diagram showing the control method of the first image forming system in Figure 1. [Figure 4] Figure 2 shows a state transition diagram illustrating the control method of the second image forming system. [Figure 5] A flowchart showing the control method for the first image forming apparatus with encryption capabilities. [Modes for carrying out the invention]

[0009] 1. Configuration of an encryption-enabled image forming system As shown in Figure 1, the encryption-enabled first image forming system 1 is configured to include an encryption-enabled first image forming apparatus 10 and an encryption-enabled terminal device 30, as described later.

[0010] The first image forming apparatus 10 is comprised of a first control unit 11, a first communication unit 12, a first storage unit 13, and a first recording unit 14. Hereinafter, the first image forming system 1 will also be referred to simply as the image forming system, the first image forming apparatus 10 will also be referred to simply as the image forming apparatus, the first control unit 11 will also be referred to simply as the control unit, the first communication unit 12 will also be referred to simply as the communication unit, the first storage unit 13 will also be referred to simply as the storage unit, and the first recording unit 14 will also be referred to simply as the recording unit.

[0011] The first control unit 11 comprehensively controls each part of the first image forming apparatus 10. The first control unit 11 is composed of a CPU (Central Processing Unit), a UART (Universal Asynchronous Receiver Transmitter) for managing input and output, and logic circuits such as an FPGA (Field Programmable Gate Array) and a PLD (Programmable Logic Device). The first control unit 11 is also called a processor. The CPU of the first control unit 11 is sometimes specifically referred to as the processor.

[0012] The first storage unit 13 is composed of memory such as flash ROM (Read Only Memory) and HDD (Hard Disk Drive), which are rewritable non-volatile memories, and RAM (Random Access Memory), which are volatile memories. The non-volatile memory of the first storage unit 13 may also include an SSD (Solid State Drive). The CPU of the first control unit 11 reads the program stored in the non-volatile memory of the first storage unit 13 and executes it using the volatile memory of the first storage unit 13 as a working area.

[0013] The first communication unit 12 is configured to include a circuit capable of communication wirelessly or via a wire. The first communication unit 12 has an antenna in the case of wireless communication and a connector in the case of wired communication. Note that the first image forming apparatus 10 transmits and receives data with the communication partner via the first communication unit 12. However, for the sake of brevity, the transmission and reception by the first communication unit 12 will be omitted in the following explanation. The same applies to the terminal communication unit 32 of the terminal device 30 and the second communication unit 22 of the second image forming apparatus 20, which will be described later.

[0014] The first recording unit 14 is composed of recording mechanisms including a transport roller for transporting the medium and a recording head (neither of which are shown) for recording on the medium. The recording head is, for example, an inkjet type, which ejects multiple colors of ink, such as CMYK (Cyan, Magenta, Yellow, Black), to record onto the medium. The recording head may also be a thermal type, electrophotographic type, etc. The medium recorded by the first recording unit 14 is, for example, plain paper, synthetic paper, photographic paper, or film.

[0015] The first image forming apparatus 10 may also be equipped with a scanner (not shown). In this case, the first image forming apparatus 10 can perform media processing such as scanning, copying, and faxing, in addition to the recording described above. Such a first image forming apparatus 10 is also called a multifunction device. Furthermore, the first image forming apparatus 10 may also be equipped with an input / output unit (not shown) similar to the input / output unit 34 of the terminal device 30 described later.

[0016] The terminal device 30 is, for example, a smartphone, a tablet device, or a computer. The terminal device 30 is composed of a terminal control unit 31, a terminal communication unit 32, and a terminal storage unit 33. Since these components of the terminal device 30 are substantially the same as those of the first image forming apparatus 10 described above, a detailed explanation will be omitted.

[0017] Furthermore, the terminal device 30 includes an input / output unit 34. The input / output unit 34 is a user interface for the user. The input / output unit 34 is, for example, a touch panel display. The input / output unit 34 includes a display panel which is an output unit for displaying various information, and a detection panel which is an input unit. The detection panel is configured to be overlaid on the display panel. The detection panel can detect an operation of a user's finger or the like by a method such as a capacitive method, a resistive film method, or an optical method. Note that in the input / output unit 34, the input unit may be a keyboard, a mouse, a button or the like, and the output unit may be a stand-type liquid crystal display or the like.

[0018] 2. Regarding encrypted communication The first storage unit 13 of the first image forming apparatus 10 stores a first encryption program P13a, which is a program for encrypting and decrypting data. Note that "encryption P" refers to an encryption program. The first control unit 11 can read the first encryption program P13a from the first storage unit 13 and execute it, to encrypt and decrypt data. For example, the first control unit 11 can execute the first encryption program P13a, encrypt plaintext into ciphertext and transmit it, and decrypt the received ciphertext into plaintext. In this way, the first image forming apparatus 10 supports encryption.

[0019] The terminal control unit 31 and the terminal storage unit 33 of the terminal device 30 also support encryption, similarly to the case of the first image forming apparatus 10 described above. The terminal storage unit 33 stores a terminal encryption program P33a similar to the first encryption program P13a, which can be executed by the terminal control unit 31. In the following description, the communication in which the first image forming apparatus 10 and the terminal device 30 encrypt and decrypt data for communication is referred to as encrypted communication.

[0020] Hereinafter, the first cipher P13a and the terminal cipher P33a will be collectively referred to as the cryptographic program. The cryptographic program may use, for example, a symmetric-key cryptography scheme, a public-key cryptography scheme, or SSL (Secure Sockets Layer) or HTTPS (Hypertext Transfer Protocol Secure), or it may use a lossless compression algorithm such as run-length coding or Huffman coding.

[0021] 3. Configuration of an image forming system that does not support encryption As shown in Figure 2, the second image forming system 2, which is not cryptographically supported, is composed of a second image forming apparatus 20 that is not cryptographically supported and a cryptographically supported terminal device 30 similar to that in Figure 1.

[0022] The second image forming apparatus 20 is comprised of a second control unit 21, a second communication unit 22, a second storage unit 23, and a second recording unit 24. Since these components of the second image forming apparatus 20 are substantially the same as those of the first image forming apparatus 10 described above, a detailed explanation is omitted.

[0023] However, the second storage unit 23 of the second image forming apparatus 20 does not store an encryption program. The second control unit 21 cannot encrypt or decrypt data, and the second image forming apparatus 20 does not support encryption. For example, if terminal device 30 encrypts plaintext into ciphertext and transmits it to second image forming apparatus 20, the second image forming apparatus 20 will be unable to decrypt the received ciphertext back into plaintext and will instead record it in ciphertext form.

[0024] The second image forming apparatus 20 may also be equipped with an input / output unit (not shown) similar to the input / output unit 34 of the terminal device 30 described above. Furthermore, the second image forming apparatus 20 may be a multifunction device equipped with a scanner (not shown).

[0025] 4. Control method for an encryption-enabled image forming system In the following, the terminal control unit 31 of the terminal device 30 and the first control unit 11 of the encryption-enabled first image forming apparatus 10 each perform their respective controls, but the actions performed by each control unit will be omitted from this explanation. At the start of control, the terminal device 30 and the first image forming apparatus 10 shall engage in normal communication, not encrypted communication. Normal communication refers to, for example, communication in plain text.

[0026] As shown in Figure 3, in the encryption-enabled first image forming system 1, control is initiated, and the terminal communication unit 32 of the terminal device 30 and the first communication unit 12 of the first image forming apparatus 10 are interconnected (S101), enabling communication. The terminal device 30 transmits a first command to the first image forming apparatus 10 (S102). In this case, the first command is a command requesting a response from the first image forming apparatus 10 regarding encryption. Next, the terminal device 30 transmits a second command to the first image forming apparatus 10 (S103). In this case, the second command is a command requesting a response from the first image forming apparatus 10 regarding communication.

[0027] The first image forming apparatus 10 has the first encryption key P13a stored in the first storage unit 13 and is encryption-enabled. In response to the first command received, the first image forming apparatus 10 generates a first response indicating that it is encryption-enabled and transmits it to the terminal device 30 (S104). The first image forming apparatus 10 can refer to the first storage unit 13 and generate a first response based on the fact that the first cipher P13a is stored therein.

[0028] Next, the first image forming apparatus 10 confirms the operation of the first communication unit 12, generates a second response indicating that communication is normal in response to the received second command, and transmits it to the terminal device 30 (S105). Based on the first response received, the terminal device 30 determines that the first image forming apparatus 10 is encrypted (S106). The terminal device 30 reads and executes the terminal encryption P33a from the terminal storage unit 33 and communicates encrypted with the first image forming apparatus 10 (S107). Furthermore, the terminal device 30 may determine that the first image forming apparatus 10 is encryption-enabled at the time of receiving the first response, even before receiving the second command.

[0029] The first image forming apparatus 10 stores the history of encrypted communication in the first storage unit 13 based on the receipt of encrypted communication from the terminal device 30 (S108). From this point onward, the terminal device 30 and the first image forming apparatus 10 communicate with each other using encryption until the connection is broken (S109).

[0030] The first image forming apparatus 10 can refer to the first storage unit 13 and, if a history of encrypted communication is stored, can communicate encrypted with the terminal device 30. It is not necessary to send and receive the first command and second command, as well as the first response and second response, again between the first image forming apparatus 10 and the terminal device 30. In this way, the first image forming apparatus 10 stores the history of encrypted communication in the first storage unit 13, and when communicating with the terminal device 30, it can perform encrypted communication based on the stored history.

[0031] The terminal device 30 can transmit data to the first image forming apparatus 10 via encrypted communication and have it recorded by the first recording unit 14. If the first image forming apparatus 10 determines that the data received via encrypted communication is a control character, as described later, it will either execute the corresponding command or discard the control character. If the first image forming apparatus 10 determines that the data received via encrypted communication is a character, as described later, it will record it using the first recording unit 14.

[0032] The first command may also request identification information related to encryption. The first image forming apparatus 10 may also store identification information indicating encryption in the first storage unit 13. The first image forming apparatus 10 may refer to the first storage unit 13 in response to the first command, generate the stored encryption-enabled identification information as a first response, and transmit it to the terminal device 30. Furthermore, the second image forming apparatus 20 does not store identification information indicating that it is encrypted. The second image forming apparatus 20 does not transmit encryption-enabled identification information to the terminal device 30 as a first response.

[0033] Furthermore, the first command may request so-called memory switch information, which indicates whether encryption is enabled or disabled. The first image forming apparatus 10 can store the memory switch information indicating that encryption is enabled in the first storage unit 13. The first image forming apparatus 10 may refer to the first storage unit 13 in response to the first command, generate the stored ON memory switch information as a first response, and transmit it to the terminal device 30. Note that OFF indicates that encryption is not enabled. Furthermore, the second image forming apparatus 20 does not store information about the memory switch related to encryption. The second image forming apparatus 20 does not transmit information about the memory switch related to encryption to the terminal device 30 as a first response.

[0034] In this manner, the terminal device 30 communicates with the encryption-enabled first image forming apparatus 10 in a normal manner at the start of control, sending a first command and a second command. Based on the reception of the first response and the second response from the first image forming apparatus 10, the terminal device 30 can confirm that the first image forming apparatus 10 is encryption-enabled. Thereafter, the terminal device 30 can have the first image forming apparatus 10 record data via encrypted communication.

[0035] 5. Control method for an image forming system that does not support encryption. In the following, the terminal control unit 31 of the terminal device 30 and the second control unit 21 of the second image forming apparatus 20, which does not support encryption, each perform their respective controls, but the actions performed by each control unit will be omitted from this explanation. At the start of control, the terminal device 30 and the second image forming apparatus 20 shall communicate normally. Unlike the first image forming apparatus 10, the second image forming apparatus 20 does not support encryption. The terminal device 30 shall communicate normally when starting control, regardless of whether the communication destination is the first image forming apparatus 10 or the second image forming apparatus 20.

[0036] As shown in Figure 4, in the second image forming system 2, control is started, and the terminal communication unit 32 of the terminal device 30 and the second communication unit 22 of the second image forming apparatus 20 are connected to each other (S201), enabling communication. The terminal device 30 sends a first command to the second image forming apparatus 20 (S202). In this case, the first command is a command requesting a response from the second image forming apparatus 20 regarding encryption. Next, the terminal device 30 sends a second command to the second image forming apparatus 20 (S203). In this case, the second command is a command requesting a response from the second image forming apparatus 20 regarding communication.

[0037] Unlike the first image forming apparatus 10 described above, the second image forming apparatus 20 does not store an encryption program in its second storage unit 23. Because the second image forming apparatus 20 does not support encryption, it cannot generate a first response indicating that it supports encryption in response to the first command, and therefore cannot send the first response to the terminal device 30.

[0038] The second image forming apparatus 20 confirms the operation of the second communication unit 22, generates a second response indicating that communication is normal in response to the received second command, and transmits it to the terminal device 30 (S204). The second image forming apparatus 20 does not support encryption, but it can successfully respond to a second command transmitted via unencrypted normal communication and send a second response. The terminal device 30 can determine that the second image forming apparatus 20 is not cryptographically supported by receiving the second response without receiving the first response (S205).

[0039] The terminal device 30 can determine that, in response to the first command it initially sent, the second image forming apparatus 20 was unable to send a first response because it did not support encryption, and that, in response to the second command it subsequently sent, the second image forming apparatus 20 was able to communicate successfully and therefore sent a second response. In other words, upon receiving the second response, the terminal device 30 can determine that the reason it failed to receive the first response was not because normal communication was not possible, but because the second image forming apparatus 20 was not cryptographically compatible.

[0040] From this point onward, the terminal device 30 and the second image forming apparatus 20 communicate with each other without encryption until the connection is broken (S207) (S206). The terminal device 30 can continue to transmit data to the second image forming apparatus 20 via normal communication, and cause the second recording unit 24 to perform recording, etc.

[0041] The first command may request identification information related to encryption, or it may request information about the memory switch related to encryption. The second image forming apparatus 20 can store identification information indicating that encryption is not supported and information indicating that the memory switch is OFF in the second storage unit 23. The second image forming apparatus 20 may refer to the second storage unit 23 in response to the first command, generate identification information indicating that encryption is not supported and information indicating that the memory switch is OFF as a first response, and transmit it to the terminal device 30. The terminal device 30 receives a first response indicating that encryption is not supported, and can determine that the second image forming apparatus 20 is not encrypted.

[0042] In this way, the terminal device 30 communicates with the second image forming apparatus 20, which does not support encryption, in a normal manner at the start of control, and sends the first command and the second command. Based on the fact that the terminal device 30 does not receive a first response from the second image forming apparatus 20 but receives a second response, the terminal device 30 can confirm that the second image forming apparatus 20 does not support encryption. Subsequently, the terminal device 30 can communicate data to the second image forming apparatus 20 in a normal manner and cause it to record, etc. The terminal device 30 can avoid encrypting the plaintext into ciphertext and sending it to the second image forming apparatus 20, which does not support encryption, and can avoid the second image forming apparatus 20 recording the data in ciphertext form.

[0043] 6. Control method for an image forming apparatus with encryption capabilities Referring to Figure 5, the control method for the encryption-enabled first image forming apparatus 10 will be described. In particular, referring to Figure 3, the control method described above for the first image forming apparatus 10 receiving a first command and transmitting a first response will be described in detail. As described above, the terminal control unit 31 of the terminal device 30 and the first control unit 11 of the encryption-enabled first image forming apparatus 10 each perform their respective controls, but the actions performed by each control unit will be omitted in the following explanation. Also, at the start of control, the terminal device 30 and the first image forming apparatus 10 will engage in normal, unencrypted communication.

[0044] The first image forming apparatus 10 starts control and connects to the terminal device 30, then determines whether it has received data from the terminal device 30 (S301). If it determines that data has been received (S301:YES), it determines whether the received data is a predetermined control string (S302). When the first image forming apparatus 10 determines that the data is a predetermined control string (S302: YES), it determines that the received data is a first command requesting an encryption response (S303).

[0045] The first control unit 11 generates a first response indicating that encryption is supported (S304) and transmits it to the terminal device 30 (S305). Although not shown in Figure 5, as described above, the first image forming apparatus 10 receives a second command from the terminal device 30 and transmits a second response to the terminal device 30 in response to the second command. Subsequently, the first image forming apparatus 10 reads and executes the first encryption P13a from the first storage unit 13, performs encrypted communication with the terminal device 30 (S306), and terminates processing. Furthermore, once encrypted communication is established, the terminal device 30 does not need to resend the first and second commands, and therefore the first image forming apparatus 10 does not need to determine whether the received data is a predetermined control string (S302). The first image forming apparatus 10 can decrypt the data received via encrypted communication and then perform the control described later, starting with determining whether the received data is a control character (S320). Incidentally, the second image forming apparatus 20 does not perform the determination of whether the data is a control string (S302) from the outset, and will perform the control from determining whether the data is a control character (S320) onward.

[0046] Here, we will explain control characters in detail. As an example of control characters, we will use ASCII code, a character encoding system used for information and communication, as an example. ASCII code includes control characters in addition to alphanumeric characters and symbols. Specifically, a correspondence is defined between which character or control character is represented by a number from 0 to 127, which is represented by a single byte. In the following, "0x" represents a hexadecimal number. The numbers from 0 to 127, when expressed in hexadecimal, are 0x00 to 0xFF. Of these, numbers 0 through 31 are assigned to control characters from 0x00 to 0x1F, and characters from 0x20 to 0xFF. For the sake of explanation, in the following, numbers 0x00 to 0x1F will also be referred to as control characters, and numbers 0x20 to 0xFF will also be referred to as characters.

[0047] Some control characters are assigned to specific commands. Examples of such commands are listed below. In the following, the relationship between a (hexadecimal number) and its corresponding command is expressed. For example, (0x1B)ESC means that the (hexadecimal number) is (0x1B), and the command corresponding to (0x1B) is ESC. (0x09)HT,(0x0A)LF,(0x0C)FF,(0x0D)CR,(0x10)DLE,(0x11)DC1,(0x18)CAN,(0x1B)ESC,(0x1C)FS,(0x1D)GS,(0x1E)DC1,(0x1E)US.

[0048] The first memory unit 13 stores the commands corresponding to these (numbers expressed in hexadecimal). The first control unit 11 can refer to the first memory unit 13 based on these received numbers, specify a particular command, and execute that particular command. Note that the commands may also have control characters and arguments added to them. In the first image forming apparatus 10, the first command and the second command are set as specific commands assigned to control characters. On the other hand, in the second image forming apparatus 20, the second command is set as a specific command, but the first command is not set as a specific command. In the second image forming apparatus 20, as described later, the first command is discarded.

[0049] The predetermined control characters are control characters other than those assigned to specific commands. No command is assigned to the predetermined control characters, and the first control unit 11 does not execute a command based on the predetermined control characters. The predetermined control string is a combination of multiple predetermined control characters.

[0050] For example, a given control string is a control string consisting of a combination of three predetermined control characters, (0x01), (0x02), and (0x03), to which no command is assigned. The first image forming apparatus 10 can determine that the received data is a predetermined control string if it is, for example, (0x01)(0x02)(0x03). The first image forming apparatus 10 does not execute a command based on the predetermined control string, just as it does not execute a command based on the predetermined control character.

[0051] Furthermore, in determining whether the received data is a predetermined control string (S302), the first image forming apparatus 10 can more reliably determine that the received data is a first command by determining it as a predetermined control string consisting of multiple predetermined control characters, rather than just one predetermined control character. The number of predetermined control characters constituting the predetermined control string is preferably two or more, and preferably eight when processing in byte units.

[0052] Returning to Figure 5, the explanation continues. If the first image forming apparatus 10 determines that the received data is not a predetermined control string (S302: NO), it determines whether it is a control character (S320). In other words, in (S320), the first image forming apparatus 10 determines that the received data is neither a predetermined control string nor a control character. In this case, the received data is either a control character corresponding to 0x00 to 0x1F, or a character corresponding to 0x20 to 0xFF.

[0053] If the first image forming apparatus 10 determines that the received data is a control character (S320: YES), it will either control a command corresponding to the type of control character (S322) or discard the control character (S323), as described later. In this case, the control character is either a control character assigned to a specific command, or a control character not assigned to a specific command. Note that a control character not assigned to a specific command is a single predetermined control character.

[0054] Specifically, when the first image forming apparatus 10 determines that the received control character is a control character assigned to a specific command (S321: YES), it executes predetermined control according to that specific command (S322). In other words, when the first image forming apparatus 10 determines that the received data consists of control characters other than predetermined control characters for determining the first command, it executes the control corresponding to those control characters. On the other hand, if the first image forming apparatus 10 determines that the received control character is not a control character assigned to a specific command, but a predetermined control character (S321: NO), it discards it (S323) and terminates the control.

[0055] If the first image forming apparatus 10 determines that the received data is not a control character (S320: NO), it can determine that it is a character. The first image forming apparatus 10 records the corresponding character using the first recording unit 14 (S333) and terminates control. In other words, if the first image forming apparatus 10 determines that the received data is not a predetermined control character for determining the first command, or a control character for executing a predetermined control, the first recording unit 14 records the character corresponding to the received data.

[0056] The first storage unit 13 stores character data corresponding to each of the numbers 0x20 to 0xFF, in a form that can be recorded by the recording head of the first recording unit 14. The first control unit 11 of the first image forming apparatus 10 can read the received character data corresponding to one of the numbers 0x20 to 0xFF from the first storage unit 13 and record it using the first recording unit 14.

[0057] Thus, when the encryption-enabled first image forming apparatus 10 receives data, it uses a character code system for information and communication to determine whether the data is a predetermined control string, control character, or character. When the first image forming apparatus 10 determines that the received data is a predetermined control string and is a first command, it performs encrypted communication. When the first image forming apparatus 10 determines that it is a control character, it either controls the corresponding command or discards one predetermined control character. When the first image forming apparatus 10 determines that it is a character, it records it using the first recording unit 14.

[0058] Returning to the determination of whether data has been received (S301), the explanation continues. The first image forming apparatus 10 determines that it has not received data from the terminal device 30 (S301: NO), and when it determines that a predetermined period has elapsed (S310: YES), it issues an error notification (S311) and terminates the process. Specifically, the first image forming apparatus 10 determines that a communication disconnection error has occurred if it does not receive data for a predetermined period of time, or that an error has occurred in which the first communication unit 12 or other components have malfunctioned, and notifies the system of this fact via the input / output unit (not shown). On the other hand, if the first image forming apparatus 10 determines that it has not received data from the terminal device 30 (S301: NO) and determines that a predetermined period has not elapsed (S310: NO), it returns to the process of determining whether it has received data from the terminal device 30 (S301).

[0059] Furthermore, if the first image forming apparatus 10 does not receive at least one of the first command and the second command from the terminal device 30 within a predetermined period, it may notify the terminal device 30 of this fact as an error. When the first image forming apparatus 10 determines that a communication error as described above has occurred, or an error has occurred in the transmission of the first command and the second command of the terminal device 30, it can notify the apparatus of this fact via the input / output unit.

[0060] As described above, the first image forming apparatus 10 comprises a first control unit 11 and a first storage unit 13 that stores the first encryption program P13a, and is connectable to a terminal device 30. When the first control unit 11 receives a first command from the terminal device 30 requesting a response related to encryption, and then receives a second command requesting a response related to communication, it sends a first response to the terminal device 30 indicating that encryption is enabled in accordance with the first command, and then sends a second response in accordance with the second command. Subsequently, the first control unit 11 reads the first cipher P13a from the first storage unit 13 and executes it, and communicates encrypted with the terminal device 30.

[0061] The control method for the first image forming apparatus 10, which stores the first encryption P13a and is connectable to the terminal device 30, receives a first command from the terminal device 30 requesting a response related to encryption, and then receives a second command requesting a response related to communication. The first command sends a first response to the terminal device 30 indicating that encryption is enabled in response to the first command, and then sends a second response in response to the second command. From this point forward, the control method of the first image forming apparatus 10 executes the stored first encryption P13a and performs encrypted communication with the terminal device 30.

[0062] In a first image forming system 1 comprising a terminal device 30 and a first image forming apparatus 10, the terminal device 30 sends a first command to the first image forming apparatus 10 requesting a response related to encryption, and then requests a response related to communication. The first image forming apparatus 10 sends a first response to the terminal device 30 indicating that it is encrypted in response to the first command, and then sends a second response in response to the second command. From this point onward, the terminal device 30 and the first image forming apparatus 10 execute the encryption programs they each store and communicate in an encrypted manner.

[0063] With the first image forming apparatus 10, the control method for the first image forming apparatus 10, and the first image forming system 1, the terminal device 30 can perform normal communication when starting control, regardless of whether the communication destination is the encryption-enabled first image forming apparatus 10 or the non-encryption-enabled second image forming apparatus 20. The terminal device 30 can transmit the first command and the second command via normal communication to either the first image forming apparatus 10 or the second image forming apparatus 20.

[0064] Furthermore, the terminal device 30 can determine whether the communication destination is the encryption-enabled first image forming apparatus 10 or the encryption-independent second image forming apparatus 20, based on whether or not it has received a first response corresponding to the first command, before receiving a second response corresponding to the second command. If the communication destination of the terminal device 30 is the first image forming apparatus 10 which supports encryption, the terminal device 30 can transmit data in an encrypted manner and record it. On the other hand, if the communication destination of the terminal device 30 is the second image forming apparatus 20 which does not support encryption, the terminal device 30 can transmit data in a normal manner and record it. The terminal device 30 can avoid encrypting the plaintext into ciphertext and sending it to the second image forming apparatus 20, which does not support encryption, and can avoid the second image forming apparatus 20 recording the data in ciphertext form.

[0065] Although embodiments have been described in detail above with reference to the drawings, the specific configuration is not limited to these embodiments and may be modified, substituted, deleted, etc., as long as it does not depart from the spirit of this invention. For example, a given control string may consist of a single control character instead of multiple control characters. [Explanation of symbols]

[0066] 1...First image forming system, 2...Second image forming system, 10...First image forming apparatus, 11...First control unit, 12...First communication unit, 13...First storage unit, 13a...First encryption P, 14...First recording unit, 20...Second image forming apparatus, 21...Second control unit, 22...Second communication unit, 23...Second storage unit, 24...Second recording unit, 30...Terminal device, 31...Terminal control unit, 32...Terminal communication unit, 33...Terminal storage unit, 33a...Terminal encryption P.

Claims

1. An image forming apparatus comprising a control unit, a storage unit for storing an encryption program, and a recording unit, and which is connectable to a terminal device, The control unit, After receiving a first command from the terminal device requesting a response related to encryption, and then receiving a second command requesting a response related to communication, After sending a first response to the terminal device indicating that it is encrypted in response to the first command, a second response is sent in response to the second command. The image forming apparatus subsequently reads and executes the encryption program from the storage unit and communicates encrypted with the terminal device.

2. The control unit, The image forming apparatus according to claim 1, wherein if it is determined that the data received from the terminal device is a control string containing a plurality of predetermined control characters, the apparatus determines that the data is a first command.

3. The control unit, If it is determined that the aforementioned data is a control character other than the predetermined control character, The image forming apparatus according to claim 2, which performs control corresponding to the control character.

4. The control unit, If the data is determined to be neither the predetermined control character nor the control character, The image forming apparatus according to claim 3, wherein the recording unit records characters corresponding to the data.

5. The first command requests identification information related to the encryption correspondence, The control unit, The image forming apparatus according to claim 1, wherein the identification information is transmitted to the terminal device as the first response.

6. The control unit, The image forming apparatus according to claim 1, wherein if at least one of the first command and the second command is not received, an error is transmitted to the terminal device.

7. The memory unit stores the history of the encrypted communication, The control unit, The image forming apparatus according to claim 1, wherein when communicating with the terminal device, encrypted communication is performed based on the history stored in the storage unit.

8. A control method for an image forming apparatus that stores an encryption program and is connectable to a terminal device, After receiving a first command from the terminal device requesting a response related to encryption, and then receiving a second command requesting a response related to communication, After sending a first response to the terminal device indicating that it is encrypted in response to the first command, a second response is sent in response to the second command. A control method for an image forming apparatus, comprising: executing the stored encryption program and communicating encrypted with the terminal device thereafter.

9. An image forming system comprising a terminal device and an image forming apparatus, The aforementioned terminal device is After sending a first command to the image forming apparatus requesting a response related to encryption, a second command is sent requesting a response related to communication. The image forming apparatus is After sending a first response to the terminal device indicating that it is encrypted in response to the first command, a second response is sent in response to the second command. From this point forward, the terminal device and the image forming apparatus each execute the encryption program they have stored and communicate in an encrypted manner, thus forming an image forming system.

Citation Information

Patent Citations

  • Printing system

    JP2004199470A