CN112162460A - Audio playing method and related device - Google Patents

Audio playing method and related device Download PDF

Info

Publication number
CN112162460A
CN112162460A CN202011038996.7A CN202011038996A CN112162460A CN 112162460 A CN112162460 A CN 112162460A CN 202011038996 A CN202011038996 A CN 202011038996A CN 112162460 A CN112162460 A CN 112162460A
Authority
CN
China
Prior art keywords
base
sound box
audio signal
determining
sound
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.)
Granted
Application number
CN202011038996.7A
Other languages
Chinese (zh)
Other versions
CN112162460B (en
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.)
Shenzhen Huole Science and Technology Development Co Ltd
Original Assignee
Shenzhen Huole Science and Technology Development 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 Shenzhen Huole Science and Technology Development Co Ltd filed Critical Shenzhen Huole Science and Technology Development Co Ltd
Priority to CN202011038996.7A priority Critical patent/CN112162460B/en
Publication of CN112162460A publication Critical patent/CN112162460A/en
Application granted granted Critical
Publication of CN112162460B publication Critical patent/CN112162460B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B31/00Associated working of cameras or projectors with sound-recording or sound-reproducing means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/02Casings; Cabinets ; Supports therefor; Mountings therein
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/20Arrangements for obtaining desired frequency or directional characteristics

Abstract

The embodiment of the application discloses an audio playing method and a related device, which are applied to a projector, wherein the method comprises the following steps: determining a first base which is closest to a first sound box in the plurality of bases; determining whether the first pedestal is matched with the first loudspeaker box; under the condition that the first base is matched with the first sound box, sending a first audio signal to the first sound box; under the condition that the first base is not matched with the first loudspeaker box, a communication link between the first base and the first loudspeaker box is established, and the first audio signal is sent to the first loudspeaker box through the communication link. Like this, can the audio signal that present audio amplifier needs to broadcast by automatic identification for the base that will put can be confirmed at will to the audio amplifier, and the sound image can not appear and fix a position the disorderly condition, improves user's use and experiences.

Description

Audio playing method and related device
Technical Field
The present application relates to the field of information dissemination technologies, and in particular, to an audio playing method and a related apparatus.
Background
When a sound image is reproduced in stereo by two or more sound boxes, the listener has a feeling impression of the sound position, and this feeling impression is sometimes called a phantom, and the spatial distribution of the sound image is determined by the human binaural effect. The stereo sound reproduction is in the form of sound image, and reproduces the spatial distribution of the original sound, so that people can generate an illusion and induce a stereo feeling. The brain receives the left and right two groups of sounds through the auditory sense, and the sounds are generated according to the weak changes of the volume and the time, and the planar images can be manufactured into a three-dimensional effect by using two eyes as the vision of people. However, when the left and right sound channels of two or more sound boxes are misplaced, the sound image localization is disturbed, which affects the user experience.
Disclosure of Invention
The embodiment of the application provides an audio playing method and a related device, aiming at realizing normal sound field positioning during sound playing.
In a first aspect, an embodiment of the present application provides an audio playing method, which is applied to a projector, where the projector includes a host, a plurality of bases disposed on the host, and a plurality of speakers corresponding to the plurality of bases in number, and the method includes:
determining a first base closest to a first sound box in the plurality of bases, wherein the first sound box is a sound box in the plurality of sound boxes;
determining whether the first pedestal is matched with the first loudspeaker box;
under the condition that the first base is matched with the first sound box, sending an audio signal to the first sound box through a wireless transmitting module of the first base, and playing the audio signal after receiving the audio signal through a wireless receiving module of the first sound box;
under the condition that the first base is not matched with the first sound box, a communication link between the first base and the first sound box is established, the wireless transmitting module of the first base sends the audio signal to the first sound box through the communication link, and the audio signal is played after the wireless receiving module of the first sound box receives the audio signal.
In a second aspect, an embodiment of the present application provides a projector, the projector includes a host computer, a plurality of bases arranged on the host computer, and a plurality of sound boxes corresponding to the number of the bases, the projector includes:
the first determining unit is used for determining a first base which is closest to a first sound box in the plurality of bases, and the first sound box is a sound box in the plurality of sound boxes;
the second matching unit is used for determining whether the first base is matched with the first sound box or not;
the first playing unit is used for sending an audio signal to the first sound box through the first base wireless transmitting module under the condition that the first base is matched with the first sound box, and playing the audio signal after receiving the audio signal through the wireless receiving module of the first sound box;
the second playing unit is used for establishing a communication link between the first base and the first sound box under the condition that the first base is not matched with the first sound box, the wireless transmitting module of the first base sends the audio signal to the first sound box through the communication link, and the audio signal is played after the wireless receiving module of the first sound box receives the audio signal.
In a third aspect, an embodiment of the present application provides a sound box, which is applied to a projector, where the projector includes a host, a plurality of bases disposed on the host, and a plurality of sound boxes corresponding to the plurality of bases in number, and the sound box includes:
the second determining unit is used for determining a first base which is closest to a first sound box in the plurality of bases, and the first sound box is a sound box in the plurality of sound boxes;
the second matching unit is used for determining whether the first base is matched with the first sound box or not;
the third playing unit is used for receiving the audio signal sent by the wireless transmitting module of the first base through the wireless receiving module of the first sound box and playing the audio signal under the condition that the first base is matched with the first sound box;
and the fourth playing unit is used for establishing a communication link between the first base and the first sound box under the condition that the first base is not matched with the first sound box, and the first sound box receives the audio signal generated by the wireless transmitting module of the first base through the wireless receiving module and plays the audio signal.
In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform part or all of the steps described in any one of the methods of the first aspect of the present application.
In a fifth aspect, the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform some or all of the steps as described in any one of the methods of the first aspect of the embodiments of the present application. The computer program product may be a software installation package.
It can be seen that, in this embodiment of the application, first, determine the first base closest to the first sound box in the plurality of bases, the first sound box is a sound box in the plurality of sound boxes, then, determine whether the first base matches with the first sound box, under the condition that the first base matches with the first sound box, send the first audio signal to the first sound box, and play the first audio signal through the first sound box, under the condition that the first base does not match with the first sound box, establish a communication link between the first base and the first sound box, send the first audio signal to the first sound box through the communication link, and through the first play the first audio signal. Like this, can the audio signal that present audio amplifier needs to broadcast by automatic identification for the base that will put can be confirmed at will to the audio amplifier, and the sound image can not appear and fix a position the disorderly condition, improves user's use and experiences.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic view of a projector according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of an audio signal playing method according to an embodiment of the present application;
fig. 3 is a block diagram illustrating functional units of a projector according to an embodiment of the present disclosure;
fig. 4 is a block diagram of functional units of a sound box according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
At present, when wireless audio amplifier outward appearance is the same, the user when matching audio amplifier and base, the condition of audio amplifier misplacing the base appears easily, when sound channel misplacing position about two or more than two audio amplifiers, the acoustic image localization will be disorderly, influences user's use and experiences.
In view of the foregoing problems, embodiments of the present application provide an audio playing method and a related apparatus, and the following describes embodiments of the present application in detail with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a schematic view of a projector according to an embodiment of the present disclosure. The projector comprises a main machine 100, a base 120 positioned on the main machine 100, and a sound box 110, wherein the sound box 110 is positioned above the base 120, and the sound box 110 can be positioned above the base 120 in a magnetic suspension manner. The main unit 100 may be located on a plurality of bases 120, and the projector may further include a number of sound boxes 110 equal to the number of the bases 120. The host 100 transmits the audio signals to different bases 120, and the bases 120 transmit the audio signals to the speakers 110 connected to the bases 120, so that the audio signals are played through the speakers 110. The base 120 further includes a wireless transmitting module for transmitting an audio signal to the sound box 110, and the sound box 110 further includes a wireless receiving module for receiving the audio signal transmitted by the base 120. The wireless transmitting module and the wireless receiving module can transmit or receive signals in a Bluetooth or Wi-Fi mode and the like.
Referring to fig. 2, fig. 2 is a schematic flow chart of an audio signal playing method according to an embodiment of the present application, where the audio signal playing method is applied to a projector, the projector includes a host, a plurality of bases disposed on the host, and a plurality of speakers corresponding to the number of the bases, and the method includes the following steps.
S201, determining a first base which is closest to a first sound box in the plurality of bases, wherein the first sound box is a sound box in the plurality of sound boxes.
The projector generally comprises a plurality of bases and a plurality of sound boxes corresponding to the bases in number, and if the projector is not used for the first time, the general sound boxes can keep a connection relation with the bases corresponding to the projector in the last use. That is, the sound box and the base can be always connected, or when the device is started, the sound box is automatically connected with the base connected last time again. When the first base closest to the first sound box is determined, the determination can be performed in a contact mode or a wireless mode.
S202, determining whether the first base is matched with the first sound box.
When two bases exist in the projector, the audio signal is usually divided into a left channel audio signal and a right channel audio signal, and the two audio signals are respectively sent to different bases, so that when the bases send respective audio signals to the sound box for playing, it is necessary to determine whether the sound box is matched with the base or not, that is, it is necessary to determine whether the sound box placed on the left base is matched with the left base or not. Because if when the left side base with place the audio amplifier on the base on the right when being connected, the audio amplifier on the base on the right can play left channel audio signal, can cause the acoustic image disorder like this, influence user's listening experience. The time for determining whether the first base is matched with the first sound box may be when the projector is turned off, the sound box is in contact with the base, or when the projector is turned on, it may be determined whether the first base is matched with the first sound box, or when the base determined by the first sound box and closest to the first sound box is changed, it may be determined again whether the base currently closest to the first sound box is matched with the first sound box.
S203, under the condition that the first base is matched with the first sound box, sending an audio signal to the first sound box through the wireless transmitting module of the first base, and playing the audio signal after receiving the audio signal through the wireless receiving module of the first sound box.
If the first base is matched with the first sound box, that is, the first base is connected with the nearest first sound box, or the transmitting frequency and the receiving frequency of the wireless transmitting module of the first base are the same as those of the wireless receiving module of the nearest first sound box, the audio signal can be directly transmitted to the first sound box. If the projector has two bases, the sound box closest to the left base is just connected with the left base at the moment, the left channel audio signal sent by the left base is played, and the right base is the same.
S204, under the condition that the first base is not matched with the first sound box, a communication link between the first base and the first sound box is established, the wireless transmitting module of the first base sends the audio signal to the first sound box through the communication link, and the audio signal is played after the wireless receiving module of the first sound box receives the audio signal.
If the first base is not matched with the first sound box, that is, the first base is not connected with the nearest first sound box, the sound boxes or the bases connected with the first base and the first sound box respectively need to be disconnected, then a communication link between the first base and the first sound box is established, so that the first base is connected with the first sound box, and then the audio signal received by the first base is sent to the first sound box through the wireless transmission module. That is to say, if the projector includes two bases this moment, the left base with place the audio amplifier on the right base and be connected, the right base with place the audio amplifier on the left base and be connected, if do not reestablish the relation of connection between audio amplifier and base this moment, right track audio signal will be broadcast to the audio amplifier on the left, left track audio signal can be broadcast to the audio amplifier on the right, can cause the acoustic image disorder like this, consequently, need reestablish the communication link between audio amplifier and base, make the left base with place the audio amplifier connection on the left base, the base on the same reason right with place the audio amplifier connection on the right base.
It can be seen that, in this application embodiment, first confirm with the nearest first base of first audio amplifier distance in a plurality of bases, first audio amplifier is audio amplifier in a plurality of audio amplifiers, then confirm first base with whether first audio amplifier matches, under the condition that first base with first audio amplifier matches, to first audio amplifier sends first audio signal, and through first audio amplifier broadcast first audio signal, under the condition that first base with first audio amplifier does not match, establish first base with the communication link of first audio amplifier, through communication link to first audio amplifier send first audio signal, and through first broadcast first audio signal. Like this, can the audio signal that present audio amplifier needs to broadcast by automatic identification for the base that will put can be confirmed at will to the audio amplifier, and the sound image can not appear and fix a position the disorderly condition, improves user's use and experiences.
In one possible example, the first speaker includes a first contact, each of the plurality of bases includes a second contact, and the determining a first base of the plurality of bases that is closest to the first speaker includes: and under the condition that the first contact is contacted with the second contact, determining that a base corresponding to the second contact contacted with the first contact is a first base.
Each sound box is provided with a first contact, each base also comprises a second contact, and for the magnetic suspension sound box, when the projector is turned off, the base is not electrified, the sound box can fall into the base, the sound box can be in contact with the base at the moment, and the first sound box closest to the first base can be determined through the second contact on the base and the first contact on the sound box. That is, when determining the sound box closest to the first base, the sound box corresponding to the first contact contacted by the second contact of the first base may be determined as the first sound box. This embodiment is when audio amplifier and base contact, confirms first audio amplifier through first contact and second contact, and in other modes, can also confirm the first base that is nearest with first audio amplifier distance through other induction system when first base contacts with the audio amplifier.
Therefore, in the embodiment, when the sound box is in contact with the base, the first base which is closest to the first sound box is determined according to the contact relation, so that the distance relation between the base and the sound box can be conveniently and quickly determined.
In one possible example, the first speaker includes a sensor, each of the plurality of pedestals includes a signal emitter, and the determining a first pedestal of the plurality of pedestals that is closest to the first speaker includes: receiving an identity recognition signal sent by the signal transmitter according to the sensor; determining a signal strength of the identification signal; and when the signal intensity is greater than a preset value, determining that a base corresponding to a signal transmitter sending the identification signal is a first base.
Each sound box comprises a sensor, each base is provided with a signal emitter corresponding to the sensor, the signals are identification signals of the bases, and the identification signals are used for the first sound box to determine the first base which is closest to the first sound box in the plurality of bases. In a similar way, the sensor can be positioned on the base, meanwhile, the signal emitter corresponding to the sensor is positioned on the first sound box, and the base for receiving the signal with the signal intensity larger than the preset value is determined to be the first base. The receiving of the signal transmitted by the signal transmitter according to the sensor comprises: and the signal emitter emits signals once every other preset time, and the sensor synchronously receives the signals emitted by the signal emitter. Or the signal emitter always emits the signal, and the sensor receives the signal once every preset time. Even if a plurality of bases exist, due to the limited shape of the bases, only the sensor vertically positioned above the base can receive the signal transmitted by the signal transmitter of the base, so that the base corresponding to the signal transmitter transmitting the identity signal can be determined to be the first base as long as the intensity of the identity signal received by the sensor on the sound box is greater than the preset value. Because the projector can simultaneously comprise a plurality of bases, the sensor of the sound box can receive signals transmitted by different signal transmitters, when one sensor receives a plurality of signals, the signal intensity of all the signals received at the current time can be calculated, and the signal transmitter with the maximum transmitted signal intensity is determined, and the base corresponding to the signal transmitter is the first base.
In the concrete realization, because the projector includes a plurality of audio amplifiers and a plurality of bases the same with a plurality of audio amplifiers quantity, consequently if the projector includes two audio amplifiers and two bases, and first audio amplifier and second audio amplifier in these two audio amplifiers determine that the base nearest rather than the distance is first base, confirm this moment and include with first base distance nearest audio amplifier: respectively determining the distances S between the first sound box and the first base and between the first sound box and the second base according to the signal strength of the signal received by the first sound box1 left sideAnd S1 right sideWherein the first base is located on the left side of the projector, and the second base is located on the right side of the projector; respectively determining the distances S between the second sound box and the first base and the second base according to the signal intensity of the signal received by the second sound box2 left sideAnd S2 right side(ii) a According to S1 left side、S1 right side、 S2 left sideAnd S2 right sideAnd determining the sound box closest to the first base. Determination of S1=S1 left side-S1 right side,S2=S2 left side-S2 right sideIf S is1>0,S2<0, determining that the first sound box is closest to the first base on the left side, and the second sound box is closest to the second base on the right side; if S1<0,S2>0, determining that the first sound box is closest to the second base on the right side, and the second sound box is closest to the first base on the left side; if S1<0, S2<0, or S1>0,S2>And 0, respectively determining the base corresponding to the signal with the maximum intensity obtained by the first sound box and the second sound box as the base closest to the first sound box and the second sound box. When the signal emitter is a luminous source and the sensor is a photoelectric sensor, the distance between the sound box and the base can be adjustedThe calculation is carried out by S-c-t, wherein c is the speed of the light propagating in the air, and t is the time from the signal emitter to the sensor.
Therefore, in the embodiment, the first base closest to the first sound box in the plurality of bases is determined according to the identity recognition signal transmitted by the base, so that the first base closest to the first sound box can be conveniently and quickly selected.
In one possible example, the determining whether the first base and the first speaker are matched comprises: acquiring the receiving frequency of a wireless receiving module of the first sound box and the transmitting frequency of a wireless transmitting module of the first base; determining that the first pedestal is matched with the first loudspeaker box under the condition that the transmitting frequency is the same as the receiving frequency; determining that the first base does not match the first speaker if the transmit frequency is different from the receive frequency.
Wherein, each base has a wireless transmitting module, the transmitting frequency of each wireless transmitting module can be different, but the receiving frequency of the wireless receiving module in the first sound box matched with the base is the same as the transmitting frequency of the base. The determining whether the first base is matched with the first speaker may further include: acquiring first identification information of the first base; determining second identification information prestored in the first sound box, wherein the second identification information is identification information of a base which establishes a connection relation with the first sound box for the last time; if the first identification information is the same as the second identification information, determining that the first base is matched with the first sound box; and if the first identification information is different from the second identification information, determining that the first base is not matched with the first loudspeaker box.
Each base has unique identification information, the identification information can determine the identity of the base, and the identification information can be a number or a name set by a user. When the sound box determines the base closest to the sound box, the sound box reads the identification information of the base, the identification information is stored in the database after the connection between the sound box and the base is established, and the identification information in the database can be deleted after the sound box is disconnected from the base. That is, when the speaker determines the base closest to the speaker, the speaker reads the identification information of the base, and if the identification information of the base is the same as the identification information in the speaker database, the speaker and the base are matched. And if the identification information of the base is different from the identification information in the sound box database, determining that the base is not matched with the sound box. After determining that the first base does not match the first speaker, the method further comprises: disconnecting the current communication link of the first sound box, and deleting the identification information in the database of the first sound box; establishing a communication link between the first base and the first loudspeaker box; and storing the identification information of the first base in a database of the first sound box.
Therefore, in the embodiment, whether the first sound box is matched with the first base or not is determined according to the transmitting frequency of the wireless transmitting module and the receiving frequency of the wireless receiving module, so that the matching is not only accurate and convenient, but also the matching can be rapidly determined, and the user experience is improved.
In one possible example, the sensor comprises a photoelectric sensor or a magneto-sensitive sensor.
The type of the photoelectric sensor may be any, such as an optical coupler sensor or an infrared sensor, and the type of the sensor corresponds to the type of the signal emitter. When the sensor is a photoelectric sensor, the signal emitter on the base can be a gas discharge lamp, a light emitting diode or a laser, and when the sensor is a magnetic-sensitive sensor, the projector comprises a magnetic suspension sound box, so that a magnetic field can be generated after the base is electrified, and the magnetic field can be determined as the corresponding signal emitter. Of course, the type of the sensor may also include other types such as an inductive sensor, a resistive sensor, etc., as long as the distance between the sound box and the base can be determined according to the signal intensity.
Therefore, in the embodiment, signals emitted by different bases can be obtained according to the sensor, and the distance between the sound box and the base can be determined according to the signal intensity, so that the first base closest to the first sound box can be conveniently and quickly selected.
In a possible example, each of the bases includes the wireless transmitting module, each of the sound boxes includes the wireless receiving module, a transmitting frequency of each of the wireless transmitting modules is different, and a receiving frequency of each of the wireless receiving modules is different.
The wireless transmitting modules and the wireless receiving modules corresponding to the multiple bases and the multiple sound boxes respectively can be distinguished by different receiving and transmitting frequencies, so that the situation that the multiple sound boxes are in non-differentiated mixed same-frequency connection before the first base closest to the first sound box is determined according to the identity identification signal is avoided. The specific wireless transceiver module is not particularly required here, as long as wireless transmission and reception of audio can be achieved.
Therefore, in the embodiment, the plurality of wireless transmitting modules and the plurality of wireless receiving modules respectively correspond to different receiving and transmitting frequencies, so that the condition that the plurality of sound boxes are not distinguished and are connected in a mixed same frequency mode can be prevented, and the connection accuracy of the sound boxes and the base is improved.
In one possible example, after the establishing the communication link between the first base and the first speaker, the method further comprises: and adjusting the receiving frequency of the wireless receiving module of the first sound box, so that the receiving frequency of the wireless receiving module of the first sound box is the same as the transmitting frequency of the wireless transmitting module of the first base.
The plurality of sound boxes corresponding to the bases are respectively provided with a wireless receiving module, the working receiving wireless frequency of the module can be changed along with the identity recognition signal received by the sensor, and finally the working receiving wireless frequency is changed into a new frequency which is the same as the transmitting frequency of one corresponding base, and is shown as a matched first base and a first sound box. That is, the plurality of bases adopt different wireless transmission frequencies, and the plurality of sound boxes can respectively change the wireless receiving frequency according to the identification signals received by the sensor and are matched with the same transmitting and receiving frequency of the identified base.
In one possible example, before the establishing the communication link between the first base and the first speaker, the method further includes: determining whether the first chassis has established a communication link with a second loudspeaker, the second loudspeaker being a loudspeaker of the plurality of loudspeakers other than the first loudspeaker; if yes, determining whether to establish a communication link between the first base and the first sound box according to the working state of the second sound box, wherein the working state comprises that a first audio signal is being played or a first audio signal is not played currently; under the condition that the working state is that a first audio signal is being played, playing first prompt information according to the first sound box, wherein the first prompt information is used for prompting a user that the first audio is played; after the first sound box plays the prompt message, determining whether the first sound box needs to be forcibly connected with the first base according to user selection; and if so, disconnecting the communication link between the first base and the second sound box.
The projector comprises a plurality of sound boxes and a plurality of bases corresponding to the number of the sound boxes, so that before the first sound box determines that the first base is the base closest to the first sound box, the first base is already connected with other sound boxes, whether an audio signal of the first base is played by other sound boxes needs to be determined first, if the audio signal is played, a prompt tone needs to be sent through the sound boxes to prompt a user that the closest base plays audio, whether the first sound box needs to be connected with the first base is determined, if the audio signal is played, a current communication link of the first base is disconnected, and a communication link between the first base and the first sound box is established. If the current audio signal of the first base is not played, the current communication link of the first base can be directly disconnected, and a communication link between the first base and the first loudspeaker box is established.
Therefore, in this example, whether to continue establishing the communication link between the first base and the first sound box is determined according to the playing condition of the audio signal of the current base, so that not only can time be saved, the connection times be reduced, but also the user requirements can be met.
Referring to fig. 3, fig. 3 is a block diagram of functional units of a projector according to an embodiment of the present disclosure, consistent with the embodiment described in fig. 2. This projector 300 includes including the host computer, set up a plurality of bases on the host computer and with a plurality of audio amplifiers that a plurality of bases quantity correspond, projector 300 includes: a first determining unit 301, configured to determine a first pedestal closest to a first loudspeaker box in the multiple pedestals, where the first loudspeaker box is a loudspeaker box in the multiple loudspeaker boxes; a first matching unit 302, configured to determine whether the first base is matched with the first sound box; the first playing unit 303 is configured to send an audio signal to the first sound box through the first base wireless transmitting module under the condition that the first base is matched with the first sound box, and play the audio signal after receiving the audio signal through the wireless receiving module of the first sound box; a second playing unit 304, configured to establish a communication link between the first base and the first sound box when the first base is not matched with the first sound box, where the wireless transmitting module of the first base sends the audio signal to the first sound box through the communication link, and plays the audio signal after receiving the audio signal through the wireless receiving module of the first sound box.
In a possible example, the first speaker includes a first contact, each of the plurality of bases includes a second contact, and the first determining unit 301 is specifically configured to: and under the condition that the first contact is contacted with the second contact, determining that a base corresponding to the second contact contacted with the first contact is a first base.
In a possible example, the first loudspeaker box includes a sensor, each of the multiple bases includes a signal emitter, and in the aspect of determining the first base closest to the first loudspeaker box, the first determining unit 301 is specifically configured to receive, according to the sensor, an identification signal sent by the signal emitter; determining a signal strength of the identification signal; and when the signal intensity is greater than a preset value, determining that a base corresponding to a signal transmitter sending the identification signal is a first base.
In one possible example, in the aspect of determining whether the first base is matched with the first sound box, the first matching unit 302 is specifically configured to: acquiring the receiving frequency of a wireless receiving module of the first sound box and the transmitting frequency of a wireless transmitting module of the first base; determining that the first pedestal is matched with the first loudspeaker box under the condition that the transmitting frequency is the same as the receiving frequency; determining that the first base does not match the first speaker if the transmit frequency is different from the receive frequency.
In one possible example, the sensor comprises a photoelectric sensor or a magneto-sensitive sensor.
In a possible example, each of the bases includes the wireless transmitting module, each of the sound boxes includes the wireless receiving module, a transmitting frequency of each of the wireless transmitting modules is different, and a receiving frequency of each of the wireless receiving modules is different.
In a possible example, after the establishing of the communication link between the first base and the first speaker, the projector 300 is specifically configured to: and adjusting the receiving frequency of the wireless receiving module of the first sound box, so that the receiving frequency of the wireless receiving module of the first sound box is the same as the transmitting frequency of the wireless transmitting module of the first base.
In the present embodiment, the projector 300 is presented in the form of a unit. An "element" may refer to an application-specific integrated circuit (ASIC), a processor and memory that execute one or more software or firmware programs, an integrated logic circuit, and/or other devices that may provide the described functionality.
It can be understood that, since the method embodiment and the apparatus embodiment are different presentation forms of the same technical concept, the content of the method embodiment portion in the present application should be synchronously adapted to the apparatus embodiment portion, and is not described herein again.
Referring to fig. 4, fig. 4 is a block diagram of functional units of a sound box according to an embodiment of the present application, consistent with the embodiment described in fig. 2. This audio amplifier 400 is applied to the projector, the projector includes the host computer, sets up a plurality of bases on the host computer and with a plurality of audio amplifiers that a plurality of bases quantity correspond, audio amplifier 400 includes: a second determining unit 401, configured to determine a first pedestal closest to a first loudspeaker box in the multiple pedestals, where the first loudspeaker box is a loudspeaker box in the multiple loudspeaker boxes; a second matching unit 402, configured to determine whether the first base is matched with the first loudspeaker; a third playing unit 403, configured to receive, through the wireless receiving module of the first sound box, an audio signal sent by the wireless transmitting module of the first base and play the audio signal when the first base is matched with the first sound box; a fourth playing unit 404, configured to establish a communication link between the first base and the first sound box when the first base is not matched with the first sound box, where the first sound box receives, through the wireless receiving module, an audio signal generated by the wireless transmitting module of the first base, and plays the audio signal.
In a possible example, the first speaker includes a first contact, each of the plurality of bases includes a second contact, and the second determining unit 401 is specifically configured to: and under the condition that the first contact is contacted with the second contact, determining that a base corresponding to the second contact contacted with the first contact is a first base.
In a possible example, the first loudspeaker comprises a sensor, each of the plurality of bases comprises a signal emitter, and in the aspect of determining the first base closest to the first loudspeaker in the plurality of bases, the second determining unit 401 is specifically configured to receive, according to the sensor, an identification signal sent by the signal emitter; determining a signal strength of the identification signal; and when the signal intensity is greater than a preset value, determining that a base corresponding to a signal transmitter sending the identification signal is a first base.
In one possible example, in the aspect of determining whether the first base is matched with the first sound box, the second matching unit 402 is specifically configured to: acquiring the receiving frequency of a wireless receiving module of the first sound box and the transmitting frequency of a wireless transmitting module of the first base; determining that the first pedestal is matched with the first loudspeaker box under the condition that the transmitting frequency is the same as the receiving frequency; determining that the first base does not match the first speaker if the transmit frequency is different from the receive frequency.
In one possible example, the sensor comprises a photoelectric sensor or a magneto-sensitive sensor.
In a possible example, each of the bases includes the wireless transmitting module, each of the sound boxes includes the wireless receiving module, a transmitting frequency of each of the wireless transmitting modules is different, and a receiving frequency of each of the wireless receiving modules is different.
In one possible example, after the establishing of the communication link between the first base and the first speaker, the speaker 400 is specifically configured to: and adjusting the receiving frequency of the wireless receiving module of the first sound box, so that the receiving frequency of the wireless receiving module of the first sound box is the same as the transmitting frequency of the wireless transmitting module of the first base.
In the present embodiment, the sound box 400 is presented in the form of a unit. An "element" may refer to an application-specific integrated circuit (ASIC), a processor and memory that execute one or more software or firmware programs, an integrated logic circuit, and/or other devices that may provide the described functionality.
It can be understood that, since the method embodiment and the apparatus embodiment are different presentation forms of the same technical concept, the content of the method embodiment portion in the present application should be synchronously adapted to the apparatus embodiment portion, and is not described herein again.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, the computer program enabling a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes an electronic device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising an electronic device.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and elements referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
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 units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. An audio signal playing method is applied to a projector, the projector comprises a host, a plurality of bases arranged on the host, and a plurality of sound boxes corresponding to the plurality of bases in number, and the method comprises the following steps:
determining a first base closest to a first sound box in the plurality of bases, wherein the first sound box is a sound box in the plurality of sound boxes;
determining whether the first pedestal is matched with the first loudspeaker box;
under the condition that the first base is matched with the first sound box, sending an audio signal to the first sound box through a wireless transmitting module of the first base, and playing the audio signal after receiving the audio signal through a wireless receiving module of the first sound box;
under the condition that the first base is not matched with the first sound box, a communication link between the first base and the first sound box is established, the wireless transmitting module of the first base sends the audio signal to the first sound box through the communication link, and the audio signal is played after the wireless receiving module of the first sound box receives the audio signal.
2. The method of claim 1, wherein the first speaker includes a first contact, wherein each of the plurality of pedestals includes a second contact, and wherein determining the first pedestal of the plurality of pedestals that is closest to the first speaker comprises:
and under the condition that the first contact is contacted with the second contact, determining that a base corresponding to the second contact contacted with the first contact is a first base.
3. The method of claim 1, wherein the first speaker includes a sensor, each of the plurality of pedestals includes a signal emitter, and wherein determining the first pedestal of the plurality of pedestals that is closest to the first speaker comprises:
receiving an identity recognition signal sent by the signal transmitter according to the sensor;
determining a signal strength of the identification signal;
and when the signal intensity is greater than a preset value, determining that a base corresponding to a signal transmitter sending the identification signal is a first base.
4. The method of claim 3, wherein the determining whether the first base and the first speaker match comprises:
acquiring the receiving frequency of a wireless receiving module of the first sound box and the transmitting frequency of a wireless transmitting module of the first base;
determining that the first pedestal is matched with the first loudspeaker box under the condition that the transmitting frequency is the same as the receiving frequency;
determining that the first base does not match the first speaker if the transmit frequency is different from the receive frequency.
5. The method of claim 4, wherein the sensor comprises a photoelectric sensor or a magneto-sensitive sensor.
6. The method of claim 3, wherein each of the bases comprises the wireless transmitter module, each of the plurality of speakers comprises the wireless receiver module, and each of the wireless transmitter modules has a different transmitting frequency and each of the wireless receiver modules has a different receiving frequency.
7. The method of claim 3, wherein after establishing the communication link between the first base and the first speaker, the method further comprises:
and adjusting the receiving frequency of the wireless receiving module of the first sound box, so that the receiving frequency of the wireless receiving module of the first sound box is the same as the transmitting frequency of the wireless transmitting module of the first base.
8. The utility model provides a projector, its characterized in that, projector includes the host computer, sets up a plurality of bases on the host computer and with a plurality of audio amplifiers that a plurality of bases quantity corresponds, projector includes:
the first determining unit is used for determining a first base which is closest to a first sound box in the plurality of bases, and the first sound box is a sound box in the plurality of sound boxes;
the first matching unit is used for determining whether the first base is matched with the first sound box or not;
the first playing unit is used for sending an audio signal to the first sound box through the first base wireless transmitting module under the condition that the first base is matched with the first sound box, and playing the audio signal after receiving the audio signal through the wireless receiving module of the first sound box;
the second playing unit is used for establishing a communication link between the first base and the first sound box under the condition that the first base is not matched with the first sound box, the wireless transmitting module of the first base sends the audio signal to the first sound box through the communication link, and the audio signal is played after the wireless receiving module of the first sound box receives the audio signal.
9. The utility model provides a sound box, its characterized in that is applied to the projector, the projector includes the host computer, sets up a plurality of bases on the host computer and with a plurality of audio amplifier that a plurality of bases quantity corresponds, the audio amplifier includes:
the second determining unit is used for determining a first base which is closest to a first sound box in the plurality of bases, and the first sound box is a sound box in the plurality of sound boxes;
the second matching unit is used for determining whether the first base is matched with the first sound box or not;
the third playing unit is used for receiving the audio signal sent by the wireless transmitting module of the first base through the wireless receiving module of the first sound box and playing the audio signal under the condition that the first base is matched with the first sound box;
and the fourth playing unit is used for establishing a communication link between the first base and the first sound box under the condition that the first base is not matched with the first sound box, and the first sound box receives the audio signal generated by the wireless transmitting module of the first base through the wireless receiving module and plays the audio signal.
10. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-7.
CN202011038996.7A 2020-09-27 2020-09-27 Audio playing method and related device Active CN112162460B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011038996.7A CN112162460B (en) 2020-09-27 2020-09-27 Audio playing method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011038996.7A CN112162460B (en) 2020-09-27 2020-09-27 Audio playing method and related device

Publications (2)

Publication Number Publication Date
CN112162460A true CN112162460A (en) 2021-01-01
CN112162460B CN112162460B (en) 2021-09-03

Family

ID=73861800

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011038996.7A Active CN112162460B (en) 2020-09-27 2020-09-27 Audio playing method and related device

Country Status (1)

Country Link
CN (1) CN112162460B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080055548A1 (en) * 2004-07-09 2008-03-06 Seiko Epson Corporation Projector and Method of Controlling Ultrasonic Speaker in Projector
CN201051754Y (en) * 2007-03-02 2008-04-23 梁荣锵 An adjustable integrated sound box
CN103974167A (en) * 2013-02-06 2014-08-06 辉达公司 Flat-panel electronic device and audio player thereof
CN104062830A (en) * 2013-03-22 2014-09-24 宏碁股份有限公司 Projector and method for setting the projector
CN104936102A (en) * 2015-05-15 2015-09-23 广东欧珀移动通信有限公司 Stereo control method, stereo control device and split type stereo sound boxes
CN106292159A (en) * 2016-09-26 2017-01-04 北京小米移动软件有限公司 Micro projector
CN106303896A (en) * 2016-09-30 2017-01-04 北京小米移动软件有限公司 The method and apparatus playing audio frequency
WO2017219538A1 (en) * 2016-06-23 2017-12-28 乐视控股(北京)有限公司 Channel data matching method and device
US20180091898A1 (en) * 2015-06-09 2018-03-29 Samsung Electronics Co., Ltd. Electronic device, peripheral devices and control method therefor
US20180227536A1 (en) * 2015-08-21 2018-08-09 Sony Corporation Projection system and apparatus unit
CN108712704A (en) * 2018-06-13 2018-10-26 腾讯科技(深圳)有限公司 Speaker, the playback method of audio data, device, storage medium and electronic device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080055548A1 (en) * 2004-07-09 2008-03-06 Seiko Epson Corporation Projector and Method of Controlling Ultrasonic Speaker in Projector
CN201051754Y (en) * 2007-03-02 2008-04-23 梁荣锵 An adjustable integrated sound box
CN103974167A (en) * 2013-02-06 2014-08-06 辉达公司 Flat-panel electronic device and audio player thereof
CN104062830A (en) * 2013-03-22 2014-09-24 宏碁股份有限公司 Projector and method for setting the projector
CN104936102A (en) * 2015-05-15 2015-09-23 广东欧珀移动通信有限公司 Stereo control method, stereo control device and split type stereo sound boxes
US20180091898A1 (en) * 2015-06-09 2018-03-29 Samsung Electronics Co., Ltd. Electronic device, peripheral devices and control method therefor
US20180227536A1 (en) * 2015-08-21 2018-08-09 Sony Corporation Projection system and apparatus unit
WO2017219538A1 (en) * 2016-06-23 2017-12-28 乐视控股(北京)有限公司 Channel data matching method and device
CN106292159A (en) * 2016-09-26 2017-01-04 北京小米移动软件有限公司 Micro projector
CN106303896A (en) * 2016-09-30 2017-01-04 北京小米移动软件有限公司 The method and apparatus playing audio frequency
CN108712704A (en) * 2018-06-13 2018-10-26 腾讯科技(深圳)有限公司 Speaker, the playback method of audio data, device, storage medium and electronic device

Also Published As

Publication number Publication date
CN112162460B (en) 2021-09-03

Similar Documents

Publication Publication Date Title
US9898248B2 (en) Method and device for playing modified audio signals
US7747338B2 (en) Audio system employing multiple mobile devices in concert
US7492913B2 (en) Location aware directed audio
AU2001239516B2 (en) System and method for optimization of three-dimensional audio
US8559654B2 (en) Range finding audio system
CN102577439B (en) A sound reproduction apparatus and a method for speaker charging/calibration employed in said apparatus
TW415156B (en) Method and system for dynamically maintaining audio balance in a stereo audio system
US20140301567A1 (en) Method for providing a compensation service for characteristics of an audio device using a smart device
US10111020B1 (en) Systems and methods for initiating action based on audio output device
CN112312245B (en) Audio playing method and related device
JP2002505818A (en) System for generating artificial acoustic environment
CN106792365B (en) Audio playing method and device
CN112162460B (en) Audio playing method and related device
US6990210B2 (en) System for headphone-like rear channel speaker and the method of the same
KR20050044881A (en) Grid speaker system and audio processing method in the same
US20030123676A1 (en) Method of deriving a head-related transfer function
CN113574912A (en) Acoustic signal processing device, acoustic signal processing system, acoustic signal processing method, and program
US20190173938A1 (en) A method of authorising an audio download
US20190182557A1 (en) Method of presenting media
US11589180B2 (en) Electronic apparatus, control method thereof, and recording medium
JP6134482B2 (en) Notification broadcasting system
CN109660929B (en) Voice playing method and device based on electronic tag
KR102510376B1 (en) System and Method for Providing Contents Comprising Audio
WO2022228122A1 (en) Method for calibrating left and right ear of earphones, and earphones
CN117119352A (en) Bluetooth sound box control method and system and Bluetooth sound box

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
GR01 Patent grant
GR01 Patent grant