WO2024111357A1 - プリンタ、プログラム、及び、情報処理システム - Google Patents

プリンタ、プログラム、及び、情報処理システム Download PDF

Info

Publication number
WO2024111357A1
WO2024111357A1 PCT/JP2023/038851 JP2023038851W WO2024111357A1 WO 2024111357 A1 WO2024111357 A1 WO 2024111357A1 JP 2023038851 W JP2023038851 W JP 2023038851W WO 2024111357 A1 WO2024111357 A1 WO 2024111357A1
Authority
WO
WIPO (PCT)
Prior art keywords
gateway
communication
printer
lan
unit
Prior art date
Application number
PCT/JP2023/038851
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 サトーホールディングス株式会社
Publication of WO2024111357A1 publication Critical patent/WO2024111357A1/ja

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • H04L45/247Multipath using M:N active or standby paths
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]

Definitions

  • the present invention relates to a printer, a program, and an information processing system.
  • a printer when a printer is communicating with, for example, a computer terminal via a LAN (Local Area Network), a network failure may occur due to the LAN cable being unplugged or a router malfunction, causing a communication error such as a cutoff in communication with the computer terminal. In such a case, the printer will be unable to communicate with a device (for example, a server that manages the printer) connected to an external network beyond the network to which it belongs.
  • a device for example, a server that manages the printer
  • One aspect of the present invention is a printer that includes a communication unit that communicates with a first device via a first gateway connected to a LAN and communicates with a second device via a second gateway connected to a mobile communication network, and a control unit that controls the communication unit to switch the default gateway setting from the first gateway to the second gateway if communication with the first device is interrupted during communication with the first device via the first gateway.
  • the printer can communicate with another device connected to an external network.
  • FIG. 1 illustrates an example of a configuration of a communication system according to an embodiment.
  • 1 is a diagram showing a connection relationship between a printer and the Internet in a communication system according to an embodiment
  • FIG. 4 illustrates an example of a screen display of a printer according to an embodiment.
  • 3 is a diagram showing a state in which LAN communication by the printer is interrupted in the communication system shown in FIG. 2.
  • 3 is a diagram showing a state after the default gateway of the printer is switched in the communication system shown in FIG. 2.
  • 6 is a flowchart showing a process performed when LAN communication is interrupted in the printer of an embodiment.
  • 11A and 11B are diagrams illustrating an example of a change in the display on the screen when LAN communication is interrupted in the printer of the embodiment.
  • FIG. 3 is a diagram showing a state in which communication by the printer via the SIM in the communication system shown in FIG. 2 is interrupted.
  • 11A and 11B are diagrams illustrating an example of a change in the display on the screen when communication via a SIM is interrupted in the printer of the embodiment.
  • 11 is a sequence chart showing a sequence for acquiring packet data in a LAN when LAN communication is interrupted in a communication system according to an embodiment.
  • FIG. 11 is a diagram showing an example of a screen of an administrator terminal in the communication system according to an embodiment.
  • FIG. 11 is a diagram showing an example of a packet analysis result in a communication system according to an embodiment.
  • a first aspect of the present invention is a printer comprising: a communication unit that is connected to a LAN (Local Area Network) and communicates with a first device via a first gateway set as a default gateway, and communicates with a second device via a second gateway connected to a mobile communication network; and a control unit that controls the communication unit so that, when a communication abnormality with the first device occurs while communicating with the first device via the first gateway, the default gateway setting is switched from the first gateway to the second gateway and communication is performed with the second device.
  • LAN Local Area Network
  • a "LAN (Local Area Network)" may be a network of any size that is uniquely defined by a network address (sub-network).
  • a LAN may be a wired network or a wireless network. In the case of a wireless network, it complies with standards such as IEEE802a/b/g/j/n/ac/ad.
  • a "gateway" is a physical network node in a computer network that relays data transmitted and received between different networks, such as a router, a switch, or a switching hub.
  • a router is a device that relays data between different networks.
  • a switch or a switching hub is a device that uses switching to connect devices on a computer network to receive data and forward the data to a destination device.
  • the term "mobile communication network” is not particularly limited in its specifications, and is not particularly limited as long as it complies with a wireless communication system operated or to be operated by a mobile communication carrier.
  • wireless communication systems examples include a wireless communication system that complies with the IMT-Advanced standard, generally referred to as 4G, a wireless communication system that complies with the IMT-2020 standard, generally referred to as 5G, or a wireless communication system beyond 5G.
  • the "first device” may be any device connected to a LAN, such as a computer device, a smartphone, a tablet terminal, etc.
  • the "second device” may be any device connected to a mobile communication network, such as a computer device, a server, or the like, that can access the mobile communication network.
  • the printer when a communication error occurs with a first device via a LAN, the printer is able to communicate with a second device connected to an external network.
  • a second aspect of the present invention is a printer according to the first aspect, wherein the control unit controls the communication unit to switch the default gateway setting from the second gateway to the first gateway when communication with the first device is restored.
  • the default gateway setting can be automatically restored, without requiring any operation by the user.
  • a third aspect of the present invention is the printer according to the first or second aspect, further comprising a LAN analysis unit that analyzes packets received via the LAN. According to a third aspect of the present invention, it becomes possible to analyze the cause of an abnormality in communication via a LAN.
  • a fourth aspect of the present invention is the printer described in the third aspect, wherein the LAN analysis unit analyzes the packets in response to a request from the second device obtained via the mobile communications network. According to a fourth aspect of the present invention, packet analysis can be performed via the second device even while communication with the first device via the LAN is cut off.
  • a fifth aspect of the present invention is a printer described in any of the first to fourth aspects, wherein, when a communication abnormality occurs with the first device, the control unit controls the communication unit to restrict the communication ports that are allowed when communicating with the second device via the second gateway. According to a fifth aspect of the present invention, it is possible to improve security when communication is performed via the second gateway.
  • a sixth aspect of the present invention is a printer according to any one of the first to fifth aspects, wherein the control unit controls the communication unit so that, when a communication abnormality occurs with the first device, a DNS (Domain Name System) server accessed to resolve a domain name is switched from a first DNS server connected to the LAN to a second DNS server connected to the mobile communication network.
  • a DNS Domain Name System
  • the control unit controls the communication unit so that, when a communication abnormality occurs with the first device, a DNS (Domain Name System) server accessed to resolve a domain name is switched from a first DNS server connected to the LAN to a second DNS server connected to the mobile communication network.
  • a DNS Domain Name System
  • IP Internet Protocol
  • a seventh aspect of the present invention is a program for controlling printer communications, which causes a computer to function as a communication means for communicating with a first device via a first gateway connected to a LAN and set as a default gateway, and for communicating with a second device via a second gateway connected to a mobile communications network, and a control means for controlling the default gateway to be switched from the first gateway to the second gateway and to communicate with the second device when a communication abnormality occurs with the first device while communicating with the first device via the first gateway.
  • the printer in the case where a communication abnormality occurs with a first device via a LAN, the printer becomes able to communicate with a second device connected to an external network.
  • An eighth aspect of the present invention is an information processing system including a printer and a server capable of communicating with the printer, wherein the printer has a communication unit that communicates with an information processing device via a first gateway connected to a LAN and set as a default gateway, and communicates with the server via a second gateway connected to a mobile communications network, a control unit that controls the communication unit so that, when a communication abnormality occurs with the information processing device while communicating with the information processing device via the first gateway, the default gateway setting is switched from the first gateway to the second gateway and communication with the server occurs, and a LAN analysis unit that analyzes packets received via the LAN, and the server has an analysis request unit that requests the printer to analyze the packets using the LAN analysis unit, and an acquisition unit that acquires the analysis results by the LAN analysis unit from the printer.
  • the printer when a communication abnormality occurs in a printer with an information processing device via a LAN, the printer is able to communicate with a server connected to an external network, and is able to obtain the analysis results of packets received by the printer via the LAN.
  • a ninth aspect of the present invention is a control method for a printer, comprising the steps of communicating with a first device via a first gateway connected to a LAN and set as a default gateway, and communicating with a second device via a second gateway connected to a mobile communications network, and, if a communication abnormality occurs with the first device while communicating with the first device via the first gateway, controlling the default gateway to be switched from the first gateway to the second gateway and to communicate with the server.
  • a ninth aspect of the present invention in the printer, when a communication abnormality occurs with a first device via a LAN, communication with a second device connected to an external network becomes possible.
  • a tenth aspect of the present invention is a printer according to any one of the first to sixth aspects, which selectively displays communication settings for communication via the first gateway or communication settings for communication via the second gateway on a display unit in response to a user's operation. According to a tenth aspect of the present invention, the user can check the communication settings of the printer at any time.
  • FIG. 1 shows a schematic configuration of a communication system 1 (an example of an information processing system) according to an embodiment.
  • the LAN is a network to which a gateway GW1 (an example of a first gateway), a user terminal 2, a printer 3, a DNS server 71, a DHCP server 72, etc. are connected.
  • a proxy server, etc. may also be connected to the LAN.
  • the gateway GW1 is, for example, configured with a router having a function of routing packets via the LAN.
  • the gateway GW1 relays data transmitted and received between devices connected to the LAN.
  • the printer 3 may be a stationary printer or a portable printer, and receives a print request from the user terminal 2 connected to the LAN, and issues a print medium such as a label based on the received print request.
  • the printer 3 is, for example, a thermal printer, but is not limited to this.
  • the user terminal 2 (an example of a first device) is, for example, an information processing device such as a computer device, a tablet terminal, a smartphone, etc. Examples of LAN communication between the user terminal 2 and the printer 3 include a case where the printer 3 sends a print request to the user terminal 2, and a case where the printer 3 sends status information to the user terminal 2.
  • the gateway GW1 also has a function of relaying packets transmitted via the LAN to another network beyond the LAN (for example, the Internet IN).
  • the DNS server 71 (an example of a first DNS server) is a server that resolves domain names.
  • a domain name such as a URL
  • the DHCP (Dynamic Host Configuration Protocol) server 72 provides a service that assigns (leases) information such as an IP address for a certain period of time when a device in the LAN communicates with an external device connected to the Internet IN.
  • a management server 5 and an administrator terminal 6 are connected to the Internet IN.
  • the management server 5 (an example of a second device) is a server that manages the operating status of the printer 3. In the example shown in Fig. 1, only one printer 3 connected to the LAN is illustrated, but this is not the only printer that is managed by the management server 5.
  • the management server 5 can manage each of two or more printers connected to the LAN, or each of a large number of printers connected to multiple LANs.
  • the communication protocol between the printer 3 and the management server 5 is not limited, but may be, for example, MQTT (Message Queueing Telemetry Transport) or MQTT over WebSocket. MQTT is a lightweight Pub/Sub type data communication protocol.
  • MQTT Message Queueing Telemetry Transport
  • MQTT is a lightweight Pub/Sub type data communication protocol.
  • the printer 3 In order to receive a predetermined service from the management server 5 , the printer 3 periodically transmits status information indicating the status of the printer 3 and setting information indicating the settings of the printer 3 to the management server 5 .
  • the management server 5 records status information and setting information for each printer in a database. Non-limiting examples of printer status information include the total travel distance of the platen roller, the printer's operating time, the number of labels printed, and error information.
  • Non-limiting examples of printer setting information include the platen roller travel speed, print density, information such as the type of sensor installed in the printer, and information regarding communication settings.
  • Non-limiting examples of services provided by the management server 5 include the following. - Notifying the user terminal 2 of the operating status and load status of the printer 3. - Notifying the user terminal 2 of the time to replace consumable parts of the printer 3. - Notifying the user terminal 2 of errors that have occurred in the printer 3.
  • the administrator terminal 6 is, for example, an information processing terminal such as a computer device, a tablet terminal, or a smartphone, and is a terminal operated by the administrator of the printer 3.
  • a printer management application is installed on the administrator terminal 6.
  • the printer management application communicates with the management server 5 via the Internet IN, and displays the status information and setting information of the printer 3 recorded in the database of the management server 5. This allows the administrator to view the information of the printer 3.
  • the printer 3 is configured to be able to accommodate a SIM (Subscriber Identity Module) card in order to utilize mobile communication services provided by telecommunications carriers.
  • SIM Subscriber Identity Module
  • the SIM card installed in the printer 3 can use the mobile communication network MCN via the gateway GW2 (an example of a second gateway).
  • the SIM card is an example of a user identification module that stores user identification information for managing the use of the mobile communication network MCN for each user.
  • Other examples of user identification modules include UIM (Universal Subscriber Identity Module) cards.
  • a DNS server 81 (an example of a second DNS server) is connected to the mobile communication network MCN.
  • a gateway GW3 connected to the mobile communication network MCN relays data between the mobile communication network MCN and the Internet IN.
  • the mobile communication network MCN and the gateway GW3 are provided by a telecommunications carrier. Therefore, when communicating with the management server 5 or the administrator terminal 6, the printer 3 can send and receive data (packets) via the SIM card and gateway GW2, rather than via the gateway GW1.
  • Fig. 2 is a diagram showing a communication path from the printer 3 to the Internet IN in the communication system 1 shown in Fig. 1.
  • Fig. 2 also shows the configuration included in each device of the printer 3, the management server 5, and the administrator terminal 6.
  • the printer 3 in order for the printer 3 to communicate with the management server 5 or the administrator terminal 6, it must either connect to the Internet IN via a gateway GW1 connected to a LAN, or connect to the Internet IN from a SIM card (not shown) via a gateway GW2, a mobile communication network MCN, and a gateway GW3. 2, the default gateway setting of the printer 3 in the initial state is the gateway GW1. Therefore, data sent from the printer 3 to the management server 5 outside the LAN is sent to the gateway GW1, where the domain name is resolved by the DNS server 71, and then the data is sent to the management server 5 via the Internet IN.
  • the printer 3 includes a control unit 31 , an operation input unit 32 , a display unit 33 , a conveying unit 34 , a printing unit 35 , a storage 36 , and a communication unit 37 .
  • the control unit 31 is mainly composed of a microprocessor and a memory, and controls the entire printer 3.
  • the microprocessor included in the control unit 31 loads and executes firmware recorded in the storage 36 to control the printing unit 35 to print information on a printing medium such as a label based on a print request from the user terminal 2 obtained via the LAN.
  • a route table is stored in the memory of the control unit 31.
  • the control unit 31 executes a process for a communication abnormality in the LAN (described later with reference to FIG. 6).
  • the control unit 31 controls the communication unit 37 to switch the default gateway setting from the gateway GW1 to the gateway GW2 and communicate with the management server 5.
  • the control unit 31 controls the communication unit 37 so that when communication with the user terminal 2 is interrupted, the DNS server to be accessed to resolve a domain name is switched from the DNS server 71 connected to the LAN to the DNS server 81 connected to the mobile communication network MCN.
  • the above-mentioned LAN analyzer (an example of a LAN analysis unit) is incorporated into the control unit 31 as a part of the firmware functions.
  • the LAN analyzer analyzes packets received from the communication unit 37 via the LAN. Based on the analysis file obtained by the LAN analyzer, it becomes possible to analyze the cause of communication via the LAN being cut off.
  • the start and stop of packet analysis by the LAN analyzer is controlled by commands received from the management server 5 via the communication unit 37 through a mobile communication network or the like.
  • the operation input unit 32 includes an input device such as a button or a touch input device mounted on the display panel of the display unit 23, and accepts operation input by a user.
  • the display unit 33 includes a display panel such as an LCD and a display drive circuit, and displays the execution result of the firmware.
  • the transport unit 34 includes a platen roller, a motor drive circuit, and a stepping motor (not shown), and transports print media such as labels within the printer 3 .
  • the printing unit 35 includes a thermal head and a head drive circuit (not shown), and performs printing by selectively passing current through a plurality of heating elements of the thermal head in response to a print request.
  • Storage 36 is a non-volatile memory, for example an SSD (Solid State Drive) such as a flash memory. Analysis files obtained by, for example, a LAN analyzer are recorded in storage 36. Storage 36 also stores a route table.
  • SSD Solid State Drive
  • Storage 36 also stores a route table.
  • the communication unit 37 communicates with external devices connected to the LAN, such as the user terminal 2, via the gateway GW1 connected to the LAN. That is, the communication unit 37 receives and transmits packets via the LAN under the control of the control unit 31.
  • the communication unit 37 communicates with the management server 5 or the administrator terminal 6 via the Internet IN through the gateway GW2 connected to the mobile communication network MCN.
  • the communication unit 37 includes a communication circuit for connecting to the mobile communication network MCN via a SIM card or the like, an antenna, and a slot into which, for example, a SIM card can be inserted.
  • the communication unit 37 transmits the status information and the setting information of the printer 3, for example, periodically, to the management server 5.
  • the timing of transmitting the status information is not particularly limited, but is, for example, a predetermined timing between 10 and 30 minutes (for example, at 15 minute intervals).
  • the timing of transmitting the setting information is not particularly limited, but is, for example, the timing when an event occurs to change the settings of the printer 3.
  • the communication protocol used in the communication between the communication unit 37 and the management server 5 is not limited, but is, for example, MQTT or MQTT over WebSocket.
  • the management server 5 includes a control unit 51 , a storage 52 , and a communication unit 53 .
  • the control unit 51 is mainly composed of a microprocessor and a memory, and controls the entire management server 5.
  • the microprocessor included in the control unit 51 executes a management program to obtain status information and setting information for each of the multiple printers 3 to be managed from the printers 3, and appropriately updates a printer management database (not shown).
  • the printer management database is a database for storing status information and setting information for each of the multiple printers 3.
  • the control unit 51 functions as an analysis request unit that requests the printer 3 to analyze a packet using a LAN analyzer, and as an acquisition unit that acquires the analysis results (analysis file) from the printer 3 using the LAN analyzer.
  • control unit 51 stores the analysis file acquired from the printer 3 in the storage 52 .
  • the storage 52 is a large-scale storage device such as a hard disk drive (HDD), and stores a printer management database and analysis files.
  • the communication unit 53 is a communication interface for communicating with the printers 3 and the administrator terminal 6.
  • the administrator terminal 6 centrally manages status information and setting information of the multiple printers 3, and includes a control unit 61, an operation input unit 62, a display unit 63, and a communication unit 64.
  • the control unit 61 is mainly composed of a microprocessor and a memory, and controls the entire administrator terminal 6.
  • the microprocessor included in the control unit 61 executes a printer management application.
  • the printer management application causes the display unit 63 to display status information and setting information for a specific printer 3, or an analysis file obtained by the specific printer 3.
  • the operation input unit 62 includes an input device such as a mouse and/or a keyboard, or a touch input device mounted on the display panel of the display unit 63, and accepts operation input by a user.
  • the display unit 63 includes a display panel such as an LCD and a display drive circuit, and displays the execution result of the printer management application.
  • the communication unit 64 is a communication interface for communicating with the printer 3 and the management server 5.
  • the communication protocol used in the communication between the communication unit 64 and the management server 5 is not limited, but is, for example, HTTPS.
  • the display unit 33 of the printer 3 is equipped with a touch panel type screen.
  • a user of the printer 3 can check the communication settings of the printer 3 by operating buttons on the screen.
  • Fig. 3 shows an example of a screen display of the LAN side communication settings and the SIM side communication settings in the printer 3 of one embodiment.
  • the user of the printer 3 can select either DHCP or a fixed address.
  • Screen G1 in Fig. 3 shows an example of a screen for LAN-side communication settings when DHCP is selected
  • screen G2 in Fig. 3 shows an example of a screen for LAN-side communication settings when a fixed address is selected.
  • Screen G3 in Fig. 3 shows an example of a screen for SIM-side communication settings.
  • the "Gateway” item indicates the IP address of the default gateway (i.e., the IP address of the gateway GW1), and the "DNS” item indicates the IP address of the DNS server.
  • the "Next Hop” item indicates the IP address of the packet forwarding destination (i.e., the IP address of the gateway GW2).
  • the static route is fixed to "0.0.0.0" and cannot be changed by the user, so it is not included in the items on screen G3.
  • FIG. 4 shows a state in which communication between the printer 3 and the gateway GW 1 is interrupted.
  • the control unit 31 of the printer 3 controls the communication unit 37 to change the default gateway setting from the gateway GW1 to the gateway GW2 in order to ensure communication with the Internet IN.
  • Fig. 5 shows the communication path from the printer 3 to the Internet IN when the default gateway setting is changed to the gateway GW2.
  • Fig. 6 is a flow chart showing processing when LAN communication is interrupted in the printer 3.
  • Fig. 7 is a diagram showing an example of a change in display of a communication setting screen in the printer 3 when LAN communication is interrupted in the printer 3. Note that in Fig. 7, a screen G1 before LAN communication is interrupted is the same as the screen G1 in Fig. 3. In Fig. 7, a communication setting screen G3 on the SIM side after LAN communication is interrupted is the same as the screen G3 in Fig. 3.
  • step S4 When the control unit 31 of the printer 3 detects the interruption of the LAN communication (step S2: YES), it updates the route table in the storage 36 (step S4).
  • a default gateway is written as the gateway to which the packet is initially forwarded.
  • the communication setting on the LAN side becomes the screen G1a.
  • the default gateway setting becomes "0.0.0.0", and the DNS server 71 on the LAN side cannot be used. Therefore, in step S4, the printer 3 updates the route table in the storage 36 by switching the default gateway setting from the gateway GW1 to the gateway GW2.
  • the control unit 31 of the printer 3 switches the default gateway from the gateway GW1 to the gateway GW2. Furthermore, the printer 3 updates the DNS server settings so that the DNS server 81 on the mobile communication network MCN side is used instead of the DNS server 71 on the LAN side (step S6). This enables the printer 3 to communicate with the management server 5 and the administrator terminal 6 connected to the external Internet IN when communication with the user terminal 2 via the LAN is interrupted.
  • control unit 31 of the printer 3 When the control unit 31 of the printer 3 detects the recovery of LAN communication (step S8: YES), it updates the route table in the storage 36 by switching the default gateway setting from gateway GW2 to gateway GW1 (step S10). Furthermore, the control unit 31 of the printer 3 updates the DNS server setting so that the DNS server 71 on the LAN side is used instead of the DNS server 81 on the mobile communication network MCN side (step S12). In other words, when communication with the user terminal 2 via the LAN is recovered, the default gateway setting is automatically restored without the need for user operation, and communication with the management server 5 and the administrator terminal 6 connected to the external Internet IN via gateway GW1 becomes possible.
  • the process in the flowchart in FIG. 6 is limited to cases where the communication settings on the LAN side are DHCP. If the communication settings on the LAN side are a fixed address and LAN communication is interrupted, the SIM side communication will not be able to refer to the DNS server after the session is terminated and will not be able to resolve domain names, so the control unit 31 of the printer 3 will disconnect from the management server 5 using, for example, MQTT/MQTT over WebSocket. Then, after LAN communication is restored, it will attempt to reconnect to the management server 5 using MQTT/MQTT over WebSocket.
  • FIG. 8 shows a state in which communication between the printer 3 and the gateway GW 2 is interrupted. If communication with, for example, a management server 5 is interrupted while the control unit 31 of the printer 3 is communicating with the management server 5 via the gateway GW2, the control unit 31 changes the default gateway setting from the gateway GW2 to the gateway GW1 in order to ensure communication with the Internet IN.
  • FIG. 9 is a diagram showing an example of a change in the display of the SIM-side communication setting screen of the printer 3 when communication by the printer 3 via the SIM is interrupted.
  • the screen G3 before communication via the SIM is interrupted is the same as the screen G3 in FIG. 3.
  • the SIM-side communication setting becomes the screen G3a.
  • the next hop and DNS settings are cleared to "0.0.0.0".
  • the SIM card is reinserted and communication via the SIM becomes possible, the SIM-side communication setting returns from the screen G3a to the screen G3.
  • the SIM side IP address, next hop (gateway GW2), and DNS server settings are assigned again by the DHCP server 72.
  • the printer 3 of this embodiment has a communication unit 37 that communicates with the user terminal 2 via the gateway GW1 connected to the LAN, and communicates with the management server 5 via the gateway GW2 connected to the mobile communication network MCN.
  • the control unit 31 of the printer 3 controls the communication unit 37 to switch the default gateway setting from the gateway GW1 to the gateway GW2 if communication with the user terminal 2 is interrupted while the printer 3 is communicating with the user terminal 2 via the gateway GW1. Therefore, if communication with the user terminal 2 via the LAN is interrupted, the printer 3 becomes able to communicate with the management server 5 connected to an external network.
  • FIG. 6 the processing of the printer 3 when the LAN communication is interrupted due to a LAN communication abnormality is shown. This processing ensures a communication path with the management server 5 and the administrator terminal 6 via SIM, so that the cause of the LAN communication interruption can be identified via this communication path.
  • the process of the printer 3 when the LAN communication is interrupted in one embodiment will be described with reference to the sequence chart shown in Fig. 10. In Fig. 10, it is assumed that the printer 3 periodically communicates with the management server 5 (for example, transmits status information and setting information) via the gateway GW1 by MQTT before the LAN communication is interrupted.
  • step S21 if the user terminal 2 is unable to communicate with the printer 3 when an attempt is made to print a label from the printer 3, a message indicating that communication is not possible is displayed on the user terminal 2 (step S21).
  • the user terminal 2 then sends a message indicating that a malfunction has occurred to the administrator terminal 6 (step S22).
  • the message in step S22 may be sent by a printer management application if one is installed on the user terminal 2, or may be sent by e-mail, for example. Instead of step S22, the user may inform the administrator of the malfunction by telephone.
  • the control unit 61 of the administrator terminal 6 accepts a specified operation from the operation input unit 62 for the administrator to remotely operate the LAN analyzer of the printer 3 to analyze the communication status in the LAN of the printer 3 on the screen displayed by the printer management application (step S24).
  • 11 shows screen G5, an example of a screen displayed by the printer management application of the administrator terminal 6.
  • Screen G5 includes a tab group 100 including a plurality of tabs, buttons b1 and b2, a text box bx1, and an analysis file list 102.
  • a remote operation to the LAN analyzer of the printer 3 is accepted by operating button b1. Note that, in the remote operation to the LAN analyzer, the port number to be analyzed can be specified by inputting the port number in the text box bx1.
  • the control unit 61 of the administrator terminal 6 transmits, for example, a packet analysis start request to the management server 5 by the printer management application via the communication unit 64.
  • the control unit 51 of the management server 5 transmits an MQTT message in response to the packet analysis start request to the printer 3 via the communication unit 53 (step S26).
  • the LAN analyzer of the printer 3 interprets, for example, the received MQTT message and starts analyzing the packets received from the LAN (step S28). That is, the LAN analyzer analyzes the packets in response to the request from the management server 5 obtained via the mobile communication network MCN.
  • the LAN analyzer is already running when the MQTT message is received in step S26. If the LAN analyzer is not running, packets cannot be analyzed, but by starting the LAN analyzer after communication with the LAN is restored, packets can be analyzed if communication with the LAN is cut off again. If LAN communication is frequently cut off, the LAN analyzer may be started in advance.
  • control unit 31 of the printer 3 detects a LAN communication interruption (step S30), it updates the route table and changes the default gateway setting from gateway GW1 to gateway GW2 (step S32). Furthermore, the control unit 31 of the printer 3 updates the MQTT connection with the management server 5 (step S34). In updating the MQTT connection, the DNS server setting is updated from the DNS server 71 on the LAN side to the DNS server 81 on the mobile communication network MCN side. Note that the processes in steps S30 to S34 are the same as the processes in steps S2 to S6 in FIG. 6, respectively.
  • the control unit 61 of the administrator terminal 6 sends a packet analysis stop request to the management server 5 in response to the operation of button b2 (see FIG. 11) by the administrator on the screen displayed on the administrator terminal 6 by the printer management application.
  • the control unit 51 of the management server 5 sends an MQTT message corresponding to the packet analysis stop request to the printer 3 via the communication unit 53 by connecting to the mobile communication network MCN via, for example, a SIM or the like (step S36).
  • the control unit 31 of the printer 3 interprets the MQTT message received in step S36 and controls the LAN analyzer to stop analyzing packets received from the LAN.
  • the control unit 61 of the administrator terminal 6 transmits an analysis file upload request via the communication unit 64 to the printer 3 via the management server 5.
  • the LAN analyzer of the printer 3 compresses and encrypts the analysis file indicating the packet analysis results (step S40) and transmits it to the management server 5 (step S42). Even if a failure occurs in communication via the LAN, the printer 3 can transmit the analysis file to the management server 5 by connecting to the mobile communication network MCN via the gateway GW2.
  • the management server 5 stores the received analysis file in association with the identification information of the printer 3 that sent the file.
  • control unit 61 of the administrator terminal 6 When the control unit 61 of the administrator terminal 6 receives a predetermined operation by the administrator on the printer management application to specify the analysis file, it requests the analysis file from the management server 5, obtains it, and displays the analysis file on the display unit 63. In screen G5 of FIG. 11, the obtained analysis file is displayed in the analysis file list 102.
  • the printer management application starts a network analyzer in response to the predetermined operation specifying the analysis file in the analysis file list 102, decrypts and decompresses the analysis file (step S44), and displays the analysis file in a format that is easy for the administrator to analyze (step S46).
  • FIG. 12 shows an example of the analysis file displayed in step S46.
  • the screen example shown in FIG. 12 includes a summary display section 201 and a detail display section 202.
  • the summary display section 201 is a section showing a summary of one or more captured packets, and each line corresponds to one packet.
  • Each line includes data such as a packet capture time (Time), a source IP address (Source), a destination IP address (Destination), a protocol (Protocol), a data length (Length), and summary information (Info).
  • an administrator or the like can analyze and solve a communication error when a communication error occurs, such as the printer 3 being unable to communicate with the user terminal 2 via the LAN.
  • the control unit 51 of the management server 5 may automatically determine whether or not there is a communication abnormality caused by the LAN based on the analysis file acquired from the printer 3, and may request the printer 3 to change the settings of the communication protocol based on the determination result. For example, when the control unit 51 of the management server 5 identifies an error state or the like that is previously associated with the setting information and status information acquired from the printer 3, it may make an analysis request related to the identified error state to the LAN analyzer of the printer 3.
  • the management server 5 may refer to a determination table that is previously associated with the status command, the printer setting information, and the status information, and when it identifies a communication error caused by the LAN that is associated with the status command extracted from the analysis packet and the setting information and status information acquired from the printer, it may make a request to the printer 3 to change the settings of the communication protocol in correspondence with the identified communication error.
  • control unit 31 of the printer 3 controls the communication unit 37 to restrict the communication ports that are permitted when communicating with the management server 5 via the gateway GW2 in order to increase the security of communication when LAN communication is interrupted.
  • the printer 3 can be protected from threats to external access by prohibiting the use of communication ports unrelated to communication with the management server 5 or the administrator terminal 6.
  • the communication ports permitted when communication is performed via the gateway GW2 are 8883 (MQTT), 443 (HTTPS or MQTT over WebSocket), and 53 (DNS).

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

本発明のある態様は、LAN(Local Area Network)に接続され、デフォルトゲートウェイの設定がされた第1ゲートウェイを介して第1装置と通信を行い、移動体通信ネットワークに接続された第2ゲートウェイを介して第2装置と通信を行う通信部と、第1ゲートウェイを介して第1装置と通信中に、第1装置との通信異常が発生した場合に、デフォルトゲートウェイの設定を第1ゲートウェイから第2ゲートウェイに切り替えて、第2の装置と通信するように、通信部を制御する制御部と、を備えたプリンタである。

Description

プリンタ、プログラム、及び、情報処理システム
 本発明は、プリンタ、プログラム、及び、情報処理システムに関する。
 従来、ネットワーク上の回線若しくは装置における障害を検出して通信ルートの切り替えを行う技術が知られている(特開2009-182526号公報)。
 ところで、プリンタがLAN(Local Area Network)経由で例えばコンピュータ端末と通信中に、LANケーブルの抜去やルータの不具合などによりネットワークに障害が生じ、当該コンピュータ端末との通信が遮断される等の通信異常が発生する場合がある。その場合、プリンタは、自身が属するネットワークを越えた外部のネットワークに接続される装置(例えば、プリンタを管理するサーバ)と通信を行うことができないという問題が生ずる。
 そこで、本発明は、プリンタにおいて、LAN経由でのある装置との通信異常が発生した場合に、外部のネットワークに接続された別の装置との通信を可能とすることを目的とする。
 本発明のある態様は、LANに接続された第1ゲートウェイを介して第1装置と通信を行い、移動体通信ネットワークに接続された第2ゲートウェイを介して第2装置と通信を行う通信部と、前記第1ゲートウェイを介して前記第1装置と通信中に、前記第1装置との通信が遮断された場合に、デフォルトゲートウェイの設定を前記第1ゲートウェイから前記第2ゲートウェイに切り替えるように、前記通信部を制御する制御部と、を備えたプリンタである。
 本発明のある態様によれば、プリンタにおいて、LAN経由でのある装置との通信異常が発生した場合に、外部のネットワークに接続された別の装置との通信が可能となる。
一実施形態の通信システムの構成の一例を示す図である。 一実施形態に係る通信システムにおいてプリンタとインターネットと間の接続関係を示す図である。 一実施形態のプリンタの画面表示例を示す図である。 図2に示す通信システムにおいてプリンタによるLAN通信が遮断された状態を示す図である。 図2に示す通信システムにおいて、プリンタのデフォルトゲートウェイが切り替わった後の状態を示す図である。 一実施形態のプリンタにおいて、LAN通信が遮断された場合の処理を示すフローチャートである。 一実施形態のプリンタにおいて、LAN通信が遮断された場合の画面の表示変化の例を示す図である。 図2に示す通信システムにおいてプリンタによるSIM経由での通信が遮断された状態を示す図である。 一実施形態のプリンタにおいて、SIM経由での通信が遮断された場合の画面の表示変化の例を示す図である。 一実施形態に係る通信システムにおいてLAN通信が遮断された場合に、LANにおけるパケットデータを取得するときのシーケンスチャートである。 一実施形態に係る通信システムにおいて管理者端末の画面の一例を示す図である。 一実施形態に係る通信システムにおいてパケット解析結果の一例を示す図である。
 以下、本発明のプリンタ、プログラム、及び、情報処理システムの一実施形態について説明する。なお、以下に記載する形態は、図面の簡単な説明により説明される図面に限定されるものではない。
 本発明のある態様の第1の態様は、LAN(Local Area Network)に接続され、デフォルトゲートウェイの設定がされた第1ゲートウェイを介して第1装置と通信を行い、移動体通信ネットワークに接続された第2ゲートウェイを介して第2装置と通信を行う通信部と、前記第1ゲートウェイを介して前記第1装置と通信中に、前記第1装置との通信異常が発生した場合に、前記デフォルトゲートウェイの設定を前記第1ゲートウェイから前記第2ゲートウェイに切り替えて、前記第2の装置と通信するように、前記通信部を制御する制御部と、を備えたプリンタである。
 本開示において「LAN(Local Area Network)」は、ネットワークアドレスにより一意に定まるネットワーク(サブネットワーク)であれば如何なる大きさのネットワークでもよい。LANは、有線ネットワークであってもよいし、無線ネットワークであってもよい。無線ネットワークの場合、例えば、IEEE802a/b/g/j/n/ac/ad等の規格に準拠する。
 本開示において「ゲートウェイ」とは、コンピュータネットワークにおいて、異なるネットワーク間で送受信されるデータを中継する物理ネットワークノードであり、ルータ、スイッチ、スイッチングハブ等である。ルータは、異なるネットワーク間でデータを中継する機器である。スイッチ、スイッチングハブは、スイッチングを利用して、データを受信し、かつデータを宛先装置に転送するように、コンピュータネットワーク上で装置間を接続する機器である。
 本開示において「移動体通信ネットワーク」は、特にその仕様を限定するものではなく、移動体通信の通信事業者によって運用されている、又は運用予定の無線通信システムに準拠したものであれば特に限定されない。そのような無線通信システムの例としては、一般的に4Gと呼称されているIMT-Advanced規格に準拠する無線通信システム、一般的に5Gと呼称され、IMT-2020規格に準拠する無線通信システム、あるいは5G以降の無線通信システム等が挙げられる。
 本開示において「第1装置」は、LANに接続された装置であれば如何なる装置でもよく、例えば、コンピュータ装置、スマートフォン、タブレット型端末等が挙げられる。本開示において「第2装置」は、移動体通信ネットワークに接続された装置であれば如何なる装置でもよく、例えば、コンピュータ装置、サーバ等の移動体通信ネットワークにアクセス可能な装置である。
 本発明のある態様の第1の態様によれば、プリンタにおいて、LAN経由での第1装置との通信異常が発生した場合に、外部のネットワークに接続された第2装置との通信が可能となる。
 本発明のある態様の第2の態様は、前記制御部が、前記第1装置との通信が回復した場合に、前記デフォルトゲートウェイの設定を前記第2ゲートウェイから前記第1ゲートウェイに切り替えるように、前記通信部を制御する、第1の態様に記載のプリンタである。
 本発明のある態様の第2の態様によれば、第1装置との通信が回復した場合にデフォルトゲートウェイの設定を自動的に元に戻すことが可能となり、利用者の操作を要しない。
 本発明のある態様の第3の態様は、前記LAN経由で受信したパケットを解析するLAN解析部を備えた、第1又は第2の態様に記載のプリンタである。
 本発明のある態様の第3の態様によれば、LAN経由での通信異常が発生した原因を解析することが可能となる。
 本発明のある態様の第4の態様は、前記LAN解析部は、前記移動体通信ネットワークを介して得られる前記第2装置からの要求に応じて、前記パケットを解析する、第3の態様に記載のプリンタである。
 本発明のある態様の第4の態様によれば、LAN経由での第1の装置との通信が遮断されている間においても第2装置経由でパケットの解析を実行させることができる。
 本発明のある態様の第5の態様は、前記第1装置との通信異常が発生した場合に、前記制御部は、前記第2ゲートウェイを介して前記第2の装置と通信を行うときに許可する通信ポートを制限するように前記通信部を制御する、第1から第4のいずれかの態様に記載のプリンタである。
 本発明のある態様の第5の態様によれば、第2ゲートウェイを介して通信を行うときのセキュリティを高めることができる。
 本発明のある態様の第6の態様は、前記制御部が、前記第1装置との通信異常が発生した場合に、ドメイン名の解決を行うためにアクセスするDNS(Domain Name System)サーバを、前記LANに接続された第1DNSサーバから前記移動体通信ネットワークに接続された第2DNSサーバに切り替えるように、前記通信部を制御する、第1から第5のいずれかの態様に記載のプリンタである。
 本発明のある態様の第6の態様によれば、デフォルトゲートウェイの設定を前記第1ゲートウェイから前記第2ゲートウェイに切り替えた後に、ドメイン名の解決を行ってIP(Internet Protocol)通信を行うことが可能となる。
 本発明のある態様の第7の態様は、プリンタの通信を制御するためのプログラムであって、コンピュータを、LANに接続され、デフォルトゲートウェイの設定がされた第1ゲートウェイを介して第1装置と通信を行い、移動体通信ネットワークに接続された第2ゲートウェイを介して第2装置と通信を行う通信手段、及び、前記第1ゲートウェイを介して前記第1装置と通信中に、前記第1装置との通信異常が発生した場合に、前記デフォルトゲートウェイの設定を前記第1ゲートウェイから前記第2ゲートウェイに切り替えて、前記第2の装置と通信するように制御する制御手段、として機能させるためのプログラムである。
 本発明のある態様の第7の態様によれば、プリンタにおいて、LAN経由での第1装置との通信異常が発生した場合に、外部のネットワークに接続された第2装置との通信が可能となる。
 本発明のある態様の第8の態様は、プリンタと、前記プリンタと通信可能なサーバと、を含む情報処理システムであって、前記プリンタは、LANに接続され、デフォルトゲートウェイの設定がされたた第1ゲートウェイを介して情報処理装置と通信を行い、移動体通信ネットワークに接続された第2ゲートウェイを介して前記サーバと通信を行う通信部と、前記第1ゲートウェイを介して前記情報処理装置と通信中に、前記情報処理装置との通信異常が発した場合に、前記デフォルトゲートウェイの設定を前記第1ゲートウェイから前記第2ゲートウェイに切り替えて、前記サーバと通信するように、前記通信部を制御する制御部と、前記LAN経由で受信したパケットを解析するLAN解析部と、を備え、前記サーバは、前記プリンタに対して前記LAN解析部によるパケットの解析要求を行う解析要求部と、前記プリンタから前記LAN解析部による解析結果を取得する取得部と、を備えた、情報処理システムである。
 本発明のある態様の第8の態様によれば、プリンタにおいて、LAN経由での情報処理装置との通信異常が発生した場合に、外部のネットワークに接続されたサーバとの通信が可能となるとともに、プリンタがLAN経由で受信したパケットの解析結果を取得することが可能となる。
 本発明のある態様の第9の態様は、LANに接続され、デフォルトゲートウェイの設定がされたた第1ゲートウェイを介して第1装置と通信を行い、移動体通信ネットワークに接続された第2ゲートウェイを介して第2装置と通信を行うステップと、前記第1ゲートウェイを介して前記第1装置と通信中に、前記第1装置との通信異常が発生した場合に、前記デフォルトゲートウェイの設定を前記第1ゲートウェイから前記第2ゲートウェイに切り替えて、前記サーバと通信するように制御するステップと、を備えたプリンタに対する制御方法である。
 本発明のある態様の第9の態様によれば、プリンタにおいて、LAN経由での第1装置との通信異常が発生した場合に、外部のネットワークに接続された第2装置との通信が可能となる。
 本発明のある態様の第10の態様は、利用者の操作に応じて、前記第1ゲートウェイを介した通信の通信設定、又は、前記第2ゲートウェイを介した通信の通信設定を、選択的に表示部に表示する、第1から第6のいずれかの態様に記載のプリンタである。
 本発明のある態様の第10の態様によれば、利用者は、任意のタイミングでプリンタの通信設定を確認することができる。
 以下、図面を参照して、実施形態について説明する。
 図1に、一実施形態の通信システム1(情報処理システムの一例)の概略構成について示す。
 通信システム1において、LANは、ゲートウェイGW1(第1ゲートウェイの一例)、利用者端末2、プリンタ3、DNSサーバ71、DHCPサーバ72等が接続されたネットワークである。LANには、他にプロキシサーバ等が接続され得る。ゲートウェイGW1は、例えば、LAN経由でのパケットのルーティング機能を有するルータで構成される。ゲートウェイGW1は、LANに接続された装置間で送受信されるデータを中継する。
 プリンタ3は、据置き型プリンタであってもよいし携帯型プリンタであってもよく、LANに接続された利用者端末2から印字要求を受信し、受信した印字要求に基づいてラベル等の印字媒体を発行する。プリンタ3は、例えばサーマルプリンタであるが、その限りではない。
 利用者端末2(第1装置の一例)は、例えばコンピュータ装置、タブレット端末、スマートフォン等の情報処理装置である。利用者端末2とプリンタ3がLAN通信を行う例としては、プリンタ3が利用者端末2に印字要求を送信する場合や、プリンタ3が利用者端末2に対してステータス情報を送信する場合などがある。
 ゲートウェイGW1は、LAN経由でのパケットを、LANを超えた他のネットワーク(例えばインターネットIN)に中継する機能も備える。
 DNSサーバ71(第1DNSサーバの一例)は、ドメイン名の解決を行うサーバである。LAN内の装置は、例えばURL等、ドメイン名を指定してインターネットINに接続された外部装置と通信を行う場合にDNSサーバ71に対して問合せを行い、宛先IPアドレスを取得する。DHCP(Dynamic Host Configuration Protocol)サーバ72は、LAN内の装置がインターネットINに接続された外部装置と通信を行う場合に、IPアドレス等の情報を一定期間、割り当てる(貸し出す)サービスを提供する。
 インターネットINには、管理サーバ5及び管理者端末6が接続されている。
 管理サーバ5(第2装置の一例)は、プリンタ3の稼動状況を管理するサーバである、図1に示す例では、LANに接続された1台のプリンタ3のみが図示してあるが、管理サーバ5が管理対象とするプリンタはその限りではない。管理サーバ5は、LANに接続された2以上のプリンタの各々や、複数のLANに接続された多数のプリンタの各々を管理することができる。
 プリンタ3と管理サーバ5の間の通信はインターネットINを経由して行われる。プリンタ3と管理サーバ5の通信プロトコルは限定しないが、例えば、MQTT(Message Queueing Telemetry Transport)又はMQTT over WebSocketである。MQTTは、Pub/Sub型の軽量なデータ通信プロトコルである。
 プリンタ3は、管理サーバ5による所定のサービスの提供を受けるために、定期的に、プリンタ3の状態を示す状態情報やプリンタ3の設定を示す設定情報を管理サーバ5に送信する。
 管理サーバ5は、プリンタごとに状態情報と設定情報をデータベースに記録する。プリンタの状態情報の限定しない例として、プラテンローラの総搬送距離、プリンタの稼動時間、ラベル発行枚数等の情報やエラー情報が挙げられる。プリンタの設定情報の限定しない例として、プラテンローラの搬送速度、印字濃度、プリンタに設置されるセンサ種別等の情報、通信設定に関する情報が挙げられる。管理サーバ5によって提供される限定しないサービスの例として以下が挙げられる。
 ・プリンタ3の稼動状況、負荷状況を利用者端末2に通知すること
 ・プリンタ3の消耗部品の交換時期を利用者端末2に通知すること
 ・プリンタ3で発生したエラーを利用者端末2に通知すること
 管理者端末6は、例えば、コンピュータ装置、タブレット端末、スマートフォン等の情報処理端末であり、プリンタ3の管理者が操作する端末である。管理者端末6には、プリンタ管理アプリケーションがインストールされている。プリンタ管理アプリケーションは、インターネットINを介して管理サーバ5と通信を行い、管理サーバ5のデータベースに記録されているプリンタ3の状態情報と設定情報を表示させる。それによって管理者がプリンタ3の情報を閲覧することができる。
 プリンタ3には、電気通信事業者が提供する移動体通信サービスを利用するためにSIM(Subscriber Identity Module)カードを装着可能に構成されている。プリンタ3に装着されたSIMカードは、ゲートウェイGW2(第2ゲートウェイの一例)を介して移動体通信ネットワークMCNを利用することができる。なお、SIMカードは、利用者ごとに移動体通信ネットワークMCNの利用を管理するための利用者識別情報を記憶する利用者識別モジュールの一例である。利用者識別モジュールの他の例として、UIM(Universal Subscriber Identity Module)カード等が挙げられる。
 移動体通信ネットワークMCNには、DNSサーバ81(第2DNSサーバの一例)が接続されている。移動体通信ネットワークMCNに接続されたゲートウェイGW3は、移動体通信ネットワークMCN上とインターネットINの間でデータを中継する。移動体通信ネットワークMCN及びゲートウェイGW3は、電気通信事業者によって提供される。したがって、プリンタ3は、管理サーバ5又は管理者端末6と通信を行う際に、ゲートウェイGW1経由ではなく、SIMカード及びゲートウェイGW2を経由してデータ(パケット)を送受信することが可能である。
 図2は、図1に示した通信システム1において、プリンタ3からインターネットINまでの通信経路を示した図である。図2では、プリンタ3、管理サーバ5、及び、管理者端末6の各装置に含まれる構成についても示してある。
 図2に示すように、プリンタ3が管理サーバ5あるいは管理者端末6と通信を行うためには、LANに接続されたゲートウェイGW1を経由してインターネットINに接続するか、又は、図示しないSIMカードからゲートウェイGW2、移動体通信ネットワークMCN、及び、ゲートウェイGW3を経由してインターネットINに接続するかのいずれかである。
 図2に示すように、プリンタ3の初期状態のデフォルトゲートウェイの設定は、ゲートウェイGW1となっている。したがって、プリンタ3から、LANの外部にある管理サーバ5に送信されるデータは、ゲートウェイGW1に送られて、DNSサーバ71によりドメイン名の解決が行われた後に、インターネットIN経由で管理サーバ5に送信される。
 次に、図2を参照して、図1に示した通信システム1に含まれるプリンタ3、管理サーバ5、及び、管理者端末6の構成について説明する。
 図2に示すように、プリンタ3は、制御部31、操作入力部32、表示部33、搬送部34、印字部35、ストレージ36、及び、通信部37を備える。
 制御部31は、マイクロプロセッサとメモリを主体として構成され、プリンタ3の全体を制御する。例えば、制御部31に含まれるマイクロプロセッサは、ストレージ36に記録されているファームウェアをロードして実行することで、LAN経由で取得した利用者端末2からの印字要求に基づいてラベル等の印字媒体に情報を印字するように、印字部35を制御する。
 制御部31のメモリには、ルートテーブルが格納される。制御部31は、LANの通信異常の際の処理(後に図6を参照して説明する)を実行する。制御部31は、ゲートウェイGW1を介して利用者端末2と通信中に、利用者端末2との通信異常が発生した場合に、デフォルトゲートウェイの設定をゲートウェイGW1からゲートウェイGW2に切り替えて、管理サーバ5と通信するように、通信部37を制御する。
 制御部31は、利用者端末2との通信が遮断された場合に、ドメイン名の解決を行うためにアクセスするDNSサーバを、LANに接続されたDNSサーバ71から移動体通信ネットワークMCNに接続されたDNSサーバ81に切り替えるように、通信部37を制御する。
 後述するが、一実施形態では、制御部31には、ファームウェアの機能の一部として上述したLANアナライザ(LAN解析部の一例)が組み込まれている。LANアナライザは、通信部37からLAN経由で受信したパケットを解析する。LANアナライザにより得られる解析ファイルに基づいて、LAN経由での通信が遮断された原因を解析することが可能となる。
 LANアナライザによるパケットの解析開始、及び、パケットの解析停止は、通信部37から移動体通信ネットワーク等を介して管理サーバ5から受信するコマンドによって制御される。
 操作入力部32は、例えば、ボタン、あるいは表示部23の表示パネルに実装されるタッチ入力装置等の入力装置を含み、利用者による操作入力を受け付ける。表示部33は、例えばLCD等の表示パネル及び表示駆動回路を含み、ファームウェアの実行結果を表示する。
 搬送部34は、図示しないプラテンローラ、モータ駆動回路、および、ステッピングモータを含み、プリンタ3内のラベル等の印字媒体の搬送を行う。
 印字部35は、図示しないサーマルヘッドおよびヘッド駆動回路を含み、印字要求に応じて、サーマルヘッドの複数の発熱素子に選択的に電流を流すことで、印字を行う。
 ストレージ36は、不揮発性のメモリであり、例えばフラッシュメモリ等のSSD(Solid State Drive)である。ストレージ36には、例えばLANアナライザによって得られた解析ファイルが記録される。また、ストレージ36は、ルートテーブルを格納する。
 通信部37は、LANに接続されたゲートウェイGW1を介して、利用者端末2等のLANに接続された外部の装置と通信を行う。すなわち、通信部37は、制御部31による制御の下、LAN経由でパケットを受信又は送信する。
 通信部37は、移動体通信ネットワークMCNに接続されたゲートウェイGW2を介して、インターネットIN経由で管理サーバ5又は管理者端末6と通信を行う。例えば、通信部37は、SIMカード等を介して移動体通信ネットワークMCNと接続するための通信回路と、アンテナと、例えばSIMカードが挿入可能なスロット等を備えている。
 一実施形態では、通信部37は、制御部31による制御の下、プリンタ3の状態情報やプリンタ3の設定情報を、例えば定期的に管理サーバ5に送信する。状態情報の送信タイミングは特に限定するものではないが、例えば、10~30分の間の所定のタイミング(例えば、15分間隔)である。設定情報の送信タイミングは特に限定しないが、例えば、プリンタ3の設定の変更のイベントが発生したタイミングである。
 通信部37と管理サーバ5との間の通信で使用される通信プロトコルは限定しないが、例えばMQTT又はMQTT over WebSocketである。
 図2に示すように、管理サーバ5は、制御部51、ストレージ52、及び、通信部53を備える。
 制御部51は、マイクロプロセッサとメモリを主体として構成され、管理サーバ5の全体を制御する。例えば、制御部51に含まれるマイクロプロセッサは、管理プログラムを実行することで、管理対象の複数のプリンタ3の各々について状態情報や設定情報をプリンタ3から取得し、図示しないプリンタ管理データベースを適宜、更新する。プリンタ管理データベースは、複数のプリンタ3の各々について状態情報や設定情報を格納するためのデータベースである。
 なお、制御部51は、プリンタ3に対してLANアナライザによるパケットの解析要求を行う解析要求部、及び、プリンタ3からLANアナライザによる解析結果(解析ファイル)を取得する取得部として機能する。
 一実施形態では、制御部51は、プリンタ3から取得した解析ファイルをストレージ52に格納する。
 ストレージ52は、例えばHDD(Hard Disk Drive)等の大規模記憶装置であり、プリンタ管理データベース及び解析ファイルが格納される。通信部53は、プリンタ3及び管理者端末6と通信を行うための通信インタフェースである。
 図2に示すように、管理者端末6は、複数のプリンタ3の状態情報や設定情報を一元的に管理し、制御部61、操作入力部62、表示部63、及び、通信部64を備える。
 制御部61は、マイクロプロセッサとメモリを主体として構成され、管理者端末6の全体を制御する。例えば、制御部61に含まれるマイクロプロセッサは、プリンタ管理アプリケーションを実行する。
 プリンタ管理アプリケーション上で管理者等が所定の操作を行うことで、プリンタ管理アプリケーションは、特定のプリンタ3に状態情報や設定情報、あるいは特定のプリンタ3によって得られた解析ファイルを表示部63に表示させる。それによって管理者等が、例えば不具合が生じたプリンタ3の不具合の原因を特定することが容易となるため、プリンタ3の利用者を支援することができる。
 操作入力部62は、例えば、マウス及び/又はキーボード、あるいは表示部63の表示パネルに実装されるタッチ入力装置等の入力装置を含み、利用者による操作入力を受け付ける。表示部63は、例えばLCD等の表示パネル及び表示駆動回路を含み、プリンタ管理アプリケーションの実行結果を表示する。
 通信部64は、プリンタ3及び管理サーバ5と通信を行うための通信インタフェースである。通信部64と管理サーバ5との間の通信で使用される通信プロトコルは限定しないが、例えばHTTPSである。
 前述したように、一実施形態では、プリンタ3の表示部33は、タッチパネル式の画面を備えている。プリンタ3の利用者は、画面上のボタンを操作することによりプリンタ3の通信設定を確認することができる。図3に、一実施形態のプリンタ3において、LAN側の通信設定とSIM側の通信設定の画面表示例を示す。
 プリンタ3の利用者は、LANを利用する場合、DHCP又は固定アドレスのいずれかを選択できる。図3の画面G1はDHCPを選択した場合のLAN側の通信設定の画面例を示し、図3の画面G2は固定アドレスを選択した場合のLAN側の通信設定の画面例を示す。図3の画面G3は、SIM側の通信設定の画面例を示す。
 図3のLAN側の通信設定において、「ゲートウェイ」の項目はデフォルトゲートウェイのIPアドレス(つまり、ゲートウェイGW1のIPアドレス)を示し、「DNS」の項目はDNSサーバのIPアドレスを示す。図3のSIM側の通信設定において、「ネクストホップ」の項目は、パケットの転送先のIPアドレス(つまり、ゲートウェイGW2のIPアドレス)を示す。
 図2に示すように、SIM側の通信設定では、スタティックルートは「0.0.0.0」の固定であり、利用者は変更できないため、画面G3の項目に含まれていない。
 次に、プリンタ3の通信部37が、ゲートウェイGW1を介して利用者端末2と通信中に、利用者端末2との通信異常が発生した場合を想定する。利用者端末2との通信異常の原因は、例えば、プリンタ3からのLANケーブルの抜去やゲートウェイGW1の故障等が考えられる。図4は、図2と比較して、プリンタ3とゲートウェイGW1の間の通信が遮断された状態を示している。
 プリンタ3の制御部31は、ゲートウェイGW1を介して利用者端末2と通信中に、利用者端末2との通信異常が発生した場合、インターネットINとの通信を確保すべく、デフォルトゲートウェイの設定をゲートウェイGW1からゲートウェイGW2に変更するように通信部37を制御する。図5は、デフォルトゲートウェイの設定をゲートウェイGW2に変更した場合の、プリンタ3からインターネットINまでの通信経路を示している。
 以下、プリンタ3の通信部37がゲートウェイGW1を介して利用者端末2と通信中であり、SIMを介して管理サーバ5と接続されている場合に、LANの通信異常によりLAN通信が遮断された場合のプリンタ3の制御部31の処理について、図6及び図7を参照して説明する。
 図6は、プリンタ3において、LAN通信が遮断された場合の処理を示すフローチャートである。図7は、プリンタ3において、LAN通信が遮断された場合に、プリンタ3における通信設定の画面の表示変化の例を示す図である。なお、図7において、LAN通信の遮断前の画面G1は、図3の画面G1と同じである。図7においてLAN通信の遮断後のSIM側の通信設定の画面G3は、図3の画面G3と同じである。
 プリンタ3の制御部31は、LAN通信の遮断を検出すると(ステップS2:YES)、ストレージ36内のルートテーブルを更新する(ステップS4)。ルートテーブルには、パケットを最初に転送するゲートウェイとしてデフォルトゲートウェイが記述されている。
 図7に示すように、LAN通信の遮断後には、LAN側の通信設定が画面G1aになる。画面G1aに示すように、デフォルトゲートウェイの設定が「0.0.0.0」となり、LAN側のDNSサーバ71を利用することができなくなるため、ステップS4では、プリンタ3は、デフォルトゲートウェイの設定をゲートウェイGW1からゲートウェイGW2に切り替えるようにして、ストレージ36内のルートテーブルを更新する。LAN通信が遮断された後においても、セッションが切れていなければSIM側のスタティックルートで管理サーバ5との通信を継続できるが、HTTPS通信のセッションは一時的であり、また、電波状況によってセッションが切れることもある。その場合、LAN側のDNSサーバ71によるドメイン名の解決ができなくなる。
 そこで、プリンタ3の制御部31は、デフォルトゲートウェイをゲートウェイGW1からゲートウェイGW2に切り替える。さらにプリンタ3は、LAN側のDNSサーバ71に代えて移動体通信ネットワークMCN側のDNSサーバ81を利用するように、DNSサーバの設定を更新する(ステップS6)。これによって、プリンタ3は、LAN経由での利用者端末2との通信が遮断された場合に、外部のインターネットINに接続された管理サーバ5や管理者端末6との通信が可能となる。
 プリンタ3の制御部31は、LAN通信の復旧を検出すると(ステップS8:YES)、デフォルトゲートウェイの設定をゲートウェイGW2からゲートウェイGW1に切り替えるようにして、ストレージ36内のルートテーブルを更新する(ステップS10)。さらに、プリンタ3の制御部31は、移動体通信ネットワークMCN側のDNSサーバ81に代えてLAN側のDNSサーバ71を利用するように、DNSサーバの設定を更新する(ステップS12)。すなわち、LAN経由での利用者端末2との通信が回復した場合に、利用者の操作を要せずにデフォルトゲートウェイの設定が自動的に元に戻り、ゲートウェイGW1経由で外部のインターネットINに接続された管理サーバ5や管理者端末6との通信が可能となる。
 なお、図6のフローチャートの処理は、LAN側の通信設定がDHCPの場合に限られる。LAN側の通信設定が固定アドレスの場合にLAN通信が遮断したときには、SIM側の通信は、セッションが切れた後にDNSサーバを参照できずドメイン名の解決ができなくなるため、プリンタ3の制御部31は、例えばMQTT/MQTT over WebSocketを利用した管理サーバ5との接続を切る。そして、LANの通信が回復した後にMQTT/MQTT over WebSocketを利用した管理サーバ5との再接続を試みる。
 次に、プリンタ3の通信部37が、ゲートウェイGW2を介して管理サーバ5と通信中に、管理サーバ5との通信異常が発生した場合を想定する。管理サーバ5との通信異常の原因は、例えば、プリンタ3からのSIMカードの抜去等が考えられる。図8は、図2と比較して、プリンタ3とゲートウェイGW2の間の通信が遮断された状態を示している。
 プリンタ3の制御部31は、ゲートウェイGW2を介して例えば管理サーバ5と通信中に、管理サーバ5との通信が遮断された場合、インターネットINとの通信を確保すべく、デフォルトゲートウェイの設定をゲートウェイGW2からゲートウェイGW1に変更する。
 図9は、プリンタ3によるSIM経由での通信が遮断された場合に、プリンタ3におけるSIM側の通信設定の画面の表示変化の例を示す図である。図9において、SIM経由での通信の遮断前の画面G3は、図3の画面G3と同じである。SIM経由での通信の遮断後には、SIM側の通信設定が画面G3aになる。画面G3aに示すように、ネクストホップ及びDNSの設定が「0.0.0.0」となってクリアされる。なお、SIMカードを再度挿入し、SIM経由での通信が可能になると、SIM側の通信設定は画面G3aから画面G3に戻る。
 SIMカードが再度挿入されると、SIM側のIPアドレス、ネクストホップ(ゲートウェイGW2)、DNSサーバの設定が再度DHCPサーバ72から割り当てられる。
 以上説明したように、本実施形態のプリンタ3は、LANに接続されたゲートウェイGW1を介して利用者端末2と通信を行い、移動体通信ネットワークMCNに接続されたゲートウェイGW2を介して管理サーバ5と通信を行う通信部37を備える。プリンタ3の制御部31は、ゲートウェイGW1を介して利用者端末2と通信中に、利用者端末2との通信が遮断された場合に、デフォルトゲートウェイの設定をゲートウェイGW1からゲートウェイGW2に切り替えるように、通信部37を制御する。そのため、プリンタ3は、LAN経由での利用者端末2との通信が遮断された場合に、外部のネットワークに接続された管理サーバ5との通信が可能となる。
 次に、LAN通信異常が発生したことによりLAN通信が遮断された場合のプリンタ3の処理の一実施形態について説明する。
 図6を参照して、LAN通信異常によりLAN通信が遮断された場合のプリンタ3の処理を示したが、この処理によってSIM経由での通信による管理サーバ5及び管理者端末6との通信経路が確保されるため、この通信経路を介してLAN通信が遮断された原因を特定することができる。
 以下、図10に示すシーケンスチャートを参照して、一実施形態において、LAN通信が遮断された場合のプリンタ3の処理について説明する。図10では、LAN通信が遮断される前に、プリンタ3がMQTTによりゲートウェイGW1経由で管理サーバ5と定期的に通信(例えば状態情報や設定情報の送信)を行っている場合を想定する。
 図10を参照すると、利用者端末2には、例えば、プリンタ3からラベルを発行させようとしたもののプリンタ3と通信ができない場合、例えば通信できないことを示すメッセージ等が表示される(ステップS21)。利用者端末2は、例えば管理者端末6に対して不具合が発生したことを示すメッセージを送信する(ステップS22)。ステップS22のメッセージは、利用者端末2にプリンタ管理アプリケーションがインストールされている場合には当該アプリケーションにより送信してもよいし、例えば電子メール等で送信してもよい。ステップS22に代えて利用者が管理者に電話で不具合の発生を伝えてもよい。
 管理者端末6の制御部61は、プリンタ管理アプリケーションにより表示される画面上で、プリンタ3のLANにおける通信状況を分析するため、管理者によりプリンタ3のLANアナライザを遠隔で動作させるための所定の操作を操作入力部62から受け付ける(ステップS24)。
 図11に、管理者端末6のプリンタ管理アプリケーションにより表示される画面例である画面G5を示す。画面G5は、複数のタブを含むタブ群100、ボタンb1,b2、テキストボックスbx1、及び、解析ファイル一覧102を含む。プリンタ3のLANアナライザに対する遠隔動作は、ボタンb1を操作することで受け付けられる。なお、LANアナライザに対する遠隔動作は、テキストボックスbx1にポート番号を入力することで解析対象のポート番号を指定することができる。
 ステップS24の操作受付に応じて管理者端末6の制御部61は、通信部64を介して、プリンタ管理アプリケーションにより、例えばパケット解析開始要求を管理サーバ5に送信する。管理サーバ5の制御部51は、通信部53を介して、パケット解析開始要求に応じたMQTTメッセージをプリンタ3に送信する(ステップS26)。プリンタ3のLANアナライザは、例えば受信したMQTTメッセージを解釈してLANから受信するパケットの解析を開始する(ステップS28)。すなわち、LANアナライザは、移動体通信ネットワークMCNを介して得られる管理サーバ5からの要求に応じて、パケットを解析する。
 なお、ステップS26のMQTTメッセージを受信する時点でLANアナライザは起動済みである場合を想定している。LANアナライザが起動していない場合には、パケットの解析はできないが、LANとの通信が回復した後にLANアナライザを起動させることで、再度LANとの通信が遮断された場合にパケットの解析を行うことができる。LANの通信が頻繁に遮断する場合には、LANアナライザを予め起動しておくようにしてもよい。
 ここで、プリンタ3の制御部31がLAN通信の遮断を検出すると(ステップS30)、ルートテーブルを更新し、デフォルトゲートウェイの設定をゲートウェイGW1からゲートウェイGW2に変更する(ステップS32)。さらにプリンタ3の制御部31は、管理サーバ5との間でMQTTの接続を更新する(ステップS34)。このMQTTの接続の更新では、DNSサーバの設定をLAN側のDNSサーバ71から移動体通信ネットワークMCN側のDNSサーバ81に更新する。なお、ステップS30~S34の処理はそれぞれ、図6のステップS2~S6の処理と同じである。
 管理者端末6の制御部61は、プリンタ3のLANにおける通信状況を分析するのに必要な時間が経過すると、プリンタ管理アプリケーションにより管理者端末6に表示される画面上での管理者によるボタンb2(図11参照)の操作に応じて、パケット解析停止要求を管理サーバ5に送信する。管理サーバ5の制御部51は、通信部53を介して、例えばSIM等を介して移動体通信ネットワークMCNに接続することでパケット解析停止要求に応じたMQTTメッセージをプリンタ3に送信する(ステップS36)。プリンタ3の制御部31は、ステップS36により受信したMQTTメッセージを解釈し、LANから受信するパケットの解析を停止するようにLANアナライザを制御する。
 次いで、管理者端末6の制御部61は、通信部64を介して、解析ファイルアップロード要求を管理サーバ5を介してプリンタ3に送信する。プリンタ3のLANアナライザは、パケットの解析結果を示す解析ファイルを圧縮及び暗号化して(ステップS40)、管理サーバ5に送信する(ステップS42)。LANによる通信に障害が発生している場合でも、プリンタ3は、ゲートウェイGW2を介して移動体通信ネットワークMCNに接続することで、解析ファイルを管理サーバ5に送信することができる。管理サーバ5は、受信した解析ファイルを送信元のプリンタ3の識別情報と関連付けて保存する。
 管理者端末6の制御部61は、プリンタ管理アプリケーション上で管理者により当該解析ファイルを指定する所定の操作を受け付けると、管理サーバ5に対して解析ファイルを要求、取得して解析ファイルを表示部63に表示する。図11の画面G5では、解析ファイル一覧102に、取得した解析ファイルが表示される。プリンタ管理アプリケーションは、解析ファイル一覧102において解析ファイルを指定した所定の操作に応じてネットワークアナライザを起動させ、解析ファイルを復号及び伸長し(ステップS44)、解析ファイルを管理者により分析しやすい形式で表示させる(ステップS46)。
 図12に、ステップS46で表示される解析ファイルの一例を示す。
 図12に示す画面例は、概要表示部201、及び、詳細表示部202を含む。概要表示部201は、キャプチャされた1以上のパケットの概要を示す部分であり、各行が1パケットに対応している。各行は、パケットキャプチャ時刻(Time)、送信元IPアドレス(Source)、宛先IPアドレス(Destination)、プロトコル(Protocol)、データ長さ(Length)、概要情報(Info)のデータを含む。図12に例示する画面を参照することで、例えば管理者等は、プリンタ3がLAN経由で利用者端末2と通信ができない等の通信エラーが生じた場合に、通信エラーの発生原因を分析して解決することが可能となる。
 その際、管理サーバ5の制御部51は、プリンタ3から取得した解析ファイルに基づいて、自動的にLANに起因する通信異常の有無を判定し、判定結果に基づきプリンタ3に対して通信プロトコルの設定変更の要求等を行ってもよい。例えば、管理サーバ5の制御部51は、プリンタ3から取得する設定情報や状態情報に予め対応させたエラー状態等を特定すると、プリンタ3のLANアナライザに対して、特定したエラー状態に関連する解析要求を行う。管理サーバ5は、予めステータスコマンド等やプリンタ設定情報や状態情報に対応付けられた判定テーブルを参照し、解析パケットから抽出したステータスコマンドやプリンタから取得した設定情報や状態情報に対応させたLANに起因する通信エラーを特定すると、特定した通信エラーに対応させて通信プロトコルの設定変更の要求をプリンタ3に対して行ってもよい。
 一実施形態では、プリンタ3の制御部31は、LAN通信が遮断された場合に、通信のセキュリティを高めるためにゲートウェイGW2を介して管理サーバ5と通信を行うときに許可する通信ポートを制限するように、通信部37を制御するとよい。
 ゲートウェイGW2を介して通信を行うときには、管理サーバ5又は管理者端末6との通信とは無関係な通信ポートの使用を禁止することで外部からのアクセスに対する脅威からプリンタ3を保護できる。一実施形態では、ゲートウェイGW2を介して通信を行うときに許可する通信ポートは、8883番(MQTT)、443番(HTTPS又はMQTT over WebSocket)、53番(DNS)である。
 以上、本発明のプリンタ、プログラム、及び、情報処理システムの一実施形態について詳細に説明したが、本発明は上記の実施形態に限定されない。また、上記の実施形態は、本発明の主旨を逸脱しない範囲において、種々の改良や変更が可能である。
 本発明は、2022年11月21日に日本国特許庁に出願された特願2022-185417の特許出願に関連しており、この出願のすべての内容が本願の明細書に参照によって組み込まれる。
 

Claims (8)

  1.  LAN(Local Area Network)に接続され、デフォルトゲートウェイの設定がされた第1ゲートウェイを介して第1装置と通信を行い、移動体通信ネットワークに接続された第2ゲートウェイを介して第2装置と通信を行う通信部と、
     前記第1ゲートウェイを介して前記第1装置と通信中に、前記第1装置との通信異常が発生した場合に、前記デフォルトゲートウェイの設定を前記第1ゲートウェイから前記第2ゲートウェイに切り替えて、前記第2の装置と通信するように、前記通信部を制御する制御部と、
     を備えたプリンタ。
  2.  前記制御部は、前記第1装置との通信が回復した場合に、前記デフォルトゲートウェイの設定を前記第2ゲートウェイから前記第1ゲートウェイに切り替えるように、前記通信部を制御する、
     請求項1に記載されたプリンタ。
  3.  前記LAN経由で受信したパケットを解析するLAN解析部を備えた、
     請求項1又は2に記載されたプリンタ。
  4.  前記LAN解析部は、前記移動体通信ネットワークを介して得られる前記第2装置からの要求に応じて、前記パケットを解析する、
     請求項3に記載されたプリンタ。
  5.  前記第1装置との通信が遮断された場合に、前記制御部は、前記第2ゲートウェイを介して前記第2の装置と通信を行うときに許可する通信ポートを制限するように前記通信部を制御する、
     請求項1又は2に記載されたプリンタ。
  6.  前記制御部は、前記第1装置との通信が遮断された場合に、ドメイン名の解決を行うためにアクセスするDNS(Domain Name System)サーバを、前記LANに接続された第1DNSサーバから前記移動体通信ネットワークに接続された第2DNSサーバに切り替えるように、前記通信部を制御する、
     請求項1又は2に記載されたプリンタ。
  7.  プリンタの通信を制御するためのプログラムであって、
     コンピュータを、
     LAN(Local Area Network)に接続され、デフォルトゲートウェイの設定がされた第1ゲートウェイを介して第1装置と通信を行い、移動体通信ネットワークに接続された第2ゲートウェイを介して第2装置と通信を行う通信手段、及び、
     前記第1ゲートウェイを介して前記第1装置と通信中に、前記第1装置との通信異常が発生した場合に、前記デフォルトゲートウェイの設定を前記第1ゲートウェイから前記第2ゲートウェイに切り替えて、前記第2の装置と通信するように制御する制御手段、
     として機能させるためのプログラム。
  8.  プリンタと、前記プリンタと通信可能なサーバと、を含む情報処理システムであって、
     前記プリンタは、
     LAN(Local Area Network)に接続され、デフォルトゲートウェイの設定がされたた第1ゲートウェイを介して情報処理装置と通信を行い、移動体通信ネットワークに接続された第2ゲートウェイを介して前記サーバと通信を行う通信部と、
     前記第1ゲートウェイを介して前記情報処理装置と通信中に、前記情報処理装置との通信異常が発生した場合に、前記デフォルトゲートウェイの設定を前記第1ゲートウェイから前記第2ゲートウェイに切り替えて、前記サーバと通信するように、前記通信部を制御する制御部と、
     前記LAN経由で受信したパケットを解析するLAN解析部と、を備え、
     前記サーバは、
     前記プリンタに対して前記LAN解析部によるパケットの解析要求を行う解析要求部と、
     前記プリンタから前記LAN解析部による解析結果を取得する取得部と、を備えた、
     情報処理システム。
PCT/JP2023/038851 2022-11-21 2023-10-27 プリンタ、プログラム、及び、情報処理システム WO2024111357A1 (ja)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2022185417A JP2024074335A (ja) 2022-11-21 2022-11-21 プリンタ、プログラム、及び、情報処理システム
JP2022-185417 2022-11-21

Publications (1)

Publication Number Publication Date
WO2024111357A1 true WO2024111357A1 (ja) 2024-05-30

Family

ID=91195473

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2023/038851 WO2024111357A1 (ja) 2022-11-21 2023-10-27 プリンタ、プログラム、及び、情報処理システム

Country Status (2)

Country Link
JP (1) JP2024074335A (ja)
WO (1) WO2024111357A1 (ja)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006094277A (ja) * 2004-09-27 2006-04-06 Aruze Corp 無線lanアクセスポイント
JP2007053681A (ja) * 2005-08-19 2007-03-01 Ricoh Co Ltd 通信機器、通信方法、通信プログラム
WO2019026519A1 (ja) * 2017-07-31 2019-02-07 サトーホールディングス株式会社 プリンタ、プログラム、および通信システム

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006094277A (ja) * 2004-09-27 2006-04-06 Aruze Corp 無線lanアクセスポイント
JP2007053681A (ja) * 2005-08-19 2007-03-01 Ricoh Co Ltd 通信機器、通信方法、通信プログラム
WO2019026519A1 (ja) * 2017-07-31 2019-02-07 サトーホールディングス株式会社 プリンタ、プログラム、および通信システム

Also Published As

Publication number Publication date
JP2024074335A (ja) 2024-05-31

Similar Documents

Publication Publication Date Title
EP2523403B1 (en) Network system and network redundancy method
JP5093598B2 (ja) 制御中継プログラム、制御中継装置および制御中継方法
US10462232B2 (en) Non-transitory computer-readable medium for server
EP1925128B1 (en) Optimized synchronization of mac address tables in network interconnection apparatuses
CN102959910A (zh) 通过通信信道将网元的分组转发配置的更改通知控制器
JP2006013827A (ja) パケット転送装置
CN110603789B (zh) 打印机、能够由计算机读取的存储介质以及通信***
US7880914B2 (en) Image processing apparatus and method of controlling network access of image processing apparatus
KR20030084613A (ko) 게이트웨이, 통신 단말 장치 및 통신 제어 프로그램
US20090193133A1 (en) Network device management apparatus, control method therefor, network system, and storage medium
EP3291509B1 (en) Information processing device and non-transitory recording medium
JP2014149754A (ja) 認証スイッチまたはネットワークシステム
JP3996922B2 (ja) 異なる通信プロトコルが併存するネットワークにおけるネットワーク接続手段の一元管理システム及び方法
CN101562576A (zh) 一种路由发布方法和设备
WO2024111357A1 (ja) プリンタ、プログラム、及び、情報処理システム
JP2008283542A (ja) ネットワークシステム
JP6870337B2 (ja) 画像形成装置、アクセス支援方法、およびコンピュータプログラム
JP5668503B2 (ja) 有害サイトフィルタリングシステム及びフィルタリング方法
JP5034110B2 (ja) 電子会議システム、通信端末、データ通信方法およびプログラム
CN113660109B (zh) 网关切换方法、装置、终端设备及计算机可读存储介质
CN115996237B (zh) 用于物联网终端的远程管理方法、处理器及存储介质
US20240146687A1 (en) Gateway Handover method and Apparatus, Terminal Device and Computer Readable Storage Medium
JP6916126B2 (ja) 通信システム、通信制御装置、通信方法、及びプログラム
JP4271062B2 (ja) 移動情報通信対応認証連携型分散ファイアウォールシステム、ファイアウォール装置、およびセキュリティポリシ管理サーバ
JP2006094277A (ja) 無線lanアクセスポイント

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: 23894369

Country of ref document: EP

Kind code of ref document: A1