Bluetooth speaker control method, system and Bluetooth speaker
By calculating the comprehensive score of the speaker and completing the master-slave speaker pairing, the audio quality problems caused by poor configuration of the main speaker in the multi-channel Bluetooth speaker system are solved, and the user's sound effect experience is improved.
Patent Information
- Application Number
- CN202311256332.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-26
- Publication Date
- 2024-12-31
- Estimated Expiration
- 2043-09-26
AI Technical Summary
When using a multi-channel Bluetooth speaker system, how to configure the main speaker to ensure the audio playback quality, avoid audio quality problems caused by poor performance or position of the main speaker, and improve the user's sound effect experience.
By obtaining the parameter data and position data of each speaker, calculating the comprehensive score, determining the main speaker equipment information, and completing the pairing of the master and slave speakers, ensuring the appropriate speaker performance and position configuration.
It realizes configuring the main speaker according to the speaker performance and location to avoid audio quality problems and improve the user's sound effect experience.
Smart Images

Figure CN117119352B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of Bluetooth speakers, and in particular to a Bluetooth speaker control method and system, and a Bluetooth speaker. Background Art
[0002] With the popularity of Bluetooth speakers, users are pursuing higher and higher sound quality when using Bluetooth speakers for audio playback. For example, in gaming scenarios or home theaters, many people like to choose multi-channel audio systems to create a more realistic sound experience.
[0003] At present, multi-channel audio systems are usually implemented using multiple Bluetooth speakers. During configuration, a master speaker is set up in the multi-speaker system to synchronously control other slave speakers, which can simplify user operations while achieving synchronous audio playback. The master speaker receives audio data from the audio data terminal through the Bluetooth protocol and then distributes it to the slave speakers. In order to ensure the audio playback quality of the audio system, how to configure the master speaker becomes a problem that needs to be solved. Summary of the invention
[0004] The present invention provides a Bluetooth speaker control method, system and Bluetooth speaker, so as to configure a main speaker according to the speaker performance and position when multiple speakers are paired into a sound system, avoid audio quality problems caused by poor performance or position of the main speaker, and help improve the user's sound experience.
[0005] In a first aspect, in order to solve the above technical problems, the present invention provides a Bluetooth speaker control method, comprising:
[0006] At least two Bluetooth speakers obtain their own parameter data and position data, and send the parameter data and position data to the data processing end;
[0007] The data processing end performs calculations based on the parameter data and position data received from each speaker to obtain a comprehensive score for each speaker;
[0008] The data processing end determines the device information of the main speaker according to the comprehensive score, and sends the device information of the main speaker to at least two of the Bluetooth speakers;
[0009] At least two of the Bluetooth speakers complete pairing of the master and slave speakers according to the received device information of the master speaker.
[0010] Preferably, the at least two Bluetooth speakers complete pairing of the master and slave speakers according to receiving the device information of the master speaker, including:
[0011] Determine whether it is the master speaker according to the device information of the master speaker. If so, send pairing information to the slave speaker and pair with the slave speaker; if not, receive the pairing information sent by the master speaker and pair with the master speaker.
[0012] Preferably, the data processing end performs calculations based on the received parameter data and position data sent by each speaker to obtain a comprehensive score of each speaker, including:
[0013] Matching the preset performance model with the parameter data to obtain a corresponding performance score;
[0014] Obtaining the position distribution of the speakers according to all the position data, and obtaining a position score for each speaker according to the position distribution;
[0015] Different weights are matched to the performance score and the position score to obtain a comprehensive score for each speaker.
[0016] Preferably, obtaining the position distribution of the speakers according to all the position data, and obtaining the position score of each speaker according to the position distribution, comprises:
[0017] Obtaining predetermined center location data;
[0018] According to the center position data and all the position data, the position distribution of each speaker is obtained; the position distribution includes one or more of left front, left rear, left center, right center, right front, right rear, left surround, and right surround;
[0019] According to the pre-configured position scoring model and the position distribution, a position score of each speaker is obtained.
[0020] Preferably, the method further comprises:
[0021] Determining according to the channel characteristic data of each speaker; wherein the parameter data includes the channel characteristic data;
[0022] When the number of the channel feature data is less than n, the comprehensive score of the corresponding speaker is calculated according to the preset first weight coefficient;
[0023] When the number of the channel feature data is greater than or equal to n, the comprehensive score of the corresponding speaker is calculated according to the preset second weight coefficient;
[0024] Among them, n is an integer, the coefficient of the performance score in the first weight coefficient is greater than the coefficient of the position score, and the coefficient of the performance score in the second weight coefficient is less than the coefficient of the position score.
[0025] Preferably, after completing the pairing of the master and slave speakers, the method further includes:
[0026] In response to an audio playback instruction triggered by a user, the data processing end segments the audio selected by the user according to the channel feature data of each speaker to obtain audio data to be played by each speaker;
[0027] The data processing end sends the audio data to be played to the main speaker;
[0028] The master speaker receives the audio data to be played, and controls the master speaker and / or at least one target slave speaker to perform a response operation.
[0029] Preferably, the segmenting of the audio selected by the user according to the channel characteristic data of each speaker to obtain the audio data to be played by each speaker includes:
[0030] Obtaining the number of paired speakers and the channel characteristic data of each speaker;
[0031] Performing initial audio segmentation according to the vocal channel feature data to obtain first audio data, a quantity of first audio data, and intermediate audio data corresponding to the vocal channel feature data;
[0032] Obtaining the remaining number of speakers according to the number of speakers and the number of the first audio data;
[0033] The audio is segmented again according to the remaining number of speakers and the intermediate audio data to obtain second audio data to be played by the remaining speakers.
[0034] Preferably, the method further comprises:
[0035] When receiving a pairing request from an unpaired Bluetooth speaker, the data processing end obtains parameter data and position data of the unpaired Bluetooth speaker;
[0036] The data processing end performs calculation according to the parameter data and the position data to obtain a comprehensive score of the unpaired Bluetooth speaker;
[0037] The data processing end compares the comprehensive score of the unpaired Bluetooth speaker with the comprehensive score of the original main speaker to confirm whether to switch the main speaker.
[0038] In a second aspect, the present invention provides a Bluetooth speaker control system, comprising:
[0039] At least two Bluetooth speakers, used to obtain their own parameter data and position data, and send the parameter data and position data to the data processing end;
[0040] The data processing end is used to calculate the comprehensive score of each speaker according to the parameter data and position data received from each speaker;
[0041] The data processing end is further used to determine the device information of the main speaker according to the comprehensive score, and send the device information of the main speaker to at least two of the Bluetooth speakers;
[0042] At least two of the Bluetooth speakers are also used to complete the pairing of the master and slave speakers according to the received device information of the master speaker.
[0043] In a third aspect, the present invention further provides a Bluetooth speaker, which is applied to the Bluetooth speaker control system as described above, and includes a data acquisition module, a data transmission module and a pairing module;
[0044] The data acquisition module is used to acquire its own parameter data and position data;
[0045] The data transmission module is used to send the parameter data and position data to the data processing end, and receive the device information of the main speaker sent by the data processing end;
[0046] The pairing module is used to complete the pairing of the master and slave speakers according to the received device information of the master speaker.
[0047] Compared with the prior art, the present invention has the following beneficial effects:
[0048] The Bluetooth speaker control method provided by the present invention comprises: at least two Bluetooth speakers obtain their own parameter data and position data, and send the parameter data and position data to a data processing end; the data processing end performs calculation according to the parameter data and position data sent by each speaker, and obtains a comprehensive score of each speaker; the data processing end determines the device information of the master speaker according to the comprehensive score, and sends the device information of the master speaker to at least two Bluetooth speakers; at least two Bluetooth speakers complete the pairing of the master and slave speakers according to the received device information of the master speaker.
[0049] The method provided by the present invention can configure the main speaker according to the speaker performance and position when pairing multiple speakers into a sound system, thereby avoiding audio quality problems caused by poor performance or position of the main speaker, which is beneficial to improving the user's sound experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] Figure 1 It is a schematic flow chart of a Bluetooth speaker control method provided by the first embodiment of the present invention;
[0051] Figure 2 It is a schematic diagram of the structure of a Bluetooth speaker control system provided by the second embodiment of the present invention. DETAILED DESCRIPTION
[0052] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0053] Reference Figure 1 The first embodiment of the present invention provides a Bluetooth speaker control method, comprising the following steps:
[0054] S11, at least two Bluetooth speakers obtain their own parameter data and position data, and send the parameter data and position data to the data processing end;
[0055] S12, the data processing end performs calculations based on the received parameter data and position data sent by each speaker to obtain a comprehensive score for each speaker;
[0056] S13, the data processing end determines the device information of the main speaker according to the comprehensive score, and sends the device information of the main speaker to at least two of the Bluetooth speakers;
[0057] S14, at least two of the Bluetooth speakers complete pairing of the master and slave speakers according to the received device information of the master speaker.
[0058] It should be noted that, ideally, the Bluetooth audio transmitter sends data packets at uniform time intervals, and the receiver receives data at uniform time intervals. In this case, the receiver can send the received data through the speaker after a slight delay, and can receive the next packet of data before the speaker finishes playing the current packet of data, and can then play it continuously. At this time, the delay of Bluetooth audio depends on the packet sending interval and transmission time. However, as a wireless transmission protocol, Bluetooth may be interfered by surrounding wireless devices or strong electromagnetic devices such as induction cookers and microwave ovens, causing data errors and retransmissions. In fact, even if there is no interference, transmission errors may occur due to the performance of the Bluetooth device itself or the characteristics of wireless transmission. Transmission error retransmissions cause some packets to be retransmitted more times and the transmission time becomes longer, and the data packets received by the receiver are not uniformly transmitted.
[0059] For larger spaces such as home theaters, conference rooms, classrooms, squares and other places, when users want to obtain the services provided by Bluetooth speakers, they can set up multiple speakers at different locations in the large space. For example, two speakers can be configured as a 2.0 left and right channel stereo system, and adding a subwoofer can be configured as a 2.1 left and right channel plus bass sound system. In order to facilitate control and operation, a master speaker is usually set in the multi-speaker during configuration to synchronously control other slave speakers. However, due to the long distance between each speaker and / or the existence of the above-mentioned interference factors, transmission errors, etc., if a speaker is randomly selected as the main speaker, the audio transmission quality of the entire system cannot be guaranteed. Therefore, in order to ensure the audio playback quality of the sound system, the present invention provides a Bluetooth speaker control method to realize that when multiple speakers are paired into a sound system, the main speaker is configured according to the speaker performance and position, so as to avoid audio quality problems caused by poor performance or position of the main speaker, which is conducive to improving the user's sound experience.
[0060] In step S11, at least two Bluetooth speakers obtain their own parameter data and position data, and send the parameter data and position data to the data processing end.
[0061] The parameter data includes channel, frequency response, sensitivity, distortion, signal-to-noise ratio, device ID information, etc. The parameter data can be fixed on the speaker itself when the speaker leaves the factory for easy reading. Of course, the parameter data can be stored in a cloud server, or can be shipped with the speaker through an easy-to-read label such as a QR code or a barcode, which is not limited in the present invention.
[0062] The position data may be input by the user, for example, after the user places the speaker, the position data of each speaker is recorded and uploaded. Of course, in other embodiments, the Bluetooth speaker is equipped with a GPS module, and the position data can be obtained through GPS positioning. In other embodiments, a pickup can also be used to control each speaker to play a specific sound, and the position data of the speaker relative to the pickup can be obtained according to the time and direction of the specific sound propagating to the pickup.
[0063] In step S12, the data processing end performs calculations based on the received parameter data and position data sent by each speaker to obtain a comprehensive score for each speaker. In this embodiment, the performance of the speaker is calculated by the parameter data. The higher the performance of the speaker and the more central the position, the higher the comprehensive score.
[0064] In step S13, the data processing end determines the device information of the main speaker according to the comprehensive score, and sends the device information of the main speaker to at least two of the Bluetooth speakers. In this embodiment, the speaker with the highest comprehensive score is determined as the main speaker, the device information of the main speaker, such as the device ID, is obtained, and the device information of the main speaker is sent to at least two of the Bluetooth speakers.
[0065] In step S14, at least two of the Bluetooth speakers complete pairing of the master and slave speakers according to the received device information of the master speaker.
[0066] In this embodiment, after each speaker receives the device information of the master speaker, it determines whether it is the master speaker according to the device information of the master speaker. If so, it sends pairing information to the slave speaker and pairs with the slave speaker; if not, it receives the pairing information sent by the master speaker and pairs with the master speaker. The pairing information can be the device ID of the master speaker or other preset pairing codes.
[0067] In order to facilitate the understanding of the present invention, some preferred embodiments of the present invention are further described below.
[0068] In one implementation, the data processing end performs calculations based on the received parameter data and position data sent by each speaker to obtain a comprehensive score of each speaker, including:
[0069] Matching the preset performance model with the parameter data to obtain a corresponding performance score;
[0070] Obtaining the position distribution of the speakers according to all the position data, and obtaining a position score for each speaker according to the position distribution;
[0071] Different weights are matched to the performance score and the position score to obtain a comprehensive score for each speaker.
[0072] It should be noted that the performance model can be obtained by constructing a scoring model and inputting a large amount of historical data for training. The performance model can evaluate and match the parameter data to obtain the performance score of the speaker. It can be understood that the higher the performance score of the speaker, the lower its distortion, the flatter its frequency response curve, the stronger its anti-interference ability, and the more stable it is when transmitting audio data as the main speaker.
[0073] In this embodiment, obtaining the position distribution of the speakers according to all the position data, and obtaining the position score of each speaker according to the position distribution, includes:
[0074] Obtaining predetermined center location data;
[0075] According to the center position data and all the position data, the position distribution of each speaker is obtained; the position distribution includes one or more of left front, left rear, left center, right center, right front, right rear, left surround, and right surround;
[0076] According to the pre-configured position scoring model and the position distribution, a position score of each speaker is obtained.
[0077] Among them, the center position data can be the position of the display device in the home theater, the position of the game console in the game scene, the center position of the classroom / square, etc. After determining the center position, the position data and position distribution of each speaker can be obtained, and the position distribution includes left front, left rear, left center, right center, right front, right rear, left surround, and right surround. The position scoring model is obtained by pre-configuration. In the position scoring model, a scoring score can be specified for each position distribution. For example, the left front and left rear score is 3; the left center and right center score is 5; the right front and right rear score is 3; the left surround and right surround score is 4.
[0078] In one implementation, the weight ratio of the performance score to the location score may be set to 1:1, that is, the two are added together and the average is taken to obtain a comprehensive score.
[0079] In one implementation, when matching different weights, the method further includes:
[0080] Making a determination based on the channel characteristic data of each speaker;
[0081] When the number of the channel feature data is less than n, the comprehensive score of the corresponding speaker is calculated according to the preset first weight coefficient;
[0082] When the number of the channel feature data is greater than or equal to n, the comprehensive score of the corresponding speaker is calculated according to the preset second weight coefficient;
[0083] Among them, n is an integer, the coefficient of the performance score in the first weight coefficient is greater than the coefficient of the position score, and the coefficient of the performance score in the second weight coefficient is less than the coefficient of the position score.
[0084] In this embodiment, if the channel characteristics of the speaker are single, such as a subwoofer or surround speaker, the bass and accent in the audio data will be preferentially allocated for its playback during subsequent use, and the mixed audio will be allocated to other speakers for playback. The speaker with a single channel characteristic does not need to receive too much audio data to be played, so its performance can be released. Compared with other speakers, it is easy to have performance processing margin. At this time, the performance score weight of the speaker can be increased to improve its comprehensive score and determine it as the main speaker. Exemplarily, n takes a value of 2, the weight ratio of the performance score to the position score in the first weight coefficient is 1.5:1, and the weight ratio of the performance score to the position score in the second weight coefficient is 1:1.5. At this time, the comprehensive score is obtained by weighting the performance score and the position score and taking the average.
[0085] In one embodiment, after completing the pairing of the master and slave speakers, the method further includes:
[0086] In response to an audio playback instruction triggered by a user, the data processing end segments the audio selected by the user according to the channel feature data of each speaker to obtain audio data to be played by each speaker;
[0087] The data processing end sends the audio data to be played to the main speaker;
[0088] The master speaker receives the audio data to be played, and controls the master speaker and / or at least one target slave speaker to perform a response operation.
[0089] The step of segmenting the audio selected by the user according to the channel characteristic data of each speaker to obtain the audio data to be played by each speaker includes:
[0090] Obtaining the number of paired speakers and the channel characteristic data of each speaker;
[0091] Performing initial audio segmentation according to the vocal channel feature data to obtain first audio data, a quantity of first audio data, and intermediate audio data corresponding to the vocal channel feature data;
[0092] Obtaining the remaining number of speakers according to the number of speakers and the number of the first audio data;
[0093] The audio is segmented again according to the remaining number of speakers and the intermediate audio data to obtain second audio data to be played by the remaining speakers.
[0094] In this embodiment, audio segmentation is performed according to channel feature data. For example, if there is a subwoofer speaker in the sound system, the bass audio in the audio is first segmented out to obtain first audio data containing the bass audio. This bass audio needs to correspond to the subwoofer speaker, and the remaining audio is recorded as intermediate audio data. It can be understood that the number of first audio data can be one or more. For example, when there are speakers corresponding to bass, accent, surround sound, etc. in the sound system, they can be segmented separately to obtain multiple first audio data.
[0095] After allocating the audio to be played for the first batch of speakers, audio segmentation is performed again according to the remaining number of speakers and the intermediate audio data to obtain the second audio data to be played by the remaining speakers. At this time, if the number of remaining speakers is less than the number of channels in the intermediate audio data, part of the audio is merged into mixed audio. Exemplarily, if there is one speaker left, and the intermediate audio data also includes left channel audio and right channel audio, the left channel audio and the right channel audio may not be segmented, and may be allocated to the remaining speakers as mixed audio for playback. It is understandable that the second audio data includes single channel audio and / or mixed audio. The audio segmentation method provided in this embodiment can maximize the advantages of each speaker in the audio system, further improving the user experience.
[0096] In one embodiment, the method further comprises:
[0097] When receiving a pairing request from an unpaired Bluetooth speaker, the data processing end obtains parameter data and position data of the unpaired Bluetooth speaker;
[0098] The data processing end performs calculation according to the parameter data and the position data to obtain a comprehensive score of the unpaired Bluetooth speaker;
[0099] The data processing end compares the comprehensive score of the unpaired Bluetooth speaker with the comprehensive score of the original main speaker to confirm whether to switch the main speaker.
[0100] It should be noted that the above embodiment is applicable to the case where a new speaker is added to the sound system, which can be divided into two cases:
[0101] If the comprehensive score of the original master speaker is less than the comprehensive score of the unpaired Bluetooth speaker, the data processing end sends a change instruction to switch the original master speaker to a slave speaker, and configure the unpaired Bluetooth speaker as the current master speaker. At this time, the data processing end sends the device information of the current master speaker to other slave speakers, and the current master speaker completes pairing with other slave speakers based on its own device information.
[0102] If the comprehensive score of the original main speaker is greater than or equal to the comprehensive score of the unpaired Bluetooth speaker, there is no need to change the main speaker. At this time, the data processing end sends the device information of the current main speaker to the unpaired Bluetooth speaker, and the current main speaker completes pairing with the unpaired Bluetooth speaker based on its own device information.
[0103] In summary, the Bluetooth speaker control method provided by the present invention includes: at least two Bluetooth speakers obtain their own parameter data and position data, and send the parameter data and position data to a data processing end; the data processing end calculates according to the parameter data and position data sent by each speaker, and obtains a comprehensive score of each speaker; the data processing end determines the device information of the master speaker according to the comprehensive score, and sends the device information of the master speaker to at least two of the Bluetooth speakers; at least two of the Bluetooth speakers complete the pairing of the master and slave speakers according to the received device information of the master speaker.
[0104] The method provided by the present invention can configure the main speaker according to the speaker performance and position when pairing multiple speakers into a sound system, thereby avoiding audio quality problems caused by poor performance or position of the main speaker, which is beneficial to improving the user's sound experience.
[0105] Reference Figure 2 The second embodiment of the present invention provides a Bluetooth speaker control system, comprising:
[0106] At least two Bluetooth speakers, used to obtain their own parameter data and position data, and send the parameter data and position data to the data processing end;
[0107] The data processing end is used to calculate the comprehensive score of each speaker according to the parameter data and position data received from each speaker;
[0108] The data processing end is further used to determine the device information of the main speaker according to the comprehensive score, and send the device information of the main speaker to at least two of the Bluetooth speakers;
[0109] At least two of the Bluetooth speakers are also used to complete the pairing of the master and slave speakers according to the received device information of the master speaker.
[0110] It should be noted that a Bluetooth speaker control system provided in an embodiment of the present invention is used to execute all the process steps of a Bluetooth speaker control method in the above embodiment, and the working principles and beneficial effects of the two correspond one to one, so they will not be repeated here.
[0111] The embodiment of the present invention further provides a Bluetooth speaker, which is applied to the Bluetooth speaker control system as described above, and includes a data acquisition module, a data transmission module and a pairing module;
[0112] The data acquisition module is used to acquire its own parameter data and position data;
[0113] The data transmission module is used to send the parameter data and position data to the data processing end, and receive the device information of the main speaker sent by the data processing end;
[0114] The pairing module is used to complete the pairing of the master and slave speakers according to the received device information of the master speaker.
[0115] The data processing end in the system can be a server, a cloud device, etc., and the Bluetooth speaker is connected to the cloud for communication. Of course, the data processing end can also be a local device of the user, such as the user's home smart console, etc., as long as it is configured with the program corresponding to the above-mentioned Bluetooth speaker control method. The data processing end includes: a processor, a memory, and a computer program stored in the memory and executable on the processor, such as a Bluetooth speaker control program. When the processor executes the computer program, the steps in the above-mentioned Bluetooth speaker control method embodiments are implemented, such as Figure 1 Alternatively, when the processor executes the computer program, the functions of each module / unit in the above-mentioned system embodiments are realized, such as a Bluetooth speaker control module.
[0116] Exemplarily, the computer program may be divided into one or more modules / units, which are stored in the memory and executed by the processor to implement the present invention. The one or more modules / units may be a series of computer program instruction segments capable of implementing specific functions, which are used to describe the execution process of the computer program in the terminal device.
[0117] The memory can be used to store the computer program and / or module, and the processor realizes various functions of the terminal device by running or executing the computer program and / or module stored in the memory, and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0118] Wherein, if the module / unit integrated in the terminal device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Wherein, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or system capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0119] It should be noted that the system embodiment described above is merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the drawings of the system embodiment provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art may understand and implement it without paying any creative effort.
[0120] The specific embodiments described above further illustrate the purpose, technical solutions and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of protection of the present invention.
Claims
1. A Bluetooth speaker control method, characterized in that: include: At least two Bluetooth speakers obtain their own parameter data and position data, and send the parameter data and position data to the data processing end; The data processing end performs calculations based on the parameter data and position data received from each speaker to obtain a comprehensive score for each speaker; The data processing end determines the device information of the main speaker according to the comprehensive score, and sends the device information of the main speaker to at least two of the Bluetooth speakers; wherein the speaker with the highest comprehensive score is determined as the main speaker, and the device information of the main speaker is obtained; At least two of the Bluetooth speakers complete pairing of the master and slave speakers according to the received device information of the master speaker; The data processing end performs calculations based on the received parameter data and position data sent by each speaker to obtain a comprehensive score for each speaker, including: Matching the preset performance model with the parameter data to obtain a corresponding performance score; Obtaining the position distribution of the speakers according to all the position data, and obtaining a position score for each speaker according to the position distribution; Matching different weights to the performance score and the position score to obtain a comprehensive score for each speaker; The step of obtaining the position distribution of the speakers according to all the position data, and obtaining the position score of each speaker according to the position distribution, includes: Obtaining predetermined center location data; According to the center position data and all the position data, the position distribution of each speaker is obtained; the position distribution includes one or more of left front, left rear, left center, right center, right front, right rear, left surround, and right surround; Obtaining a position score for each speaker according to a pre-configured position score model and the position distribution; in the position score model, assigning a score to each position distribution; Wherein, when matching different weights, the method further includes: Determining according to the channel characteristic data of each speaker; wherein the parameter data includes the channel characteristic data; When the number of the channel feature data is less than n, the comprehensive score of the corresponding speaker is calculated according to the preset first weight coefficient; When the number of the channel feature data is greater than or equal to n, the comprehensive score of the corresponding speaker is calculated according to the preset second weight coefficient; Among them, n is an integer, the coefficient of the performance score in the first weight coefficient is greater than the coefficient of the position score, and the coefficient of the performance score in the second weight coefficient is less than the coefficient of the position score.
2. The Bluetooth speaker control method according to claim 1, characterized in that: The at least two Bluetooth speakers complete pairing of the master and slave speakers according to the device information of the master speaker, including: Determine whether it is the master speaker according to the device information of the master speaker. If so, send pairing information to the slave speaker and pair with the slave speaker; if not, receive the pairing information sent by the master speaker and pair with the master speaker.
3. The Bluetooth speaker control method according to claim 1, characterized in that: After completing the pairing of the master and slave speakers, the method further includes: In response to an audio playback instruction triggered by a user, the data processing end segments the audio selected by the user according to the channel feature data of each speaker to obtain audio data to be played by each speaker; The data processing end sends the audio data to be played to the main speaker; The master speaker receives the audio data to be played, and controls the master speaker and / or at least one target slave speaker to perform a response operation.
4. The Bluetooth speaker control method according to claim 3, characterized in that: The step of segmenting the audio selected by the user according to the channel characteristic data of each speaker to obtain the audio data to be played by each speaker includes: Obtaining the number of paired speakers and the channel characteristic data of each speaker; Performing initial audio segmentation according to the vocal channel feature data to obtain first audio data, a quantity of first audio data, and intermediate audio data corresponding to the vocal channel feature data; Obtaining the remaining number of speakers according to the number of speakers and the number of the first audio data; The audio is segmented again according to the remaining number of speakers and the intermediate audio data to obtain second audio data to be played by the remaining speakers.
5. The Bluetooth speaker control method according to claim 1, characterized in that: The method further comprises: When receiving a pairing request from an unpaired Bluetooth speaker, the data processing end obtains parameter data and position data of the unpaired Bluetooth speaker; The data processing end performs calculation according to the parameter data and the position data to obtain a comprehensive score of the unpaired Bluetooth speaker; The data processing end compares the comprehensive score of the unpaired Bluetooth speaker with the comprehensive score of the original main speaker to confirm whether to switch the main speaker.
6. A Bluetooth speaker control system, characterized in that: The method for controlling a Bluetooth speaker according to any one of claims 1 to 5 comprises: At least two Bluetooth speakers, used to obtain their own parameter data and position data, and send the parameter data and position data to the data processing end; The data processing end is used to calculate the comprehensive score of each speaker according to the parameter data and position data received from each speaker; The data processing end is further used to determine the device information of the main speaker according to the comprehensive score, and send the device information of the main speaker to at least two of the Bluetooth speakers; At least two of the Bluetooth speakers are also used to complete the pairing of the master and slave speakers according to the received device information of the master speaker.
7. A Bluetooth speaker, applied to the Bluetooth speaker control system as claimed in claim 6, characterized in that: It includes a data acquisition module, a data transmission module and a pairing module; The data acquisition module is used to acquire its own parameter data and position data; The data transmission module is used to send the parameter data and position data to the data processing end, and receive the device information of the main speaker sent by the data processing end; The pairing module is used to complete the pairing of the master and slave speakers according to the received device information of the master speaker.