Media processing device and control method for media processing device
The media processing device addresses user interface confusion by enabling seamless switching between USB and Ethernet connections, enhancing user experience and operational efficiency through notification of the current connection type.
Patent Information
- Application Number
- JP2022008518
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-01-24
- Publication Date
- 2025-12-16
- Estimated Expiration
- 2042-01-24
AI Technical Summary
Users are unaware of the interface used for communication with a host computer in existing printers, leading to confusion and potential inefficiencies.
A media processing device with a media processing mechanism, multiple communication boards (first, second, and third) capable of different communication methods, a switching unit, and a notification unit to alert on communication method changes, allowing seamless switching between USB and Ethernet connections.
Enables transparent communication method switching, informing users of the current connection type, enhancing user experience and operational efficiency.
Smart Images

Figure 0007786217000001 
Figure 0007786217000002 
Figure 0007786217000003
Abstract
Description
[Technical Field]
[0001] The present invention relates to a media processing device and a control method for the media processing device. [Background technology]
[0002] There is known a printer that has a printer controller unit main body and an engine controller unit main body, communicates with a host computer via one interface selected from a plurality of interfaces, and communicates between the printer controller unit main body and the engine controller unit main body via a specific interface. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Japanese Patent Application Laid-Open No. 2003-76649 Summary of the Invention [Problem to be solved by the invention]
[0004] However, with the printer described in Patent Document 1, the user does not know which interface is used for communication with the host computer. [Means for solving the problem]
[0005] The media processing device comprises a media processing mechanism that processes media, a first board that is capable of communicating with an external device using a first communication method and is capable of controlling the media processing mechanism, a second board that is capable of communicating with the first board using the first communication method, a third board that is capable of communicating with the second board using the first communication method and is capable of communicating with the external device using a second communication method different from the first communication method, a switching unit that switches the communication destination of the first board to either the second board or the external device, and a notification unit that notifies communication information related to the second communication method when the communication destination of the first board is switched to the second board by the switching unit.
[0006] A control method for a media processing device comprising: a media processing mechanism that processes media; a first board that is capable of communicating with an external device using a first communication method and that controls the media processing mechanism; a second board that is capable of communicating with the first board using the first communication method; a third board that is capable of communicating with the second board using the first communication method and that is capable of communicating with the external device using a second communication method different from the first communication method; a switching unit that switches the communication destination of the first board to either the second board or the external device; and an alarm unit, wherein when the communication destination of the first board is switched to the second board by the switching unit, the alarm unit alerts communication information related to the second communication method. [Brief explanation of the drawings]
[0007] [Figure 1] FIG. 2 is a block diagram showing the configuration of a media processing device. [Figure 2] FIG. 10 is a state transition diagram showing the control between the control board and the media processing board when the control board is selected. [Figure 3] FIG. 10 is a state transition diagram showing the control of the control board and the network board when the control board is selected. [Figure 4] FIG. 10 is a state transition diagram showing control between the external device and the media processing board when an external device is selected. DETAILED DESCRIPTION OF THE INVENTION
[0008] 1. Embodiment 1 The media processing device 1 is used, for example, in retail businesses and banks that receive and process checks from customers. The media processing device 1 reads images of the check's front, such as the number and signature, and prints a receipt notice on the back. At this time, the media processing device 1 can also obtain the check's number from the scanned image and make a credit inquiry to the device that issued the check, such as the bank.
[0009] 1-1. Media processing device configuration As shown in FIG. 1, the media processing device 1 is configured to include a media processing board 10 as a first board, a control board 20 as a second board, a network board 30 as a third board, and a switch 70 as a switching unit. The control board 20 can communicate with the media processing board 10 via a first communication method, the serial communication method USB (Universal Serial Bus), and can also communicate with the network board 30 via USB. The media processing board 10 can control the media processing mechanism 40, which processes checks as media, and the notification unit 50. The network board 30 can communicate with external devices 60 such as computers and tablet terminals via network 2 using a LAN (Local Area Network) such as Ethernet (Ethernet (registered trademark, IEEE802.3), which is a second communication method and network communication method different from USB. The media processing board 10, control board 20, network board 30, and switch 70 will each be described in detail with reference to Figure 1. The communication method, communication path, etc. are also called interfaces.
[0010] The medium processing board 10 includes a first control unit 11, a first communication unit 12, and a first storage unit 13. The first storage unit 13 is a rewritable nonvolatile memory such as a flash ROM (Read Only Memory), and can store firmware, which is a program, and predetermined information including information related to communication by the first communication unit 12. The first storage unit 13 also includes RAM (Random Access Memory), which is a volatile memory used by the first control unit 11 as a work area. The first control unit 11 includes a CPU (Central Processing Unit) that executes various controls on each unit within the media processing board 10. The CPU is also called a processor. The CPU of the first control unit 11 reads and executes firmware stored in the first storage unit 13.
[0011] The first communication unit 12 of the media processing board 10, the second communication unit 22 of the control board 20 described below, and the third communication unit 32 of the network board 30 are all capable of communicating using a serial communication method that complies with the USB (Universal Serial Bus) standard. Here, the USB standard includes USB 1.1 to USB 3.0 and subsequent extended standards.
[0012] The second communication unit 22 of the control board 20 operates as the host side of the USB standard, and the first communication unit 12 and the third communication unit 32 of the network board 30 operate as the device side. In the USB standard, communication between the host and device is scheduled by the host, and the device sends and receives data according to requests from the host. In the following, requests from the control board 20 on the host side will be omitted unless otherwise required for explanation.
[0013] Inside the media processing device 1, the second communication unit 22 of the control board 20 and the first communication unit 12 of the media processing board 10, and the second communication unit 22 of the control board 20 and the third communication unit 32 of the network board 30 are connected by USB cables. According to the USB standard, a USB cable has two power lines, VBUS and GND, and two data lines, D+ and D-. The two power lines, VBUS and GND, and the two data lines, D+ and D-, are collectively referred to as the USB bus.
[0014] The first communication unit 12 of the medium processing board 10 is configured by a communication circuit including a USB device controller, which is a communication IC (Integrated Circuit) that operates on the device side in accordance with the USB standard, and a connector. The first communication unit 12 also has a memory. This memory stores device information related to USB communication of the media processing board 10. The device information is data in a format defined by the USB standard, and includes, for example, a class ID (Identification, Identifier), a vendor ID, a product ID, a vendor name, a model name, a USB serial number, and the like. The device information only needs to include at least the class ID, the product ID, and the model name of the device. The device information may also be stored in the first storage unit 13.
[0015] The media processing mechanism 40 processes checks and has the functions of a printer and scanner. Specifically, the media processing mechanism 40 includes an image sensor, such as a CIS (Contact Image Sensor) scanner, a transport mechanism, a printer, and other components (not shown). The transport mechanism includes a transport motor and transport rollers, and transports checks along a transport path that runs from the insertion slot to the ejection slot. An image sensor and printer are located along the transport path. As the check is transported along the transport path by the transport mechanism, it is read by an image sensor or printed by a printer.
[0016] The image sensor contains a light source that is an RGB (Red, Green, Blue) LED (Light Emitting Diode), a lens for forming an image, a group of photoelectric elements for three RGB channels, and an image processing IC. It optically reads the reflection of the LED light that is shone on the check and outputs it as image data. The image data output by the image sensor is composed of, for example, 8 bits for each RGB color, for a total of 24 bits. The image data may be composed of other bit numbers or may be composed of black and white monochrome data.
[0017] The image sensor may be of either type, such as a complementary metal oxide semiconductor (C-MOS) or a charge coupled device (CCD), and may have a resolution in the range of 200 dpi (dots per inch) to 300 dpi. The printer has an inkjet head and prints by ejecting ink onto the check.
[0018] Under the control of the first control unit 11 of the media processing board 10, the media processing mechanism 40 transports the check set by the user into the insertion slot using the transport mechanism, reads images such as the number and signature on the front of the check using an image sensor, prints information indicating that the check has been received on the back using a printer, and discharges the check through the discharge slot.
[0019] The first control unit 11 acquires the image data read by the image sensor and transmits it to the external device 60. The first control unit 11 can also perform character recognition processing on the image data to obtain the check number and the like, and make a credit inquiry to an external device 60, which may be a device of the bank that issued the check, for example.
[0020] The notification unit 50 is, for example, a liquid crystal display or an LED. Under the control of the first control unit 11 of the medium processing board 10, the notification unit 50 displays predetermined information to notify the user. The notification unit 50 may also be a speaker that notifies the predetermined information by voice. The notification unit 50 can notify the user of communication information related to communications with the media processing device 1. The notification unit 50 can also notify the user of information such as settings related to communications with the media processing device 1. The notification unit 50 can also notify the user of statuses such as errors in any of the media processing board 10, control board 20, network board 30, or media processing mechanism 40, and how to deal with them.
[0021] The control board 20 includes a second control unit 21, a second communication unit 22, and a second memory unit 23. Note that explanations of the parts of the second control unit 21 and the second memory unit 23 that are the same as the first control unit 11 and the first memory unit 13 of the media processing board 10 will be omitted. The following description will focus on the configuration of the second communication section 22 of the control board 20, which is different from the first communication section 12 of the media processing board 10, and the control of the second communication section 22 by the second control section 21.
[0022] The second communication unit 22 is configured by a communication circuit including a USB host controller, which is a communication IC that operates as a host in accordance with the USB standard, and a connector. The second storage unit 23 stores an OS (Operating System) and various USB device drivers. The second control unit 21 reads out and executes the OS from the second storage unit 23, and operates as a host in accordance with the USB standard.
[0023] Meanwhile, the first communication unit 12 of the media processing board 10 and the third communication unit 32 of the network board 30 are equipped with a USB device controller, store device information, and operate as devices in accordance with the USB standard. The second control unit 21 acquires device information from the media processing board 10 and the network board 30 via the second communication unit 22, and identifies and controls the corresponding device driver.
[0024] For example, for the media processing board 10, the second control unit 21 identifies a device driver having printer and scanner functions compatible with the media processing board 10. Furthermore, for the network board 30, the second control unit 21 identifies a device driver having network communication functions compatible with the network board 30. Then, the second control unit 21 reads out the identified device driver from the second storage unit 23 and executes it.
[0025] The second control unit 21, acting as the host side of the USB standard, can send and receive data, commands, and the like to and from the medium processing board 10 and the network board 30 via USB using the second communication unit 22. The second control unit 21 does not directly control the media processing mechanism 40 or the notification unit 50. For example, when notifying the user, the second control unit 21 notifies the user via the notification unit 50 via the media processing board 10.
[0026] The network board 30 is configured to include a third control unit 31, a third communication unit 32, and a third storage unit 33. Note that explanations of the parts that are the same as the first control unit 11, the first communication unit 12, and the first storage unit 13 of the media processing board 10 will be omitted. The third communication unit 32 includes a USB device controller and operates as a device in accordance with the USB standard. The memory of the third communication unit 32 stores device information related to the USB of the network board 30. The device information may be stored in the third storage unit 33.
[0027] Regarding communication, the network board 30 differs from the media processing board 10 in that it is equipped with an external communication unit 34. Therefore, the following description will focus on the configuration of the external communication unit 34 and the control of the external communication unit 34 by the third control unit 31.
[0028] The external communication unit 34 includes communication circuits such as a connector (not shown) defined by Ethernet, a communication cable, a MAC (Media Access Control) unit, and a PHY (Physical Layer) unit. The PHY unit is a controller that handles the physical layer of Ethernet. The PHY unit converts encoded data into a signal that conforms to the signal standard of the communication cable and encodes the received signal. The MAC unit is a controller that handles the data link layer of Ethernet.
[0029] The third storage unit 33 stores software related to processing of the Ethernet communication protocol and drivers related to communication using the Ethernet. The third storage unit 33 also stores the MAC address and IP address of the external device 60. The third control unit 31 reads out software and drivers relating to Ethernet from the third storage unit 33 and executes them. The third control unit 31 reads the MAC address and IP address of the external device 60 from the third storage unit 33, generates a frame related to Ethernet, and transmits it to the external device 60 via the network 2 by the external communication unit .
[0030] The third memory unit 33 also stores the MAC address and IP address of the media processing device 1. The third control unit 31 receives, via the external communication unit 34, Ethernet frames sent from the external device 60 to the media processing device 1 via the network 2. The third control unit 31 reads the MAC address and IP address of the media processing device 1 from the third memory unit 33 and determines whether the received frame is addressed to the media processing device 1. If the third control unit 31 determines that the received frame is addressed to the media processing device 1 based on the media processing device 1's MAC address and IP address, it stores the data contained in the frame in the third storage unit 33 and performs the specified processing. In this way, the media processing device 1 communicates with the external device 60 via Ethernet.
[0031] Network 2 can also communicate with external networks via a router (not shown). Media processing device 1 can communicate with external device 60 via the router even when external device 60 is connected to an external network.
[0032] The third control unit 31 does not directly control the media processing mechanism 40 or the notification unit 50. For example, when notifying the user, the third control unit 31 causes the notification unit 50 to notify the user via the control board 20 and the media processing board 10.
[0033] The external device 60 includes a fourth control unit 61, a fourth communication unit 62, a fourth memory unit 63, and a fifth communication unit 64. An application for processing checks is stored in the fourth memory unit 63. The fourth control unit 61 reads and executes the application from the fourth memory unit 63, and, for example, sends a media processing request to the media processing device 1 via the fourth communication unit 62 to process the check.
[0034] Note that explanations of the fourth control unit 61 and fourth memory unit 63 of the external device 60, including the CPU, which are the same as the first control unit 11 and first memory unit 13 of the media processing board 10 of the media processing device 1, will be omitted. Also, explanations of the fourth communication unit 62, including the Ethernet, which are the same as the external communication unit 34 of the network board 30 of the media processing device 1, will be omitted. Also, explanations of the fifth communication unit 64, including the USB, which are the same as the second communication unit 22 of the control board 20 of the media processing device 1, will be omitted.
[0035] The following describes how the fourth control unit 61 of the external device 60 controls the fourth communication unit 62, which is different from the external communication unit 34 of the network board 30 of the media processing device 1. The fourth memory unit 63 of the external device 60 stores the MAC address and IP address of the media processing device 1. The fourth control unit 61 reads and executes software related to Ethernet communication protocol processing and drivers related to communication using Ethernet from the fourth memory unit 63. The fourth control unit 61 reads the MAC address and IP address of the media processing device 1 from the fourth memory unit 63, generates a frame, and sends it to the media processing device 1 via the network 2 via the fourth communication unit 62.
[0036] The fourth memory unit 63 also stores the MAC address and IP address of the external device 60. When the fourth communication unit 62 receives a frame from the media processing device 1, the fourth control unit 61 reads the MAC address and IP address of the external device 60 from the fourth memory unit 63 and determines whether the frame is addressed to the external device 60. If the fourth control unit 61 determines that the received frame is addressed to the external device 60, it stores the data contained in the frame in the fourth storage unit 63 and performs a specified process. In this way, the external device 60 communicates with the media processing device 1 via Ethernet.
[0037] Next, we will explain the control of the fifth communication unit 64 related to USB in the external device 60. The fifth communication unit 64 is composed of a communication circuit that includes a USB host controller, which is a communication IC that operates as a host in accordance with the USB standard, and a connector. The fifth communication unit 64 in the external device 60 and the media processing device 1 are connected via a USB cable. As described above, the USB control of the external device 60 for the media processing board 10 of the media processing device 1 is similar to the USB control of the control board 20 for the media processing board 10.
[0038] That is, an OS and various USB device drivers are stored in the fourth storage unit 63 of the external device 60. The fourth control unit 61 of the external device 60 reads and executes the OS from the fourth storage unit 63 and operates as a host of the USB standard. The fourth control unit 61 uses the fifth communication unit 64 to obtain device information from the media processing board 10 of the media processing device 1 and identifies device drivers for the corresponding printer, scanner, and so on.
[0039] Then, the fourth control unit 61 reads out the identified device driver from the fourth storage unit 63 and executes it. The fourth control unit 61, acting as the host side of the USB standard, can send and receive data, commands, and the like to and from the medium processing board 10 via the USB through the fifth communication unit 64.
[0040] Next, we will explain the switch 70, which is the switching unit of the media processing device 1. The switch 70 switches the communication destination of the media processing board 10 via USB between the control board 20 and an external device 60. As shown in FIG. 1, the switch 70 has a contact S, which is a movable contact that moves when operated by a user, and contacts A and B, which are fixed contacts that do not move. Contact S is connected to the first communication unit 12 of the media processing board 10 via a USB cable. Contact A is connected to the second communication unit 22 of the control board 20 via a USB cable. Contact B is connected to the fifth communication unit 64 of the external device 60 via a USB cable.
[0041] The user operates the contact S of the switch 70 to switch the connection destination of the contact S to either the contact A or the contact B. As described above, the first communication unit 12 of the media processing board 10, the second communication unit 22 of the control board 20, and the fifth communication unit 64 of the external device 60 are wired with two power lines, VBUS and GND, and two data lines, D+ and D-, which are USB buses. The switch 70 switches at least two lines of each USB bus, the VBUS power line and the D+ data line, but the switch 70 may also switch all lines of each USB bus. As a result, the switch 70 switches the communication destination of the first communication unit 12 of the media processing board 10 to either the second communication unit 22 of the control board 20 or the fifth communication unit 64 of the external device 60.
[0042] 1-2. Control method for media processing device When the media processing device 1 is powered on, the second control unit 21 on the control board 20 starts up and, under the control of the second control unit 21, begins controlling each part within the control board 20. Similarly, the first control unit 11 of the media processing board 10 also starts up and begins controlling each unit within the media processing board 10. Furthermore, the third control unit 31 of the network board 30 also starts up and begins controlling each unit within the network board 30.
[0043] The following describes a case where the user operates contact S of switch 70, switching the connection of contact S to contact A, and switching the communication destination of first communication unit 12 on media processing board 10 to second communication unit 22 on control board 20. Note that it is assumed that the user has finished operating switch 70 before media processing device 1 is powered on.
[0044] Control relating to the control board 20 and the media processing board 10 will be described with reference to Figure 2. Below, each operation is executed under the control of the second control unit 21 of the control board 20 and the first control unit 11 of the media processing board 10. For simplicity, the second control unit 21 and the first control unit 11, which are the main controllers, are partially omitted in the following description.
[0045] By switching the switch 70, the first communication unit 12 of the media processing board 10 and the second communication unit 22 of the control board 20 can communicate with each other via USB. First, the control board 20 and the media processing board 10 perform USB communication settings (S100). Specifically, the first communication unit 12 of the media processing board 10 starts operating as a USB device and generates a voltage of 5V on the VBUS line. Based on the OS, the control board 20 starts operating as a USB host, and the second communication unit 22 detects the generation of a 5V voltage on the VBUS line, and detects that a USB connection has been made with the media processing board 10 (S101).
[0046] The control board 20 requests device information from the media processing board 10 via the second communication unit 22 (S102). The media processing board 10 transmits the device information stored in the memory of the first communication unit 12 or the first storage unit 13 to the control board 20 as a response to this request (S103). Based on the device information received from the media processing board 10, the second control unit 21 of the control board 20 identifies and executes a device driver corresponding to the media processing board 10 from among the multiple USB device drivers stored in the second memory unit 23.
[0047] The control board 20 sends an initialization command to the media processing board 10 (S104). Based on the initialization command, the media processing board 10 resets the connection state of the USB bus using the first communication unit 12. As a result, a USB connection is established between the control board 20 and the media processing board 10 (S105).
[0048] Meanwhile, as will be described later, at this time, the network board 30 can communicate with the external device 60 via Ethernet, and the control board 20 can communicate with the network board 30 via USB (S110). Furthermore, as will be described later, the network board 30 transmits to the control board 20 a first command including communication information related to the Ethernet. Based on the first command, the control board 20 and the media processing board 10 execute processing related to the notification (S120).
[0049] Specifically, when the control board 20 receives the first command from the network board 30 via the second communication unit 22, it generates a notification command, which is a second command, and transmits it to the media processing board 10 (S121). The notification command includes the communication information of the first command. When the first communication unit 12 receives the notification command, the media processing board 10 causes the notification unit 50 to notify the communication information included in the notification command.
[0050] The communication information may be, for example, the MAC address or IP address of the media processing device 1 connected to the Ethernet. Alternatively, the communication information may be the MAC address or IP address of the external device 60 connected to the Ethernet. The communication information may include at least one of these. The notification unit 50 notifies the user of the communication information, letting the user know that the media processing device 1 is communicating with the external device 60 via Ethernet.
[0051] Upon receiving the notification command from the first communication unit 12, the first control unit 11 of the media processing board 10 can determine that the connection destination of the contact S of the switch 70 has been switched to the contact A. In other words, the first control unit 11 can determine that the communication destination of the first communication unit 12 has been switched by the switch 70 to the second communication unit 22 of the control board 20.
[0052] Furthermore, upon receiving a notification command, the first control unit 11 can also determine that the media processing board 10 is communicating with the external device 60 via Ethernet rather than USB. The first control unit 11 may also cause the notification unit 50 to notify the user that the media processing device 1 is communicating with an external device 60 via Ethernet. Instead of or in addition to the communication information, the media processing board 10 may also notify information that the media processing device 1 is communicating with the external device 60 via Ethernet.
[0053] Next, the control (S130) by the media processing board 10 to read and print checks in response to a media processing request from the fourth communication unit 62 of the external device 60 will be described.
[0054] As described below, when the network board 30 receives a media processing request via Ethernet from the fourth communication unit 62 of the external device 60 via the external communication unit 34, it transmits the media processing request to the control board 20 via the third communication unit 32. The control board 20 transmits the received media processing request to the media processing board 10 via the second communication unit 22 (S131). Note that the second control unit 21 of the control board 20 may convert the received media processing request into commands, data, etc. that can be interpreted by the first control unit 11 of the media processing board 10 before transmitting it.
[0055] When the media processing board 10 receives a media processing request via the first communication unit 12, the media processing mechanism 40 reads an image of the check and prints information indicating that it has been received. The media processing board 10 generates the image data read by the image sensor of the media processing mechanism 40 as the processing result. The processing result may include information related to the printing result, such as whether the printer of the media processing mechanism 40 was able to print successfully or not.
[0056] The media processing board 10 transmits the processing result to the control board 20 via the first communication unit 12 (S132). The control board 20 transmits the received processing result to the network board 30 via the second communication unit 22. The network board 30 transmits the processing result received by the third communication unit 32 to the external device 60 via the external communication unit .
[0057] As described above, the image data output by the image sensor of the media processing mechanism 40 is composed of a total of 24 bits of RGB. The control board 20 receives the 24-bit RGB image data from the media processing board 10 as the processing result. The second control unit 21 of the control board 20 performs data conversion by converting the received 24-bit RGB image data resulting from the processing into a data format that is easy to process in the external device 60 (S140). The data format to be converted is, for example, JPEG, but may also be PNG, TIFF, or other formats with different compression methods or compression rates.
[0058] The second control unit 21 of the control board 20 may read out the driver for image processing stored in the second storage unit 23 and execute data conversion. The data conversion instruction and the type of data format to be converted may be included in the media processing request. The control board 20 performs the data conversion instructed in the media processing request. Alternatively, the data conversion may be performed by the first control unit 11 of the media processing board 10.
[0059] In this way, when the media processing board 10 receives a media processing request from an external device 60 via the network board 30 and control board 20, it processes the check using the media processing mechanism 40 and sends the processing results to the control board 20. At this time, the control board 20 can convert the received processing results into a different data format and transmit them to the external device 60 via the network board 30. The control board 20 may transmit the received 24-bit RGB image data directly to the external device 60 via the network board 30 without converting the data.
[0060] Continuing with reference to FIG. 3, the control relating to the control board 20 and the network board 30 when the connection destination of the media processing board 10 has been switched to the control board 20 will be described. In the following, each operation is executed under the control of the second control unit 21 of the control board 20 and the control of the third control unit 31 of the network board 30. For simplicity, the second control unit 21 and the third control unit 31, which are the main controllers, are partially omitted in the following description.
[0061] The control board 20 and network board 30 perform USB communication settings (S200). Note that this is the same as the case of the control board 20 and media processing board 10, so some of the explanation will be omitted. The third communication unit 32 of the network board 30 starts operating as a USB device. The third communication unit 32 generates a voltage of 5V on the VBUS line. Meanwhile, the second communication unit 22 of the control board 20 starts operating as a USB host. The second communication unit 22 detects that a USB connection has been established with the network board 30 by detecting the generation of a voltage of 5V on the VBUS line by the network board 30 (S201).
[0062] The control board 20 requests device information from the network board 30 via the second communication unit 22 (S202). The network board 30 transmits the device information stored in the memory of the third communication unit 32 or the third storage unit 33 to the control board 20 via the third communication unit 32 (S203). Based on the device information received from the network board 30, the second control unit 21 of the control board 20 identifies and executes a device driver corresponding to the network board 30 from among the multiple USB device drivers stored in the second memory unit 23.
[0063] The control board 20 transmits an initialization command to the network board 30 (S204). Based on the initialization command, the third communication unit 32 of the network board 30 resets the connection state of the USB bus. As a result, a USB connection is established between the control board 20 and the network board 30 (S205).
[0064] On the other hand, the third control unit 31 of the network board 30 reads out from the third storage unit 33 software relating to processing of the Ethernet communication protocol and drivers relating to communication using the Ethernet, and executes them. The third control unit 31 reads the MAC address and IP address of the external device 60 from the third memory unit 33, generates a frame, and transmits it to the fourth communication unit 62 of the external device 60 via the network 2 using the external communication unit 34.
[0065] In addition, the third control unit 31 reads the MAC address and IP address of the media processing device 1 from the third memory unit 33, receives a frame sent from the fourth communication unit 62 of the external device 60 to the media processing device 1 via the network 2 using the external communication unit 34, and determines whether the frame is addressed to the media processing device 1. If the third control unit 31 determines that the received frame is addressed to the media processing device 1, it stores the data contained in the frame in the third storage unit 33 and performs the specified processing. In this way, the network board 30 of the media processing device 1 is able to communicate with the external device 60 via the network 2 via Ethernet using the external communication unit 34 (S210).
[0066] When the network board 30 becomes capable of communicating with the external device 60 via Ethernet, it transmits communication information relating to the Ethernet to the control board 20 (S220). Specifically, the network board 30 transmits a first command including communication information related to the Ethernet to the control board 20 (S221).
[0067] As described above, the communication information includes, for example, the MAC address or IP address of the media processing device 1 related to the Ethernet. When the control board 20 receives the first command from the network board 30 via the second communication unit 22, it generates a notification command (S230) and sends it to the media processing board 10. The notification command includes communication information for the first command. When the media processing board 10 receives the notification command, the notification unit 50 notifies the communication information included in the notification command.
[0068] Next, the control (S240) by the media processing board 10 to read and print checks in response to a media processing request from the external device 60 will be described.
[0069] When the network board 30 receives a media processing request from the external device 60 via the external communication unit 34, the network board 30 transmits the media processing request to the control board 20 via the third communication unit 32 (S241). The control board 20 sends the received media processing request to the media processing board 10. When the media processing board 10 receives the media processing request, it uses the media processing mechanism 40 to read an image of the check and prints information indicating receipt. The media processing board 10 sends the image data read by the media processing mechanism 40 to the control board 20 as the processing result. The processing result may also include information related to the print result.
[0070] The control board 20 transmits the received processing result to the network board 30 via the second communication unit 22 (S242). The network board 30 transmits the processing result received by the third communication unit 32 to the external device 60 via the external communication unit .
[0071] As described above, at this time, the second control unit 21 of the control board 20 may perform data conversion to convert the 24-bit RGB image data received from the media processing board 10 into a different data format. In this way, the control board 20 can convert the processing results received from the media processing board 10 into data based on a media processing request from the external device 60 and transmit the data to the external device 60 via the network board 30.
[0072] Here, we will explain the case where the user operates contact S of switch 70, switching the connection destination of contact S to contact B, and the communication destination of the first communication unit 12 of the media processing board 10 is switched to the fifth communication unit 64 of the external device 60. The first communication unit 12 of the media processing board 10 and the fifth communication unit 64 of the external device 60 are connected by a USB cable.
[0073] Control relating to the external device 60 and the media processing board 10 will be described with reference to Figure 4. Below, each operation is executed under the control of the fourth control unit 61 of the external device 60 and the first control unit 11 of the media processing board 10. For simplicity, the fourth control unit 61 and the first control unit 11, which are the main controllers, are partially omitted in the following description.
[0074] By switching the switch 70, the first communication unit 12 of the media processing board 10 and the fifth communication unit 64 of the external device 60 can communicate with each other via USB. First, the external device 60 and media processing board 10 set up USB communication (S300). Note that this is the same as for the control board 20 and media processing board 10 of the media processing device 1, so some details will be omitted in the explanation. The first communication unit 12 of the media processing board 10 starts operating as a USB device and generates a voltage of 5V on the VBUS line. Based on the OS, the external device 60 starts operating as a USB host, and the fifth communication unit 64 detects the generation of a 5V voltage on the VBUS line, and detects that a USB connection has been made with the media processing board 10 (S301).
[0075] The external device 60 requests device information from the media processing board 10 (S302). The media processing board 10 transmits the device information stored in the memory of the first communication unit 12 or the first storage unit 13 to the external device 60 as a response to this request (S303). Based on the device information received from the media processing board 10, the fourth control unit 61 of the external device 60 identifies and executes a device driver corresponding to the media processing board 10 from among the multiple USB device drivers stored in the fourth memory unit 63.
[0076] The external device 60 sends an initialization command to the media processing board 10 (S304). Based on the initialization command, the media processing board 10 resets the connection state of the USB bus using the first communication unit 12. As a result, a USB connection is established between the external device 60 and the media processing board 10 (S305).
[0077] Next, we will explain the control (S310) by which the media processing board 10 reads and prints checks in response to a media processing request from the USB fifth communication unit 64 of the external device 60. As mentioned above, this is the same as when a media processing request is made from the Ethernet fourth communication unit 62 of the external device 60, so some parts of the explanation will be omitted.
[0078] The external device 60 transmits a media processing request to the media processing board 10 via USB using the fifth communication unit 64 (S311). When the media processing board 10 receives a media processing request, it uses the media processing mechanism 40 to read an image of the check and prints information indicating receipt. The media processing board 10 then sends the image data read by the media processing mechanism 40 to the external device 60 via the first communication unit 12 as the processing result (S312).
[0079] In this case, the image data transmitted by the media processing board 10 is composed of 24-bit RGB image data. The first control unit 11 of the media processing board 10 may perform data conversion to convert the 24-bit RGB image data into a different data format. In this way, the media processing board 10 processes checks using the media processing mechanism 40 based on a media processing request from the external device 60, and the first communication unit 12 sends the processing results to the external device 60 via USB.
[0080] When the switch 70 is set to enable communication between the media processing board 10 and the external device 60 via USB, the external device 60 does not send a notification command to the media processing board 10. Therefore, the notification unit 50 of the media processing device 1 does not issue a notification based on the notification command.
[0081] As described above, the notification unit 50 notifies the user of communication information, letting the user know that the media processing device 1 is communicating with the external device 60 via Ethernet. On the other hand, by not notifying the communication information from the notification unit 50, the user can know that the media processing device 1 is communicating with the external device 60 via USB rather than Ethernet.
[0082] Furthermore, the first control unit 11 of the media processing board 10 can determine that the media processing board 10 is communicating with the external device 60 via USB rather than Ethernet by not receiving a notification command via the first communication unit 12. In this case, the first control unit 11 may have the notification unit 50 notify the user that the media processing device 1 is communicating with the external device 60 via USB.
[0083] According to the above-described embodiment, when the communication destination of the media processing board 10 is switched to the control board 20 by the switch 70, the media processing device 1 can notify the notification unit 50 of communication information related to the Ethernet communicating between the network board 30 and the external device 60. By having the notification unit 50 notify the user of communication information related to the Ethernet, the user can know that the media processing device 1 is communicating with the external device 60 via the Ethernet.
[0084] The present embodiment has been described above in detail with reference to the drawings, but the specific configuration is not limited to these embodiments, and may be changed, replaced, deleted, etc., as long as it does not deviate from the gist of the present invention.
[0085] The external communication unit 34 of the network board 30 and the fourth communication unit 62 of the external device 60 may be equipped with a communication circuit and antenna based on a wireless communication standard such as IEEE802.11b / g / a, and may communicate wirelessly with each other. In this case, the external communication unit 34 and the fourth communication unit 62 may use a communication method that does not involve the network 2, or may communicate via an AP (Access Point). Furthermore, if the distance between the media processing device 1 and the external device 60 is approximately 10 to 20 meters, the external communication unit 34 and the fourth communication unit 62 may be a so-called wireless personal area network (PAN), or may use Bluetooth (registered trademark) or ZigBee (registered trademark). In this case, the communication information may be at least one of information related to these communication standards, such as a communication address or a communication ID.
[0086] The first communication unit 12 of the media processing board 10, the second communication unit 22 of the control board 20, the third communication unit 32 of the network board 30, and the fifth communication unit 64 of the external device 60 have been described using an example of a communication method based on the USB standard, but they may also be communication circuits based on other serial communication methods such as RS-232C, RS-422A, or RS-485.
[0087] The external device 60 may be a smartphone, a notebook PC, or other portable terminal. Although the printer has been described as an inkjet head, any printing method may be used, for example, a thermal head may also be used. Although the medium has been described using the example of a check, other forms of paper such as cut paper, slips, and forms may also be used. [Explanation of symbols]
[0088] 1...media processing device, 10...media processing board, 11...first control unit, 12...first communication unit, 13...first memory unit, 20...control board, 21...second control unit, 22...second communication unit, 23...second memory unit, 30...network board, 31...third control unit, 32...third communication unit, 33...third memory unit, 34...external communication unit, 40...media processing mechanism, 50...alarm unit, 60...external device, 64...fifth communication unit, 70...switch.
Claims
1. a media processing mechanism for processing the media; a first board capable of communicating with an external device using a first communication method and capable of controlling the media processing mechanism; a second board capable of communicating with the first board using the first communication method; a third board capable of communicating with the second board using the first communication method and capable of communicating with the external device using a second communication method different from the first communication method; a switching unit that switches a communication destination of the first board to either the second board or the external device; a notification unit that notifies communication information related to the second communication method when the communication destination of the first board is switched to the second board by the switching unit.
2. the third board, when capable of communicating with the external device, transmits a first command including the communication information to the second board; When the second board receives the first command, the second board transmits a second command including the communication information to the first board; The media processing device according to claim 1 , wherein the first board notifies the communication information by the notification unit when the first board receives the second command.
3. The media processing device according to claim 2 , wherein, upon receiving the second command, the first board determines that the communication destination has been switched to the second board by the switching unit.
4. When the first board receives a media processing request from the external device via the third board and the second board, the first board processes the medium using the media processing mechanism and transmits the processing result to the second board; The media processing device of claim 1 , wherein the second board converts the received processing result and transmits the converted result to the external device via the third board.
5. the first communication method is a serial communication method, the second board is a host side in the serial communication method, and the first board and the third board are device sides in the serial communication method, The media processing device according to claim 1 , wherein the second communication method is a network communication method.
6. A control method for a media processing device comprising: a media processing mechanism that processes media; a first board that is capable of communicating with an external device using a first communication method and that controls the media processing mechanism; a second board that is capable of communicating with the first board using the first communication method; a third board that is capable of communicating with the second board using the first communication method and that is capable of communicating with the external device using a second communication method different from the first communication method; a switching unit that switches the communication destination of the first board to either the second board or the external device; and a notification unit, a notification unit that notifies communication information related to the second communication method when the switching unit has switched the communication destination of the first board to the second board;
Citation Information
Patent Citations
Data processor, print control device, interface selecting method, storage medium, and program
JP2003076649A
Image formation system, image formation apparatus, device controller, and program
JP2004262064A
Printer and printer control method
JP2017136785A
Information processing apparatus
JP2021101293A