CN111787478A - Equipment control method and device - Google Patents

Equipment control method and device Download PDF

Info

Publication number
CN111787478A
CN111787478A CN202010582099.6A CN202010582099A CN111787478A CN 111787478 A CN111787478 A CN 111787478A CN 202010582099 A CN202010582099 A CN 202010582099A CN 111787478 A CN111787478 A CN 111787478A
Authority
CN
China
Prior art keywords
audio
difference
time
propagation
audio device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010582099.6A
Other languages
Chinese (zh)
Inventor
张道林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202010582099.6A priority Critical patent/CN111787478A/en
Publication of CN111787478A publication Critical patent/CN111787478A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04SSTEREOPHONIC SYSTEMS 
    • H04S7/00Indicating arrangements; Control arrangements, e.g. balance control
    • H04S7/30Control circuits for electronic adaptation of the sound field
    • H04S7/302Electronic adaptation of stereophonic sound system to listener position or orientation

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The disclosure provides a device control method and device. The method is applied to an audio system which comprises a first audio device and a second audio device, and comprises the following steps: respectively using a first audio device and a second audio device to receive wireless signals sent by a terminal; determining a difference between the characteristic information of the wireless signal received by the first audio device and the characteristic information of the wireless signal received by the second audio device; when the audio system plays audio, the phase difference of the audio signals output by the first audio equipment and the second audio equipment is adjusted according to the difference, so that the terminal receives the audio signals output by the first audio equipment and the second audio equipment at the same time, and a user obtains the optimal listening effect. By the method, the user carrying the terminal can obtain the best listening effect at different positions, and the user experience is very good.

Description

Equipment control method and device
Technical Field
The present disclosure relates to the field of computer communication technologies, and in particular, to a device control method and apparatus.
Background
The audio equipment has the function of playing audio, and can play audio by using a plurality of audio equipment to realize a stereo effect.
At present, the emperor bit is fixed in a way that a user manually adjusts the audio equipment. The user listens to the effect best when listening to the audio frequency at emperor position, if the user deviates from emperor position, the user listens to the effect and worsens, uses and experiences.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides an apparatus control method and device.
According to a first aspect of the embodiments of the present disclosure, there is provided a device control method applied to an audio system including a first audio device and a second audio device, the method including:
respectively using the first audio equipment and the second audio equipment to receive wireless signals sent by a terminal;
determining a difference between the characteristic information of the wireless signal received by the first audio device and the characteristic information of the wireless signal received by the second audio device;
when the audio system plays audio, adjusting the phase difference of the audio signals output by the first audio equipment and the second audio equipment according to the difference, so that the terminal receives the audio signals output by the first audio equipment and the second audio equipment at the same time.
Optionally, the adjusting, according to the difference, a phase difference of audio signals output by the first audio device and the second audio device includes:
determining, from the difference, a difference in propagation time of the audio signal, the difference in propagation time being a difference between a first propagation time and a second propagation time, the first propagation time being a time for the audio signal to propagate from the first audio device to the terminal, the second propagation time being a time for the audio signal to propagate from the second audio device to the terminal;
and controlling the first audio equipment to output the audio signal, and controlling the second audio equipment to output the audio signal after the propagation time difference value.
Optionally, the characteristic information includes a propagation distance; the difference comprises a propagation distance difference; said determining a difference in propagation time of said audio signal based on said difference comprises:
and dividing the propagation distance difference by the propagation speed of the audio signal to obtain the propagation time difference.
Optionally, the wireless signal carries a transmission time of the wireless signal; the determining a difference between the characteristic information of the wireless signal received by the first audio device and the characteristic information of the wireless signal received by the second audio device comprises:
determining a first receiving time of the wireless signal received by the first audio equipment, determining a first time difference value between the first receiving time and the sending time, and multiplying the first time difference value and the propagation speed of the wireless signal to obtain a first propagation distance of the wireless signal from the terminal to the first audio equipment;
determining a second receiving time of the wireless signal received by the second audio equipment, determining a second time difference value between the second receiving time and the sending time, and multiplying the second time difference value by the propagation speed of the wireless signal to obtain a second propagation distance of the wireless signal from the terminal to the second audio equipment;
and subtracting the second propagation distance from the first propagation distance to obtain the propagation distance difference.
Optionally, the characteristic information includes a reception time; the difference comprises a receive time difference value; said determining a difference in propagation time of said audio signal based on said difference comprises:
multiplying the receiving time difference by the propagation speed of the wireless signal to obtain a propagation distance difference of the audio signal;
and dividing the propagation distance difference by the propagation speed of the audio signal to obtain the propagation time difference.
Optionally, the determining a difference between the characteristic information of the wireless signal received by the first audio device and the characteristic information of the wireless signal received by the second audio device includes:
and under the condition that the wireless signals received by the first audio equipment and the second audio equipment both carry the sending time of the respective signals, determining the difference between the characteristic information of the wireless signals received by the first audio equipment and the characteristic information of the wireless signals sent at the same time received by the second audio equipment based on the sending time carried by the respective wireless signals.
Optionally, the first audio device and the second audio device each comprise a speaker array; the adjusting, according to the difference, a phase difference between the audio signals output by the first audio device and the second audio device, so that the terminal receives the audio signals output by the first audio device and the second audio device simultaneously includes:
and under the condition that the first audio equipment and the second audio equipment receive wireless signals sent by terminals at different positions, adjusting the phase difference of the audio signals output by the two loudspeaker arrays according to the corresponding difference of the wireless signals sent at different positions, so that the terminal at each position simultaneously receives the audio signals output by the two loudspeaker arrays.
According to a second aspect of the embodiments of the present disclosure, there is provided a device control apparatus applied to an audio system including a first audio device and a second audio device, the method including:
a using module configured to receive wireless signals transmitted by a terminal using the first audio device and the second audio device, respectively;
a determination module configured to determine a difference between the characteristic information of the wireless signal received by the first audio device and the characteristic information of the wireless signal received by the second audio device;
the adjusting module is configured to adjust a phase difference of audio signals output by the first audio device and the second audio device according to the difference when the audio system plays audio, so that the terminal receives the audio signals output by the first audio device and the second audio device at the same time.
Optionally, the adjusting module includes:
a determining submodule configured to determine a propagation time difference of the audio signal according to the difference, the propagation time difference being a difference between a first propagation time and a second propagation time, the first propagation time being a time for the audio signal to propagate from the first audio device to the terminal, the second propagation time being a time for the audio signal to propagate from the second audio device to the terminal;
a control sub-module configured to control the first audio device to output the audio signal, and to control the second audio device to output the audio signal after the propagation time difference has elapsed.
Optionally, the characteristic information includes a propagation distance; the difference comprises a propagation distance difference;
the determining submodule is configured to divide the propagation distance difference by the propagation speed of the audio signal to obtain the propagation time difference.
Optionally, the determining module includes:
a first obtaining submodule configured to determine a first receiving time at which the wireless signal is received by the first audio device, determine a first time difference value between the first receiving time and the sending time, and multiply the first time difference value by a propagation speed of the wireless signal to obtain a first propagation distance of the wireless signal from the terminal to the first audio device;
a second obtaining submodule configured to determine a second receiving time at which the wireless signal is received by the second audio device, determine a second time difference between the second receiving time and the sending time, and multiply the second time difference by the propagation speed of the wireless signal to obtain a second propagation distance of the wireless signal from the terminal to the second audio device;
a subtraction submodule configured to subtract the first propagation distance from the second propagation distance to obtain the propagation distance difference.
Optionally, the characteristic information includes a reception time; the difference comprises a receive time difference value; the determination submodule includes:
a multiplying unit configured to multiply the reception time difference by a propagation speed of the wireless signal to obtain a propagation distance difference of the audio signal;
a dividing unit configured to divide the propagation distance difference by the propagation speed of the audio signal to obtain the propagation time difference.
Optionally, the determining module is configured to, when each of the wireless signals received by the first audio device and the second audio device carries a transmission time of a respective signal, determine, based on the transmission time carried by each wireless signal, a difference between the feature information of the wireless signal received by the first audio device and the feature information of the wireless signal received by the second audio device and transmitted at the same time.
Optionally, the first audio device and the second audio device each comprise a speaker array;
the adjusting module is configured to, when the first audio device and the second audio device receive wireless signals sent by terminals at different positions, adjust a phase difference between audio signals output by two speaker arrays according to a difference corresponding to the wireless signals sent at the different positions, so that the terminal at each position receives the audio signals output by the two speaker arrays at the same time.
According to a third aspect of embodiments of the present disclosure, there is provided a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of any one of the above first aspects.
According to a fourth aspect of embodiments of the present disclosure, there is provided an audio system comprising:
the first audio equipment is used for receiving a wireless signal sent by the terminal;
the second audio equipment is used for receiving the wireless information sent by the terminal;
a memory for storing machine executable instructions corresponding to device controls;
a processor to read the machine executable instructions on the memory and execute the machine executable instructions to:
determining a difference between the characteristic information of the wireless signal received by the first audio device and the characteristic information of the wireless signal received by the second audio device;
when the audio system plays audio, adjusting the phase difference of the audio signals output by the first audio equipment and the second audio equipment according to the difference, so that the terminal receives the audio signals output by the first audio equipment and the second audio equipment at the same time.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
in the embodiment of the disclosure, an audio system receives wireless signals sent by a terminal by using first audio equipment and second audio equipment respectively, determines a difference between characteristic information of the wireless signals received by the first audio equipment and characteristic information of the wireless signals received by the second audio equipment, and adjusts a phase difference of the audio signals output by the first audio equipment and the second audio equipment according to the difference when the audio system plays audio, so that the terminal receives the audio signals output by the first audio equipment and the second audio equipment at the same time, and a user obtains an optimal listening effect. By the method, the user carrying the terminal can obtain the best listening effect at different positions, and the user experience is very good.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
FIG. 1 is a flow chart illustrating a method of controlling a device according to an exemplary embodiment;
FIG. 2 is a block diagram illustrating an appliance control device according to an exemplary embodiment;
fig. 3 is a schematic diagram illustrating the structure of an audio system according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
Fig. 1 is a flowchart illustrating a device control method according to an exemplary embodiment, in which the method illustrated in fig. 1 is applied to an audio system including a first audio device and a second audio device, the method including:
in step 101, wireless signals transmitted by a terminal are received using a first audio device and a second audio device, respectively.
In the embodiment of the disclosure, the audio device has a function of playing audio and a function of receiving a wireless signal sent by a terminal. The audio device may be a sound box.
The Wireless signal transmitted by the terminal may be a short-wave signal, for example, a UWB (Ultra Wide Band) signal, a BT (bluetooth) signal, a WIFI (Wireless Fidelity) signal, an ultrasonic signal, or the like.
In step 102, a difference between the characteristic information of the wireless signal received by the first audio device and the characteristic information of the wireless signal received by the second audio device is determined.
The characteristic information of the wireless signal is characteristic information that the wireless signal exhibits during propagation, such as propagation distance, propagation time, propagation speed, reception time, signal strength, and the like of the wireless signal.
Accordingly, the difference between the characteristic information of the wireless signal received by the first audio device and the characteristic information of the wireless signal received by the second audio device may be a propagation distance difference, a propagation time difference, a reception time difference, a signal strength difference, and the like.
In one embodiment, a propagation distance of the wireless signal from the terminal to the first audio device is referred to as a first propagation distance, a propagation distance of the wireless signal from the terminal to the second audio device is referred to as a second propagation distance, and the first propagation distance and the second propagation distance are subtracted to obtain a propagation distance difference of the wireless signal.
In this embodiment, the difference includes a propagation distance difference. The wireless signal transmitted by the terminal may carry the transmission time of the wireless signal.
The audio system may determine a first receiving time for the first audio device to receive the wireless signal, obtain a sending time carried by the wireless signal, determine a first time difference between the first receiving time and the sending time, and multiply the first time difference by a propagation speed of the wireless signal to obtain a first propagation distance for the wireless signal to propagate from the terminal to the first audio device.
The audio system may determine a second receiving time for the second audio device to receive the wireless signal, obtain a sending time carried by the wireless signal, determine a second time difference between the second receiving time and the sending time, and multiply the second time difference by the propagation speed of the wireless signal to obtain a second propagation distance for the wireless signal to propagate from the terminal to the second audio device.
In one embodiment, the wireless signal transmitted by the terminal carries the transmission time of the wireless signal. The audio equipment can receive wireless signals sent by the terminal at different moments, and the sending time carried by the wireless signals sent at different moments is different.
In a case where each of the wireless signals received by the first audio device and the second audio device carries the transmission time of the respective signal, the sound box system may determine, based on the transmission time carried by each of the wireless signals, a difference between the characteristic information of the wireless signal received by the first audio device and the characteristic information of the wireless signal received by the second audio device and transmitted at the same time. Therefore, the wireless signals transmitted at different moments are distinguished and processed.
For example, the terminal sequentially sends wireless signals at three indoor positions, the sending time carried by the wireless signals sent at different moments is different, and the audio device can determine the wireless signals sent at the same moment according to the sending time carried by the wireless signals and determine the corresponding difference of the wireless signals sent at the same moment.
In step 103, when the audio system plays audio, the phase difference between the audio signals output by the first audio device and the second audio device is adjusted according to the difference, so that the terminal receives the audio signals output by the first audio device and the second audio device simultaneously.
In one embodiment, the audio system determines a propagation time difference of the audio signals according to the difference, the propagation time difference is a difference between a first propagation time and a second propagation time, the first propagation time is a time for the audio signals to propagate from the first audio device to the terminal, the second propagation time is a time for the audio signals to propagate from the second audio device to the terminal, the audio system controls the first audio device to output the audio signals, and after the propagation time difference, controls the second audio output audio signals so that the terminal receives the audio signals output by the first audio device and the second audio device at the same time. In the above process, the propagation time difference is greater than zero.
In this embodiment, the characteristic information may include a propagation distance of the wireless signal, and the difference may include a difference in the propagation distance of the wireless signal. The process of determining the propagation distance difference of the wireless signal can refer to the description in step 102.
Typically, the difference in propagation distance of the wireless signals is equal to the difference in propagation distance of the audio signals. The audio system may divide the difference in propagation distance of the wireless signal by the propagation speed of the audio signal to obtain the difference in propagation time of the audio signal.
In a fixed propagation medium, the propagation speed of an audio signal is fixed. For example, the propagation velocity of an audio signal is about 340m/s at 1 atm and 15 ℃ in air.
For example, the distance between the terminal and the first audio device is 4m, the distance between the terminal and the second audio device is 2m, the propagation speed of the audio signal in the air is 340m/s, and based on this, the propagation time difference of the audio signal is determined
Figure BDA0002552697560000101
And controlling the first audio equipment to output the audio signal, and controlling the second audio equipment to output the audio signal after the time t, so that the terminal receives the audio signals output by the first audio equipment and the second audio equipment at the same time.
In one embodiment, the time when the first audio device receives the wireless signal is called a first receiving time, the time when the second audio device receives the wireless signal is called a second receiving time, and the first receiving time and the second receiving time are subtracted to obtain the receiving time difference of the wireless signal.
In this embodiment, the characteristic information may include a reception time of the wireless signal, and the difference may include a reception time difference of the wireless signal.
Based on this, the loudspeaker system can determine the propagation time difference of the audio signals by the following means: firstly, multiplying the receiving time difference of the wireless signals by the propagation speed of the wireless signals to obtain the propagation distance difference of the wireless signals, wherein the propagation distance difference of the wireless signals is equal to the propagation distance difference of the audio signals, and then dividing the propagation distance difference of the audio signals by the propagation speed of the audio signals to obtain the propagation time difference of the audio signals.
In one embodiment, the first audio device and the second audio device each comprise a speaker array having the function of determining the direction of propagation of the signal.
Based on this, the audio system can adjust the phase difference of the audio signals output by the first audio device and the second audio device by: under the condition that the first audio equipment and the second audio equipment receive wireless signals sent by terminals at different positions, the phase difference of the audio signals output by the two loudspeaker arrays is adjusted according to the corresponding difference of the wireless signals sent at different positions, so that the terminal at each position simultaneously receives the audio signals output by the two loudspeaker arrays. Thus, users at different positions can obtain the best listening effect.
For example, a combined sound box is arranged indoors, each sound box in the combined sound box is provided with a speaker array, two persons respectively use mobile phones to send wireless signals, the combined sound box adjusts the phase difference of audio signals output by the two speaker arrays according to the corresponding difference of the wireless signals sent at different positions, so that the mobile phones at each position all receive the audio signals output by the two speaker arrays at the same time, and users at each position all can obtain the best listening effect.
In one embodiment, the first audio device and the second audio device are connected under the same router to form a local area network and then establish communication, wherein one audio device acquires the characteristic information of the wireless signal or the information for determining the characteristic information and sends the characteristic information of the wireless signal or the information for determining the characteristic information to the other audio device.
And the other audio equipment determines the difference according to the information sent by the one audio equipment and the information acquired by the self equipment, determines the time for the one audio equipment to start outputting the audio signal according to the difference, determines the time for the self equipment to start outputting the audio signal, and sends the time for the one audio equipment to start outputting the audio signal to the one audio equipment so that the one audio equipment starts outputting the audio signal when the time is reached.
Through interaction between the two audio devices, the audio signals output by the first audio device and the second audio device simultaneously reach the terminal.
In the embodiment of the disclosure, an audio system receives wireless signals sent by a terminal by using first audio equipment and second audio equipment respectively, determines a difference between characteristic information of the wireless signals received by the first audio equipment and characteristic information of the wireless signals received by the second audio equipment, and adjusts a phase difference of the audio signals output by the first audio equipment and the second audio equipment according to the difference when the audio system plays audio, so that the terminal receives the audio signals output by the first audio equipment and the second audio equipment at the same time. The user uses the terminal to send wireless signals, and triggers the audio system to automatically adjust the phase difference of the audio signals output by the two audio devices, so that the user can obtain the optimal listening effect. By the method, the user carrying the terminal can obtain the best listening effect at different positions, and the user experience is very good.
While, for purposes of simplicity of explanation, the foregoing method embodiments have been described as a series of acts or combination of acts, it will be appreciated by those skilled in the art that the present disclosure is not limited by the order of acts, as some steps may, in accordance with the present disclosure, occur in other orders and concurrently.
Further, those skilled in the art should also appreciate that the embodiments described in the specification are exemplary embodiments and that acts and modules referred to are not necessarily required by the disclosure.
Corresponding to the embodiment of the application function implementation method, the disclosure also provides an embodiment of an application function implementation device and a corresponding terminal.
Fig. 2 is a block diagram of a device control apparatus according to an exemplary embodiment, applied to an audio system including a first audio device and a second audio device, the apparatus including: a usage module 21, a determination module 22 and an adjustment module 23; wherein,
the using module 21 is configured to receive wireless signals transmitted by the terminal by using the first audio device and the second audio device respectively;
the determining module 22 configured to determine a difference between the characteristic information of the wireless signal received by the first audio device and the characteristic information of the wireless signal received by the second audio device;
the adjusting module 23 is configured to, when the audio system plays audio, adjust a phase difference between audio signals output by the first audio device and the second audio device according to the difference, so that the terminal receives the audio signals output by the first audio device and the second audio device at the same time.
In an alternative embodiment, on the basis of the device control apparatus shown in fig. 2, the adjusting module 23 may include: a determination submodule and a control submodule; wherein,
the determining submodule is configured to determine a propagation time difference of the audio signal according to the difference, wherein the propagation time difference is a difference between a first propagation time and a second propagation time, the first propagation time is a time for the audio signal to propagate from the first audio device to the terminal, and the second propagation time is a time for the audio signal to propagate from the second audio device to the terminal;
the control sub-module is configured to control the first audio device to output the audio signal, and control the second audio device to output the audio signal after the propagation time difference value is passed.
In an alternative embodiment, the characteristic information includes a propagation distance; the difference comprises a propagation distance difference;
the determining submodule may be configured to divide the propagation distance difference by a propagation speed of the audio signal to obtain the propagation time difference.
In an optional embodiment, the determining module 22 may include: a first obtaining submodule, a second obtaining submodule and a subtracting submodule; wherein,
the first obtaining submodule is configured to determine a first receiving time when the first audio device receives the wireless signal, determine a first time difference value between the first receiving time and the sending time, and multiply the first time difference value and the propagation speed of the wireless signal to obtain a first propagation distance of the wireless signal from the terminal to the first audio device;
the second obtaining submodule is configured to determine a second receiving time when the second audio device receives the wireless signal, determine a second time difference between the second receiving time and the sending time, and multiply the second time difference and the propagation speed of the wireless signal to obtain a second propagation distance of the wireless signal from the terminal to the second audio device;
the subtraction submodule is configured to subtract the first propagation distance from the second propagation distance to obtain the propagation distance difference.
In an alternative embodiment, the characteristic information includes a reception time; the difference comprises a receive time difference value; the determining sub-module may include: a multiplication unit and a division unit; wherein,
the multiplying unit is configured to multiply the receiving time difference value by the propagation speed of the wireless signal to obtain a propagation distance difference value of the audio signal;
the dividing unit is configured to divide the propagation distance difference by the propagation speed of the audio signal to obtain the propagation time difference.
In an optional embodiment, on the basis of the device control apparatus shown in fig. 2, the determining module 22 may be configured to, when each of the wireless signals received by the first audio device and the second audio device carries a transmission time of a respective signal, determine, based on the transmission time carried by each wireless signal, a difference between the feature information of the wireless signal received by the first audio device and the feature information of the wireless signal received by the second audio device and transmitted at the same time.
In an alternative embodiment, on the basis of the device control apparatus shown in fig. 2, the first audio device and the second audio device each include a speaker array;
the adjusting module 23 may be configured to, when the first audio device and the second audio device receive wireless signals sent by terminals at different positions, adjust a phase difference between audio signals output by two speaker arrays according to a difference corresponding to the wireless signals sent at the different positions, so that the terminal at each position receives the audio signals output by the two speaker arrays at the same time.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution. One of ordinary skill in the art can understand and implement it without inventive effort.
The embodiment of the disclosure also provides an audio system. Fig. 3 is a schematic diagram illustrating the structure of an audio system according to an exemplary embodiment, the audio system shown in fig. 3 including:
a first audio device 31 for receiving a wireless signal transmitted by a terminal;
a second audio device 32, configured to receive the wireless information sent by the terminal;
a memory 33 for storing device control corresponding machine readable instructions;
a processor 34 configured to read the machine-readable instructions on the memory 33 and execute the instructions to:
determining a difference between the characteristic information of the wireless signal received by the first audio device and the characteristic information of the wireless signal received by the second audio device;
when the audio system plays audio, adjusting the phase difference of the audio signals output by the first audio equipment and the second audio equipment according to the difference, so that the terminal receives the audio signals output by the first audio equipment and the second audio equipment at the same time.
The processor 34 and the memory 33 may be located in separate devices, or may be located in the first audio device 31, or may be located in the second audio device 32.
In the disclosed embodiments, the computer readable storage medium may take many forms, such as, in various examples: a RAM (random Access Memory), a volatile Memory, a non-volatile Memory, a flash Memory, a storage drive (e.g., a hard drive), a solid state drive, any type of storage disk (e.g., an optical disk, a dvd, etc.), or similar storage medium, or a combination thereof. In particular, the computer readable medium may be paper or another suitable medium upon which the program is printed. Using these media, the programs can be electronically captured (e.g., optically scanned), compiled, interpreted, and processed in a suitable manner, and then stored in a computer medium.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (16)

1. A device control method applied to an audio system including a first audio device and a second audio device, the method comprising:
respectively using the first audio equipment and the second audio equipment to receive wireless signals sent by a terminal;
determining a difference between the characteristic information of the wireless signal received by the first audio device and the characteristic information of the wireless signal received by the second audio device;
when the audio system plays audio, adjusting the phase difference of the audio signals output by the first audio equipment and the second audio equipment according to the difference, so that the terminal receives the audio signals output by the first audio equipment and the second audio equipment at the same time.
2. The method of claim 1, wherein the adjusting the phase difference of the audio signals output by the first audio device and the second audio device according to the difference comprises:
determining, from the difference, a difference in propagation time of the audio signal, the difference in propagation time being a difference between a first propagation time and a second propagation time, the first propagation time being a time for the audio signal to propagate from the first audio device to the terminal, the second propagation time being a time for the audio signal to propagate from the second audio device to the terminal;
and controlling the first audio equipment to output the audio signal, and controlling the second audio equipment to output the audio signal after the propagation time difference value.
3. The method of claim 2, wherein the characteristic information comprises a propagation distance; the difference comprises a propagation distance difference; said determining a difference in propagation time of said audio signal based on said difference comprises:
and dividing the propagation distance difference by the propagation speed of the audio signal to obtain the propagation time difference.
4. The method of claim 3, wherein the wireless signal carries a transmission time of the wireless signal; the determining a difference between the characteristic information of the wireless signal received by the first audio device and the characteristic information of the wireless signal received by the second audio device comprises:
determining a first receiving time of the wireless signal received by the first audio equipment, determining a first time difference value between the first receiving time and the sending time, and multiplying the first time difference value and the propagation speed of the wireless signal to obtain a first propagation distance of the wireless signal from the terminal to the first audio equipment;
determining a second receiving time of the wireless signal received by the second audio equipment, determining a second time difference value between the second receiving time and the sending time, and multiplying the second time difference value by the propagation speed of the wireless signal to obtain a second propagation distance of the wireless signal from the terminal to the second audio equipment;
and subtracting the second propagation distance from the first propagation distance to obtain the propagation distance difference.
5. The method of claim 2, wherein the characteristic information includes a time of receipt; the difference comprises a receive time difference value; said determining a difference in propagation time of said audio signal based on said difference comprises:
multiplying the receiving time difference by the propagation speed of the wireless signal to obtain a propagation distance difference of the audio signal;
and dividing the propagation distance difference by the propagation speed of the audio signal to obtain the propagation time difference.
6. The method of claim 1, wherein the determining a difference between the characteristic information of the wireless signal received by the first audio device and the characteristic information of the wireless signal received by the second audio device comprises:
and under the condition that the wireless signals received by the first audio equipment and the second audio equipment both carry the sending time of the respective signals, determining the difference between the characteristic information of the wireless signals received by the first audio equipment and the characteristic information of the wireless signals sent at the same time received by the second audio equipment based on the sending time carried by the respective wireless signals.
7. The method of claim 1, wherein the first audio device and the second audio device each comprise a speaker array; the adjusting, according to the difference, a phase difference between the audio signals output by the first audio device and the second audio device, so that the terminal receives the audio signals output by the first audio device and the second audio device simultaneously includes:
and under the condition that the first audio equipment and the second audio equipment receive wireless signals sent by terminals at different positions, adjusting the phase difference of the audio signals output by the two loudspeaker arrays according to the corresponding difference of the wireless signals sent at different positions, so that the terminal at each position simultaneously receives the audio signals output by the two loudspeaker arrays.
8. A device control apparatus, applied to an audio system including a first audio device and a second audio device, the method comprising:
a using module configured to receive wireless signals transmitted by a terminal using the first audio device and the second audio device, respectively;
a determination module configured to determine a difference between the characteristic information of the wireless signal received by the first audio device and the characteristic information of the wireless signal received by the second audio device;
the adjusting module is configured to adjust a phase difference of audio signals output by the first audio device and the second audio device according to the difference when the audio system plays audio, so that the terminal receives the audio signals output by the first audio device and the second audio device at the same time.
9. The apparatus of claim 8, wherein the adjustment module comprises:
a determining submodule configured to determine a propagation time difference of the audio signal according to the difference, the propagation time difference being a difference between a first propagation time and a second propagation time, the first propagation time being a time for the audio signal to propagate from the first audio device to the terminal, the second propagation time being a time for the audio signal to propagate from the second audio device to the terminal;
a control sub-module configured to control the first audio device to output the audio signal, and to control the second audio device to output the audio signal after the propagation time difference has elapsed.
10. The apparatus of claim 9, wherein the characteristic information comprises a propagation distance; the difference comprises a propagation distance difference;
the determining submodule is configured to divide the propagation distance difference by the propagation speed of the audio signal to obtain the propagation time difference.
11. The apparatus of claim 10, wherein the determining module comprises:
a first obtaining submodule configured to determine a first receiving time at which the wireless signal is received by the first audio device, determine a first time difference value between the first receiving time and the sending time, and multiply the first time difference value by a propagation speed of the wireless signal to obtain a first propagation distance of the wireless signal from the terminal to the first audio device;
a second obtaining submodule configured to determine a second receiving time at which the wireless signal is received by the second audio device, determine a second time difference between the second receiving time and the sending time, and multiply the second time difference by the propagation speed of the wireless signal to obtain a second propagation distance of the wireless signal from the terminal to the second audio device;
a subtraction submodule configured to subtract the first propagation distance from the second propagation distance to obtain the propagation distance difference.
12. The apparatus of claim 9, wherein the characteristic information comprises a time of receipt; the difference comprises a receive time difference value; the determination submodule includes:
a multiplying unit configured to multiply the reception time difference by a propagation speed of the wireless signal to obtain a propagation distance difference of the audio signal;
a dividing unit configured to divide the propagation distance difference by the propagation speed of the audio signal to obtain the propagation time difference.
13. The apparatus of claim 8, wherein:
the determining module is configured to determine, based on the transmission time carried by each wireless signal, a difference between the feature information of the wireless signal received by the first audio device and the feature information of the wireless signal received by the second audio device and transmitted at the same time, in the case that each wireless signal received by the first audio device and the second audio device carries the transmission time of the respective signal.
14. The apparatus of claim 8, wherein the first audio device and the second audio device each comprise a speaker array;
the adjusting module is configured to, when the first audio device and the second audio device receive wireless signals sent by terminals at different positions, adjust a phase difference between audio signals output by two speaker arrays according to a difference corresponding to the wireless signals sent at the different positions, so that the terminal at each position receives the audio signals output by the two speaker arrays at the same time.
15. A non-transitory computer readable storage medium, on which a computer program is stored, which, when executed by a processor, performs the steps of the method of any one of claims 1 to 7.
16. An audio system, comprising:
the first audio equipment is used for receiving a wireless signal sent by the terminal;
the second audio equipment is used for receiving the wireless information sent by the terminal;
a memory for storing machine executable instructions corresponding to device controls;
a processor to read the machine executable instructions on the memory and execute the machine executable instructions to:
determining a difference between the characteristic information of the wireless signal received by the first audio device and the characteristic information of the wireless signal received by the second audio device;
when the audio system plays audio, adjusting the phase difference of the audio signals output by the first audio equipment and the second audio equipment according to the difference, so that the terminal receives the audio signals output by the first audio equipment and the second audio equipment at the same time.
CN202010582099.6A 2020-06-23 2020-06-23 Equipment control method and device Pending CN111787478A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010582099.6A CN111787478A (en) 2020-06-23 2020-06-23 Equipment control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010582099.6A CN111787478A (en) 2020-06-23 2020-06-23 Equipment control method and device

Publications (1)

Publication Number Publication Date
CN111787478A true CN111787478A (en) 2020-10-16

Family

ID=72757111

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010582099.6A Pending CN111787478A (en) 2020-06-23 2020-06-23 Equipment control method and device

Country Status (1)

Country Link
CN (1) CN111787478A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112492073A (en) * 2020-11-24 2021-03-12 捷开通讯(深圳)有限公司 Audio playing method and device, storage medium and mobile terminal
CN115766319A (en) * 2022-11-29 2023-03-07 深圳市品声科技有限公司 Split type wireless audio communication method and system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005292250A (en) * 2004-03-31 2005-10-20 Toshiba Corp Portable electronic equipment
CN1835648A (en) * 2005-03-15 2006-09-20 雅马哈株式会社 Position detecting system, speaker system, and user terminal apparatus
CN101401454A (en) * 2006-03-15 2009-04-01 杜比实验室特许公司 Stereophonic sound imaging
CN104703092A (en) * 2013-12-09 2015-06-10 国民技术股份有限公司 Audio signal transmission method and device, mobile terminal and audio communication system
CN106031195A (en) * 2014-02-06 2016-10-12 邦&奥夫森公司 System and method to utilize geo-fences
CN106878915A (en) * 2017-02-17 2017-06-20 广东欧珀移动通信有限公司 The control method of playback equipment, device and playback equipment and mobile terminal
CN107736037A (en) * 2017-08-30 2018-02-23 万魔声学科技有限公司 Sound playing method, equipment and readable storage medium storing program for executing
CN108464018A (en) * 2015-10-30 2018-08-28 迪拉克研究公司 Reduce the phase difference between the voice-grade channel at multiple spatial positions
CN108476359A (en) * 2015-12-15 2018-08-31 Pss比利时股份有限公司 Loudspeaker assembly and correlation technique

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005292250A (en) * 2004-03-31 2005-10-20 Toshiba Corp Portable electronic equipment
CN1835648A (en) * 2005-03-15 2006-09-20 雅马哈株式会社 Position detecting system, speaker system, and user terminal apparatus
CN101401454A (en) * 2006-03-15 2009-04-01 杜比实验室特许公司 Stereophonic sound imaging
CN104703092A (en) * 2013-12-09 2015-06-10 国民技术股份有限公司 Audio signal transmission method and device, mobile terminal and audio communication system
CN106031195A (en) * 2014-02-06 2016-10-12 邦&奥夫森公司 System and method to utilize geo-fences
CN108464018A (en) * 2015-10-30 2018-08-28 迪拉克研究公司 Reduce the phase difference between the voice-grade channel at multiple spatial positions
CN108476359A (en) * 2015-12-15 2018-08-31 Pss比利时股份有限公司 Loudspeaker assembly and correlation technique
CN106878915A (en) * 2017-02-17 2017-06-20 广东欧珀移动通信有限公司 The control method of playback equipment, device and playback equipment and mobile terminal
CN107736037A (en) * 2017-08-30 2018-02-23 万魔声学科技有限公司 Sound playing method, equipment and readable storage medium storing program for executing

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112492073A (en) * 2020-11-24 2021-03-12 捷开通讯(深圳)有限公司 Audio playing method and device, storage medium and mobile terminal
CN112492073B (en) * 2020-11-24 2021-09-28 捷开通讯(深圳)有限公司 Audio playing method and device, storage medium and mobile terminal
WO2022110308A1 (en) * 2020-11-24 2022-06-02 捷开通讯(深圳)有限公司 Audio playback method and apparatus, storage medium, and mobile terminal
CN115766319A (en) * 2022-11-29 2023-03-07 深圳市品声科技有限公司 Split type wireless audio communication method and system
CN115766319B (en) * 2022-11-29 2024-06-11 深圳市品声科技有限公司 Split wireless audio communication method and system

Similar Documents

Publication Publication Date Title
US11350234B2 (en) Systems and methods for calibrating speakers
US9900723B1 (en) Multi-channel loudspeaker matching using variable directivity
JP4232775B2 (en) Sound field correction device
US9277321B2 (en) Device discovery and constellation selection
US8989552B2 (en) Multi device audio capture
US10111018B2 (en) Processor-readable medium, apparatus and method for updating hearing aid
KR20210008779A (en) Surround audio device and method of providing multi-channel surround audio signal to a plurality of electronic devices including a speaker
US20130051572A1 (en) Method for optimizing reproduction of audio signals from an apparatus for audio reproduction
US20120148075A1 (en) Method for optimizing reproduction of audio signals from an apparatus for audio reproduction
CN101129088B (en) Portable device with enhanced stereo image
US20140362995A1 (en) Method and Apparatus for Location Based Loudspeaker System Configuration
US9363597B1 (en) Distance-based audio processing for parametric speaker system
CN105144747A (en) Acoustic beacon for broadcasting the orientation of a device
CN111787478A (en) Equipment control method and device
US20160014513A1 (en) System and method for playback in a speaker system
CN110874203A (en) Screen sounding controller, method, device, terminal and storage medium
US20150055781A1 (en) Wireless speaker device and wirelessly multi-channel audio system thereof
CN105390144A (en) Audio processing method and audio processing device
US9412354B1 (en) Method and apparatus to use beams at one end-point to support multi-channel linear echo control at another end-point
CN106535061A (en) System and method for enhancing virtual audio height perception
KR20210124217A (en) Intelligent personal assistant
JP2021532700A (en) A Bluetooth speaker configured to generate sound and act as both a sink and a source at the same time.
CN104184426A (en) Volume adjusting method and apparatus
CN109982209A (en) A kind of car audio system
JP2006196940A (en) Sound image localization control apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20201016

RJ01 Rejection of invention patent application after publication