Method, communication system, and server

A server-based method facilitates seamless printer setting transfer by generating a one-time code to specify the second printer as a takeover destination, ensuring uninterrupted printing and preventing communication issues, addressing the challenge of transferring settings between connected printers.

JP2024143161APending Publication Date: 2024-10-11BROTHER KOGYO KK
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023055691
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-30
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

Existing communication systems face challenges in seamlessly transferring printer settings and service information from a first printer to a second printer, particularly when both printers are connected to the same local area network, leading to potential communication inconveniences.

Method used

A method involving a server that generates and manages specific information, such as a one-time code, to specify the second printer as a takeover destination, transfers setting information from the first printer to the second printer, and stops communication with the terminal device using the first printer's port name, ensuring seamless integration and preventing communication issues.

Benefits of technology

Enables the second printer to take over the settings of the first printer, allowing uninterrupted printing operations without requiring user intervention on the terminal device, while preventing communication disruptions and ensuring compatibility between the two printers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024143161000001_ABST
    Figure 2024143161000001_ABST
Patent Text Reader

Abstract

To take over information on a first printer to a second printer.SOLUTION: A server generates specifying information in response to a request from a second printer, stores the specifying information and identification information of the second printer in association with each other, and transmits the specifying information to the second printer. The second printer notifies a user of the specifying information. When acquiring the specifying information, a first printer transmits the specifying information to the server. The server identifies, the second printer, as a printer to take over information, on the basis of the specifying information, and transmits setting information of the first printer to the second printer. The setting information of the first printer includes specific identification information for a terminal device to identify the first printer, in communication between the terminal device of the user and the first printer. The first printer executes stop processing to stop the communication with the terminal device using the specific identification information.SELECTED DRAWING: Figure 4
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present specification relates to a method performed in a printer and a server, a communication system including a printer and a server, and a server capable of communicating with a printer. [Background technology]

[0002] Patent Document 1 discloses a technique for transferring flat-rate service information from one printer to another printer in a communication system. For example, in response to a transfer code request from the one printer, a server transmits a transfer code to the one printer. A user inputs the transfer code displayed on the one printer into the other printer. When the other printer transmits the transfer code input by the user to the server, the server associates the flat-rate service information with the ID of the other printer. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2021-163309 A Summary of the Invention [Problem to be solved by the invention]

[0004] This specification discloses a new technique for transferring information about a first printer to a second printer. [Means for solving the problem]

[0005] The technology disclosed in this specification can be realized in the following application examples.

[0006] [Application Example 1] A method executed by a first printer, a second printer to be used in place of the first printer, and a server capable of communicating with the first printer and the second printer, comprising: a generating step in which the server generates specific information in response to a request from the second printer; a storing step in which the server stores the specific information in association with second printer identification information that identifies the second printer; a first transmitting step in which the server transmits the specific information to the second printer; a notifying step in which the second printer notifies a user of the specific information; a first storing step in which the server stores setting information of the first printer in a memory of the server, the setting information of the first printer including specific identification information for the terminal device to identify the first printer in communication between the user's terminal device and the first printer; a third sending step in which the server sends the setting information of the first printer to the second printer that has been specified as the takeover destination; a second storing step in which the second printer stores the setting information of the first printer in the memory of the second printer as the setting information of the second printer; and a stop step in which the first printer executes a stop process to stop communication with the terminal device using the specific identification information.

[0007] According to the above configuration, the server identifies the second printer as a takeover destination based on the identification information, and transmits the setting information of the first printer, including the identification information, to the second printer. As a result, the second printer can take over the setting of the first printer. For example, the user's terminal device can use the identification information to perform communication with the second printer similar to the communication with the first printer, and can cause the second printer to execute printing, for example. In addition, the first printer executes a stop process to stop communication between the terminal device and the first printer using the identification information, so that the inconvenience of the identification information being valid in both the first printer and the second printer can be suppressed.

[0008] In an environment where a first printer and a second printer are connected to the same local area network, inconveniences may occur if specific identification information is valid in both the first printer and the second printer, but the above configuration can prevent such inconveniences from occurring.

[0009] The technology disclosed in this specification can be realized in various forms, such as a communication system, a method, a server, a printer, a computer program for realizing these devices, systems, and methods, a recording medium on which the computer program is recorded, and the like. [Brief description of the drawings]

[0010] [Figure 1] FIG. 1 is a block diagram showing the configuration of a system 1000. [Diagram 2] 4 is an explanatory diagram of a management database DB and a setting information database SB (SBa) of a first printer 100A. [Diagram 3] FIG. 11 is a first sequence diagram of the setting takeover process. [Figure 4] FIG. 2 is a second sequence diagram of the setting takeover process. [Diagram 5] FIG. 11 is a third sequence diagram of the setting takeover process. [Figure 6] FIG. 4 is a fourth sequence diagram of the setting takeover process. [Figure 7] FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] A. Working Example A1. System 1000 Configuration 1 is a block diagram showing the configuration of a system 1000. The system 1000 includes a first printer 100A, a second printer 100B, a first server 200, a second server 300, and a terminal device 400.

[0012] The first printer 100A is a device that consumes ink as a printing material to perform printing. The first printer 100A includes a CPU 110 as a controller of the first printer 100A, a volatile storage device 120 such as a DRAM, and a non-volatile storage device 130 such as a hard disk or a flash memory. The first printer 100A also includes a display unit 140 such as a liquid crystal display for displaying images, an operation unit 150 such as a button or a touch panel for acquiring operations by a user, a printing mechanism 170, and a communication interface (IF) 180.

[0013] The communication IF 180 is an interface for connecting to the Internet IT, for example, a wired interface conforming to Ethernet (registered trademark) or a wireless interface conforming to the Wi-Fi standard.

[0014] The CPU 110 is a calculation device (processor) that processes data. The volatile storage device 120 provides a buffer area for temporarily storing various intermediate data generated when the CPU 110 performs processing. The non-volatile storage device 130 stores a computer program PGp for controlling the first printer 100A, and a setting information database SB in which various types of service information and setting information described later are recorded.

[0015] In this embodiment, the computer program PGp is ​​provided by being stored in advance in the non-volatile storage device 130 when the first printer 100A is manufactured. Alternatively, the computer program PGp may be provided in a form in which it is downloaded from a server connected via the Internet IT, or in a form recorded on a CD-ROM or the like.

[0016] The CPU 110 executes various processes for controlling the first printer 100A by executing the computer program PGp. For example, the first printer 100A (CPU 110) controls the print mechanism 170 to print an image. In addition, the first printer 100A executes the computer program PGp to communicate with the second printer 100B and the server 300 and execute a setting handover process, which will be described later.

[0017] The printing mechanism 170 executes printing under the control of the CPU 110. The printing mechanism 170 of this embodiment is an inkjet printing mechanism that prints an image on a recording medium using a plurality of types of ink, for example, four types of ink: cyan (C), magenta (M), yellow (Y), and black (K). Alternatively, the printing mechanism 170 may be an electrophotographic printing mechanism that prints an image on a recording medium using toner contained in a toner cartridge as a coloring material.

[0018] The second printer 100B is a printer to be used in place of the first printer 100A, for example, when a malfunction such as a breakdown occurs in the first printer 100A. The second printer 100B has components 110 to 180 similar to those of the first printer 100A. A description of the components of the second printer 100B will be omitted. In order to distinguish between the setting information database SB of the first printer 100A and the setting information database SB of the second printer 100B, the setting information database SB of the first printer 100A will also be called the setting information database SBa, and the setting information database SB of the second printer 100B will also be called the setting information database SBb.

[0019] The first printer 100A and the second printer 100B are connected to a local area network LN, and are connected to the Internet IT via the local area network LN. The second printer 100B does not need to be connected to the first printer 100A so as to be able to communicate with it. For this reason, the second printer 100B does not need to be connected to the same local area network LN, and may be connected to the Internet IT via a different local area network.

[0020] The first server 200 and the second server 300 are, for example, computers, such as cloud servers, operated by businesses that manufacture and sell the first printer 100A and the second printer 100B. The second server 300 functions as a WEB server with the printers 100A and 100B as clients, and can provide various functions to the printers 100A and 100B as WEB applications. In this embodiment, as described later, a function of transferring the setting information of the first printer 100A to the second printer 100B is realized as a WEB application. The first server 200 mainly establishes a constant connection between the printers 100A and 100B, and relays communication between the printers 100A and 100B and other servers (for example, the second server 300 or a server that provides another service not shown) using the constant connection. This allows the other servers to communicate with the printers 100A and 100B at any time across the firewall of the local area network LN, even without receiving a request from the printers 100A and 100B via the first server 200.

[0021] The first server 200 includes a CPU 210 as a controller of the first server 200, a volatile storage device 220 such as a DRAM, a non-volatile storage device 230 such as a hard disk or a flash memory, and a wired or wireless communication IF 280 for connecting to the Internet IT. The first server 200 is connected to the Internet IT. This allows the first server 200 to communicate with each of the first printer 100A, the second printer 100B, and the second server 300 via the Internet IT.

[0022] The CPU 210 is a computing device (processor) that performs data processing. The volatile storage device 220 provides a buffer area for temporarily storing various intermediate data generated when the CPU 210 performs processing. The non-volatile storage device 230 stores a computer program PGa and a management database DB.

[0023] The computer program PGa is provided, for example, in a form uploaded by a business operator who operates the first server 200. The first server 200 (CPU 210) executes the computer program PGa to execute the setting transfer process in cooperation with the first printer 100A, the second printer 100B, and the second server 300. The management database DB stores data, described later, that is necessary for the setting transfer process.

[0024] The second server 300 has the same configuration as the first server 200, that is, includes a CPU 310, a volatile storage device 320, a non-volatile storage device 330, and a communication IF 380. The second server 300 is connected to the Internet IT. This allows the second server 300 to communicate with each of the first printer 100A, the second printer 100B, and the first server 200 via the Internet IT.

[0025] A computer program PGb different from the computer program PGa is stored in the non-volatile storage device 330. The computer program PGb is provided, for example, in a form of being uploaded by a business operator that operates the second server 300. The second server 300 (CPU 310) executes the computer program PGb to execute a setting takeover process in cooperation with the first printer 100A, the second printer 100B, and the first server 200.

[0026] The terminal device 400 is a computer of a user of the printers 100A and 100B, such as a personal computer. The terminal device 400 includes a CPU and a storage device, which are not shown. For example, the user operates the terminal device 400 to send a print job from the terminal device 400 to the printer 100A, thereby causing the printer 100A to execute printing.

[0027] A2. Management database DB and setting information database SB The following describes the management database DB stored in the nonvolatile storage device 230 of the first server 200 and the setting information database SB (SBa, SBb) stored in the nonvolatile storage device 130 of the printers 100A and 100B. Fig. 2 is an explanatory diagram of the management database DB and the setting information database SB (SBa) of the first printer 100A.

[0028] The management database DB includes a device management table DT that records the account ID of a user and the device ID of the printer of the user in association with each other, as shown in Fig. 2(A). In this embodiment, the device management table DT records the account ID of a user who uses a print service that utilizes communication via the first server 200 and the device ID of the printer used for the print service in association with each other. The device ID of a printer not used for the print service is recorded in the device management table DT, but is not associated with an account ID.

[0029] The printing service is, for example, a printing material management service that manages the remaining amount of printing material such as ink in a printer and delivers the printing material to a user according to the consumption of the printing material, and a remote printing service that generates a print job using an image file sent from a user's mobile terminal and sends it to the printer to make the printer perform printing. A server (not shown) that provides these printing services is connected to the first server 200 via the Internet IT, and uses a constant connection established between the first server 200 and a printer (for example, the first printer 100A) to obtain information on the remaining amount of printing material from the printer, send a print job to the printer, etc.

[0030] In addition, in other servers (not shown) that provide printing services, various service information related to the printing services is stored in association with the user's account ID. This service information includes, for example, address information indicating the delivery destination for the printing materials to be delivered to the user, an email address indicating the user's contact information, and payment information such as the user's credit card number. The device management table DT (FIG. 2(A)) of the management database DB associates this service information with the device ID of the printer that is the target of the printing service via the user's account ID.

[0031] The setting information database SBa of the first printer 100A is a database in which various setting information related to the first printer 100A is recorded. The setting information database SB may include service information SI, a port name PN, and print setting information PS, as shown in FIG. 2B.

[0032] The service information SI is, for example, information related to a print service that is recorded when a user receives a print service using the first printer 100A. The service information SI includes, for example, authentication information for communicating with a server (not shown) that provides the print service, and information indicating the usage status of the print service (for example, the number of printed sheets).

[0033] The port name PN is an identifier different from the device ID, and is used by the terminal device 400 of the user to identify the first printer 100A in communication between the terminal device 400 and the first printer 100A. For example, the terminal device 400 can send a print job to the first printer 100A having the port name PN by specifying the port name PN and sending the print job. The port name PN is set so that it is not duplicated among the devices connected to the local area network LN so that one communication partner can be correctly specified. In this embodiment, the port name PN is created based on the MAC address. For example, a character string obtained by adding a specific character string to the MAC address is used as the port name PN. The port name PN is used, for example, when the OS (operating system) of the terminal device is Windows (registered trademark), and is also called a "NetBIOS name".

[0034] The print setting information PS is setting information related to printing, and includes various setting information related to, for example, paper, printing node, printing mode, etc., set by the user.

[0035] Although not shown in the figure, the setting information database SBa may include various other setting information, specifically, network settings related to connections to the local area network LN and the Internet IT.

[0036] The setting information database SBb of the second printer 100B can store the same setting information as the setting information database SBa (FIG. 2A) of the first printer 100A described above, but is in an initial state at the start of the setting transfer process described below. In the initial state, the setting information database SBb stores information indicating initial settings such as print setting information PS, and does not store unset information such as the port name PN and service information SI.

[0037] A3. Setting transfer process For example, suppose that a user purchases a new second printer 100B (also called a new device) to replace a currently used first printer 100A (also called a current device). In such a case, the user may want to transfer the setting information of the first printer 100A to the second printer 100B. In addition, if the user is using a printing service (such as the above-mentioned printing material management service or remote printing service) using the first printer 100A, the user may want to continue using the printing service using the second printer 100B. The following describes a setting transfer process for transferring setting information and service information from the first printer 100A (current device) to the second printer 100B (new device).

[0038] The user sets up the purchased second printer 100B so that it can communicate with the first server 200 and the second server 300. Specifically, the second printer 100B is connected to the local area network LN and is made capable of communicating with the servers 200, 300 via the local area network LN and the Internet IT. The user then turns on the power of the second printer 100B.

[0039] 3 to 6 are sequence diagrams of the setting takeover process. The user operates the operation unit 150 of the second printer 100B to input an activation instruction to activate communication using a constant connection with the second server 300 to the second printer 100B.

[0040] When the second printer 100B receives the activation instruction, in S12 it transmits an activation request to the second server 300. Note that communication between the second printer 100B and the second server 300 is performed using HTTP (Hypertext Transfer Protocol). Data transmitted from the second printer 100B to the second server 300 is transmitted as an HTTP request, and data transmitted from the second server 300 to the second printer 100B is transmitted as an HTTP response to the HTTP request received immediately before.

[0041] When the second server 300 receives the activation request, it transmits a constant connection instruction to the second printer 100B in S14. When the second printer 100B receives the constant connection instruction, it communicates with the first server 200 in S16 to establish a constant connection between the second printer 100B and the first server 200. The constant connection is, for example, a connection according to XMPP (eXtensible Messaging and Presence Protocol). This allows the first server 200 to transmit data to the second printer 100B at any timing. The constant connection is established in a thread different from the communication between the second printer 100B and the second server 300. Thereafter, communication between the second printer 100B and the first server 200 is performed using the constant connection established in this step.

[0042] In the process of establishing a constant connection in S16, the first server 200 generates a device ID (also called a new device ID "DID_b") that identifies the second printer 100B, and records the device ID in the management database DB. The first server 200 also transmits the device ID to the second printer 100B, and the second printer 100B records the device ID in its own setting information database SBb.

[0043] When a constant connection is established between the second printer 100B and the first server 200, the second printer 100B transmits an activation completion notification to the second server 300 in S18. Upon receiving the activation completion notification, the second server 300 transmits menu screen data to the second printer 100B in S20.

[0044] When the second printer 100B receives the menu screen data, in S22, the second printer 100B uses the menu screen data to display a menu screen (not shown) on the display unit 140. The menu screen includes a one-time code button for inputting an instruction to issue a one-time code. The user presses the one-time code button.

[0045] When the one-time code button is pressed, in S24, the second printer 100B transmits a one-time code request requesting the issuance of a one-time code to the second server 300. When the second server 300 receives the one-time code request, in S26, it transmits a token acquisition instruction to the second printer 100B to instruct the second printer 100B to acquire a device token.

[0046] When the second printer 100B receives the token acquisition instruction, in S28 it transmits a device token request to the first server 200 to request the issuance of a device token. When the first server 200 receives the device token request, in S29 it generates a device token "DTb" for the second printer 100B and records the device token "DTb" in the management database DB. As shown in FIG. 3, the device token "DTb" is recorded in association with the device ID (new device ID "DID_b") of the second printer 100B that was generated when establishing a constant connection in S16. The device token "DTb" is, for example, a character string including a predetermined number of characters, and is used as authentication information for communicating with the first server 200.

[0047] In S30, the first server 200 transmits the generated device token "DTb" to the second printer 100B. Upon receiving the device token "DTb", the second printer 100B transmits the device token "DTb" to the second server 300 in S32.

[0048] Upon receiving the device token "DTb", the second server 300 transmits a one-time code issuance instruction to the first server 200 in S34. The one-time code issuance instruction includes the device token "DTb". Upon receiving the one-time code issuance instruction, the first server 200 generates a one-time code "OC" in S36 and records the one-time code "OC" in the management database DB. The second server 300 identifies the device ID (new device ID "DID_b") of the second printer 100B recorded in association with the device token "DTb" included in the one-time code issuance instruction, and records the one-time code "OC" in association with the new device ID "DID_b" (FIG. 4). The one-time code is, for example, a predetermined number of randomly generated numbers.

[0049] In S38, the first server 200 transmits the one-time code "OC" and the new device ID "DID_b" to the second server 300. Upon receiving the one-time code "OC" and the new device ID "DID_b", the second server 300 associates the one-time code "OC" with the new device ID "DID_b" in S40 and records them in the non-volatile storage device 330 (FIG. 4).

[0050] In S42, the second server 300 generates and stores code print data for printing the one-time code. FIG. 7 is an explanatory diagram of the setting transfer process. FIG. 7(A) shows an example of a print image PI indicated by the code print data. This print image PI includes a message MS1 explaining that the setting information can be transferred using the one-time code, and a number NI indicating the one-time code "OC". The code print data is stored in the non-volatile storage device 330 in association with a URL (Uniform Resource Locator) indicating the location of the code print data.

[0051] The second server 300 transmits a print instruction for printing the print image PI to the second printer 100B via the first server 200. Specifically, in S44, the second server 300 transmits a print instruction to the first server 200, the print instruction including a URL indicating the location of the code print data, print settings for printing the print image PI, and the device ID of the second printer 100B received from the first server 200 in S38 (new device ID "DID_b"). The print settings are, for example, information specifying the paper size and print mode.

[0052] When the first server 200 receives the print instruction, it transmits the print instruction to the second printer 100B in S46. Specifically, the first server 200 recognizes that the destination of the print instruction is the second printer 100B based on the device ID of the second printer 100B included in the received print instruction. The first server 200 transmits the print instruction including the above-mentioned URL and print settings to the second printer 100B.

[0053] When the second printer 100B receives the print instruction, in S48 it sends a print data request with the URL included in the print instruction as the destination. This causes the print data request to be sent to the second server 300. When the second server 300 receives the print data request, in S50 it sends the code print data that has been saved in association with the URL to the second printer 100B.

[0054] When the second printer 100B receives the code print data, in S52, it uses the code print data to print a print image PI (FIG. 7A) on paper. The user can learn the one-time code by looking at the paper on which the print image PI is printed.

[0055] When the user obtains the one-time code, the user operates the operation unit 150 of the first printer 100A (current device) that is currently being used, and inputs a setting transfer instruction (FIG. 5).

[0056] When the first printer 100A receives the setting transfer instruction, in S62 it transmits a setting transfer request to the second server 300, requesting that its own setting information be handed over to another printer. Note that communication between the first printer 100A and the second server 300 is performed using HTTP, similar to the communication between the second printer 100B and the second server 300 described above. That is, data transmitted from the first printer 100A to the second server 300 is transmitted as an HTTP request, and data transmitted from the second server 300 to the first printer 100A is transmitted as an HTTP response to the HTTP request received immediately before.

[0057] When the second server 300 receives the setting takeover request, in S64 it transmits the code input screen data to the first printer 100A. When the first printer 100A receives the code input screen data, in S66 it displays the code input screen DW on the display unit 140 using the code input screen data.

[0058] 7(B) includes a message MS2 prompting the user to input a one-time code, an input field IB for inputting the one-time code, and a group of buttons NP for inputting a maintenance code. The user operates the group of buttons NP on the code input screen DW to input the known one-time code into the input field IB. When the first printer 100A acquires the one-time code, it transmits the one-time code and the device ID (current device ID) of the first printer 100A to the second server 300 in S68.

[0059] When the second server 300 receives the one-time code and the current device ID, in S70, it judges whether the printer having the current device ID (i.e., the first printer 100A) is a target device for the print service. In other words, it is judged whether a print service such as a printing material management service or a remote print service is provided using the first printer 100A. For example, the first printer 100A transmits information indicating whether it is a target device for the print service to the second server 300 in addition to the one-time code and the current device ID. The second server 300 judges whether the first printer 100A is a target device for the print service based on the information received from the first printer 100A. Alternatively, for example, the second server 300 may inquire of the first server 200 whether it is a target device for the print service. In this case, for example, if the device ID of the first printer 100A is associated with an account ID in the device management table DT, the first server 200 may determine that the first printer 100A is a target device for the printing service and notify the second server 300 of this fact.

[0060] If the first printer 100A is the target device for the print service (S70: YES), the second server 300 sends a service handover instruction to the first server 200. The service handover instruction is an instruction to change the target device for the print service from the first printer 100A (current device) to the second printer 100B (new device). The service handover instruction includes the one-time code already received in S72 and the device ID (current device ID) of the first printer 100A.

[0061] When the first server 200 receives the service handover instruction, in S74, it identifies the account ID of the user of the first printer 100A and the device ID (new device ID) of the second printer 100B. Specifically, in the device management table DT, the device ID "DID_a" (FIG. 2(A)) of the first printer 100A included in the service handover instruction is searched for, and the account ID "AC_a" associated with the device ID "DID_a" is identified. In addition, the new device ID "DID_b" (see S36 in FIG. 4) that has been recorded in association with the one-time code "OC" included in the service handover instruction, i.e., the device ID "DID_b" of the second printer 100B, is identified.

[0062] In S76, the first server 200 records the identified account ID "AC_a" and the device ID "DID_b" of the second printer 100B in association with each other in the device management table DT. The device ID "DID_a" of the first printer 100A, which had been associated with the account ID "AC_a", is deleted from the device management table DT. As a result, the target device of the print service that the user used with the account ID "AC_a" is changed from the first printer 100A to the second printer 100B.

[0063] In S78, the first server 200 transmits a takeover completion notification to the second server 300. The takeover completion notification includes the device ID (new device ID) of the second printer 100B. After S78, the process proceeds to S82 in FIG.

[0064] If the first printer 100A is not a target device for the print service (S70: NO), the second server 300 identifies the device ID (new device ID) of the second printer 100B in S80. Specifically, the new device ID "DID_b" (see S40 in FIG. 4) that has been recorded in association with the one-time code "OC" received from the first printer 100A in S68, i.e., the device ID "DID_b" of the second printer 100B, is identified. After S78, the process proceeds to S82 in FIG. 6.

[0065] In S82, the second server 300 transmits a setting information transmission instruction to the first printer 100A to instruct the first printer 100A to transmit the setting information. When the first printer 100A receives the setting information transmission instruction, in S84, the first printer 100A transmits the setting information stored in its own setting information database SBa to the second server 300. The setting information transmitted may be all of the setting information stored in the setting information database SBa, or may be a predetermined portion of the setting information. In this embodiment, for example, setting information including the service information SI, port name PN, and print setting information PS in FIG. 2B is read from the setting information database SBa and transmitted to the second server 300.

[0066] When the second server 300 receives the setting information of the first printer 100A, in S85, the second server 300 stores the setting information of the first printer 100A in its own memory (for example, the non-volatile storage device 330).

[0067] The second server 300 transmits a setting information write instruction including the setting information to the second printer 100B via the first server 200. By transmitting the setting information write instruction via the first server 200, the setting information write instruction can be transmitted to the second printer 100B using a constant connection. This allows the setting information write instruction to be transmitted immediately to the second printer 100B even if an HTTP request has not been received from the second printer 100B. Specifically, in S86, the second server 300 transmits a setting information write instruction including the setting information of the first printer 100A and the device ID of the second printer 100B (new device ID "DID_b") to the first server 200. The device ID of the second printer 100B (new device ID "DID_b") was acquired in S78 or S80 of FIG. 5.

[0068] When the first server 200 receives the setting information write instruction, in S88 it transmits the setting information write instruction to the second printer 100B. Specifically, the first server 200 recognizes that the destination of the print instruction is the second printer 100B based on the device ID of the second printer 100B contained in the received write instruction. The first server 200 transmits a setting information write instruction including the setting information of the first printer 100A to the second printer 100B.

[0069] When the second printer 100B receives the setting information write instruction, in S90 it stores the setting information included in the setting information write instruction in its own memory (non-volatile storage device 130). Specifically, the second printer 100B records setting information including the service information SI, port name PN, print setting information PS, etc. of the first printer 100A in a setting information database SBb stored in the non-volatile storage device 130. As a result, the setting information of the first printer 100A is passed on to the second printer 100B as the setting information of the second printer 100B.

[0070] Here, since the port name PN is recorded as configuration information in the second printer 100B, the user's terminal device 400 can use the port name PN used to identify the first printer 100A as the port name PN to identify the second printer 100B.

[0071] In S92, the second printer 100B transmits a write completion notification indicating that the setting information has been recorded in the setting information database SBb to the first server 200. Upon receiving the write completion notification, the first server 200 transmits the write completion notification to the second server 300 in S94.

[0072] When the second server 300 receives the write completion notification, in S96, it transmits a port name change instruction to the first printer 100A to instruct the change of the port name PN. If the second server 300 does not receive the write completion notification even after a predetermined period of time has elapsed, it does not transmit the port name change instruction to the first printer 100A and interrupts the setting transfer process. In this case, although not shown in the figure, the second server 300 transmits an interruption notice indicating that the setting transfer process has been interrupted to the first printer 100A. The first printer 100A displays the interruption notice on the display unit 140 to notify the user that the setting transfer process has been interrupted. In this case, the user, for example, presses the one-time code button on the second printer 100B to execute the setting transfer process again from S24 in FIG. 3.

[0073] When the first printer 100A receives the port name change instruction, in S98, it changes the currently set port name PN recorded in the setting information database SBa to another port name. For example, the first printer 100A generates another port name by adding a predetermined character string to the current port name PN or by replacing a part of the character string of the current port name PN with another character string, and records it in the setting information database SBa. As a result, even if a print job that specifies the original port name PN as the destination is subsequently sent from the user's terminal device 400 to the first printer 100A, the first printer 100A does not receive the print job. In S99, the first printer 100A sends a change completion notice to the second server 300 indicating that the change of the port name PN has been completed.

[0074] When the second server 300 receives the change completion notification, in S100, it determines whether or not the first printer 100A is a target device for the print service, similar to S70 in Fig. 5 described above. If the first printer 100A is not a target device for the print service (S100: NO), the second server 300 in S150 sends a constant connection release instruction to the first server 200 to release the constant connection between the first server 200 and the second printer 100B.

[0075] When the first server 200 receives the constant connection cancellation instruction, in S110, it communicates with the second printer 100B and executes a constant connection cancellation process to cancel the constant connection with the second printer 100B. This cancels the constant connection between the first server 200 and the second printer 100B that was established in S16 of Fig. 3. When the constant connection is cancelled, the handover process ends.

[0076] If the first printer 100A is the target device for the printing service (S100: YES), the second server 300 ends the setting transfer process while maintaining the constant connection. The constant connection between the first server 200 and the second printer 100B is used to provide the printing service using the second printer 100B. For example, when the target of the printing material management service is handed over from the first printer 100A to the second printer 100B, the second printer 100B periodically transmits remaining ink information to the first server 200 using the constant connection.

[0077] According to the embodiment described above, the second server 300 generates a one-time code "OC" (S36 in FIG. 4) in response to a request from the second printer 100B (S24 in FIG. 3). The servers 200, 300 associate the one-time code "OC" with the device ID (new device ID "DID_b") that identifies the second printer 100B and store them (S36, S40 in FIG. 4). The second server 300 transmits the one-time code "OC" to the second printer 100B (S50 in FIG. 4).

[0078] The second printer 100B notifies the user of the one-time code "OC" by printing a print image PI including the one-time code "OC" (S52 in FIG. 4). When the first printer 100A acquires the one-time code "OC", it transmits the one-time code "OC" to the second server 300 (S68 in FIG. 5). The second server 300 identifies the second printer 100B as the takeover destination based on the one-time code "OC" (S78, S80 in FIG. 5).

[0079] The second server 300 stores the setting information of the first printer 100A in its own memory (non-volatile storage device 330) (S85 in FIG. 6). The setting information of the first printer 100A includes the port name PN (FIG. 2(B)). The servers 200, 300 transmit the setting information of the first printer 100A to the second printer 100B that has been identified as the successor (S86, S88 in FIG. 6).

[0080] The second printer 100B stores the setting information of the first printer 100A in the memory (non-volatile storage device 130) of the second printer 100B as the setting information of the second printer 100B (S90 in FIG. 6). The first printer 100A executes a stop process (specifically, a change of the port name PN) for stopping communication with the terminal device 400 using the port name PN (S98 in FIG. 6).

[0081] As a result, the second printer 100B can take over the settings of the first printer 100A. For example, the user's terminal device 400 can use the port name PN as is to perform communication with the second printer 100B similar to the communication with the first printer 100A. Therefore, for example, the terminal device 400 can send a print job to the second printer 100B and have the second printer 100B execute printing without performing processing such as setting a new port name. In addition, the first printer 100A executes a stop process to stop communication between the terminal device 400 and the first printer 100A using the original port name PN, so that the inconvenience of the port name PN being valid in both the first printer 100A and the second printer 100B can be suppressed.

[0082] Furthermore, in this embodiment, the setting information of the first printer 100A is transmitted from the servers 200, 300 to the second printer 100B. Therefore, the first printer 100A and the second printer 100B do not need to communicate with each other. Therefore, even if the first printer 100A and the second printer 100B are connected to different local area networks and are therefore unable to communicate with each other, the setting information can be handed over.

[0083] Since the terminal device 400 is not involved in the setting transfer process, there is no need to install an application such as a setting transfer tool on the terminal device 400. Furthermore, the first printer 100A and the second printer 100B only need to communicate with the second server 300 and send and receive necessary information to and from the second server 300 and the first server 200 in accordance with instructions from the second server 300. For this reason, there is no need to install an application for the setting transfer process on the first printer 100A and the second printer 100B.

[0084] Furthermore, according to this embodiment, the second printer 100B stores the setting information in the setting information database SBb in S90 of FIG. 6, and then transmits a write completion notice to the first server 200 (S92 of FIG. 6). After receiving the write completion notice via the first server 200 (S94 of FIG. 6), the second server 300 transmits an instruction to execute a stop process (specifically, an instruction to change the port name) to the first printer 100A (S96 of FIG. 6). In response to receiving the execution instruction, the first printer 100A executes a stop process (specifically, a change of the port name PN) (S98 of FIG. 6). As a result, the transfer of setting information including the transfer of the port name PN can be reliably executed. For example, suppose that the port name PN of the first printer 100A is changed even though the setting information including the port name PN has failed to be stored in the setting information database SBb of the second printer 100B. In this case, the original port name PN is lost, and it may not be possible to set the original port name PN again in the second printer 100B. In this embodiment, the occurrence of such a problem can be suppressed.

[0085] Furthermore, according to this embodiment, as described above, the stop process is a process in which the first printer 100A changes the port name PN (S98 in FIG. 6). As a result, after the original port name PN is set in the second printer 100B, communication between the terminal device 400 and the first printer 100A using the original port name PN can be appropriately stopped.

[0086] Furthermore, according to this embodiment, if the second server 300 does not receive a write completion notification, it does not send an instruction to execute the stop process (specifically, an instruction to change the port name) to the first printer 100A. As a result, it is possible to prevent the port name PN of the first printer 100A from being changed even if the setting information including the port name PN has failed to be stored in the setting information database SBb of the second printer 100B. In this case, the setting transfer process is executed again, so that the transfer of the setting information including the port name PN can be completed.

[0087] Furthermore, according to this embodiment, when the device ID (current device ID) of the first printer 100A is associated with service information related to a printing service, the first server 200 can associate the device ID (new device ID) of the second printer 100B with the service information. Specifically, the first server 200 is provided with a management database DB including a device management table DT that associates and manages account IDs and device IDs associated with service information (FIGS. 1 and 2A). When the device ID (current device ID "DID_a") of the first printer 100A is recorded in association with the user's account ID "AC_a", the first server 200 records the device ID (new device ID "DID_b") of the second printer 100B in association with the account ID "AC_a" in the management database DB (S76 in FIG. 5). This allows the service information associated with the account ID "AC_a" to be properly handed over to the second printer 100B. Therefore, after the setting transfer process, the user can continue to use, using the second printer 100B, the print service that was being used using the first printer 100A.

[0088] Furthermore, according to this embodiment, if the first printer 100A is not a target device for the print service (NO in S70 in FIG. 5), in other words, if the device ID (current device ID "DID_a") of the first printer 100A is not associated with the service information via the account ID, the association in S76 in FIG. 5 is not executed. In this case, the service information is not transferred, and only the setting information can be transferred.

[0089] Furthermore, according to this embodiment, a constant connection establishment process is executed between the first server 200 and the second printer 100B to establish a constant connection (S16 in FIG. 3). The second server 300 transmits the setting information of the first printer 100A to the second printer 100B using the constant connection established between the first server 200 and the second printer 100B (S86, S88 in FIG. 6). As a result, the second server 300 can transmit the setting information of the first printer 100A to the second printer 100B promptly after acquiring the setting information of the first printer 100A, for example. For example, if the constant connection is not used, the second server 300 cannot transmit the setting information to the second printer 100B beyond the firewall of the local area network LN unless it receives an HTTP request from the second printer 100B. For this reason, when a constant connection is not used, for example, it is necessary to have the user input some kind of instruction to the second printer 100B, so that the second printer 100B transmits an HTTP request to the second server 300. In this embodiment, by using a constant connection, for example, it is possible to transmit setting information to the second printer 100B quickly without requiring user operation.

[0090] Furthermore, according to this embodiment, the first printer 100A and the second printer 100B are connected to the same local area network LN (FIG. 1). In this case, if the port names PN of the first printer 100A and the second printer 100B overlap, a communication problem occurs between the terminal device 400 and the printers, but this embodiment can prevent such communication problems from occurring.

[0091] As can be seen from the above explanation, the device ID (current device ID) of the first printer 100A in the above embodiment is an example of first printer identification information, the device ID (new device ID) of the second printer 100B is an example of second printer identification information, and the account ID is an example of user identification information. Also, the one-time code in the above embodiment is an example of specific information, and the port name PN is an example of specific identification information.

[0092] B. Modifications (1) In the above embodiment, the first printer 100A transmits the setting information of the first printer 100A to the second server 300 in response to a setting information transmission instruction from the second server 300 (S84 in FIG. 6). Instead of this, the first printer 100A may transmit the setting information of the first printer 100A to the second server 300 in advance, for example, before the setting transfer process. For example, the first printer 100A may periodically transmit the setting information of the first printer 100A to the second server 300 in preparation for, for example, a failure. In this case, the second server 300 may omit S82 and S84 in FIG. 6 in the setting transfer process, and transmit the setting information of the first printer 100A that has been stored in the non-volatile storage device 330 in advance to the second printer 100B via the first server 200 in S86 and S88 in FIG. 6.

[0093] (2) In the above embodiment, the generated one-time code is sent to the second printer 100B in the form of code print data indicating a print image PI including the one-time code (S50 in FIG. 4). However, the generated one-time code may be sent to the second printer 100B in the form of text data, screen data to be displayed on the display unit 140, or audio data.

[0094] (3) The second printer 100B notifies the user of the one-time code by printing a print image PI including the one-time code. However, the second printer 100B may notify the user of the one-time code by displaying it on the display unit 140 or by outputting it as audio.

[0095] (4) In the above embodiment, the first printer 100A executes a process of changing the port name PN as a stop process for stopping communication with the terminal device 400 using the port name PN (S98 in FIG. 6). Not limited to this, the first printer 100A may execute a process of deleting the port name PN from the setting information database SBa as a stop process. Furthermore, the first printer 100A may execute a process of prohibiting communication with external devices such as the terminal device 400, or a process of prohibiting the reception of print jobs as a stop process.

[0096] (5) In the above embodiment, the first printer 100A executes the stop process for stopping communication using the port name PN (specifically, changing the port name) in response to receiving an execution instruction (specifically, an instruction to change the port name) from the second server 300 (S96, S98 in FIG. 6). Alternatively, for example, the first printer 100A may execute the stop process immediately after transmitting setting information including the port name PN to the second server 300 (S in FIG. 6).

[0097] (6) In the above embodiment, in the setting transfer process, the device ID (new device ID) of the second printer 100B is associated with the user's account ID in the device management table DT (FIG. 2) to transfer the service information (S76 in FIG. 5). Alternatively, even if the first printer 100A is the target device for the print service, the service information transfer (S76 in FIG. 5) may not be performed, and only the setting information transfer (S82 to S99 in FIG. 6) may be performed.

[0098] (7) In the above embodiment, the second server 300 transmits the setting information of the first printer 100A to the second printer 100B using a constant connection between the second printer 100B and the first server 200. Alternatively, the second server 300 may cause the second printer 100B to transmit an HTTP request to the second server 300 between S84 and S85 in FIG. 6, and transmit the setting information of the first printer 100A to the second printer 100B as a response to the HTTP request. For example, the second server 300 transmits a display instruction to the first printer 100A to display a message on the display unit 140 of the first printer 100A, prompting the user to perform a predetermined operation on the second printer 100B. In response to the message, the second printer 100B transmits an HTTP request to the second server 300.

[0099] (8) In the above embodiment, the first printer 100A and the second printer 100B are connected to the same local area network LN. Alternatively, the first printer 100A and the second printer 100B may be connected to different local area networks and may not be able to communicate with each other.

[0100] (9) At least one of the first printers 100A and 100B may be a so-called multifunction machine that includes a scanner in addition to the printing mechanism 170.

[0101] (10) In the setting takeover process of the above embodiment, the processes executed by the two servers 200 and 300 may be executed by one server. Alternatively, in the setting takeover process of the above embodiment, the processes executed by the two servers 200 and 300 may be shared and executed by three or more servers that can communicate with each other.

[0102] (9) In the above embodiments, part of the configuration realized by hardware may be replaced by software, and conversely, part or all of the configuration realized by software may be replaced by hardware.

[0103] The present invention has been described above based on examples and modifications, but the above-described embodiments of the invention are intended to facilitate understanding of the present invention and are not intended to limit the present invention. The present invention may be modified or improved without departing from the spirit and scope of the claims, and equivalents thereof are included in the present invention. [Explanation of symbols]

[0104] 1000...system, 100A...first printer, 100A...printer, 100B...second printer, 110...CPU, 110...configuration, 120...volatile storage device, 130...non-volatile storage device, 140...display unit, 150...operation unit, 170...printing mechanism, 180...communication IF, 200...first server, 210...CPU, 220...volatile storage device, 230...non-volatile storage device, 280...communication IF, 300...second server, 310...CPU, 320...volatile storage device, 330...non-volatile storage device, 380...communication IF, 400...terminal device, DB...management database, DT...device management table, DW...code input screen, IT...Internet, LN...local area network, PGa, PGb, PGp...computer program, PN...port name, SB(SBa,SBb)...setting information database

Claims

1. A method executed in a first printer, a second printer to be used in place of the first printer, and a server capable of communicating with the first printer and the second printer, comprising: a generating step of the server generating specific information in response to a request from the second printer; a storage step in which the server stores the specific information and second printer identification information that identifies the second printer in association with each other; a first transmission step in which the server transmits the specific information to the second printer; a notification step of the second printer notifying a user of the specific information; a second transmission step of transmitting the specific information to the server when the first printer acquires the specific information; a takeover destination specifying step in which the server specifies the second printer as a takeover destination based on the specification information; a first storage step in which the server stores setting information of the first printer in a memory of the server, the setting information of the first printer including specific identification information for the terminal device of a user to identify the first printer in communication between the terminal device and the first printer; a third transmission step in which the server transmits the setting information of the first printer to the second printer that has been specified as a printer to be used as a successor; a second storage step of storing the setting information of the first printer in a memory of the second printer as setting information of the second printer; a stop process in which the first printer executes a stop process for stopping communication with the terminal device using the specific identification information; A method comprising:

2. 10. The method of claim 1 further comprising: a fourth transmission step in which the second printer transmits a completion notification indicating that the second storing step has been completed to the server; a fifth transmission step of the server transmitting an instruction to execute the stop process to the first printer after receiving the completion notification; Equipped with The method, in the stopping step, the first printer executes the stop process in response to receiving the execution instruction.

3. 3. The method of claim 2, The method, wherein the stopping step is a step of the first printer changing or deleting the specific identification information.

4. 4. The method of claim 3, The method, wherein the server does not send the execution instruction to the first printer if the completion notification is not received.

5. 10. The method of claim 1 further comprising: The method includes, after the takeover destination identification process, a matching process in which the server matches second printer identification information identifying the second printer with the service information regarding a specific printing service when first printer identification information identifying the first printer is matched with service information regarding a specific printing service.

6. 6. The method of claim 5, the server includes a database for managing user identification information associated with the service information and printer identification information in association with each other; The association step includes: a step of recording the second printer identification information in the database in association with the specific user identification information when the first printer identification information is recorded in the database in association with the specific user identification information.

7. 6. The method of claim 5, A method according to claim 1, wherein the step of associating is not performed if the first printer identification information and the service information are not associated with each other.

8. 10. The method of claim 1 further comprising: a connection establishment step of establishing a constant connection between the server and the second printer, which allows the server to transmit data to the second printer at any timing; The method, wherein the third sending step is a step of the server sending setting information of the first printer to the second printer using the constant connection.

9. 2. The method of claim 1 , The method, wherein the first printer and the second printer are connected to the same local area network.

10. 1. A communication system comprising: A first printer; a second printer to be used in place of the first printer; a server capable of communicating with the first printer and the second printer; Equipped with The server, generating specific information in response to a request from the second printer; Corresponding the specific information to second printer identification information that identifies the second printer; Sending the specific information to the second printer; The second printer is notifying a user of the specific information; The first printer includes: obtaining the specific information from a user; Transmitting the specific information to the server; The server, Identifying the second printer as a takeover destination based on the identification information; storing in a memory of the server setting information of the first printer, the setting information including specific identification information for the terminal device of the user to identify the first printer in communication between the terminal device and the first printer; Transmitting the setting information of the first printer to the second printer that has been identified as a transfer destination; The second printer is storing the setting information of the first printer as setting information of the second printer in a memory of the second printer; The first printer includes: A communication system that executes a stop process for stopping communication with the terminal device using the specific identification information.

11. A server communicably connected to a first printer and a second printer to be used in place of the first printer, a generating unit that generates specific information in response to a request from the second printer; a storage processing unit that stores the specific information and second printer identification information that identifies the second printer in association with each other; a specific information transmission unit that transmits the specific information to the second printer; a receiving unit that receives the specific information transmitted from the first printer; a takeover destination specification unit that specifies the second printer as a takeover destination based on the specification information; a storage processing unit that stores in a memory of the server setting information of the first printer, the setting information including specific identification information for the terminal device of a user to identify the first printer in communication between the terminal device and the first printer; a setting information transmission unit that transmits setting information of the first printer to the second printer that has been specified as a transfer destination; an instruction sending unit that sends to the first printer an instruction to execute a stop process for stopping communication between the terminal device and the first printer using the specific identification information; A server comprising:

Citation Information

Patent Citations

  • Printer and server and computer program for these

    JP2021163309A