JP2004274104

Patent Translate
Powered by EPO and Google
Notice
This translation is machine-generated. It cannot be guaranteed that it is intelligible, accurate,
complete, reliable or fit for specific purposes. Critical decisions, such as commercially relevant or
financial decisions, should not be based on machine-translation output.
DESCRIPTION JP2004274104
An electronic device and a content data output control method capable of appropriately
controlling output of content data when communication with an external wireless communication
device is disconnected. SOLUTION: In a state in which content data is transmitted from a
personal computer 1 to a headset 2, when wireless communication is disconnected, the content
data is prevented from being reproduced from a speaker 107 provided in the personal computer
1. . Further, an output setting window of content data when wireless communication between the
personal computer 1 and the headset 2 is disconnected is displayed on the LCD 106, and the
output destination of the content data can be arbitrarily set. [Selected figure] Figure 1
Electronic device and content data output method
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an
electronic device capable of transmitting sound data by wireless communication and capable of
reproducing sound by its own device and a content data output method. In recent years, with the
development and diversification of communication technology, various wireless communication
networks have been developed and put into practical use, and among them, there is a wireless
communication technology called Bluetooth <TM>. Bluetooth <TM> is one of the short distance
wireless communication standards using the ISM (Industry Science Medical) band, and for
example, a personal computer (hereinafter referred to as a personal computer), a printer, a
modem, a keyboard, an audio output device Etc., and data communication between a cellular
phone and a personal computer. The use of Bluetooth <TM> eliminates the need for cables
connecting between devices, which can greatly improve the usability of various devices. Also, as
one of the systems using such Bluetooth <TM> communication, audio data (hereinafter referred
to as content data) from an electronic device such as a personal computer or a music player to an
external device such as a headphone Is known, for example, in Patent Document 1). [Patent
09-05-2019
1
Document 1] Japanese Patent Application Laid-Open No. 2002-112383 (pages 5-6, FIG. 4) [Nonpatent Document 1] TOSHIBA Dynabook SS 2000 DS75P / 2 Model Instruction Manual January
2002 Date issued (42, 44, 146) http: // dynabook. com / pc / catalog / ss / manupdf / mp1032a.
However, in the above-mentioned system, the physical distance between the electronic device
(music player) and the external device (headphones), the presence or absence of a shield, or radio
waves Depending on the state or the like, the wireless connection between the electronic device
and the external device may be suddenly cut off during reproduction output of the content data.
Also, as disclosed in Non-Patent Document 1, when an external output device such as a
headphone is connected to a device having an output means such as a speaker such as a personal
computer, the content data is reproduced and output from the headphone Therefore, the
reproduction output of the content data is not performed from the speaker provided in the
personal computer.
However, when the connection between the personal computer and the headphone is released,
the content data is reproduced and output from the speaker provided in the personal computer.
In this case, when the connection between the headphone and the personal computer is cut off,
the content data is suddenly reproduced and output from the speaker, and there is a problem
that people in the vicinity are annoyed as noise. In order to solve the above problems, the present
invention appropriately controls the output of content data when wireless communication with
an external device is disconnected when the content data is transmitted from the own device to
the external device and reproduced. An object of the present invention is to provide a possible
electronic device and a content data output method. [0011] In order to achieve the above object,
in the invention according to claim 1, the main body, processing means provided on the main
body for reproducing the content data, and processing means The output means for reproducing
and outputting the content data, the wireless communication means for transmitting the content
data processed by the processing means to the external device by wireless communication, and
either the wireless communication means or the output means for the content data processed by
the processing means And output control means for stopping output of the content data from the
output control means to the output means when the wireless communication is disconnected
when the content data is transmitted to the external device through the wireless communication
means. It is characterized by having. With such a configuration, when the content data is
transmitted from the own device to the external device and reproduced, the content data is
prevented from being output from the output unit when the wireless communication with the
external device is disconnected. It is possible to provide an electronic device that can According
to the second aspect of the present invention, the main body, processing means provided in the
main body for processing content data, output means capable of reproducing and outputting the
content data processed by the processing unit, and processing by the processing unit Wireless
communication means capable of transmitting the content data to an external device by wireless
communication; output control means for outputting the content data processed by the
processing means to either the wireless communication means or the output means; And a
09-05-2019
2
setting unit capable of setting an output process of the content data when the wireless
communication is disconnected when the content data is transmitted to the external device via
the output control unit, and the output control unit is configured to disconnect the wireless
communication. It is characterized in that the output process set by the setting means is
executed.
According to such a configuration, when the content data is transmitted from the own device to
the external device and reproduced, the electronic device capable of appropriately controlling the
output of the content data when the wireless communication with the external device is
disconnected is provided. It is possible to DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below with reference to the drawings.
First, the first embodiment will be described with reference to FIGS. 1 to 9. In the first
embodiment, when wireless transmission of content data between the electronic device and the
external device is disconnected, an example in which the output of the content data is prohibited
from the speaker provided in the electronic device explain. FIG. 1 shows a configuration diagram
of a system according to the first embodiment. The electronic device 1 is a device capable of
transmitting content data such as music to the external device 2 by wireless communication. In
the first embodiment, it is assumed that the electronic device 1 is realized by a personal
computer capable of reproducing music, and the external device 2 is realized by a wireless
headset (hereinafter referred to as a headset) 2. The headset 2 functions as an output device for
reproducing content data such as music transmitted as a stream from the personal computer 1.
Bluetooth <TM> is a standard for short distance wireless communication, and wireless
communication within 10 m (up to 100 m) using the 2.4 GHz band (2.400 to 2.4835 GHz) ISM
(Industry Science Medical) band To achieve Bluetooth <TM> uses Frequency Hopping Spread
Spectrum (FHSS) as a spread spectrum method, and one group (pico net) by time division
multiplex transmission method up to 8 devices at a communication speed of up to 1 Mbps. And
communicate. Further, the frequency of the 2.4 GHz band is divided into 79 channels having a
frequency bandwidth of 1 MHz, and the communication channel is switched 1600 times per
second to perform communication. Since this channel is randomly selected, it does not depend on
a specific frequency, and is said to be excellent in secrecy. A piconet is a system having a device
for managing a piconet called a master, a personal computer 1 in the present embodiment, and a
device called a slave managed by the master, a headset 2 in the present embodiment, and the
personal computer 1 in the present embodiment. , And transmits content data such as music to
the headset 2 so that the headset 2 can reproduce the content data.
In the present embodiment, the case of audio data as content data will be described as an
example. In the personal computer 1, a main body case 101 and a display unit case 102 are
rotatably connected via a hinge portion 103. On the upper surface of the main body case 101, a
keyboard 104 capable of inputting character information and the like as a user interface and a
09-05-2019
3
touch pad 105 as a pointing device are disposed. The display unit case 102 is provided with an
LCD (Liquid Crystal Display) 106. Further, the personal computer 1 has a wireless
communication unit and an antenna conforming to the Bluetoooth (R) standard (not shown in
FIG. 1), and can transmit content data to the headset 2 via the antenna. In addition, a speaker
107 is provided on the side of the main body case 101, and audio data such as music can be
reproduced. The headset 2 is an output device that reproduces content data transmitted from the
personal computer 1 by wireless communication and generates a sound corresponding to the
content data. The headset 2 is configured to be attachable to the head of the user. The outline of
the headset 2 is composed of a head arm 201 and two pads 202 and 203 respectively provided
at both ends as shown in the figure. A speaker is built in each of the two pads 202 and 203.
When the headset 2 is worn on the head of the user, the two pads 202 and 203 are configured to
cover the left and right ears of the user, respectively. On the outer surface of the pad 203,
operation switches not shown in FIG. 1 are provided, such as a power button, a play button, a
stop button, a forward button, a reverse button, and the like. Next, FIG. 2 shows a hardware
configuration diagram of the personal computer 1 according to the first embodiment. The
personal computer 1 is composed of devices necessary for the operation of the ordinary personal
computer 1. A central processing unit (CPU) 111 that controls the entire personal computer 1
and a first bridge circuit 112 are connected by a CPU local bus having a data bus with a 64-bit
width, for example. The connection with the memory 113 is connected via a memory bus. The
first bridge circuit 112 and the second bridge circuit 114 are connected by a high-speed bus 115
having a 32-bit data bus.
Further, the second bridge circuit 114 is connected via the USB (Universal Serial Bus) 116 with a
wireless communication unit 117 that executes wireless communication conforming to the
Bluetooth <TM> standard. Further, to the low-speed bus extended from the second bridge circuit
114, a sub microcomputer called EC (Embedded Controller) 119 is connected. The CPU 111 is a
device that refers to the operation control of the entire personal computer 1 and the contents of
the main memory 113 and executes data processing and the like based thereon. The first bridge
circuit 112 is a bridge LSI that connects the CPU local bus and the high-speed bus 115, and
functions as one of bus master devices of the high-speed bus 115. The first bridge circuit 112
has a function of converting a bus width including data and an address between the CPU 113
and a device connected to the high-speed bus 115, and performs access control of the main
memory 113 via the memory bus. It has a function, a function of transmitting display data to the
LCD 106, and performing display control. The main memory 113 stores an operating system
(OS) 120, driver software 121 for wireless communication and content data reproduction, for
example, a music reproduction application 123 for executing music reproduction, utility
software, processing data, etc. Memory device, and is configured by a plurality of DRAMs and the
like. The high speed bus 115 is a clock synchronous input / output bus, and all cycles on the high
speed bus 115 are performed in synchronization with the high speed bus clock. The high-speed
bus 115 has an address / data bus used in a time division manner. The second bridge circuit 114
09-05-2019
4
is a bridge LSI that connects the high-speed bus 115 and the low-speed bus 118, and performs
bus conversion between the high-speed bus 115 and the low-speed bus 118, and the like. In
addition, various interface controllers such as a USB controller 124, an intelligent device
electronics (IDE) controller 125, and an AC 97 controller 126 are incorporated. The USB
controller 124 is for controlling serial data transfer, and controls signal transmission / reception
with the wireless communication unit 117 connected via the USB 116.
The IDE controller 125 controls data transfer with a hard disk drive (HDD) 127 connected via an
IDE interface and an optical disk drive (not shown). Further, the AC 97 controller 126 is a
controller that performs sound processing such as audio data and modem, and is connected to an
audio codec 128 (hereinafter referred to as a codec) to transmit audio data (content data) to the
codec 128. The wireless communication unit 117 performs data modulation and demodulation
conforming to the communication standard of Bluetooth <TM>, and performs frequency hopping
control and the like in the data modulation / demodulation unit 129. The data modulated by the
data modulation / demodulation unit 129 is converted into a frequency used for wireless
communication by the RF unit 130, and is transmitted to the outside through the antenna 131.
The radio signal received via the antenna 131 is amplified by the RF unit 130, demodulated by
the data modulation / demodulation unit 129, and then transmitted to the second bridge circuit
114. For example, a flat inverted-F antenna can be used as the antenna 131, and the antenna
131 is provided on an upper portion of the display case 102 or the like. The HDD 127 is a nonvolatile data storage device, and can hold data even when the power of the personal computer 1
is turned off. The HDD 127 stores an OS, various applications, drivers, utility software, and
content data such as music and video. These data are appropriately read to the main memory
113 and processed by the CPU 114. The codec 128 performs D / A (Digital to Analog) conversion
of audio data and the like, and transmits the converted data to the amplifier 132. The amplifier
132 amplifies the analog signal output from the codec 128 and outputs the amplified signal to
the speaker 107. An EC 119 is connected to the low speed bus 118 connected to the second
bridge circuit 114. The EC 119 incorporates a plurality of register groups which can be read /
written by the CPU 111. Communication between the CPU 111 and a device connected to the EC
119 becomes possible by using these registers. In addition, functions of a keyboard controller
and a PS / 2 controller are also incorporated, and processing of signals input from the keyboard
104 connected to the EC 119 and the touch pad 105 is performed to notify a higher-level device
(such as the CPU 111).
When content data reproduction processing is performed by using the music reproduction
application 123 or the like in the personal computer having the above-described configuration,
content data such as music (audio data) can be transmitted to the headset 2 through the wireless
module 117. It is possible to transmit data) and to reproduce and output audio data from the
speaker 107. Next, FIG. 3 shows a hardware configuration of the headset 2 according to the first
09-05-2019
5
embodiment. The headset 2 is provided with a system control unit 211 that executes system
control of the headset 2, a wireless communication unit 212, a data buffer 213, and an audio
reproduction unit 214. The system control unit 211 is a processor provided to control the
operation of the headset 2 and controls the wireless communication unit 212, the audio
reproduction unit 214, and the like. In addition, the system control unit 211 includes an error
detection / correction unit that detects an error in data transmitted from the personal computer
1 and a retransmission request issuing unit. The error detection / correction unit performs error
detection and correction processing on the data received by the wireless communication unit
212. If an error that can not be corrected by the error detection / correction unit occurs, the
retransmission request issuing unit issues a retransmission request for the data. The
retransmission request is sent by the wireless communication unit 212 to the transmission
source device. The wireless communication unit 212, like the wireless communication unit 117
provided in the personal computer 1, is a module capable of executing wireless communication
according to the procedure compliant with the standard of Bluetooth <TM>. The wireless
communication unit 212 is used to receive data transmitted from the personal computer 1 as a
wireless signal. The wireless communication unit 212 is also used to transmit data when
transmitting various reproduction control signals to the personal computer 1 in response to the
operation of the operation switch 215. As shown, the wireless communication unit 212 includes
an RF unit 216 and a data modulation / demodulation unit 217. The wireless communication unit
212 converts a wireless signal received via the antenna 218 into an electrical signal by the RF
unit 216, performs demodulation processing by the data modulation / demodulation unit 217,
and transmits the demodulated signal to the system control unit 211. When the operation switch
215 or the like is operated, the data modulation / demodulation unit 217 performs modulation
processing on a signal input via the system control unit 211, and the RF unit 216 converts the
signal into a radio signal, and then the antenna It transmits to the personal computer 1 via 218.
The audio playback unit 214 receives content data such as music transmitted from the personal
computer 1 via the wireless communication unit 212, the system control unit 211, and the data
buffer 213 and incorporates the pads 202 and 203 respectively. A data reproduction process for
so-called streaming reproduction is performed, in which the speaker is converted into an electric
signal that can be output as sound. Streaming playback is a playback method in which playback
processing of content data is sequentially performed while receiving transmitted data. As
described above, the headset 2 is content data such as music transmitted from the personal
computer 1 Can be reproduced and output from the pads 202 and 203. Next, FIG. 4 shows a
configuration diagram of software and hardware relating to reproduction of content data
according to the first embodiment. In the present embodiment, when playing content data such
as music, it is possible to play the content data using the playable music playback application
123. In general, when reproducing content data, the data processed by the music reproduction
application 123 is processed using the sound driver 135 to process the content data, and output
from the speaker 107 is possible via the codec 128 and the amplifier 132. The sound driver 135
09-05-2019
6
includes one that the OS 120 has as a standard, a sound driver dedicated to a specific speaker,
and the like, but in the present embodiment, it is assumed that the sound driver conforms to the
speaker 107. When content data is output from the headset 2, a profile (communication method)
called A2DP (Advanced Audio Distribution Profile) 136 used to perform streaming reproduction
of content data such as music by Bluetooth <TM> Transmission of content data to the headset 2
is performed using A profile is a definition of the functions provided by Bluetooth <TM>, and is a
collection of protocols for communicating between devices. A sound driver (hereinafter referred
to as a BT sound driver) 137 used in wireless communication based on Bluetooth <TM> is a
content data to a device conforming to Bluetooth <TM> standard along a data communication
system based on A2DP 136 Used when sending.
The BT sound driver 137 performs content data encoding, decoding, data compression format
conversion, and the like. The A2DP 136 monitors the communication state and disconnection of
the wireless communication unit 117, and can switch from the BT sound driver 137 to the sound
driver 135 when communication disconnection occurs. Content data is passed from the music
reproduction application 123 to the sound driver 135 or the BT sound driver 137. Here, when
content data is transmitted to the headset 2 via the wireless communication unit 117, the content
data is transmitted to the headset 2 along the transmission procedure according to the A2DP
136. Further, when the content data is reproduced and output to the speaker 107, the content
data is output to the speaker 107 based on the control of the sound driver 135. Next, FIG. 5
shows a profile configuration of A2DP. The lowermost layer is the RF layers 130 and 216 as
hardware, and the data modulation / demodulation units 129 and 217. LMP (Link Manager
Protocol) 141 defined by the core protocol of Bluetooth <TM> is on top of this. , 241 and L2 CAP
(Logical Link Control and Adaptation Protocol) 142, 242, and SDP (Service Discovery Protocol)
143, 243 are configured. Furthermore, AVDTP (Audio / Video Distribution Transport Protocol)
144 and 244 for transferring A / V data streams, arbitrating stream parameters, and the like are
connected by software. The LMPs 141 and 241 manage security such as link establishment and
authentication between Bluetooth <TM> devices. The L2CAP 142, 242 sets up a logical link,
which is a data transmission path between connected devices, and assembles a packet from an
upper layer by dividing it and passing it to a lower layer and passing a packet from a lower layer
to the upper layer Etc. The SDPs 143 and 243 are protocols for inquiring about functions and
services provided by the Bluetooth device capable of wireless communication. AVDTPs 144 and
244 are protocols for providing communication adjustment for setting up stream transfer of
content data, acquisition of capabilities such as encoding and decoding of destination devices,
and methods for establishing and terminating stream transmission (channel) .
Also, the AVDTP 144 can switch between the sound driver 135 and the BT sound driver 137.
Content data is subjected to processing such as data encoding by the BT sound driver 137 having
a profile configuration on the personal computer 1 side, and then wirelessly transmitted via the
09-05-2019
7
RF unit 130 by a communication method based on AVDTP 144. The headset 2 receives data via
the RF unit 216, the AV unit DDT 244 receives data from the RF unit 216, and the BT sound
driver 245 decodes content data. Can play music. Subsequently, FIG. 6 shows a flowchart of
communication connection between the personal computer 1 and the headset 2. Immediately
after the power of the personal computer 1 is turned on or the communication link is
disconnected, the Bluetooth device is in the standby state. No data is sent or received in this
phase. The personal computer 1 broadcasts (multicasts) an inquiry packet (Inquiry packet) (step
S101). The headset 2 having received the inquiry packet sends back to the personal computer 1
a frequency hop synchronization (FHS) packet including a Bluetooth address (unique) and clock
information. In transmission and reception at this time, since agreement on the frequency
hopping pattern has not been established between the master and the slave, a fixed hopping
pattern defined only for the gap is used. When the personal computer 1 receives the FHS packet
from the headset 2 and grasps what kind of slave (headset 2) exists, an ID packet indicating an ID
unique to the personal computer 1 is given to the headset 2 It transmits (step S102). When a
response to the ID packet is returned from the headset 2, the personal computer 1 transmits an
FHS packet including the Bluetooth address (unique) of the personal computer 1 and clock
information to the headset 2, and transmits its own address and clock to the headset 2. Informing
(step S103). For the first time, the personal computer 1 and the headset 2 can share the same
hopping pattern. Subsequently, the communication connection phase starts, and the logical link
is connected between the L2CAP 141 and 241 layers from the personal computer 1 to the
headset 2 (step S104).
When receiving the notification that the connection of the logical link is established, the AVDTP
144 calls a command (BT̲Notify) for monitoring the state of connection with the headset 2 and
monitors the state of connection with the headset 2 (step S105). Subsequently, the AVDTP 144
obtains a Strem end Point (SEP) of the headset 2 (step S 106). The SEP is information indicating
the capability and resource of the communication destination device, and it is possible to perform
data conversion processing in accordance with the communication destination device (the
headset 2 in the present embodiment) with reference to the acquired SEP. Next, the personal
computer 1 determines the capability and resource information of the headset 2 based on the
SEP acquired from the headset 2 and performs communication setting such as a transmission
data format (step S 107). The communication connection between the personal computer 1 and
the headset 2 is set by the above procedure. Subsequently, setting of transmission channels of
content data between the personal computer 1 and the headset 2 is performed. A stream channel
enabling data transmission / reception between the AVDTP 144 on the personal computer 1 side
and the AVDTP 244 on the headset 2 side is established (step S108). In this case, content data
can be transmitted and received in a stream by performing arbitration of parameters for
transferring data in a stream. When the stream channel is established, encoding of content data
to be transmitted / received and initialization of decoding parameters are performed (step S109),
and stream transmission of content data becomes possible. According to the above-described
09-05-2019
8
procedure, content data can be transmitted from the personal computer 1 to the headset 2, and
in the headset 2, the received content data can be processed by the audio reproduction unit 214
and reproduced and output. However, depending on the physical distance between the personal
computer 1 and the headset 2, the presence or absence of a shield, or the radio wave condition,
the wireless connection may be suddenly cut off during reproduction output of content data by
the headset 2. As described above, processing of content data when a wireless connection is
unexpectedly disconnected (unintended wireless disconnection) will be described with reference
to FIG. FIG. 7 shows a processing flowchart at the time of disconnection of the wireless
communication according to the first embodiment. The AVDTP 144 executes a command
(BT̲Notify) for monitoring the wireless communication connection when performing the
communication connection as described with reference to FIG. 6 (step S 105 in FIG. 6).
By this command, the personal computer 1 can detect that the wireless communication has been
disconnected. In the state where transmission of content data is being performed (step S 201),
when wireless communication is disconnected (step S 202), whether or not processing for closing
the stream channel of AVDTP 144 (referred to as signaling processing) is performed. It is
determined (step S203). When wireless connection is established, the personal computer 1 and
the headset 2 logically (meaning data mutually) by executing the predetermined procedure even
when disconnecting the communication as if the stream channel was established according to the
predetermined procedure. It is possible to cut off wireless communication physically (whether it
can simply transmit and receive radio waves of wireless communication). However, in this case, it
is determined whether an unexpected (unintended) disconnection or a normal processing
(intended) disconnection is performed by determining whether or not the disconnection is
performed after executing a predetermined process. In the present embodiment, when the
AVDTP 144 needs to perform the closing process of the stream channel when performing the
disconnecting process, it is unexpected (not intended) by determining whether or not such a
predetermined process has been executed. Determine whether it is disconnection or normal
processing (intention) disconnection. If the AVDTP 144 determines that the predetermined
disconnection process has not been performed (YES in step S203), the AVDTP 144 stops the
encoding process in the BT sound driver 137 (step S204). At this time, the AVDTP 144 prohibits
switching from the BT sound driver 137 to the sound driver 135 due to disconnection of the
wireless communication (step S205). Also, the content data sent from the music reproduction
application 123 is discarded (step S206). When the AVDTP 144 performs a predetermined
process when wireless communication is disconnected (NO in step S 203), it is regarded as a
normal disconnection process, and content data may be transmitted to the BT sound driver 137.
It is stopped. Thus, in AVDTP 144, disconnection of wireless communication is monitored, and
when wireless communication is disconnected, the encoding process in BT sound driver 137 is
stopped, the content data is discarded, and BT sound driver 137 is performed. By not performing
the switching process from the above to the sound driver 135, it is possible to prevent the
content data from being reproduced and output suddenly from the speaker 107.
09-05-2019
9
In addition, since the music reproduction application 123 recognizes that the content data is
transmitted to the BT sound driver 137, the application can be prevented from being hung up.
Next, the reconnection process between the personal computer 1 and the headset 2 which is
executed when the communication is not normally disconnected will be described with reference
to FIGS. 8 and 9. FIG. 8 shows a flowchart of reconnection processing according to the first
embodiment. FIG. 9 is a diagram of a dialog window showing change of output destination
according to the first embodiment. In the case of the above-described unexpected disconnection,
the personal computer 1 and the headset 2 attempt to reconnect wireless communication. This
may be a reconnection request from the personal computer 1 or a reconnection request from the
headset 2. The details of the reconnection process are substantially the same as the process
shown in FIG. At the time of reconnection, after the L2CAP 142 is connected, re-setting is
performed based on the previously acquired SEP, and transmission and reception of content data
can be resumed by opening the streaming channel (YES in steps S301 and S302). ). When the
personal computer 1 and the headset 2 are reconnected, the music reproduction application 123
continues the reproduction process of the content data, so the BT sound driver 137 starts the
encoding process of the received content data. (Step S303), transmission of content data is
resumed (step S304). However, since the music reproduction application 123 executes the
reproduction process of the content data while the wireless communication is disconnected, the
content data is discarded while the wireless communication is interrupted. If wireless
communication can not be reconnected (NO in step S302), it is determined whether a
predetermined time has elapsed since wireless communication was disconnected (step S305).
Here, for example, 90 seconds after disconnection is set. If the predetermined time (90 seconds)
has not elapsed since the wireless communication was disconnected (NO in step S305),
reconnection processing is performed again (step S301). If a predetermined time (90 seconds)
has elapsed since the wireless communication was disconnected (YES in step S 305), it is
determined that reconnection is not possible (the radio wave condition is bad), and the speaker
107 provided in the personal computer 1 Switch the output of content data to At this time, a
dialog window is displayed on the LCD 106 of the personal computer 1 (step S306).
An example of the dialog window is shown in FIG. By notifying the user that the output
destination of the content data is to be changed using the dialog window 150, the user can grasp
that the output destination of the content data is changed. Here, when the OK button of the
dialog 150 is pressed, the termination process of the BT sound driver 137 is performed (step S
307), and the AVDTP 144 switches the BT sound driver 137 to the sound driver 135 (step S
308). As a result, content data is sent from the music reproduction application 123 to the sound
driver 135, and the content data is output from the speaker 107 (step S309). As described above,
in the first embodiment, even if transmission of content data transmitted from the personal
computer 1 is interrupted unexpectedly due to a radio wave condition or the like in the personal
09-05-2019
10
computer 1 or the headset 2, It prohibits playback and output of content data from the speaker
107 provided in the personal computer 1. Furthermore, it tries to reconnect the wireless
communication with the headset 2. Further, it tries to reconnect for a predetermined time, and
when the reconnection is not possible, the content data can be output from the speaker 107
provided in the personal computer. As described above, according to the first embodiment, it is
possible to prevent the content data from being suddenly output from the speaker of the
personal computer when the wireless communication between the electronic device and the
external device is disconnected. is there. Subsequently, a second embodiment of the present
invention will be described. The second embodiment is an example in which processing of
content data when wireless communication between an electronic device and an external device
is disconnected can be appropriately set by the user. The hardware configuration of the second
embodiment also shows an example in which the personal computer 1 is used as the electronic
device and the headset 2 is used as the external device as in the first embodiment. Therefore, the
description of the hardware and software described above is omitted. FIG. 10 shows a content
data output setting window according to the second embodiment. The sound output setting
window 160 is provided with wireless device priority mode 161 and main body speaker
priority mode 162 as setting of processing of content data when wireless communication is
unexpectedly disconnected. This window may be realized by a dedicated utility or may be
realized as a specific application.
The wireless device priority mode 161 is a mode in which, when wireless communication
between the personal computer 1 and the headset 2 is disconnected, a reconnection is attempted
and priority is given to content data from the wireless device. In this case, when the wireless
communication is disconnected, the output of the content data from the speaker 107 is
prohibited as in the first embodiment. In addition, on this setting screen, a timeout setting unit
163 for setting a timeout time for wireless reconnection and a check box 164 capable of
stopping the operation of the music playback application 123 when wireless communication is
disconnected are provided as options. ing. The timeout setting unit 163 is a setting unit capable
of setting the predetermined time determined in step S305 of FIG. If the time taken for the
reconnection process reaches the time set here or more, the output of content data is switched to
the speaker 107 provided in the personal computer 1. In the check box 164, the AVDTP 144,
which has stopped reproduction processing of content data by the music reproduction
application 123 when wireless communication is disconnected, issues a reproduction processing
stop instruction to the music reproduction application 123. Therefore, when the wireless
reconnection is successful, the reproduction of the content data is performed from the
disconnected point. When wireless communication with the headset 2 is disconnected, the main
body speaker priority mode 162 switches from the BT sound driver 137 to the sound driver 135,
and the reproduction output of content data from the speaker 107 provided in the personal
computer 1 is performed. It is a mode to do. In this setting screen, a check box 166 capable of
outputting content data by fade-in processing (processing to gradually increase the volume from
09-05-2019
11
a small volume) is provided as an option when switching to the output from the speaker 107 .
When the check box 166 is checked, after switching to the sound driver 135, the output of the
content data is reproduced and output by fade-in processing. The above settings are stored in the
main memory 113, and are referred to when wireless communication between the personal
computer 1 and the headset 2 is disconnected. Next, the process of the personal computer 1
when the wireless communication according to the second embodiment is disconnected will be
described with reference to FIG. FIG. 11 shows a processing flowchart of the personal computer
1 when the wireless communication according to the second embodiment is disconnected.
In the state where transmission of content data is being performed (step S 401), when wireless
communication is disconnected (step S 402), the setting is made in the above-described sound
output setting window 160 held in the main memory 113. The set value is referred to (step
S403). It is determined whether or not the wireless device priority mode 161 is set with
reference to the setting value (step S 404). If the wireless device priority mode is set (YES in step
S404), it is determined whether a predetermined process for closing the stream channel of
AVDTP 144 has been performed (step S405). If the AVDTP 144 determines that the
predetermined disconnection process is not performed (YES in step S405), the AVDTP 144 stops
the encoding process in the BT sound driver 137 (step S406). At this time, the AVDTP 144
prohibits switching from the BT sound driver 137 to the sound driver 135 due to disconnection
of the wireless communication (step S407). Further, the content data sent from the music
reproduction application 123 is discarded (step S408). When the AVDTP 144 performs
predetermined processing when wireless communication is disconnected (NO in step S405), it is
determined that the disconnection processing is normal (step S409), and the content data is sent
to the BT sound driver 137. Transmission to is stopped. If the wireless device priority mode 161
is not set in step S404 (NO in step S404), it is determined that the main body speaker priority
mode 162 is set, and the termination process of the BT sound driver 137 is performed. (Step
S410) The AVDTP 144 switches from the BT sound driver 137 to the sound driver 135 (Step
S411), and content data is output from the speaker 107 (Step S412). At this time, when the check
box 166 is checked, reproduction processing of content data is performed in fade-in processing.
As described above, in the second embodiment, it is possible to set the output process of the
content data when the wireless communication is disconnected, and perform the process based
on the setting, when the wireless communication is disconnected, It is possible to appropriately
control the output of content data.
Next, a third embodiment of the present invention will be described. In the third embodiment,
when wireless communication is disconnected, an output destination can be set before
performing reconnection processing. The hardware configuration of the third embodiment also
shows an example in the case of using the personal computer 1 as the electronic device and the
headset 2 as the external device as in the first embodiment. Therefore, the description of the
09-05-2019
12
hardware and software described above is omitted. A third embodiment will be described with
reference to FIGS. 12 and 13. FIG. 12 shows a flowchart at the time of disconnection of the
wireless communication according to the third embodiment. FIG. 13 shows a dialog window
showing the change of output destination according to the third embodiment. If wireless
communication is disconnected (step S502) while content data is being transmitted (step S501),
the output from the speaker 107 is prohibited as in the first embodiment. Therefore, the
encoding process in the BT sound driver 137 is stopped (step S503), and the AVDTP 144
prohibits switching from the BT sound driver 137 to the sound driver 135 when the wireless
communication is disconnected (step S504). Further, the content data sent from the music
reproduction application 123 is discarded (step S505). After processing so as not to output
content data from the speaker 107 as described above, the dialog window 170 shown in FIG. 13
is displayed (step S506). The dialog window 170 is displayed when wireless communication is
disconnected, and when the OK button displayed in the dialog window 170 is pressed, the
output of content data is sent to the speaker 107 provided in the personal computer 1. Switch.
Further, when the cancel button is pressed, reconnection processing with the headset 2 is
executed. Here, when the OK button is pressed, it is determined that the output destination is
an instruction to switch to the speaker 107 provided in the personal computer 1 (YES in step S
507), and the termination process of the BT sound driver 137 is performed. (Step S508), the
AVDTP 144 switches from the BT sound driver 137 to the sound driver 135 (Step S509). As a
result, content data is sent from the music reproduction application 123 to the sound driver 135,
and the content data is output from the speaker 107 (step S510).
When the cancel button is pressed in the dialog window 107, it is determined that
reconnection processing is to be performed (NO in step S507), and reconnection processing with
the headset 2 is performed (step S511). When the personal computer 1 and the headset 2 are
reconnected, the music reproduction application 123 continues the reproduction process of the
content data, so the BT sound driver 137 starts the encoding process of the received content
data. (Step S512) Transmission of content data is resumed (step S513). As described above, in
the third embodiment, when wireless communication is disconnected, a window for inquiring
how to perform output processing of content data is displayed, and the output of content data is
performed according to the user's support. Can be controlled. This embodiment is effective, for
example, when it is desired to intentionally cut off wireless communication and output content
data from the speaker 107 provided in the personal computer 1. Subsequently, a fourth
embodiment of the present invention will be described. In the above-described first to third
embodiments, an example of audio data is shown as content data, but in the fourth embodiment,
a case of video data as content data will be described as an example. . FIG. 14 shows a
configuration diagram of a system according to the fourth embodiment. In the fourth
embodiment, a television (hereinafter referred to as a TV) 301 as an example of an electronic
device, and a personal computer 1 as an example of an external device, wirelessly communicate
content data including video and audio from the TV 301. An example of transmission to the
09-05-2019
13
personal computer 1 will be described with reference to FIG. The personal computer 1 is the
same as that of the first embodiment described above, and thus the description thereof is
omitted. The TV 301 displays video data on an LCD 303 provided on the front of a main body
case 302, and outputs audio data from a speaker 304 provided below the main case. Further, this
TV can be provided with a wireless communication unit inside to perform wireless
communication with the wireless communication unit 117 of the personal computer 1, and can
also transmit the above-mentioned video data and audio data to the personal computer 1. Next,
FIG. 15 shows a hardware configuration of a TV according to a fourth embodiment. The TV 301
is provided with a system control unit 311 responsible for system control of the entire TV, a
wireless communication unit 312, a tuner 313, and a video / audio controller 314.
The system control unit 311 is a processor provided to control the operation of the TV 2 and
controls the wireless communication unit 312 and the like. The wireless communication unit 312
is a module capable of executing wireless communication according to the procedure conforming
to the standard of Bluetooth <TM>, like the wireless communication unit 117 provided in the
personal computer 1. And an RF unit 315. The wireless communication unit 312 is used to
perform wireless communication with the personal computer 1, transmits content data to the
personal computer, and receives control commands (such as channel change) transmitted from
the personal computer 1. The control command received by the wireless communication unit
312 and the control signal from the operation switch 316 such as channel change and volume
change provided in the TV 2 are processed by the system control unit 311, and channel change,
volume change, and the like are performed. The tuner 313 demodulates a TV signal (UHF / VHF)
input from an antenna cable (not shown), and transmits content data (video data / audio data) to
the system control unit 311. The system control unit 311 can output video data and audio data
to the LCD 303 and the speaker 304, respectively, and can view video and audio. When content
data is transmitted to the personal computer 1 via the wireless communication unit 312, the
system control unit 311 encodes the content data sent from the tuner 313, passes it to the
wireless communication unit 212, The content data is transmitted to the personal computer via
the modulation / demodulation unit 314, the RF unit 315 and the antenna 317. In addition, the
system control unit 311 has a function of performing compression processing of content data,
for example, and in the case of transmitting content data to the personal computer 1 via the
wireless communication unit 312, compressing and transmitting content data It is good also as
composition. In this embodiment, the system control unit 311 can transmit content data received
from the tuner 313 to only one of the LCD 303, the speaker 304, and the wireless
communication unit 312. Thus, when viewing content data on the TV 301, the content data is not
transmitted to the personal computer 1, and when viewing the content data on the personal
computer 1, the content data can not be viewed on the TV 301.
The personal computer 1 reproduces the received content data using a predetermined dedicated
09-05-2019
14
application or the like. Next, processing when wireless communication is disconnected when
content data is being transmitted from the TV 301 to the personal computer 1 will be described
with reference to FIG. FIG. 16 shows a flowchart at the time of disconnection of the wireless
communication according to the fourth embodiment. FIG. 17 is a diagram of a dialog window
output to the display unit of the TV according to the fourth embodiment. FIG. 18 shows a dialog
window output to the display unit of the personal computer according to the fourth embodiment.
In the state where transmission of content data is performed from the TV 301 to the personal
computer 1 (step S601), wireless communication is performed. If disconnected (YES in step
S602), the system control unit 311 discards the content data without transmitting the content
data to the wireless communication unit 312 and the LCD 303 / speaker 304 (step S603).
Subsequently, reconnection processing with the personal computer 1 is performed. In this
reconnection process, a request may be issued from the personal computer 1, or a request may
be issued from the TV 303. When reconnected, the TV 303 transmits the content data to the
personal computer 1 via the wireless communication unit 312. If reconnection can not be
performed for a predetermined time (NO in step S605) and the predetermined time has elapsed
(YES in step S607), the dialog window shown in FIG. 17 is displayed on the LCD 303 provided in
the TV 301. When the reconnection can not be performed for the predetermined time also with
the personal computer 1, a dialog window as shown in FIG. 18 is displayed. A dialog window 320
shown in FIG. 17 is displayed on the LCD 303 of the TV 301, and asks whether to change the
output destination of the content data transmitted from the TV 301. Here, when the "OK" button
of the dialog window 320 is pressed (YES in step S609), the system control unit 311 outputs the
content data to the LCD 303 / speaker 304 (step S610). If "cancel" in the dialog window 320 is
pressed (NO in step S609), the output destination of the content data is not changed, and
wireless communication can not be connected, so the power of the TV 301 is turned off (step
S611). Further, a dialog window 330 shown in FIG. 18 is displayed on the LCD 106 of the
personal computer 1.
The personal computer 1 is a device that receives content data from the TV 301 and views the
content data. Therefore, in the present embodiment, when the OK button of the dialog
window 330 is pressed, the application for reproducing the content data is ended. When
cancel in the dialog window 330 is pressed, the PC 1 attempts to reconnect. In this case, the
wireless connection is not connected when the power of the TV is off. Therefore, for example, the
number of times the dialog window is displayed may be counted on the personal computer side,
and when the dialog window is displayed three or more times, the application for automatically
reproducing the content data may be ended. Although the fourth embodiment shows an example
in which video data is communicated to a TV or a personal computer, the present invention is not
limited thereto, and an external display device may be used to read video data read from a DVD
drive (not shown) provided in the personal computer The present invention is also applicable to
the case of transmitting video data to an external display device or transmitting video data
demodulated by a TV tuner provided in a personal computer. As described above, in the fourth
09-05-2019
15
embodiment, when the wireless communication is disconnected when the content data is
transmitted from the TV to the personal computer by wireless communication, the output
destination of the video / audio content data is switched to the TV. Prohibit that. In addition, it is
possible to appropriately control the output of content data by displaying an inquiry screen as to
whether to switch to the display screen of the TV. As described above, according to the present
invention, it is possible to appropriately control the output of content data when communication
with a wireless communication device is disconnected. In the present invention, an example of
Bluetooth <TM> is shown as an example of wireless communication, but a wireless
communication standard defined by the IEEE 802.11 working group (for example, IEEE 802.11a,
802.11b, 802.11g) And so on. When applied to these, it is preferable to provide a means for
monitoring the connection of wireless communication, a sound driver, and a means for switching
the driver of the graphic controller. The present invention is not limited to the above-described
embodiment, and can be variously modified without departing from the scope of the present
invention at the implementation stage. According to the invention detailed above, it is possible to
provide an electronic device and a content data output method capable of appropriately
controlling the output of content data when communication with a wireless communication
device is disconnected. It is possible.
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram of a system according to a
first embodiment. FIG. 2 is a hardware configuration diagram of the personal computer 1
according to the first embodiment. FIG. 3 shows a hardware configuration of a headset 2
according to the first embodiment. FIG. 4 is a block diagram of software and hardware related to
reproduction of content data according to the first embodiment. FIG. 5 is a profile configuration
diagram of A2DP. FIG. 6 is a flowchart of communication connection between a personal
computer and a headset according to the first embodiment. FIG. 7 is a processing flowchart at the
time of disconnection of wireless communication according to the first embodiment. FIG. 8 is a
flowchart of reconnection processing according to the first embodiment; FIG. 9 is a diagram of a
dialog window showing change of output destination according to the first embodiment. FIG. 10
is a diagram of a content data output setting window according to the second embodiment. FIG.
11 is a processing flowchart of the personal computer when wireless communication according
to the second embodiment is disconnected. FIG. 12 is a flowchart at the time of disconnection of
wireless communication according to the third embodiment; FIG. 13 is a diagram of a dialog
window showing change of output destination according to the third embodiment. FIG. 14 is a
block diagram of a system according to a fourth embodiment. FIG. 15 is a hardware
configuration diagram of a TV according to a fourth embodiment. FIG. 16 is a flowchart at the
time of disconnection of wireless communication according to the fourth embodiment. FIG. 17 is
a diagram of a dialog window output to the display unit of the TV according to the fourth
embodiment; FIG. 18 is a diagram of a dialog window output to the display unit of the personal
computer according to the fourth embodiment; Explanation of mark 1 ... PC 2 ... Headset 101 ...
Body case 102 ... Display case 103 ... Hinge section 104 ... Keyboard 105 ... Touch pad 106 ... LCD
09-05-2019
16
107 ... Speaker 111 ... CPU 113 ... Main memory 117, 212 ... Wireless Communication unit 120:
Operating system 121: Driver software 123: Music reproduction application 129, 217: Data
modulation / demodulation unit 130, 216: RF unit 135: Sound driver 136: A2DP (Advanced
Audio Distribution Profile) 137, 245: BT sound driver 141, 241 ... LMP (Link Manager Protocol)
142, 242 ... L2 CAP (Logical Link Control) Adaptation Protocol) 143,243 ... SDP (Service
Discovery Protocol) 144,244 ... AVDTP (Audio / Video Distribution Transport Protocol) 150 ...
dialog window 160 ... sound output settings window 201 ... head arm 202, 203 ... pad 214 ...
audio playback unit
09-05-2019
17