JP2011229193A - Information processor - Google Patents

Information processor Download PDF

Info

Publication number
JP2011229193A
JP2011229193A JP2011179673A JP2011179673A JP2011229193A JP 2011229193 A JP2011229193 A JP 2011229193A JP 2011179673 A JP2011179673 A JP 2011179673A JP 2011179673 A JP2011179673 A JP 2011179673A JP 2011229193 A JP2011229193 A JP 2011229193A
Authority
JP
Japan
Prior art keywords
remote control
control command
command
received
media player
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.)
Granted
Application number
JP2011179673A
Other languages
Japanese (ja)
Other versions
JP5360162B2 (en
Inventor
Toshiya Tamura
俊哉 田村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Mobile Communications Ltd
Original Assignee
Fujitsu Toshiba Mobile Communication Ltd
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 Fujitsu Toshiba Mobile Communication Ltd filed Critical Fujitsu Toshiba Mobile Communication Ltd
Priority to JP2011179673A priority Critical patent/JP5360162B2/en
Publication of JP2011229193A publication Critical patent/JP2011229193A/en
Application granted granted Critical
Publication of JP5360162B2 publication Critical patent/JP5360162B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an information processor capable of suitably interpreting commands from a remote controller even in a condition where it is difficult to appropriately receive start and end commands from the remote controller.SOLUTION: In a cellular phone 1 applicable to an information processor of the present invention, a remote controller command transmitting/receiving part 24 receives a remote controller command from an opposite device when a media player is in a first playback state; a remote controller command analyzing part 25 analyzes the received command; and a remote controller notification part 26 notifies a prescribed application program of the received remote controller command. When a situation unable to receive remote controller commands occurs after notifying a prescribed application program of a remote controller command indicating the start of playback change instruction, the remote controller notification part 26 notifies a prescribed application program of a remote controller counterpart command indicating the end of playback change instruction.

Description

本発明は情報処理装置に係り、特に、メディアプレイヤを対向機器のリモコンにより制御することができるようにした情報処理装置に関する。   The present invention relates to an information processing apparatus, and more particularly, to an information processing apparatus capable of controlling a media player with a remote controller of a counter device.

近年、電子機器などに適用することができる無線通信技術として例えばブルートゥース(Bluetooth(登録商標))が知られている。このブルートゥースの無線通信技術を用いれば、携帯電話機などの携帯情報端末や携帯型音楽再生機から、オーディオケーブルを用いることなく、例えばヘッドセットなどの対向機器にオーディオデータを転送することができる。   In recent years, for example, Bluetooth (registered trademark) is known as a wireless communication technology that can be applied to electronic devices and the like. By using this Bluetooth wireless communication technology, audio data can be transferred from a portable information terminal such as a mobile phone or a portable music player to an opposite device such as a headset without using an audio cable.

オーディオデータの伝送用のプロファイルとして、例えば"Advanced Audio Distribution Profile(A2DP)"(非特許文献1)や"Generic Audio/Video Distribution Profile"(非特許文献2)などが知られている。これらは、ブルートゥース接続された機器間でオーディオデータをリアルタイムにストリーミング転送を行うための規格である。   As profiles for transmitting audio data, for example, “Advanced Audio Distribution Profile (A2DP)” (Non-patent Document 1), “Generic Audio / Video Distribution Profile” (Non-Patent Document 2), and the like are known. These are standards for performing streaming transfer of audio data in real time between devices connected via Bluetooth.

例えば携帯電話機などの携帯情報端末や携帯型音楽再生機では、オーディオデータをSBC(Sub Band Coding)、MP3(MPEG1 Audio Layer-3)、ATRAC(Advanced Transform Acoustic Coding)3などの形式により圧縮してパケット単位で転送する。一方、スピーカやヘッドセットなどの対向機器では、すべてのパケットを受信するのを待たずに、データの受信と同時にその再生を行なう。これにより、ユーザは、携帯情報端末や携帯型音楽再生機などからの音をほぼリアルタイムに、スピーカやヘッドセットなどの対向機器において聴くことが可能となる。   For example, in portable information terminals such as mobile phones and portable music players, audio data is compressed in a format such as SBC (Sub Band Coding), MP3 (MPEG1 Audio Layer-3), or ATRAC (Advanced Transform Acoustic Coding) 3. Transfer in packets. On the other hand, an opposing device such as a speaker or a headset does not wait for all packets to be received and reproduces them simultaneously with reception of data. As a result, the user can listen to the sound from the portable information terminal, portable music player, etc. in an almost real time on the opposite device such as a speaker or a headset.

最近では、ブルートゥースを用いてオーディオデータ(音声ファイル形式のデータ)を再生する技術として、音楽再生装置に記録されている複数の音声ファイルから任意のファイルを特定して再生することができるように、携帯電話機から操作することができる技術が知られている(例えば特許文献1参照)。   Recently, as a technology for reproducing audio data (data in an audio file format) using Bluetooth, so that an arbitrary file can be identified and reproduced from a plurality of audio files recorded in a music reproduction device, A technique that can be operated from a mobile phone is known (for example, see Patent Document 1).

また、例えば携帯電話機からヘッドセットなどの対向機器にオーディオデータをブルートゥースを用いて転送する場合に、対向機器に予め設けられたリモコンによりコマンドを携帯電話機に送信することで、オーディオデータの転送や再生・停止などを制御するAVリモコンサービスに関する技術も提案されている。このAVリモコンサービスに関する技術については、"AVRCP(Audio/Video Remote Control Profile)"(非特許文献3)の規格によってその仕様が規定されている。   For example, when audio data is transferred from a mobile phone to an opposite device such as a headset using Bluetooth, the audio data is transferred or reproduced by transmitting a command to the mobile phone using a remote controller provided in advance in the opposite device.・ Technologies related to AV remote control services for controlling stopping and the like have also been proposed. The specifications of the technology related to the AV remote control service are defined by the standard of “AVRCP (Audio / Video Remote Control Profile)” (Non-Patent Document 3).

このAVRCPは、AVリモコンコマンドのためのパケットフォーマットを規定したものであり、リモコンコマンドの解釈や運用方法などに関して規定していない。そのため、AVリモコンサービスに関する技術については、携帯電話機などの実装に依存している。   The AVRCP defines a packet format for the AV remote control command, and does not define the interpretation or operation method of the remote control command. Therefore, the technology related to the AV remote control service depends on the implementation of a mobile phone or the like.

特開2006−94448号公報JP 2006-94448 A

Advanced Audio Distribution Profile(Bluetooth SIG)Advanced Audio Distribution Profile (Bluetooth SIG) Generic Audio/Video Distribution Profile(Bluetooth SIG)Generic Audio / Video Distribution Profile (Bluetooth SIG) Audio/Video Remote Control Profile(Bluetooth SIG)Audio / Video Remote Control Profile (Bluetooth SIG)

一般に、メディアプレイヤをリモコンにより制御する対向機器には、例えば"play"や"pause"などの1つ1つのコマンドが異なるボタンに割り当てられているものと、例えば"play"や"pause"などの複数のコマンドが同一のボタンに割り当てられておりトグル動作するものとが存在する。   In general, the opposite device that controls the media player with a remote control has one command such as “play” or “pause” assigned to different buttons, and another device such as “play” or “pause”. Some commands are assigned to the same button and toggle.

前者において対向機器に予め設けられたリモコンからコマンドを携帯電話機に送信する場合、例えばそのコマンドが「Playコマンド」のときには、ユーザが「Playコマンド」を指示するPlayボタンを押下した時点で"Play-Press"のコマンドがリモコンから送出され、ユーザがPlayボタンを離した時点で"Play-Release"のコマンドが送出されてくる。   In the former case, when a command is transmitted to a mobile phone from a remote controller provided in advance in the opposite device, for example, when the command is a “Play command”, when the user presses the Play button instructing the “Play command”, the “Play- The command “Press” is sent from the remote control, and the command “Play-Release” is sent when the user releases the Play button.

後者の場合には、一般的に、例えば"forward"と"fastforward"のコマンドが同一のボタンに割り当てられた上で、それぞれ、ユーザによりそのボタンが短押しされたときに"forward"のコマンド(曲送りのコマンド)であると解釈されるとともに、ユーザによりそのボタンが短押しされたときに"fastforward"のコマンド(早送りのコマンド)であると解釈される。   In the latter case, in general, for example, the commands “forward” and “fastforward” are assigned to the same button, and when the user presses the button for a short time, the “forward” command ( Command), and when the user presses the button for a short time, it is interpreted as a "fastforward" command (fast forward command).

具体的には、ユーザにより"forward"と"fastforward"のコマンドが割り当てられたボタンが押下されると、そのボタンの押下の時点で"forward−press(またはfastforward−press)"のコマンドがリモコンから送出されるとともに、ボタンの押下の解放の時点で"forward−release(またはfastforward−release)"のコマンドがリモコンから送出される。そのボタンの押下とその押下の解放に対応する"forward−press(またはfastforward−press)"と"forward−release(またはfastforward−release)"の間隔をチェックすることによりボタンの短押しであるか長押しであるかを携帯電話機側にて判断する。すなわち、"forward−press(またはfastforward−press)"のコマンドを受け取ってから、所定の時間以内に"forward−release(またはfastforward−release)"のコマンドを受け取れば短押しと判断し、所定の時間以内に"forward−release(またはfastforward−release)"のコマンドを受け取れることができなければ長押しと判断する。   Specifically, when a button to which a “forward” or “fastforward” command is assigned is pressed by the user, a “forward-press (or fastforward-press)” command is issued from the remote control when the button is pressed. At the same time that the button is released, a “forward-release (or fastforward-release)” command is sent from the remote control. Short or long press of the button by checking the interval between "forward-press (or fastforward-press)" and "forward-release (or fastforward-release)" corresponding to pressing and releasing the button The mobile phone side determines whether or not the button is pressed. That is, if a “forward-release (or fastforward-release)” command is received within a predetermined time after receiving a “forward-press (or fastforward-press)” command, it is determined that the command is a short press, and a predetermined time If the command of “forward-release (or fastforward-release)” cannot be received within, it is determined that the button is long pressed.

そして、短押しであると判断された場合、対向機器から受信されたコマンドが"forward"のコマンド(曲送りのコマンド)であると解釈され、一方、長押しであると判断された場合、対向機器から受信されたコマンドが"fastforward"のコマンド(早送りのコマンド)であると解釈される。   If it is determined to be a short press, the command received from the opposite device is interpreted as a “forward” command (music feed command), while if it is determined to be a long press, The command received from the device is interpreted as a “fastforward” command (fast forward command).

このように、いずれのタイプのリモコンを備えた対向機器を用いた場合であっても、一般的に、例えば"fastforward−press"と"fastforward−release"などのような対となるコマンドの開始と終了をリモコンから受け取ることで、リモコンからのコマンドが解釈される。   In this way, even when using a counter device equipped with any type of remote control, generally, for example, the start of a paired command such as “fastforward-press” and “fastforward-release” By receiving the end from the remote control, the command from the remote control is interpreted.

しかしながら、携帯電話機と対向機器との間をA2DPにより接続した場合、携帯電話機と対向機器との距離が大きくなると、対向機器との接続がロスした状態(接続が切れた状態)であるリンクロスが発生し得る。そのため、リモコンからあるコマンドの開始を受け取った後に、このようなリンクロスが発生すると、そのコマンドの終了をリモコンから受け取ることができなくなり、リモコンからのコマンドを適切に解釈することが困難となる。   However, when the mobile phone and the opposite device are connected by A2DP, if the distance between the mobile phone and the opposite device increases, a link loss that is a state in which the connection with the opposite device is lost (connection is lost) is generated. Can occur. Therefore, when such a link loss occurs after receiving the start of a command from the remote controller, it becomes impossible to receive the end of the command from the remote controller, and it becomes difficult to properly interpret the command from the remote controller.

特に、複数のコマンドが同一のボタンに割り当てられておりトグル動作するタイプの対向機器の場合、ボタンの押下とその押下の解放に対応する"press"と"release"の間隔をチェックすることによりボタンの短押しであるか長押しであるかを判断した上でコマンドを解釈するために、ボタンの押下に対応する"press"を受け取った時点から、その押下の解放に対応する"release"を受け取るまでの時間が比較的に長くなることから、リンクロスの発生により、コマンドの終了をリモコンから受け取ることができなくなる可能性が大きくなる。   In particular, in the case of a counter device that toggles when multiple commands are assigned to the same button, check the interval between "press" and "release" corresponding to pressing the button and releasing the button. In order to interpret the command after judging whether it is a short press or a long press, from the point of receiving "press" corresponding to the button press, receive "release" corresponding to the release of the press Since the time until the time is relatively long, there is a high possibility that the end of the command cannot be received from the remote controller due to the occurrence of link loss.

具体的には、例えば"fastforward−press"を受信した時点でリンクロスが発生すると、"fastforward−release"を受け取ることができなくなり、早送りが停止しないという問題が生じてしまう。   Specifically, for example, if a link loss occurs when “fastforward-press” is received, “fastforward-release” cannot be received, and a problem that fast-forwarding does not stop occurs.

本発明は、このような状況に鑑みてなされたものであり、リモコンからのコマンドの開始と終了を適切に受け取ることが困難な状況であっても、リモコンからのコマンドを好適に解釈することができる情報処理装置を提供することを目的とする。   The present invention has been made in view of such a situation, and even when it is difficult to properly receive the start and end of a command from the remote controller, the command from the remote controller can be suitably interpreted. An object of the present invention is to provide an information processing apparatus that can perform the above processing.

本発明の情報処理装置は、上述した課題を解決するために、対向機器が送信した所定のアプリケーションプログラムの再生状態の変更を指示するリモコンコマンドを、無線通信を介して受信する受信手段と、受信手段により受信されたリモコンコマンドを解析する解析手段と、受信されたリモコンコマンドを所定のアプリケーションプログラムに通知する通知手段とを備え、通知手段は、再生状態の変更指示の開始を示すリモコンコマンドを所定のアプリケーションプログラムに通知した後に、再生状態の変更指示の開始を示すリモコンコマンドをさらに受信した場合、すでに所定のアプリケーションプログラムに通知した再生状態の変更指示の開始を示すリモコンコマンドと対となる、再生状態の変更指示の終了を示すリモコンコマンドを所定のアプリケーションプログラムに通知するとともに、後に受信された再生状態の変更指示の開始を示すリモコンコマンドを所定のアプリケーションプログラムに通知することを特徴とする。   In order to solve the above-described problem, an information processing apparatus according to the present invention includes a receiving unit that receives, via wireless communication, a remote control command for instructing a change in the playback state of a predetermined application program transmitted by an opposite device; Analysis means for analyzing the remote control command received by the means, and notification means for notifying the received remote control command to a predetermined application program, wherein the notification means sets a predetermined remote control command indicating the start of a playback state change instruction. When a remote control command indicating the start of a playback state change instruction is further received after notifying the application program of the playback, a playback corresponding to the remote control command indicating the start of the playback state change instruction already notified to the predetermined application program Remote control command indicating the end of the state change instruction And it notifies the constant application program, and notifies the remote control command indicating the start of the change instruction playback state received in the predetermined application program after.

本発明に係る装置によれば、リモコンからのコマンドの開始と終了を適切に受け取ることが困難な状況であっても、リモコンからのコマンドを好適に解釈することができる。   According to the apparatus of the present invention, even when it is difficult to appropriately receive the start and end of a command from the remote controller, the command from the remote controller can be suitably interpreted.

本発明に係る情報授受のシステムの概略的な構成を示す図。1 is a diagram showing a schematic configuration of an information exchange system according to the present invention. 本発明に係る情報処理装置に適用可能な携帯電話機の内部の構成を示すブロック図。1 is a block diagram showing an internal configuration of a mobile phone applicable to an information processing apparatus according to the present invention. 図2の携帯電話機におけるメディアプレイヤ制御処理を説明するフローチャート。The flowchart explaining the media player control process in the mobile telephone of FIG. 図2の携帯電話機における他のメディアプレイヤ制御処理を説明するフローチャート。The flowchart explaining the other media player control processing in the mobile telephone of FIG. 図2の携帯電話機における他のメディアプレイヤ制御処理を説明するフローチャート。The flowchart explaining the other media player control processing in the mobile telephone of FIG. 図2の携帯電話機における他のメディアプレイヤ制御処理を説明するフローチャート。The flowchart explaining the other media player control processing in the mobile telephone of FIG.

以下、本発明の実施の形態について、図面を参照しながら説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1に示されるように、携帯電話機1の近傍には、本発明に係る対向機器として適用可能なヘッドセット2が配置されている。ヘッドセット2は、携帯電話機1から無線通信(例えばブルートゥースなど)を用いて転送されたオーディオデータを受信し、リアルタイムに再生することができる。なお、ヘッドセット2には、携帯電話機1に対して無線通信を介してリモート操作することが可能なリモコン3が設けられている。   As shown in FIG. 1, in the vicinity of a mobile phone 1, a headset 2 that can be applied as a counter device according to the present invention is arranged. The headset 2 can receive audio data transferred from the mobile phone 1 using wireless communication (for example, Bluetooth) and reproduce it in real time. The headset 2 is provided with a remote control 3 that can be remotely operated with respect to the mobile phone 1 via wireless communication.

図2は、図1の携帯電話機1の内部の構成を表している。図2に示されるように、携帯電話機1は、制御部11、表示部12、入力部13、記憶部14、無線電話通信部15、信号処理部16、PCMコーデック17、マイクロフォン18、スピーカ19、メディアプレイヤ制御部20、コンテンツ処理部21、および近距離無線通信部22がバス23により相互に接続されて構成されている。   FIG. 2 shows an internal configuration of the mobile phone 1 of FIG. As shown in FIG. 2, the mobile phone 1 includes a control unit 11, a display unit 12, an input unit 13, a storage unit 14, a radio telephone communication unit 15, a signal processing unit 16, a PCM codec 17, a microphone 18, a speaker 19, A media player control unit 20, a content processing unit 21, and a short-range wireless communication unit 22 are connected to each other via a bus 23.

制御部11は、CPU(Central Processing Unit)、ROM(Read Only Memory)、およびRAM(Random Access Memory)などからなり、CPUは、ROMに記憶されているプログラムまたは記憶部14からRAMにロードされた各種のアプリケーションプログラムに従って各種の処理を実行するとともに、種々の制御信号を生成し、各部に供給することにより携帯電話機1を統括的に制御する。RAMは、CPUが各種の処理を実行する上において必要なデータなどを適宜記憶する。   The control unit 11 includes a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), and the like. The CPU is loaded into the RAM from a program stored in the ROM or the storage unit 14. Various processes are executed in accordance with various application programs, and various control signals are generated and supplied to each unit to control the mobile phone 1 in an integrated manner. The RAM appropriately stores data necessary for the CPU to execute various processes.

表示部12は、例えばLCD(Liquid Crystal Display)などからなり、入力部13は図示せぬ操作キーや操作ボタンなどにより構成される。   The display unit 12 includes, for example, an LCD (Liquid Crystal Display), and the input unit 13 includes operation keys and operation buttons (not shown).

無線電話通信部15は、図示せぬ基地局から送信された無線信号を、図示せぬアンテナを介して受信し、受信された無線信号のダウンコンバートを行って中間周波信号を求め、さらに直交復調処理、RAKE受信機(図示せず)による各パスの逆拡散及び合成処理などを行う。その後、このRAKE受信機から出力された受信パケットデータは、信号処理部16に入力される。   The radio telephone communication unit 15 receives a radio signal transmitted from a base station (not shown) via an antenna (not shown), down-converts the received radio signal to obtain an intermediate frequency signal, and further performs orthogonal demodulation. Processing, despreading and combining processing of each path by a RAKE receiver (not shown) are performed. Thereafter, the received packet data output from the RAKE receiver is input to the signal processing unit 16.

信号処理部16は、例えばDSP(Digital Signal Processor)などからなり、受信パケットデータをまずメディア毎に分離し、分離されたメディア毎のデータに対してそれぞれ復号処理を施す。   The signal processing unit 16 includes, for example, a DSP (Digital Signal Processor) and the like, first separates received packet data for each medium, and performs a decoding process on the separated data for each medium.

信号処理部16は、例えば受信パケットデータにオーディオデータが含まれている場合、このオーディオデータをスピーチコーデックにより復号する。また、信号処理部16は、受信パケットデータに動画像データが含まれている場合、この動画像データをビデオコーデックにより復号する。さらに、信号処理部16は、受信パケットデータがダウンロードコンテンツである場合、このダウンロードコンテンツを伸長する。   For example, when the received packet data includes audio data, the signal processing unit 16 decodes the audio data using a speech codec. In addition, when the received packet data includes moving image data, the signal processing unit 16 decodes the moving image data using a video codec. Further, when the received packet data is download content, the signal processing unit 16 expands the download content.

復号処理により得られたディジタルオーディオ信号は、PCMコーデック17によりPCM復号された後、増幅されてスピーカ19により出力される。一方、ビデオコーデックにより復号されたディジタル動画像信号は、バス23を介して表示部12に供給され表示される。   The digital audio signal obtained by the decoding process is PCM decoded by the PCM codec 17 and then amplified and output from the speaker 19. On the other hand, the digital moving image signal decoded by the video codec is supplied to the display unit 12 via the bus 23 and displayed.

メディアプレイヤ制御部20は、例えば音楽制御機能を有する音楽プレイヤを制御する。勿論、携帯電話機1に地上波ディジタルワンセグ・ラジオ受信部などを設けるようにして、例えば地上波ディジタルワンセグ放送波を受信する際のアプリケーションプログラムを実行することにより実現される地上波ディジタルワンセグプレイヤなどの各種のメディアプレイヤを制御するようにしてもよい。   The media player control unit 20 controls, for example, a music player having a music control function. Of course, the mobile phone 1 is provided with a terrestrial digital one seg / radio receiver, etc., for example, a terrestrial digital one seg player realized by executing an application program when receiving a terrestrial digital one seg broadcast wave, etc. Various media players may be controlled.

コンテンツ処理部21は、例えばメディアプレイヤ制御部20により音楽プレイヤを制御する際に、例えばAACやMP3などの符号化方式で符号化されたオーディオデータを、一旦、その符号化方式に対応する復号化方式で復号化した後、他の符号化方式(例えばSBC(Sub Band Coding)など)によって再符号化処理などを施す。   When the content processing unit 21 controls the music player by the media player control unit 20, for example, the audio data encoded by an encoding method such as AAC or MP3 is once decoded corresponding to the encoding method. After decoding by the method, re-encoding processing or the like is performed by another encoding method (for example, SBC (Sub Band Coding)).

近距離無線通信部22は、例えばブルートゥース(Bluetooth(登録商標))による無線通信を行うモジュールなどからなり、携帯電話機1の近傍に存在するヘッドセット2などと無線通信を行う。勿論、ブルートゥース以外の無線通信(例えば赤外線通信)を用いるようにしてもよい。近距離無線通信部22は、リモコンコマンド送受信部24、リモコンコマンド解析部25、リモコンコマンド通知部26、およびメディアパケット送信部27などからなる。   The short-range wireless communication unit 22 includes, for example, a module that performs wireless communication using Bluetooth (registered trademark), and performs wireless communication with the headset 2 that exists in the vicinity of the mobile phone 1. Of course, wireless communication other than Bluetooth (for example, infrared communication) may be used. The short-range wireless communication unit 22 includes a remote control command transmission / reception unit 24, a remote control command analysis unit 25, a remote control command notification unit 26, a media packet transmission unit 27, and the like.

リモコンコマンド送受信部24は、ヘッドセット2に設けられたリモコン3からの種々のリモコンコマンドを近距離無線通信を介して受信すると、受信された種々のリモコンコマンドをリモコンコマンド解析部25に供給する。また、リモコンコマンド送受信部24は、リモコンコマンド解析部25による解析結果に従って生成された応答コマンドを近距離無線通信を介してヘッドセット2に送信する。   When receiving various remote control commands from the remote control 3 provided in the headset 2 via short-range wireless communication, the remote control command transmission / reception unit 24 supplies the received various remote control commands to the remote control command analysis unit 25. In addition, the remote control command transmission / reception unit 24 transmits a response command generated according to the analysis result by the remote control command analysis unit 25 to the headset 2 via the short-range wireless communication.

リモコンコマンド解析部25は、リモコンコマンド送受信部24から供給されたリモコンコマンドをメディアプレイヤごとに応じた解釈方法にて解釈する。メディアプレイヤが音楽プレイヤである場合、メディアプレイヤの再生時に対向機器としてのヘッドセット2から受信されたリモコンコマンドが、例えば"play"、"pause"、"stop"、"fastforward"、"rewind"、"forward"、および"backward"などの各種のリモコンコマンド(メディアプレイヤ制御部20におけるメディアプレイヤの再生状態の変更を指示するコマンド)のいずれかであるかが解釈される。   The remote control command analysis unit 25 interprets the remote control command supplied from the remote control command transmission / reception unit 24 by an interpretation method corresponding to each media player. When the media player is a music player, remote control commands received from the headset 2 as the opposite device when the media player is played are, for example, “play”, “pause”, “stop”, “fastforward”, “rewind”, It is interpreted as one of various remote control commands such as “forward” and “backward” (commands for instructing the media player control unit 20 to change the playback state of the media player).

このとき、ユーザにより各種のリモコンコマンドが割り当てられたリモコン3のボタンが押下された際、そのボタンの押下とその押下の解放に対応する"press"と"release"が解釈され、各種のリモコンコマンドの開始と終了が解釈される。例えばボタンの押下とその押下の解放に対応する"fastforward−press"と"fastforward−release"が解釈され、"fastforward"のリモコンコマンドの開始と終了が解釈される。   At this time, when the user presses a button on the remote controller 3 to which various remote control commands are assigned, "press" and "release" corresponding to the press of the button and release of the press are interpreted, and various remote control commands are interpreted. The start and end of are interpreted. For example, “fastforward-press” and “fastforward-release” corresponding to the pressing and release of the button are interpreted, and the start and end of the “fastforward” remote control command are interpreted.

なお、例えば"forward"と"fastforward"のリモコンコマンドがリモコン3の同一のボタンに割り当てられている場合、ユーザにより"forward"と"fastforward"のリモコンコマンドが割り当てられたボタンが押下されると、そのボタンの押下とその押下の解放に対応する"forward−press(またはfastforward−press)"と"forward−release(またはfastforward−release)"の間隔をチェックすることによりボタンの短押しであるか長押しであるかがリモコンコマンド解析部25にて判断され、短押しであると判断された場合、ヘッドセット2から受信されたリモコンコマンドが"forward"のリモコンコマンド(曲送りのコマンド)であると解釈され、一方、長押しであると判断された場合、ヘッドセット2から受信されたリモコンコマンドが"fastforward"のリモコンコマンド(早送りのコマンド)であると解釈される。   For example, when the remote control commands “forward” and “fastforward” are assigned to the same button of the remote control 3, when the user presses the buttons assigned the remote control commands “forward” and “fastforward”, Short or long press of the button by checking the interval between "forward-press (or fastforward-press)" and "forward-release (or fastforward-release)" corresponding to pressing and releasing the button If the remote control command analysis unit 25 determines whether or not the button is pressed, and if it is determined that the button is a short press, the remote control command received from the headset 2 is a “forward” remote control command (music feed command). On the other hand, if it is determined that the key is a long press, the remote control command received from the headset 2 is a remote control command of “fastforward” (fast forward frame). ).

リモコンコマンド通知部26は、リモコンコマンド解析部25による解析結果に従い、受信されたリモコンコマンドにより示されるメディアプレイヤの再生状態の変更指示の開始または終了をメディアプレイヤ制御部20に適宜通知する。   The remote control command notification unit 26 appropriately notifies the media player control unit 20 of the start or end of the instruction to change the playback state of the media player indicated by the received remote control command according to the analysis result by the remote control command analysis unit 25.

メディアメディアパケット送信部27は、各種のメディアプレイヤとデータの符号化方式に応じたメディアパケットを生成し、生成されたメディアパケットを近距離無線通信を介してヘッドセット2に順次送信する。   The media media packet transmission unit 27 generates media packets according to various media players and data encoding methods, and sequentially transmits the generated media packets to the headset 2 via short-range wireless communication.

次に、図3のフローチャートを参照して、図2の携帯電話機1におけるメディアプレイヤ制御処理について説明する。このメディアプレイヤ制御処理は、ユーザにより入力部13が操作されることにより、近距離無線通信部22が起動されて、メディアプレイヤ(例えば音楽プレイヤなど)が実行されたときに、開始される。   Next, the media player control process in the mobile phone 1 of FIG. 2 will be described with reference to the flowchart of FIG. The media player control process is started when the short distance wireless communication unit 22 is activated by the user operating the input unit 13 and a media player (for example, a music player) is executed.

ステップS1において、近距離無線通信部23のリモコンコマンド送受信部24は、制御部11の制御に従い、対向機器としてのヘッドセット2から送信されるリモコンコマンドの受信を待つ。ステップS2において、リモコンコマンド送受信部24は、無線通信によりヘッドセット2からリンクロスの発生に伴うリンクロス切断通知を受信したか否かを判定することにより、携帯電話機1とヘッドセット2との間においてリンクロスが発生したか否かを判定する。なお、携帯電話機1とヘッドセット2との距離が大きくなることにより、ヘッドセット2との接続がロスした状態であるリンクロスが発生する。また、このようなリンクロスなどの状況を「リモコンコマンドを受信することができない状況」と定義する。   In step S <b> 1, the remote control command transmission / reception unit 24 of the short-range wireless communication unit 23 waits for reception of a remote control command transmitted from the headset 2 as the opposite device according to the control of the control unit 11. In step S <b> 2, the remote control command transmission / reception unit 24 determines whether or not the link loss disconnection notification accompanying the occurrence of the link loss is received from the headset 2 by wireless communication. It is determined whether or not a link loss has occurred. In addition, when the distance between the mobile phone 1 and the headset 2 is increased, a link loss that is a state in which the connection with the headset 2 is lost occurs. Further, such a situation such as link loss is defined as “a situation where a remote control command cannot be received”.

ステップS2において携帯電話機1とヘッドセット2との間においてリンクロスが発生したと判定された場合、リモコンコマンド送受信部24は、携帯電話機1とヘッドセット2との間においてリンクロスが発生した旨の判定結果をリモコンコマンド通知部26に供給する。ステップS3において、リモコンコマンド通知部26は、リモコンコマンド送受信部24から供給された携帯電話機1とヘッドセット2との間においてリンクロスが発生した旨の判定結果に基づいて、携帯電話機1とヘッドセット2との間においてリンクロスが発生したことを認識するとともに、携帯電話機1とヘッドセット2との間においてリンクロスが発生したと判定されるまでに、メディアプレイヤの再生状態の変更指示の開始を示すコマンドを上位アプリケーションプログラムとしてのメディアプレイヤにすでに通知しているか否かを判定する。   If it is determined in step S2 that a link loss has occurred between the mobile phone 1 and the headset 2, the remote control command transmission / reception unit 24 indicates that a link loss has occurred between the mobile phone 1 and the headset 2. The determination result is supplied to the remote control command notification unit 26. In step S3, the remote control command notifying unit 26 determines whether the mobile phone 1 and the headset are connected based on the determination result that the link loss has occurred between the mobile phone 1 and the headset 2 supplied from the remote control command transmitting / receiving unit 24. 2 until the link loss between the mobile phone 1 and the headset 2 is determined to have occurred, and until the media player starts to change the playback state. It is determined whether or not the command to be shown has already been notified to the media player as the upper application program.

例えば携帯電話機1とヘッドセット2との間においてリンクロスが発生したと判定されるまでに、ユーザによりヘッドセット2に設けられたリモコン3が操作されることにより、例えば"play-press"のコマンド("play"の再生状態への変更指示の開始を示すコマンド)が携帯電話機1にて受信され、"play-press"のコマンドが、メディアプレイヤ制御部20により制御される上位アプリケーションプログラムとしてのメディアプレイヤに通知されている場合、メディアプレイヤの再生状態の変更指示の開始を示すコマンドを上位アプリケーションプログラムとしてのメディアプレイヤにすでに通知していると判定される。   For example, when it is determined that a link loss has occurred between the mobile phone 1 and the headset 2, the user operates the remote control 3 provided in the headset 2, for example, a “play-press” command. (Command indicating start of change instruction to play state of “play”) is received by the mobile phone 1 and the “play-press” command is a medium as a higher-level application program controlled by the media player control unit 20 When notified to the player, it is determined that a command indicating the start of an instruction to change the playback state of the media player has already been notified to the media player as the upper application program.

一方、例えば携帯電話機1とヘッドセット2との間においてリンクロスが発生したと判定されるまでに、ユーザによりヘッドセット2に設けられたリモコン3が操作されずに、 いずれのリモコンコマンドも、メディアプレイヤ制御部20により制御される上位アプリケーションプログラムとしてのメディアプレイヤに通知されていない場合、メディアプレイヤの再生状態の変更指示の開始を示すコマンドを上位アプリケーションプログラムとしてのメディアプレイヤに通知していないと判定される。   On the other hand, for example, the remote control 3 provided in the headset 2 is not operated by the user until it is determined that a link loss has occurred between the mobile phone 1 and the headset 2, for example. If the media player as the upper application program controlled by the player control unit 20 is not notified, it is determined that the command indicating the start of the change instruction of the playback state of the media player is not notified to the media player as the upper application program. Is done.

なお、メディアプレイヤの再生状態の変更指示の開始を示すコマンドが上位アプリケーションプログラムとしてのメディアプレイヤにすでに通知していると判定された場合では、リンクロスの発生に伴い、メディアプレイヤの再生状態の変更指示の開始を示すコマンドのみが、上位アプリケーションプログラムとしてのメディアプレイヤに通知されているにもかかわらず、そのリモコンコマンドと対となるメディアプレイヤの再生状態の変更指示の終了を示すコマンドがメディアプレイヤに通知されていないという状況がメディアプレイヤにて生じている。   When it is determined that the command indicating the start of the instruction to change the playback state of the media player has already been notified to the media player as the higher-level application program, the change of the playback state of the media player is accompanied by the occurrence of a link loss. Even though only the command indicating the start of the instruction is notified to the media player as the higher-level application program, the command indicating the end of the instruction to change the playback state of the media player paired with the remote control command is sent to the media player. There is a situation in the media player that the notification is not made.

ステップS3においてメディアプレイヤの再生状態の変更指示の開始を示すコマンドを上位アプリケーションプログラムとしてのメディアプレイヤにすでに通知していると判定された場合、リモコンコマンド通知部26はステップS4で、すでに通知済みのメディアプレイヤの再生状態の変更指示の開始を示すコマンドと対となる、メディアプレイヤの変更指示の終了のコマンドを、上位アプリケーションプログラムとしてのメディアプレイヤに通知する。   If it is determined in step S3 that the command indicating the start of the instruction to change the playback state of the media player has already been notified to the media player as the higher-level application program, the remote control command notification unit 26 has already been notified in step S4. A media player change command end command, which is paired with a command indicating the start of the media player playback state change instruction, is notified to the media player as the higher-level application program.

例えば"play-press"のコマンド("play"の再生状態への変更指示の開始を示すコマンド)が、メディアプレイヤ制御部20により制御される上位アプリケーションプログラムとしてのメディアプレイヤにすでに通知されている場合、"play-press"のコマンドと対となる"play-release"のコマンドがメディアプレイヤに通知される。   For example, when a “play-press” command (a command indicating the start of an instruction to change “play” to the playback state) has already been notified to a media player as a higher-level application program controlled by the media player control unit 20 , A “play-release” command that is paired with a “play-press” command is notified to the media player.

また、"fastforward-press"のコマンド("play"の再生状態への変更指示の開始を示すコマンド)が、メディアプレイヤ制御部20により制御される上位アプリケーションプログラムとしてのメディアプレイヤにすでに通知されている場合、"fastforward -press"のコマンドと対となる"fastforward-release"のコマンドがメディアプレイヤに通知される。   In addition, a “fastforward-press” command (a command indicating the start of an instruction to change “play” to a playback state) has already been notified to a media player as a higher-level application program controlled by the media player control unit 20. In this case, the media player is notified of the “fastforward-release” command that is paired with the “fastforward-press” command.

ステップS3においてメディアプレイヤの再生状態の変更指示の開始を示すコマンドを上位アプリケーションプログラムとしてのメディアプレイヤに通知していないと判定された場合、ステップS4の処理はスキップされる。その後、処理はステップS1に戻り、ステップS1以降の処理が繰り返し実行される。   If it is determined in step S3 that a command indicating the start of the instruction to change the playback state of the media player has not been sent to the media player as the higher-level application program, the processing in step S4 is skipped. Thereafter, the process returns to step S1, and the processes after step S1 are repeatedly executed.

一方、ステップS2において携帯電話機1とヘッドセット2との間においてリンクロスが発生していないと判定された場合、リモコンコマンド送受信部24はステップS5で、新たなリモコンコマンド(例えば"fastforward"などのコマンド)をヘッドセット2から受信したか否かを判定する。   On the other hand, if it is determined in step S2 that no link loss has occurred between the mobile phone 1 and the headset 2, the remote control command transmission / reception unit 24 selects a new remote control command (for example, “fastforward” or the like) in step S5. Command) is received from the headset 2.

ステップS5において新たなリモコンコマンドをヘッドセット2から受信したと判定された場合、リモコンコマンド送受信部24はステップS6で受信されたリモコンコマンドをリモコンコマンド解析部25に供給する。リモコンコマンド解析部25は、取得されたリモコンコマンドを、メディアプレイヤごとに応じた解釈方法にて解釈する。具体的には、メディアプレイヤの再生時に対向機器としてのヘッドセット2から受信されたリモコンコマンドが、例えば"play"、"pause"、"stop"、"fastforward"、"rewind"、"forward"、および"backward"などの各種のリモコンコマンド(メディアプレイヤ制御部20により制御されるメディアプレイヤの再生状態の変更を指示するコマンド)のいずれかであるかが解釈される。   When it is determined in step S5 that a new remote control command has been received from the headset 2, the remote control command transmission / reception unit 24 supplies the remote control command received in step S6 to the remote control command analysis unit 25. The remote control command analysis unit 25 interprets the acquired remote control command by an interpretation method corresponding to each media player. Specifically, remote control commands received from the headset 2 as the opposite device during playback of the media player are, for example, “play”, “pause”, “stop”, “fastforward”, “rewind”, “forward”, And various remote control commands such as “backward” (commands to change the playback state of the media player controlled by the media player control unit 20).

リモコンコマンド通知部26は、リモコンコマンド解析部25による解析結果に従い、受信された新たなリモコンコマンドをメディアプレイヤ制御部20(すなわち、メディアプレイヤ制御部20により制御される上位アプリメーションプログラムとしての例えば音楽プレイヤ)に通知する。これにより、ヘッドセット2から送信されてくるリモコンコマンドを順次メディアプレイヤに通知することができ、そのリモコンコマンドにより指示される再生状態に変更することができる。   The remote control command notifying unit 26 sends the received new remote control command to the media player control unit 20 (that is, for example music as a higher-level application program controlled by the media player control unit 20) according to the analysis result by the remote control command analysis unit 25. Player). As a result, the remote control commands transmitted from the headset 2 can be sequentially notified to the media player, and the playback state instructed by the remote control command can be changed.

一方、ステップS5において新たなリモコンコマンドをヘッドセット2から受信していないと判定された場合、ステップS6の処理はスキップされる。その後、処理はステップS1に戻り、ステップS1以降の処理が繰り返し実行される。   On the other hand, if it is determined in step S5 that a new remote control command has not been received from the headset 2, the process in step S6 is skipped. Thereafter, the process returns to step S1, and the processes after step S1 are repeatedly executed.

本発明の実施形態においては、無線通信によりヘッドセット2からリンクロスの発生に伴うリンクロス切断通知を受信したか否かを判定することにより、携帯電話機1とヘッドセット2との間においてリンクロスが発生したか否かを判定し、携帯電話機1とヘッドセット2との間においてリンクロスが発生したと判定された場合、携帯電話機1とヘッドセット2との間においてリンクロスが発生したと判定されるまでに、メディアプレイヤの再生状態の変更指示の開始を示すコマンドを上位アプリケーションプログラムとしてのメディアプレイヤにすでに通知しているか否かを判定するとともに、メディアプレイヤの再生状態の変更指示の開始を示すコマンドをメディアプレイヤにすでに通知していると判定された場合、すでに通知済みのメディアプレイヤの再生状態の変更指示の開始を示すコマンドと対となる、メディアプレイヤの変更指示の終了のコマンドを、上位アプリケーションプログラムとしてのメディアプレイヤに通知することができる。   In the embodiment of the present invention, the link loss between the mobile phone 1 and the headset 2 is determined by determining whether or not the link loss disconnection notification accompanying the occurrence of the link loss is received from the headset 2 by wireless communication. If it is determined that a link loss has occurred between the mobile phone 1 and the headset 2, it is determined that a link loss has occurred between the mobile phone 1 and the headset 2. Until it is determined whether or not a command indicating the start of the change instruction of the playback state of the media player has already been notified to the media player as the higher-level application program, the start of the change instruction of the playback state of the media player is started. If it is determined that the command indicated has already been notified to the media player, A command pair that indicates the start of the change instruction reproduction state of Iapureiya, the end of the command instruction to change the media player can be notified to the media player as an upper application program.

これにより、リンクロスなどが発生することによって、リモコンからのコマンドの開始と終了を適切に受け取ることが困難な状況が発生したとしても、対となるリモコンコマンドの開始と終了を上位アプリケーションプログラムとしてのメディアプレイヤにて受け取ることができ、メディアプレイヤにてリモコンからのコマンドを解釈することができないという状況を回避することができ、リモコンコマンドを好適に解釈することができる。   As a result, even if it is difficult to properly receive the start and end of the command from the remote controller due to the occurrence of link loss, the start and end of the paired remote control command is It can be received by the media player, a situation in which the command from the remote control cannot be interpreted by the media player can be avoided, and the remote control command can be suitably interpreted.

従って、メディアプレイヤを対向機器のリモコンにより制御する場合における利用性を向上させることができる。   Accordingly, it is possible to improve the usability when the media player is controlled by the remote controller of the opposite device.

ところで、携帯電話機1とヘッドセット2との間でリンクロスが発生しない場合であっても、リモコンからのコマンドの開始と終了を適切に受け取ることが困難な状況が発生し得る。例えばメディアプレイヤの再生状態の変更指示の開始を示すコマンド(例えば"play-press"のコマンド)をメディアプレイヤに通知した状態で、さらに、メディアプレイヤの再生状態の変更指示の開始を示すコマンド(例えば"play-press"のコマンド)を受信したような場合、先に受信されたリモコンコマンドと対となるメディアプレイヤの再生状態の変更指示の終了を示すコマンドを受信できておらず、そのままメディアプレイヤに通知してしまうと、メディアプレイヤにてリモコンからのコマンドを適切に解釈することが困難となる。そこで、このような場合、先に受信されたリモコンコマンドと対となるメディアプレイヤの再生状態の変更指示の終了を示すコマンドをメディアプレイヤに通知するとともに、その後さらに、後に受信されたメディアプレイヤの再生状態の変更指示の開始を示すコマンドをメディアプレイヤに通知するようにする。これにより、対となるリモコンコマンドの開始と終了を上位アプリケーションプログラムとしてのメディアプレイヤにて受け取ることが可能となり、メディアプレイヤにてリモコンからのコマンドを解釈することができないという状況を回避することができる。以下、この方法を用いたメディアプレイヤ制御処理について説明する。   By the way, even if a link loss does not occur between the mobile phone 1 and the headset 2, a situation in which it is difficult to appropriately receive the start and end of the command from the remote controller may occur. For example, a command (for example, a “play-press” command) indicating the start of a change instruction for the playback state of the media player is notified to the media player, and further, a command (for example, a start instruction for changing the playback state of the media player) When a “play-press” command is received, a command indicating the end of the instruction to change the playback state of the media player paired with the previously received remote control command has not been received, and If notified, it becomes difficult for the media player to properly interpret the command from the remote control. Therefore, in such a case, a command indicating the end of the instruction to change the playback state of the media player that is paired with the previously received remote control command is notified to the media player, and then the playback of the media player received later is further performed. A command indicating the start of a state change instruction is notified to the media player. As a result, the start and end of the paired remote control commands can be received by the media player as the higher-level application program, and the situation where the media player cannot interpret the commands from the remote control can be avoided. . Hereinafter, a media player control process using this method will be described.

図4のフローチャートを参照して、図2の携帯電話機1におけるメディアプレイヤ制御処理について説明する。なお、図4のステップS11乃至S15、およびステップS18の処理は、図3のステップS1乃至S6の処理と同様であり、その説明は繰り返しになるので省略する。   With reference to the flowchart of FIG. 4, the media player control processing in the mobile phone 1 of FIG. 2 will be described. Note that the processing in steps S11 to S15 and step S18 in FIG. 4 is the same as the processing in steps S1 to S6 in FIG.

ステップS15において新たなリモコンコマンドをヘッドセット2から受信したと判定された場合、リモコンコマンド通知部26はステップS16で、リモコンコマンド解析部25による解析結果に従い、メディアプレイヤの再生状態の変更指示の開始を示すコマンド(例えば"play-press"のコマンド)をメディアプレイヤに通知した状態で、さらに、メディアプレイヤの再生状態の変更指示の開始を示すコマンド(例えば"play-press"のコマンド)を受信したか否かを判定する。   When it is determined in step S15 that a new remote control command has been received from the headset 2, the remote control command notification unit 26 starts an instruction to change the playback state of the media player in step S16 according to the analysis result by the remote control command analysis unit 25. Command (for example, “play-press” command) is notified to the media player, and further, a command (for example, “play-press” command) indicating the start of the media player playback state change instruction is received. It is determined whether or not.

ステップS16においてメディアプレイヤの再生状態の変更指示の開始を示すコマンドをメディアプレイヤに通知した状態で、さらに、メディアプレイヤの再生状態の変更指示の開始を示すコマンドを受信したと判定された場合、リモコンコマンド通知部26はステップS17で、先に受信されたリモコンコマンドと対となるメディアプレイヤの再生状態の変更指示の終了を示すコマンドをメディアプレイヤに通知するとともに、その後さらに、後に受信されたメディアプレイヤの再生状態の変更指示の開始を示すコマンドをメディアプレイヤに通知する。   If it is determined in step S16 that the command indicating the start of the change instruction of the media player is informed to the media player and it is further determined that the command indicating the start of the instruction to change the playback state of the media player is received, In step S17, the command notification unit 26 notifies the media player of a command indicating the end of the instruction to change the playback state of the media player that is paired with the previously received remote control command, and then further receives the media player received later. The media player is notified of a command indicating the start of the playback state change instruction.

例えばメディアプレイヤの再生状態の変更指示の開始を示すコマンド(例えば"play-press"のコマンド)をメディアプレイヤに通知した状態で、さらに、メディアプレイヤの再生状態の変更指示の開始を示すコマンド(例えば"play-press"のコマンド)を受信した場合、先に受信されたリモコンコマンドと対となるメディアプレイヤの再生状態の変更指示の終了を示すコマンド("play-release"のコマンド)がメディアプレイヤに通知されるとともに、その後さらに、後に受信されたメディアプレイヤの再生状態の変更指示の開始を示すコマンド(play-press"のコマンド)がメディアプレイヤに通知される。   For example, a command (for example, a “play-press” command) indicating the start of a change instruction for the playback state of the media player is notified to the media player, and further, a command (for example, a start instruction for changing the playback state of the media player) When the “play-press” command is received, a command (“play-release” command) indicating the end of the instruction to change the playback state of the media player that is paired with the previously received remote control command is sent to the media player. In addition to the notification, the media player is then notified of a command (play-press "command) indicating a start of a media player playback state change instruction received later.

これにより、先に受信されたリモコンコマンド(例えば"play-press"のコマンド)と対となるメディアプレイヤの再生状態の変更指示の終了を示すコマンド("play-release"のコマンド)を受信できていない状況を解消することができ、対となるリモコンコマンドの開始と終了(例えば"play-press"のコマンドと"play-release"のコマンド)をメディアプレイヤにて受け取ることができる。従って、メディアプレイヤにてリモコンからのコマンドを解釈することができないという状況をより好適に回避することができ、リモコンコマンドを好適に解釈することができる。その結果、メディアプレイヤを対向機器のリモコンにより制御する場合における利用性をより向上させることができる。   As a result, the command ("play-release" command) indicating the end of the instruction to change the playback state of the media player that is paired with the previously received remote control command (for example, "play-press" command) can be received. This situation can be resolved, and the start and end of a pair of remote control commands (for example, a “play-press” command and a “play-release” command) can be received by the media player. Therefore, the situation where the media player cannot interpret the command from the remote control can be avoided more preferably, and the remote control command can be interpreted appropriately. As a result, it is possible to further improve the usability when the media player is controlled by the remote controller of the opposite device.

その後、処理はステップS1に進む。   Thereafter, the process proceeds to step S1.

一方、ステップS16においてメディアプレイヤの再生状態の変更指示の開始を示すコマンドをメディアプレイヤに通知した状態で、さらに、メディアプレイヤの再生状態の変更指示の開始を示すコマンドを受信していないと判定された場合、処理はステップS18に進み、ステップS18において通常のリモコンコマンド通知処理が行われる。   On the other hand, it is determined that the command indicating the start of the change instruction of the playback state of the media player is notified to the media player in step S16, and further, the command indicating the start of the instruction of changing the playback state of the media player is not received. If so, the process proceeds to step S18, and a normal remote control command notification process is performed in step S18.

なお、図4のフローチャートを参照して説明したメディアプレイヤ制御処理においては、ステップS16の処理で、メディアプレイヤの再生状態の変更指示の開始を示すコマンドをメディアプレイヤに通知した状態で、さらに、メディアプレイヤの再生状態の変更指示の開始を示すコマンドを受信したと判定された場合、先に受信されたリモコンコマンドと対となるメディアプレイヤの再生状態の変更指示の終了を示すコマンドをメディアプレイヤに通知するとともに、その後さらに、後に受信されたメディアプレイヤの再生状態の変更指示の開始を示すコマンドをメディアプレイヤに通知するようにしたが、このような場合に限られず、後に受信されたメディアプレイヤの再生状態の変更指示の開始を示すコマンドをメディアプレイヤに通知することなく破棄するようにしてもよい。   In the media player control process described with reference to the flowchart of FIG. 4, in the process of step S16, a command indicating the start of the instruction to change the playback state of the media player is notified to the media player. If it is determined that a command indicating the start of the player's playback state change instruction has been received, the media player is notified of a command indicating the end of the playback state change instruction of the media player that is paired with the previously received remote control command. In addition, after that, a command indicating the start of the instruction to change the playback state of the media player received later is notified to the media player. However, the present invention is not limited to such a case, and playback of the media player received later is performed. A command indicating the start of the state change instruction is sent to the media player. It may be discarded without.

この場合における処理は図5のフローチャートに示されている。なお、図5のステップS21乃至S26、およびステップS28の処理は図4のステップS11乃至S16、およびステップS18と同様であり、その説明は繰り返しになるので省略する。   The processing in this case is shown in the flowchart of FIG. 5 are the same as steps S11 to S16 and step S18 in FIG. 4, and the description thereof is omitted because it is repeated.

ステップS26においてメディアプレイヤの再生状態の変更指示の開始を示すコマンドをメディアプレイヤに通知した状態で、さらに、メディアプレイヤの再生状態の変更指示の開始を示すコマンドを受信したと判定された場合、リモコンコマンド通知部26はステップS27で、後に受信されたメディアプレイヤの再生状態の変更指示の開始を示すコマンドをメディアプレイヤに通知することなく破棄する。例えばメディアプレイヤの再生状態の変更指示の開始を示すコマンド(例えば"play-press"のコマンド)をメディアプレイヤに通知した状態で、さらに、メディアプレイヤの再生状態の変更指示の開始を示すコマンド(例えば"play-press"のコマンドや"fastforward-press"のコマンド)を受信した場合、後に受信されたメディアプレイヤの再生状態の変更指示の開始を示すコマンド(play-press"のコマンド)がメディアプレイヤに通知されることなく破棄される。これにより、メディアプレイヤの再生状態の変更指示の開始を示すコマンドが重ねて受信された場合であっても、先に受信されたリモコンコマンドを優先的にメディアプレイヤにて解釈して処理することができ、メディアプレイヤにてリモコンからのコマンドを適切に解釈することができないという状況を回避することができ、リモコンコマンドを好適に解釈することができる。その結果、メディアプレイヤを対向機器のリモコンにより制御する場合における利用性をより向上させることができる。   If it is determined in step S26 that a command indicating the start of the instruction to change the playback state of the media player has been sent to the media player and it is further determined that a command indicating the start of the instruction to change the playback state of the media player has been received, In step S27, the command notification unit 26 discards the command received later, which indicates the start of the instruction to change the playback state of the media player, without notifying the media player. For example, a command (for example, a “play-press” command) indicating the start of a change instruction for the playback state of the media player is notified to the media player, and further, a command (for example, a start instruction for changing the playback state of the media player) When a “play-press” command or “fastforward-press” command is received, the media player receives a command (play-press command) indicating the start of a media player playback state change instruction received later. As a result, even if a command indicating the start of the instruction to change the playback state of the media player is repeatedly received, the previously received remote control command is preferentially received by the media player. That the media player cannot properly interpret the command from the remote control. Can avoid the situation, a remote control command can be suitably interpreted. As a result, it is possible to improve the usability in the case of control by the associated apparatus for the remote control of the media player.

このとき、先に受信されたリモコンコマンドと対となるメディアプレイヤの再生状態の変更指示の終了を示すコマンドをメディアプレイヤに通知するようにしてもよいし、通知せずにヘッドセット2からそのリモコンコマンドの受信を待つようにしてもよい。   At this time, a command indicating the end of the instruction to change the playback state of the media player that is paired with the previously received remote control command may be notified to the media player, or the headset 2 may notify the remote controller without notification. You may make it wait for reception of a command.

なお、図6のフローチャートに示されるように、メディアプレイヤの再生状態の変更指示の開始を示すコマンドをメディアプレイヤに通知した状態で、さらに、メディアプレイヤの再生状態の変更指示の開始を示すコマンドを受信したと判定された場合、ステップS37においてリモコンコマンド通知部26が、後に受信されたリモコンコマンドが先に受信されたリモコンコマンドと同一の再生状態への変更指示の開始を示すコマンドであるか否かをさらに判定し、ステップS37において先に受信されたリモコンコマンド(例えば"play-press"のコマンド)と同一の再生状態への変更指示の開始を示すコマンド(例えば"play-press"のコマンド)であると判定された場合、ステップS38でリモコンコマンド通知部26が後に受信されたリモコンコマンドを破棄する一方、先に受信されたリモコンコマンド(例えば"play-press"のコマンド)と異なる再生状態への変更指示の開始を示すコマンド(例えば"fastforward-press"のコマンド)であると判定された場合、ステップS39でリモコンコマンド通知部26が、先に受信されたリモコンコマンドと対となるメディアプレイヤの再生状態の変更指示の終了を示すコマンド(例えば"play-release"のコマンド)をメディアプレイヤに通知するとともに、その後さらに、後に受信されたメディアプレイヤの再生状態の変更指示の開始を示すコマンド(例えば"fastforward-press"のコマンド)をメディアプレイヤに通知するようにしてもよい。   Note that, as shown in the flowchart of FIG. 6, in a state where a command indicating the start of the change instruction of the playback state of the media player is notified to the media player, a command indicating the start of the instruction of changing the playback state of the media player is further provided. If it is determined that the remote control command is received, in step S37, the remote control command notifying unit 26 determines whether the remote control command received later is a command indicating the start of an instruction to change to the same playback state as the previously received remote control command. Is further determined, and a command (for example, a “play-press” command) indicating the start of a change instruction to the same playback state as the remote control command (for example, a “play-press” command) previously received in step S37. If it is determined that the remote control command notification unit 26 received the remote control command later in step S38. While the command is discarded, it is determined that the command indicates the start of a change instruction to change to a playback state different from the previously received remote control command (eg, “play-press” command) (eg, “fastforward-press” command) In step S39, the remote control command notifying unit 26 sends a command (for example, a “play-release” command) indicating the end of the instruction to change the playback state of the media player that is paired with the previously received remote control command to the media. In addition to notifying the player, a command (for example, a “fastforward-press” command) indicating the start of an instruction to change the playback state of the media player received later may be further notified to the media player.

これにより、メディアプレイヤの再生状態の変更指示の開始を示すコマンドが重ねて受信された場合に、同一の再生状態への変更指示であるときには先に受信されたリモコンコマンドを優先的にメディアプレイヤにて解釈して処理するとともに、異なる再生状態への変更指示であるときには順次リモコンコマンドをメディアプレイヤにて解釈して処理することができ、メディアプレイヤにてリモコンからのコマンドを適切に解釈することができないという状況を回避することができ、リモコンコマンドをより好適に解釈することができる。その結果、メディアプレイヤを対向機器のリモコンにより制御する場合における利用性をより向上させることができる。   As a result, when a command indicating the start of the instruction to change the playback state of the media player is repeatedly received, if the command is to change to the same playback state, the previously received remote control command is preferentially given to the media player. The remote control commands can be sequentially interpreted and processed by the media player when the instruction is to change to a different playback state, and the media player can appropriately interpret the commands from the remote control. It is possible to avoid the situation where it is impossible to interpret the remote control command more suitably. As a result, it is possible to further improve the usability when the media player is controlled by the remote controller of the opposite device.

なお、本発明の実施形態においては、メディアプレイヤとして音楽プレイヤについて明示的に記載したが、このような場合に限られず、他のメディアプレイヤにも適用することができる。   In the embodiment of the present invention, the music player is explicitly described as the media player. However, the present invention is not limited to such a case, and can be applied to other media players.

なお、本発明は、携帯電話機1以外にも、PDA(Personal Digital Assistant)、パーソナルコンピュータ、携帯型ゲーム機、携帯型音楽再生機、携帯型動画再生機、その他の情報処理装置にも適用することができる。   The present invention can be applied to a PDA (Personal Digital Assistant), a personal computer, a portable game machine, a portable music player, a portable video player, and other information processing apparatuses in addition to the cellular phone 1. Can do.

また、本発明の実施形態において説明した一連の処理は、ソフトウェアにより実行させることもできるが、ハードウェアにより実行させることもできる。   The series of processes described in the embodiments of the present invention can be executed by software, but can also be executed by hardware.

さらに、本発明の実施形態では、フローチャートのステップは、記載された順序に沿って時系列的に行われる処理の例を示したが、必ずしも時系列的に処理されなくとも、並列的あるいは個別実行される処理をも含むものである。   Furthermore, in the embodiment of the present invention, the steps of the flowchart show an example of processing performed in time series in the order described, but parallel or individual execution is not necessarily performed in time series. The processing to be performed is also included.

1…携帯電話機、2…ヘッドセット、3…リモコン、11…制御部、12…表示部、13…入力部、14…記憶部、15…無線電話通信部、16…信号処理部、17…PCMコーデック、18…マイクロフォン、19…スピーカ、20…メディアプレイヤ制御部、21…コンテンツ処理部、22…近距離無線通信部、23…バス、24…リモコンコマンド送受信部、25…リモコンコマンド解析部、26…リモコンコマンド通知部、27…メディアパケット送信部。   DESCRIPTION OF SYMBOLS 1 ... Mobile phone, 2 ... Headset, 3 ... Remote control, 11 ... Control part, 12 ... Display part, 13 ... Input part, 14 ... Memory | storage part, 15 ... Radio telephone communication part, 16 ... Signal processing part, 17 ... PCM Codec, 18 ... Microphone, 19 ... Speaker, 20 ... Media player control unit, 21 ... Content processing unit, 22 ... Short-range wireless communication unit, 23 ... Bus, 24 ... Remote control command transmission / reception unit, 25 ... Remote control command analysis unit, 26 ... remote control command notification unit, 27 ... media packet transmission unit.

Claims (4)

対向機器が送信した所定のアプリケーションプログラムの再生状態の変更を指示するリモコンコマンドを、無線通信を介して受信する受信手段と、
前記受信手段により受信された前記リモコンコマンドを解析する解析手段と、
受信された前記リモコンコマンドを前記所定のアプリケーションプログラムに通知する通知手段とを備え、
前記通知手段は、再生状態の変更指示の開始を示す前記リモコンコマンドを前記所定のアプリケーションプログラムに通知した後に、再生状態の変更指示の開始を示す前記リモコンコマンドをさらに受信した場合、すでに前記所定のアプリケーションプログラムに通知した再生状態の変更指示の開始を示す前記リモコンコマンドと対となる、再生状態の変更指示の終了を示す前記リモコンコマンドを前記所定のアプリケーションプログラムに通知するとともに、後に受信された再生状態の変更指示の開始を示す前記リモコンコマンドを前記所定のアプリケーションプログラムに通知することを特徴とする情報処理装置。
Receiving means for receiving, via wireless communication, a remote control command for instructing a change in the playback state of a predetermined application program transmitted by the opposite device;
Analyzing means for analyzing the remote control command received by the receiving means;
Notification means for notifying the predetermined application program of the received remote control command,
The notification means, when notifying the predetermined application program of the remote control command indicating the start of the reproduction state change instruction and further receiving the remote control command indicating the start of the reproduction state change instruction, Notifying the predetermined application program of the remote control command indicating the end of the playback state change instruction, which is paired with the remote control command indicating the start of the playback state change instruction notified to the application program, and the playback received later An information processing apparatus that notifies the predetermined application program of the remote control command indicating the start of a state change instruction.
対向機器が送信した所定のアプリケーションプログラムの再生状態の変更を指示するリモコンコマンドを、無線通信を介して受信する受信手段と、
前記受信手段により受信された前記リモコンコマンドを解析する解析手段と、
受信された前記リモコンコマンドを前記所定のアプリケーションプログラムに通知する通知手段とを備え、
前記通知手段は、再生状態の変更指示の開始を示す前記リモコンコマンドを前記所定のアプリケーションプログラムに通知した後に、再生状態の変更指示の開始を示す前記リモコンコマンドをさらに受信した場合、後に受信された再生状態の変更指示の開始を示す前記リモコンコマンドを破棄することを特徴とする情報処理装置。
Receiving means for receiving, via wireless communication, a remote control command for instructing a change in the playback state of a predetermined application program transmitted by the opposite device;
Analyzing means for analyzing the remote control command received by the receiving means;
Notification means for notifying the predetermined application program of the received remote control command,
The notifying means receives the remote control command indicating the start of the playback state change instruction to the predetermined application program, and then receives the remote control command indicating the start of the playback state change instruction, and then received the remote control command. An information processing apparatus that discards the remote control command indicating the start of a reproduction state change instruction.
対向機器が送信した所定のアプリケーションプログラムの再生状態の変更を指示するリモコンコマンドを、無線通信を介して受信する受信手段と、
前記受信手段により受信された前記リモコンコマンドを解析する解析手段と、
受信された前記リモコンコマンドを前記所定のアプリケーションプログラムに通知する通知手段とを備え、
前記通知手段は、再生状態の変更指示の開始を示す前記リモコンコマンドを前記所定のアプリケーションプログラムに通知した後に、再生状態の変更指示の開始を示す前記リモコンコマンドをさらに受信した場合、後に受信された前記リモコンコマンドにより変更指示の開始が示される再生状態と、先に受信された前記リモコンコマンドにより変更指示の開始が示される再生状態とが同一であるときには、後に受信された再生状態の変更指示の開始を示す前記リモコンコマンドを破棄することを特徴とする情報処理装置。
Receiving means for receiving, via wireless communication, a remote control command for instructing a change in the playback state of a predetermined application program transmitted by the opposite device;
Analyzing means for analyzing the remote control command received by the receiving means;
Notification means for notifying the predetermined application program of the received remote control command,
The notifying means receives the remote control command indicating the start of the playback state change instruction to the predetermined application program, and then receives the remote control command indicating the start of the playback state change instruction, and then received the remote control command. When the playback state in which the start of the change instruction is indicated by the remote control command and the playback state in which the start of the change instruction is indicated by the previously received remote control command are the same, the playback state change instruction received later is An information processing apparatus, wherein the remote control command indicating start is discarded.
対向機器が送信した所定のアプリケーションプログラムの再生状態の変更を指示するリモコンコマンドを、無線通信を介して受信する受信手段と、
前記受信手段により受信された前記リモコンコマンドを解析する解析手段と、
受信された前記リモコンコマンドを前記所定のアプリケーションプログラムに通知する通知手段とを備え、
前記通知手段は、再生状態の変更指示の開始を示す前記リモコンコマンドを前記所定のアプリケーションプログラムに通知した後に、再生状態の変更指示の開始を示す前記リモコンコマンドをさらに受信した場合、後に受信された前記リモコンコマンドにより変更指示の開始が示される再生状態と、先に受信された前記リモコンコマンドにより変更指示の開始が示される再生状態とが異なるときには、先に受信された再生状態の変更指示の開始を示す前記リモコンコマンドと対となる、再生状態の変更指示の終了を示す前記リモコンコマンドを前記所定のアプリケーションプログラムに通知するとともに、後に受信された再生状態の変更指示の開始を示す前記リモコンコマンドを前記所定のアプリケーションプログラムに通知することを特徴とする情報処理装置。
Receiving means for receiving, via wireless communication, a remote control command for instructing a change in the playback state of a predetermined application program transmitted by the opposite device;
Analyzing means for analyzing the remote control command received by the receiving means;
Notification means for notifying the predetermined application program of the received remote control command,
The notifying means receives the remote control command indicating the start of the playback state change instruction to the predetermined application program, and then receives the remote control command indicating the start of the playback state change instruction, and then received the remote control command. When the playback state in which the start of the change instruction is indicated by the remote control command and the playback state in which the start of the change instruction is indicated by the previously received remote control command are different, the start of the change instruction of the previously received playback state is started The remote control command indicating the end of the playback state change instruction is notified to the predetermined application program, and the remote control command indicating the start of the playback state change instruction received later is received. Notifying the predetermined application program An information processing apparatus that.
JP2011179673A 2011-08-19 2011-08-19 Information processing device Active JP5360162B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011179673A JP5360162B2 (en) 2011-08-19 2011-08-19 Information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011179673A JP5360162B2 (en) 2011-08-19 2011-08-19 Information processing device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2007127234A Division JP4846652B2 (en) 2007-05-11 2007-05-11 Information processing device

Publications (2)

Publication Number Publication Date
JP2011229193A true JP2011229193A (en) 2011-11-10
JP5360162B2 JP5360162B2 (en) 2013-12-04

Family

ID=45043955

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011179673A Active JP5360162B2 (en) 2011-08-19 2011-08-19 Information processing device

Country Status (1)

Country Link
JP (1) JP5360162B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013094020A1 (en) * 2011-12-20 2013-06-27 キヤノン株式会社 Electronic apparatus, control method, program, and recording medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0595588A (en) * 1991-10-01 1993-04-16 Matsushita Electric Ind Co Ltd Receiver and repeater for remote control system
JP2000259331A (en) * 1999-03-08 2000-09-22 Sharp Corp Radio input device
JP2002101183A (en) * 2000-09-21 2002-04-05 Sony Corp Remote control device for portable telephone and its retrieving method
JP2002176682A (en) * 2000-12-08 2002-06-21 Omron Corp Remote control system
JP2005175778A (en) * 2003-12-10 2005-06-30 Sony Corp Device and method for receiving remote control signal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0595588A (en) * 1991-10-01 1993-04-16 Matsushita Electric Ind Co Ltd Receiver and repeater for remote control system
JP2000259331A (en) * 1999-03-08 2000-09-22 Sharp Corp Radio input device
JP2002101183A (en) * 2000-09-21 2002-04-05 Sony Corp Remote control device for portable telephone and its retrieving method
JP2002176682A (en) * 2000-12-08 2002-06-21 Omron Corp Remote control system
JP2005175778A (en) * 2003-12-10 2005-06-30 Sony Corp Device and method for receiving remote control signal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013094020A1 (en) * 2011-12-20 2013-06-27 キヤノン株式会社 Electronic apparatus, control method, program, and recording medium
US8996763B2 (en) 2011-12-20 2015-03-31 Canon Kabushiki Kaisha Electronic device, control method, program, and recording medium for remotely operating electronic device
JPWO2013094020A1 (en) * 2011-12-20 2015-04-27 キヤノン株式会社 Electronic device, control method, program, and recording medium

Also Published As

Publication number Publication date
JP5360162B2 (en) 2013-12-04

Similar Documents

Publication Publication Date Title
JP4459253B2 (en) Communication terminal
JP5141546B2 (en) Information processing device
JP4645709B2 (en) Streaming data playback device with short-range wireless communication function
KR101918040B1 (en) Screen mirroring method and apparatus thereof
US7725136B2 (en) Information processing apparatus
US10425758B2 (en) Apparatus and method for reproducing multi-sound channel contents using DLNA in mobile terminal
US8082013B2 (en) Information processing apparatus and cellular phone
JP4445516B2 (en) Information processing device
JP4280272B2 (en) Information processing device
JP5360162B2 (en) Information processing device
JP4846652B2 (en) Information processing device
JP2015002394A (en) Information processing apparatus and computer program
JP4603006B2 (en) Information processing device
JP4578392B2 (en) Wireless communication connection device
JP2013197812A (en) Audio equipment control program and mobile telephone
JP2008259067A (en) Information processing apparatus
JP4796537B2 (en) Information processing device
KR20080045395A (en) Portable terminal having tv monitoring function and method for tv monitoring function in portable terminal
JP4935524B2 (en) Information processing device
JP4372180B2 (en) Information processing device
JP4930207B2 (en) Information processing device
JP5763385B2 (en) Voice communication apparatus, voice communication system, voice communication method and program
KR20140071846A (en) Method of providing auto-switching amplified audio signal output based on ear-microphone set, and computer-readable recording medium for the same
CN111385775A (en) Wireless transmission system and method thereof
KR20070049717A (en) Apparatus for wirelss connection of portable terminal and car pack

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110819

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130710

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130806

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130819

R150 Certificate of patent or registration of utility model

Ref document number: 5360162

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250