Computer program for management server, management server, and method to be executed by management server
The management server facilitates easy service transitions by managing user identification and subscription information, allowing users to switch services without redundant registration, thus improving user experience.
Patent Information
- Application Number
- JP2023060333
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-03
- Publication Date
- 2024-10-16
AI Technical Summary
Existing communication systems lack the ability to easily change a user's subscribed services, such as switching from one service to another, without requiring redundant user registration and information input.
A management server that associates user identification information with service subscription information and facilitates service change requests, enabling seamless transitions between services by managing withdrawal and subscription processes through a centralized system.
Enables users to effortlessly switch between services by automating the withdrawal from one service and subscription to another, enhancing user convenience and reducing the need for repeated registration.
Smart Images

Figure 2024147367000001_ABST
Abstract
Description
[Technical field]
[0001] This specification discloses a technique related to a management 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] Provided herein are novel techniques for modifying the services to which a particular user subscribes. [Means for solving the problem]
[0005] This specification discloses a computer program for a management server. The computer program includes a service change request receiving unit that receives a service change request from a first terminal device in a state in which user identification information for identifying a specific user and first service subscription information indicating that the specific user has subscribed to a first service are stored in a memory in association with each other, the service change request being a signal for requesting subscription to a second service instead of the first service, and a service change request receiving unit that, when the service change request is received from the first terminal device, transmits a first withdrawal request including the user identification information to the first terminal device. the first service providing server providing a first service; a first subscription request sending unit that, when the service change request is received from the first terminal device, sends a first subscription request including the user identification information to a second service providing server providing the second service; and a first storage control unit that, when the service change request is received from the first terminal device, associates with the user identification information and stores in the memory, instead of the first service subscription information, second service subscription information indicating that the specific user has subscribed to the second service.
[0006] According to the above configuration, when the management server receives a service change request from the first terminal device, the management server transmits a first withdrawal request to the first service providing server and transmits a first subscription request to the second service providing server. This allows a specific user to subscribe to the second service instead of the first service. Therefore, the service to which the specific user subscribes can be easily changed.
[0007] A computer-readable recording medium storing the above computer program, a management server realized by the above computer program, and a method executed by the management server are also novel and useful. A communication system including a management server, a first terminal device, a first service providing server, and a second service providing server is also novel and useful. [Brief description of the drawings]
[0008] [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 first service subscription process. [Figure 4] FIG. 13 shows a sequence diagram of a second service subscription process. [Diagram 5] 13 shows a flowchart of a notification process executed by a management server. [Figure 6] Sequence diagram for case A when a continuation operation is executed. [Figure 7] Sequence diagram for case B when a non-persistent operation is performed. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] (Example) (Configuration of communication system 2; Figure 1) As shown in FIG. 1, the communication system 2 includes a printer 10, a terminal device 100, a management server 200, a first service providing server 300, and a second service providing server 400. Hereinafter, the "service providing server" will be referred to as an "SP server." 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 printer 10 and the terminal device 100 are connected to a LAN (abbreviation of Local Area Network) 4. The printer 10 and the terminal device 100 can communicate with each other via the LAN 4. The LAN 4 is connected to the Internet 6. The printer 10, the terminal device 100, the management server 200, the first SP server 300, and the second SP server 400 are connected to the Internet 6. The printer 10, the terminal device 100, the management server 200, the first SP server 300, and the second SP server 400 can communicate with each other via the Internet 6.
[0010] (Printer 10 Configuration) The printer 10 is a peripheral device (i.e., a peripheral device such as a PC) capable of executing a printing function. The printer 10 may be a multi-function device capable of executing a scanning function, a FAX function, etc. in addition to a printing function. The printer 10 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 10 has a device ID "DV1". In the following, the interface will be referred to as "I / F".
[0011] The operation unit 12 has a plurality of keys. A user can input various instructions to the printer 10 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.
[0012] 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 10. The remaining amount information indicates the remaining amount of ink in a cartridge installed in the print execution unit 16 of the printer 10.
[0013] (Configuration of the management server 200, the first SP server 300, and the second SP server 400) The management server 200, the first SP server 300, and the second SP server 400 are installed on the Internet 6 by the vendor of the printer 10. In a modified example, at least one of the management server 200, the first SP server 300, and the second SP server 400 may be installed on the Internet 6 by a business entity other than the vendor. In another modified example, the vendor of the printer 10 may not prepare the hardware of the management server 200, the first SP server 300, and the second SP server 400 by itself, but may use an environment provided by an external cloud computing service. In this case, the vendor of the printer 10 prepares the programs (i.e., software) of the management server 200, the first SP server 300, and the second SP server 400, and introduces them into the above-mentioned environment to realize the management server 200, the first SP server 300, and the second SP server 400.
[0014] The management server 200 manages services to which the user subscribes. The management 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, and the like. The memory 234 further stores a management table 238 and a notification table 240.
[0015] The first SP server 300 provides a cartridge shipping service. The cartridge shipping service is a service that automatically ships a new cartridge when the remaining amount of ink in the cartridge installed in the print execution unit 16 of the printer 10 falls below a predetermined remaining amount. The first SP server 300 stores a first service table 338.
[0016] The second SP server 400 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 10 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 corresponding 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 10 in the predetermined period exceeds the contracted number of sheets to be printed. The flat-rate service includes a cartridge delivery service. In a modified example, the second SP server 400 may provide a pay-per-use billing service that charges an amount corresponding to the number of sheets of printing paper printed by the printer 10 in a predetermined period instead of the flat-rate billing service. The second SP server 400 stores a second service table 438.
[0017] (Table composition; Fig. 2) 2, the contents of the management table 238 and notification table 240 in the management server 200, the first service table 338 in the first SP server 300, and the second service table 438 in the second SP server 400 will be described.
[0018] In the management table 238 in the management server 200, account information, a device ID, a current service ID, a previous service ID, and a notification ID are stored in association with each other. The account information includes a user ID for identifying a user, a password, an email address, address information indicating the address of the user, payment information, etc. The current service ID is information for identifying a service to which a user associated with the information is currently subscribed. The previous service ID is information for identifying a service to which a user associated with the information was previously subscribed. The notification ID is information generated by the management server 200, and is information for identifying notification information described later.
[0019] In the notification table 240 in the management server 200, a notification ID, a notification service, an inquiry mail sending date, a confirmation mail sending date, and a restoration process execution date are stored in association with each other. The notification service indicates a service to be notified to the user. The inquiry mail sending date indicates the timing of sending the inquiry mail. The inquiry mail is an email for inquiring the user as to whether or not to subscribe to the notification service instead of the service to which the user is currently subscribed. The confirmation mail sending date indicates the timing of sending the confirmation mail. The confirmation mail is an email for confirming whether or not to continue subscribing to the notification service after the user subscribes to the notification service. The restoration process execution date indicates the timing of sending the restoration process. The restoration process is a process for resubscribing the user to the service to which the user subscribed before subscribing to the notification service. In the following, the notification ID, the notification service, the inquiry mail sending date, the confirmation mail sending date, and the restoration process execution date are collectively referred to as "notification information". The notification information is registered by the administrator of the management server 200.
[0020] In the first service table 338 in the first SP server 300, account information, a device ID, and a token are stored in association with each other. The token in the first service table 338 is authentication information (i.e., an access token) for establishing an XMPP (abbreviation of eXtensible Messaging and Presence Protocol) connection between the printer 10 and the first SP server 300. The XMPP connection is a so-called always-on connection. If the first SP server 300 uses the XMPP connection, it can transmit a signal to the printer 10 beyond the firewall of the LAN 4 to which the printer 10 belongs, even if it does not receive a request from the printer 10. Note that the mechanism for transmitting a request from the first SP server 300 to the printer 10 may be another method other than the XMPP connection. For example, an HTTPS (abbreviation of Hypertext Transfer Protocol Secure) connection may be established between the printer 10 and the first SP server 300.
[0021] In the second service table 438 in the second SP server 400, account information, a device ID, a token, and number information are stored in association with each other. The number information indicates the number of sheets of printing paper printed by the printer 10. The token in the second service table 438 is authentication information (i.e., an access token) for establishing an XMPP connection between the printer 10 and the second SP server 400.
[0022] (First service subscription process; Figure 3) A first service subscription process in which a user of the terminal device 100 subscribes to a cartridge shipping service will be described with reference to Fig. 3. In the initial state of Fig. 3, account information AC1 including a user ID "U1", a password "PW1" and an email address MA1 is stored in the first service table 338 of the first SP server 300. In Figs. 3 and 4, the processes executed by the CPUs (e.g. 32, 232) of the printer 10 and the management server 200 are described as the subjects of the processes, rather than the CPUs being described as the subjects of the processes.
[0023] At T10, the user executes a login operation on the terminal device 100 to log in to the first SP server 300. As a result, the terminal device 100 transmits a login screen data request to the first SP server 300 at T12, receives the login screen data from the first SP server 300 at T14, and displays the login screen at T16. At T18, the user inputs a user ID "U1" and a password "PW1" into the terminal device 100. As a result, at T20, the terminal device 100 transmits a login request including the user ID "U1" and the password "PW1" to the first SP server 300.
[0024] When the first SP server 300 receives a login request from the terminal device 100 at T20, it determines at T22 that the authentication has been successful because the account information AC1 including the user ID "U1" and password "PW1" in the login request is stored in the first service table 338, and transmits the first home screen data to the terminal device 100 at T24.
[0025] When the terminal device 100 receives the first home screen data from the first SP server 300 in T24, it displays a first home screen corresponding to the first home screen data in T26. The first home screen is a screen for subscribing to a cartridge shipping service. The user executes a first service subscription operation for subscribing to the cartridge shipping service on the terminal device 100 in T28. This causes the terminal device 100 to transmit a first service subscription request to the first SP server 300 in T30. The first service subscription request is a signal for requesting subscription to the cartridge shipping service.
[0026] When the first SP server 300 receives a first service subscription request from the terminal device 100 at T30, the first SP server 300 transmits first subscription screen data to the terminal device 100 at T32.
[0027] When the terminal device 100 receives the first subscription screen data from the first SP server 300 in T32, it displays a first subscription screen corresponding to the first subscription screen data in T34. The first subscription screen is a screen for allowing the user to input address information and payment information. In T36, the user executes a first subscription operation of inputting the address information and payment information into the terminal device 100. As a result, in T40, the terminal device 100 transmits first service information including the address information and payment information to the first SP server 300.
[0028] When the first SP server 300 receives a first service subscription request from the terminal device 100 in T40, it adds the address information and payment information in the request to the account information AC1, and in T42 generates a PIN code PC1 and temporarily stores the generated PIN code PC1 in association with the account information AC1 in the first service table 338. In T44, the first SP server 300 transmits the PIN code PC1 to the terminal device 100.
[0029] When the terminal device 100 receives the PIN code PC1 from the first SP server 300 in T44, it displays the PIN code PC1 in T46. This allows the user to know the PIN code PC1 to be input to the printer 10.
[0030] At T50, the user inputs the PIN code PC1 into the printer 10. As a result, the printer 10 transmits a token request including the PIN code PC1 and the device ID “DV1” of the printer 10 to the first SP server 300 at T52.
[0031] When the first SP server 300 receives a token request from the printer 10 in T52, it determines in T54 that the authentication has been successful because the PIN code PC1 (see T42) in the first service table 338 matches the PIN code PC1 in the token request. The first SP server 300 generates a token tk1 in T56, and stores the generated token tk1 in the first service table 338 in association with the account information AC1 in T58. The first SP server 300 erases the PIN code PC1 in the first service table 338. The first SP server 300 transmits the token tk1 to the printer 10 in T60.
[0032] When the printer 10 receives the token tk1 from the first SP server 300 in T60, the printer 10 stores the received token tk1 in the memory 34 in T62. In T64, the printer 10 establishes an XMPP connection between the printer 10 and the first SP server 300 by using the token tk1.
[0033] When an XMPP connection is established between the printer 10 and the first SP server 300 at T64, the first SP server 300 determines that the user identified by the account information AC1 has completed subscription to the cartridge shipping service, and at T70 sends the account information AC1, the device ID "DV1", and the service ID "SV1" that identifies the cartridge shipping service provided by the first SP server 300 to the management server 200.
[0034] When the management server 200 receives the account information AC1, the device ID "DV1" and the service ID "SV1" from the first SP server 300 at T70, the management server 200 associates the account information AC1, the device ID "DV1" and the service ID "SV1" and stores them in the management table 238. In this way, the user subscribes to the cartridge shipping service. Thereafter, the printer 10 transmits the remaining amount information to the first SP server 300 every time a first determination time (e.g., 24 hours) has elapsed. When the remaining amount indicated by the remaining amount information received from the printer 10 is equal to or less than a threshold, the first SP server 300 uses the address information in the account information AC1 to execute a shipping process for shipping a new cartridge, and also uses the payment information in the account information to execute a billing process for billing for payment for the cartridge.
[0035] (Second service subscription process; Figure 4) A second service subscription process in which the user of the terminal device 100 subscribes to a flat-rate service will be described with reference to Fig. 4. In the initial state of Fig. 4, the second service table 438 of the second SP server 400 stores account information AC1 including a user ID "U1", a password "PW1", and an email address MA1.
[0036] In T110, the user executes a login operation on the terminal device 100 to log in to the second SP server 400. As a result, in T112, the terminal device 100 transmits a login screen data request to the second SP server 400. T114 to T122 are similar to T14 to T22 in FIG. 3 except that the communication target is the second SP server 400.
[0037] When the terminal device 100 receives the second home screen data from the second SP server 400 in T124, the terminal device 100 displays a second home screen corresponding to the second home screen data in T126. The second home screen is a screen for subscribing to a flat-rate service. The user executes a second service subscription operation for subscribing to the flat-rate service on the terminal device 100 in T128. As a result, the terminal device 100 transmits a second service subscription request to the second SP server 400 in T130. The second service subscription request is a signal for requesting subscription to a cartridge delivery service. When the terminal device 100 receives the second subscription screen data from the second SP server 400 in T132, the terminal device 100 displays a second subscription screen corresponding to the second subscription screen data in T134. The second subscription screen is a screen for allowing the user to input address information and payment information. In T136, the user executes a second subscription operation of inputting address information and payment information into the terminal device 100. As a result, the terminal device 100 transmits second service information including the address information and payment information to the second SP server 400 in T140.
[0038] T140 to T164 are similar to T40 to T64 in FIG. 3, except that the communication target is the second SP server 400, the PIN code generated by the second SP server 400 is PIN code PC2, and the token generated by the second SP server 400 is token tk2.
[0039] When an XMPP connection is established between the printer 10 and the second SP server 400 at T164, the second SP server 400 determines that the user identified by the account information AC1 has completed subscription to the flat-rate service, and at T170 transmits the account information AC1, the device ID "DV1", and the service ID "SV2" that identifies the flat-rate service provided by the second SP server 400 to the management server 200.
[0040] When the management server 200 receives the account information AC1, the device ID "DV1" and the service ID "SV2" from the second SP server 400 at T170, the management server 200 associates the account information AC1, the device ID "DV1" and the service ID "SV2" and stores them in the management table 238. In this way, the user subscribes to the flat-rate service. After that, the printer 10 transmits the number of sheets information and the remaining amount information to the second SP server 400 every time a second determination time (e.g., 24 hours) elapses. When the remaining amount indicated by the remaining amount information received from the printer 10 is equal to or less than a threshold, the second SP server 400 executes a shipping process to ship a new cartridge using the address information in the account information AC1. In the flat-rate service, the payment for the new cartridge is not charged. Furthermore, the second SP server 400 identifies the number of sheets of printing paper printed by the printer 10 every time a predetermined period (e.g., one month) elapses, and determines the amount to be charged to the user using the identified number of sheets. The second SP server 400 then executes a billing process to bill the user for the identified amount using the payment information in the account information AC1.
[0041] (Notification process; Figure 5) Next, the notification process executed by the CPU 232 of the management server 200 will be described with reference to Fig. 5. The CPU 232 starts the process of Fig. 5 when the inquiry mail sending date in the notification table 240 arrives.
[0042] In S2, CPU 232 identifies notification information (hereinafter referred to as "target notification information") including the transmission date of the arrived inquiry mail in notification table 240, and identifies a notification ID (hereinafter referred to as "target notification ID") included in the target notification information. CPU 232 identifies an email address (hereinafter referred to as "target email address") included in account information (hereinafter referred to as "target account information") stored in association with the target notification ID in management table 238.
[0043] In S4, CPU 232 identifies the notification service included in the target notification information (hereinafter referred to as the "target notification service"), and sends an inquiry email including the target email address as the destination address and an inquiry message to inquire of the target user whether or not to subscribe to the target notification service instead of the service to which the target user is currently subscribed.
[0044] In S6, CPU 232 judges whether a reply mail including OK information is received. OK information indicates that a subscription to the target notification service is being requested in place of the service to which the user currently subscribes. If a reply mail including OK information is received (YES in S6), CPU 232 proceeds to S8, and if a reply mail including OK information is not received (NO in S6), CPU 232 proceeds to S32.
[0045] In S8, the CPU 232 identifies the current service ID stored in association with the target notification ID in the management table 238, and identifies a server providing a service identified by the identified current service ID as a first server to be removed. The CPU 232 identifies the target account information and a device ID (hereinafter, referred to as the "target device ID") in association with the target account information in the management table 238. The CPU 232 transmits a first removal request including the target account information and the target device ID to the first server to be removed. Upon receiving the first removal request from the management server 200, the first server to be removed executes a removal process for removing the target user from the service provided by the first server to be removed.
[0046] In S10, CPU 232 identifies a server providing the target notification service as a first subscription target server, and transmits a first subscription request including the target account information and the target device ID to the first subscription target server. Upon receiving the first subscription request from management server 200, the first subscription target server executes subscription processing for subscribing the target user to the service provided by the first subscription target server. In S10, CPU 232 further stores the current service ID in management table 238 as the previous service ID, and stores the service ID identifying the target notification service in management table 238 as the current service ID.
[0047] In S12, CPU 232 sends a first notification email that includes the target email address as the destination address and includes a first notification message indicating that the target user has completed unsubscribing from the service to which they were subscribed, and that they have completed subscribing to the target notification service.
[0048] In S20, the CPU 232 monitors whether the confirmation mail sending date included in the target notification information has arrived. If the confirmation mail sending date has arrived, the CPU 232 determines YES in S20 and proceeds to S22.
[0049] In S22, the CPU 232 sends a confirmation email including the target email address as the destination address and a confirmation message for confirming whether or not to continue subscription to the target notification service.
[0050] In S30, the CPU 232 monitors whether a reply email including continuation information indicating that subscription to the target notification service is to be continued is received. If a reply email including continuation information is received, the CPU 232 determines YES in S30 and proceeds to S32.
[0051] In S32, the CPU 232 deletes the target notification information from the notification table 240. When S32 ends, the CPU 232 ends the processing in FIG.
[0052] Furthermore, simultaneously with the monitoring in S30, the CPU 232 monitors in S40 whether a reply email including discontinuation information indicating that subscription to the target notification service will not be continued is received. If a reply email including discontinuation information is received, the CPU 232 determines YES in S40 and proceeds to S42.
[0053] In S42, the CPU 232 identifies the current service ID stored in association with the target notification ID in the management table 238, and identifies a server providing the service identified by the identified current service ID as a second server to be removed. The second server to be removed is the same as the first server to be subscribed. The CPU 232 transmits a second removal request including the target account information and the target device ID to the second server to be removed. Upon receiving the second removal request from the management server 200, the second server to be removed executes a process for removing the target user from the service provided by the second server to be removed.
[0054] In S44, the CPU 232 identifies the previous service ID stored in association with the target notification ID in the management table 238, and identifies a server that provides a service identified by the identified previous service ID as a second target server for subscription. The second target server for subscription is the same as the first target server for withdrawal. The CPU 232 transmits a second subscription request including the target account information and the target device ID to the second target server for subscription. Upon receiving the second subscription request from the management server 200, the second target server for subscription executes subscription processing for subscribing the target user to the service provided by the second target server for subscription. In addition, in S44, the CPU 232 further stores the previous service ID in the management table 238 as the current service ID, and clears the previous service ID.
[0055] In S46, the CPU 232 sends a second notification email including the target email address as a destination address and including a second notification message indicating that withdrawal from the target notification service has been completed and that resubscription to the service to which the target user previously subscribed has been completed. When S46 ends, the CPU 232 proceeds to S32.
[0056] In addition, simultaneously with monitoring S30 and S40, CPU 232 monitors in S50 whether the execution date of the restoration process in the target notification information has arrived. If the execution date of the restoration process has arrived, CPU 232 judges YES in S50 and proceeds to S42. That is, the process executed in S42 and S44 is the restoration process.
[0057] As described above, when the return processing execution date arrives without receiving the discontinuation information (YES in S50), the management server 200 transmits a second withdrawal request to the second withdrawal target server (S42) and transmits a second subscription request to the second subscription target server (S44). Therefore, even if the target user forgets to perform the operation for transmitting the discontinuation information, the target user can be resubscribed to the service to which the target user previously subscribed.
[0058] (Specific cases A and B; Figures 6 and 7) Specific cases A and B implemented in the communication system 2 of this embodiment will be described with reference to Fig. 6 and Fig. 7. In Fig. 6 and Fig. 7, the processes executed by the CPUs (e.g., 32, 232) of the printer 10 and the management server 200 are described as the subjects of the processes, rather than the CPUs as the subjects.
[0059] (Case A; Figure 6) With reference to FIG. 6, a case A in which the management server 200 receives continuation information from the terminal device 100 will be described. The initial state of case A is the state after FIG. 4, that is, the state after the user of the terminal device 100 has completed subscribing to the cartridge shipping service. In the management table 238 of the management server 200, the account information AC1, the device ID "DV1", and the current service ID "SV1" are stored in association with each other. In the first service table 338 of the first SP server 300, the account information AC1, the device ID "DV1", and the token tk1 are stored in association with each other. The second service table 438 of the second SP server 400 is empty.
[0060] The administrator of the management server 200 executes a notification information setting operation for setting the notification information NI1 in T210. The administrator sets the flat-rate service as the notification service. The administrator also sets "2023 / 3 / 1" as the inquiry mail sending date, which is the date after a third judgment time (e.g., 30 days) has elapsed since the current service ID "SV1" was associated with the account information AC1 and stored in the management table 238. The administrator also sets "2023 / 3 / 31" as the confirmation mail sending date, which is the date after a fourth judgment time (e.g., 60 days) has elapsed since the current service ID "SV1" was associated with the account information AC1 and stored in the management table 238. The fourth judgment time is longer than the third judgment time. The administrator also sets "2023 / 4 / 3" as the return process execution date, which is the date after a fifth judgment time (e.g., 3 days) has elapsed since the confirmation mail was sent. The administrator also sets that the user identified by the account information AC1 is the user to be notified. As a result, at T212, the management server 200 stores the notification information NI1 in the notification table 240, and stores the notification ID "ID1" in association with the account information AC1 in the management table 238. The notification information NI1 includes the notification ID "ID1", the notification service "flat-rate service", the inquiry email sending date "2023 / 3 / 1", the confirmation email sending date "2023 / 3 / 31", and the return process execution date "2023 / 4 / 3". Note that the fourth determination time may be a time based on the inquiry email sending date.
[0061] When the inquiry mail sending date "2023 / 3 / 1" in the notification information NI1 arrives, the management server 200 identifies the notification information NI1 including the inquiry mail sending date "2023 / 3 / 1" in the notification table 240, and identifies the notification ID "ID1" included in the notification information NI1. The management server 200 identifies the email address MA1 included in the account information AC1 stored in association with the notification ID "ID1" in the management table 238 (S2 in FIG. 5). The management server 200 identifies the notification service "flat-rate service" included in the notification information NI1, and in T214, transmits an inquiry mail including the email address MA1 as a destination address and an inquiry message for inquiring the user as to whether or not to subscribe to the flat-rate service instead of the cartridge shipping service (S4).
[0062] The user of the terminal device 100 opens the inquiry email and executes a change operation to subscribe to the flat-rate service at T216. As a result, the terminal device 100 transmits a reply email including OK information to the management server 200 at T218. The OK information indicates that subscription to the flat-rate service instead of the cartridge shipping service is being requested.
[0063] As described above, in a state in which the account information AC1 and the service ID "SV1" are associated and stored in the management table 238, the management server 200 transmits an inquiry email to inquire whether or not to subscribe to the flat-rate service instead of the cartridge delivery service. Therefore, even if the user does not know about the flat-rate service, the flat-rate service can be made known to the user. This improves user convenience.
[0064] When the management server 200 receives the reply mail including the OK information in T218 (YES in S6), it identifies the current service ID "SV1" stored in association with the notification ID "ID1" in the management table 238. The management server 200 identifies the first SP server 300 providing the cartridge shipping service identified by the current service ID "SV1" as the first server to be withdrawn, and also identifies the account information AC1 and device ID "DV1" stored in association with the notification ID "ID1" in the management table 238. The management server 200 transmits a first withdrawal request including the account information AC1 and the device ID "DV1" to the first SP server 300 in T220 (S8).
[0065] The first SP server 300 receives a first withdrawal request from the management server 200 in T220. In this case, a withdrawal process is executed between the first SP server 300 and the printer 10 in T222. In the withdrawal process, a process for disconnecting the XMPP connection between the first SP server 300 and the printer 10 and the like are executed. The first SP server 300 updates the first service table 338 in T224. Specifically, the first SP server 300 deletes the account information AC1, the device ID "DV1", and the token tk1 from the first service table 338. This completes the withdrawal process for withdrawing from the cartridge shipping service. When the withdrawal process is completed, the printer 10 stops the periodic transmission of the remaining amount information to the first SP server 300. At T226, the first SP server 300 transmits to the management server 200 a first withdrawal completion notification indicating that withdrawal from the cartridge shipping service has been completed.
[0066] When the management server 200 receives the first withdrawal completion notification from the first SP server 300 at T226, it identifies the second SP server 400 that provides the notification service "flat-rate service" in the notification information NI1 as the first target server to be subscribed to, and at T230, it sends a first subscription request including the account information AC1 and the device ID "DV1" to the second SP server 400 (S10).
[0067] The second SP server 400 receives the first subscription request from the management server 200 in T230. In this case, subscription processing is executed between the second SP server 400 and the printer 10 in T232. In the subscription processing, processing for establishing an XMPP connection between the second SP server 400 and the printer 10 (for example, T156 to T164 in FIG. 4) and the like are executed. The second SP server 400 updates the second service table 438 in T234. Specifically, the second SP server 400 stores the account information AC1, the device ID “DV1”, and the token generated in the subscription processing in T232 in the second service table 438. This completes the subscription processing for subscribing to the flat-rate service. When the subscription processing is completed, the printer 10 starts to periodically transmit the number of sheets information and the remaining amount information to the second SP server 400. At T236, the second SP server 400 transmits to the management server 200 a first subscription completion notification indicating that subscription to the flat-rate service has been completed.
[0068] When the management server 200 receives the first subscription completion notification from the second SP server 400 in T236, the management server 200 updates the management table 238 in T240 (S10). Specifically, the management server 200 stores the current service ID "SV1" as the previous service ID "SV1" in the management table 238, and stores the service ID "SV2" that identifies the notification service "flat-rate service" as the current service ID "SV2" in the management table 238. That is, the management server 200 stores the service ID "SV2" in place of the service ID "SV1" as the current service ID in the management table 238 in association with the account information AC1. The management server 200 transmits a first notification email in T250, which includes the email address MA1 as the destination address, and includes a first notification message indicating that withdrawal from the cartridge shipping service has been completed and that subscription to the flat-rate service has been completed. By viewing the contents of the first notification email, the user can know that withdrawal from the cartridge shipping service has been completed, and that subscription to the flat-rate service has been completed.
[0069] When the confirmation email sending date "3 / 31 / 2023" included in the notification information NI1 arrives (YES in S20), the management server 200 sends a confirmation email in T260 that includes the email address MA1 as the destination address and also includes a confirmation message to confirm whether or not to continue subscribing to the notification service "flat-rate service" (S22).
[0070] In this case, the user of the terminal device 100 opens the confirmation email and performs a continuation operation to continue the subscription to the flat-rate service in T262. As a result, the terminal device 100 transmits a reply email including continuation information to the management server 200 in T264.
[0071] When the management server 200 receives a reply mail including continuation information from the management server 200 in T264 (YES in S30), the management server 200 deletes the notification information NI1 from the notification table 240 in T266 (S32).
[0072] (Case B; Figure 7) 7, a case B in which the management server 200 receives the discontinuation information from the terminal device 100 will be described. The initial state of case B is similar to the initial state of case A in FIG.
[0073] First, processes similar to those from T210 to T260 in FIG. 6 are executed among the terminal device 100, the printer 10, the first SP server 300, the second SP server 400, and the management server 200.
[0074] In this case, the user of the terminal device 100 opens the confirmation email and executes a discontinuation operation to discontinue subscription to the flat-rate service at T312. As a result, the terminal device 100 transmits a reply email including discontinuation information to the management server 200 at T314.
[0075] When the management server 200 receives a reply mail including discontinuation information from the terminal device 100 in T314 (YES in S40), it identifies the current service ID "SV2" stored in association with the notification ID "ID1" in the management table 238, and identifies the second SP server 400 providing the flat-rate service identified by the current service ID "SV2" as the second server to be withdrawn. In T320, the management server 200 transmits a second withdrawal request including the account information AC1 and the device ID "DV1" to the second SP server 400 (S42).
[0076] The second SP server 400 receives a second withdrawal request from the management server 200 in T320. In this case, a withdrawal process is executed between the second SP server 400 and the printer 10 in T322. In the withdrawal process, a process for disconnecting the XMPP connection between the second SP server 400 and the printer 10 and the like are executed. The second SP server 400 updates the second service table 438 in T324. Specifically, the second SP server 400 deletes the account information AC1, the device ID "DV1", and the token generated in the subscription process in T232 of FIG. 6 from the second service table 438. This completes the withdrawal process for withdrawing from the flat-rate service. When the withdrawal process is completed, the printer 10 stops the periodic transmission of the number of sheets information and the remaining amount information to the second SP server 400. At T326, the second SP server 400 transmits to the management server 200 a second withdrawal completion notification indicating that withdrawal from the flat-rate service has been completed.
[0077] When the management server 200 receives the second withdrawal completion notification from the second SP server 400 at T326, it identifies the previous service ID "SV1" stored in association with the notification ID "ID1" in the management table 238, and identifies the first SP server 300 providing the cartridge shipping service identified by the previous service ID "SV1" as the second server to be subscribed. At T330, the management server 200 transmits a second subscription request including the account information AC1 and the device ID "DV1" to the first SP server 300.
[0078] The first SP server 300 receives a second subscription request from the management server 200 in T330. In this case, subscription processing is executed between the first SP server 300 and the printer 10 in T332. In the subscription processing, processing for establishing an XMPP connection between the first SP server 300 and the printer 10 (for example, T56 to T64 in FIG. 3) and the like are executed. The first SP server 300 updates the first service table 338 in T334. Specifically, the first SP server 300 stores the account information AC1, the device ID “DV1”, and the token generated in the subscription processing in T332 in the first service table 338. This completes the subscription processing for subscribing to the cartridge delivery service. When the subscription processing is completed, the printer 10 starts periodically transmitting remaining amount information to the first SP server 300. At T336, the first SP server 300 transmits to the management server 200 a second subscription completion notification indicating that subscription to the cartridge shipping service has been completed.
[0079] When the management server 200 receives the second subscription completion notification from the first SP server 300 in T336, it updates the management table 238 in T340 (S44). Specifically, the management server 200 stores the previous service ID "SV1" as the current service ID "SV1" in the management table 238, and clears the previous service ID. That is, the management server 200 stores the service ID "SV1" in the management table 238 as the current service ID instead of the service ID "SV2" in association with the account information AC1. The management server 200 transmits a second notification email in T350, which includes the email address MA1 as the destination address, and includes a second notification message indicating that withdrawal from the flat-rate service has been completed and that resubscription to the cartridge shipping service has been completed. This allows the user to know that withdrawal from the flat-rate service has been completed and that resubscription to the cartridge shipping service has been completed by looking at the contents of the second notification email. T356 is similar to T266 in FIG.
[0080] (Effect of Case B) As shown in case B, when the management server 200 receives discontinuation information from the terminal device 100 (T314), it transmits a second withdrawal request to the second SP server 400 (T320) and transmits a second subscription request to the first SP server 300 (T330). Therefore, it is possible to easily allow the user to resubscribe to the service to which he or she previously subscribed.
[0081] (Effects of this embodiment) When the management server 200 receives OK information from the terminal device 100 (YES in S6 in FIG. 5), it transmits a first withdrawal request to the first SP server 300 (S8) and transmits a first join request to the second SP server 400 (S10). Therefore, even in a situation where two services are provided by different servers, the service to which the user is subscribed can be easily changed.
[0082] Particularly in this embodiment, the management server 200 transmits the account information AC1 and the device ID "DV1" used in the cartridge shipping service to the second SP server 400. The second SP server 400 then uses the account information AC1 and the device ID "DV1" received from the management server 200 to provide the flat-rate service. That is, the flat-rate service is provided using the same information as that used in the cartridge shipping service. Therefore, when a user wishes to subscribe to the flat-rate service instead of the cartridge shipping service, the user does not need to register account information and a device ID. This improves user convenience.
[0083] (Correspondence) The user ID "U1" is an example of "user identification information". The current service ID "SV1" in the management table 238 is an example of "first service subscription information". The terminal device 100 is an example of "first terminal device". The OK information received in S6 is an example of "service change request". The current service ID "SV2" in the management table 238 is an example of "second service subscription information". The fourth judgment time is an example of "first specified time". The confirmation email of S22 in FIG. 5 is an example of "confirmation notice". The terminal device 100 is an example of "second terminal device". The fifth judgment time is an example of "second specified time". The inquiry email of S4 in FIG. 5 is an example of "inquiry notice". The cartridge shipping service and the flat-rate service are examples of "first service" and "second service", respectively.
[0084] S6 in Fig. 5 is an example of processing executed by a "service change request receiving unit." S8 in Fig. 5 is an example of processing executed by a "first withdrawal request transmitting unit." S10 in Fig. 5 is an example of processing executed by a "second withdrawal request transmitting unit." S10 in Fig. 5 and T240 in Fig. 6 are examples of processing executed by a "first memory control unit."
[0085] 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.
[0086] (First Modification) In the notification table 240, the inquiry mail sending timing, the confirmation mail sending timing, and the restoration process execution timing may be stored instead of the inquiry mail sending date, the confirmation mail sending date, and the restoration process execution date, respectively. For example, the inquiry mail sending timing may be information indicating that the confirmation mail is to be sent when a fourth determination time (e.g., 30 days) has elapsed since the current service ID was stored in the management table 238.
[0087] (Second Modification) The management server 200 may automatically store the information in the notification table 240, i.e., the notification information. For example, the management server 200 may store the notification information in the notification table 240 when the current service ID is stored in the management table 238.
[0088] (Third Modification) The flat-rate service and the cartridge delivery service may be examples of the "first service" and the "second service", respectively. In addition, the "first service" and the "second service" may be services different from the flat-rate service and the cartridge delivery service.
[0089] (Fourth Modification) The notification table 240 does not have to include the confirmation mail sending date and the return process execution date. In this modification, S20, S22, S30, and S40 to S50 can be omitted. In this modification, the "confirmation notification sending unit", "second withdrawal request sending unit", "second join request sending unit", and "second memory control unit" can be omitted.
[0090] (Fifth Modification) The notification table 240 may not include the execution date of the restoration process. In this modification, if the continuation information and non-continuation information are not received even after the fifth judgment time (three days) has elapsed since the sending of the confirmation email, the management server 200 may execute the process of S32 or resend the confirmation email.
[0091] (Sixth Modification) The notification table 240 does not need to include the inquiry mail sending date. In this modification, the management server 200 executes the processes of S8 and S10 in Fig. 5 when a signal is received from the terminal device 100 requesting that the user subscribe to a service (e.g., a flat-rate service) different from the service to which the user currently subscribes (e.g., a cartridge shipping service). In this modification, the "inquiry notification sending unit" can be omitted.
[0092] (Seventh Modification) In each of the above embodiments, the processes in FIGS. 3 to 7 are realized by software (for example, programs 36, 236), but at least one of these processes may be realized by hardware such as a logic circuit.
[0093] 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.
[0094] 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 management server, comprising: The computer program causes the management server computer to a service change request receiving unit that receives a service change request from a first terminal device in a state in which user identification information that identifies a specific user and first service subscription information that indicates that the specific user has subscribed to a first service are stored in a memory in an associated manner, the service change request being a signal for requesting subscription to a second service instead of the first service; a first withdrawal request transmission unit that transmits a first withdrawal request including the user identification information to a first service providing server that provides the first service when the service change request is received from the first terminal device; a first subscription request sending unit that sends a first subscription request including the user identification information to a second service providing server that provides the second service when the service change request is received from the first terminal device; a first storage control unit that, when the service change request is received from the first terminal device, stores in the memory, in association with the user identification information, second service subscription information indicating that the specific user has subscribed to the second service, instead of the first service subscription information; and A computer program that functions as a (Item 2) The computer program further causes the computer to a confirmation notification sending unit that sends a confirmation notification to an external device to confirm whether or not the user wishes to continue subscribing to the second service when a first predetermined time has elapsed since the second service subscription information was stored in the memory in association with the user identification information; a second withdrawal request transmission unit that transmits a second withdrawal request including the user identification information to the second service providing server when discontinuation information indicating that the subscription to the second service will not be continued is received from the second terminal device in response to the transmission of the confirmation notification; a second subscription request sending unit that sends a second subscription request including the user identification information to the first service providing server when the discontinuation information is received from the second terminal device; a second storage control unit that, when the discontinuation information is received from the second terminal device, stores the first service subscription information in the memory in association with the user identification information, instead of the second service subscription information; 2. The computer program according to item 1, (Item 3) the second withdrawal request transmission unit further transmits the second withdrawal request to the second service providing server when a second predetermined time has elapsed since the transmission of the confirmation notification without receiving the discontinuance information; The computer program according to item 2, wherein the second subscription request sending unit further sends the second subscription request to the first service providing server when the second predetermined time has elapsed since the confirmation notification was sent without the discontinuance information being received. (Item 4) The computer program further causes the computer to functioning as an inquiry notification transmitting unit that transmits an inquiry notification to an outside device inquiring whether or not to subscribe to the second service instead of the first service, in a state in which the user identification information and the first service subscription information are stored in the memory in association with each other; 4. The computer program according to claim 1, wherein the service change request receiving unit receives the service change request from the first terminal device in response to the inquiry notification being transmitted. (Item 5) the first service is a service related to ordering consumables for a printer; The second service is a service in which charges are made according to the number of sheets of printing paper printed by the printer. 5. A computer program according to any one of items 1 to 4. (Item 6) A management server, Memory, a service change request receiving unit that receives a service change request from a first terminal device in a state in which user identification information that identifies a specific user and first service subscription information that indicates that the specific user has subscribed to a first service are stored in the memory in an associated manner, the service change request being a signal for requesting subscription to a second service instead of the first service; a first withdrawal request transmission unit that transmits a first withdrawal request including the user identification information to a first service providing server that provides the first service when the service change request is received from the first terminal device; a first subscription request sending unit that sends a first subscription request including the user identification information to a second service providing server that provides the second service when the service change request is received from the first terminal device; a first storage control unit that, when the service change request is received from the first terminal device, stores in the memory, in association with the user identification information, second service subscription information indicating that the specific user has subscribed to the second service, instead of the first service subscription information; and A management server comprising: (Item 7) A method performed by a management server, comprising: a service change request receiving step of receiving a service change request from a first terminal device in a state in which user identification information identifying a specific user and first service subscription information indicating that the specific user has subscribed to a first service are stored in a memory in an associated manner, the service change request being a signal for requesting subscription to a second service instead of the first service; a first withdrawal request sending step of sending a first withdrawal request including the user identification information to a first service providing server that provides the first service when the service change request is received from the first terminal device; a first subscription request sending step of sending a first subscription request including the user identification information to a second service providing server that provides the second service when the service change request is received from the first terminal device; a first storage control step of, when the service change request is received from the first terminal device, storing in the memory, in association with the user identification information, second service subscription information indicating that the specific user has subscribed to the second service, instead of the first service subscription information; A method comprising: [Explanation of symbols]
[0095] 2: communication system, 4: LAN, 6: Internet, 10: 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, 200: management server, 218: communication I / F, 230: control unit, 232: CPU, 234: memory, 236: program, 238: management table, 240: notification table, 300: first SP server, 338: first service table, 400: second SP server, 438: second service table
Claims
1. A computer program for a management server, comprising: The computer program causes the management server computer to a service change request receiving unit that receives a service change request from a first terminal device in a state in which user identification information for identifying a specific user and first service subscription information indicating that the specific user has subscribed to a first service are stored in a memory in an associated manner, the service change request being a signal for requesting subscription to a second service instead of the first service; a first withdrawal request transmission unit that transmits a first withdrawal request including the user identification information to a first service providing server that provides the first service when the service change request is received from the first terminal device; a first subscription request sending unit that sends a first subscription request including the user identification information to a second service providing server that provides the second service when the service change request is received from the first terminal device; a first storage control unit that, when the service change request is received from the first terminal device, stores in the memory, in association with the user identification information, second service subscription information indicating that the specific user has subscribed to the second service, instead of the first service subscription information; and A computer program that functions as a
2. The computer program further causes the computer to a confirmation notification sending unit that sends a confirmation notification to an external device to confirm whether or not the user wishes to continue subscribing to the second service when a first predetermined time has elapsed since the second service subscription information was stored in the memory in association with the user identification information; a second withdrawal request transmission unit that transmits a second withdrawal request including the user identification information to the second service providing server when discontinuation information indicating that the subscription to the second service will not be continued is received from the second terminal device in response to the transmission of the confirmation notification; a second subscription request sending unit that sends a second subscription request including the user identification information to the first service providing server when the discontinuation information is received from the second terminal device; a second storage control unit that, when the discontinuation information is received from the second terminal device, causes the first service subscription information to be associated with the user identification information and stored in the memory instead of the second service subscription information; The computer program product of claim 1 .
3. the second withdrawal request transmission unit further transmits the second withdrawal request to the second service providing server when a second predetermined time has elapsed since the transmission of the confirmation notification without receiving the discontinuance information; 3. The computer program product according to claim 2, wherein the second subscription request sending unit further sends the second subscription request to the first service providing server when the second predetermined time has elapsed since the confirmation notification was sent without the discontinuance information being received.
4. The computer program further causes the computer to functioning as an inquiry notification transmitting unit that transmits to the outside an inquiry notification for inquiring whether or not to subscribe to the second service instead of the first service, in a state in which the user identification information and the first service subscription information are stored in the memory in association with each other; The computer program product according to claim 1 , wherein the service change request receiving unit receives the service change request from the first terminal device in response to transmission of the inquiry notification.
5. the first service is a service related to ordering consumables for a printer; the second service is a service in which a fee is charged according to the number of sheets of printing paper printed by the printer; 2. The computer program product of claim 1.
6. A management server, Memory, a service change request receiving unit that receives a service change request from a first terminal device in a state in which user identification information that identifies a specific user and first service subscription information that indicates that the specific user has subscribed to a first service are stored in the memory in an associated manner, the service change request being a signal for requesting subscription to a second service instead of the first service; a first withdrawal request transmission unit that transmits a first withdrawal request including the user identification information to a first service providing server that provides the first service when the service change request is received from the first terminal device; a first subscription request sending unit that sends a first subscription request including the user identification information to a second service providing server that provides the second service when the service change request is received from the first terminal device; a first storage control unit that, when the service change request is received from the first terminal device, stores in the memory, in association with the user identification information, second service subscription information indicating that the specific user has subscribed to the second service, instead of the first service subscription information; and A management server comprising:
7. A method performed by a management server, comprising: a service change request receiving step of receiving a service change request from a first terminal device in a state in which user identification information identifying a specific user and first service subscription information indicating that the specific user has subscribed to a first service are stored in a memory in an associated manner, the service change request being a signal for requesting subscription to a second service instead of the first service; a first withdrawal request sending step of sending a first withdrawal request including the user identification information to a first service providing server that provides the first service when the service change request is received from the first terminal device; a first subscription request sending step of sending a first subscription request including the user identification information to a second service providing server that provides the second service when the service change request is received from the first terminal device; a first storage control step of, when the service change request is received from the first terminal device, storing in the memory, in association with the user identification information, second service subscription information indicating that the specific user has subscribed to the second service, instead of the first service subscription information; A method comprising:
Citation Information
Patent Citations
Management server and communication system
JP2017049767A
