Voice playing control method and device, computer equipment and storage medium

By obtaining the status commands of the charging case and headphones and sending them to the headphone Bluetooth module, the problem that Bluetooth headphones cannot switch and control voice playback is solved, and flexible switching and voice status synchronization between headphones and mobile devices and computer devices is realized, improving The convenience of meeting participation.

CN119012068APending Publication Date: 2024-11-22SHENZHEN 3NOD DIGITAL TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310574466.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-19
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

Bluetooth headsets cannot perform communication switching and voice playback control, which makes it impossible to switch meeting participation when the connection between mobile phones or computer devices is affected, and voice playback cannot be controlled directly through headsets, which is inconvenient to operate.

Method used

By obtaining the status commands of the charging chamber and the headset, sending the status commands to the headset Bluetooth module, judging and switching the communication response device connected to the headset, achieving flexible switching between mobile devices and computer devices, and synchronously controlling voice playback by receiving the status command Or mute.

Benefits of technology

It realizes flexible switching of headphone communication devices and effective control of voice playback, solves the problem that headphones cannot be switched and controlled, and improves the convenience of meeting participation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119012068A_ABST
    Figure CN119012068A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of communication, and relates to a voice playing control method, which comprises the following steps: acquiring a state instruction, and sending the state instruction to an earphone Bluetooth module; acquiring a connection state of the earphone Bluetooth module and an activation state of the communication forwarding equipment, and performing connection switching on the communication response equipment connected with the earphone Bluetooth module according to the connection state and the activation state; sending the state instruction to a mobile communication device or a computer device through an earphone Bluetooth module; and receiving the state instruction through the mobile communication equipment or the computer equipment, and performing voice state synchronization according to the state instruction so as to control the mobile communication equipment or the computer equipment to perform voice playing or muting. The invention further provides a voice playing control device, computer equipment and a storage medium. According to the application, the communication response equipment communicating with the earphone can be effectively switched, and meanwhile, the voice playing of the communication response equipment is effectively controlled.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a voice playback control method, device, computer equipment and storage medium. Background Art

[0002] With the expansion of enterprise scale and the multi-regional distribution of employees, many companies have an increasing demand for remote meetings. In order to effectively ensure that all participants can effectively participate in the meeting, it is generally necessary to connect to the online conference system through network communication devices such as mobile phones or computers to communicate and exchange voice. However, since mobile phones or computer devices are easily restricted by distance when playing voice, when you need to stay away from the mobile phone or computer device to search for information or leave temporarily, it may be difficult to hear the conference voice playback, which may cause you to miss important content of the meeting and bring certain troubles to the progress of the meeting.

[0003] A wireless Bluetooth headset is a portable headset that can connect to mobile devices such as mobile phones via Bluetooth to achieve communication. When the wireless Bluetooth headset is connected to a mobile device, people wearing the headset can move around within a certain range without being affected by distance and can hear the voice of the meeting conveniently and clearly, thereby effectively ensuring the smooth progress of the meeting.

[0004] However, when the mobile phone is affected by abnormal communication, such as poor network signal, it will directly affect the communication of the Bluetooth headset, and you need to log in to the online meeting on the computer again to continue to participate in the meeting. The operation is cumbersome and it is impossible to directly and conveniently switch between the mobile phone and the computer. At the same time, when it is temporarily inconvenient to listen to the meeting or speak, you need to mute the online meeting on the mobile phone or computer to effectively turn off the voice. You cannot directly control the voice playback of the meeting through the headset, which is very inconvenient. Summary of the invention

[0005] The purpose of the embodiments of the present application is to provide a voice playback control method, device, computer equipment and storage medium to solve the problem that the Bluetooth headset cannot perform communication switching and cannot perform voice playback control.

[0006] In order to solve the above technical problems, the present application provides a method for controlling voice playback, which adopts the following technical solution:

[0007] Obtain status instructions of the charging case and the headset, and send the status instructions to the headset Bluetooth module;

[0008] Acquire the connection status of the headset Bluetooth module and the activation status of the communication forwarding device, and switch the connection of the communication response device connected to the headset Bluetooth module according to the connection status and the activation status, wherein the communication response device includes: a mobile communication device and a computer device;

[0009] Sending the status instruction to the mobile communication device or the computer device through the headset Bluetooth module; and

[0010] The state instruction is received by the mobile communication device or the computer device, and voice state synchronization is performed according to the state instruction to control the mobile communication device or the computer device to play or mute voice.

[0011] Further, the status instruction includes: a mute status instruction and a non-mute status instruction; the step of obtaining the status instruction of the charging bin and the headset, and sending the status instruction to the headset Bluetooth module specifically includes:

[0012] Detect in real time whether the charging compartment sends a communication instruction;

[0013] If the charging compartment sends the communication instruction, identifying the communication instruction and obtaining the status instruction;

[0014] If the charging compartment does not send the communication instruction, obtaining the communication status of the headset, and generating the status instruction according to the communication status; and

[0015] The status instruction is sent to the headset Bluetooth module through a preset first communication connection.

[0016] Furthermore, if the charging compartment sends the communication instruction, the step of identifying the communication instruction and obtaining the status instruction specifically includes:

[0017] Detecting whether a mute button or a non-mute button of the charging compartment is touched;

[0018] If the mute button of the charging compartment is touched, a communication instruction message including a mute state instruction is sent; and

[0019] If the non-mute button of the charging case is touched, a communication instruction message including a non-mute state instruction is sent.

[0020] Further, the communication status includes: a mute state and a non-mute state; if the charging compartment does not send the communication instruction, the step of obtaining the communication status of the headset and generating the status instruction according to the communication status specifically includes:

[0021] Detecting whether the headset is in a muted state or a non-muted state;

[0022] If the headset is in a mute state, generating a corresponding mute state instruction; and

[0023] If the headset is in a non-mute state, a corresponding non-mute state instruction is generated.

[0024] Further, the step of obtaining the connection status of the headset Bluetooth module and the activation status of the communication forwarding device, and switching the connection of the communication response device connected to the headset Bluetooth module according to the connection status and the activation status specifically includes:

[0025] Detecting whether the headset Bluetooth module is connected to a mobile communication device or a computer device, and detecting the activation state of the communication forwarding device;

[0026] If the headset Bluetooth module is connected to the mobile communication device and the communication forwarding device is activated, disconnecting the headset Bluetooth module from the mobile communication device and connecting the headset Bluetooth module to the computer device; and

[0027] If the headset Bluetooth module is connected to the computer device and the communication forwarding device is not activated, the connection between the headset Bluetooth module and the computer device is disconnected, and the headset Bluetooth module is connected to the mobile communication device.

[0028] Furthermore, the step of sending the status instruction to the communication response device through the headset Bluetooth module specifically includes:

[0029] Detect whether the communication response device currently connected to the headset Bluetooth module is a mobile communication device or a computer device;

[0030] If the communication response device currently connected to the headset Bluetooth module is a mobile communication device, sending the status instruction to the mobile communication device via a preset second communication connection; and

[0031] If the communication response device currently connected to the headset Bluetooth module is a computer device, the status instruction is sent to the communication forwarding device through a preset third communication connection, and is forwarded to the computer device by the communication forwarding device.

[0032] Further, the step of receiving the state instruction through the mobile communication device or the computer device, and performing voice state synchronization according to the state instruction to control the mobile communication device or the computer device to play or mute voice specifically includes:

[0033] Acquiring the communication voice status of the mobile communication device or the computer device;

[0034] Identifying the state instruction, and performing voice state synchronization on the communication voice state according to the state instruction to obtain a state synchronization result; and

[0035] The communication response device is controlled to play or mute voice according to the status synchronization result.

[0036] In order to solve the above technical problems, the embodiment of the present application further provides a voice playback control device, which adopts the following technical solution:

[0037] An instruction acquisition module is used to acquire status instructions of the charging bin and the headset, and send the status instructions to the headset Bluetooth module;

[0038] A connection switching module, used to obtain the connection status of the headset Bluetooth module and the activation status of the communication forwarding device, and switch the connection of the communication response device connected to the headset Bluetooth module according to the connection status and the activation status, wherein the communication response device includes: a mobile communication device and a computer device;

[0039] an instruction sending module, used for sending the status instruction to the mobile communication device or the computer device through the headset Bluetooth module; and

[0040] The voice synchronization module is used to receive the state instruction through the mobile communication device or the computer device, and perform voice state synchronization according to the state instruction to control the mobile communication device or the computer device to play or mute the voice.

[0041] In order to solve the above technical problems, the embodiment of the present application further provides a computer device, which adopts the following technical solution:

[0042] A computer device comprises a memory and a processor, wherein the memory stores computer-readable instructions, and the processor implements the steps of the voice playback control method as described in any one of the above when executing the computer-readable instructions.

[0043] In order to solve the above technical problems, the embodiment of the present application further provides a computer-readable storage medium, which adopts the following technical solution:

[0044] A computer-readable storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, the steps of the voice playback control method as described in any one of the above items are implemented.

[0045] Compared with the prior art, the embodiments of the present application mainly have the following beneficial effects: This embodiment obtains the status instructions of the charging case and the headset, and sends the status instructions to the headset Bluetooth module, and then obtains the connection status of the headset Bluetooth module and the activation status of the communication forwarding device to determine whether it is necessary to switch the communication response device connected to the headset Bluetooth module, thereby realizing flexible switching of mobile communication devices and computer devices that communicate with the headset. By receiving the status instructions sent by the headset Bluetooth module on the mobile communication device and the computer device, and synchronizing the voice status according to the status instructions, the communication response device can be effectively controlled to perform voice activation and mute operations through the status instructions. By adopting the above method, the communication response device that communicates with the headset can be effectively switched, and the voice playback of the communication response device can be effectively controlled. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the scheme in the present application, a brief introduction is given below to the drawings required for use in the description of the embodiments of the present application. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0047] Figure 1 A flowchart according to an embodiment of the voice playback control method of the present application;

[0048] Figure 2 yes Figure 1 A flowchart of a specific implementation of step S10;

[0049] Figure 3 yes Figure 2 A flowchart of a specific implementation of step S102;

[0050] Figure 4 yes Figure 2 A flowchart of a specific implementation of step S103;

[0051] Figure 5 yes Figure 1 A flowchart of a specific implementation of step S30;

[0052] Figure 6 yes Figure 1 A flowchart of a specific implementation of step S40;

[0053] Figure 7 is a structural schematic diagram of an embodiment of a voice playback control device according to the present application;

[0054] Figure 8 It is a structural diagram of an embodiment of a computer device according to the present application. DETAILED DESCRIPTION

[0055] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by technicians in the technical field of the present application; the terms used in the specification of the application herein are only for the purpose of describing specific embodiments and are not intended to limit the present application; the terms "including" and "having" and any variations thereof in the specification and claims of the present application and the above-mentioned drawings are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of the present application or the above-mentioned drawings are used to distinguish different objects, not to describe a specific order.

[0056] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0057] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.

[0058] Continue to refer Figure 1 , shows a flow chart of an embodiment of a method for voice playback control according to the present application. The voice playback control method comprises the following steps:

[0059] Step S10, obtaining status instructions of the charging compartment and the earphone, and sending the status instructions to the earphone Bluetooth module;

[0060] Step S20, obtaining the connection status of the headset Bluetooth module and the activation status of the communication forwarding device, and switching the connection of the communication response device connected to the headset Bluetooth module according to the connection status and the activation status, wherein the communication response device includes: a mobile communication device and a computer device;

[0061] Step S30, sending the status instruction to the mobile communication device or the computer device through the headset Bluetooth module; and

[0062] Step S40, receiving the state instruction through the mobile communication device or the computer device, and performing voice state synchronization according to the state instruction to control the mobile communication device or the computer device to play or mute the voice.

[0063] In this embodiment, a headphone Bluetooth module is installed inside the headphone, and a communication forwarding device is installed on a computer device. The headphone is a TWS wireless Bluetooth headphone, the charging compartment is a headphone charging compartment that comes with the TWS wireless Bluetooth headphone, the communication forwarding device is a USB_Dongle installed on the computer device, and the mobile communication device is a mobile phone or a portable communication watch with a conference voice function.

[0064] This embodiment obtains the status instructions of the charging compartment and the headset, and sends the status instructions to the headset Bluetooth module, and then obtains the connection status of the headset Bluetooth module and the activation status of the communication forwarding device to determine whether it is necessary to switch the communication response device connected to the headset Bluetooth module, thereby realizing flexible switching of the mobile communication device and the computer device that communicate with the headset. By receiving the status instructions sent by the headset Bluetooth module on the mobile communication device and the computer device, and synchronizing the voice status according to the status instructions, the communication response device can be effectively controlled to perform voice activation and mute operations through the status instructions. By adopting the above method, the communication response device that communicates with the headset can be effectively switched, and the voice playback of the communication response device can be effectively controlled.

[0065] Continue to refer Figure 2 In some optional implementations of this embodiment, step S10 includes the following steps:

[0066] Step S101, real-time detection of the charging compartment and whether a communication instruction is sent;

[0067] Step S102, if the charging compartment sends the communication instruction, identifying the communication instruction and obtaining the status instruction;

[0068] Step S103, if the charging compartment does not send the communication instruction, obtaining the communication status of the headset, and generating the status instruction according to the communication status; and

[0069] Step S104: sending the status instruction to the headset Bluetooth module via a preset first communication connection.

[0070] In this embodiment, when both the left earphone and the right earphone are placed in the charging compartment and the lid of the charging compartment is closed, it is necessary to detect whether there is a pairing record between the earphone and the communication forwarding device. The pairing record is the historical data automatically generated after the TWS wireless Bluetooth earphone is paired and connected with the device. When there is a pairing record between the earphone and the communication forwarding device, the activation state of the communication forwarding device is detected. The activation state here refers to whether the communication forwarding device is in operation (when the communication forwarding device stops working or is disconnected from the earphone, it is considered to be in an unactivated state). When the communication forwarding device is in an activated state, the charging compartment and the communication forwarding device are automatically connected through BLE (Bluetooth Low Energy). Only after the connection is made will it be detected whether the charging compartment sends a communication instruction.

[0071] When the charging compartment is sending a communication instruction, it indicates that the communication of the headset is not controlled through the charging compartment, so it is necessary to obtain the communication status of the headset. In this embodiment, the TWS wireless Bluetooth headset includes a MUTE (mute) state and a non-MUTE (non-mute) state. When the TWS wireless Bluetooth headset is in a MUTE (mute) state or a non-MUTE (non-mute) state, the current state of the TWS wireless Bluetooth headset is used as its communication state, and a corresponding mute state instruction or non-mute state instruction is generated and sent according to the communication state. In this embodiment, the preset first communication connection is a BLE (low-power Bluetooth) connection between the charging compartment and the headset Bluetooth module. After obtaining the status instruction of the charging compartment, the status instruction is sent to the headset Bluetooth module via BLE (low-power Bluetooth). If the status instruction is generated by the communication state of the headset, the communication state of the headset can be directly obtained through the headset Bluetooth module.

[0072] This embodiment detects whether the charging case sends a communication instruction, thereby determining whether the communication instruction is sent by the charging case or obtained by the earphone communication status, and sends the status instruction to the earphone Bluetooth module via a preset first communication connection, thereby effectively transmitting information between the charging case and the earphone Bluetooth module, thereby ensuring that the status instruction can be sent to the earphone Bluetooth module.

[0073] Continue to refer Figure 3 In some optional implementations of this embodiment, step S102 includes the following steps:

[0074] Step S1021, detecting whether the mute button or the non-mute button of the charging compartment is touched;

[0075] Step S1022, if the mute button of the charging compartment is touched, sending a communication instruction message including a mute state instruction; and

[0076] Step S1023: If the non-mute button of the charging case is touched, a communication instruction message including a non-mute state instruction is sent.

[0077] In this embodiment, the mute button and the non-mute button of the charging case can be click buttons set on the system interface and can be clicked with an input device such as a mouse to achieve touch control, or they can be touch buttons set on the charging case and can be pressed to achieve touch control. When the mute button and the non-mute button are touched, the charging case automatically senses and sends communication command information containing status instructions corresponding to the buttons.

[0078] This embodiment detects whether the mute button and the non-mute button of the charging case are touched, thereby effectively generating and sending corresponding communication command information according to different touch operations, so as to facilitate the communication response device to perform corresponding response control operations according to the communication command information.

[0079] Continue to refer Figure 4 In some optional implementations of this embodiment, step S103 includes the following steps:

[0080] Step S1031, detecting whether the headset is in a mute state or a non-mute state;

[0081] Step S1032, if the headset is in a mute state, generating a corresponding mute state instruction; and

[0082] Step S1033: if the headset is in a non-mute state, a corresponding non-mute state instruction is generated.

[0083] In this embodiment, the mute state and the non-mute state of the headset can be activated by setting a corresponding button on the headset and pressing the button to put the headset into mute mode or non-mute mode. It can also be activated by setting a button for remotely activating the mute mode and non-mute mode of the headset on the system interface and clicking it with an input device such as a mouse.

[0084] This embodiment detects whether the headset is in a mute state or a non-mute state, thereby being able to generate status instructions according to the different states or modes of the headset, so that the communication response device performs corresponding response operations according to the status instructions, thereby effectively realizing convenient control of the headset over the communication response device.

[0085] In some optional implementations of this embodiment, step S20 includes the following steps:

[0086] Detecting whether the headset Bluetooth module is connected to a mobile communication device or a computer device, and detecting the activation state of the communication forwarding device;

[0087] If the headset Bluetooth module is connected to the mobile communication device and the communication forwarding device is activated, disconnecting the headset Bluetooth module from the mobile communication device and connecting the headset Bluetooth module to the computer device;

[0088] If the headset Bluetooth module is connected to the mobile communication device and the communication forwarding device is not activated, maintaining the connection between the headset Bluetooth module and the mobile communication device;

[0089] If the headset Bluetooth module is connected to the computer device and the communication forwarding device is not activated, disconnecting the headset Bluetooth module from the computer device and connecting the headset Bluetooth module to the mobile communication device; and

[0090] If the headset Bluetooth module is connected to the computer device and the communication forwarding device is activated, the connection between the headset Bluetooth module and the computer device is maintained.

[0091] In this embodiment, the headset Bluetooth module is connected to the mobile communication device via BLE (Bluetooth Low Energy), the headset Bluetooth module is connected to the communication forwarding device via Bluetooth SPP, and the communication forwarding device is controlled and connected to the computer device via the HID protocol. In a specific implementation, the communication forwarding device is a USB_Dongle, and the computer device is a PC computer tool. Therefore, the communication forwarding device is plugged into the USB interface of the computer device. When the communication forwarding device USB_Dongle is unplugged from the PC computer tool, the communication forwarding device is considered to be in an inactivated state. When the communication forwarding device USB_Dongle is plugged into the interface of the PC computer tool and the PC computer tool recognizes the communication forwarding device USB_Dongle, the communication forwarding device is considered to be in an activated state.

[0092] This embodiment detects the communication response device connected to the headset Bluetooth module and detects whether the communication response device is in an activated state, thereby effectively judging whether it is necessary to switch the communication response device connected to the headset Bluetooth module. In specific implementation, the above connection switching process is as follows: when the headset Bluetooth module is connected to the mobile communication device, if the communication forwarding device USB_Dongle is connected to the computer device at this time, and the communication forwarding device USB_Dongle is in an activated state, then it is detected whether the communication forwarding device USB_Dongle has a pairing record with the headset Bluetooth module. When there is a pairing record, the headset Bluetooth module and the communication forwarding device USB_Dongle will automatically connect through the SPP protocol. Similarly, when the headset Bluetooth module is connected to the computer device, it is necessary to detect the activation state of the communication forwarding device USB_Dongle. When the activation state of the communication forwarding device USB_Dongle is not in an activated state, the headset Bluetooth module will automatically establish a BLE (Low Power Bluetooth) connection with the mobile communication device.

[0093] Continue to refer Figure 5 In some optional implementations of this embodiment, step S30 includes the following steps:

[0094] Step S301, detecting whether the communication response device currently connected to the headset Bluetooth module is a mobile communication device or a computer device;

[0095] Step S302, if the communication response device currently connected to the headset Bluetooth module is a mobile communication device, sending the status instruction to the mobile communication device through a preset second communication connection; and

[0096] Step S303: If the communication response device currently connected to the headset Bluetooth module is a computer device, the status instruction is sent to a communication forwarding device through a preset third communication connection, and the communication forwarding device forwards it to the computer device.

[0097] In this embodiment, the mobile communication device includes a mobile phone, a portable smart watch with a conference voice function, a wristwatch and other devices that can realize mobile communication. The computer device refers to a PC computer tool provided with a USB connection port for the communication forwarding device USB_Dongle to be plugged in to realize flexible communication. The preset second communication connection is the BLE (Bluetooth Low Energy) connection between the headset Bluetooth module and the mobile communication device, and the preset third communication connection is the SPP protocol connection between the headset Bluetooth module and the communication forwarding device USB_Dongle.

[0098] This embodiment detects and identifies the communication response device connected to the headset Bluetooth module, so that the status instruction can be sent to the corresponding communication response device according to different communication connections, so as to achieve effective transmission of the status instruction.

[0099] Continue to refer Figure 6 In some optional implementations of this embodiment, step S40 includes the following steps:

[0100] Step S401, obtaining the communication voice status of the mobile communication device or the computer device;

[0101] Step S402, identifying the state instruction, and performing voice state synchronization on the communication voice state according to the state instruction to obtain a state synchronization result; and

[0102] Step S403: Controlling the communication response device to play or mute voice according to the status synchronization result.

[0103] In this embodiment, the communication voice status between the mobile communication device and the computer device is an enabled conference voice status. In specific implementation, the conference voice status may be the voice status of an online conference such as a Tencent conference or a DingTalk conference. The status synchronization results include: turning off the conference voice or turning on the conference voice.

[0104] This embodiment obtains the communication voice status of the mobile communication device or computer device and identifies the status instruction, thereby effectively synchronizing the communication voice status according to the status instruction to control the conference voice on the mobile communication device or computer device to play or close.

[0105] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through computer-readable instructions, and the computer-readable instructions can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the aforementioned storage medium can be a non-volatile storage medium such as a disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

[0106] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.

[0107] Further references Figure 7 , as a response to the above Figure 7 The present application provides an embodiment of a voice playback control device, and the device embodiment is similar to Figure 7 Corresponding to the method embodiment shown, the system can be specifically applied to various electronic devices.

[0108] like Figure 7 As shown, the voice playback control device 500 described in this embodiment includes: an instruction acquisition module 501, a connection switching module 502, an instruction sending module 503, and a voice synchronization module 504. Among them:

[0109] The instruction acquisition module 501 is used to obtain the status instructions of the charging bin and the earphone, and send the status instructions to the earphone Bluetooth module;

[0110] The connection switching module 502 is used to obtain the connection status of the headset Bluetooth module and the activation status of the communication forwarding device, and switch the connection of the communication response device connected to the headset Bluetooth module according to the connection status and the activation status, and the communication response device includes: a mobile communication device and a computer device;

[0111] An instruction sending module 503, used to send the status instruction to the mobile communication device or the computer device through the headset Bluetooth module; and

[0112] The voice synchronization module 504 is used to receive the state instruction through the mobile communication device or the computer device, and perform voice state synchronization according to the state instruction to control the mobile communication device or the computer device to play or mute the voice.

[0113] By adopting the above-mentioned device, this embodiment can effectively switch the communication response device that communicates with the headset, and effectively control the voice playback of the communication response device.

[0114] To solve the above technical problems, the present application also provides a computer device. Figure 8 , Figure 8 This is a basic structural block diagram of the computer device in this embodiment.

[0115] The computer device 6 includes a memory 61, a processor 62, and a network interface 63 that are interconnected through a system bus. It should be noted that the figure only shows a computer device 6 with components 61-63, but it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable gate arrays (Field-Programmable Gate Array, FPGA), digital processors (Digital Signal Processor, DSP), embedded devices, etc.

[0116] The computer device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The computer device may interact with a user through a keyboard, a mouse, a remote controller, a touch pad, or a voice control device.

[0117] The memory 61 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 61 can be an internal storage unit of the computer device 6, such as a hard disk or memory of the computer device 6. In other embodiments, the memory 61 can also be an external storage device of the computer device 6, such as a plug-in hard disk equipped on the computer device 6, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (FlashCard), etc. Of course, the memory 61 can also include both the internal storage unit of the computer device 6 and its external storage device. In this embodiment, the memory 61 is generally used to store the operating system and various application software installed on the computer device 6, such as computer-readable instructions of the voice playback control method, etc. In addition, the memory 61 can also be used to temporarily store various types of data that have been output or are to be output.

[0118] The processor 62 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments. The processor 62 is generally used to control the overall operation of the computer device 6. In this embodiment, the processor 62 is used to run computer-readable instructions or process data stored in the memory 61, such as computer-readable instructions for running the voice playback control method.

[0119] The network interface 63 may include a wireless network interface or a wired network interface. The network interface 63 is generally used to establish a communication connection between the computer device 6 and other electronic devices.

[0120] This embodiment uses the above-mentioned computer device to effectively switch the communication response device that communicates with the headset and effectively control the voice playback of the communication response device.

[0121] The present application also provides another implementation, namely, providing a computer-readable storage medium, wherein the computer-readable storage medium stores computer-readable instructions, and the computer-readable instructions can be executed by at least one processor to enable the at least one processor to perform the steps of the voice playback control method as described above.

[0122] By adopting the above-mentioned computer-readable storage medium, this embodiment can effectively switch the communication response device that communicates with the headset and effectively control the voice playback of the communication response device.

[0123] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0124] Obviously, the embodiments described above are only some embodiments of the present application, rather than all embodiments. The preferred embodiments of the present application are given in the accompanying drawings, but they do not limit the patent scope of the present application. The present application can be implemented in many different forms. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present application more thorough and comprehensive. Although the present application is described in detail with reference to the aforementioned embodiments, for those skilled in the art, it is still possible to modify the technical solutions recorded in the aforementioned specific implementation methods, or to perform equivalent replacement of some of the technical features therein. Any equivalent structure made using the contents of the specification and drawings of this application, directly or indirectly used in other related technical fields, is similarly within the scope of patent protection of this application.

Claims

1. A voice playback control method, characterized in that: include: Obtain status instructions of the charging case and the headset, and send the status instructions to the headset Bluetooth module; Acquire the connection status of the headset Bluetooth module and the activation status of the communication forwarding device, and switch the connection of the communication response device connected to the headset Bluetooth module according to the connection status and the activation status, wherein the communication response device includes: a mobile communication device and a computer device; Sending the status instruction to the mobile communication device or the computer device through the headset Bluetooth module; and The state instruction is received by the mobile communication device or the computer device, and voice state synchronization is performed according to the state instruction to control the mobile communication device or the computer device to play or mute voice.

2. The voice playback control method according to claim 1, characterized in that: The status instruction includes: a mute status instruction and a non-mute status instruction; the step of obtaining the status instruction of the charging bin and the headset, and sending the status instruction to the headset Bluetooth module specifically includes: Detect in real time whether the charging compartment sends a communication instruction; If the charging compartment sends the communication instruction, identifying the communication instruction and obtaining the status instruction; If the charging compartment does not send the communication instruction, obtaining the communication status of the headset, and generating the status instruction according to the communication status; and The status instruction is sent to the headset Bluetooth module through a preset first communication connection.

3. The voice playback control method according to claim 2, characterized in that: If the charging compartment sends the communication instruction, the step of identifying the communication instruction and obtaining the status instruction specifically includes: Detecting whether a mute button or a non-mute button of the charging compartment is touched; If the mute button of the charging compartment is touched, a communication instruction message including a mute state instruction is sent; and If the non-mute button of the charging case is touched, a communication instruction message including a non-mute state instruction is sent.

4. The voice playback control method according to claim 2, characterized in that: The communication status includes: a mute state and a non-mute state; if the charging compartment does not send the communication instruction, the step of obtaining the communication status of the headset and generating the status instruction according to the communication status specifically includes: Detecting whether the headset is in a muted state or a non-muted state; If the headset is in a mute state, generating a corresponding mute state instruction; and If the headset is in a non-mute state, a corresponding non-mute state instruction is generated.

5. The voice playback control method according to claim 1, characterized in that: The step of obtaining the connection status of the headset Bluetooth module and the activation status of the communication forwarding device, and switching the connection of the communication response device connected to the headset Bluetooth module according to the connection status and the activation status specifically includes: Detecting whether the headset Bluetooth module is connected to a mobile communication device or a computer device, and detecting the activation state of the communication forwarding device; If the headset Bluetooth module is connected to the mobile communication device and the communication forwarding device is activated, disconnecting the headset Bluetooth module from the mobile communication device and connecting the headset Bluetooth module to the computer device; and If the headset Bluetooth module is connected to the computer device and the communication forwarding device is not activated, the connection between the headset Bluetooth module and the computer device is disconnected, and the headset Bluetooth module is connected to the mobile communication device.

6. The voice playback control method according to claim 1, characterized in that: The step of sending the status instruction to the communication response device through the headset Bluetooth module specifically includes: Detect whether the communication response device currently connected to the headset Bluetooth module is a mobile communication device or a computer device; If the communication response device currently connected to the headset Bluetooth module is a mobile communication device, sending the status instruction to the mobile communication device via a preset second communication connection; and If the communication response device currently connected to the headset Bluetooth module is a computer device, the status instruction is sent to the communication forwarding device through a preset third communication connection, and is forwarded to the computer device by the communication forwarding device.

7. The voice playback control method according to claim 1, characterized in that: The step of receiving the state instruction through the mobile communication device or the computer device, and performing voice state synchronization according to the state instruction to control the mobile communication device or the computer device to play or mute voice specifically includes: Acquiring the communication voice status of the mobile communication device or the computer device; Identifying the state instruction, and performing voice state synchronization on the communication voice state according to the state instruction to obtain a state synchronization result; and The communication response device is controlled to play or mute voice according to the status synchronization result.

8. A voice playback control device, characterized in that: include: An instruction acquisition module is used to acquire status instructions of the charging bin and the headset, and send the status instructions to the headset Bluetooth module; A connection switching module, used to obtain the connection status of the headset Bluetooth module and the activation status of the communication forwarding device, and switch the connection of the communication response device connected to the headset Bluetooth module according to the connection status and the activation status, wherein the communication response device includes: a mobile communication device and a computer device; an instruction sending module, used for sending the status instruction to the mobile communication device or the computer device through the headset Bluetooth module; and The voice synchronization module is used to receive the state instruction through the mobile communication device or the computer device, and perform voice state synchronization according to the state instruction to control the mobile communication device or the computer device to play or mute the voice.

9. A computer device, comprising a memory and a processor, wherein the memory stores computer-readable instructions, and the processor implements the steps of the voice playback control method according to any one of claims 1 to 7 when executing the computer-readable instructions.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the steps of the voice playback control method according to any one of claims 1 to 7 are implemented.