US-12621393-B2 - Information processing apparatus providing predetermined link information and identification information, method, non-transitory computer-readable storage medium storing program, and system
Abstract
A control method for an information processing apparatus communicable with a communication apparatus includes transmitting predetermined link information to the communication apparatus and transmitting, to a predetermined server, the predetermined link information and identification information of the communication apparatus that has been acquired from the communication apparatus and has not been randomized by a predetermined function of randomizing the identification information of the communication apparatus, based on a fact that the predetermined function is enabled in the communication apparatus. The predetermined link information transmitted to the communication apparatus is transmitted from the communication apparatus to the predetermined server.
Inventors
- Mitsuru Konji
Assignees
- CANON KABUSHIKI KAISHA
Dates
- Publication Date
- 20260505
- Application Date
- 20240305
- Priority Date
- 20230313
Claims (17)
- 1 . A control method for an information processing apparatus communicable with a communication apparatus, comprising: transmitting predetermined link information to the communication apparatus and transmitting, to a predetermined server, the predetermined link information and identification information of the communication apparatus that has been acquired from the communication apparatus and has not been randomized by a predetermined function of randomizing the identification information of the communication apparatus, based on a fact that the predetermined function is enabled in the communication apparatus, wherein the predetermined link information transmitted to the communication apparatus is transmitted from the communication apparatus to the predetermined server; and transmitting, to the predetermined server, the identification information of the communication apparatus that has been acquired from the communication apparatus and has not been randomized by the predetermined function, based on a fact that the predetermined function is not enabled in the communication apparatus.
- 2 . The method according to claim 1 , wherein in a case where the predetermined function is not enabled in the communication apparatus, the predetermined link information is not transmitted to the communication apparatus and the predetermined server.
- 3 . The method according to claim 1 , further comprising acquiring predetermined information from the communication apparatus, wherein based on a fact that the predetermined information acquired from the communication apparatus corresponds to enabling of the predetermined function in the communication apparatus, the predetermined link information is transmitted to the communication apparatus and the predetermined link information and the identification information of the communication apparatus that has been acquired from the communication apparatus and has not been randomized by the predetermined function are transmitted to the predetermined server, and based on a fact that the predetermined information acquired from the communication apparatus does not correspond to enabling of the predetermined function in the communication apparatus, the identification information of the communication apparatus that has been acquired from the communication apparatus and has not been randomized by the predetermined function is transmitted to the predetermined server.
- 4 . The method according to claim 1 , wherein the identification information of the communication apparatus is a MAC address.
- 5 . The method according to claim 1 , wherein the predetermined function is a MAC address randomization function.
- 6 . The method according to claim 1 , wherein the predetermined link information is a Universally Unique Identifier (UUID).
- 7 . The method according to claim 1 , wherein the predetermined link information is one-time information that is a randomly generated character string.
- 8 . The method according to claim 1 , wherein after the predetermined link information transmitted to the communication apparatus is transmitted from the communication apparatus to the predetermined server, the communication apparatus is registered in a predetermined service managed by the predetermined server.
- 9 . The method according to claim 8 , wherein the predetermined service is a subscription service.
- 10 . The method according to claim 9 , wherein the predetermined service is an ink subscription service.
- 11 . The method according to claim 8 , further comprising determining whether the communication apparatus supports the predetermined service, wherein in a case where it is determined that the communication apparatus supports the predetermined service, based on the fact that the predetermined function is enabled in the communication apparatus, the predetermined link information is transmitted to the communication apparatus and the predetermined link information and the identification information of the communication apparatus that has been acquired from the communication apparatus and has not been randomized by the predetermined function are transmitted to the predetermined server, in a case where it is determined that the communication apparatus supports the predetermined service, based on the fact that the predetermined function is not enabled in the communication apparatus, the identification information of the communication apparatus that has been acquired from the communication apparatus and has not been randomized by the predetermined function is transmitted to the predetermined server, and in a case where it is not determined that the communication apparatus supports the predetermined service, the identification information of the communication apparatus is not transmitted to the predetermined server.
- 12 . The method according to claim 11 , wherein in a case where it is not determined that the communication apparatus supports the predetermined service, the predetermined link information is not transmitted to the communication apparatus and the predetermined server.
- 13 . The method according to claim 1 , wherein the communication apparatus is a printer.
- 14 . The method according to claim 1 , further comprising: determining whether transmission, from the communication apparatus to the predetermined server, of the predetermined link information transmitted to the communication apparatus has succeeded; and transmitting, in a case where it is determined that the transmission has succeeded, information concerning registration in a predetermined service managed by the predetermined server to the predetermined server, and not transmitting, in a case where it is not determined that the transmission has succeeded, the information concerning registration in the predetermined service managed by the predetermined server to the predetermined server.
- 15 . The method according to claim 14 , further comprising acquiring, from the communication apparatus, information used to determine whether the transmission has succeeded.
- 16 . An information processing apparatus communicable with a communication apparatus, comprising at least one memory and at least one processor which function to: transmit predetermined link information to the communication apparatus and transmit, to a predetermined server, the predetermined link information and identification information of the communication apparatus that has been acquired from the communication apparatus and has not been randomized by a predetermined function of randomizing the identification information of the communication apparatus, based on a fact that the predetermined function is enabled in the communication apparatus, wherein the predetermined link information transmitted to the communication apparatus is transmitted from the communication apparatus to the predetermined server; and transmit, to the predetermined server, the identification information of the communication apparatus that has been acquired from the communication apparatus and has not been randomized by the predetermined function, based on a fact that the predetermined function is not enabled in the communication apparatus.
- 17 . A non-transitory computer-readable storage medium storing a program configured to cause a computer to function to: transmit predetermined link information to a communication apparatus and transmit, to a predetermined server, the predetermined link information and identification information of the communication apparatus that has been acquired from the communication apparatus and has not been randomized by a predetermined function of randomizing the identification information of the communication apparatus, based on a fact that the predetermined function is enabled in the communication apparatus, wherein the predetermined link information transmitted to the communication apparatus is transmitted from the communication apparatus to the predetermined server; and transmit, to the predetermined server, the identification information of the communication apparatus that has been acquired from the communication apparatus and has not been randomized by the predetermined function, based on a fact that the predetermined function is not enabled in the communication apparatus.
Description
BACKGROUND OF THE INVENTION Field of the Invention The present invention relates to an information processing apparatus, a method, a non-transitory computer-readable storage medium storing a program, and a system. Description of the Related Art There is known a form in which an information processing apparatus transmits identification information of a communication apparatus to a server and thus the server recognizes/manages the communication apparatus. For example, Japanese Patent Laid-Open No. 2022-73700 describes a technique in which a communication terminal 30 transmits, to a management server 10, identification information and installation position information of an illumination device 50 in linkage with each other as information concerning the illumination device 50. SUMMARY OF THE INVENTION As a form in which a server acquires identification information of a communication apparatus and manages the communication apparatus becomes more widespread, a technique for causing a server to acquire identification information of a communication apparatus more appropriately is desired. The present invention provides a mechanism for causing a server to acquire identification information of a communication apparatus more appropriately. The present invention in one aspect provides a control method for an information processing apparatus communicable with a communication apparatus, comprising: transmitting predetermined link information to the communication apparatus and transmitting, to a predetermined server, the predetermined link information and identification information of the communication apparatus that has been acquired from the communication apparatus and has not been randomized by a predetermined function of randomizing the identification information of the communication apparatus, based on a fact that the predetermined function is enabled in the communication apparatus, wherein the predetermined link information transmitted to the communication apparatus is transmitted from the communication apparatus to the predetermined server; and transmitting, to the predetermined server, the identification information of the communication apparatus that has been acquired from the communication apparatus and has not been randomized by the predetermined function, based on a fact that the predetermined function is not enabled in the communication apparatus. According to the present invention, it is possible to cause a server to acquire identification information of a communication apparatus more appropriately. Further features of the present invention will become apparent from the following description of exemplary embodiments with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing the arrangement of a system including an information processing apparatus and a communication apparatus; FIG. 2 is a flowchart illustrating processing executed by the information processing apparatus; FIG. 3 is a view showing a screen displayed by a service registration application; FIG. 4 is a view showing a screen displayed by the service registration application; FIG. 5 is a flowchart illustrating processing executed by the communication apparatus; and FIG. 6 is a sequence chart showing network setup processing. DESCRIPTION OF THE EMBODIMENTS Hereinafter, embodiments will be described in detail with reference to the attached drawings. Note, the following embodiments are not intended to limit the scope of the claimed invention. Multiple features are described in the embodiments, but limitation is not made of an invention that requires all such features, and multiple such features may be combined as appropriate. Furthermore, in the attached drawings, the same reference numerals are given to the same or similar configurations, and redundant description thereof is omitted. First Embodiment An information processing apparatus 101 and a communication apparatus 151 included in a communication system according to this embodiment will be described. In this embodiment, a smartphone is exemplified as the information processing apparatus 101 but the present invention is not limited to this. For example, as the information processing apparatus 101, various kinds of apparatuses such as a portable terminal, a Personal Computer (PC), a tablet terminal, a Personal Digital Assistant (PDA), and a digital camera are applicable. Furthermore, a printer is exemplified as the communication apparatus 151 but the present invention is not limited to this, and various kinds of apparatuses are applicable as long as they can perform wireless communication with the information processing apparatus 101. For example, concerning a printer, an inkjet printer, a full-color laser beam printer, a monochrome printer, and the like are applicable. Furthermore, not only a printer but also a copying machine, a facsimile apparatus, a portable terminal, a smartphone, a laptop, a tablet terminal, a PDA, a digital camera, a music pl