Abstract:
Disclosed is an in-vehicle acoustic device capable of accurately controlling the operating state of a portable acoustic device with one button. An in-vehicle audio device ( 1 ) serving as the in-vehicle acoustic device is equipped with an antenna ( 8 ) which receives a signal indicating the streaming state of a portable audio device ( 9 ), and a communication module ( 2 ) which transmits operating instruction signals to the portable audio device ( 9 ) according to operating signals from an operating unit ( 5 ). When the operating unit ( 5 ) is operated and the portable audio device ( 9 ) is streaming, the communication module ( 2 ) transmits a stop instruction signal to stop playback operation by the portable audio device ( 9 ), and when the operation unit ( 5 ) is operated and the portable audio device ( 9 ) is not streaming, the communication module transmits a play instruction signal to start playback operation by the portable audio device ( 9 ). In addition, the in-vehicle audio device ( 1 ) uses Bluetooth communication as the method for wireless communication between the in-vehicle audio device and the portable audio device ( 9 ).

Description:
TECHNICAL FIELD 
       [0001]    The present invention relates to a method of controlling wireless communication that controls a portable audio apparatus by performing short-range wireless communication, a wireless communication control apparatus, and an in-vehicle audio apparatus. 
       BACKGROUND ART 
       [0002]    As a conventional audio apparatus that performs control of a portable audio apparatus by performing short-range wireless communication, a speaker system including a wireless receiving pack and a speaker unit is known (e.g. see patent literature 1). The wireless receiving pack receives an audio signal from the portable audio apparatus using Bluetooth (registered trademark, applies similarly hereinafter) communication, which is a short-range radio. The speaker unit is connected to this wireless receiving pack, and, upon receiving this audio signal, outputs the audio signal as a sound. 
       CITATION LIST 
     Patent Literature 
     PTL 1 
       [0000]    
       
         Japanese Patent Application Laid-Open No. 2007-336511 (paragraph 32 to paragraph 34) 
       
     
       SUMMARY OF INVENTION 
     Technical Problem 
       [0004]    Conventionally, a portable audio apparatus of a conventional device and an in-vehicle audio apparatus used by installing it in a vehicle have been caused to communicate wirelessly and reproduce data of the portable audio apparatus in the in-vehicle audio apparatus, that is, an operation of the portable audio apparatus using an operating section of the in-vehicle audio apparatus has been performed. 
         [0005]    However, when a portable audio apparatus is operated via an in-vehicle audio apparatus like this, cases occur where the user is unable to operate the portable audio apparatus as he or she desires. 
         [0006]    The reasons include the following. In the operating section of the in-vehicle audio apparatus, typically, a play button that controls the portable audio apparatus into a playing state and a pause button that controls the portable audio apparatus into either a stopped state or a paused state are allotted to one common button (hereinafter referred to as “play/pause button”). This is to make efficient use of a limited space inside a vehicle. 
         [0007]    Thus, when the play/pause button is pressed while the portable audio apparatus is playing, the in-vehicle audio apparatus must have the play/pause button to operate as a pause button. Further, when the play/pause button is pressed at a time other than when the portable audio apparatus is playing, the in-vehicle audio apparatus must have the play/pause button to operate as a play button. 
         [0008]    However, among in-vehicle audio apparatuses, there are apparatuses in which operation states of the portable audio apparatus such as “playing,” “stopped,” “paused,” “fast-forwarding,” “rewinding,” etc. cannot be acquired. By this means, with a conventional in-vehicle audio apparatus, there is a problem that a control signal that does not match the operation state of a portable audio apparatus is sent (for example, a signal commanding to stop is sent to the portable audio apparatus while the portable audio apparatus is stopped, etc.), and this confuses the operator. 
         [0009]    It is therefore an object of the present invention to provide a method of controlling wireless communication, a wireless communication control apparatus, and an in-vehicle audio apparatus that are capable of accurately controlling a portable audio apparatus by using one button. 
       Solution to Problem 
       [0010]    The method of controlling wireless communication according to the present invention is a control method to control a portable audio apparatus through wireless communication. The method has a configuration that includes the steps of: receiving information from the portable audio apparatus; determining whether or not it is possible to acquire an operation state of the portable audio apparatus from the received information; judging a streaming state in the portable audio apparatus from the received information when it is not possible to acquire the operation state of the portable audio apparatus; transmitting a stop signal for stopping a playback operation of the portable audio apparatus to the portable audio apparatus when an operation section is operated and streaming is in progress in the portable audio apparatus; and transmitting a playback signal for starting the playback operation of the portable audio apparatus to the portable audio apparatus when the operation section is operated and streaming is not in progress in the portable audio apparatus. 
         [0011]    According to this configuration, even when it is not possible to acquire the operation state of the portable audio apparatus from the portable audio apparatus, it is possible to judge the operation state based on the streaming state in the portable audio apparatus, the operation state of the portable audio apparatus can be controlled into an accurate operation state. 
         [0012]    Further, the wireless communication control apparatus of the present invention has a configuration that comprises: a receiving section that receives a signal representing a streaming state in the portable audio apparatus transmitted from the portable audio apparatus; a determining section that determines the streaming state in the portable audio apparatus from the signal received by the receiving section; and a transmitting section that transmits an operation command signal to the portable audio apparatus, the operation command signal being for switching an operation state of the portable audio apparatus in accordance with an operation signal of an operation section connected to the wireless communication control apparatus; wherein the operation command signal includes a stop command signal for stopping a playback operation of the portable audio apparatus and a playback command signal for starting the playback operation of the portable audio apparatus, the transmitting section transmits the stop command signal to the portable audio apparatus when the operation section is operated and streaming is in progress in the portable audio apparatus, and transmits the playback command signal to the portable audio apparatus when the operation section is operated and streaming is not in progress in the portable audio apparatus. 
         [0013]    Further, the wireless communication control apparatus of the present invention has a configuration that uses Bluetooth communication as a wireless communication method between the portable audio apparatus and the wireless communication control apparatus. 
         [0014]    Further, the in-vehicle audio apparatus of the present invention has a configuration that comprises: a receiving section that receives a signal representing a streaming state in the portable audio apparatus transmitted from the portable audio apparatus; a determining section that determines the streaming state in the portable audio apparatus from the signal received by the receiving section; a single operation button that receives a command to stop a playback operation of the portable audio apparatus and to start the playback operation of the portable audio apparatus from an operator; a detecting section that detects the operation button having been operated; and a transmitting section that transmits an operation command signal to the portable audio apparatus, the operation command signal being for switching the operation state of the portable audio apparatus in accordance with a detection result of the detecting section. In this apparatus, the operation command signal includes a stop command signal for stopping a playback operation of the portable audio apparatus and a playback command signal for starting the playback operation of the portable audio apparatus, the transmitting section transmits the stop command signal to the portable audio apparatus when the operation button is operated and streaming is in progress in the portable audio apparatus, and transmits the playback command signal to the portable audio apparatus when the operation button is operated and streaming is not in progress in the portable audio apparatus. 
         [0015]    According to this configuration, even when it is not possible to acquire the operation state of the portable audio apparatus from the portable audio apparatus, it is possible to judge the operation state based on the streaming state in the portable audio apparatus, so that the operation state of the portable audio apparatus can be controlled into the accurate operation state by using a single button. 
       Advantageous Effects of Invention 
       [0016]    By this means, the present invention determines, from a portable audio apparatus connected with an audio apparatus through wireless communication, whether music data is streaming on the wireless communication. By this means, the present invention can provide an audio apparatus that accurately judges the operation state of the portable audio apparatus even if the portable audio apparatus is one of those from which the operation states such as playing, stopped, and paused cannot be acquired, and by which the portable audio apparatus can be accurately controlled by a single operation button. 
     
    
     
       BRIEF DESCRIPTION OF DRAWINGS 
         [0017]      FIG. 1  is a block diagram of an audio apparatus of an embodiment of the present invention; 
           [0018]      FIG. 2  is a flow chart illustrating an operation of the audio apparatus of the present embodiment; and 
           [0019]      FIG. 3  is an application diagram of other audio apparatuses of the present embodiment. 
       
    
    
     DESCRIPTION OF EMBODIMENTS 
       [0020]    Hereinafter, an audio apparatus of an embodiment of the present invention will be described with reference to the accompanying drawings. 
         [0021]    The function blocks of an in-vehicle audio apparatus according to an embodiment of the present invention is shown in  FIG. 1 . 
         [0022]    In the embodiment of the present invention, Bluetooth communication is used as short-range wireless communication between a portable audio apparatus and the audio apparatus. 
         [0023]    In  FIG. 1 , in-vehicle audio apparatus  1  as the in-vehicle audio apparatus is composed of communication module  2 , micro controller unit  3 , display device  4 , operating section  5 , audio processor  6 , speaker  7  and antenna  8 . Portable audio apparatus  9  as a portable audio apparatus is connected to in-vehicle audio apparatus  1 . 
         [0024]    Communication module  2  is a Bluetooth module. Antenna  8  is a Bluetooth antenna. Further, portable audio apparatus  9  is a Bluetooth audio apparatus. That is, portable audio apparatus  9  is connected to in-vehicle audio apparatus  1  using a Bluetooth audio connection through Bluetooth communication  10 . 
         [0025]    Communication module  2  is, for example, a wireless communication control apparatus formed with a plurality of micro controller units. The micro controller units to constitute communication module  2  include, for example, a micro controller unit as a determining section for performing a profile connection of a Bluetooth audio profile defined by the Bluetooth audio profile. Further, the micro controller units to constitute communication module  2  include a micro controller unit for decoding Bluetooth audio music data defined by the Bluetooth audio profile (hereinafter simply referred to as “music data”). Antenna  8  is a receiving section and a transmitting section that inputs and outputs radio waves to realize Bluetooth communication. Micro controller unit  3  includes a detecting section that controls communication module  2  based on an operation signal generated in response to an operation by an operator at operating section  5 . Display device  4  displays play information such as music title information, playing time information, etc., that are transmit via communication module  2  and micro controller unit  3  from portable audio apparatus  9 . 
         [0026]    Operating section  5  is connected to micro controller unit  3  using a bus connection, and is formed with a play/pause button, a fast-forward button, a rewind button, etc. The play/pause button is a single operation button in which a play button for switching an operation state of portable audio apparatus  9  (hereinafter referred to as “operated-side operation state”) to “playing” and a pause button that controls the operated-side operation state to be either “stopped” or “paused” are in common. That is, the play/pause button receives a command to change the operation state of portable audio apparatus  9  from the operator. The fast-forward button is a button for controlling the operated-side operation state to be fast-forwarding. The rewind button is a button for controlling the operated-side operation state to be rewinding. Micro controller unit  3  detects operation information generated as a result of the operator pressing operating section  5 , and transmits the detected operation information to communication module  2  via a serial communication. 
         [0027]    Communication module  2  converts the operation information received from micro controller unit  3  to a Bluetooth audio command defined by the Bluetooth audio profile, and transmits the same to portable audio apparatus  9 . By this means, communication module  2  ca control portable audio apparatus  9 . 
         [0028]    On the other hand, the music data is encoded in portable audio apparatus  9 , and is sent to communication module  2  via antenna  8 . Then, communication module  2  decodes the music data, and outputs the same to audio processor  6 . 
         [0029]    Audio processor  6  is an audio processor that performs signal processing on the music data input from communication module  2  and outputs the same to speaker  7 . 
         [0030]    Next, the operation of in-vehicle audio apparatus  1  configured as above will be described with reference to  FIG. 2 . 
         [0031]    For example, in-vehicle audio apparatus  1  and portable audio apparatus  9  are connected using Bluetooth audio connection as aforementioned, and the operated-side operation state is playing. Further, the operation state of in-vehicle audio apparatus  1  is in the playing state, and a Bluetooth audio of portable audio apparatus  9  is output (streaming is in progress) from speaker  7  of in-vehicle audio apparatus  1 . At this occasion, the operator may e.g. wish to bring portable audio apparatus  9  to a stopped/paused state, and press a play/stop button of in-vehicle audio apparatus  1 . 
         [0032]    Further, although in-vehicle audio apparatus  1  and portable audio apparatus  9  are connected using Bluetooth audio connection, the operated-side operation state and the operation state of in-vehicle audio apparatus  1  are both being stopped (streaming is not in progress). At this occasion, the operator may e.g. wish to bring portable audio apparatus  9  to the playing state, and press the play/stop button of in-vehicle audio apparatus  1 . 
         [0033]    When the play/stop button of in-vehicle audio apparatus  1  is pressed, operating section  5  generates the operation information that indicates that the play/stop button has been pressed (S 1 ). 
         [0034]    Micro controller unit  3  detects the operation information that indicates that the play/stop button has been pressed (hereinafter referred to as “press information”). Communication module  2  receives the press information detected by micro controller unit  3  from micro controller unit  3 . 
         [0035]    As a result of this, based on the press information received from micro controller unit  3 , communication module  2  decides whether to transmit a playback command, or one of a pause command and a stop command to portable audio apparatus  9  through processing as below in respective steps. 
         [0036]    Here, the playback command is a Bluetooth audio control command (a playback signal) defined by the Bluetooth audio profile for causing a playback operation. Further, the pause command is a Bluetooth audio control command (a pause signal) defined by the Bluetooth audio profile for causing a pausing operation. Further, the stop command is a Bluetooth audio control command (a stop signal) defined by the Bluetooth audio profile for causing a stopping operation. 
         [0037]    In-vehicle audio apparatus  1  judges whether or not Bluetooth audio connection has been established with portable audio apparatus  9  (S 2 ). In-vehicle audio apparatus  1  makes this judgment by judging whether or not the Bluetooth audio profile connection defined by the Bluetooth audio profile is established with portable audio apparatus  9 . 
         [0038]    When portable audio apparatus  9  is not connected to in-vehicle audio apparatus  1  using Bluetooth audio connection (S 2 : “NO”), in-vehicle audio apparatus  1  proceeds to step S 10 . Here, in-vehicle audio apparatus  1  does not transmit any of the aforementioned commands to portable audio apparatus  9  (S 10 ). In this case, in-vehicle audio apparatus  1  transmits, to display device  4  via micro controller unit  3 , information indicating that portable audio apparatus  9  is not connected, and displays the same for the operator. 
         [0039]    When portable audio apparatus  9  is connected to in-vehicle audio apparatus  1  using Bluetooth audio connection (S 2 : “YES”), in-vehicle audio apparatus  1  proceeds to step S 3 . Here, communication module  2  judges whether or not portable audio apparatus  9  supports an operation state acquisition command. Here, the operation state acquisition command is a command defined by the Bluetooth audio profile that requests another apparatus to return its operation state. That is, communication module  2  judges whether or not portable audio apparatus  9  is an apparatus from which the operation state thereof can be acquired by communication module  2  (S 3 ). Communication module  2  makes this judgment based on a version of the Bluetooth audio profile of portable audio apparatus  9  as defined by the Bluetooth audio profile. 
         [0040]    When portable audio apparatus  9  is an apparatus from which the operation state (the operated-side operation state) thereof can be acquired (S 3 : “YES”), communication module  2  acquires a signal indicating the operated-side operation state from portable audio apparatus  9 . Then, communication module  2  judges whether or not the operated-side operation state indicated by the acquired signal is playing, and decides a command to be sent based on a judgment result. That is, communication module  2  decides which one of the playback command, the pause command and the stop command is to be sent to portable audio apparatus  9  based on the operated-side operation state (S 4 ). 
         [0041]    When it is judged that the operated-side operation state is playing (S 4 : “YES”), communication module  2  transmits the pause command to portable audio apparatus  9  (S 6 ). 
         [0042]    Further, when it is judged that the operated-side operation state is other than playing (S 4 : “NO”), communication module  2  transmits the playback command to portable audio apparatus  9  (S 7 ). 
         [0043]    When portable audio apparatus  9  is an apparatus from which the operation state (the operated-side operation state) thereof cannot be acquired (S 3 : “NO”), communication module  2  acquires a signal indicating a Bluetooth audio streaming state of portable audio apparatus  9  (hereinafter referred to as “streaming state”) from portable audio apparatus  9 . Here, the streaming state is information indicating whether or not the music data defined by the Bluetooth audio profile is output through the wireless communication. Communication module  2  judges whether or not the streaming state indicated by the acquired signal is streaming, and decides a command to be sent based on a judgment result. That is, communication module  2  decides which one of the playback command, the pause command and the stop command is to be sent to portable audio apparatus  9  based on the streaming state (S 5 ). 
         [0044]    When it is judged that the streaming state is streaming (S 5 : “YES”), communication module  2  transmits the stop command to portable audio apparatus  9  (S 8 ). 
         [0045]    Further, when it is judged that the streaming state is other than streaming (S 5 : “NO”), communication module  2  transmits the playback command to portable audio apparatus  9  (S 9 ). 
         [0046]    By this means, in-vehicle audio apparatus  1  of the embodiment of the present invention can accurately grasp the operation state of portable audio apparatus  9  that is connected with in-vehicle audio apparatus  1  using Bluetooth connection. By this means, in-vehicle audio apparatus  1  has the play button and the pause button as a common button, and in the configuration of controlling the operation state of portable audio apparatus  9  by receiving operations on this button, the operation of portable audio apparatus  9  can be controlled appropriately. 
         [0047]    Note that, in the foregoing explanation, the description had been made based on an example with a configuration in which communication module  9  for controlling portable audio apparatus  2  is arranged inside in-vehicle audio apparatus  11 , however, the configuration of a system to which the present invention is to be applied is not limited to this. For example, as shown in  FIG. 3 , communication module  13  as the Bluetooth module may be arranged outside in-vehicle audio apparatus  11  or the like as the audio apparatus, and may control portable audio apparatus  15  as the Bluetooth audio apparatus via in-vehicle audio apparatus  11  or the like. That is, the present invention can similarly be implemented even in a configuration in which in-vehicle audio apparatus, etc.  11  controls portable audio apparatus  15  indirectly through wireless communication  14 . In this case, for instance, communication module  13  is connected via in-vehicle audio apparatus  11  and LAN  12 . 
       INDUSTRIAL APPLICABILITY 
       [0048]    As described above, the wireless communication control method, wireless communication control apparatus and in-vehicle audio apparatus of the present invention are designed to acquire, from a portable audio apparatus wirelessly connected with an in-vehicle audio apparatus, whether or not music data is output through wireless communication. By this means, even with a portable audio apparatus from which the operation state such as playing, stopped and paused cannot be acquired, the wireless communication control method, wireless communication control apparatus and in-vehicle audio apparatus of the present invention can accurately judge the operation state of the portable audio apparatus. By this means, the wireless communication control method, wireless communication control apparatus and in-vehicle audio apparatus of the present invention can accurately judge the operation state of the portable audio apparatus with a single button. 
         [0049]    By this means, the present invention is useful in applying to an audio apparatus, etc. that controls a portable audio apparatus by performing short-range wireless communication. 
       REFERENCE SIGNS LIST 
       [0000]    
       
           1  IN-VEHICLE AUDIO APPARATUS 
           2  COMMUNICATION MODULE 
           3  MICRO CONTROLLER UNIT 
           4  DISPLAY DEVICE 
           5  OPERATING SECTION 
           6  AUDIO PROCESSOR 
           7  SPEAKER 
           8  ANTENNA 
           9  PORTABLE AUDIO APPARATUS 
           11  IN-VEHICLE AUDIO APPARATUS 
           12  BUS/LAN 
           13  COMMUNICATION MODULE 
           15  PORTABLE AUDIO APPARATUS