Voice playing method and device and electronic equipment

By installing a control device with far-field voice acquisition capabilities on the TV, singing can be performed without purchasing additional equipment, solving the problem of equipment incompatibility and improving the user experience.

CN121509715APending Publication Date: 2026-02-10HISENSE VISUAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411093648.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-09
Publication Date
2026-02-10

AI Technical Summary

Technical Problem

Users need to purchase additional microphone equipment to connect to the TV for singing, resulting in equipment incompatibility issues and a poor user experience.

Method used

By installing a control device on the television and utilizing its far-field voice acquisition function, the control device establishes a communication connection with the television to collect and play singing voice data, thus avoiding the need to purchase additional equipment.

Benefits of technology

This reduces the mismatch rate between voice acquisition devices and televisions, improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121509715A_ABST
    Figure CN121509715A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of multimedia, in particular to a voice playing method and device and electronic equipment. The method comprises the following steps: in response to a starting operation on an application program for singing, sending first control information to control equipment if the control equipment which establishes communication connection has started a far-field voice acquisition function; wherein the control equipment has the functions of controlling the electronic equipment and acquiring far-field voice, and the first control information is used for indicating the control equipment to start acquiring singing voice data according to a first sampling rate; and receiving the singing voice data sent by the control equipment, and playing the singing voice data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of multimedia technology, and in particular to a voice playback method, apparatus, and electronic device. Background Technology

[0002] As living standards improve, people's demand for entertainment is increasing, and various entertainment devices are constantly entering people's homes. Television, as a standard home entertainment device, is almost a necessity in every household. Therefore, the demand for singing on television at home is also constantly increasing. However, currently, users purchase microphones separately to connect to their TVs and use karaoke software. This method requires the additional purchase of microphone equipment, increasing expenses, and the purchased equipment may be incompatible with the TV, resulting in a poor user experience.

[0003] Therefore, how to reduce the mismatch rate between voice acquisition equipment and television without increasing expenses has become an urgent problem to be solved. Summary of the Invention

[0004] To address the aforementioned technical problems, this disclosure provides a voice playback method, apparatus, and electronic device.

[0005] The technical solution disclosed herein is as follows:

[0006] In a first aspect, this disclosure provides an electronic device, comprising: a communicator configured to: establish a communication connection with a control device and receive singing voice data or near-field voice data sent by the control device; the control device having the functions of controlling electronic devices and far-field voice acquisition; and a controller configured to: in response to an operation to open an application for singing, if the control device with the established communication connection has enabled the far-field voice acquisition function, send first control information to the control device; wherein the first control information is used to instruct the control device to start acquiring singing voice data at a first sampling rate; receive the singing voice data sent by the control device, and play the singing voice data.

[0007] Secondly, this disclosure provides a control device, comprising: a communicator configured to: establish communication with an electronic device, send singing voice data or near-field voice data to the electronic device, and receive instruction information, first control information, second control information, third control information, fourth control information, and fifth control information; the control device has the functions of controlling the electronic device and far-field voice acquisition; and a controller configured to: receive the first control information sent by the electronic device; wherein the first control information is sent by the electronic device in response to the opening operation of an application for singing, and the control device with established communication connection has enabled the far-field voice acquisition function; acquire singing voice data according to a first sampling rate; and send the singing voice data to the electronic device.

[0008] Thirdly, this disclosure provides a voice playback method, comprising: in response to the opening operation of an application for singing, if a control device with an established communication connection has enabled far-field voice acquisition function, sending first control information to the control device; wherein the control device has control electronic devices and far-field voice acquisition function, and the first control information is used to instruct the control device to start acquiring singing voice data according to a first sampling rate; receiving the singing voice data sent by the control device, and playing the singing voice data.

[0009] Fourthly, this disclosure provides a voice playback method, comprising: receiving first control information sent by an electronic device; wherein the first control information is sent by the electronic device in response to opening an application for singing, and a control device with an established communication connection has enabled far-field voice acquisition function; wherein the control device has the functions of controlling the electronic device and far-field voice acquisition; acquiring singing voice data according to a first sampling rate; and sending the singing voice data to the electronic device.

[0010] Fifthly, this disclosure provides an electronic device, including: a memory and a controller, wherein the memory is used to store a computer program; and the controller is used to cause the electronic device to implement the voice playback method as provided in any of the third aspects when executing the computer program.

[0011] In a sixth aspect, the present invention provides a computer-readable storage medium, comprising: storing a computer program on the computer-readable storage medium, the computer program being executed by a controller of a voice playback method as provided in any of the third aspects.

[0012] In a seventh aspect, the present invention provides a computer program product that, when run on a computer, causes the computer to execute the voice playback method as provided in any of the third aspects.

[0013] Eighthly, this disclosure provides an electronic device, including: a memory and a controller, the memory being used to store a computer program; the controller being used to cause the electronic device to implement the voice playback method as provided in any of the fourth aspects when executing the computer program.

[0014] In a ninth aspect, the present invention provides a computer-readable storage medium comprising: storing a computer program on the computer-readable storage medium, the computer program being executed by a controller of a voice playback method as provided in any of the fourth aspects.

[0015] In a tenth aspect, the present invention provides a computer program product that, when run on a computer, causes the computer to execute the voice playback method as provided in any of the fourth aspects.

[0016] It should be noted that the aforementioned computer instructions may be stored, in whole or in part, on the first computer-readable storage medium. The first computer-readable storage medium may be packaged together with the controller of the electronic device, or it may be packaged separately from the controller of the electronic device; this disclosure does not impose any limitations on this.

[0017] The descriptions of the third, fifth, sixth, and seventh aspects in this disclosure can be referenced to the detailed description of the first aspect; and the beneficial effects of the descriptions of the third, fifth, sixth, and seventh aspects can be referenced to the analysis of the beneficial effects of the first aspect, which will not be repeated here.

[0018] The descriptions of aspects four, eight, nine, and ten in this disclosure can be referenced to the detailed description of aspect one; and the beneficial effects of the descriptions of aspects four, eight, nine, and ten can be referenced to the analysis of the beneficial effects of aspect two, which will not be repeated here.

[0019] In this disclosure, the names of the aforementioned electronic or control devices do not limit the devices or functional modules themselves. In actual implementation, these devices or functional modules may appear under other names. As long as the functions of each device or functional module are similar to those of this disclosure, they fall within the scope of the claims of this disclosure and their equivalents.

[0020] These or other aspects of this disclosure will become more readily apparent in the following description.

[0021] The technical solution provided in this disclosure has the following advantages compared with the prior art:

[0022] The voice playback method disclosed herein utilizes a control device capable of controlling an electronic device. Since the control device possesses far-field voice acquisition capabilities, when a user needs to sing, they can activate the far-field voice acquisition function of the control device on the electronic device. Simultaneously, when a singing application is opened on the electronic device, the electronic device responds to the opening operation of the singing application. If the control device, with an established communication connection, has activated its far-field voice acquisition function, it sends first control information to the control device. Thus, the display electronic device can instruct the control device to acquire singing voice data. Subsequently, the electronic device receives the singing voice data sent by the control device and plays it. In this way, users do not need to purchase additional equipment for singing; instead, they can sing through the control device of the electronic device. Because the control device and electronic device are better matched, the number of mismatches between the singing device and the electronic device can be reduced, thereby reducing the mismatch rate between the singing device and the display device, improving the user experience, and solving the problem of how to reduce the mismatch rate between the voice acquisition device and the television without increasing expenses. Attached Figure Description

[0023] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.

[0024] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0025] Figure 1 A schematic diagram illustrating a scenario for the voice playback method provided in an embodiment of this application;

[0026] Figure 2 This is one of the structural schematic diagrams of the display device provided in the embodiments of this application;

[0027] Figure 3 This is a second schematic diagram of the structure of the display device provided in the embodiments of this application;

[0028] Figure 4 One of the flowcharts of the voice playback method provided in the embodiments of this application;

[0029] Figure 5 A second schematic flowchart illustrating the voice playback method provided in this application embodiment;

[0030] Figure 6 The third schematic flowchart of the voice playback method provided in the embodiments of this application;

[0031] Figure 7 The fourth flowchart illustrating the voice playback method provided in this application embodiment;

[0032] Figure 8 Fifth flowchart illustrating the voice playback method provided in this application embodiment;

[0033] Figure 9 A flowchart illustrating the voice playback method provided in this application embodiment is shown in Figure 6.

[0034] Figure 10 Seventh schematic flowchart of the voice playback method provided in the embodiments of this application;

[0035] Figure 11 Eighth flowchart illustrating the voice playback method provided in this application embodiment;

[0036] Figure 12 A flowchart illustrating the voice playback method provided in this application embodiment is shown in Figure 9.

[0037] Figure 13 This is the tenth flowchart illustrating the voice playback method provided in the embodiments of this application. Detailed Implementation

[0038] To better understand the above-mentioned objectives, features, and advantages of this disclosure, the solutions disclosed herein will be further described below. It should be noted that, unless otherwise specified, the embodiments and features described herein can be combined with each other.

[0039] Numerous specific details are set forth in the following description in order to provide a full understanding of this disclosure, but this disclosure may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only some, and not all, of the embodiments of this disclosure.

[0040] The display device provided in this application can have various implementation forms, such as a television, a smart television, a laser projection device, a monitor, an electronic bulletin board, an electronic table, etc. Figure 1 and Figure 2 This is one specific embodiment of the display device of this application.

[0041] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0042] In the Android system, ReportID and HIDraw nodes are typically associated with input devices (such as keyboards, mice, touchscreens, etc.), especially when dealing with Human Interface Device (HID) protocols.

[0043] In this embodiment of the disclosure, Report ID is a field in the HID device report descriptor used to identify different types of reports. HID devices can send various types of data reports (such as input reports, output reports, and feature reports), and each report has a unique ReportID.

[0044] In this embodiment of the disclosure, HIDraw is a subsystem in the Linux kernel that provides a low-level access interface to HID devices. Through the HIDraw interface, applications can directly communicate with HID devices, reading and writing raw data without needing to go through a higher-level input subsystem.

[0045] The GATT (Generic Attribute Profile) service in this disclosure is a core concept in the Bluetooth Low Energy (BLE) protocol, used to define how BLE devices organize and transmit data.

[0046] In this disclosure, ADC, or analog-to-digital converter, generally refers to an electronic component that converts analog signals into digital signals.

[0047] Figure 1 This is a schematic diagram illustrating an operational scenario between a home appliance and a control device according to one or more embodiments of this application, such as... Figure 1 As shown, a user can operate the display device 200 through the terminal device 300 and / or the control device 100. The control device 100 can be a remote control, and communication between the remote control and the display device includes infrared protocol communication, Bluetooth protocol communication, wireless or other wired methods to control the display device 200. The user can input user commands through buttons on the remote control, voice input, control panel input, etc., to control the display device 200. In some embodiments, mobile terminals, tablet computers, computers, laptops, and other smart devices can also be used to control the display device 200.

[0048] In some embodiments, the electronic device provided in this disclosure can be the display device 200 described above, and the control device can be the control device 100 described above. When the display device 200 and the control device 100 establish a pairing relationship, the control device 100 can control the display device 200, and the display device 200 displays a control that can turn the far-field voice acquisition function on or off. Thus, the user can control the far-field voice acquisition function of the control device 100 on the display device 200. Afterwards, while using the display device 200, the user can install a singing application on the display device 200 to sing on the display device 200. When the user wants to sing, they can first enable the far-field voice acquisition function of the control device 100 on the display device 200, and then open the application to sing. At this time, in response to the opening operation of the application for singing, if the control device with an established communication connection has enabled the far-field voice acquisition function, the display device 200 sends a first control message to the control device; the first control message instructs the control device to start acquiring singing voice data at a first sampling rate; when the control device 100 receives the first control message sent by the display device 200, it acquires singing voice data at the first sampling rate; the control device 100 sends the singing voice data to the display device 200. The display device 200 receives the singing voice data sent by the control device 100 and plays the singing voice data.

[0049] As can be seen, since the control device can control the display device and also has far-field voice acquisition capabilities, when a user wants to sing, they can activate the far-field voice acquisition function of the control device on the display device. Simultaneously, when a singing application is opened on the display device, the display device, in response to the opening of the singing application, sends first control information to the control device if the control device, with an established communication connection, has activated its far-field voice acquisition function. Thus, the display device can instruct the control device to acquire singing voice data. Afterward, the display device receives the singing voice data sent by the control device and plays it. In this way, users do not need to purchase additional equipment to sing; instead, they can sing through the control device on the display device. Because the control device and display device are better matched, the number of mismatches between the singing device and the display device can be reduced, thereby lowering the mismatch rate and improving the user experience.

[0050] Figure 2 A hardware configuration block diagram of a display device 200 according to an exemplary embodiment is shown. For example... Figure 2The display device 200 shown includes at least one of the following: a tuner / demodulator 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, and a user interface 280. The controller includes a central processing unit, a video processor, an audio processor, a graphics processor, RAM, ROM, and a first to nth interface for input / output. The display 260 may be a touch-enabled display, such as a touch screen display. The detector 230 is used to acquire signals from the external environment or for interaction with the external environment.

[0051] In some examples, the external device interface 240 may include, but is not limited to, one or more of the following interfaces: High Definition Multimedia Interface (HDMI), analog or data high-definition component input interface (component), composite video input interface (CVBS), USB input interface (USB), RGB port, etc. It may also be a composite input / output interface formed by multiple interfaces mentioned above.

[0052] In some embodiments, the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in memory. The controller 250 controls the overall operation of the display device 200.

[0053] In some examples, the display device 200 of one or more embodiments is a television set 1, and the operating system of the television set 1 is the Android system, for example... Figure 3 As shown, TV 1 can be logically divided into an application layer (referred to as "application layer") 21, an application framework layer (referred to as "framework layer") 22, an Android runtime and system library layer (referred to as "system runtime library layer") 23, and a kernel layer 29.

[0054] The application layer 21 includes one or more applications. These applications can be system applications or third-party applications. The framework layer 22 provides application programming interfaces (APIs) and programming frameworks for the applications in the application layer 21. The system runtime library layer 23 provides support for the upper layer, namely the framework layer 22. When the framework layer 22 is used, the Android operating system runs the C / C++ libraries contained in the system runtime library layer 23 to implement the functions required by the framework layer 22. The kernel layer 29 acts as software middleware between the hardware layer and the application layer 21, and is used to manage and control hardware and software resources.

[0055] In some examples, the electronic device provided in this application embodiment can be the aforementioned television set 1. When the control device 100 is a remote control, after the television set 1 and the remote control establish a pairing relationship, the remote control can control the television set 1, and the television set 1 displays controllable controls to enable or disable the far-field voice acquisition function. Thus, the user can control the activation or deactivation of the remote control's far-field voice acquisition function on the television set 1. Subsequently, while using the television set 1, the user can install a singing application (such as referred to as the first application) on the television set 1, thereby enabling singing on the television set 1. When the user wants to sing, they can first enable the far-field voice acquisition function of the remote control on the television set 1, and then open the application to sing. At this time, in response to the opening operation of the application for singing, if the remote control with established communication connection has enabled the far-field voice acquisition function, the processing unit 201 of the television set 1 controls the transceiver unit 202 to send first control information to the remote control; when the transceiver unit 302 receives the first control information sent by the television set 1, the processing unit 301 of the remote control collects singing voice data according to the first sampling rate; the processing unit 301 of the remote control controls the transceiver unit 302 to send the singing voice data to the display device 200. When the transceiver unit 202 receives the singing voice data sent by the remote control, the processing unit 201 of the television set 1 plays the singing voice data received by the transceiver unit 202.

[0056] Specifically, when the executing entity of the voice playback method provided in this embodiment is a television set 1, the storage unit 203 of the television set 1 is used to store data such as the program code of the voice playback method provided in this embodiment.

[0057] In the following embodiments, the television set 1 described above is used as the execution subject for the voice playback method provided in the embodiments of this disclosure to illustrate the method of the present application.

[0058] This application provides a voice playback method, applied to a television set 1, such as... Figure 4 As shown, the voice playback method may include S11 and S12.

[0059] S11. In response to the opening operation of the application used for singing, if the control device with an established communication connection has enabled the far-field voice acquisition function, a first control message is sent to the control device; wherein the control device has the functions of controlling electronic devices and far-field voice acquisition, and the first control message is used to instruct the control device to start acquiring singing voice data according to a first sampling rate.

[0060] In some examples, the television 1 can determine whether the remote control has far-field voice acquisition capabilities by using the target identifier reported by the control device (such as a remote control).

[0061] For example, the process by which TV 1 determines whether the remote control supports far-field voice acquisition (such as karaoke function) is as follows:

[0062] The TV set 1 and the remote control agree on a target identifier, such as a Report ID, to determine whether the remote control supports far-field voice acquisition. The Report ID used to identify far-field voice acquisition is different from the Report ID used to identify near-field voice acquisition.

[0063] TV 1 can be read through the HIDraw node. If the Report ID used to identify the far-field voice acquisition function is read, it means that the remote control supports the karaoke function. If the Report ID used to identify the far-field voice acquisition function is not read, it means that the remote control does not support the karaoke function.

[0064] The definitions related to Report ID are as follows:

[0065] The remote control requires three report characteristics for the transmission of control data and voice data. The specific definitions are shown in the table below:

[0066] Table 1

[0067]

[0068] For example, a Report ID of 0x5E indicates that the TV sends control information to the remote control; or a Report ID of 0x5A indicates that the remote control sends control information to the TV; or a Report ID of 0xF7 indicates that the remote control supports karaoke functionality.

[0069] After the TV receives the Report ID used to identify the far-field voice acquisition function, it displays the remote control's controls to turn the far-field voice acquisition function on or off in the menu interface. The process by which TV 1 reads the Report ID is as follows:

[0070] When the remote control and TV 1 pair via Bluetooth, TV 1 reads the ReportID value and Report type supported by the remote control and stores them in the HIDraw node representing the remote control in the application framework layer. The application in TV 1's application layer reads the data from the HIDraw node representing the remote control in the application framework layer to determine if the Report ID 0xF7 exists and if the Report type is input. If the Report ID 0xF7 is present and the Report type is input, it means the current remote control supports far-field voice capture. In this case, controls to enable or disable far-field voice capture can be displayed in the menu interface. Conversely, if the remote control does not support far-field voice capture, the controls to enable or disable far-field voice capture will not be displayed in the menu interface.

[0071] As can be seen, the TV can determine whether the remote control supports far-field voice capture by using the Report ID in the HIDraw field used to represent the remote control. Furthermore, to differentiate between far-field and near-field voice capture functions, the Report ID can be set separately, allowing for flexible differentiation between these functions. For example, when there is a conflict between the use cases of far-field and near-field voice capture functions, their on / off states can be precisely controlled separately.

[0072] In some examples, TV 1 can also determine whether the remote control supports far-field voice capture by creating a GATT service. For example, TV 1 uses a custom GATT service Universally Unique Identifier (UUID) to identify whether the remote control supports far-field voice capture.

[0073] In some examples, the far-field voice acquisition function means that after the remote control receives the first control information, it turns on the microphone and starts to collect environmental voice data according to the first sampling rate, and uses the collected environmental voice data as singing voice data.

[0074] In some examples, the near-field voice acquisition function activates the microphone to collect ambient voice data when the voice button on the remote control is pressed, and uses the collected ambient voice data as near-field voice data.

[0075] S12. Receive the singing voice data sent by the control device and play the singing voice data.

[0076] In some examples, TV 1 and the remote control establish a communication connection via Bluetooth. TV 1 can then receive the singing voice data sent by the remote control via the Bluetooth module, perform decompression and other processing, and finally play the singing voice data and music together from the speakers.

[0077] As described above, the voice playback method provided in this disclosure, since the control device can control the electronic device and has a far-field voice acquisition function, allows the user to sing by activating the far-field voice acquisition function of the control device on the electronic device. Simultaneously, when a singing application is opened on the electronic device, the electronic device responds to the opening operation of the singing application. If the control device, with an established communication connection, has activated its far-field voice acquisition function, it sends first control information to the control device. Thus, the display electronic device can instruct the control device to acquire singing voice data. Afterward, the electronic device receives the singing voice data sent by the control device and plays it. Therefore, users do not need to purchase additional equipment for singing; instead, they can sing through the control device of the electronic device. Because the matching between the control device and the electronic device is better, the number of mismatches between the singing device and the electronic device can be reduced, thereby reducing the mismatch rate between the singing device and the display device and improving the user experience.

[0078] In some feasible examples, combining Figure 4 ,like Figure 5 As shown, the voice playback method provided in this embodiment of the present disclosure further includes: S13 and S14.

[0079] S13. In response to the control device's selection operation of the volume control in the display page corresponding to the application, determine the adjusted input volume value.

[0080] In some examples, to facilitate user adjustment of the voice input level of the remote control, the voice playback method provided in this disclosure embodiment controls the voice input level of the remote control through the TV interface. For example, if the far-field voice acquisition function of the remote control is enabled on the TV interface, the user can use the remote control to select a volume bar control displayed on the TV interface (e.g., the volume bar control's volume value includes any one of 1-10, and the volume value is an integer). The TV 1 then sends the adjusted volume value to the remote control. The remote control adjusts its volume gain value based on the received volume value. For example, if the adjusted volume value is 5, the remote control determines the volume gain value based on the received adjusted volume value. For instance, the remote control determines the gain range corresponding to the adjusted volume value. The remote control uses the theoretical gain value corresponding to this gain range as the volume gain value.

[0081] Alternatively, the remote control can use the adjusted volume value and input it into the volume gain formula to obtain the volume gain value.

[0082] The gain formula includes:

[0083] d = a(ba) - c; where d represents the volume gain value, a represents the adjusted volume value, b represents the total number of volume values ​​of the volume bar control, and c represents the adjustment coefficient, c∈[0,1].

[0084] For example, if the volume value is an integer and the volume bar control's volume value includes any value from 1 to 10, then the total volume value of the volume bar control is 10.

[0085] In some examples, changing the volume gain via a remote control better preserves the quality of the original speech. However, if the volume gain is changed via TV 1, the quality of the singing speech data will deteriorate, resulting in problems such as audio distortion. The reasons are as follows:

[0086] The processing logic and results of adjusting the volume gain via TV 1 are as follows:

[0087] Assume the original singing voice data collected by the remote control is converted into a digital signal 'a' (e.g., 'a' is 16-bit data) by an ADC. After being processed by the remote control's amplifier, the voice signal corresponding to the singing voice data is amplified by x times, generating a signal of a×x. Since the remote control needs to maintain a preset data format, such as 16-bit data format, it is necessary to discard some decimal places (rounding). The transmitted signal becomes a×xc, where c represents the value of the discarded data.

[0088] If only one decimal place needs to be retained, then: |c| < 0.1;

[0089] After the TV receives the data, it amplifies the gain, and the adjusted data is: (a×xc)×y=a×x×yc×y;

[0090] Since the magnification factor y > 1, c × y may be greater than 0.1.

[0091] The processing logic and results for adjusting the volume gain using the remote control are as follows:

[0092] Assume the raw singing voice data acquired by the remote control is converted into a digital signal 'a' (where 'a' is 16-bit data) by an ADC. After processing by the remote control's default amplifier, the voice signal is amplified by a factor of x, resulting in a × x signal. Then, the remote control adjusts the volume, and the required amplification factor is assumed to be 'y' (i.e., the volume gain). Therefore, the final output signal should be a × x × y.

[0093] The processing logic and results of adjusting the volume gain via remote control are as follows:

[0094] Since the remote control itself needs to perform data amplification processing, this volume gain adjustment can be combined with the original amplification factor and amplified simultaneously. The processed signal is then: a×x×y. Because the voice data becomes larger after amplification, 16 bits cannot record all the data, and the transmission still needs to use the 16-bit format. Therefore, some decimal places need to be discarded (rounded) to ensure data transmission. The discarded data becomes: a×x×yb (b is the value of the discarded supplementary data). Assuming that only one decimal place needs to be retained, then: |b|<0.1.

[0095] The results above show that after adjusting the gain via remote control, the final output signal error does not exceed 0.1; however, after adjusting the gain via the TV, the final output signal error may exceed 0.1 or even greater. Therefore, if the input volume adjustment of the singing voice data is achieved through TV 1, problems such as reduced voice quality or distortion are more likely to occur. Therefore, this disclosure uses a remote control to adjust the volume gain of the collected singing voice data, thereby ensuring a better user experience.

[0096] In some examples, the control command data format carrying the adjusted volume value sent by TV 1 to the remote control is shown in Table 2.

[0097] Table 2

[0098]

[0099] In some examples, the remote control collects the singing voice data from the analog signal, converts the analog signal into a digital signal through an ADC, amplifies the signal through an amplifier, and finally sends the amplified singing voice data to the television 1.

[0100] S14. Send a second control message carrying a volume value to the control device; wherein the second control message is used to instruct the control device to adjust the volume gain of the collected singing voice data according to the volume value.

[0101] In some examples, after sending the first control information to the remote control, TV 1 periodically (e.g., every 3 seconds) sends a microphone status data packet command to the remote control: Karaoke_mic_start, with the data format shown in Table 3.

[0102] Table 3

[0103]

[0104] In some examples, TV 1 instructs the remote control to turn off the karaoke function: Karaoke_mic_stop, with the data format shown in Table 4.

[0105] Table 4

[0106]

[0107] In some examples, the remote control outputs the command "karaoke_voice_start" indicating that the far-field voice acquisition function is enabled, with the data format shown in Table 5.

[0108] Table 5

[0109]

[0110] In some examples, the remote control's feedback field voice capture function is disabled via the command: karaoke_voice_stop, with the data format shown in Table 6.

[0111] Table 6

[0112]

[0113] In some feasible examples, combining Figure 4 ,like Figure 6 As shown, the voice playback method provided in this embodiment of the present disclosure further includes: S15 and S16.

[0114] S15. During the playback of singing voice data, if an operation message for enabling the near-field voice function is received, obtain the first priority of the application and the second priority of the near-field voice function.

[0115] S16. If the first priority is greater than the second priority, the near-field voice function is not activated, and the control device is instructed to continue acquiring singing voice data.

[0116] For example, when the first priority is greater than the second priority, the interaction process between TV 1 and the remote control includes:

[0117] 1. TV 1 sends Karaoke_mic_start to remote control, and remote control receives the Karaoke_mic_start command sent by TV 1.

[0118] 2. Use the remote control to start the hardware, turn on the microphone (MIC), and power it on.

[0119] 3. The remote control begins collecting singing voice data. After the remote control powers the microphone, the microphone will begin collecting singing voice data. At this time, the microphone may pick up noise from button presses and sounds of microphone instability. Therefore, after the remote control powers the microphone, a preset delay can be set before starting the collection of singing voice data. For example, the preset delay could be 100ms.

[0120] 4. The remote control sends the Karaoke_voice_start command to TV 1.

[0121] 5. The remote control transmits the collected singing voice data to TV 1. For example, the data packet format of the singing voice data can be 42 bytes in length, with singing voice data in large packets every 10ms, compressed and transmitted.

[0122] 6. During the transmission of singing voice data, the remote control needs to determine whether there are any operations or commands that conflict with the karaoke function. For example, the remote control will detect whether the voice key or other buttons are pressed. If a button is pressed, the karaoke function will not be exited. The remote control will only send the corresponding button (including the voice key) key value to TV 1 and will not activate the near-field voice function. After receiving the button key value sent by the remote control, TV 1 will prompt that the near-field voice function (such as voice recognition function) cannot be activated during the karaoke process.

[0123] Alternatively, the remote control can detect whether it has received a Near_mic_start or Near_mic_stop command. If it has received a Near_mic_start or Near_mic_stop command, it will not process it and will continue to collect singing voice data.

[0124] 7. During the transmission of singing voice data, the remote control checks whether it receives the second control information sent by the TV, such as a volume adjustment command. If the remote control receives the volume adjustment command, it adjusts the volume gain according to the volume value of the volume adjustment command.

[0125] 8. To prevent the remote control from continuously collecting singing voice data, which would increase its power consumption, the voice playback method provided in this disclosure requires the TV 1 to periodically send a collection command to the remote control. If the remote control does not receive the collection command within the current period, it will stop collecting singing voice data; if it receives the collection command within the current period, it will continue collecting singing voice data. For example, the remote control checks whether it has received a collection command within 20 seconds. If the collection command is "Karaoke_mic_start", and the remote control receives the "Karaoke_mic_start" command within 20 seconds, it updates the timeout and maintains the karaoke function.

[0126] 9. When the remote control receives the Karaoke_mic_stop signal from TV 1, it stops collecting singing voice data, that is, the remote control turns off the power supply to the microphone.

[0127] 10. The remote control clears the buffer of singing voice data. To ensure the underlying buffer data of the chip is completely cleared, the remote control performs other operations only after a target time has elapsed, such as 20ms.

[0128] 11. The remote control sends Karaoke_voice_stop to TV 1 to indicate that the remote control has exited the karaoke function (i.e., stopped collecting singing voice data).

[0129] In some feasible examples, combining Figure 6 ,like Figure 7 As shown, the voice playback method provided in this embodiment of the disclosure further includes: S17-S19.

[0130] S17. If the first priority is lower than the second priority, send a third control message to the control device to instruct the collection of singing voice data to stop and to enable the near-field voice function.

[0131] S18. Receive near-field voice data sent by the control device; wherein the sampling rate of the near-field voice data is a second sampling rate, which is less than the first sampling rate.

[0132] In some examples, when users use singing applications to sing, they have high requirements for the quality and transmission latency of the singing voice data. The existing voice formats are no longer sufficient for singing. Therefore, the sampling rate, transmission interval, and data packet size in the voice format can be adjusted to ensure that the transmission latency of the singing voice data meets the requirements for singing. For example:

[0133] 1. Sampling rate: Increase the sampling rate from the second sampling rate (e.g., 16kHz) to the first sampling rate (e.g., 32kHz). Increasing the sampling rate increases the amount of speech data in the same time period, and the data quality is improved accordingly.

[0134] 2. Transmission interval: The transmission interval has been reduced from the first preset duration (e.g., 20ms) to one packet (divided into two smaller packets and sent twice), to the second preset duration (e.g., 10ms). The voice transmission interval has also been changed from the default third preset duration (e.g., 20ms) to the fourth preset duration (e.g., 10ms). This reduces the voice transmission delay. Combined with optimizations on the TV, the transmission delay for singing using the remote control can now be kept below 100ms.

[0135] 3. Data packet size: Large packet transmission is adopted. Each target duration (e.g., 10ms) of voice data is composed of a large packet and transmitted after compression. The overall length of the data packet is a preset length (e.g., 42 bytes), and the data transmission adopts a compression algorithm with a preset multiple (e.g., 16 times).

[0136] The data packet consists of: Report ID, Frame NO., and voice data.

[0137] HID report ID: 0xF7

[0138] FrameNO.: The sequence number of the loop from 0x00 to 0xFF.

[0139] For example, the format of singing voice data is shown in Table 7.

[0140] Table 7

[0141]

[0142] S19. Generate prompt information for the text data corresponding to the near-field speech data.

[0143] For example, when the first priority is lower than the second priority, the interaction process between the TV 1 and the remote control includes:

[0144] 1. TV 1 sends Karaoke_mic_start to remote control, and remote control receives the Karaoke_mic_start command sent by TV 1.

[0145] 2. Use the remote control to start the hardware, turn on the microphone (MIC), and power it on.

[0146] 3. The remote control begins collecting singing voice data. After the remote control powers the microphone, the microphone will begin collecting singing voice data. At this time, the microphone may pick up noise from button presses and sounds of microphone instability. Therefore, after the remote control powers the microphone, a preset delay can be set before starting the collection of singing voice data. For example, the preset delay could be 100ms.

[0147] 4. The remote control sends the Karaoke_voice_start command to TV 1.

[0148] 5. The remote control transmits the collected singing voice data to TV 1. For example, the data packet format of the singing voice data can be 42 bytes in length, with singing voice data in large packets every 10ms, compressed and transmitted.

[0149] 6. During the transmission of singing voice data, the remote control needs to determine whether there are any operations or commands that conflict with the karaoke function. For example, the remote control checks if a voice button is pressed. If so, the remote control exits the karaoke function and sends "Karaoke_voice_stop" to TV 1. Simultaneously, the remote control sends the key value corresponding to the voice button to TV 1, switches the sampling rate from the first sampling rate to the second sampling rate (e.g., 16kHz), and activates the near-field voice function. When the pressed voice button is released, the remote control disables the near-field voice function. Afterward, if the remote control receives the first control information from TV 1 again, such as "Karaoke_mic_start," the remote control will resume collecting singing voice data at the first sampling rate.

[0150] Alternatively, the remote control can detect if any buttons other than the voice button are pressed. If other buttons are pressed, the remote control sends the key value corresponding to those other buttons to TV 1, while the remote control continues to collect singing voice data.

[0151] Alternatively, the remote control detects whether it has received the Near_mic_start command. If it does, the remote control sends a Near_voice_start response and switches the sampling rate from the first sampling rate to the second sampling rate. For example, if the second sampling rate is 16kHz, the near-field voice function is activated. After receiving the Near_mic_stop command from TV 1, the remote control exits the near-field voice function and turns off the microphone (i.e., stops powering the microphone). Afterward, if the remote control receives the first control information from TV 1 again, such as Karaoke_mic_start, the remote control will start collecting singing voice data again according to the first sampling rate.

[0152] Alternatively, the remote control can detect whether it has received a Near_mic_stop command. If the remote control receives a Near_mic_stop command sent by TV 1, it will not perform any processing and will continue to collect singing voice data.

[0153] 7. During the transmission of singing voice data, the remote control checks whether it receives the second control information sent by the TV, such as a volume adjustment command. If the remote control receives the volume adjustment command, it adjusts the volume gain according to the volume value of the volume adjustment command.

[0154] 8. To prevent the remote control from continuously collecting singing voice data, which would increase its power consumption, the voice playback method provided in this disclosure requires the TV 1 to periodically send a collection command to the remote control. If the remote control does not receive the collection command within the current period, it will stop collecting singing voice data; if it receives the collection command within the current period, it will continue collecting singing voice data. For example, the remote control checks whether it has received a collection command within 20 seconds. If the collection command is "Karaoke_mic_start", and the remote control receives the "Karaoke_mic_start" command within 20 seconds, it updates the timeout and maintains the karaoke function.

[0155] 9. When the remote control receives the Karaoke_mic_stop signal from TV 1, it stops collecting singing voice data, that is, the remote control turns off the power supply to the microphone.

[0156] 10. The remote control clears the buffer of singing voice data. To ensure the underlying buffer data of the chip is completely cleared, the remote control performs other operations only after a target time has elapsed, such as 20ms.

[0157] 11. The remote control sends Karaoke_voice_stop to TV 1 to indicate that the remote control has exited the karaoke function (i.e., stopped collecting singing voice data).

[0158] In some feasible examples, combining Figure 4 ,like Figure 8 As shown, before executing S11, the voice playback method provided in this embodiment of the disclosure further includes: S20-S22.

[0159] S20. Upon receiving upgrade information for upgrading the control device, send fourth control information containing the upgrade information to the control device and disconnect the pairing relationship with the control device; wherein, the fourth control information is used to instruct the control device to upgrade according to the upgrade information so that the control device has far-field voice acquisition function, and at the same time disconnect the pairing relationship.

[0160] S21. Receive pairing broadcast information sent by the control device;

[0161] S22. Based on the pairing broadcast information, re-establish the pairing relationship with the control device and send the fifth control information indicating that the pairing relationship has been re-established to the control device.

[0162] In some cases, to enable existing remote controls to support new features (such as karaoke functionality), an Over-the-Air (OTA) upgrade is required. The upgraded remote control then reconnects to the TV without needing to be re-paired. However, this reconnection process cannot support the synchronization of new features (such as Report ID), so even if the upgrade is successful, the karaoke function will not be usable. Therefore, the audio playback method provided in this embodiment automatically clears the pairing information after the remote control completes its OTA upgrade and sends a pairing broadcast packet within a preset time (e.g., 30 seconds) (the packet is sent until the 30-second timeout ends or the remote control is successfully paired with TV 1 again, to avoid the remote control remaining in a high-power state for a long time due to unsuccessful pairing); after receiving the broadcast packet sent by the remote control indicating that the OTA upgrade has been completed, the driver layer of TV 1 unpairs the device and sends a depairing broadcast to the upper application layer after depairing is completed; upon receiving the depairing broadcast, the application layer of TV 1 starts a pairing scan and continues for a specified time (e.g., 1 minute) to avoid the service being kept on for a long time if no pairing broadcast packet is detected and pairing is not completed, which would affect the TV's WiFi throughput and memory usage; after the application layer of TV 1 detects the pairing broadcast from the remote control, it initiates a pairing process, completes the pairing, and sends a fifth control message indicating that the pairing relationship has been re-established to the control device.

[0163] This application provides a voice playback method, applied to a remote control, such as... Figure 9 As shown, the voice playback method may include S31-S33.

[0164] S31. Receive first control information sent by an electronic device; wherein the first control information is sent by the electronic device in response to the opening operation of the application for singing, and the control device that has established a communication connection has enabled the far-field voice acquisition function; wherein the control device has the functions of controlling the electronic device and far-field voice acquisition.

[0165] S32. Collect singing voice data according to the first sampling rate;

[0166] In some examples, the remote control captures human voice through a microphone, converts it into an electrical signal, compresses the voice data, and then sends it to the TV via Bluetooth BLE.

[0167] S33, Send singing voice data to electronic devices.

[0168] In some feasible examples, combining Figure 9 ,like Figure 10 As shown, the voice playback method provided in this embodiment of the present disclosure further includes: S34-S36.

[0169] S34. Select the volume control in the display page corresponding to the application;

[0170] S35. Receive second control information carrying a volume value sent by an electronic device; wherein the volume value is determined by the electronic device when it receives a selection operation of the volume control in the display page corresponding to the application.

[0171] S36. Adjust the volume gain of the collected singing voice data according to the volume value.

[0172] In some feasible examples, combining Figure 9 ,like Figure 11 As shown, the voice playback method provided in this embodiment of the present disclosure further includes: S37-S39.

[0173] S37. In response to the key press of the voice key, send operation information to the electronic device to enable the near-field voice function;

[0174] S38. Receive instruction information sent by the electronic device; wherein the instruction information is sent by the electronic device when it determines that the first priority of the application is greater than the second priority of the near-field voice function;

[0175] S39. Based on the instruction information, continue to acquire singing voice data.

[0176] In some feasible examples, combining Figure 11 ,like Figure 12 As shown, the voice playback method provided in this embodiment of the present disclosure further includes: S40-S43.

[0177] S40. Receive third control information sent by an electronic device; wherein the third control information is sent when the first priority is lower than the second priority.

[0178] S41. Based on the third control information, stop collecting singing voice data and enable near-field voice function;

[0179] S42. Collect near-field speech data according to the second sampling rate; wherein, the second sampling rate is less than the first sampling rate;

[0180] S43, Send near-field voice data to electronic devices.

[0181] In some feasible examples, combining Figure 9 ,like Figure 13 As shown, the voice playback method provided in this embodiment of the present disclosure further includes: S44-S47.

[0182] S44. Receive fourth control information containing upgrade information sent by the electronic device;

[0183] S45. Upgrade according to the upgrade information, and simultaneously disconnect the pairing relationship with the electronic equipment; wherein, the upgraded control device has far-field voice acquisition function;

[0184] S46. Send pairing broadcast information;

[0185] S47. Receive fifth control information sent by the electronic device; wherein the fifth control information is used to indicate that the pairing relationship with the electronic device has been re-established.

[0186] The foregoing mainly describes the solutions provided by the embodiments of this application from a methodological perspective. To achieve the above functions, it includes corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should readily recognize that, based on the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0187] This application embodiment can divide electronic devices or control devices into functional modules according to the above method examples. For example, each function can be divided into its own functional modules, or two or more functions can be integrated into one processing unit. The integrated modules can be implemented in hardware or as software functional modules. It should be noted that the module division in this application embodiment is illustrative and only represents one logical functional division; other division methods may be used in actual implementation.

[0188] An embodiment of this application provides a schematic diagram of the structure of an electronic device, including a communicator 101 and a controller 102.

[0189] Communicator 101 is configured as follows:

[0190] Establish a communication connection with the control equipment to receive singing voice data or near-field voice data sent by the control equipment; the control equipment has the functions of controlling electronic devices and far-field voice acquisition.

[0191] Controller 102 is configured as follows:

[0192] In response to the opening of the application used for singing, if the control device with an established communication connection has enabled the far-field voice acquisition function, a first control message is sent to the control device; wherein, the first control message is used to instruct the control device to start acquiring singing voice data according to a first sampling rate;

[0193] Receive singing voice data sent by the control device and play the singing voice data.

[0194] In some implementable examples, controller 102 is also configured as follows:

[0195] In response to the control device's selection operation of the volume control in the display page corresponding to the application, determine the adjusted input volume value;

[0196] Send a second control message carrying a volume value to the control device; wherein the second control message is used to instruct the control device to adjust the volume gain of the collected singing voice data according to the volume value.

[0197] In some implementable examples, controller 102 is also configured as follows:

[0198] During the playback of singing voice data, if an operation message for enabling the near-field voice function is received, the first priority of the application and the second priority of the near-field voice function are obtained.

[0199] If the first priority is greater than the second priority, the near-field voice function will not be activated, and the control device will be instructed to continue acquiring singing voice data.

[0200] In some implementable examples, controller 102 is also configured as follows:

[0201] If the first priority is lower than the second priority, a third control message is sent to the control device to instruct the collection of singing voice data to stop and to enable the near-field voice function.

[0202] Receive near-field voice data sent by the control device; wherein the sampling rate of the near-field voice data is a second sampling rate, which is less than the first sampling rate;

[0203] Generate prompts for text data corresponding to near-field speech data.

[0204] In some implementable examples, controller 102 is also configured as follows:

[0205] Upon receiving upgrade information for upgrading the control device, a fourth control message containing the upgrade information is sent to the control device, and the pairing relationship with the control device is terminated; wherein, the fourth control message is used to instruct the control device to upgrade according to the upgrade information so that the control device has far-field voice acquisition function, and at the same time terminate the pairing relationship.

[0206] Receive pairing broadcast information sent by the control device;

[0207] Based on the pairing broadcast information, the pairing relationship with the control device is re-established, and the fifth control information indicating the re-established pairing relationship is sent to the control device.

[0208] All relevant content of each step involved in the above method embodiments can be referenced from the functional description of the corresponding functional module, and their functions will not be repeated here.

[0209] Of course, the electronic devices provided in this application embodiment include, but are not limited to, the modules described above. For example, the electronic device may also include a memory 103. The memory 103 can be used to store the program code of the electronic device, and can also be used to store data generated by the electronic device during operation, such as data in write requests.

[0210] As an example, combined Figure 3 The transceiver unit 202 in the television set 1 performs the same function as the communicator 101, the processing unit 201 performs the same function as the controller 102, and the storage unit 203 performs the same function as the memory 103.

[0211] This application also provides a chip system that can be applied to the electronic devices described in the foregoing embodiments. The chip system includes at least one processor 1501 and at least one interface circuit 1502. The processor 1501 may be the processor in the aforementioned electronic device. The processor 1501 and the interface circuit 1502 are interconnected via a circuit. The processor 1501 can receive and execute computer instructions from the memory of the aforementioned electronic device through the interface circuit 1502. When the computer instructions are executed by the processor 1501, the electronic device can perform the various steps performed by the electronic device in the foregoing embodiments. Of course, the chip system may also include other discrete devices, and this application does not specifically limit this.

[0212] This application also provides a computer-readable storage medium for storing computer instructions for operating the aforementioned electronic device.

[0213] An embodiment of this application provides a schematic diagram of the structure of a control device 100, including a communicator 201 and a controller 202.

[0214] Communicator 201 is configured as follows:

[0215] The device establishes communication with electronic devices, sends singing voice data or near-field voice data to the electronic devices, and receives instruction information, first control information, second control information, third control information, fourth control information, and fifth control information; the control device has the functions of controlling electronic devices and far-field voice acquisition.

[0216] Controller 202 is configured as follows:

[0217] Receive first control information sent by an electronic device; wherein the first control information is sent by the electronic device in response to the opening operation of the application for singing, and the control device with established communication connection has enabled the far-field voice acquisition function;

[0218] Singing voice data was collected according to the first sampling rate;

[0219] Send singing voice data to electronic devices.

[0220] In some implementable examples, controller 202 is also configured as follows:

[0221] Selecting volume controls on the application's corresponding display page;

[0222] Receive second control information carrying a volume value sent by an electronic device; wherein the volume value is determined by the electronic device when it receives a selection operation of the volume control in the display page corresponding to the application;

[0223] Adjust the volume gain of the collected singing voice data according to the volume value.

[0224] In some implementable examples, controller 202 is also configured as follows:

[0225] In response to a key press of the voice button, send operation information to the electronic device to enable the near-field voice function;

[0226] Receive instruction information sent by an electronic device; wherein the instruction information is sent by the electronic device when it determines that the first priority of the application is greater than the second priority of the near-field voice function;

[0227] Based on the instructions, continue acquiring singing voice data.

[0228] In some implementable examples, controller 202 is also configured as follows:

[0229] Receive third control information sent by electronic devices; wherein the third control information is sent when the first priority is lower than the second priority;

[0230] Based on the third control information, stop collecting singing voice data and enable near-field voice function;

[0231] Near-field speech data is collected according to a second sampling rate, where the second sampling rate is less than the first sampling rate.

[0232] Send near-field voice data to electronic devices.

[0233] In some implementable examples, controller 202 is also configured as follows:

[0234] Receive fourth control information containing upgrade information sent by electronic devices;

[0235] Upgrade according to the upgrade information, and simultaneously disconnect the pairing relationship with electronic devices; the upgraded control device has far-field voice acquisition function;

[0236] Send pairing broadcast information;

[0237] Receive fifth control information sent by the electronic device; wherein the fifth control information is used to indicate that the pairing relationship with the electronic device has been re-established.

[0238] All relevant content of each step involved in the above method embodiments can be referenced from the functional description of the corresponding functional module, and their functions will not be repeated here.

[0239] Of course, the electronic devices provided in this application embodiment include, but are not limited to, the modules described above. For example, the electronic device may also include a memory 203. The memory 203 can be used to store the program code of the electronic device, and can also be used to store data generated by the electronic device during operation, such as data in write requests.

[0240] As an example, combined Figure 3 The transceiver unit 302 in the television set 1 performs the same function as the communicator 201, the processing unit 301 performs the same function as the controller 202, and the storage unit 303 performs the same function as the memory 203.

[0241] This application also provides a chip system that can be applied to the control device described in the foregoing embodiments. The chip system includes at least one processor 2501 and at least one interface circuit 2502. The processor 2501 may be the processor in the aforementioned control device. The processor 2501 and the interface circuit 2502 are interconnected via a circuit. The processor 2501 can receive and execute computer instructions from the memory of the aforementioned control device through the interface circuit 2502. When the computer instructions are executed by the processor 2501, the control device can perform the various steps executed by the control device in the aforementioned embodiments. Of course, the chip system may also include other discrete devices, which are not specifically limited in this application.

[0242] This application also provides a computer-readable storage medium for storing computer instructions for operating the aforementioned control device.

[0243] The above description is merely a specific embodiment of this disclosure, enabling those skilled in the art to understand or implement it. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this disclosure. Therefore, this disclosure is not to be limited to the embodiments described herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. An electronic device, characterized in that, include: The communicator is configured as follows: Establish a communication connection with the control device and receive singing voice data or near-field voice data sent by the control device; the control device has the function of controlling the electronic device and far-field voice acquisition. The controller is configured as follows: In response to the opening of the application for singing, if the control device with an established communication connection has enabled the far-field voice acquisition function, a first control message is sent to the control device; wherein, the first control message is used to instruct the control device to start acquiring singing voice data at a first sampling rate; Receive the singing voice data sent by the control device and play the singing voice data.

2. The electronic device according to claim 1, characterized in that, The controller is also configured to: In response to the control device's selection operation of the volume control in the display page corresponding to the application, the adjusted input volume value is determined; Send a second control message carrying the volume value to the control device; wherein the second control message is used to instruct the control device to adjust the volume gain of the collected singing voice data according to the volume value.

3. The electronic device according to claim 1, characterized in that, The controller is also configured to: During the playback of the singing voice data, if an operation message for activating the near-field voice function is received, the first priority of the application and the second priority of the near-field voice function are obtained. If the first priority is greater than the second priority, the near-field voice function is not activated, and the control device is instructed to continue acquiring singing voice data.

4. The electronic device according to claim 3, characterized in that, The controller is also configured to: If the first priority is lower than the second priority, a third control message is sent to the control device to instruct the collection of the singing voice data to stop and to enable the near-field voice function. The system receives near-field speech data sent by the control device; wherein the sampling rate of the near-field speech data is a second sampling rate, which is less than the first sampling rate. Generate prompt information for the text data corresponding to the near-field speech data.

5. The electronic device according to claim 1, characterized in that, The controller is also configured to: Upon receiving upgrade information for upgrading the control device, a fourth control message containing the upgrade information is sent to the control device, and the pairing relationship with the control device is terminated; wherein, the fourth control message is used to instruct the control device to upgrade according to the upgrade information so that the control device has far-field voice acquisition function, and at the same time terminate the pairing relationship; Receive pairing broadcast information sent by the control device; Based on the pairing broadcast information, the pairing relationship with the control device is re-established, and a fifth control message indicating that the pairing relationship has been re-established is sent to the control device.

6. A control device, characterized in that, include: The communicator is configured as follows: The device establishes a communication connection with an electronic device, sends singing voice data or near-field voice data to the electronic device, and receives instruction information, first control information, second control information, third control information, fourth control information, and fifth control information; the control device has the function of controlling the electronic device and far-field voice acquisition. The controller is configured as follows: The electronic device receives first control information sent by the electronic device; wherein the first control information is sent by the electronic device in response to the opening operation of the application for singing, and the control device with established communication connection has enabled the far-field voice acquisition function. Singing voice data was collected according to the first sampling rate; The singing voice data is sent to the electronic device.

7. The control device according to claim 6, characterized in that, The controller is also configured to: The operation of selecting the volume control in the display page corresponding to the application; The electronic device receives second control information carrying a volume value sent by the electronic device; wherein the volume value is determined by the electronic device when it receives a selection operation of the volume control in the display page corresponding to the application. Adjust the volume gain of the collected singing voice data according to the volume value.

8. The control device according to claim 6, characterized in that, The controller is also configured to: In response to a key press of the voice button, an operation message for activating the near-field voice function is sent to the electronic device; Receive instruction information sent by the electronic device; wherein the instruction information is sent by the electronic device when it determines that the first priority of the application is greater than the second priority of the near-field voice function; Based on the aforementioned instruction information, continue acquiring singing voice data.

9. The control device according to claim 8, characterized in that, The controller is also configured to: Receive third control information sent by the electronic device; wherein the third control information is sent when the first priority is lower than the second priority; Based on the third control information, stop collecting the singing voice data and enable the near-field voice function; Near-field speech data are collected according to a second sampling rate; wherein the second sampling rate is less than the first sampling rate; The near-field voice data is sent to the electronic device.

10. The control device according to claim 6, characterized in that, The controller is also configured to: Receive fourth control information containing upgrade information sent by the electronic device; The upgrade is performed according to the upgrade information, and the pairing relationship with the electronic device is simultaneously terminated; wherein, the upgraded control device has far-field voice acquisition function; Send pairing broadcast information; The device receives a fifth control message sent by the electronic device; wherein the fifth control message is used to indicate that a pairing relationship has been re-established with the electronic device.