WO2019026519A1 - プリンタ、プログラム、および通信システム - Google Patents

プリンタ、プログラム、および通信システム Download PDF

Info

Publication number
WO2019026519A1
WO2019026519A1 PCT/JP2018/025455 JP2018025455W WO2019026519A1 WO 2019026519 A1 WO2019026519 A1 WO 2019026519A1 JP 2018025455 W JP2018025455 W JP 2018025455W WO 2019026519 A1 WO2019026519 A1 WO 2019026519A1
Authority
WO
WIPO (PCT)
Prior art keywords
printer
communication
gateway
network
unit
Prior art date
Application number
PCT/JP2018/025455
Other languages
English (en)
French (fr)
Inventor
斉藤 浩一
Original Assignee
サトーホールディングス株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by サトーホールディングス株式会社 filed Critical サトーホールディングス株式会社
Priority to EP18841787.7A priority Critical patent/EP3664388B1/en
Priority to JP2019533989A priority patent/JP7077321B2/ja
Priority to CN201880030052.XA priority patent/CN110603789B/zh
Priority to US16/611,261 priority patent/US10970005B2/en
Publication of WO2019026519A1 publication Critical patent/WO2019026519A1/ja
Priority to US17/189,619 priority patent/US11487481B2/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • G06F3/1204Improving or facilitating administration, e.g. print management resulting in reduced user or operator actions, e.g. presetting, automatic actions, using hardware token storing data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1229Printer resources management or printer maintenance, e.g. device status, power levels
    • G06F3/1231Device related settings, e.g. IP address, Name, Identification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1236Connection management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1284Local printer device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1292Mobile client, e.g. wireless printing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/16Gateway arrangements

Definitions

  • the present invention relates to a printer, a program for controlling communication of the printer, and a communication system including the printer.
  • a user identification module for example, a SIM (Subscriber Identification Module) card
  • a printer storing a user ID for using a mobile communication network
  • communication is routinely performed between the printer and an external server. May do.
  • the printer default gateway is set to use the mobile communication network. Therefore, there arises a problem that the printer can not simultaneously communicate with another server connected to the external network beyond the network to which the printer belongs, simultaneously with the communication with the external server.
  • an object of the present invention is to enable a printer to simultaneously perform communication with an external device via a mobile communication network and communication with a device connected to the external LAN.
  • One aspect of the present invention is a communication unit that performs communication based on first and second gateways, and the first gateway when performing communication with a first device connected to a mobile communication network. And a control unit configured to control the communication unit to perform communication via a second gateway when performing communication via a second device connected to a LAN (Local Area Network).
  • the control unit is a printer that controls communication with the first device and communication with the second device to be performed independently.
  • the printer it is possible to simultaneously communicate with an external device via a mobile communication network and a device connected to the external LAN.
  • FIG. 2 is a block diagram of a printer, a host PC, and a server according to the embodiment. It is a figure which shows an example of a screen change of the display panel of the printer which concerns on embodiment. It is a figure which shows an example of a screen change of the display panel of the printer which concerns on embodiment.
  • 5A and 5B are diagrams for explaining setting examples of static routes in the printer. 5 is a flowchart of gateway setting processing executed in the printer according to the embodiment. 5 is a flowchart of data transmission processing performed in the printer according to the embodiment.
  • FIGS. 8A and 8B are diagrams for explaining an example in which the printer independently communicates using the default gateway and the static route.
  • the present invention relates to a patent application of Japanese Patent Application No. 201-147,685 filed on July 31, 2017 in the Japanese Patent Office, and the entire contents of this application are incorporated by reference into this specification.
  • LAN Local Area Network
  • the LAN may be a wired network or a wireless network. In the case of a wireless network, for example, it conforms to the standards such as IEEE802a / b / g / j / n / ac / ad.
  • the “first and second gateways” are nodes that relay communications when the printer communicates with another device beyond the LAN to which the printer is connected. Also, the “first and second gateways” may be realized by physical devices such as a router, a server or the like, or may be realized by software.
  • the “mobile communication network” is not particularly limited in its specification, and is particularly limited as long as it is operated by a mobile communication carrier or conforms to a radio communication system scheduled to be operated. I will not.
  • a wireless communication system conforming to the IMT-2000 standard generally referred to as 3G
  • a wireless communication system conforming to the IMT-Advanced standard generally referred to as 4G
  • a wireless communication system or the like which is generally called 5G and whose standards are being developed by the 3rd Generation Partnership Project (3GPP)
  • 3GPP 3rd Generation Partnership Project
  • the “first device” may be any device as long as it is a device connected to a mobile communication network, and is, for example, a device capable of accessing a mobile communication network such as a computer device or a server.
  • the “second device” may be any device as long as it is a device connected to a LAN, and examples thereof include a computer device, a smartphone, and a tablet terminal.
  • FIG. 1 is a diagram showing an example of a configuration of a communication system 100 according to the present embodiment.
  • the printer 1a is included in the printer network PN1
  • the printer 1b is included in the printer network PN2
  • the host PC 2a is included in the host PC network HPN1
  • the host PC 2b is included in the host PC network HPN2.
  • a router RT1 is provided as a gateway of the printer network PN1
  • a router RT2 is provided as a gateway of the printer network PN2.
  • a router is an example of a communication device.
  • the host PC (Personal Computer) is an example of the second device.
  • the host PC network may be a wired LAN or a wireless LAN.
  • the printers 1a and 1b and the server 3 can each use a mobile communication network MN.
  • the server 3 is an example of a first device.
  • Each of the printers 1a and 1b and the server 3 is configured to be able to mount a SIM (Subscriber Identity Module) card in order to use a mobile communication service provided by a telecommunication carrier.
  • SIM Subscriber Identity Module
  • printer networks are provided in FIG. 1 and one host PC network is connected to each printer network via a router, this is merely an example.
  • the number of printer networks and the number of host PC networks to which each printer network can be connected can be set arbitrarily.
  • two or more routers may be provided as gateways.
  • printer 1 when describing matters common to the printers 1a and 1b, it will be referred to as “printer 1” as appropriate.
  • host PC 2 When describing matters common to the host PCs 2a and 2b, it will be referred to as “host PC 2" as appropriate.
  • host PC network HPN When the matters common to the host PC networks HPN1 and HPN2 are described, they are appropriately referred to as “host PC network HPN”.
  • printer network PN1 and PN2 When describing matters common to the printer networks PN1 and PN2, they will be referred to as “printer network PN" as appropriate.
  • FIG. 2 is a block diagram of the printer 1, the host PC 2, and the server 3 according to the present embodiment.
  • the printer 1 includes a control unit 11, a conveyance unit 12, a printing unit 13, a storage unit 14, a communication unit 15, an operation input unit 16, a display unit 17, and an audio output unit 18.
  • the communication unit 15 communicates with, for example, the host PC 2.
  • the printer 1 contains, for example, roll paper on which continuous paper is wound.
  • the continuous paper includes a mount and a plurality of labels temporarily attached on the mount.
  • the printer 1 may be a stationary printer or a portable printer.
  • the control unit 11 is mainly configured of a microprocessor and controls the entire printer 1.
  • the microprocessor included in the control unit 11 implements various functions by loading and executing the firmware recorded in the storage unit 14.
  • the control unit 11 generates print data, and controls the conveyance unit 12 and the printing unit 13 for printing based on the printing request received from the host PC 2.
  • the print request includes print information.
  • the storage unit 14 is a non-volatile memory, and may be, for example, a solid state drive (SSD) such as a flash memory.
  • SSD solid state drive
  • the storage unit 14 stores, in addition to the above-described firmware, data of various formats corresponding to printing information acquired from the host PC 2.
  • the conveyance unit 12 includes a platen roller (not shown), a motor drive circuit, and a stepping motor, and conveys continuous paper in the printer 1. For example, based on the conveyance request from the control unit 11, the motor drive circuit causes the continuous paper to be conveyed by driving a stepping motor that controls the rotation of the platen roller.
  • the control unit 11 When printing on the label based on the printing information, the control unit 11 reads data of a format corresponding to the printing information from the storage unit 14. The control unit 11 generates print data by embedding character information and / or a bar code included in the print information in the read data, and sequentially generates line data which is data for each line of the print data.
  • Send to The print unit 13 includes a thermal head and a head drive circuit (not shown).
  • the thermal head sandwiches the continuous sheet with the platen roller.
  • the head drive circuit causes the current to flow (generate heat) to each heating element of the thermal head based on the line data sequentially sent out by the control unit 11 or prevents the current from flowing (does not generate heat). I do.
  • the printer 1 is provided with, for example, a cutter. The cutter cuts the continuous paper in label units after printing the labels. In addition, you may comprise so that the printed label may be peeled from a mount.
  • the communication unit 15 includes a communication circuit for connecting to the mobile communication network MN, an antenna, and a slot into which a SIM card (not shown) can be inserted. That is, the SIM card can be attached to the printer 1 of the present embodiment.
  • the SIM card is an example of a user identification module that stores a user ID for managing use of the mobile communication network for each user.
  • Another example of the user identification module is a Universal Subscriber Identity Module (UIM) card.
  • the user ID is an example of user identification information, and is information that can specify a user, such as a telephone number or a subscriber number.
  • the communication unit 15 acquires the user ID recorded in the SIM card, and accesses the default gateway (first gateway).
  • the default gateway performs user authentication based on the user ID.
  • the communication unit 15 accesses the server 3 connected to the mobile communication network MN via the default gateway, and communicates with the accessed server 3.
  • the setting of the default gateway for accessing the mobile communication network MN is performed by software.
  • the control unit 11 and the host PC 2 connected to the host PC network HPN based on the user's input operation A static route for communication can be set.
  • the control unit 11 controls the communication with the server 3 via the default gateway and the communication with the host PC 2 by the static route to be independently performed.
  • the control unit 11 is a screen for setting a static route, for example, when a predetermined input operation from the user is received or a SIM card is inserted in the slot (that is, when the SIM card is connected).
  • the display unit 17 can be controlled so that is displayed.
  • Setting of static route is user input to the IP address of the network where the destination host PC 2 is included ("connection destination IP address" described later) and the IP address of the router set in the static gateway (an example of the second gateway) It is done on the basis of The setting information of the static route is recorded in the storage unit 14.
  • An IP address is an example of address information.
  • the communication unit 15 is another printer 1 in the printer network PN to which the printer 1 belongs, a communication circuit for performing Ethernet (registered trademark) communication with the router RT, and an Ethernet (registered trademark) cable It has a connector.
  • the communication unit 15 periodically transmits printer status information exemplified below to the server 3 in order to receive provision of a predetermined service from the server 3.
  • the transmission timing is not particularly limited, but, for example, is a predetermined timing (for example, an interval of 15 minutes) between 10 and 30 minutes.
  • [Example of printer status information] ⁇ Total travel distance of platen roller (rotational distance) -Number of cuts-Operating time of the printer-Number of labels issued
  • the communication unit 15 transmits error information to the host PC 2 and the server 3 when an error event occurs.
  • the error information includes, for example, information specifying at least one of the error types exemplified below.
  • ⁇ Ribbon error When the ink ribbon is not set, or when the ribbon is damaged.
  • Printer overheat When the temperature of the printer exceeds the allowable value.
  • Machine error When the board is defective.
  • Print head error Thermal If the head is not completely installed ⁇ Cutter error ⁇ If the paper jam in the cutter unit or the position of the cutter blade is wrong ⁇ Paper jam ⁇ If the label is wound around the platen roller, or the label is set correctly If not
  • the communication unit 15 transmits setting change information to the host PC 2 and the server 3 when an event of changing the setting of the printer 1 occurs.
  • the setting change information includes, for example, information specifying the change content of at least one of the settings exemplified below.
  • [Example of setting] ⁇ Conveying speed ⁇ Print density ⁇ Sensor type (for example, type of detecting whether position of label on continuous paper is detected by reflection type sensor or transmission type sensor)
  • the host PC 2 includes a control unit 21, a storage unit 22, a communication unit 23, an operation input unit 24, and a display unit 25.
  • the communication unit 23 communicates with the printer 1.
  • the control unit 21 is mainly configured of a microprocessor and controls the entire host PC 2.
  • the microprocessor included in the control unit 21 loads and executes the printer driver recorded in the storage unit 22.
  • the storage unit 22 is a non-volatile memory, and may be, for example, an SSD such as a flash memory.
  • the storage unit 22 stores various application programs in addition to the printer driver.
  • the control unit 21 reads out from the storage unit 22 an application program designated according to a predetermined operation input to the operation input unit 24 by the user, and executes the application program.
  • the display unit 25 includes, for example, a liquid crystal display panel having a touch input function, and displays the execution result of the application program.
  • the touch input function of the display unit 25 constitutes a part of the operation input unit 24.
  • the communication unit 23 communicates with the printer 1 under the control of the control unit 21. For example, when the control unit 21 receives a print instruction from the user via the operation input unit 24 while the application program is being executed, the communication unit 23 makes a print request to the printer 1 under the control of the control unit 21. Send.
  • the communication unit 23 includes another host PC 2 in the host PC network HPN to which the host PC 2 belongs, a communication circuit for performing Ethernet (registered trademark) communication with the router RT, and Ethernet (registered trademark) It has a cable connector.
  • the server 3 is configured to communicate with each of the printers 1 included in the printer networks PN1 and PN2 and to provide each printer 1 with a predetermined service.
  • the server 3 receives the above-described printer status information, error information, and setting change information from the printer 1, the server 3 provides services exemplified below.
  • [Example of service provision] Notifying the host PC or administrator PC (not shown) of the operating status and load status of each printer 1 ⁇ According to the usage status of each printer 1, a notification prompting replacement of consumable parts as needed , For the host PC or administrator PC ⁇ In response to an error of each printer 1, notify the administrator PC of an error
  • the server 3 includes a control unit 31, a storage unit 32, and a communication unit 33.
  • the communication unit 33 communicates with the printer 1.
  • the control unit 31 executes a management program, and executes various processes for realizing the provision of the service.
  • information that is the basis of the service is received from each printer 1 in the printer network.
  • Information on which the service is based includes printer status information, error information, and / or setting change information.
  • the printer 1 of the present embodiment is set such that the default gateway performs communication with the server 3 via the mobile communication network MN in a state where the SIM card is inserted. Ru. Therefore, the printer 1 is configured such that the user can set a static route so that communication can be performed with the host PC 2 even while communication is being performed via the mobile communication network MN.
  • FIG. 3 and FIG. 4 each show an example of a screen change of the display panel of the display unit 17 of the printer 1 according to the present embodiment.
  • the setting of the static route shown in FIGS. 3 and 4 is performed by the firmware of the printer 1 being executed.
  • the mode of the printer 1 is set to “real time” on the screen G1 of FIG. 3, this is a mode in the case of making a network connection with the server 3.
  • the display panel of the printer 1 is provided with an item “interface selection”, and it is displayed whether or not the SIM card is valid. If the SIM card is inserted in the slot, "SIM card valid” is displayed. If the SIM card is not inserted in the slot, "SIM card invalid” is displayed.
  • the user taps the display portion of “interface selection” after installing the SIM card in the slot.
  • the screen G2 triggered by the user tapping on the line where “interface selection” is displayed on the screen G1 (an example of the user performing a predetermined input operation), “connection destination” is displayed.
  • the items "IP address” and "static gateway” appear. That is, when recognizing the tap operation by the user, the control unit 11 of the printer 1 can control the display unit 17 so that a screen for setting the “destination IP address” and the “static gateway” is displayed. .
  • the printer 1 changes from “SIM card invalid” to “SIM card valid” automatically. It may be configured to switch the settings in a targeted manner.
  • connection destination IP address is the IP address of the host PC network HPN which is the destination of the data that the printer 1 transmits by the static route.
  • static gateway is an IP address of a printer network PN side port of a router which is a gateway when the printer 1 transmits to the host PC 2 by a static route.
  • a static route is specified by "destination IP address" and "static gateway".
  • the item “SIM card valid” shown on the screen G1 is triggered by the fact that the SIM card is inserted into the slot while the printer 1 is operating (that is, the SIM card is attached to the printer 1).
  • items of “destination IP address” and “static gateway” shown in G2 may be displayed.
  • the subsequent input procedure of “destination IP address” and “static gateway” is the same as the procedure in the case of recognizing the tap operation by the user.
  • FIGS. 5A and 5B are diagrams for explaining setting examples of static routes in the printer 1, respectively.
  • the example shown in FIG. 5A is an example in which the printer network PN1 and the host PC network HPN1 are connected via one router RT1.
  • setting of a static route for the printer 1 connected to the printer network PN1 to communicate with the host PC network HPN1 is assumed.
  • the network IP address of the printer network PN1 is “10.107.2.0”
  • the network IP address of the host PC network HPN1 to which the destination host PC2 is connected is “10.107.1.
  • it is 0 ".
  • the connection destination IP address and the static gateway to be input on the screen G3 (FIG. 3) and the screen G5 (FIG. 4) are as follows.
  • the static gateway is the IP address of the printer network PN1 side port of the router RT1.
  • the subnet mask may use a value already set on the host PC network HPN 1 side. in this case, Subnet mask: 255.255.255.0 It is set to.
  • the example shown in FIG. 5B is an example in which the printer network PN1 and the host PC network HPN1 are connected via two routers RT1 and RT2.
  • setting of a static route for the printer 1 connected to the printer network PN1 to communicate with the host PC network HPN1 is assumed.
  • the network IP address of the printer network PN1 is “10.107.3.0”
  • the network IP address of the host PC network HPN1 to which the destination host PC2 is connected is “10.107.1.
  • it is 0 ".
  • the connection destination IP address and the static gateway to be input on the screen G3 (FIG. 3) and the screen G5 (FIG. 4) are as follows.
  • the static gateway is the IP address of the printer network PN1 side port of the router RT1.
  • the subnet mask may use a value already set on the host PC network HPN 1 side. in this case, Subnet mask: 255.255.255.0 It is set to.
  • the same setting may be performed regardless of how many networks pass between the printer network PN1 and the host PC network HPN1. That is, in this case, the static gateway set by the printer 1 is the router RT1 which is a gateway of the printer network PN1 to which the printer 1 is connected, that is, the IP address of the printer network PN1 side port.
  • FIG. 6 is a flowchart of the gateway setting process executed in the printer 1 according to the present embodiment.
  • FIG. 7 is a flowchart of data transmission processing performed in the printer 1 according to the present embodiment. The processes shown in FIGS. 6 and 7 are processes performed by the control unit 11 of the printer 1 executing firmware.
  • the control unit 11 sets a default gateway for transmitting data (packets) from the communication unit 15 (step S10).
  • the control unit 11 sets the default gateway to be connected to the mobile communication network MN.
  • the control unit 11 sets a default gateway as a preset default gateway of the printer network PN.
  • the default gateway preset in the control unit 11 of the printer 1 is the IP address of the router RT1, that is, the port on the printer network PN1 side.
  • control unit 11 refers to the storage unit 14 to determine whether a static route is recorded (step S12). If the static route has been recorded (step S12: YES), the static route is set (step S18), and the processing of this flowchart is ended. If no static route is recorded, the process waits until a static route is input (step S14: NO). Then, when the user inputs a static route as shown in the screens G2 to G5 in FIG. 3 and FIG. 4 (step S14: YES), the control unit 11 selects the input static route, that is, The connection IP address and the static gateway are recorded in the storage unit 14 (step S16), and a static route is set based on the input connection IP address and the static gateway (step S18).
  • the control unit 11 of the printer 1 changes the communication route based on the data transmission destination (destination).
  • the control unit 11 causes the communication unit 15 to transmit data by the default gateway.
  • the control unit 11 controls the communication unit 15 so that the data is transmitted by the static route set in step S18 of FIG. 6 (step S26).
  • the printer 1 of the communication system 100 of the present embodiment sets the default gateway to perform communication with the server 3 via the mobile communication network MN, and the host It is set to perform communication by static route with PC2. And communication by a static route and communication by a default gateway are controlled to be performed independently, respectively.
  • FIG. 8A and FIG. 8B the example in case the communication by a static route and the communication by a default gateway are performed simultaneously is demonstrated.
  • the example shown in FIG. 8A shows the case where the communication unit 15 of the printer 1 transmits the print status to the host PC 2 by the static route and simultaneously transmits the printer status information to the server 3 via the default gateway.
  • the printer 1 is programmed to transmit printer status information to the server 3 at predetermined time intervals.
  • the print request transmitted from the host PC 2 to the printer 1 is made at an arbitrary time based on the instruction of the user of the host PC 2, and the printer 1 transmits a print status in response to the print request. Therefore, depending on the reception timing of the print request from the host PC 2, the transmission timing of the print status to the host PC 2 and the transmission timing of the printer status information to the server 3 may be simultaneous.
  • the print status is, for example, information indicating a state in which the printer 1 is in response to a print request such as printing or label peeling, and is an example of print related information.
  • the communication unit 15 of the printer 1 transmits error information and / or setting change information to the host PC 2 by static route, and transmits it to the server 3 via the default gateway. Is shown.
  • the error information and / or the setting change information are as described above.
  • the communication unit 15 of the printer 1 changes the error information and / or the setting as the event information on the event Information is simultaneously transmitted to the host PC 2 and the server 3. That is, there may be a case where the transmission timing of the event information to the host PC 2 and the transmission timing of the event information to the server 3 become simultaneous.
  • the static route can be set at a desired timing separately from the default gateway, and communication by the default gateway and communication by the static route can be executed independently. Therefore, as illustrated in FIG. 8A and FIG. 8B, even when the default gateway is occupied to communicate with the mobile communication network MN, data is sent to the host PC 2 by static route. Can.
  • the printer may be able to select a static route to be used for data transmission to the host PC from among the plurality of static routes set according to the congestion degree of each router.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

ある態様のプリンタは、第1および第2のゲートウェイに基づいて通信を行う通信部と、移動体通信ネットワークに接続された第1の装置と通信を行う場合には、第1のゲートウェイを介して行い、LANに接続された第2の装置と通信を行う場合は、第2のゲートウェイを介して行うように、通信部を制御する制御部と、を備え、制御部は、第1の装置との通信と、第2の装置との通信とを、それぞれ独立に実行させるように制御する。

Description

プリンタ、プログラム、および通信システム
 本発明は、プリンタ、プリンタの通信を制御するためのプログラム、およびプリンタを含む通信システムに関する。
 従来、ネットワーク上の回線若しくは装置における障害を検出して通信ルートの切り替えを行うようにする技術が知られている(例えば、特開2009-182526号公報を参照)。
 ところで、移動体通信ネットワークを利用するためのユーザIDを記憶するユーザ識別モジュール(例えば、SIM(Subscriber Identification Module)カード)をプリンタに設置し、プリンタと外部のサーバとの間で定常的に通信を行う場合がある。この場合、プリンタのデフォルトゲートウェイが移動体通信ネットワークを利用するように設定される。そのため、プリンタは、自身が属するネットワークを越えた外部のネットワークに接続される別の装置との間の通信を、上記外部のサーバとの通信と同時に行うことができないという問題が生ずる。
 そこで、本発明は、プリンタにおいて、移動体通信ネットワークを介した外部の装置との通信と、外部のLANに接続される装置との通信とを同時に行うことを可能とすることを目的とする。
 本発明のある態様は、第1および第2のゲートウェイに基づいて通信を行う通信部と、移動体通信ネットワークに接続された第1の装置と通信を行う場合には、前記第1のゲートウェイを介して行い、LAN(Local Area Network)に接続された第2の装置と通信を行う場合は、前記第2のゲートウェイを介して行うように、前記通信部を制御する制御部と、を備え、前記制御部は、前記第1の装置との通信と、前記第2の装置との通信とを、それぞれ独立に実行させるように制御する、プリンタである。
 本発明のある態様によれば、プリンタにおいて、移動体通信ネットワークを介した外部の装置と、外部のLANに接続される装置との通信とを同時に行うことが可能となる。
実施形態に係る通信システムの構成の一例を示す図である。 実施形態に係るプリンタ、ホストPC、および、サーバのブロック図である。 実施形態に係るプリンタの表示パネルの画面変化の一例を示す図である。 実施形態に係るプリンタの表示パネルの画面変化の一例を示す図である。 図5Aおよび図5Bはそれぞれ、プリンタにおけるスタティックルートの設定例について説明する図である。 実施形態に係るプリンタにおいて実行されるゲートウェイ設定処理のフローチャートである。 実施形態に係るプリンタにおいて実行されるデータ送信処理のフローチャートである。 図8Aおよび図8Bはそれぞれ、プリンタがデフォルトゲートウェイとスタティックルートを使用して独立して通信を行う場合の例を説明する図である。
 本発明は、2017年7月31日に日本国特許庁に出願された特願2017-147865の特許出願に関連しており、この出願のすべての内容がこの明細書に参照によって組み込まれる。
 本開示において「LAN(Local Area Network)」は、ネットワークアドレスにより一意に定まるネットワーク(サブネットワーク)であれば如何なる大きさのネットワークでもよい。LANは、有線ネットワークであってもよいし、無線ネットワークであってもよい。無線ネットワークの場合、例えば、IEEE802a/b/g/j/n/ac/ad等の規格に準拠する。
 本開示において「第1および第2のゲートウェイ」とは、プリンタが、自身が接続されているLANを越えて他の装置と通信を行うときに、通信を中継するノードである。また、「第1および第2のゲートウェイ」は、ルータ、サーバ等の物理的装置により実現してもよいし、ソフトウェアにより実現してもよい。
 本開示において「移動体通信ネットワーク」は、特にその仕様を限定するものではなく、移動体通信の通信事業者によって運用されている、又は運用予定の無線通信システムに準拠したものであれば特に限定されない。そのような無線通信システムの例としては、一般的に3Gと呼称されているIMT-2000規格に準拠した無線通信システム、一般的に4Gと呼称されているIMT-Advanced規格に準拠する無線通信システム、一般的に5Gと呼称され、3GPP(Third Generation Partnership Project)で規格策定が進められている無線通信システム等が挙げられる。
 本開示において「第1の装置」は、移動体通信ネットワークに接続された装置であれば如何なる装置でもよく、例えば、コンピュータ装置、サーバ等の移動体通信ネットワークにアクセス可能な装置である。本開示において「第2の装置」は、LANに接続された装置であれば如何なる装置でもよく、例えば、コンピュータ装置、スマートフォン、タブレット型端末等が挙げられる。
 (1)通信システムの構成
 先ず本実施形態の通信システム100の構成について図1を参照して説明する。図1は、本実施形態に係る通信システム100の構成の一例を示す図である。
 図1において、プリンタ1aはプリンタネットワークPN1に含まれ、プリンタ1bはプリンタネットワークPN2に含まれ、ホストPC2aはホストPCネットワークHPN1に含まれ、ホストPC2bはホストPCネットワークHPN2に含まれる。プリンタネットワークPN1のゲートウェイとしてルータRT1が設けられ、プリンタネットワークPN2のゲートウェイとしてルータRT2が設けられている。ルータは通信機器の一例である。
 ホストPC(Personal Computer)は、第2の装置の一例である。ホストPCネットワークは、有線LANでもよいし無線LANでもよい。
 プリンタ1a,1bおよびサーバ3は、それぞれ移動体通信ネットワークMNを利用可能である。サーバ3は、第1の装置の一例である。
 プリンタ1a,1bおよびサーバ3のそれぞれは、電気通信事業者が提供する移動体通信サービスを利用するためにSIM(Subscriber Identity Module)カードを装着可能に構成されている。
 図1では、2つのプリンタネットワークが設けられ、各プリンタネットワークに1つのホストPCネットワークがルータを介して接続されている構成としているが、これは一例に過ぎない。プリンタネットワークの数、各プリンタネットワークが接続可能なホストPCネットワークの数は任意に設定可能である。また、各プリンタネットワークには、2以上のルータがゲートウェイとして設けられていてもよい。
 なお、以下の説明では、プリンタ1a,1bに対して共通する事項を述べるときには、適宜「プリンタ1」という。ホストPC2a,2bに対して共通する事項を述べるときには、適宜「ホストPC2」という。ホストPCネットワークHPN1,HPN2に対して共通する事項を述べるときには、適宜「ホストPCネットワークHPN」という。プリンタネットワークPN1,PN2に対して共通する事項を述べるときには、適宜「プリンタネットワークPN」という。
 (2)通信システム100に含まれる各装置の構成
 次に、図2を参照して、図1に示した通信システム100に含まれる各装置の構成について説明する。図2は、本実施形態に係るプリンタ1、ホストPC2、および、サーバ3のブロック図である。
 (2-1)プリンタ1
 図2に示すように、プリンタ1は、制御部11、搬送部12、印字部13、記憶部14、通信部15、操作入力部16、表示部17、および、音声出力部18を備える。通信部15は、例えば、ホストPC2との間で通信を行う。プリンタ1には、例えば、連続紙が巻回されたロール紙が収容されている。連続紙は、台紙と、台紙上に仮着された複数のラベルとを含む。
 プリンタ1は、据置き型プリンタであってもよいし、携帯型プリンタであってもよい。
 制御部11は、マイクロプロセッサを主体として構成され、プリンタ1の全体を制御する。例えば、制御部11に含まれるマイクロプロセッサは、記憶部14に記録されているファームウェアをロードして実行することで、様々な機能を実現する。例えば、制御部11は、ホストPC2から受信した印字要求に基づいて印字データの生成、印字のための搬送部12および印字部13に対する制御等を行う。印字要求には、印字用情報が含まれる。
 記憶部14は、不揮発性のメモリであり、例えばフラッシュメモリ等のSSD(Solid State Drive)であってもよい。記憶部14には、上述したファームウェアのほか、ホストPC2から取得する印字用情報に対応する様々なフォーマットのデータが記録されている。
 搬送部12は、図示しないプラテンローラ、モータ駆動回路、および、ステッピングモータを含み、プリンタ1内の連続紙の搬送を行う。例えば、制御部11による搬送要求に基づき、モータ駆動回路が、プラテンローラの回転を制御するステッピングモータを駆動することによって、連続紙を搬送させる。
 制御部11は、印字用情報に基づきラベルに印字する場合、印字用情報に対応するフォーマットのデータを記憶部14から読み出す。制御部11は、読み出したデータに、印字用情報に含まれる文字情報および/またはバーコードを埋め込むことにより印字データを生成し、印字データのライン毎のデータであるラインデータを順次、印字部13へ送出する。
 印字部13は、図示しないサーマルヘッドおよびヘッド駆動回路を含む。サーマルヘッドは上記プラテンローラとの間で連続紙を挟む。ヘッド駆動回路は、制御部11によって順次送出されるラインデータに基づき、サーマルヘッドの各発熱素子に電流を流す(発熱させる)、あるいは流さないようにする(発熱させないようにする)ことで、印字を行う。
 図示しないが、プリンタ1には、例えばカッタが設けられている。カッタは、ラベルの印字後にラベル単位で連続紙を切断する。なお、印字されたラベルが台紙から剥離されるように構成してもよい。
 通信部15は、移動体通信ネットワークMNと接続するための通信回路と、アンテナと、図示しないSIMカードが挿入可能なスロットとを備えている。つまり、本実施形態のプリンタ1には、SIMカードが装着可能である。
 SIMカードは、ユーザごとに移動体通信ネットワークの利用を管理するためのユーザIDを記憶するユーザ識別モジュールの一例である。ユーザ識別モジュールの他の例として、UIM(Universal Subscriber Identity Module)カードが挙げられる。ユーザIDは、ユーザ識別情報の例であり、例えば電話番号、加入者番号等、ユーザを特定可能な情報である。
 通信部15は、SIMカードがスロットに挿入されている場合には、SIMカードに記録されているユーザIDを取得し、デフォルトゲートウェイ(第1のゲートウェイ)にアクセスする。デフォルトゲートウェイは、ユーザIDに基づいてユーザ認証を行う。ユーザの利用が許可された場合、通信部15は、デフォルトゲートウェイを介して移動体通信ネットワークMNに接続されたサーバ3にアクセスし、アクセスしたサーバ3と通信を行う。本実施形態の例では、移動体通信ネットワークMNにアクセスするためのデフォルトゲートウェイの設定は、ソフトウェアにより行われる。
 また、後述するが、制御部11は、デフォルトゲートウェイが移動体通信ネットワークMNにアクセスするように設定されている場合に、ユーザの入力操作に基づいてホストPCネットワークHPNに接続されているホストPC2と通信を行うためのスタティックルートが設定可能である。制御部11は、スタティックルートが設定された場合、デフォルトゲートウェイを介したサーバ3との通信と、スタティックルートによるホストPC2との通信とが、それぞれ独立に実行されるように制御する。
 制御部11は、例えばユーザからの所定の入力操作が受け付けられたこと、あるいはSIMカードがスロットに挿入されたことをトリガーとして(つまり、SIMカードが接続された場合)、スタティックルートを設定する画面が表示されるように表示部17を制御することができる。スタティックルートの設定は、宛先のホストPC2が含まれるネットワークのIPアドレス(後述する「接続先IPアドレス」)と、スタティックゲートウェイ(第2のゲートウェイの一例)に設定するルータのIPアドレスとに対するユーザ入力に基づいて行われる。スタティックルートの設定情報は、記憶部14に記録される。
 IPアドレスはアドレス情報の一例である。
 通信部15は、プリンタ1が属しているプリンタネットワークPN内の他のプリンタ1、および、ルータRTとの間でイーサネット(登録商標)通信を行うための通信回路、および、イーサネット(登録商標)ケーブルコネクタを備える。
 通信部15は、サーバ3による所定のサービスの提供を受けるために、以下に例示するプリンタ状態情報をサーバ3へ定期的に送信する。送信タイミングは特に限定するものではないが、例えば、10~30分の間の所定のタイミング(例えば、15分間隔)とする。
 [プリンタ状態情報の例]
 ・プラテンローラの総走行距離(回転距離)
 ・カット回数
 ・プリンタの稼動時間
 ・ラベル発行枚数
 通信部15は、エラーのイベントが発生した場合、エラー情報をホストPC2およびサーバ3へ送信する。エラー情報は、例えば以下に例示するエラー種別の少なくともいずれかを特定する情報が含まれる。
 [エラー種別の例]
 ・リボンエラー…インクリボンがセットされていない場合、又はリボンが破損している場合
 ・プリンタオーバーヒート…プリンタの温度が許容値を超えた場合
 ・マシンエラー…基板が不良の場合
 ・印字ヘッドエラー…サーマルヘッドが完全に取り付けられていない場合
 ・カッタエラー…カッタユニット内での紙詰まりやカッタ刃の位置が不良の場合
 ・ペーパージャム…ラベルがプラテンローラに巻きついている場合、あるいはラベルが正しくセットされていない場合
 通信部15は、プリンタ1の設定の変更のイベントが発生した場合、設定変更情報をホストPC2およびサーバ3へ送信する。設定変更情報は、例えば以下に例示する設定の少なくともいずれかの変更内容を特定する情報が含まれる。
 [設定の例]
 ・搬送速度
 ・印字濃度
 ・センサ種別(例えば、連続紙におけるラベルの位置を反射型センサで検知するか、透過型センサで検知するかの種別)
 (2-2)ホストPC2
 図2に示すように、ホストPC2は、制御部21、記憶部22、通信部23、操作入力部24、および、表示部25を備える。通信部23は、プリンタ1との間で通信を行う。
 制御部21は、マイクロプロセッサを主体として構成され、ホストPC2の全体を制御する。例えば、制御部21に含まれるマイクロプロセッサは、記憶部22に記録されているプリンタドライバをロードして実行する。
 記憶部22は、不揮発性のメモリであり、例えばフラッシュメモリ等のSSDであってもよい。記憶部22は、プリンタドライバのほか、様々なアプリケーションプログラムを記憶する。制御部21は、ユーザの操作入力部24に対する所定の操作入力に応じて指定されるアプリケーションプログラムを、記憶部22から読み出して実行する。
 表示部25は、例えばタッチ入力機能を備えた液晶表示パネルを含み、上記アプリケーションプログラムの実行結果を表示する。この場合、表示部25のタッチ入力機能は、操作入力部24の一部を構成する。
 通信部23は、制御部21による制御の下、プリンタ1との通信を行う。例えば、制御部21が、アプリケーションプログラムを実行中に操作入力部24を介してユーザからの印字指示を受け付けた場合、通信部23は制御部21による制御の下、プリンタ1に対して印字要求を送信する。
 通信部23は、ホストPC2が属しているホストPCネットワークHPN内の他のホストPC2、および、ルータRTとの間でイーサネット(登録商標)通信を行うための通信回路、および、イーサネット(登録商標)ケーブルコネクタを備える。
 (2-3)サーバ3
 サーバ3は、プリンタネットワークPN1,PN2に含まれる各プリンタ1との間で通信を行い、各プリンタ1に対して所定のサービスを提供するように構成されている。サーバ3は、上述したプリンタ状態情報、エラー情報、および、設定変更情報をプリンタ1から受信すると、以下に例示するサービスを提供する。
 [サービスの提供例]
 ・各プリンタ1の稼動状況、負荷状況を、ホストPCあるいは管理者PC(図示せず)へ通知すること
 ・各プリンタ1の使用状況に応じて、必要に応じて消耗部品の交換を促す通知を、ホストPCあるいは管理者PCに対して行うこと
 ・各プリンタ1のエラーに対して、管理者PCに対してエラー通知を行うこと
 図2に示すように、サーバ3は、制御部31、記憶部32、および、通信部33を備える。通信部33は、プリンタ1との間で通信を行う。サーバ3では、制御部31が管理プログラムを実行し、上記サービスの提供を実現するための各種処理を実行する。サービスの提供に当たっては、サービスの基礎となる情報をプリンタネットワーク内の各プリンタ1から受信する。サービスの基礎となる情報は、プリンタ状態情報、エラー情報、および、設定変更情報の少なくともいずれかの情報を含む。
 (3)プリンタにおけるスタティックルートの設定方法
 本実施形態のプリンタ1は、SIMカードが挿入された状態ではデフォルトゲートウェイが移動体通信ネットワークMNを介した通信をサーバ3との間で行うように設定される。そこで、移動体通信ネットワークMNを介した通信を行っている間であってもホストPC2との間で通信できるように、プリンタ1は、ユーザがスタティックルートを設定できるように構成される。
 プリンタ1におけるスタティックルートの設定方法について、図3および図4を参照して説明する。図3および図4はそれぞれ、本実施形態に係るプリンタ1の表示部17の表示パネルの画面変化の一例を示す図である。
 図3および図4に示すスタティックルートの設定は、プリンタ1のファームウェアが実行されることによって行われる。
 図3の画面G1において、プリンタ1のモードが「リアルタイム」に設定されているが、これは、サーバ3との間でネットワーク接続する場合のモードである。
 図3の画面G1に示すように、プリンタ1の表示パネルには、「インタフェース選択」という項目が設けられ、SIMカードが有効であるか否かについて表示される。SIMカードがスロットに挿入されている場合には「SIMカード有効」と表示され、SIMカードがスロットに挿入されていない場合には「SIMカード無効」と表示される。
 本実施形態の一例では、「インタフェース選択」の項目の表示が「SIMカード無効」に設定されている場合、ユーザは、SIMカードをスロットに装着した後に、「インタフェース選択」の表示部分をタップする入力操作に応じて、「SIMカード有効」の表示設定に切り替える。その後、画面G1において「インタフェース選択」が表示されている行をユーザがタップしたこと(ユーザによる所定の入力操作が行われたことの一例)をトリガーとして、画面G2に示すように、「接続先IPアドレス」と「スタティックゲートウェイ」という項目が現れる。つまり、プリンタ1の制御部11は、ユーザによる上記タップ操作を認識した場合、「接続先IPアドレス」と「スタティックゲートウェイ」を設定する画面が表示されるように表示部17を制御することができる。こうすることで、ユーザは直ちにスタティックルートの設定を開始することができるようになる。
 なお、「インタフェース選択」の項目の表示が「SIMカード無効」に設定されている状態で、SIMカードがスロットに装着された場合、プリンタ1が「SIMカード無効」から「SIMカード有効」に自動的に設定を切り替えるように構成してもよい。
 ここで、「接続先IPアドレス」は、プリンタ1がスタティックルートで送信するデータの宛先のホストPCネットワークHPNのIPアドレスである。「スタティックゲートウェイ」は、プリンタ1がスタティックルートでホストPC2へ送信するときのゲートウェイであるルータのプリンタネットワークPN側ポートのIPアドレスである。「接続先IPアドレス」と「スタティックゲートウェイ」によりスタティックルートが特定される。
 「接続先IPアドレス」を設定する場合、画面G2の「接続先IPアドレス」をタップ操作すると、画面G3に示すように、接続先IPアドレスの10進数の値を1桁ずつ入力あるいは変更するための画面が表示される。ユーザが接続先IPアドレスを入力して「OK」をタップすることで、接続先IPアドレスが設定される。
 画面G3において「OK」がタップされると、画面G4が表示される。画面G4は画面G2と同じ表示内容の画面である。画面G4において「、スタティックゲートウェイ」をタップ操作すると、画面G4に示すように、スタティックゲートウェイのIPアドレスの10進数の値を1桁ずつ入力あるいは変更するための画面が表示される。ユーザがスタティックゲートウェイのIPアドレスを入力して「OK」をタップすることで、スタティックゲートウェイが設定される。
 なお、変形例として、プリンタ1が稼動中にSIMカードがスロットに挿入されたこと(つまり、プリンタ1にSIMカードが装着されたこと)をトリガーとして、画面G1に示す「SIMカード有効」の項目や、G2に示す「接続先IPアドレス」と「スタティックゲートウェイ」という項目が表示されるようにしてもよい。その後の「接続先IPアドレス」と「スタティックゲートウェイ」の入力手順は、ユーザによる上記タップ操作を認識した場合の手順と同じである。
 次いで、図5Aおよび図5Bを参照して、スタティックルートの設定例について説明する。図5Aおよび図5Bはそれぞれ、プリンタ1におけるスタティックルートの設定例について説明する図である。
 図5Aに示した例では、プリンタネットワークPN1とホストPCネットワークHPN1が1つのルータRT1を介して接続されている場合の例である。
 図5Aに示す例において、プリンタネットワークPN1に接続されているプリンタ1がホストPCネットワークHPN1と通信を行うためのスタティックルートの設定が想定される。ここで、例えば、プリンタネットワークPN1のネットワークIPアドレスが「10.107.2.0」であり、宛先のホストPC2が接続されているホストPCネットワークHPN1のネットワークIPアドレスが「10.107.1.0」であるとする。このとき、画面G3(図3)および画面G5(図4)において入力すべき接続先IPアドレスおよびスタティックゲートウェイは、次のとおりである。
 ・接続先IPアドレス:10.107.1.0
 ・スタティックゲートウェイ:10.107.2.1
 ここで、スタティックゲートウェイは、ルータRT1のプリンタネットワークPN1側ポートのIPアドレスである。
 なお、サブネットマスクは、ホストPCネットワークHPN1側で既に設定されている値を使用すればよい。この場合、
 ・サブネットマスク:255.255.255.0
に設定されている。
 図5Bに示した例では、プリンタネットワークPN1とホストPCネットワークHPN1が2つのルータRT1,RT2を介して接続されている場合の例である。
 図5Bに示す例において、プリンタネットワークPN1に接続されているプリンタ1がホストPCネットワークHPN1と通信を行うためのスタティックルートの設定が想定される。ここで、例えば、プリンタネットワークPN1のネットワークIPアドレスが「10.107.3.0」であり、宛先のホストPC2が接続されているホストPCネットワークHPN1のネットワークIPアドレスが「10.107.1.0」であるとする。このとき、画面G3(図3)および画面G5(図4)において入力すべき接続先IPアドレスおよびスタティックゲートウェイは、次のとおりである。
 ・接続先IPアドレス:10.107.1.0
 ・スタティックゲートウェイ:10.107.3.2
 ここで、スタティックゲートウェイは、ルータRT1のプリンタネットワークPN1側ポートのIPアドレスである。
 なお、サブネットマスクは、ホストPCネットワークHPN1側で既に設定されている値を使用すればよい。この場合、
 ・サブネットマスク:255.255.255.0
に設定されている。
 プリンタネットワークPN1とホストPCネットワークHPN1の間で経由するネットワークがいくつある場合であっても、同様の設定を行えばよい。すなわち、その場合にプリンタ1で設定するスタティックゲートウェイは、プリンタ1が接続されているプリンタネットワークPN1のゲートウェイであるルータRT1、つまりプリンタネットワークPN1側ポートのIPアドレスとする。
 (4)プリンタ1における通信制御
 次に、本実施形態に係るプリンタ1において行われる通信制御について、図6および図7を参照して説明する。
 図6は、本実施形態に係るプリンタ1において実行されるゲートウェイ設定処理のフローチャートである。図7は、本実施形態に係るプリンタ1において実行されるデータ送信処理のフローチャートである。図6および図7の処理は、プリンタ1の制御部11がファームウェアを実行することで行われる処理である。
 図6において、プリンタ1が起動すると制御部11は、通信部15からデータ(パケット)の送信を行うためのデフォルトゲートウェイを設定する(ステップS10)。ここで、制御部11は、SIMカードがスロットに挿入されていると判断した場合には、デフォルトゲートウェイを移動体通信ネットワークMNに接続されるように設定する。制御部11は、SIMカードがスロットに挿入されていないと判断した場合には、デフォルトゲートウェイを、予め設定されているプリンタネットワークPNのデフォルトゲートウェイに設定する。例えば、図5Aにおいて、プリンタネットワークPN1接続されているプリンタ1の場合、当該プリンタ1の制御部11に予め設定されているデフォルトゲートウェイはルータRT1、つまりプリンタネットワークPN1側ポートのIPアドレスである。
 次いで制御部11は、記憶部14を参照してスタティックルートが記録されているか否か判定する(ステップS12)。スタティックルートが記録済みである場合には(ステップS12:YES)、当該スタティックルートを設定して(ステップS18)、本フローチャートの処理を終了する。スタティックルートが記録されていない場合には、スタティックルートが入力されるまで待機する(ステップS14:NO)。そして、図3および図4の画面G2~G5に示したようにしてユーザがスタティックルートの入力を行った場合には(ステップS14:YES)、制御部11は、入力されたスタティックルート、すなわち、接続IPアドレスとスタティックゲートウェイを記憶部14に記録するとともに(ステップS16)、入力された接続IPアドレスとスタティックゲートウェイに基づいてスタティックルートを設定する(ステップS18)。
 プリンタ1がデータ(パケット)を送信する場合、プリンタ1の制御部11は、データの送信先(宛先)に基づいて通信ルートを変更する。
 図7に示すように、制御部11は、送信データがあり(ステップS20:YES)、かつ当該データの宛先がサーバ3である場合には、デフォルトゲートウェイによりデータが送信されるように通信部15を制御する(ステップS24)。ここで、SIMカードが挿入されていない場合には、デフォルトゲートウェイが、プリンタ1が接続されているプリンタネットワークPNのゲートウェイであるルータのIPアドレスに設定されるため、サーバ3へデータを送信することはできない。
 他方、送信データの宛先がホストPCである場合には、制御部11は、図6のステップS18において設定されたスタティックルートによりデータが送信されるように通信部15を制御する(ステップS26)。
 (5)データの送信例
 上述したように、本実施形態の通信システム100のプリンタ1は、サーバ3との間で移動体通信ネットワークMNを経由した通信を行うようにデフォルトゲートウェイを設定し、ホストPC2との間でスタティックルートによる通信を行うように設定する。そして、スタティックルートによる通信と、デフォルトゲートウェイによる通信とは、それぞれ独立して実行するように制御される。
 以下では、図8Aおよび図8Bを参照して、スタティックルートによる通信と、デフォルトゲートウェイによる通信と、が同時に実行される場合の例について説明する。
 図8Aに示す例では、プリンタ1の通信部15が、ホストPC2に対してスタティックルートにより印字ステータスを送信すると同時に、サーバ3に対してデフォルトゲートウェイを介してプリンタ状態情報を送信する場合を示している。
 前述したように、プリンタ1は、サーバ3に対してプリンタ状態情報を所定の時間毎に送信するようにプログラムされている。他方、ホストPC2からプリンタ1へ送信される印字要求は、ホストPC2のユーザの指示に基づき任意の時刻に行なわれ、プリンタ1は、当該印字要求に応じて印字ステータスの送信を行う。そのため、ホストPC2からの印字要求の受信タイミング次第では、ホストPC2に対する印字ステータスの送信タイミングと、サーバ3に対するプリンタ状態情報の送信タイミングとが同時となる場合が生じうる。
 印字ステータスは、例えば、印字中あるいはラベル剥離中等、印字要求に対してプリンタ1が行っている状態を示す情報であり、印字関連情報の一例である。
 図8Bに示す例では、プリンタ1の通信部15が、エラー情報および/または設定変更情報を、ホストPC2に対してスタティックルートにより送信し、サーバ3に対してはデフォルトゲートウェイを介して送信する場合を示している。エラー情報および/または設定変更情報については、既に例示したとおりである。
 プリンタ1において、プリンタ1の設定の変更、および、プリンタ1のエラーの少なくともいずれかのイベントが生じた場合、プリンタ1の通信部15は、当該イベントに関するイベント情報として、エラー情報および/または設定変更情報を、ホストPC2とサーバ3に同時に送信する。すなわち、ホストPC2に対するイベント情報の送信タイミングと、サーバ3に対するイベント情報の送信タイミングとが同時となる場合が生ずる。
 従来、プリンタにはデフォルトゲートウェイが1つ設定されており、回線若しくは装置における障害が発生した場合を除き、スタティックルートを設定することは想定されていなかった。それに対して本実施形態に係るプリンタ1では、デフォルトゲートウェイとは別にスタティックルートを所望のタイミングで設定可能とし、デフォルトゲートウェイによる通信と、スタティックルートによる通信とをそれぞれ独立に実行できるようにした。そのため、図8Aおよび図8Bに例示したように、デフォルトゲートウェイが移動体通信ネットワークMNとの通信を行うように占有されている場合であっても、スタティックルートによりホストPC2宛にデータを送信することができる。
 以上、本発明のプリンタ、プログラム、通信システムの一実施形態について詳細に説明したが、本発明は上記の実施形態に限定されない。また、上記の実施形態は、本発明の主旨を逸脱しない範囲において、種々の改良や変更が可能である。
 例えば、上述した実施形態では、プリンタネットワークに接続されたホストPCとの通信を行うためのスタティックルート(つまり、スタティックゲートウェイ)を1つ設定する場合について説明したが、その限りではない。プリンタにスタティックルートを複数設定してもよい。例えば、ルータが収容可能なプリンタの台数が限られている場合、単一のプリンタネットワークに対するゲートウェイとしてのルータを複数設け、複数のスタティックルートを設定してもよい。その場合、各ルータの輻輳度合に応じて、複数設定されたスタティックルートの中からホストPC宛のデータ送信に使用するスタティックルートをプリンタ側で選択できるようにしてもよい。
 100…通信システム
 1(1a,1b)…プリンタ
 11…制御部
 12…搬送部
 13…印字部
 14…記憶部
 15…通信部
 16…操作入力部
 17…表示部
 18…音声出力部
 2(2a,2b)…ホストPC
 21…制御部
 22…記憶部
 23…通信部
 24…操作入力部
 25…表示部
 3…サーバ
 31…制御部
 32…記憶部
 33…通信部
 HPN(HPN1,HPN2)…ホストPCネットワーク
 PN(PN1,PN2)…プリンタネットワーク
 RT(RT1,RT2)…ルータ
 MN…移動体通信ネットワーク

Claims (9)

  1.  第1および第2のゲートウェイに基づいて通信を行う通信部と、
     移動体通信ネットワークに接続された第1の装置と通信を行う場合には、前記第1のゲートウェイを介して行い、LAN(Local Area Network)に接続された第2の装置と通信を行う場合は、前記第2のゲートウェイを介して行うように、前記通信部を制御する制御部と、
     を備え、
     前記制御部は、前記第1の装置との通信と、前記第2の装置との通信とを、それぞれ独立に実行させるように制御する、
     プリンタ。
  2.  前記通信部は、前記第2の装置からの印字要求に応じた印字関連情報を、前記第2の装置へ送信し、かつ前記プリンタの状態情報を所定のタイミングで前記第1の装置へ送信する、
     請求項1に記載されたプリンタ。
  3.  前記通信部は、前記プリンタの設定の変更、および、前記プリンタのエラーの少なくともいずれかのイベントが生じた場合、当該イベントに関するイベント情報を、前記第1の装置へ送信し、かつ前記第2の装置へ送信する、
     請求項1又は2に記載されたプリンタ。
  4.  前記制御部は、ユーザの入力操作に基づいて前記第2のゲートウェイのアドレス情報を取得し、当該取得したアドレス情報に基づいて、前記第2のゲートウェイを設定する、
     請求項1~3のいずれかに記載されたプリンタ。
  5.  前記プリンタに着脱可能であって、ユーザごとに前記移動体通信ネットワークの利用を管理するためのユーザ識別情報を記憶するユーザ識別モジュールを更に備え、
     前記通信部は、前記ユーザ識別モジュールが前記プリンタに装着されている場合に、前記ユーザ識別モジュールに記憶された前記ユーザ識別情報を参照して前記移動体通信ネットワークにアクセスする、
     請求項1~4のいずれかに記載されたプリンタ。
  6.  前記制御部は、ユーザからの所定の入力操作が受け付けられたこと、又は前記ユーザ識別モジュールが前記プリンタに装着されたことをトリガーとして、前記第2のゲートウェイのアドレス情報を設定する画面が表示部に表示されるように制御する、
     請求項5に記載されたプリンタ。
  7.  前記通信部には、前記LANに接続された第2の装置と通信を行うための前記第2のゲートウェイが複数設定されている、
     請求項1~6のいずれかに記載されたプリンタ。
  8.  プリンタの通信を制御するためのプログラムであって、
     コンピュータに、
     第1のゲートウェイを設定する手段、
     ユーザの入力操作に基づいて、アドレス情報を取得する手段、
     当該取得したアドレス情報に基づいて、第2のゲートウェイを設定する手段、および、
     移動体通信ネットワークに接続された第1の装置と通信を行う場合には、前記第1のゲートウェイを介して行い、LAN(Local Area Network)に接続された第2の装置と通信を行う場合は、前記第2のゲートウェイを介して行うように制御する制御手段、
     として機能させ、
     前記制御手段は、前記第1の装置との通信と、前記第2の装置との通信とを、それぞれ独立に実行させるように制御する、
     プログラム。
  9.  移動体通信ネットワークに接続された第1の装置と、
     LAN(Local Area Network)に接続された第2の装置と、
     前記第1の装置および前記第2の装置の少なくともいずれかと通信を行うプリンタと、
     を含む通信システムであって、
     前記プリンタは、
     第1および第2のゲートウェイに基づいて通信を行う通信部と、
     前記第1の装置と通信を行う場合には、前記第1のゲートウェイを介して行い、前記第2の装置と通信を行う場合は、前記第2のゲートウェイを介して行うように、前記通信部を制御する制御部と、を備え、
     前記制御部は、前記第1の装置との通信と、前記第2の装置との通信とを、それぞれ独立に実行させるように制御する、
     通信システム。
PCT/JP2018/025455 2017-07-31 2018-07-05 プリンタ、プログラム、および通信システム WO2019026519A1 (ja)

Priority Applications (5)

Application Number Priority Date Filing Date Title
EP18841787.7A EP3664388B1 (en) 2017-07-31 2018-07-05 Printer, program, and communication system
JP2019533989A JP7077321B2 (ja) 2017-07-31 2018-07-05 プリンタ、プログラム、および通信システム
CN201880030052.XA CN110603789B (zh) 2017-07-31 2018-07-05 打印机、能够由计算机读取的存储介质以及通信系统
US16/611,261 US10970005B2 (en) 2017-07-31 2018-07-05 Printer, computer-readable medium, and communication system to communicate with multiple devices independently
US17/189,619 US11487481B2 (en) 2017-07-31 2021-03-02 Printer, computer-readable medium, and communication system to communicate with multiple devices independently

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2017147865 2017-07-31
JP2017-147865 2017-07-31

Related Child Applications (2)

Application Number Title Priority Date Filing Date
US16/611,261 A-371-Of-International US10970005B2 (en) 2017-07-31 2018-07-05 Printer, computer-readable medium, and communication system to communicate with multiple devices independently
US17/189,619 Continuation US11487481B2 (en) 2017-07-31 2021-03-02 Printer, computer-readable medium, and communication system to communicate with multiple devices independently

Publications (1)

Publication Number Publication Date
WO2019026519A1 true WO2019026519A1 (ja) 2019-02-07

Family

ID=65232581

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2018/025455 WO2019026519A1 (ja) 2017-07-31 2018-07-05 プリンタ、プログラム、および通信システム

Country Status (5)

Country Link
US (2) US10970005B2 (ja)
EP (1) EP3664388B1 (ja)
JP (1) JP7077321B2 (ja)
CN (1) CN110603789B (ja)
WO (1) WO2019026519A1 (ja)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020141386A (ja) * 2019-03-01 2020-09-03 キヤノン株式会社 情報処理装置、情報処理装置の制御方法、およびプログラム
JP2020167620A (ja) * 2019-03-29 2020-10-08 キヤノン株式会社 画像処理装置、画像処理装置の制御方法及びプログラム
JP2021125787A (ja) * 2020-02-05 2021-08-30 キヤノン株式会社 情報処理装置、情報処理方法及びプログラム
WO2024111357A1 (ja) * 2022-11-21 2024-05-30 サトーホールディングス株式会社 プリンタ、プログラム、及び、情報処理システム

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7447667B2 (ja) * 2020-05-01 2024-03-12 コニカミノルタ株式会社 ジョブデータを生成するためのプログラム、方法および装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008060208A1 (en) * 2006-11-16 2008-05-22 Telefonaktiebolaget L M Ericsson (Publ) Gateway selection mechanism
JP2009182526A (ja) 2008-01-29 2009-08-13 Nec Corp ネットワーク、管理装置、スタティックルート切り替え方法およびプログラム
WO2009142473A1 (en) * 2008-05-23 2009-11-26 Telefonaktiebolaget Lm Ericsson (Publ) Method and system for message routing in ims and circuit switched networks
JP2017147865A (ja) 2016-02-17 2017-08-24 ファナック株式会社 モータ制御装置、モータ制御方法及びモータ制御プログラム

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002182866A (ja) * 2000-12-13 2002-06-28 Fujitsu Ltd ネットワーク環境における印刷制御方法、プリントサーバ、クライアント、および記録媒体
US7489902B2 (en) * 2004-10-06 2009-02-10 Zih Corp. Systems and methods for facilitating simultaneous communication over multiple wired and wireless networks
US8472046B2 (en) * 2005-03-11 2013-06-25 Avery Dennison Corporation Printer systems and methods for global tracking of products in supply chains, authentication of products, and connecting with customers both before, during, and after a product sale
JP2008010934A (ja) * 2006-06-27 2008-01-17 Nippon Telegr & Teleph Corp <Ntt> ゲートウェイ装置、通信制御方法、プログラム、およびプログラムを記録した記憶媒体
US7969975B2 (en) * 2008-10-24 2011-06-28 At&T Intellectual Property I, L.P. Data collection from CPE devices on a remote LAN
US20130063763A1 (en) 2011-09-09 2013-03-14 Xerox Corporation Integrated printing and network access device
KR101860486B1 (ko) * 2011-10-28 2018-07-02 에이치피프린팅코리아 주식회사 복수의 네트워크 인터페이스들을 지원하는 화상형성장치를 포함하는 화상형성시스템 및 그 시스템에서의 라우팅 테이블을 편집하는 방법
KR101854652B1 (ko) * 2011-10-28 2018-06-14 에이치피프린팅코리아 주식회사 복수의 네트워크 인터페이스들을 지원하는 화상형성장치 및 그 장치에서의 라우팅 테이블을 편집하는 방법
JP6398345B2 (ja) * 2014-06-10 2018-10-03 富士ゼロックス株式会社 印刷装置及びプログラム

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008060208A1 (en) * 2006-11-16 2008-05-22 Telefonaktiebolaget L M Ericsson (Publ) Gateway selection mechanism
JP2009182526A (ja) 2008-01-29 2009-08-13 Nec Corp ネットワーク、管理装置、スタティックルート切り替え方法およびプログラム
WO2009142473A1 (en) * 2008-05-23 2009-11-26 Telefonaktiebolaget Lm Ericsson (Publ) Method and system for message routing in ims and circuit switched networks
JP2017147865A (ja) 2016-02-17 2017-08-24 ファナック株式会社 モータ制御装置、モータ制御方法及びモータ制御プログラム

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020141386A (ja) * 2019-03-01 2020-09-03 キヤノン株式会社 情報処理装置、情報処理装置の制御方法、およびプログラム
JP7278804B2 (ja) 2019-03-01 2023-05-22 キヤノン株式会社 情報処理装置、情報処理装置の制御方法、およびプログラム
JP2020167620A (ja) * 2019-03-29 2020-10-08 キヤノン株式会社 画像処理装置、画像処理装置の制御方法及びプログラム
JP7263083B2 (ja) 2019-03-29 2023-04-24 キヤノン株式会社 画像処理装置、画像処理装置の制御方法及びプログラム
JP2021125787A (ja) * 2020-02-05 2021-08-30 キヤノン株式会社 情報処理装置、情報処理方法及びプログラム
JP7433944B2 (ja) 2020-02-05 2024-02-20 キヤノン株式会社 情報処理装置、情報処理方法及びプログラム
WO2024111357A1 (ja) * 2022-11-21 2024-05-30 サトーホールディングス株式会社 プリンタ、プログラム、及び、情報処理システム

Also Published As

Publication number Publication date
CN110603789B (zh) 2023-04-04
CN110603789A (zh) 2019-12-20
JPWO2019026519A1 (ja) 2020-05-28
US20200159467A1 (en) 2020-05-21
EP3664388A1 (en) 2020-06-10
EP3664388B1 (en) 2023-08-30
US10970005B2 (en) 2021-04-06
US20210181998A1 (en) 2021-06-17
US11487481B2 (en) 2022-11-01
EP3664388A4 (en) 2020-07-22
JP7077321B2 (ja) 2022-05-30

Similar Documents

Publication Publication Date Title
JP7077321B2 (ja) プリンタ、プログラム、および通信システム
JP5312308B2 (ja) 複数の通信インタフェースを有する情報処理装置及び制御方法
CN101621802A (zh) 一种无线网络中的入口认证方法、系统和装置
JP6381211B2 (ja) 画像形成装置及びその制御方法
JP2011188208A (ja) 無線通信装置および無線通信方法
CN104104812A (zh) 图象处理系统以及图象处理装置
JP4666039B2 (ja) 売上データ処理装置、店舗プリンタシステム及びプログラム
US8542386B2 (en) Electronics device capable of wireless communication, electronics device system, and wireless communication method
KR101101823B1 (ko) 화상형성장치 및 그 제어방법과, 화상형성장치의호스트장치 및 그 제어방법
EP3396597A1 (en) Communication device, management server, communication system, and program
US11048453B2 (en) Printer apparatus and wireless connection method
JP2018137657A (ja) 印刷装置および印刷装置の制御方法
JP2008217211A (ja) プリンタ情報設定システム、端末装置、プリンタ情報設定方法およびプログラム
JP5512420B2 (ja) 通信装置,端末通信装置および遠隔設定システム並びに遠隔設定方法
JP2013166303A (ja) プリンタ装置および注文データ管理システム
US20140082148A1 (en) Server, system, and method for transferring request
WO2024111357A1 (ja) プリンタ、プログラム、及び、情報処理システム
JP7322432B2 (ja) 画像形成装置、サーバ装置及びプログラム
JPH1153143A (ja) ネットワークプリンタ
JP2023072728A (ja) 情報処理システム及び情報処理方法
KR100312723B1 (ko) 네트웍 프린터의 명칭 표시 방법
WO2023158737A1 (en) Variable data marking unit with multiple connectivity modes
JP2022134789A (ja) 印刷システム、端末装置、印刷装置、及び、端末装置の制御方法
JP2022156894A (ja) 通信システム、制御方法及びプログラム
JP2020160958A (ja) サーバ及びサーバのためのコンピュータプログラム

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18841787

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2019533989

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2018841787

Country of ref document: EP

Effective date: 20200302