JP6294795B2 - Application program - Google Patents

Application program Download PDF

Info

Publication number
JP6294795B2
JP6294795B2 JP2014174953A JP2014174953A JP6294795B2 JP 6294795 B2 JP6294795 B2 JP 6294795B2 JP 2014174953 A JP2014174953 A JP 2014174953A JP 2014174953 A JP2014174953 A JP 2014174953A JP 6294795 B2 JP6294795 B2 JP 6294795B2
Authority
JP
Japan
Prior art keywords
application program
information processing
portable information
processing terminal
camera
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
JP2014174953A
Other languages
Japanese (ja)
Other versions
JP2016050692A (en
Inventor
田中 良彦
良彦 田中
Original Assignee
株式会社ガスター
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 株式会社ガスター filed Critical 株式会社ガスター
Priority to JP2014174953A priority Critical patent/JP6294795B2/en
Publication of JP2016050692A publication Critical patent/JP2016050692A/en
Application granted granted Critical
Publication of JP6294795B2 publication Critical patent/JP6294795B2/en
Application status is Active legal-status Critical
Anticipated expiration legal-status Critical

Links

Images

Description

  The present invention relates to an application program that causes a portable information processing terminal to function as a remote controller for a bath water heater.

  A hot water heater equipped with a camera in the remote controller (hereinafter abbreviated as "remote controller") for bath water heaters, which monitors whether people in the bathroom have fallen down due to their condition. An apparatus has been proposed (see, for example, Patent Document 1). In this hot water supply apparatus, privacy is protected by applying mosaic or blur to the image when displaying the state of the bathroom in which the camera is photographed on a monitor installed in a kitchen or the like.

  By the way, portable information processing terminals such as tablet terminals and smartphones are widely used, and a user can enjoy browsing the Internet with a tablet terminal brought into the bathroom.

JP2013-134001A

  Install an application program for bath water heater (hereinafter abbreviated as bath water heater app) on a waterproof portable information processing terminal already owned by the user, and use the portable information processing terminal as a remote controller for the bath water heater This eliminates the need for a dedicated remote controller and can reduce the introduction cost of the bath water heater.

  However, since many portable information processing terminals are equipped with a camera, it is desirable to take measures so that the camera is activated in the bathroom and the unseen figure is not taken against the user's will.

  For example, recent portable information processing terminals can start other application programs while running an active application program in the background, so that the user can use other hot water heater apps in the background as other applications. When the program is started, the application program causes the camera to operate, and there is a possibility that an unseen figure will be shot against the user's will.

  For example, there is a so-called mirror app that can display and enlarge your face. An application program that uses and operates the camera device of a portable information processing terminal, such as a mirror application, to check for acne while taking a bath or to enlarge and display the "eye" part to correct the contact gap. Is routinely used. However, many of these mirror apps are often accompanied by shooting with a timer function so that the back hair can be confirmed, for example. For this reason, when the portable information processing terminal is placed on the edge of the bathtub while the shooting timer is inadvertently activated, the lower body may be shot regardless of the intention of the person.

  Furthermore, when a malicious application program is installed, there is a risk that the bathing situation may be seen from the outside. This is because, when an application program for a bath water heater is activated, it is almost certainly bathing, and if a malicious application program is activated in accordance with this activation, it is almost certainly voyeurized. For this reason, an application program for a bath water heater is desired to have a function of eliminating the fear that such an unsightly picture is taken against the user's will.

  The present invention is an application program for causing the portable information processing terminal to function as a remote controller for a bath water heater, in which the camera device of the portable information processing terminal is installed in the bathroom by the user. An object of the present invention is to provide an application program that can prevent an unexpected operation.

  The gist of the present invention for achieving the object lies in the inventions of the following items.

[1] A portable information processing terminal equipped with a camera functions as a bath water heater remote controller having a function of receiving instructions regarding the operation of a bath water heater from a user and a function of displaying the operating state of the bath water heater Application program
The portable information processing terminal;
It is determined whether or not the portable information processing terminal in which the application program is operating is in the bathroom. If the portable information processing terminal is in the bathroom, the application program acquires the exclusive right to use the camera, and then the application An application program that causes the application program to continue to capture exclusive use rights of the camera even when the program shifts to the background.

  In the above invention, when the portable information processing terminal that is operating the portable information processing terminal as a remote controller for the bath water heater is in the bathroom, the application program captures the exclusive right to use the camera. This prohibits the use of the camera by other application programs.

[2] The application program according to [1], wherein the application program does not use the camera that has acquired the exclusive use right.

  In the above invention, the application program acquires and captures the exclusive use right of the camera, but does not use the camera.

[3] The portable information processing terminal includes a posture detection function for detecting a posture of the terminal,
The portable information processing terminal;
[1] or [2], wherein the portable information processing terminal is determined to be in a bathroom when the portable information processing terminal is in a landscape orientation while the application program is running. ] The application program described in the above.

  In the above invention, when the portable information processing terminal 10 is used in the bathroom, it is often leaned against the edge of the bathtub in a horizontally long posture, so it is determined whether or not the portable information processing terminal 10 is in the bathroom based on whether it is in the horizontally long posture. To do.

[4] The portable information processing terminal is
Whether or not to release the exclusive use right of the camera when the portable information processing terminal is in a vertically long posture when the application program captures the exclusive use right of the camera. If the release instruction is not received, the exclusive use right of the camera is continuously captured, and if the release instruction is received, the exclusive use right of the camera is released. The application program according to [3], which is characterized.

  In the above invention, even if the camera is returned to a vertically long posture, the exclusive use right of the camera is not released immediately, the user is asked whether or not the exclusive use right of the camera can be released, and the user permits Only if you release the exclusive right to use the camera.

[5] The portable information processing terminal is
Whether the exclusive use right of the camera is released when another application program requests acquisition of the exclusive use right of the camera while the application program acquires the exclusive use right of the camera The user is inquired whether or not, and if the release instruction is not received, the exclusive use right of the camera is continuously captured, and if the release instruction is received, the exclusive use right of the camera is released. The application program according to any one of [1] to [4], wherein the application program is operated.

  In the above invention, when another application program requests the exclusive use right of the camera, the user is inquired whether or not the exclusive use right of the camera may be released, and only when the user permits it, Release exclusive use rights. Thus, if the user permits, other applications can use the camera.

[6] The portable information processing terminal is
Any one of [1] to [5], wherein when the application program fails to acquire the exclusive use right of the camera, a predetermined warning is given to the user. Application program described in one.

  In the above invention, when the application program cannot acquire the exclusive use right of the camera (for example, when another application program has acquired the exclusive use right of the camera), the camera is captured for the user. Warning that it was not possible.

[7] The portable information processing terminal is
The application program according to [6], wherein the application program is operated such that the application program is forcibly terminated after the warning is performed.

  In the above invention, when another application program captures the camera, the application program that causes the portable information processing terminal to function as a remote controller for the bath water heater is forcibly terminated.

[8] The application program according to any one of [1] to [7], wherein the acquisition target is an exclusive use right of all cameras included in the portable information processing terminal.

  In the above-described invention, when the portable information processing terminal includes a plurality of cameras, for example, when the portable information processing terminal has cameras on the front and the back, respectively, the exclusive use right is acquired and captured for all the cameras.

  According to an application program for causing a portable information processing terminal equipped with a camera to function as a remote controller for a bath water heater according to the present invention, the camera of the portable information processing terminal operates in the bathroom against the will of the user. Can be prevented.

It is a figure which shows the structural example of the bath hot-water supply system containing the portable information processing terminal and the bath water heater in which the application program which concerns on embodiment of this invention was installed. It is a block diagram which shows schematic structure of the portable information processing terminal in which the application program which concerns on embodiment of this invention was installed. It is a flowchart which shows the outline of the application program which concerns on embodiment of this invention. It is a flowchart which shows a camera acquisition monitoring process. It is a flowchart which shows a camera release monitoring process.

  Hereinafter, embodiments of the present invention will be described with reference to the drawings.

  FIG. 1 shows a configuration example of a bath water heater system 4 according to an embodiment of the present invention. The bath water heater system 4 includes a bath water heater 5 and a portable information processing terminal 10 such as a tablet terminal or a smartphone. The portable information processing terminal 10 is installed with an application program (abbreviated as a bath water heater app) for causing the portable information processing terminal 10 to function as a remote controller of the bath water heater 5.

  The bath water heater 5 has a function of heating the water supply and discharging it to a predetermined tap 3, a function of pouring (filling) the bathtub 2, and a function of chasing hot water in the bathtub 2.

  The bath water heater 5 and the portable information processing terminal 10 are connected by wireless communication by wireless LAN (Local Area Network) or short-range wireless communication, and exchange various information. For example, the gateway address of the water heater 5 (the LAN address of the wireless LAN router 6) and the gateway address of the bath water heater remote controller 10 are matched (the bath water heater 5 and the bath water heater remote controller 10 are connected to the home network). . Thereby, the bath water heater 5 and the bath water heater remote controller 10 communicate with each other through the wireless LAN via the wireless router 6.

  The portable information processing terminal 10 functions as a remote controller for the bath water heater 5 by using the bath water heater application. That is, the function which receives the instruction | indication regarding the driving | operation of the bath water heater 5 from a user, the function which displays the operating state of the bath water heater 5, etc. are fulfilled. For example, setting of hot water supply temperature, setting of bath temperature, reservation setting of time for automatic hot water filling in the bath, automatic operation of the bath (the function of pouring hot water into the bathtub 2 and keeping it at the set temperature of the bath), etc. Or receive information about these and error information.

  The portable information processing terminal 10 that functions as a remote controller for the bath water heater 5 transmits settings and instructions received from the user to the bath water heater 5. In addition, various information is received from the bath water heater 5 and displayed.

  FIG. 2 shows the configuration of the portable information processing terminal 10. The portable information processing terminal 10 includes a CPU (Central Processing Unit) 11 as a control unit that performs overall control of the operation of the portable information processing terminal 10. The CPU 11 includes a ROM (Read Only Memory) 12, a RAM (Random Access Memory) 13, a nonvolatile memory 14, an operation unit 15, a display unit 16, a communication unit 17, a posture detection unit 18, an audio output unit 19, and a camera (camera device). ) 21 etc. are connected.

  The ROM 12 stores various types of fixed data. The nonvolatile memory 14 is a rewritable memory that retains stored contents even when the power is turned off, and stores an OS (Operating System) program, various application programs including a bath water heater application, various setting contents, and the like. The

  When the CPU 11 executes the bath water heater application stored in the nonvolatile memory 14, the portable information processing terminal 10 functions as a remote controller for the bath water heater 5. The RAM 13 is used as a work memory for temporarily storing various data and a memory for temporarily storing display data when the CPU 11 executes an application program.

  The display unit 16 includes a liquid crystal display that can display arbitrary contents such as an operation screen and a setting screen. The operation unit 15 has a function of accepting various operations from the user. The operation unit 15 is provided on the screen of the display unit 16, and includes a touch panel 15a that detects a position pressed by a finger, a pen, or the like, and a small number of hard keys.

  The communication unit 17 fulfills a function of communicating with the bath water heater 5 and other external devices by wireless LAN or near field communication.

  The posture detection unit 18 detects the posture of the portable information processing terminal 10 using a gyro. The posture detection unit 18 detects whether the portable information processing terminal 10 is used in a portrait orientation or a landscape orientation.

  The audio output unit 19 includes an amplifier and a speaker, and converts an electric audio signal into a sound wave and outputs the sound wave.

  The camera device 21 is provided on the back surface of the portable information processing terminal 10 or on the back surface and the front surface.

  When an application program (more specifically, an instance (entity) of the application program) requests exclusive use rights of the camera device 21 from the OS and uses the camera device 21, the application program can acquire the exclusive use right. The camera device 21 can be used. When ending use of the camera, the application program notifies the OS of the release of the camera (return of exclusive use right). When there are a plurality of camera devices 21, exclusive use rights are managed individually for each camera device 21. The exclusive use right of the camera is managed using, for example, a semaphore.

  Next, operation | movement of the portable information processing terminal 10 which operated the bath water heater application is demonstrated.

  The bath water heater app determines whether or not the portable information processing terminal 10 in which the bath water heater app is operating is used in the bathroom, and if it is determined that the portable information processing terminal 10 is used in the bathroom, Acquire exclusive use rights. After that, the exclusive use right of the camera device 21 is continuously captured even when the bath water heater application is in the background.

  Usually, the application program releases the exclusive use right of the camera device 21 acquired during operation in the foreground when the application program shifts to the background. As a result, the camera device 21 can be subsequently used by another application program operating in the foreground.

  On the other hand, the bath water heater app continues to capture the exclusive use right of the camera device 21 even when the bath water heater app is in the background (the camera device in “AndroidManifest.xml” in the root directory of the application). Do not use, but set access rights to use the camera device).

  The bath water heater application acquires the exclusive right to use the camera device 21, but does not use the camera device 21. Further, by continuing to capture the exclusive use right of the camera device 21, the use of the camera device 21 by another application program is prevented. Thereby, when the portable information processing terminal 10 is used in a bathroom as a remote controller for a bath water heater, the camera device 21 operates erroneously or operates maliciously, and the unrequited appearance is intended by the user. On the other hand, it is possible to prevent photographing.

  The bath water heater app determines that the portable information processing terminal 10 is being used in the bathroom when the bath water heater app is in operation and the portable information processing terminal 10 is in a landscape orientation (orientation). The reason is as follows.

  In addition, it may be only when the bath water heater app is in the foreground, or may include a period in the background. That is, when the bath water heater app is in the foreground and the portable information processing terminal 10 is in a landscape orientation, it is determined that the portable information processing terminal 10 is in the bathroom and the exclusive use right of the camera device 21 is acquired. Or, regardless of whether the bath water heater app is in the foreground or the background, the portable information processing terminal 10 is portable when the portable information processing terminal 10 is in a landscape orientation while the bath water heater app is running. The exclusive information processing terminal 10 may be determined to be in the bathroom and the exclusive use right of the camera device 21 may be acquired.

  The remote controller of the bath water heater 5 is used not only in a bathroom but also in a kitchen, for example. When the user uses the portable information processing terminal 10 as a remote controller for the bath water heater 5 in the bathroom, the portable information processing terminal 10 is held in the hand while the operation such as changing the set temperature is performed, but is not operated. In some cases, the portable information processing terminal 10 is stood and used somewhere. In particular, while bathing in a bathtub, it is used by standing against the edge of the bathtub, or a part of the bathtub is closed with a lid, and the portable information processing terminal 10 is placed on the lid for use.

  The floor area that can be allocated to a bathroom is narrow due to housing circumstances, and the edge of the bathtub is narrowed in the narrow bathroom in order to increase the capacity of the bathtub as much as possible. Therefore, when the portable information processing terminal 10 is stood and used in a portrait orientation on the edge of the bathtub, there is a possibility that the portable information processing terminal 10 slips from the edge of the bathtub and is submerged compared to the case of leaning in the landscape orientation. high.

  Further, when the portable information processing terminal 10 is placed on the lid of the bathtub and used, there is a high possibility that a leg or the like is hooked on the lid, and at that time, the portable information processing terminal 10 placed on the lid is used. Will be submerged in the bathtub.

  Even if it is said to be waterproof, the waterproof performance of the portable information processing terminal 10 is not so high, so if it falls into a deep bathtub and is submerged, it will be submerged. Therefore, many users use the portable information processing terminal 10 brought into the bathroom in a landscape orientation, leaning against the edge of the bathtub.

  Therefore, in the bath water heater app according to the present embodiment, the portable information processing terminal 10 is used in a bathroom when the portable information processing terminal 10 in which the bath water heater app is operating is in a landscape orientation. The exclusive use right of the camera device 21 is acquired and captured. If there are a plurality of camera devices 21, exclusive use rights are acquired and captured for all of them.

  In addition, for example, when the portable information processing terminal 10 in which the bath water heater application is operating is in a landscape orientation, whether or not the portable information processing terminal 10 is used in the bathroom, or the camera device 21 is used. It asks the user whether or not to prohibit, and when it receives a reply that it is used in the bathroom or the camera device 21 is prohibited, it operates to acquire the exclusive right to use the camera device 21. Also good.

  Further, when the bath water heater application tries to acquire the exclusive use right of the camera device 21, another application program has already acquired the exclusive use right of the camera device 21, and the exclusive use of the camera device 21 is obtained. If the right cannot be acquired, whether or not the bath water heater app is forcibly terminated, or the exclusive use right of the camera device 21 cannot be acquired (that is, the use of the camera device 21 cannot be prohibited). When the user approves, the operation of the bath water heater app is continued, and when not approved, the bath water heater app is forcibly terminated.

  The bath water heater application does not immediately release the acquired exclusive use right even if the portable information processing terminal 10 is placed in a vertically long posture (orientation). When starting another application, such as when using the portable information processing terminal 10 for the Internet, the user operates the portable information processing terminal 10 while holding it in a portrait orientation. For this reason, when the exclusive use right of the camera device 21 is released immediately when the camera device 21 is in the portrait orientation, other applications are exclusive of the camera device 21 even though the portable information processing terminal 10 is in the bathroom. There is a risk of obtaining usage rights.

  Therefore, the bath water heater app does not immediately release the exclusive use right of the camera device 21 even if the portable information processing terminal 10 is placed in a vertically long posture while the exclusive use right of the camera device 21 is captured. The bath water heater app is set in the foreground, and the user is inquired whether or not the exclusive use right of the camera device 21 may be released. If the release permission is not received, the camera device 21 is continuously captured. When the release permission is received, the exclusive use right of the camera device 21 is released.

  For example, the mirror app is overwhelmingly used in a vertically long posture. This is because the human face is vertically long, and the portable information processing terminal is held with one hand while the other hand is required to touch the mole, hair, and contact lens. Is done. If the mirror app starts before the bath water heater app asks whether the exclusive use right of the camera device 21 may be released, the mirror app fails to connect the camera device. Although a connection failure message is displayed, an inquiry as to whether or not the exclusive use right of the camera device 21 may be released from the bath water heater app is made immediately thereafter. Can prevent misunderstanding.

  Even when the set temperature of the bath or the hot water supply temperature (shower temperature) is changed, the user operates the portable information processing terminal 10 in the portrait orientation and holds it in his / her hand. If the operation for the bath water heater app is changed within a certain time (for example, 3 seconds) from the first time, or if the bath water heater app is changed from the background to the foreground, the above inquiry is not performed and the camera device 21 Continue to capture. When the portable information processing terminal 10 does not receive an operation on the bath water heater app even after a certain period of time has elapsed since the portable information processing terminal 10 is in the portrait orientation, the above-described inquiry is performed. Thus, an inquiry is made only when necessary, and the operability is improved.

  The bath water heater application also allows the user to use the exclusive use right of the camera device 21 even when another application requests the exclusive use right of the camera device 21 while the exclusive use right of the camera device 21 is captured. The camera device 21 continues to be captured if the release permission is not received, and the exclusive use right of the camera device 21 is released if the release permission is received.

  For example, the above-described inquiry is performed when another application started when the bath water heater application is in the background requests the exclusive use right of the camera device 21.

  When the user's permission is received, the use of the camera device 21 by another application is not contrary to the intention of the user, and there is no problem even if another application program is operated while the camera device 21 is used. .

  In addition, the bath water heater app checks whether or not the exclusive use right of the camera device 21 has been captured when the bath water heater app is terminated. Release public use rights.

  FIG. 3 is a flowchart showing a schematic processing procedure of the bath water heater application. The bath water heater application alternately performs processing as a remote controller of the bath water heater 5 and processing regarding acquisition / release of the exclusive use right of the camera device 21. First, processing for one unit as a remote controller of the bath water heater 5 is executed (step S101). For example, operation detection or display update is performed.

  Next, it is determined whether or not the bath water heater app is capturing the exclusive use right of the camera device 21, and if the exclusive use right of the camera device 21 is not captured (step S102; No), the camera device The camera acquisition monitoring process for acquiring the exclusive use right of the camera device 21 is performed according to the determination of whether to acquire the exclusive use right of 21 and the result of the determination (step S103), and the process proceeds to step S105 To do.

  When the exclusive use right of the camera device 21 is captured (step S102; Yes), it is determined whether or not the exclusive use right of the camera device 21 is to be released, and the camera device 21 is in accordance with the result of the determination. A camera release monitoring process for releasing the exclusive use right is performed (step S104), and the process proceeds to step S105.

  In step S105, it is determined whether an instruction to end the bath water heater application or a forced end instruction to be described later has been received. If neither an end instruction nor a forced end instruction has been received (step S105; No), the process returns to step S101 and continues.

  If an end instruction or a forced end instruction is received (step S105; Yes), it is checked whether or not the bath water heater app has captured the exclusive use right of the camera device 21 (step S106). When the exclusive use right of the camera device 21 is not captured (step S106; No), the bath water heater application is terminated, and when the exclusive use right of the camera device 21 is captured (step S106; Yes) After releasing the exclusive use right of the camera device 21 (step S107), the bath water heater application is terminated.

  FIG. 4 is a flowchart showing details of the camera acquisition monitoring process (step S103 in FIG. 3). It is determined whether or not the portable information processing terminal 10 has changed to a landscape orientation (step S201). When the posture does not change to the landscape orientation (step S201; No), this processing ends (return).

  When the posture is changed to the landscape orientation (step S201; Yes), the OS is requested to acquire the exclusive use right of the camera device 21 (step S202). If acquisition of the exclusive use right of the camera device 21 has failed (step S203; No), a predetermined warning is displayed, and a forced termination instruction of the bath water heater app is returned as a return value (step S204). Is terminated (return).

  For example, “Because another application program is using the camera device 21, the bath water heater application is forcibly terminated.” “After terminating other application programs that are using the camera device 21, again, Please start the bath water heater app. "

  Note that if the user approves the use of the camera device 21 by another application program by inquiring the user whether or not the other application program may remain in the state of using the camera device 21, The operation of the bath water heater app may be continued without obtaining the exclusive use right, and the bath water heater app may be forcibly terminated if the user does not approve the use of the camera device 21 by another application program. .

  When acquisition of the exclusive use right of the camera device 21 is successful (step S203; Yes), the capture of the exclusive use right of the camera device 21 is continued even when the bath water heater app is in the background. (Step S205), the process ends (return). Specifically, when shifting to the background, the release of the exclusive use right of the camera device 21 is not notified to the OS.

  FIG. 5 is a flowchart showing details of the camera release monitoring process (step S104 in FIG. 3). It is determined whether or not the portable information processing terminal 10 has changed to a vertically long posture (step S301). When the portable information processing terminal 10 changes to a vertically long posture (step S301; Yes), the user is inquired whether to release the exclusive use right of the camera device 21 (step S303).

  Here, if the user receives an operation on the bath water heater app from when the user changes to a vertically long posture until a predetermined time elapses, the process ends, and if no operation is received, the above inquiry is made. I do. For example, a message such as “Currently prohibiting the use of the camera. Do you want to cancel the prohibition of the use of the camera” and a selection button for canceling / not canceling are displayed, and an operation on the selection button is received.

  When receiving a reply from the user to release the exclusive use right of the camera device 21 (step S304; Yes), the exclusive use right of the camera device 21 is released (step S305), and this process ends. (return).

  If the reply to release the exclusive use right of the camera device 21 is not received (step S304; No), this process is terminated without releasing the exclusive use right of the camera device 21 (return).

  If the posture has not changed to the vertically long posture (step S301; No), it is checked whether another application program requests the exclusive use right of the camera device 21 (step S302).

  If another application program requests the exclusive use right of the camera device 21 (step S302; Yes), the process proceeds to step S303. If another application program does not request the exclusive use right of the camera device 21 (step S302; No), this process is terminated (return).

  The embodiment of the present invention has been described with reference to the drawings. However, the specific configuration is not limited to that shown in the embodiment, and there are changes and additions within the scope of the present invention. Are also included in the present invention.

  In the embodiment, it is determined that the portable information processing terminal 10 is in the bathroom when the portable information processing terminal 10 is in the landscape orientation while the bath water heater application is in operation. It is not limited to. For example, a bathroom in-use button may be provided, and when this button is selected, it may be determined that the portable information processing terminal 10 is being used in the bathroom. Moreover, you may determine whether the portable information processing terminal 10 exists in a bathroom by analyzing the image which the camera device 21 image | photographed. In this case, the camera device 21 is used only for this determination and not used for others.

  Further, whether or not the bath is in automatic operation may be further added to the determination element. For example, it may be determined that the portable information processing terminal 10 is in the bathroom when the bath water heater application is in operation, the bath is in automatic operation, and the portable information processing terminal 10 is in a landscape orientation. . Further, the exclusive use right of the camera device 21 being captured may be released when the automatic bath operation is turned off.

  The flowchart shown in the embodiment (program configuration) is merely an example, and other processing procedures may be used as long as the function as a bath water heater application is realized. For example, when a predetermined interrupt process is activated when another application program requests acquisition of a camera while in the background, the processes of steps S303 to S305 are performed in the interrupt process. You may comprise.

2 ... Bathtub 3 ... Hot water tap 4 ... Bath water heater system 5 ... Bath water heater 10 ... Portable information processing terminal 11 ... CPU
12 ... ROM
13 ... RAM
DESCRIPTION OF SYMBOLS 14 ... Nonvolatile memory 15 ... Operation part 15a ... Touch panel 16 ... Display part 17 ... Communication part 18 ... Attitude detection part 19 ... Audio | voice output part 21 ... Camera

Claims (8)

  1. Application program for causing a portable information processing terminal equipped with a camera to function as a bath water heater remote controller having a function of receiving instructions regarding the operation of a bath water heater from a user and a function of displaying the operating state of the bath water heater Because
    The portable information processing terminal;
    It is determined whether or not the portable information processing terminal in which the application program is operating is in the bathroom. If the portable information processing terminal is in the bathroom, the application program acquires the exclusive right to use the camera, and then the application An application program that causes the application program to continue to capture exclusive use rights of the camera even when the program shifts to the background.
  2. The application program according to claim 1, wherein the application program does not use the camera that has acquired the exclusive use right.
  3. The portable information processing terminal is provided with a posture detection function for detecting the posture of its own terminal,
    The portable information processing terminal;
    The operation according to claim 1 or 2, wherein the portable information processing terminal is determined to be in a bathroom when the portable information processing terminal is in a landscape orientation while the application program is running. The application program described.
  4. The portable information processing terminal;
    Whether or not to release the exclusive use right of the camera when the portable information processing terminal is in a vertically long posture when the application program captures the exclusive use right of the camera. If the release instruction is not received, the exclusive use right of the camera is continuously captured, and if the release instruction is received, the exclusive use right of the camera is released. 4. The application program according to claim 3, wherein
  5. The portable information processing terminal;
    Whether the exclusive use right of the camera is released when another application program requests acquisition of the exclusive use right of the camera while the application program acquires the exclusive use right of the camera The user is inquired whether or not, and if the release instruction is not received, the exclusive use right of the camera is continuously captured, and if the release instruction is received, the exclusive use right of the camera is released. The application program according to any one of claims 1 to 4, wherein the application program is operated.
  6. The portable information processing terminal;
    The operation according to any one of claims 1 to 5, wherein when the application program fails to acquire the exclusive use right of the camera, a predetermined warning is given to the user. The application program described.
  7. The portable information processing terminal;
    The application program according to claim 6, wherein the application program is operated to forcibly terminate the application program after the warning is performed.
  8. The application program according to any one of claims 1 to 7, wherein the acquisition target is an exclusive use right of all cameras included in the portable information processing terminal.
JP2014174953A 2014-08-29 2014-08-29 Application program Active JP6294795B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014174953A JP6294795B2 (en) 2014-08-29 2014-08-29 Application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014174953A JP6294795B2 (en) 2014-08-29 2014-08-29 Application program

Publications (2)

Publication Number Publication Date
JP2016050692A JP2016050692A (en) 2016-04-11
JP6294795B2 true JP6294795B2 (en) 2018-03-14

Family

ID=55658334

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014174953A Active JP6294795B2 (en) 2014-08-29 2014-08-29 Application program

Country Status (1)

Country Link
JP (1) JP6294795B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003202153A (en) * 2002-01-09 2003-07-18 Tokyo Gas Co Ltd Bathing support program supporting various bathing methods and bath remote controller executing the same
JP6250922B2 (en) * 2012-09-18 2017-12-20 株式会社アイ・オー・データ機器 Wireless connection system
JP2014115036A (en) * 2012-12-11 2014-06-26 Mitsubishi Electric Corp Water heater
WO2014103309A1 (en) * 2012-12-28 2014-07-03 パナソニック株式会社 Control method

Also Published As

Publication number Publication date
JP2016050692A (en) 2016-04-11

Similar Documents

Publication Publication Date Title
US10129044B2 (en) Method and apparatus for controlling smart device
US9979241B2 (en) Electronic device and method for sharing electric power in wireless charging
US9691272B2 (en) Method, apparatus and electronic device for controlling smart home device
EP3119054B1 (en) Method for controlling smart apparatus, terminal and server
JP6360558B2 (en) File locking method, file locking device, program, and recording medium
US10498723B2 (en) Method, and apparatus for authenticating access
JP6101866B2 (en) Child mode processing method, apparatus, program, and recording medium
RU2615798C2 (en) Photographic shooting parameters adjusting device and method
JP6533174B2 (en) Locked camera access
EP3041280A1 (en) Method and apparatus for binding intelligent device
CN104378500B (en) Antitheft mobile phone, based on the theft preventing method of this antitheft mobile phone and burglary-resisting system
EP2930705A1 (en) Method and apparatus for controlling smart terminal
KR20160144024A (en) Method and device for turning on air conditioner
KR101695075B1 (en) Method and device for remote intelligent control
WO2016029578A1 (en) Dual-system electronic apparatus and terminal
WO2016015551A1 (en) Method and system for improving safety of mobile terminal
WO2017088579A1 (en) Fingerprint identification method and apparatus
EP3125529B1 (en) Method and device for image photographing
RU2636137C2 (en) Method and device for installing working condition of intelligent home device
US20140098248A1 (en) Communication apparatus
RU2658169C1 (en) Working method and working device of intelligent electrical apparatus
KR101615571B1 (en) Always-available embedded theft reaction subsystem
EP3068155B1 (en) Methods and apparatuses for binding with device
WO2016112699A1 (en) Method and device for switching display mode
KR20140034279A (en) Context awareness proximity-based wireless connection establishment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170517

TRDD Decision of grant or rejection written
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180124

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20180130

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180216

R150 Certificate of patent or registration of utility model

Ref document number: 6294795

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150