WO2018201944A1 - 一种设备控制方法及装置 - Google Patents

一种设备控制方法及装置 Download PDF

Info

Publication number
WO2018201944A1
WO2018201944A1 PCT/CN2018/084408 CN2018084408W WO2018201944A1 WO 2018201944 A1 WO2018201944 A1 WO 2018201944A1 CN 2018084408 W CN2018084408 W CN 2018084408W WO 2018201944 A1 WO2018201944 A1 WO 2018201944A1
Authority
WO
WIPO (PCT)
Prior art keywords
bluetooth headset
wearable device
voice signal
bluetooth
connection
Prior art date
Application number
PCT/CN2018/084408
Other languages
English (en)
French (fr)
Inventor
史俊
Original Assignee
青岛海尔股份有限公司
北京一数科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 青岛海尔股份有限公司, 北京一数科技有限公司 filed Critical 青岛海尔股份有限公司
Publication of WO2018201944A1 publication Critical patent/WO2018201944A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/27Transitions between radio resource control [RRC] states
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2201/00Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
    • H04R2201/10Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups

Definitions

  • the present invention relates to the field of electronic device technologies, and in particular, to a device control method and device.
  • Bluetooth headset Since the advent of Bluetooth technology in the 1990s, it has developed rapidly in the last two decades. As a Bluetooth-based hands-free headset, Bluetooth headset has been widely used in recent years. It allows the user to exempt from the limitations of the wires and to make random calls or listen to music. With no hands-on and no wires, Bluetooth headsets are a great tool for improving productivity.
  • a wearable device with Bluetooth function such as a smart watch, can establish a Bluetooth connection with a Bluetooth headset, thereby enabling functions such as answering a call.
  • some wearable devices have a connection clip that can be attached to the wearable device. When the user needs to use the Bluetooth headset, the user can remove it from the wearable device for use.
  • the Bluetooth headset is detachably fixed with the wearable device.
  • the Bluetooth headset needs to be removed from the wearable device, and By manually setting the Bluetooth headset to switch from the non-working state to the working state, the functions of making a call, playing music, and the like are realized.
  • the user needs to press a button on the Bluetooth headset, or press a button on the wearable device to put the Bluetooth headset into a working state. Obviously, such an operation is cumbersome. The user experience is not good.
  • An object of the embodiments of the present invention is to provide a device control method and device, so as to reduce the cumbersome operation of the user and improve the user experience.
  • the specific technical solutions are as follows:
  • an embodiment of the present invention provides a wearable device control method, which is applied to a wearable device having a Bluetooth function, and the Bluetooth headset is detachably connected to the wearable device, and the method includes:
  • the step of monitoring whether the physical connection status of the Bluetooth headset and the wearable device changes includes:
  • the method further includes:
  • the operation request is: a voice interaction request
  • the step of responding to the operation request and obtaining the response content corresponding to the operation request includes:
  • the peer device is a device other than the wearable device and the Bluetooth headset;
  • the step of sending the response content to the Bluetooth headset to enable the Bluetooth headset to receive and play the response content includes:
  • the method further includes:
  • control instruction is: an instruction to switch the Bluetooth headset from a non-working state to a working state
  • the method further includes:
  • the Bluetooth headset loss information is output.
  • the embodiment of the present invention further provides a device control device, which is applied to a wearable device having a Bluetooth function, and the Bluetooth headset is detachably connected to the wearable device, and the device includes:
  • a physical connection state detecting module configured to monitor whether a physical connection state of the Bluetooth headset and the wearable device changes
  • a control instruction sending module configured to send a control instruction to the Bluetooth headset according to a state before and after the change of the physical connection state, in a case where a physical connection state of the Bluetooth headset and the wearable device changes, In order to make the Bluetooth headset perform state switching between a working state and a non-working state;
  • the voice interaction module is configured to perform voice signal interaction with the Bluetooth headset when determining that the Bluetooth headset is in the working state.
  • the physical connection status detecting module includes:
  • An electrical signal monitoring unit configured to monitor whether an electrical signal of the first connection location of the wearable device changes, wherein the first connection location is when the Bluetooth headset is physically connected to the wearable device The second connection position of the Bluetooth headset is electrically connected;
  • An optical signal monitoring unit configured to monitor whether an optical signal of the third connection location of the wearable device changes, wherein the third connection location is when the Bluetooth headset is physically connected to the wearable device Blocking the Bluetooth headset;
  • a pressure signal monitoring unit configured to monitor whether a pressure signal of the fourth connection position of the wearable device changes, wherein the fourth connection position is when the Bluetooth headset is physically connected to the wearable device The Bluetooth headset is squeezed.
  • the device further includes:
  • a request response module configured to respond to the operation request, and obtain a response content corresponding to the operation request
  • a content sending module configured to send the response content to the Bluetooth headset when the Bluetooth headset is in an active state, so that the Bluetooth headset receives and plays the response content.
  • the operation request is: a voice interaction request
  • the request response module includes:
  • a first voice signal acquiring unit configured to respond to the voice interaction request, and obtain a first voice signal sent by the peer device, where the peer device is a device other than the wearable device and the Bluetooth headset ;
  • the content sending module includes:
  • a first voice signal sending unit configured to send the first voice signal to the Bluetooth headset, so that the Bluetooth headset receives and plays the first voice signal
  • the device also includes:
  • a second voice signal receiving module configured to receive a second voice signal sent by the Bluetooth headset, where the second voice signal is a voice signal sent by a user obtained by the Bluetooth headset;
  • the second voice signal sending module is configured to send the second voice signal to the peer device.
  • the device further includes:
  • a Bluetooth connection detecting module configured to detect whether the Bluetooth headset and the wearable device are disconnected from the Bluetooth connection when the control instruction is: an instruction to switch the Bluetooth headset from a non-working state to a working state;
  • a time recording module configured to record, when the Bluetooth headset disconnects the Bluetooth connection from the wearable device, a time when the wearable device disconnects the Bluetooth connection from the Bluetooth headset;
  • the lost information output module is configured to output the Bluetooth headset loss information when the time reaches the preset time value.
  • the Bluetooth headset is detachably connected to the wearable device, and the wearable device having the Bluetooth function monitors whether the physical connection state of the Bluetooth headset and the wearable device changes. Yes, according to the state before and after the change of the physical connection state, sending a control command to the Bluetooth headset, so that the Bluetooth headset performs state switching between the working state and the non-working state, and determines that the Bluetooth headset is in the working state, and performs voice with the Bluetooth headset. Signal interactions to automatically implement related voice interaction functions.
  • the switching of the working state of the Bluetooth headset does not require manual setting by the user, but is controlled by the wearable device according to the state before and after the change of the physical connection state, which reduces the cumbersomeness of the user operation and improves the user experience.
  • FIG. 1 is a flowchart of a device control method according to an embodiment of the present invention
  • FIG. 2 is a flow chart of an operation request response method based on the embodiment shown in FIG. 1;
  • FIG. 3 is a flow chart of another operation request response method based on the embodiment shown in FIG. 2;
  • FIG. 4 is a flow chart of a method for outputting Bluetooth headset loss information based on the embodiment shown in FIG. 1;
  • FIG. 5 is a schematic structural diagram of a device control apparatus according to an embodiment of the present invention.
  • the device control method, device and system are provided in the following embodiments of the present invention.
  • the first device control method provided by the embodiment of the present invention can be applied to a wearable device (hereinafter referred to as a wearable device) having a Bluetooth function, for example, a wrist button with a Bluetooth function, etc. This is not specifically limited.
  • the wearable device is detachably connected to the Bluetooth headset.
  • a device control method is applied to a wearable device having a Bluetooth function, and the method includes:
  • step S101 monitoring whether the physical connection state of the Bluetooth headset and the wearable device changes, and if so, executing step S102;
  • the Bluetooth headset will be removed from the wearable device. If the user does not need to use the Bluetooth headset, the Bluetooth headset will be fixed on the wearable device. The physical connection status of the Bluetooth headset to the wearable device is closely related to the usage status of the Bluetooth headset.
  • the wearable device can determine the usage status of the Bluetooth headset by monitoring whether the physical connection status of the Bluetooth headset and the wearable device changes, that is, if the physical connection state of the Bluetooth headset and the wearable device changes, Then, at this time, the user may remove the Bluetooth headset from the wearable device, or fix the Bluetooth headset that has been removed to the wearable device, then step S102 may be performed. In this way, the wearable device can detect the physical connection status of the Bluetooth headset with the user without manually notifying the wearable device.
  • S102 Send a control instruction to the Bluetooth headset according to the state before and after the change of the physical connection state, so that the Bluetooth headset performs state switching between an active state and a non-working state.
  • Bluetooth headset If it is detected that the physical connection state of the Bluetooth headset and the wearable device changes, and the connection state is changed to the disconnected state, it can be determined that the Bluetooth headset is removed from the wearable device at this time, indicating that the user is likely to need to use at this time. Bluetooth headset, then you can send control commands to the Bluetooth headset, so that the Bluetooth headset enters the working state, so that users can use the Bluetooth headset to achieve the corresponding function. On the contrary, if it is detected that the physical connection status of the Bluetooth headset and the wearable device changes, and changes from the disconnected state to the connected state, it can be determined that the Bluetooth headset is fixed to the wearable device at this time, indicating that the user is likely not to be at this time. To use a Bluetooth headset, you can send a control command to the Bluetooth headset to put the Bluetooth headset into a non-working state.
  • the wearable device can perform voice signal interaction with the Bluetooth headset when determining that the Bluetooth headset is in working state, that is, the Bluetooth headset can collect the voice signal sent by the user and send it to the wearable device, and the wearable device receives the Bluetooth.
  • the wearable device can launch a preset application or function for the user to use.
  • a dialing program can be activated to facilitate the user to make a call;
  • a voice receiving and recognizing function can also be activated, so that the user can issue an operation command through the Bluetooth headset to enable the wearable device to respond, for example, start music software, dial someone's phone, and turn on Navigation, etc.
  • the Bluetooth headset is detachably connected to the wearable device, and the wearable device having the Bluetooth function monitors whether the physical connection state of the Bluetooth headset and the wearable device changes. Yes, according to the state before and after the change of the physical connection state, sending a control command to the Bluetooth headset, so that the Bluetooth headset performs state switching between the working state and the non-working state, and determines that the Bluetooth headset is in the working state, and performs voice with the Bluetooth headset. Signal interactions to automatically implement related voice interaction functions.
  • the switching of the working state of the Bluetooth headset does not require manual setting by the user, but is controlled by the wearable device according to the state before and after the change of the physical connection state, which reduces the cumbersomeness of the user operation and improves the user experience.
  • the specific implementation manner of monitoring whether the physical connection status of the Bluetooth headset and the wearable device changes may include, but is not limited to, the following:
  • the first implementation manner is: monitoring whether an electrical signal of the first connection location of the wearable device changes, wherein, when the Bluetooth headset is physically connected to the wearable device, the first connection location is The second connection position of the Bluetooth headset is electrically connected.
  • the wearable device has a first connection position
  • the Bluetooth headset has a second connection position.
  • the first connection position is electrically connected to the second connection position, so that the The level of the first connection location changes to determine a change in the physical connection state of the wearable device to the Bluetooth headset.
  • the level of the first connection position of the wearable device is a low level, generally indicated by 0; when the Bluetooth headset is from the wearable device When removed, the level of the first connection position of the wearable device is a high level, generally indicated by 1.
  • the level of the first connection position of the wearable device is a high level, generally indicated by 1; when the Bluetooth headset is removed from the wearable device The level of the first connection position of the wearable device is a low level, generally indicated by 0. In this way, the physical connection state of the Bluetooth headset to the wearable device can be determined by the level change of the first connection position.
  • the high level of the first connection location or the second connection location may be provided by a power management chip, for example, a power management chip capable of providing voltages of 1.5V, 1.8V, 2.0V, etc., which are all reasonable.
  • the low level of the first connection position or the second connection position can be achieved by grounding, that is, providing a voltage of 0V, thereby achieving a low level.
  • the embodiment of the present invention is not specifically limited. For example, it may be in the form of an elastic piece, a port, or the like, as long as electrical connection can be achieved and an electrical signal can be transmitted.
  • the second implementation manner is: monitoring whether the optical signal of the third connection location of the wearable device changes, wherein the third connection location is when the Bluetooth headset is physically connected to the wearable device The Bluetooth headset is blocked.
  • the wearable device has a third connection location, and when the wearable device is physically connected to the Bluetooth headset, the third connection location is blocked by the Bluetooth headset. In this way, the change of the optical connection state of the wearable device and the Bluetooth headset can be determined by the optical signal change of the third connection position.
  • the optical signal of the third connection position is detected from the presence or absence, the third connection position is never blocked to be blocked, and the Bluetooth headset is fixed on the wearable device, and vice versa, if monitoring The optical signal to the third connection position is from scratch, indicating that the third connection position is blocked from being blocked, and the Bluetooth headset is removed from the wearable device. In this way, the change of the optical connection state of the wearable device and the Bluetooth headset can be determined by the optical signal change of the third connection position.
  • optical signal of the third connection position can be obtained by installing the optical sensor at the third connection position.
  • the optical sensor may be any optical sensor as it is, as long as the optical signal of the third connection position can be obtained, which is not specifically limited herein.
  • a third implementation manner is: monitoring whether a pressure signal of the fourth connection location of the wearable device changes, wherein the fourth connection location is when the Bluetooth headset is physically connected to the wearable device The Bluetooth headset is squeezed.
  • the wearable device has a fourth connection position, and when the wearable device is physically connected to the Bluetooth headset, the fourth connection position is pressed by the Bluetooth headset to generate a pressure signal. In this way, the change in the physical connection state of the wearable device and the Bluetooth headset can be determined by the pressure signal change of the fourth connection position.
  • the fourth connection position is squeezed to not being squeezed, and the Bluetooth headset is removed from the wearable device, instead If the pressure signal of the fourth connection position is detected from scratch, then the fourth connection position is never squeezed to being squeezed, and the Bluetooth headset is fixed on the wearable device. In this way, the change in the physical connection state of the wearable device and the Bluetooth headset can be determined by the pressure signal change of the fourth connection position.
  • the pressure signal of the fourth connection position can be obtained by installing the pressure sensor at the fourth connection position.
  • the pressure sensor can be any pressure sensor as it is, as long as the pressure signal of the fourth connection position can be obtained, which is not specifically limited herein.
  • the embodiment of the present invention when the wearable device obtains the operation request, the embodiment of the present invention further provides the following response manner, as shown in FIG. 2, which specifically includes the following steps:
  • the user can press an button on the wearable device or touch the screen to issue an operation request, and the wearable device can obtain the operation request.
  • the operation request may be sent by the user through a voice signal, and when the Bluetooth headset is in a non-working state, that is, the Bluetooth headset is fixed on the wearable device, the Bluetooth headset cannot receive the voice sent by the user.
  • the signal, the wearable device can collect the voice signal sent by the user through its own microphone, and perform voice recognition on the collected voice signal to obtain an operation request.
  • the wearable device may further analyze the voice recognition result to determine that the user requests to play the music, and the name of the played music. For “Playing Fire”, then get the operation request for "Playing Music "Playing Fire”. For another example, if the wearable device is receiving an incoming call, then the user can send a voice signal such as “answering” as an operation request, and then the wearable device obtains an operation request that the content is “answering the phone”.
  • the Bluetooth headset When the Bluetooth headset is in working state, that is, the Bluetooth headset is not fixed on the wearable device, the Bluetooth headset can collect the voice signal sent by the user, and of course the wearable device can also collect the voice signal sent by the user, then the wearable device It is also reasonable to obtain the voice signal collected by the Bluetooth headset and/or the voice signal collected by the wearable device, and then perform voice recognition on the obtained voice signal to obtain an operation request.
  • the operation request may be triggered by an incoming call, that is, if the wearable device receives the incoming call, then the wearable device obtains an operation request to connect to the phone.
  • the wearable device when the wearable device detects that the physical connection state of the Bluetooth headset and the wearable device changes, and the change is that the Bluetooth headset disconnects the physical connection with the wearable device, then the wearable device at this time A preset operation request may also be obtained, and the preset operation request may be to open a dialing program, or to enable a voice control mode or the like.
  • the wearable device After obtaining the operation request, the wearable device can respond to the operation request, thereby obtaining the response content corresponding to the operation request.
  • the wearable device can obtain the audio data of the music “playing fire”, that is, the response content, in response to the operation instruction.
  • the operation instruction is "play voice navigation”
  • the electric device can obtain the audio data of the navigation information in response to the operation instruction. If the operation request is to answer the call, the wearable device responds to the operation request, that is, connects the phone, and then obtains the voice signal sent by the peer device, that is, the response content.
  • the peer device is a device other than the wearable device and the Bluetooth headset.
  • S203 Send the response content to the Bluetooth headset when the Bluetooth headset is in an active state, so that the Bluetooth headset receives and plays the response content.
  • the wearable device when the wearable device detects that the Bluetooth headset is disconnected from the physical connection of the wearable device, the Bluetooth headset enters a working state, and the wearable device can send the response content to the Bluetooth headset, and then the Bluetooth headset.
  • the response content can be received and played.
  • the wearable device obtains the response content such as audio data or voice signal of the music “Playing Fire”, and the Bluetooth headset is disconnected from the physical connection of the wearable device, the wearable device can then use the audio device.
  • the data or voice signal is sent to the Bluetooth headset, and the Bluetooth headset can receive the audio data or the voice signal to play the audio data or the voice signal, and the user can listen to the music or voice signal through the Bluetooth headset.
  • the wearable device does not detect that the physical connection status of the Bluetooth headset and the wearable device changes, but the Bluetooth headset is not physically connected to the wearable device, and the Bluetooth headset is in working state.
  • the wearable device can send the response content to the Bluetooth headset, and the Bluetooth headset can receive and play the response content.
  • the wearable device obtains the response content such as audio data or voice signal of the music "playing fire"
  • the response content such as audio data or voice signal of the music "playing fire”
  • the wearable device can send the audio data or voice signal to the Bluetooth headset
  • the Bluetooth headset can receive the audio data or the voice signal to play the audio data or the voice signal.
  • the music or voice signal can be listened to via a Bluetooth headset.
  • the wearable device in the process of responding to the operation request, can listen to the response content through the Bluetooth headset after the user removes the Bluetooth headset from the wearable device according to the device control method. Simple, user experience is good.
  • the wearable device detects that the physical connection state of the Bluetooth headset and the wearable device changes, indicating that the user fixes the Bluetooth headset to the wearable device at this time, then the wearable device A control command can be sent to cause the Bluetooth headset to transition to an inactive state. Furthermore, the wearable device can continue to play the corresponding content, or stop playing the corresponding content, which is reasonable.
  • the step of responding to the operation request and obtaining the response content corresponding to the operation request may include:
  • the voice interaction request includes various voice type requests, such as an incoming call, a voice chat, and the like.
  • the wearable device After the wearable device obtains the voice interaction request, it can respond to the voice interaction request. Assuming that the voice interaction request is an incoming call request, the wearable device can connect the incoming call, and then the first voice signal sent by the peer device can be obtained, wherein the peer device is a device other than the wearable device and the Bluetooth headset. The first voice signal can be collected by the peer device and sent to the wearable device, and of course, the peer device can be forwarded to the wearable device, which is reasonable.
  • the wearable device after the wearable device obtains the voice interaction request, and the Bluetooth headset is disconnected from the physical connection of the wearable device, the wearable device immediately responds to the voice interaction request, and the voice interaction request is an incoming call. Then, the call is connected.
  • the wearable device After the wearable device obtains the voice interaction request, the physical connection status between the Bluetooth headset and the wearable device is not detected, but the Bluetooth headset is not physically connected to the wearable device, then the Bluetooth When the headset is in working state, the wearable device immediately responds to the voice interaction request, and if the voice interaction request is an incoming call, then the incoming call is connected.
  • the wearable device after the wearable device obtains the voice interaction request, the physical connection status between the Bluetooth headset and the wearable device is not detected.
  • the wearable device When the Bluetooth headset is physically connected to the wearable device, the Bluetooth headset is in the non- In the working state, the wearable device generally responds to the voice interaction request after the user responds through the wearable device, and if the voice interaction request is an incoming call, the user may press the answer button on the wearable device, then the wearable device Once the response is obtained, the call is connected.
  • the step of sending the response content to the Bluetooth headset to enable the Bluetooth headset to receive and play the response content may include:
  • the wearable device obtains the first voice signal sent by the peer device, if the Bluetooth headset is in operation at this time, that is, if the wearable device detects that the physical state of the Bluetooth headset and the wearable device changes, And the change is that the Bluetooth headset disconnects from the physical connection of the wearable device, or, at this time, the Bluetooth headset is not physically connected to the wearable device, then the voice interaction instruction is responded, and then the wearable device can receive the received pair.
  • the first voice signal sent by the terminal device is sent to the Bluetooth headset, and after receiving the first voice signal, the Bluetooth headset can play it out for the user to listen to.
  • the first voice signal is a voice signal sent by the person who is in a conversation with the user, and the peer device sends the first voice signal to the wearable device, and the wearable device further uses the first voice.
  • the signal is sent to the Bluetooth headset, and the Bluetooth headset can play the first voice signal, so that the user can hear the voice content spoken by the person talking with him.
  • the foregoing method may further include:
  • Receiving a second voice signal sent by the Bluetooth headset sending the second voice signal to the peer device, where the second voice signal is a voice signal sent by a user obtained by the Bluetooth headset.
  • the Bluetooth headset can collect the second voice signal sent by the user through its own microphone, and send the second voice signal to the wearable device through the Bluetooth connection. After the wearable device receives the second voice signal, the second voice signal can be used. The second voice signal is sent to the peer device, and then the person who performs voice interaction with the user can hear the voice content spoken by the user, thereby implementing voice interaction.
  • the wearable device obtains the voice interaction instruction
  • the voice interaction instruction is automatically responded and played through the Bluetooth headset and The voice signal is collected, so that the user can perform voice interaction through the Bluetooth headset, without manual setting by the user, the operation is convenient, and the user experience is better.
  • the wearable device detects that the physical connection state of the Bluetooth headset and the wearable device changes, indicating that the user fixes the Bluetooth headset to the wearable device at this time, then The device is worn and can send control commands to cause the Bluetooth headset to transition to an inactive state. Further, it is reasonable that the wearable device can continue to play the first voice signal or end the response to the voice interaction command.
  • the method can also include the following steps:
  • step S301 detecting a signal strength of the second voice signal, and determining whether the signal strength is lower than a preset strength. If the preset strength is lower than the preset strength, step S302 is performed; if not lower than the preset strength, step S303 is performed. ;
  • the wearable device When receiving the second voice signal sent by the Bluetooth headset, the wearable device can detect the signal strength of the received second signal, wherein the manner of detecting the signal strength of the second signal can be any existing signal strength detection mode. As long as the detection purpose can be achieved, it is not specifically limited herein. Since the second voice signal is required for the wearable device to be sent to the peer device, the signal strength of the second voice signal directly affects the quality of the process by which the wearable device responds to the voice interaction command.
  • the preset strength may be determined by a person skilled in the art according to factors such as an actual response environment of the voice interaction instruction, and is not specifically limited herein.
  • the wearable device When the wearable device detects that the signal strength of the second voice signal is lower than the preset strength, it indicates that the strength of the second voice signal sent by the Bluetooth headset is weak at this time, and the person who performs voice interaction with the user may not be able to distinguish the second. The content of the voice signal, then, at this time, the wearable device can send a control command to the Bluetooth headset to control the Bluetooth headset to switch from the working state to the non-working state, that is, the voice interaction is no longer responded to by the Bluetooth headset at this time. instruction.
  • the wearable device can play the received first voice signal through the player to listen to the user, and can obtain the third voice signal through the microphone of the user, and the third voice signal is the user obtained by the wearable device.
  • the voice signal sent. After the third voice signal is obtained by the wearable device, the third voice signal can be sent to the terminal device, and then the person who performs voice interaction with the user can receive the third voice signal, and then continue the voice interaction.
  • step S303 detecting a signal to noise ratio of the second voice signal, and determining whether the signal to noise ratio is lower than a preset signal to noise ratio. If the signal to noise ratio is lower than the preset signal to noise ratio, step S304 is performed; if not lower than the preset Signal to noise ratio, step S305 is performed;
  • the wearable device detects that the signal strength of the second voice signal is not lower than the preset strength, it indicates that the strength of the second voice signal sent by the Bluetooth headset is strong at this time, and the wearable device can further ensure the signal quality of the voice interaction process.
  • the device can further detect the signal to noise ratio of the second speech signal. It can be understood that the signal to noise ratio refers to the ratio of signal to noise, so the higher the signal to noise ratio, the smaller the noise in the speech signal, and the higher the signal to noise ratio. Low indicates that the noise in the speech signal is greater.
  • the preset signal to noise ratio may be determined by a person skilled in the art according to factors such as the actual response environment of the voice interaction instruction, and is not specifically limited herein.
  • the wearable device detects that the signal to noise ratio of the second voice signal is lower than the preset signal to noise ratio, indicating that the noise in the second voice signal is large at this time, if the received Bluetooth headset is sent at this time.
  • the second voice signal is sent to the peer device, and the person who is in a voice interaction with the user is likely to be unable to distinguish the voice content spoken by the user, and the wearable device can refuse to process the second voice signal, that is, not The second voice signal is sent to the peer device, but the third voice signal is collected through its own microphone, and the third voice signal is sent to the peer device.
  • the signal noise of the second voice signal collected by the Bluetooth headset is relatively low at this time, this does not affect the player playing the voice signal of the Bluetooth headset. Therefore, the first voice signal can still be played through the Bluetooth headset at this time.
  • the wearable device detects that the signal to noise ratio of the second voice signal is not lower than the preset signal to noise ratio, indicating that the noise in the second voice signal is small at this time, the Bluetooth headset can continue to be in the working state, that is, maintain The current response mode remains unchanged, and the first voice signal sent by the peer device is continuously played through the Bluetooth headset, and the second voice signal sent by the user is collected through the Bluetooth headset, and the second voice signal is sent to the peer device.
  • the wearable device can control the working state of the Bluetooth headset without requiring the user to manually set, further improving the user. Experience.
  • the method can also include:
  • step S401 detecting whether the Bluetooth headset and the wearable device are disconnected from the Bluetooth; if yes, proceeding to step S402;
  • control command issued by the wearable device is: when the Bluetooth headset is switched from the non-working state to the working state, the Bluetooth headset is not fixed on the wearable device, and the user may use the Bluetooth headset at this time. It is also possible that the Bluetooth headset is dropped and is prone to loss.
  • the wearable device can detect whether the Bluetooth headset and the wearable device are disconnected from the Bluetooth connection, and if so, step S402 can be performed if the Bluetooth is not disconnected. Connection, then the user is using the Bluetooth headset, then the Bluetooth headset is not lost, no need to make any reminder.
  • the Bluetooth headset If it is detected that the Bluetooth headset is disconnected from the wearable device, then the Bluetooth headset is likely to be lost, but due to the unstable connection of the Bluetooth connection, there may be a short disconnection of the Bluetooth connection. Avoid frequently prompting the user that the loss of the Bluetooth headset is a problem for the user, and the wearable device can record the time when the Bluetooth headset is disconnected from the Bluetooth headset.
  • the recorded time reaches the preset time value, it means that the Bluetooth headset and the wearable device are disconnected from the Bluetooth connection for a long time, then the Bluetooth headset is likely to be lost, and the wearable device can output the Bluetooth headset loss information to remind the user.
  • the user's Bluetooth headset may be lost.
  • the preset time value may be set by a person skilled in the art according to factors such as the actual use scenario of the Bluetooth headset, and may be, for example, 8 seconds, 10 seconds, 20 seconds, etc., and is not specifically limited herein.
  • the wearable device outputs the Bluetooth headset loss information is not specifically limited in the embodiment of the present invention.
  • the wearable device can output Bluetooth headset loss information by vibration, lighting, buzzing, and the like. If the wearable device has a display screen, the Bluetooth headset loss information can also be output through the display screen. Of course, the Bluetooth headset loss information can also be outputted in a combination of the above manners, which is reasonable.
  • the Bluetooth headset loss information can be output in time to prompt the user to avoid the loss of the Bluetooth headset when the Bluetooth headset may be lost. Unusable problems and economic losses caused by users.
  • the embodiment of the present invention further provides a device control device, and a device control device provided by the embodiment of the present invention is introduced below.
  • a device control device is applied to a wearable device having a Bluetooth function, and a Bluetooth headset is detachably connected to the wearable device, and the device includes:
  • a physical connection state detecting module 510 configured to monitor whether a physical connection state of the Bluetooth headset and the wearable device changes
  • the control command sending module 520 is configured to send a control command to the Bluetooth headset according to a state before and after the change of the physical connection state in a case where a physical connection state of the Bluetooth headset and the wearable device changes. So that the Bluetooth headset is in a state transition between a working state and a non-working state;
  • the voice interaction module 530 is configured to perform voice signal interaction with the Bluetooth headset when determining that the Bluetooth headset is in the working state.
  • the Bluetooth headset is detachably connected to the wearable device, and the wearable device having the Bluetooth function monitors whether the physical connection state of the Bluetooth headset and the wearable device changes. Yes, according to the state before and after the change of the physical connection state, sending a control command to the Bluetooth headset, so that the Bluetooth headset performs state switching between the working state and the non-working state, and determines that the Bluetooth headset is in the working state, and performs voice with the Bluetooth headset. Signal interactions to automatically implement related voice interaction functions.
  • the switching of the working state of the Bluetooth headset does not require manual setting by the user, but is controlled by the wearable device according to the state before and after the change of the physical connection state, which reduces the cumbersomeness of the user operation and improves the user experience.
  • the physical connection state detecting module 510 may include:
  • An electrical signal monitoring unit (not shown in FIG. 5) for monitoring whether an electrical signal of the first connection location of the wearable device changes, wherein when the Bluetooth headset is physically connected to the wearable device The first connection location is electrically connected to the second connection location of the Bluetooth headset;
  • An optical signal monitoring unit (not shown in FIG. 5) for monitoring whether a light signal of the third connection location of the wearable device changes, wherein when the Bluetooth headset is physically connected to the wearable device The third connection location is blocked by the Bluetooth headset;
  • a pressure signal monitoring unit (not shown in FIG. 5) for monitoring whether a pressure signal of a fourth connection position of the wearable device changes, wherein when the Bluetooth headset is physically connected to the wearable device The fourth connection position is squeezed by the Bluetooth headset.
  • the device may further include:
  • a request response module (not shown in FIG. 5), configured to respond to the operation request, and obtain a response content corresponding to the operation request;
  • a content sending module (not shown in FIG. 5), configured to send the response content to the Bluetooth headset when the Bluetooth headset is in an active state, so that the Bluetooth headset receives and plays the response content .
  • the wearable device In the process of responding to the operation request, the wearable device is based on the device control method, and after the user removes the Bluetooth headset from the wearable device, the user can listen to the response content through the Bluetooth headset without any manual setting, and the operation is simple, and the user experience is it is good.
  • the request obtaining module may include:
  • a voice signal obtaining unit (not shown in FIG. 5), configured to obtain a voice signal collected by the Bluetooth headset and/or a voice signal collected by the wearable device;
  • An operation request obtaining unit (not shown in FIG. 5) for performing voice recognition on the obtained voice signal to obtain an operation request.
  • the operation request may be: a voice interaction request
  • the request response module may include:
  • a first voice signal acquiring unit (not shown in FIG. 5), configured to respond to the voice interaction request, and obtain a first voice signal sent by the peer device, where the peer device is in addition to the wearable device And a device other than the Bluetooth headset;
  • the content sending module may include:
  • a first voice signal sending unit (not shown in FIG. 5), configured to send the first voice signal to the Bluetooth headset, so that the Bluetooth headset receives and plays the first voice signal;
  • the device may further include:
  • a second voice signal receiving module (not shown in FIG. 5), configured to receive a second voice signal sent by the Bluetooth headset, where the second voice signal is a voice signal sent by a user obtained by the Bluetooth headset;
  • the second voice signal sending module (not shown in FIG. 5) is configured to send the second voice signal to the peer device.
  • the wearable device obtains the voice interaction instruction
  • the voice interaction instruction is automatically responded, and the voice is played and collected through the Bluetooth headset.
  • the signal enables the user to perform voice interaction through the Bluetooth headset without manual setting by the user, and the operation is convenient and the user experience is better.
  • the device may further include:
  • a first detecting module (not shown in FIG. 5), configured to detect a signal strength of the second voice signal, and determine whether the signal strength is lower than a preset strength;
  • a first switching module (not shown in FIG. 5), configured to send a control command for switching the Bluetooth headset from an active state to an inactive state to the Bluetooth if the signal strength is lower than a preset strength a headset, to enable the Bluetooth headset to enter a non-working state, and play the received first voice signal, acquire a third voice signal, and send the third voice signal to the peer device, where the a three-voice signal is a voice signal sent by a user obtained by the wearable device;
  • a second detecting module (not shown in FIG. 5), configured to detect a signal to noise ratio of the second voice signal if the signal strength is not lower than a preset strength, and determine whether the signal to noise ratio is Below the preset signal to noise ratio;
  • a second switching module (not shown in FIG. 5), configured to refuse to process the second voice signal if the signal to noise ratio is lower than a preset signal to noise ratio; and acquire the third voice Signaling, transmitting the third voice signal to the peer device.
  • the wearable device can control the working state of the Bluetooth headset without requiring the user to manually set, thereby further improving the user experience.
  • the device may further include:
  • a Bluetooth connection detecting module (not shown in FIG. 5), configured to detect the Bluetooth headset and the wearable device when the control command is: an instruction to switch the Bluetooth headset from a non-working state to a working state Whether to disconnect the Bluetooth connection;
  • a time recording module (not shown in FIG. 5), configured to record, when the Bluetooth headset disconnects from the wearable device, to disconnect the Bluetooth connection from the Bluetooth headset ;
  • the missing information output module (not shown in FIG. 5) is configured to output Bluetooth headset loss information when the time reaches a preset time value.
  • the Bluetooth headset loss information can be output in time to prompt the user to avoid the loss of the Bluetooth headset. Use problems and economic losses.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephone Function (AREA)

Abstract

本发明提供了一种设备控制方法及装置,通过监测蓝牙耳机与可穿戴设备的物理连接状态,向蓝牙耳机发送控制指令,以使得蓝牙耳机在工作状态和非工作状态之间进行状态切换,确定蓝牙耳机在工作状态时,与蓝牙耳机进行语音信号交互。降低了用户操作的繁琐度,提高了用户体验。

Description

一种设备控制方法及装置
本申请要求了申请日为2017年05月03日,申请号为201710304635.4,发明名称为“一种设备控制方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及电子设备技术领域,特别是涉及一种设备控制方法及装置。
背景技术
自二十世纪九十年代蓝牙技术问世以来,最近二十年里得到飞速发展,蓝牙耳机作为一种基于蓝牙技术的免持耳机,近年来得到广泛应用。它让使用者可以免除电线的限制,随意进行通话或听音乐等操作。由于无需手持,且无电线限制,蓝牙耳机也成为了提升工作效率的优良工具。
具有蓝牙功能的可穿戴设备,例如智能手表等,可以与蓝牙耳机建立蓝牙连接,进而实现接听电话等功能。为了携带方便,有一些可穿戴设备具有连接卡扣,可以将蓝牙耳机固定在可穿戴设备上,用户在需要使用蓝牙耳机时,可以将其从可穿戴设备上取下,进行使用。
但是上述可穿戴设备与蓝牙耳机仅仅是机械连接,只是将蓝牙耳机与可穿戴设备可拆卸地固定在一起,在用户需要使用蓝牙耳机时,需要将蓝牙耳机从可穿戴设备上取下,并需要通过手动设置以使蓝牙耳机从非工作状态转换至工作状态,进而实现接打电话、播放音乐等功能。例如,用户将蓝牙耳机从可穿戴设备上取下后,需要按动蓝牙耳机上的按键,或按动可穿戴设备上的按键来使蓝牙耳机进入工作状态,显然,这样的操作是比较繁琐的,用户体验不佳。
发明内容
本发明实施例的目的在于提供一种设备控制方法及装置,以降低用户操作繁琐度,提高用户体验。具体技术方案如下:
第一方面,本发明实施例提供了一种可穿戴设备控制方法,应用于具有蓝牙功能的可穿戴设备,蓝牙耳机与所述可穿戴设备可拆卸连接,所述方法包括:
监测所述蓝牙耳机与所述可穿戴设备的物理连接状态是否发生变化;
若为是,根据所述物理连接状态变化前、后的状态,向所述蓝牙耳机发送控制指令,以使得所述蓝牙耳机在工作状态和非工作状态之间进行状态切换;
确定所述蓝牙耳机在所述工作状态时,与所述蓝牙耳机进行语音信号交互。
可选的,所述监测所述蓝牙耳机与所述可穿戴设备的物理连接状态是否发生变化的步骤,包括:
监测所述可穿戴设备的第一连接位置的电信号是否发生变化,其中,在所述蓝牙耳机与所述可穿戴设备的物理连接时,所述第一连接位置与所述蓝牙耳机的第二连接位置电连接;
或,
监测所述可穿戴设备的第三连接位置的光信号是否发生变化,其中,在所述蓝牙耳机与所述可穿戴设备的物理连接时,所述第三连接位置被所述蓝牙耳机遮挡;
或,
监测所述可穿戴设备的第四连接位置的压力信号是否发生变化,其中,在所述蓝牙耳机与所述可穿戴设备的物理连接时,所述第四连接位置被所述蓝牙耳机挤压。
可选的,所述方法还包括:
获得操作请求;
响应所述操作请求,并获得所述操作请求对应的响应内容;
在所述蓝牙耳机处于工作状态的情况下,发送所述响应内容至所述蓝牙耳机,以使所述蓝牙耳机接收并播放所述响应内容。
可选的,所述操作请求为:语音交互请求;
所述响应所述操作请求,并获得所述操作请求对应的响应内容的步骤,包括:
响应所述语音交互请求,并获得对端设备发送的第一语音信号,其中,所述对端设备为除所述可穿戴设备及所述蓝牙耳机以外的设备;
所述发送所述响应内容至所述蓝牙耳机,以使所述蓝牙耳机接收并播放所述响应内容的步骤,包括:
发送所述第一语音信号至所述蓝牙耳机,以使所述蓝牙耳机接收并播放所述第一语音信号;
所述方法还包括:
接收所述蓝牙耳机发送的第二语音信号,其中,所述第二语音信号为所述蓝牙耳机获得的用户发出的语音信号;
发送所述第二语音信号至所述对端设备。
可选的,在所述控制指令为:使得所述蓝牙耳机从非工作状态切换至工作状态的指令时,所述方法还包括:
检测所述蓝牙耳机与所述可穿戴设备是否断开蓝牙连接;
若为是,则记录所述可穿戴设备与所述蓝牙耳机断开蓝牙连接的时间;
当所述时间达到预设时间值时,输出蓝牙耳机丢失信息。
第二方面,本发明实施例还提供了一种设备控制装置,应用于具有蓝牙功能的可穿戴设备,蓝牙耳机与所述可穿戴设备可拆卸连接,所述装置包括:
物理连接状态检测模块,用于监测所述蓝牙耳机与所述可穿戴设备的物理连接状态是否发生变化;
控制指令发送模块,用于在所述蓝牙耳机与所述可穿戴设备的物理连接状态发生变化的情况下,根据所述物理连接状态变化前、后的状态,向所述蓝牙耳机发送控制指令,以使得所述蓝牙耳机在工作状态和非工作状态之间进行状态切换;
语音交互模块,用于在确定所述蓝牙耳机在所述工作状态时,与所述蓝牙耳机进行语音信号交互。
可选的,所述物理连接状态检测模块包括:
电信号监测单元,用于监测所述可穿戴设备的第一连接位置的电信号是否发生变化,其中,在所述蓝牙耳机与所述可穿戴设备的物理连接时,所述第一连接位置与所述蓝牙耳机的第二连接位置电连接;
或,
光信号监测单元,用于监测所述可穿戴设备的第三连接位置的光信号是否发生变化,其中,在所述蓝牙耳机与所述可穿戴设备的物理连接时,所述第三连接位置被所述蓝牙耳机遮挡;
或,
压力信号监测单元,用于监测所述可穿戴设备的第四连接位置的压力信号是否发生变化,其中,在所述蓝牙耳机与所述可穿戴设备的物理连接时,所述第四连接位置被所述蓝牙耳机挤压。
可选的,所述装置还包括:
请求获得模块,用于获得操作请求;
请求响应模块,用于响应所述操作请求,并获得所述操作请求对应的响应内容;
内容发送模块,用于在所述蓝牙耳机处于工作状态的情况下,发送所述响应内容至所述蓝牙耳机,以使所述蓝牙耳机接收并播放所述响应内容。
可选的,所述操作请求为:语音交互请求;
所述请求响应模块包括:
第一语音信号获取单元,用于响应所述语音交互请求,并获得对端设备发送的第一语音信号,其中,所述对端设备为除所述可穿戴设备及所述蓝牙耳机以外的设备;
所述内容发送模块包括:
第一语音信号发送单元,用于发送所述第一语音信号至所述蓝牙耳机,以使所述蓝牙耳机接收并播放所述第一语音信号;
所述装置还包括:
第二语音信号接收模块,用于接收所述蓝牙耳机发送的第二语音信号,其中,所述第二语音信号为所述蓝牙耳机获得的用户发出的语音信号;
第二语音信号发送模块,用于发送所述第二语音信号至所述对端设备。
可选的,所述装置还包括:
蓝牙连接检测模块,用于在所述控制指令为:使得所述蓝牙耳机从非工作状态切换至工作状态的指令时,检测所述蓝牙耳机与所述可穿戴设备是否断开蓝牙连接;
时间记录模块,用于在所述蓝牙耳机与所述可穿戴设备断开蓝牙连接的情况下,记录所 述可穿戴设备与所述蓝牙耳机断开蓝牙连接的时间;
丢失信息输出模块,用于当所述时间达到预设时间值时,输出蓝牙耳机丢失信息。
本发明实施例提供的一种设备控制方法及装置,蓝牙耳机与所述可穿戴设备可拆卸连接,具有蓝牙功能的可穿戴设备监测蓝牙耳机与可穿戴设备的物理连接状态是否发生变化,若为是,根据物理连接状态变化前、后的状态,向蓝牙耳机发送控制指令,以使得蓝牙耳机在工作状态和非工作状态之间进行状态切换,确定蓝牙耳机在工作状态时,与蓝牙耳机进行语音信号交互,从而自动实现相关的语音交互功能。可见,蓝牙耳机工作状态的切换不需要用户进行手动设置,而是由可穿戴设备根据物理连接状态变化前、后的状态进行控制,降低了用户操作的繁琐度,提高了用户体验。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例所提供的一种设备控制方法的流程图;
图2为基于图1所示实施例的一种操作请求响应方法流程图;
图3为基于图2所示实施例的另一种操作请求响应方法流程图;
图4为基于图1所示实施例的一种蓝牙耳机丢失信息的输出方法流程图;
图5为本发明实施例所提供的一种设备控制装置的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
为了降低用户操作繁琐度,提高用户体验,本发明实施例提供了一种设备控制方法、装置及系统,下面首先对本发明实施例所提供的一种设备控制方法的进行介绍。
首先需要说明的是,本发明实施例所提供的第一种设备控制方法可以应用于具有蓝牙功能的可穿戴设备(以下简称可穿戴设备),例如,可以为具有蓝牙功能的腕投等,在此不做具体限定。该可穿戴设备与蓝牙耳机可拆卸连接。
如图1所示,一种设备控制方法,应用于具有蓝牙功能的可穿戴设备,所述方法包括:
S101,监测所述蓝牙耳机与所述可穿戴设备的物理连接状态是否发生变化,若为是,执行步骤S102;
可以理解的是,如果用户需要使用蓝牙耳机,那么便会将蓝牙耳机从可穿戴设备上取下,如果用户不需要使用蓝牙耳机,那么便会将蓝牙耳机固定在可穿戴设备上,由此可见,蓝牙耳机与可穿戴设备的物理连接状态与蓝牙耳机的使用状态息息相关。
那么,可穿戴设备便可以通过监测蓝牙耳机与可穿戴设备的物理连接状态是否发生变化,来判断蓝牙耳机的使用状态,也就是说,如果蓝牙耳机与可穿戴设备的物理连接状态发生了改变,那么此时用户可能将蓝牙耳机从可穿戴设备上取下,或者,将原本已取下的蓝牙耳机固定到可穿戴设备上,那么便可以执行步骤S102。这样,无需用户手动通知可穿戴设备,可穿戴设备便可以检测到蓝牙耳机与其的物理连接状态。
为了布局清楚和方案清晰,后续对监测蓝牙耳机与可穿戴设备的物理连接状态是否发生变化的具体实现方式进行举例介绍。
S102,根据所述物理连接状态变化前、后的状态,向所述蓝牙耳机发送控制指令,以使得所述蓝牙耳机在工作状态和非工作状态之间进行状态切换;
如果监测到蓝牙耳机与可穿戴设备的物理连接状态发生变化,且从连接状态变为断开状态,那么可以确定此时蓝牙耳机被从可穿戴设备上取下,说明此时用户很可能需要使用蓝牙耳机,那么便可以向蓝牙耳机发送控制指令,以使蓝牙耳机进入工作状态,以便用户使用蓝牙耳机实现相应功能。相反,如果监测到蓝牙耳机与可穿戴设备的物理连接状态发生变化,且从断开状态变为连接状态,那么可以确定此时蓝牙耳机被固定到可穿戴设备上,说明此时用户很可能不需要使用蓝牙耳机,那么便可以向蓝牙耳机发送控制指令,以使蓝牙耳机进入非工作状态。
S103,确定所述蓝牙耳机在所述工作状态时,与所述蓝牙耳机进行语音信号交互。
可穿戴设备在确定蓝牙耳机处于工作状态时,便可以与蓝牙耳机进行语音信号交互,也就是说,蓝牙耳机可以采集用户发出的语音信号,并将其发送至可穿戴设备,可穿戴设备接收蓝牙耳机发送的语音信号,并响应所接收的语音信号;可穿戴设备也可以将语音信号发送至蓝牙耳机,进而通过蓝牙耳机播放该语音信号。
当蓝牙耳机从非工作状态转换至工作状态时,可穿戴设备可以启动预设应用程序或功能,以便用户使用。例如,可以启动拨号程序,便于用户拨打电话;也可以启动语音接收及识别功能,以便用户通过蓝牙耳机发出操作指令,以使可穿戴设备进行响应,例如,启动音乐软件、拨打某人电话、开启导航等。
可见,本发明实施例所提供的设备控制方法中,蓝牙耳机与所述可穿戴设备可拆卸连接,具有蓝牙功能的可穿戴设备监测蓝牙耳机与可穿戴设备的物理连接状态是否发生变化,若为 是,根据物理连接状态变化前、后的状态,向蓝牙耳机发送控制指令,以使得蓝牙耳机在工作状态和非工作状态之间进行状态切换,确定蓝牙耳机在工作状态时,与蓝牙耳机进行语音信号交互,从而自动实现相关的语音交互功能。可见,蓝牙耳机工作状态的切换不需要用户进行手动设置,而是由可穿戴设备根据物理连接状态变化前、后的状态进行控制,降低了用户操作的繁琐度,提高了用户体验。
作为本发明实施例的一种实施方式,监测所述蓝牙耳机与所述可穿戴设备的物理连接状态是否发生变化的具体实现方式可以包括但不限于以下几种:
第一种实现方式为:监测所述可穿戴设备的第一连接位置的电信号是否发生变化,其中,在所述蓝牙耳机与所述可穿戴设备的物理连接时,所述第一连接位置与所述蓝牙耳机的第二连接位置电连接。
在这种实施方式中,可穿戴设备具有第一连接位置,蓝牙耳机具有第二连接位置,可穿戴设备与蓝牙耳机物理连接时,第一连接位置与第二连接位置电连接,这样便可以通过第一连接位置的电平变化,来确定可穿戴设备与蓝牙耳机物理连接状态的变化。
具体来说,作为一种实现方式,当蓝牙耳机固定在可穿戴设备上时,可穿戴设备的第一连接位置的电平为低电平,一般以0表示;当蓝牙耳机从可穿戴设备上取下时,可穿戴设备的第一连接位置的电平为高电平,一般以1表示。作为另一种实现方式,当蓝牙耳机固定在可穿戴设备上时,可穿戴设备的第一连接位置的电平为高电平,一般以1表示;当蓝牙耳机从可穿戴设备上取下时,可穿戴设备的第一连接位置的电平为低电平,一般以0表示。这样,通过第一连接位置的电平变化便可以确定蓝牙耳机与可穿戴设备的物理连接状态。
其中,第一连接位置或第二连接位置的高电平可以通过电源管理芯片提供,例如可以为可提供1.5V、1.8V、2.0V等电压的电源管理芯片,这都是合理的。而第一连接位置或第二连接位置的低电平则可以通过接地的方式实现,即提供0V电压,进而实现低电平。对于第一连接位置及第二连接位置的具体实现形式,本发明实施例不做具体限定,例如,可以为弹片、端口等能形式,只要可以实现电连接,且可以传递电信号即可。
第二种实现方式为:监测所述可穿戴设备的第三连接位置的光信号是否发生变化,其中,在所述蓝牙耳机与所述可穿戴设备的物理连接时,所述第三连接位置被所述蓝牙耳机遮挡。
在这种实施方式中,可穿戴设备具有第三连接位置,可穿戴设备与蓝牙耳机物理连接时,第三连接位置被所述蓝牙耳机遮挡。这样便可以通过第三连接位置的光信号变化,来确定可穿戴设备与蓝牙耳机物理连接状态的变化。
具体来说,如果监测到第三连接位置的光信号从有到无,那么说明第三连接位置从未被遮挡到被遮挡,此时蓝牙耳机被固定在可穿戴设备上,相反的,如果监测到第三连接位置的光信号从无到有,那么说明第三连接位置从被遮挡到未被遮挡,此时蓝牙耳机被从可穿戴设备上取下。这样便可以通过第三连接位置的光信号变化,来确定可穿戴设备与蓝牙耳机物理连接状态的变化。
需要说明的是,可以通过在第三连接位置安装光学传感器的方式,来获得第三连接位置的光信号。该光学传感器可以采用现有任意光学传感器,只要可以达到获得第三连接位置的光信号的目的即可,在此不做具体限定。
第三种实现方式为:监测所述可穿戴设备的第四连接位置的压力信号是否发生变化,其中,在所述蓝牙耳机与所述可穿戴设备的物理连接时,所述第四连接位置被所述蓝牙耳机挤压。
在这种实施方式中,可穿戴设备具有第四连接位置,可穿戴设备与蓝牙耳机物理连接时,第四连接位置受到蓝牙耳机的挤压而产生压力信号。这样便可以通过第四连接位置的压力信号变化,来确定可穿戴设备与蓝牙耳机物理连接状态的变化。
具体来说,如果监测到第四连接位置的压力信号从有到无,那么说明第四连接位置从被挤压到未被挤压,此时蓝牙耳机被从可穿戴设备上取下,相反的,如果监测到第四连接位置的压力信号从无到有,那么说明第四连接位置从未被挤压到被挤压,此时蓝牙耳机被固定在可穿戴设备上。这样便可以通过第四连接位置的压力信号变化,来确定可穿戴设备与蓝牙耳机物理连接状态的变化。
需要说明的是,可以通过在第四连接位置安装压力传感器的方式,来获得第四连接位置的压力信号。该压力传感器可以采用现有任意压力传感器,只要可以达到获得第四连接位置的压力信号的目的即可,在此不做具体限定。
进一步需要说明的是,除上述三种实施方式之外,也可以通过其他方式监测蓝牙耳机与可穿戴设备的物理连接状态是否发生变化,只要可以确定蓝牙耳机与可穿戴设备的物理连接状态即可,在此不做具体限定。
作为本发明实施例的一种实施方式,基于上述设备控制方法,当可穿戴设备获得操作请求时,本发明实施例还提供了如下响应方式,如图2所示,具体包括以下步骤:
S201,获得操作请求;
可以理解的是,用户可以按动可穿戴设备上的按钮或者触摸屏幕发出操作请求,进而可穿戴设备便可以获得该操作请求。
在一种实施方式中,操作请求可能是用户通过语音信号发出的,那么当蓝牙耳机处于非工作状态时,也就是蓝牙耳机固定在可穿戴设备上时,此时蓝牙耳机不能接收用户发出的语音信号,可穿戴设备便可以通过自身的麦克风采集用户发出的语音信号,并对所采集的语音信号进行语音识别,进而获得操作请求。
例如,可穿戴设备发出的语音信号对应的语音识别结果为“播放音乐《玩火》”,那么可穿戴设备可以进一步对上述语音识别结果进行分析,确定用户请求播放音乐,并且所播放音乐的名称为《玩火》,然后获得内容为“播放音乐《玩火》”的操作请求。又例如,可穿戴设备可能正接收到来电,那么用户可以发出“接听”等语音信号作为操作请求,那么可穿戴设备便会获得该内容为“接听电话”的操作请求。
当蓝牙耳机处于工作状态时,也就是蓝牙耳机没有固定在可穿戴设备上时,此时蓝牙耳机可以采集用户发出的语音信号,当然可穿戴设备也可以采集用户发出的语音信号,那么可穿戴设备便可以获得蓝牙耳机采集的语音信号和/或可穿戴设备采集的语音信号,进而对所获得的语音信号进行语音识别,获得操作请求,这也是合理的。
在另一种实施方式中,操作请求可能是来电触发的,也就是说,可穿戴设备接收到来电,那么可穿戴设备便获得了接通电话的操作请求。
在另一种实施方式中,当可穿戴设备检测到蓝牙耳机与可穿戴设备的物理连接状态发生变化时,且该变化为蓝牙耳机断开与可穿戴设备的物理连接,那么此时可穿戴设备也可以获得预设的操作请求,该预设的操作请求可以为开启拨号程序、或者开启语音控制模式等。
S202,响应所述操作请求,并获得所述操作请求对应的响应内容;
获得了操作请求后,可穿戴设备便可以响应该操作请求,进而获得操作请求对应的响应内容。
假设操作请求的内容为“播放音乐《玩火》”,那么可穿戴设备便可以响应该操作指令,获得音乐《玩火》的音频数据,也就是响应内容。假设操作指令为“播放语音导航”,那么电设备便可以响应该操作指令,获得导航信息的音频数据。如果操作请求为接听电话,那么可穿戴设备便会响应该操作请求,即接通电话,进而获得对端设备发送的语音信号,也就是响应内容。该对端设备为除可穿戴设备及蓝牙耳机以外的设备。
S203,在所述蓝牙耳机处于工作状态的情况下,发送所述响应内容至所述蓝牙耳机,以使所述蓝牙耳机接收并播放所述响应内容。
在一种实施方式中,此时可穿戴设备如果监测到蓝牙耳机断开与可穿戴设备的物理连接,那么蓝牙耳机便进入工作状态,可穿戴设备便可以发送响应内容至蓝牙耳机,进而蓝牙耳机便可以接收并播放该响应内容。
举例而言,如果可穿戴设备获得了音乐《玩火》的音频数据或者语音信号等响应内容,此时监测到蓝牙耳机断开与可穿戴设备的物理连接,那么可穿戴设备便可以将该音频数据或者语音信号发送至蓝牙耳机,蓝牙耳机接收到该音频数据或者语音信号便可以进行音频数据或者语音信号的播放,用户便可以通过蓝牙耳机收听该音乐或者语音信号。
在另一种实施方式中,可穿戴设备此时并未监测到蓝牙耳机与可穿戴设备的物理连接状态发生变化,但是此时蓝牙耳机并未与可穿戴设备物理连接,那么蓝牙耳机处于工作状态,可穿戴设备便可以发送响应内容至蓝牙耳机,进而蓝牙耳机便可以接收并播放该响应内容。
举例而言,如果可穿戴设备获得了音乐《玩火》的音频数据或者语音信号等响应内容,此时监测到并未监测到蓝牙耳机与可穿戴设备的物理连接状态发生变化,但是此时蓝牙耳机并未与可穿戴设备物理连接,那么可穿戴设备便可以将该音频数据或者语音信号发送至蓝牙耳机,蓝牙耳机接收到该音频数据或者语音信号便可以进行音频数据或者语音信号的播放,用户便可以通过蓝牙耳机收听该音乐或者语音信号。
由上可见,可穿戴设备在响应操作请求的过程中,基于上述设备控制方法,用户从可穿戴设备上取下蓝牙耳机后,无需进行任何手动设置,便可以通过蓝牙耳机收听到响应内容,操作简单,用户体验好。
需要说明的是,如果蓝牙耳机在播放响应内容时,可穿戴设备监测到蓝牙耳机与可穿戴设备的物理连接状态发生变化,说明此时用户将蓝牙耳机固定到可穿戴设备上,那么可穿戴设备便可以发送控制指令以使蓝牙耳机转换至非工作状态。进而,可穿戴设备可以继续播放相应内容,或者,停止播放相应内容,这都是合理的。
在上述操作请求为语音交互请求情况下,作为本发明实施例的一种实施方式,所述响应所述操作请求,并获得所述操作请求对应的响应内容的步骤,可以包括:
响应所述语音交互请求,并获得对端设备发送的第一语音信号。
可以理解的是,语音交互请求包括各种语音类的请求,例如来电、语音聊天等。可穿戴设备获得该语音交互请求后,便可以响应该语音交互请求。假设语音交互请求为来电请求,那么可穿戴设备便可以接通来电,进而便可以获得对端设备发送的第一语音信号,其中,对端设备为除可穿戴设备及蓝牙耳机以外的设备。第一语音信号可以为该对端设备采集并发送至可穿戴设备的,当然也可以是对端设备转发至可穿戴设备的,这都是合理的。
在第一种实施方式中,可穿戴设备获得语音交互请求后,监测到蓝牙耳机断开与可穿戴设备的物理连接,那么可穿戴设备便立即响应该语音交互请求,假设该语音交互请求为来电,那么便接通来电。
在第二种实施方式中,可穿戴设备获得语音交互请求后,并未监测到蓝牙耳机与可穿戴设备的物理连接状态发生变化,但是此时蓝牙耳机并未与可穿戴设备物理连接,那么蓝牙耳机处于工作状态,可穿戴设备便立即响应该语音交互请求,假设该语音交互请求为来电,那么便接通来电。
在第三种实施方式中,可穿戴设备获得语音交互请求后,并未监测到蓝牙耳机与可穿戴设备的物理连接状态发生变化,此时蓝牙耳机与可穿戴设备物理连接,那么蓝牙耳机处于非工作状态,可穿戴设备一般获得用户通过可穿戴设备发出的响应操作后便响应该语音交互请求,假设该语音交互请求为来电,那么用户可能按动可穿戴设备上的接听按钮,那么可穿戴设备获得该响应操作后,便接通来电。
相应的,所述发送所述响应内容至所述蓝牙耳机,以使所述蓝牙耳机接收并播放所述响应内容的步骤,可以包括:
发送所述第一语音信号至所述蓝牙耳机,以使所述蓝牙耳机接收并播放所述第一语音信号。
在可穿戴设备获得对端设备发送的第一语音信号时,如果此时蓝牙耳机处于工作状态,也就是说,如果可穿戴设备此时监测到蓝牙耳机与可穿戴设备的物理连接状态发生变化,且该变化为蓝牙耳机断开与可穿戴设备的物理连接,或者,此时蓝牙耳机不与可穿戴设备物理连接,那么便响应该语音交互指令,进而,可穿戴设备便可以将接收到的对端设备发送的第一语音信号发送至蓝牙耳机,蓝牙耳机接收到该第一语音信号后,便可以将其播放出来以便用户收听。
如果上述语音交互指令为来电,那么第一语音信号便为与用户进行通话的人发出的语音信号,对端设备将该第一语音信号发送至可穿戴设备,可穿戴设备进而将该第一语音信号发送至蓝牙耳机,那么蓝牙耳机便可以将该第一语音信号进行播放,那么用户也就可以听见与其通话的人所说的语音内容。
为了使与用户进行语音交互的人可以听到用户所说的语音内容,上述方法还可以包括:
接收所述蓝牙耳机发送的第二语音信号;发送所述第二语音信号至所述对端设备,其中,所述第二语音信号为所述蓝牙耳机获得的用户发出的语音信号。
蓝牙耳机可以通过自身的麦克风采集用户发出的第二语音信号,并通过蓝牙连接将第二语音信号发送至可穿戴设备,进而,可穿戴设备接收到该第二语音信号后,便可以将该第二语音信号发送对端设备,那么与用户进行语音交互的人也就可以听到用户所说的语音内容,从而实现语音交互。
可见,在可穿戴设备获得语音交互指令时,如果此时用户将蓝牙耳机从可穿戴设备上取下,或蓝牙耳机正处于工作状态,那么便自动响应该语音交互指令,并通过蓝牙耳机播放及采集语音信号,使用户可以通过蓝牙耳机进行语音交互,无需用户进行手动设置,操作方便,用户体验更佳。
需要说明的是,如果蓝牙耳机在播放第一语音信号时,可穿戴设备监测到蓝牙耳机与可穿戴设备的物理连接状态发生变化,说明此时用户将蓝牙耳机固定到可穿戴设备上,那么可穿戴设备并可以发送控制指令以使蓝牙耳机转换至非工作状态。进而,可穿戴设备可以继续播放第一语音信号,或者,结束对语音交互指令的响应,这都是合理的。
为了保证可穿戴设备响应语音交互指令过程中的语音信号的质量,保证用户可以听清语音交互过程中对方发出的语音内容,作为本发明实施例的一种实施方式,如图3所示,上述方法还可以包括以下步骤:
S301,检测所述第二语音信号的信号强度,并判断所述信号强度是否低于预设强度,如果低于预设强度,则执行步骤S302;如果不低于预设强度,则执行步骤S303;
可穿戴设备在接收到蓝牙耳机发送的第二语音信号时,可以检测所接收到的第二信号的信号强度,其中,检测第二信号的信号强度的方式可以采用现有任意信号强度检测方式,只要能够达到检测目的即可,在此不作具体限定。由于第二语音信号是可穿戴设备需要发送至对端设备的,所以第二语音信号的信号强度直接影响可穿戴设备响应该语音交互指令过程的质量。
需要说明的是,该预设强度可以由本领域技术人员根据语音交互指令的实际响应环境等因素进行确定,在此不做具体限定。
S302,发送使所述蓝牙耳机从工作状态切换至非工作状态的控制指令至所述蓝牙耳机,以使所述蓝牙耳机进入非工作状态,并播放所接收到的第一语音信号,获取第三语音信号,并发送所述第三语音信号至所述对端设备;
当可穿戴设备检测到第二语音信号的信号强度低于上述预设强度时,说明此时蓝牙耳机发送的第二语音信号的强度较弱,与用户进行语音交互的人很可能无法辨别第二语音信号的 内容,那么,此时可穿戴设备便可以发送控制指令至蓝牙耳机,以控制蓝牙耳机从工作状态转换至非工作状态,也就是说,此时便不再通过蓝牙耳机响应该语音交互指令。
进而,可穿戴设备便可以通过自身的播放器播放所接收到的第一语音信号以便用户收听,并可以通过自身的麦克风获取第三语音信号,该第三语音信号即为可穿戴设备获得的用户发出的语音信号。可穿戴设备获得了第三语音信号后,便可以发送第三语音信号至端设备,那么与用户进行语音交互的人也就可以接收到该第三语音信号,进而,继续进行语音交互。
S303,检测所述第二语音信号的信噪比,并判断所述信噪比是否低于预设信噪比,如果低于预设信噪比,则执行步骤S304;如果不低于预设信噪比,则执行步骤S305;
当可穿戴设备检测到第二语音信号的信号强度不低于上述预设强度时,说明此时蓝牙耳机发送的第二语音信号的强度较强,为了进一步保证语音交互过程的信号质量,可穿戴设备可以进一步检测第二语音信号的信噪比,可以理解的是,信噪比指的是信号与噪声的比例,因此信噪比越高,说明语音信号中的噪声越小,信噪比越低,说明语音信号中的噪声越大。
需要说明的是,该预设信噪比可以由本领域技术人员根据语音交互指令的实际响应环境等因素进行确定,在此不做具体限定。
S304,拒绝对所述第二语音信号进行处理;并获取所述第三语音信号,发送所述第三语音信号至所述对端设备。
如果可穿戴设备检测到第二语音信号的信噪比低于上述预设信噪比,说明此时第二语音信号中的噪声较大,那么,如果此时将所接收到的蓝牙耳机发送的第二语音信号发送至对端设备,很可能造成与用户进行语音交互的人无法辨别用户所说的语音内容,那么可穿戴设备便可以拒绝对第二语音信号进行处理,也就是说,不将第二语音信号发送至对端设备,而是通过自身的麦克风采集第三语音信号,将第三语音信号发送至对端设备。
可以理解的是,由于此时只是蓝牙耳机所采集的第二语音信号的信噪比较低,这并不影响蓝牙耳机的播放器播放语音信号。因此,此时仍然可以通过蓝牙耳机播放第一语音信号。
S305,保持当前响应模式不变。
如果可穿戴设备检测到第二语音信号的信噪比不低于上述预设信噪比,说明此时第二语音信号中的噪声较小,那么便可以继续保持蓝牙耳机在工作状态,即维持当前的响应模式不变,继续通过蓝牙耳机播放对端设备发送的第一语音信号,并通过蓝牙耳机采集用户发出的第二语音信号,并将该第二语音信号发送至对端设备。
可见,通过上述方式可以保证在响应语音交互指令过程中的信号质量,通过对信号强度及信噪比的监测,可穿戴设备可以控制蓝牙耳机的工作状态,不需要用户进行手动设置,进一步提高用户体验。
为了防止蓝牙耳机丢失,在可穿戴设备所发出的控制指令为:使得所述蓝牙耳机从非工作状态切换至工作状态的指令时,作为本发明的一种实施方式,如图4所示,上述方法还可以包括:
S401,检测所述蓝牙耳机与所述可穿戴设备是否断开蓝牙连接;若为是,则执行步骤S402;
可以理解的是,可穿戴设备所发出的控制指令为:使得蓝牙耳机从非工作状态切换至工作状态的指令时,蓝牙耳机是没有固定在可穿戴设备上的,此时可能用户在使用蓝牙耳机,也可能蓝牙耳机掉落,容易发生丢失的危险。
那么为了在蓝牙耳机可能丢失的情况下,及时提醒用户,避免经济损失,可穿戴设备可以检测蓝牙耳机与可穿戴设备是否断开蓝牙连接,如果是,则可以执行步骤S402,如果未断开蓝牙连接,那么说明此时用户正在使用蓝牙耳机,那么蓝牙耳机便没有丢失,也就无需进行任何提醒操作。
S402,记录所述可穿戴设备与所述蓝牙耳机断开蓝牙连接的时间;
如果检测到蓝牙耳机与可穿戴设备断开了蓝牙连接,那么此时蓝牙耳机很可能丢失,但是由于在蓝牙连接的信号不稳定时也可能出现短时的断开蓝牙连接现象,所以此时为了避免频繁提示用户蓝牙耳机丢失给用户带来困扰,可穿戴设备可以记录与蓝牙耳机断开蓝牙连接的时间。
S403,当所述时间达到预设时间值时,输出蓝牙耳机丢失信息。
当所记录的时间达到预设时间值时,说明此时蓝牙耳机与可穿戴设备断开蓝牙连接的时间较长,那么蓝牙耳机很可能丢失,此时可穿戴设备便可以输出蓝牙耳机丢失信息以提醒用户蓝牙耳机可能丢失。
需要说明的是,上述预设时间值可以由本领域技术人员根据蓝牙耳机实际使用场景等因素进行设定,例如可以为8秒、10秒、20秒等,在此不做具体限定。
对于可穿戴设备输出蓝牙耳机丢失信息的方式,本发明实施例也不做具体限定。例如,可穿戴设备可以通过振动、亮灯、蜂鸣等方式输出蓝牙耳机丢失信息。如果可穿戴设备具有显示屏幕,也可以通过显示屏幕输出蓝牙耳机丢失信息,当然,也可以采用上述方式中多种方式结合的方式输出蓝牙耳机丢失信息,这都是合理的。
由上可见,可穿戴设备与蓝牙耳机未物理连接时,通过对蓝牙连接断开时间的记录,可以在蓝牙耳机可能丢失的情况下,及时输出蓝牙耳机丢失信息以提示用户,避免蓝牙耳机丢失给用户造成的无法使用问题及经济损失。
相应于上述方法实施例,本发明实施例还提供了一种设备控制装置,下面对本发明实施例所提供的一种设备控制装置进行介绍。
如图5所示,一种设备控制装置,应用于具有蓝牙功能的可穿戴设备,蓝牙耳机与所述可穿戴设备可拆卸连接,所述装置包括:
物理连接状态检测模块510,用于监测所述蓝牙耳机与所述可穿戴设备的物理连接状态是否发生变化;
控制指令发送模块520,用于在所述蓝牙耳机与所述可穿戴设备的物理连接状态发生变化的情况下,根据所述物理连接状态变化前、后的状态,向所述蓝牙耳机发送控制指令,以使得所述蓝牙耳机在工作状态和非工作状态之间进行状态切换;
语音交互模块530,用于在确定所述蓝牙耳机在所述工作状态时,与所述蓝牙耳机进行语音信号交互。
可见,本发明实施例所提供的设备控制装置中,蓝牙耳机与所述可穿戴设备可拆卸连接,具有蓝牙功能的可穿戴设备监测蓝牙耳机与可穿戴设备的物理连接状态是否发生变化,若为是,根据物理连接状态变化前、后的状态,向蓝牙耳机发送控制指令,以使得蓝牙耳机在工作状态和非工作状态之间进行状态切换,确定蓝牙耳机在工作状态时,与蓝牙耳机进行语音信号交互,从而自动实现相关的语音交互功能。可见,蓝牙耳机工作状态的切换不需要用户进行手动设置,而是由可穿戴设备根据物理连接状态变化前、后的状态进行控制,降低了用户操作的繁琐度,提高了用户体验。
作为本发明实施例的一种实施方式,所述物理连接状态检测模块510可以包括:
电信号监测单元(图5中未示出),用于监测所述可穿戴设备的第一连接位置的电信号是否发生变化,其中,在所述蓝牙耳机与所述可穿戴设备的物理连接时,所述第一连接位置与所述蓝牙耳机的第二连接位置电连接;
或,
光信号监测单元(图5中未示出),用于监测所述可穿戴设备的第三连接位置的光信号是否发生变化,其中,在所述蓝牙耳机与所述可穿戴设备的物理连接时,所述第三连接位置被所述蓝牙耳机遮挡;
或,
压力信号监测单元(图5中未示出),用于监测所述可穿戴设备的第四连接位置的压力信号是否发生变化,其中,在所述蓝牙耳机与所述可穿戴设备的物理连接时,所述第四连接位置被所述蓝牙耳机挤压。
作为本发明实施例的一种实施方式,所述装置还可以包括:
请求获得模块(图5中未示出),用于获得操作请求;
请求响应模块(图5中未示出),用于响应所述操作请求,并获得所述操作请求对应的响应内容;
内容发送模块(图5中未示出),用于在所述蓝牙耳机处于工作状态的情况下,发送所述响应内容至所述蓝牙耳机,以使所述蓝牙耳机接收并播放所述响应内容。
可穿戴设备在响应操作请求的过程中,基于上述设备控制方法,用户从可穿戴设备上取下蓝牙耳机后,无需进行任何手动设置,便可以通过蓝牙耳机收听到响应内容,操作简单,用户体验好。
作为本发明实施例的一种实施方式,所述请求获得模块可以包括:
语音信号获得单元(图5中未示出),用于获得所述蓝牙耳机采集的语音信号和/或所述可穿戴设备采集的语音信号;
操作请求获得单元(图5中未示出),用于对所获得的语音信号进行语音识别,获得操作请求。
作为本发明实施例的一种实施方式,所述操作请求可以为:语音交互请求;
所述请求响应模块可以包括:
第一语音信号获取单元(图5中未示出),用于响应所述语音交互请求,并获得对端设备发送的第一语音信号,其中,所述对端设备为除所述可穿戴设备及所述蓝牙耳机以外的设备;
所述内容发送模块可以包括:
第一语音信号发送单元(图5中未示出),用于发送所述第一语音信号至所述蓝牙耳机,以使所述蓝牙耳机接收并播放所述第一语音信号;
所述装置还可以包括:
第二语音信号接收模块(图5中未示出),用于接收所述蓝牙耳机发送的第二语音信号,其中,所述第二语音信号为所述蓝牙耳机获得的用户发出的语音信号;
第二语音信号发送模块(图5中未示出),用于发送所述第二语音信号至所述对端设备。
在可穿戴设备获得语音交互指令时,如果此时用户将蓝牙耳机从可穿戴设备上取下,或蓝牙耳机正处于工作状态,那么便自动响应该语音交互指令,并通过蓝牙耳机播放及采集语 音信号,使用户可以通过蓝牙耳机进行语音交互,无需用户进行手动设置,操作方便,用户体验更佳。
作为本发明实施例的一种实施方式,所述装置还可以包括:
第一检测模块(图5中未示出),用于检测所述第二语音信号的信号强度,并判断所述信号强度是否低于预设强度;
第一切换模块(图5中未示出),用于在所述信号强度低于预设强度的情况下,发送使所述蓝牙耳机从工作状态切换至非工作状态的控制指令至所述蓝牙耳机,以使所述蓝牙耳机进入非工作状态,并播放所接收到的第一语音信号,获取第三语音信号,并发送所述第三语音信号至所述对端设备,其中,所述第三语音信号为所述可穿戴设备获得的用户发出的语音信号;
第二检测模块(图5中未示出),用于在所述信号强度不低于预设强度的情况下,检测所述第二语音信号的信噪比,并判断所述信噪比是否低于预设信噪比;
第二切换模块(图5中未示出),用于在所述信噪比低于预设信噪比的情况下,拒绝对所述第二语音信号进行处理;并获取所述第三语音信号,发送所述第三语音信号至所述对端设备。
通过上述方式可以保证在响应语音交互指令过程中的信号质量,通过对信号强度及信噪比的监测,可穿戴设备可以控制蓝牙耳机的工作状态,不需要用户进行手动设置,进一步提高用户体验。
作为本发明实施例的一种实施方式,所述装置还可以包括:
蓝牙连接检测模块(图5中未示出),用于在所述控制指令为:使得所述蓝牙耳机从非工作状态切换至工作状态的指令时,检测所述蓝牙耳机与所述可穿戴设备是否断开蓝牙连接;
时间记录模块(图5中未示出),用于在所述蓝牙耳机与所述可穿戴设备断开蓝牙连接的情况下,记录所述可穿戴设备与所述蓝牙耳机断开蓝牙连接的时间;
丢失信息输出模块(图5中未示出),用于当所述时间达到预设时间值时,输出蓝牙耳机丢失信息。
可穿戴设备与蓝牙耳机未物理连接时,通过对蓝牙连接断开时间的记录,可以在蓝牙耳机可能丢失的情况下,及时输出蓝牙耳机丢失信息以提示用户,避免蓝牙耳机丢失给用户造成的无法使用问题及经济损失。
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这 种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
以上所述仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内所作的任何修改、等同替换、改进等,均包含在本发明的保护范围内。

Claims (10)

  1. 一种可穿戴设备控制方法,其特征在于,应用于具有蓝牙功能的可穿戴设备,蓝牙耳机与所述可穿戴设备可拆卸连接,所述方法包括:
    监测所述蓝牙耳机与所述可穿戴设备的物理连接状态是否发生变化;
    若为是,根据所述物理连接状态变化前、后的状态,向所述蓝牙耳机发送控制指令,以使得所述蓝牙耳机在工作状态和非工作状态之间进行状态切换;
    确定所述蓝牙耳机在所述工作状态时,与所述蓝牙耳机进行语音信号交互。
  2. 如权利要求1所述的方法,其特征在于,所述监测所述蓝牙耳机与所述可穿戴设备的物理连接状态是否发生变化的步骤,包括:
    监测所述可穿戴设备的第一连接位置的电信号是否发生变化,其中,在所述蓝牙耳机与所述可穿戴设备的物理连接时,所述第一连接位置与所述蓝牙耳机的第二连接位置电连接;
    或,
    监测所述可穿戴设备的第三连接位置的光信号是否发生变化,其中,在所述蓝牙耳机与所述可穿戴设备的物理连接时,所述第三连接位置被所述蓝牙耳机遮挡;
    监测所述可穿戴设备的第四连接位置的压力信号是否发生变化,其中,在所述蓝牙耳机与所述可穿戴设备的物理连接时,所述第四连接位置被所述蓝牙耳机挤压。
  3. 如权利要求1所述的方法,其特征在于,所述方法还包括:
    获得操作请求;
    响应所述操作请求,并获得所述操作请求对应的响应内容;
    在所述蓝牙耳机处于工作状态的情况下,发送所述响应内容至所述蓝牙耳机,以使所述蓝牙耳机接收并播放所述响应内容。
  4. 如权利要求3所述的方法,其特征在于,所述操作请求为:语音交互请求;
    所述响应所述操作请求,并获得所述操作请求对应的响应内容的步骤,包括:
    响应所述语音交互请求,并获得对端设备发送的第一语音信号,其中,所述对端设备为除所述可穿戴设备及所述蓝牙耳机以外的设备;
    所述发送所述响应内容至所述蓝牙耳机,以使所述蓝牙耳机接收并播放所述响应内容的步骤,包括:
    发送所述第一语音信号至所述蓝牙耳机,以使所述蓝牙耳机接收并播放所述第一语音信号;
    所述方法还包括:
    接收所述蓝牙耳机发送的第二语音信号,其中,所述第二语音信号为所述蓝牙耳机获得的用户发出的语音信号;
    发送所述第二语音信号至所述对端设备。
  5. 如权利要求1所述的方法,其特征在于,在所述控制指令为:使得所述蓝牙耳机从非工作状态切换至工作状态的指令时,所述方法还包括:
    检测所述蓝牙耳机与所述可穿戴设备是否断开蓝牙连接;
    若为是,则记录所述可穿戴设备与所述蓝牙耳机断开蓝牙连接的时间;
    当所述时间达到预设时间值时,输出蓝牙耳机丢失信息。
  6. 一种设备控制装置,其特征在于,应用于具有蓝牙功能的可穿戴设备,蓝牙耳机与所述可穿戴设备可拆卸连接,所述装置包括:
    物理连接状态检测模块,用于监测所述蓝牙耳机与所述可穿戴设备的物理连接状态是否发生变化;
    控制指令发送模块,用于在所述蓝牙耳机与所述可穿戴设备的物理连接状态发生变化的情况下,根据所述物理连接状态变化前、后的状态,向所述蓝牙耳机发送控制指令,以使得所述蓝牙耳机在工作状态和非工作状态之间进行状态切换;
    语音交互模块,用于在确定所述蓝牙耳机在所述工作状态时,与所述蓝牙耳机进行语音信号交互。
  7. 如权利要求6所述的装置,其特征在于,所述物理连接状态检测模块包括:
    电信号监测单元,用于监测所述可穿戴设备的第一连接位置的电信号是否发生变化,其中,在所述蓝牙耳机与所述可穿戴设备的物理连接时,所述第一连接位置与所述蓝牙耳机的第二连接位置电连接;
    光信号监测单元,用于监测所述可穿戴设备的第三连接位置的光信号是否发生变化,其中,在所述蓝牙耳机与所述可穿戴设备的物理连接时,所述第三连接位置被所述蓝牙耳机遮挡;
    压力信号监测单元,用于监测所述可穿戴设备的第四连接位置的压力信号是否发生变化,其中,在所述蓝牙耳机与所述可穿戴设备的物理连接时,所述第四连接位置被所述蓝牙耳机挤压。
  8. 如权利要求6所述的装置,其特征在于,所述装置还包括:
    请求获得模块,用于获得操作请求;
    请求响应模块,用于响应所述操作请求,并获得所述操作请求对应的响应内容;
    内容发送模块,用于在所述蓝牙耳机处于工作状态的情况下,发送所述响应内容至所述蓝牙耳机,以使所述蓝牙耳机接收并播放所述响应内容。
  9. 如权利要求8所述的装置,其特征在于,所述操作请求为:语音交互请求;
    所述请求响应模块包括:
    第一语音信号获取单元,用于响应所述语音交互请求,并获得对端设备发送的第一语音信号,其中,所述对端设备为除所述可穿戴设备及所述蓝牙耳机以外的设备;
    所述内容发送模块包括:
    第一语音信号发送单元,用于发送所述第一语音信号至所述蓝牙耳机,以使所述蓝牙耳机接收并播放所述第一语音信号;
    所述装置还包括:
    第二语音信号接收模块,用于接收所述蓝牙耳机发送的第二语音信号,其中,所述第二语音信号为所述蓝牙耳机获得的用户发出的语音信号;
    第二语音信号发送模块,用于发送所述第二语音信号至所述对端设备。
  10. 如权利要求6-9任一项所述的装置,其特征在于,所述装置还包括:
    蓝牙连接检测模块,用于在所述控制指令为:使得所述蓝牙耳机从非工作状态切换至工作状态的指令时,检测所述蓝牙耳机与所述可穿戴设备是否断开蓝牙连接;
    时间记录模块,用于在所述蓝牙耳机与所述可穿戴设备断开蓝牙连接的情况下,记录所述可穿戴设备与所述蓝牙耳机断开蓝牙连接的时间;
    丢失信息输出模块,用于当所述时间达到预设时间值时,输出蓝牙耳机丢失信息。
PCT/CN2018/084408 2017-05-03 2018-04-25 一种设备控制方法及装置 WO2018201944A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710304635.4 2017-05-03
CN201710304635.4A CN106954115B (zh) 2017-05-03 2017-05-03 一种设备控制方法及装置

Publications (1)

Publication Number Publication Date
WO2018201944A1 true WO2018201944A1 (zh) 2018-11-08

Family

ID=59478848

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/084408 WO2018201944A1 (zh) 2017-05-03 2018-04-25 一种设备控制方法及装置

Country Status (2)

Country Link
CN (1) CN106954115B (zh)
WO (1) WO2018201944A1 (zh)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106954115B (zh) * 2017-05-03 2020-01-10 北京一数科技有限公司 一种设备控制方法及装置
CN107979792B (zh) * 2017-11-30 2020-07-28 广东小天才科技有限公司 无线麦克风的找回方法、装置、无线麦克风及存储介质
WO2019218370A1 (zh) 2018-05-18 2019-11-21 深圳傲智天下信息科技有限公司 一种ai语音交互方法、装置及系统
CN109121033A (zh) * 2018-07-23 2019-01-01 歌尔股份有限公司 蓝牙耳机充电盒和充电盒组件
CN109243445A (zh) * 2018-09-30 2019-01-18 Oppo广东移动通信有限公司 语音控制方法、装置、电子设备以及存储介质
CN109257732B (zh) * 2018-09-30 2022-04-19 Oppo广东移动通信有限公司 设备控制方法、装置以及电子设备
CN109618417B (zh) * 2018-12-07 2021-08-06 歌尔科技有限公司 一种交互实现方法、系统、配件以及存储介质
CN110719421A (zh) * 2019-10-15 2020-01-21 四川长虹电器股份有限公司 一种自动识别和控制声音输出通道的方法
CN112004127B (zh) * 2020-08-27 2022-07-01 海信视像科技股份有限公司 一种信号状态显示方法及显示设备
CN112672278A (zh) * 2020-12-17 2021-04-16 南昌逸勤科技有限公司 一种可穿戴设备的定位方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050059344A1 (en) * 2003-09-12 2005-03-17 Chia-Hao Chang Accommodation device for bluetooth earphone
CN201114038Y (zh) * 2007-07-25 2008-09-10 中兴通讯股份有限公司 一种蓝牙手机及其蓝牙耳机
WO2009012633A1 (fr) * 2007-07-26 2009-01-29 Shanghai Hewlett-Packard Co., Ltd Oreillette bluetooth et dispositif de machine principale l'appliquant
CN202524445U (zh) * 2012-04-28 2012-11-07 叶晓林 带有蓝牙耳机的手机
CN106954115A (zh) * 2017-05-03 2017-07-14 北京数科技有限公司 一种设备控制方法及装置

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938564B (zh) * 2010-09-13 2014-04-23 鸿富锦精密工业(深圳)有限公司 具有蓝牙耳机的电子装置
JP6381061B2 (ja) * 2014-07-28 2018-08-29 ホアウェイ・テクノロジーズ・カンパニー・リミテッド Bluetooth(登録商標)通信方法およびデバイス
CN104702742A (zh) * 2015-03-26 2015-06-10 福建时中通讯科技有限公司 一种将蓝牙耳机放置在腕式手机表带上的方法
CN104868932B (zh) * 2015-04-30 2017-08-04 青岛歌尔声学科技有限公司 一种可穿戴电子设备及其通信方法及装置
CN105245644B (zh) * 2015-09-21 2018-09-07 广东欧珀移动通信有限公司 电话手表和电话手表的表盘
CN106507249A (zh) * 2016-12-02 2017-03-15 歌尔科技有限公司 一种手环

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050059344A1 (en) * 2003-09-12 2005-03-17 Chia-Hao Chang Accommodation device for bluetooth earphone
CN201114038Y (zh) * 2007-07-25 2008-09-10 中兴通讯股份有限公司 一种蓝牙手机及其蓝牙耳机
WO2009012633A1 (fr) * 2007-07-26 2009-01-29 Shanghai Hewlett-Packard Co., Ltd Oreillette bluetooth et dispositif de machine principale l'appliquant
CN202524445U (zh) * 2012-04-28 2012-11-07 叶晓林 带有蓝牙耳机的手机
CN106954115A (zh) * 2017-05-03 2017-07-14 北京数科技有限公司 一种设备控制方法及装置

Also Published As

Publication number Publication date
CN106954115A (zh) 2017-07-14
CN106954115B (zh) 2020-01-10

Similar Documents

Publication Publication Date Title
WO2018201944A1 (zh) 一种设备控制方法及装置
US11616871B2 (en) Mobile system with wireless earbud
KR101665277B1 (ko) 스마트 단말 디바이스의 제어 방법, 시스템, 프로그램 및 기록매체
US10630826B2 (en) Information processing device
US10609196B2 (en) Method and apparatus for controlling application program, and electronic device
WO2017181708A1 (zh) 终端的音频切换方法、装置和电子设备
US20200404089A1 (en) Wearable Personal Wireless Media Station
WO2020019820A1 (zh) 麦克风堵孔检测方法及相关产品
CN108024128B (zh) 蓝牙音乐播放的控制方法、装置、终端设备及存储介质
WO2019201271A1 (zh) 通话处理方法及移动终端
JP2011125015A (ja) 携帯用端末機におけるイヤホン装着を認識する装置及びその方法
WO2019076327A1 (zh) 游戏中来电处理方法、装置、终端及存储介质
WO2018201943A1 (zh) 一种设备控制方法、装置及系统
WO2018120487A1 (zh) 一种切换通话模式的方法和终端
CN103795873A (zh) 一种根据通话状态提示用户响应的方法及装置
CN108566221B (zh) 通话控制方法及相关设备
CN108809894B (zh) 一种网络电话处理的方法及终端
TW201625020A (zh) 耳機及利用所述耳機控制手持裝置的系統及方法
CN105812972B (zh) 利用耳机控制手持装置的系统及方法
CN113873077A (zh) 通话提示方法、通话设备、可读存储介质及芯片系统
JP2017046280A (ja) 電子機器
US10230830B2 (en) Sensor-based mute control for a softphone client
CN103780735A (zh) 手持终端、通话自动录制方法
CN106657675B (zh) 一种通过蓝牙播放设备播放移动终端音视频的方法及系统
WO2015070643A1 (zh) 耳机接口适配设备的连接切换方法及终端

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18794362

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18794362

Country of ref document: EP

Kind code of ref document: A1