Voice interaction device and control method, equipment and computer storage medium thereof

By using sensors in the voice interaction device to sense the user's motion status and headset usage status, and output matching content data, the problem of poor user experience in traditional technology is solved and a better user experience is achieved.

CN112114772BActive Publication Date: 2024-10-15AUKEY TECHNOLOGY CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN201910538996.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-06-20
Publication Date
2024-10-15
Estimated Expiration
2039-06-20

AI Technical Summary

Technical Problem

The output content data of traditional voice interaction devices is difficult to match the user's behavioral status and preferences, resulting in poor user experience.

Method used

By obtaining the sensor sensing results in the voice interaction device, the user's motion status and the usage status of the headset are determined. Based on this information, corresponding instruction information, such as audio data and image data, is output in the body or headset to match the user's current status. and preferences.

Benefits of technology

The user experience is improved, and the output content of the voice interaction device matches the user's behavioral state and preferences, thereby improving the user's interactive experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112114772B_ABST
    Figure CN112114772B_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure relate to a voice interaction device, a method for controlling the voice interaction device, an apparatus, and a computer-readable storage medium. The method comprises: obtaining a sensing result of a sensor in the voice interaction device, the sensor comprising at least one of a position sensor, an acceleration sensor, a posture sensor, and a heart rate sensor, the voice interaction device comprising a body and an earphone, the body being used to accommodate the earphone; based on the sensing result, determining the motion state of a user using the voice interaction device; in response to determining that the motion state meets a predetermined warning condition, determining the usage state of the earphone; and based on the usage state, determining the indication information outputted at at least one place in the body or the earphone. Embodiments of the present disclosure can achieve that the output information of the voice interaction device matches the current motion state or preference of the user using the voice interaction device, thereby improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure generally relates to voice interaction devices, and in particular, to voice interaction devices and control methods, devices and computer storage media thereof. Background Art

[0002] The control scheme of a traditional voice interaction device (for example but not limited to a smart watch or smart bracelet equipped with a Bluetooth headset) is, for example: the output content data of the voice interaction device (for example, displayed image data, indicated text data, played audio data) is usually selected from the local memory of the voice interaction device, or selected or downloaded by the user from a content server via the network.

[0003] In the traditional scheme for controlling the voice interaction device, the content data stored locally in the voice interaction device is not convenient to update frequently; the content data selected, downloaded in sequence or randomly through the network is difficult to match the user's current state and preferences. Therefore, the traditional scheme for controlling the voice interaction device cannot effectively make the output content data of the voice interaction device intelligently match the user's behavior and preferences, resulting in a poor user experience. Summary of the invention

[0004] The present disclosure provides a method and device for controlling a voice interaction device, which can improve the user experience so that the output content of a body or earphones matches the behavior state or preference of a user using the voice interaction device.

[0005] According to the first aspect of the present disclosure, a method for controlling a voice interaction device is provided. The method includes: obtaining a sensing result of a sensor in the voice interaction device, the sensor including at least one of a position sensor, an acceleration sensor, a posture sensor, and a heart rate sensor, the voice interaction device including a body and an earphone, the body being used to accommodate the earphone; based on the sensing result, determining the motion state of a user using the voice interaction device; in response to determining that the motion state meets a predetermined warning condition, determining the use state of the earphone; and based on the use state, determining indication information output at at least one place in the body or the earphone.

[0006] According to a second aspect of the present disclosure, a device for controlling a voice interaction device is provided, including a memory configured to store one or more computer programs; and a processor coupled to the memory and configured to execute one or more programs to enable the device to perform a method according to the first aspect of the present disclosure.

[0007] According to a third aspect of the present invention, a non-transitory computer-readable storage medium is further provided, wherein machine-executable instructions are stored on the non-transitory computer-readable storage medium, and when the machine-executable instructions are executed, the machine executes the method of the first aspect of the present disclosure.

[0008] According to a fourth aspect of the present disclosure, a voice interaction device is provided. The voice interaction device comprises: an earphone, comprising a playback device and a pickup device for audio data; a body, for accommodating the earphone, the body comprising: a communication unit, for communicating with at least one of a network device, a terminal device, and an earphone; a memory, configured to store one or more computer programs; a processor, coupled to the memory and configured to execute one or more programs to enable the voice interaction device to perform the method of the first aspect of the present disclosure.

[0009] In some embodiments, determining the indication information includes at least one of the following: in response to the usage status indicating that the headset is in a call, determining the indication information is warning information for indicating a warning state; and in response to the usage status indicating that the headset is stored in the body, determining the indication information is information indicating the motion state.

[0010] In some embodiments, the warning information includes at least one of audio data, image data, and text data for prompting to reduce the intensity of exercise.

[0011] In some embodiments, the method includes: determining that the motion state satisfies a predetermined warning condition in response to at least one of the following: the motion state satisfies the predetermined warning condition including at least one of the following: the motion state belongs to a predetermined set; and at least one of the intensity and duration of the motion state exceeds a predetermined threshold.

[0012] In some embodiments, determining the usage status of the headset includes: determining the placement status of the headset in the body based on at least one of a voltage measurement value at the charging interface of the body, a sensing result of a limit switch of the body, and a sensing result of a Hall sensor of the body; in response to determining that the headset is not placed in the body, determining whether the headset has established a communication connection with the body; in response to determining that the headset has established a communication connection with the body, determining a call status of the headset.

[0013] In some embodiments, the method also includes: obtaining a sensing result of a heart rate sensor; determining whether content data push is allowed; in response to determining that the content data push is allowed and the sensing result of the heart rate sensor exceeds a first predetermined heart rate threshold, sending a first predetermined type of audio data to the headset; and in response to determining that the content data push is allowed and the sensing result of the heart rate sensor does not exceed the first predetermined heart rate threshold, sending a second predetermined type of audio data to the headset.

[0014] In some embodiments, the first predetermined type of audio data is audio data labeled as soothing music, and the second predetermined type of audio data is audio data labeled as rhythmic music.

[0015] In some embodiments, determining whether content data push is allowed includes: determining whether a motion type marker associated with the user is detected; and in response to determining that the motion type marker is detected, determining whether content data push is allowed.

[0016] In some embodiments, the method also includes: in response to confirming that the exercise state meets the predetermined warning condition and the sensing result of the heart rate sensor does not exceed a second predetermined heart rate threshold, associating the user with an exercise type tag, and the second predetermined heart rate threshold is less than the first predetermined heart rate threshold.

[0017] In some embodiments, the method also includes: determining whether the user is in a mountain climbing state based on the sensing results of the air pressure sensor; determining whether content data push is allowed in response to determining that the number of times the mountain climbing state meets a predetermined condition; and in response to confirming that content data push is allowed, sending advertising data associated with mountain climbing to at least one of the main body, headphones, and terminal devices associated with the voice interaction device.

[0018] In some embodiments, the method also includes: obtaining a sensing result of an infrared in-ear detection sensor built into the headset; determining whether the headset of the voice interaction device has been removed from the ear; and in response to determining that the headset has been removed from the ear, stopping sending audio data to the headset.

[0019] In some embodiments, the method further includes: obtaining a voltage detection value of the earphone battery and a voltage detection value of the main body battery; and controlling charging between the main body and the earphone based on the voltage detection value of the earphone battery and the voltage detection value of the main body battery.

[0020] In some embodiments, controlling the charging between the main body and the earphone includes: in response to determining that the voltage detection value of the main body battery is higher than a first predetermined value of the voltage detection value of the earphone battery, controlling the balancing charging management unit to a step-down mode so that the main body charges the earphone, and the balancing charging management unit is connected to the earphone battery and the main body battery; in response to determining that the voltage detection value of the main body battery is lower than a second predetermined value of the voltage detection value of the earphone battery, controlling the balancing charging management unit to a step-up mode so that the earphone charges the main body.

[0021] In some embodiments, the voice interaction device also includes: an earphone battery, used to provide power to the earphone; a main body battery, used to provide power to the main body; a balanced charging management unit, connected to the earphone battery and the main body battery; a charging control unit, used to control the working mode of the balanced charging management unit based on the voltage detection value of the earphone battery and the voltage detection value of the main body battery, so as to control the charging between the main body and the earphone.

[0022] In some embodiments, the body includes a flexible circuit board and a charging interface, the flexible circuit board is used for electrical connection between the main circuit board of the body and the sensor and the battery of the body, and the main circuit board is configured with the processor of the body.

[0023] This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the disclosure, nor is it intended to limit the scope of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 A schematic diagram of a system 100 for controlling a voice interaction device according to an embodiment of the present disclosure is shown;

[0025] Figure 2 A system framework diagram of a voice interaction device 200 according to an embodiment of the present disclosure is shown;

[0026] Figure 3 shows a structural diagram of a voice interaction device 300 according to an embodiment of the present disclosure;

[0027] Figure 4 A schematic diagram of charging the voice interaction device 400 according to an embodiment of the present disclosure is shown;

[0028] Figure 5 A flow chart of a method 500 for controlling a voice interaction device according to an embodiment of the present disclosure is shown;

[0029] Figure 6 A flowchart of a method 600 for controlling content data of a voice interaction device according to an embodiment of the present disclosure is shown;

[0030] Figure 7 A flowchart of a method 700 for controlling content data of a voice interaction device according to an embodiment of the present disclosure is shown;

[0031] Figure 8 A flowchart of a method 800 for controlling charging of a voice interaction device according to an embodiment of the present disclosure is shown; and

[0032] Fig. 9 A block diagram of an electronic device 900 suitable for implementing the embodiments of the present disclosure is schematically shown.

[0033] In the various drawings, the same or corresponding reference numerals represent the same or corresponding parts. DETAILED DESCRIPTION

[0034] The preferred embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the preferred embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the structures and devices shown in the accompanying drawings are not necessarily drawn to scale. In addition, the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to make the present disclosure more thorough and complete, and to fully convey the scope of the present disclosure to those skilled in the art.

[0035] As used herein, the term "including" and its variations mean open inclusion, i.e., "including but not limited to". Unless otherwise stated, the term "or" means "and / or". The term "based on" means "based at least in part on". The terms "an example embodiment" and "an embodiment" mean "at least one example embodiment". The term "another embodiment" means "at least one additional embodiment". The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may also be included below.

[0036] As described above, in the control scheme of traditional voice interaction devices, the content data of the voice interaction device either comes from the local storage of the voice interaction device, or is selected by the user through the network, and downloaded randomly or sequentially, making it difficult for the output content data of the voice interaction device to match the user's behavioral status and preferences, resulting in a poor user experience.

[0037] In order to at least partially solve one or more of the above problems and other potential problems, the exemplary embodiments of the present disclosure propose a scheme for controlling a voice interaction device. In the scheme, the sensing result of the sensor in the voice interaction device is obtained, the sensor includes at least one of a position sensor, an acceleration sensor, a posture sensor and a heart rate sensor, and the voice interaction device includes a body and an earphone, and the body is used to accommodate the earphone; based on the sensing result, the motion state of the user using the voice interaction device is determined; in response to determining that the motion state meets a predetermined warning condition, the use state of the earphone is determined; and based on the use state, an indication signal output at at least one place in the body or the earphone is determined.

[0038] In the above scheme, the usage status of the earphone is determined based on the sensing results of the sensor when the motion status meets the predetermined warning condition; and the indication information output at at least one place in the main body or the earphone is determined based on the usage status, so that the output information of the voice interaction device can be matched with the current motion status or preference of the user using the voice interaction device, thereby improving the user experience.

[0039] Figure 1 Schematically shows a schematic diagram of a system 100 for a voice interaction device according to an embodiment of the present disclosure. Figure 1As shown, the system 100 includes a voice interaction device 110, a terminal device 120, and a server 130. The terminal device 120 and the server 130 are connected via a network 140. The voice interaction device 110 includes at least one wireless headset 112 and a body 114 for accommodating the wireless headset 112. The wireless headset 112 is, for example, one or more Bluetooth headsets.

[0040] In the context of the present disclosure, the term "terminal device" refers to an electronic device that has wireless transceiver capabilities and can access the Internet. The terminal device may include, but is not limited to, a mobile phone, a smart phone, a laptop computer, a tablet computer, a personal digital assistant (PDA), a wearable smart device, and the like.

[0041] The server 130 is used to perform wireless data interaction with the terminal device 120 and / or the voice interaction device 110 via the network 140. The server 130 includes, for example, a communication unit for exchanging information / data with the terminal device 120 and / or the voice interaction device 110 through a computer network such as the Internet and / or various telecommunication networks. For example, the server 130 can send content data to the terminal device 120 and / or the voice interaction device 110 according to a request from the terminal device 120 or the voice interaction device 110. The server 130 can also actively send matching content data according to the usage status of the voice interaction device 110 when content data push of the voice interaction device 110 is allowed.

[0042] The terminal device 120 is, for example but not limited to, a mobile phone. The terminal device 120 can directly interact with the voice interaction device 110 for data. In some embodiments, the terminal device 120 is a mobile phone, and the mobile phone supports the call function of one or two wireless headsets 112. The mobile phone can also interact with the wireless headset 112 for data directly or via the body 114, for example, sending received or locally stored content data to the wireless headset 112, and can also receive voice data input via the microphone of the headset 112. Or send the content data received via the mobile network to the headset 112. The body 114 can also interact with the wireless headset 112 for data. In some embodiments, the body 114 can also charge the wireless headset 112. In some embodiments, the body 114 and the wireless headset 112 can charge each other.

[0043] The following will be combined Figures 2 to 3 A voice interaction device according to an embodiment of the present disclosure is described. Figure 2 FIG. 2 shows a system framework diagram of a voice interaction system 200 according to an embodiment of the present disclosure. Figure 2 As shown, the voice interaction device includes a main body 210 and at least one earphone 260.

[0044] The body 210 is used to store a mobile phone. The body 210 includes: a first processor 212, a first communication module 214, a power management module 224, a touch screen 226 (or a display screen), a button 228, a data acquisition unit 232, and a power supply 242. In some embodiments, the body 210 also includes an earphone charging interface 230 for charging the earphone 260. In some embodiments, the first communication module 214 of the body 210 is configured with a Bluetooth module 216, a WIFI module 218, an LTE module 220, and a GPS module 222. The first communication module 214 exchanges data with the first processor 212. The power management module 224 is connected to the battery 242 and the pogo pin connector 244 for power supply management of the body 210 and providing charging power to the earphone 260. The body 210 is also configured with a plurality of sensors, such as but not limited to: a heart rate sensor 240, a gyroscope sensor 238, an acceleration sensor 236, and an air pressure sensor 234. In some embodiments, the first processor 212 is, for example, coupled to a memory and configured to execute Figures 5 to 8 Methods 500, 500, 600, 700, 800 shown in .

[0045] In some embodiments, the body 210 is, for example, a smart watch or a smart bracelet. In some embodiments, the body 210 is, for example, a charging box. The body 210 can, for example, exchange data with the mobile phone 290 via the Bluetooth module 216. The body 210 can also directly exchange data with the headset 260, for example, via the BT (Bit Torrent) communication protocol. For example, the body 210 can store locally stored audio data or audio data from the mobile phone 290 or from the headset 260. Figure 1 The audio data from the server 130 is shown being sent to the headset 260 .

[0046] The headset 260 includes, for example, a second processor 268, a speaker 262, a second communication module 264, a microphone 266, an antenna 270, a touch screen 272 (or a display screen), a battery 274, a charging management module 278, a pogo pin connector charging input 280, etc. The second communication module 264 is used for the headset 260 to interact with the mobile phone 290. Among them, the touch screen 272 is used to receive the user's touch input (such as music selection input, audio volume adjustment input), and display related information. In some embodiments, the headset 260 can also receive the user's key input. The microphone 266 is used to pick up the user's voice information. In some embodiments, the power when the body 210 charges the headset 260 is provided to the headset 260 via the pogo pin connector charging input 280.

[0047] In some embodiments, the earphones 260 are, for example, two Bluetooth earphones that can be used separately or in combination. There is no external wire connection between the two Bluetooth earphones, so that the user will not be entangled by the wire when answering a call or listening to music, making it more convenient to use. In some embodiments, the earphones 260 are also provided with an infrared in-ear detection sensor, based on which it can be detected whether one or both earphones are in or out of the ear. When it is determined that both earphones are out of the ear, stop sending audio data to the earphones and stop playing the audio data.

[0048] about Figure 2 In some embodiments, the main body 210 can charge the earphone 260 through the charging interface of the earphone 260. In some embodiments, the earphone and the main body can charge each other. Figure 4 The charging setting and control process between the earphone and the body of the voice interaction device will be specifically described in the related description. No further details will be given here.

[0049] Figure 3 FIG. 3 shows a structural diagram of a voice interaction device 300 according to an embodiment of the present disclosure. Figure 3 For the convenience of discussion, without loss of generality, Figure 3 The earphones 311 and 326 and the body in the form of a watch or a bracelet are used as examples to describe the voice interaction device 300. It should be understood that the voice interaction device 300 may also include components not shown and / or may omit the components shown, and the scope of the present disclosure is not limited in this respect.

[0050] In some embodiments, the voice interaction device 300 includes, for example, earphones 311 and 326, watch or bracelet bands 312 and 327, earphone holders 313 and 324, batteries 314 and 325, self-locking devices 315 and 322, a display screen 316, an upper shell 317 of a watch or bracelet, a metal ring 318, a lens 319 of a display screen, and a main circuit board 320 of the body (on which at least Figure 2The first processor shown in the figure), charging probes 321 and 328, a flexible printed circuit board 323 (Flexible Printed Circuit for short FPC), screws 329, a shell 330 under the watch or bracelet, a main shell 334 under the watch or bracelet, a sensor module 331 (for example, including a heart rate sensor, a pedometer sensor, etc.), a vibration motor 332, and a pogo pin input 333 for charging the watch. Among them, the earphone holders 313 and 324 are used to support the earphones 311 and 326 respectively when the earphones are placed in the body, and to eject the earphones 311 and 326 respectively when the earphones are taken out. The self-locking devices 315 and 322 are used to respectively lock the earphone holders 313 and 324 when the earphones 311 and 326 are placed in the body and pressed, and to eject the earphone holders 313 and 324 when they are pressed again. The flexible circuit board 323 is used to realize the electrical connection between the main circuit board 320 of the body and the sensor module 331, batteries 314 and 325, charging probes 321 and 328, vibration motor 332, etc. The pogo pin input 333 is connected to the flexible circuit board 323, for example, by welding wires, and then electrically connected to the main circuit board 320.

[0051] Figure 4 FIG. 4 shows a schematic diagram of charging a voice interaction device 400 according to an embodiment of the present disclosure. Figure 4 As shown, the voice interaction device 400 includes an earphone 410 and a body 460 for accommodating the earphone. The earphone 460 includes, for example: an audio data playback device and a pickup device, a second processor, and an earphone battery 442 for providing power to the earphone. Other components included in the earphone 460 can be found in Figure 2 The main body 410 includes, for example: a first communication unit (not shown), a memory processor (not shown), a main body battery 426 for providing power to the main body, a balanced charging management unit 430 connected to the earphone battery 442 and the main body battery 426, a charging control unit 428, etc. Other components included in the main body 410 can also be seen in Figure 2 The first communication unit is used to communicate with at least one of a network device, a terminal device (such as a mobile phone), and a headset 460.

[0052] In some embodiments, the charging control unit (e.g., MCU) 428 is used to adjust the working mode of the balanced charging management unit 430 based on the voltage detection value of the earphone battery 442 and the voltage detection value of the main body battery 426, so as to control the charging between the main body 410 and the earphone 460. The balanced charging management unit 430 is mainly used to realize constant voltage, constant current function, output voltage and output current. The balanced charging management unit 430 includes, for example: a boost circuit, a buck circuit, and a current detection circuit. The balanced charging management unit 430 is controlled by the charging control unit 428, and the balanced charging management unit 428 is connected to the earphone battery 442 and the main body battery 426. The charging control unit 428 can automatically adjust the charging mode according to the voltage difference between the earphone battery 442 and the main body battery 426. In some embodiments, the earphone battery is charged only when the voltage of the earphone battery 442 is lower than 3.8V, and its charging condition can be arbitrarily set by the charging control unit 428.

[0053] In some embodiments, the charging control unit 428 controls the charging between the main body 410 and the earphone 460 by controlling the balanced charging management unit 430, for example: the charging control unit 428 can automatically adjust the charging mode according to the voltage difference between the earphone battery 442 and the main body battery 426. For example, when the voltage detection value of the main body battery 426 is higher than the voltage detection value of the earphone battery 442 by a first predetermined value (for example, 0.2V to 0.5V), the balanced charging management unit 428 is controlled to adjust to the buck mode, so that the main body 410 charges the earphone 460. For example, when the voltage of the main body battery 426 is higher than the voltage of the earphone battery 442 by 0.2V to 0.5V, the charging control unit 428 controls the balanced charging management unit 430 to adjust to the buck circuit, so that the current flows from the main body battery 426 to the earphone battery 442, and the charging current is controlled according to the earphone battery voltage. When the voltage of the main battery 426 is lower than the voltage of the earphone battery 442 to a certain extent, the charging control unit 428 controls the balanced charging management unit 430 to operate in the boost mode, so that the charging current and the output voltage are adjusted according to the voltage of the earphone battery 442, and the charging current flows from the earphone battery 442 to the main battery 426.

[0054] In the above solution, since the main body battery 426 and the earphone battery 442 are directly charged and discharged through the balanced charging management unit 430, the battery energy transfer process is reduced, the power utilization rate can be effectively improved, and the energy conversion loss can be reduced. At the same time, there is no need to set up a separate charging management unit inside the earphone, which can further reduce the size and cost of the earphone.

[0055] The following will be combined Figure 5 A scheme for controlling a voice interaction device according to an embodiment of the present disclosure is described. Figure 5FIG. 5 is a flowchart of a method 500 for controlling a voice interaction device according to an embodiment of the present disclosure. It should be understood that the method 500 may be implemented in Fig. 9 The electronic device 900 described above is executed. Figure 2 It should be understood that method 500 may also include additional actions not shown and / or may omit the actions shown, and the scope of the present disclosure is not limited in this respect.

[0056] At box 502, the body 210 or a terminal device communicating with the body 210 obtains the sensing result of the sensor in the voice interaction device. The sensor includes at least one of a position sensor, an acceleration sensor, a posture sensor, and a heart rate sensor. The voice interaction device includes a body 210 and a headset 260, and the body 210 is used to accommodate the headset 260. In some embodiments, the acceleration sensor is, for example, a three-axis acceleration sensor, which is used to detect the acceleration of the user in the orthogonal three-axis directions. The posture sensor is, for example, a gyroscope sensor. The position sensor is, for example, a GPS.

[0057] At box 504, the main body 210 or the terminal device determines the motion state of the user using the voice interaction device based on the sensing result. In some embodiments, for example, based on the sensing results of the acceleration sensor in the horizontal and vertical directions (such as the threshold before the peak of the data waveform, the threshold before the trough, and the time interval between the peak and the trough), the motion state of the user using the voice interaction device is determined (for example, identifying that the user is in a state of squatting, jumping, running, or abnormal falling). In some embodiments, since the acceleration sensing results collected by the three-axis acceleration sensor show obvious periodic characteristics on at least one coordinate axis when the user is running or walking, the number of movement steps can be counted based on the periodic characteristics. In some embodiments, when it is determined that the exercise cadence is greater than a predetermined cadence threshold and the sensing result of the heart rate sensor is greater than a predetermined value, the user's exercise state is determined to be a running state, and the number of exercise steps counted based on the periodic characteristics is recorded as a running step number; when it is determined that the exercise cadence is less than the cadence threshold and the sensing result of the heart rate sensor is less than a predetermined value, the user's exercise state is determined to be a walking state, and the number of exercise steps counted based on the periodic characteristics is recorded as a walking step number; and the time of the user's running state or walking state is recorded.

[0058] At box 506, the main body 210 or a terminal device communicating with the main body 210 determines whether the motion state meets the predetermined condition. At box 508, when it is determined that the motion state meets the predetermined condition, the use state of the earphone is determined. In some embodiments, the motion state meets the predetermined condition, including at least one of the following: the motion state belongs to a predetermined set (the predetermined set is, for example, a high-intensity motion set, including, for example, running, jumping, abnormal falling, etc.); or at least one of the intensity and duration of the motion state exceeds a predetermined threshold. In some embodiments, the intensity and / or duration of the motion state exceeding the predetermined threshold is, for example, at least one of the following situations: the continuous running state exceeds the first predetermined time (for example, more than 1 hour); the continuous walking state exceeds the second predetermined time (for example, more than 4 hours); the speed of the running state exceeds the highest value of the historical speed, etc. When the main body or the mobile terminal communicating with the main body determines that the motion state meets the predetermined condition, it is necessary to further determine the use state of the current earphone, for example, to confirm whether the earphone is stored in the voice interaction device, whether the earphone is playing music, or making a call.

[0059] In some embodiments, the usage status of the earphone can be determined by at least one of the following methods: the body determines the placement status of the earphone in the body based on at least one of the voltage at the charging interface of the body, the sensing result of the limit switch and the sensing result of the Hall sensor; when it is determined that at least one earphone in the interaction device is not placed in the body, the status of at least one earphone establishing a communication connection with the body is determined; when it is determined that at least one earphone has established a communication connection with the body, the call status of at least one earphone is determined.

[0060] Regarding determining the placement state of the earphone in the body, in some embodiments, the body can determine the placement state of the earphone in the body based on the voltage at the earphone charging interface 230; the body can also determine the placement state of the earphone in the body based on a limit switch (for example, a limit switch) configured at any position where the earphone contacts or couples with the body. Figure 3 The placement state of the earphone 260 in the body 210 can be determined based on the sensing result of the Hall sensor (for example, configured at the body) at the earphone holder 313, the self-locking device 315, or the charging probe 328 shown in the figure; the body 210 can also determine the placement state of the earphone configured with a magnet in the body based on the sensing result of the Hall sensor (for example, configured at the body). For example, when the body determines that the voltage at the earphone charging interface 230 meets the first predetermined condition (for example, the voltage is greater than the first level), it is determined that one earphone is placed in the body 210; and when it is determined that the voltage at the earphone charging interface 230 meets the second predetermined condition (for example, the voltage is greater than the second level, where the second level is greater than the first level), it is determined that two earphones are placed in the body; and in response to determining that the voltage at the earphone charging interface 230 is lower than the first level, it is determined that neither earphone is placed in the body.

[0061] Regarding determining the state of establishing a communication connection between the headset and the body, or determining the call status of the headset, in some implementations, the state of the Bluetooth module of the headset or the body can be read to determine whether the current Bluetooth headset is in a broadcast state, a connected state, or a sleep state, thereby determining whether the current call is in progress. For another example, through the Bluetooth module (Bluetooth adapter) of the body 210, the Bluetooth headset 260 can be searched, the list of paired devices can be queried, a BluetoothDevice can be created through a known MAC address, and a BluetoothServerSocket can be created to monitor communications from the Bluetooth headset to obtain the call status of the Bluetooth headset. In some implementations, the call status of at least one headset can be determined based on the data collected by the voice pickup of the headset that has established a communication connection with the body.

[0062] At box 510, the body 210 or a terminal device communicating with the body 210 determines the indication information outputted at at least one place in the body or the earphone based on the usage status of the earphone. In some embodiments, the body 210 or the terminal device determines the indication information based on the usage status of the earphone, including at least one of the following: when the usage status is determined to be that the earphone is in a call, the indication information is determined to be warning information for indicating a warning status; and when the usage status is determined to be that the earphone is stored in the body, the indication information is determined to be information indicating a motion status. In some embodiments, the warning information includes, for example: at least one of audio data, image data, and text data for prompting to reduce the intensity of exercise.

[0063] In the above scheme, the current use of the earphones when the motion state meets the predetermined warning condition is determined based on the sensing results of the sensor; and the indication information output at at least one place in the main body or the earphones is determined based on the usage state, so that the output information of the voice interaction device can be matched with the current motion state or preference of the user using the voice interaction device, thereby improving the user experience.

[0064] In some embodiments, method 500 also includes method 600 for controlling audio data of a voice interaction device. Figure 6 FIG. 6 is a flowchart of a method 600 for controlling content data of a voice interaction device according to an embodiment of the present disclosure. It should be understood that the method 600 may be implemented in Fig. 9 The electronic device 900 for controlling the voice interaction device described above is executed. Figure 2 It should be understood that method 600 may also include additional actions not shown and / or may omit the actions shown, and the scope of the present disclosure is not limited in this respect.

[0065] The following example illustrates various actions of method 600 for controlling content data of a voice interaction device.

[0066] At block 602, the main body 210 or a terminal device communicating with the main body 210 obtains a sensing result of the heart rate sensor. In some embodiments, the sensing result of the heart rate sensor is obtained based on the heart rate sensor configured in the main body.

[0067] At block 604, the main body 210 or a terminal device communicating with the main body 210 determines whether content data push is allowed in response to confirming that the sensing result of the heart rate sensor exceeds a predetermined heart rate threshold. In some embodiments, the predetermined heart rate threshold is, for example, a safe heart rate threshold pre-set by the user, or may be determined by the main body 210 or a terminal device communicating with the main body 210 based on the highest heart rate value of the user in the historical motion state multiplied by a predetermined ratio. In some embodiments, the user can set whether the push of audio data is allowed in the configuration file of the headset.

[0068] At box 606, the main body 210 or the terminal device communicating with the main body 210 responds to confirming that the content data push is allowed and the sensing result of the heart rate sensor exceeds the first predetermined heart rate threshold, and sends a first predetermined type of audio data to the headset. In some embodiments, the first predetermined type of audio data may be audio data marked as soothing music. By adopting the above means, when the voice interaction device determines that the user's motion state meets the warning condition and the user's heart rate exceeds the first predetermined heart rate threshold (such as a safe heart rate threshold), when the user permits content data push, by sending soothing audio data to the headset, while prompting the user, the user is provided with audio content with a soothing effect. The content data of the voice interaction device is intelligently matched to the user's behavior, thereby improving the user experience.

[0069] At box 608, the main body 210 or the terminal device communicating with the main body 210 confirms whether the content data push is allowed and whether the sensing result of the heart rate sensor does not exceed the first predetermined heart rate threshold. At box 710, when it is confirmed that the content data push is allowed, the second predetermined type of audio data is sent to the headset. In some embodiments, the second predetermined type of audio data is marked as audio data of rhythmic music. In some embodiments, the main body 210 or the terminal device communicating with the main body 210 determines whether the motion type mark associated with the user is detected, and in response to determining that the motion type mark is detected, determines whether the content data push is allowed. In some embodiments, when the main body 210 confirms that the motion state meets the predetermined warning condition, and the sensing result of the heart rate sensor does not exceed the second predetermined heart rate threshold, the user is associated with the motion type mark (for example, the user is marked as liking sports), and the second predetermined heart rate threshold is less than the first predetermined heart rate threshold. For example, the user's motion state is already high-intensity exercise, but the user's heart rate is still below the warning heart rate threshold by a considerable amount, and it can be determined that the user likes and exercises frequently. Therefore, the user is associated with the motion type mark so that the content promoted by the voice interaction device matches the characteristics of the user's favorite sports. By adopting the above means, when the voice interaction device determines that the user likes and exercises frequently, and if the user permits content data push, the user experience can be improved by sending audio data of a second predetermined type (such as rhythmic music) to the headphones.

[0070] 900 In some embodiments, method 500 further includes method 700 for controlling audio data of a voice interaction device. Figure 7 FIG. 7 is a flowchart of a method 700 for controlling content data of a voice interaction device according to an embodiment of the present disclosure. It should be understood that the method 700 may be implemented in Fig. 9 The electronic device 900 for controlling the voice interaction device described above is executed. Figure 2 It should be understood that method 700 may also include additional actions not shown and / or may omit the actions shown, and the scope of the present disclosure is not limited in this respect.

[0071] The following example illustrates various actions of method 700 for controlling content data of a voice interaction device.

[0072] At block 702, the main body 210 or a terminal device communicating with the main body 210 determines whether the user is in a mountain climbing state based on the sensing result of the air pressure sensor in the voice interaction device. In some embodiments, when the air pressure sensed by the air pressure sensor is lower than a preset air pressure value, it is determined that the current user is in a mountain climbing state. In some embodiments, it can be determined whether the current user is in a mountain climbing state based on the sensed air pressure of the air pressure sensor and the sensing result of the position sensor.

[0073] At block 704, the main body 210 or a terminal device communicating with the main body 210 determines whether the number of times in the climbing state meets a predetermined condition. At block 806, when it is determined that the number of times in the climbing state meets the predetermined condition, it is determined whether content data push is allowed. For example, if the number of times the user is in the climbing state is very frequent, for example, the number of times in the climbing state in a week exceeds, for example, 2 times (the number can be preset to a suitable value), or the cumulative number of times in the climbing state within half a year exceeds, for example, 20 times (the number can be preset to a suitable value). It is confirmed that the user likes climbing.

[0074] At box 706, the main body 210 or the terminal device communicating with the main body 210 confirms whether the content data push is allowed. At box 808, when it is confirmed that the content data push is allowed, the advertisement data associated with mountain climbing is sent to at least one of the main body, the headset, and the terminal device associated with the voice interaction device. By adopting the above means, when the voice interaction device or the terminal device determines that the user likes mountain climbing, if the user permits the content data push, by sending the mountain climbing advertisement data to the user's voice interaction device and its associated terminal device, the pushed content data intelligently matches the user's preferences, thereby improving the user experience.

[0075] In some embodiments, method 500 also includes method 800 for controlling charging of the voice interaction device. Figure 8 FIG. 8 is a flowchart of a method 800 for controlling charging of a voice interaction device according to an embodiment of the present disclosure. It should be understood that the method 800 may be implemented, for example, in Fig. 9 The electronic device 900 for controlling the voice interaction device described above is executed. Figure 4 The described voice interaction device 400 is executed at the body 410. It should be understood that the method 800 may also include additional actions not shown and / or may omit the actions shown, and the scope of the present disclosure is not limited in this respect.

[0076] The following example illustrates various actions of method 800 for controlling charging of a voice interaction device.

[0077] At block 802 , the main body 210 obtains a voltage detection value of an earphone battery and a voltage detection value of a main body battery.

[0078] At box 804, the main body 210 controls the charging between the main body and the earphone based on the voltage detection value of the earphone battery and the voltage detection value of the main body battery. In some embodiments, the method of controlling the charging between the main body and the earphone includes, for example: when the voltage detection value of the main body battery is higher than the first predetermined value of the voltage detection value of the earphone battery, controlling the balancing charging management unit to be in a step-down mode so that the main body charges the earphone, wherein the balancing charging management unit is connected to the earphone battery and the main body battery; when the voltage detection value of the main body battery is lower than the second predetermined value of the voltage detection value of the earphone battery, controlling the balancing charging management unit to be in a step-up mode so that the earphone charges the main body. By adopting the above means, the voice interaction device can make the balancing charging management unit work in different modes based on the voltage detection values ​​of the earphone battery and the main body battery, thereby controlling the charging between the main body and the earphone.

[0079] Fig. 9 The block diagram of an electronic device 900 suitable for implementing the embodiments of the present disclosure is schematically shown. The device 900 may be a device for executing Figure 5 The method 500 for controlling a voice interaction device shown in FIG. Figure 6 to Figure 7 The method 600, 700 for controlling content data of a voice interaction device, and Figure 8 The method 800 for controlling charging of a voice interaction device is shown. Figure 6 As shown, the device 900 includes a central processing unit (CPU) 901, which can perform various appropriate actions and processes according to computer program instructions stored in a read-only memory (ROM) 902 or computer program instructions loaded from a storage unit 908 into a random access memory (RAM) 903. In the RAM 903, various programs and data required for the operation of the device 900 can also be stored. The CPU 901, the ROM 902, and the RAM 903 are connected to each other via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.

[0080] Multiple components in the device 900 are connected to the I / O interface 905, including: an input unit 906, an output unit 907, and a storage unit 908. The processing unit 901 performs the various methods and processes described above, such as performing methods 500, 600, 700, 800, and 900. For example, in some embodiments, the methods 400 and 500 may be implemented as computer software programs, which are stored in a machine-readable medium, such as the storage unit 908. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 900 via the ROM 902 and / or the communication unit 909. When the computer program is loaded into the RAM 903 and executed by the CPU 901, one or more operations of the methods 500, 600, 700, 800, and 900 described above may be performed. Alternatively, in other embodiments, the CPU 901 may be configured to perform one or more actions of the methods 500, 600, 700, 800, and 900 in any other appropriate manner (e.g., by means of firmware).

[0081] It should be further noted that the present disclosure may be a method, an apparatus, a system and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for executing various aspects of the present disclosure.

[0082] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.

[0083] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0084] The computer program instructions for performing the operation of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Smalltalk, C++, etc., and conventional procedural programming languages ​​such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be personalized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present disclosure.

[0085] Various aspects of the present disclosure are described herein with reference to the flowchart and / or block diagram of the method, device (system), and computer program product according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0086] These computer-readable program instructions can be provided to a processor in a voice interaction device, a general-purpose computer, a special-purpose computer, or a processing unit of other programmable data processing devices, thereby producing a machine, so that when these instructions are executed by a processing unit of a computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions enable the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0087] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0088] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the equipment, method and computer program product according to multiple embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of this module, program segment or instruction includes one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or action, or can be implemented with a combination of special hardware and computer instructions.

[0089] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

[0090] The above are only optional embodiments of the present disclosure and are not intended to limit the present disclosure. For those skilled in the art, the present disclosure may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A method for controlling a voice interaction device, comprising: Acquire a sensing result of a sensor in the voice interaction device, wherein the sensor includes at least one of a position sensor, an acceleration sensor, a posture sensor, and a heart rate sensor, and the voice interaction device includes a body and an earphone, wherein the body is used to accommodate the earphone; Based on the sensing result, determining a motion state of a user using the voice interaction device; In response to determining that the motion state satisfies a predetermined warning condition, determining a usage state of the headset; as well as Based on the usage status, determining indication information to be outputted at least one of the body or the earphone; Get the voltage detection value of the earphone battery and the voltage detection value of the main body battery; as well as Based on the voltage detection value of the earphone battery and the voltage detection value of the main body battery, the charging between the main body and the earphone is controlled, wherein the controlling of the charging between the main body and the earphone comprises: in response to determining that the voltage detection value of the main body battery is higher than a first predetermined value of the voltage detection value of the earphone battery, controlling the balancing charging management unit to a step-down mode so that the main body charges the earphone, the balancing charging management unit being connected to the earphone battery and the main body battery; and in response to determining that the voltage detection value of the main body battery is lower than a second predetermined value of the voltage detection value of the earphone battery, controlling the balancing charging management unit to a step-up mode so that the earphone charges the main body.

2. The method according to claim 1, wherein determining the indication information comprises at least one of the following: In response to the usage status indicating that the headset is in a call, determining that the indication information is warning information for indicating a warning state; and In response to the use status indicating that the earphone is stored in the body, the indication information is determined to be information indicating the motion status. 3 . The method according to claim 2 , wherein the warning information comprises at least one of audio data, image data and text data for prompting to reduce the intensity of exercise.

4. The method according to claim 1, further comprising: The motion state is determined to satisfy a predetermined warning condition in response to at least one of the following: The motion state belongs to a predetermined set; as well as At least one of the intensity and duration of the motion state exceeds a predetermined threshold.

5. The method according to claim 1, wherein determining the usage status of the headset comprises: Determine the placement state of the earphone in the body based on at least one of a voltage measurement value at the charging interface of the body, a sensing result of a limit switch of the body, and a sensing result of a Hall sensor of the body; In response to determining that the headset is not placed in the body, determining whether the headset has established a communication connection with the body; as well as In response to determining that the earphone has established a communication connection with the main body, a call status of the earphone is determined.

6. The method according to claim 1, further comprising: Acquiring a sensing result of the heart rate sensor; Determine whether content data push is allowed; In response to determining that the content data push is allowed and the sensing result of the heart rate sensor exceeds a first predetermined heart rate threshold, sending audio data of a first predetermined type to the headset; as well as In response to determining that the content data push is allowed and the sensing result of the heart rate sensor does not exceed a first predetermined heart rate threshold, audio data of a second predetermined type is sent to the headset. 7 . The method according to claim 6 , wherein the first predetermined type of audio data is audio data marked as soothing music, and the second predetermined type of audio data is audio data marked as rhythmic music.

8. The method of claim 6, wherein determining whether content data push is allowed comprises: determining whether a motion type marker associated with the user is detected; as well as In response to determining that the motion type marker is detected, it is determined whether content data push is allowed.

9. The method according to claim 6, further comprising: In response to confirming that the exercise state meets the predetermined warning condition and the sensing result of the heart rate sensor does not exceed a second predetermined heart rate threshold, the user is associated with an exercise type tag, and the second predetermined heart rate threshold is less than the first predetermined heart rate threshold.

10. The method according to claim 1, further comprising: Determining whether the user is in a mountain climbing state based on a sensing result of the air pressure sensor; In response to determining that the number of times of the hill climbing state meets a predetermined condition, determining whether content data push is permitted; as well as In response to confirming that content data push is allowed, advertisement data associated with mountain climbing is sent to at least one of the main body, the headset, and a terminal device associated with the voice interaction apparatus.

11. The method according to claim 6, further comprising: Obtaining a sensing result of an infrared in-ear detection sensor built into the headset; Determining whether the earphone of the voice interaction device has been removed from the ear; as well as In response to determining that the earphone has been removed from the ear, the sending of audio data to the earphone is stopped.

12. A device for controlling a voice interaction device, the device comprising: a memory configured to store one or more computer programs; as well as A processor is coupled to the memory and configured to execute the one or more programs to cause the device to perform the method according to any one of claims 1-11.

13. A non-transitory computer-readable storage medium having machine-executable instructions stored thereon, which when executed cause a machine to perform the steps of the method according to any one of claims 1 to 11.

14. A voice interaction device, comprising: Headphones, including a playback device and a pickup device for audio data; A body, used to accommodate the earphone, the body comprising: A communication unit, configured to communicate with at least one of a network device, a terminal device, and the headset; a memory configured to store one or more computer programs; and A processor is coupled to the memory and is configured to execute the one or more programs to enable the voice interaction device to perform the method according to any one of claims 1-11.

15. The apparatus according to claim 14, further comprising: Headphone battery, used to provide power to the headphones; A main body battery, used to provide electrical energy to the main body; a balanced charging management unit connected to the earphone battery and the main body battery; and The charging control unit is used to control the working mode of the balanced charging management unit based on the voltage detection value of the earphone battery and the voltage detection value of the main body battery, so as to control the charging between the main body and the earphone.

16. The device according to claim 14, wherein the body comprises a flexible circuit board and a charging interface, the flexible circuit board is used for electrical connection between a main circuit board of the body and the sensor and a battery of the body, and the main circuit board is configured with the processor of the body.

Citation Information

Patent Citations

  • Automatic voice switching method and system

    CN104954566A

  • Wireless earphone establishing interaction with earphone box

    CN107809696A

  • Earphone box for establishing interaction with wireless earphone

    CN107809697A

  • Portable intelligent voice interaction control equipment, method and system

    CN108550367A

  • Control method and device, equipment

    CN109348060A