Sound equipment networking configuration method and device, electronic equipment and storage medium

By acquiring the pairing request information of the audio equipment and sending test audio information for channel positioning, the complex network configuration of audio equipment in the prior art is solved, and automatic network configuration is realized, which reduces the difficulty and meets various sound effect needs.

CN118890720APending Publication Date: 2024-11-01SHENZHEN SKYWORTH INT TRADE CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410874419.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-01
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

In the prior art, the network configuration process of audio equipment is complicated, requiring manual operation and professional knowledge, which leads to high difficulty and cannot meet the various needs of stereo and surround sound effects.

Method used

By obtaining the pairing request information of the audio equipment, establishing a network connection, and sending test audio information for channel positioning, generating network configuration results based on the detection signal, realizing automatic network configuration.

Benefits of technology

It reduces the difficulty of networking of audio equipment, realizes a fast and convenient network configuration, without manual operation, and meets various sound effects needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118890720A_ABST
    Figure CN118890720A_ABST
Patent Text Reader

Abstract

The invention relates to a sound equipment networking configuration method and device, electronic equipment and a storage medium, and the sound equipment networking configuration method comprises the steps: obtaining the pairing request information of sound equipment, building networking connection with the sound equipment according to the pairing request information, and transmitting test audio information to the sound equipment based on the networking connection. The sound equipment is used for playing sound according to the test audio information, performing sound channel positioning according to a detection signal corresponding to the sound, obtaining sound channel configuration information corresponding to the sound equipment, and then generating a networking configuration result corresponding to the sound equipment according to the sound channel configuration information; therefore, the purpose of automatic networking configuration is achieved, the problem that the networking difficulty of the sound equipment is high due to manual networking configuration in the existing related technical means is solved, and the networking difficulty of the sound equipment is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of audio, and in particular to a method, device, electronic device and storage medium for configuring audio equipment networking. Background Art

[0002] With the development of society, the application of audio equipment is becoming more and more popular. Audio equipment is used in many scenes in daily life, such as home TV usage scenes, projection equipment application scenes, etc. In traditional audio application scenes, a single speaker is used to play sound. With the improvement of people's requirements for audio quality, such as stereo sound effects, surround sound effects and other needs, a single speaker can no longer meet the above usage requirements. Multiple speakers need to be networked and configured to form a combined speaker, so as to play a variety of sound effects.

[0003] In the existing related technology, the method of networking multiple speakers is usually manual networking configuration. In this process, not only professional knowledge is required to configure each speaker separately, but also repeated debugging and verification are required, which leads to the problem of high difficulty in networking the audio equipment. Summary of the invention

[0004] In order to solve the above technical problems, the present application provides a method, device, electronic device and storage medium for configuring a network of audio equipment.

[0005] In a first aspect, the present application provides a method for configuring a network of audio equipment, comprising:

[0006] Get the pairing request information of the audio device;

[0007] Establishing a network connection with the audio device according to the pairing request information;

[0008] Based on the network connection, sending test audio information to the audio device, and the audio device is used to play sound according to the test audio information;

[0009] Performing channel positioning according to the detection signal corresponding to the sound, and obtaining channel configuration information corresponding to the audio device;

[0010] A networking configuration result corresponding to the audio device is generated according to the channel configuration information.

[0011] Optionally, the sending test audio information to the audio device based on the networking connection includes:

[0012] Acquire the test audio information and device quantity information, where the device quantity information is the quantity information of the audio devices in the network connection;

[0013] Generate a playback sequence instruction according to the device quantity information;

[0014] The play sequence instruction and the test audio information are sent to the audio device, where the play sequence instruction is used to trigger the audio device to play the sound corresponding to the test audio information.

[0015] Optionally, performing channel positioning according to the detection signal corresponding to the sound to obtain channel configuration information corresponding to the audio device includes:

[0016] Determining reception time information corresponding to the detection signal;

[0017] Using the received time information, determining distance position information corresponding to the audio device;

[0018] Channel positioning is performed according to the distance position information to obtain the channel configuration information.

[0019] Optionally, performing channel positioning according to the distance position information to obtain the channel configuration information includes:

[0020] extracting sound waveform information based on the detection signal;

[0021] Determine frequency band output capability information using the sound waveform information and the test audio information;

[0022] The distance position information is used in combination with the frequency band output capability information to perform channel positioning to obtain the channel configuration information.

[0023] Optionally, performing channel positioning according to the distance position information to obtain the channel configuration information includes:

[0024] Extracting specification information corresponding to the audio device from the pairing request information;

[0025] Extracting frequency band output capability information corresponding to the audio device from the specification information;

[0026] The distance position information is used in combination with the frequency band output capability information to perform channel positioning to obtain the channel configuration information.

[0027] Optionally, the using the distance position information in combination with the frequency band output capability information to perform channel positioning to obtain the channel configuration information includes:

[0028] Acquire at least one preset sound field distribution information, where the sound field distribution information includes position distribution information and frequency band output distribution information;

[0029] Determine the position matching degree using the distance position information and the position distribution information;

[0030] When the position matching degree reaches a preset position matching degree threshold, comparing the frequency band output distribution information corresponding to the position distribution information with the frequency band output capability information to obtain the frequency band output matching degree;

[0031] Determining target sound field distribution information according to the frequency band output matching degree;

[0032] The target sound field distribution information is used to perform channel positioning to obtain the channel configuration information.

[0033] Optionally, after sending the play sequence instruction and the test audio information to the audio device, the method further includes:

[0034] Detecting whether the device quantity information changes;

[0035] If the device quantity information changes, then the play order instruction is updated according to the changed device quantity information;

[0036] Sending the updated play sequence instruction to the audio device to trigger the audio device to play the sound corresponding to the test audio information according to the updated play sequence instruction.

[0037] In a second aspect, the present application provides a device for configuring a network of audio equipment, including:

[0038] An acquisition module, used to obtain pairing request information of an audio device;

[0039] A networking module, used to establish a networking connection with the audio device according to the pairing request information;

[0040] A sending module, used for sending test audio information to the audio device based on the network connection, and the audio device is used for playing sound according to the test audio information;

[0041] A channel localization module, used to perform channel localization according to the detection signal corresponding to the sound, and obtain channel configuration information corresponding to the audio device;

[0042] A generating module is used to generate a networking configuration result corresponding to the audio device according to the channel configuration information.

[0043] In a third aspect, an electronic device is provided, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;

[0044] Memory, used to store computer programs;

[0045] The processor is used to implement the audio equipment networking configuration method described in any one of the first aspects when executing the program stored in the memory.

[0046] In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the audio device networking configuration method as described in any one of the first aspects is implemented.

[0047] The embodiment of the present application obtains pairing request information of an audio device, establishes a networking connection with the audio device according to the pairing request information, and sends test audio information to the audio device based on the networking connection. The audio device is used to play sound according to the test audio information, perform channel positioning according to a detection signal corresponding to the sound, obtain channel configuration information corresponding to the audio device, and then generate a networking configuration result corresponding to the audio device according to the channel configuration information; thereby achieving the purpose of automatic networking configuration, solving the problem of high difficulty in networking audio devices that is present in the existing related technical means using manual networking configuration, and reducing the difficulty in networking audio devices. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0049] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0050] Figure 1 A flowchart of a method for configuring a network of audio equipment provided in an embodiment of the present application;

[0051] Figure 2 A schematic diagram of an application scenario of a method for configuring a network of audio equipment provided in an embodiment of the present application;

[0052] Figure 3 A schematic diagram of another application scenario of a method for configuring a network of audio equipment provided in an embodiment of the present application;

[0053] Figure 4 A schematic diagram of the structure of a device for configuring a network of audio equipment provided in an embodiment of the present application;

[0054] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0055] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0056] In the existing related technology, during the networking configuration process of audio equipment, in order to enable the networked audio equipment to achieve stereo effects, surround sound effects and other sound effects, it is first necessary to manually network the audio equipment that needs to be networked according to needs, then manually configure the channels for each audio equipment according to needs, and then play and audition, and perform the networking configuration again according to the audition effect until the sound effect meets the needs. The entire process requires manual operation, that is, professional knowledge of audio configuration is required to complete the operation, that is, the existing traditional technical means use manual networking to configure audio, which has the problem of high operating difficulty.

[0057] In order to solve the problem of high difficulty in operating when manually networking and configuring audio equipment in the existing traditional technical means, the embodiment of the present application obtains pairing request information of the audio equipment, establishes a networking connection with the audio equipment according to the pairing request information, and sends test audio information to the audio equipment based on the networking connection. The audio equipment is used to play sound according to the test audio information, and perform channel positioning according to a detection signal corresponding to the sound, so as to obtain channel configuration information corresponding to the audio equipment, and then generate a networking configuration result corresponding to the audio equipment according to the channel configuration information; thereby, there is no need to manually perform audio networking configuration, and the purpose of automatic networking configuration is achieved, which solves the problem of high difficulty in networking audio equipment when manual networking configuration is used in the existing related technical means, and reduces the networking difficulty of audio equipment.

[0058] Figure 1 A flow chart of a method for configuring the networking of an audio device provided in an embodiment of the present application. This method can be applied to one or more electronic devices such as a television, a smart phone, a laptop computer, a desktop computer, a portable computer, a server, etc. In addition, the execution subject of this method can be hardware or software. When the above-mentioned execution subject is hardware, the execution subject can be one or more of the above-mentioned electronic devices. For example, a single electronic device can execute this method, or a plurality of electronic devices can cooperate with each other to execute this method. When the above-mentioned execution subject is software, this method can be implemented as multiple software or software modules, or as a single software or software module. No specific limitation is made here.

[0059] like Figure 1As shown, the present application discloses an embodiment, which provides a method for configuring a network of audio equipment, including:

[0060] Step S110: Acquire pairing request information of the audio device.

[0061] Specifically, the audio device in this embodiment can represent an audio device with sound playback and communication capabilities, and the pairing request information can represent a request issued by the audio device for network pairing, wherein the pairing request information can be sent autonomously when the audio device is started, or it can be sent in response to the device receiving the device search information. Of course, other methods can also be used, which are not specifically limited in this embodiment; it should be noted that in this embodiment, multiple pairing request information of multiple audio devices can be obtained.

[0062] Step S120: Establishing a network connection with the audio device according to the pairing request information.

[0063] Specifically, after obtaining the pairing request information of the audio device, a network connection can be established with the audio device based on the pairing request information. After receiving the pairing request information, the configuration request information can also be verified to obtain a verification result. When the verification result is passed, a network connection is established with the audio device corresponding to the verification result. It is also possible that when the pairing request information is received, a pairing request interface is output. At this time, the user can perform operations in the pairing request interface, such as pairing and abandoning pairing, that is, the pairing operation output in the pairing request interface is obtained. When the pairing operation is a pairing operation, a network connection is established with the audio device corresponding to the pairing request information. Of course, other methods of establishing a network connection can also be used, and this embodiment does not specifically limit this.

[0064] In one example, if Figure 2 As shown, taking the execution subject as a television as an example, after the television obtains the pairing request information of the audio device, a pairing request interface of "Do you want to connect" can be automatically popped up on the screen according to the pairing request information. The user can enter the pairing operation of "Connect" or "Reject" in the pairing request interface. When the pairing operation of "Connect" is entered, the television will establish a network connection with the audio device corresponding to the pairing request information, thereby achieving a quick and convenient establishment of a network connection and reducing the difficulty of the network connection.

[0065] Step S130: Based on the network connection, the test audio information is sent to the audio device, and the audio device is used to play the sound according to the test audio information.

[0066] Specifically, after establishing a network connection with the audio device, test audio information can be sent to the audio device based on the network connection, where the test audio information represents information containing a full-band test audio. The audio device can be used to play sound based on the test audio information, thereby playing a role in testing the audio device through the test audio information.

[0067] Step S140: performing channel localization according to the detection signal corresponding to the sound, and obtaining channel configuration information corresponding to the audio device.

[0068] Specifically, after sending the test audio information to the audio device, the sound played by the audio device according to the test audio information can be collected to obtain a detection signal corresponding to the sound, and then channel positioning can be performed based on the detection signal to obtain the channel configuration information corresponding to the audio device, wherein the channel configuration information represents the configuration information of the channel to which the audio device belongs, and the channel represents different sound channels in a sound effect. For example, the surround sound effect can include a left channel and a right channel. At this time, the channel configuration information can be the left channel configuration information or the right channel configuration information; in this embodiment, the sound played by the audio device according to the test audio information is collected, and the test audio information includes a full-band test audio. At this time, the detection signal corresponding to the sound can be channel positioned to determine the target channel corresponding to the audio device, so that the channel configuration information can be determined based on the target channel. For example, if the target channel is the left channel, the channel configuration information determined at this time is the left channel configuration information. When the target channel is the right channel, the channel configuration information is the right channel configuration information. Of course, other channels can also be included, and this embodiment does not specifically limit this.

[0069] In addition, since the channel configuration information in this embodiment is determined by channel positioning based on the detection signal, and in different application scenarios or different user needs, there will be a need to adjust the channel of the audio device. At this time, after the channel positioning is performed according to the detection signal corresponding to the sound and the channel configuration information corresponding to the audio device is obtained, the channel adjustment information can also be obtained. The channel adjustment information represents the information used to adjust the channel adjustment information of the audio device, which can be user input or server acquisition, so that the channel configuration information can be adjusted and updated based on the channel adjustment information, so as to achieve the purpose of adaptively adjusting the channel configuration information according to the demand. In an example, for example, when the channel configuration information is the left channel configuration information, at this time, the user's demand for the audio device is to play as the right channel, at this time, the channel adjustment information adjusted to the right channel can be input according to the demand, and at this time, the left channel configuration information is adjusted to the right channel configuration information according to the channel adjustment information; of course, in the case of multiple channel configuration information, the channel configuration information can also include a target device identifier, so that the target device identifier in the channel configuration information can be adjusted to the channel configuration information of the target audio device.

[0070] Step S150: Generate a networking configuration result corresponding to the audio device according to the channel configuration information.

[0071] Specifically, after obtaining the channel configuration information, the audio device can be configured according to the channel configuration information to generate a networking configuration result corresponding to the audio device, wherein a specific configuration method can configure the playback channel parameters of the audio device to be the target channel corresponding to the channel configuration information, wherein the playback channel parameters represent the parameters for controlling the playback channel of the audio device, and the networking configuration result can represent the result obtained after the channel configuration of the audio device, such as a successful configuration or a failed configuration.

[0072] In order to solve the problem of high difficulty in operating when manually networking and configuring audio equipment in the existing traditional technical means, the embodiments of the present application obtain pairing request information of the audio equipment, establish a networking connection with the audio equipment according to the pairing request information, and send test audio information to the audio equipment based on the networking connection. The audio equipment is used to play sound according to the test audio information, perform channel positioning according to a detection signal corresponding to the sound, obtain channel configuration information corresponding to the audio equipment, and then generate a networking configuration result corresponding to the audio equipment according to the channel configuration information; thereby, there is no need to manually perform networking configuration of the audio equipment, and a quick and convenient networking configuration is achieved, which reduces the difficulty of networking configuration. This solves the problem of high difficulty in networking audio equipment when manual networking configuration is used in the existing related technical means, and reduces the difficulty of networking audio equipment.

[0073] In an optional embodiment of the present application, step S130 sends test audio information to the audio device based on the network connection, and may specifically include the following sub-steps: obtaining test audio information and device quantity information, where the device quantity information is the quantity information of the audio devices in the network connection; generating a playback sequence instruction based on the device quantity information; sending a playback sequence instruction and test audio information to the audio device, where the playback sequence instruction is used to trigger the audio device to play the sound corresponding to the test audio information.

[0074] In this embodiment, after establishing a network connection with the audio device, test audio information and device quantity information can be obtained. The device quantity information is the number information of the audio devices in the network connection. Since the sounds played by each audio device together will affect each other, a playback order instruction can be generated based on the device quantity information. The playback order instruction can indicate the order for instructing each audio device to play the sounds corresponding to the test audio information. Subsequently, the playback order instruction and the test audio information can be sent to the audio device. The playback order instruction is used to trigger the audio device to play the sound corresponding to the test audio information, so that each audio device can play the sound separately, avoiding the problem of mutual influence caused by the audio devices playing the sounds together, thereby improving the accuracy of the detection signal corresponding to the collected sound.

[0075] In one example, when the audio devices in the network connection include audio device A and audio device B, the acquired device quantity information is 2. Based on the device quantity information, a playback order instruction is generated. The playback order instruction may include instructions that the playback order of audio device A is 1 and the playback order of audio device B is 2. At this time, the playback order instruction and test audio information are sent to audio device A and audio device B, so that audio device A plays the sound within the time corresponding to the playback order 1, and audio device A plays the sound within the time corresponding to the playback order 2, thereby achieving the purpose of each audio device being able to play the sound individually. Of course, the above is only an example, and the specific implementation can be adjusted according to specific needs. This embodiment does not make specific limitations on this.

[0076] In an optional embodiment of the present application, after sending the play sequence instruction and the test audio information to the audio device, the following sub-steps may be specifically included: detecting whether the device quantity information has changed; if the device quantity information has changed, updating the play sequence instruction based on the changed device quantity information; sending the updated play sequence instruction to the audio device to trigger the audio device to play the sound corresponding to the test audio information according to the updated play sequence instruction.

[0077] In this embodiment, after sending the play sequence instruction and the test audio information to the audio device, it is also possible to detect in real time whether the device quantity information has changed. Adding or reducing audio devices in the networking connection will cause the device quantity information to change; if the device quantity information has changed, it can be determined that the audio device has been added or reduced in the networking connection, and the play sequence instruction can be updated according to the changed device quantity information, and the updated play sequence instruction can be re-sent to the audio device to trigger the audio device to play the sound corresponding to the test audio information according to the updated play sequence instruction, so that when the audio device is added or reduced in the networking connection, the present embodiment can re-execute the steps of performing channel positioning according to the detection signal corresponding to the sound, obtaining the channel configuration information corresponding to the audio device, and generating the networking configuration result corresponding to the audio device according to the channel configuration information, so as to achieve the purpose of updating the networking configuration result in real time when the number of audio devices changes.

[0078] In an optional embodiment of the present application, step S140 performs channel positioning based on the detection signal corresponding to the sound to obtain channel configuration information corresponding to the audio device, which may specifically include the following sub-steps: determining the receiving time information corresponding to the detection signal; using the receiving time information to determine the distance position information corresponding to the audio device; performing channel positioning based on the distance position information to obtain the channel configuration information.

[0079] In this embodiment, after sending the test audio information to the audio device, the detection signal corresponding to the sound played by the audio device can be collected in real time, and when the detection signal is received, the receiving time information corresponding to the detection signal can be determined, so that the receiving time information can be used to determine the distance position information corresponding to the audio device, and the distance position information indicates the distance between the audio device and the sound source device; because different channels require different audio devices for playback, and different positions of the audio devices are suitable for playing different channel sounds, and the distance is also suitable for playing sounds of different frequency bands; then the channel positioning can be performed according to the distance position information to obtain the channel configuration information, for example, according to the distance position information, it can be determined that the audio device is located on the left side of the sound source device, and the left position is suitable for playing the left channel sound, at this time, the left channel configuration information can be determined as the channel configuration information, or the audio device closer to the sound source device is suitable for playing sounds with lower frequency bands, at this time, according to the distance position information, it is determined that the audio device is in a close distance area from the sound source device, and the close distance area is suitable for low-frequency channel sounds, at this time, the low-frequency channel configuration information can be determined as the channel configuration information; of course, other channel positioning methods can also be used, and this embodiment does not specifically limit this.

[0080] In addition, in this embodiment, the receiving time information is used to determine the distance position information corresponding to the audio device, which can be determined based on the time difference between the sending time information of the test audio information and the receiving time information. The specific determination method can be to obtain the sending time information of the test audio information, determine the time difference between the sending time information and the receiving time information, and perform distance calculation based on the time difference to obtain the distance information, and the distance information represents the distance between the audio device and the sound source device; then, the azimuth analysis can be performed based on the detection signal to determine the position information, and the position information represents the position direction of the audio device placed relative to the sound source device. The specific determination method is as follows: Figure 3 As shown, the sound emitted by the audio device can be received by the far-field voice array of the sound source device. The detection signal corresponding to the sound received by the far-field voice array can be analyzed to obtain the left and right position of the audio device relative to the sound source device. Specifically, it can be judged by the sound reception length of the left and right voice microphones in the voice array. For example, the voice array close to the audio device can receive the sound emitted by the device faster.

[0081] In an optional embodiment of the present application, channel positioning is performed based on the distance position information to obtain channel configuration information, which may specifically include the following sub-steps: extracting sound waveform information based on the detection signal; using the sound waveform information and the test audio information to determine the frequency band output capability information; using the distance position information in combination with the frequency band output capability information to perform channel positioning to obtain the channel configuration information.

[0082] In this embodiment, during the channel positioning process, sound waveform information can be extracted based on the detection signal, and the sound waveform information can be compared with the test audio waveform of the test audio information to obtain waveform difference information, the test audio waveform is the waveform of the test audio contained in the test audio information, and the waveform difference information indicates the difference between the waveform represented by the sound waveform information and the test audio waveform, so that the waveform difference information can be used to determine the frequency band output capability information of the audio device. For example, the waveform difference information indicates that the low-frequency band waveform difference is large, the mid-frequency band waveform difference is small, and the high-frequency band waveform difference is large. At this time, it can be determined that the output capability information is judged to have mid-frequency band output capability; and then the distance position information can be used to combine the frequency band output capability information to perform channel positioning to obtain the channel configuration information. For example, the distance position information indicates that the audio device is located on the left side of the sound source device, and the frequency band output capability information is that it has mid-frequency band output capability. At this time, the left channel mid-frequency band channel configuration information can be determined as the channel configuration information; the above is only an example, and the channel positioning method for other situations is similar to the above, which will not be repeated here.

[0083] In an optional embodiment of the present application, channel positioning is performed based on the distance position information to obtain channel configuration information, which may specifically include the following sub-steps: extracting specification information corresponding to the audio device from the pairing request information; extracting frequency band output capability information corresponding to the audio device from the specification information; using the distance position information in combination with the frequency band output capability information to perform channel positioning to obtain the channel configuration information.

[0084] In this embodiment, during the channel positioning process, it is also possible to determine whether there is specification information corresponding to the audio device in the pairing request information. If so, the specification information corresponding to the audio device is extracted from the pairing request information. The specification information is information about the specific specifications of the audio device, such as product name, model, rated power, peak power, frequency response range, output impedance, sensitivity, speaker unit, and other information; thereby, the frequency band output capability information corresponding to the audio device can be extracted from the specification information, so as to achieve the purpose of quickly and accurately determining the specific frequency band output capability information of the audio device; and then the distance position information can be used in combination with the frequency band output capability information to perform channel positioning to obtain the channel configuration information. For example, the distance position information indicates that the audio device is located on the left side of the sound source device, and the frequency band output capability information is that the mid-frequency band output capability is better. At this time, the left channel mid-frequency band channel configuration information can be determined as the channel configuration information; the above is only an example, and the channel positioning method for other situations is similar to the above, which will not be repeated here.

[0085] It should be noted that this example may also include the step of "extracting sound waveform information based on the detection signal; using the sound waveform information and the test audio information to determine the frequency band output capability information; using the distance position information and the frequency band output capability information to perform channel positioning and obtain the channel configuration information" in the aforementioned embodiment after determining whether the pairing request information contains the specification information corresponding to the audio device. This achieves the purpose of accurately determining the specific frequency band output capability information of the audio device from multiple angles.

[0086] In an optional embodiment of the present application, distance position information is used in combination with frequency band output capability information to perform channel positioning to obtain channel configuration information, which may specifically include the following sub-steps: obtaining at least one preset sound field distribution information, the sound field distribution information including position distribution information and frequency band output distribution information; using the distance position information and the position distribution information to determine the position matching degree; when the position matching degree reaches a preset position matching degree threshold, comparing the frequency band output distribution information corresponding to the position distribution information with the frequency band output capability information to obtain the frequency band output matching degree; determining the target sound field distribution information based on the frequency band output matching degree; using the target sound field distribution information to perform channel positioning to obtain the channel configuration information.

[0087] In this embodiment, the process of channel positioning can also be to obtain at least one preset sound field distribution information, the sound field distribution information includes position distribution information and frequency band output distribution information, wherein the preset sound field distribution information indicates the distribution method of pre-configured playing of preset sound effect mode, the position distribution information indicates the situation where the pre-configured playing of preset sound effect mode requires the position distribution of audio equipment, and the position distribution information indicates the situation where the pre-configured playing of preset sound effect mode requires the frequency band output distribution of audio equipment. For example, in the sound field distribution information of pre-configured playing of surround sound effect mode, the position distribution information included indicates that one audio equipment is required at the left and right positions, and the frequency band output distribution information indicates that the left audio equipment has high frequency band output capability and the right audio equipment has low frequency band output capability. This is only for illustrative purposes, and this embodiment does not make specific limitations on this. Therefore, the distance position information and the position distribution information can be used to determine the position matching degree, and the position matching degree indicates the matching degree between the position distribution of the audio equipment represented by the current distance position information and the position distribution represented by the position distribution information. For example, the distance position information indicates one audio equipment on the left and one audio equipment on the right. At this time, the sum indicates one audio equipment on the left and one audio equipment on the right. The matching degree of the position distribution information is 100%. Then, it can be determined whether the position matching degree reaches the preset position matching degree threshold. The preset position matching degree threshold indicates the situation where the sound field distribution information requirements can be met. The preset position matching degree can be 100%, 90%, etc. When the position matching degree reaches the preset position matching degree threshold, the frequency band output distribution information corresponding to the position distribution information is compared with the frequency band output capacity information to obtain the frequency band output matching degree. The frequency band matching degree indicates the matching degree of the frequency band output capacity represented by the frequency band output distribution of the audio equipment represented by the current frequency band output capacity information. For example, the frequency band output capability information indicates that one audio device has the capability to output high frequency bands and the right one has the capability to output full frequency bands. At this time, the matching degree of the frequency band output distribution information indicating that the two audio devices have the capability to output full frequency bands is 50%; then the target sound field distribution information can be determined based on the frequency band output matching degree, and the target sound field distribution information is used to perform channel positioning to obtain the channel configuration information, wherein the target sound field distribution information indicates the sound field distribution information corresponding to the maximum frequency band output matching degree. At this time, the channel positioning of each audio device can be performed based on the target sound field distribution information to obtain the channel configuration information. In this embodiment, the pre-configured sound field distribution information is used to determine the target sound field distribution information that matches the current distance position information and the frequency band output capability information, so as to achieve the purpose of quickly and accurately positioning the channels for each audio device.

[0088] In an optional embodiment of the present application, after step S150 generates a networking configuration result corresponding to the audio device according to the channel configuration information, it may also include the following sub-steps: obtaining audio information to be played; performing audio processing on the audio information to be played based on the networking configuration result to obtain independent audio information corresponding to the audio device; and outputting the independent audio information to the audio device.

[0089] In this embodiment, after obtaining the network configuration result, the process of playing audio may be to obtain the audio information to be played, perform audio processing on the audio information to be played according to the network configuration result, and obtain independent audio information corresponding to the audio device. Since the network configuration result may include the playback channels of each audio device, the independent audio information may be sent to the audio device corresponding to the playback channel. For example, the network configuration result indicates a left channel audio device and a right channel audio device. At this time, the audio information to be played may be processed to obtain left channel independent audio information and right channel independent audio information corresponding to the audio device, and the left channel independent audio information may be sent to the left channel audio device, and the right channel independent audio information may be sent to the right channel audio device. The control of each audio device to play its corresponding independent audio information according to the network configuration result is achieved.

[0090] like Figure 4 As shown, the present application also discloses an embodiment, providing a device for configuring a network of audio equipment, including:

[0091] An acquisition module 410 is used to acquire pairing request information of an audio device;

[0092] The networking module 420 is used to establish a networking connection with the audio device according to the pairing request information;

[0093] The sending module 430 is used to send the test audio information to the audio device based on the network connection, and the audio device is used to play the sound according to the test audio information;

[0094] A channel localization module 440 is used to perform channel localization according to the detection signal corresponding to the sound, and obtain channel configuration information corresponding to the audio device;

[0095] The generating module 450 is used to generate a networking configuration result corresponding to the audio device according to the channel configuration information.

[0096] In an optional embodiment of the present application, the sending module 430 may include:

[0097] A first acquisition unit is used to acquire test audio information and device quantity information, where the device quantity information is the quantity information of audio devices in the network connection;

[0098] A first generating unit, used for generating a play sequence instruction according to the device quantity information;

[0099] The first sending unit is used to send a play sequence instruction and test audio information to the audio device, where the play sequence instruction is used to trigger the audio device to play the sound corresponding to the test audio information.

[0100] In an optional embodiment of the present application, the channel localization module 440 may include:

[0101] A first determining unit, used to determine reception time information corresponding to the detection signal;

[0102] A second determining unit is used to determine the distance position information corresponding to the audio device using the receiving time information;

[0103] The first channel localization unit is used to perform channel localization according to the distance position information to obtain channel configuration information.

[0104] In an optional embodiment of the present application, the first channel localization unit may include:

[0105] A first extraction subunit, used for extracting sound waveform information based on the detection signal;

[0106] A first determination subunit is used to determine frequency band output capability information using sound waveform information and test audio information;

[0107] The first channel localization subunit is used to perform channel localization by using the distance position information in combination with the frequency band output capability information to obtain channel configuration information.

[0108] In an optional embodiment of the present application, the first channel localization unit may include:

[0109] A second extraction subunit is used to extract specification information corresponding to the audio device from the pairing request information;

[0110] The third extraction subunit is used to extract the frequency band output capability information corresponding to the audio device from the specification information;

[0111] The second channel localization subunit is used to use the distance position information in combination with the frequency band output capability information to perform channel localization to obtain channel configuration information.

[0112] In an optional embodiment of the present application, the first channel localization subunit or the second channel localization subunit may include:

[0113] A first acquisition subunit is used to acquire at least one preset sound field distribution information, where the sound field distribution information includes position distribution information and frequency band output distribution information;

[0114] A second determination subunit is used to determine the position matching degree by using the distance position information and the position distribution information;

[0115] A first comparison subunit is used to compare the frequency band output distribution information corresponding to the position distribution information with the frequency band output capability information to obtain the frequency band output matching degree when the position matching degree reaches a preset position matching degree threshold;

[0116] A third determination subunit is used to determine the target sound field distribution information according to the frequency band output matching degree;

[0117] The third channel localization subunit is used to perform channel localization using the target sound field distribution information to obtain channel configuration information.

[0118] In an optional embodiment of the present application, the sending module 430 may further include:

[0119] A first detection unit, used to detect whether the device quantity information changes;

[0120] An update detection unit, used to update the playback sequence instruction according to the changed device quantity information if the device quantity information changes;

[0121] The second sending unit is used to send the updated play sequence instruction to the audio device to trigger the audio device to play the sound corresponding to the test audio information according to the updated play sequence instruction.

[0122] The implementation process of the functions and effects of each module in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method, which will not be repeated here.

[0123] like Figure 5 As shown, an embodiment of the present application provides an electronic device, including a processor 510, a communication interface 520, a memory 530 and a communication bus 540, wherein the processor 510, the communication interface 520, and the memory 530 communicate with each other through the communication bus 540;

[0124] Memory 530, for storing computer programs;

[0125] In one embodiment of the present application, the processor 510 is used to implement the audio device networking configuration method provided by any one of the aforementioned method embodiments when executing the program stored in the memory 530.

[0126] An embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the audio device networking configuration method provided by any of the aforementioned method embodiments is implemented.

[0127] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0128] The above describes specific embodiments of the present specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0129] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be 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 the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A method for configuring a network of audio equipment, characterized in that: include: Get the pairing request information of the audio device; Establishing a network connection with the audio device according to the pairing request information; Based on the network connection, sending test audio information to the audio device, and the audio device is used to play sound according to the test audio information; Performing channel positioning according to the detection signal corresponding to the sound, and obtaining channel configuration information corresponding to the audio device; A networking configuration result corresponding to the audio device is generated according to the channel configuration information.

2. The audio equipment networking configuration method according to claim 1, characterized in that: The sending the test audio information to the audio device based on the networking connection includes: Acquire the test audio information and device quantity information, where the device quantity information is the quantity information of the audio devices in the network connection; Generate a playback sequence instruction according to the device quantity information; The play sequence instruction and the test audio information are sent to the audio device, where the play sequence instruction is used to trigger the audio device to play the sound corresponding to the test audio information.

3. The audio equipment networking configuration method according to claim 1, characterized in that: The performing channel positioning according to the detection signal corresponding to the sound to obtain the channel configuration information corresponding to the audio device includes: Determining reception time information corresponding to the detection signal; Using the received time information, determining distance position information corresponding to the audio device; Channel positioning is performed according to the distance position information to obtain the channel configuration information.

4. The audio equipment networking configuration method according to claim 3, characterized in that: The performing channel positioning according to the distance position information to obtain the channel configuration information includes: extracting sound waveform information based on the detection signal; Determine frequency band output capability information using the sound waveform information and the test audio information; The distance position information is used in combination with the frequency band output capability information to perform channel positioning to obtain the channel configuration information.

5. The audio equipment networking configuration method according to claim 3, characterized in that: The performing channel positioning according to the distance position information to obtain the channel configuration information includes: Extracting specification information corresponding to the audio device from the pairing request information; Extracting frequency band output capability information corresponding to the audio device from the specification information; The distance position information is used in combination with the frequency band output capability information to perform channel positioning to obtain the channel configuration information.

6. The audio equipment networking configuration method according to claim 4 or 5, characterized in that: The using the distance position information and combining the frequency band output capability information to perform channel positioning to obtain the channel configuration information includes: Acquire at least one preset sound field distribution information, where the sound field distribution information includes position distribution information and frequency band output distribution information; Determine the position matching degree using the distance position information and the position distribution information; When the position matching degree reaches a preset position matching degree threshold, comparing the frequency band output distribution information corresponding to the position distribution information with the frequency band output capability information to obtain the frequency band output matching degree; Determining target sound field distribution information according to the frequency band output matching degree; The target sound field distribution information is used to perform channel positioning to obtain the channel configuration information.

7. The audio equipment networking configuration method according to claim 2, characterized in that: After sending the play sequence instruction and the test audio information to the audio device, the method further includes: Detecting whether the device quantity information changes; If the device quantity information changes, then the play order instruction is updated according to the changed device quantity information; Sending the updated play sequence instruction to the audio device to trigger the audio device to play the sound corresponding to the test audio information according to the updated play sequence instruction.

8. A device for configuring a network of audio equipment, characterized in that: include: An acquisition module, used to obtain pairing request information of an audio device; A networking module, used to establish a networking connection with the audio device according to the pairing request information; A sending module, used for sending test audio information to the audio device based on the network connection, and the audio device is used for playing sound according to the test audio information; A channel localization module, used to perform channel localization according to the detection signal corresponding to the sound, and obtain channel configuration information corresponding to the audio device; A generating module is used to generate a networking configuration result corresponding to the audio device according to the channel configuration information.

9. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; The processor is used to implement the audio equipment networking configuration method described in any one of claims 1 to 7 when executing the program stored in the memory.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the audio equipment networking configuration method according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Configuration switching method, electronic equipment and storage medium

    CN120547254A