US10489094B2 - Printing apparatus and control method for generating advertising packets - Google Patents

Printing apparatus and control method for generating advertising packets Download PDF

Info

Publication number
US10489094B2
US10489094B2 US15/819,469 US201715819469A US10489094B2 US 10489094 B2 US10489094 B2 US 10489094B2 US 201715819469 A US201715819469 A US 201715819469A US 10489094 B2 US10489094 B2 US 10489094B2
Authority
US
United States
Prior art keywords
printing apparatus
low energy
bluetooth low
address
advertising packet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
US15/819,469
Other versions
US20180157447A1 (en
Inventor
Tadahiro Nakamura
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Assigned to CANON KABUSHIKI KAISHA reassignment CANON KABUSHIKI KAISHA ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: NAKAMURA, TADAHIRO
Publication of US20180157447A1 publication Critical patent/US20180157447A1/en
Priority to US16/684,331 priority Critical patent/US11119711B2/en
Application granted granted Critical
Publication of US10489094B2 publication Critical patent/US10489094B2/en
Priority to US17/404,903 priority patent/US11842103B2/en
Priority to US18/509,109 priority patent/US20240086124A1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1236Connection management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1229Printer resources management or printer maintenance, e.g. device status, power levels
    • G06F3/1231Device related settings, e.g. IP address, Name, Identification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1292Mobile client, e.g. wireless printing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1218Reducing or saving of used resources, e.g. avoiding waste of consumables or improving usage of hardware resources
    • G06F3/1221Reducing or saving of used resources, e.g. avoiding waste of consumables or improving usage of hardware resources with regard to power consumption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/659Internet protocol version 6 [IPv6] addresses
    • H04L61/2007
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/6059
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the present disclosure relates to a printing apparatus that transmits an advertising packet.
  • the printing apparatus having the Bluetooth low energy function transmits data using a Bluetooth low energy advertising packet (hereinafter referred to as a Bluetooth low energy packet) to an external apparatus such as a mobile terminal.
  • a Bluetooth low energy packet a Bluetooth low energy advertising packet
  • Japanese Patent Application Laid-Open No. 2016-152538 discusses a configuration in which a mobile terminal searches for a printing apparatus using Bluetooth low energy and transmits print data to a printing apparatus selected by a user from among search results.
  • the Bluetooth low energy packet includes an Internet Protocol (IP) address of a printing apparatus as a use of the Bluetooth low energy packet.
  • IP Internet Protocol
  • a Bluetooth low energy packet includes an IP address.
  • a mobile terminal in the vicinity of the printing apparatus can easily specify the IP address of the printing apparatus.
  • the number of IP addresses of the printing apparatus is not necessarily one. In the printing apparatus, both an IPv4 address and an IPv6 address can become available. How to transmit the Bluetooth low energy packet including the IP address when both the IPv4 address and the IPv6 address are available in the printing apparatus has not been assumed.
  • a printing apparatus that performs wireless communication based on Bluetooth low energy includes a printing unit that performs print processing based on print data, a memory device that stores a set of instructions, and at least one processor that executes the set of instructions to generate, in a case where both an IPv4 address and an IPv6 address are available in the printing apparatus, a Bluetooth low energy advertising packet including the available IPv4 address but not the available IPv6 address, and periodically transmit the generated Bluetooth low energy advertising packet.
  • a printing apparatus that performs wireless communication based on Bluetooth low energy includes a printing unit that performs print processing based on print data, a memory device that stores a set of instructions, and at least one processor that executes the set of instructions to generate, in a case where a setting of the printing apparatus is a first setting to transmit a Bluetooth low energy advertising packet in a first format and both an IPv4 address and an IPv6 address are available in the printing apparatus, a Bluetooth low energy advertising packet including the available IPv4 address but not the available IPv6 address, generate, in a case where the setting of the printing apparatus is a second setting to transmit a Bluetooth low energy advertising packet in a second format, a Bluetooth low energy advertising packet including a MAC address of the printing apparatus, and periodically transmit the generated Bluetooth low energy advertising packet.
  • FIG. 1 illustrates a hardware configuration of a printing apparatus.
  • FIGS. 2A-2B illustrates a format of a Bluetooth® Low Energy packet.
  • FIG. 3 illustrates a setting screen
  • FIG. 4 is a flowchart illustrating processing performed by the printing apparatus.
  • a hardware configuration of a printing apparatus 100 will be described below with reference to FIG. 1 .
  • a central processing unit (CPU) 101 performs various types of processing to control an operation of the printing apparatus 100 by reading out a control program stored in a read-only memory (ROM) 102 .
  • the ROM 102 stores the control program.
  • a random access memory (RAM) 103 is used as a main memory of the CPU 101 and a temporary storage area such as a work area.
  • a hard disk drive (HDD) 112 is a nonvolatile storage medium storing various types of data.
  • the printing apparatus 100 can have another configuration in a different embodiment, but still performs each of processes described below. For example, a plurality of CPUs can cooperate with one another to perform each of the processes described below. Some of the processes can be performed using a hardware circuit, such as an Application Specific Integrated Circuit (ASIC).
  • ASIC Application Specific Integrated Circuit
  • a printer 109 performs print processing on a sheet based on print data received from an external apparatus via a wireless local area network (LAN) chip 106 or a network interface (I/F) 104 .
  • a scanner 110 reads a document placed by a user, and generates a document image. The document image generated by the scanner 110 is printed by the printer 109 (copy processing) or is stored in the HDD 112 .
  • An operation unit 111 includes a display with a touch panel function or a keyboard, and displays various types of operation screens. A user can input instructions and information to the printing apparatus 100 via the operation unit 111 .
  • the wireless LAN chip 106 is a chip for performing wireless LAN communication that meets Institute of Electrical and Electronic Engineers (IEEE) 802.11a/b/g/n/ac.
  • IEEE Institute of Electrical and Electronic Engineers
  • a wireless LAN controller 105 controls the wireless LAN communication using the wireless LAN chip 106 .
  • a Bluetooth chip 108 is a wireless communication chip for performing Bluetooth wireless communication.
  • the Bluetooth chip 108 also includes a Bluetooth low energy function and performs Bluetooth low energy communication.
  • the Bluetooth low energy communication includes periodically broadcasting a Bluetooth low energy advertising packet.
  • a Bluetooth controller 107 controls the Bluetooth communication using the Bluetooth chip 108 .
  • the network I/F 104 is connected to a network via a LAN cable.
  • the network I/F 104 communicates with an external apparatus, e.g., a personal computer (PC), on the network to receive print data from the external apparatus and to transmit the document image generated by the scanner 110 to the external apparatus.
  • an external apparatus e.g., a personal computer (PC)
  • the printing apparatus 100 transmits advertising packets in a plurality of formats.
  • a Bluetooth low energy advertising packet is referred to as a Bluetooth low energy packet.
  • the plurality of formats includes AirPrint Bluetooth Beacon and a print application. Each of the formats will be described with reference to FIGS. 2A-2B .
  • FIG. 2A illustrates an AirPrint Bluetooth Beacon format, which is defined by Apple Inc., and stores data representing connection information, a path, a port number, an IP address, and a transmission radio-field intensity in each field.
  • a Bluetooth low energy packet in the AirPrint Bluetooth Beacon format is used by a PC or a mobile terminal complying with AirPrint®.
  • the PC or the mobile terminal performs device search using a Bluetooth low energy packet in an AirPrint Bluetooth Beacon format. That is, a wireless communication terminal, such as the PC or the mobile terminal, specifies a device complying with AirPrint® based on AirPrint Bluetooth Beacon.
  • the AirPrint Bluetooth Beacon format includes an IP address of the printing apparatus 100 , unlike a print application format described in FIG. 2B .
  • the wireless communication terminal establishes communication based on a communication protocol different from Bluetooth low energy between the printing apparatus 100 and itself using the IP address included in the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format. For example, the wireless communication terminal can perform Wi-Fi® communication with the printing apparatus 100 using the IP address included in the Bluetooth low energy packet.
  • FIG. 2B illustrates a print application format.
  • a print application is a format defined by a manufacturer of the printing apparatus 100 , and is defined to store a transmission radio-field intensity, a Media Access Control (MAC) address, a device name, and a device category in each field.
  • the manufacturer of the printing apparatus 100 provides a print application for a mobile terminal.
  • the user installs the print application on the mobile terminal to use a printing function of the printing apparatus 100 .
  • An advertising packet in the print application format is used by the mobile terminal on which the print application is installed.
  • a wireless communication terminal such as a PC or the mobile terminal, specifies a device corresponding to the print application based on the advertising packet in the print application format.
  • the print application format includes a MAC address of the printing apparatus 100 , unlike the AirPrint Bluetooth Beacon format described in FIG. 2A .
  • the wireless communication terminal establishes communication based on a communication protocol different from Bluetooth low energy between the printing apparatus 100 and itself using the MAC address included in the advertising packet in the print application format. For example, the wireless communication terminal can perform Wi-Fi® communication with the printing apparatus 100 using the MAC address included in the advertising packet.
  • a setting screen 300 illustrated in FIG. 3 is a screen displayed by the operation unit 111 of the printing apparatus 100 .
  • the printing apparatus 100 transmits either the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format or the Bluetooth low energy packet in the print application format.
  • the user sets the format of the Bluetooth low energy packet to be transmitted to the printing apparatus 100 using the setting screen 300 .
  • the user selects “AirPrint Bluetooth Beacon” on the setting screen 300 .
  • the Bluetooth low energy packet in the print application format is desired to be transmitted to the printing apparatus 100
  • the user selects “PRINT APPLICATION” on the setting screen 300 .
  • the printing apparatus 100 stores a result of a setting by the setting screen 300 in the HDD 112 as a device setting.
  • Steps illustrated in the flowchart of FIG. 4 are processed when the CPU 101 loads the control program stored in the ROM 102 into the RAM 103 and executes the loaded control program.
  • the processing illustrated in the flowchart of FIG. 4 is performed when the printing apparatus 100 is activated or the user has pressed the OK button 301 on the setting screen 300 .
  • step 401 the CPU 101 specifies a format of a Bluetooth low energy packet to be transmitted.
  • the process is performed by referring to a result of a setting by the setting screen 300 .
  • the processing proceeds to step S 402 .
  • the processing proceeds to step S 408 .
  • step S 402 the CPU 101 determines whether both an IPv4 address and an IPv6 address are unavailable.
  • a state where an IP address is unavailable means that the IP address has not been set in the printing apparatus 100 .
  • the processing proceeds to step S 407 .
  • the processing proceeds to step S 403 .
  • a state where both the IPv4 address and the IPv6 address are not unavailable means that both the IPv4 address and IPv6 address have been set in the printing apparatus 100 or that at least one has been set.
  • step S 403 the CPU 101 determines whether the IPv4 address is available.
  • a state where an IPv4 address is available means that the IPv4 address has been set in the printing apparatus 100 .
  • the processing proceeds to step S 404 .
  • the processing proceeds to step S 405 .
  • step S 404 the CPU 101 generates a Bluetooth low energy packet in an AirPrint Bluetooth Beacon format using the IPv4 address of the printing apparatus 100 .
  • the CPU 101 stores the IPv4 address of the printing apparatus 100 in an IP address field in the AirPrint Bluetooth Beacon format described in FIG. 2A , and generates the Bluetooth low energy packet.
  • the process in step S 404 can be performed when both the IPv4 address and the IPv6 address are available in the printing apparatus 100 .
  • the CPU 101 generates the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format using the IPv4 address instead of the IPv6 address. That is, in a case where both the IPv4 address and the IPv6 address are available, the CPU 101 generates a Bluetooth low energy packet including the available IPv4 address from the available IPv4 address and the available IPv6 address.
  • the IPv4 address is selected instead of the IPv6 address because the number of network infrastructure environments corresponding to the IPv6 address is smaller compared to those corresponding to the IPv4 address.
  • the possibility that the Bluetooth low energy packet received by the mobile terminal can be appropriately processed increases when the Bluetooth low energy packet includes the IPv4 address instead of the IPv6 address.
  • step S 405 the CPU 101 generates a Bluetooth low energy packet in an AirPrint Bluetooth Beacon format using the IPv6 address of the printing apparatus 100 .
  • the CPU 101 stores the IPv6 address of the printing apparatus 100 in the IP address field in the AirPrint Bluetooth Beacon format described in FIG. 2A , and generates the Bluetooth low energy packet.
  • the IPv6 address includes a plurality of types of addresses, such as a stateful address, a stateless address, and a link local address.
  • a plurality of types of IPv6 addresses can be available.
  • the CPU 101 selects the IPv6 addresses based on their respective previously defined priorities.
  • the CPU 101 generates the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format using the selected IPv6 address.
  • the priorities for example, the first priority is the stateful address, the second priority is the stateless address, and the third priority is the link local address.
  • step S 406 the CPU 101 transmits the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format generated in step S 404 or S 405 .
  • the CPU 101 instructs the Bluetooth controller 107 to transmit the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format.
  • the Bluetooth controller 107 controls the Bluetooth chip 108 to transmit the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format.
  • the Bluetooth chip 108 starts to transmit the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format generated in step S 404 or S 405 in a predetermined period, e.g., at intervals of 100 msec.
  • step S 407 The process in step S 407 is performed in a case where it is determined, in step S 402 , that both the IPv4 address and the IPv6 address are unavailable.
  • the CPU 101 decides not to transmit a Bluetooth low energy packet in the AirPrint Bluetooth Beacon format.
  • a state where both the IPv4 address and the IPv6 address are unavailable in the printing apparatus 100 means that the IP address to be stored in the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format does not exist.
  • the CPU 101 determines that the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format is not transmitted so that the Bluetooth low energy packet is not transmitted using the Bluetooth chip 108 .
  • step S 408 The process in step S 408 is performed in a case where the format of the Bluetooth low energy packet set as a device setting has been specified as a print application in step S 401 .
  • the CPU 101 generates a Bluetooth low energy packet in a print application format using a MAC address of the printing apparatus 100 .
  • the CPU 101 stores the MAC address of the printing apparatus 100 in a MAC address field in the print application format described in FIG. 2B , and generates the Bluetooth low energy packet.
  • step S 409 the CPU 101 transmits the Bluetooth low energy packet in the print application format generated in step S 408 .
  • the CPU 101 instructs the Bluetooth controller 107 to transmit the Bluetooth low energy packet in the print application format.
  • the Bluetooth controller 107 controls the Bluetooth chip 108 to transmit the Bluetooth low energy packet in the print application format.
  • the Bluetooth chip 108 starts to transmit the Bluetooth low energy packet in the print application format generated in step S 408 in a predetermined period, e.g., at intervals of 30 msec.
  • the IP address of the printing apparatus 100 is not stored in the Bluetooth low energy packet in the print application format. Therefore, in a case where both the IPv4 address and the IPv6 address are unavailable in the printing apparatus 100 , the printing apparatus 100 transmits the Bluetooth low energy packet in the print application format.
  • the printing apparatus 100 generates the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format using the IPv4 address instead of the IPv6 address in a case where both the IPv4 address and the IPv6 address are available.
  • the printing apparatus 100 can appropriately transmit the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format even when both the IPv4 address and the IPv6 address are available.
  • the printing apparatus 100 does not transmit the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format in a case where both the IPv4 address and the IPv6 address are unavailable, i.e., have not been set.
  • an example of a condition that the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format is not transmitted is the condition that both the IPv4 address and the IPv6 address are unavailable in the printing apparatus 100 .
  • the condition that the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format is not transmitted is not limited to this situation.
  • a Bluetooth low energy packet in the AirPrint Bluetooth Beacon format may not be transmitted.
  • the printing apparatus 100 is not connected to the infrastructure network, if for example, when a LAN cable disconnects from the network I/F 104 or the wireless LAN chip 106 is not connected to an access point.
  • a mobile terminal which has received the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format, transmits print data to the printing apparatus 100 with an IP address included in the Bluetooth low energy packet as a destination and the printing apparatus 100 is not connected to the infrastructure network, that the print data does not reach the printing apparatus 100 .
  • the mobile terminal uselessly receives the Bluetooth low energy packet from the printing apparatus 100 , which the print data does not reach. Occurrence of such a situation can be prevented when the printing apparatus 100 does not transmit the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format if the printing apparatus 100 is not connected to the infrastructure network.
  • a Bluetooth low energy packet in the AirPrint Bluetooth Beacon format may not be transmitted.
  • the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format assumes a situation where it is used by a PC or a mobile terminal belonging to a subnet different from a subnet to which the printing apparatus 100 belongs.
  • the link local address is an IP address available only within a subnet to which the printing apparatus 100 belongs, and contradicts a use of the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format.
  • the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format may not be transmitted.
  • a Bluetooth low energy packet in the AirPrint Bluetooth Beacon format may not be transmitted.
  • the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format assumes a situation where it is used by a PC or a mobile terminal belonging to a subnet different from a subnet to which the printing apparatus 100 belongs.
  • a case where the IP filter setting of the printing apparatus 100 is a setting to reject connection from a different subnet contradicts a use of the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format.
  • the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format may not be transmitted.
  • the printing apparatus can appropriately transmit the Bluetooth low energy packet including the IP address even when both the IPv4 address and the IPv6 address are available in the printing apparatus.
  • Embodiment(s) can also be realized by a computer of a system or apparatus that reads out and executes computer executable instructions (e.g., one or more programs) recorded on a storage medium (which may also be referred to more fully as a ‘non-transitory computer-readable storage medium’) to perform the functions of one or more of the above-described embodiment(s) and/or that includes one or more circuits (e.g., application specific integrated circuit (ASIC)) for performing the functions of one or more of the above-described embodiment(s), and by a method performed by the computer of the system or apparatus by, for example, reading out and executing the computer executable instructions from the storage medium to perform the functions of one or more of the above-described embodiment(s) and/or controlling the one or more circuits to perform the functions of one or more of the above-described embodiment(s).
  • computer executable instructions e.g., one or more programs
  • a storage medium which may also be referred to more fully as a ‘non-
  • the computer may comprise one or more processors (e.g., central processing unit (CPU), micro processing unit (MPU)) and may include a network of separate computers or separate processors to read out and execute the computer executable instructions.
  • the computer executable instructions may be provided to the computer, for example, from a network or the storage medium.
  • the storage medium may include, for example, one or more of a hard disk, a random-access memory (RAM), a read only memory (ROM), a storage of distributed computing systems, an optical disk (such as a compact disc (CD), digital versatile disc (DVD), or Blu-ray Disc (BD)TM), a flash memory device, a memory card, and the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Databases & Information Systems (AREA)

Abstract

In a case where both an IPv4 address and an IPv6 address are available in a printing apparatus, a Bluetooth low energy advertising packet including the available IPv4 address but not the available IPv6 address is generated and periodically transmitted.

Description

BACKGROUND
Field
The present disclosure relates to a printing apparatus that transmits an advertising packet.
Description of the Related Art
In recent years, the number of printing apparatuses such as multifunction peripherals or printers each having a Bluetooth® low energy function has been increasing. The printing apparatus having the Bluetooth low energy function transmits data using a Bluetooth low energy advertising packet (hereinafter referred to as a Bluetooth low energy packet) to an external apparatus such as a mobile terminal. Japanese Patent Application Laid-Open No. 2016-152538 discusses a configuration in which a mobile terminal searches for a printing apparatus using Bluetooth low energy and transmits print data to a printing apparatus selected by a user from among search results.
It has been examined whether the Bluetooth low energy packet includes an Internet Protocol (IP) address of a printing apparatus as a use of the Bluetooth low energy packet. For example, in AirPrint® Bluetooth® defined by Apple Inc., it has been defined that a Bluetooth low energy packet includes an IP address. When the Bluetooth low energy packet includes the IP address of a printing apparatus, a mobile terminal in the vicinity of the printing apparatus can easily specify the IP address of the printing apparatus.
The number of IP addresses of the printing apparatus is not necessarily one. In the printing apparatus, both an IPv4 address and an IPv6 address can become available. How to transmit the Bluetooth low energy packet including the IP address when both the IPv4 address and the IPv6 address are available in the printing apparatus has not been assumed.
SUMMARY
According to an aspect of the present disclosure, a printing apparatus that performs wireless communication based on Bluetooth low energy includes a printing unit that performs print processing based on print data, a memory device that stores a set of instructions, and at least one processor that executes the set of instructions to generate, in a case where both an IPv4 address and an IPv6 address are available in the printing apparatus, a Bluetooth low energy advertising packet including the available IPv4 address but not the available IPv6 address, and periodically transmit the generated Bluetooth low energy advertising packet.
According to another aspect of the present disclosure, a printing apparatus that performs wireless communication based on Bluetooth low energy includes a printing unit that performs print processing based on print data, a memory device that stores a set of instructions, and at least one processor that executes the set of instructions to generate, in a case where a setting of the printing apparatus is a first setting to transmit a Bluetooth low energy advertising packet in a first format and both an IPv4 address and an IPv6 address are available in the printing apparatus, a Bluetooth low energy advertising packet including the available IPv4 address but not the available IPv6 address, generate, in a case where the setting of the printing apparatus is a second setting to transmit a Bluetooth low energy advertising packet in a second format, a Bluetooth low energy advertising packet including a MAC address of the printing apparatus, and periodically transmit the generated Bluetooth low energy advertising packet.
Further features will become apparent from the following description of exemplary embodiments with reference to the attached drawings.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 illustrates a hardware configuration of a printing apparatus.
FIGS. 2A-2B illustrates a format of a Bluetooth® Low Energy packet.
FIG. 3 illustrates a setting screen.
FIG. 4 is a flowchart illustrating processing performed by the printing apparatus.
DESCRIPTION OF THE EMBODIMENTS
Exemplary embodiments will be described below with reference to the drawings. The below-described exemplary embodiments are not intended to limit the claims and all combinations of features described in the exemplary embodiments are not necessarily essential for a solution.
A hardware configuration of a printing apparatus 100 will be described below with reference to FIG. 1. A central processing unit (CPU) 101 performs various types of processing to control an operation of the printing apparatus 100 by reading out a control program stored in a read-only memory (ROM) 102. The ROM 102 stores the control program. A random access memory (RAM) 103 is used as a main memory of the CPU 101 and a temporary storage area such as a work area. A hard disk drive (HDD) 112 is a nonvolatile storage medium storing various types of data. The printing apparatus 100 can have another configuration in a different embodiment, but still performs each of processes described below. For example, a plurality of CPUs can cooperate with one another to perform each of the processes described below. Some of the processes can be performed using a hardware circuit, such as an Application Specific Integrated Circuit (ASIC).
A printer 109 performs print processing on a sheet based on print data received from an external apparatus via a wireless local area network (LAN) chip 106 or a network interface (I/F) 104. A scanner 110 reads a document placed by a user, and generates a document image. The document image generated by the scanner 110 is printed by the printer 109 (copy processing) or is stored in the HDD 112. An operation unit 111 includes a display with a touch panel function or a keyboard, and displays various types of operation screens. A user can input instructions and information to the printing apparatus 100 via the operation unit 111.
The wireless LAN chip 106 is a chip for performing wireless LAN communication that meets Institute of Electrical and Electronic Engineers (IEEE) 802.11a/b/g/n/ac. A wireless LAN controller 105 controls the wireless LAN communication using the wireless LAN chip 106.
A Bluetooth chip 108 is a wireless communication chip for performing Bluetooth wireless communication. The Bluetooth chip 108 also includes a Bluetooth low energy function and performs Bluetooth low energy communication. The Bluetooth low energy communication includes periodically broadcasting a Bluetooth low energy advertising packet. A Bluetooth controller 107 controls the Bluetooth communication using the Bluetooth chip 108.
The network I/F 104 is connected to a network via a LAN cable. The network I/F 104 communicates with an external apparatus, e.g., a personal computer (PC), on the network to receive print data from the external apparatus and to transmit the document image generated by the scanner 110 to the external apparatus.
The printing apparatus 100 transmits advertising packets in a plurality of formats. In the following description, a Bluetooth low energy advertising packet is referred to as a Bluetooth low energy packet. The plurality of formats includes AirPrint Bluetooth Beacon and a print application. Each of the formats will be described with reference to FIGS. 2A-2B.
FIG. 2A illustrates an AirPrint Bluetooth Beacon format, which is defined by Apple Inc., and stores data representing connection information, a path, a port number, an IP address, and a transmission radio-field intensity in each field. A Bluetooth low energy packet in the AirPrint Bluetooth Beacon format is used by a PC or a mobile terminal complying with AirPrint®. The PC or the mobile terminal performs device search using a Bluetooth low energy packet in an AirPrint Bluetooth Beacon format. That is, a wireless communication terminal, such as the PC or the mobile terminal, specifies a device complying with AirPrint® based on AirPrint Bluetooth Beacon.
The AirPrint Bluetooth Beacon format includes an IP address of the printing apparatus 100, unlike a print application format described in FIG. 2B. The wireless communication terminal establishes communication based on a communication protocol different from Bluetooth low energy between the printing apparatus 100 and itself using the IP address included in the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format. For example, the wireless communication terminal can perform Wi-Fi® communication with the printing apparatus 100 using the IP address included in the Bluetooth low energy packet.
FIG. 2B illustrates a print application format. A print application is a format defined by a manufacturer of the printing apparatus 100, and is defined to store a transmission radio-field intensity, a Media Access Control (MAC) address, a device name, and a device category in each field. The manufacturer of the printing apparatus 100 provides a print application for a mobile terminal. The user installs the print application on the mobile terminal to use a printing function of the printing apparatus 100. An advertising packet in the print application format is used by the mobile terminal on which the print application is installed. A wireless communication terminal, such as a PC or the mobile terminal, specifies a device corresponding to the print application based on the advertising packet in the print application format.
The print application format includes a MAC address of the printing apparatus 100, unlike the AirPrint Bluetooth Beacon format described in FIG. 2A. The wireless communication terminal establishes communication based on a communication protocol different from Bluetooth low energy between the printing apparatus 100 and itself using the MAC address included in the advertising packet in the print application format. For example, the wireless communication terminal can perform Wi-Fi® communication with the printing apparatus 100 using the MAC address included in the advertising packet.
A setting screen 300 illustrated in FIG. 3 is a screen displayed by the operation unit 111 of the printing apparatus 100. The printing apparatus 100 transmits either the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format or the Bluetooth low energy packet in the print application format. The user sets the format of the Bluetooth low energy packet to be transmitted to the printing apparatus 100 using the setting screen 300.
When the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format is desired to be transmitted to the printing apparatus 100, the user selects “AirPrint Bluetooth Beacon” on the setting screen 300. When the Bluetooth low energy packet in the print application format is desired to be transmitted to the printing apparatus 100, the user selects “PRINT APPLICATION” on the setting screen 300. When the user presses an OK button 301, the printing apparatus 100 stores a result of a setting by the setting screen 300 in the HDD 112 as a device setting.
Processing for transmitting a Bluetooth low energy packet by the printing apparatus 100 according to a first exemplary embodiment will be described with reference to a flowchart of FIG. 4. Steps illustrated in the flowchart of FIG. 4 are processed when the CPU 101 loads the control program stored in the ROM 102 into the RAM 103 and executes the loaded control program. The processing illustrated in the flowchart of FIG. 4 is performed when the printing apparatus 100 is activated or the user has pressed the OK button 301 on the setting screen 300.
In step 401, the CPU 101 specifies a format of a Bluetooth low energy packet to be transmitted. The process is performed by referring to a result of a setting by the setting screen 300. In a case where the format of the Bluetooth low energy packet set as a device setting is AirPrint Bluetooth Beacon, the processing proceeds to step S402. In a case where the format of the Bluetooth low energy packet set as the device setting is a print application, the processing proceeds to step S408.
In step S402, the CPU 101 determines whether both an IPv4 address and an IPv6 address are unavailable. A state where an IP address is unavailable means that the IP address has not been set in the printing apparatus 100. In a case where the CPU 101 determines that both the IPv4 address and the IPv6 address are unavailable (YES in step S402), the processing proceeds to step S407. In a case where the CPU 101 determines that both the IPv4 address and the IPv6 address are not unavailable (NO in step S402), the processing proceeds to step S403. A state where both the IPv4 address and the IPv6 address are not unavailable means that both the IPv4 address and IPv6 address have been set in the printing apparatus 100 or that at least one has been set.
In step S403, the CPU 101 determines whether the IPv4 address is available. A state where an IPv4 address is available means that the IPv4 address has been set in the printing apparatus 100. In a case where the CPU 101 determines that the IPv4 address is available (YES in step S403), the processing proceeds to step S404. In a case where the CPU 101 determines that the IPv4 address is not available (NO in step S403), the processing proceeds to step S405.
In step S404, the CPU 101 generates a Bluetooth low energy packet in an AirPrint Bluetooth Beacon format using the IPv4 address of the printing apparatus 100. The CPU 101 stores the IPv4 address of the printing apparatus 100 in an IP address field in the AirPrint Bluetooth Beacon format described in FIG. 2A, and generates the Bluetooth low energy packet.
The process in step S404 can be performed when both the IPv4 address and the IPv6 address are available in the printing apparatus 100. In this case, the CPU 101 generates the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format using the IPv4 address instead of the IPv6 address. That is, in a case where both the IPv4 address and the IPv6 address are available, the CPU 101 generates a Bluetooth low energy packet including the available IPv4 address from the available IPv4 address and the available IPv6 address. The IPv4 address is selected instead of the IPv6 address because the number of network infrastructure environments corresponding to the IPv6 address is smaller compared to those corresponding to the IPv4 address. In a case where both the IPv4 address and the IPv6 address are available in the printing apparatus 100, the possibility that the Bluetooth low energy packet received by the mobile terminal can be appropriately processed increases when the Bluetooth low energy packet includes the IPv4 address instead of the IPv6 address.
In step S405, the CPU 101 generates a Bluetooth low energy packet in an AirPrint Bluetooth Beacon format using the IPv6 address of the printing apparatus 100. The CPU 101 stores the IPv6 address of the printing apparatus 100 in the IP address field in the AirPrint Bluetooth Beacon format described in FIG. 2A, and generates the Bluetooth low energy packet. The IPv6 address includes a plurality of types of addresses, such as a stateful address, a stateless address, and a link local address. In the printing apparatus 100, a plurality of types of IPv6 addresses can be available. In a case where the plurality of types of IPv6 addresses are available in the printing apparatus 100, the CPU 101 selects the IPv6 addresses based on their respective previously defined priorities. The CPU 101 generates the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format using the selected IPv6 address. As the priorities, for example, the first priority is the stateful address, the second priority is the stateless address, and the third priority is the link local address.
In step S406, the CPU 101 transmits the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format generated in step S404 or S405. The CPU 101 instructs the Bluetooth controller 107 to transmit the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format. The Bluetooth controller 107 controls the Bluetooth chip 108 to transmit the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format. The Bluetooth chip 108 starts to transmit the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format generated in step S404 or S405 in a predetermined period, e.g., at intervals of 100 msec.
The process in step S407 is performed in a case where it is determined, in step S402, that both the IPv4 address and the IPv6 address are unavailable. In step S407, the CPU 101 decides not to transmit a Bluetooth low energy packet in the AirPrint Bluetooth Beacon format. A state where both the IPv4 address and the IPv6 address are unavailable in the printing apparatus 100 means that the IP address to be stored in the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format does not exist. Thus, the CPU 101 determines that the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format is not transmitted so that the Bluetooth low energy packet is not transmitted using the Bluetooth chip 108.
The process in step S408 is performed in a case where the format of the Bluetooth low energy packet set as a device setting has been specified as a print application in step S401. In step S408, the CPU 101 generates a Bluetooth low energy packet in a print application format using a MAC address of the printing apparatus 100. The CPU 101 stores the MAC address of the printing apparatus 100 in a MAC address field in the print application format described in FIG. 2B, and generates the Bluetooth low energy packet.
In step S409, the CPU 101 transmits the Bluetooth low energy packet in the print application format generated in step S408. The CPU 101 instructs the Bluetooth controller 107 to transmit the Bluetooth low energy packet in the print application format. The Bluetooth controller 107 controls the Bluetooth chip 108 to transmit the Bluetooth low energy packet in the print application format. The Bluetooth chip 108 starts to transmit the Bluetooth low energy packet in the print application format generated in step S408 in a predetermined period, e.g., at intervals of 30 msec. As described in FIG. 2B, the IP address of the printing apparatus 100 is not stored in the Bluetooth low energy packet in the print application format. Therefore, in a case where both the IPv4 address and the IPv6 address are unavailable in the printing apparatus 100, the printing apparatus 100 transmits the Bluetooth low energy packet in the print application format.
As described above, the printing apparatus 100 generates the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format using the IPv4 address instead of the IPv6 address in a case where both the IPv4 address and the IPv6 address are available. The printing apparatus 100 can appropriately transmit the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format even when both the IPv4 address and the IPv6 address are available.
The printing apparatus 100 does not transmit the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format in a case where both the IPv4 address and the IPv6 address are unavailable, i.e., have not been set.
In the above-described exemplary embodiment, an example of a condition that the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format is not transmitted is the condition that both the IPv4 address and the IPv6 address are unavailable in the printing apparatus 100. However, the condition that the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format is not transmitted is not limited to this situation.
In a second exemplary embodiment, when a printing apparatus 100 is not connected to an infrastructure network, a Bluetooth low energy packet in the AirPrint Bluetooth Beacon format may not be transmitted. A case where the printing apparatus 100 is not connected to the infrastructure network, if for example, when a LAN cable disconnects from the network I/F 104 or the wireless LAN chip 106 is not connected to an access point. For example, in a case where a mobile terminal, which has received the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format, transmits print data to the printing apparatus 100 with an IP address included in the Bluetooth low energy packet as a destination and the printing apparatus 100 is not connected to the infrastructure network, that the print data does not reach the printing apparatus 100. In such a case, the mobile terminal uselessly receives the Bluetooth low energy packet from the printing apparatus 100, which the print data does not reach. Occurrence of such a situation can be prevented when the printing apparatus 100 does not transmit the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format if the printing apparatus 100 is not connected to the infrastructure network.
As another example, when an available IP address is only a link local address in the printing apparatus 100, a Bluetooth low energy packet in the AirPrint Bluetooth Beacon format may not be transmitted. The Bluetooth low energy packet in the AirPrint Bluetooth Beacon format assumes a situation where it is used by a PC or a mobile terminal belonging to a subnet different from a subnet to which the printing apparatus 100 belongs. The link local address is an IP address available only within a subnet to which the printing apparatus 100 belongs, and contradicts a use of the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format. In a case where the available IP address is only the link local address in the printing apparatus 100, the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format may not be transmitted.
As still another example, when an IP filter setting of the printing apparatus 100 is a setting to reject connection from a different subnet, a Bluetooth low energy packet in the AirPrint Bluetooth Beacon format may not be transmitted. The Bluetooth low energy packet in the AirPrint Bluetooth Beacon format assumes a situation where it is used by a PC or a mobile terminal belonging to a subnet different from a subnet to which the printing apparatus 100 belongs. A case where the IP filter setting of the printing apparatus 100 is a setting to reject connection from a different subnet contradicts a use of the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format. In a case where the IP filter setting of the printing apparatus 100 is the setting to reject connection from a different subnet, the Bluetooth low energy packet in the AirPrint Bluetooth Beacon format may not be transmitted.
According to the above-described first or second exemplary embodiment, the printing apparatus can appropriately transmit the Bluetooth low energy packet including the IP address even when both the IPv4 address and the IPv6 address are available in the printing apparatus.
Other Embodiments
Embodiment(s) can also be realized by a computer of a system or apparatus that reads out and executes computer executable instructions (e.g., one or more programs) recorded on a storage medium (which may also be referred to more fully as a ‘non-transitory computer-readable storage medium’) to perform the functions of one or more of the above-described embodiment(s) and/or that includes one or more circuits (e.g., application specific integrated circuit (ASIC)) for performing the functions of one or more of the above-described embodiment(s), and by a method performed by the computer of the system or apparatus by, for example, reading out and executing the computer executable instructions from the storage medium to perform the functions of one or more of the above-described embodiment(s) and/or controlling the one or more circuits to perform the functions of one or more of the above-described embodiment(s). The computer may comprise one or more processors (e.g., central processing unit (CPU), micro processing unit (MPU)) and may include a network of separate computers or separate processors to read out and execute the computer executable instructions. The computer executable instructions may be provided to the computer, for example, from a network or the storage medium. The storage medium may include, for example, one or more of a hard disk, a random-access memory (RAM), a read only memory (ROM), a storage of distributed computing systems, an optical disk (such as a compact disc (CD), digital versatile disc (DVD), or Blu-ray Disc (BD)™), a flash memory device, a memory card, and the like.
While exemplary embodiments have been described, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.
This application claims the benefit of Japanese Patent Application No. 2016-230830, filed Nov. 29, 2016, which is hereby incorporated by reference herein in its entirety.

Claims (20)

What is claimed is:
1. A printing apparatus that performs wireless communication based on Bluetooth low energy, the printing apparatus comprising:
a printing unit that performs print processing based on print data;
a memory device that stores a set of instructions; and
at least one processor that executes the set of the instructions to:
generate, in a case where both an IPv4 address and an IPv6 address are available in the printing apparatus, a Bluetooth low energy advertising packet including the available IPv4 address but not the available IPv6 address, and
periodically transmit, for receipt by at least one external apparatus, the generated Bluetooth low energy advertising packet,
wherein receipt of the generated Bluetooth low energy advertising packet enables the at least one external apparatus to initiate communication with the printing apparatus using the IPv4 address.
2. The printing apparatus according to claim 1, wherein a Bluetooth low energy advertising packet is not transmitted in a case where both the IPv4 address and the IPv6 address are unavailable in the printing apparatus.
3. The printing apparatus according to claim 1, wherein a Bluetooth low energy advertising packet is not transmitted in a case where the printing apparatus is not connected to an infrastructure network.
4. The printing apparatus according to claim 1, wherein a Bluetooth low energy advertising packet is not transmitted in a case where the available IP address is only a link local address in the printing apparatus.
5. The printing apparatus according to claim 1, wherein a Bluetooth low energy advertising packet is not transmitted in a case where an IP filter setting of the printing apparatus is a setting to reject connection from a different subnet.
6. The printing apparatus according to claim 1, wherein the printing apparatus performs communication with an apparatus that received the Bluetooth low energy advertising packet, wherein the communication is based on a communication protocol different from Bluetooth low energy and uses an IP address included in the Bluetooth low energy advertising packet.
7. A printing apparatus that performs wireless communication based on Bluetooth low energy, the printing apparatus comprising:
a printing unit that performs print processing based on print data;
a memory device that stores a set of instructions; and
at least one processor that executes the set of instructions to:
generate, in a case where a setting of the printing apparatus is a first setting to transmit a Bluetooth low energy advertising packet in a first format and both an IPv4 address and an IPv6 address are available in the printing apparatus, a Bluetooth low energy advertising packet including the available IPv4 address but not the available IPv6 address,
generate, in a case where the setting of the printing apparatus is a second setting to transmit a Bluetooth low energy advertising packet in a second format, a Bluetooth low energy advertising packet including a MAC address of the printing apparatus, and
periodically transmit, for receipt by at least one external apparatus, the generated Bluetooth low energy advertising packet,
wherein receipt of the generated Bluetooth low energy advertising packet enables the at least one external apparatus to initiate communication with the printing apparatus using the IPv4 address.
8. The printing apparatus according to claim 7, wherein the Bluetooth low energy advertising packet in the first format is not transmitted in a case where the setting of the printing apparatus is the first setting and both the IPv4 address and the IPv6 address are unavailable in the printing apparatus.
9. The printing apparatus according to claim 7, wherein the Bluetooth low energy advertising packet in the first format is not transmitted in a case where the setting of the printing apparatus is the first setting and the printing apparatus is not connected to an infrastructure network.
10. The printing apparatus according to claim 7, wherein the Bluetooth low energy advertising packet in the first format is not transmitted in a case where the setting of the printing apparatus is the first setting and the available IP address is only a link local address in the printing apparatus.
11. The printing apparatus according to claim 7, wherein the Bluetooth low energy advertising packet in the first format is not transmitted in a case where the setting of the printing apparatus is the first setting and an IP filter setting of the printing apparatus is a setting to reject connection from a different subnet.
12. The printing apparatus according to claim 7, wherein the second format is a format of a print application installed in an external apparatus.
13. A method for controlling a printing apparatus that performs wireless communication based on Bluetooth low energy, the method comprising:
generating, in a case where both an IPv4 address and an IPv6 address are available in the printing apparatus, a Bluetooth low energy advertising packet including the available IPv4 address but not the available IPv6 address; and
periodically transmitting, for receipt by at least one external apparatus, the generated Bluetooth low energy advertising packet,
wherein receipt of the generated Bluetooth low energy advertising packet enables the at least one external apparatus to initiate communication with the printing apparatus using the IPv4 address.
14. A method for controlling a printing apparatus that performs wireless communication based on Bluetooth low energy, the method comprising:
generating, in a case where a setting of the printing apparatus is a first setting to transmit a Bluetooth low energy advertising packet in a first format and both an IPv4 address and an IPv6 address are available in the printing apparatus, a Bluetooth low energy advertising packet including the available IPv4 address but not the available IPv6 address;
generating, in a case where the setting of the printing apparatus is a second setting to transmit a Bluetooth low energy advertising packet in a second format, a Bluetooth low energy advertising packet including a MAC address of the printing apparatus; and
periodically transmitting, for receipt by at least one external apparatus, the generated Bluetooth low energy advertising packet,
wherein receipt of the generated Bluetooth low energy advertising packet enables the at least one external apparatus to initiate communication with the printing apparatus using the IPv4 address.
15. A non-transitory computer readable storage medium storing a program for causing a computer that performs wireless communication based on Bluetooth low energy to execute a method for controlling a printing apparatus, the method comprising:
generating, in a case where both an IPv4 address and an IPv6 address are available in the printing apparatus, a Bluetooth low energy advertising packet including the available IPv4 address but not the available IPv6 address; and
periodically transmitting, for receipt by at least one external apparatus, the generated Bluetooth low energy advertising packet,
wherein receipt of the generated Bluetooth low energy advertising packet enables the at least one external apparatus to initiate communication with the printing apparatus using the IPv4 address.
16. A non-transitory computer readable storage medium storing a program for causing a computer that performs wireless communication based on Bluetooth low energy to execute a method for controlling a printing apparatus, the method comprising:
generating, in a case where a setting of the printing apparatus is a first setting to transmit a Bluetooth low energy advertising packet in a first format and both an IPv4 address and an IPv6 address are available in the printing apparatus, a Bluetooth low energy advertising packet including the available IPv4 address but not the available IPv4 address and the available IPv6 address;
generating, in a case where the setting of the printing apparatus is a second setting to transmit a Bluetooth low energy advertising packet in a second format, a Bluetooth low energy advertising packet including a MAC address of the printing apparatus; and
periodically transmitting, for receipt by at least one external apparatus, the generated Bluetooth low energy advertising packet,
wherein receipt of the generated Bluetooth low energy advertising packet enables the at least one external apparatus to initiate communication with the printing apparatus using the IPv4 address.
17. The printing apparatus according to claim 1,
wherein the at least one processor executes the instructions to:
generate, in a case where the IPv4 address is available but the IPv6 address is unavailable in the printing apparatus, a Bluetooth low energy advertising packet including the available IPv4 address, and
generate, in a case where the IPv6 address is available but the IPv4 address is unavailable in the printing apparatus, a Bluetooth low energy advertising packet including the available IPv6 address.
18. The printing apparatus according to claim 17,
wherein the at least one processor executes the instructions to:
in a case where a plurality of types of IPv6 addresses are available but the IPv4 address is unavailable in the printing apparatus, select one IPv6 address from among the plurality of types of IPv6 addresses and generate a Bluetooth low energy advertising packet including the selected IPv6 address.
19. The printing apparatus according to claim 7,
wherein the at least one processor executes the instructions to:
generate, in a case where the setting of the printing apparatus is the first setting and the IPv4 address is available but the IPv6 address is unavailable in the printing apparatus, a Bluetooth low energy advertising packet including the available IPv4 address, and
generate, in a case where the setting of the printing apparatus is the first setting and the IPv6 address is available but the IPv4 address is unavailable in the printing apparatus, a Bluetooth low energy advertising packet including the available IPv6 address.
20. The printing apparatus according to claim 7, wherein the first format is an AirPrint Bluetooth Beacon format.
US15/819,469 2016-11-29 2017-11-21 Printing apparatus and control method for generating advertising packets Active US10489094B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US16/684,331 US11119711B2 (en) 2016-11-29 2019-11-14 Device for broadcasting advertising packets
US17/404,903 US11842103B2 (en) 2016-11-29 2021-08-17 Printing apparatus that transmits its address to an external apparatus using a wireless communication packet, method for controlling the printing apparatus, and recording medium thereof
US18/509,109 US20240086124A1 (en) 2016-11-29 2023-11-14 Printing apparatus, method for controlling printing apparatus, and recording medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2016230830A JP6253751B1 (en) 2016-11-29 2016-11-29 Printing apparatus and printing apparatus control method
JP2016-230830 2016-11-29

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/684,331 Continuation US11119711B2 (en) 2016-11-29 2019-11-14 Device for broadcasting advertising packets

Publications (2)

Publication Number Publication Date
US20180157447A1 US20180157447A1 (en) 2018-06-07
US10489094B2 true US10489094B2 (en) 2019-11-26

Family

ID=60860021

Family Applications (4)

Application Number Title Priority Date Filing Date
US15/819,469 Active US10489094B2 (en) 2016-11-29 2017-11-21 Printing apparatus and control method for generating advertising packets
US16/684,331 Active US11119711B2 (en) 2016-11-29 2019-11-14 Device for broadcasting advertising packets
US17/404,903 Active US11842103B2 (en) 2016-11-29 2021-08-17 Printing apparatus that transmits its address to an external apparatus using a wireless communication packet, method for controlling the printing apparatus, and recording medium thereof
US18/509,109 Pending US20240086124A1 (en) 2016-11-29 2023-11-14 Printing apparatus, method for controlling printing apparatus, and recording medium

Family Applications After (3)

Application Number Title Priority Date Filing Date
US16/684,331 Active US11119711B2 (en) 2016-11-29 2019-11-14 Device for broadcasting advertising packets
US17/404,903 Active US11842103B2 (en) 2016-11-29 2021-08-17 Printing apparatus that transmits its address to an external apparatus using a wireless communication packet, method for controlling the printing apparatus, and recording medium thereof
US18/509,109 Pending US20240086124A1 (en) 2016-11-29 2023-11-14 Printing apparatus, method for controlling printing apparatus, and recording medium

Country Status (2)

Country Link
US (4) US10489094B2 (en)
JP (1) JP6253751B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200150911A1 (en) * 2016-11-29 2020-05-14 Canon Kabushiki Kaisha Printing apparatus, method for controlling printing apparatus, and recording medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6932586B2 (en) * 2017-09-14 2021-09-08 キヤノン株式会社 Information processing equipment, its control method, and programs
JP6479230B2 (en) * 2018-02-20 2019-03-06 キヤノン株式会社 Printing apparatus, printing apparatus control method, and program
JP7275823B2 (en) * 2019-05-09 2023-05-18 株式会社リコー PRINTING DEVICE, PRINTING METHOD AND PRINTING PROGRAM

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040111494A1 (en) * 2002-12-06 2004-06-10 Microsoft Corporation Network location signature for disambiguating multicast messages in dual-IP stack and/or multi-homed network environments
US20160020861A1 (en) * 2014-07-16 2016-01-21 Yahoo! Inc. System and method for calibrating bluetooth low energy signal strengths
US20160057101A1 (en) * 2012-04-11 2016-02-25 Mcafee, Inc. Asset detection system
JP2016152538A (en) 2015-02-18 2016-08-22 キヤノン株式会社 Data communication method, program, and information processing device
US20170134609A1 (en) * 2014-09-03 2017-05-11 S-Printing Solution Co., Ltd. Image forming device supporting short range wireless communication and method for operating same, mobile terminal supporting short range wireless communication and method for operating same, and cloud print system using short range wireless communication

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100565062B1 (en) * 2003-12-13 2006-03-30 삼성전자주식회사 System for selecting printer via a wireless network and method thereof
US8352618B2 (en) * 2009-12-30 2013-01-08 Konica Minolta Laboratory U.S.A., Inc. Method and system for resolving conflicts between IPsec and IPv6 neighbor solicitation
US9891867B2 (en) * 2010-11-10 2018-02-13 Electronics For Imaging, Inc. Protocol for interaction between wireless devices and other devices
JP2016534675A (en) * 2013-09-17 2016-11-04 クゥアルコム・インコーポレイテッドQualcomm Incorporated Advertisement packet interleaving for improved detectability and security
JP6341786B2 (en) * 2014-07-24 2018-06-13 キヤノン株式会社 Printing apparatus, printing apparatus control method, program, and printing system
US9467456B2 (en) * 2014-08-29 2016-10-11 Dell Software Inc. Single login authentication for users with multiple IPv4/IPv6 addresses
US9641964B2 (en) * 2014-09-03 2017-05-02 CloudLeaf, Inc. Systems, methods and devices for asset status determination
US9402231B2 (en) * 2014-10-15 2016-07-26 Gainspan Corporation Communication between wireless devices capable of communicating using multiple MAC protocols
JP2016170608A (en) * 2015-03-12 2016-09-23 キヤノン株式会社 Information processing device, information processing method, and program
JP6354640B2 (en) * 2015-04-03 2018-07-11 コニカミノルタ株式会社 Image forming system, portable terminal and program
JP6300855B2 (en) * 2016-03-24 2018-03-28 キヤノン株式会社 Printing apparatus, printing apparatus control method, and program
JP6253751B1 (en) * 2016-11-29 2017-12-27 キヤノン株式会社 Printing apparatus and printing apparatus control method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040111494A1 (en) * 2002-12-06 2004-06-10 Microsoft Corporation Network location signature for disambiguating multicast messages in dual-IP stack and/or multi-homed network environments
US20160057101A1 (en) * 2012-04-11 2016-02-25 Mcafee, Inc. Asset detection system
US20160020861A1 (en) * 2014-07-16 2016-01-21 Yahoo! Inc. System and method for calibrating bluetooth low energy signal strengths
US20170134609A1 (en) * 2014-09-03 2017-05-11 S-Printing Solution Co., Ltd. Image forming device supporting short range wireless communication and method for operating same, mobile terminal supporting short range wireless communication and method for operating same, and cloud print system using short range wireless communication
JP2016152538A (en) 2015-02-18 2016-08-22 キヤノン株式会社 Data communication method, program, and information processing device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Bluetooth Specification Version 4.0 [vol. 3],11 Advertising and Scan Response Data Format, Jun. 30, 2010, pp. 375-378.

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200150911A1 (en) * 2016-11-29 2020-05-14 Canon Kabushiki Kaisha Printing apparatus, method for controlling printing apparatus, and recording medium
US11119711B2 (en) * 2016-11-29 2021-09-14 Canon Kabushiki Kaisha Device for broadcasting advertising packets

Also Published As

Publication number Publication date
US11842103B2 (en) 2023-12-12
US20200150911A1 (en) 2020-05-14
US20210373825A1 (en) 2021-12-02
JP6253751B1 (en) 2017-12-27
US20180157447A1 (en) 2018-06-07
US11119711B2 (en) 2021-09-14
US20240086124A1 (en) 2024-03-14
JP2018086768A (en) 2018-06-07

Similar Documents

Publication Publication Date Title
US11119711B2 (en) Device for broadcasting advertising packets
US11770758B2 (en) Communication apparatus, control method of communication apparatus, and storage medium
US10667108B2 (en) Printing apparatus configured to transmit bluetooth® low energy advertise packet
US11343389B2 (en) Writing IPV4 or IPV6 information into an NFC tag attached to an image forming apparatus
US10691379B2 (en) Printing apparatus having wireless direct communication function and method of controlling the printing apparatus
US11178306B2 (en) Printing apparatus, system, control method of printing apparatus, and storage medium
US9936535B2 (en) Communication apparatus and control method for communication apparatus
US10169690B2 (en) Communication device that communicates with external device, control method for the same, and storage medium
US10863055B2 (en) Printing apparatus, control method for printing apparatus, and storage medium
US20190079711A1 (en) Information processing apparatus that performs short-range wireless communication, control method therefor, and storage medium
US20210132876A1 (en) Data processing apparatus, storage medium, and control method
US10791227B2 (en) Image forming apparatus that carries out communication with multiple external apparatuses, control method for the image forming apparatus, and storage medium
US11048452B2 (en) Information processing apparatus, control method, and storage medium for determining IP addresses are overlape in direct and infrastructure modes, the information processing apparatus prohibits to operate in direct connection mode
US20140240766A1 (en) Printing apparatus, method of controlling printing apparatus, and storage medium
US10530960B2 (en) Transmitting wireless communication advertisement packets
US20160350040A1 (en) Information processing method and storage medium
US12019936B2 (en) Non-transitory computer readable storage medium, control method, and mobile terminal

Legal Events

Date Code Title Description
FEPP Fee payment procedure

Free format text: ENTITY STATUS SET TO UNDISCOUNTED (ORIGINAL EVENT CODE: BIG.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

AS Assignment

Owner name: CANON KABUSHIKI KAISHA, JAPAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:NAKAMURA, TADAHIRO;REEL/FRAME:045281/0472

Effective date: 20171026

STPP Information on status: patent application and granting procedure in general

Free format text: RESPONSE TO NON-FINAL OFFICE ACTION ENTERED AND FORWARDED TO EXAMINER

STPP Information on status: patent application and granting procedure in general

Free format text: FINAL REJECTION MAILED

STPP Information on status: patent application and granting procedure in general

Free format text: RESPONSE AFTER FINAL ACTION FORWARDED TO EXAMINER

STPP Information on status: patent application and granting procedure in general

Free format text: NOTICE OF ALLOWANCE MAILED -- APPLICATION RECEIVED IN OFFICE OF PUBLICATIONS

STPP Information on status: patent application and granting procedure in general

Free format text: PUBLICATIONS -- ISSUE FEE PAYMENT VERIFIED

STCF Information on status: patent grant

Free format text: PATENTED CASE

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 4TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1551); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Year of fee payment: 4