Intelligent Bluetooth sound box sub-control adjusting system and method based on Internet

文档序号:1878584 发布日期:2021-11-23 浏览:33次 中文

阅读说明:本技术 基于互联网的智能蓝牙音箱分控调节系统和方法 (Intelligent Bluetooth sound box sub-control adjusting system and method based on Internet ) 是由 魏玉琴 于 2021-10-22 设计创作,主要内容包括:本发明提供涉及音箱控制技术领域,具体涉及一种基于互联网的智能蓝牙音箱分控调节系统及方法。通过获取移动智能显示终端的显示平面的显示方向;并在播放视频前感知用户是否注视屏幕,再获取房间内的若干个智能蓝牙音箱相对移动智能显示终端的位置信息;即可基于当前所述显示方向和所述注视感知结果,从若干个智能蓝牙音箱的中选择出两个智能蓝牙音箱,作为两个目标音箱,最终控制其中一个目标音箱串联与移动智能显示终端连接,并控制两个所述目标音箱串联,再将左声道音频和右声道音频传输至所述目标音箱,以实现根据实际情况选择位于显示方向两侧的智能蓝牙音箱,并通过这两个蓝牙音箱播放左右两个声道的音频文件,形成立体声的效果。(The invention relates to the technical field of sound box control, in particular to an intelligent Bluetooth sound box sub-control adjusting system and method based on the Internet. The display direction of a display plane of the mobile intelligent display terminal is obtained; sensing whether a user watches a screen before playing a video, and acquiring position information of a plurality of intelligent Bluetooth sound boxes in a room relative to the mobile intelligent display terminal; can be based on present the display direction with watch the perception result, select two intelligent bluetooth speaker from a plurality of intelligence bluetooth speaker, as two target audio amplifier, one of them target audio amplifier of final control establishes ties and is connected with removal intelligent display terminal, and control two the target audio amplifier establishes ties, with left channel audio frequency and right channel audio frequency transmission extremely again target audio amplifier to the realization is selected the intelligent bluetooth speaker who is located display direction both sides according to actual conditions, and through the audio file of these two bluetooth speaker broadcast left and right sides two sound channels, forms stereophonic effect.)

1. The utility model provides an intelligence bluetooth speaker divides accuse governing system based on internet which characterized in that includes: the system comprises a plurality of intelligent Bluetooth sound boxes, a mobile intelligent display terminal and a network video library;

the mobile intelligent display terminal comprises:

the video acquisition module is used for accessing a network video library through the Internet to acquire a video;

the double-channel extraction module is used for extracting left channel audio and right channel audio of the video;

the gesture detection module is used for acquiring the display direction of a display plane of the mobile intelligent display terminal; the display direction is located on a normal of a display plane;

the watching sensing module is used for sensing whether a user watches a screen before playing the video;

the sound box positioning module is used for acquiring the position information of a plurality of intelligent Bluetooth sound boxes in a room relative to the mobile intelligent display terminal;

the sound box selection module is used for selecting two intelligent Bluetooth sound boxes from a plurality of intelligent Bluetooth sound boxes as two target sound boxes based on the current display direction and the watching perception result, and the two target sound boxes are respectively used for outputting left channel audio and right channel audio;

and the audio transmission module is used for controlling one of the target sound boxes to be connected in series with the mobile intelligent display terminal, controlling two target sound boxes to be connected in series and transmitting the left channel audio and the right channel audio to the target sound boxes.

2. The internet-based intelligent bluetooth speaker separate-control adjusting system according to claim 1, wherein the gaze sensing module comprises:

the front-facing camera shooting unit is used for acquiring a facial image of a user of the mobile intelligent display terminal;

a sight-line direction calculation unit for calculating a sight-line direction based on the face image;

and the watching identification unit is used for judging whether the sight direction points to the mobile intelligent display terminal, if so, marking the mobile intelligent display terminal as a user watching screen, and otherwise, marking the mobile intelligent display terminal as a user not watching the screen.

3. The internet-based intelligent bluetooth speaker separately-controlled adjusting system of claim 1, wherein the speaker positioning module comprises:

the sound box sleep control unit is used for sequentially waking up a plurality of intelligent Bluetooth sound boxes from a sleep state before playing the video, and recovering the intelligent Bluetooth sound boxes to the sleep state after acquiring the position information of the intelligent Bluetooth sound boxes;

and the UWB positioning unit is used for acquiring the position information of the intelligent Bluetooth sound box relative movement intelligent display terminal after each intelligent Bluetooth sound box is awakened.

4. The internet-based intelligent bluetooth speaker separate-control adjusting system according to claim 1, wherein the speaker selection module comprises:

the two-dimensional coordinate acquisition unit is used for constructing a two-dimensional coordinate system based on the position information of each intelligent Bluetooth sound box relative to the mobile intelligent display terminal when a user is perceived to watch a screen, and obtaining a two-dimensional coordinate of each Bluetooth sound box, the two-dimensional coordinate of the mobile intelligent display terminal and a linear function of a display direction as a first linear function;

the sound box grouping unit is used for taking the first linear function as a dividing line and dividing the plurality of intelligent Bluetooth sound boxes into a left side group and a right side group;

and the screening unit is used for selecting one intelligent Bluetooth sound box from the left group and the right group respectively to serve as two target sound boxes.

5. The internet-based intelligent bluetooth speaker separately-controlled adjusting system according to claim 4, wherein the selecting one intelligent bluetooth speaker from the left group and the right group as two target speakers comprises:

constructing a straight line passing through any two intelligent Bluetooth sound boxes in the left group and the right group, and removing the straight lines of the two intelligent Bluetooth sound boxes belonging to the same group to obtain a second straight line function;

calculating included angles between the first linear functions and the second linear functions, and selecting two intelligent Bluetooth sound boxes corresponding to the second linear functions closest to the right angle as two target sound boxes;

if a plurality of pairs of target sound boxes exist, the influence of the position difference of the two sound boxes on the experience needs to be considered, so that the difference value of the distance between each target sound box in each pair of target sound boxes and the first linear function is calculated respectively, and the pair of target sound boxes with the minimum difference value is selected.

6. An intelligent Bluetooth sound box sub-control adjusting method based on the Internet is characterized by comprising the following steps:

accessing a network video library through the Internet to acquire a video;

extracting left channel audio and right channel audio of the video;

acquiring the display direction of a display plane of the mobile intelligent display terminal; the display direction is located on a normal of a display plane;

sensing whether a user watches a screen before playing a video;

acquiring position information of a plurality of intelligent Bluetooth sound boxes in a room relative to a mobile intelligent display terminal;

selecting two intelligent Bluetooth sound boxes from a plurality of intelligent Bluetooth sound boxes as two target sound boxes based on the current display direction and the watching sensing result, wherein the two target sound boxes are respectively used for outputting left channel audio and right channel audio;

and controlling one of the target sound boxes to be connected in series with the mobile intelligent display terminal, controlling two target sound boxes to be connected in series, and transmitting the left channel audio and the right channel audio to the target sound boxes.

7. The internet-based intelligent Bluetooth speaker separate control adjusting method as claimed in claim 6, wherein the sensing whether the user gazes at the screen before playing the video comprises:

acquiring a facial image of a user of the mobile intelligent display terminal;

calculating a gaze direction based on the facial image;

and judging whether the sight direction points to the mobile intelligent display terminal, if so, marking the mobile intelligent display terminal as that the user watches the screen, otherwise, marking the mobile intelligent display terminal as that the user does not watch the screen.

8. The internet-based intelligent Bluetooth speaker separate control adjusting method according to claim 6, wherein the acquiring the position information of the plurality of intelligent Bluetooth speakers in the room relative to the mobile intelligent display terminal comprises:

before playing a video, a plurality of intelligent Bluetooth sound boxes are awakened from a dormant state in sequence, and the intelligent Bluetooth sound boxes are restored to the dormant state after position information of the intelligent Bluetooth sound boxes is acquired;

after each intelligent Bluetooth sound box is awakened, the position information of the intelligent Bluetooth sound box relative to the mobile intelligent display terminal is obtained.

9. The internet-based intelligent bluetooth speaker separate-control adjusting method according to claim 6, wherein the selecting two intelligent bluetooth speakers from a plurality of intelligent bluetooth speakers as two target speakers based on the current display direction and the result of gaze sensing comprises:

when a user is perceived to watch a screen, a two-dimensional coordinate system is constructed based on the position information of each intelligent Bluetooth sound box relative to the mobile intelligent display terminal, and the two-dimensional coordinate of each Bluetooth sound box, the two-dimensional coordinate of the mobile intelligent display terminal and a linear function of the display direction are obtained and serve as a first linear function;

dividing the plurality of intelligent Bluetooth sound boxes into a left side group and a right side group by taking the first linear function as a dividing line;

and selecting one intelligent Bluetooth sound box from the left group and the right group respectively to serve as two target sound boxes.

10. The internet-based intelligent bluetooth speaker separate-control adjusting method according to claim 9, wherein the selecting one intelligent bluetooth speaker from the left group and the right group as two target speakers comprises:

constructing a straight line passing through any two intelligent Bluetooth sound boxes in the left group and the right group, and removing the straight lines of the two intelligent Bluetooth sound boxes belonging to the same group to obtain a second straight line function;

calculating included angles between the first linear functions and the second linear functions, and selecting two intelligent Bluetooth sound boxes corresponding to the second linear functions closest to the right angle as two target sound boxes;

if a plurality of pairs of target sound boxes exist, the influence of the position difference of the two sound boxes on the experience needs to be considered, so that the difference value of the distance between each target sound box in each pair of target sound boxes and the first linear function is calculated respectively, and the pair of target sound boxes with the minimum difference value is selected.

Technical Field

The invention relates to the technical field of sound box control, in particular to an intelligent Bluetooth sound box sub-control adjusting system and method based on the Internet.

Background

Monophonic lacks the localization of sound, and stereo techniques completely alter this situation. The sound is distributed to two independent sound channels in the recording process, so that a good sound positioning effect is achieved. The technique is particularly useful in music appreciation, and listeners can clearly distinguish the directions from which various musical instruments come, so that music is more imaginative and closer to the feeling of reality, and becomes an audio standard which influences profound effects. To date, stereo is still the standard of technology followed by many products.

The existing intelligent Bluetooth sound box is usually placed at a fixed position, namely two sides of a display direction, but along with the popularization of mobile intelligent display terminals, such as mobile phones, tablets and other devices, the existing method cannot be well matched with various use environments, for example, the display direction of the mobile intelligent display terminal is not a fixed direction, so that the stereo playing cannot be well distinguished from the left and the right, and even sometimes the stereo playing direction is opposite, and the use experience is influenced.

Disclosure of Invention

Technical problem to be solved

Aiming at the defects of the prior art, the invention provides an intelligent Bluetooth sound box sub-control adjusting system and method based on the Internet, and solves the problem that in the existing multi-intelligent Bluetooth sound box scene, an appropriate intelligent Bluetooth sound box at an appropriate position cannot be selected according to the actual conditions of a user to play stereo sound.

(II) technical scheme

In order to achieve the purpose, the invention is realized by the following technical scheme:

in a first aspect, an internet-based intelligent Bluetooth sound box sub-control adjusting system is provided, which comprises: the system comprises a plurality of intelligent Bluetooth sound boxes, a mobile intelligent display terminal and a network video library;

the mobile intelligent display terminal comprises:

the video acquisition module is used for accessing a network video library through the Internet to acquire a video;

the double-channel extraction module is used for extracting left channel audio and right channel audio of the video;

the gesture detection module is used for acquiring the display direction of a display plane of the mobile intelligent display terminal; the display direction is located on a normal of a display plane;

the watching sensing module is used for sensing whether a user watches a screen before playing the video;

the sound box positioning module is used for acquiring the position information of a plurality of intelligent Bluetooth sound boxes in a room relative to the mobile intelligent display terminal;

the sound box selection module is used for selecting two intelligent Bluetooth sound boxes from a plurality of intelligent Bluetooth sound boxes as two target sound boxes based on the current display direction and the watching perception result, and the two target sound boxes are respectively used for outputting left channel audio and right channel audio;

and the audio transmission module is used for controlling one of the target sound boxes to be connected in series with the mobile intelligent display terminal, controlling two target sound boxes to be connected in series and transmitting the left channel audio and the right channel audio to the target sound boxes.

Further, the gaze-awareness module comprises:

the front-facing camera shooting unit is used for acquiring a facial image of a user of the mobile intelligent display terminal;

a sight-line direction calculation unit for calculating a sight-line direction based on the face image;

and the watching identification unit is used for judging whether the sight direction points to the mobile intelligent display terminal, if so, marking the mobile intelligent display terminal as a user watching screen, and otherwise, marking the mobile intelligent display terminal as a user not watching the screen.

Further, the speaker positioning module includes:

the sound box sleep control unit is used for sequentially waking up a plurality of intelligent Bluetooth sound boxes from a sleep state before playing the video, and recovering the intelligent Bluetooth sound boxes to the sleep state after acquiring the position information of the intelligent Bluetooth sound boxes;

and the UWB positioning unit is used for acquiring the position information of the intelligent Bluetooth sound box relative movement intelligent display terminal after each intelligent Bluetooth sound box is awakened.

Further, the speaker box selection module includes:

the two-dimensional coordinate acquisition unit is used for constructing a two-dimensional coordinate system based on the position information of each intelligent Bluetooth sound box relative to the mobile intelligent display terminal when a user is perceived to watch a screen, and obtaining a two-dimensional coordinate of each Bluetooth sound box, the two-dimensional coordinate of the mobile intelligent display terminal and a linear function of a display direction as a first linear function;

the sound box grouping unit is used for taking the first linear function as a dividing line and dividing the plurality of intelligent Bluetooth sound boxes into a left side group and a right side group;

and the screening unit is used for selecting one intelligent Bluetooth sound box from the left group and the right group respectively to serve as two target sound boxes.

Further, select an intelligent bluetooth speaker in left side group and the right side group respectively, as two target audio amplifier, include:

constructing a straight line passing through any two intelligent Bluetooth sound boxes in the left group and the right group, and removing the straight lines of the two intelligent Bluetooth sound boxes belonging to the same group to obtain a second straight line function;

calculating included angles between the first linear functions and the second linear functions, and selecting two intelligent Bluetooth sound boxes corresponding to the second linear functions closest to the right angle as two target sound boxes;

if a plurality of pairs of target sound boxes exist, the influence of the position difference of the two sound boxes on the experience needs to be considered, so that the difference value of the distance between each target sound box in each pair of target sound boxes and the first linear function is calculated respectively, and the pair of target sound boxes with the minimum difference value is selected.

In a second aspect, an internet-based intelligent bluetooth speaker sub-control adjusting method is provided, and the method includes:

accessing a network video library through the Internet to acquire a video;

extracting left channel audio and right channel audio of the video;

acquiring the display direction of a display plane of the mobile intelligent display terminal; the display direction is located on a normal of a display plane;

sensing whether a user watches a screen before playing a video;

acquiring position information of a plurality of intelligent Bluetooth sound boxes in a room relative to a mobile intelligent display terminal;

selecting two intelligent Bluetooth sound boxes from a plurality of intelligent Bluetooth sound boxes as two target sound boxes based on the current display direction and the watching sensing result, wherein the two target sound boxes are respectively used for outputting left channel audio and right channel audio;

and controlling one of the target sound boxes to be connected in series with the mobile intelligent display terminal, controlling two target sound boxes to be connected in series, and transmitting the left channel audio and the right channel audio to the target sound boxes.

Further, the sensing whether the user gazes at the screen before playing the video includes:

acquiring a facial image of a user of the mobile intelligent display terminal;

calculating a gaze direction based on the facial image;

and judging whether the sight direction points to the mobile intelligent display terminal, if so, marking the mobile intelligent display terminal as that the user watches the screen, otherwise, marking the mobile intelligent display terminal as that the user does not watch the screen.

Further, the position information of obtaining a plurality of intelligent bluetooth speaker relative movement intelligent display terminal in the room includes:

before playing a video, a plurality of intelligent Bluetooth sound boxes are awakened from a dormant state in sequence, and the intelligent Bluetooth sound boxes are restored to the dormant state after position information of the intelligent Bluetooth sound boxes is acquired;

after each intelligent Bluetooth sound box is awakened, the position information of the intelligent Bluetooth sound box relative to the mobile intelligent display terminal is obtained.

Further, based on present the result of showing the direction and gazing the perception selects out two intelligent bluetooth speaker from a plurality of intelligent bluetooth speaker, includes as two target audio amplifier:

when a user is perceived to watch a screen, a two-dimensional coordinate system is constructed based on the position information of each intelligent Bluetooth sound box relative to the mobile intelligent display terminal, and the two-dimensional coordinate of each Bluetooth sound box, the two-dimensional coordinate of the mobile intelligent display terminal and a linear function of the display direction are obtained and serve as a first linear function;

dividing the plurality of intelligent Bluetooth sound boxes into a left side group and a right side group by taking the first linear function as a dividing line;

and selecting one intelligent Bluetooth sound box from the left group and the right group respectively to serve as two target sound boxes.

Further, select an intelligent bluetooth speaker in left side group and the right side group respectively, as two target audio amplifier, include:

constructing a straight line passing through any two intelligent Bluetooth sound boxes in the left group and the right group, and removing the straight lines of the two intelligent Bluetooth sound boxes belonging to the same group to obtain a second straight line function;

calculating included angles between the first linear functions and the second linear functions, and selecting two intelligent Bluetooth sound boxes corresponding to the second linear functions closest to the right angle as two target sound boxes;

if a plurality of pairs of target sound boxes exist, the influence of the position difference of the two sound boxes on the experience needs to be considered, so that the difference value of the distance between each target sound box in each pair of target sound boxes and the first linear function is calculated respectively, and the pair of target sound boxes with the minimum difference value is selected.

(III) advantageous effects

Accessing a network video library through the Internet to acquire a video; extracting the left channel audio and the right channel audio of the video; then, acquiring the display direction of a display plane of the mobile intelligent display terminal; sensing whether a user watches a screen before playing a video, and acquiring position information of a plurality of intelligent Bluetooth sound boxes in a room relative to the mobile intelligent display terminal; can be based on present the display direction with watch the perception result, select two intelligent bluetooth speaker from a plurality of intelligence bluetooth speaker, as two target audio amplifier, one of them target audio amplifier of final control establishes ties and is connected with removal intelligent display terminal, and control two the target audio amplifier establishes ties, with left channel audio frequency and right channel audio frequency transmission extremely again target audio amplifier to the realization is selected the intelligent bluetooth speaker who is located display direction both sides according to actual conditions, and through the audio file of these two bluetooth speaker broadcast left and right sides two sound channels, forms stereophonic effect.

Drawings

In order to more clearly illustrate the embodiments of the present invention 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 invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.

FIG. 1 is a system block diagram of an embodiment of the present invention;

FIG. 2 is a schematic diagram of an application scenario according to an embodiment of the present invention;

FIG. 3 is a schematic view of a display direction according to an embodiment of the present invention;

fig. 4 is a schematic diagram illustrating a principle of target speaker selection according to an embodiment of the present invention.

Detailed Description

In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention are clearly and completely described, and it is obvious that the described embodiments are a part of the embodiments of the present invention, but not all of the 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.

In order to better understand the technical solution, the technical solution will be described in detail with reference to the drawings and the specific embodiments.

The embodiment of the invention provides an intelligent Bluetooth sound box sub-control adjusting system based on the Internet, which is shown in figure 1 and comprises a plurality of intelligent Bluetooth sound boxes, a mobile intelligent display terminal and a network video library;

the mobile intelligent display terminal comprises:

the video acquisition module is used for accessing a network video library through the Internet to acquire a video;

the double-channel extraction module is used for extracting left channel audio and right channel audio of the video;

the gesture detection module is used for acquiring the display direction of a display plane of the mobile intelligent display terminal; the display direction is located on a normal of a display plane;

the watching sensing module is used for sensing whether a user watches a screen before playing the video;

the sound box positioning module is used for acquiring the position information of a plurality of intelligent Bluetooth sound boxes in a room relative to the mobile intelligent display terminal;

the sound box selection module is used for selecting two intelligent Bluetooth sound boxes from a plurality of intelligent Bluetooth sound boxes as two target sound boxes based on the current display direction and the watching perception result, and the two target sound boxes are respectively used for outputting left channel audio and right channel audio;

and the audio transmission module is used for controlling one of the target sound boxes to be connected in series with the mobile intelligent display terminal, controlling two target sound boxes to be connected in series and transmitting the left channel audio and the right channel audio to the target sound boxes.

The embodiment of the invention has the following beneficial effects:

accessing a network video library through the Internet to acquire a video; extracting the left channel audio and the right channel audio of the video; then, acquiring the display direction of a display plane of the mobile intelligent display terminal; sensing whether a user watches a screen before playing a video, and acquiring position information of a plurality of intelligent Bluetooth sound boxes in a room relative to the mobile intelligent display terminal; can be based on present the display direction with watch the perception result, select two intelligent bluetooth speaker from a plurality of intelligence bluetooth speaker, as two target audio amplifier, one of them target audio amplifier of final control establishes ties and is connected with removal intelligent display terminal, and control two the target audio amplifier establishes ties, with left channel audio frequency and right channel audio frequency transmission extremely again target audio amplifier to the realization is selected the intelligent bluetooth speaker who is located display direction both sides according to actual conditions, and through the audio file of these two bluetooth speaker broadcast left and right sides two sound channels, forms stereophonic effect.

The following describes the implementation process of the embodiment of the present invention in detail:

a feasible use scenario of this implementation is that a plurality of intelligent bluetooth speaker boxes are arranged in one room, preferably referring to fig. 2, in one rectangular room, 4 intelligent bluetooth speaker boxes are arranged at four corners respectively, and the heights of the 4 intelligent bluetooth speaker boxes are consistent, and the setting can also be performed according to the actual conditions of the room.

In this embodiment, the mobile intelligent display terminal may be an intelligent mobile phone or a tablet computer, specifically:

a video acquisition module: accessing a network video library through the Internet to acquire a video; the Network video library is a service end for providing video resources, such as an online video website, or a video library in a Network Attached Storage (NAS) accessed through the Internet, wherein the Network video library comprises at least one video resource which can be selected by a user, and after the user selects the video resource, the video can be played on the mobile intelligent display terminal.

A binaural extraction module: after the user selects the video, the left channel audio and the right channel audio of the video can be extracted according to the video information, so that the two different intelligent Bluetooth sound boxes can play the audio of the left channel and the audio of the right channel respectively at the back, and a stereo effect is formed.

An attitude detection module: the attitude information can be acquired by adopting a gyroscope of the mobile intelligent display terminal, as shown in fig. 3, so that the display direction (the + Z-axis direction in the figure) of the display plane of the mobile intelligent display terminal is acquired; the display direction is located on a normal to the display plane.

The gaze-awareness module comprising:

a front-facing image pickup unit: the method comprises the following steps that a front-facing camera of the mobile intelligent display terminal can be adopted to obtain a facial image of a user of the mobile intelligent display terminal;

a sight-line direction calculation unit: calculating the collected face image through the existing sight tracking algorithm to obtain the sight direction;

a gaze recognition unit: because the front camera and the screen are relatively fixed, when the sight line direction is located in an angle interval corresponding to the display plane, whether the sight line direction points to the mobile intelligent display terminal can be judged, if the sight line direction points to the display plane, the mark is that the user watches the screen, and if not, the mark is that the user does not watch the screen.

The audio amplifier orientation module includes:

speaker dormancy control unit: before playing a video, a plurality of intelligent Bluetooth sound boxes are awakened from a dormant state in sequence, and the intelligent Bluetooth sound boxes are restored to the dormant state after position information of the intelligent Bluetooth sound boxes is acquired;

a UWB positioning unit: after each intelligent Bluetooth sound box is awakened, the position information of the intelligent Bluetooth sound box relative to the mobile intelligent display terminal is obtained. Compared with the traditional narrow-band system, the UWB positioning technology is also called as the UWB technology, and has the advantages of strong penetrating power, low power consumption, good multipath resistance effect, high safety, low system complexity, capability of providing accurate positioning and the like. Therefore, the ultra-wideband technology can be applied to positioning, tracking and navigation of indoor static or moving objects and people, and can provide very accurate positioning precision.

The speaker selection module includes:

a two-dimensional coordinate acquisition unit: when the user is perceived to watch the screen, it is indicated that the current display plane is opposite to the user face, and the left side and the right side can be distinguished based on the display direction, so that, as shown in fig. 4, a two-dimensional coordinate system is constructed based on the position information of each intelligent bluetooth sound box relative to the mobile intelligent display terminal, and the two-dimensional coordinate of each bluetooth sound box, the two-dimensional coordinate of the mobile intelligent display terminal, and a linear function of the display direction are obtained as a first linear function; in fig. 4, the first straight line is the same as the negative direction of the Y-axis in the two-dimensional coordinate system, and the first straight line function is a projection of the display direction in the constructed two-dimensional coordinate system.

Loudspeaker box grouping unit: the intelligent Bluetooth sound boxes are divided into a left side group and a right side group by taking the first linear function as a dividing line; the enclosures in the area to the left of the first linear function are located to the left of the user and the enclosures in the area to the right of the first linear function are located to the right of the user.

Screening unit: and the intelligent Bluetooth loudspeaker boxes are used for selecting one intelligent Bluetooth loudspeaker box from the left group and the right group respectively to serve as two target loudspeaker boxes. In the selection, it is required to consider that the selected target speaker is as close as possible to the mobile intelligent display terminal and as perpendicular as possible to the display direction, and therefore, as shown in fig. 4:

the left group comprises a sound box 1 and a sound box 3, and the right group comprises a sound box 2 and a sound box 4;

constructing a straight line passing through any two intelligent Bluetooth sound boxes in the left group and the right group, and removing the straight lines of the two intelligent Bluetooth sound boxes belonging to the same group to obtain a second straight line function;

the four second straight lines, i.e., the second straight lines 1-4, finally obtained in FIG. 4.

Calculating included angles between the first linear functions and the second linear functions, and selecting two intelligent Bluetooth sound boxes corresponding to the second linear functions closest to the right angle as two target sound boxes;

if a plurality of pairs of target sound boxes exist, the influence of the position difference of the two sound boxes on the experience needs to be considered, so that the difference value of the distance between each target sound box in each pair of target sound boxes and the first linear function is calculated respectively, and the pair of target sound boxes with the minimum difference value is selected.

To sum up, the method for separately controlling and adjusting the intelligent Bluetooth sound box based on the Internet comprises the following steps:

s1, accessing a network video library through the Internet to obtain a video;

s2, extracting the left channel audio and the right channel audio of the video;

s3, acquiring the display direction of the display plane of the mobile intelligent display terminal;

s4, sensing whether the user watches the screen before playing the video; which comprises the following steps:

s41, obtaining a facial image of a user of the mobile intelligent display terminal;

s42, calculating the sight line direction based on the face image;

and S43, judging whether the sight direction points to the mobile intelligent display terminal, if so, marking the mobile intelligent display terminal as that the user watches the screen, otherwise, marking the mobile intelligent display terminal as that the user does not watch the screen.

S5, acquiring position information of a plurality of intelligent Bluetooth sound boxes in a room relative to the mobile intelligent display terminal; the method comprises the following steps:

s51, before playing the video, awakening a plurality of intelligent Bluetooth sound boxes from a dormant state in sequence, and recovering the intelligent Bluetooth sound boxes to the dormant state after acquiring the position information of the intelligent Bluetooth sound boxes;

s52, after each intelligent Bluetooth sound box is awakened, the position information of the intelligent Bluetooth sound box relative to the mobile intelligent display terminal is obtained.

S6, based on the current display direction and the watching sensing result, selecting two intelligent Bluetooth sound boxes from the plurality of intelligent Bluetooth sound boxes to serve as two target sound boxes, wherein the two target sound boxes are respectively used for outputting left channel audio and right channel audio;

s61, when the user is perceived to watch the screen, a two-dimensional coordinate system is constructed based on the position information of each intelligent Bluetooth sound box relative to the mobile intelligent display terminal, and the two-dimensional coordinate of each Bluetooth sound box, the two-dimensional coordinate of the mobile intelligent display terminal and a linear function of the display direction are obtained and serve as a first linear function;

s62, dividing the intelligent Bluetooth sound boxes into a left side group and a right side group by taking the first linear function as a dividing line;

s63, selecting one intelligent Bluetooth sound box from the left group and the right group respectively to serve as two target sound boxes. The method specifically comprises the following steps:

s631, constructing a straight line of any two intelligent Bluetooth sound boxes in the left group and the right group, and eliminating the straight lines of the two intelligent Bluetooth sound boxes belonging to the same group to obtain a second straight line function;

s632, calculating included angles between the first linear functions and the second linear functions, and selecting two intelligent Bluetooth sound boxes corresponding to the second linear functions closest to the right angle as two target sound boxes;

and S633, if a plurality of pairs of target sound boxes exist, respectively calculating the difference value of the distance between each target sound box in each pair of target sound boxes and the first linear function, and selecting the pair of target sound boxes with the minimum difference value.

And S7, controlling one of the target sound boxes to be connected in series with the mobile intelligent display terminal, controlling the two target sound boxes to be connected in series, and transmitting the left channel audio and the right channel audio to the target sound boxes to realize the stereo playing through the two target sound boxes.

In summary, compared with the prior art, the method has the following beneficial effects:

1. accessing a network video library through the Internet to acquire a video; extracting the left channel audio and the right channel audio of the video; then, acquiring the display direction of a display plane of the mobile intelligent display terminal; sensing whether a user watches a screen before playing a video, and acquiring position information of a plurality of intelligent Bluetooth sound boxes in a room relative to the mobile intelligent display terminal; can be based on present the display direction with watch the perception result, select two intelligent bluetooth speaker from a plurality of intelligence bluetooth speaker, as two target audio amplifier, one of them target audio amplifier of final control establishes ties and is connected with removal intelligent display terminal, and control two the target audio amplifier establishes ties, with left channel audio frequency and right channel audio frequency transmission extremely again target audio amplifier to the realization is selected the intelligent bluetooth speaker who is located display direction both sides according to actual conditions, and through the audio file of these two bluetooth speaker broadcast left and right sides two sound channels, forms stereophonic effect.

2. A second straight line function is obtained by constructing a straight line passing through any two intelligent Bluetooth sound boxes in the left group and the right group and eliminating straight lines of the two intelligent Bluetooth sound boxes belonging to the same group; then calculating included angles between the first linear functions and the second linear functions, and selecting two intelligent Bluetooth sound boxes corresponding to the second linear functions closest to the right angle as two target sound boxes; and under the condition that a plurality of pairs of target sound boxes exist, the difference value of the distance between each target sound box in each pair of target sound boxes and the first linear function is calculated respectively, the pair of target sound boxes with the minimum difference value is selected, two intelligent Bluetooth sound boxes with the best effect can be selected, and user experience is improved.

It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

The above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

13页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:视频处理方法、用于视频播放的电子设备和视频播放系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类