Computer program for first server and computer program for terminal device
The computer program enhances user convenience and service management by managing user identification and subscription requests, facilitating communication with secondary servers to retrieve or store registration information, addressing inefficiencies in existing systems.
Patent Information
- Application Number
- JP2024052386
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-02-02
- Filing Date
- 2024-03-27
- Publication Date
- 2024-11-27
AI Technical Summary
Existing systems lack user convenience in managing service subscriptions and registration information across multiple servers, leading to inefficiencies in service provisioning.
A computer program for a first server that manages user identification and service subscription requests, facilitating communication with a second server to retrieve or store registration information, and optionally prompting the user for input if necessary, thereby enhancing user convenience and service management.
Improves user convenience by allowing seamless service subscription and management of registration information across servers, reducing the need for repeated input and enhancing security and efficiency in service provisioning.
Smart Images

Figure 2024164807000001_ABST
Abstract
Description
[Technical field]
[0001] This specification discloses a technique for storing registration information in a first server. [Background technology]
[0002] Patent Document 1 discloses a communication system that includes a printer, a PC, and an information management server. Each time a fixed-rate printing process is executed, the printer stores printing information related to the number of pages printed, and transmits the printing information to the information management server. When the information management server receives the printing information from the printer, it manages the printing information. The information management server uses the printing information received from the printer to provide a fixed-rate printing process service. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2017-49767 A Summary of the Invention [Problem to be solved by the invention]
[0004] The present specification provides techniques that improve user convenience when subscribing to services. [Means for solving the problem]
[0005] The present specification discloses a computer program for a first server providing a first service. The computer program may cause the first server computer to function as: a user identification information receiving unit that receives, from a terminal device, user identification information for identifying a user; a service subscription request receiving unit that receives, from the terminal device, a service subscription request requesting subscription to the first service; a transmission request transmitting unit that, when the user identification information and the service subscription request are received from the terminal device, transmits a transmission request including the user identification information to a second server different from the first server, the transmission request being a signal requesting transmission of registration information stored in the second server in association with the user identification information; and a first storage control unit that, when the transmission request is transmitted to the second server and the first registration information is received from the second server, stores the first registration information in a memory in association with the user identification information as information for providing the first service to the user, and when the transmission request is transmitted to the second server and the registration information is not received from the second server, the registration information is not stored.
[0006] According to the above configuration, when the first server transmits a transmission request to the second server and receives the first registration information from the second server, the first registration information is stored in the memory in association with the user identification information as information for providing the first service to the user, thereby improving the convenience for the user.
[0007] This specification also discloses another computer program for a first server providing a first service. The first server may include a computer and a first memory. The computer program includes a user-related information receiving unit that receives, from a first external device, user-related information for providing a second service different from the first service to a user, and a service subscription request receiving unit that receives, from a second external device, a service subscription request for requesting subscription to the first service, and a service subscription request receiving unit that reads, from the second memory, the first registration information as information for providing the second service to the user in association with the user-related information, and retrieves the previous registration information from the second memory when the user-related information is received from the first external device, the service subscription request is received from the second external device, and first registration information is stored in the second memory in association with the user-related information. The system may also function as an acquisition unit that acquires the first registration information, where the acquisition unit does not acquire the registration information when the user-related information is received from the first external device, the service subscription request is received from the second external device, and the registration information is not stored in the second memory in association with the user-related information as information for providing the second service to the user; and a first storage control unit that, when the first registration information is acquired from the second memory, stores the first registration information in the first memory in association with the user-related information as information for providing the first service to the user.
[0008] According to the above configuration, the first server receives user-related information from the first external device, receives a service subscription request from the second external device, and acquires the first registration information from the second memory when the first registration information is stored in the second memory in association with the user-related information. When acquiring the first registration information from the second memory, the first server stores the first registration information in the first memory in association with the user-related information as information for providing the first service to the user. This improves user convenience.
[0009] This specification also discloses a computer program for a terminal device, the computer program comprising: a transmission request transmitting unit for transmitting, to a second server, a transmission request including user-related information related to information for providing a user with a second service different from a first service provided by a first server, the transmission request being a signal requesting transmission of registration information stored in the second server in association with the user-related information; and a registration information receiving unit for receiving, from the second server, the specific registration information when the transmission request is transmitted to the second server and specific registration information is stored in the second server in association with the user-related information, the registration information receiving unit for receiving, from the second server, the specific registration information when the transmission request is transmitted to the second server and specific registration information is not stored in the second server in association with the user-related information. The system may function as: the registration information receiving unit that does not receive registration information from the second server; the registration information transmitting unit that transmits the specific registration information to the first server when the specific registration information is received from the second server; the user-related information transmitting unit that transmits the user-related information to the first server; and the service subscription request transmitting unit that transmits a service subscription request to the first server, requesting subscription to the first service, wherein the first server receives the specific registration information from the terminal device, receives the user-related information from the terminal device, and when the service subscription request is received from the terminal device, stores the specific registration information in association with the user-related information as information for providing the first service to the user.
[0010] According to the above configuration, the terminal device transmits a transmission request including the user-related information to the second server. When the terminal device receives the specific registration information from the second server, the terminal device transmits the specific registration information to the first server. Then, the first server stores the specific registration information in association with the user-related information as information for providing the first service to the user. Therefore, it is possible to improve the convenience of the user.
[0011] A computer-readable recording medium storing a computer program for the above-mentioned first server, a first server realized by the computer program for the above-mentioned first server, and a method executed by the first server are also novel and useful. A communication system including a first server, a second server, and a terminal device is also novel and useful. Also, a computer-readable recording medium storing a computer program for the above-mentioned terminal device, a terminal device realized by the computer program for the above-mentioned terminal device, and a method executed by the terminal device are also novel and useful. [Brief description of the drawings]
[0012] [Figure 1] 1 shows the configuration of a communication system. [Diagram 2] An example of each table is shown below. [Diagram 3] 1 shows a sequence diagram of a service subscription process. [Figure 4] A sequence diagram of the service withdrawal process is shown. [Diagram 5] 1 shows a flowchart of a registration process. [Figure 6] 1 shows a sequence diagram of case A according to the first embodiment. [Figure 7] 1 shows an example of an authentication table. [Figure 8] 13 shows a sequence diagram of case B according to the second embodiment. [Figure 9] 13 shows a sequence diagram of case C according to the third embodiment. [Figure 10] 13 shows a sequence diagram of case D according to the fourth embodiment. [Figure 11] 13 shows a sequence diagram of case E according to the fifth embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] (First embodiment) (Configuration of communication system 2; Figure 1) As shown in FIG. 1, the communication system 2 includes a plurality of printers 10A and 10B, a terminal device 100, a first service providing server 200, a second service providing server 300, and a third service providing server 400. Hereinafter, the "service providing server" will be referred to as an "SP server." The printers 10A and 10B and the terminal device 100 are connected to a LAN (abbreviation of Local Area Network) 4. The printers 10A and 10B and the terminal device 100 can communicate with each other via the LAN 4. The LAN 4 is connected to the Internet 6. The printers 10A and 10B, the terminal device 100, the first SP server 200, the second SP server 300, and the third SP server 400 are connected to the Internet 6. Each device can communicate with each other via the Internet 6.
[0014] (Configuration of printers 10A and 10B) The printer 10A is a peripheral device (i.e., a peripheral device such as a PC) capable of executing a printing function. The printer 10A may be a multi-function device capable of executing a scanning function, a FAX function, etc. in addition to a printing function. The printer 10A includes an operation unit 12, a display unit 14, a print execution unit 16, a communication interface 18, and a control unit 30. The printer 10A has a serial number "SN1" and a model name "MN1". The serial number is an identification number assigned to the printer when it is manufactured. The model name is a name indicating the model of the printer. In the following, the interface is referred to as "I / F".
[0015] The operation unit 12 has a plurality of keys. A user can input various instructions to the printer 10A by operating the operation unit 12. The display unit 14 is a display for displaying various information. The print execution unit 16 has an inkjet printing mechanism. In a modified example, the print execution unit 16 may have a laser printing mechanism. The communication I / F 18 is connected to the LAN 4. The communication I / F 18 may be a wireless I / F or a wired I / F.
[0016] The control unit 30 includes a CPU 32 and a memory 34. The CPU 32 executes various processes in accordance with a program 36 stored in the memory 34. The memory 34 is composed of a volatile memory, a non-volatile memory, etc. The memory 34 stores number information and remaining amount information. The number information indicates the number of sheets of printing paper printed by the printer 10A. The remaining amount information indicates the remaining amount of ink in a cartridge installed in the print execution unit 16 of the printer 10A.
[0017] Printer 10B has the same configuration as printer 10A, except that printer 10B has serial number "SN2." In the following, printers 10A and 10B may be collectively referred to simply as "printers."
[0018] (Configuration of terminal device 100) The terminal device 100 is a portable terminal device such as a mobile phone (e.g., a smartphone), a PDA, or a tablet PC. The terminal device 100 includes a control unit 130. The control unit 130 includes a CPU 132 and a memory 134. The CPU 132 executes various processes in accordance with an Operating System (OS) program 136 stored in the memory 134. The memory 134 is composed of a volatile memory, a non-volatile memory, and the like. The memory 134 further includes an application program 138. The application program 138 is a program for subscribing a user to a service.
[0019] (Configuration of the first SP server 200, the second SP server 300, and the third SP server 400) The first SP server 200 is installed on the Internet 6 by the printer vendor. In a modified example, the first SP server 200 may be installed on the Internet 6 by a business entity other than the vendor. In another modified example, the printer vendor may not prepare the hardware for the first SP server 200 by itself, but may use an environment provided by an external cloud computing service. In this case, the printer vendor prepares a program (i.e., software) for the first SP server 200 and introduces it into the above-mentioned environment to realize the first SP server 200. The same applies to the second SP server 300 and the third SP server 400.
[0020] The first SP server 200 provides a flat-rate service. The flat-rate service is a billing service that charges a predetermined amount (hereinafter, referred to as a "flat-rate fee") when the number of sheets of printing paper printed by the printer in a predetermined period (for example, one month) is equal to or less than the contracted number of sheets to be printed (for example, 1000 sheets), and charges a billing amount that is a sum of the flat-rate fee and an amount according to the number of sheets exceeding the contracted number of sheets to be printed when the number of sheets of printing paper printed by the printer in the predetermined period exceeds the contracted number of sheets to be printed. The flat-rate service includes a first cartridge shipping service. The first cartridge shipping service is a service that automatically ships a new cartridge when the remaining amount of ink in a cartridge installed in the print execution unit of the printer falls below a predetermined amount. Even if a new cartridge is shipped, the price of the cartridge is not added to the billing amount. In other words, in the flat-rate service, only an amount according to the number of sheets of printing paper printed by the printer in a predetermined period is charged. In a modified example, the first SP server 200 may provide a pay-per-use charging service, instead of a flat-rate charging service, in which an amount according to the number of sheets of printing paper printed by a printer in a predetermined period of time is charged.
[0021] The first SP server 200 includes a communication I / F 218 and a control unit 230. The communication I / F 218 is connected to the Internet 6. The control unit 230 includes a CPU 232 and a memory 234. The CPU 232 executes various processes in accordance with a program 236 stored in the memory 234. The memory 234 is composed of a volatile memory, a non-volatile memory, etc. In addition to the program 236, the memory 234 stores a first service table 238 and a first history table 240. The first SP server 200 has a service ID "SI1" that identifies the first SP server 200.
[0022] The second SP server 300 provides a second cartridge shipping service. The second cartridge shipping service is the same as the first cartridge shipping service, except that the price of a new cartridge is charged. That is, in the second cartridge shipping service, only the price of the cartridge is charged.
[0023] The second SP server 300 includes a communication I / F 318 and a control unit 330. The communication I / F 318 is connected to the Internet 6. The control unit 330 includes a CPU 332 and a memory 334. The CPU 332 executes various processes in accordance with a program 336 stored in the memory 334. The memory 334 is composed of a volatile memory, a non-volatile memory, etc. In addition to the program 336, the memory 334 stores a second service table 338 and a second history table 340. The second SP server 300 has a service ID "SI2" that identifies the second SP server 300.
[0024] The third SP server 400 is a server that provides a printer warranty service. The warranty service is a service that performs printer maintenance, warranty, etc. The third SP server 400 has a service ID "SI3" that identifies the third SP server 400.
[0025] (Table composition; Fig. 2) With reference to FIG. 2, the contents of the first service table 238 and the first history table 240 in the first SP server 200, and the second service table 338 and the second history table 340 in the second SP server 300 will be described.
[0026] In the first service table 238 in the first SP server 200, a user ID, a password, a serial number, a token, address information, payment information, and quantity information are stored in association with each other. The user ID is information for identifying a user. The token is information for the first SP server 200 to authenticate a printer. The address information is information indicating the user's address. The payment information is information used for settlement, such as a credit card number. The address information and payment information in the first service table 238 are information for providing flat-rate services to the user. In the following, the address information and payment information may be collectively referred to as "registration information."
[0027] In the first history table 240 in the first SP server 200, a user ID, address information, and payment information are stored in association with each other. The address information and payment information in the first history table 240 are information that were used when the user previously subscribed to the flat-rate service. The information in the first history table 240 is history information that is registered when the user withdraws from the flat-rate service.
[0028] In the second service table 338 in the second SP server 300, a user ID, a password, a serial number, a token, address information, and payment information are stored in association with each other. That is, the second service table 338 does not include number of sheets information. The token in the second service table 338 is information for the second SP server 300 to authenticate the printer. The address information and payment information in the second service table 338 are information for providing the second cartridge shipping service to the user.
[0029] In the second history table 340 in the second SP server 300, the user ID, address information, and payment information are stored in association with each other. The address information and payment information in the second history table 340 are information that were used when the user previously subscribed to the second cartridge shipping service. The information in the second history table 340 is history information that is registered when the user withdraws from the second cartridge shipping service.
[0030] (Service subscription process; Figure 3) With reference to FIG. 3, a service subscription process in which the user of the terminal device 100 subscribes to a flat-rate service will be described. In the initial state of FIG. 3, the first service table 238 of the first SP server 200 and the second service table 338 of the second SP server 300 store a user ID "U1" and a password "PW1" in association with each other. The first history table 240 of the first SP server 200 and the second history table 340 of the second SP server 300 are empty. In FIG. 3 and FIG. 4, the processes executed by the CPU of each device are described as the subjects of the processes, without describing the CPU as the subject. In the following, communication between each device is performed via a communication I / F. Therefore, in the following description, when describing communication, the description "via a communication I / F" will be omitted.
[0031] At T10, the user executes a login operation on the terminal device 100 to log in to the first SP server 200. As a result, the terminal device 100 transmits a login screen data request to the first SP server 200 at T12, receives the login screen data from the first SP server 200 at T14, and displays a login screen corresponding to the login screen data at T16. At T20, the user inputs a user ID "U1" and a password "PW1" into the terminal device 100. As a result, at T22, the terminal device 100 transmits a login request including the user ID "U1" and the password "PW1" to the first SP server 200.
[0032] When the first SP server 200 receives a login request from the terminal device 100 at T22, it determines at T24 that the authentication has been successful because the combination of the user ID "U1" and password "PW1" in the login request is stored in the first service table 238, and transmits home screen data to the terminal device 100 at T26.
[0033] When the terminal device 100 receives the home screen data from the first SP server 200 in T26, it displays a home screen corresponding to the home screen data in T28. The home screen is a screen for subscribing to the flat-rate service and a screen for withdrawing from the flat-rate service. The user performs a service subscription operation on the terminal device 100 in T30 to subscribe to the flat-rate service. As a result, the terminal device 100 transmits a service subscription request to the first SP server 200 in T32. The service subscription request is a signal for requesting subscription to the flat-rate service.
[0034] When the first SP server 200 receives a service subscription request from the terminal device 100 in T32, the first SP server 200 generates a PIN code PC1 in T34, associates the PIN code PC1 with the user ID "U1", and temporarily stores the PIN code PC1 in the first service table 238. Next, the first SP server 200 transmits the PIN code PC1 to the terminal device 100 in T36.
[0035] When the terminal device 100 receives the PIN code PC1 from the first SP server 200 in T36, it displays the PIN code PC1 in T38, allowing the user of the terminal device 100 to know the PIN code PC1 to be input to the printer 10A.
[0036] At T50, the user executes an operation to input the PIN code PC1 to the printer 10A, which causes the printer 10A to transmit a token request including the PIN code PC1 and the serial number “SN1” of the printer 10A to the first SP server 200 at T52.
[0037] When the first SP server 200 receives a token request from the printer 10A in T52, it determines in T54 that the authentication has been successful because the PIN code PC1 stored in T34 matches the PIN code PC1 in the token request, and deletes the PIN code PC1 from the first service table 238. The first SP server 200 generates a token tk1 in T56, and stores the received serial number "SN1" and the generated token tk1 in the first service table 238 in association with the user ID "U1" in T58. The first SP server 200 transmits the token tk1 to the printer 10A in T60.
[0038] When the printer 10A receives the token tk1 from the first SP server 200 in T60, the printer 10A stores the received token tk1 in the memory 34 in T62. Next, the printer 10A uses the token tk1 to establish an XMPP connection (short for eXtensible Messaging and Presence Protocol) with the first SP server 200 in T64. The XMPP connection is a so-called constant connection, and is a connection that remains established until the power of the printer 10A is cut off. If the first SP server 200 uses the XMPP connection, it can transmit a request to the printer 10A across the firewall of the LAN 4 to which the printer 10A belongs, even if it does not receive a request from the printer 10A. Note that the mechanism for transmitting a request from the first SP server 200 to the printer 10A may be another method other than the XMPP connection. For example, an HTTPS (short for Hypertext Transfer Protocol Secure) connection may be established between the printer 10A and the first SP server 200.
[0039] When an XMPP connection is established with the printer 10A in T64, the first SP server 200 executes a registration process (see FIG. 5) in T70. The registration process is a process for storing information required to provide a flat-rate service in the first service table 238. When the registration process is completed, the first SP server 200 transmits a subscription completion notification indicating that subscription to the flat-rate service has been completed to the terminal device 100 in T80. This allows the user of the terminal device 100 to know that subscription to the flat-rate service has been completed.
[0040] Thereafter, the printer 10A transmits the number information and remaining amount information stored in the memory 34 to the first SP server 200 every time a predetermined time (e.g., 24 hours) has elapsed. When the first SP server 200 receives the number information and remaining amount information from the printer 10A, it stores the number information in the first service table 238 and determines whether the remaining amount indicated by the remaining amount information is equal to or less than a threshold value. When the first SP server 200 determines that the remaining amount indicated by the remaining amount information is equal to or less than a threshold value, it identifies an address indicated by the address information in the first service table 238 and executes a shipping process to ship a new cartridge to the identified address. In addition, the first SP server 200 identifies the number of sheets indicated by the number information in the first service table 238 every time a predetermined period (e.g., one month) has elapsed and determines whether the identified number of sheets exceeds the contracted number of sheets to be printed. The first SP server 200 executes a billing process to charge a fixed fee if the specified number of sheets does not exceed the contracted number of sheets to be printed, and executes a billing process to charge a total amount of the fixed fee and an amount according to the number of sheets exceeding the contracted number of sheets to be printed if the specified number of sheets exceeds the contracted number of sheets to be printed. In the billing process, the payment information in the first service table 238 is used.
[0041] (Service withdrawal process; Figure 4) A service withdrawal process in which a user of the terminal device 100 withdraws from a flat-rate service will be described with reference to Fig. 4. In the initial state of Fig. 4, the first service table 238 of the first SP server 200 stores a user ID "U1", a password "PW1", a serial number "SN1", a token tk1, address information "AD1", and payment information "PI1" in association with each other. The first history table 240 of the first SP server 200 is empty.
[0042] T110 to T128 are the same as T10 to T28 in Fig. 3. At T130, the user executes a service withdrawal operation to withdraw from the flat-rate service on the terminal device 100. As a result, at T132, the terminal device 100 transmits a service withdrawal request to the first SP server 200. The service withdrawal request is a signal for requesting withdrawal from the flat-rate service.
[0043] When the first SP server 200 receives a service withdrawal request from the terminal device 100 in T132, the first SP server 200 updates the first service table 238 in T134. Specifically, the first SP server 200 deletes the serial number "SN1", the token tk1, the address information "AD1", and the payment information "PI1" stored in association with the user ID "U1" from the first service table 238. In addition, the first SP server 200 updates the first history table 240 in T136. Specifically, the first SP server 200 associates the user ID "U1", the address information "AD1", and the payment information "PI1" and stores them in the first history table 240. That is, the first SP server 200 stores the history information in which the user ID "U1" and the registration information (i.e., the address information "AD1" and the payment information "PI1") are associated with each other in the first service table 238. In T140, the first SP server 200 transmits a withdrawal completion notification indicating that withdrawal from the flat-rate service has been completed to the terminal device 100. This allows the user of the terminal device 100 to know that withdrawal from the flat-rate service has been completed.
[0044] (Registration process; Figure 5) The registration process executed by the CPU 232 of the first SP server 200 at T70 in Fig. 3 will be described with reference to Fig. 5. In the following, the user ID of the currently logged-in user will be referred to as the target user ID.
[0045] In S10, the CPU 232 determines whether or not history information including the target user ID is stored in the first history table 240. If history information including the target user ID is not stored in the first history table 240 (NO in S10), the CPU 232 proceeds to S20. On the other hand, if history information including the target user ID is stored in the first history table 240 (YES in S10), the CPU 232 proceeds to S30.
[0046] In S20, the CPU 232 transmits a transmission request including the target user ID to the second SP server 300. The transmission request is a signal requesting transmission of the registration information stored in the second SP server 300 in association with the target user ID. When the second SP server 300 receives the transmission request from the first SP server 200, the second SP server 300 judges whether the registration information stored in association with the target user ID is stored in the second service table 338 or the second history table 340. When the second SP server 300 judges that the registration information is stored, it transmits the registration information to the first SP server 200, and when it judges that the registration information is not stored, it transmits unstored information indicating that the registration information is not stored to the first SP server 200.
[0047] In S22, the CPU 232 determines whether or not registration information has been received from the second SP server 300. If the CPU 232 has received registration information from the second SP server 300 (YES in S22), the CPU 232 proceeds to S40, and if the CPU 232 has not received registration information from the second SP server 300 (NO in S22), the CPU 232 proceeds to S24.
[0048] In S24, the CPU 232 transmits first subscription screen data corresponding to the first subscription screen SC10 to the terminal device 100. When the terminal device 100 receives the first subscription screen data from the first SP server 200, it displays the first subscription screen SC10. The first subscription screen SC10 includes a message for prompting the user to input registration information, an address information input field for inputting address information, a payment information input field for inputting payment information, and an OK button. In the first subscription screen SC10, the address information input field and the payment information input field are blank. The user inputs address information and payment information into the address information input field and the payment information input field, respectively, and executes an operation of selecting the OK button. As a result, the terminal device 100 transmits registration information including the input address information and payment information to the first SP server 200.
[0049] In S26, the CPU 232 receives the registration information from the terminal device 100.
[0050] In S28, the CPU 232 stores the registration information received in S26 in the first service table 238 in association with the target user ID as information for providing the flat-rate service to the user. When S28 ends, the CPU 232 ends the processing of FIG. 5. In this way, even if the registration information is not received from the second SP server 300, the user can subscribe to the flat-rate service by inputting the registration information himself / herself. This improves user convenience.
[0051] Furthermore, if it is determined as YES in S10, then in S30, the CPU 232 acquires the registration information stored in the first history table 240 in association with the target user ID.
[0052] In S40, the CPU 232 transmits second subscription screen data corresponding to the second subscription screen SC12 to the terminal device 100. The second subscription screen data includes the registration information received in S22 or the registration information acquired in S30. When the terminal device 100 receives the second subscription screen data from the first SP server 200, it displays the second subscription screen SC12. The second subscription screen SC12 includes a message for prompting the user to confirm the registration information, an address information input field for inputting address information, a payment information input field for inputting payment information, and an OK button. In the second subscription screen SC12, the address information and the payment information have already been input in the address information input field and the payment information input field, respectively. This allows the user to know the contents of the registration information used when the user previously subscribed to the flat-rate service before the registration information was stored in the first service table 238, or the contents of the registration information currently used in another service. The user can change the information entered in the address information input field and the payment information input field. The user may wish to change the content of the registration information used when the user previously subscribed to the flat-rate service, or the content of the registration information currently used in another service. According to the above configuration, the user can change the content of the registration information used when the user previously subscribed to the flat-rate service, or the content of the registration information currently used in another service. Therefore, the user's convenience can be improved. When the terminal device 100 accepts the selection of the OK button by the user after at least one of the address information and the payment information is changed, the terminal device 100 transmits the change information and the changed registration information to the first SP server 200. On the other hand, when the terminal device 100 accepts the selection of the OK button by the user without changing the address information and the payment information, the terminal device 100 transmits the OK information to the first SP server 200.
[0053] In S42, the CPU 232 determines whether or not change information has been received from the terminal device 100. If the CPU 232 has received change information from the terminal device 100 (YES in S42), the CPU 232 proceeds to S44. On the other hand, if the CPU 232 has not received change information from the terminal device 100 (NO in S42), the CPU 232 proceeds to S46.
[0054] In S44, the CPU 232 associates the changed registration information with the target user ID as information for providing the flat-rate service to the user, and stores the changed registration information in the first service table 238. When S44 ends, the CPU 232 ends the processing of FIG.
[0055] Furthermore, in S46, the CPU 232 stores the registration information received in S22 or the registration information acquired in S30 in association with the target user ID as information for providing the flat-rate service to the user in the first service table 238. When S46 ends, the CPU 232 ends the processing of FIG.
[0056] As described above, when the history information is stored in the first history table 240 (YES in S10), the CPU 232 stores the registration information included in the history information in the first service table 238 in association with the target user ID as information for providing the flat-rate service to the user. With this configuration, when the user re-subscribes to the flat-rate service, the user does not need to re-enter the registration information. This improves user convenience.
[0057] (Case A; Figure 6) Case A realized by the communication system 2 will be described with reference to FIG. 6. In the initial state of case A, the first service table 238 of the first SP server 200 stores a user ID "U1" and a password "PW1" in association with each other. The second service table 338 of the second SP server 300 stores a user ID "U1", a password "PW1", a serial number "SN2", a token tk2, address information "AD1", and payment information "PI1" in association with each other. That is, the user has subscribed to the second cartridge delivery service provided by the second SP server 300. The first history table 240 of the first SP server 200 and the second history table 340 of the second SP server 300 are empty. In the following, the processes executed by the CPU of each device will be described as the subject of the process, rather than the CPU being the subject.
[0058] First, processes similar to those from T10 to T64 in FIG.
[0059] The first SP server 200 determines that history information including the user ID "U1" of the logged-in user is not stored in the first history table 240 (NO in S10 of FIG. 5), and at T210, sends a transmission request including the user ID "U1" to the second SP server 300 (S20).
[0060] When the second SP server 300 receives a transmission request from the first SP server 200 at T210, it identifies the registration information (i.e., address information "AD1" and payment information "PI1") stored in association with the user ID "U1" in the second service table 338, and at T212, it transmits the identified registration information to the first SP server 200.
[0061] When the first SP server 200 receives the registration information from the second SP server 300 in T212 (YES in S22), it transmits second subscription screen data including the registration information to the terminal device 100 in T220 (S40).
[0062] When the terminal device 100 receives the second subscription screen data from the first SP server 200 in T220, it displays the second subscription screen SC12 in T222. In the second subscription screen SC12 in this case, address information "AD1" and payment information "PI1" are entered in the address information input field and the payment information input field, respectively. The user selects the OK button on the second subscription screen SC12 in T224. In this case, the terminal device 100 transmits OK information to the first SP server 200 in T226.
[0063] When the first SP server 200 receives OK information from the terminal device 100 in T226, it determines not to receive change information from the terminal device 100 (NO in S42). In this case, the first SP server 200 stores the registration information received in T212 (i.e., address information "AD1" and payment information "PI1") in the first service table 238 in association with the user ID "U1" as information for providing the flat-rate service to the user in T228. This allows the user to receive the flat-rate service by using the printer 10A.
[0064] (Effects of this embodiment) As described above, when the first SP server 200 receives the user ID "U1" from the terminal device 100 (T22 in FIG. 3 cited in FIG. 6), and receives a service subscription request from the terminal device 100 (T32 in FIG. 3 cited in FIG. 6), and when the registration information is stored in the memory 334 in association with the user ID "U1", the first SP server 200 acquires the registration information from the memory 334 (T212 in FIG. 6). When acquiring the registration information from the memory 334, the first SP server 200 stores the registration information in the memory 334 in association with the user ID "U1" as information for providing the flat-rate service to the user (T228). This improves the convenience for the user.
[0065] Furthermore, when the first SP server 200 transmits a transmission request to the second SP server 300 and receives registration information from the second SP server 300 (YES in S20 and S22), the first SP server 200 stores the registration information in the first service table 238 in association with the user ID as information for providing a flat-rate service to the user. This improves user convenience.
[0066] (Correspondence) In one aspect, the flat-rate service is an example of a "first service." The first SP server 200 is an example of a "first server." The user ID "U1" is an example of "user identification information." The second SP server 300 is an example of a "second server." The first subscription screen data is an example of "input screen data." The first subscription screen SC10 is an example of an "input screen." The registration information received in S26 of FIG. 5 is an example of "second registration information." The registration information received in S22 of FIG. 5 is an example of "first registration information." The registration information acquired in S30 of FIG. 5 is an example of "third registration information." The information in the first history table 240 is an example of "history information." The second subscription screen data is an example of "confirmation screen data." The second subscription screen SC12 is an example of a "confirmation screen." The OK information is an example of "first information." The change information is an example of "second information." The second cartridge shipping service is an example of a "second service."
[0067] T22 in Fig. 3 is an example of a process executed by a "user identification information receiving unit." T32 in Fig. 3 is an example of a process executed by a "service subscription request receiving unit." S20 in Fig. 5 is an example of a process executed by a "transmission request transmitting unit." S46 in Fig. 5 is an example of a process executed by a "first memory control unit."
[0068] In another aspect, the flat-rate service is an example of a "first service". The first SP server 200 is an example of a "first server". The memory 234 is an example of a "first memory". The terminal device 100 is an example of a "first external device". The second cartridge shipping service is an example of a "second service". The user ID is an example of "user-related information". The terminal device 100 is an example of a "second external device". The registration information received in S22 of FIG. 5 is an example of "first registration information". The memory 334 is an example of a "second memory". The first subscription screen data is an example of "input screen data". The first subscription screen SC10 is an example of an "input screen". The registration information received in S26 of FIG. 5 is an example of "second registration information".
[0069] T22 in Fig. 3 is an example of a process executed by a "user-related information receiving unit." T32 in Fig. 3 is an example of a process executed by a "service subscription request receiving unit." T212 in Fig. 6 is an example of a process executed by an "acquisition unit." S46 in Fig. 5 is an example of a process executed by a "first memory control unit."
[0070] (Second Example) A communication system 2 according to the second embodiment will now be described. As shown in Fig. 1, an authentication table 342 is stored in the memory 334 of the second SP server 300 according to the present embodiment.
[0071] As shown in Fig. 2, the first service table 238 and the second service table 338 further include a model name and authentication device information. The authentication device information is information indicating a device used for device authentication. The authentication device information in this embodiment includes a serial number and a model name. The authentication device information is information that is registered when a user subscribes to a service. The user can register information of a device used in the service to which the user subscribes as the authentication device information, or can register information of a device different from the device used in the service as the authentication device information.
[0072] As shown in FIG. 7, authentication table 342 stores model names and authentication operations in association with each other. The authentication operation is information related to authentication using a device. In this embodiment, the authentication operations corresponding to model names "MN1" and "MN2" are "operation of power button + setting button" and "input of PIN code", respectively. In other words, the content of the authentication operation differs for each model name. With this configuration, security can be improved compared to the case where there is only one authentication operation.
[0073] (Case B; Figure 8) Case B executed by the communication system 2 of this embodiment will be described with reference to Fig. 8. The initial state of case B is similar to the initial state of case A in Fig. 6, except that the serial number "SN2", the model name "MN2", and the authentication device information "SN2, MN2" are stored in the second service table 338 in association with the user ID "U1".
[0074] First, the same processes as those in T10 to T64 in FIG. 3 are executed between the printer 10A, the terminal device 100, and the first SP server 200. At T30 in FIG. 3, the user further executes an operation to input the target service ID "SI2" in the terminal device 100. The target service ID is information indicating a server to which a transmission request is to be transmitted. In this embodiment, the CPU 232 of the first SP server 200 is configured to transmit a transmission request to a server identified by the target service ID at S20 in FIG. 5. At T44, the printer 10A transmits a token request including the PIN code PC1, the serial number "SN1", and the model name "MN1" to the first SP server 200.
[0075] In T310, the first SP server 200 transmits a transmission request including the user ID "U1" to the second SP server 300 identified by the target service ID "SI2" (S20 in FIG. 5).
[0076] When the second SP server 300 receives a transmission request from the first SP server 200 in T310, the second SP server 300 executes the first device authentication using the authentication device. Specifically, the second SP server 300 identifies the user ID "U1" in the transmission request, and identifies the authentication device information "SN2, MN2" associated with the user ID "U1" from the second service table 338. Next, the second SP server 300 determines that the authentication device information "SN2, MN2" is associated with only one user ID in the second service table 338. In this case, the second SP server 300 identifies the serial number "SN2" and the model name "MN2" included in the authentication device information "SN2, MN2", and identifies the authentication operation "input PIN code" associated with the model name "MN2" from the authentication table 342. In this case, the second SP server 300 generates a PIN code PC2 in T320, and temporarily stores the PIN code PC2 in the memory 334. The second SP server 300 sends a PIN code transmission request to the printer 10B identified by the serial number "SN1" at T322, and sends the PIN code PC2 to the terminal device 100 via the first SP server 200 at T324. The PIN code transmission request is a signal for requesting that the PIN code be transmitted to the first SP server 200 and the second SP server 300.
[0077] Printer 10B receives a PIN code transmission request from the second SP server 300 at T322, and when it accepts an operation to enter PIN code PC2 at T330, it transmits PIN code PC2 to the first SP server 200 at T332, and transmits PIN code PC2 to the second SP server 300 at T334.
[0078] When the first SP server 200 receives the PIN code PC2 from the printer 10B in T332, it transmits the PIN code PC2 to the second SP server 300 in T336.
[0079] The second SP server 300 receives the PIN code PC2 from the printer 10B in T334, and when it receives the PIN code PC2 from the first SP server 200 in T336, it determines that the two received PIN codes PC2 match the PIN code PC2 stored in the memory 334, and determines that the first device authentication using the authentication device (i.e., the printer 10B) has been successful in T338. In this case, the second SP server 300 identifies the address information "AD1" and payment information "PI1" that are stored in association with the user ID "U1" from the second service table 338, and transmits the registration information to the first SP server 200 in T340. Note that, if the first device authentication fails, the second SP server 300 transmits failure information indicating that the first device authentication has failed to the first SP server 200.
[0080] When the first SP server 200 receives the registration information from the second SP server 300 at T340 (YES at S22), it transmits the second subscription screen data to the terminal device 100 at T342 (S40).
[0081] When the terminal device 100 receives the second subscription screen data from the second SP server 300 in T342, the terminal device 100 displays the second subscription screen SC14 on the display unit 114 in T344. The second subscription screen SC14 is similar to the second subscription screen SC12 (see FIG. 5) of the first embodiment, except that it includes an authentication device setting field. The authentication device setting field is a field for selecting whether or not to register a printer used in the flat-rate service as an authentication device. T346 and T348 are similar to T224 and T226 in FIG. 6, respectively. In T350, the first SP server 200 stores the registration information in the first service table 238 in association with the user ID "U1" as information for providing the flat-rate service to the user. In addition, the first SP server 200 stores the authentication device information "SN1, MN1" in association with the user ID "U1" in the first service table 238. This allows the user to receive flat-rate services using the printer 10A. When the first SP server 200 receives failure information from the second SP server 300, it determines that registration information has not been received from the terminal device 100 (NO in S22), and transmits the first subscription screen data to the terminal device 100 (S24).
[0082] When the OK button is operated after the check box in the setting field on the second subscription screen SC14 is unchecked, the terminal device 100 displays an input screen for inputting device information to be registered as an authentication device. When device information is input, the terminal device 100 transmits OK information and the device information to the first SP server 200. When the first SP server 200 receives device information from the terminal device 100, it stores the device information in the first service table 238 as authentication device information. In this way, the user can specify a device different from the device used in the service as the authentication device. As an example, the user can specify the printer 10B and the terminal device 100 as the authentication devices.
[0083] Furthermore, if the second SP server 300 determines after T310 that the authentication device information "SN2, MN2" is also associated with a user ID other than the user ID "U1", it transmits to the second SP server 300 impossibility information indicating that it is impossible to transmit the registration information without executing the process from T320 onwards. In this case, the first SP server 200 determines not to receive the registration information from the terminal device 100 (NO in S22) and transmits the first joining screen data to the terminal device 100 (S24). That is, the first SP server 200 does not receive the registration information from the second SP server 300 regardless of whether the first device authentication is successful or not. With this configuration, it is possible to prevent the first SP server 200 from receiving the registration information in a state where the authentication device is shared by multiple users. Therefore, it is possible to improve the security of the registration information.
[0084] (Effect of Case B) As described above, when the first device authentication using the printer 10B is successful (T338), the first SP server 200 receives the registration information in the memory 334 of the second SP server 300 (T340) and stores the registration information in the memory 234 (T350). Therefore, the security of the registration information can be improved.
[0085] Furthermore, the first SP server 200 receives the service ID "SI2" related to the second cartridge shipping service from the terminal device 100, and acquires registration information for providing the second cartridge shipping service to the user from the memory 334 of the second SP server 300. If the first SP server 200 does not receive the service ID from the terminal device 100, the first SP server 200 needs to inquire whether or not the registration information associated with the user ID "U1" is stored in each of the memories of the multiple SP servers. According to the above configuration, the first SP server 200 only needs to inquire whether or not the registration information associated with the serial number "SN2" is stored in the memory 334 of the second SP server 300. Therefore, the processing load of the first SP server 200 can be reduced.
[0086] (Correspondence) The authentication device information is an example of "device identification information." Printer 10B is an example of an "authentication device." Printer 10B is an example of a "first type of device." The authentication operation "entering a PIN code" is an example of a "first specified operation." Printer 10A is an example of a "second type of device." The authentication operation "operating the power button + setting button" is an example of a "second specified operation." The target service ID is an example of "service-related information."
[0087] (Third Example) A communication system 2 of the third embodiment will be described. The communication system 2 of the third embodiment is similar to the communication system 2 of the second embodiment. In this embodiment, the first SP server 200 executes the second device authentication using an authentication device.
[0088] (Case C; Figure 9) A specific case C realized by the communication system 2 of this embodiment will be described with reference to Fig. 9. The initial state of case C is similar to the initial state of case B in Fig. 8, except that the authentication device information "SN1, MN1" is stored in the second service table 338.
[0089] As in case B of FIG. 8, processes similar to those from T10 to T64 of FIG. 3 are executed among the printer 10A, the terminal device 100, and the first SP server 200.
[0090] In T410, the first SP server 200 transmits a device information request including the user ID "U1" to the second SP server 300. The device information request is a signal requesting the transmission of authentication device information.
[0091] When the second SP server 300 receives a device information request from the first SP server 200 at T410, it identifies the authentication device information "SN1, MN1" associated with the user ID "U1" from the second service table 338, and at T420, transmits the authentication device information "SN1, MN1" to the first SP server 200.
[0092] When the first SP server 200 receives the authentication device information "SN1, MN1" from the second SP server 300 in T420, it identifies the serial number "SN1" included in the authentication device information "SN1, MN1". In T54 of FIG. 3, the PIN code PC1 stored in T34 matches the PIN code PC1 in the token request. That is, in T54, the second device authentication using the authentication device (i.e., the printer 10A) is successful. For this reason, the first SP server 200 determines that the first device authentication using the printer 10A is successful. In this case, the first SP server 200 determines that the second device authentication using the printer 10A has been successful in T422 of FIG. 9. Next, the first SP server 200 transmits a transmission request including the user ID "U1" to the second SP server 300 in T424. In a modified example, the first SP server 200 may execute the second device authentication again after receiving the authentication device information "SN1, MN1" from the second SP server 300. If the second device authentication is not successful, the first SP server 200 may transmit the first joining screen data to the terminal device 100.
[0093] When the second SP server 300 receives the first success information from the authentication server 500 in T424, it determines that the second device authentication has been successful. T430 to T440 are the same as T340 to T350 in FIG. 8. This allows the user to use the printer 10A to receive flat-rate services. In a modified example, the first SP server 200 may receive authentication device information from the second SP server 300 in response to transmitting a transmission request including a user ID in T410. In this modified example, the first SP server 200 may transmit information indicating that the second device authentication has been successful to the second SP server 300 when the second device authentication is successful. After that, the processes from T430 onwards are executed.
[0094] (Effect of Case C) As described above, when the first device authentication using the printer 10A is successful (T54 in FIG. 3, T422 in FIG. 9), the first SP server 200 receives the registration information in the memory 334 of the second SP server 300 (T430) and stores the registration information in the memory 234 (T440). Therefore, the security of the registration information can be improved.
[0095] (Correspondence) Printer 10A is an example of an "authentication device."
[0096] (Fourth Example) A communication system 2 according to the fourth embodiment will now be described. As shown in Fig. 1, the communication system 2 according to the present embodiment further includes an authentication server 500 that stores an authentication table 538. The authentication server 500 is connected to the Internet 6.
[0097] As shown in FIG. 7, the contents of the authentication table 538 are similar to the contents of the authentication table 342 of the second embodiment.
[0098] (Case D; Figure 10) Case D realized by the communication system 2 of this embodiment will be described with reference to Fig. 10. The initial state of case D is similar to the initial state of case B in Fig. 8.
[0099] 8, processes similar to T10 to T64 in FIG 3 are executed between the printer 10A, the terminal device 100, and the first SP server 200. T510 is similar to T310 in FIG 8.
[0100] When the second SP server 300 receives the transmission request from the first SP server 200 in T510, it identifies the authentication device information "SN2, MN2" associated with the user ID "U1" in the second service table 338. Next, the second SP server 300 determines that the authentication device information "SN2, MN2" is associated with only one user ID. In this case, the second SP server 300 identifies the serial number "SN2" and the model name "MN2" included in the authentication device information "SN2, MN2", and transmits an authentication request including the serial number "SN2" and the model name "MN2" to the authentication server 500 in T520. The authentication request is a signal requesting the execution of third device authentication using the authentication device.
[0101] When the authentication server 500 receives an authentication request from the second SP server 300 in T520, it executes a third device authentication. Specifically, the authentication server 500 identifies the model name "MN2" included in the authentication request, and identifies the authentication operation "input PIN code" associated with the model name "MN2" from the authentication table 538. In this case, the authentication server 500 generates a PIN code PC3 in T522, and stores the generated PIN code PC3 in a memory (not shown) of the authentication server 500. In T524, the authentication server 500 transmits the PIN code PC3 to the terminal device 100 via the second SP server 300 and the first SP server 200. Although not shown, the second SP server 300 transmits a PIN code transmission request to the printer 10B to cause the printer 10B to transmit the PIN code to the authentication server 500.
[0102] When the printer 10B accepts an operation to input the PIN code PC3 in T530, the printer 10B transmits the PIN code PC3 to the authentication server 500 in T532.
[0103] When the authentication server 500 receives the PIN code PC3 from the printer 10B in T532, it determines that the generated PIN code PC3 matches the received PIN code PC3, and determines in T534 that the third device authentication using the authentication device (i.e., the printer 10B) has been successful. In this case, the authentication server 500 transmits second success information indicating that the third device authentication has been successful to the second SP server 300 in T536. Note that if the third device authentication is not successful, the authentication server 500 transmits second failure information indicating that the third device authentication has failed to the second SP server 300.
[0104] When the second SP server 300 receives the second success information from the authentication server 500 in T536, it determines that the third device authentication has been successful. T540 to T550 are the same as T340 to T350 in FIG. 8. This allows the user to use the printer 10A to receive flat-rate services. Note that when the second SP server 300 receives failure information from the authentication server 500, it does not transmit registration information to the first SP server 200.
[0105] (Effect of Case D) As described above, when the third device authentication using the printer 10B is successful (T534), the first SP server 200 receives the registration information in the memory 334 of the second SP server 300 (T540) and stores the registration information in the memory 234 (T550). Therefore, the security of the registration information can be improved.
[0106] (Correspondence) The second authentication request is an example of an "authentication instruction."
[0107] (Fifth Example) A communication system 2 according to a fifth embodiment will be described below. The first SP server 200 according to this embodiment does not execute the registration process shown in FIG.
[0108] (Case F; Figure 11) Case F realized by the communication system 2 of this embodiment will be described with reference to Fig. 11. The initial state of case F is similar to the initial state of case A in Fig. 6.
[0109] First, between the terminal device 100 and the first SP server 200, processing similar to T10 to T28 in FIG.
[0110] In T630, the user executes a service subscription operation and an operation of inputting the target service ID "SI2" in the terminal device 100. As a result, in T640, the terminal device 100 transmits a transmission request including the user ID "U1" to the second SP server 300 identified by the target service ID "SI2".
[0111] When the second SP server 300 receives a transmission request from the terminal device 100 in T640, it identifies the registration information (i.e., address information "AD1" and payment information "PI1") stored in association with the user ID "U1" in the second service table 338, and in T642, transmits the identified registration information to the terminal device 100. If the second SP server 300 determines that the registration information is not stored, it transmits unstored information indicating that the registration information is not stored to the first SP server 200.
[0112] When the terminal device 100 receives the registration information from the second SP server 300 in T642, the terminal device 100 transmits a service subscription request including the registration information to the first SP server 200 in T650. In a modified example, the terminal device 100 may transmit the service subscription request and the registration information separately. When the terminal device 100 receives unstored information from the second SP server 300, the terminal device 100 transmits a service subscription request not including the registration information to the first SP server 200.
[0113] Thereafter, processes similar to those from T34 to T64 in Fig. 3 are executed between the terminal device 100, the printer 10A, and the first SP server 200. The first SP server 200 determines that the registration information has been received from the terminal device 100, and transmits second subscription screen data to the terminal device 100 in T660. If the first SP server 200 has not received the registration information from the terminal device 100, it transmits the first subscription screen data to the terminal device 100. T662 to T668 are similar to T222 to T228 in Fig. 6. This allows the user to receive flat-rate services using the printer 10A.
[0114] (Effects of this embodiment) As described above, the terminal device 100 transmits a transmission request including the user ID "U1" to the second SP server 300. When the terminal device 100 receives registration information from the second SP server 300, it transmits the registration information to the first SP server 200. Then, the first SP server 200 stores the registration information in association with the user ID "U1" as information for providing a flat-rate service to the user. This improves user convenience.
[0115] (Correspondence) The first SP server 200 is an example of a "first server." The flat-rate service and the second cartridge shipping service are examples of a "first service" and a "second service," respectively. The user ID "U1" is an example of "user-related information." The second SP server 300 is an example of a "second server." The registration information of T642 in FIG. 11 is an example of "specific registration information."
[0116] Although specific examples of the present invention have been described above in detail, these are merely examples and do not limit the scope of the claims. The technology described in the claims includes various modifications and alterations of the specific examples exemplified above. Modifications of the above-mentioned embodiments are listed below.
[0117] (First Modification) The second SP server 300 and the first SP server 200 may be examples of the "first server" and "second server", respectively. In this modification, the second cartridge shipping service and the flat-rate service are modifications of the "first service" and "second service", respectively. In this modification, the second SP server 300 executes the process of FIG. 5. In S10, the second SP server 300 uses the second history table 340 instead of the first history table 240. In S20, the second SP server 300 transmits a transmission request to the first SP server 200. In S28, S44, and S46, the second SP server 300 stores the registration information in the second service table 338 in association with the user ID as information for providing the second cartridge shipping service to the user. In another modified example, the third SP server 400 may be an example of the "first server" or the "second server."
[0118] (Second Modification) The communication system 2 may include a management server that stores registration information for providing a flat-rate service to a user and registration information for providing a second cartridge shipping service to a user. In this modification, the CPU 232 of the first SP server 200 transmits a transmission request to the management server instead of the second SP server 300 in S20 of FIG.
[0119] (Third Modification) The "user identification information" is not limited to the user ID, but may be an email address, a user's name, or the like.
[0120] (Fourth Modification) The first history table 240 does not have to be stored in the memory 234 of the first SP server 200. In this modification, S10 and S30 in Fig. 5 can be omitted. In this modification, the "third storage control unit" can be omitted.
[0121] 5 can be omitted. In this modification, when the CPU 232 of the first SP server 200 acquires registration information from the first history table 240 or receives registration information from the second SP server 300, the CPU 232 stores the registration information received in S22 or the registration information acquired in S30 in the first service table 238 in association with the target user ID without transmitting the second subscription screen data. In this modification, the "confirmation screen data transmission unit" can be omitted.
[0122] (Sixth Modification) The second subscription screen SC12 may not allow the address information and payment information to be changed. In this modification, S42 and S44 in FIG. 5 may be omitted. In this modification, the "fourth storage control unit" may be omitted.
[0123] (Seventh Modification) The CPU 232 of the first SP server 200 may transmit a transmission request to the second SP server 300 and the third SP server 400 in S20 of FIG. 5. In this modification, when the CPU 232 does not receive registration information from the second SP server 300 and the third SP server 400, it judges NO in S22 and executes the process of S24 and onward. On the other hand, when the CPU 232 receives registration information from at least one of the second SP server 300 and the third SP server 400, it judges YES in S22 and executes the process of S40 and onward. In another modification, the CPU 232 may transmit a transmission request to the second SP server 300 before transmitting the transmission request to the third SP server 400. In this modification, when the CPU 232 judges NO in S22, it transmits a transmission request to the third SP server 400. Then, if the registration information is not received from the third SP server 400, the CPU 232 may execute the processes from S24 onwards, and if the registration information is received from the third SP server 400, the CPU 232 may execute the processes from S40 onwards.
[0124] (Eighth Variation) The "registration information" may be information including either address information or payment information.
[0125] (Ninth Variation) In each of the above embodiments, the processes in Figures 3 to 6 and Figures 8 to 11 are realized by software (e.g., programs 36, 236, 336), but at least one of these processes may be realized by hardware such as a logic circuit.
[0126] (Tenth Modification) The first SP server 200 and the second SP server 300 may be physically the same server. In that case, the first SP server 200 and the second SP server 300 are constructed inside the server. For example, the first SP server 200 and the second SP server 300 may be constructed as multiple servers by different vendors or different businesses (or the same vendor or business) in the same physically cloud server. In that case, communication (data transmission and reception) between the first SP server 200 and the second SP server 300 may be internal communication within the server, and the communication I / F 218 and the communication I / F 318 may serve both for communication to the outside and communication within the server. In this modification, the "first memory" and the "second memory" are the same.
[0127] (Eleventh Modification) The "user-related information" is not limited to a user ID, and may be a device ID, a serial number, a MAC address, or the like. When the serial number "SN1" is an example of the "user-related information", the first SP server 200 transmits a transmission request including the serial number (see, for example, T52 in FIG. 3) received from the printer 10A to the second SP server 300 in S20 of FIG. 5. In this case, the second SP server 300 transmits the registration information stored in association with the serial number "SN1" in the second service table 338 to the first SP server 200. In this modification, the printer 10A and the terminal device 100 are examples of the "first external device" and the "second external device", respectively. Also, when the serial number "SN1" is an example of the "user-related information", the first SP server 200 may be configured to receive the serial number from the terminal device 100. For example, the first SP server 200 transmits a service subscription request including a serial number from the terminal device 100. In this case, in S20 of FIG. 5, the first SP server 200 transmits a transmission request including the serial number received from the terminal device 100 (see, for example, T52 of FIG. 3) to the second SP server 300. In this modification, the terminal device 100 is an example of a "first external device" and a "second external device." Furthermore, when the serial number "SN1" is an example of "user-related information," the user ID, address information, and payment information may be examples of "registration information."
[0128] (Twelfth Modification) The communication system 2 of the fourth embodiment may include an intermediary server that mediates communication with the printer. In this case, the authentication server 500 executes communication with the printer via the intermediary server.
[0129] (Thirteenth Modification) It is possible to omit S22 to S28 in Fig. 5. In this modification, it is possible to omit the "input screen data transmitting unit", the "registration information receiving unit", and the "second storage control unit".
[0130] (14th Modification) In the first embodiment, the first SP server 200 may be configured to receive registration information from the second SP server 300 when two of the first device authentication, the second device authentication, and the third device authentication are successful. In another modification, the first SP server 200 may be configured to receive registration information from the second SP server 300 when the first device authentication, the second device authentication, and the third device authentication are successful.
[0131] (Fifteenth Variation) Even if the second SP server 300 determines after T310 in FIG. 8 that the authentication device information “SN2, MN2” is associated with multiple user IDs, the second SP server 300 may continue processing from T140 onwards.
[0132] (16th Modification) In the second embodiment, the second SP server 300 may execute only the first device authentication corresponding to the authentication method "PIN code input" regardless of the model name. In another modification, the second SP server 300 may change the authentication method used in the first device authentication depending on the timing at which the transmission request is received. In another modification, the second SP server 300 may randomly change the authentication method used in the third device authentication. The same applies to the third device authentication in the fourth embodiment.
[0133] (17th Modification) In the second and fourth embodiments, the first service table 238 and the second service table 338 may not include authentication device information. In this modification, the second SP server 300 may execute device authentication using a printer having a serial number and model name stored in association with the user ID included in the transmission request in the second service table 338. In other words, the device used for device authentication does not have to be specified by the user.
[0134] In addition, the technical elements described in this specification or drawings exert technical utility alone or in various combinations, and are not limited to the combinations described in the claims at the time of filing. In addition, the technologies exemplified in this specification or drawings achieve multiple objectives simultaneously, and achieving one of those objectives itself has technical utility.
[0135] In the scope of the claims at the time of filing of this patent application, even if each claim is dependent on only some of the claims, it is not limited to the fact that each claim can be dependent on only those some of the claims. Each claim can also be dependent on other claims that are not dependent on it at the time of filing to the extent that there is no technical contradiction. In other words, the technology of each claim can be combined in various ways as follows: (Item 1) A computer program for a first server providing a first service, comprising: The computer program causes the first server computer to a user identification information receiving unit that receives user identification information for identifying a user from the terminal device; a service subscription request receiving unit that receives a service subscription request for subscribing to the first service from the terminal device; a transmission request transmitting unit that transmits a transmission request including the user identification information to a second server different from the first server when the user identification information and the service subscription request are received from the terminal device, the transmission request being a signal requesting transmission of registration information stored in the second server in association with the user identification information; a first storage control unit that, when the transmission request is transmitted to the second server and first registration information is received from the second server, stores the first registration information in a memory in association with the user identification information as information for providing the first service to the user, and when the transmission request is transmitted to the second server and first registration information is received from the second server, the first storage control unit does not store the registration information; A computer program that functions as a (Item 2) The computer program further causes the computer to an input screen data sending unit that sends input screen data representing an input screen for inputting registration information to the terminal device when the transmission request is sent to the second server and registration information is not received from the second server; a registration information receiving unit that receives second registration information from the terminal device when second registration information is input by the user into the input screen displayed on the terminal device; a second storage control unit that, when the first registration information is received from the terminal device, stores the second registration information in the memory in association with the user identification information as information for providing the first service to the user; 2. The computer program according to item 1, (Item 3) The computer program further causes the computer to a third storage control unit that, when the user identification information and the service subscription request are received from the terminal device and history information in which the user identification information and third registration information are associated with each other and the history information used when the user previously subscribed to the first service is stored in the memory, stores the third registration information in the memory in association with the user identification information as information for providing the first service to the user; Functioning as a The transmission request transmission unit is sending the transmission request to the second server when the user identification information and the service subscription request are received from the terminal device and the history information is not stored in the memory; 3. The computer program according to claim 1, wherein the transmission request is not sent to the second server when the user identification information and the service subscription request are received from the terminal device and the history information is stored in the memory. (Item 4) The computer program further causes the computer to when the transmission request is transmitted to the second server and the first registration information is received from the second server, the terminal device is caused to function as a confirmation screen data transmission unit that transmits confirmation screen data representing a confirmation screen including the first registration information to the terminal device; The computer program of any one of items 1 to 3, wherein the first storage control unit stores the first registration information in the memory in association with the user identification information when first information corresponding to storing the first registration information in the memory is received from the terminal device after the confirmation screen data is transmitted to the terminal device. (Item 5) the confirmation screen is configured to allow the first registration information to be changed, The computer program further causes the computer to The computer program described in item 4, which functions as a fourth memory control unit that, when second information corresponding to a change to the first registration information is received from the terminal device after the confirmation screen data is sent to the terminal device, stores the changed registration information in the memory in association with the user identification information as information for providing the first service to the user. (Item 6) the second server is a server that provides a second service different from the first service; 6. The computer program of claim 1, wherein the first registration information is stored in the second server as information for the second server to provide the second service. (Item 7) 7. A computer program according to any one of claims 1 to 6, wherein the registration information includes at least one of address information and payment information. (Item 8) A computer program for a first server providing a first service, comprising: The first server comprises: A computer, A first memory, The computer program causes the computer to: a user-related information receiving unit that receives user-related information for providing a second service, which is different from the first service, to the user from a first external device; a service subscription request receiving unit that receives a service subscription request for subscribing to the first service from a second external device; an acquisition unit that acquires the first registration information from the second memory when the user-related information is received from the first external device, the service subscription request is received from the second external device, and first registration information is stored in the second memory in association with the user-related information as information for providing the second service to the user, and when the user-related information is received from the first external device, the service subscription request is received from the second external device, and registration information is not stored in the second memory in association with the user-related information as information for providing the second service to the user, the acquisition unit does not acquire the registration information; a first storage control unit that, when the first registration information is acquired from the second memory, stores the first registration information in the first memory in association with the user-related information as information for providing the first service to the user; A computer program that functions as a (Item 9) The computer program further causes the computer to an input screen data transmission unit that transmits input screen data to the second external device when the user-related information is received from the first external device, the service subscription request is received from the second external device, and registration information is not stored in the second memory in association with the user-related information as information for providing the second service to the user; a registration information receiving unit that receives second registration information from the second external device when second registration information is input by a user into an input screen represented by the input screen data; a second storage control unit that, when the second registration information is received from the second external device, stores the second registration information in the first memory in association with the user-related information as information for providing the first service to the user; 9. The computer program according to item 8, which functions as (Item 10) Item 8 or 9, wherein the acquisition unit acquires the first registration information from the second memory when the user-related information is received from the first external device, the service subscription request is received from the second external device, the first registration information is stored in the second memory in association with the user-related information as information for providing the second service to the user, and authentication using an authentication device identified by device identification information stored in the second memory in association with the user-related information is successful. The computer program according to claim 1, (Item 11) a second server different from the first server, the second server comprising the second memory; the second server provides the second service; The computer program further causes the computer to a transmission request sending unit that sends a transmission request including the user-related information to the second server when the user-related information is received from the first external device and the service subscription request is received from the second external device; The second server, When receiving the transmission request from the first server, performing the authentication using the authentication device identified by the device identification information stored in the second memory in association with the user-related information included in the transmission request; If the authentication is successful, providing the first registration information in the second memory to the first server; Item 11. The computer program according to item 10, wherein the acquisition unit acquires the first registration information from the second memory by receiving the first registration information from the second server. (Item 12) a second server different from the first server, the second server comprising the second memory; the second server provides the second service; The computer program further causes the computer to a transmission request sending unit that sends a transmission request including the user-related information to the second server when the user-related information is received from the first external device and the service subscription request is received from the second external device; The second server, When receiving the transmission request from the first server, transmitting an authentication instruction to an authentication server, the authentication instruction including the device identification information stored in the second memory in association with the user-related information included in the transmission request; providing the first registration information in the second memory to the first server when receiving information from the authentication server indicating that the authentication has been successful; Item 12. The computer program according to item 10 or 11, wherein the acquisition unit acquires the first registration information from the second memory by receiving the first registration information from the second server. (Item 13) a second server different from the first server, the second server comprising the second memory; the second server provides the second service; The computer program further causes the computer to when the user-related information is received from the first external device and the service subscription request is received from the second external device, the authentication unit functions as an authentication unit that performs the authentication using the authentication device identified by the device identification information stored in the second memory in association with the user-related information; 13. The computer program according to any one of items 10 to 12, wherein the acquisition unit acquires the first registration information from the second memory by receiving the first registration information from the second server when the authentication is successful. (Item 14) Item 11. The computer program of item 10, wherein when the device identification information, the user-related information, and the first registration information are stored in the second memory in association with each other, and the device identification information is stored in the second memory in association with registration information different from the first registration information, when the user-related information is received from the first external device and the service subscription request is received from the second external device, the first registration information is not acquired regardless of whether the authentication is successful or not. (Item 15) When the authentication device is a first type of device, the authentication includes a first predetermined operation on the authentication device; 15. A computer program according to any one of claims 10 to 14, wherein when the authentication device is a second type of device different from the first type of device, the authentication includes a second predetermined operation on the authentication device different from the first predetermined operation. (Item 16) The computer program further causes the computer to when the second service is designated from among a plurality of services, the second external device is caused to function as a related information receiving unit that receives service related information related to the second service from the second external device; The computer program according to any one of items 10 to 15, wherein the acquisition unit acquires the first registration information from the second memory when the user-related information is received from the first external device, the service subscription request and the service-related information are received from the second external device, and the authentication using the authentication device used in the second service related to the service-related information is successful. (Item 17) A computer program for a terminal device, comprising: The computer program causes the computer of the terminal device to a transmission request transmitting unit configured to transmit a transmission request including user-related information related to information for providing a second service to a user, the second service being different from a first service provided by a first server, to a second server, the transmission request being a signal requesting transmission of registration information stored in the second server in association with the user-related information; a registration information receiving unit that receives the specific registration information from the second server when the transmission request is transmitted to the second server and the specific registration information is stored in the second server in association with the user-related information, and does not receive the registration information from the second server when the transmission request is transmitted to the second server and the registration information is not stored in the second server in association with the user-related information; a registration information transmitting unit configured to transmit the specific registration information to the first server when the specific registration information is received from the second server; a user-related information transmitting unit that transmits the user-related information to the first server; a service subscription request transmission unit that transmits a service subscription request for requesting subscription to the first service to the first server, the first server receiving the specific registration information from the terminal device, receiving the user-related information from the terminal device, and storing the specific registration information in association with the user-related information as information for providing the first service to the user when receiving the service subscription request from the terminal device; A computer program that functions as a [Explanation of symbols]
[0136] 2: communication system, 4: LAN, 6: Internet, 10A: printer, 10B: printer, 12: operation unit, 14: display unit, 16: print execution unit, 18: communication I / F, 30: control unit, 32: CPU, 34: memory, 36: program, 100: terminal device, 114: display unit, 130: control unit, 132: CPU, 134: memory, 136: program, 138: application program, 200: first SP server, 2 18: communication I / F, 230: control unit, 232: CPU, 234: memory, 236: program, 238: first service table, 240: first history table, 300: second SP server, 318: communication I / F, 330: control unit, 332: CPU, 334: memory, 336: program, 340: second history table, 342: authentication table, 400: third SP server, 500: authentication server, 538: authentication table
Claims
1. A computer program for a first server providing a first service, comprising: The computer program causes the first server computer to a user identification information receiving unit that receives user identification information for identifying a user from the terminal device; a service subscription request receiving unit that receives a service subscription request for subscribing to the first service from the terminal device; a transmission request transmitting unit that transmits a transmission request including the user identification information to a second server different from the first server when the user identification information and the service subscription request are received from the terminal device, the transmission request being a signal requesting transmission of registration information stored in the second server in association with the user identification information; a first storage control unit that, when the transmission request is transmitted to the second server and first registration information is received from the second server, stores the first registration information in a memory in association with the user identification information as information for providing the first service to the user, and when the transmission request is transmitted to the second server and first registration information is received from the second server, the first storage control unit does not store the registration information; A computer program that functions as a
2. The computer program further causes the computer to an input screen data transmission unit that transmits, when the transmission request is transmitted to the second server and registration information is not received from the second server, input screen data representing an input screen for inputting registration information to the terminal device; a registration information receiving unit that receives second registration information from the terminal device when second registration information is input by the user into the input screen displayed on the terminal device; a second storage control unit that, when the first registration information is received from the terminal device, stores the second registration information in the memory in association with the user identification information as information for providing the first service to the user; The computer program product of claim 1 .
3. The computer program further causes the computer to a third storage control unit that, when the user identification information and the service subscription request are received from the terminal device and history information in which the user identification information and third registration information are associated with each other and the history information used when the user previously subscribed to the first service is stored in the memory, stores the third registration information in the memory in association with the user identification information as information for providing the first service to the user; Function as a The transmission request transmission unit is sending the transmission request to the second server when the user identification information and the service subscription request are received from the terminal device and the history information is not stored in the memory; 2. The computer program product according to claim 1, wherein when the user identification information and the service subscription request are received from the terminal device and the history information is stored in the memory, the transmission request is not sent to the second server.
4. The computer program further causes the computer to when the transmission request is transmitted to the second server and the first registration information is received from the second server, the terminal device is caused to function as a confirmation screen data transmission unit that transmits confirmation screen data representing a confirmation screen including the first registration information to the terminal device; 2. The computer program product of claim 1, wherein the first storage control unit stores the first registration information in the memory in association with the user identification information when first information corresponding to storing the first registration information in the memory is received from the terminal device after the confirmation screen data is transmitted to the terminal device.
5. the confirmation screen is configured to allow the first registration information to be changed, The computer program further causes the computer to The computer program of claim 4, further comprising: a fourth memory control unit that, when second information corresponding to a change to the first registration information is received from the terminal device after the confirmation screen data is transmitted to the terminal device, causes the fourth memory control unit to store the changed registration information in the memory in association with the user identification information as information for providing the first service to the user.
6. the second server is a server that provides a second service different from the first service, The computer program product according to claim 1 , wherein the first registration information is stored in the second server as information for the second server to provide the second service.
7. The computer program product of claim 1 , wherein the registration information includes at least one of address information and payment information.
8. A computer program for a first server providing a first service, comprising: The first server comprises: A computer, A first memory, The computer program causes the computer to: a user-related information receiving unit that receives user-related information for providing a second service, different from the first service, to the user from a first external device; a service subscription request receiving unit that receives a service subscription request for subscribing to the first service from a second external device; an acquisition unit that acquires the first registration information from the second memory when the user-related information is received from the first external device, the service subscription request is received from the second external device, and first registration information is stored in the second memory in association with the user-related information as information for providing the second service to the user, the acquisition unit not acquiring the registration information when the user-related information is received from the first external device, the service subscription request is received from the second external device, and registration information is not stored in the second memory in association with the user-related information as information for providing the second service to the user; a first storage control unit that, when the first registration information is acquired from the second memory, stores the first registration information in the first memory in association with the user-related information as information for providing the first service to the user; A computer program that functions as a
9. The computer program further causes the computer to an input screen data transmission unit that transmits input screen data to the second external device when the user-related information is received from the first external device, the service subscription request is received from the second external device, and registration information is not stored in the second memory in association with the user-related information as information for providing the second service to the user; a registration information receiving unit that receives second registration information from the second external device when second registration information is input by a user into an input screen represented by the input screen data; a second storage control unit that, when the second registration information is received from the second external device, stores the second registration information in the first memory in association with the user-related information as information for providing the first service to the user; The computer program product according to claim 8,
10. 9. The computer program product of claim 8, wherein the acquisition unit acquires the first registration information from the second memory when the user-related information is received from the first external device, the service subscription request is received from the second external device, the first registration information is stored in the second memory in association with the user-related information as information for providing the second service to the user, and authentication is successful using an authentication device identified by device identification information stored in the second memory in association with the user-related information.
11. a second server different from the first server, the second server comprising the second memory; the second server provides the second service; The computer program further causes the computer to a transmission request sending unit that sends a transmission request including the user-related information to the second server when the user-related information is received from the first external device and the service subscription request is received from the second external device; The second server comprises: When receiving the transmission request from the first server, performing the authentication using the authentication device identified by the device identification information stored in the second memory in association with the user-related information included in the transmission request; If the authentication is successful, providing the first registration information in the second memory to the first server; The computer program product according to claim 10 , wherein the acquisition unit acquires the first registration information from the second memory by receiving the first registration information from the second server.
12. a second server different from the first server, the second server comprising the second memory; the second server provides the second service; The computer program further causes the computer to a transmission request sending unit that sends a transmission request including the user-related information to the second server when the user-related information is received from the first external device and the service subscription request is received from the second external device; The second server comprises: When receiving the transmission request from the first server, transmitting an authentication instruction to an authentication server, the authentication instruction including the device identification information stored in the second memory in association with the user-related information included in the transmission request; providing the first registration information in the second memory to the first server when receiving information from the authentication server indicating that the authentication has been successful; The computer program product according to claim 10 , wherein the acquisition unit acquires the first registration information from the second memory by receiving the first registration information from the second server.
13. a second server different from the first server, the second server comprising the second memory; the second server provides the second service; The computer program further causes the computer to when the user-related information is received from the first external device and the service subscription request is received from the second external device, the authentication unit functions as an authentication unit that performs the authentication using the authentication device identified by the device identification information stored in the second memory in association with the user-related information; The computer program product according to claim 10 , wherein the acquisition unit acquires the first registration information from the second memory by receiving the first registration information from the second server if the authentication is successful.
14. 11. The computer program of claim 10, wherein when the device identification information, the user-related information, and the first registration information are stored in the second memory in association with each other, and the device identification information is stored in the second memory in association with registration information different from the first registration information, when the user-related information is received from the first external device and the service subscription request is received from the second external device, the first registration information is not acquired regardless of whether the authentication is successful or not.
15. When the authentication device is a first type of device, the authentication includes a first predetermined operation on the authentication device; 11. The computer program product of claim 10, wherein when the authentication device is a second type of device different from the first type of device, the authentication includes a second predetermined operation different from the first predetermined operation on the authentication device.
16. The computer program further causes the computer to when the second service is designated from among a plurality of services, the second external device is caused to function as a related information receiving unit that receives service related information related to the second service from the second external device; 11. The computer program product of claim 10, wherein the acquisition unit acquires the first registration information from the second memory when the user-related information is received from the first external device, the service subscription request and the service-related information are received from the second external device, and the authentication using the authentication device used for the second service related to the service-related information is successful.
17. A computer program for a terminal device, comprising: The computer program causes the computer of the terminal device to a transmission request transmitting unit configured to transmit a transmission request including user-related information related to information for providing a second service to a user, the second service being different from a first service provided by a first server, to a second server, the transmission request being a signal requesting transmission of registration information stored in the second server in association with the user-related information; a registration information receiving unit that receives the specific registration information from the second server when the transmission request is transmitted to the second server and the specific registration information is stored in the second server in association with the user-related information, and does not receive the registration information from the second server when the transmission request is transmitted to the second server and the registration information is not stored in the second server in association with the user-related information; a registration information transmitting unit configured to transmit the specific registration information to the first server when the specific registration information is received from the second server; a user-related information transmitting unit configured to transmit the user-related information to the first server; a service subscription request sending unit that sends a service subscription request for subscribing to the first service to the first server, the first server receiving the specific registration information from the terminal device, receiving the user-related information from the terminal device, and storing the specific registration information in association with the user-related information as information for providing the first service to the user when receiving the service subscription request from the terminal device; A computer program that functions as a
Citation Information
Patent Citations
Management server and communication system
JP2017049767A
