Printer, control method of the same, and program
The printing system using the Wi-Fi Aware NAN standard addresses the challenge of distributing image data and printed matter in environments without a network infrastructure by establishing wireless connections and controlling data transmission based on distance and group affiliation, ensuring efficient and targeted distribution.
Patent Information
- Application Number
- JP2023032598
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-03
- Publication Date
- 2024-09-13
AI Technical Summary
Existing technologies, such as those described in Patent Document 1, do not allow for the sharing of image data over a network infrastructure that is not well-established, making it inconvenient for users to distribute photographs as both printed matter and electronic data at venues like party venues.
A printing system utilizing the Wi-Fi Aware NAN standard to establish wireless communication connections between terminal devices and a printing device, enabling the acquisition and distribution of image data for printing, and controlling the transmission of this data to appropriate terminal devices based on distance, group affiliation, and print settings.
Enables the distribution of printed matter and image data to users even in environments without a network infrastructure, improving user convenience by ensuring data is transmitted only to intended recipients and using suitable print settings.
Smart Images

Figure 2024124721000001
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a printing device, a control method for a printing device, and a program. [Background technology]
[0002] Wi-Fi Aware, one of the certification programs of the Wi-Fi Alliance, specifies a communication protocol called NAN (Neighbor Awareness Network), which allows devices to communicate wirelessly without going through an access point. Hereinafter, the standard for this NAN specified by the Wi-Fi Alliance will be referred to as the NAN standard. Patent Document 1 discloses a technology that realizes printing by transmitting data from a terminal device to a printing device using wireless communication according to the NAN standard. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2019-134322 A Summary of the Invention [Problem to be solved by the invention]
[0004] Photographs taken at a gathering such as a party venue may be printed on the spot. This allows the photographs to be distributed to people who visit the venue. Recently, however, more and more people want to own photographs not only as printed matter but also as image data. However, if the venue does not have a network infrastructure environment, it is not easy for people to share image data.
[0005] According to Patent Document 1, even in a place where a network infrastructure environment is not in place, a user can print using a printing device with a communication connection established according to the NAN standard. However, the technology described in this document is inconvenient because it does not allow people to share image data to be printed in a venue where a network infrastructure environment is not in place. [Means for solving the problem]
[0006] The printing device according to the present disclosure has a plurality of terminal devices, a connection processing unit that establishes a wireless communication connection according to the NAN standard, a printing information acquisition unit that acquires image data to be printed from one of the plurality of terminal devices using the wireless communication connection, a printing unit that prints the image data, and a transmission control unit that controls the image data to be transmitted to one or more of the terminal devices included in the plurality of terminal devices using the wireless communication connection when the image data has been printed.
[0007] In addition, in the control method of a printing device disclosed herein, a wireless communication connection conforming to the NAN standard is established with a plurality of terminal devices, image data to be printed is obtained from one of the plurality of terminal devices using the wireless communication connection, the image data is printed, and when the image data has been printed, the image data is controlled to be transmitted using the wireless communication connection to one or more of the terminal devices included in the plurality of terminal devices.
[0008] In addition, the program disclosed herein causes a computer to execute a connection processing step of establishing a wireless communication connection in accordance with the NAN standard with multiple terminal devices, a print information acquisition step of acquiring image data to be printed from one of the multiple terminal devices using the wireless communication connection, a print processing step of performing processing to print the image data, and a transmission control step of controlling the transmission of the image data to one or more terminal devices included in the multiple terminal devices using the wireless communication connection when the image data has been printed. [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 is a schematic diagram illustrating an example of a configuration of a printing system according to an embodiment. [Diagram 2] FIG. 2 is a block diagram showing an example of a configuration of a terminal device according to an embodiment; [Diagram 3] 1 is a block diagram showing an example of a configuration of a printing device according to an embodiment; [Figure 4] 5 is a flowchart showing an example of an operation flow of the printing system according to the embodiment. [Diagram 5] FIG. 13 is a block diagram showing an example of a configuration of a terminal device according to a modified example. [Figure 6] FIG. 13 is a block diagram showing an example of the configuration of a printing device according to a modified example. [Figure 7] 10 is a flowchart showing an example of the flow of operations of a printing system according to a modified example. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Hereinafter, the embodiments will be described with reference to the drawings. For clarity of explanation, the following description and drawings are omitted and simplified as appropriate. In addition, in each drawing, the same elements are given the same reference numerals, and duplicate explanations are omitted as necessary.
[0011] Fig. 1 is a schematic diagram showing an example of the configuration of a printing system 10 according to an embodiment. The printing system 10 includes one or more terminal devices 100 and a printing device 200. Note that, although terminal devices 100A, 100B, 100C, and 100D are shown in Fig. 1, they will be referred to as terminal devices 100 when referring to them without making any particular distinction.
[0012] The printing device 200 is a device equipped with a function for performing printing processing, and specifically, in this embodiment, is a printer. The printing device 200 is installed, for example, in a venue where people gather, such as a party venue, but the installation location of the printing device 200 is not limited to this. Note that the environment in which the printing device 200 is installed does not need to have a network infrastructure. In other words, for example, the terminal device 100 and the printing device 200 do not need to be able to communicate with each other via an access point.
[0013] Each terminal device 100 is a terminal operated by a user, such as a PC (Personal Computer), a smartphone, or a tablet terminal. The terminal device 100 is preferably a mobile terminal that is easy for the user to carry, but may not be a mobile terminal. Among the terminal devices 100 included in the printing system 10, any one of the terminal devices 100 is a device that transmits image data to be printed to the printing device 200 and requests the printing device 200 to print the image data. In this embodiment, the terminal device 100A is the terminal device 100 that plays this role. In addition, the printing system 10 includes a terminal device 100 that is a distribution destination of the image data to be printed. According to this embodiment, the terminal devices 100B, 100C, and 100D are the terminal devices 100 that play this role.
[0014] In this embodiment, for example, the following situation is assumed. The user of the terminal device 100A prints image data held by the terminal device 100A using the printing device 200 for each user of the terminal devices 100B, 100C, and 100D. The users of the terminal devices 100B, 100C, and 100D also want to obtain the image data itself (i.e., image data that is electronic data) in addition to the printed matter 90 of the image data held by the terminal device 100A. Note that, for example, the above-mentioned image data is, for example, a photograph. Specifically, the above-mentioned image data may be a photograph taken by the terminal device 100A. Note that, the above-mentioned image data does not necessarily have to be a photograph. The user of the terminal device 100A may print image data using the printing device 200 not only for the users of the terminal devices 100B, 100C, and 100D, but also for himself. In this embodiment, a technique is provided that allows the distribution of the printed matter 90 and the distribution of image data even if a network infrastructure is not established.
[0015] In the printing system 10, the terminal device 100 and the printing device 200 communicate in accordance with the NAN standard. As described below, in this embodiment, the terminal device 100 and the printing device 200 establish a wireless communication connection in accordance with a connection sequence defined by the NAN standard. Although four terminal devices 100 are illustrated in FIG. 1 as an example, the number of terminal devices 100 that communicate with the printing device 200 in accordance with the NAN standard is arbitrary.
[0016] The specific configuration and processing of the printing system 10 will be described below. First, the terminal device 100 will be described. Fig. 2 is a block diagram showing an example of the configuration of the terminal device 100. As shown in Fig. 2, the terminal device 100 has a storage unit 110, a wireless communication unit 120, a display unit 130, an operation unit 140, an imaging unit 150, and a control unit 160.
[0017] The storage unit 110 is a storage device that stores a program for implementing the processing of the control unit 160 and data used in the processing of the terminal device 100. This storage device may be, for example, a non-volatile storage device such as a hard disk or a flash memory, and may include a memory such as a RAM (Random access Memory).
[0018] The wireless communication unit 120 is hardware that performs wireless communication. That is, the wireless communication unit 120 is a wireless communication interface. The wireless communication unit 120 may include a transmitting circuit, a receiving circuit, and an antenna.
[0019] The display unit 130 and the operation unit 140 are a user interface. The display unit 130 is configured with a display or the like that displays various information to the user. The operation unit 140 is configured with buttons or the like that accept input operations from the user. The display unit 130 and the operation unit 140 may be configured integrally with a touch panel or the like.
[0020] The imaging unit 150 is a camera equipped with an imaging element such as a CCD (Charge Coupled Device) sensor or a CMOS (Complementary Metal Oxide Semiconductor) sensor. In this embodiment, image data of a photograph taken by the imaging unit 150 and a printout thereof may be distributed to each user.
[0021] The control unit 160 is a processor such as a CPU (Central Processing Unit) that controls each component of the terminal device 100. The control unit 160 may have multiple processors. The control unit 160 loads a program into memory and executes the program. As a result, in this embodiment, the control unit 160 realizes the functions of a connection processing unit 161, an input receiving unit 162, a display control unit 163, and a print control unit 164.
[0022] The connection processing unit 161 searches for the printing device 200 according to the NAN standard, and establishes a wireless communication connection with the printing device 200 according to the NAN standard. Hereinafter, a wireless communication connection according to the NAN standard is also referred to as a NAN connection. Hereinafter, in this embodiment, a wireless communication connection according to the NAN standard is specifically a NAN data link. The process of the connection processing unit 161 for establishing a NAN connection (NAN data link) between the terminal device 100 and the printing device 200 will be described in detail later.
[0023] The input reception unit 162 receives instructions or information input by the user via the operation unit 140. In particular, the input reception unit 162 of the terminal device 100A receives instructions according to a print operation performed by the user via the operation unit 140. The instructions include an instruction to specify image data to be printed. The instructions may further include an instruction to specify print settings when printing the image data. Here, the print settings may be settings that specify the type of print medium to be used for printing, that is, the type of paper, or settings that specify the image quality of the print. The image quality here may mean the resolution, or may mean color or monochrome. Note that the print settings are not limited to these. The print settings may include settings that specify the number of copies of the image data to be printed. For example, the print settings may be settings that specify the size of the print medium (paper) to be used, settings that specify whether to print without leaving margins around the edges of the print medium (paper), settings that specify whether to print on both sides, and the like.
[0024] The display control unit 163 controls the display by the display unit 130. In particular, the display control unit 163 of the terminal device 100A displays a user interface screen for accepting a print operation.
[0025] The print control unit 164 performs a control process for causing the printing device 200 to execute printing. Note that it is sufficient that at least the terminal device 100A has the print control unit 164, and the other terminal devices 100B, 100C, and 100D do not necessarily have the print control unit 164. The print control unit 164 controls the printing device 200 to transmit image data to be printed and a print request for the image data using the wireless communication connection established by the connection processing unit 161, i.e., the NAN connection. Note that, when the instruction by the printing operation accepted by the input acceptance unit 162 includes an instruction to specify print settings in addition to the instruction to specify the image data to be printed, the print control unit 164 controls the printing device 200 to also transmit the instruction using the NAN connection. Note that, in the following description, information on the instruction to specify print settings is also referred to as print setting information.
[0026] Next, the printing device 200 will be described. Fig. 3 is a block diagram showing an example of the configuration of the printing device 200. As shown in Fig. 3, the printing device 200 has a storage unit 210, a wireless communication unit 220, a printing unit 230, and a control unit 240. Note that the printing device 200 may further include a user interface such as a touch panel display.
[0027] The storage unit 210 is a storage device that stores programs for implementing the processing of the control unit 240 and data used in the processing of the printing device 200. This storage device may be, for example, a non-volatile storage device such as a hard disk or a flash memory, and may include a memory such as a RAM.
[0028] The wireless communication unit 220 is hardware that performs wireless communication. That is, the wireless communication unit 220 is a wireless communication interface. The wireless communication unit 220 may include a transmitting circuit, a receiving circuit, and an antenna.
[0029] The printing unit 230 prints image data received from the terminal device 100. The printing unit 230 has a printing function for printing on a print medium such as paper. The printing unit 230 includes a print engine. The print engine is a mechanical configuration that prints an image on a print medium using color materials. The print engine may have a mechanism for printing using ink, for example, by an inkjet method. Alternatively, the print engine may have a mechanism for printing using toner, for example, by an electrophotographic method. The print engine may also have a transport mechanism for transporting the print medium.
[0030] The control unit 240 is a processor such as a CPU that controls each component of the printing device 200. The control unit 240 may have multiple processors. The control unit 240 loads a program into memory and executes the program. As a result, in this embodiment, the control unit 240 realizes the functions of a connection processing unit 241, a print information acquisition unit 242, a print processing unit 243, a distance information acquisition unit 244, and a transmission control unit 245.
[0031] The connection processing unit 241 performs processing to establish a NAN connection with the terminal device 100. The processing of the connection processing unit 241 for establishing a NAN connection between the terminal device 100 and the printing device 200 will be described in detail later.
[0032] The print information acquisition unit 242 acquires image data to be printed from one of the multiple terminal devices 100 using the NAN connection established by the connection processing unit 241. The print information acquisition unit 242 may further acquire print setting information specifying print settings when printing the image data, using the NAN connection. Note that, in the present embodiment, as described above, as an example, the terminal device 100 that transmits the image data to be printed and the print setting information for printing the image data is the terminal device 100A.
[0033] The print processing unit 243 performs a process for executing printing by the printing unit 230. Specifically, the print processing unit 243 executes printing of the image data acquired by the print information acquisition unit 242 using the printing unit 230. When the print information acquisition unit 242 acquires print setting information in addition to the image data, the print processing unit 243 controls the printing unit 230 to print the image data according to the setting specified in the print setting information. For example, the print processing unit 243 executes the print process so as to print the image data by the number of prints specified in the print setting information. Also, for example, when the print setting information includes information on the setting that specifies the type of print medium used for printing, the print processing unit 243 may execute the print process using a predetermined parameter according to the specified print medium in order to realize printing suitable for the specified print medium. Similarly, for example, when the print setting information includes information on the setting that specifies the image quality of the print, the print processing unit 243 may execute the print process using a predetermined parameter according to the specified image quality in order to realize printing with the specified image quality.
[0034] The distance information acquisition unit 244 acquires distance information indicating the distance from the printing device 200 for each of the terminal devices 100, measured according to the NAN standard. The NAN standard defines a technology in which a device constituting a NAN cluster, which will be described later, measures the distance from the other devices constituting the NAN cluster. This technology is also called Ranging. In Ranging, a specific frame is transmitted and received between devices constituting a NAN cluster, and the distance between the devices is calculated from the transmission and reception time of the specific frame. The distance information acquisition unit 244 acquires the distance between the terminal device 100 and the printing device 200 measured using this technology. The distance information acquisition unit 244 may acquire distance information indicating the distance measured by the printing device 200, or may acquire information indicating the distance measured by the terminal device 100 from the terminal device 100. In this embodiment, the distance information acquisition unit 244 acquires the distance measured according to the NAN standard, but may acquire a distance measured by another technology. At this time, the distance information acquired by distance information acquisition unit 244 may be information indicating a distance measured by printing device 200, or may be information indicating a distance received from another device.
[0035] When the image data is printed by the printing unit 230, the transmission control unit 245 controls the image data to be transmitted to one or more terminal devices 100 using the NAN connection. That is, the transmission control unit 245 performs processing to distribute the image data to be printed to the terminal devices 100 of each user. In this embodiment, the transmission control unit 245 determines the terminal device 100 to which the image data is to be transmitted based on the distance information acquired by the distance information acquisition unit 244. Specifically, the transmission control unit 245 determines the terminal device 100 whose distance from the printing device 200 is equal to or less than a predetermined threshold value (for example, 1 meter) as the destination of the image data. This makes it possible to transmit the image data only to the terminal device 100 of a user who approaches to pick up the printed matter 90 of the image data. Therefore, the image data can be transmitted only to the terminal device 100 of a user who wants to obtain the printed matter 90 and image data, and it is possible to prevent the image data from being erroneously transmitted to the terminal device 100 of a user other than the user who wants to obtain the printed matter 90 and image data. Note that, in this embodiment, the transmission control unit 245 uses the distance information as described above, but does not necessarily have to use the distance information. In this case, the printing device 200 does not need to have the distance information acquisition unit 244.
[0036] The transmission control unit 245 may also control not to transmit the image data to the terminal device 100 that is the transmission source of the image data to be printed. In other words, the transmission control unit 245 may control to transmit the image data only to the terminal device 100 other than the terminal device 100A. This is because the terminal device 100A already holds the image data. This control can prevent unnecessary transmission of image data. The transmission control unit 245 may determine whether each terminal device 100 connected via NAN is the terminal device 100 that is the transmission source of the image data to be printed by using, for example, the MAC (Media access Control) address of the terminal device 100. In this case, the print information acquisition unit 242 may store in the storage unit 210 the MAC address of the transmission source notified in the communication for receiving the image data to be printed from the terminal device 100A. Then, the transmission control unit 245 determines whether each terminal device 100 connected via the NAN matches the MAC address stored in the memory unit 210, thereby determining whether each terminal device 100 connected via the NAN is the terminal device 100 that sent the image data to be printed.
[0037] In addition, the transmission control unit 245 may control the transmission of image data to the terminal device 100 when the print setting information acquired by the print information acquisition unit 242 includes information specifying a predetermined print setting, and may control the transmission of image data to none of the terminal devices 100 when the print setting information does not include information specifying the predetermined print setting. This allows the transmission of image data only when the image data to be printed is data that is likely to need to be distributed to each user. For example, the transmission control unit 245 may control the transmission of image data to the terminal device 100 when the print setting information includes information instructing printing of the image data on a predetermined print medium, and may control the transmission of image data to none of the terminal devices 100 when the print setting information does not include information instructing printing of the image data on a predetermined print medium. Here, the predetermined print medium is, for example, a print medium suitable for printing photos, such as glossy paper. At a party venue, there is a need to distribute a group photo of people gathered at the venue as a printed matter as well as electronic data. In other words, when printing using a print medium suitable for printing photos, such as glossy paper, is specified for the image data, there is a high possibility that this image data needs to be distributed to each user. Therefore, by carrying out the above-mentioned control, image data can be transmitted only when distribution of the image data is necessary, thereby preventing unnecessary transmission of image data.
[0038] The predetermined print setting for determining whether the image data to be printed is a distribution target is not limited to the designation of the type of print medium. For example, the predetermined print setting may be a setting of image quality in printing. That is, the transmission control unit 245 may control so that the image data is transmitted to the terminal device 100 when the print setting information includes information instructing printing of the image data at a predetermined image quality, and the image data is not transmitted to any of the terminal devices 100 when the print setting information does not include information instructing printing of the image data at a predetermined image quality. Here, the printing of the image data at a predetermined image quality may be, for example, high-resolution printing (i.e., printing at a resolution higher than a predetermined standard) or printing at an image quality suitable for printing photographs, such as color printing. Note that the printing of the image data at a predetermined image quality may be either high-resolution printing or color printing, or both. Even when such control is performed, the same effect as that described above can be obtained.
[0039] Furthermore, the transmission control unit 245 may end the process of transmitting the image data to the terminal device 100 based on a comparison result between the number of copies of the image data printed by the printing unit 230 and the number of terminal devices 100 to which the image data was transmitted. For example, when the number of copies of the image data printed is N (where N is a natural number), the transmission control unit 245 may end the transmission of the image data when the transmission of the image data to N terminal devices 100 is completed. In this manner, the image data is transmitted to the number of terminal devices 100 corresponding to the number of users who will obtain the printed matter 90 of the image data, so that the transmission process of the image data can be appropriately ended. Note that, in the case where it is considered that the user of the terminal device 100 (terminal device 100A) that transmitted the image data to the printing device 200 will also obtain the printed matter 90, the transmission control unit 245 may perform the following control. In this case, for example, the transmission control unit 245 may end the transmission of the image data when the transmission of the image data to N-1 terminal devices 100 excluding the terminal device 100A that is the source of the image data is completed.
[0040] The number of terminal devices 100 to which the image data is to be transmitted may be specified by the user. That is, the transmission control unit 245 may end the process of transmitting the image data to the terminal devices 100 when the number of terminal devices 100 to which the image data has been transmitted reaches the number specified by the user. In this case, for example, the input reception unit 162 of the terminal device 100A may receive an instruction to further specify the number of terminal devices 100 to which the image data is to be transmitted as an instruction corresponding to the print operation. Then, the print control unit 164 may control to transmit the instruction to the printing device 200 using the NAN connection. Furthermore, when the number of print copies of the image data is 1, the transmission control unit 245 may control not to transmit the image data to any of the terminal devices 100. This is because when the number of print copies is 1, it is highly likely that the image data is not printed for distribution purposes.
[0041] Furthermore, the transmission control unit 245 may end the process of transmitting image data to the terminal device 100 when a predetermined time has elapsed since the image data was printed. Furthermore, the transmission control unit 245 may end the transmission process for old image data when the print information acquisition unit 242 acquires new image data to be printed. Note that these are merely examples of the conditions for ending the transmission process of image data, and the transmission control unit 245 may end the transmission of image data when any predetermined ending condition is satisfied.
[0042] Next, a detailed description will be given of the processing of the connection processing unit 161 and the connection processing unit 241 for establishing a NAN connection between the terminal device 100 and the printing device 200. To establish a NAN connection, the terminal device 100 and the printing device 200 first configure a NAN cluster. After that, the terminal device 100 and the printing device 200 build a NAN connection, i.e., a NAN data link.
[0043] In the NAN standard, a period called a discovery window (DW) is defined. The discovery window is a communication period that occurs intermittently mainly for devices to announce and search for services, and arrives at a predetermined cycle. A set of devices that share the discovery window is called a NAN cluster. A device that operates as a master transmits a discovery beacon to other devices that do not yet belong to the NAN cluster to make the other devices recognize the NAN cluster. In addition, the device that operates as a master transmits a synchronization beacon to synchronize each device with the discovery window. In this embodiment, the terminal device 100 may operate as the master, or the printing device 200 may operate as the master.
[0044] Each device in the NAN cluster can check the services provided by each device by sending and receiving signals within the discovery window. Specifically, within the discovery window, signals consisting of frames in a format called a Service Discovery Frame are transmitted.
[0045] A device that constitutes a NAN cluster can establish a data link that allows mutual communication with other devices that constitute the NAN cluster regardless of the DW period. In other words, a NAN connection can be established between devices that constitute a NAN cluster. In the NAN standard, the above-mentioned data link is called a NAN data link. In the following, the flow up to the NAN connection between the terminal device 100 and the printing device 200 in this embodiment will be described.
[0046] First, the terminal device 100 and the printing device 200 share a discovery window. To share the discovery window, either the terminal device 100 or the printing device 200 operates as a master. For example, when the terminal device 100 operates as a master, the connection processing unit 161 of the terminal device 100 performs processing to transmit a discovery beacon and a synchronization beacon from the terminal device 100.
[0047] When the terminal device 100 and the printing device 200 share a discovery window, the printing device 200 waits for an inquiry about a service to be broadcast. Then, the connection processing unit 161 of the terminal device 100 performs communication using the discovery window to search for the printing device 200, which is a device that provides a print service. Specifically, the connection processing unit 161 broadcasts an inquiry about a service by transmitting a signal using a discovery window defined in the NAN standard. That is, the connection processing unit 161 broadcasts an inquiry message to all other devices that constitute the NAN cluster. Note that this message is a message that uses a service discovery frame. In response to this, the connection processing unit 241 of the printing device 200 that receives this broadcast inquiry responds to this inquiry by transmitting a signal using a discovery window defined in the NAN standard. This allows the terminal device 100 to identify a device that can provide a print service. Thereafter, the connection processing unit 161 of the terminal device 100 and the connection processing unit 241 of the printing device 200 execute a process of establishing a NAN data link according to a connection procedure based on the NAN standard. In this manner, a NAN connection is established. In this embodiment, a NAN data link is established between devices belonging to the same NAN cluster. Therefore, the terminal device 100 that is the source of image data transmitted to the printing device 200 via the NAN connection, the printing device 200 that receives the image data and transmits the image data to another terminal device 100 via the NAN connection, and the terminal device 100 to which the image data is transmitted by the printing device 200 are devices belonging to the same NAN cluster. In other words, the transmission control unit 245 of the printing device 200 transmits image data to another terminal device 100 that belongs to the NAN cluster to which the terminal device 100 that is the source of the received image data belongs.
[0048] Next, the flow of operations of the printing system 10 according to the present embodiment will be described. FIG. 4 is a flowchart showing an example of the flow of operations of the printing system 10 according to the present embodiment. Note that the flowchart shown in FIG. 4 shows only one example of operations. Therefore, for example, the order of execution of each step can be changed as long as no technical contradiction occurs. Below, the flow of operations of the printing system 10 will be described with reference to FIG. 4.
[0049] In step S101, the connection processing unit 161 of each terminal device 100 searches for the printing device 200 by broadcasting an inquiry about the service according to the NAN standard. That is, the connection processing unit 161 searches for the printing device 200 by communicating using a discovery window. Note that at this time, the connection processing unit 161 may search only for the printing device 200 that can provide a printing service that satisfies specific conditions. Then, in step S102, the connection processing unit 161 of each terminal device 100 establishes a NAN connection with the printing device 200. In other words, the connection processing unit 241 of the printing device 200 establishes a NAN connection with each terminal device 100.
[0050] Next, in step S103, the input receiving unit 162 of the terminal device 100A receives a print operation performed by the user via the operation unit 140. Then, in step S104, the print control unit 164 of the terminal device 100A controls the transmission of image data to be printed, print setting information, and a print request for the image data to the printing device 200 using the NAN connection established in step S102. In response to this, the print information acquisition unit 242 of the printing device 200 acquires this information transmitted from the terminal device 100A. As a result, the image data and print setting information are transmitted from the terminal device 100A to the printing device 200 via the NAN connection.
[0051] Next, in step S105, the print processing unit 243 of the printing device 200 executes printing of the acquired image data in accordance with the acquired print setting information. As a result, the printing device 200 generates a printed matter 90.
[0052] Next, in step S106, the transmission control unit 245 of the printing device 200 determines whether the end condition of the process of transmitting the image data acquired in step S104 to the terminal device 100 is satisfied. For example, as described above, the transmission control unit 245 may determine that the end condition of the transmission process is satisfied when a comparison result between the number of copies of the printed matter 90 generated in step S105 and the number of terminal devices 100 to which the printing device 200 has transmitted image data satisfies a predetermined condition. In addition, the transmission control unit 245 may determine that the end condition of the transmission process is satisfied when a predetermined time has elapsed since the image data was printed, or when the print information acquisition unit 242 acquires new image data to be printed. If the end condition of the transmission process is satisfied (YES in step S106), the process ends. If not (NO in step S106), the process proceeds to step S107.
[0053] In step S107, the distance information acquisition unit 244 of the printing device 200 acquires the distance between each terminal device 100 with which a NAN connection was established in step S102 and the printing device 200. Then, in step S108, the transmission control unit 245 of the printing device 200 determines whether or not there is a terminal device 100 whose distance from the printing device 200 is equal to or less than a predetermined threshold. That is, the transmission control unit 245 determines whether or not there is a terminal device 100 approaching the printing device 200. If there is a terminal device 100 approaching the printing device 200 (YES in step S108), the process proceeds to step S109, and if there is no terminal device 100 approaching the printing device 200 (NO in step S108), the process returns to step S106.
[0054] In step S109, the transmission control unit 245 determines whether the image data acquired in step S104 has already been transmitted to the terminal device 100 determined in step S108 to have approached the printing device 200. If the image data has not yet been transmitted to the terminal device 100 (NO in step S109), the process proceeds to step S110, and if the image data has already been transmitted (YES in step S109), the process returns to step S106.
[0055] In step S110, the transmission control unit 245 determines whether the terminal device 100 determined in step S108 to have approached the printing device 200 is the terminal device 100 that transmitted the image data in step S104. If the terminal device 100 that has approached the printing device 200 is not the terminal device 100 that transmitted the image data (NO in step S110), the process proceeds to step S111, and if it is the terminal device 100 that transmitted the image data (YES in step S110), the process returns to step S106.
[0056] When the process proceeds to step S111, the transmission control unit 245 performs control so as to transmit the image data acquired in step S104 to the terminal device 100 determined in step S108 to be approaching the printing device 200, using the NAN connection.
[0057] The first embodiment has been described above. According to this embodiment, even if a network infrastructure environment such as an access point is not established, image data can be printed by using the printing device 200 connected to the terminal device 100 via a NAN connection. Image data to be printed can also be transmitted from the printing device 200 to one or more terminal devices 100 via the NAN connection. Therefore, according to this embodiment, a printout of image data and the image data can be distributed to the user, improving user convenience.
[0058] Next, a modified example of the above-mentioned embodiment will be described. The modified example differs from the above-mentioned embodiment in that image data is distributed only to users (terminal devices) belonging to a specified group. The printing system 10 according to the modified example includes a terminal device 101 described below instead of the above-mentioned terminal device 100, and includes a printing device 201 described below instead of the above-mentioned printing device 200.
[0059] Fig. 5 is a block diagram showing an example of the configuration of a terminal device 101 according to the modified example. Fig. 6 is a block diagram showing an example of the configuration of a printing device 201 according to the modified example. As shown in Fig. 5, the terminal device 101 differs from the terminal device 100 shown in Fig. 2 in that it further includes a group notification unit 165. As shown in Fig. 6, the printing device 201 differs from the printing device 200 shown in Fig. 3 in that it further includes a destination group acquisition unit 246 and a belonging group acquisition unit 247. Below, configurations and processes that differ from the above-mentioned embodiment will be described, and overlapping descriptions will be omitted as appropriate.
[0060] First, the terminal device 101 will be described. The group notification unit 165 controls the transmission of group information to the printing device 201 using the NAN connection established by the connection processing unit 161. Note that the group information refers to information including information for identifying a group. Here, the processing of the group notification unit 165 differs depending on whether the terminal device 101 is a device that transmits image data to be printed to the printing device 201, or a device that receives image data from the printing device 201.
[0061] The group notification unit 165 of the terminal device 101 that transmits image data to be printed to the printing device 201 controls the transmission of information (also referred to as first group information) specifying the group to which the image data is to be transmitted to the printing device 201 using the NAN connection. In this case, the input reception unit 162 may receive the first group information input by the user via the operation unit 140, and the group notification unit 165 may perform a process of transmitting the first group information. In such a configuration, the user of the terminal device 101 that transmits image data to be printed to the printing device 201 can specify a desired group as the group to which the image data is to be distributed. Note that the first group information does not necessarily have to be information received by the input reception unit 162. For example, predetermined first group information may be stored in advance in the storage unit 110.
[0062] In response to this, the group notification unit 165 of the terminal device 101 that receives image data to be printed from the printing device 201 controls the transmission of information indicating the group to which the user of the terminal device 101 belongs (also referred to as second group information) to the printing device 201 using the NAN connection. In this case, the input reception unit 162 may receive the second group information input by the user via the operation unit 140, and the group notification unit 165 may perform a process of transmitting this second group information. Note that the second group information does not necessarily have to be information received by the input reception unit 162. For example, the group notification unit 165 may read out the second group information previously stored in the storage unit 110, and perform a process of transmitting this second group information.
[0063] Next, the printing device 201 will be described. The destination group acquisition unit 246 acquires the above-mentioned first group information about the image data to be printed from the terminal device 101 that is the transmission source of the image data to be printed, using the NAN connection established by the connection processing unit 241. That is, the destination group acquisition unit 246 acquires the group information transmitted by the processing of the group notification unit 165 of the terminal device 101 that transmits the image data to be printed to the printing device 201.
[0064] Furthermore, the belonging group acquisition unit 247 acquires the above-mentioned second group information from each of the terminal devices 101 other than the terminal device 101 that is the source of the image data to be printed, using the NAN connection established by the connection processing unit 241. That is, the belonging group acquisition unit 247 acquires the group information transmitted by the processing of the group notification unit 165 of the terminal device 101 that receives the image data to be printed from the printing device 201.
[0065] Furthermore, the transmission control unit 245 according to this modification determines the terminal device 101 to which the image data is to be transmitted, based on a comparison result between the first group information acquired by the destination group acquisition unit 246 and the second group information of each terminal device 101 acquired by the belonging group acquisition unit 247. Specifically, the transmission control unit 245 determines, as the destination of the image data, the terminal device 101 whose group indicated by the second group information matches the group indicated by the first group information. That is, the transmission control unit 245 determines, as the destination of the image data, the terminal device 101 of a user who belongs to the group specified as the destination group.
[0066] Next, the flow of operation of the printing system 10 according to the modified example will be described. FIG. 7 is a flowchart showing an example of the flow of operation of the printing system 10 according to the modified example. The flowchart shown in FIG. 7 differs from the flowchart shown in FIG. 4 in that steps S201 and S202 are added. Note that the flowchart shown in FIG. 7 shows only one example of the operation. Therefore, for example, the order of execution of each step can be changed as long as no technical contradiction occurs.
[0067] In the flowchart shown in FIG. 7, after step S105, the process proceeds to step S201. In step S201, the terminal device 101 connected to the printing device 201 via NAN notifies the printing device 201 of the group. That is, the group notification unit 165 of the terminal device 101 that transmitted image data to the printing device 201 in step S104 controls the transmission of first group information specifying the group to which the image data is to be transmitted to the printing device 201 using the NAN connection. In addition, the group notification unit 165 of the other terminal device 101 controls the transmission of second group information indicating the group to which the user of the terminal device 101 belongs to the printing device 201 using the NAN connection. As a result, the destination group acquisition unit 246 of the printing device 201 acquires the first group information, and the belonging group acquisition unit 247 acquires the second group information. After step S201, the process proceeds to step S106.
[0068] Thereafter, the process proceeds to step S202 after the process of step S110 is performed. More specifically, if NO in step S110, the process proceeds to step S202. In step S202, the transmission control unit 245 of the printing device 201 determines whether the group of the terminal device 101 determined in step S108 to have approached the printing device 201 is the group designated as the destination group. That is, the transmission control unit 245 determines whether the group indicated by the second group information received from the terminal device 101 determined in step S108 to have approached the printing device 201 matches the group indicated by the first group information. If the group indicated by the second group information matches the group indicated by the first group information (YES in step S202), the process proceeds to step S111, and if they do not match (NO in step S202), the process returns to step S106.
[0069] The above describes a modification of the embodiment. According to this modification, image data can be distributed only to users who belong to a specific group, which improves convenience.
[0070] Although the embodiment and its modified examples have been described above, the present invention is not limited to the above embodiment and its modified examples, and can be modified as appropriate without departing from the spirit and scope of the present invention.
[0071] Also, in the above examples, the program includes a set of instructions (or software code) that, when loaded into a computer, causes the computer to perform one or more functions described in the embodiments. The program may be stored in a non-transitory computer-readable medium or a tangible storage medium. By way of example and not limitation, the computer-readable medium or tangible storage medium includes random-access memory (RAM), read-only memory (ROM), flash memory, solid-state drive (SSD) or other memory technology, CD-ROM, digital versatile disk (DVD), Blu-ray (registered trademark) disk or other optical disk storage, magnetic cassette, magnetic tape, magnetic disk storage or other magnetic storage device. The program may be transmitted on a transitory computer-readable medium or communication medium. By way of example and not limitation, the transitory computer-readable medium or communication medium includes electrical, optical, acoustic, or other forms of propagated signals.
[0072] A part or all of the above-described embodiments can be described as, but is not limited to, the following supplementary notes. (Appendix 1) a connection processing unit that establishes a wireless communication connection with a plurality of terminal devices in accordance with a Neighbor Awareness Network (NAN) standard; a print information acquisition unit that acquires image data of a print target from any one of the plurality of terminal devices using the wireless communication connection; a printing unit that prints the image data; a transmission control unit that controls, when the image data is printed, to transmit the image data to one or more of the terminal devices included in the plurality of terminal devices using the wireless communication connection; A printing device having the above configuration. (Appendix 2) a distance information acquisition unit that acquires distance information indicating a distance from the printing device to each of the plurality of terminal devices, the distance information being measured in accordance with the NAN standard; The transmission control unit determines the terminal device to which the image data is to be transmitted based on the distance information. 2. A printing device as described in claim 1. (Appendix 3) The transmission control unit controls so as not to transmit the image data to the terminal device that is a source of the image data. 3. A printing device according to claim 1 or 2. (Appendix 4) The terminal device which is the transmission source of the image data, the terminal device which is the transmission destination of the image data, and the printing device are devices which belong to the same NAN cluster. 4. A printing device according to any one of claims 1 to 3. (Appendix 5) the print information acquisition unit further acquires print setting information specifying print settings when the image data is printed, using the wireless communication connection; The transmission control unit does not transmit the image data to any of the plurality of terminal devices when the print setting information does not include information for designating a predetermined print setting. 5. A printing device according to any one of claims 1 to 4. (Appendix 6) The transmission control unit does not transmit the image data to any of the plurality of terminal devices when the print setting information does not include information instructing printing of the image data on a predetermined print medium. 6. A printing device as described in claim 5. (Appendix 7) The transmission control unit does not transmit the image data to any of the plurality of terminal devices when the print setting information does not include information instructing printing of the image data with a predetermined image quality. 6. A printing device as described in claim 5. (Appendix 8) The transmission control unit ends transmission of the image data based on a result of comparing the number of copies of the image data printed by the printing unit with the number of the terminal devices to which the image data has been transmitted. 8. A printing device according to any one of claims 1 to 7. (Appendix 9) a destination group acquisition unit that acquires, from the terminal device that is a source of the image data, first group information that specifies a group to which the image data is to be sent, using the wireless communication connection; a belonging group acquisition unit that acquires, by using the wireless communication connection, second group information indicating a group to which a user of a terminal device other than the terminal device that is a source of the image data among the plurality of terminal devices belongs; and The transmission control unit determines the terminal device as a destination of the image data based on a comparison result between the first group information and the second group information. 9. A printing device according to any one of claims 1 to 8. (Appendix 10) Establishing wireless communication connections with multiple terminal devices in accordance with the NAN standard, acquiring image data to be printed from any one of the plurality of terminal devices using the wireless communication connection; Printing the image data; When the image data is printed, control is performed so that the image data is transmitted to one or more of the terminal devices included in the plurality of terminal devices using the wireless communication connection. A method for controlling a printing device. (Appendix 11) A connection processing step of establishing wireless communication connections with a plurality of terminal devices according to the NAN standard; a print information acquisition step of acquiring image data to be printed from any one of the plurality of terminal devices using the wireless communication connection; a print processing step for performing a process for printing the image data; a transmission control step of controlling, when the image data is printed, to transmit the image data to one or more of the terminal devices included in the plurality of terminal devices using the wireless communication connection; A program that causes a computer to execute the following. [Explanation of symbols]
[0073] 10...printing system, 90...printed matter, 100...terminal device, 101...terminal device, 110...storage unit, 120...wireless communication unit, 130...display unit, 140...operation unit, 150...imaging unit, 160...control unit, 161...connection processing unit, 162...input reception unit, 163...display control unit, 164...print control unit, 165...group notification unit, 200...printing device, 201...printing device, 210...storage unit, 220...wireless communication unit, 230...printing unit, 240...control unit, 241...connection processing unit, 242...printing information acquisition unit, 243...print processing unit, 244...distance information acquisition unit, 245...transmission control unit, 246...destination group acquisition unit, 247...affiliated group acquisition unit
Claims
1. A connection processing unit that establishes a wireless communication connection with a plurality of terminal devices in accordance with a Neighbor Awareness Network (NAN) standard; a print information acquisition unit that acquires image data of a print target from any one of the plurality of terminal devices using the wireless communication connection; a printing unit that prints the image data; a transmission control unit that controls, when the image data is printed, to transmit the image data to one or more of the terminal devices included in the plurality of terminal devices using the wireless communication connection; A printing device having the above configuration.
2. a distance information acquisition unit that acquires distance information indicating a distance from the printing device to each of the plurality of terminal devices, the distance information being measured in accordance with the NAN standard; The transmission control unit determines the terminal device to which the image data is to be transmitted based on the distance information. The printing device of claim 1 .
3. The transmission control unit controls so as not to transmit the image data to the terminal device that is a source of the image data.
3. The printing device according to claim 1 or 2.
4. The terminal device which is the transmission source of the image data, the terminal device which is the transmission destination of the image data, and the printing device are devices which belong to the same NAN cluster. The printing device of claim 1 .
5. the print information acquisition unit further acquires print setting information specifying print settings when the image data is printed, using the wireless communication connection; The transmission control unit does not transmit the image data to any of the plurality of terminal devices when the print setting information does not include information for designating a predetermined print setting. The printing device of claim 1 .
6. The transmission control unit does not transmit the image data to any of the plurality of terminal devices when the print setting information does not include information instructing printing of the image data on a predetermined print medium. The printing device according to claim 5 .
7. The transmission control unit does not transmit the image data to any of the plurality of terminal devices when the print setting information does not include information instructing printing of the image data with a predetermined image quality. The printing device according to claim 5 .
8. The transmission control unit ends transmission of the image data based on a result of comparing the number of copies of the image data printed by the printing unit with the number of the terminal devices to which the image data has been transmitted. The printing device of claim 1 .
9. a destination group acquisition unit that acquires, by using the wireless communication connection, first group information from the terminal device that is a source of the image data, the first group information designating a group to which the image data is to be transmitted; a group acquisition unit that acquires, by using the wireless communication connection, second group information indicating a group to which a user of a terminal device belongs from a terminal device other than the terminal device that is a source of the image data among the plurality of terminal devices; and The transmission control unit determines the terminal device as a destination of the image data based on a comparison result between the first group information and the second group information. The printing device of claim 1 .
10. Establishing wireless communication connections with a plurality of terminal devices in accordance with the NAN standard; acquiring image data to be printed from any one of the plurality of terminal devices using the wireless communication connection; Printing the image data; When the image data is printed, control is performed so that the image data is transmitted to one or more of the terminal devices included in the plurality of terminal devices using the wireless communication connection. A method for controlling a printing device.
11. A connection processing step of establishing wireless communication connections with a plurality of terminal devices according to the NAN standard; a print information acquisition step of acquiring image data to be printed from any one of the plurality of terminal devices using the wireless communication connection; a print processing step for performing a process for printing the image data; a transmission control step of controlling, when the image data is printed, to transmit the image data to one or more of the terminal devices included in the plurality of terminal devices using the wireless communication connection; A program that causes a computer to execute the following.
Citation Information
Patent Citations
Communication device, control method, and program
JP2019134322A
