A method and apparatus for sound effect configuration
By verifying the speakers and managing the sound effect library separately, the problem of insufficient security in smart speakers has been solved, and the security and diversity of sound effect configurations have been achieved, thus improving the user experience.
Patent Information
- Application Number
- CN202210945707.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-08
- Publication Date
- 2025-11-04
- Estimated Expiration
- 2042-08-08
AI Technical Summary
Existing smart speakers have simple structures, rudimentary data processing methods, and poor security, making them easy for others to guess or steal algorithm library information.
The main device verifies the connected speakers, sets them as designated speakers or non-designated speakers, and sends the designated sound effect library to designated speakers for audio processing, while sending the default sound effect library to non-designated speakers. Authentication is performed using identity token information to improve security.
It improves the security and sound effects of speaker products, prevents others from stealing the algorithm library, and provides a variety of sound effect libraries to enhance the user experience.
Smart Images

Figure CN115334405B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the technical field of sound box playing, and particularly relates to a sound effect configuration method and device. BACKGROUND
[0002] With the continuous development of computer technology, various intelligent household appliances, such as smart sound boxes, are constantly entering people's lives. Compared with traditional sound boxes, smart sound boxes can interact with mobile terminals, and the mobile terminals can establish connections with different smart sound boxes in different time periods. For example, when a user is at home, the mobile terminal carried by the user can establish a connection with the smart sound box at home; when the user is at the office, the mobile terminal carried by the user can establish a connection with the smart sound box at the office.
[0003] However, the smart sound box in the prior art has a simple structure, a simple data processing method, and poor security, and it is easy for others to guess or steal the algorithm library information in the smart sound box, causing adverse effects. SUMMARY
[0004] In order to overcome the defects of the prior art, the application provides a sound effect configuration method and device, which has the characteristics of high security, good sound effect, and wide application range.
[0005] The technical scheme is specifically as follows:
[0006] A sound effect configuration method applied to a sound box and a host device, comprising the following steps:
[0007] checking each connected sound box;
[0008] setting the sound box that passes the check as a specified sound box;
[0009] issuing a specified sound effect library to the specified sound box, so that the specified sound box plays audio after audio processing based on the specified sound effect library.
[0010] In one specific embodiment, the host device is pre-provided with identity token information;
[0011] The step of checking the sound box comprises the following steps:
[0012] sending the identity token information of the host device to each sound box through a wireless communication module, so that the sound box analyzes the identity token information and sends feedback information to the host device;
[0013] judging, by the host device, whether the feedback information is received within a preset receiving time range;
[0014] If the judgment result is yes, the check is passed;
[0015] If the judgment result is no, the verification fails.
[0016] In one embodiment, the specified sound boxes have multiple types, and different types of the specified sound boxes correspond to different specified sound effect libraries.
[0017] In one embodiment, the method further comprises:
[0018] The sound box that fails the verification is set as a non-specified sound box.
[0019] A default sound effect library is loaded and distributed to the non-specified sound box, so that the non-specified sound box plays audio after audio processing based on the default sound effect library.
[0020] In one embodiment, the method further comprises:
[0021] The type of each connected sound box is determined by the master device.
[0022] The audio is played after audio processing based on the specified sound effect library, which comprises:
[0023] The specified sound effect library corresponding to the type of the specified sound box is loaded by the master device.
[0024] The original audio data is initially processed by the master device according to the loaded specified sound effect library, and the initially processed audio data is sent to the specified sound box.
[0025] The initially processed audio data is secondarily processed by the audio processing algorithm built-in the specified sound box, and the secondarily processed audio data is obtained and audio is played; each specified sound box has its own audio processing algorithm built-in.
[0026] An audio effect configuration device applied to a sound box and a master device, comprising:
[0027] A verification module for verifying each connected sound box.
[0028] A first determination module for setting the sound box that passes the verification as a specified sound box.
[0029] A first sending module for distributing a specified sound effect library to the specified sound box, so that the specified sound box plays audio after audio processing based on the specified sound effect library.
[0030] In one embodiment, the verification module comprises:
[0031] The feedback module is configured to send the identity token information of the master device to each of the sound boxes, so that the sound boxes parse the identity token information and send feedback information to the master device.
[0032] The judgment module is configured to judge whether the feedback information is received within a preset receiving time range, and if the judgment result is yes, the verification is passed, and if the judgment result is no, the verification is failed.
[0033] In one specific embodiment, the method further comprises:
[0034] The second determination module is configured to set the sound box with the failed verification as a non-designated sound box.
[0035] The second sending module is configured to load a default sound effect library and distribute the default sound effect library to the non-designated sound box, so that the non-designated sound box plays audio after audio processing based on the default sound effect library.
[0036] In one specific embodiment, the method further comprises:
[0037] The first processing module is configured to load a designated sound effect library corresponding to the type of the designated sound box by the master device, and perform primary processing on original audio data according to the loaded designated sound effect library by the master device, and send the primary processed audio data to the designated sound box.
[0038] The second processing module is configured to perform secondary processing on the primary processed audio data by the audio processing algorithm built in the designated sound box, obtain the secondary processed audio data and play audio; each of the designated sound boxes is built in with a respective audio processing algorithm.
[0039] In one specific embodiment, the method further comprises a wireless communication module configured to send the identity token information of the master device to each of the sound boxes, and send the feedback information of the sound boxes to the master device.
[0040] The present application has at least the following beneficial effects:
[0041] The present application provides a sound effect configuration method and device applied to a sound box and a master device, the method comprising: verifying each connected sound box; setting a sound box passing the verification as a designated sound box; distributing a designated sound effect library to the designated sound box, so that the designated sound box plays audio after audio processing based on the designated sound effect library. Compared with the prior art, the sound effect configuration method and device provided by the present application can load different sound effect libraries according to different sound boxes, thereby improving the security of the sound box product, and the sound effect of playing audio according to multiple sound effect libraries is good, which can improve the user's experience.
[0042] Further, the sound box configuration device provided by the application realizes the pairing of different sound boxes and different sound effect libraries through the cooperation of the verification module, the first determination module, the first sending module and other modules in the device, and has the advantages of high sound effect and high safety.
[0043] Further, the sound box is verified to improve the accuracy of sound effect pairing of the sound box product, so that each sound box can load the corresponding sound effect library.
[0044] Further, the specified sound box includes multiple types, different specified sound boxes correspond to different specified sound effect libraries, and the user can experience multiple sound effects in the use process.
[0045] Further, the specified sound effect library is subjected to multiple audio processing to improve the effect of audio playing, and has certain safety. BRIEF DESCRIPTION OF DRAWINGS
[0046] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0047] Figure 1 It is a flowchart of a sound effect configuration method;
[0048] Figure 2 It is a sound effect library issuing schematic diagram of a sound effect configuration method;
[0049] Figure 3 It is a whole schematic diagram of a sound effect configuration method;
[0050] Figure 4 It is a whole schematic diagram of a sound effect configuration device. DETAILED DESCRIPTION
[0051] The technical solutions in the embodiments of the present application will be described clearly and completely in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are only some embodiments of the present application, not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.
[0052] This invention provides a method and apparatus for configuring sound effects, applied to speakers and a main device. The method includes: verifying each connected speaker; setting the verified speaker as a designated speaker; and sending a designated sound effect library to the designated speaker, so that the designated speaker performs audio processing based on the designated sound effect library and then plays audio. The apparatus includes: a verification module for verifying each connected speaker; a first determination module for setting the verified speaker as the designated speaker; and a first sending module for sending the designated sound effect library to the designated speaker, so that the designated speaker performs audio processing based on the designated sound effect library and then plays audio.
[0053] Compared with the prior art, the sound effect configuration method and apparatus provided by the present invention have the following advantages:
[0054] 1. It can load the most suitable sound effect library for different types of speaker products to enhance the user experience.
[0055] 2. It can prevent others from stealing and using the algorithm library, and the product has good security.
[0056] Example 1
[0057] like Figure 1 As shown, the present invention provides a method and apparatus for configuring sound effects, applied to speakers and main devices, the method comprising:
[0058] S11: Verify each connected speaker;
[0059] S21: Set the speaker that passes the verification as the specified speaker;
[0060] S31: Send the specified sound effect library to the specified speaker so that the specified speaker can play audio after performing audio processing based on the specified sound effect library.
[0061] Compared with the prior art, the sound effect configuration method provided by the present invention can load different sound effect libraries according to different speakers, thereby improving the security of speaker products. At the same time, the sound effect of playing audio according to multiple sound effect libraries is better, which can improve the user experience.
[0062] like Figure 3 As shown, the steps in S11 before verifying each connected speaker include: requesting a device search, discovering the speakers, and establishing a communication connection between the main device and the speakers. This can be achieved either by the system preferentially selecting the most suitable speaker for connection, or by the user selecting a speaker to establish the communication connection between the main device and the speakers.
[0063] like Figures 1-3As shown, the identity token information is preset in the master device. Specifically, the master device is a device such as a television box, and devices in the prior art, such as mobile phones, can directly connect to the sound box without authentication, which is less secure. Therefore, the identity token information is preset in the master device, different master devices are provided with different identity token information, and token authentication is performed through the identity token information to improve the security of the product.
[0064] In the step S11 of checking the connected sound boxes, the identity token information of the master device is sent to the sound boxes through the wireless communication module, so that the sound boxes analyze the identity token information and send feedback information to the master device. The master device determines whether the feedback information is received within a preset receiving time range, and if the determination result is yes, the check is passed, and if the determination result is no, the check is failed.
[0065] In one embodiment, if the master device does not receive the feedback information, the check result is failed.
[0066] In another embodiment, if the master device receives the feedback information beyond the preset receiving time range, the check result is failed.
[0067] In other embodiments, if the master device receives the feedback information within the preset receiving time range, the check result is passed.
[0068] After the step S11 of checking the connected sound boxes, the steps include: S21 setting the sound boxes passed the check as designated sound boxes, or S22 setting the sound boxes failed the check as non-designated sound boxes.
[0069] If the step S21 of setting the sound boxes passed the check as designated sound boxes is performed, the step S31 of issuing a designated sound effect library to the designated sound boxes is performed, so that the designated sound boxes play audio after audio processing based on the designated sound effect library.
[0070] If the step S22 of setting the sound boxes failed the check as non-designated sound boxes is performed, the step S32 of loading a default sound effect library and issuing the default sound effect library to the non-designated sound boxes is performed, so that the non-designated sound boxes play audio after audio processing based on the default sound effect library.
[0071] The specified sound box has multiple types, and different types of specified sound boxes correspond to different specified sound effect libraries, and each specified sound box corresponds to an independent specified sound effect library. For example, in the embodiment, the specified sound box includes specified sound box A, specified sound box B, and specified sound box C, which are of different types. The specified sound box A corresponds to the specified sound effect library A, the specified sound box B corresponds to the specified sound effect library B, and the specified sound box C corresponds to the specified sound effect library C. The specified sound effect libraries A, B, and C are different from each other. The specified sound box A plays audio after audio processing based on the specified sound effect library A, the specified sound box B plays audio after audio processing based on the specified sound effect library B, and the specified sound box C plays audio after audio processing based on the specified sound effect library C. Different specified sound boxes play different audio according to different specified sound effect libraries. On the one hand, different specified sound boxes corresponding to different specified sound effect libraries can load the most suitable sound effect library according to the product characteristics of different sound boxes. On the other hand, different specified sound boxes corresponding to different specified sound effect libraries can avoid others from stealing the specified sound effect library on other sound boxes, which has a certain security.
[0072] In other embodiments, the specified sound box includes specified sound box A, specified sound box B, specified sound box C, and other specified sound boxes of different types, and each specified sound box corresponds to a different specified sound effect library.
[0073] Specifically, as shown in Figure 2 In the embodiment, the specified sound effect library is issued to the specified sound box, including: issuing the specified sound effect library A to the specified sound box A through the wireless communication module, issuing the specified sound effect library B to the specified sound box B through the wireless communication module, and issuing the specified sound effect library C to the specified sound box C through the wireless communication module. In addition, other corresponding specified sound effect libraries are issued to other specified sound boxes through the wireless communication module.
[0074] The non-specified sound box also has multiple types, and different types of non-specified sound boxes correspond to the same default sound effect library. For example, as shown in Figure 2 In the embodiment, the default sound effect library is loaded and issued to the non-specified sound box, including: issuing the default sound effect library to all non-specified sound boxes through the wireless communication module.
[0075] The method of sound effect configuration also includes: determining the type of each sound box connected by the host device. Playing audio after audio processing based on the specified sound effect library includes: loading the specified sound effect library corresponding to the type of the specified sound box by the host device; performing primary processing on the original audio data according to the loaded specified sound effect library by the host device, and sending the primary processed audio data to the specified sound box. The secondary processing of the primary processed audio data is performed by the audio processing algorithm built-in the specified sound box, the secondary processed audio data is obtained and the audio is played; each specified sound box is built-in with its own audio processing algorithm.
[0076] The main device determines the type of connected sound box, which can be a specified sound box A, a specified sound box B, a specified sound box C, etc., and each specified sound box is built-in with a respective audio processing algorithm.
[0077] Specifically, the main device determines that the type of the connected sound box is a specified sound box A, loads a specified sound effect library A corresponding to the specified sound box A, performs primary processing on the original audio data according to the loaded specified sound effect library A through the main device, and sends the primary-processed audio data to the specified sound box A. The primary-processed audio data is secondarily processed through the audio processing algorithm built-in in the specified sound box A, and the secondarily-processed audio data is obtained and audio is played.
[0078] The audio effect played by the primary-processed and secondarily-processed audio data is better, and the primary processing is performed in the main device, and the secondary processing is performed in the sound box device, which has higher security compared with the mode of directly performing audio processing on the sound box device and then playing. At the same time, the audio played after audio processing has good effect.
[0079] Embodiment 2
[0080] This embodiment is based on the method of sound effect configuration proposed in embodiment 1, and proposes a device for sound effect configuration applied to a sound box and a main device.
[0081] As shown in Figure 4 A device for sound effect configuration applied to a sound box and a main device includes a verification module, a first determination module, and a first sending module, wherein the verification module is used to verify each connected sound box. The first determination module is used to set the sound box that passes the verification as a specified sound box. The first sending module is used to issue a specified sound effect library to the specified sound box, so that the specified sound box plays audio after audio processing based on the specified sound effect library.
[0082] The verification module includes a feedback module and a judgment module. The feedback module is used to send the identity token information of the main device to each sound box, so that the sound box analyzes the identity token information and sends feedback information to the main device. The judgment module is used to judge whether the feedback information is received within a preset receiving time range. If the judgment result is yes, the verification passes. If the judgment result is no, the verification does not pass.
[0083] The device for sound effect configuration further includes a second determination module and a second sending module, wherein the second determination module is used to set the sound box that does not pass the verification as a non-specified sound box. The second sending module is used to load a default sound effect library and issue the default sound effect library to the non-specified sound box, so that the non-specified sound box plays audio after audio processing based on the default sound effect library.
[0084] The sound effect configuration device further comprises a module for processing audio data, and specifically comprises a first processing module: a module for loading a specified sound effect library corresponding to the type of a specified sound box through the master device; a module for performing primary processing on original audio data according to the loaded specified sound effect library through the master device, and sending the primary-processed audio data to the specified sound box; a second processing module: a module for performing secondary processing on the primary-processed audio data through an audio processing algorithm built in the specified sound box, obtaining the secondary-processed audio data, and playing the audio; each specified sound box is built with its own audio processing algorithm.
[0085] The sound effect configuration device further comprises a wireless communication module: a module for sending the identity token information of the master device to each sound box, and sending the feedback information of the sound box to the master device. In this embodiment, the wireless communication module comprises Bluetooth. The identity token information of the master device is sent to each sound box through Bluetooth, and the feedback information of the sound box is sent to the master device. In other embodiments, the wireless communication module comprises wifi, 5G, etc.
[0086] As shown in Figure 4 The application further comprises an algorithm manager, which is used to store the specified sound effect library and the default sound effect library. In this embodiment, the algorithm manager is used to store the default sound effect library and the specified sound effect libraries A, B, C, etc.
[0087] In one embodiment, the sound box device is provided with an algorithm storage, which is used to store the specified sound effect library and the default sound effect library. Specifically, the algorithm manager in the master device is used to store a part of the specified sound effect library and a part of the default sound effect library. The algorithm storage in the sound box is used to store another part of the specified sound effect library and another part of the default sound effect library. A part of the sound effect library in the master device is sent to the sound box device through the wireless communication module, and is combined with another part of the sound effect library of the sound box device. The complete sound effect library is called to play the audio, which has a certain security.
[0088] The sound box configuration device provided by the application realizes the pairing of different sound boxes and different sound effect libraries through the cooperation of the verification module, the first determination module, the first sending module, etc. in the device, and has the advantages of high sound effect and high security.
[0089] Those skilled in the art should understand that the modules or steps of the present application described above can be realized by general computing devices, which can be centralized on a single computing device or distributed on a network composed of multiple computing devices, and optionally, they can be realized by program codes executable by the computing devices, so that they can be stored in storage devices and executed by the computing devices, or they can be respectively manufactured into individual integrated circuit modules, or multiple modules or steps among them can be manufactured into a single integrated circuit module to realize. Thus, the present application is not limited to any specific combination of hardware and software.
[0090] It is noted that the above only describes the preferred embodiments of the present application and the principles of the applied technology. Those skilled in the art will understand that the present application is not limited to the specific embodiments herein, and various obvious changes, re-adjustments and substitutions can be made by those skilled in the art without departing from the scope of the present application. Therefore, although the present application has been described in detail through the above embodiments, the present application is not limited to the above embodiments, and more other equivalent embodiments can be included without departing from the concept of the present application, and the scope of the present application is determined by the appended claims.
[0091] The above only discloses several specific implementation scenarios of the present application, but the present application is not limited thereto, and any changes that can be thought of by those skilled in the art should fall within the protection scope of the present application.
Claims
1. A method for configuring sound effects, applied to speakers and main devices, characterized in that, include: Verify each connected speaker; Set the speaker that passes the verification as the designated speaker; A specified sound effect library is sent to the specified speaker so that the specified speaker performs audio processing based on the specified sound effect library and then plays audio. The master device has preset identity token information; The steps for calibrating speakers include: The identity token information of the main device is sent to each of the speakers via a wireless communication module, so that the speakers can parse the identity token information and send feedback information to the main device. The main device determines whether the feedback information has been received within a preset receiving time range; If the result is yes, the verification will pass; If the result is negative, the verification fails. The methods for configuring sound effects also include: The type of each connected speaker is determined by the main device; The process of playing audio after audio processing based on a specified sound effects library includes: The host device loads the specified sound effect library corresponding to the type of the specified speaker. The main device performs initial processing on the raw audio data according to the loaded specified sound effect library, and sends the initially processed audio data to the specified speaker. The audio data after the initial processing is processed a second time by the audio processing algorithm built into the designated speaker, and the second-processed audio data is obtained and played. Each of the designated speakers has its own built-in audio processing algorithm. Also includes: Set the speaker that fails the verification to a non-designated speaker; Load the default sound effect library and distribute the default sound effect library to the non-specified speaker so that the non-specified speaker can play audio after performing audio processing based on the default sound effect library.
2. The method for configuring sound effects according to claim 1, characterized in that, The specified speaker has multiple types, and different types of specified speakers correspond to different specified sound effect libraries.
3. A sound effect configuration device, applied to a speaker and a main device, characterized in that, include: Verification module: Used to verify each connected speaker; First determining module: used to set the speaker that passes the verification as the designated speaker; First sending module: used to send a specified sound effect library to the specified speaker, so that the specified speaker can play audio after performing audio processing based on the specified sound effect library; The verification module includes: Feedback module: used to send the identity token information of the main device to each of the speakers; so that the speakers can parse the identity token information and send feedback information to the main device; Judgment module: used to determine whether the feedback information has been received within the preset receiving time range; if the judgment result is yes, the verification will pass; if the judgment result is no, the verification will fail. The sound configuration device also includes: First processing module: used to load a specified sound effect library corresponding to the type of the specified speaker through the main device; to perform initial processing on the original audio data according to the loaded specified sound effect library through the main device, and to send the initially processed audio data to the specified speaker; The second processing module is used to perform secondary processing on the audio data after the initial processing using the audio processing algorithm built into the designated speaker, to obtain the secondary processed audio data and play the audio; each of the designated speakers has its own built-in audio processing algorithm. The second determining module is used to set the speaker that fails the verification as a non-designated speaker. The second sending module is used to load the default sound effect library and send the default sound effect library to the non-designated speaker, so that the non-designated speaker can play audio after performing audio processing based on the default sound effect library.
4. The device for sound effect configuration according to claim 3, characterized in that, It also includes a wireless communication module: used to send the identity token information of the main device to each of the speakers, and to send the feedback information of the speakers to the main device.
Citation Information
Patent Citations
Control method and device and readable storage medium
CN113542976A
Wireless audio system, wireless communication method and equipment
CN113709906A
Sound source processing method and sysyem thereof
TW201531933A